(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{2:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error('Cannot find module "'+t+'".');throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},zUnb:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function i(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n=0;a--)(i=t[a])&&(l=(o<3?i(l):o>3?i(e,n,l):i(e,n))||l);return o>3&&l&&Object.defineProperty(e,n,l),l}function a(t,e){return function(n,r){e(n,r,t)}}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function u(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function c(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)l.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return l}function d(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(X);function lt(t){return t}function at(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),rt(lt,t)}function st(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof i&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof R?t[0]:at(n)(et(t,r))}function ut(){return function(t){return t.lift(new ct(t))}}var ct=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new dt(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i},t}(),dt=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(I),pt=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return i(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new b).add(this.source.subscribe(new ft(this.getSubject(),this))),t.closed?(this._connection=null,t=b.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return ut()(this)},e}(R).prototype,ht={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:pt._subscribe},_isComplete:{value:pt._isComplete,writable:!0},getSubject:{value:pt.getSubject},connect:{value:pt.connect},refCount:{value:pt.refCount}},ft=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return i(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(L);function mt(){return new V}function gt(){return function(t){return ut()((e=mt,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,ht);return r.source=t,r.subjectFactory=n,r})(t));var e}}function yt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}var vt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?yt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),_t="__parameters__";function bt(t,e,n){var r=function(t){return function(){for(var e=[],n=0;n ");else if("object"==typeof e){var i=[];for(var o in e)if(e.hasOwnProperty(o)){var l=e[o];i.push(o+":"+("string"==typeof l?JSON.stringify(l):Dt(l)))}r="{"+i.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+r+"]: "+t.replace(Qt,"\n ")}function re(t,e){return new Error(ne(t,e))}var ie=void 0;function oe(t){var e=ie;return ie=t,e}function le(t,e){if(void 0===e&&(e=0),void 0===ie)throw new Error("inject() must be called from an injection context");if(null===ie){var n=t.ngInjectableDef;if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+Dt(t)+"]")}return ie.get(t,8&e?null:void 0,e)}function ae(t){for(var e=[],n=0;n0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(t){return t.timeoutId!==i}),t(r._didWork,r.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!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(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),mn=function(){function t(){this._applications=new Map,gn.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),gn.findTestabilityInTree(this,t,e)},l([s("design:paramtypes",[])],t)}(),gn=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),yn=!0,vn=!1,_n=new vt("AllowMultipleToken");function bn(){return vn=!0,yn}var wn=function(t,e){this.name=t,this.token=e};function Cn(t,e,n){void 0===n&&(n=[]);var r="Platform: "+e,i=new vt(r);return function(e){void 0===e&&(e=[]);var o=xn();if(!o||o.injector.get(_n,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var l=n.concat(e).concat({provide:i,useValue:!0});!function(t){if(pn&&!pn.destroyed&&!pn.injector.get(_n,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");pn=t.get(Sn);var e=t.get(Me,null);e&&e.forEach(function(t){return t()})}(Ut.create({providers:l,name:r}))}return function(t){var e=xn();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function xn(){return pn&&!pn.destroyed?pn:null}var Sn=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,r=this,i="noop"===(n=e?e.ngZone:void 0)?new hn:("zone.js"===n?void 0:n)||new ln({enableLongStackTrace:bn()}),o=[{provide:ln,useValue:i}];return i.run(function(){var e=Ut.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),l=n.injector.get(ge,null);if(!l)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return In(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(t){l.handleError(t)}})}),function(t,e,i){try{var o=((l=n.injector.get(De)).runInitializers(),l.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Oe(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}var l}(l,i)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var r=this.injector.get(He),i=kn({},e);return r.createCompiler([i]).compileModuleAsync(t).then(function(t){return n.bootstrapModuleFactory(t,i)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(En);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Dt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function kn(t,e){return Array.isArray(e)?e.reduce(kn,t):o({},t,e)}var En=function(){function t(t,e,n,r,i,o){var l=this;this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=bn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var a=new R(function(t){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){t.next(l._stable),t.complete()})}),s=new R(function(t){var e;l._zone.runOutsideAngular(function(){e=l._zone.onStable.subscribe(function(){ln.assertNotInAngularZone(),Tt(function(){l._stable||l._zone.hasPendingMacrotasks||l._zone.hasPendingMicrotasks||(l._stable=!0,t.next(!0))})})});var n=l._zone.onUnstable.subscribe(function(){ln.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=st(a,s.pipe(gt()))}var e;return e=t,t.prototype.bootstrap=function(t,e){var n,r=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.");n=t instanceof qe?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n instanceof Xe?null:this._injector.get(Qe),o=n.create(Ut.NULL,[],e||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var l=o.injector.get(fn,null);return l&&o.injector.get(mn).registerApplication(o.location.nativeElement,l),this._loadComponent(o),bn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(e){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,rn(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;In(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Le,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),In(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=nn("ApplicationRef#tick()"),t}();function In(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var On=function(){},Tn=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Pn=function(){},Dn=function(t){this.nativeElement=t},An=function(){},Rn=function(){function t(){this.dirty=!0,this._results=[],this.changes=new on,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Ot()]=function(){return this._results[Ot()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var r=Array.isArray(n)?t(n):n;return e.concat(r)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),Fn=function(){},Mn={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Nn=function(){function t(t,e){this._compiler=t,this._config=e||Mn}return t.prototype.load=function(t){return this._compiler instanceof ze?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,r=c(t.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then(function(t){return t[o]}).then(function(t){return Ln(t,i,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=c(t.split("#"),2),r=e[0],i=e[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(t){return t[i+o]}).then(function(t){return Ln(t,r,i)})},l([a(1,Mt())],t)}();function Ln(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var Vn=function(){},jn=function(){},zn=function(){},Hn=function(){function t(t,e,n){this._debugContext=n,this.nativeNode=t,e&&e instanceof Bn?e.addChild(this):this.parent=null,this.listeners=[]}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),Bn=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=e,i}return i(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,r=this,i=this.childNodes.indexOf(t);-1!==i&&((n=this.childNodes).splice.apply(n,d([i+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=r}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,r){e.childNodes.forEach(function(e){e instanceof Bn&&(n(e)&&r.push(e),t(e,n,r))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,r){e instanceof Bn&&e.childNodes.forEach(function(e){n(e)&&r.push(e),e instanceof Bn&&t(e,n,r)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(Hn),qn=new Map;function Un(t){return qn.get(t)||null}function Wn(t){qn.set(t.nativeNode,t)}function Gn(t,e){var n=Yn(t),r=Yn(e);return n&&r?function(t,e,n){for(var r=t[Ot()](),i=e[Ot()]();;){var o=r.next(),l=i.next();if(o.done&&l.done)return!0;if(o.done||l.done)return!1;if(!n(o.value,l.value))return!1}}(t,e,Gn):!(n||!t||"object"!=typeof t&&"function"!=typeof t||r||!e||"object"!=typeof e&&"function"!=typeof e)||Pt(t,e)}var Kn=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),Zn=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Yn(t){return!!$n(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ot()in t)}function $n(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Xn=function(){function t(){}return t.prototype.supports=function(t){return Yn(t)},t.prototype.create=function(t){return new Jn(t)},t}(),Qn=function(t,e){return e},Jn=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Qn}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var o=!n||e&&e.currentIndex',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='

',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t=""+t+"";try{t=encodeURI(t)}catch(t){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(null);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(t){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Tr.hasOwnProperty(e)&&!kr.hasOwnProperty(e)&&(this.buf.push(""))},t.prototype.chars=function(t){this.buf.push(Nr(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),Fr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mr=/([^\#-~ |!])/g;function Nr(t){return t.replace(/&/g,"&").replace(Fr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Mr,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(//g,">")}function Lr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Vr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),jr=/^url\(([^)]+)\)$/,zr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),Hr=function(){};function Br(t,e,n){var r=t.state,i=1792&r;return i===e?(t.state=-1793&r|n,t.initIndex=-1,!0):i===n}function qr(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Ur(t,e){return t.nodes[e]}function Wr(t,e){return t.nodes[e]}function Gr(t,e){return t.nodes[e]}function Kr(t,e){return t.nodes[e]}function Zr(t,e){return t.nodes[e]}var Yr={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};function $r(t,e,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. Current value: '"+n+"'.";return r&&(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(t,e){var n=new Error(t);return Xr(n,e),n}(i,t)}function Xr(t,e){t[ce]=e,t[pe]=e.logError.bind(e)}function Qr(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var Jr=function(){},ti=new Map;function ei(t){var e=ti.get(t);return e||(e=Dt(t)+"_"+ti.size,ti.set(t,e)),e}function ni(t,e,n,r){if(Kn.isWrapped(r)){r=Kn.unwrap(r);var i=t.def.nodes[e].bindingIndex+n,o=Kn.unwrap(t.oldValues[i]);t.oldValues[i]=new Kn(o)}return r}var ri="$$undefined",ii="$$empty";function oi(t){return{id:ri,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var li=0;function ai(t,e,n,r){return!(!(2&t.state)&&Pt(t.oldValues[e.bindingIndex+n],r))}function si(t,e,n,r){return!!ai(t,e,n,r)&&(t.oldValues[e.bindingIndex+n]=r,!0)}function ui(t,e,n,r){var i=t.oldValues[e.bindingIndex+n];if(1&t.state||!Gn(i,r)){var o=e.bindings[n].name;throw $r(Yr.createDebugContext(t,e.nodeIndex),o+": "+i,o+": "+r,0!=(1&t.state))}}function ci(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function di(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function pi(t,e,n,r){try{return ci(33554432&t.def.nodes[e].flags?Wr(t,e).componentView:t),Yr.handleEvent(t,e,n,r)}catch(e){t.root.errorHandler.handleError(e)}}function hi(t){return t.parent?Wr(t.parent,t.parentNodeDef.nodeIndex):null}function fi(t){return t.parent?t.parentNodeDef.parent:null}function mi(t,e){switch(201347067&e.flags){case 1:return Wr(t,e.nodeIndex).renderElement;case 2:return Ur(t,e.nodeIndex).renderText}}function gi(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function yi(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function vi(t){return 1<-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var u=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:e.token.ngInjectableDef.factory,deps:[],index:u,token:e.token},t._providers[u]=Vi,t._providers[u]=Ui(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{oe(o)}}function Ui(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(qi(t,n[0]));case 2:return new e(qi(t,n[0]),qi(t,n[1]));case 3:return new e(qi(t,n[0]),qi(t,n[1]),qi(t,n[2]));default:for(var i=new Array(r),o=0;o=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,Yi(n,e),Yr.dirtyParentQueries(r),Ki(r),r}function Gi(t,e,n){var r=e?mi(e,e.def.lastRenderRootNode):t.renderElement;Si(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function Ki(t){Si(t,3,null,null,void 0)}function Zi(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Yi(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var $i=new Object;function Xi(t,e,n,r,i,o){return new Qi(t,e,n,r,i,o)}var Qi=function(t){function e(e,n,r,i,o,l){var a=t.call(this)||this;return a.selector=e,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=l,a.viewDefFactory=r,a}return i(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){if(!r)throw new Error("ngModule should be provided");var i=xi(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,l=Yr.createRootView(t,e||[],n,i,r,$i),a=Gr(l,o).instance;return n&&l.renderer.setAttribute(Wr(l,0).renderElement,"ng-version",ue.full),new Ji(l,new ro(l),a)},e}(qe),Ji=function(t){function e(e,n,r){var i=t.call(this)||this;return i._view=e,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return i(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new Dn(Wr(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new ao(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(Be);function to(t,e,n){return new eo(t,e,n)}var eo=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new Dn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new ao(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=fi(t),t=t.parent;return t?new ao(t,e):new ao(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Wi(this._data,t);Yr.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new ro(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r},t.prototype.createComponent=function(t,e,n,r,i){var o=n||this.parentInjector;i||t instanceof Xe||(i=o.get(Qe));var l=t.create(o,r,void 0,i);return this.insert(l.hostView,e),l},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,l=t;return i=l._view,o=(n=this._data).viewContainer._embeddedViews,null!==(r=e)&&void 0!==r||(r=o.length),i.viewContainerParent=this._view,Zi(o,r,i),function(t,e){var n=hi(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,e.parentNodeDef)}}(n,i),Yr.dirtyParentQueries(i),Gi(n,r>0?o[r-1]:null,i),l.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,l,a=this._embeddedViews.indexOf(t._view);return i=e,l=(o=(n=this._data).viewContainer._embeddedViews)[r=a],Yi(o,r),null==i&&(i=o.length),Zi(o,i,l),Yr.dirtyParentQueries(l),Ki(l),Gi(n,i>0?o[i-1]:null,l),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Wi(this._data,t);e&&Yr.destroyView(e)},t.prototype.detach=function(t){var e=Wi(this._data,t);return e?new ro(e):null},t}();function no(t){return new ro(t)}var ro=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Si(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ci(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Yr.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Yr.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Yr.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ki(this._view),Yr.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function io(t,e){return new oo(t,e)}var oo=function(t){function e(e,n){var r=t.call(this)||this;return r._parentView=e,r._def=n,r}return i(e,t),e.prototype.createEmbeddedView=function(t){return new ro(Yr.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new Dn(Wr(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(Vn);function lo(t,e){return new ao(t,e)}var ao=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Ut.THROW_IF_NOT_FOUND),Yr.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:ei(t)},e)},t}();function so(t,e){var n=t.def.nodes[e];if(1&n.flags){var r=Wr(t,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Ur(t,n.nodeIndex).renderText;if(20240&n.flags)return Gr(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function uo(t){return new co(t.renderer)}var co=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=c(Pi(e),2),r=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,r),r},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var r=0;r0,r=e.provider;switch(201347067&e.flags){case 512:return Do(t,e.parent,n,r.value,r.deps);case 1024:return function(t,e,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(Ro(t,e,n,i[0]));case 2:return r(Ro(t,e,n,i[0]),Ro(t,e,n,i[1]));case 3:return r(Ro(t,e,n,i[0]),Ro(t,e,n,i[1]),Ro(t,e,n,i[2]));default:for(var l=Array(o),a=0;a0)u=m,Qo(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Qo(u)?u.renderParent:u}}return{factory:null,nodeFlags:l,rootNodeFlags:a,nodeMatchedQueries:s,flags:t,nodes:e,updateDirectives:n||Jr,updateRenderer:r||Jr,handleEvent:function(t,n,r,i){return e[n].element.handleEvent(t,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function Qo(t){return 0!=(1&t.flags)&&null===t.element.name}function Jo(t,e,n){var r=e.element&&e.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var i=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=i&&e.nodeIndex+e.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function tl(t,e,n,r){var i=rl(t.root,t.renderer,t,e,n);return il(i,t.component,r),ol(i),i}function el(t,e,n){var r=rl(t,t.renderer,null,null,e);return il(r,n,n),ol(r),r}function nl(t,e,n,r){var i,o=e.element.componentRendererType;return i=o?t.root.rendererFactory.createRenderer(r,o):t.root.renderer,rl(t.root,i,t,e.element.componentProvider,n)}function rl(t,e,n,r,i){var o=new Array(i.nodes.length),l=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:t,renderer:e,oldValues:new Array(i.bindingCount),disposables:l,initIndex:-1}}function il(t,e,n){t.component=e,t.context=n}function ol(t){var e;gi(t)&&(e=Wr(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,r=t.nodes,i=0;i0&&Li(t,e,0,n)&&(h=!0),p>1&&Li(t,e,1,r)&&(h=!0),p>2&&Li(t,e,2,i)&&(h=!0),p>3&&Li(t,e,3,o)&&(h=!0),p>4&&Li(t,e,4,l)&&(h=!0),p>5&&Li(t,e,5,a)&&(h=!0),p>6&&Li(t,e,6,s)&&(h=!0),p>7&&Li(t,e,7,u)&&(h=!0),p>8&&Li(t,e,8,c)&&(h=!0),p>9&&Li(t,e,9,d)&&(h=!0),h}(t,e,n,r,i,o,l,a,s,u,c,d);case 2:return function(t,e,n,r,i,o,l,a,s,u,c,d){var p=!1,h=e.bindings,f=h.length;if(f>0&&si(t,e,0,n)&&(p=!0),f>1&&si(t,e,1,r)&&(p=!0),f>2&&si(t,e,2,i)&&(p=!0),f>3&&si(t,e,3,o)&&(p=!0),f>4&&si(t,e,4,l)&&(p=!0),f>5&&si(t,e,5,a)&&(p=!0),f>6&&si(t,e,6,s)&&(p=!0),f>7&&si(t,e,7,u)&&(p=!0),f>8&&si(t,e,8,c)&&(p=!0),f>9&&si(t,e,9,d)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=$o(n,h[0])),f>1&&(m+=$o(r,h[1])),f>2&&(m+=$o(i,h[2])),f>3&&(m+=$o(o,h[3])),f>4&&(m+=$o(l,h[4])),f>5&&(m+=$o(a,h[5])),f>6&&(m+=$o(s,h[6])),f>7&&(m+=$o(u,h[7])),f>8&&(m+=$o(c,h[8])),f>9&&(m+=$o(d,h[9]));var g=Ur(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,r,i,o,l,a,s,u,c,d);case 16384:return function(t,e,n,r,i,o,l,a,s,u,c,d){var p=Gr(t,e.nodeIndex),h=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&ai(t,e,0,n)&&(f=!0,m=Mo(t,p,e,0,n,m)),g>1&&ai(t,e,1,r)&&(f=!0,m=Mo(t,p,e,1,r,m)),g>2&&ai(t,e,2,i)&&(f=!0,m=Mo(t,p,e,2,i,m)),g>3&&ai(t,e,3,o)&&(f=!0,m=Mo(t,p,e,3,o,m)),g>4&&ai(t,e,4,l)&&(f=!0,m=Mo(t,p,e,4,l,m)),g>5&&ai(t,e,5,a)&&(f=!0,m=Mo(t,p,e,5,a,m)),g>6&&ai(t,e,6,s)&&(f=!0,m=Mo(t,p,e,6,s,m)),g>7&&ai(t,e,7,u)&&(f=!0,m=Mo(t,p,e,7,u,m)),g>8&&ai(t,e,8,c)&&(f=!0,m=Mo(t,p,e,8,c,m)),g>9&&ai(t,e,9,d)&&(f=!0,m=Mo(t,p,e,9,d,m)),m&&h.ngOnChanges(m),65536&e.flags&&qr(t,256,e.nodeIndex)&&h.ngOnInit(),262144&e.flags&&h.ngDoCheck(),f}(t,e,n,r,i,o,l,a,s,u,c,d);case 32:case 64:case 128:return function(t,e,n,r,i,o,l,a,s,u,c,d){var p=e.bindings,h=!1,f=p.length;if(f>0&&si(t,e,0,n)&&(h=!0),f>1&&si(t,e,1,r)&&(h=!0),f>2&&si(t,e,2,i)&&(h=!0),f>3&&si(t,e,3,o)&&(h=!0),f>4&&si(t,e,4,l)&&(h=!0),f>5&&si(t,e,5,a)&&(h=!0),f>6&&si(t,e,6,s)&&(h=!0),f>7&&si(t,e,7,u)&&(h=!0),f>8&&si(t,e,8,c)&&(h=!0),f>9&&si(t,e,9,d)&&(h=!0),h){var m=Kr(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=r),f>2&&(g[2]=i),f>3&&(g[3]=o),f>4&&(g[4]=l),f>5&&(g[5]=a),f>6&&(g[6]=s),f>7&&(g[7]=u),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=r),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=l),f>5&&(g[p[5].name]=a),f>6&&(g[p[6].name]=s),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=d);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(r);break;case 3:g=y.transform(r,i);break;case 4:g=y.transform(r,i,o);break;case 5:g=y.transform(r,i,o,l);break;case 6:g=y.transform(r,i,o,l,a);break;case 7:g=y.transform(r,i,o,l,a,s);break;case 8:g=y.transform(r,i,o,l,a,s,u);break;case 9:g=y.transform(r,i,o,l,a,s,u,c);break;case 10:g=y.transform(r,i,o,l,a,s,u,c,d)}}m.value=g}return h}(t,e,n,r,i,o,l,a,s,u,c,d);default:throw"unreachable"}}(t,e,r,i,o,l,a,s,u,c,p,h):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var r=!1,i=0;i0&&ui(t,e,0,n),p>1&&ui(t,e,1,r),p>2&&ui(t,e,2,i),p>3&&ui(t,e,3,o),p>4&&ui(t,e,4,l),p>5&&ui(t,e,5,a),p>6&&ui(t,e,6,s),p>7&&ui(t,e,7,u),p>8&&ui(t,e,8,c),p>9&&ui(t,e,9,d)}(t,e,r,i,o,l,a,s,u,c,d,p):function(t,e,n){for(var r=0;r0){var o=new Set(t.modules);Il.forEach(function(e,r){if(o.has(r.ngInjectableDef.providedIn)){var i={token:r,flags:e.flags|(n?4096:0),deps:bi(e.deps),value:e.value,index:t.providers.length};t.providers.push(i),t.providersByKey[ei(r)]=i}})}}(t=t.factory(function(){return Jr})),t):t}(r))}var El=new Map,Il=new Map,Ol=new Map;function Tl(t){El.set(t.token,t),"function"==typeof t.token&&t.token.ngInjectableDef&&"function"==typeof t.token.ngInjectableDef.providedIn&&Il.set(t.token,t)}function Pl(t,e){var n=xi(xi(e.viewDefFactory).nodes[0].element.componentView);Ol.set(t,n)}function Dl(){El.clear(),Il.clear(),Ol.clear()}function Al(t){if(0===El.size)return t;var e=function(t){for(var e=[],n=null,r=0;r"}(e))}function Fa(t){return Array.isArray(t)?t[0]:t}function Ma(t){if(2===t.tNode.type){var e=t.data;return e[da]?e[da][fa]:null}return t.tNode.next?t.view[t.tNode.next.index]:null}function Na(t){return t.tNode.child?Fa((2===t.tNode.type?t.data:t.view)[t.tNode.child.index]):null}function La(t){if(-1===t.tNode.index&&2===t.tNode.type){var e=t.data[wa];return-1===e?null:t.view[e].dynamicLContainerNode}var n=t.tNode.parent;return Fa(n?t.view[n.index]:t.view[fa])}var Va=[];function ja(t){for(var e=t[fa];2===e.tNode.type;)ngDevMode&&la(t[ca],"lViewData.parent"),e=(t=t[ca])[fa];return ngDevMode&&Ra(e,3),ngDevMode&&la(e.data,"node.data"),e}function za(t,e,n,r,i){0===t?Da(e)?e.insertBefore(n,r,i):n.insertBefore(r,i,!0):1===t?Da(e)?e.removeChild(n,r):n.removeChild(r):2===t&&(ngDevMode&&ngDevMode.rendererDestroyNode++,e.destroyNode(r))}function Ha(t){if(-1===t[ua].childIndex)return null;var e=t[t[ua].childIndex];return e.data?e.data:e.dynamicLContainerNode.data}function Ba(t,e){var n;return(n=t[fa])&&2===n.tNode.type?La(n).data:t[ca]===e?null:t[ca]}function qa(t){if(t[ua]){var e=t;!function(t){var e=t[ua].cleanup;if(null!=e){for(var n=0;n=p.length){var h=p[d]=vs(e,d,r,i,a,null);if(!Ka&&Ga){var f=Ga.tNode;f.next=h,f.dynamicContainerNode&&(f.dynamicContainerNode.next=h)}}c.tNode=p[d],Ka&&(Ya=null,(null==Ga.tNode.child&&Ga.view===Xa||2===Ga.tNode.type)&&(Ga.tNode.child=c.tNode))}if(2==(2&e)&&u){var m=o;ngDevMode&&null!=m[fa]&&aa("lViewData[HOST_NODE] should not have been initialized"),m[fa]=c,is&&(m[ua].node=c.tNode)}return Ga=c,Ka=!0,c}function ds(t,e,n,r){var i,o=Ka,l=Ga;if(null==t.data[ca]&&t.data[va]&&!e.template)ws(t.data[va]);else try{Ka=!0,Ga=null,i=os(t.data,t),ms(),e.template(r,n),2&r?as():t.data[ua].firstTemplatePass=is=!1}finally{ls(i,1==(1&r)),Ka=o,Ga=l}return t}function ps(t,e,n,r){var i=os(e,t);try{Wa.begin&&Wa.begin(),r?(ms(),r(hs(e),n),as()):(rs||(ka(Xa,Za,$a),Ea(Qa,Za.contentHooks,Za.contentCheckHooks,$a)),ss(es),_s(0,sa))}finally{Wa.end&&Wa.end(),ls(i)}}function hs(t){return 1&t[ha]?3:2}var fs=null;function ms(){fs=null}function gs(t,e,n,r,i){return ngDevMode&&ngDevMode.tView++,{id:t,template:e,viewQuery:i,node:null,data:ns.slice(),childIndex:-1,bindingStartIndex:-1,directives:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,hostBindings:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof n?n():n,pipeRegistry:"function"==typeof r?r():r,currentMatches:null}}function ys(t,e){ngDevMode&&ks(-1),Wa=t;var n,r=t.createRenderer(null,null),i="string"==typeof e?Da(r)?r.selectRootElement(e):r.querySelector(e):e;if(ngDevMode&&!i)throw new Error("Renderer: "+("string"==typeof e?"Host node with selector not found:":"Host node is required:")+" ["+("function"==typeof(n=e)?n.name||n:"string"==typeof n?n:null==n?"":""+n)+"]");return i}function vs(t,e,n,r,i,o){return ngDevMode&&ngDevMode.tNode++,{type:t,index:e,flags:0,tagName:n,attrs:r,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:o,next:null,child:null,parent:i,dynamicContainerNode:null,detached:null,stylingTemplate:null,projection:null}}function _s(t,e){ngDevMode&&ks(e);var n=Xa[e];ngDevMode&&Ra(n,3),ngDevMode&&la(n.data,"Component's host node should have an LViewData attached.");var r=n.data;bs(r)&&6&r[ha]&&(ngDevMode&&ks(t,Qa),Ss(r,n,Qa[t]))}function bs(t){return 8==(8&t[ha])}function ws(t){for(var e=0;e=(e?e.length:0)&&aa("index expected to be a valid data index")}(t,e||Xa)}function Es(t,e){null==e&&(e=Xa),oa(e.length,t,"index "+t+" expected to be at the end of arr (length "+e.length+")")}function Is(t){ngDevMode&&la(t,"expecting component got null");var e=t[Ja];return ngDevMode&&la(t,"object is not a component"),e}var Os=ts;function Ts(t){return{components:[],scheduler:t,clean:Os}}var Ps=function(){function t(t,e){this._view=t,this._appRef=null,this._viewContainerRef=null,this._lViewNode=null,this.context=e}return t.prototype._setComponentContext=function(t,e){this._view=t,this.context=e},Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[ha])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&bs(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),Da(e=(t=this._view)[ba])&&e.destroyNode&&function(e,n,r,i,o,l){for(var a=t[fa],s=-1;a;){var u=null,c=a.tNode.type;if(3===c)za(2,i,null,a.native,l),a.dynamicLContainerNode&&za(2,i,null,a.dynamicLContainerNode.native,l);else if(0===c){za(2,i,null,a.native,l);var d=a,p=d.dynamicLContainerNode?d.dynamicLContainerNode.data:d.data;(u=p[Ta].length?Na(p[Ta][0]):null)&&(l=d.dynamicLContainerNode?d.dynamicLContainerNode.native:d.native)}else if(1===c){var h=ja(a.view),f=h.tNode.projection[a.tNode.projection];Va[++s]=a,u=f?h.data[ca][f.index]:null}else u=Na(a);if(null===u)for(null===(u=Ma(a))&&8192&a.tNode.flags&&(u=Ma(Va[s--]));a&&!u;){if(null===(a=La(a))||a===n)return null;a.tNode.next||0!==c||(l=a.native),u=Ma(a)}a=u}}(0,t[fa],0,e),function(t){if(-1===t[ua].childIndex)return qa(t);for(var e=Ha(t);e;){var n=null;if(e.length>=sa?e[ua].childIndex>-1&&(n=Ha(e)):e[Ta].length&&(n=e[Ta][0].data),null==n){for(;e&&!e[da]&&e!==t;)qa(e),e=Ba(e,t);qa(e||t),n=e&&e[da]}e=n}}(t),t[ha]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[ya]||(t[ya]=[])}(e=this._view).push(n),e[ua].firstTemplatePass&&function(t){return t[ua].cleanup||(t[ua].cleanup=[])}(e).push(e[ya].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;null!=e[ca];)e[ha]|=4,e=e[ca];var n,r;e[ha]|=4,ngDevMode&&la(e[va],"rootContext"),(n=e[va]).clean==ts&&(n.clean=new Promise(function(t){return r=t}),n.scheduler(function(){ws(n),r(null),n.clean=ts}))}(this._view)},t.prototype.detach=function(){this._view[ha]&=-9},t.prototype.reattach=function(){this._view[ha]|=8},t.prototype.detectChanges=function(){xs(this.context)},t.prototype.checkNoChanges=function(){!function(t){rs=!0;try{xs(t)}finally{rs=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t}(),Ds=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.resolveComponentFactory=function(t){return ngDevMode&&(void 0===e&&(e="Type passed in is not ComponentType, it does not have 'ngComponentDef' property."),t.ngComponentDef||aa(e)),new Ms(t.ngComponentDef);var e},e}(Ye);function As(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var Rs=new vt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Ts(le(Fs))}}),Fs=new vt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return requestAnimationFrame.bind(window)}}),Ms=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return i(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return As(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return As(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,r){var i,o,l=void 0===n,a=r?r.injector.get(On):Aa,s=l?(i=this.selector,Da(o=a.createRenderer(null,this.componentDef.rendererType)||Ua)?o.createElement(i,fs):null===fs?o.createElement(i):o.createElementNS(fs,i)):ys(a,n),u=r&&!l?r.injector.get(Rs):Ts(requestAnimationFrame.bind(window)),c=us(a.createRenderer(s,this.componentDef.rendererType),gs(-1,null,null,null,null),u,this.componentDef.onPush?4:2);c[_a]=r&&r.injector||null;var d,p,h=os(c,null);try{if(a.begin&&a.begin(),p=function(t,e,n,r){Ka=!1,Ga=null;var i,o=cs(0,3,e,null,null,us(Ua,(i=n.template).ngPrivateData||(i.ngPrivateData=gs(-1,i,n.directiveDefs,n.pipeDefs,n.viewQuery)),null,n.onPush?4:2,r));return is&&(o.tNode.flags=4096,n.diPublic&&n.diPublic(n),Za.directives=[n]),o}(0,s,this.componentDef),u.components.push(d=function(t,e,n){if(ngDevMode&&oa(Xa[ma],-1,"directives should be created before any bindings"),ngDevMode&&oa(Ka,!0,"previousOrParentNode should be a parent"),Object.defineProperty(e,Ja,{enumerable:!1,value:Ga}),null==Qa&&(Xa[ga]=Qa=[]),ngDevMode&&Es(t,Qa),Qa[t]=e,is){var r=Ga.tNode.flags;0==(4095&r)?Ga.tNode.flags=t<<14|4096&r|1:(ngDevMode&&4095==(4095&r)&&aa("Reached the max number of directives"),Ga.tNode.flags++)}else{var i=n.diPublic;i&&i(n)}return null!=n.attributes&&3==Ga.tNode.type&&function(t,e){for(var n=Da(Ua),r=0;r>14,r=n+(4095&t),i=n;i0?et(t,n):au(n):uu(t[0]),e)}}var bu=function(){},wu=new vt("Location Initialized"),Cu=function(){},xu=new vt("appBaseHref"),Su=function(){function t(t){var n=this;this._subject=new on,this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(ku(r)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,ku(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function ku(t){return t.replace(/\/index.html$/,"")}var Eu=function(t){function e(e,n){var r=t.call(this)||this;return r._platformLocation=e,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=Su.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Su.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Su.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},l([a(1,Mt()),a(1,Ft(xu))],e)}(Cu),Iu=function(t){function e(e,n){var r=t.call(this)||this;if(r._platformLocation=e,null==n&&(n=r._platformLocation.getBaseHrefFromDOM()),null==n)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 r._baseHref=n,r}return i(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return Su.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+Su.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Su.normalizeQueryParams(r));this._platformLocation.pushState(t,e,i)},e.prototype.replaceState=function(t,e,n,r){var i=this.prepareExternalUrl(n+Su.normalizeQueryParams(r));this._platformLocation.replaceState(t,e,i)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},l([a(1,Mt()),a(1,Ft(xu))],e)}(Cu),Ou=void 0,Tu=["en",[["a","p"],["AM","PM"],Ou],[["AM","PM"],Ou,Ou],[["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"]],Ou,[["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"]],Ou,[["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}",Ou,"{1} 'at' {0}",Ou],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Pu={},Du=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Au=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),Ru=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Fu=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Mu=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Nu(t,e){return Hu(qu(t)[10],e)}function Lu(t,e){return Hu(qu(t)[11],e)}function Vu(t,e){return Hu(qu(t)[12],e)}function ju(t,e){var n=qu(t),r=n[13][e];if(void 0===r){if(e===Mu.CurrencyDecimal)return n[13][Mu.Decimal];if(e===Mu.CurrencyGroup)return n[13][Mu.Group]}return r}function zu(t){if(!t[19])throw new Error('Missing extra locale data for the locale "'+t[0]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function Hu(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function Bu(t){var e=c(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function qu(t){var e=t.toLowerCase().replace(/_/g,"-"),n=Pu[e];if(n)return n;var r=e.split("-")[0];if(n=Pu[r])return n;if("en"===r)return Tu;throw new Error('Missing locale data for the locale "'+t+'".')}var Uu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Wu={},Gu=/((?:[^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]*)/,Ku=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),Zu=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),Yu=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function $u(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,function(t,n){return null!=e&&n in e?e[n]:t})),t}function Xu(t,e,n,r,i){void 0===n&&(n="-");var o="";(t<0||i&&t<=0)&&(i?t=1-t:(t=-t,o=n));for(var l=String(t);l.length0||s>-n)&&(s+=n),t===Zu.Hours)0===s&&-12===n&&(s=12);else if(t===Zu.FractionalSeconds)return a=e,Xu(s,3).substr(0,a);var u=ju(l,Mu.MinusSign);return Xu(s,e,u,r,i)}}function Ju(t,e,n,r){return void 0===n&&(n=Au.Format),void 0===r&&(r=!1),function(i,o){return function(t,e,n,r,i,o){switch(n){case Yu.Months:return function(t,e,n){var r=qu(t);return Hu(Hu([r[5],r[6]],e),n)}(e,i,r)[t.getMonth()];case Yu.Days:return function(t,e,n){var r=qu(t);return Hu(Hu([r[3],r[4]],e),n)}(e,i,r)[t.getDay()];case Yu.DayPeriods:var l=t.getHours(),a=t.getMinutes();if(o){var s,u=function(t){var e=qu(t);return zu(e),(e[19][2]||[]).map(function(t){return"string"==typeof t?Bu(t):[Bu(t[0]),Bu(t[1])]})}(e),c=function(t,e,n){var r=qu(t);return zu(r),Hu(Hu([r[19][0],r[19][1]],e)||[],n)||[]}(e,i,r);if(u.forEach(function(t,e){if(Array.isArray(t)){var n=t[0],r=t[1],i=r.hours;l>=n.hours&&a>=n.minutes&&(l0?Math.floor(i/60):Math.ceil(i/60);switch(t){case Ku.Short:return(i>=0?"+":"")+Xu(l,2,o)+Xu(Math.abs(i%60),2,o);case Ku.ShortGMT:return"GMT"+(i>=0?"+":"")+Xu(l,1,o);case Ku.Long:return"GMT"+(i>=0?"+":"")+Xu(l,2,o)+":"+Xu(Math.abs(i%60),2,o);case Ku.Extended:return 0===r?"Z":(i>=0?"+":"")+Xu(l,2,o)+":"+Xu(Math.abs(i%60),2,o);default:throw new Error('Unknown zone width "'+t+'"')}}}var ec=0,nc=4;function rc(t,e){return void 0===e&&(e=!1),function(n,r){var i,o,l,a;if(e){var s=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,u=n.getDate();i=1+Math.floor((u+s)/7)}else{var c=(l=n.getFullYear(),a=new Date(l,ec,1).getDay(),new Date(l,0,1+(a<=nc?nc:nc+7)-a)),d=(o=n,new Date(o.getFullYear(),o.getMonth(),o.getDate()+(nc-o.getDay()))).getTime()-c.getTime();i=1+Math.round(d/6048e5)}return Xu(i,t,ju(r,Mu.MinusSign))}}var ic={};function oc(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function lc(t){return t instanceof Date&&!isNaN(t.valueOf())}var ac=new vt("UseV4Plurals"),sc=function(){},uc=function(t){function e(e,n){var r=t.call(this)||this;return r.locale=e,r.deprecatedPluralFn=n,r}return i(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return qu(t)[18]}(e||this.locale)(t)){case Du.Zero:return"zero";case Du.One:return"one";case Du.Two:return"two";case Du.Few:return"few";case Du.Many:return"many";default:return"other"}},l([a(0,Ft(hr)),a(1,Mt()),a(1,Ft(ac))],e)}(sc);function cc(t,e){var n,r;e=encodeURIComponent(e);try{for(var i=u(t.split(";")),o=i.next();!o.done;o=i.next()){var l=o.value,a=l.indexOf("="),s=c(-1==a?[l,""]:[l.slice(0,a),l.slice(a+1)],2),d=s[1];if(s[0].trim()===e)return decodeURIComponent(d)}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var dc=function(){function t(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Yn(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Dt(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),pc=function(){function t(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),hc=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){bn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(n){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,r,i){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new pc(null,e._ngForOf,-1,-1),i),l=new fc(t,o);n.push(l)}else null==i?e._viewContainer.remove(r):(o=e._viewContainer.get(r),e._viewContainer.move(o,i),l=new fc(t,o),n.push(l))});for(var r=0;r1?Array.prototype.slice.call(arguments):t)},r,n)})}Object;var Xc=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r.pending=!1,r}return i(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return i(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(b)),Qc=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=Date.now?Date.now:function(){return+new Date},t}(),Jc=new(function(t){function e(n,r){void 0===r&&(r=Qc.now);var i=t.call(this,n,function(){return e.delegate&&e.delegate!==i?e.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(e,t),e.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,i):t.prototype.schedule.call(this,n,r,i)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Qc))(Xc),td=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new ed(t,this.durationSelector))},t}(),ed=function(t){function e(e,n){var r=t.call(this,e)||this;return r.durationSelector=n,r.hasValue=!1,r}return i(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=v(this.durationSelector)(t);if(e===g)this.destination.error(g.e);else{var n=$(this,e);n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,r){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(X);function nd(t){return!p(t)&&t-parseFloat(t)+1>=0}function rd(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function id(t,e){return void 0===e&&(e=Jc),n=function(){return function(t,e,n){void 0===t&&(t=0);var r=-1;return nd(e)?r=Number(e)<1?1:Number(e):z(e)&&(n=e),z(n)||(n=Jc),new R(function(e){var i=nd(t)?t:+t-n.now();return n.schedule(rd,i,{index:0,period:r,subscriber:e})})}(t,e)},function(t){return t.lift(new td(n))};var n}var od=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new V,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?R.create(function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(id(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):cu()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(du(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return $c(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=yt({factory:function(){return new t(le(ln),le(Wc))},token:t,providedIn:"root"}),t}(),ld=function(){function t(t,e,n){var r=this;this._elementRef=t,this._scroll=e,this._ngZone=n,this._elementScrolled=new V,this._scrollListener=function(t){return r._elementScrolled.next(t)}}return t.prototype.ngOnInit=function(){var t=this;this._ngZone.runOutsideAngular(function(){t.getElementRef().nativeElement.addEventListener("scroll",t._scrollListener)}),this._scroll.register(this)},t.prototype.ngOnDestroy=function(){this._scroll.deregister(this),this._scrollListener&&this.getElementRef().nativeElement.removeEventListener("scroll",this._scrollListener),this._elementScrolled.complete()},t.prototype.elementScrolled=function(){return this._elementScrolled.asObservable()},t.prototype.getElementRef=function(){return this._elementRef},t}(),ad=function(){function t(t,e){var n=this;this._platform=t,this._change=t.isBrowser?e.runOutsideAngular(function(){return st($c(window,"resize"),$c(window,"orientationchange"))}):cu(),this._invalidateCache=this.change().subscribe(function(){return n._updateViewportSize()})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||document.documentElement.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||document.documentElement.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(id(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=yt({factory:function(){return new t(le(Wc),le(ln))},token:t,providedIn:"root"}),t}(),sd=function(){};function ud(t){return function(e){return e.lift(new cd(t))}}var cd=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new dd(t),r=$(n,this.notifier);return r&&!r.closed?(n.add(r),e.subscribe(n)):n},t}(),dd=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.complete()},e.prototype.notifyComplete=function(){},e}(X),pd=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}(),hd=function(){return function(t){var e=this;this.scrollStrategy=new pd,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",t&&Object.keys(t).filter(function(e){return void 0!==t[e]}).forEach(function(n){return e[n]=t[n]})}}();function fd(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function md(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var gd=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=Hc(-this._previousScrollPosition.left),t.style.top=Hc(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=this._document.body,n=t.style.scrollBehavior||"",r=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=n,e.style.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function yd(){return Error("Scroll strategy has already been attached.")}var vd=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=n,this._config=r,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run(function(){return i._overlayRef.detach()})}}return t.prototype.attach=function(t){if(this._overlayRef)throw yd();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}();function _d(t,e){return e.some(function(e){return t.bottome.bottom||t.righte.right})}function bd(t,e){return e.some(function(e){return t.tope.bottom||t.lefte.right})}var wd=function(){function t(t,e,n,r){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=r,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw yd();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),r=n.width,i=n.height;_d(e,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),Cd=function(){function t(t,e,n,r){var i=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new pd},this.close=function(t){return new vd(i._scrollDispatcher,i._ngZone,i._viewportRuler,t)},this.block=function(){return new gd(i._viewportRuler,i._document)},this.reposition=function(t){return new wd(i._scrollDispatcher,i._viewportRuler,i._ngZone,t)},this._document=r}return t.ngInjectableDef=yt({factory:function(){return new t(le(od),le(ad),le(ln),le(Pc))},token:t,providedIn:"root"}),t}(),xd=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},t.ngInjectableDef=yt({factory:function(){return new t(le(Pc))},token:t,providedIn:"root"}),t}(),Sd=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=yt({factory:function(){return new t(le(Pc))},token:t,providedIn:"root"}),t}(),kd=function(){function t(t,e,n,r,i,o,l){var a=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=l,this._backdropElement=null,this._backdropClick=new V,this._attachments=new V,this._detachments=new V,this._keydownEventsObservable=R.create(function(t){var e=a._keydownEvents.subscribe(t);return a._keydownEventSubscriptions++,function(){e.unsubscribe(),a._keydownEventSubscriptions--}}),this._keydownEvents=new V,this._keydownEventSubscriptions=0,r.scrollStrategy&&r.scrollStrategy.attach(this)}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._config.positionStrategy&&this._config.positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe(function(){e.hasAttached()&&e.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),n},t.prototype.detach=function(){var t=this;if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._config.positionStrategy&&this._config.positionStrategy.detach&&this._config.positionStrategy.detach(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1);var e=this._portalOutlet.detach();this._detachments.next(),this._keyboardDispatcher.remove(this);var n=this._ngZone.onStable.asObservable().pipe(ud(st(this._attachments,this._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),n.unsubscribe())});return e}},t.prototype.dispose=function(){var t=this.hasAttached();this._config.positionStrategy&&this._config.positionStrategy.dispose(),this._config.scrollStrategy&&this._config.scrollStrategy.disable(),this.detachBackdrop(),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,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._config.positionStrategy&&this._config.positionStrategy.apply()},t.prototype.updateSize=function(t){this._config=o({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=o({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=Hc(this._config.width),t.height=Hc(this._config.height),t.minWidth=Hc(this._config.minWidth),t.minHeight=Hc(this._config.minHeight),t.maxWidth=Hc(this._config.maxWidth),t.maxHeight=Hc(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=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",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n,r=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",r)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},t.prototype._toggleClasses=function(t,e,n){var r=t.classList;zc(e).forEach(function(t){n?r.add(t):r.remove(t)})},t}(),Ed=function(){function t(t,e,n,r,i){var o=this;this._viewportRuler=e,this._document=n,this._platform=r,this._overlayContainer=i,this._isInitialRender=!0,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 V,this._resizeSubscription=b.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this.positionChanges=R.create(function(t){var e=o._positionChanges.subscribe(t);return o._positionChangeSubscriptions++,function(){e.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){return e.apply()})},t.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,l=this._preferredPositions;op&&(p=g,d=m)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this.detach(),this._boundingBox=null,this._positionChanges.complete(),this._isDisposed=!0)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){this.scrollables=t},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t instanceof Dn?t.nativeElement:t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var r=this._isRtl()?t.right:t.left,i=this._isRtl()?t.left:t.right;n="start"==e.originX?r:i}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var r;return r="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+r,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,r){var i=t.x,o=t.y,l=this._getOffset(r,"x"),a=this._getOffset(r,"y");l&&(i+=l),a&&(o+=a);var s=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-i,i+e.width-n.width),d=this._subtractOverflows(e.height,s,u),p=c*d;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var r=n.bottom-e.y,i=n.right-e.x,o=this._overlayRef.getConfig().minHeight,l=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=r)&&(t.fitsInViewportHorizontally||null!=l&&l<=i)}},t.prototype._pushOverlayOnScreen=function(t,e){var n=this._viewportRect,r=Math.max(t.x+e.width-n.right,0),i=Math.max(t.y+e.height-n.bottom,0),o=Math.max(n.top-t.y,0),l=Math.max(n.left-t.x,0);return{x:t.x+(e.width<=n.width?l||-r:n.left-t.x),y:t.y+(e.height<=n.height?o||-i:n.top-t.y)}},t.prototype._applyPosition=function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),this._lastPosition=t,this._positionChangeSubscriptions>0){var n=new function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}(t,this._getScrollVisibility());this._positionChanges.next(n)}this._isInitialRender=!1},t.prototype._setTransformOrigin=function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var i=0;id&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-d/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)a=s.right-t.x+this._viewportMargin,o=t.x-s.left;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)l=t.x,o=s.right-t.x;else{c=Math.min(s.right-t.x,t.x-s.top);var p=this._lastBoundingBoxSize.width;l=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.x-p/2)}return{top:r,left:l,bottom:i,right:a,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var r={};if(this._hasExactPosition())r.top=r.left="0",r.bottom=r.right="",r.width=r.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;r.height=Hc(n.height),r.top=Hc(n.top),r.bottom=Hc(n.bottom),r.width=Hc(n.width),r.left=Hc(n.left),r.right=Hc(n.right),r.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",r.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Hc(i)),o&&(r.maxWidth=Hc(o))}this._lastBoundingBoxSize=n,Id(this._boundingBox.style,r)},t.prototype._resetBoundingBoxStyles=function(){Id(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){Id(this._pane.style,{top:"",left:"",bottom:"",right:"",position:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};this._hasExactPosition()?(Id(n,this._getExactOverlayY(e,t)),Id(n,this._getExactOverlayX(e,t))):n.position="static";var r="",i=this._getOffset(e,"x"),o=this._getOffset(e,"y");i&&(r+="translateX("+i+"px) "),o&&(r+="translateY("+o+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),Id(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e){var n={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect));var i=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return r.y-=i,"bottom"===t.overlayY?n.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":n.top=Hc(r.y),n},t.prototype._getExactOverlayX=function(t,e){var n={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?n.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":n.left=Hc(r.x),n},t.prototype._getScrollVisibility=function(){var t=this._origin.getBoundingClientRect(),e=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:bd(t,n),isOriginOutsideView:_d(t,n),isOverlayClipped:bd(e,n),isOverlayOutsideView:_d(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},t.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var r=e[n];r===t||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},t}(),Yd=function(){},$d=null;function Xd(){return $d}var Qd,Jd={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},tp={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ep={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"};kt.Node&&(Qd=kt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var np,rp=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,$d||($d=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var r;(r=t)[e].apply(r,d(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Jd},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Qd.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),r=0;r0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,r=0;r0;l||(l=t[o]=[]);var s=Lp(e)?Zone.root:Zone.current;if(0===l.length)l.push({zone:s,handler:i});else{for(var u=!1,c=0;c-1},l([a(0,Ft(op)),a(1,Ft(Hp)),a(3,Mt()),a(3,Ft(Bp))],e)}(gp),Wp=["alt","control","meta","shift"],Gp={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Kp=function(t){function e(e){return t.call(this,e)||this}var n;return i(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,r){var i=n.parseEventName(e),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Xd().onAndCancel(t,i.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),r=e.shift();if(0===e.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(e.pop()),o="";if(Wp.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=i,0!=e.length||0===i.length)return null;var l={};return l.domEventName=r,l.fullKey=o,l},e.getEventFullKey=function(t){var e="",n=Xd().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Wp.forEach(function(r){r!=n&&(0,Gp[r])(t)&&(e+=r+".")}),e+=n},e.eventCallback=function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded(function(){return e(i)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},n=l([a(0,Ft(op))],e)}(gp),Zp=function(){},Yp=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return i(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case zr.NONE:return e;case zr.HTML:return e instanceof Xp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Sr=Sr||new vr(t);var r=e?String(e):"";n=Sr.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Sr.getInertBodyElement(r)}while(r!==o);var l=new Rr,a=l.sanitizeChildren(Lr(n)||n);return bn()&&l.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),a}finally{if(n)for(var s=Lr(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}(this._doc,String(e)));case zr.STYLE:return e instanceof Qp?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(jr);return e&&wr(e[1])===e[1]||t.match(Vr)&&function(t){for(var e=!0,n=!0,r=0;r-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(oh(function(t){return e._pressedLetters.push(t)}),sh(t),du(function(){return e._pressedLetters.length>0}),Q(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),r=1;r=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e)))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItemIndex=n,this._activeItem=e[n]},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var r=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[r]))return void this.setActiveItem(r)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof Rn?this._items.toArray():this._items},t}(),vh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(yh),_h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return i(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(yh),bh=function(){function t(t){this._platform=t}return t.prototype.isDisabled=function(t){return t.hasAttribute("disabled")},t.prototype.isVisible=function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility},t.prototype.isTabbable=function(t){if(!this._platform.isBrowser)return!1;var e=function(t){try{return t.frameElement}catch(t){return null}}(t.ownerDocument.defaultView||window);if(e){var n=e&&e.nodeName.toLowerCase();if(-1===Ch(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var r=t.nodeName.toLowerCase(),i=Ch(t);if(t.hasAttribute("contenteditable"))return-1!==i;if("iframe"===r)return!1;if("audio"===r){if(!t.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!t.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&t.tabIndex>=0},t.prototype.isFocusable=function(t){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||wh(t))}(t)&&!this.isDisabled(t)&&this.isVisible(t)},t.ngInjectableDef=yt({factory:function(){return new t(le(Wc))},token:t,providedIn:"root"}),t}();function wh(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function Ch(t){if(!wh(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var xh=function(){function t(t,e,n,r,i){void 0===i&&(i=!1),this._element=t,this._checker=e,this._ngZone=n,this._document=r,this._hasAttached=!1,this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(t.prototype,"enabled",{get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._startAnchor.tabIndex=this._endAnchor.tabIndex=this._enabled?0:-1)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._startAnchor&&this._startAnchor.parentNode&&this._startAnchor.parentNode.removeChild(this._startAnchor),this._endAnchor&&this._endAnchor.parentNode&&this._endAnchor.parentNode.removeChild(this._endAnchor),this._startAnchor=this._endAnchor=null},t.prototype.attachAnchors=function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",function(){return t.focusLastTabbableElement()})),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",function(){return t.focusFirstTabbableElement()}))}),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)},t.prototype.focusInitialElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusInitialElement())})})},t.prototype.focusFirstTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusFirstTabbableElement())})})},t.prototype.focusLastTabbableElementWhenReady=function(){var t=this;return new Promise(function(e){t._executeOnStable(function(){return e(t.focusLastTabbableElement())})})},t.prototype._getRegionBoundary=function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-"+t+"], [cdkFocusRegion"+t+"], [cdk-focus-"+t+"]"),n=0;n=0;n--){var r=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(r)return r}return null},t.prototype._createAnchor=function(){var t=this._document.createElement("div");return t.tabIndex=this._enabled?0:-1,t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t},t.prototype._executeOnStable=function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe(t)},t}(),Sh=function(){function t(t,e,n){this._checker=t,this._ngZone=e,this._document=n}return t.prototype.create=function(t,e){return void 0===e&&(e=!1),new xh(t,this._checker,this._ngZone,this._document,e)},t.ngInjectableDef=yt({factory:function(){return new t(le(bh),le(ln),le(Pc))},token:t,providedIn:"root"}),t}(),kh=new vt("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Eh=function(){function t(t,e){this._document=e,this._liveElement=t||this._createLiveElement()}return t.prototype.announce=function(t,e){var n=this;return void 0===e&&(e="polite"),this._liveElement.textContent="",this._liveElement.setAttribute("aria-live",e),new Promise(function(e){setTimeout(function(){n._liveElement.textContent=t,e()},100)})},t.prototype.ngOnDestroy=function(){this._liveElement&&this._liveElement.parentNode&&this._liveElement.parentNode.removeChild(this._liveElement)},t.prototype._createLiveElement=function(){for(var t=this._document.getElementsByClassName("cdk-live-announcer-element"),e=0;en+r?Math.max(0,i-r+e):n}var rf=function(){},of=new vt("mat-label-global-options"),lf=oi({encapsulation:2,styles:[".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);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media screen and (-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:12px 0;display:flex;flex-wrap:wrap;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+.mat-button,.mat-dialog-actions .mat-button+.mat-raised-button,.mat-dialog-actions .mat-raised-button+.mat-button,.mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-button+.mat-raised-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-button,[dir=rtl] .mat-dialog-actions .mat-raised-button+.mat-raised-button{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"slideDialog",definitions:[{type:0,name:"enter",styles:{type:6,styles:{transform:"none",opacity:1},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{transform:"translate3d(0, 25%, 0) scale(0.9)",opacity:0},offset:null},options:void 0},{type:0,name:"exit",styles:{type:6,styles:{transform:"translate3d(0, 25%, 0)",opacity:0},offset:null},options:void 0},{type:1,expr:"* => *",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}});function af(t){return Xo(0,[(t()(),Ai(0,null,null,0))],null,null)}function sf(t){return Xo(0,[jo(402653184,1,{_portalOutlet:0}),(t()(),Ai(16777216,null,null,1,null,af)),Co(2,212992,[[1,4]],0,nu,[Ye,jn],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}var uf,cf=Xi("mat-dialog-container",Hd,function(t){return Xo(0,[(t()(),Ri(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,"@slideDialog",0]],[["component","@slideDialog.start"],["component","@slideDialog.done"]],function(t,e,n){var r=!0;return"component:@slideDialog.start"===e&&(r=!1!==so(t,1)._onAnimationStart(n)&&r),"component:@slideDialog.done"===e&&(r=!1!==so(t,1)._onAnimationDone(n)&&r),r},sf,lf)),Co(1,49152,null,0,Hd,[Dn,Sh,zn,[2,Pc],jd],null,null)],null,function(t,e){t(e,0,0,so(e,1)._id,so(e,1)._config.role,so(e,1)._config.ariaLabel?null:so(e,1)._ariaLabelledBy,so(e,1)._config.ariaLabel,so(e,1)._config.ariaDescribedBy||null,so(e,1)._state)})},{},{},[]),df={},pf=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new hf(t,this.resultSelector))},t}(),hf=function(t){function e(e,n){var r=t.call(this,e)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i(e,t),e.prototype._next=function(t){this.values.push(df),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n0&&t.afterOpened().subscribe(function(){return t._dismissAfter(e.duration)}),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)},t.prototype._createOverlay=function(t){var e=new hd;e.direction=t.direction;var n=this._overlay.position().global(),r="rtl"===t.direction,i="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!r||"end"===t.horizontalPosition&&r,o=!i&&"center"!==t.horizontalPosition;return i?n.left("0"):o?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)},t.prototype._createInjector=function(t,e){return new iu(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[bf,e],[wf,t.data]]))},t.ngInjectableDef=yt({factory:function(){return new t(le(Ad),le(Eh),le(Bt),le(yf),le(t,12),le(Ef))},token:t,providedIn:kf}),t}(),Of="accent",Tf="primary",Pf=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Df=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;o._platform=n,o._focusMonitor=r,o._animationMode=i,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var l=0,a=Pf;l *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof r)return void e.push(r);t=r}var i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=i[1],l=i[2],a=i[3];e.push(Em(o,a)),"<"!=l[0]||o==xm&&a==xm||e.push(Em(a,o))}(t,i,r)}):i.push(n),i),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:Am(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return wm(n,t,e)}),options:Am(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,r=e.currentTime,i=0,o=t.steps.map(function(t){e.currentTime=r;var o=wm(n,t,e);return i=Math.max(i,e.currentTime),o});return e.currentTime=i,{type:3,steps:o,options:Am(t.options)}},t.prototype.visitAnimate=function(t,e){var n,r=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Rm(om(t,e).duration,0,"");var r=t;if(r.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var i=Rm(0,0,"");return i.dynamic=!0,i.strValue=r,i}return Rm((n=n||om(r,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=r;var i=t.styles?t.styles:Ws({});if(5==i.type)n=this.visitKeyframes(i,e);else{var o=t.styles,l=!1;if(!o){l=!0;var a={};r.easing&&(a.easing=r.easing),o=Ws(a)}e.currentTime+=r.duration+r.delay;var s=this.visitStyle(o,e);s.isEmptyStep=l,n=s}return e.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==qs?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var r=!1,i=null;return n.forEach(function(t){if(Dm(t)){var e=t,n=e.easing;if(n&&(i=n,delete e.easing),!r)for(var o in e)if(e[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:t.offset,containsDynamicStyles:r,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,r=e.currentAnimateTimings,i=e.currentTime,o=e.currentTime;r&&o>0&&(o-=r.duration+r.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(r){if(n._driver.validateStyleProperty(r)){var l,a,s,u=e.collectedStyles[e.currentQuerySelector],c=u[r],d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(e.errors.push('The CSS property "'+r+'" 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 "'+o+'ms" and "'+i+'ms"'),d=!1),o=c.startTime),d&&(u[r]={startTime:o,endTime:i}),e.options&&(l=e.errors,a=e.options.params||{},(s=fm(t[r])).length&&s.forEach(function(t){a.hasOwnProperty(t)||l.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,r={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],l=!1,a=!1,s=0,u=t.steps.map(function(t){var r=n._makeStyleAst(t,e),u=null!=r.offset?r.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(Dm(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Dm(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),a=a||c<0||c>1,l=l||c0&&i0?i==p?1:d*i:o[i],a=l*m;e.currentTime=h+f.delay+a,f.duration=a,n._validateStyleAst(t,e),t.offset=l,r.styles.push(t)}),r},t.prototype.visitReference=function(t,e){return{type:8,animation:wm(this,pm(t.animation),e),options:Am(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:Am(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Am(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,r=t.options||{};e.queryCount++,e.currentQuery=t;var i=c(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(Im,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=i[0],l=i[1];e.currentQuerySelector=n.length?n+" "+o:o,jf(e.collectedStyles,e.currentQuerySelector,{});var a=wm(this,pm(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:a,originalSelector:t.selector,options:Am(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:om(t.timings,e.errors,!0);return{type:12,animation:wm(this,pm(t.animation),e),timings:n,options:null}},t}(),Pm=function(t){this.errors=t,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 Dm(t){return!Array.isArray(t)&&"object"==typeof t}function Am(t){var e;return t?(t=lm(t)).params&&(t.params=(e=t.params)?lm(e):null):t={},t}function Rm(t,e,n){return{duration:t,delay:e,easing:n}}function Fm(t,e,n,r,i,o,l,a){return void 0===l&&(l=null),void 0===a&&(a=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:a}}var Mm=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,d(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Nm=new RegExp(":enter","g"),Lm=new RegExp(":leave","g");function Vm(t,e,n,r,i,o,l,a,s,u){return void 0===o&&(o={}),void 0===l&&(l={}),void 0===u&&(u=[]),(new jm).buildKeyframes(t,e,n,r,i,o,l,a,s,u)}var jm=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,r,i,o,l,a,s,u){void 0===u&&(u=[]),s=s||new Mm;var c=new Hm(t,e,s,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),wm(this,n,c);var d=c.timelines.filter(function(t){return t.containsAnimation()});if(d.length&&Object.keys(l).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([l],null,c.errors,a)}return d.length?d.map(function(t){return t.buildKeyframes()}):[Fm(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var r=e.createSubContext(t.options),i=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var r=e.currentTimeline.currentTime,i=null!=n.duration?rm(n.duration):null,o=null!=n.delay?rm(n.delay):null;return 0!==i&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,i,o);r=Math.max(r,n.duration+n.delay)}),r},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),wm(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,r=e.subContextCount,i=e,o=t.options;if(o&&(o.params||o.delay)&&((i=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=zm);var l=rm(o.delay);i.delayNextStep(l)}t.steps.length&&(t.steps.forEach(function(t){return wm(n,t,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,r=[],i=e.currentTimeline.currentTime,o=t.options&&t.options.delay?rm(t.options.delay):0;t.steps.forEach(function(l){var a=e.createSubContext(t.options);o&&a.delayNextStep(o),wm(n,l,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(i),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return om(e.params?mm(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),r=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),r.snapshotCurrentStyles());var i=t.style;5==i.type?this.visitKeyframes(i,e):(e.incrementTime(n.duration),this.visitStyle(i,e),r.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,r=e.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(i):n.setStyles(t.styles,i,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,r=e.currentTimeline.duration,i=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*i),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(r+i),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,r=e.currentTimeline.currentTime,i=t.options||{},o=i.delay?rm(i.delay):0;o&&(6===e.previousNode.type||0==r&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=zm);var l=r,a=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!i.optional,e.errors);e.currentQueryTotal=a.length;var s=null;a.forEach(function(r,i){e.currentQueryIndex=i;var a=e.createSubContext(t.options,r);o&&a.delayNextStep(o),r===e.element&&(s=a.currentTimeline),wm(n,t.animation,a),a.currentTimeline.applyStylesToKeyframe(),l=Math.max(l,a.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(l),s&&(e.currentTimeline.mergeTimelineCollectedStyles(s),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,r=e.currentTimeline,i=t.timings,o=Math.abs(i.duration),l=o*(e.currentQueryTotal-1),a=o*e.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=l-a;break;case"full":a=n.currentStaggerTime}var s=e.currentTimeline;a&&s.delayNextStep(a);var u=s.currentTime;wm(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},t}(),zm={},Hm=function(){function t(t,e,n,r,i,o,l,a){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=zm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new Bm(this._driver,e,0),l.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var r=t,i=this.options;null!=r.duration&&(i.duration=rm(r.duration)),null!=r.delay&&(i.delay=rm(r.delay));var o=r.params;if(o){var l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(function(t){e&&l.hasOwnProperty(t)||(l[t]=mm(o[t],l,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,r){void 0===e&&(e=null);var i=n||this.element,o=new t(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=zm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var r={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},i=new qm(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,r,t.stretchStartingKeyframe);return this.timelines.push(i),r},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,r,i,o){var l=[];if(r&&l.push(this.element),t.length>0){t=(t=t.replace(Nm,"."+this._enterClassName)).replace(Lm,"."+this._leaveClassName);var a=this._driver.query(this.element,t,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),l.push.apply(l,d(a))}return i||0!=l.length||o.push('`query("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),l},t}(),Bm=function(){function t(t,e,n,r){this._driver=t,this.element=e,this.startTime=n,this._elementTimelineStylesLookup=r,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.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))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||qs,e._currentKeyframe[t]=qs}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,r){var i=this;e&&(this._previousKeyframe.easing=e);var o=r&&r.params||{},l=function(t,e){var n,r={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){r[t]=qs}):am(t,!1,r)}),r}(t,this._globalTimelineStyles);Object.keys(l).forEach(function(t){var e=mm(l[t],o,n);i._pendingStyles[t]=e,i._localTimelineStyles.hasOwnProperty(t)||(i._backFill[t]=i._globalTimelineStyles.hasOwnProperty(t)?i._globalTimelineStyles[t]:qs),i._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var r=e._styleSummary[n],i=t._styleSummary[n];(!r||i.time>r.time)&&e._updateStyle(n,i.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,l){var a=am(o,!0);Object.keys(a).forEach(function(t){var r=a[t];r==Ys?e.add(t):r==qs&&n.add(t)}),r||(a.offset=l/t.duration),i.push(a)});var o=e.size?gm(e.values()):[],l=n.size?gm(n.values()):[];if(r){var a=i[0],s=lm(a);a.offset=0,s.offset=1,i=[a,s]}return Fm(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)},t}(),qm=function(t){function e(e,n,r,i,o,l,a){void 0===a&&(a=!1);var s=t.call(this,e,n,l.delay)||this;return s.element=n,s.keyframes=r,s.preStyleProps=i,s.postStyleProps=o,s._stretchStartingKeyframe=a,s.timings={duration:l.duration,delay:l.delay,easing:l.easing},s}return i(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,r=e.duration,i=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],l=r+n,a=n/l,s=am(t[0],!1);s.offset=0,o.push(s);var u=am(t[0],!1);u.offset=Um(a),o.push(u);for(var c=t.length-1,d=1;d<=c;d++){var p=am(t[d],!1);p.offset=Um((n+p.offset*r)/l),o.push(p)}r=l,n=0,i="",t=o}return Fm(this.element,t,this.preStyleProps,this.postStyleProps,r,n,i,!0)},e}(Bm);function Um(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Wm=function(){},Gm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.normalizePropertyName=function(t,e){return vm(t)},e.prototype.normalizeStyleValue=function(t,e,n,r){var i="",o=n.toString().trim();if(Km[e]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var l=n.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&0==l[1].length&&r.push("Please provide a CSS unit value for "+t+":"+n)}return o+i},e}(Wm),Km=function(t){var e={};return"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(",").forEach(function(t){return e[t]=!0}),e}();function Zm(t,e,n,r,i,o,l,a,s,u,c,d,p){return{type:0,element:t,triggerName:e,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:l,timelines:a,queriedElements:s,preStyleProps:u,postStyleProps:c,totalTime:d,errors:p}}var Ym={},$m=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,r){return function(t,e,n,r,i){return t.some(function(t){return t(e,n,r,i)})}(this.ast.matchers,t,e,n,r)},t.prototype.buildStyles=function(t,e,n){var r=this._stateStyles["*"],i=this._stateStyles[t],o=r?r.buildStyles(e,n):{};return i?i.buildStyles(e,n):o},t.prototype.build=function(t,e,n,r,i,l,a,s,u,c){var d=[],p=this.ast.options&&this.ast.options.params||Ym,h=this.buildStyles(n,a&&a.params||Ym,d),f=s&&s.params||Ym,m=this.buildStyles(r,f,d),g=new Set,y=new Map,v=new Map,_="void"===r,b={params:o({},p,f)},w=c?[]:Vm(t,e,this.ast.animation,i,l,h,m,b,u,d),C=0;if(w.forEach(function(t){C=Math.max(t.duration+t.delay,C)}),d.length)return Zm(e,this._triggerName,n,r,_,h,m,[],[],y,v,C,d);w.forEach(function(t){var n=t.element,r=jf(y,n,{});t.preStyleProps.forEach(function(t){return r[t]=!0});var i=jf(v,n,{});t.postStyleProps.forEach(function(t){return i[t]=!0}),n!==e&&g.add(n)});var x=gm(g.values());return Zm(e,this._triggerName,n,r,_,h,m,w,x,y,v,C)},t}(),Xm=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},r=lm(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(r[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var i=t;Object.keys(i).forEach(function(t){var o=i[t];o.length>1&&(o=mm(o,r,e)),n[t]=o})}}),n},t}(),Qm=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new Xm(t.style,t.options&&t.options.params||{})}),Jm(this.states,"true","1"),Jm(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new $m(t,e,n.states))}),this.fallbackTransition=new $m(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,r){return this.transitionFactories.find(function(i){return i.match(t,e,n,r)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function Jm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var tg=new Mm,eg=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],r=Om(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=r},t.prototype._buildPlayer=function(t,e,n){var r=t.element,i=Mf(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(r,i,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var r=this;void 0===n&&(n={});var i,o=[],l=this._animations[t],a=new Map;if(l?(i=Vm(this._driver,e,l,"ng-enter","ng-leave",{},{},n,tg,o)).forEach(function(t){var e=jf(a,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));a.forEach(function(t,e){Object.keys(t).forEach(function(n){t[n]=r._driver.computeStyle(e,n,qs)})});var s=Ff(i.map(function(t){var e=a.get(t.element);return r._buildPlayer(t,{},e)}));return this._playersById[t]=s,s.onDestroy(function(){return r.destroy(t)}),this.players.push(s),s},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,r){var i=Vf(e,"","","");return Nf(this._getPlayer(t),n,i,r),function(){}},t.prototype.command=function(t,e,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(t);switch(n){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(r[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,r[0]||{});else this.register(t,r[0])},t}(),ng=[],rg={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},ig={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},og="__ng_removed",lg=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var r=lm(t);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),ag=new lg("void"),sg=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,gg(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var l=jf(this._elementListeners,t,[]),a={name:e,phase:n,callback:r};l.push(a);var s=jf(this._engine.statesByElement,t,{});return s.hasOwnProperty(e)||(gg(t,"ng-trigger"),gg(t,"ng-trigger-"+e),s[e]=ag),function(){o._engine.afterFlush(function(){var t=l.indexOf(a);t>=0&&l.splice(t,1),o._triggers[e]||delete s[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(e),l=new cg(this.id,e,t),a=this._engine.statesByElement.get(t);a||(gg(t,"ng-trigger"),gg(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,a={}));var s=a[e],u=new lg(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&s&&u.absorbOptions(s.options),a[e]=u,s||(s=ag),"void"===u.value||s.value!==u.value){var c=jf(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()});var d=o.matchTransition(s.value,u.value,t,u.params),p=!1;if(!d){if(!r)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:d,fromState:s,toState:u,player:l,isFallbackTransition:p}),p||(gg(t,"ng-animate-queued"),l.onStart(function(){yg(t,"ng-animate-queued")})),l.onDone(function(){var e=i.players.indexOf(l);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(l);r>=0&&n.splice(r,1)}}),this.players.push(l),c.push(l),l}if(!function(t,e){var n=Object.keys(t),r=Object.keys(e);if(n.length!=r.length)return!1;for(var i=0;i=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,e)){this._namespaceList.splice(i+1,0,t),r=!0;break}r||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var r=this._namespaceLookup[t];r&&r.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var r=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(r);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var r=Object.keys(n),i=0;i=0&&this.collectedLeaveElements.splice(o,1)}if(t){var l=this._fetchNamespace(t);l&&l.insertNode(e,n)}r&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),gg(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),yg(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(dg(e)){var r=t?this._fetchNamespace(t):null;r?r.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,r){this.collectedLeaveElements.push(e),e[og]={namespaceId:t,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,r,i){return dg(e)?this._fetchNamespace(t).listen(e,n,r,i):function(){}},t.prototype._buildInstruction=function(t,e,n,r,i){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,r,t.fromState.options,t.toState.options,e,i)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return Ff(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[og];if(n&&n.setForRemoval){if(t[og]=rg,n.namespaceId){this.destroyInnerAnimations(t);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r=0;E--)this._namespaceList[E].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(S.push(e),n.collectedEnterElements.length){var l=o[og];if(l&&l.setForMove)return void e.destroy()}var d=!h||!n.driver.containsElement(h,o),p=C.get(o),f=g.get(o),m=n._buildInstruction(t,r,f,p,d);if(m.errors&&m.errors.length)k.push(m);else{if(d)return e.onStart(function(){return dm(o,m.fromStyles)}),e.onDestroy(function(){return cm(o,m.toStyles)}),void i.push(e);if(t.isFallbackTransition)return e.onStart(function(){return dm(o,m.fromStyles)}),e.onDestroy(function(){return cm(o,m.toStyles)}),void i.push(e);m.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),r.append(o,m.timelines),a.push({instruction:m,player:e,element:o}),m.queriedElements.forEach(function(t){return jf(s,t,[]).push(e)}),m.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var r=u.get(e);r||u.set(e,r=new Set),n.forEach(function(t){return r.add(t)})}}),m.postStyleProps.forEach(function(t,e){var n=Object.keys(t),r=c.get(e);r||c.set(e,r=new Set),n.forEach(function(t){return r.add(t)})})}});if(k.length){var I=[];k.forEach(function(t){I.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return I.push("- "+t+"\n")})}),S.forEach(function(t){return t.destroy()}),this.reportError(I)}var O=new Map,T=new Map;a.forEach(function(t){var e=t.element;r.has(e)&&(T.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,O))}),i.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){jf(O,e,[]).push(t),t.destroy()})});var P=v.filter(function(t){return _g(t,u,c)}),D=new Map;hg(D,this.driver,b,c,qs).forEach(function(t){_g(t,u,c)&&P.push(t)});var A=new Map;m.forEach(function(t,e){hg(A,n.driver,new Set(t),u,Ys)}),P.forEach(function(t){var e=D.get(t),n=A.get(t);D.set(t,o({},e,n))});var R=[],F=[],M={};a.forEach(function(t){var e=t.element,o=t.player,a=t.instruction;if(r.has(e)){if(p.has(e))return o.onDestroy(function(){return cm(e,a.toStyles)}),o.disabled=!0,o.overrideTotalTime(a.totalTime),void i.push(o);var s=M;if(T.size>1){for(var u=e,c=[];u=u.parentNode;){var d=T.get(u);if(d){s=d;break}c.push(u)}c.forEach(function(t){return T.set(t,s)})}var h=n._buildAnimation(o.namespaceId,a,O,l,A,D);if(o.setRealPlayer(h),s===M)R.push(o);else{var f=n.playersByElement.get(s);f&&f.length&&(o.parentPlayer=Ff(f)),i.push(o)}}else dm(e,a.fromStyles),o.onDestroy(function(){return cm(e,a.toStyles)}),F.push(o),p.has(e)&&i.push(o)}),F.forEach(function(t){var e=l.get(t.element);if(e&&e.length){var n=Ff(e);t.setRealPlayer(n)}}),i.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var N=0;N0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Ks(t.duration,t.delay)},t}(),cg=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Ks,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Nf(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){jf(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function dg(t){return t&&1===t.nodeType}function pg(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function hg(t,e,n,r,i){var o=[];n.forEach(function(t){return o.push(pg(t))});var l=[];r.forEach(function(n,r){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(r,t,i);n&&0!=n.length||(r[og]=ig,l.push(r))}),t.set(r,o)});var a=0;return n.forEach(function(t){return pg(t,o[a++])}),l}function fg(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var r=new Set(e),i=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=i.get(e);if(o)return o;var l=e.parentNode;return o=n.has(l)?l:r.has(l)?1:t(l),i.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var mg="$$classes";function gg(t,e){if(t.classList)t.classList.add(e);else{var n=t[mg];n||(n=t[mg]={}),n[e]=!0}}function yg(t,e){if(t.classList)t.classList.remove(e);else{var n=t[mg];n&&delete n[e]}}function vg(t,e,n){Ff(n).onDone(function(){return t.processLeaveNode(e)})}function _g(t,e,n){var r=n.get(t);if(!r)return!1;var i=e.get(t);return i?r.forEach(function(t){return i.add(t)}):e.set(t,r),n.delete(t),!0}var bg=function(){function t(t,e,n){var r=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new ug(t,e,n),this._timelineEngine=new eg(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return r.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,r,i){var o=t+"-"+r,l=this._triggerCache[o];if(!l){var a=[],s=Om(this._driver,i,a);if(a.length)throw new Error('The animation trigger "'+r+'" has failed to build due to the following errors:\n - '+a.join("\n - "));l=function(t,e){return new Qm(t,e)}(r,s),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(e,r,l)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,r){this._transitionEngine.insertNode(t,e,n,r)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,r){if("@"==n.charAt(0)){var i=c(zf(n),2);this._timelineEngine.command(i[0],e,i[1],r)}else this._transitionEngine.trigger(t,e,n,r)},t.prototype.listen=function(t,e,n,r,i){if("@"==n.charAt(0)){var o=c(zf(n),2);return this._timelineEngine.listen(o[0],e,o[1],i)}return this._transitionEngine.listen(t,e,n,r,i)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),wg="animation",Cg="animationend",xg=function(){function t(t,e,n,r,i,o,l){var a=this;this._element=t,this._name=e,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=l,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(t){return a._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Tg(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Ig(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(r=Eg(n=Tg(t=this._element,"").split(","),e))>=0&&(n.splice(r,1),Og(t,"",n.join(","))))},t}();function Sg(t,e,n){Og(t,"PlayState",n,kg(t,e))}function kg(t,e){var n=Tg(t,"");return n.indexOf(",")>0?Eg(n.split(","),e):Eg([n],e)}function Eg(t,e){for(var n=0;n=0)return n;return-1}function Ig(t,e,n){n?t.removeEventListener(Cg,e):t.addEventListener(Cg,e)}function Og(t,e,n,r){var i=wg+e;if(null!=r){var o=t.style[i];if(o.length){var l=o.split(",");l[r]=n,n=l.join(",")}}t.style[i]=n}function Tg(t,e){return t.style[wg+e]}var Pg="linear",Dg=function(){function t(t,e,n,r,i,o,l){this.element=t,this.keyframes=e,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Pg,this.totalTime=r+i,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new xg(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(e[r]=n?t._finalStyles[r]:Cm(t.element,r))})}this.currentSnapshot=e},t}(),Ag=function(t){function e(e,n){var r=t.call(this)||this;return r.element=e,r._startingStyles={},r.__initialized=!1,r._styles=Jf(n),r}return i(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(Ks),Rg=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return Yf(t)},t.prototype.matchesElement=function(t,e){return $f(t,e)},t.prototype.containsElement=function(t,e){return Xf(t,e)},t.prototype.query=function(t,e,n){return Qf(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){var r="@keyframes "+e+" {\n",i="";(n=n.map(function(t){return Jf(t)})).forEach(function(t){i=" ";var e=parseFloat(t.offset);r+=""+i+100*e+"% {\n",i+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+e+": "+n+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},t.prototype.animate=function(t,e,n,r,i,o,l){void 0===o&&(o=[]),l&&this._notifyFaultyScrubber();var a=o.filter(function(t){return t instanceof Dg}),s={};_m(n,r)&&a.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=bm(t,e,s));if(0==n)return new Ag(t,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var p=new Dg(t,e,c,n,r,i,u);return p.onDestroy(function(){var t;(t=d).parentNode.removeChild(t)}),p},t.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)},t}(),Fg=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Cm(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Mg=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Ng().toString()),this._cssKeyframesDriver=new Rg}return t.prototype.validateStyleProperty=function(t){return Yf(t)},t.prototype.matchesElement=function(t,e){return $f(t,e)},t.prototype.containsElement=function(t,e){return Xf(t,e)},t.prototype.query=function(t,e,n){return Qf(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,r,i,o,l){if(void 0===o&&(o=[]),!l&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var s={},u=o.filter(function(t){return t instanceof Fg});return _m(n,r)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return s[t]=e[t]})}),e=bm(t,e=e.map(function(t){return am(t,!1)}),s),new Fg(t,e,a)},t}();function Ng(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Lg=function(t){function e(e,n){var r=t.call(this)||this;return r._nextAnimationId=0,r._renderer=e.createRenderer(n.body,{id:"0",encapsulation:se.None,styles:[],data:{animation:[]}}),r}return i(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Us(t):t;return zg(this._renderer,null,e,"register",[n]),new Vg(e,this._renderer)},l([a(1,Ft(op))],e)}(Bs),Vg=function(t){function e(e,n){var r=t.call(this)||this;return r._id=e,r._renderer=n,r}return i(e,t),e.prototype.create=function(t,e){return new jg(this._id,t,e||{},this._renderer)},e}(function(){}),jg=function(){function t(t,e,n,r){this.id=t,this.element=e,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n=0&&t*,.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 screen and (-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 Xg(t){return Xo(2,[jo(402653184,1,{ripple:0}),(t()(),Ri(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),Uo(null,0),(t()(),Ri(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)),Co(4,212992,[[1,4]],0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Ri(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,so(e,4).unbounded)})}var Qg=oi({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:2px;box-sizing:border-box;display:block;margin:24px;max-width:568px;min-width:288px;padding:14px 24px;transform:translateY(100%) translateY(24px)}.mat-snack-bar-container.mat-snack-bar-center{margin:0;transform:translateY(100%)}.mat-snack-bar-container.mat-snack-bar-top{transform:translateY(-100%) translateY(-24px)}.mat-snack-bar-container.mat-snack-bar-top.mat-snack-bar-center{transform:translateY(-100%)}@media screen and (-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:0;max-width:inherit;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"visible-top, visible-bottom",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible-top => hidden-top, visible-bottom => hidden-bottom",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible-top, void => visible-bottom",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function Jg(t){return Xo(0,[(t()(),Ai(0,null,null,0))],null,null)}function ty(t){return Xo(2,[jo(402653184,1,{_portalOutlet:0}),(t()(),Ai(16777216,null,null,1,null,Jg)),Co(2,212992,[[1,4]],0,nu,[Ye,jn],{portal:[0,"portal"]},null)],function(t,e){t(e,2,0,"")},null)}var ey=Xi("snack-bar-container",Sf,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"],["role","alert"]],[[40,"@state",0]],[["component","@state.done"]],function(t,e,n){var r=!0;return"component:@state.done"===e&&(r=!1!==so(t,1).onAnimationEnd(n)&&r),r},ty,Qg)),Co(1,180224,null,0,Sf,[ln,Dn,zn,Cf],null,null)],null,function(t,e){t(e,0,0,so(e,1)._animationState)})},{},{},[]),ny=oi({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;line-height:20px;opacity:1}.mat-simple-snackbar-action{display:flex;flex-direction:column;flex-shrink:0;justify-content:space-around;margin:-8px 0 -8px 8px}.mat-simple-snackbar-action button{flex:1;max-height:36px}[dir=rtl] .mat-simple-snackbar-action{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"contentFade",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{opacity:"0"},offset:null},{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null}],options:{}}]}});function ry(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.action()&&r),r},Xg,$g)),Co(2,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(3,0,["",""]))],null,function(t,e){var n=e.component;t(e,1,0,so(e,2).disabled||null,"NoopAnimations"===so(e,2)._animationMode),t(e,3,0,n.data.action)})}function iy(t){return Xo(2,[(t()(),Ri(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(1,null,["",""])),(t()(),Ai(16777216,null,null,1,null,ry)),Co(3,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.component.hasAction)},function(t,e){t(e,1,0,e.component.data.message)})}var oy=Xi("simple-snack-bar",xf,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],[[40,"@contentFade",0]],null,null,iy,ny)),Co(1,49152,null,0,xf,[bf,wf],null,null)],null,function(t,e){t(e,0,0,void 0)})},{},{},[]),ly=20;function ay(t){return Error('Tooltip position "'+t+'" is invalid.')}var sy=new vt("mat-tooltip-scroll-strategy");function uy(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:ly})}}var cy=new vt("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),dy=function(){function t(t,e,n,r,i,o,l,a,s,u,c){var d=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._platform=o,this._ariaDescriber=l,this._focusMonitor=a,this._scrollStrategy=s,this._dir=u,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 V;var p=e.nativeElement;o.IOS||o.ANDROID?!o.IOS||"INPUT"!==p.nodeName&&"TEXTAREA"!==p.nodeName||(p.style.webkitUserSelect=p.style.userSelect=""):this._manualListeners.set("mouseenter",function(){return d.show()}).set("mouseleave",function(){return d.hide()}).forEach(function(t,e){return p.addEventListener(e,t)}),p.draggable&&"none"===p.style.webkitUserDrag&&(p.style.webkitUserDrag=""),a.monitor(p).pipe(ud(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&i.run(function(){return d.show()}):i.run(function(){return d.hide(0)})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Vc(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._platform.IOS||(this._manualListeners.forEach(function(e,n){return t._elementRef.nativeElement.removeEventListener(n,e)}),this._manualListeners.clear()),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=this.showDelay),!this.disabled&&this.message){var n=this._createOverlay();this._detach(),this._portal=this._portal||new Qs(py,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(ud(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&t.keyCode===ou&&(t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8),n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);return e.withScrollableContainers(n),e.positionChanges.pipe(ud(this._destroyed)).subscribe(function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.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(ud(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([o({},e.main,n.main),o({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw ay(n);t={originX:"end",originY:"center"}}var r=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:r.x,originY:r.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw ay(n);t={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:r.x,overlayY:r.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1),ud(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),py=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new V,this._isHandset=this._breakpointObserver.observe(_f.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._markForCheck()},t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),hy=function(){},fy=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=yt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),my=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})},t.prototype.observe=function(t){var e=this,n=t instanceof Dn?t.nativeElement:t;return R.create(function(t){var r=e._observeElement(n).subscribe(t);return function(){r.unsubscribe(),e._unobserveElement(n)}})},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new V,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,r=e.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=yt({factory:function(){return new t(le(fy))},token:t,providedIn:"root"}),t}(),gy=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new on,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=Vc(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=jc(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe(sh(t.debounce)):e).subscribe(t.event)})},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),yy=function(){},vy=oi({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:2px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media screen and (-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:{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:null,timings:"150ms cubic-bezier(0.0, 0.0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function _y(t){return Xo(2,[(t()(),Ri(0,0,null,null,3,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(t,e,n){var r=!0,i=t.component;return"@state.start"===e&&(r=!1!==i._animationStart()&&r),"@state.done"===e&&(r=!1!==i._animationDone(n)&&r),r},null,null)),Co(1,278528,null,0,dc,[ar,sr,Dn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),xo(131072,Ic,[zn]),(t()(),Zo(3,null,["",""]))],function(t,e){t(e,1,0,"mat-tooltip",e.component.tooltipClass)},function(t,e){var n=e.component;t(e,0,0,ni(e,0,0,so(e,2).transform(n._isHandset)).matches,n._visibility),t(e,3,0,n.message)})}var by=Xi("mat-tooltip-component",py,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(t,e,n){var r=!0;return"body:click"===e&&(r=!1!==so(t,1)._handleBodyInteraction()&&r),r},_y,vy)),Co(1,49152,null,0,py,[zn,yf],null,null)],null,function(t,e){t(e,0,0,"visible"===so(e,1)._visibility?1:null)})},{},{},[]),wy=function(t){function e(){var n=t.call(this,"no elements in sequence")||this;return n.name="EmptyError",Object.setPrototypeOf(n,e.prototype),n}return i(e,t),e}(Error),Cy=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return i(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(V);function xy(t){return function(e){return 0===t?au():e.lift(new Sy(t))}}var Sy=function(){function t(t){if(this.total=t,this.total<0)throw new fu}return t.prototype.call=function(t,e){return e.subscribe(new ky(t,this.total))},t}(),ky=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.ring=new Array,r.count=0,r}return i(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,r=this.count++;e.length0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i=2;return function(r){return r.pipe(t?du(function(e,n){return t(e,n,r)}):lt,xy(1),n?Oy(e):Ey(function(){return new wy}))}}function Ay(t,e){return function(n){return n.lift(new Ry(t,e,n))}}var Ry=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new Fy(t,this.predicate,this.thisArg,this.source))},t}(),Fy=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return i(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(t){return void this.destination.error(t)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(I);function My(t){return function(e){var n=new Ny(t),r=e.lift(n);return n.caught=r}}var Ny=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Ly(t,this.selector,this.caught))},t}(),Ly=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.selector=n,i.caught=r,i}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add($(this,n))}},e}(X);function Vy(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?du(function(e,n){return t(e,n,r)}):lt,mu(1),n?Oy(e):Ey(function(){return new wy}))}}function jy(t,e){return rt(t,e,1)}function zy(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Hy(t,e,n))}}var Hy=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new By(t,this.accumulator,this.seed,this.hasSeed))},t}(),By=function(t){function e(e,n,r,i){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return i(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(t){this.destination.error(t)}this.seed=e,this.destination.next(e)},e}(I),qy=function(t,e){this.id=t,this.url=e},Uy=function(t){function e(e,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(qy),Wy=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.urlAfterRedirects=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(qy),Gy=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.reason=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(qy),Ky=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i.error=r,i}return i(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(qy),Zy=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(qy),Yy=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(qy),$y=function(t){function e(e,n,r,i,o){var l=t.call(this,e,n)||this;return l.urlAfterRedirects=r,l.state=i,l.shouldActivate=o,l}return i(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(qy),Xy=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(qy),Qy=function(t){function e(e,n,r,i){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(qy),Jy=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),tv=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),ev=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),nv=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),rv=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),iv=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),ov=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),lv=function(){},av="primary",sv=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function uv(t){return new sv(t)}function cv(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length0?t[t.length-1]:null}function _v(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function bv(t){return t.pipe(at(),Ay(function(t){return!0===t}))}function wv(t){return Te(t)?t:Oe(t)?nt(Promise.resolve(t)):cu(t)}function Cv(t,e,n){return n?function(t,e){return gv(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Ev(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Ev(l=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Ev(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!t(n.children[o],r.children[o]))return!1}return!0}var l=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!Ev(n.segments,l)&&!!n.children[av]&&e(n.children[av],r,a)}(e,n,n.segments)}(t.root,e.root)}var xv=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=uv(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Pv.serialize(this)},t}(),Sv=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,_v(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Dv(this)},t}(),kv=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=uv(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return Lv(this)},t}();function Ev(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function Iv(t,e){var n=[];return _v(t.children,function(t,r){r===av&&(n=n.concat(e(t,r)))}),_v(t.children,function(t,r){r!==av&&(n=n.concat(e(t,r)))}),n}var Ov=function(){},Tv=function(){function t(){}return t.prototype.parse=function(t){var e=new Bv(t);return new xv(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return Dv(e);if(n){var r=e.children[av]?t(e.children[av],!1):"",i=[];return _v(e.children,function(e,n){n!==av&&i.push(n+":"+t(e,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Iv(e,function(n,r){return r===av?[t(e.children[av],!1)]:[r+":"+t(n,!1)]});return Dv(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return Rv(t)+"="+Rv(e)}).join("&"):Rv(t)+"="+Rv(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),Pv=new Tv;function Dv(t){return t.segments.map(function(t){return Lv(t)}).join("/")}function Av(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Rv(t){return Av(t).replace(/%3B/gi,";")}function Fv(t){return Av(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Mv(t){return decodeURIComponent(t)}function Nv(t){return Mv(t.replace(/\+/g,"%20"))}function Lv(t){return""+Fv(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+Fv(t)+"="+Fv(e[t])}).join(""));var e}var Vv=/^[^\/()?;=#]+/;function jv(t){var e=t.match(Vv);return e?e[0]:""}var zv=/^[^=?&#]+/,Hv=/^[^?&#]+/,Bv=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Sv([],{}):new Sv([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[av]=new Sv(t,e)),n},t.prototype.parseSegment=function(){var t=jv(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new kv(Mv(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=jv(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=jv(this.remaining);r&&this.capture(n=r)}t[Mv(e)]=Mv(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(zv))?e[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(t){var e=t.match(Hv);return e?e[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Nv(n),l=Nv(r);if(t.hasOwnProperty(o)){var a=t[o];Array.isArray(a)||(t[o]=a=[a]),a.push(l)}else t[o]=l}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=jv(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=av);var o=this.parseChildren();e[i]=1===Object.keys(o).length?o[av]:new Sv([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),qv=function(t){this.segmentGroup=t||null},Uv=function(t){this.urlTree=t};function Wv(t){return new R(function(e){return e.error(new qv(t))})}function Gv(t){return new R(function(e){return e.error(new Uv(t))})}function Kv(t){return new R(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var Zv=function(){function t(t,e,n,r,i){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=t.get(Qe)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,av).pipe(Q(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(My(function(e){if(e instanceof Uv)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof qv)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,av).pipe(Q(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(My(function(t){if(t instanceof qv)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var r,i=t.segments.length>0?new Sv([],((r={})[av]=t,r)):t;return new xv(i,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Q(function(t){return new Sv([],t)})):this.expandSegment(t,n,e,n.segments,r,!0)},t.prototype.expandChildren=function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return cu({});var o=[],l=[],a={};return _v(n,function(n,i){var s,u,c=(s=i,u=n,r.expandSegmentGroup(t,e,u,s)).pipe(Q(function(t){return a[i]=t}));i===av?o.push(c):l.push(c)}),cu.apply(null,o.concat(l)).pipe(vu(),Dy(),Q(function(){return a}))}(n.children)},t.prototype.expandSegment=function(t,e,n,r,i,o){var l=this;return cu.apply(void 0,d(n)).pipe(Q(function(a){return l.expandSegmentAgainstRoute(t,e,n,a,r,i,o).pipe(My(function(t){if(t instanceof qv)return cu(null);throw t}))}),vu(),Vy(function(t){return!!t}),My(function(t,n){if(t instanceof wy||"EmptyError"===t.name){if(l.noLeftoversInUrl(e,r,i))return cu(new Sv([],{}));throw new qv(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,r,i,o,l){return Qv(r)!==o?Wv(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):l&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Wv(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Gv(o):this.lineralizeSegments(n,o).pipe(rt(function(n){var o=new Sv(n,{});return i.expandSegment(t,o,e,n,r,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,r,i,o){var l=this,a=Yv(e,r,i),s=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return Wv(e);var d=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Gv(d):this.lineralizeSegments(r,d).pipe(rt(function(r){return l.expandSegment(t,e,n,r.concat(i.slice(u)),o,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Q(function(t){return n._loadedConfig=t,new Sv(r,{})})):cu(new Sv(r,{}));var l=Yv(e,n,r),a=l.consumedSegments,s=l.lastChild;if(!l.matched)return Wv(e);var c=r.slice(s);return this.getChildConfig(t,n).pipe(rt(function(t){var n=t.module,r=t.routes,l=function(t,e,n,r){return n.length>0&&function(t,e,n){return r.some(function(n){return Xv(t,e,n)&&Qv(n)!==av})}(t,n)?{segmentGroup:$v(new Sv(e,function(t,e){var n,r,i={};i[av]=e;try{for(var o=u(t),l=o.next();!l.done;l=o.next()){var a=l.value;""===a.path&&Qv(a)!==av&&(i[Qv(a)]=new Sv([],{}))}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Sv(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return r.some(function(n){return Xv(t,e,n)})}(t,n)?{segmentGroup:$v(new Sv(t.segments,function(t,e,n,r){var i,l,a={};try{for(var s=u(n),c=s.next();!c.done;c=s.next()){var d=c.value;Xv(t,e,d)&&!r[Qv(d)]&&(a[Qv(d)]=new Sv([],{}))}}catch(t){i={error:t}}finally{try{c&&!c.done&&(l=s.return)&&l.call(s)}finally{if(i)throw i.error}}return o({},r,a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,c,r),s=l.segmentGroup,d=l.slicedSegments;return 0===d.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Q(function(t){return new Sv(a,t)})):0===r.length&&0===d.length?cu(new Sv(a,{})):i.expandSegment(n,s,r,d,av,!0).pipe(Q(function(t){return new Sv(a.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e){var n=this;return e.children?cu(new dv(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?cu(e._loadedConfig):function(t,e){var n=e.canLoad;return n&&0!==n.length?bv(nt(n).pipe(Q(function(n){var r=t.get(n);return wv(r.canLoad?r.canLoad(e):r(e))}))):cu(!0)}(t.injector,e).pipe(rt(function(r){return r?n.configLoader.load(t.injector,e).pipe(Q(function(t){return e._loadedConfig=t,t})):function(t){return new R(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):cu(new dv([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return cu(n);if(r.numberOfChildren>1||!r.children[av])return Kv(t.redirectTo);r=r.children[av]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new xv(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return _v(t,function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,r){var i=this,o=this.createSegments(t,e.segments,n,r),l={};return _v(e.children,function(e,o){l[o]=i.createSegmentGroup(t,e,n,r)}),new Sv(o,l)},t.prototype.createSegments=function(t,e,n,r){var i=this;return e.map(function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return r},t.prototype.findOrReturn=function(t,e){var n,r,i=0;try{for(var o=u(e),l=o.next();!l.done;l=o.next()){var a=l.value;if(a.path===t.path)return e.splice(i),a;i++}}catch(t){n={error:t}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return t},t}();function Yv(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||cv)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function $v(t){if(1===t.numberOfChildren&&t.children[av]){var e=t.children[av];return new Sv(t.segments.concat(e.segments),e.children)}return t}function Xv(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Qv(t){return t.outlet||av}var Jv=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=t_(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=t_(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=e_(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return e_(t,this._root).map(function(t){return t.value})},t}();function t_(t,e){var n,r;if(t===e.value)return e;try{for(var i=u(e.children),o=i.next();!o.done;o=i.next()){var l=t_(t,o.value);if(l)return l}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function e_(t,e){var n,r;if(t===e.value)return[e];try{for(var i=u(e.children),o=i.next();!o.done;o=i.next()){var l=e_(t,o.value);if(l.length)return l.unshift(e),l}}catch(t){n={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var n_=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function r_(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var i_=function(t){function e(e,n){var r=t.call(this,e)||this;return r.snapshot=n,c_(r,e),r}return i(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(Jv);function o_(t,e){var n=function(t,e){var n=new s_([],{},{},"",{},av,e,null,t.root,-1,{});return new u_("",new n_(n,[]))}(t,e),r=new Cy([new kv("",{})]),i=new Cy({}),o=new Cy({}),l=new Cy({}),a=new Cy(""),s=new l_(r,i,l,a,o,av,e,n.root);return s.snapshot=n.root,new i_(new n_(s,[]),n)}var l_=function(){function t(t,e,n,r,i,o,l,a){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this._futureSnapshot=a}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Q(function(t){return uv(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Q(function(t){return uv(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function a_(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],l=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(l.component)break;r--}}return function(t){return t.reduce(function(t,e){return{params:o({},t.params,e.params),data:o({},t.data,e.data),resolve:o({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var s_=function(){function t(t,e,n,r,i,o,l,a,s,u,c){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=l,this.routeConfig=a,this._urlSegment=s,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=uv(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=uv(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),u_=function(t){function e(e,n){var r=t.call(this,n)||this;return r.url=e,c_(r,n),r}return i(e,t),e.prototype.toString=function(){return d_(this._root)},e}(Jv);function c_(t,e){e.value._routerState=t,e.children.forEach(function(e){return c_(t,e)})}function d_(t){var e=t.children.length>0?" { "+t.children.map(d_).join(", ")+" } ":"";return""+t.value+e}function p_(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,gv(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),gv(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&f_(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(r&&r!==vv(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),y_=function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n};function v_(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[av]:""+t}function __(t,e,n){if(t||(t=new Sv([],{})),0===t.segments.length&&t.hasChildren())return b_(t,e,n);var r=function(t,e,n){for(var r=0,i=e,o={match:!1,pathIndex:0,commandIndex:0};i=n.length)return o;var l=t.segments[i],a=v_(n[r]),s=r0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!S_(a,s,l))return o;r+=2}else{if(!S_(a,{},l))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex=2?function(n){return D(zy(t,e),xy(1),Oy(e))(n)}:function(e){return D(zy(function(e,n,r){return t(e,n,r+1)}),xy(1))(e)}}(function(t,e){return t})):cu(null)},t.prototype.isDeactivating=function(){return 0!==this.canDeactivateChecks.length},t.prototype.isActivating=function(){return 0!==this.canActivateChecks.length},t.prototype.setupChildRouteGuards=function(t,e,n,r){var i=this,o=r_(e);t.children.forEach(function(t){i.setupRouteGuards(t,o[t.value.outlet],n,r.concat([t.value])),delete o[t.value.outlet]}),_v(o,function(t,e){return i.deactivateRouteAndItsChildren(t,n.getContext(e))})},t.prototype.setupRouteGuards=function(t,e,n,r){var i=t.value,o=e?e.value:null,l=n?n.getContext(t.value.outlet):null;if(o&&i.routeConfig===o.routeConfig){var a=this.shouldRunGuardsAndResolvers(o,i,i.routeConfig.runGuardsAndResolvers);a?this.canActivateChecks.push(new k_(r)):(i.data=o.data,i._resolvedData=o._resolvedData),this.setupChildRouteGuards(t,e,i.component?l?l.children:null:n,r),a&&this.canDeactivateChecks.push(new E_(l.outlet.component,o))}else o&&this.deactivateRouteAndItsChildren(e,l),this.canActivateChecks.push(new k_(r)),this.setupChildRouteGuards(t,null,i.component?l?l.children:null:n,r)},t.prototype.shouldRunGuardsAndResolvers=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!h_(t,e)||!gv(t.queryParams,e.queryParams);case"paramsChange":default:return!h_(t,e)}},t.prototype.deactivateRouteAndItsChildren=function(t,e){var n=this,r=r_(t),i=t.value;_v(r,function(t,r){n.deactivateRouteAndItsChildren(t,i.component?e?e.children.getContext(r):null:e)}),this.canDeactivateChecks.push(new E_(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))},t.prototype.runCanDeactivateChecks=function(){var t=this;return nt(this.canDeactivateChecks).pipe(rt(function(e){return t.runCanDeactivate(e.component,e.route)}),Ay(function(t){return!0===t}))},t.prototype.runCanActivateChecks=function(){var t=this;return nt(this.canActivateChecks).pipe(jy(function(e){return bv(nt([t.fireChildActivationStart(e.route.parent),t.fireActivationStart(e.route),t.runCanActivateChild(e.path),t.runCanActivate(e.route)]))}),Ay(function(t){return!0===t}))},t.prototype.fireActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new rv(t)),cu(!0)},t.prototype.fireChildActivationStart=function(t){return null!==t&&this.forwardEvent&&this.forwardEvent(new ev(t)),cu(!0)},t.prototype.runCanActivate=function(t){var e=this,n=t.routeConfig?t.routeConfig.canActivate:null;return n&&0!==n.length?bv(nt(n).pipe(Q(function(n){var r=e.getToken(n,t);return wv(r.canActivate?r.canActivate(t,e.future):r(t,e.future)).pipe(Vy())}))):cu(!0)},t.prototype.runCanActivateChild=function(t){var e=this,n=t[t.length-1];return bv(nt(t.slice(0,t.length-1).reverse().map(function(t){return e.extractCanActivateChild(t)}).filter(function(t){return null!==t})).pipe(Q(function(t){return bv(nt(t.guards).pipe(Q(function(r){var i=e.getToken(r,t.node);return wv(i.canActivateChild?i.canActivateChild(n,e.future):i(n,e.future)).pipe(Vy())})))})))},t.prototype.extractCanActivateChild=function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null},t.prototype.runCanDeactivate=function(t,e){var n=this,r=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return r&&0!==r.length?nt(r).pipe(rt(function(r){var i=n.getToken(r,e);return wv(i.canDeactivate?i.canDeactivate(t,e,n.curr,n.future):i(t,e,n.curr,n.future)).pipe(Vy())})).pipe(Ay(function(t){return!0===t})):cu(!0)},t.prototype.runResolve=function(t,e){return this.resolveNode(t._resolve,t).pipe(Q(function(n){return t._resolvedData=n,t.data=o({},t.data,a_(t,e).resolve),null}))},t.prototype.resolveNode=function(t,e){var n=this,r=Object.keys(t);if(0===r.length)return cu({});if(1===r.length){var i=r[0];return this.getResolver(t[i],e).pipe(Q(function(t){var e;return(e={})[i]=t,e}))}var o={};return nt(r).pipe(rt(function(r){return n.getResolver(t[r],e).pipe(Q(function(t){return o[r]=t,t}))})).pipe(Dy(),Q(function(){return o}))},t.prototype.getResolver=function(t,e){var n=this.getToken(t,e);return wv(n.resolve?n.resolve(e,this.future):n(e,this.future))},t.prototype.getToken=function(t,e){var n=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(n?n.module.injector:this.moduleInjector).get(t)},t}(),O_=function(){},T_=function(){function t(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=A_(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,av),n=new s_([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},av,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new n_(n,e),i=new u_(this.url,r);return this.inheritParamsAndData(i._root),cu(i)}catch(t){return new R(function(e){return e.error(t)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,r=a_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,r=this,i=Iv(e,function(e,n){return r.processSegmentGroup(t,e,n)});return n={},i.forEach(function(t){var e=n[t.value.outlet];if(e){var r=e.url.map(function(t){return t.toString()}).join("/"),i=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[t.value.outlet]=t.value}),i.sort(function(t,e){return t.value.outlet===av?-1:e.value.outlet===av?1:t.value.outlet.localeCompare(e.value.outlet)}),i},t.prototype.processSegment=function(t,e,n,r){var i,o;try{for(var l=u(t),a=l.next();!a.done;a=l.next()){var s=a.value;try{return this.processSegmentAgainstRoute(s,e,n,r)}catch(t){if(!(t instanceof O_))throw t}}}catch(t){i={error:t}}finally{try{a&&!a.done&&(o=l.return)&&o.call(l)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(e,n,r))return[];throw new O_},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,r){if(t.redirectTo)throw new O_;if((t.outlet||av)!==r)throw new O_;var i,l=[],a=[];if("**"===t.path){var s=n.length>0?vv(n).parameters:{};i=new s_(n,s,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,M_(t),r,t.component,t,P_(e),D_(e)+n.length,N_(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new O_;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||cv)(n,t,e);if(!r)throw new O_;var i={};_v(r.posParams,function(t,e){i[e]=t.path});var l=r.consumed.length>0?o({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:l}}(e,t,n);l=u.consumedSegments,a=n.slice(u.lastChild),i=new s_(l,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,M_(t),r,t.component,t,P_(e),D_(e)+l.length,N_(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),d=A_(e,l,a,c,this.relativeLinkResolution),p=d.segmentGroup,h=d.slicedSegments;if(0===h.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new n_(i,f)]}if(0===c.length&&0===h.length)return[new n_(i,[])];var m=this.processSegment(c,p,h,av);return[new n_(i,m)]},t}();function P_(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function D_(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function A_(t,e,n,r,i){if(n.length>0&&function(t,e,n){return r.some(function(n){return R_(t,e,n)&&F_(n)!==av})}(t,n)){var l=new Sv(e,function(t,e,n,r){var i,o,l={};l[av]=r,r._sourceSegment=t,r._segmentIndexShift=e.length;try{for(var a=u(n),s=a.next();!s.done;s=a.next()){var c=s.value;if(""===c.path&&F_(c)!==av){var d=new Sv([],{});d._sourceSegment=t,d._segmentIndexShift=e.length,l[F_(c)]=d}}}catch(t){i={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return l}(t,e,r,new Sv(n,t.children)));return l._sourceSegment=t,l._segmentIndexShift=e.length,{segmentGroup:l,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return r.some(function(n){return R_(t,e,n)})}(t,n)){var a=new Sv(t.segments,function(t,e,n,r,i,l){var a,s,c={};try{for(var d=u(r),p=d.next();!p.done;p=d.next()){var h=p.value;if(R_(t,n,h)&&!i[F_(h)]){var f=new Sv([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===l?t.segments.length:e.length,c[F_(h)]=f}}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=d.return)&&s.call(d)}finally{if(a)throw a.error}}return o({},i,c)}(t,e,n,r,t.children,i));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:n}}var s=new Sv(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function R_(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function F_(t){return t.outlet||av}function M_(t){return t.data||{}}function N_(t){return t.resolve||{}}var L_=function(){},V_=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),j_=new vt("ROUTES"),z_=function(){function t(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Q(function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new dv(yv(i.injector.get(j_)).map(mv),i)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?nt(this.loader.load(t)):wv(t()).pipe(rt(function(t){return t instanceof Je?cu(t):nt(e.compiler.compileModuleAsync(t))}))},t}(),H_=function(){},B_=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function q_(t){throw t}function U_(t,e,n){return e.parse("/")}function W_(t,e){return cu(null)}var G_=function(){function t(t,e,n,r,i,o,l,a){var s=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=a,this.navigations=new Cy(null),this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new V,this.errorHandler=q_,this.malformedUriErrorHandler=U_,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:W_,afterPreactivation:W_},this.urlHandlingStrategy=new B_,this.routeReuseStrategy=new V_,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Qe),this.console=i.get(Ve);var u=i.get(ln);this.isNgZoneEnabled=u instanceof ln,this.resetConfig(a),this.currentUrlTree=new xv(new Sv([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new z_(o,l,function(t){return s.triggerEvent(new Jy(t))},function(t){return s.triggerEvent(new tv(t))}),this.routerState=o_(this.currentUrlTree,this.rootComponentType),this.processNavigations()}return t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),r="popstate"===e.type?"popstate":"hashchange",i=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,r,i,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){pv(t),this.config=t.map(mv),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,r=e.queryParams,i=e.fragment,l=e.preserveQueryParams,a=e.queryParamsHandling,s=e.preserveFragment;bn()&&l&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=s?this.currentUrlTree.fragment:i,p=null;if(a)switch(a){case"merge":p=o({},this.currentUrlTree.queryParams,r);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=r||null}else p=l?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,r,i){if(0===n.length)return m_(e.root,e.root,e,r,i);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new g_(!0,0,t);var e=0,n=!1,r=t.reduce(function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return _v(r.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),d(t,[{outlets:o}])}if(r.segmentPath)return d(t,[r.segmentPath])}return"string"!=typeof r?d(t,[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):d(t,[r])},[]);return new g_(n,e,r)}(n);if(o.toRoot())return m_(e.root,new Sv([],{}),e,r,i);var l=function(t,n,r){if(t.isAbsolute)return new y_(e.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new y_(r.snapshot._urlSegment,!0,0);var i=f_(t.commands[0])?0:1;return function(e,n,o){for(var l=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+i,s=t.numberOfDoubleDots;s>a;){if(s-=a,!(l=l.parent))throw new Error("Invalid number of '../'");a=l.segments.length}return new y_(l,!1,a-s)}()}(o,0,t),a=l.processChildren?b_(l.segmentGroup,l.index,o.commands):__(l.segmentGroup,l.index,o.commands);return m_(l.segmentGroup,a,e,r,i)}(u,this.currentUrlTree,t,p,c)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),bn()&&this.isNgZoneEnabled&&!ln.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof xv?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e0){var r=t.slice(0,n),i=r.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(r,i),e.headers.has(i)?e.headers.get(i).push(o):e.headers.set(i,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var r=t[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(e.headers.set(i,r),e.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var r=("a"===t.op?this.headers.get(e):void 0)||[];r.push.apply(r,d(n)),this.headers.set(e,r);break;case"d":var i=t.value;if(i){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===i.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),kb=function(){function t(){}return t.prototype.encodeKey=function(t){return Eb(t)},t.prototype.encodeValue=function(t){return Eb(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function Eb(t){return encodeURIComponent(t).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 Ib=function(){function t(t){void 0===t&&(t={});var e,n,r,i=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new kb,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,r=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),i=c(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=i[0],l=i[1],a=r.get(o)||[];a.push(l),r.set(o,a)}),r)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];i.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var r=t.map.get(e.param)||[],i=r.indexOf(e.value);-1!==i&&r.splice(i,1),r.length>0?t.map.set(e.param,r):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function Ob(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Tb(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Pb(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Db=function(){function t(t,e,n,r){var i;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==n?n:null,i=r):i=n,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 Sb),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var l=e.indexOf("?");this.urlWithParams=e+(-1===l?"?":l=200&&this.status<300}}(),Fb=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Ab.ResponseHeader,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Rb),Mb=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=Ab.Response,n.body=void 0!==e.body?e.body:null,n}return i(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(Rb),Nb=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return i(e,t),e}(Rb);function Lb(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Vb=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var r,i=this;if(void 0===n&&(n={}),t instanceof Db)r=t;else{var o;o=n.headers instanceof Sb?n.headers:new Sb(n.headers);var l=void 0;n.params&&(l=n.params instanceof Ib?n.params:new Ib({fromObject:n.params})),r=new Db(t,e,void 0!==n.body?n.body:null,{headers:o,params:l,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=cu(r).pipe(jy(function(t){return i.handler.handle(t)}));if(t instanceof Db||"events"===n.observe)return a;var s=a.pipe(du(function(t){return t instanceof Mb}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return s.pipe(Q(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return s.pipe(Q(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return s.pipe(Q(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return s.pipe(Q(function(t){return t.body}))}case"response":return s;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new Ib).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,Lb(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,Lb(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,Lb(n,e))},t}(),jb=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),zb=new vt("HTTP_INTERCEPTORS"),Hb=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),Bb=/^\)\]\}',?\n/,qb=function(){},Ub=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),Wb=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new R(function(n){var r=e.xhrFactory.build();if(r.open(t.method,t.urlWithParams),t.withCredentials&&(r.withCredentials=!0),t.headers.forEach(function(t,e){return r.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var i=t.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(t.responseType){var o=t.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var l=t.serializeBody(),a=null,s=function(){if(null!==a)return a;var e=1223===r.status?204:r.status,n=r.statusText||"OK",i=new Sb(r.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(r)||t.url;return a=new Fb({headers:i,status:e,statusText:n,url:o})},u=function(){var e=s(),i=e.headers,o=e.status,l=e.statusText,a=e.url,u=null;204!==o&&(u=void 0===r.response?r.responseText:r.response),0===o&&(o=u?200:0);var c=o>=200&&o<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(Bb,"");try{u=""!==u?JSON.parse(u):null}catch(t){u=d,c&&(c=!1,u={error:t,text:u})}}c?(n.next(new Mb({body:u,headers:i,status:o,statusText:l,url:a||void 0})),n.complete()):n.error(new Nb({error:u,headers:i,status:o,statusText:l,url:a||void 0}))},c=function(t){var e=new Nb({error:t,status:r.status||0,statusText:r.statusText||"Unknown Error"});n.error(e)},d=!1,p=function(e){d||(n.next(s()),d=!0);var i={type:Ab.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(i.total=e.total),"text"===t.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},h=function(t){var e={type:Ab.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return r.addEventListener("load",u),r.addEventListener("error",c),t.reportProgress&&(r.addEventListener("progress",p),null!==l&&r.upload&&r.upload.addEventListener("progress",h)),r.send(l),n.next({type:Ab.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),t.reportProgress&&(r.removeEventListener("progress",p),null!==l&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},t}(),Gb=new vt("XSRF_COOKIE_NAME"),Kb=new vt("XSRF_HEADER_NAME"),Zb=function(){},Yb=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=cc(t,this.cookieName),this.lastCookieString=t),this.lastToken},l([a(0,Ft(Pc)),a(1,Ft(Ne)),a(2,Ft(Gb))],t)}(),$b=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var r=this.tokenService.getToken();return null===r||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,r)})),e.handle(t)},l([a(1,Ft(Kb))],t)}(),Xb=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(zb,[]);this.chain=e.reduceRight(function(t,e){return new jb(t,e)},this.backend)}return this.chain.handle(t)},t}(),Qb=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:$b,useClass:Hb}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:Gb,useValue:t.cookieName}:[],t.headerName?{provide:Kb,useValue:t.headerName}:[]]}},t}(),Jb=function(){},tw=function(t){function e(){var n=t.call(this,"Timeout has occurred")||this;return Object.setPrototypeOf(n,e.prototype),n}return i(e,t),e}(Error),ew=function(t){return t[t.InternalServerError=500]="InternalServerError",t[t.BadRequest=400]="BadRequest",t[t.Unathorized=401]="Unathorized",t[t.NotFound=404]="NotFound",t[t.Generic=1]="Generic",t[t.Timeout=2]="Timeout",t[t.ConnectionRefused=0]="ConnectionRefused",t}({}),nw={code:ew.Timeout,message:"Errore di connessione."},rw={code:ew.Unathorized,message:"Sessione scaduta."},iw={code:ew.NotFound,message:"Dati non trovati."},ow={code:ew.ConnectionRefused,message:"Servizio non disponibile al momento."},lw={code:ew.InternalServerError,message:"Si \xe8 verificato un errore imprevisto."},aw=function(){function t(t){this.http=t}return t.prototype.get=function(t,e,n,r,i,o){var l=this;void 0===o&&(o="application/json"),this.token=localStorage.getItem("token");var a=new Sb({"Content-Type":o,Authorization:"Bearer "+(this.token?this.token:"")});return this.http.get(t,{headers:a,params:e,withCredentials:!1}).subscribe(function(t){n&&n(t)},function(t){var e=l.handleError(t);i&&e.code===rw.code?(localStorage.clear(),i(e.message)):r&&r(e.message)})},t.prototype.post=function(t,e,n,r,i,o,l){var a=this;void 0===l&&(l="application/json"),this.token=localStorage.getItem("token");var s=new Sb({"Content-Type":l,Authorization:"Bearer "+(this.token?this.token:"")}),u=JSON.stringify(n);return this.http.post(t,u,{headers:s,params:e,withCredentials:!1}).subscribe(function(t){r&&r(t)},function(t){console.log(t);var e=a.handleError(t);o&&e.code===rw.code?(localStorage.clear(),o(e.message)):i&&i(e.message)})},t.prototype.postForBuffer=function(t,e,n,r,i,o,l){var a=this;void 0===l&&(l="application/json"),this.token=localStorage.getItem("token");var s=new Sb({Authorization:"Bearer "+(this.token?this.token:"")}),u={};if(e)for(var c=0,d=e;c0&&(d.append(e,t.files.item(0)),this.http.post(n,d,{headers:o,params:l}).subscribe(function(t){i&&i(t)},function(t){return alert(t)}))},t.prototype.download=function(t,e,n,r,i,o){var l=this;void 0===o&&(o="application/json"),this.token=localStorage.getItem("token");var a=new Sb({"Content-Type":o,Authorization:"Bearer "+(this.token?this.token:"")}),s={};if(e)for(var u=0,c=e;ut?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return Ow(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return Ow(t.value)?null:Dw.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(Ow(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(Ow(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Rw);return 0==e.length?null:function(t){return Mw(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Rw);return 0==e.length?null:function(t){return Sw(function(t,n){return e.map(function(e){return e(t)})}(t).map(Fw)).pipe(Q(Mw))}},t}();function Rw(t){return null!=t}function Fw(t){var e=Oe(t)?nt(t):t;if(!Te(e))throw new Error("Expected validator to return Promise or Observable.");return e}function Mw(t){var e=t.reduce(function(t,e){return null!=e?o({},t,e):t},{});return 0===Object.keys(e).length?null:e}var Nw=new vt("NgValueAccessor"),Lw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Vw=new vt("CompositionEventMode"),jw=function(){function t(t,e,n){var r;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Xd()?Xd().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},l([a(2,Mt()),a(2,Ft(Vw))],t)}();function zw(t){return t.validate?function(e){return t.validate(e)}:t}function Hw(t){return t.validate?function(e){return t.validate(e)}:t}var Bw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function qw(){throw new Error("unimplemented")}var Uw=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return i(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return qw()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return qw()},enumerable:!0,configurable:!0}),e}(Ew),Ww=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),Gw=function(){function t(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(Uw),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.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: \n ')},t}(),Kw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Zw='\n

\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Yw='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',$w='\n
\n
\n \n
\n
',Xw=function(){function t(){}return t.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 "+Zw)},t.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 '+Yw+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+$w)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Zw)},t.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 "+Yw)},t.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
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},t.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 ")},t.ngModelWarning=function(t){console.warn("\n It looks like you're using ngModel on the same form field as "+t+". \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"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},t}();function Qw(t,e){return d(e.path,[t])}function Jw(t,e){t||rC(e,"Cannot find control with"),e.valueAccessor||rC(e,"No value accessor for form control with"),t.validator=Aw.compose([t.validator,e.validator]),t.asyncValidator=Aw.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&tC(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&tC(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function tC(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function eC(t,e){null==t&&rC(e,"Cannot find control with"),t.validator=Aw.compose([t.validator,e.validator]),t.asyncValidator=Aw.composeAsync([t.asyncValidator,e.asyncValidator])}function nC(t){return rC(t,"There is no FormControl instance attached to form control element with")}function rC(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function iC(t){return null!=t?Aw.compose(t.map(zw)):null}function oC(t){return null!=t?Aw.composeAsync(t.map(Hw)):null}function lC(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Pt(e,n.currentValue)}var aC=[Lw,Kw,Bw,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Pt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var r=u(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),t))return o}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Pt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var r=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(r.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o-1&&t.splice(n,1)}var dC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return Qw(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return iC(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return oC(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Iw),pC=function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}(),hC=function(t){function e(e){return t.call(this,e)||this}return i(e,t),l([a(0,Nt())],e)}(pC),fC=function(t){function e(e){return t.call(this,e)||this}return i(e,t),l([a(0,Nt())],e)}(pC);function mC(t){var e=yC(t)?t.validators:t;return Array.isArray(e)?iC(e):e||null}function gC(t,e){var n=yC(e)?e.asyncValidators:t;return Array.isArray(n)?oC(n):n||null}function yC(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var vC=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=mC(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=gC(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(o({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(o({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=Fw(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof bC?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof wC&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new on,this.statusChanges=new on},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){yC(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),_C=function(t){function e(e,n,r){void 0===e&&(e=null);var i=t.call(this,mC(n),gC(r,n))||this;return i._onChange=[],i._applyFormState(e),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.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))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(vC),bC=function(t){function e(e,n,r){var i=t.call(this,mC(n),gC(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof _C?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(r,i){n=n||e.contains(i)&&t(r)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,r){n=e(n,t,r)}),n},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=u(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(vC),wC=function(t){function e(e,n,r){var i=t.call(this,mC(n),gC(r,n))||this;return i.controls=e,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,r){n._throwIfControlMissing(r),n.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,r){n.at(r)&&n.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof _C?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){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(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=u(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(vC),CC=Promise.resolve(null),xC=function(t){function e(e,n){var r=t.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new on,r.form=new bC({},iC(e),oC(n)),r}return i(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;CC.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Jw(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;CC.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),cC(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;CC.then(function(){var n=e._findContainer(t.path),r=new bC({});eC(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;CC.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;CC.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,sC(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},l([a(0,Mt()),a(0,Nt()),a(0,Ft(Tw)),a(1,Mt()),a(1,Nt()),a(1,Ft(Pw))],e)}(Iw),SC=function(){function t(){}return t.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 '+Zw+'\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
\n \n \n
\n ')},t.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 "+Yw+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+$w)},t.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: \n Example 2: ')},t.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 "+Yw+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+$w)},t}(),kC=function(t){function e(e,n,r){var i=t.call(this)||this;return i._parent=e,i._validators=n,i._asyncValidators=r,i}var n;return i(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof xC||SC.modelGroupParentException()},n=l([a(0,Vt()),a(0,Lt()),a(1,Mt()),a(1,Nt()),a(1,Ft(Tw)),a(2,Mt()),a(2,Nt()),a(2,Ft(Pw))],e)}(dC),EC=Promise.resolve(null),IC=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o.control=new _C,o._registered=!1,o.update=new on,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=uC(o,i),o}return i(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),lC(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?Qw(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return iC(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return oC(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){Jw(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof kC)&&this._parent instanceof dC?SC.formGroupNameException():this._parent instanceof kC||this._parent instanceof xC||SC.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||SC.missingNameException()},e.prototype._updateValue=function(t){var e=this;EC.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;EC.then(function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()})},l([a(0,Mt()),a(0,Vt()),a(1,Mt()),a(1,Nt()),a(1,Ft(Tw)),a(2,Mt()),a(2,Nt()),a(2,Ft(Pw)),a(3,Mt()),a(3,Nt()),a(3,Ft(Nw))],e)}(Uw),OC=new vt("NgModelWithFormControlWarning"),TC=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._ngModelWarningConfig=i,o.update=new on,o._ngModelWarningSent=!1,o._rawValidators=e||[],o._rawAsyncValidators=n||[],o.valueAccessor=uC(o,r),o}var n;return i(e,t),n=e,Object.defineProperty(e.prototype,"isDisabled",{set:function(t){Xw.disabledAttrWarning()},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){var e,r,i,o;this._isControlChanged(t)&&(Jw(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),lC(t,this.viewModel)&&(e="formControl",r=n,i=this,o=this._ngModelWarningConfig,bn()&&"never"!==o&&((null!==o&&"once"!==o||r._ngModelWarningSentOnce)&&("always"!==o||i._ngModelWarningSent)||(Xw.ngModelWarning(e),r._ngModelWarningSentOnce=!0,i._ngModelWarningSent=!0)),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return iC(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return oC(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._isControlChanged=function(t){return t.hasOwnProperty("form")},e._ngModelWarningSentOnce=!1,n=l([a(0,Mt()),a(0,Nt()),a(0,Ft(Tw)),a(1,Mt()),a(1,Nt()),a(1,Ft(Pw)),a(2,Mt()),a(2,Nt()),a(2,Ft(Nw)),a(3,Mt()),a(3,Ft(OC))],e)}(Uw),PC=function(t){function e(e,n){var r=t.call(this)||this;return r._validators=e,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new on,r}return i(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return Jw(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){cC(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);eC(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);eC(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,sC(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return nC(e)}),e.valueAccessor.registerOnTouched(function(){return nC(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&Jw(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=iC(this._validators);this.form.validator=Aw.compose([this.form.validator,t]);var e=oC(this._asyncValidators);this.form.asyncValidator=Aw.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||Xw.missingFormException()},l([a(0,Mt()),a(0,Nt()),a(0,Ft(Tw)),a(1,Mt()),a(1,Nt()),a(1,Ft(Pw))],e)}(Iw),DC=function(){function t(){}return Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),t.prototype.validate=function(t){return this.required?Aw.required(t):null},t.prototype.registerOnValidatorChange=function(t){this._onChange=t},t}(),AC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.validate=function(t){return this.required?Aw.requiredTrue(t):null},e}(DC),RC=function(){function t(){}return t.prototype.group=function(t,e){void 0===e&&(e=null);var n=this._reduceControls(t);return new bC(n,null!=e?e.validator:null,null!=e?e.asyncValidator:null)},t.prototype.control=function(t,e,n){return new _C(t,e,n)},t.prototype.array=function(t,e,n){var r=this,i=t.map(function(t){return r._createControl(t)});return new wC(i,e,n)},t.prototype._reduceControls=function(t){var e=this,n={};return Object.keys(t).forEach(function(r){n[r]=e._createControl(t[r])}),n},t.prototype._createControl=function(t){return t instanceof _C||t instanceof bC||t instanceof wC?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)},t}(),FC=function(){},MC=function(){},NC=function(){},LC=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:OC,useValue:t.warnOnNgModelWithFormControl}]}},t}(),VC=function(){};function jC(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var zC=function(){},HC=function(){},BC=0,qC=Rh(function(t){this._elementRef=t},"primary"),UC=new vt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),WC=function(t){function e(e,n,r,i,o,l,a,s){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=l,u._ngZone=a,u._outlineGapCalculationNeeded=!1,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+BC++,u._labelId="mat-form-field-label-"+BC++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==s,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return i(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this,n=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&n!==t&&(this._ngZone?this._ngZone.onStable.pipe(mu(1)).subscribe(function(){e._ngZone.runOutsideAngular(function(){return e.updateOutlineGap()})}):Promise.resolve().then(function(){return e.updateOutlineGap()}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild(),this._control.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+this._control.controlType),this._control.stateChanges.pipe(_u(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),st(this._control.ngControl&&this._control.ngControl.valueChanges||lu,this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){return t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(_u(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(_u(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeeded&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,$c(this._label.nativeElement,"transitionend").pipe(mu(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach(function(r){if("start"===r.align){if(t||n.hintLabel)throw jC("start");t=r}else if("end"===r.align){if(e)throw jC("end");e=r}})},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,r=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-start"),i=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){for(var o=this._getStartEnd(this._connectionContainerRef.nativeElement.getBoundingClientRect()),l=this._getStartEnd(t.children[0].getBoundingClientRect()),a=0,s=0,u=t.children;s0?.75*a+10:0}for(var c=0;c 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 ZC(t){return Xo(0,[(t()(),Ri(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Ri(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Ri(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ri(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ri(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Ri(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Ri(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Ri(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Ri(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function YC(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),Uo(null,0)],null,null)}function $C(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,null,null,null,null,null,null,null)),Uo(null,2),(t()(),Zo(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function XC(t){return Xo(0,[Uo(null,3),(t()(),Ai(0,null,null,0))],null,null)}function QC(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),Zo(-1,null,["\xa0*"]))],null,null)}function JC(t){return Xo(0,[(t()(),Ri(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(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component.updateOutlineGap()&&r),r},null,null)),Co(1,16384,null,0,_c,[],{ngSwitch:[0,"ngSwitch"]},null),Co(2,1196032,null,0,gy,[my,Dn,ln],null,{event:"cdkObserveContent"}),(t()(),Ai(16777216,null,null,1,null,$C)),Co(4,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ai(16777216,null,null,1,null,XC)),Co(6,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ai(16777216,null,null,1,null,QC)),Co(8,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function tx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),Uo(null,4)],null,null)}function ex(t){return Xo(0,[(t()(),Ri(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Ri(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(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function nx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),Uo(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function rx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),Zo(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function ix(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,rx)),Co(2,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),Uo(null,6),(t()(),Ri(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),Uo(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function ox(t){return Xo(2,[jo(671088640,1,{underlineRef:0}),jo(402653184,2,{_connectionContainerRef:0}),jo(402653184,3,{_inputContainerRef:0}),jo(671088640,4,{_label:0}),(t()(),Ri(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Ri(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(t()(),Ai(16777216,null,null,1,null,ZC)),Co(7,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,YC)),Co(9,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),Uo(null,1),(t()(),Ri(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,JC)),Co(14,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,tx)),Co(16,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,ex)),Co(18,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),Co(20,16384,null,0,_c,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ai(16777216,null,null,1,null,nx)),Co(22,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ai(16777216,null,null,1,null,ix)),Co(24,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var lx=!!Gc()&&{passive:!0},ax=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return lu;var n=t instanceof Dn?t.nativeElement:t,r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new V,o="cdk-text-field-autofilled",l=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!1})})):(n.classList.add(o),e._ngZone.run(function(){return i.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",l,lx),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",l,lx)}}),i.asObservable()},t.prototype.stopMonitoring=function(t){var e=t instanceof Dn?t.nativeElement:t,n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ngInjectableDef=yt({factory:function(){return new t(le(Wc),le(ln))},token:t,providedIn:"root"}),t}(),sx=function(){},ux=["button","checkbox","file","hidden","image","radio","range","reset","submit"],cx=0,dx=function(t){function e(e,n,r,i,o,l,a,s,u){var c=t.call(this,l,i,o,r)||this;return c._elementRef=e,c._platform=n,c.ngControl=r,c._autofillMonitor=s,c._uid="mat-input-"+cx++,c._isServer=!1,c.focused=!1,c.stateChanges=new V,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(t){return Zc().has(t)}),c._inputValueAccessor=a||c._elementRef.nativeElement,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c}return i(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Vc(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Zc().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=Vc(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(ux.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus()},e}(Nh(function(t,e,n,r){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=r})),px=function(){},hx=function(){function t(t){this.snackBar=t}return t.prototype.show=function(t,e){var n=null!=t?t.substring(0,2).toUpperCase():"",r="";switch(null!=t&&-1!=t.indexOf("|")&&(t=t.substring(t.indexOf("|")+1)),n){case"ER":r="error-snackbar",null==e&&(e=3e3);break;case"AT":r="warning-snackbar",null==e&&(e=3e3);break;case"IN":r="info-snackbar",null==e&&(e=1e3);break;default:r="success-snackbar",null==e&&(e=1e3)}return this.snackBar.open(t,"",{duration:e,panelClass:[r]})},t}(),fx=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.router=e,r.snackbarService=n,r.detail={},r}return i(e,t),e.prototype.ngOnInit=function(){},e}(function(){function t(t,e){this.router=t,this.snackbarService=e,this.loading=!1}return t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){this.loading=!1},t.prototype.onError=function(t){this.loading=!1,this.snackbarService.show(t)},t.prototype.onSessionOut=function(){this.loading=!1,this.snackbarService.show("Sessione scaduta")},t}()),mx=function(t){function e(e,n,r){var i=t.call(this,n,r)||this;return i.http=e,i.router=n,i.snackbarService=r,i.loadingApp=!0,i.urlLogin=js.baseUrl+dw.usersUrl+"/"+dw.loginUrl,i.pathHome="/container/home",i}return i(e,t),e.prototype.ngOnInit=function(){},e.prototype.onSuccessGetCurrentUser=function(t){this.loadingApp=!1,this.router.navigate([this.pathHome])},e.prototype.onNotLogged=function(){this.loadingApp=!1},e.prototype.onSuccess=function(t){this.snackbarService.show("Benvenuto!"),localStorage.setItem("token",t.token),localStorage.setItem("displayName",t.displayName),this.router.navigate([this.pathHome])},e.prototype.onButtonClicked=function(){this.detail.username&&this.detail.password?(this.loading=!0,this.http.post(this.urlLogin,null,this.detail,this.onSuccess.bind(this),this.onError.bind(this),this.onSessionOut.bind(this))):this.snackbarService.show("Compila tutti i campi")},e.prototype.onSuccessEvents=function(t){this.events=t},e}(fx),gx=oi({encapsulation:0,styles:[[".login-box-logo[_ngcontent-%COMP%]{background:url(https://storage.googleapis.com/docbox-205714.appspot.com/angular-web-app/kappa_color.png) center/contain no-repeat;height:5rem;width:10rem;margin:0 1.25rem 1.25rem}.login-form[_ngcontent-%COMP%]{display:flex;justify-content:center}.label_psw[_ngcontent-%COMP%]{font-size:10px;color:gray;cursor:pointer}.backgroundLogin[_ngcontent-%COMP%]{overflow:hidden;background-size:cover;background-position:center;background-repeat:no-repeat;height:100vh}.actions-login-div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.div_signature[_ngcontent-%COMP%]{padding-top:8px;font-size:.7rem;position:fixed;bottom:.5rem;right:1rem;display:flex;align-items:center;justify-content:center}.login_label[_ngcontent-%COMP%]{color:#b3b3b3;float:right;font-weight:300;cursor:pointer;text-align:right;margin-right:5px}.spinner[_ngcontent-%COMP%]{height:1.875rem;width:1.875rem;margin:0 auto}.tabLogin[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{height:auto!important}body[_ngcontent-%COMP%]{height:100vh;background:#ededed}h1[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:'Open Sans';font-weight:300;text-align:center;position:absolute;top:45%;right:0;left:0}@media only screen and (min-width :360px) and (max-width :640px){.login-container[_ngcontent-%COMP%]{padding:.9375rem;max-width:100vw;max-height:100vw}.login-box[_ngcontent-%COMP%]{padding:1.25rem}}.app-header[_ngcontent-%COMP%]{background:#bac211;height:40%;width:100%;display:flex;justify-content:center;align-items:flex-end}.app-table[_ngcontent-%COMP%]{width:80%;max-width:20rem;padding-top:2rem}@media (max-width:599px){.hide-mobile[_ngcontent-%COMP%]{display:none}}"]],data:{}});function yx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"],["style","position:absolute; top:0; left:0; right:0"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,xw,Cw)),Co(1,49152,null,0,_w,[Dn,[2,Zg],[2,yw]],{mode:[0,"mode"]},null)],function(t,e){t(e,1,0,"indeterminate")},function(t,e){t(e,0,0,so(e,1).value,so(e,1).mode,"NoopAnimations"===so(e,1)._animationMode)})}function vx(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.onButtonClicked()&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["LOGIN"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function _x(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"div",[["class","coffee-mug"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,1,"div",[["class","coffee-container"]],null,null,null,null,null)),(t()(),Ri(2,0,null,null,0,"div",[["class","coffee-l"]],null,null,null,null,null))],null,null)}function bx(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"head",[],null,null,null,null,null)),(t()(),Ri(1,0,null,null,1,"title",[],null,null,null,null,null)),(t()(),Zo(-1,null,["Caffitaly"])),(t()(),Ri(3,0,null,null,59,"body",[],null,null,null,null,null)),(t()(),Ri(4,0,null,null,1,"div",[["class","app-header"]],null,null,null,null,null)),(t()(),Ri(5,0,null,null,0,"div",[["class","login-box-logo"]],null,null,null,null,null)),(t()(),Ri(6,0,null,null,51,"div",[["style","position:relative"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,yx)),Co(8,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(9,0,null,null,48,"form",[["class","login-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(t,e,n){var r=!0;return"submit"===e&&(r=!1!==so(t,11).onSubmit(n)&&r),"reset"===e&&(r=!1!==so(t,11).onReset()&&r),r},null,null)),Co(10,16384,null,0,FC,[],null,null),Co(11,4210688,null,0,xC,[[8,null],[8,null]],null,null),So(2048,null,Iw,null,[xC]),Co(13,16384,null,0,fC,[[4,Iw]],null,null),(t()(),Ri(14,0,null,null,43,"table",[["class","app-table"]],null,null,null,null,null)),(t()(),Ri(15,0,null,null,42,"tbody",[],null,null,null,null,null)),(t()(),Ri(16,0,null,null,35,"tr",[],null,null,null,null,null)),(t()(),Ri(17,0,null,null,34,"td",[],null,null,null,null,null)),(t()(),Ri(18,0,null,null,16,"mat-form-field",[["class","mat-form-field"],["style","width: 100% !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-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(19,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(27,0,null,1,7,"input",[["autofocus",""],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","username"],["placeholder","Email"],["style","text-transform:initial !important"]],[[2,"ng-untouched",null],[2,"ng-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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,28)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,28).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,28)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,28)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,33)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,33)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,33)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.username=n)&&r),r},null,null)),Co(28,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(30,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(32,16384,null,0,hC,[[4,Uw]],null,null),Co(33,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ri(35,0,null,null,16,"mat-form-field",[["class","mat-form-field"],["style","width: 100% !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-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(36,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,8,{_control:0}),jo(335544320,9,{_placeholderChild:0}),jo(335544320,10,{_labelChild:0}),jo(603979776,11,{_errorChildren:1}),jo(603979776,12,{_hintChildren:1}),jo(603979776,13,{_prefixChildren:1}),jo(603979776,14,{_suffixChildren:1}),(t()(),Ri(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","password"],["placeholder","Password"],["style","text-transform:initial !important"],["type","password"]],[[2,"ng-untouched",null],[2,"ng-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],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,45)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,45).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,45)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,45)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,50)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,50)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,50)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.password=n)&&r),"keyup.enter"===e&&(r=!1!==i.onButtonClicked()&&r),r},null,null)),Co(45,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(47,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(49,16384,null,0,hC,[[4,Uw]],null,null),Co(50,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),So(2048,[[8,4]],VC,null,[dx]),(t()(),Ri(52,0,null,null,5,"tr",[],null,null,null,null,null)),(t()(),Ri(53,0,null,null,4,"td",[["class","actions-login-div"],["style","padding-top:25px;"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,vx)),Co(55,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,_x)),Co(57,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(58,0,null,null,4,"div",[["class","div_signature"]],null,null,null,null,null)),(t()(),Ri(59,0,null,null,1,"a",[["href","http://www.kreosoft.com"],["style","float:left;margin-right:4px"],["target","_blank"]],null,null,null,null,null)),(t()(),Ri(60,0,null,null,0,"img",[["height","28"],["src","../../assets/images/kappa_color.png"],["width","28"]],null,null,null,null,null)),(t()(),Ri(61,0,null,null,1,"span",[["class","kreosoft_label login_label hide-mobile"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Powered by Kreosoft S.r.l. @ 2018 "]))],function(t,e){var n=e.component;t(e,8,0,n.loading),t(e,30,0,"username",n.loading,n.detail.username),t(e,33,0,n.loading,"Email"),t(e,47,0,"password",n.loading,n.detail.password),t(e,50,0,n.loading,"Password","password"),t(e,55,0,!n.loading),t(e,57,0,n.loading)},function(t,e){t(e,9,0,so(e,13).ngClassUntouched,so(e,13).ngClassTouched,so(e,13).ngClassPristine,so(e,13).ngClassDirty,so(e,13).ngClassValid,so(e,13).ngClassInvalid,so(e,13).ngClassPending),t(e,18,1,["standard"==so(e,19).appearance,"fill"==so(e,19).appearance,"outline"==so(e,19).appearance,"legacy"==so(e,19).appearance,so(e,19)._control.errorState,so(e,19)._canLabelFloat,so(e,19)._shouldLabelFloat(),so(e,19)._hideControlPlaceholder(),so(e,19)._control.disabled,so(e,19)._control.autofilled,so(e,19)._control.focused,"accent"==so(e,19).color,"warn"==so(e,19).color,so(e,19)._shouldForward("untouched"),so(e,19)._shouldForward("touched"),so(e,19)._shouldForward("pristine"),so(e,19)._shouldForward("dirty"),so(e,19)._shouldForward("valid"),so(e,19)._shouldForward("invalid"),so(e,19)._shouldForward("pending"),!so(e,19)._animationsEnabled]),t(e,27,1,[so(e,32).ngClassUntouched,so(e,32).ngClassTouched,so(e,32).ngClassPristine,so(e,32).ngClassDirty,so(e,32).ngClassValid,so(e,32).ngClassInvalid,so(e,32).ngClassPending,so(e,33)._isServer,so(e,33).id,so(e,33).placeholder,so(e,33).disabled,so(e,33).required,so(e,33).readonly,so(e,33)._ariaDescribedby||null,so(e,33).errorState,so(e,33).required.toString()]),t(e,35,1,["standard"==so(e,36).appearance,"fill"==so(e,36).appearance,"outline"==so(e,36).appearance,"legacy"==so(e,36).appearance,so(e,36)._control.errorState,so(e,36)._canLabelFloat,so(e,36)._shouldLabelFloat(),so(e,36)._hideControlPlaceholder(),so(e,36)._control.disabled,so(e,36)._control.autofilled,so(e,36)._control.focused,"accent"==so(e,36).color,"warn"==so(e,36).color,so(e,36)._shouldForward("untouched"),so(e,36)._shouldForward("touched"),so(e,36)._shouldForward("pristine"),so(e,36)._shouldForward("dirty"),so(e,36)._shouldForward("valid"),so(e,36)._shouldForward("invalid"),so(e,36)._shouldForward("pending"),!so(e,36)._animationsEnabled]),t(e,44,1,[so(e,49).ngClassUntouched,so(e,49).ngClassTouched,so(e,49).ngClassPristine,so(e,49).ngClassDirty,so(e,49).ngClassValid,so(e,49).ngClassInvalid,so(e,49).ngClassPending,so(e,50)._isServer,so(e,50).id,so(e,50).placeholder,so(e,50).disabled,so(e,50).required,so(e,50).readonly,so(e,50)._ariaDescribedby||null,so(e,50).errorState,so(e,50).required.toString()])})}var wx=Xi("app-login",mx,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-login",[],null,null,null,bx,gx)),Co(1,4308992,null,0,mx,[aw,G_,hx],null,null)],function(t,e){t(e,1,0)},null)},{urlLogin:"urlLogin",pathHome:"pathHome"},{},[]),Cx=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i._platform=n,i._document=r,i}return i(e,t),e.prototype.ngAfterViewInit=function(){var t=this;bn()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&[].slice.call(this._elementRef.nativeElement.childNodes).filter(function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)}).some(function(t){return t.textContent.trim()})&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `` elements explicitly or just place content inside of a `` for a single row.")}()},e}(Rh(function(t){this._elementRef=t})),xx=function(){},Sx=oi({encapsulation:2,styles:["@media screen and (-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 kx(t){return Xo(2,[Uo(null,0),Uo(null,1)],null,null)}function Ex(t){throw Error("A drawer was already declared for 'position=\""+t+"\"'")}var Ix=new vt("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),Ox=function(){function t(t,e){this._changeDetectorRef=t,this._container=e}return t.prototype.ngAfterContentInit=function(){var t=this;this._container._contentMarginChanges.subscribe(function(){t._changeDetectorRef.markForCheck()})},t}(),Tx=function(){function t(t,e,n,r,i,o){var l=this;this._elementRef=t,this._focusTrapFactory=e,this._focusMonitor=n,this._platform=r,this._ngZone=i,this._doc=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new on,this._animationState="void",this.openedChange=new on(!0),this.onPositionChanged=new on,this._modeChanged=new V,this._opened=!1,this.openedChange.subscribe(function(t){t?(l._doc&&(l._elementFocusedBeforeDrawerWasOpened=l._doc.activeElement),l._isFocusTrapEnabled&&l._focusTrap&&l._trapFocus()):l._restoreFocus()}),this._ngZone.runOutsideAngular(function(){$c(l._elementRef.nativeElement,"keydown").pipe(du(function(t){return t.keyCode===ou&&!l.disableClose})).subscribe(function(t){return l._ngZone.run(function(){l.close(),t.stopPropagation()})})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){(t="end"===t?"end":"start")!=this._position&&(this._position=t,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this._mode},set:function(t){this._mode=t,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableClose",{get:function(){return this._disableClose},set:function(t){this._disableClose=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(t){this._autoFocus=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(du(function(t){return t}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(du(function(t){return t.fromState!==t.toState&&0===t.toState.indexOf("open")}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(du(function(t){return!t}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(du(function(t){return t.fromState!==t.toState&&"void"===t.toState}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),t.prototype._trapFocus=function(){var t=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(e){e||"function"!=typeof t._elementRef.nativeElement.focus||t._elementRef.nativeElement.focus()})},t.prototype._restoreFocus=function(){if(this.autoFocus){var t=this._doc&&this._doc.activeElement;t&&this._elementRef.nativeElement.contains(t)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},t.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},t.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},t.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy()},Object.defineProperty(t.prototype,"opened",{get:function(){return this._opened},set:function(t){this.toggle(Vc(t))},enumerable:!0,configurable:!0}),t.prototype.open=function(t){return this.toggle(!0,t)},t.prototype.close=function(){return this.toggle(!1)},t.prototype.toggle=function(t,e){var n=this;return void 0===t&&(t=!this.opened),void 0===e&&(e="program"),this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=e):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(t){n.openedChange.pipe(mu(1)).subscribe(function(e){return t(e?"open":"close")})})},t.prototype._onAnimationStart=function(t){this._animationStarted.emit(t)},t.prototype._onAnimationEnd=function(t){var e=t.fromState,n=t.toState;(0===n.indexOf("open")&&"void"===e||"void"===n&&0===e.indexOf("open"))&&this.openedChange.emit(this._opened)},Object.defineProperty(t.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),t}(),Px=function(){function t(t,e,n,r,i,o){void 0===i&&(i=!1);var l=this;this._dir=t,this._element=e,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=o,this.backdropClick=new on,this._destroyed=new V,this._doCheckSubject=new V,this._contentMargins={left:null,right:null},this._contentMarginChanges=new V,t&&t.change.pipe(ud(this._destroyed)).subscribe(function(){l._validateDrawers(),l._updateContentMargins()}),this._autosize=i}return Object.defineProperty(t.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autosize",{get:function(){return this._autosize},set:function(t){this._autosize=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(t){this._backdropOverride=null==t?null:Vc(t)},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var t=this;this._drawers.changes.pipe(_u(null)).subscribe(function(){t._validateDrawers(),t._drawers.forEach(function(e){t._watchDrawerToggle(e),t._watchDrawerPosition(e),t._watchDrawerMode(e)}),(!t._drawers.length||t._isDrawerOpen(t._start)||t._isDrawerOpen(t._end))&&t._updateContentMargins(),t._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(sh(10),ud(this._destroyed)).subscribe(function(){return t._updateContentMargins()})},t.prototype.ngOnDestroy=function(){this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},t.prototype.open=function(){this._drawers.forEach(function(t){return t.open()})},t.prototype.close=function(){this._drawers.forEach(function(t){return t.close()})},t.prototype.ngDoCheck=function(){var t=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return t._doCheckSubject.next()})},t.prototype._watchDrawerToggle=function(t){var e=this;t._animationStarted.pipe(ud(this._drawers.changes),du(function(t){return t.fromState!==t.toState})).subscribe(function(t){"open-instant"!==t.toState&&"NoopAnimations"!==e._animationMode&&e._element.nativeElement.classList.add("mat-drawer-transition"),e._updateContentMargins(),e._changeDetectorRef.markForCheck()}),"side"!==t.mode&&t.openedChange.pipe(ud(this._drawers.changes)).subscribe(function(){return e._setContainerClass(t.opened)})},t.prototype._watchDrawerPosition=function(t){var e=this;t&&t.onPositionChanged.pipe(ud(this._drawers.changes)).subscribe(function(){e._ngZone.onMicrotaskEmpty.asObservable().pipe(mu(1)).subscribe(function(){e._validateDrawers()})})},t.prototype._watchDrawerMode=function(t){var e=this;t&&t._modeChanged.pipe(ud(st(this._drawers.changes,this._destroyed))).subscribe(function(){e._updateContentMargins(),e._changeDetectorRef.markForCheck()})},t.prototype._setContainerClass=function(t){t?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},t.prototype._validateDrawers=function(){var t=this;this._start=this._end=null,this._drawers.forEach(function(e){"end"==e.position?(null!=t._end&&Ex("end"),t._end=e):(null!=t._start&&Ex("start"),t._start=e)}),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)},t.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},t.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},t.prototype._closeModalDrawer=function(){var t=this;[this._start,this._end].filter(function(e){return e&&!e.disableClose&&t._canHaveBackdrop(e)}).forEach(function(t){return t.close()})},t.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},t.prototype._canHaveBackdrop=function(t){return"side"!==t.mode||!!this._backdropOverride},t.prototype._isDrawerOpen=function(t){return null!=t&&t.opened},t.prototype._updateContentMargins=function(){var t=this,e=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?e+=this._left._width:"push"==this._left.mode&&(e+=r=this._left._width,n-=r)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var r;n+=r=this._right._width,e-=r}e=e||null,n=n||null,e===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:e,right:n},this._ngZone.run(function(){return t._contentMarginChanges.next(t._contentMargins)}))},t}(),Dx=function(){},Ax=oi({encapsulation:2,styles:[],data:{}});function Rx(t){return Xo(2,[Uo(null,0)],null,null)}var Fx=oi({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 Mx(t){return Xo(2,[Uo(null,0)],null,null)}var Nx=oi({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-opened{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.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 screen and (-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 screen and (-ms-high-contrast:active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media screen and (-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: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-sidenav-fixed{position:fixed}"],data:{}});function Lx(t){return Xo(0,[(t()(),Ri(0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._onBackdropClicked()&&r),r},null,null))],null,function(t,e){t(e,0,0,e.component._isShowingBackdrop())})}function Vx(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"mat-drawer-content",[["cdkScrollable",""],["class","mat-drawer-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,Rx,Ax)),Co(1,212992,[[1,4]],0,ld,[Dn,od,ln],null,null),Co(2,1097728,null,0,Ox,[zn,Px],null,null),Uo(0,2)],function(t,e){t(e,1,0)},function(t,e){t(e,0,0,so(e,2)._container._contentMargins.left,so(e,2)._container._contentMargins.right)})}function jx(t){return Xo(2,[jo(671088640,1,{scrollable:0}),(t()(),Ai(16777216,null,null,1,null,Lx)),Co(2,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),Uo(null,0),Uo(null,1),(t()(),Ai(16777216,null,null,1,null,Vx)),Co(6,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,2,0,n.hasBackdrop),t(e,6,0,!n._content)},null)}var zx=function(){function t(t,e,n,r){this.router=t,this.snackbar=e,this.snackBar=n,this.restService=r,this.voices=dw.voices,this.user=localStorage.getItem("displayName"),this.voices.forEach(function(t){t.openChilds=!0}),this.voices.find(function(t){return 0==t.key}).selected=!0}return t.prototype.ngOnInit=function(){},t.prototype.logout=function(){this.restService.customGetAction(dw.usersUrl,dw.logoutUrl,null,null,this.onLogoutSuccess.bind(this),this.onLogoutSuccess.bind(this))},t.prototype.onLogoutSuccess=function(){localStorage.setItem("token",null),this.router.navigate([dw.loginPath])},t.prototype.go=function(t,e){this.voices.forEach(function(t){t.selected=!1}),t.selected=!0,-1!=t.key?t.navigate?(this.router.navigate([t.navigate]),e.close()):t.openChilds=!t.openChilds:this.logout()},t}(),Hx=oi({encapsulation:0,styles:[[".drawer-container[_ngcontent-%COMP%]{position:relative;height:calc(100vh - 70px);top:70px}.mat-drawer-content[_ngcontent-%COMP%]{padding:0;margin:0;height:100%;width:100%;position:relative}.drawer-sidenav[_ngcontent-%COMP%]{height:100%;width:300px}.toolbar[_ngcontent-%COMP%]{height:70px!important;position:absolute;top:0}.user-info[_ngcontent-%COMP%]{position:absolute;right:10px;vertical-align:middle;height:70px;line-height:70px}.current-user[_ngcontent-%COMP%]{color:#fff;vertical-align:text-bottom;padding-right:10px;font-size:15px;padding-left:10px}.menu-voice-with-childs[_ngcontent-%COMP%]{padding:0!important}.menu-voice[_ngcontent-%COMP%], .menu-voice-with-childs[_ngcontent-%COMP%]{margin:0;padding:3px;line-height:50px;cursor:pointer;color:#fff;vertical-align:middle;border-bottom:1px solid #fff}.menu-voice-with-childs[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{border-bottom:1px solid #fff;margin:0;padding-left:8px}.menu-voice-with-childs[_ngcontent-%COMP%] .menu-voice[_ngcontent-%COMP%]{padding:0 0 0 30px!important}.menu-voice[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-left:8px!important;margin:0;padding:0}.menu-voice-with-childs[_ngcontent-%COMP%]{border:0!important}.menu-voice[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .menu-voice[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .menu-voice-with-childs[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .menu-voice-with-childs[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:middle;padding-left:5px}.current-restaurant[_ngcontent-%COMP%]{display:inline-block;color:#fff;padding:5px 10px;margin-left:20px;text-transform:uppercase;font-size:15px;cursor:pointer;border:.01em solid #fff}"]],data:{}});function Bx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),Zo(-1,null,["keyboard_arrow_down"]))],null,null)}function qx(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"i",[["class","material-icons"]],null,null,null,null,null)),(t()(),Zo(-1,null,["keyboard_arrow_up"]))],null,null)}function Ux(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"i",[["class","material-icons white-icon"]],null,null,null,null,null)),(t()(),Zo(1,null,["",""]))],null,function(t,e){t(e,1,0,e.parent.context.$implicit.icon)})}function Wx(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"div",[["class","menu-voice"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.go(t.context.$implicit,so(t.parent.parent.parent,12))&&r),r},null,null)),(t()(),Ri(1,0,null,null,4,"p",[],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,Ux)),Co(3,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(5,null,[" "," "]))],function(t,e){t(e,3,0,e.parent.parent.context.$implicit.icon)},function(t,e){t(e,5,0,e.context.$implicit.description)})}function Gx(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"div",[["style","padding:0px;"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,Wx)),Co(2,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null)],function(t,e){t(e,2,0,e.parent.context.$implicit.childs)},null)}function Kx(t){return Xo(0,[(t()(),Ri(0,0,null,null,13,"div",[],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.go(t.context.$implicit,so(t.parent,12))&&r),r},null,null)),Co(1,278528,null,0,dc,[ar,sr,Dn,Pn],{ngClass:[0,"ngClass"]},null),Go(2,{"menu-voice":0,"menu-voice-with-childs":1,selected:2,notSelected:3}),(t()(),Ri(3,0,null,null,8,"p",[],null,null,null,null,null)),(t()(),Ri(4,0,null,null,1,"i",[["class","material-icons white-icon"]],null,null,null,null,null)),(t()(),Zo(5,null,["",""])),(t()(),Ri(6,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(7,null,[" "," "])),(t()(),Ai(16777216,null,null,1,null,Bx)),Co(9,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,qx)),Co(11,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,Gx)),Co(13,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,1,0,t(e,2,0,!e.context.$implicit.childs,e.context.$implicit.childs,e.context.$implicit.selected,!e.context.$implicit.selected)),t(e,9,0,e.context.$implicit.childs&&e.context.$implicit.openChilds),t(e,11,0,e.context.$implicit.childs&&!e.context.$implicit.openChilds),t(e,13,0,e.context.$implicit.childs&&e.context.$implicit.openChilds)},function(t,e){t(e,5,0,e.context.$implicit.icon),t(e,7,0,e.context.$implicit.description)})}function Zx(t){return Xo(0,[(t()(),Ri(0,0,null,null,6,"mat-toolbar",[["class","toolbar mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,kx,Sx)),Co(1,4243456,null,1,Cx,[Dn,Wc,Pc],null,null),jo(603979776,1,{_toolbarRows:1}),(t()(),Ri(3,0,null,0,1,"i",[["class","material-icons white-icon"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,12).toggle()&&r),r},null,null)),(t()(),Zo(-1,null,["menu"])),(t()(),Ri(5,0,null,0,1,"span",[["style","padding-left: 10px;color: white"]],null,null,null,null,null)),(t()(),Zo(6,null,["",""])),(t()(),Ri(7,0,null,null,12,"mat-drawer-container",[["class","drawer-container mat-drawer-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,jx,Nx)),Co(8,1490944,null,2,Px,[[2,Nc],Dn,ln,zn,Ix,[2,Zg]],null,null),jo(603979776,2,{_drawers:1}),jo(335544320,3,{_content:0}),(t()(),Ri(11,0,null,0,3,"mat-drawer",[["class","drawer-sidenav mat-drawer"],["mode","over"],["tabIndex","-1"]],[[40,"@transform",0],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null]],[["component","@transform.start"],["component","@transform.done"]],function(t,e,n){var r=!0;return"component:@transform.start"===e&&(r=!1!==so(t,12)._onAnimationStart(n)&&r),"component:@transform.done"===e&&(r=!1!==so(t,12)._onAnimationEnd(n)&&r),r},Mx,Fx)),Co(12,3325952,[[2,4],["drawer",4]],0,Tx,[Dn,Sh,Ih,Wc,ln,[2,Pc]],{mode:[0,"mode"]},null),(t()(),Ai(16777216,null,0,1,null,Kx)),Co(14,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null),(t()(),Ri(15,0,null,1,4,"mat-drawer-content",[["class","mat-drawer-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,Rx,Ax)),Co(16,1097728,[[3,4]],0,Ox,[zn,Px],null,null),(t()(),Ri(17,0,null,0,2,"div",[["class","drawer-sidenav-content"]],null,null,null,null,null)),(t()(),Ri(18,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Co(19,212992,null,0,X_,[$_,jn,Ye,[8,null],zn],null,null)],function(t,e){var n=e.component;t(e,8,0),t(e,12,0,"over"),t(e,14,0,n.voices),t(e,19,0)},function(t,e){var n=e.component;t(e,0,0,so(e,1)._toolbarRows.length>0,0===so(e,1)._toolbarRows.length),t(e,6,0,n.user),t(e,7,0,so(e,8)._backdropOverride),t(e,11,0,so(e,12)._animationState,null,"end"===so(e,12).position,"over"===so(e,12).mode,"push"===so(e,12).mode,"side"===so(e,12).mode),t(e,15,0,so(e,16)._container._contentMargins.left,so(e,16)._container._contentMargins.right)})}var Yx=Xi("app-container",zx,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-container",[],null,null,null,Zx,Hx)),Co(1,114688,null,0,zx,[G_,If,If,sw],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),$x=oi({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 screen and (-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-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.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 Xx(t){return Xo(0,[(t()(),Ri(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,tS,Jx)),Co(1,49152,null,0,Kh,[[2,Zg]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)},function(t,e){t(e,0,0,"indeterminate"===so(e,1).state,"checked"===so(e,1).state,so(e,1).disabled,"NoopAnimations"===so(e,1)._animationMode)})}function Qx(t){return Xo(2,[(t()(),Ai(16777216,null,null,1,null,Xx)),Co(1,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),Uo(null,0),(t()(),Ri(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Co(5,212992,null,0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(t,e){t(e,4,0,so(e,5).unbounded)})}var Jx=oi({encapsulation:2,styles:[".mat-pseudo-checkbox{width:20px;height:20px;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:7px;left:0;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:3px;left:1px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}"],data:{}});function tS(t){return Xo(2,[],null,null)}function eS(t,e){return"function"==typeof e?function(n){return n.pipe(eS(function(n,r){return nt(t(n,r)).pipe(Q(function(t,i){return e(n,t,r,i)}))}))}:function(e){return e.lift(new nS(t))}}var nS=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new rS(t,this.project))},t}(),rS=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return i(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe(),this.add(this.innerSubscription=$(this,t,e,n))},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,i){this.destination.next(e)},e}(X);function iS(t,e){return new R(e?function(n){return e.schedule(oS,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function oS(t){t.subscriber.error(t.error)}var lS=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return cu(this.value);case"E":return iS(this.error);case"C":return au()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),aS=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new sS(t,this.delay,this.scheduler))},t}(),sS=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.delay=n,i.scheduler=r,i.queue=[],i.active=!1,i.errored=!1,i}return i(e,t),e.dispatch=function(t){for(var e=t.source,n=e.queue,r=t.scheduler,i=t.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,n=new uS(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(lS.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(lS.createComplete())},e}(I),uS=function(t,e){this.time=t,this.notification=e},cS=0,dS=Fh(function(){}),pS=new vt("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),hS=function(t){function e(e,n,r){var i=t.call(this)||this;return i._changeDetectorRef=e,i._elementRef=n,i.showPanel=!1,i._isOpen=!1,i.displayWith=null,i.optionSelected=new on,i.opened=new on,i.closed=new on,i._classList={},i.id="mat-autocomplete-"+cS++,i._autoActiveFirstOption=!!r.autoActiveFirstOption,i}return i(e,t),Object.defineProperty(e.prototype,"isOpen",{get:function(){return this._isOpen&&this.showPanel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoActiveFirstOption",{get:function(){return this._autoActiveFirstOption},set:function(t){this._autoActiveFirstOption=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"classList",{set:function(t){var e=this;t&&t.length&&(t.split(" ").forEach(function(t){return e._classList[t.trim()]=!0}),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._keyManager=new vh(this.options).withWrap(),this._setVisibility()},e.prototype._setScrollTop=function(t){this.panel&&(this.panel.nativeElement.scrollTop=t)},e.prototype._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0},e.prototype._setVisibility=function(){this.showPanel=!!this.options.length,this._classList["mat-autocomplete-visible"]=this.showPanel,this._classList["mat-autocomplete-hidden"]=!this.showPanel,this._changeDetectorRef.markForCheck()},e.prototype._emitSelectEvent=function(t){var e=new function(t,e){this.source=t,this.option=e}(this,t);this.optionSelected.emit(e)},e}(dS),fS=new vt("mat-autocomplete-scroll-strategy");function mS(t){return function(){return t.scrollStrategies.reposition()}}var gS=function(){function t(t,e,n,r,i,o,l,a,s,u){var c=this;this._element=t,this._overlay=e,this._viewContainerRef=n,this._zone=r,this._changeDetectorRef=i,this._scrollStrategy=o,this._dir=l,this._formField=a,this._document=s,this._viewportRuler=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=b.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new V,this._windowBlurHandler=function(){c._canOpenOnNextFocus=document.activeElement!==c._element.nativeElement||c.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=su(function(){return c.autocomplete&&c.autocomplete.options?st.apply(void 0,c.autocomplete.options.map(function(t){return t.onSelectionChange})):c._zone.onStable.asObservable().pipe(mu(1),eS(function(){return c.optionSelections}))}),"undefined"!=typeof window&&r.runOutsideAngular(function(){window.addEventListener("blur",c._windowBlurHandler)})}return Object.defineProperty(t.prototype,"autocompleteDisabled",{get:function(){return this._autocompleteDisabled},set:function(t){this._autocompleteDisabled=Vc(t)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._overlayAttached&&this.autocomplete.showPanel},enumerable:!0,configurable:!0}),t.prototype.openPanel=function(){this._attachOverlay(),this._floatLabel()},t.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())},Object.defineProperty(t.prototype,"panelClosingActions",{get:function(){var t=this;return st(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(du(function(){return t._overlayAttached})),this._closeKeyEventStream,this._outsideClickStream,this._overlayRef?this._overlayRef.detachments().pipe(du(function(){return t._overlayAttached})):cu()).pipe(Q(function(t){return t instanceof Qh?t:null}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeOption",{get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_outsideClickStream",{get:function(){var t=this;return this._document?st($c(this._document,"click"),$c(this._document,"touchend")).pipe(du(function(e){var n=e.target,r=t._formField?t._formField._elementRef.nativeElement:null;return t._overlayAttached&&n!==t._element.nativeElement&&(!r||!r.contains(n))&&!!t._overlayRef&&!t._overlayRef.overlayElement.contains(n)})):cu(null)},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e=this;Promise.resolve(null).then(function(){return e._setTriggerValue(t)})},t.prototype.registerOnChange=function(t){this._onChange=t},t.prototype.registerOnTouched=function(t){this._onTouched=t},t.prototype.setDisabledState=function(t){this._element.nativeElement.disabled=t},t.prototype._handleKeydown=function(t){var e=t.keyCode;if(e===ou&&t.preventDefault(),this.panelOpen&&(e===ou||38===e&&t.altKey))this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation();else if(this.activeOption&&13===e&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,r=38===e||40===e;this.panelOpen||9===e?this.autocomplete._keyManager.onKeydown(t):r&&this._canOpen()&&this.openPanel(),(r||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption()}},t.prototype._handleInput=function(t){var e=t.target,n=e.value;"number"===e.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&document.activeElement===t.target&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this.openPanel())},t.prototype._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0},t.prototype._floatLabel=function(t){void 0===t&&(t=!1),this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)},t.prototype._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)},t.prototype._scrollToOption=function(){var t=this.autocomplete._keyManager.activeItemIndex||0,e=nf(t+ef(t,this.autocomplete.options,this.autocomplete.optionGroups),48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(e)},t.prototype._subscribeToClosingActions=function(){var t=this;return st(this._zone.onStable.asObservable().pipe(mu(1)),this.autocomplete.options.changes.pipe(oh(function(){return t._positionStrategy.reapplyLastPosition()}),function(t,e){void 0===e&&(e=Jc);var n=0 instanceof Date&&!isNaN(0)?0-e.now():Math.abs(0);return function(t){return t.lift(new aS(n,e))}}())).pipe(eS(function(){return t._resetActiveItem(),t.autocomplete._setVisibility(),t.panelOpen&&t._overlayRef.updatePosition(),t.panelClosingActions}),mu(1)).subscribe(function(e){return t._setValueAndClose(e)})},t.prototype._destroyPanel=function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)},t.prototype._setTriggerValue=function(t){var e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,n=null!=e?e:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n},t.prototype._setValueAndClose=function(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()},t.prototype._clearPreviousSelectedOption=function(t){this.autocomplete.options.forEach(function(e){e!=t&&e.selected&&e.deselect()})},t.prototype._attachOverlay=function(){var t=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.");this._overlayRef?this._overlayRef.updateSize({width:this._getPanelWidth()}):(this._portal=new Js(this.autocomplete.template,this._viewContainerRef),this._overlayRef=this._overlay.create(this._getOverlayConfig()),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&t._overlayRef&&t._overlayRef.updateSize({width:t._getPanelWidth()})}))),this._overlayRef&&!this._overlayRef.hasAttached()&&(this._overlayRef.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()},t.prototype._getOverlayConfig=function(){return new hd({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})},t.prototype._getOverlayPosition=function(){return this._positionStrategy=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"}]),this._positionStrategy},t.prototype._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element},t.prototype._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()},t.prototype._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width},t.prototype._resetActiveItem=function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)},t.prototype._canOpen=function(){var t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled},t}(),yS=function(){},vS=oi({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%}.mat-autocomplete-panel: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-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}@media screen and (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],data:{}});function _S(t){return Xo(0,[(t()(),Ri(0,0,[[2,0],["panel",1]],null,2,"div",[["class","mat-autocomplete-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),Co(1,278528,null,0,dc,[ar,sr,Dn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Uo(null,0)],function(t,e){t(e,1,0,"mat-autocomplete-panel",e.component._classList)},function(t,e){t(e,0,0,e.component.id)})}function bS(t){return Xo(2,[jo(402653184,1,{template:0}),jo(671088640,2,{panel:0}),(t()(),Ai(0,[[1,2]],null,0,null,_S))],null,null)}var wS=function(){},CS=function(){function t(t,e,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var r=this;this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=this._emitChanges?new V:null,this.onChange=this.changed,e&&e.length&&(t?e.forEach(function(t){return r._markSelected(t)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),xS=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new SS(t,this.compare,this.keySelector))},t}(),SS=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=v(this.keySelector)(t))===g)return this.destination.error(g.e);var n=!1;if(this.hasKey){if((n=v(this.compare)(this.key,e))===g)return this.destination.error(g.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(I),kS=0,ES=new vt("mat-select-scroll-strategy");function IS(t){return function(){return t.scrollStrategies.reposition()}}var OS=function(t){function e(e,n,r,i,o,l,a,s,u,c,d,p){var h=t.call(this,o,i,a,s,c)||this;return h._viewportRuler=e,h._changeDetectorRef=n,h._ngZone=r,h._dir=l,h._parentFormField=u,h.ngControl=c,h._scrollStrategyFactory=p,h._panelOpen=!1,h._required=!1,h._scrollTop=0,h._multiple=!1,h._compareWith=function(t,e){return t===e},h._uid="mat-select-"+kS++,h._destroy=new V,h._triggerFontSize=0,h._onChange=function(){},h._onTouched=function(){},h._optionIds="",h._transformOrigin="top",h._panelDoneAnimating=!1,h._panelDoneAnimatingStream=new V,h._scrollStrategy=h._scrollStrategyFactory(),h._offsetY=0,h._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],h._disableOptionCentering=!1,h._focused=!1,h.controlType="mat-select",h.ariaLabel="",h.optionSelectionChanges=su(function(){return h.options?st.apply(void 0,h.options.map(function(t){return t.onSelectionChange})):h._ngZone.onStable.asObservable().pipe(mu(1),eS(function(){return h.optionSelectionChanges}))}),h.openedChange=new on,h._openedStream=h.openedChange.pipe(du(function(t){return t}),Q(function(){})),h._closedStream=h.openedChange.pipe(du(function(t){return!t}),Q(function(){})),h.selectionChange=new on,h.valueChange=new on,h.ngControl&&(h.ngControl.valueAccessor=h),h.tabIndex=parseInt(d)||0,h.id=h.id,h}return i(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Vc(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new CS(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function(t){return t.lift(new xS(void 0,void 0))},ud(this._destroy)).subscribe(function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t._panelDoneAnimating=!1,t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(ud(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe(_u(null),ud(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement)["font-size"]),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(mu(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode;13===e||32===e||(this.multiple||t.altKey)&&(40===e||38===e||37===e||39===e)?(t.preventDefault(),this.open()):this.multiple||this._keyManager.onKeydown(t)},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=40===e||38===e,r=this._keyManager;if(36===e||35===e)t.preventDefault(),36===e?r.setFirstItemActive():r.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(13!==e&&32!==e||!r.activeItem)if(this._multiple&&65===e&&t.ctrlKey){t.preventDefault();var i=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(i?t.select():t.deselect())})}else{var o=r.activeItemIndex;r.onKeydown(t),this._multiple&&n&&t.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else t.preventDefault(),r.activeItem._selectViaInteraction()},e.prototype._onFadeInDone=function(){this._panelDoneAnimating=this.panelOpen,this._changeDetectorRef.markForCheck()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(mu(1)).subscribe(function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value)})},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(function(t){return e._selectValue(t)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n&&this._keyManager.setActiveItem(n)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find(function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(t){return bn()&&console.warn(t),!1}});return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new vh(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._keyManager.tabOut.pipe(ud(this._destroy)).subscribe(function(){t.focus(),t.close()}),this._keyManager.change.pipe(ud(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})},e.prototype._resetOptions=function(){var t=this,e=st(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ud(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),st.apply(void 0,this.options.map(function(t){return t._stateChanges})).pipe(ud(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()}),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(e,n){return t.indexOf(e)-t.indexOf(n)}),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new function(t,e){this.source=t,this.value=e}(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(t){return t.id}).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t=this._keyManager.activeItemIndex||0,e=ef(t,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=nf(t+e,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._getOptionIndex=function(t){return this.options.reduce(function(e,n,r){return void 0===e?t===n?r:void 0:e},void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),r=e*t-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=ef(i,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(i,o,r),this._offsetY=this._calculateOverlayOffsetY(i,o,r),this._checkOverlayWithinViewport(r)},e.prototype._calculateOverlayScroll=function(t,e,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*t-e+r/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?60:32;if(this.multiple)t=44;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}r||(t*=-1);var l=0-(e.left+t-(r?i:0)),a=e.right+t-n.width+(r?0:i);l>0?t+=l+8:a>0&&(t-=a+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,l=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?t*i:this._scrollTop===n?(t-(this._getItemCount()-l))*i+(i-(this._getItemCount()*i-256)%i):e-i/2,Math.round(-1*r-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),l=Math.min(this._getItemCount()*e,256)-o-this._triggerRect.height;l>i?this._adjustPanelUp(l,i):o>r?this._adjustPanelDown(o,r,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var r=Math.round(t-e);if(this._scrollTop+=r,this._offsetY+=r,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Fh(Mh(Ah(Nh(function(t,e,n,r,i){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}))))),TS=function(){},PS=oi({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,.mat-form-field-appearance-standard .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.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{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%}.mat-select-panel: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)}@media screen and (-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:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0)",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:3,steps:[{type:11,selector:"@fadeInContent",animation:{type:9,options:null},options:null},{type:4,styles:null,timings:"150ms cubic-bezier(0.25, 0.8, 0.25, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:[{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"250ms 100ms linear"}],options:null}],options:{}},{type:7,name:"fadeInContent",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => showing",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function DS(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),Zo(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.placeholder||"\xa0")})}function AS(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")})}function RS(t){return Xo(0,[Uo(null,0),(t()(),Ai(0,null,null,0))],null,null)}function FS(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),Co(1,16384,null,0,_c,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ai(16777216,null,null,1,null,AS)),Co(3,16384,null,0,wc,[jn,Vn,_c],null,null),(t()(),Ai(16777216,null,null,1,null,RS)),Co(5,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)},null)}function MS(t){return Xo(0,[(t()(),Ri(0,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[2,"mat-select-panel-done-animating",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(t,e,n){var r=!0,i=t.component;return"@transformPanel.done"===e&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===e&&(r=!1!==i._handleKeydown(n)&&r),r},null,null)),Co(1,278528,null,0,dc,[ar,sr,Dn,Pn],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(t()(),Ri(2,0,null,null,1,"div",[["class","mat-select-content"]],[[24,"@fadeInContent",0]],[[null,"@fadeInContent.done"]],function(t,e,n){var r=!0;return"@fadeInContent.done"===e&&(r=!1!==t.component._onFadeInDone()&&r),r},null,null)),Uo(null,1)],function(t,e){var n,r,i,o=e.component;t(e,1,0,(n="mat-select-panel ",r=o._getPanelTheme(),n+(null!=(i=r)?i.toString():"")+""),o.panelClass)},function(t,e){var n=e.component;t(e,0,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._panelDoneAnimating,n._triggerFontSize),t(e,2,0,"showing")})}function NS(t){return Xo(2,[jo(402653184,1,{trigger:0}),jo(671088640,2,{panel:0}),jo(402653184,3,{overlayDir:0}),(t()(),Ri(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.toggle()&&r),r},null,null)),Co(4,16384,[["origin",4]],0,Md,[Dn],null,null),(t()(),Ri(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),Co(6,16384,null,0,_c,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ai(16777216,null,null,1,null,DS)),Co(8,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ai(16777216,null,null,1,null,FS)),Co(10,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ri(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),Ri(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,function(t,e,n){var r=!0,i=t.component;return"backdropClick"===e&&(r=!1!==i.close()&&r),"attach"===e&&(r=!1!==i._onAttached()&&r),"detach"===e&&(r=!1!==i.close()&&r),r},MS)),Co(14,671744,[[3,4]],0,Nd,[Ad,Vn,jn,Fd,[2,Nc]],{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(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,so(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var LS=100,VS=Rh(function(t){this._elementRef=t},"primary"),jS=new vt("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:LS}}}),zS=function(t){function e(e,n,r,i,o){var l=t.call(this,e,n,r,i,o)||this;return l.mode="indeterminate",l}return i(e,t),e}(function(t){function e(e,n,r,i,o){var l=t.call(this,e)||this;return l._elementRef=e,l._document=r,l.animationMode=i,l.defaults=o,l._value=0,l._fallbackAnimation=!1,l._noopAnimations="NoopAnimations"===l.animationMode&&!!l.defaults&&!l.defaults._forceAnimations,l._diameter=LS,l.mode="determinate",l._fallbackAnimation=n.EDGE||n.TRIDENT,o&&(o.diameter&&(l.diameter=o.diameter),o.strokeWidth&&(l.strokeWidth=o.strokeWidth)),e.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(l._fallbackAnimation?"-fallback":"")+"-animation"),l}return i(e,t),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){this._diameter=jc(t),this._fallbackAnimation||e.diameters.has(this._diameter)||this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=jc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,jc(t)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.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(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=e.styleTag;t||(t=this._document.createElement("style"),this._document.head.appendChild(t),e.styleTag=t),t&&t.sheet&&t.sheet.insertRule(this._getAnimationText(),0),e.diameters.add(this.diameter)},e.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)},e.diameters=new Set([LS]),e.styleTag=null,e}(VS)),HS=function(){},BS=oi({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 qS(t){return Xo(0,[(t()(),Ri(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(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function US(t){return Xo(0,[(t()(),Ri(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(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function WS(t){return Xo(2,[(t()(),Ri(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)),Co(1,16384,null,0,_c,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Ai(16777216,null,null,1,null,qS)),Co(3,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Ai(16777216,null,null,1,null,US)),Co(5,278528,null,0,bc,[jn,Vn,_c],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)},function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)})}var GS=function(){},KS=function(){function t(t,e,n){var r=this;this.httpService=t,this.restService=e,this.snackbar=n,this.template="",this.company="",this.cmd=JSON.stringify(dw.cmd),this.printing=!1,this.companies=[],this.templates=[],this.types=["pdf","word","excel"],this.type="pdf",this.companiesCtrl=new _C,this.filteredCompanies=this.companiesCtrl.valueChanges.pipe(_u(""),Q(function(t){return t?r.filterCompanies(t):r.companies.slice()}))}return t.prototype.filterCompanies=function(t){return"string"==typeof t?this.companies.filter(function(e){return e.description&&e.description.toUpperCase().indexOf(t.toUpperCase())>=0}):null},t.prototype.displayAutoComFn=function(t){var e=this.companies?this.companies.find(function(e){return e.id==t}):null;return null!=e?e.description:""},t.prototype.loadCompanies=function(){this.restService.getList(dw.companiesUrl,null,null,this.onCompaniesSuccess.bind(this),this.onCompaniesError.bind(this))},t.prototype.onCompaniesSuccess=function(t){this.companies=[];for(var e=0,n=t.rows;e1),t(e,26,0,n.templates&&n.templates.length>0),t(e,40,0,n.cmd),t(e,43,0,"Oggetto"),t(e,46,0,"primary"),t(e,49,0,n.printing)},function(t,e){t(e,2,1,["standard"==so(e,3).appearance,"fill"==so(e,3).appearance,"outline"==so(e,3).appearance,"legacy"==so(e,3).appearance,so(e,3)._control.errorState,so(e,3)._canLabelFloat,so(e,3)._shouldLabelFloat(),so(e,3)._hideControlPlaceholder(),so(e,3)._control.disabled,so(e,3)._control.autofilled,so(e,3)._control.focused,"accent"==so(e,3).color,"warn"==so(e,3).color,so(e,3)._shouldForward("untouched"),so(e,3)._shouldForward("touched"),so(e,3)._shouldForward("pristine"),so(e,3)._shouldForward("dirty"),so(e,3)._shouldForward("valid"),so(e,3)._shouldForward("invalid"),so(e,3)._shouldForward("pending"),!so(e,3)._animationsEnabled]),t(e,11,1,[so(e,15).ngClassUntouched,so(e,15).ngClassTouched,so(e,15).ngClassPristine,so(e,15).ngClassDirty,so(e,15).ngClassValid,so(e,15).ngClassInvalid,so(e,15).ngClassPending,so(e,16).id,so(e,16).tabIndex,so(e,16)._getAriaLabel(),so(e,16)._getAriaLabelledby(),so(e,16).required.toString(),so(e,16).disabled.toString(),so(e,16).errorState,so(e,16).panelOpen?so(e,16)._optionIds:null,so(e,16).multiple,so(e,16)._ariaDescribedby||null,so(e,16)._getAriaActiveDescendant(),so(e,16).disabled,so(e,16).errorState,so(e,16).required]),t(e,28,1,["standard"==so(e,29).appearance,"fill"==so(e,29).appearance,"outline"==so(e,29).appearance,"legacy"==so(e,29).appearance,so(e,29)._control.errorState,so(e,29)._canLabelFloat,so(e,29)._shouldLabelFloat(),so(e,29)._hideControlPlaceholder(),so(e,29)._control.disabled,so(e,29)._control.autofilled,so(e,29)._control.focused,"accent"==so(e,29).color,"warn"==so(e,29).color,so(e,29)._shouldForward("untouched"),so(e,29)._shouldForward("touched"),so(e,29)._shouldForward("pristine"),so(e,29)._shouldForward("dirty"),so(e,29)._shouldForward("valid"),so(e,29)._shouldForward("invalid"),so(e,29)._shouldForward("pending"),!so(e,29)._animationsEnabled]),t(e,37,1,[so(e,42).ngClassUntouched,so(e,42).ngClassTouched,so(e,42).ngClassPristine,so(e,42).ngClassDirty,so(e,42).ngClassValid,so(e,42).ngClassInvalid,so(e,42).ngClassPending,so(e,43)._isServer,so(e,43).id,so(e,43).placeholder,so(e,43).disabled,so(e,43).required,so(e,43).readonly,so(e,43)._ariaDescribedby||null,so(e,43).errorState,so(e,43).required.toString()]),t(e,45,0,so(e,46).disabled||null,"NoopAnimations"===so(e,46)._animationMode)})}var nk=Xi("app-home",KS,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-home",[],null,null,null,ek,ZS)),Co(1,114688,null,0,KS,[aw,sw,If],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),rk=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new ik(t,this.callback))},t}(),ik=function(t){function e(e,n){var r=t.call(this,e)||this;return r.add(new b(n)),r}return i(e,t),e}(I);function ok(t){return Error('Unable to find icon with the name "'+t+'"')}function lk(t){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+t+'".')}function ak(t){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+t+'".')}var sk=function(t){t.nodeName?this.svgElement=t:this.url=t},uk=function(){function t(t,e,n){this._httpClient=t,this._sanitizer=e,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=n}return t.prototype.addSvgIcon=function(t,e){return this.addSvgIconInNamespace("",t,e)},t.prototype.addSvgIconLiteral=function(t,e){return this.addSvgIconLiteralInNamespace("",t,e)},t.prototype.addSvgIconInNamespace=function(t,e,n){return this._addSvgIconConfig(t,e,new sk(n))},t.prototype.addSvgIconLiteralInNamespace=function(t,e,n){var r=this._sanitizer.sanitize(zr.HTML,n);if(!r)throw ak(n);var i=this._createSvgElementForSingleIcon(r);return this._addSvgIconConfig(t,e,new sk(i))},t.prototype.addSvgIconSet=function(t){return this.addSvgIconSetInNamespace("",t)},t.prototype.addSvgIconSetLiteral=function(t){return this.addSvgIconSetLiteralInNamespace("",t)},t.prototype.addSvgIconSetInNamespace=function(t,e){return this._addSvgIconSetConfig(t,new sk(e))},t.prototype.addSvgIconSetLiteralInNamespace=function(t,e){var n=this._sanitizer.sanitize(zr.HTML,e);if(!n)throw ak(e);var r=this._svgElementFromString(n);return this._addSvgIconSetConfig(t,new sk(r))},t.prototype.registerFontClassAlias=function(t,e){return void 0===e&&(e=t),this._fontCssClassesByAlias.set(t,e),this},t.prototype.classNameForFontAlias=function(t){return this._fontCssClassesByAlias.get(t)||t},t.prototype.setDefaultFontSetClass=function(t){return this._defaultFontSetClass=t,this},t.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},t.prototype.getSvgIconFromUrl=function(t){var e=this,n=this._sanitizer.sanitize(zr.RESOURCE_URL,t);if(!n)throw lk(t);var r=this._cachedIconsByUrl.get(n);return r?cu(ck(r)):this._loadSvgIconFromConfig(new sk(t)).pipe(oh(function(t){return e._cachedIconsByUrl.set(n,t)}),Q(function(t){return ck(t)}))},t.prototype.getNamedSvgIcon=function(t,e){void 0===e&&(e="");var n=dk(e,t),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(e);return i?this._getSvgFromIconSetConfigs(t,i):iS(ok(n))},t.prototype._getSvgFromConfig=function(t){return t.svgElement?cu(ck(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(oh(function(e){return t.svgElement=e}),Q(function(t){return ck(t)}))},t.prototype._getSvgFromIconSetConfigs=function(t,e){var n=this,r=this._extractIconWithNameFromAnySet(t,e);return r?cu(r):Sw(e.filter(function(t){return!t.svgElement}).map(function(t){return n._loadSvgIconSetFromConfig(t).pipe(My(function(e){var r=n._sanitizer.sanitize(zr.RESOURCE_URL,t.url);return console.error("Loading icon set URL: "+r+" failed: "+e.message),cu(null)}))})).pipe(Q(function(){var r=n._extractIconWithNameFromAnySet(t,e);if(!r)throw ok(t);return r}))},t.prototype._extractIconWithNameFromAnySet=function(t,e){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,t);if(i)return i}}return null},t.prototype._loadSvgIconFromConfig=function(t){var e=this;return this._fetchUrl(t.url).pipe(Q(function(t){return e._createSvgElementForSingleIcon(t)}))},t.prototype._loadSvgIconSetFromConfig=function(t){var e=this;return t.svgElement?cu(t.svgElement):this._fetchUrl(t.url).pipe(Q(function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement}))},t.prototype._createSvgElementForSingleIcon=function(t){var e=this._svgElementFromString(t);return this._setSvgAttributes(e),e},t.prototype._extractSvgIconFromSet=function(t,e){var n=t.querySelector("#"+e);if(!n)return null;var r=n.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r));var i=this._svgElementFromString("");return i.appendChild(r),this._setSvgAttributes(i)},t.prototype._svgElementFromString=function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n},t.prototype._toSvgElement=function(t){for(var e=this._svgElementFromString(""),n=0;n=r.length&&(i=0),r[i]},e.prototype.ngOnInit=function(){this._markInitialized()},e.prototype.ngOnChanges=function(){this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e}(function(t){return function(t){function e(){for(var e=[],n=0;n0;i--)e[i]&&(n[i]=r,r+=t[i]);return n},t}(),Lk=function(t,e){this.viewContainer=t,this.elementRef=e},Vk=function(t,e){this.viewContainer=t,this.elementRef=e},jk=function(t,e){this.viewContainer=t,this.elementRef=e},zk=function(){function t(t,e,n,r,i,o,l){this._differs=t,this._changeDetectorRef=e,this._elementRef=n,this._dir=i,this._platform=l,this._onDestroy=new V,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 Cy({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=o,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(t.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(t){bn()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+"."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource!==t&&this._switchDataSource(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(t){this._multiTemplateDataRows=Vc(t),this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(e,n){return t.trackBy?t.trackBy(n.dataIndex,n.data):n})},t.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()},t.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),this.dataSource instanceof wS&&this.dataSource.disconnect(this)},t.prototype.renderRows=function(){var t=this;this._renderRows=this._getAllRenderRows();var e=this._dataDiffer.diff(this._renderRows);if(e){var n=this._rowOutlet.viewContainer;e.forEachOperation(function(e,r,i){if(null==e.previousIndex)t._insertRow(e.item,i);else if(null==i)n.remove(r);else{var o=n.get(r);n.move(o,i)}}),this._updateRowIndexContext(),e.forEachIdentityChange(function(t){n.get(t.currentIndex).context.$implicit=t.item.data}),this.updateStickyColumnStyles()}},t.prototype.setHeaderRowDef=function(t){this._customHeaderRowDefs=new Set([t]),this._headerRowDefChanged=!0},t.prototype.setFooterRowDef=function(t){this._customFooterRowDefs=new Set([t]),this._footerRowDefChanged=!0},t.prototype.addColumnDef=function(t){this._customColumnDefs.add(t)},t.prototype.removeColumnDef=function(t){this._customColumnDefs.delete(t)},t.prototype.addRowDef=function(t){this._customRowDefs.add(t)},t.prototype.removeRowDef=function(t){this._customRowDefs.delete(t)},t.prototype.addHeaderRowDef=function(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0},t.prototype.removeHeaderRowDef=function(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0},t.prototype.addFooterRowDef=function(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0},t.prototype.removeFooterRowDef=function(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0},t.prototype.updateStickyHeaderRowStyles=function(){var t=this._getRenderedRows(this._headerRowOutlet);this._stickyStyler.clearStickyPositioning(t,["top"]);var e=this._headerRowDefs.map(function(t){return t.sticky});this._stickyStyler.stickRows(t,e,"top"),this._headerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyFooterRowStyles=function(){var t=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(t,["bottom"]);var e=this._footerRowDefs.map(function(t){return t.sticky});this._stickyStyler.stickRows(t,e,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,e),this._footerRowDefs.forEach(function(t){return t.resetStickyChanged()})},t.prototype.updateStickyColumnStyles=function(){var t=this,e=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(e.concat(n,r),["left","right"]),e.forEach(function(e,n){t._addStickyColumnStyles([e],t._headerRowDefs[n])}),this._rowDefs.forEach(function(e){for(var r=[],i=0;i1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=t[0]},t.prototype._renderUpdatedColumns=function(){var t=function(t,e){return t||!!e.getColumnsDiff()};this._rowDefs.reduce(t,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(t,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(t,!1)&&this._forceRenderFooterRows()},t.prototype._switchDataSource=function(t){this._data=[],this.dataSource instanceof wS&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=t},t.prototype._observeRenderChanges=function(){var t=this;if(this.dataSource){var e;if(this.dataSource.connect instanceof Function?e=this.dataSource.connect(this):this.dataSource instanceof R?e=this.dataSource:Array.isArray(this.dataSource)&&(e=cu(this.dataSource)),void 0===e)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=e.pipe(ud(this._onDestroy)).subscribe(function(e){t._data=e||[],t.renderRows()})}},t.prototype._forceRenderHeaderRows=function(){var t=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(e,n){return t._renderRow(t._headerRowOutlet,e,n)}),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},t.prototype._forceRenderFooterRows=function(){var t=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(e,n){return t._renderRow(t._footerRowOutlet,e,n)}),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},t.prototype._addStickyColumnStyles=function(t,e){var n=this,r=Array.from(e.columns||[]).map(function(t){return n._columnDefsByName.get(t)}),i=r.map(function(t){return t.sticky}),o=r.map(function(t){return t.stickyEnd});this._stickyStyler.updateStickyColumns(t,i,o)},t.prototype._getRenderedRows=function(t){for(var e=[],n=0;n 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 Uk(t){return Xo(2,[(t()(),Ri(0,0,null,null,8,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(t()(),Ri(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(t,e,n){var r=!0,i=t.component;return"focus"===e&&(r=!1!==i._setIndicatorHintVisible(!0)&&r),"blur"===e&&(r=!1!==i._setIndicatorHintVisible(!1)&&r),r},null,null)),Uo(null,0),(t()(),Ri(3,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(t,e,n){var r=!0,i=t.component;return"@arrowPosition.start"===e&&(r=0!=(i._disableViewStateAnimation=!0)&&r),"@arrowPosition.done"===e&&(r=0!=(i._disableViewStateAnimation=!1)&&r),r},null,null)),(t()(),Ri(4,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(t()(),Ri(5,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(t()(),Ri(6,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(t()(),Ri(7,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(t()(),Ri(8,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._isSorted(),"before"==n.arrowPosition),t(e,1,0,n._isDisabled()||null,n._intl.sortButtonLabel(n.id)),t(e,3,0,n._getArrowViewState(),n._getArrowViewState(),n._getArrowDirectionState()),t(e,5,0,n._getArrowDirectionState()),t(e,6,0,n._getArrowDirectionState()),t(e,7,0,n._getArrowDirectionState())})}var Wk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.stickyCssClass="mat-table-sticky",e}return i(e,t),e}(zk),Gk=xk,Kk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Ck),Zk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Gk),Yk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Sk),$k=function(t){function e(e,n){var r=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),r}return i(e,t),e}(Ek),Xk=function(t){function e(e,n){var r=t.call(this,e,n)||this;return n.nativeElement.classList.add("mat-column-"+e.cssClassFriendlyName),r}return i(e,t),e}(Ik),Qk=Dk,Jk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Tk),tE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Qk),eE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Rk),nE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(Fk),rE=function(){},iE=oi({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}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}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}"],data:{}});function oE(t){return Xo(2,[jo(402653184,1,{_rowOutlet:0}),jo(402653184,2,{_headerRowOutlet:0}),jo(402653184,3,{_footerRowOutlet:0}),(t()(),Ri(3,16777216,null,null,1,null,null,null,null,null,null,null)),Co(4,16384,[[2,4]],0,Vk,[jn,Dn],null,null),(t()(),Ri(5,16777216,null,null,1,null,null,null,null,null,null,null)),Co(6,16384,[[1,4]],0,Lk,[jn,Dn],null,null),(t()(),Ri(7,16777216,null,null,1,null,null,null,null,null,null,null)),Co(8,16384,[[3,4]],0,jk,[jn,Dn],null,null)],null,null)}var lE=oi({encapsulation:2,styles:[],data:{}});function aE(t){return Xo(2,[(t()(),Ri(0,16777216,null,null,1,null,null,null,null,null,null,null)),Co(1,147456,null,0,Ak,[jn],null,null)],null,null)}var sE=oi({encapsulation:2,styles:[],data:{}});function uE(t){return Xo(2,[(t()(),Ri(0,16777216,null,null,1,null,null,null,null,null,null,null)),Co(1,147456,null,0,Ak,[jn],null,null)],null,null)}var cE=function(){function t(t){this.element=t,this.displayScrollToTop=new on,this.scrollPosition=new on,this.oldScroll=0,this._element=this.element.nativeElement}return t.prototype.onScroll=function(t){try{var e=t.target.scrollTop;e>this.element.nativeElement.scrollHeight-this.element.nativeElement.offsetHeight-1&&(this.oldScroll=e,this.scrollPosition.emit("bottom")),0===e&&this.scrollPosition.emit("top")}catch(t){}},t}(),dE=function(){},pE=function(){},hE=function(){},fE=function(){},mE=function(){},gE=oi({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:24px;border-radius:2px}.mat-card: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-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}.mat-card.mat-card-flat{box-shadow:none}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px -24px}.mat-card-footer{display:block;margin:0 -24px -24px -24px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header-text{margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image,.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.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}@media (max-width:599px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0 0}.mat-card-footer{margin-left:-16px;margin-right:-16px}}.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:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-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 yE(t){return Xo(2,[Uo(null,0),Uo(null,1)],null,null)}var vE=oi({encapsulation:2,styles:[],data:{}});function _E(t){return Xo(2,[Uo(null,0),(t()(),Ri(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),Uo(null,1),Uo(null,2)],null,null)}var bE=function(t){function e(e){var n=t.call(this)||this;return n.displayedColumns=e,n.dataChange=new Cy([]),n}return i(e,t),Object.defineProperty(e.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),e.prototype.getColumns=function(){return this.displayedColumns.map(function(t){return t.name})},e.prototype.refresh=function(t){this.dataChange.next(t)},e.prototype.connect=function(){return this.dataChange.asObservable()},e.prototype.disconnect=function(){},e}(wS),wE=function(){function t(t,e){this.httpService=t,this.router=e,this.search={pageIndex:0,pageSize:30},this.redirectSessionOut="/login",this.OnSuccess=new on,this.OnError=new on,this.OnSessionOut=null,this.data=new on,this.progress=new on,this.displayScrollToTop=new on,this.result=[],this.block=!1,this.oldScroll=0}return t.prototype.init=function(t,e){this.url=t,this.search=e,this.search.pageIndex=0,this.result=[],this.totalItems=this.search.pageIndex*this.search.pageSize+1,null!=this.url&&this.get()},t.prototype.get=function(){this.search.pageIndex*this.search.pageSize0&&(this.search.pageIndex=this.search.pageIndex-1),this.OnError&&this.OnError.emit(t),this.progress&&this.progress.next(!1),this.block=!1},t.prototype.onSessionOut=function(){this.progress&&this.progress.next(!1),this.OnSessionOut?this.OnSessionOut.emit():this.redirectSessionOut&&this.router.navigate([this.redirectSessionOut])},t}(),CE=function(){function t(t){this.dialog=t}return t.prototype.openDialog=function(t,e,n,r,i){void 0===n&&(n="95%"),void 0===r&&(r="95%"),void 0===i&&(i=!1);var o=new jd;o.width=n,o.height=r,o.disableClose=i;var l=this.dialog.open(t,o);return l.afterClosed().subscribe(function(t){e&&e(t)}),l},t.prototype.openDialogDetail=function(t,e,n,r,i,o){void 0===r&&(r="95%"),void 0===i&&(i="95%"),void 0===o&&(o=!1);var l=this.openDialog(t,n,r,i,o);return e&&(l.componentInstance.detail=e),l},t.prototype.openDialogConfirm=function(t,e,n,r,i,o){void 0===r&&(r="600px"),void 0===i&&(i="400px"),void 0===o&&(o=!1),e.confirm=!0;var l=this.openDialog(t,n,r,i,o);return e&&(l.componentInstance.detail=e),l},t.prototype.openDialogAlert=function(t,e,n,r,i){void 0===n&&(n="600px"),void 0===r&&(r="400px"),void 0===i&&(i=!1);var o=this.openDialog(t,null,n,r,i);return e&&(o.componentInstance.detail=e),o},t}(),xE=function(t,e){this.search=null,this.pageIndex=t||1,this.pageSize=e||30},SE=function(t,e){this.key=t,this.value=e},kE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(xE),EE=function(){function t(t,e,n,r,i,o,l,a){this.pageTemplates=t,this.pageAssets=e,this.restService=n,this.httpService=r,this.dialogRef=i,this.snackbar=o,this.el=l,this.snackbarService=a,this.printing=!1,this.totalItem=0,this.dataSourceTemplates=new bE(dw.templatesHeaders),this.searchCmd=new kE,this.totalItemAssets=0,this.dataSourceAssets=new bE(dw.assetsHeaders),this.searchAssetsCmd=new kE}return t.prototype.ngOnInit=function(){var t=this;this.detail||(this.detail=new GS),this.pageTemplates.OnSuccess.subscribe(function(e){t.totalItem=t.pageTemplates.getTotalItemsCount(),t.dataSourceTemplates.refresh(e)}),this.sortData(),this.pageAssets.OnSuccess.subscribe(function(e){t.totalItemAssets=t.pageAssets.getTotalItemsCount(),t.dataSourceAssets.refresh(e)}),this.sortDataAssets()},t.prototype.save=function(){this.restService.updateOrCreate(dw.companiesUrl,null,this.detail,this.onCompanySavedSuccess.bind(this),this.onCompanySavedError.bind(this))},t.prototype.onCompanySavedSuccess=function(t){this.detail=t,this.snackbar.open("Azienda salvata con successo.","DONE",{duration:3e3}),this.dialogRef.close()},t.prototype.onCompanySavedError=function(t){this.snackbar.open(t||"Si \xe8 verificato un errore durante il salvataggio dell'azienda.","DONE",{duration:3e3})},t.prototype.close=function(){this.dialogRef.close()},t.prototype.upload=function(){var t=this.el.nativeElement.querySelector("#file"),e=[];e.push(new SE("id",this.detail.id)),e.push(new SE("folder",this.detail.folder)),this.httpService.upload(t,"file",js.baseUrl+dw.templatesUrl+"/"+dw.uploadUrl,e,this.onFileSuccess.bind(this)),this.fileTemplateInput.nativeElement.value=""},t.prototype.uploadAsset=function(){var t=this.el.nativeElement.querySelector("#fileAsset"),e=[];e.push(new SE("id",this.detail.id)),e.push(new SE("folder",this.detail.folder)),this.httpService.upload(t,"file",js.baseUrl+dw.assetsUrl+"/"+dw.uploadUrl,e,this.onAssetSuccess.bind(this)),this.fileAssetInput.nativeElement.value=""},t.prototype.onFileSuccess=function(){this.snackbar.open("File caricato con successo.","DONE",{duration:3e3}),this.sortData()},t.prototype.onAssetSuccess=function(){this.snackbar.open("File caricato con successo.","DONE",{duration:3e3}),this.sortDataAssets()},t.prototype.scrollHandler=function(t){"bottom"===t&&this.pageTemplates.get()},t.prototype.scrollHandlerAssets=function(t){"bottom"===t&&this.pageAssets.get()},t.prototype.sortData=function(t){void 0===t&&(t={active:dw.templatesHeaders[0].name,direction:"desc"});var e=this.dataSourceTemplates.displayedColumns.find(function(e){return e.name==t.active}).name;this.initData(e,"asc"!=t.direction)},t.prototype.initData=function(t,e){this.searchCmd.pageOrder=t,this.searchCmd.pageOrderDesc=e,this.searchCmd.companyId=this.detail?this.detail.id:void 0,this.pageTemplates.init(js.baseUrl+dw.templatesUrl,this.searchCmd)},t.prototype.sortDataAssets=function(t){void 0===t&&(t={active:dw.templatesHeaders[0].name,direction:"desc"});var e=this.dataSourceAssets.displayedColumns.find(function(e){return e.name==t.active}).name;this.initDataAssets(e,"asc"!=t.direction)},t.prototype.initDataAssets=function(t,e){this.searchAssetsCmd.pageOrder=t,this.searchAssetsCmd.pageOrderDesc=e,this.searchAssetsCmd.companyId=this.detail?this.detail.id:void 0,this.pageAssets.init(js.baseUrl+dw.assetsUrl,this.searchCmd)},t.prototype.openTemplate=function(t){this.httpService.get(js.baseUrl+dw.templatesUrl+"/"+dw.downloadUrl,{company:this.detail.folder,template:t.file},this.onDownloadSuccess.bind(this,t.file))},t.prototype.openAsset=function(t){this.httpService.get(js.baseUrl+dw.assetsUrl+"/"+dw.downloadUrl,{company:this.detail.folder,asset:t.file},this.onDownloadSuccess.bind(this,t.file))},t.prototype.onDownloadSuccess=function(t,e){window.open(e,"_blank")},t.prototype.printTemplate=function(t,e){var n=this;void 0===e&&(e="pdf"),this.printing=!0;var r="";null!=t.marginT&&void 0!=t.marginT&&(r+="&marginT="+t.marginT+(t.marginT>0?"mm":"")),null!=t.marginR&&void 0!=t.marginR&&(r+="&marginR="+t.marginR+(t.marginR>0?"mm":"")),null!=t.marginB&&void 0!=t.marginB&&(r+="&marginB="+t.marginB+(t.marginB>0?"mm":"")),null!=t.marginL&&void 0!=t.marginL&&(r+="&marginL="+t.marginL+(t.marginL>0?"mm":"")),null!=t.headerH&&void 0!=t.headerH&&(r+="&headerH="+t.headerH+(t.headerH>0?"mm":"")),null!=t.footerH&&void 0!=t.footerH&&(r+="&footerH="+t.footerH+(t.footerH>0?"mm":""));var i=null;try{i=JSON.parse(t.json)}catch(t){return this.printing=!1,void this.snackbar.open("Json non valido.","OK")}this.httpService.postForBuffer(js.baseUrl+"docs?type="+e+"&company="+this.detail.folder+"&template="+t.file+r,null,i,function(t){var r="";switch(e){case"pdf":r="application/pdf";break;case"word":r="application/vnd.openxmlformats-officedocument.wordprocessingml.document";break;case"excel":r="application/vnd.ms-excel"}var i=new Blob([t],{type:r}),o=URL.createObjectURL(i);n.printing=!1,window.open(o)},function(t){n.printing=!1,alert(t)},function(t){n.printing=!1,alert(t)})},t.prototype.deleteTemplate=function(t){var e=this;this.restService.delete(dw.templatesUrl+"/",t.id,{folder:this.detail.folder},null,function(t){e.sortData()},function(t){e.snackbar.open(t||"Si \xe8 verificato un errore durante la cancellazione del template.","DONE",{duration:3e3}),e.sortData()})},t.prototype.deleteAsset=function(t){var e=this;this.restService.delete(dw.assetsUrl+"/",t.id,{folder:this.detail.folder},null,function(t){e.sortDataAssets()},function(t){e.snackbar.open(t||"Si \xe8 verificato un errore durante la cancellazione del file.","DONE",{duration:3e3}),e.sortDataAssets()})},t.prototype.getApiKey=function(){var t=this;this.restService.customGetAction(dw.companiesUrl,"/getApiKey",null,null,function(e){t.detail.apiKey=e.apiKey},function(e){t.snackbar.open(e||"Si \xe8 verificato un errore durante la richiesta di un nuovo API-Key.","DONE",{duration:3e3})})},t.prototype.copyApiKey=function(t){t.select(),document.execCommand("copy"),t.setSelectionRange(0,0),this.snackbarService.show("AT|Valore copiato con successo.")},t}(),IE=function(){function t(t,e){var n=this;this.page=t,this.dialogService=e,this.totalItem=0,this.dataSource=new bE(dw.companiesHeaders),this.searchCmd=new xE,this.searchCtrlForm=new _C,this.searchCtrlForm.valueChanges.subscribe(function(t){n.searchCmd.search=t,n.initData(dw.companiesHeaders[1].name,!1)})}return t.prototype.ngOnInit=function(){var t=this;this.page.OnSuccess.subscribe(function(e){t.totalItem=t.page.getTotalItemsCount(),t.dataSource.refresh(e)})},t.prototype.scrollHandler=function(t){"bottom"===t&&this.page.get()},t.prototype.sortData=function(t){void 0===t&&(t={active:dw.companiesHeaders[1].name,direction:"asc"});var e=this.dataSource.displayedColumns.find(function(e){return e.name==t.active}).name;this.initData(e,"asc"!=t.direction)},t.prototype.clearSearch=function(){this.searchCmd.search=null,this.initData(dw.companiesHeaders[1].name,!1)},t.prototype.initData=function(t,e){this.searchCmd.pageOrder=t,this.searchCmd.pageOrderDesc=e,this.page.init(js.baseUrl+dw.companiesUrl,this.searchCmd)},t.prototype.addCompany=function(){var t=this;this.dialogService.openDialogDetail(EE,null).afterClosed().subscribe(function(e){t.initData(dw.companiesHeaders[1].name,!1)})},t.prototype.openCompany=function(t){var e=this;this.dialogService.openDialogDetail(EE,t).afterClosed().subscribe(function(t){e.initData(dw.companiesHeaders[1].name,!1)})},t}(),OE=oi({encapsulation:0,styles:[[""]],data:{}});function TE(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matSuffix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clearSearch()&&r),r},Xg,$g)),Co(1,16384,[[7,4]],0,HC,[],null,null),Co(2,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(3,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(4,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["close"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,so(e,2).disabled||null,"NoopAnimations"===so(e,2)._animationMode),t(e,3,0,so(e,4).inline)})}function PE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[0].description)})}function DE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openCompany(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.id)})}function AE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[1].description)})}function RE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openCompany(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.description)})}function FE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,aE,lE)),So(6144,null,Rk,null,[eE]),Co(2,49152,null,0,eE,[],null,null)],null,null)}function ME(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,uE,sE)),So(6144,null,Fk,null,[nE]),Co(2,49152,null,0,nE,[],null,null)],null,null)}function NE(t){return Xo(0,[(t()(),Ri(0,0,null,null,37,"mat-table",[["class","table-content mat-table"],["matSort",""],["matSortDirection","asc"],["scrollable",""]],null,[[null,"matSortChange"],[null,"scrollPosition"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"scroll"===e&&(r=!1!==so(t,7).onScroll(n)&&r),"matSortChange"===e&&(r=!1!==i.sortData(n)&&r),"scrollPosition"===e&&(r=!1!==i.scrollHandler(n)&&r),r},oE,iE)),Co(1,2342912,null,4,Wk,[ar,zn,Dn,[8,null],[2,Nc],Pc,Wc],{dataSource:[0,"dataSource"]},null),jo(603979776,8,{_contentColumnDefs:1}),jo(603979776,9,{_contentRowDefs:1}),jo(603979776,10,{_contentHeaderRowDefs:1}),jo(603979776,11,{_contentFooterRowDefs:1}),Co(6,737280,null,0,gk,[],{active:[0,"active"],direction:[1,"direction"]},{sortChange:"matSortChange"}),Co(7,16384,null,0,cE,[Dn],null,{scrollPosition:"scrollPosition"}),(t()(),Ri(8,0,null,null,11,null,null,null,null,null,null,null)),Co(9,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,12,{cell:0}),jo(335544320,13,{headerCell:0}),jo(335544320,14,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,PE)),Co(15,16384,null,0,Zk,[Vn],null,null),So(2048,[[13,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,DE)),Co(18,16384,null,0,Kk,[Vn],null,null),So(2048,[[12,4]],Ck,null,[Kk]),(t()(),Ri(20,0,null,null,11,null,null,null,null,null,null,null)),Co(21,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,15,{cell:0}),jo(335544320,16,{headerCell:0}),jo(335544320,17,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,AE)),Co(27,16384,null,0,Zk,[Vn],null,null),So(2048,[[16,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,RE)),Co(30,16384,null,0,Kk,[Vn],null,null),So(2048,[[15,4]],Ck,null,[Kk]),(t()(),Ai(0,null,null,2,null,FE)),Co(33,540672,null,0,Jk,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[10,4]],Tk,null,[Jk]),(t()(),Ai(0,null,null,2,null,ME)),Co(36,540672,null,0,tE,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[9,4]],Dk,null,[tE])],function(t,e){var n=e.component;t(e,1,0,n.dataSource),t(e,6,0,n.dataSource.displayedColumns[1].name,"asc"),t(e,9,0,n.dataSource.displayedColumns[0].name),t(e,21,0,n.dataSource.displayedColumns[1].name),t(e,33,0,n.dataSource.getColumns()),t(e,36,0,n.dataSource.getColumns())},null)}function LE(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"p",[["style","text-align: center; font-size: 18px; padding: 24px;"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Nessun azienda trovato..."]))],null,null)}function VE(t){return Xo(0,[(t()(),Ri(0,0,null,null,44,"div",[["class","container-main"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,38,"mat-card",[["class","my-card mat-card"]],null,null,null,yE,gE)),Co(2,49152,null,0,hE,[],null,null),(t()(),Ri(3,0,null,0,4,"mat-card-header",[["class","card-header-primary mat-card-header"]],null,null,null,_E,vE)),Co(4,49152,null,0,fE,[],null,null),(t()(),Ri(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Co(6,16384,null,0,pE,[],null,null),(t()(),Zo(7,null,["Aziende (",")"])),(t()(),Ri(8,0,null,0,25,"div",[["class","filter-div"]],null,null,null,null,null)),(t()(),Ri(9,0,null,null,24,"mat-form-field",[["class","primary-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(10,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(18,0,null,0,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matPrefix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,Xg,$g)),Co(19,16384,[[6,4]],0,zC,[],null,null),Co(20,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(21,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(22,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["search"])),(t()(),Ri(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Ricerca azienda"],["style","font-size:15px;"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,25)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,25).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,25)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,25)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,30)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,30)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,30)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.searchCmd.search=n)&&r),r},null,null)),Co(25,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(27,540672,null,0,TC,[[8,null],[8,null],[6,Nw],[2,OC]],{form:[0,"form"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[TC]),Co(29,16384,null,0,hC,[[4,Uw]],null,null),Co(30,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ai(16777216,null,4,1,null,TE)),Co(33,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(34,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Co(35,16384,null,0,dE,[],null,null),(t()(),Ai(16777216,null,null,1,null,NE)),Co(37,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,LE)),Co(39,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(40,16777216,null,null,4,"button",[["class","mat-fab"],["mat-fab",""],["matTooltip","Aggiungi nuovo utente"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0,i=t.component;return"longpress"===e&&(r=!1!==so(t,42).show()&&r),"keydown"===e&&(r=!1!==so(t,42)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==so(t,42)._handleTouchend()&&r),"click"===e&&(r=!1!==i.addCompany()&&r),r},Xg,$g)),Co(41,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),Co(42,147456,null,0,dy,[Ad,Dn,od,jn,ln,Wc,gh,Ih,sy,[2,Nc],[2,cy]],{message:[0,"message"]},null),(t()(),Ri(43,0,null,0,1,"i",[["class","material-icons white-icon"]],null,null,null,null,null)),(t()(),Zo(-1,null,["add"]))],function(t,e){var n=e.component;t(e,22,0),t(e,27,0,n.searchCtrlForm,n.searchCmd.search),t(e,30,0,"Ricerca azienda","text"),t(e,33,0,n.searchCmd.search),t(e,37,0,n.dataSource&&n.dataSource.data&&n.dataSource.data.length>0),t(e,39,0,!n.dataSource.data||n.dataSource.data.length<=0),t(e,42,0,"Aggiungi nuovo utente")},function(t,e){t(e,7,0,e.component.totalItem),t(e,9,1,["standard"==so(e,10).appearance,"fill"==so(e,10).appearance,"outline"==so(e,10).appearance,"legacy"==so(e,10).appearance,so(e,10)._control.errorState,so(e,10)._canLabelFloat,so(e,10)._shouldLabelFloat(),so(e,10)._hideControlPlaceholder(),so(e,10)._control.disabled,so(e,10)._control.autofilled,so(e,10)._control.focused,"accent"==so(e,10).color,"warn"==so(e,10).color,so(e,10)._shouldForward("untouched"),so(e,10)._shouldForward("touched"),so(e,10)._shouldForward("pristine"),so(e,10)._shouldForward("dirty"),so(e,10)._shouldForward("valid"),so(e,10)._shouldForward("invalid"),so(e,10)._shouldForward("pending"),!so(e,10)._animationsEnabled]),t(e,18,0,so(e,20).disabled||null,"NoopAnimations"===so(e,20)._animationMode),t(e,21,0,so(e,22).inline),t(e,24,1,[so(e,29).ngClassUntouched,so(e,29).ngClassTouched,so(e,29).ngClassPristine,so(e,29).ngClassDirty,so(e,29).ngClassValid,so(e,29).ngClassInvalid,so(e,29).ngClassPending,so(e,30)._isServer,so(e,30).id,so(e,30).placeholder,so(e,30).disabled,so(e,30).required,so(e,30).readonly,so(e,30)._ariaDescribedby||null,so(e,30).errorState,so(e,30).required.toString()]),t(e,40,0,so(e,41).disabled||null,"NoopAnimations"===so(e,41)._animationMode)})}var jE=Xi("app-companies",IE,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-companies",[],null,null,null,VE,OE)),Co(1,114688,null,0,IE,[wE,CE],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),zE=function(){},HE=function(t){function e(e,n,r,i){var o=t.call(this,e,i)||this;return o.router=e,o.restService=n,o.dialogRef=r,o.snackbarService=i,o.detail=new zE,o.hide=!0,o}return i(e,t),e.prototype.ngOnInit=function(){this.hide=!0,this.detail||(this.detail=new zE)},e.prototype.save=function(){this.detail.withTimestamp||(this.detail.timestampHashAlgo=null,this.detail.timestampUrl=null,this.detail.timestampUsername=null,this.detail.timestampPassword=null),this.restService.updateOrCreate(dw.signaturesUrl,null,this.detail,this.onSignatureSavedSuccess.bind(this),this.onError.bind(this))},e.prototype.onSignatureSavedSuccess=function(t){this.detail=t,this.snackbarService.show("Firma salvata con successo."),this.dialogRef.close()},e.prototype.onFontNameChanged=function(t){this.detail.fontName=t},e.prototype.copyApiKey=function(t){t.select(),document.execCommand("copy"),t.setSelectionRange(0,0),this.snackbarService.show("AT|Valore copiato con successo.")},e.prototype.close=function(){this.dialogRef.close()},e}(fx),BE=function(){function t(t,e){var n=this;this.page=t,this.dialogService=e,this.totalItem=0,this.dataSource=new bE(dw.signaturesHeaders),this.searchCmd=new xE,this.searchCtrlForm=new _C,this.searchCtrlForm.valueChanges.subscribe(function(t){n.searchCmd.search=t,n.initData(dw.signaturesHeaders[0].name,!1)})}return t.prototype.ngOnInit=function(){var t=this;this.page.OnSuccess.subscribe(function(e){t.totalItem=t.page.getTotalItemsCount(),t.dataSource.refresh(e)})},t.prototype.scrollHandler=function(t){"bottom"===t&&this.page.get()},t.prototype.sortData=function(t){void 0===t&&(t={active:dw.signaturesHeaders[0].name,direction:"asc"});var e=this.dataSource.displayedColumns.find(function(e){return e.name==t.active}).name;this.initData(e,"asc"!=t.direction)},t.prototype.clearSearch=function(){this.searchCmd.search=null,this.initData(dw.signaturesHeaders[0].name,!1)},t.prototype.initData=function(t,e){this.searchCmd.pageOrder=t,this.searchCmd.pageOrderDesc=e,this.page.init(js.baseUrl+dw.signaturesUrl,this.searchCmd)},t.prototype.addSignature=function(){var t=this;this.dialogService.openDialogDetail(HE,null).afterClosed().subscribe(function(e){t.initData(dw.signaturesHeaders[1].name,!1)})},t.prototype.openSignature=function(t){var e=this;this.dialogService.openDialogDetail(HE,t).afterClosed().subscribe(function(t){e.initData(dw.signaturesHeaders[0].name,!1)})},t}(),qE=oi({encapsulation:0,styles:[[""]],data:{}});function UE(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matSuffix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clearSearch()&&r),r},Xg,$g)),Co(1,16384,[[7,4]],0,HC,[],null,null),Co(2,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(3,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(4,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["close"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,so(e,2).disabled||null,"NoopAnimations"===so(e,2)._animationMode),t(e,3,0,so(e,4).inline)})}function WE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[0].description)})}function GE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openSignature(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.signerName)})}function KE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[1].description)})}function ZE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openSignature(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.location)})}function YE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[2].description)})}function $E(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openSignature(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.reason)})}function XE(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[3].description)})}function QE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openSignature(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.deviceUsername)})}function JE(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,aE,lE)),So(6144,null,Rk,null,[eE]),Co(2,49152,null,0,eE,[],null,null)],null,null)}function tI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,uE,sE)),So(6144,null,Fk,null,[nE]),Co(2,49152,null,0,nE,[],null,null)],null,null)}function eI(t){return Xo(0,[(t()(),Ri(0,0,null,null,61,"mat-table",[["class","table-content mat-table"],["matSort",""],["matSortDirection","asc"],["scrollable",""]],null,[[null,"matSortChange"],[null,"scrollPosition"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"scroll"===e&&(r=!1!==so(t,7).onScroll(n)&&r),"matSortChange"===e&&(r=!1!==i.sortData(n)&&r),"scrollPosition"===e&&(r=!1!==i.scrollHandler(n)&&r),r},oE,iE)),Co(1,2342912,null,4,Wk,[ar,zn,Dn,[8,null],[2,Nc],Pc,Wc],{dataSource:[0,"dataSource"]},null),jo(603979776,8,{_contentColumnDefs:1}),jo(603979776,9,{_contentRowDefs:1}),jo(603979776,10,{_contentHeaderRowDefs:1}),jo(603979776,11,{_contentFooterRowDefs:1}),Co(6,737280,null,0,gk,[],{active:[0,"active"],direction:[1,"direction"]},{sortChange:"matSortChange"}),Co(7,16384,null,0,cE,[Dn],null,{scrollPosition:"scrollPosition"}),(t()(),Ri(8,0,null,null,11,null,null,null,null,null,null,null)),Co(9,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,12,{cell:0}),jo(335544320,13,{headerCell:0}),jo(335544320,14,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,WE)),Co(15,16384,null,0,Zk,[Vn],null,null),So(2048,[[13,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,GE)),Co(18,16384,null,0,Kk,[Vn],null,null),So(2048,[[12,4]],Ck,null,[Kk]),(t()(),Ri(20,0,null,null,11,null,null,null,null,null,null,null)),Co(21,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,15,{cell:0}),jo(335544320,16,{headerCell:0}),jo(335544320,17,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,KE)),Co(27,16384,null,0,Zk,[Vn],null,null),So(2048,[[16,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,ZE)),Co(30,16384,null,0,Kk,[Vn],null,null),So(2048,[[15,4]],Ck,null,[Kk]),(t()(),Ri(32,0,null,null,11,null,null,null,null,null,null,null)),Co(33,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,18,{cell:0}),jo(335544320,19,{headerCell:0}),jo(335544320,20,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,YE)),Co(39,16384,null,0,Zk,[Vn],null,null),So(2048,[[19,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,$E)),Co(42,16384,null,0,Kk,[Vn],null,null),So(2048,[[18,4]],Ck,null,[Kk]),(t()(),Ri(44,0,null,null,11,null,null,null,null,null,null,null)),Co(45,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,21,{cell:0}),jo(335544320,22,{headerCell:0}),jo(335544320,23,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,XE)),Co(51,16384,null,0,Zk,[Vn],null,null),So(2048,[[22,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,QE)),Co(54,16384,null,0,Kk,[Vn],null,null),So(2048,[[21,4]],Ck,null,[Kk]),(t()(),Ai(0,null,null,2,null,JE)),Co(57,540672,null,0,Jk,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[10,4]],Tk,null,[Jk]),(t()(),Ai(0,null,null,2,null,tI)),Co(60,540672,null,0,tE,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[9,4]],Dk,null,[tE])],function(t,e){var n=e.component;t(e,1,0,n.dataSource),t(e,6,0,n.dataSource.displayedColumns[0].name,"asc"),t(e,9,0,n.dataSource.displayedColumns[0].name),t(e,21,0,n.dataSource.displayedColumns[1].name),t(e,33,0,n.dataSource.displayedColumns[2].name),t(e,45,0,n.dataSource.displayedColumns[3].name),t(e,57,0,n.dataSource.getColumns()),t(e,60,0,n.dataSource.getColumns())},null)}function nI(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"p",[["style","text-align: center; font-size: 18px; padding: 24px;"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Nessuna firma trovata..."]))],null,null)}function rI(t){return Xo(0,[(t()(),Ri(0,0,null,null,44,"div",[["class","container-main"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,38,"mat-card",[["class","my-card mat-card"]],null,null,null,yE,gE)),Co(2,49152,null,0,hE,[],null,null),(t()(),Ri(3,0,null,0,4,"mat-card-header",[["class","card-header-primary mat-card-header"]],null,null,null,_E,vE)),Co(4,49152,null,0,fE,[],null,null),(t()(),Ri(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Co(6,16384,null,0,pE,[],null,null),(t()(),Zo(7,null,["Firme (",")"])),(t()(),Ri(8,0,null,0,25,"div",[["class","filter-div"]],null,null,null,null,null)),(t()(),Ri(9,0,null,null,24,"mat-form-field",[["class","primary-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(10,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(18,0,null,0,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matPrefix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,Xg,$g)),Co(19,16384,[[6,4]],0,zC,[],null,null),Co(20,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(21,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(22,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["search"])),(t()(),Ri(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Ricerca firme"],["style","font-size:15px;"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,25)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,25).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,25)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,25)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,30)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,30)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,30)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.searchCmd.search=n)&&r),r},null,null)),Co(25,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(27,540672,null,0,TC,[[8,null],[8,null],[6,Nw],[2,OC]],{form:[0,"form"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[TC]),Co(29,16384,null,0,hC,[[4,Uw]],null,null),Co(30,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ai(16777216,null,4,1,null,UE)),Co(33,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(34,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Co(35,16384,null,0,dE,[],null,null),(t()(),Ai(16777216,null,null,1,null,eI)),Co(37,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,nI)),Co(39,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(40,16777216,null,null,4,"button",[["class","mat-fab"],["mat-fab",""],["matTooltip","Aggiungi nuova firma"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0,i=t.component;return"longpress"===e&&(r=!1!==so(t,42).show()&&r),"keydown"===e&&(r=!1!==so(t,42)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==so(t,42)._handleTouchend()&&r),"click"===e&&(r=!1!==i.addSignature()&&r),r},Xg,$g)),Co(41,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),Co(42,147456,null,0,dy,[Ad,Dn,od,jn,ln,Wc,gh,Ih,sy,[2,Nc],[2,cy]],{message:[0,"message"]},null),(t()(),Ri(43,0,null,0,1,"i",[["class","material-icons white-icon"]],null,null,null,null,null)),(t()(),Zo(-1,null,["add"]))],function(t,e){var n=e.component;t(e,22,0),t(e,27,0,n.searchCtrlForm,n.searchCmd.search),t(e,30,0,"Ricerca firme","text"),t(e,33,0,n.searchCmd.search),t(e,37,0,n.dataSource&&n.dataSource.data&&n.dataSource.data.length>0),t(e,39,0,!n.dataSource.data||n.dataSource.data.length<=0),t(e,42,0,"Aggiungi nuova firma")},function(t,e){t(e,7,0,e.component.totalItem),t(e,9,1,["standard"==so(e,10).appearance,"fill"==so(e,10).appearance,"outline"==so(e,10).appearance,"legacy"==so(e,10).appearance,so(e,10)._control.errorState,so(e,10)._canLabelFloat,so(e,10)._shouldLabelFloat(),so(e,10)._hideControlPlaceholder(),so(e,10)._control.disabled,so(e,10)._control.autofilled,so(e,10)._control.focused,"accent"==so(e,10).color,"warn"==so(e,10).color,so(e,10)._shouldForward("untouched"),so(e,10)._shouldForward("touched"),so(e,10)._shouldForward("pristine"),so(e,10)._shouldForward("dirty"),so(e,10)._shouldForward("valid"),so(e,10)._shouldForward("invalid"),so(e,10)._shouldForward("pending"),!so(e,10)._animationsEnabled]),t(e,18,0,so(e,20).disabled||null,"NoopAnimations"===so(e,20)._animationMode),t(e,21,0,so(e,22).inline),t(e,24,1,[so(e,29).ngClassUntouched,so(e,29).ngClassTouched,so(e,29).ngClassPristine,so(e,29).ngClassDirty,so(e,29).ngClassValid,so(e,29).ngClassInvalid,so(e,29).ngClassPending,so(e,30)._isServer,so(e,30).id,so(e,30).placeholder,so(e,30).disabled,so(e,30).required,so(e,30).readonly,so(e,30)._ariaDescribedby||null,so(e,30).errorState,so(e,30).required.toString()]),t(e,40,0,so(e,41).disabled||null,"NoopAnimations"===so(e,41)._animationMode)})}var iI=Xi("app-signatures",BE,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-signatures",[],null,null,null,rI,qE)),Co(1,114688,null,0,BE,[wE,CE],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),oI=function(){},lI=function(t){function e(e,n,r,i){var o=t.call(this,e,i)||this;return o.router=e,o.restService=n,o.dialogRef=r,o.snackbarService=i,o.detail=new oI,o.roles=[],o.companies=[],o.hide=!0,o}return i(e,t),e.prototype.ngOnInit=function(){this.hide=!0,this.detail||(this.detail=new oI),this.restService.customGetAction(dw.usersUrl,dw.rolesPath,null,null,this.onRolesSuccess.bind(this)),this.restService.customGetAction(dw.usersUrl,dw.companiesPath,null,null,this.onCompaniesSuccess.bind(this))},e.prototype.save=function(){this.restService.updateOrCreate(dw.usersUrl,null,this.detail,this.onUserSavedSuccess.bind(this),this.onError.bind(this))},e.prototype.onCompaniesSuccess=function(t){this.companies=t,this.detail.id||null!=this.detail.companyId&&void 0!=this.detail.companyId||(this.detail.companyId=t&&1==t.length?t[0].id:null)},e.prototype.onRolesSuccess=function(t){this.roles=t},e.prototype.onUserSavedSuccess=function(t){this.detail=t,this.snackbarService.show("Utente salvata con successo."),this.dialogRef.close()},e.prototype.onRoleChanged=function(t){this.detail.roleId=t,0==t&&(this.detail.companyId=null)},e.prototype.close=function(){this.dialogRef.close()},e}(fx),aI=function(){function t(t,e){var n=this;this.page=t,this.dialogService=e,this.totalItem=0,this.dataSource=new bE(dw.usersHeaders),this.searchCmd=new xE,this.searchCtrlForm=new _C,this.searchCtrlForm.valueChanges.subscribe(function(t){n.searchCmd.search=t,n.initData(dw.usersHeaders[0].name,!1)})}return t.prototype.ngOnInit=function(){var t=this;this.page.OnSuccess.subscribe(function(e){t.totalItem=t.page.getTotalItemsCount(),t.dataSource.refresh(e)})},t.prototype.scrollHandler=function(t){"bottom"===t&&this.page.get()},t.prototype.sortData=function(t){void 0===t&&(t={active:dw.usersHeaders[0].name,direction:"asc"});var e=this.dataSource.displayedColumns.find(function(e){return e.name==t.active}).name;this.initData(e,"asc"!=t.direction)},t.prototype.clearSearch=function(){this.searchCmd.search=null,this.initData(dw.usersHeaders[0].name,!1)},t.prototype.initData=function(t,e){this.searchCmd.pageOrder=t,this.searchCmd.pageOrderDesc=e,this.page.init(js.baseUrl+dw.usersUrl,this.searchCmd)},t.prototype.addUser=function(){var t=this;this.dialogService.openDialogDetail(lI,null).afterClosed().subscribe(function(e){t.initData(dw.usersHeaders[1].name,!1)})},t.prototype.openUser=function(t){var e=this;this.dialogService.openDialogDetail(lI,t).afterClosed().subscribe(function(t){e.initData(dw.usersHeaders[0].name,!1)})},t}(),sI=oi({encapsulation:0,styles:[[""]],data:{}});function uI(t){return Xo(0,[(t()(),Ri(0,0,null,null,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matSuffix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.clearSearch()&&r),r},Xg,$g)),Co(1,16384,[[7,4]],0,HC,[],null,null),Co(2,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(3,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(4,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["close"]))],function(t,e){t(e,4,0)},function(t,e){t(e,0,0,so(e,2).disabled||null,"NoopAnimations"===so(e,2)._animationMode),t(e,3,0,so(e,4).inline)})}function cI(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[0].description)})}function dI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openUser(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.email)})}function pI(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[1].description)})}function hI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openUser(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.name)})}function fI(t){return Xo(0,[(t()(),Ri(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,"longpress"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,2)._handleClick()&&r),"mouseenter"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"longpress"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!0)&&r),"mouseleave"===e&&(r=!1!==so(t,2)._setIndicatorHintVisible(!1)&&r),r},Uk,qk)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),Co(2,245760,null,0,_k,[yk,zn,[2,gk],[2,Sk]],{id:[0,"id"]},null),(t()(),Zo(3,0,[" "," "]))],function(t,e){t(e,2,0,"")},function(t,e){var n=e.component;t(e,0,0,so(e,2)._getAriaSortAttribute(),so(e,2)._isDisabled()),t(e,3,0,n.dataSource.displayedColumns[2].description)})}function mI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openUser(t.context.$implicit)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.surname)})}function gI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,aE,lE)),So(6144,null,Rk,null,[eE]),Co(2,49152,null,0,eE,[],null,null)],null,null)}function yI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,uE,sE)),So(6144,null,Fk,null,[nE]),Co(2,49152,null,0,nE,[],null,null)],null,null)}function vI(t){return Xo(0,[(t()(),Ri(0,0,null,null,49,"mat-table",[["class","table-content mat-table"],["matSort",""],["matSortDirection","asc"],["scrollable",""]],null,[[null,"matSortChange"],[null,"scrollPosition"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"scroll"===e&&(r=!1!==so(t,7).onScroll(n)&&r),"matSortChange"===e&&(r=!1!==i.sortData(n)&&r),"scrollPosition"===e&&(r=!1!==i.scrollHandler(n)&&r),r},oE,iE)),Co(1,2342912,null,4,Wk,[ar,zn,Dn,[8,null],[2,Nc],Pc,Wc],{dataSource:[0,"dataSource"]},null),jo(603979776,8,{_contentColumnDefs:1}),jo(603979776,9,{_contentRowDefs:1}),jo(603979776,10,{_contentHeaderRowDefs:1}),jo(603979776,11,{_contentFooterRowDefs:1}),Co(6,737280,null,0,gk,[],{active:[0,"active"],direction:[1,"direction"]},{sortChange:"matSortChange"}),Co(7,16384,null,0,cE,[Dn],null,{scrollPosition:"scrollPosition"}),(t()(),Ri(8,0,null,null,11,null,null,null,null,null,null,null)),Co(9,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,12,{cell:0}),jo(335544320,13,{headerCell:0}),jo(335544320,14,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,cI)),Co(15,16384,null,0,Zk,[Vn],null,null),So(2048,[[13,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,dI)),Co(18,16384,null,0,Kk,[Vn],null,null),So(2048,[[12,4]],Ck,null,[Kk]),(t()(),Ri(20,0,null,null,11,null,null,null,null,null,null,null)),Co(21,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,15,{cell:0}),jo(335544320,16,{headerCell:0}),jo(335544320,17,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,pI)),Co(27,16384,null,0,Zk,[Vn],null,null),So(2048,[[16,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,hI)),Co(30,16384,null,0,Kk,[Vn],null,null),So(2048,[[15,4]],Ck,null,[Kk]),(t()(),Ri(32,0,null,null,11,null,null,null,null,null,null,null)),Co(33,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,18,{cell:0}),jo(335544320,19,{headerCell:0}),jo(335544320,20,{footerCell:0}),So(2048,[[8,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,fI)),Co(39,16384,null,0,Zk,[Vn],null,null),So(2048,[[19,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,mI)),Co(42,16384,null,0,Kk,[Vn],null,null),So(2048,[[18,4]],Ck,null,[Kk]),(t()(),Ai(0,null,null,2,null,gI)),Co(45,540672,null,0,Jk,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[10,4]],Tk,null,[Jk]),(t()(),Ai(0,null,null,2,null,yI)),Co(48,540672,null,0,tE,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[9,4]],Dk,null,[tE])],function(t,e){var n=e.component;t(e,1,0,n.dataSource),t(e,6,0,n.dataSource.displayedColumns[0].name,"asc"),t(e,9,0,n.dataSource.displayedColumns[0].name),t(e,21,0,n.dataSource.displayedColumns[1].name),t(e,33,0,n.dataSource.displayedColumns[2].name),t(e,45,0,n.dataSource.getColumns()),t(e,48,0,n.dataSource.getColumns())},null)}function _I(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"p",[["style","text-align: center; font-size: 18px; padding: 24px;"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Nessun utente trovato..."]))],null,null)}function bI(t){return Xo(0,[(t()(),Ri(0,0,null,null,44,"div",[["class","container-main"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,38,"mat-card",[["class","my-card mat-card"]],null,null,null,yE,gE)),Co(2,49152,null,0,hE,[],null,null),(t()(),Ri(3,0,null,0,4,"mat-card-header",[["class","card-header-primary mat-card-header"]],null,null,null,_E,vE)),Co(4,49152,null,0,fE,[],null,null),(t()(),Ri(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Co(6,16384,null,0,pE,[],null,null),(t()(),Zo(7,null,["Utenti (",")"])),(t()(),Ri(8,0,null,0,25,"div",[["class","filter-div"]],null,null,null,null,null)),(t()(),Ri(9,0,null,null,24,"mat-form-field",[["class","primary-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(10,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(18,0,null,0,5,"button",[["aria-label","Clear"],["mat-button",""],["mat-icon-button",""],["matPrefix",""],["style","line-height: 15px;height:auto;width:auto"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,Xg,$g)),Co(19,16384,[[6,4]],0,zC,[],null,null),Co(20,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Ri(21,0,null,0,2,"mat-icon",[["class","mat-icon"],["role","img"],["style","font-size:24px;"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(22,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["search"])),(t()(),Ri(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Ricerca utente"],["style","font-size:15px;"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,25)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,25).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,25)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,25)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,30)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,30)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,30)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.searchCmd.search=n)&&r),r},null,null)),Co(25,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(27,540672,null,0,TC,[[8,null],[8,null],[6,Nw],[2,OC]],{form:[0,"form"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[TC]),Co(29,16384,null,0,hC,[[4,Uw]],null,null),Co(30,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ai(16777216,null,4,1,null,uI)),Co(33,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(34,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Co(35,16384,null,0,dE,[],null,null),(t()(),Ai(16777216,null,null,1,null,vI)),Co(37,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,_I)),Co(39,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(40,16777216,null,null,4,"button",[["class","mat-fab"],["mat-fab",""],["matTooltip","Aggiungi nuovo utente"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0,i=t.component;return"longpress"===e&&(r=!1!==so(t,42).show()&&r),"keydown"===e&&(r=!1!==so(t,42)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==so(t,42)._handleTouchend()&&r),"click"===e&&(r=!1!==i.addUser()&&r),r},Xg,$g)),Co(41,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),Co(42,147456,null,0,dy,[Ad,Dn,od,jn,ln,Wc,gh,Ih,sy,[2,Nc],[2,cy]],{message:[0,"message"]},null),(t()(),Ri(43,0,null,0,1,"i",[["class","material-icons white-icon"]],null,null,null,null,null)),(t()(),Zo(-1,null,["add"]))],function(t,e){var n=e.component;t(e,22,0),t(e,27,0,n.searchCtrlForm,n.searchCmd.search),t(e,30,0,"Ricerca utente","text"),t(e,33,0,n.searchCmd.search),t(e,37,0,n.dataSource&&n.dataSource.data&&n.dataSource.data.length>0),t(e,39,0,!n.dataSource.data||n.dataSource.data.length<=0),t(e,42,0,"Aggiungi nuovo utente")},function(t,e){t(e,7,0,e.component.totalItem),t(e,9,1,["standard"==so(e,10).appearance,"fill"==so(e,10).appearance,"outline"==so(e,10).appearance,"legacy"==so(e,10).appearance,so(e,10)._control.errorState,so(e,10)._canLabelFloat,so(e,10)._shouldLabelFloat(),so(e,10)._hideControlPlaceholder(),so(e,10)._control.disabled,so(e,10)._control.autofilled,so(e,10)._control.focused,"accent"==so(e,10).color,"warn"==so(e,10).color,so(e,10)._shouldForward("untouched"),so(e,10)._shouldForward("touched"),so(e,10)._shouldForward("pristine"),so(e,10)._shouldForward("dirty"),so(e,10)._shouldForward("valid"),so(e,10)._shouldForward("invalid"),so(e,10)._shouldForward("pending"),!so(e,10)._animationsEnabled]),t(e,18,0,so(e,20).disabled||null,"NoopAnimations"===so(e,20)._animationMode),t(e,21,0,so(e,22).inline),t(e,24,1,[so(e,29).ngClassUntouched,so(e,29).ngClassTouched,so(e,29).ngClassPristine,so(e,29).ngClassDirty,so(e,29).ngClassValid,so(e,29).ngClassInvalid,so(e,29).ngClassPending,so(e,30)._isServer,so(e,30).id,so(e,30).placeholder,so(e,30).disabled,so(e,30).required,so(e,30).readonly,so(e,30)._ariaDescribedby||null,so(e,30).errorState,so(e,30).required.toString()]),t(e,40,0,so(e,41).disabled||null,"NoopAnimations"===so(e,41)._animationMode)})}var wI=Xi("app-users",aI,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-users",[],null,null,null,bI,sI)),Co(1,114688,null,0,aI,[wE,CE],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),CI=new vt("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),xI=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),SI=function(t){function e(e){var n=t.call(this)||this;return n._viewContainerRef=e,n.textLabel="",n._contentPortal=null,n._stateChanges=new V,n.position=null,n.origin=null,n.isActive=!1,n}return i(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new Js(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(Ah(function(){})),kI=function(t){function e(e,n,r){var i=t.call(this,e,n)||this;return i._host=r,i._centeringSub=b.EMPTY,i._leavingSub=b.EMPTY,i}return i(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(_u(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(nu),EI=function(){function t(t,e,n){var r=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=b.EMPTY,this._onCentering=new on,this._beforeCentering=new on,this._afterLeavingCenter=new on,this._onCentered=new on(!0),this._dir&&n&&(this._dirChangeSubscription=this._dir.change.subscribe(function(t){r._computePositionAnimationState(t),n.markForCheck()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._onTranslateTabComplete=function(t){this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t}(),II=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return i(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(Ah(function(){})),OI=function(t){function e(e,n,r,i){var o=t.call(this)||this;return o._elementRef=e,o._changeDetectorRef=n,o._viewportRuler=r,o._dir=i,o._scrollDistance=0,o._selectedIndexChanged=!1,o._destroyed=new V,o._showPaginationControls=!1,o._disableScrollAfter=!0,o._disableScrollBefore=!0,o._selectedIndex=0,o.selectFocusedIndex=new on,o.indexFocused=new on,o}return i(e,t),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=jc(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this._updatePagination(),this._tabLabelCount=this._labelWrappers.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())},e.prototype._handleKeydown=function(t){switch(t.keyCode){case 36:this._keyManager.setFirstItemActive(),t.preventDefault();break;case 35:this._keyManager.setLastItemActive(),t.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},e.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:cu(null),n=this._viewportRuler.change(150),r=function(){t._updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new _h(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(r):r(),st(e,n).pipe(ud(this._destroyed)).subscribe(function(){r(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(ud(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._onContentChanges=function(){this._updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()},e.prototype._updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(e.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!0,configurable:!0}),e.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},e.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+e+"px)"},Object.defineProperty(e.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),e.prototype._scrollHeader=function(t){this.scrollDistance+=("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3},e.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var n,r,i=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?r=(n=e.getOffsetLeft())+e.getOffsetWidth():n=(r=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft())-e.getOffsetWidth();var o=this.scrollDistance,l=this.scrollDistance+i;nl&&(this.scrollDistance+=r-l+60)}},e.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},e.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},e.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},e.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},e}(Fh(function(){})),TI=0,PI=function(t){function e(e,n){var r=t.call(this,e)||this;return r._changeDetectorRef=n,r._indexToSelect=0,r._tabBodyWrapperHeight=0,r._tabsSubscription=b.EMPTY,r._tabLabelSubscription=b.EMPTY,r._dynamicHeight=!1,r._selectedIndex=null,r.headerPosition="above",r.selectedIndexChange=new on,r.focusChange=new on,r.animationDone=new on,r.selectedTabChange=new on(!0),r._groupId=TI++,r}return i(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=jc(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,n){return t.isActive=n===e}),n||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(n,r){n.position=r-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n.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-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 RI(t){return Xo(0,[(t()(),Ai(0,null,null,0))],null,null)}function FI(t){return Xo(0,[(t()(),Ai(16777216,null,null,1,null,RI)),Co(1,212992,null,0,nu,[Ye,jn],{portal:[0,"portal"]},null),(t()(),Ai(0,null,null,0))],function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)},null)}function MI(t){return Xo(0,[(t()(),Zo(0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)})}function NI(t){return Xo(0,[(t()(),Ri(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(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._handleClick(t.context.$implicit,so(t.parent,3),t.context.index)&&r),r},null,null)),Co(1,212992,null,0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{disabled:[0,"disabled"]},null),Co(2,147456,null,0,Oh,[Dn,Ih],null,null),Co(3,16384,[[3,4]],0,II,[Dn],{disabled:[0,"disabled"]},null),(t()(),Ri(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,FI)),Co(6,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,MI)),Co(8,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)},function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,so(e,1).unbounded,so(e,3).disabled,!!so(e,3).disabled])})}function LI(t){return Xo(0,[(t()(),Ri(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(t,e,n){var r=!0,i=t.component;return"_onCentered"===e&&(r=!1!==i._removeTabBodyWrapperHeight()&&r),"_onCentering"===e&&(r=!1!==i._setTabBodyWrapperHeight(n)&&r),r},HI,jI)),Co(1,245760,null,0,EI,[Dn,[2,Nc],zn],{_content:[0,"_content"],origin:[1,"origin"],position:[2,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.context.$implicit.position)},function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)})}function VI(t){return Xo(2,[jo(402653184,1,{_tabBodyWrapper:0}),jo(402653184,2,{_tabHeader:0}),(t()(),Ri(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(t,e,n){var r=!0,i=t.component;return"indexFocused"===e&&(r=!1!==i._focusChanged(n)&&r),"selectFocusedIndex"===e&&(r=!1!==(i.selectedIndex=n)&&r),r},qI,BI)),Co(3,3325952,[[2,4],["tabHeader",4]],1,OI,[Dn,zn,ad,[2,Nc]],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),jo(603979776,3,{_labelWrappers:1}),(t()(),Ai(16777216,null,0,1,null,NI)),Co(6,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null),(t()(),Ri(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,LI)),Co(9,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,n.disableRipple,n.selectedIndex),t(e,6,0,n._tabs),t(e,9,0,n._tabs)},function(t,e){t(e,2,0,so(e,3)._showPaginationControls,"rtl"==so(e,3)._getLayoutDirection())})}var jI=oi({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:"500ms 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:"500ms 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:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function zI(t){return Xo(0,[(t()(),Ai(0,null,null,0))],null,null)}function HI(t){return Xo(2,[jo(402653184,1,{_portalHost:0}),(t()(),Ri(1,0,[["content",1]],null,2,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(t,e,n){var r=!0,i=t.component;return"@translateTab.start"===e&&(r=!1!==i._onTranslateTabStarted(n)&&r),"@translateTab.done"===e&&(r=!1!==i._onTranslateTabComplete(n)&&r),r},null,null)),(t()(),Ai(16777216,null,null,1,null,zI)),Co(3,212992,null,0,kI,[Ye,jn,EI],null,null)],function(t,e){t(e,3,0)},function(t,e){t(e,1,0,e.component._position)})}var BI=oi({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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 screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-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 screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.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-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}"],data:{}});function qI(t){return Xo(2,[jo(402653184,1,{_inkBar:0}),jo(402653184,2,{_tabListContainer:0}),jo(402653184,3,{_tabList:0}),(t()(),Ri(3,0,null,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"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._scrollHeader("before")&&r),r},null,null)),Co(4,212992,null,0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{disabled:[0,"disabled"]},null),(t()(),Ri(5,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),Ri(6,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(t,e,n){var r=!0;return"keydown"===e&&(r=!1!==t.component._handleKeydown(n)&&r),r},null,null)),(t()(),Ri(7,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._onContentChanges()&&r),r},null,null)),Co(8,1196032,null,0,gy,[my,Dn,ln],null,{event:"cdkObserveContent"}),(t()(),Ri(9,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),Uo(null,0),(t()(),Ri(11,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),Co(12,16384,[[1,4]],0,xI,[Dn,ln,CI],null,null),(t()(),Ri(13,0,null,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,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component._scrollHeader("after")&&r),r},null,null)),Co(14,212992,null,0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{disabled:[0,"disabled"]},null),(t()(),Ri(15,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n._disableScrollBefore||n.disableRipple),t(e,14,0,n._disableScrollAfter||n.disableRipple)},function(t,e){var n=e.component;t(e,3,0,n._disableScrollBefore,so(e,4).unbounded),t(e,13,0,n._disableScrollAfter,so(e,14).unbounded)})}var UI=oi({encapsulation:2,styles:[],data:{}});function WI(t){return Xo(0,[Uo(null,0),(t()(),Ai(0,null,null,0))],null,null)}function GI(t){return Xo(2,[jo(402653184,1,{_implicitContent:0}),(t()(),Ai(0,[[1,2]],null,0,null,WI))],null,null)}var KI=function(){function t(){this._vertical=!1,this._inset=!1}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=Vc(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inset",{get:function(){return this._inset},set:function(t){this._inset=Vc(t)},enumerable:!0,configurable:!0}),t}(),ZI=function(){},YI=oi({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 $I(t){return Xo(2,[],null,null)}var XI=oi({encapsulation:0,styles:[[".mat-dialog-container[_ngcontent-%COMP%]{padding:0!important}.dialog-title[_ngcontent-%COMP%]{height:50px;line-height:50px;vertical-align:middle}.dialog-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px}.dialog-content[_ngcontent-%COMP%]{position:relative;height:calc(100% - 100px);overflow:auto}.dialog-functions[_ngcontent-%COMP%]{height:50px}.dialog-functions[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{float:right}.full-height-tab-group[_ngcontent-%COMP%], .full-height-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper[_ngcontent-%COMP%]{position:relative!important;height:100%!important}.card-dialog[_ngcontent-%COMP%]{position:relative!important;height:calc(100% - 50px)!important;box-shadow:0 0!important}.card-dialog[_ngcontent-%COMP%] .mat-card-content[_ngcontent-%COMP%]{position:relative!important;height:calc(100% - 40px)!important;overflow:auto!important}.full-height-tab-group[_ngcontent-%COMP%] .mat-tab-body[_ngcontent-%COMP%]{height:calc(100% - 200px)!important}.mat-column-json[_ngcontent-%COMP%]{flex:2!important}[_nghost-%COMP%] .mat-button{min-width:0!important}.cdk-column-id[_ngcontent-%COMP%]{flex:.1!important}.cdk-column-file[_ngcontent-%COMP%]{flex:.5!important}.cdk-column-fileasset[_ngcontent-%COMP%]{flex:.3!important}.cdk-column-dateLastCall[_ngcontent-%COMP%]{flex:.25!important}"]],data:{}});function QI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.getApiKey()&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["New API-Key"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function JI(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.copyApiKey(so(t.parent,69))&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Copy"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function tO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.component.dataSourceTemplates.displayedColumns[0].description)})}function eO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openTemplate(t.context.$implicit)&&r),"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.id)})}function nO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.component.dataSourceTemplates.displayedColumns[1].description)})}function rO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openTemplate(t.context.$implicit)&&r),"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.file)})}function iO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.component.dataSourceTemplates.displayedColumns[2].description)})}function oO(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "])),Ko(128,3,new Array(3))],null,function(t,e){t(e,2,0,ni(e,2,0,t(e,3,0,so(e.parent.parent.parent,0),e.context.$implicit.lastCallDate,"dd/MM/yyyy HH:mm")))})}function lO(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null)],null,null)}function aO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.printTemplate(t.parent.context.$implicit,"pdf")&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Pdf"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function sO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.printTemplate(t.parent.context.$implicit,"word")&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Word"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function uO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.printTemplate(t.parent.context.$implicit,"excel")&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Excel"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function cO(t){return Xo(0,[(t()(),Ri(0,16777216,null,null,2,"i",[["class","material-icons"],["matTooltip","Elimina"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0,i=t.component;return"longpress"===e&&(r=!1!==so(t,1).show()&&r),"keydown"===e&&(r=!1!==so(t,1)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==so(t,1)._handleTouchend()&&r),"click"===e&&(r=!1!==i.deleteTemplate(t.parent.context.$implicit)&&r),r},null,null)),Co(1,147456,null,0,dy,[Ad,Dn,od,jn,ln,Wc,gh,Ih,sy,[2,Nc],[2,cy]],{message:[0,"message"]},null),(t()(),Zo(-1,null,["delete"])),(t()(),Ai(0,null,null,0))],function(t,e){t(e,1,0,"Elimina")},null)}function dO(t){return Xo(0,[(t()(),Ri(0,0,null,null,134,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Ri(2,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(3,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,45,{_control:0}),jo(335544320,46,{_placeholderChild:0}),jo(335544320,47,{_labelChild:0}),jo(603979776,48,{_errorChildren:1}),jo(603979776,49,{_hintChildren:1}),jo(603979776,50,{_prefixChildren:1}),jo(603979776,51,{_suffixChildren:1}),(t()(),Ri(11,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Oggetto"]],[[2,"ng-untouched",null],[2,"ng-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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,12)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,12).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,12)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,12)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,17)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,17)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,17)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.json=n)&&r),r},null,null)),Co(12,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(14,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(16,16384,null,0,hC,[[4,Uw]],null,null),Co(17,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"]},null),So(2048,[[45,4]],VC,null,[dx]),(t()(),Ri(19,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:40px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(20,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,52,{_control:0}),jo(335544320,53,{_placeholderChild:0}),jo(335544320,54,{_labelChild:0}),jo(603979776,55,{_errorChildren:1}),jo(603979776,56,{_hintChildren:1}),jo(603979776,57,{_prefixChildren:1}),jo(603979776,58,{_suffixChildren:1}),(t()(),Ri(28,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Top"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,29)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,29).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,29)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,29)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,30).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,30).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,30).onTouched()&&r),"blur"===e&&(r=!1!==so(t,35)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,35)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,35)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.marginT=n)&&r),r},null,null)),Co(29,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(30,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(32,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(34,16384,null,0,hC,[[4,Uw]],null,null),Co(35,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[52,4]],VC,null,[dx]),(t()(),Ri(37,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:40px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(38,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,59,{_control:0}),jo(335544320,60,{_placeholderChild:0}),jo(335544320,61,{_labelChild:0}),jo(603979776,62,{_errorChildren:1}),jo(603979776,63,{_hintChildren:1}),jo(603979776,64,{_prefixChildren:1}),jo(603979776,65,{_suffixChildren:1}),(t()(),Ri(46,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Right"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,47)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,47).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,47)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,47)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,48).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,48).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,48).onTouched()&&r),"blur"===e&&(r=!1!==so(t,53)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,53)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,53)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.marginR=n)&&r),r},null,null)),Co(47,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(48,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(50,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(52,16384,null,0,hC,[[4,Uw]],null,null),Co(53,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[59,4]],VC,null,[dx]),(t()(),Ri(55,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:60px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(56,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,66,{_control:0}),jo(335544320,67,{_placeholderChild:0}),jo(335544320,68,{_labelChild:0}),jo(603979776,69,{_errorChildren:1}),jo(603979776,70,{_hintChildren:1}),jo(603979776,71,{_prefixChildren:1}),jo(603979776,72,{_suffixChildren:1}),(t()(),Ri(64,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Bottom"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,65)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,65).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,65)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,65)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,66).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,66).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,66).onTouched()&&r),"blur"===e&&(r=!1!==so(t,71)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,71)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,71)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.marginB=n)&&r),r},null,null)),Co(65,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(66,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(68,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(70,16384,null,0,hC,[[4,Uw]],null,null),Co(71,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[66,4]],VC,null,[dx]),(t()(),Ri(73,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:40px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(74,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,73,{_control:0}),jo(335544320,74,{_placeholderChild:0}),jo(335544320,75,{_labelChild:0}),jo(603979776,76,{_errorChildren:1}),jo(603979776,77,{_hintChildren:1}),jo(603979776,78,{_prefixChildren:1}),jo(603979776,79,{_suffixChildren:1}),(t()(),Ri(82,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Left"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,83)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,83).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,83)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,83)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,84).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,84).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,84).onTouched()&&r),"blur"===e&&(r=!1!==so(t,89)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,89)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,89)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.marginL=n)&&r),r},null,null)),Co(83,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(84,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(86,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(88,16384,null,0,hC,[[4,Uw]],null,null),Co(89,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[73,4]],VC,null,[dx]),(t()(),Ri(91,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:60px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(92,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,80,{_control:0}),jo(335544320,81,{_placeholderChild:0}),jo(335544320,82,{_labelChild:0}),jo(603979776,83,{_errorChildren:1}),jo(603979776,84,{_hintChildren:1}),jo(603979776,85,{_prefixChildren:1}),jo(603979776,86,{_suffixChildren:1}),(t()(),Ri(100,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Header"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,101)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,101).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,101)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,101)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,102).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,102).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,102).onTouched()&&r),"blur"===e&&(r=!1!==so(t,107)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,107)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,107)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.headerH=n)&&r),r},null,null)),Co(101,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(102,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(104,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(106,16384,null,0,hC,[[4,Uw]],null,null),Co(107,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[80,4]],VC,null,[dx]),(t()(),Ri(109,0,null,null,17,"mat-form-field",[["class","form-field mat-form-field"],["style","width:60px;top: 8px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(110,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,87,{_control:0}),jo(335544320,88,{_placeholderChild:0}),jo(335544320,89,{_labelChild:0}),jo(603979776,90,{_errorChildren:1}),jo(603979776,91,{_hintChildren:1}),jo(603979776,92,{_prefixChildren:1}),jo(603979776,93,{_suffixChildren:1}),(t()(),Ri(118,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Footer"],["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],[8,"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(t,e,n){var r=!0;return"input"===e&&(r=!1!==so(t,119)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,119).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,119)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,119)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,120).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,120).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,120).onTouched()&&r),"blur"===e&&(r=!1!==so(t,125)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,125)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,125)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(t.context.$implicit.footerH=n)&&r),r},null,null)),Co(119,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(120,16384,null,0,Bw,[Pn,Dn],null,null),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(122,671744,null,0,IC,[[8,null],[8,null],[8,null],[6,Nw]],{model:[0,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(124,16384,null,0,hC,[[4,Uw]],null,null),Co(125,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[87,4]],VC,null,[dx]),(t()(),Ai(16777216,null,null,1,null,aO)),Co(128,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,sO)),Co(130,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,uO)),Co(132,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,cO)),Co(134,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,14,0,e.context.$implicit.json),t(e,17,0,"Oggetto"),t(e,32,0,e.context.$implicit.marginT),t(e,35,0,"Top","number"),t(e,50,0,e.context.$implicit.marginR),t(e,53,0,"Right","number"),t(e,68,0,e.context.$implicit.marginB),t(e,71,0,"Bottom","number"),t(e,86,0,e.context.$implicit.marginL),t(e,89,0,"Left","number"),t(e,104,0,e.context.$implicit.headerH),t(e,107,0,"Header","number"),t(e,122,0,e.context.$implicit.footerH),t(e,125,0,"Footer","number"),t(e,128,0,e.context.$implicit.hover),t(e,130,0,e.context.$implicit.hover),t(e,132,0,e.context.$implicit.hover),t(e,134,0,e.context.$implicit.hover)},function(t,e){t(e,2,1,["standard"==so(e,3).appearance,"fill"==so(e,3).appearance,"outline"==so(e,3).appearance,"legacy"==so(e,3).appearance,so(e,3)._control.errorState,so(e,3)._canLabelFloat,so(e,3)._shouldLabelFloat(),so(e,3)._hideControlPlaceholder(),so(e,3)._control.disabled,so(e,3)._control.autofilled,so(e,3)._control.focused,"accent"==so(e,3).color,"warn"==so(e,3).color,so(e,3)._shouldForward("untouched"),so(e,3)._shouldForward("touched"),so(e,3)._shouldForward("pristine"),so(e,3)._shouldForward("dirty"),so(e,3)._shouldForward("valid"),so(e,3)._shouldForward("invalid"),so(e,3)._shouldForward("pending"),!so(e,3)._animationsEnabled]),t(e,11,1,[so(e,16).ngClassUntouched,so(e,16).ngClassTouched,so(e,16).ngClassPristine,so(e,16).ngClassDirty,so(e,16).ngClassValid,so(e,16).ngClassInvalid,so(e,16).ngClassPending,so(e,17)._isServer,so(e,17).id,so(e,17).placeholder,so(e,17).disabled,so(e,17).required,so(e,17).readonly,so(e,17)._ariaDescribedby||null,so(e,17).errorState,so(e,17).required.toString()]),t(e,19,1,["standard"==so(e,20).appearance,"fill"==so(e,20).appearance,"outline"==so(e,20).appearance,"legacy"==so(e,20).appearance,so(e,20)._control.errorState,so(e,20)._canLabelFloat,so(e,20)._shouldLabelFloat(),so(e,20)._hideControlPlaceholder(),so(e,20)._control.disabled,so(e,20)._control.autofilled,so(e,20)._control.focused,"accent"==so(e,20).color,"warn"==so(e,20).color,so(e,20)._shouldForward("untouched"),so(e,20)._shouldForward("touched"),so(e,20)._shouldForward("pristine"),so(e,20)._shouldForward("dirty"),so(e,20)._shouldForward("valid"),so(e,20)._shouldForward("invalid"),so(e,20)._shouldForward("pending"),!so(e,20)._animationsEnabled]),t(e,28,1,[so(e,34).ngClassUntouched,so(e,34).ngClassTouched,so(e,34).ngClassPristine,so(e,34).ngClassDirty,so(e,34).ngClassValid,so(e,34).ngClassInvalid,so(e,34).ngClassPending,so(e,35)._isServer,so(e,35).id,so(e,35).placeholder,so(e,35).disabled,so(e,35).required,so(e,35).readonly,so(e,35)._ariaDescribedby||null,so(e,35).errorState,so(e,35).required.toString()]),t(e,37,1,["standard"==so(e,38).appearance,"fill"==so(e,38).appearance,"outline"==so(e,38).appearance,"legacy"==so(e,38).appearance,so(e,38)._control.errorState,so(e,38)._canLabelFloat,so(e,38)._shouldLabelFloat(),so(e,38)._hideControlPlaceholder(),so(e,38)._control.disabled,so(e,38)._control.autofilled,so(e,38)._control.focused,"accent"==so(e,38).color,"warn"==so(e,38).color,so(e,38)._shouldForward("untouched"),so(e,38)._shouldForward("touched"),so(e,38)._shouldForward("pristine"),so(e,38)._shouldForward("dirty"),so(e,38)._shouldForward("valid"),so(e,38)._shouldForward("invalid"),so(e,38)._shouldForward("pending"),!so(e,38)._animationsEnabled]),t(e,46,1,[so(e,52).ngClassUntouched,so(e,52).ngClassTouched,so(e,52).ngClassPristine,so(e,52).ngClassDirty,so(e,52).ngClassValid,so(e,52).ngClassInvalid,so(e,52).ngClassPending,so(e,53)._isServer,so(e,53).id,so(e,53).placeholder,so(e,53).disabled,so(e,53).required,so(e,53).readonly,so(e,53)._ariaDescribedby||null,so(e,53).errorState,so(e,53).required.toString()]),t(e,55,1,["standard"==so(e,56).appearance,"fill"==so(e,56).appearance,"outline"==so(e,56).appearance,"legacy"==so(e,56).appearance,so(e,56)._control.errorState,so(e,56)._canLabelFloat,so(e,56)._shouldLabelFloat(),so(e,56)._hideControlPlaceholder(),so(e,56)._control.disabled,so(e,56)._control.autofilled,so(e,56)._control.focused,"accent"==so(e,56).color,"warn"==so(e,56).color,so(e,56)._shouldForward("untouched"),so(e,56)._shouldForward("touched"),so(e,56)._shouldForward("pristine"),so(e,56)._shouldForward("dirty"),so(e,56)._shouldForward("valid"),so(e,56)._shouldForward("invalid"),so(e,56)._shouldForward("pending"),!so(e,56)._animationsEnabled]),t(e,64,1,[so(e,70).ngClassUntouched,so(e,70).ngClassTouched,so(e,70).ngClassPristine,so(e,70).ngClassDirty,so(e,70).ngClassValid,so(e,70).ngClassInvalid,so(e,70).ngClassPending,so(e,71)._isServer,so(e,71).id,so(e,71).placeholder,so(e,71).disabled,so(e,71).required,so(e,71).readonly,so(e,71)._ariaDescribedby||null,so(e,71).errorState,so(e,71).required.toString()]),t(e,73,1,["standard"==so(e,74).appearance,"fill"==so(e,74).appearance,"outline"==so(e,74).appearance,"legacy"==so(e,74).appearance,so(e,74)._control.errorState,so(e,74)._canLabelFloat,so(e,74)._shouldLabelFloat(),so(e,74)._hideControlPlaceholder(),so(e,74)._control.disabled,so(e,74)._control.autofilled,so(e,74)._control.focused,"accent"==so(e,74).color,"warn"==so(e,74).color,so(e,74)._shouldForward("untouched"),so(e,74)._shouldForward("touched"),so(e,74)._shouldForward("pristine"),so(e,74)._shouldForward("dirty"),so(e,74)._shouldForward("valid"),so(e,74)._shouldForward("invalid"),so(e,74)._shouldForward("pending"),!so(e,74)._animationsEnabled]),t(e,82,1,[so(e,88).ngClassUntouched,so(e,88).ngClassTouched,so(e,88).ngClassPristine,so(e,88).ngClassDirty,so(e,88).ngClassValid,so(e,88).ngClassInvalid,so(e,88).ngClassPending,so(e,89)._isServer,so(e,89).id,so(e,89).placeholder,so(e,89).disabled,so(e,89).required,so(e,89).readonly,so(e,89)._ariaDescribedby||null,so(e,89).errorState,so(e,89).required.toString()]),t(e,91,1,["standard"==so(e,92).appearance,"fill"==so(e,92).appearance,"outline"==so(e,92).appearance,"legacy"==so(e,92).appearance,so(e,92)._control.errorState,so(e,92)._canLabelFloat,so(e,92)._shouldLabelFloat(),so(e,92)._hideControlPlaceholder(),so(e,92)._control.disabled,so(e,92)._control.autofilled,so(e,92)._control.focused,"accent"==so(e,92).color,"warn"==so(e,92).color,so(e,92)._shouldForward("untouched"),so(e,92)._shouldForward("touched"),so(e,92)._shouldForward("pristine"),so(e,92)._shouldForward("dirty"),so(e,92)._shouldForward("valid"),so(e,92)._shouldForward("invalid"),so(e,92)._shouldForward("pending"),!so(e,92)._animationsEnabled]),t(e,100,1,[so(e,106).ngClassUntouched,so(e,106).ngClassTouched,so(e,106).ngClassPristine,so(e,106).ngClassDirty,so(e,106).ngClassValid,so(e,106).ngClassInvalid,so(e,106).ngClassPending,so(e,107)._isServer,so(e,107).id,so(e,107).placeholder,so(e,107).disabled,so(e,107).required,so(e,107).readonly,so(e,107)._ariaDescribedby||null,so(e,107).errorState,so(e,107).required.toString()]),t(e,109,1,["standard"==so(e,110).appearance,"fill"==so(e,110).appearance,"outline"==so(e,110).appearance,"legacy"==so(e,110).appearance,so(e,110)._control.errorState,so(e,110)._canLabelFloat,so(e,110)._shouldLabelFloat(),so(e,110)._hideControlPlaceholder(),so(e,110)._control.disabled,so(e,110)._control.autofilled,so(e,110)._control.focused,"accent"==so(e,110).color,"warn"==so(e,110).color,so(e,110)._shouldForward("untouched"),so(e,110)._shouldForward("touched"),so(e,110)._shouldForward("pristine"),so(e,110)._shouldForward("dirty"),so(e,110)._shouldForward("valid"),so(e,110)._shouldForward("invalid"),so(e,110)._shouldForward("pending"),!so(e,110)._animationsEnabled]),t(e,118,1,[so(e,124).ngClassUntouched,so(e,124).ngClassTouched,so(e,124).ngClassPristine,so(e,124).ngClassDirty,so(e,124).ngClassValid,so(e,124).ngClassInvalid,so(e,124).ngClassPending,so(e,125)._isServer,so(e,125).id,so(e,125).placeholder,so(e,125).disabled,so(e,125).required,so(e,125).readonly,so(e,125)._ariaDescribedby||null,so(e,125).errorState,so(e,125).required.toString()])})}function pO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,aE,lE)),So(6144,null,Rk,null,[eE]),Co(2,49152,null,0,eE,[],null,null)],null,null)}function hO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,uE,sE)),So(6144,null,Fk,null,[nE]),Co(2,49152,null,0,nE,[],null,null)],null,null)}function fO(t){return Xo(0,[(t()(),Ri(0,0,null,null,60,"mat-table",[["class","table-content mat-table"],["scrollable",""]],null,[[null,"matSortChange"],[null,"scrollPosition"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"scroll"===e&&(r=!1!==so(t,6).onScroll(n)&&r),"matSortChange"===e&&(r=!1!==i.sortData(n)&&r),"scrollPosition"===e&&(r=!1!==i.scrollHandler(n)&&r),r},oE,iE)),Co(1,2342912,null,4,Wk,[ar,zn,Dn,[8,null],[2,Nc],Pc,Wc],{dataSource:[0,"dataSource"]},null),jo(603979776,29,{_contentColumnDefs:1}),jo(603979776,30,{_contentRowDefs:1}),jo(603979776,31,{_contentHeaderRowDefs:1}),jo(603979776,32,{_contentFooterRowDefs:1}),Co(6,16384,null,0,cE,[Dn],null,{scrollPosition:"scrollPosition"}),(t()(),Ri(7,0,null,null,11,null,null,null,null,null,null,null)),Co(8,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,33,{cell:0}),jo(335544320,34,{headerCell:0}),jo(335544320,35,{footerCell:0}),So(2048,[[29,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,tO)),Co(14,16384,null,0,Zk,[Vn],null,null),So(2048,[[34,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,eO)),Co(17,16384,null,0,Kk,[Vn],null,null),So(2048,[[33,4]],Ck,null,[Kk]),(t()(),Ri(19,0,null,null,11,null,null,null,null,null,null,null)),Co(20,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,36,{cell:0}),jo(335544320,37,{headerCell:0}),jo(335544320,38,{footerCell:0}),So(2048,[[29,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,nO)),Co(26,16384,null,0,Zk,[Vn],null,null),So(2048,[[37,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,rO)),Co(29,16384,null,0,Kk,[Vn],null,null),So(2048,[[36,4]],Ck,null,[Kk]),(t()(),Ri(31,0,null,null,11,null,null,null,null,null,null,null)),Co(32,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,39,{cell:0}),jo(335544320,40,{headerCell:0}),jo(335544320,41,{footerCell:0}),So(2048,[[29,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,iO)),Co(38,16384,null,0,Zk,[Vn],null,null),So(2048,[[40,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,oO)),Co(41,16384,null,0,Kk,[Vn],null,null),So(2048,[[39,4]],Ck,null,[Kk]),(t()(),Ri(43,0,null,null,11,null,null,null,null,null,null,null)),Co(44,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,42,{cell:0}),jo(335544320,43,{headerCell:0}),jo(335544320,44,{footerCell:0}),So(2048,[[29,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,lO)),Co(50,16384,null,0,Zk,[Vn],null,null),So(2048,[[43,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,dO)),Co(53,16384,null,0,Kk,[Vn],null,null),So(2048,[[42,4]],Ck,null,[Kk]),(t()(),Ai(0,null,null,2,null,pO)),Co(56,540672,null,0,Jk,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[31,4]],Tk,null,[Jk]),(t()(),Ai(0,null,null,2,null,hO)),Co(59,540672,null,0,tE,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[30,4]],Dk,null,[tE])],function(t,e){var n=e.component;t(e,1,0,n.dataSourceTemplates),t(e,8,0,n.dataSourceTemplates.displayedColumns[0].name),t(e,20,0,n.dataSourceTemplates.displayedColumns[1].name),t(e,32,0,n.dataSourceTemplates.displayedColumns[2].name),t(e,44,0,n.dataSourceTemplates.displayedColumns[3].name),t(e,56,0,n.dataSourceTemplates.getColumns()),t(e,59,0,n.dataSourceTemplates.getColumns())},null)}function mO(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"p",[["style","text-align: center; font-size: 18px; padding: 24px;"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Nessun template trovato..."]))],null,null)}function gO(t){return Xo(0,[(t()(),Ri(0,16777216,null,null,22,"mat-tab",[["label","Template"]],null,null,null,GI,UI)),Co(1,770048,[[3,4]],2,SI,[jn],{textLabel:[0,"textLabel"]},null),jo(335544320,27,{templateLabel:0}),jo(335544320,28,{_explicitContent:0}),(t()(),Ri(4,0,null,0,12,"mat-card",[["class","card-dialog mat-card"]],null,null,null,yE,gE)),Co(5,49152,null,0,hE,[],null,null),(t()(),Ri(6,0,null,0,4,"mat-card-header",[["class","card-header-primary mat-card-header"]],null,null,null,_E,vE)),Co(7,49152,null,0,fE,[],null,null),(t()(),Ri(8,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Co(9,16384,null,0,pE,[],null,null),(t()(),Zo(10,null,["Template (",")"])),(t()(),Ri(11,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Co(12,16384,null,0,dE,[],null,null),(t()(),Ai(16777216,null,null,1,null,fO)),Co(14,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,mO)),Co(16,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(17,0,null,0,4,"button",[["class","upload-btn"],["color","primary"],["mat-fab",""],["style","right:70px;"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,22).click()&&r),r},Xg,$g)),Co(18,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],{color:[0,"color"]},null),(t()(),Ri(19,0,null,0,2,"mat-icon",[["class","white-icon mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(20,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["file_upload"])),(t()(),Ri(22,0,[[2,0],["file",1]],0,0,"input",[["id","file"],["type","file"]],[[4,"display",null]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.upload()&&r),r},null,null)),(t()(),Ai(0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,"Template"),t(e,14,0,n.dataSourceTemplates&&n.dataSourceTemplates.data&&n.dataSourceTemplates.data.length>0),t(e,16,0,!n.dataSourceTemplates.data||n.dataSourceTemplates.data.length<=0),t(e,18,0,"primary"),t(e,20,0)},function(t,e){t(e,10,0,e.component.totalItem),t(e,17,0,so(e,18).disabled||null,"NoopAnimations"===so(e,18)._animationMode),t(e,19,0,so(e,20).inline),t(e,22,0,"none")})}function yO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.component.dataSourceAssets.displayedColumns[0].description)})}function vO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openAsset(t.context.$implicit)&&r),"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.id)})}function _O(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.component.dataSourceAssets.displayedColumns[1].description)})}function bO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.openAsset(t.context.$implicit)&&r),"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Zo(2,null,[" "," "]))],null,function(t,e){t(e,2,0,e.context.$implicit.file)})}function wO(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Co(1,16384,null,0,$k,[Sk,Dn],null,null)],null,null)}function CO(t){return Xo(0,[(t()(),Ri(0,16777216,null,null,2,"i",[["class","material-icons"],["matTooltip","Elimina"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var r=!0,i=t.component;return"longpress"===e&&(r=!1!==so(t,1).show()&&r),"keydown"===e&&(r=!1!==so(t,1)._handleKeydown(n)&&r),"touchend"===e&&(r=!1!==so(t,1)._handleTouchend()&&r),"click"===e&&(r=!1!==i.deleteAsset(t.parent.context.$implicit)&&r),r},null,null)),Co(1,147456,null,0,dy,[Ad,Dn,od,jn,ln,Wc,gh,Ih,sy,[2,Nc],[2,cy]],{message:[0,"message"]},null),(t()(),Zo(-1,null,["delete"])),(t()(),Ai(0,null,null,0))],function(t,e){t(e,1,0,"Elimina")},null)}function xO(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,[[null,"mouseenter"],[null,"mouseleave"]],function(t,e,n){var r=!0;return"mouseenter"===e&&(r=0!=(t.context.$implicit.hover=!0)&&r),"mouseleave"===e&&(r=0!=(t.context.$implicit.hover=!1)&&r),r},null,null)),Co(1,16384,null,0,Xk,[Sk,Dn],null,null),(t()(),Ai(16777216,null,null,1,null,CO)),Co(3,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,3,0,e.context.$implicit.hover)},null)}function SO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,aE,lE)),So(6144,null,Rk,null,[eE]),Co(2,49152,null,0,eE,[],null,null)],null,null)}function kO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,uE,sE)),So(6144,null,Fk,null,[nE]),Co(2,49152,null,0,nE,[],null,null)],null,null)}function EO(t){return Xo(0,[(t()(),Ri(0,0,null,null,48,"mat-table",[["class","table-content mat-table"],["scrollable",""]],null,[[null,"matSortChange"],[null,"scrollPosition"],[null,"scroll"]],function(t,e,n){var r=!0,i=t.component;return"scroll"===e&&(r=!1!==so(t,6).onScroll(n)&&r),"matSortChange"===e&&(r=!1!==i.sortDataAssets(n)&&r),"scrollPosition"===e&&(r=!1!==i.scrollHandlerAssets(n)&&r),r},oE,iE)),Co(1,2342912,null,4,Wk,[ar,zn,Dn,[8,null],[2,Nc],Pc,Wc],{dataSource:[0,"dataSource"]},null),jo(603979776,96,{_contentColumnDefs:1}),jo(603979776,97,{_contentRowDefs:1}),jo(603979776,98,{_contentHeaderRowDefs:1}),jo(603979776,99,{_contentFooterRowDefs:1}),Co(6,16384,null,0,cE,[Dn],null,{scrollPosition:"scrollPosition"}),(t()(),Ri(7,0,null,null,11,null,null,null,null,null,null,null)),Co(8,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,100,{cell:0}),jo(335544320,101,{headerCell:0}),jo(335544320,102,{footerCell:0}),So(2048,[[96,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,yO)),Co(14,16384,null,0,Zk,[Vn],null,null),So(2048,[[101,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,vO)),Co(17,16384,null,0,Kk,[Vn],null,null),So(2048,[[100,4]],Ck,null,[Kk]),(t()(),Ri(19,0,null,null,11,null,null,null,null,null,null,null)),Co(20,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,103,{cell:0}),jo(335544320,104,{headerCell:0}),jo(335544320,105,{footerCell:0}),So(2048,[[96,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,_O)),Co(26,16384,null,0,Zk,[Vn],null,null),So(2048,[[104,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,bO)),Co(29,16384,null,0,Kk,[Vn],null,null),So(2048,[[103,4]],Ck,null,[Kk]),(t()(),Ri(31,0,null,null,11,null,null,null,null,null,null,null)),Co(32,16384,null,3,Yk,[],{name:[0,"name"]},null),jo(335544320,106,{cell:0}),jo(335544320,107,{headerCell:0}),jo(335544320,108,{footerCell:0}),So(2048,[[96,4]],Sk,null,[Yk]),(t()(),Ai(0,null,null,2,null,wO)),Co(38,16384,null,0,Zk,[Vn],null,null),So(2048,[[107,4]],xk,null,[Zk]),(t()(),Ai(0,null,null,2,null,xO)),Co(41,16384,null,0,Kk,[Vn],null,null),So(2048,[[106,4]],Ck,null,[Kk]),(t()(),Ai(0,null,null,2,null,SO)),Co(44,540672,null,0,Jk,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[98,4]],Tk,null,[Jk]),(t()(),Ai(0,null,null,2,null,kO)),Co(47,540672,null,0,tE,[Vn,ar],{columns:[0,"columns"]},null),So(2048,[[97,4]],Dk,null,[tE])],function(t,e){var n=e.component;t(e,1,0,n.dataSourceAssets),t(e,8,0,n.dataSourceAssets.displayedColumns[0].name),t(e,20,0,n.dataSourceAssets.displayedColumns[1].name),t(e,32,0,n.dataSourceAssets.displayedColumns[2].name),t(e,44,0,n.dataSourceAssets.getColumns()),t(e,47,0,n.dataSourceAssets.getColumns())},null)}function IO(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"p",[["style","text-align: center; font-size: 18px; padding: 24px;"]],null,null,null,null,null)),(t()(),Zo(-1,null,[" Nessun allegato trovato..."]))],null,null)}function OO(t){return Xo(0,[(t()(),Ri(0,16777216,null,null,22,"mat-tab",[["label","Allegati"]],null,null,null,GI,UI)),Co(1,770048,[[3,4]],2,SI,[jn],{textLabel:[0,"textLabel"]},null),jo(335544320,94,{templateLabel:0}),jo(335544320,95,{_explicitContent:0}),(t()(),Ri(4,0,null,0,12,"mat-card",[["class","card-dialog mat-card"]],null,null,null,yE,gE)),Co(5,49152,null,0,hE,[],null,null),(t()(),Ri(6,0,null,0,4,"mat-card-header",[["class","card-header-primary mat-card-header"]],null,null,null,_E,vE)),Co(7,49152,null,0,fE,[],null,null),(t()(),Ri(8,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Co(9,16384,null,0,pE,[],null,null),(t()(),Zo(10,null,["Allegati (",")"])),(t()(),Ri(11,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Co(12,16384,null,0,dE,[],null,null),(t()(),Ai(16777216,null,null,1,null,EO)),Co(14,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,IO)),Co(16,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(17,0,null,0,4,"button",[["class","upload-btn"],["color","primary"],["mat-fab",""],["style","right:70px;"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,22).click()&&r),r},Xg,$g)),Co(18,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],{color:[0,"color"]},null),(t()(),Ri(19,0,null,0,2,"mat-icon",[["class","white-icon mat-icon"],["role","img"]],[[2,"mat-icon-inline",null]],null,null,mk,fk)),Co(20,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(-1,0,["file_upload"])),(t()(),Ri(22,0,[[1,0],["fileAsset",1]],0,0,"input",[["id","fileAsset"],["type","file"]],[[4,"display",null]],[[null,"change"]],function(t,e,n){var r=!0;return"change"===e&&(r=!1!==t.component.uploadAsset()&&r),r},null,null)),(t()(),Ai(0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,"Allegati"),t(e,14,0,n.dataSourceAssets&&n.dataSourceAssets.data&&n.dataSourceAssets.data.length>0),t(e,16,0,!n.dataSourceAssets.data||n.dataSourceAssets.data.length<=0),t(e,18,0,"primary"),t(e,20,0)},function(t,e){t(e,10,0,e.component.totalItemAssets),t(e,17,0,so(e,18).disabled||null,"NoopAnimations"===so(e,18)._animationMode),t(e,19,0,so(e,20).inline),t(e,22,0,"none")})}function TO(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"div",[["style","display: table;position: absolute;top:0px;left:0px;height: 100%;width: 100%;background-color:rgba(0, 0, 0, 0.5);z-index: 1000;"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,2,"div",[["style","height: 100px;width: 100px; position: absolute;top:0;left:0;right: 0;bottom: 0;margin: auto;vertical-align: middle;display: table-cell;z-index: 2000"]],null,null,null,null,null)),(t()(),Ri(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,WS,BS)),Co(3,49152,null,0,zS,[Dn,Wc,[2,Pc],[2,Zg],jS],null,null)],null,function(t,e){t(e,2,0,so(e,3)._noopAnimations,so(e,3).diameter,so(e,3).diameter)})}function PO(t){return Xo(0,[xo(0,Oc,[hr]),jo(671088640,1,{fileAssetInput:0}),jo(671088640,2,{fileTemplateInput:0}),(t()(),Ri(3,0,null,null,2,"div",[["class","dialog-title"]],null,null,null,null,null)),(t()(),Ri(4,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(5,null,[" Dettaglio azienda [","] "])),(t()(),Ri(6,0,null,null,78,"div",[["class","dialog-content"]],null,null,null,null,null)),(t()(),Ri(7,0,null,null,77,"mat-tab-group",[["class","full-height-tab-group mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,VI,AI)),Co(8,3325952,null,1,PI,[Dn,zn],null,null),jo(603979776,3,{_tabs:1}),(t()(),Ri(10,16777216,null,null,70,"mat-tab",[["label","Informazioni generali"]],null,null,null,GI,UI)),Co(11,770048,[[3,4]],2,SI,[jn],{textLabel:[0,"textLabel"]},null),jo(335544320,4,{templateLabel:0}),jo(335544320,5,{_explicitContent:0}),(t()(),Ri(14,0,null,0,66,"form",[["name","formCompany"],["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(t,e,n){var r=!0;return"submit"===e&&(r=!1!==so(t,16).onSubmit(n)&&r),"reset"===e&&(r=!1!==so(t,16).onReset()&&r),r},null,null)),Co(15,16384,null,0,FC,[],null,null),Co(16,4210688,[["formCompany",4]],0,xC,[[8,null],[8,null]],null,null),So(2048,null,Iw,null,[xC]),Co(18,16384,null,0,fC,[[4,Iw]],null,null),(t()(),Ri(19,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(20,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(21,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,6,{_control:0}),jo(335544320,7,{_placeholderChild:0}),jo(335544320,8,{_labelChild:0}),jo(603979776,9,{_errorChildren:1}),jo(603979776,10,{_hintChildren:1}),jo(603979776,11,{_prefixChildren:1}),jo(603979776,12,{_suffixChildren:1}),(t()(),Ri(29,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","description"],["placeholder","Descrizione"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,30)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,30).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,30)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,30)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,37)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,37)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,37)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.description=n)&&r),r},null,null)),Co(30,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(31,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(34,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(36,16384,null,0,hC,[[4,Uw]],null,null),Co(37,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[6,4]],VC,null,[dx]),(t()(),Ri(39,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(40,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(41,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,13,{_control:0}),jo(335544320,14,{_placeholderChild:0}),jo(335544320,15,{_labelChild:0}),jo(603979776,16,{_errorChildren:1}),jo(603979776,17,{_hintChildren:1}),jo(603979776,18,{_prefixChildren:1}),jo(603979776,19,{_suffixChildren:1}),(t()(),Ri(49,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","folder"],["placeholder","Folder"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,50)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,50).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,50)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,50)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,57)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,57)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,57)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.folder=n)&&r),r},null,null)),Co(50,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(51,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(54,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(56,16384,null,0,hC,[[4,Uw]],null,null),Co(57,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),So(2048,[[13,4]],VC,null,[dx]),(t()(),Ri(59,0,null,null,21,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(60,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 350px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(61,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,20,{_control:0}),jo(335544320,21,{_placeholderChild:0}),jo(335544320,22,{_labelChild:0}),jo(603979776,23,{_errorChildren:1}),jo(603979776,24,{_hintChildren:1}),jo(603979776,25,{_prefixChildren:1}),jo(603979776,26,{_suffixChildren:1}),(t()(),Ri(69,0,[["apiKey",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","apiKey"],["placeholder","API-Key"],["readonly","readonly"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,70)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,70).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,70)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,70)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,75)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,75)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,75)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.apiKey=n)&&r),r},null,null)),Co(70,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(72,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(74,16384,null,0,hC,[[4,Uw]],null,null),Co(75,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),So(2048,[[20,4]],VC,null,[dx]),(t()(),Ai(16777216,null,null,1,null,QI)),Co(78,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,JI)),Co(80,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,gO)),Co(82,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ai(16777216,null,null,1,null,OO)),Co(84,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(85,0,null,null,8,"div",[["class","dialog-functions"]],null,null,null,null,null)),(t()(),Ri(86,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,$I,YI)),Co(87,49152,null,0,KI,[],null,null),(t()(),Ri(88,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.close()&&r),r},Xg,$g)),Co(89,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Chiudi"])),(t()(),Ri(91,0,null,null,2,"button",[["color","primary"],["mat-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(so(t,16).form.valid?i.save():null)&&r),r},Xg,$g)),Co(92,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],{color:[0,"color"]},null),(t()(),Zo(-1,0,["Salva"])),(t()(),Ai(16777216,null,null,1,null,TO)),Co(95,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,11,0,"Informazioni generali"),t(e,31,0,""),t(e,34,0,"description",n.detail.description),t(e,37,0,"Descrizione","","text"),t(e,51,0,""),t(e,54,0,"folder",n.detail.id,n.detail.folder),t(e,57,0,n.detail.id,"Folder","","text"),t(e,72,0,"apiKey",n.detail.apiKey),t(e,75,0,"API-Key","text","readonly"),t(e,78,0,!n.detail.apiKey),t(e,80,0,n.detail.apiKey),t(e,82,0,n.detail.id),t(e,84,0,n.detail.id),t(e,92,0,"primary"),t(e,95,0,n.printing)},function(t,e){t(e,5,0,e.component.detail.id),t(e,7,0,so(e,8).dynamicHeight,"below"===so(e,8).headerPosition),t(e,14,0,so(e,18).ngClassUntouched,so(e,18).ngClassTouched,so(e,18).ngClassPristine,so(e,18).ngClassDirty,so(e,18).ngClassValid,so(e,18).ngClassInvalid,so(e,18).ngClassPending),t(e,20,1,["standard"==so(e,21).appearance,"fill"==so(e,21).appearance,"outline"==so(e,21).appearance,"legacy"==so(e,21).appearance,so(e,21)._control.errorState,so(e,21)._canLabelFloat,so(e,21)._shouldLabelFloat(),so(e,21)._hideControlPlaceholder(),so(e,21)._control.disabled,so(e,21)._control.autofilled,so(e,21)._control.focused,"accent"==so(e,21).color,"warn"==so(e,21).color,so(e,21)._shouldForward("untouched"),so(e,21)._shouldForward("touched"),so(e,21)._shouldForward("pristine"),so(e,21)._shouldForward("dirty"),so(e,21)._shouldForward("valid"),so(e,21)._shouldForward("invalid"),so(e,21)._shouldForward("pending"),!so(e,21)._animationsEnabled]),t(e,29,1,[so(e,31).required?"":null,so(e,36).ngClassUntouched,so(e,36).ngClassTouched,so(e,36).ngClassPristine,so(e,36).ngClassDirty,so(e,36).ngClassValid,so(e,36).ngClassInvalid,so(e,36).ngClassPending,so(e,37)._isServer,so(e,37).id,so(e,37).placeholder,so(e,37).disabled,so(e,37).required,so(e,37).readonly,so(e,37)._ariaDescribedby||null,so(e,37).errorState,so(e,37).required.toString()]),t(e,40,1,["standard"==so(e,41).appearance,"fill"==so(e,41).appearance,"outline"==so(e,41).appearance,"legacy"==so(e,41).appearance,so(e,41)._control.errorState,so(e,41)._canLabelFloat,so(e,41)._shouldLabelFloat(),so(e,41)._hideControlPlaceholder(),so(e,41)._control.disabled,so(e,41)._control.autofilled,so(e,41)._control.focused,"accent"==so(e,41).color,"warn"==so(e,41).color,so(e,41)._shouldForward("untouched"),so(e,41)._shouldForward("touched"),so(e,41)._shouldForward("pristine"),so(e,41)._shouldForward("dirty"),so(e,41)._shouldForward("valid"),so(e,41)._shouldForward("invalid"),so(e,41)._shouldForward("pending"),!so(e,41)._animationsEnabled]),t(e,49,1,[so(e,51).required?"":null,so(e,56).ngClassUntouched,so(e,56).ngClassTouched,so(e,56).ngClassPristine,so(e,56).ngClassDirty,so(e,56).ngClassValid,so(e,56).ngClassInvalid,so(e,56).ngClassPending,so(e,57)._isServer,so(e,57).id,so(e,57).placeholder,so(e,57).disabled,so(e,57).required,so(e,57).readonly,so(e,57)._ariaDescribedby||null,so(e,57).errorState,so(e,57).required.toString()]),t(e,60,1,["standard"==so(e,61).appearance,"fill"==so(e,61).appearance,"outline"==so(e,61).appearance,"legacy"==so(e,61).appearance,so(e,61)._control.errorState,so(e,61)._canLabelFloat,so(e,61)._shouldLabelFloat(),so(e,61)._hideControlPlaceholder(),so(e,61)._control.disabled,so(e,61)._control.autofilled,so(e,61)._control.focused,"accent"==so(e,61).color,"warn"==so(e,61).color,so(e,61)._shouldForward("untouched"),so(e,61)._shouldForward("touched"),so(e,61)._shouldForward("pristine"),so(e,61)._shouldForward("dirty"),so(e,61)._shouldForward("valid"),so(e,61)._shouldForward("invalid"),so(e,61)._shouldForward("pending"),!so(e,61)._animationsEnabled]),t(e,69,1,[so(e,74).ngClassUntouched,so(e,74).ngClassTouched,so(e,74).ngClassPristine,so(e,74).ngClassDirty,so(e,74).ngClassValid,so(e,74).ngClassInvalid,so(e,74).ngClassPending,so(e,75)._isServer,so(e,75).id,so(e,75).placeholder,so(e,75).disabled,so(e,75).required,so(e,75).readonly,so(e,75)._ariaDescribedby||null,so(e,75).errorState,so(e,75).required.toString()]),t(e,86,0,so(e,87).vertical?"vertical":"horizontal",so(e,87).vertical,!so(e,87).vertical,so(e,87).inset),t(e,88,0,so(e,89).disabled||null,"NoopAnimations"===so(e,89)._animationMode),t(e,91,0,so(e,92).disabled||null,"NoopAnimations"===so(e,92)._animationMode)})}var DO=Xi("app-company-detail",EE,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,3,"app-company-detail",[],null,null,null,PO,XI)),So(512,null,"pageTemplates",wE,[aw,G_]),So(512,null,"pageAssets",wE,[aw,G_]),Co(3,114688,null,0,EE,["pageTemplates","pageAssets",sw,aw,qd,If,Dn,hx],null,null)],function(t,e){t(e,3,0)},null)},{},{},[]),AO=oi({encapsulation:0,styles:[[""]],data:{}});function RO(t){return Xo(0,[(t()(),Ri(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(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,1)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==so(t,1)._handleKeydown(n)&&r),r},Qx,$x)),Co(1,8568832,[[36,4]],0,tf,[Dn,zn,[2,Jh],[2,$h]],{value:[0,"value"]},null),(t()(),Zo(2,0,[" "," "]))],function(t,e){t(e,1,0,e.context.$implicit.id)},function(t,e){t(e,0,0,so(e,1)._getTabIndex(),so(e,1).selected,so(e,1).multiple,so(e,1).active,so(e,1).id,so(e,1).selected.toString(),so(e,1).disabled.toString(),so(e,1).disabled),t(e,2,0,e.context.$implicit.description)})}function FO(t){return Xo(0,[(t()(),Ri(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(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,1)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==so(t,1)._handleKeydown(n)&&r),r},Qx,$x)),Co(1,8568832,[[46,4]],0,tf,[Dn,zn,[2,Jh],[2,$h]],{value:[0,"value"]},null),(t()(),Zo(2,0,[" "," "]))],function(t,e){t(e,1,0,e.context.$implicit.id)},function(t,e){t(e,0,0,so(e,1)._getTabIndex(),so(e,1).selected,so(e,1).multiple,so(e,1).active,so(e,1).id,so(e,1).selected.toString(),so(e,1).disabled.toString(),so(e,1).disabled),t(e,2,0,e.context.$implicit.description)})}function MO(t){return Xo(0,[(t()(),Ri(0,0,null,null,18,"p",[["style","margin-left:15px"]],null,null,null,null,null)),(t()(),Ri(1,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-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(2,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,39,{_control:0}),jo(335544320,40,{_placeholderChild:0}),jo(335544320,41,{_labelChild:0}),jo(603979776,42,{_errorChildren:1}),jo(603979776,43,{_hintChildren:1}),jo(603979776,44,{_prefixChildren:1}),jo(603979776,45,{_suffixChildren:1}),(t()(),Ri(10,0,null,1,8,"mat-select",[["class","mat-select"],["placeholder","Azienda"],["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]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==so(t,12)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==so(t,12)._onFocus()&&r),"blur"===e&&(r=!1!==so(t,12)._onBlur()&&r),"valueChange"===e&&(r=!1!==(i.detail.companyId=n)&&r),r},NS,PS)),So(6144,null,Jh,null,[OS]),Co(12,2080768,null,3,OS,[ad,zn,ln,Lh,Dn,[2,Nc],[2,xC],[2,PC],[2,WC],[8,null],[8,null],ES],{placeholder:[0,"placeholder"],required:[1,"required"],value:[2,"value"]},{valueChange:"valueChange"}),jo(603979776,46,{options:1}),jo(603979776,47,{optionGroups:1}),jo(335544320,48,{customTrigger:0}),So(2048,[[39,4]],VC,null,[OS]),(t()(),Ai(16777216,null,1,1,null,FO)),Co(18,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,12,0,"Azienda",0!=n.detail.roleId,n.detail.companyId),t(e,18,0,n.companies)},function(t,e){t(e,1,1,["standard"==so(e,2).appearance,"fill"==so(e,2).appearance,"outline"==so(e,2).appearance,"legacy"==so(e,2).appearance,so(e,2)._control.errorState,so(e,2)._canLabelFloat,so(e,2)._shouldLabelFloat(),so(e,2)._hideControlPlaceholder(),so(e,2)._control.disabled,so(e,2)._control.autofilled,so(e,2)._control.focused,"accent"==so(e,2).color,"warn"==so(e,2).color,so(e,2)._shouldForward("untouched"),so(e,2)._shouldForward("touched"),so(e,2)._shouldForward("pristine"),so(e,2)._shouldForward("dirty"),so(e,2)._shouldForward("valid"),so(e,2)._shouldForward("invalid"),so(e,2)._shouldForward("pending"),!so(e,2)._animationsEnabled]),t(e,10,1,[so(e,12).id,so(e,12).tabIndex,so(e,12)._getAriaLabel(),so(e,12)._getAriaLabelledby(),so(e,12).required.toString(),so(e,12).disabled.toString(),so(e,12).errorState,so(e,12).panelOpen?so(e,12)._optionIds:null,so(e,12).multiple,so(e,12)._ariaDescribedby||null,so(e,12)._getAriaActiveDescendant(),so(e,12).disabled,so(e,12).errorState,so(e,12).required])})}function NO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"div",[["class","dialog-title"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(2,null,[" Dettaglio utente [","] "])),(t()(),Ri(3,0,null,null,108,"div",[["class","dialog-content"]],null,null,null,null,null)),(t()(),Ri(4,0,null,null,107,"form",[["name","formUser"],["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(t,e,n){var r=!0;return"submit"===e&&(r=!1!==so(t,6).onSubmit(n)&&r),"reset"===e&&(r=!1!==so(t,6).onReset()&&r),r},null,null)),Co(5,16384,null,0,FC,[],null,null),Co(6,4210688,[["formUser",4]],0,xC,[[8,null],[8,null]],null,null),So(2048,null,Iw,null,[xC]),Co(8,16384,null,0,fC,[[4,Iw]],null,null),(t()(),Ri(9,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(10,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(11,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","email"],["placeholder","E-mail"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,20)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,20).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,20)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,20)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,27)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,27)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,27)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.email=n)&&r),r},null,null)),Co(20,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(21,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(24,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(26,16384,null,0,hC,[[4,Uw]],null,null),Co(27,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ri(29,0,null,null,21,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(30,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(31,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,8,{_control:0}),jo(335544320,9,{_placeholderChild:0}),jo(335544320,10,{_labelChild:0}),jo(603979776,11,{_errorChildren:1}),jo(603979776,12,{_hintChildren:1}),jo(603979776,13,{_prefixChildren:1}),jo(603979776,14,{_suffixChildren:1}),(t()(),Ri(39,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","password"],["placeholder","Password"]],[[2,"ng-untouched",null],[2,"ng-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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,40)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,40).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,40)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,40)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,45)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,45)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,45)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.password=n)&&r),r},null,null)),Co(40,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(42,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(44,16384,null,0,hC,[[4,Uw]],null,null),Co(45,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[8,4]],VC,null,[dx]),(t()(),Ri(47,0,null,4,3,"mat-icon",[["class","mat-icon"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=0!=(i.hide=!i.hide)&&r),r},mk,fk)),Co(48,16384,[[14,4]],0,HC,[],null,null),Co(49,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(50,0,["",""])),(t()(),Ri(51,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(52,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(53,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,15,{_control:0}),jo(335544320,16,{_placeholderChild:0}),jo(335544320,17,{_labelChild:0}),jo(603979776,18,{_errorChildren:1}),jo(603979776,19,{_hintChildren:1}),jo(603979776,20,{_prefixChildren:1}),jo(603979776,21,{_suffixChildren:1}),(t()(),Ri(61,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","name"],["placeholder","Nome"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,62)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,62).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,62)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,62)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,69)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,69)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,69)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.name=n)&&r),r},null,null)),Co(62,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(63,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(66,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(68,16384,null,0,hC,[[4,Uw]],null,null),Co(69,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[15,4]],VC,null,[dx]),(t()(),Ri(71,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(72,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(73,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,22,{_control:0}),jo(335544320,23,{_placeholderChild:0}),jo(335544320,24,{_labelChild:0}),jo(603979776,25,{_errorChildren:1}),jo(603979776,26,{_hintChildren:1}),jo(603979776,27,{_prefixChildren:1}),jo(603979776,28,{_suffixChildren:1}),(t()(),Ri(81,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","surname"],["placeholder","Cognome"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,82)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,82).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,82)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,82)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,89)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,89)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,89)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.surname=n)&&r),r},null,null)),Co(82,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(83,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(86,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(88,16384,null,0,hC,[[4,Uw]],null,null),Co(89,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[22,4]],VC,null,[dx]),(t()(),Ri(91,0,null,null,18,"p",[["style","margin-left:15px"]],null,null,null,null,null)),(t()(),Ri(92,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-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(93,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,29,{_control:0}),jo(335544320,30,{_placeholderChild:0}),jo(335544320,31,{_labelChild:0}),jo(603979776,32,{_errorChildren:1}),jo(603979776,33,{_hintChildren:1}),jo(603979776,34,{_prefixChildren:1}),jo(603979776,35,{_suffixChildren:1}),(t()(),Ri(101,0,null,1,8,"mat-select",[["class","mat-select"],["placeholder","Ruolo"],["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]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==so(t,103)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==so(t,103)._onFocus()&&r),"blur"===e&&(r=!1!==so(t,103)._onBlur()&&r),"selectionChange"===e&&(r=!1!==i.onRoleChanged(n.value)&&r),r},NS,PS)),So(6144,null,Jh,null,[OS]),Co(103,2080768,null,3,OS,[ad,zn,ln,Lh,Dn,[2,Nc],[2,xC],[2,PC],[2,WC],[8,null],[8,null],ES],{placeholder:[0,"placeholder"],value:[1,"value"]},{selectionChange:"selectionChange"}),jo(603979776,36,{options:1}),jo(603979776,37,{optionGroups:1}),jo(335544320,38,{customTrigger:0}),So(2048,[[29,4]],VC,null,[OS]),(t()(),Ai(16777216,null,1,1,null,RO)),Co(109,278528,null,0,hc,[jn,Vn,ar],{ngForOf:[0,"ngForOf"]},null),(t()(),Ai(16777216,null,null,1,null,MO)),Co(111,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(112,0,null,null,8,"div",[["class","dialog-functions"]],null,null,null,null,null)),(t()(),Ri(113,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,$I,YI)),Co(114,49152,null,0,KI,[],null,null),(t()(),Ri(115,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.close()&&r),r},Xg,$g)),Co(116,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Chiudi"])),(t()(),Ri(118,0,null,null,2,"button",[["color","primary"],["mat-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=!1!==(so(t,6).form.valid?i.save():null)&&r),r},Xg,$g)),Co(119,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],{color:[0,"color"]},null),(t()(),Zo(-1,0,["Salva"]))],function(t,e){var n=e.component;t(e,21,0,""),t(e,24,0,"email",n.detail.email),t(e,27,0,"E-mail","","text"),t(e,42,0,"password",n.detail.password),t(e,45,0,"Password",n.hide?"password":"text"),t(e,49,0),t(e,63,0,""),t(e,66,0,"name",n.detail.name),t(e,69,0,"Nome","","text"),t(e,83,0,""),t(e,86,0,"surname",n.detail.surname),t(e,89,0,"Cognome","","text"),t(e,103,0,"Ruolo",n.detail.roleId),t(e,109,0,n.roles),t(e,111,0,0!=n.detail.roleId),t(e,119,0,"primary")},function(t,e){var n=e.component;t(e,2,0,n.detail.id),t(e,4,0,so(e,8).ngClassUntouched,so(e,8).ngClassTouched,so(e,8).ngClassPristine,so(e,8).ngClassDirty,so(e,8).ngClassValid,so(e,8).ngClassInvalid,so(e,8).ngClassPending),t(e,10,1,["standard"==so(e,11).appearance,"fill"==so(e,11).appearance,"outline"==so(e,11).appearance,"legacy"==so(e,11).appearance,so(e,11)._control.errorState,so(e,11)._canLabelFloat,so(e,11)._shouldLabelFloat(),so(e,11)._hideControlPlaceholder(),so(e,11)._control.disabled,so(e,11)._control.autofilled,so(e,11)._control.focused,"accent"==so(e,11).color,"warn"==so(e,11).color,so(e,11)._shouldForward("untouched"),so(e,11)._shouldForward("touched"),so(e,11)._shouldForward("pristine"),so(e,11)._shouldForward("dirty"),so(e,11)._shouldForward("valid"),so(e,11)._shouldForward("invalid"),so(e,11)._shouldForward("pending"),!so(e,11)._animationsEnabled]),t(e,19,1,[so(e,21).required?"":null,so(e,26).ngClassUntouched,so(e,26).ngClassTouched,so(e,26).ngClassPristine,so(e,26).ngClassDirty,so(e,26).ngClassValid,so(e,26).ngClassInvalid,so(e,26).ngClassPending,so(e,27)._isServer,so(e,27).id,so(e,27).placeholder,so(e,27).disabled,so(e,27).required,so(e,27).readonly,so(e,27)._ariaDescribedby||null,so(e,27).errorState,so(e,27).required.toString()]),t(e,30,1,["standard"==so(e,31).appearance,"fill"==so(e,31).appearance,"outline"==so(e,31).appearance,"legacy"==so(e,31).appearance,so(e,31)._control.errorState,so(e,31)._canLabelFloat,so(e,31)._shouldLabelFloat(),so(e,31)._hideControlPlaceholder(),so(e,31)._control.disabled,so(e,31)._control.autofilled,so(e,31)._control.focused,"accent"==so(e,31).color,"warn"==so(e,31).color,so(e,31)._shouldForward("untouched"),so(e,31)._shouldForward("touched"),so(e,31)._shouldForward("pristine"),so(e,31)._shouldForward("dirty"),so(e,31)._shouldForward("valid"),so(e,31)._shouldForward("invalid"),so(e,31)._shouldForward("pending"),!so(e,31)._animationsEnabled]),t(e,39,1,[so(e,44).ngClassUntouched,so(e,44).ngClassTouched,so(e,44).ngClassPristine,so(e,44).ngClassDirty,so(e,44).ngClassValid,so(e,44).ngClassInvalid,so(e,44).ngClassPending,so(e,45)._isServer,so(e,45).id,so(e,45).placeholder,so(e,45).disabled,so(e,45).required,so(e,45).readonly,so(e,45)._ariaDescribedby||null,so(e,45).errorState,so(e,45).required.toString()]),t(e,47,0,so(e,49).inline),t(e,50,0,n.hide?"visibility_off":"visibility"),t(e,52,1,["standard"==so(e,53).appearance,"fill"==so(e,53).appearance,"outline"==so(e,53).appearance,"legacy"==so(e,53).appearance,so(e,53)._control.errorState,so(e,53)._canLabelFloat,so(e,53)._shouldLabelFloat(),so(e,53)._hideControlPlaceholder(),so(e,53)._control.disabled,so(e,53)._control.autofilled,so(e,53)._control.focused,"accent"==so(e,53).color,"warn"==so(e,53).color,so(e,53)._shouldForward("untouched"),so(e,53)._shouldForward("touched"),so(e,53)._shouldForward("pristine"),so(e,53)._shouldForward("dirty"),so(e,53)._shouldForward("valid"),so(e,53)._shouldForward("invalid"),so(e,53)._shouldForward("pending"),!so(e,53)._animationsEnabled]),t(e,61,1,[so(e,63).required?"":null,so(e,68).ngClassUntouched,so(e,68).ngClassTouched,so(e,68).ngClassPristine,so(e,68).ngClassDirty,so(e,68).ngClassValid,so(e,68).ngClassInvalid,so(e,68).ngClassPending,so(e,69)._isServer,so(e,69).id,so(e,69).placeholder,so(e,69).disabled,so(e,69).required,so(e,69).readonly,so(e,69)._ariaDescribedby||null,so(e,69).errorState,so(e,69).required.toString()]),t(e,72,1,["standard"==so(e,73).appearance,"fill"==so(e,73).appearance,"outline"==so(e,73).appearance,"legacy"==so(e,73).appearance,so(e,73)._control.errorState,so(e,73)._canLabelFloat,so(e,73)._shouldLabelFloat(),so(e,73)._hideControlPlaceholder(),so(e,73)._control.disabled,so(e,73)._control.autofilled,so(e,73)._control.focused,"accent"==so(e,73).color,"warn"==so(e,73).color,so(e,73)._shouldForward("untouched"),so(e,73)._shouldForward("touched"),so(e,73)._shouldForward("pristine"),so(e,73)._shouldForward("dirty"),so(e,73)._shouldForward("valid"),so(e,73)._shouldForward("invalid"),so(e,73)._shouldForward("pending"),!so(e,73)._animationsEnabled]),t(e,81,1,[so(e,83).required?"":null,so(e,88).ngClassUntouched,so(e,88).ngClassTouched,so(e,88).ngClassPristine,so(e,88).ngClassDirty,so(e,88).ngClassValid,so(e,88).ngClassInvalid,so(e,88).ngClassPending,so(e,89)._isServer,so(e,89).id,so(e,89).placeholder,so(e,89).disabled,so(e,89).required,so(e,89).readonly,so(e,89)._ariaDescribedby||null,so(e,89).errorState,so(e,89).required.toString()]),t(e,92,1,["standard"==so(e,93).appearance,"fill"==so(e,93).appearance,"outline"==so(e,93).appearance,"legacy"==so(e,93).appearance,so(e,93)._control.errorState,so(e,93)._canLabelFloat,so(e,93)._shouldLabelFloat(),so(e,93)._hideControlPlaceholder(),so(e,93)._control.disabled,so(e,93)._control.autofilled,so(e,93)._control.focused,"accent"==so(e,93).color,"warn"==so(e,93).color,so(e,93)._shouldForward("untouched"),so(e,93)._shouldForward("touched"),so(e,93)._shouldForward("pristine"),so(e,93)._shouldForward("dirty"),so(e,93)._shouldForward("valid"),so(e,93)._shouldForward("invalid"),so(e,93)._shouldForward("pending"),!so(e,93)._animationsEnabled]),t(e,101,1,[so(e,103).id,so(e,103).tabIndex,so(e,103)._getAriaLabel(),so(e,103)._getAriaLabelledby(),so(e,103).required.toString(),so(e,103).disabled.toString(),so(e,103).errorState,so(e,103).panelOpen?so(e,103)._optionIds:null,so(e,103).multiple,so(e,103)._ariaDescribedby||null,so(e,103)._getAriaActiveDescendant(),so(e,103).disabled,so(e,103).errorState,so(e,103).required]),t(e,113,0,so(e,114).vertical?"vertical":"horizontal",so(e,114).vertical,!so(e,114).vertical,so(e,114).inset),t(e,115,0,so(e,116).disabled||null,"NoopAnimations"===so(e,116)._animationMode),t(e,118,0,so(e,119).disabled||null,"NoopAnimations"===so(e,119)._animationMode)})}var LO=Xi("app-user-detail",lI,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-user-detail",[],null,null,null,NO,AO)),Co(1,4308992,null,0,lI,[G_,sw,qd,hx],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),VO=new vt("mat-checkbox-click-action"),jO=0,zO=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}(),HO=function(t){function e(e,n,r,i,o,l,a){var s=t.call(this,e)||this;return s._changeDetectorRef=n,s._focusMonitor=r,s._ngZone=i,s._clickAction=l,s._animationMode=a,s.ariaLabel="",s.ariaLabelledby=null,s._uniqueId="mat-checkbox-"+ ++jO,s.id=s._uniqueId,s.labelPosition="after",s.name=null,s.change=new on,s.indeterminateChange=new on,s._onTouched=function(){},s._currentAnimationClass="",s._currentCheckState=zO.Init,s._controlValueAccessorChangeFn=function(){},s._checked=!1,s._disabled=!1,s._indeterminate=!1,s.tabIndex=parseInt(o)||0,s}return i(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=Vc(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var t=this;this._focusMonitor.monitor(this._inputElement.nativeElement).subscribe(function(e){return t._onInputFocusChange(e)})},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._inputElement.nativeElement)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){t!=this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?zO.Indeterminate:this.checked?zO.Checked:zO.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.markForCheck()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var r=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(r)},1e3)})}},e.prototype._emitChangeEvent=function(){var t=new function(){};t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype._onInputFocusChange=function(t){var e=this;this._focusRipple||"keyboard"!==t?t||(this._focusRipple&&(this._focusRipple.fadeOut(),this._focusRipple=null),Promise.resolve().then(function(){return e._onTouched()})):this._focusRipple=this.ripple.launch(0,0,{persistent:!0})},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.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(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?zO.Checked:zO.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement.nativeElement,"keyboard")},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case zO.Init:if(e===zO.Checked)n="unchecked-checked";else{if(e!=zO.Indeterminate)return"";n="unchecked-indeterminate"}break;case zO.Unchecked:n=e===zO.Checked?"unchecked-checked":"unchecked-indeterminate";break;case zO.Checked:n=e===zO.Unchecked?"checked-unchecked":"checked-indeterminate";break;case zO.Indeterminate:n=e===zO.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e}(Mh(Rh(Fh(Ah(function(t){this._elementRef=t})),"accent"))),BO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(AC),qO=function(){},UO=oi({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-checkmark,.mat-checkbox-mixedmark{width:calc(100% - 4px)}.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-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-inner-container{display:inline-block;height:20px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:20px;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}.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-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.66667px}.mat-checkbox-mixedmark{height:2px;opacity:0;transform:scaleX(0) rotate(0)}@media screen and (-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-ripple{position:absolute;left:calc(50% - 25px);top:calc(50% - 25px);height:50px;width:50px;z-index:1;pointer-events:none}"],data:{}});function WO(t){return Xo(2,[jo(402653184,1,{_inputElement:0}),jo(402653184,2,{ripple:0}),(t()(),Ri(2,0,[["label",1]],null,15,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),Ri(3,0,null,null,9,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),Ri(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(t,e,n){var r=!0,i=t.component;return"change"===e&&(r=!1!==i._onInteractionEvent(n)&&r),"click"===e&&(r=!1!==i._onInputClick(n)&&r),r},null,null)),(t()(),Ri(5,0,null,null,2,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Co(6,212992,[[2,4]],0,Wh,[Dn,ln,Wc,[2,Uh],[2,Zg]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),Go(7,{enterDuration:0}),(t()(),Ri(8,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),Ri(9,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),Ri(10,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)),(t()(),Ri(11,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)),(t()(),Ri(12,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),Ri(13,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var r=!0;return"cdkObserveContent"===e&&(r=!1!==t.component._onLabelTextChange()&&r),r},null,null)),Co(14,1196032,null,0,gy,[my,Dn,ln],null,{event:"cdkObserveContent"}),(t()(),Ri(15,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),Zo(-1,null,["\xa0"])),Uo(null,0)],function(t,e){var n=e.component;t(e,6,0,!0,25,t(e,7,0,150),n._isRippleDisabled(),so(e,2))},function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!so(e,13).textContent||!so(e,13).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,so(e,6).unbounded)})}var GO=oi({encapsulation:0,styles:[[""]],data:{}});function KO(t){return Xo(0,[(t()(),Ri(0,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 250px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(1,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,88,{_control:0}),jo(335544320,89,{_placeholderChild:0}),jo(335544320,90,{_labelChild:0}),jo(603979776,91,{_errorChildren:1}),jo(603979776,92,{_hintChildren:1}),jo(603979776,93,{_prefixChildren:1}),jo(603979776,94,{_suffixChildren:1}),(t()(),Ri(9,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","timestampHashAlgo"],["placeholder","Algoritmo (marca temporale)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,10)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,10).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,10)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,10)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,15)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,15)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,15)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.timestampHashAlgo=n)&&r),r},null,null)),Co(10,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(12,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(14,16384,null,0,hC,[[4,Uw]],null,null),Co(15,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[88,4]],VC,null,[dx])],function(t,e){t(e,12,0,"timestampHashAlgo",e.component.detail.timestampHashAlgo),t(e,15,0,"Algoritmo (marca temporale)","text")},function(t,e){t(e,0,1,["standard"==so(e,1).appearance,"fill"==so(e,1).appearance,"outline"==so(e,1).appearance,"legacy"==so(e,1).appearance,so(e,1)._control.errorState,so(e,1)._canLabelFloat,so(e,1)._shouldLabelFloat(),so(e,1)._hideControlPlaceholder(),so(e,1)._control.disabled,so(e,1)._control.autofilled,so(e,1)._control.focused,"accent"==so(e,1).color,"warn"==so(e,1).color,so(e,1)._shouldForward("untouched"),so(e,1)._shouldForward("touched"),so(e,1)._shouldForward("pristine"),so(e,1)._shouldForward("dirty"),so(e,1)._shouldForward("valid"),so(e,1)._shouldForward("invalid"),so(e,1)._shouldForward("pending"),!so(e,1)._animationsEnabled]),t(e,9,1,[so(e,14).ngClassUntouched,so(e,14).ngClassTouched,so(e,14).ngClassPristine,so(e,14).ngClassDirty,so(e,14).ngClassValid,so(e,14).ngClassInvalid,so(e,14).ngClassPending,so(e,15)._isServer,so(e,15).id,so(e,15).placeholder,so(e,15).disabled,so(e,15).required,so(e,15).readonly,so(e,15)._ariaDescribedby||null,so(e,15).errorState,so(e,15).required.toString()])})}function ZO(t){return Xo(0,[(t()(),Ri(0,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 1000px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(1,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,95,{_control:0}),jo(335544320,96,{_placeholderChild:0}),jo(335544320,97,{_labelChild:0}),jo(603979776,98,{_errorChildren:1}),jo(603979776,99,{_hintChildren:1}),jo(603979776,100,{_prefixChildren:1}),jo(603979776,101,{_suffixChildren:1}),(t()(),Ri(9,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","timestampUrl"],["placeholder","URL (marca temporale)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,10)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,10).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,10)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,10)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,15)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,15)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,15)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.timestampUrl=n)&&r),r},null,null)),Co(10,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(12,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(14,16384,null,0,hC,[[4,Uw]],null,null),Co(15,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[95,4]],VC,null,[dx])],function(t,e){t(e,12,0,"timestampUrl",e.component.detail.timestampUrl),t(e,15,0,"URL (marca temporale)","text")},function(t,e){t(e,0,1,["standard"==so(e,1).appearance,"fill"==so(e,1).appearance,"outline"==so(e,1).appearance,"legacy"==so(e,1).appearance,so(e,1)._control.errorState,so(e,1)._canLabelFloat,so(e,1)._shouldLabelFloat(),so(e,1)._hideControlPlaceholder(),so(e,1)._control.disabled,so(e,1)._control.autofilled,so(e,1)._control.focused,"accent"==so(e,1).color,"warn"==so(e,1).color,so(e,1)._shouldForward("untouched"),so(e,1)._shouldForward("touched"),so(e,1)._shouldForward("pristine"),so(e,1)._shouldForward("dirty"),so(e,1)._shouldForward("valid"),so(e,1)._shouldForward("invalid"),so(e,1)._shouldForward("pending"),!so(e,1)._animationsEnabled]),t(e,9,1,[so(e,14).ngClassUntouched,so(e,14).ngClassTouched,so(e,14).ngClassPristine,so(e,14).ngClassDirty,so(e,14).ngClassValid,so(e,14).ngClassInvalid,so(e,14).ngClassPending,so(e,15)._isServer,so(e,15).id,so(e,15).placeholder,so(e,15).disabled,so(e,15).required,so(e,15).readonly,so(e,15)._ariaDescribedby||null,so(e,15).errorState,so(e,15).required.toString()])})}function YO(t){return Xo(0,[(t()(),Ri(0,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 250px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(1,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,102,{_control:0}),jo(335544320,103,{_placeholderChild:0}),jo(335544320,104,{_labelChild:0}),jo(603979776,105,{_errorChildren:1}),jo(603979776,106,{_hintChildren:1}),jo(603979776,107,{_prefixChildren:1}),jo(603979776,108,{_suffixChildren:1}),(t()(),Ri(9,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","timestampUsername"],["placeholder","Username (marca temporale)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,10)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,10).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,10)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,10)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,15)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,15)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,15)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.timestampUsername=n)&&r),r},null,null)),Co(10,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(12,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(14,16384,null,0,hC,[[4,Uw]],null,null),Co(15,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[102,4]],VC,null,[dx])],function(t,e){t(e,12,0,"timestampUsername",e.component.detail.timestampUsername),t(e,15,0,"Username (marca temporale)","text")},function(t,e){t(e,0,1,["standard"==so(e,1).appearance,"fill"==so(e,1).appearance,"outline"==so(e,1).appearance,"legacy"==so(e,1).appearance,so(e,1)._control.errorState,so(e,1)._canLabelFloat,so(e,1)._shouldLabelFloat(),so(e,1)._hideControlPlaceholder(),so(e,1)._control.disabled,so(e,1)._control.autofilled,so(e,1)._control.focused,"accent"==so(e,1).color,"warn"==so(e,1).color,so(e,1)._shouldForward("untouched"),so(e,1)._shouldForward("touched"),so(e,1)._shouldForward("pristine"),so(e,1)._shouldForward("dirty"),so(e,1)._shouldForward("valid"),so(e,1)._shouldForward("invalid"),so(e,1)._shouldForward("pending"),!so(e,1)._animationsEnabled]),t(e,9,1,[so(e,14).ngClassUntouched,so(e,14).ngClassTouched,so(e,14).ngClassPristine,so(e,14).ngClassDirty,so(e,14).ngClassValid,so(e,14).ngClassInvalid,so(e,14).ngClassPending,so(e,15)._isServer,so(e,15).id,so(e,15).placeholder,so(e,15).disabled,so(e,15).required,so(e,15).readonly,so(e,15)._ariaDescribedby||null,so(e,15).errorState,so(e,15).required.toString()])})}function $O(t){return Xo(0,[(t()(),Ri(0,0,null,null,20,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 250px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(1,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,109,{_control:0}),jo(335544320,110,{_placeholderChild:0}),jo(335544320,111,{_labelChild:0}),jo(603979776,112,{_errorChildren:1}),jo(603979776,113,{_hintChildren:1}),jo(603979776,114,{_prefixChildren:1}),jo(603979776,115,{_suffixChildren:1}),(t()(),Ri(9,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","timestampPassword"],["placeholder","Password (marca temporale)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,10)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,10).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,10)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,10)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,15)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,15)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,15)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.timestampPassword=n)&&r),r},null,null)),Co(10,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(12,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(14,16384,null,0,hC,[[4,Uw]],null,null),Co(15,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[109,4]],VC,null,[dx]),(t()(),Ri(17,0,null,4,3,"mat-icon",[["class","mat-icon"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=0!=(i.hide=!i.hide)&&r),r},mk,fk)),Co(18,16384,[[115,4]],0,HC,[],null,null),Co(19,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(20,0,["",""]))],function(t,e){var n=e.component;t(e,12,0,"timestampPassword",n.detail.timestampPassword),t(e,15,0,"Password (marca temporale)",n.hide?"password":"text"),t(e,19,0)},function(t,e){var n=e.component;t(e,0,1,["standard"==so(e,1).appearance,"fill"==so(e,1).appearance,"outline"==so(e,1).appearance,"legacy"==so(e,1).appearance,so(e,1)._control.errorState,so(e,1)._canLabelFloat,so(e,1)._shouldLabelFloat(),so(e,1)._hideControlPlaceholder(),so(e,1)._control.disabled,so(e,1)._control.autofilled,so(e,1)._control.focused,"accent"==so(e,1).color,"warn"==so(e,1).color,so(e,1)._shouldForward("untouched"),so(e,1)._shouldForward("touched"),so(e,1)._shouldForward("pristine"),so(e,1)._shouldForward("dirty"),so(e,1)._shouldForward("valid"),so(e,1)._shouldForward("invalid"),so(e,1)._shouldForward("pending"),!so(e,1)._animationsEnabled]),t(e,9,1,[so(e,14).ngClassUntouched,so(e,14).ngClassTouched,so(e,14).ngClassPristine,so(e,14).ngClassDirty,so(e,14).ngClassValid,so(e,14).ngClassInvalid,so(e,14).ngClassPending,so(e,15)._isServer,so(e,15).id,so(e,15).placeholder,so(e,15).disabled,so(e,15).required,so(e,15).readonly,so(e,15)._ariaDescribedby||null,so(e,15).errorState,so(e,15).required.toString()]),t(e,17,0,so(e,19).inline),t(e,20,0,n.hide?"visibility":"visibility_off")})}function XO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.copyApiKey(so(t.parent,292))&&r),r},Xg,$g)),Co(1,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Copy"]))],null,function(t,e){t(e,0,0,so(e,1).disabled||null,"NoopAnimations"===so(e,1)._animationMode)})}function QO(t){return Xo(0,[(t()(),Ri(0,0,null,null,2,"div",[["class","dialog-title"]],null,null,null,null,null)),(t()(),Ri(1,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Zo(2,null,[" Dettaglio firma [","] "])),(t()(),Ri(3,0,null,null,298,"div",[["class","dialog-content"]],null,null,null,null,null)),(t()(),Ri(4,0,null,null,297,"form",[["name","formSignature"],["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(t,e,n){var r=!0;return"submit"===e&&(r=!1!==so(t,6).onSubmit(n)&&r),"reset"===e&&(r=!1!==so(t,6).onReset()&&r),r},null,null)),Co(5,16384,null,0,FC,[],null,null),Co(6,4210688,[["formSignature",4]],0,xC,[[8,null],[8,null]],null,null),So(2048,null,Iw,null,[xC]),Co(8,16384,null,0,fC,[[4,Iw]],null,null),(t()(),Ri(9,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(10,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(11,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,1,{_control:0}),jo(335544320,2,{_placeholderChild:0}),jo(335544320,3,{_labelChild:0}),jo(603979776,4,{_errorChildren:1}),jo(603979776,5,{_hintChildren:1}),jo(603979776,6,{_prefixChildren:1}),jo(603979776,7,{_suffixChildren:1}),(t()(),Ri(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","deviceUsername"],["placeholder","Username"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,20)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,20).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,20)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,20)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,27)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,27)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,27)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.deviceUsername=n)&&r),r},null,null)),Co(20,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(21,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(24,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(26,16384,null,0,hC,[[4,Uw]],null,null),Co(27,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[1,4]],VC,null,[dx]),(t()(),Ri(29,0,null,null,23,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(30,0,null,null,22,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(31,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,8,{_control:0}),jo(335544320,9,{_placeholderChild:0}),jo(335544320,10,{_labelChild:0}),jo(603979776,11,{_errorChildren:1}),jo(603979776,12,{_hintChildren:1}),jo(603979776,13,{_prefixChildren:1}),jo(603979776,14,{_suffixChildren:1}),(t()(),Ri(39,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","devicePassword"],["placeholder","Password"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,40)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,40).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,40)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,40)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,47)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,47)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,47)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.devicePassword=n)&&r),r},null,null)),Co(40,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(41,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(44,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(46,16384,null,0,hC,[[4,Uw]],null,null),Co(47,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[8,4]],VC,null,[dx]),(t()(),Ri(49,0,null,4,3,"mat-icon",[["class","mat-icon"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null]],[[null,"click"]],function(t,e,n){var r=!0,i=t.component;return"click"===e&&(r=0!=(i.hide=!i.hide)&&r),r},mk,fk)),Co(50,16384,[[14,4]],0,HC,[],null,null),Co(51,638976,null,0,pk,[Dn,uk,[8,null]],null,null),(t()(),Zo(52,0,["",""])),(t()(),Ri(53,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(54,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(55,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,15,{_control:0}),jo(335544320,16,{_placeholderChild:0}),jo(335544320,17,{_labelChild:0}),jo(603979776,18,{_errorChildren:1}),jo(603979776,19,{_hintChildren:1}),jo(603979776,20,{_prefixChildren:1}),jo(603979776,21,{_suffixChildren:1}),(t()(),Ri(63,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","fileName"],["placeholder","Nome file"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,64)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,64).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,64)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,64)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,71)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,71)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,71)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.fileName=n)&&r),r},null,null)),Co(64,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(65,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(68,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(70,16384,null,0,hC,[[4,Uw]],null,null),Co(71,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[15,4]],VC,null,[dx]),(t()(),Ri(73,0,null,null,25,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(74,0,null,null,24,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(75,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,22,{_control:0}),jo(335544320,23,{_placeholderChild:0}),jo(335544320,24,{_labelChild:0}),jo(603979776,25,{_errorChildren:1}),jo(603979776,26,{_hintChildren:1}),jo(603979776,27,{_prefixChildren:1}),jo(603979776,28,{_suffixChildren:1}),(t()(),Ri(83,0,null,1,15,"mat-select",[["class","mat-select"],["name","fontName"],["placeholder","Nome font"],["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]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var r=!0,i=t.component;return"keydown"===e&&(r=!1!==so(t,84)._handleKeydown(n)&&r),"focus"===e&&(r=!1!==so(t,84)._onFocus()&&r),"blur"===e&&(r=!1!==so(t,84)._onBlur()&&r),"selectionChange"===e&&(r=!1!==i.onFontNameChanged(n.value)&&r),r},NS,PS)),Co(84,2080768,null,3,OS,[ad,zn,ln,Lh,Dn,[2,Nc],[2,xC],[2,PC],[2,WC],[8,null],[8,null],ES],{placeholder:[0,"placeholder"],required:[1,"required"],value:[2,"value"]},{selectionChange:"selectionChange"}),jo(603979776,29,{options:1}),jo(603979776,30,{optionGroups:1}),jo(335544320,31,{customTrigger:0}),So(2048,[[22,4]],VC,null,[OS]),So(2048,null,Jh,null,[OS]),(t()(),Ri(90,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Courier"]],[[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(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,91)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==so(t,91)._handleKeydown(n)&&r),r},Qx,$x)),Co(91,8568832,[[29,4]],0,tf,[Dn,zn,[2,Jh],[2,$h]],{value:[0,"value"]},null),(t()(),Zo(-1,0,["Courier"])),(t()(),Ri(93,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Helvetica"]],[[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(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,94)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==so(t,94)._handleKeydown(n)&&r),r},Qx,$x)),Co(94,8568832,[[29,4]],0,tf,[Dn,zn,[2,Jh],[2,$h]],{value:[0,"value"]},null),(t()(),Zo(-1,0,["Helvetica"])),(t()(),Ri(96,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Times-Roman"]],[[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(t,e,n){var r=!0;return"click"===e&&(r=!1!==so(t,97)._selectViaInteraction()&&r),"keydown"===e&&(r=!1!==so(t,97)._handleKeydown(n)&&r),r},Qx,$x)),Co(97,8568832,[[29,4]],0,tf,[Dn,zn,[2,Jh],[2,$h]],{value:[0,"value"]},null),(t()(),Zo(-1,0,["Times-Roman"])),(t()(),Ri(99,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(100,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(101,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,32,{_control:0}),jo(335544320,33,{_placeholderChild:0}),jo(335544320,34,{_labelChild:0}),jo(603979776,35,{_errorChildren:1}),jo(603979776,36,{_hintChildren:1}),jo(603979776,37,{_prefixChildren:1}),jo(603979776,38,{_suffixChildren:1}),(t()(),Ri(109,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","fontSize"],["placeholder","Dimensione font (pixel)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,110)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,110).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,110)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,110)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,117)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,117)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,117)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.fontSize=n)&&r),r},null,null)),Co(110,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(111,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(114,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(116,16384,null,0,hC,[[4,Uw]],null,null),Co(117,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[32,4]],VC,null,[dx]),(t()(),Ri(119,0,null,null,20,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(120,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(121,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,39,{_control:0}),jo(335544320,40,{_placeholderChild:0}),jo(335544320,41,{_labelChild:0}),jo(603979776,42,{_errorChildren:1}),jo(603979776,43,{_hintChildren:1}),jo(603979776,44,{_prefixChildren:1}),jo(603979776,45,{_suffixChildren:1}),(t()(),Ri(129,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","x"],["placeholder","Posizione x (pixel)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,130)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,130).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,130)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,130)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,131).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,131).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,131).onTouched()&&r),"blur"===e&&(r=!1!==so(t,138)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,138)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,138)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.x=n)&&r),r},null,null)),Co(130,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(131,16384,null,0,Bw,[Pn,Dn],null,null),Co(132,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(135,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(137,16384,null,0,hC,[[4,Uw]],null,null),Co(138,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[39,4]],VC,null,[dx]),(t()(),Ri(140,0,null,null,20,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(141,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(142,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,46,{_control:0}),jo(335544320,47,{_placeholderChild:0}),jo(335544320,48,{_labelChild:0}),jo(603979776,49,{_errorChildren:1}),jo(603979776,50,{_hintChildren:1}),jo(603979776,51,{_prefixChildren:1}),jo(603979776,52,{_suffixChildren:1}),(t()(),Ri(150,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","y"],["placeholder","Posizione y (pixel)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,151)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,151).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,151)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,151)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,152).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,152).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,152).onTouched()&&r),"blur"===e&&(r=!1!==so(t,159)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,159)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,159)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.y=n)&&r),r},null,null)),Co(151,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(152,16384,null,0,Bw,[Pn,Dn],null,null),Co(153,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(156,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(158,16384,null,0,hC,[[4,Uw]],null,null),Co(159,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[46,4]],VC,null,[dx]),(t()(),Ri(161,0,null,null,20,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(162,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(163,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,53,{_control:0}),jo(335544320,54,{_placeholderChild:0}),jo(335544320,55,{_labelChild:0}),jo(603979776,56,{_errorChildren:1}),jo(603979776,57,{_hintChildren:1}),jo(603979776,58,{_prefixChildren:1}),jo(603979776,59,{_suffixChildren:1}),(t()(),Ri(171,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","width"],["placeholder","Larghezza (pixel)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,172)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,172).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,172)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,172)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,173).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,173).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,173).onTouched()&&r),"blur"===e&&(r=!1!==so(t,180)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,180)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,180)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.width=n)&&r),r},null,null)),Co(172,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(173,16384,null,0,Bw,[Pn,Dn],null,null),Co(174,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(177,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(179,16384,null,0,hC,[[4,Uw]],null,null),Co(180,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[53,4]],VC,null,[dx]),(t()(),Ri(182,0,null,null,20,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(183,0,null,null,19,"mat-form-field",[["class","form-field mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(184,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,60,{_control:0}),jo(335544320,61,{_placeholderChild:0}),jo(335544320,62,{_labelChild:0}),jo(603979776,63,{_errorChildren:1}),jo(603979776,64,{_hintChildren:1}),jo(603979776,65,{_prefixChildren:1}),jo(603979776,66,{_suffixChildren:1}),(t()(),Ri(192,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","height"],["placeholder","Altezza (pixel)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,193)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,193).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,193)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,193)._compositionEnd(n.target.value)&&r),"change"===e&&(r=!1!==so(t,194).onChange(n.target.value)&&r),"input"===e&&(r=!1!==so(t,194).onChange(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,194).onTouched()&&r),"blur"===e&&(r=!1!==so(t,201)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,201)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,201)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.height=n)&&r),r},null,null)),Co(193,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(194,16384,null,0,Bw,[Pn,Dn],null,null),Co(195,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t,e){return[t,e]},[jw,Bw]),Co(198,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(200,16384,null,0,hC,[[4,Uw]],null,null),Co(201,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[60,4]],VC,null,[dx]),(t()(),Ri(203,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(204,0,null,null,18,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 350px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(205,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,67,{_control:0}),jo(335544320,68,{_placeholderChild:0}),jo(335544320,69,{_labelChild:0}),jo(603979776,70,{_errorChildren:1}),jo(603979776,71,{_hintChildren:1}),jo(603979776,72,{_prefixChildren:1}),jo(603979776,73,{_suffixChildren:1}),(t()(),Ri(213,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","signerName"],["placeholder","Firmatario (nome cognome)"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,214)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,214).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,214)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,214)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,221)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,221)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,221)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.signerName=n)&&r),r},null,null)),Co(214,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),Co(215,16384,null,0,DC,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t){return[t]},[DC]),So(1024,null,Nw,function(t){return[t]},[jw]),Co(218,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(220,16384,null,0,hC,[[4,Uw]],null,null),Co(221,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),So(2048,[[67,4]],VC,null,[dx]),(t()(),Ri(223,0,null,null,17,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(224,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 350px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(225,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,74,{_control:0}),jo(335544320,75,{_placeholderChild:0}),jo(335544320,76,{_labelChild:0}),jo(603979776,77,{_errorChildren:1}),jo(603979776,78,{_hintChildren:1}),jo(603979776,79,{_prefixChildren:1}),jo(603979776,80,{_suffixChildren:1}),(t()(),Ri(233,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","location"],["placeholder","Luogo"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,234)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,234).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,234)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,234)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,239)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,239)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,239)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.location=n)&&r),r},null,null)),Co(234,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(236,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(238,16384,null,0,hC,[[4,Uw]],null,null),Co(239,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[74,4]],VC,null,[dx]),(t()(),Ri(241,0,null,null,17,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(242,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 350px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(243,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,81,{_control:0}),jo(335544320,82,{_placeholderChild:0}),jo(335544320,83,{_labelChild:0}),jo(603979776,84,{_errorChildren:1}),jo(603979776,85,{_hintChildren:1}),jo(603979776,86,{_prefixChildren:1}),jo(603979776,87,{_suffixChildren:1}),(t()(),Ri(251,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","reason"],["placeholder","Motivo"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,252)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,252).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,252)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,252)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,257)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,257)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,257)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.reason=n)&&r),r},null,null)),Co(252,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(254,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(256,16384,null,0,hC,[[4,Uw]],null,null),Co(257,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"]},null),So(2048,[[81,4]],VC,null,[dx]),(t()(),Ri(259,0,null,null,10,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(260,0,null,null,9,"mat-checkbox",[["class","mat-checkbox"],["name","withTimestamp"],["required",""]],[[1,"required",0],[1,"required",0],[8,"id",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(t,e,n){var r=!0;return"ngModelChange"===e&&(r=!1!==(t.component.detail.withTimestamp=n)&&r),r},WO,UO)),Co(261,16384,null,0,DC,[],{required:[0,"required"]},null),Co(262,16384,null,0,BO,[],{required:[0,"required"]},null),So(1024,null,Tw,function(t,e){return[t,e]},[DC,BO]),Co(264,4374528,null,0,HO,[Dn,zn,Ih,ln,[8,null],[2,VO],[2,Zg]],{required:[0,"required"],name:[1,"name"]},null),So(1024,null,Nw,function(t){return[t]},[HO]),Co(266,671744,null,0,IC,[[2,Iw],[6,Tw],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(268,16384,null,0,hC,[[4,Uw]],null,null),(t()(),Zo(-1,0,["Marca temporale"])),(t()(),Ri(270,0,null,null,2,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,KO)),Co(272,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(273,0,null,null,2,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,ZO)),Co(275,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(276,0,null,null,2,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,YO)),Co(278,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(279,0,null,null,2,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ai(16777216,null,null,1,null,$O)),Co(281,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(282,0,null,null,19,"p",[["style","margin-left:10px"]],null,null,null,null,null)),(t()(),Ri(283,0,null,null,16,"mat-form-field",[["class","form-field mat-form-field"],["style","width: 350px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,ox,KC)),Co(284,7389184,null,7,WC,[Dn,zn,[2,of],[2,Nc],[2,UC],Wc,ln,[2,Zg]],null,null),jo(335544320,116,{_control:0}),jo(335544320,117,{_placeholderChild:0}),jo(335544320,118,{_labelChild:0}),jo(603979776,119,{_errorChildren:1}),jo(603979776,120,{_hintChildren:1}),jo(603979776,121,{_prefixChildren:1}),jo(603979776,122,{_suffixChildren:1}),(t()(),Ri(292,0,[["apiKey",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","apiKey"],["placeholder","API-Key"],["readonly","readonly"],["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],[8,"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(t,e,n){var r=!0,i=t.component;return"input"===e&&(r=!1!==so(t,293)._handleInput(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,293).onTouched()&&r),"compositionstart"===e&&(r=!1!==so(t,293)._compositionStart()&&r),"compositionend"===e&&(r=!1!==so(t,293)._compositionEnd(n.target.value)&&r),"blur"===e&&(r=!1!==so(t,298)._focusChanged(!1)&&r),"focus"===e&&(r=!1!==so(t,298)._focusChanged(!0)&&r),"input"===e&&(r=!1!==so(t,298)._onInput()&&r),"ngModelChange"===e&&(r=!1!==(i.detail.apiKey=n)&&r),r},null,null)),Co(293,16384,null,0,jw,[Pn,Dn,[2,Vw]],null,null),So(1024,null,Nw,function(t){return[t]},[jw]),Co(295,671744,null,0,IC,[[2,Iw],[8,null],[8,null],[6,Nw]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),So(2048,null,Uw,null,[IC]),Co(297,16384,null,0,hC,[[4,Uw]],null,null),Co(298,999424,null,0,dx,[Dn,Wc,[6,Uw],[2,xC],[2,PC],Lh,[8,null],ax,ln],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),So(2048,[[116,4]],VC,null,[dx]),(t()(),Ai(16777216,null,null,1,null,XO)),Co(301,16384,null,0,mc,[jn,Vn],{ngIf:[0,"ngIf"]},null),(t()(),Ri(302,0,null,null,8,"div",[["class","dialog-functions"]],null,null,null,null,null)),(t()(),Ri(303,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,$I,YI)),Co(304,49152,null,0,KI,[],null,null),(t()(),Ri(305,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.close()&&r),r},Xg,$g)),Co(306,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],null,null),(t()(),Zo(-1,0,["Chiudi"])),(t()(),Ri(308,0,null,null,2,"button",[["color","primary"],["mat-button",""],["type","button"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var r=!0;return"click"===e&&(r=!1!==t.component.save()&&r),r},Xg,$g)),Co(309,180224,null,0,Df,[Dn,Wc,Ih,[2,Zg]],{color:[0,"color"]},null),(t()(),Zo(-1,0,["Salva"]))],function(t,e){var n=e.component;t(e,21,0,""),t(e,24,0,"deviceUsername",n.detail.deviceUsername),t(e,27,0,"Username","","text"),t(e,41,0,""),t(e,44,0,"devicePassword",n.detail.devicePassword),t(e,47,0,"Password","",n.hide?"password":"text"),t(e,51,0),t(e,65,0,""),t(e,68,0,"fileName",n.detail.fileName),t(e,71,0,"Nome file","","text"),t(e,84,0,"Nome font","",n.detail.fontName),t(e,91,0,"Courier"),t(e,94,0,"Helvetica"),t(e,97,0,"Times-Roman"),t(e,111,0,""),t(e,114,0,"fontSize",n.detail.fontSize),t(e,117,0,"Dimensione font (pixel)","","text"),t(e,132,0,""),t(e,135,0,"x",n.detail.x),t(e,138,0,"Posizione x (pixel)","","number"),t(e,153,0,""),t(e,156,0,"y",n.detail.y),t(e,159,0,"Posizione y (pixel)","","number"),t(e,174,0,""),t(e,177,0,"width",n.detail.width),t(e,180,0,"Larghezza (pixel)","","number"),t(e,195,0,""),t(e,198,0,"height",n.detail.height),t(e,201,0,"Altezza (pixel)","","number"),t(e,215,0,""),t(e,218,0,"signerName",n.detail.signerName),t(e,221,0,"Firmatario (nome cognome)","","text"),t(e,236,0,"location",n.detail.location),t(e,239,0,"Luogo","text"),t(e,254,0,"reason",n.detail.reason),t(e,257,0,"Motivo","text"),t(e,261,0,""),t(e,262,0,""),t(e,264,0,"","withTimestamp"),t(e,266,0,"withTimestamp",n.detail.withTimestamp),t(e,272,0,n.detail.withTimestamp),t(e,275,0,n.detail.withTimestamp),t(e,278,0,n.detail.withTimestamp),t(e,281,0,n.detail.withTimestamp),t(e,295,0,"apiKey",n.detail.apiKey),t(e,298,0,"API-Key","text","readonly"),t(e,301,0,n.detail.apiKey),t(e,309,0,"primary")},function(t,e){var n=e.component;t(e,2,0,n.detail.id),t(e,4,0,so(e,8).ngClassUntouched,so(e,8).ngClassTouched,so(e,8).ngClassPristine,so(e,8).ngClassDirty,so(e,8).ngClassValid,so(e,8).ngClassInvalid,so(e,8).ngClassPending),t(e,10,1,["standard"==so(e,11).appearance,"fill"==so(e,11).appearance,"outline"==so(e,11).appearance,"legacy"==so(e,11).appearance,so(e,11)._control.errorState,so(e,11)._canLabelFloat,so(e,11)._shouldLabelFloat(),so(e,11)._hideControlPlaceholder(),so(e,11)._control.disabled,so(e,11)._control.autofilled,so(e,11)._control.focused,"accent"==so(e,11).color,"warn"==so(e,11).color,so(e,11)._shouldForward("untouched"),so(e,11)._shouldForward("touched"),so(e,11)._shouldForward("pristine"),so(e,11)._shouldForward("dirty"),so(e,11)._shouldForward("valid"),so(e,11)._shouldForward("invalid"),so(e,11)._shouldForward("pending"),!so(e,11)._animationsEnabled]),t(e,19,1,[so(e,21).required?"":null,so(e,26).ngClassUntouched,so(e,26).ngClassTouched,so(e,26).ngClassPristine,so(e,26).ngClassDirty,so(e,26).ngClassValid,so(e,26).ngClassInvalid,so(e,26).ngClassPending,so(e,27)._isServer,so(e,27).id,so(e,27).placeholder,so(e,27).disabled,so(e,27).required,so(e,27).readonly,so(e,27)._ariaDescribedby||null,so(e,27).errorState,so(e,27).required.toString()]),t(e,30,1,["standard"==so(e,31).appearance,"fill"==so(e,31).appearance,"outline"==so(e,31).appearance,"legacy"==so(e,31).appearance,so(e,31)._control.errorState,so(e,31)._canLabelFloat,so(e,31)._shouldLabelFloat(),so(e,31)._hideControlPlaceholder(),so(e,31)._control.disabled,so(e,31)._control.autofilled,so(e,31)._control.focused,"accent"==so(e,31).color,"warn"==so(e,31).color,so(e,31)._shouldForward("untouched"),so(e,31)._shouldForward("touched"),so(e,31)._shouldForward("pristine"),so(e,31)._shouldForward("dirty"),so(e,31)._shouldForward("valid"),so(e,31)._shouldForward("invalid"),so(e,31)._shouldForward("pending"),!so(e,31)._animationsEnabled]),t(e,39,1,[so(e,41).required?"":null,so(e,46).ngClassUntouched,so(e,46).ngClassTouched,so(e,46).ngClassPristine,so(e,46).ngClassDirty,so(e,46).ngClassValid,so(e,46).ngClassInvalid,so(e,46).ngClassPending,so(e,47)._isServer,so(e,47).id,so(e,47).placeholder,so(e,47).disabled,so(e,47).required,so(e,47).readonly,so(e,47)._ariaDescribedby||null,so(e,47).errorState,so(e,47).required.toString()]),t(e,49,0,so(e,51).inline),t(e,52,0,n.hide?"visibility_off":"visibility"),t(e,54,1,["standard"==so(e,55).appearance,"fill"==so(e,55).appearance,"outline"==so(e,55).appearance,"legacy"==so(e,55).appearance,so(e,55)._control.errorState,so(e,55)._canLabelFloat,so(e,55)._shouldLabelFloat(),so(e,55)._hideControlPlaceholder(),so(e,55)._control.disabled,so(e,55)._control.autofilled,so(e,55)._control.focused,"accent"==so(e,55).color,"warn"==so(e,55).color,so(e,55)._shouldForward("untouched"),so(e,55)._shouldForward("touched"),so(e,55)._shouldForward("pristine"),so(e,55)._shouldForward("dirty"),so(e,55)._shouldForward("valid"),so(e,55)._shouldForward("invalid"),so(e,55)._shouldForward("pending"),!so(e,55)._animationsEnabled]),t(e,63,1,[so(e,65).required?"":null,so(e,70).ngClassUntouched,so(e,70).ngClassTouched,so(e,70).ngClassPristine,so(e,70).ngClassDirty,so(e,70).ngClassValid,so(e,70).ngClassInvalid,so(e,70).ngClassPending,so(e,71)._isServer,so(e,71).id,so(e,71).placeholder,so(e,71).disabled,so(e,71).required,so(e,71).readonly,so(e,71)._ariaDescribedby||null,so(e,71).errorState,so(e,71).required.toString()]),t(e,74,1,["standard"==so(e,75).appearance,"fill"==so(e,75).appearance,"outline"==so(e,75).appearance,"legacy"==so(e,75).appearance,so(e,75)._control.errorState,so(e,75)._canLabelFloat,so(e,75)._shouldLabelFloat(),so(e,75)._hideControlPlaceholder(),so(e,75)._control.disabled,so(e,75)._control.autofilled,so(e,75)._control.focused,"accent"==so(e,75).color,"warn"==so(e,75).color,so(e,75)._shouldForward("untouched"),so(e,75)._shouldForward("touched"),so(e,75)._shouldForward("pristine"),so(e,75)._shouldForward("dirty"),so(e,75)._shouldForward("valid"),so(e,75)._shouldForward("invalid"),so(e,75)._shouldForward("pending"),!so(e,75)._animationsEnabled]),t(e,83,1,[so(e,84).id,so(e,84).tabIndex,so(e,84)._getAriaLabel(),so(e,84)._getAriaLabelledby(),so(e,84).required.toString(),so(e,84).disabled.toString(),so(e,84).errorState,so(e,84).panelOpen?so(e,84)._optionIds:null,so(e,84).multiple,so(e,84)._ariaDescribedby||null,so(e,84)._getAriaActiveDescendant(),so(e,84).disabled,so(e,84).errorState,so(e,84).required]),t(e,90,0,so(e,91)._getTabIndex(),so(e,91).selected,so(e,91).multiple,so(e,91).active,so(e,91).id,so(e,91).selected.toString(),so(e,91).disabled.toString(),so(e,91).disabled),t(e,93,0,so(e,94)._getTabIndex(),so(e,94).selected,so(e,94).multiple,so(e,94).active,so(e,94).id,so(e,94).selected.toString(),so(e,94).disabled.toString(),so(e,94).disabled),t(e,96,0,so(e,97)._getTabIndex(),so(e,97).selected,so(e,97).multiple,so(e,97).active,so(e,97).id,so(e,97).selected.toString(),so(e,97).disabled.toString(),so(e,97).disabled),t(e,100,1,["standard"==so(e,101).appearance,"fill"==so(e,101).appearance,"outline"==so(e,101).appearance,"legacy"==so(e,101).appearance,so(e,101)._control.errorState,so(e,101)._canLabelFloat,so(e,101)._shouldLabelFloat(),so(e,101)._hideControlPlaceholder(),so(e,101)._control.disabled,so(e,101)._control.autofilled,so(e,101)._control.focused,"accent"==so(e,101).color,"warn"==so(e,101).color,so(e,101)._shouldForward("untouched"),so(e,101)._shouldForward("touched"),so(e,101)._shouldForward("pristine"),so(e,101)._shouldForward("dirty"),so(e,101)._shouldForward("valid"),so(e,101)._shouldForward("invalid"),so(e,101)._shouldForward("pending"),!so(e,101)._animationsEnabled]),t(e,109,1,[so(e,111).required?"":null,so(e,116).ngClassUntouched,so(e,116).ngClassTouched,so(e,116).ngClassPristine,so(e,116).ngClassDirty,so(e,116).ngClassValid,so(e,116).ngClassInvalid,so(e,116).ngClassPending,so(e,117)._isServer,so(e,117).id,so(e,117).placeholder,so(e,117).disabled,so(e,117).required,so(e,117).readonly,so(e,117)._ariaDescribedby||null,so(e,117).errorState,so(e,117).required.toString()]),t(e,120,1,["standard"==so(e,121).appearance,"fill"==so(e,121).appearance,"outline"==so(e,121).appearance,"legacy"==so(e,121).appearance,so(e,121)._control.errorState,so(e,121)._canLabelFloat,so(e,121)._shouldLabelFloat(),so(e,121)._hideControlPlaceholder(),so(e,121)._control.disabled,so(e,121)._control.autofilled,so(e,121)._control.focused,"accent"==so(e,121).color,"warn"==so(e,121).color,so(e,121)._shouldForward("untouched"),so(e,121)._shouldForward("touched"),so(e,121)._shouldForward("pristine"),so(e,121)._shouldForward("dirty"),so(e,121)._shouldForward("valid"),so(e,121)._shouldForward("invalid"),so(e,121)._shouldForward("pending"),!so(e,121)._animationsEnabled]),t(e,129,1,[so(e,132).required?"":null,so(e,137).ngClassUntouched,so(e,137).ngClassTouched,so(e,137).ngClassPristine,so(e,137).ngClassDirty,so(e,137).ngClassValid,so(e,137).ngClassInvalid,so(e,137).ngClassPending,so(e,138)._isServer,so(e,138).id,so(e,138).placeholder,so(e,138).disabled,so(e,138).required,so(e,138).readonly,so(e,138)._ariaDescribedby||null,so(e,138).errorState,so(e,138).required.toString()]),t(e,141,1,["standard"==so(e,142).appearance,"fill"==so(e,142).appearance,"outline"==so(e,142).appearance,"legacy"==so(e,142).appearance,so(e,142)._control.errorState,so(e,142)._canLabelFloat,so(e,142)._shouldLabelFloat(),so(e,142)._hideControlPlaceholder(),so(e,142)._control.disabled,so(e,142)._control.autofilled,so(e,142)._control.focused,"accent"==so(e,142).color,"warn"==so(e,142).color,so(e,142)._shouldForward("untouched"),so(e,142)._shouldForward("touched"),so(e,142)._shouldForward("pristine"),so(e,142)._shouldForward("dirty"),so(e,142)._shouldForward("valid"),so(e,142)._shouldForward("invalid"),so(e,142)._shouldForward("pending"),!so(e,142)._animationsEnabled]),t(e,150,1,[so(e,153).required?"":null,so(e,158).ngClassUntouched,so(e,158).ngClassTouched,so(e,158).ngClassPristine,so(e,158).ngClassDirty,so(e,158).ngClassValid,so(e,158).ngClassInvalid,so(e,158).ngClassPending,so(e,159)._isServer,so(e,159).id,so(e,159).placeholder,so(e,159).disabled,so(e,159).required,so(e,159).readonly,so(e,159)._ariaDescribedby||null,so(e,159).errorState,so(e,159).required.toString()]),t(e,162,1,["standard"==so(e,163).appearance,"fill"==so(e,163).appearance,"outline"==so(e,163).appearance,"legacy"==so(e,163).appearance,so(e,163)._control.errorState,so(e,163)._canLabelFloat,so(e,163)._shouldLabelFloat(),so(e,163)._hideControlPlaceholder(),so(e,163)._control.disabled,so(e,163)._control.autofilled,so(e,163)._control.focused,"accent"==so(e,163).color,"warn"==so(e,163).color,so(e,163)._shouldForward("untouched"),so(e,163)._shouldForward("touched"),so(e,163)._shouldForward("pristine"),so(e,163)._shouldForward("dirty"),so(e,163)._shouldForward("valid"),so(e,163)._shouldForward("invalid"),so(e,163)._shouldForward("pending"),!so(e,163)._animationsEnabled]),t(e,171,1,[so(e,174).required?"":null,so(e,179).ngClassUntouched,so(e,179).ngClassTouched,so(e,179).ngClassPristine,so(e,179).ngClassDirty,so(e,179).ngClassValid,so(e,179).ngClassInvalid,so(e,179).ngClassPending,so(e,180)._isServer,so(e,180).id,so(e,180).placeholder,so(e,180).disabled,so(e,180).required,so(e,180).readonly,so(e,180)._ariaDescribedby||null,so(e,180).errorState,so(e,180).required.toString()]),t(e,183,1,["standard"==so(e,184).appearance,"fill"==so(e,184).appearance,"outline"==so(e,184).appearance,"legacy"==so(e,184).appearance,so(e,184)._control.errorState,so(e,184)._canLabelFloat,so(e,184)._shouldLabelFloat(),so(e,184)._hideControlPlaceholder(),so(e,184)._control.disabled,so(e,184)._control.autofilled,so(e,184)._control.focused,"accent"==so(e,184).color,"warn"==so(e,184).color,so(e,184)._shouldForward("untouched"),so(e,184)._shouldForward("touched"),so(e,184)._shouldForward("pristine"),so(e,184)._shouldForward("dirty"),so(e,184)._shouldForward("valid"),so(e,184)._shouldForward("invalid"),so(e,184)._shouldForward("pending"),!so(e,184)._animationsEnabled]),t(e,192,1,[so(e,195).required?"":null,so(e,200).ngClassUntouched,so(e,200).ngClassTouched,so(e,200).ngClassPristine,so(e,200).ngClassDirty,so(e,200).ngClassValid,so(e,200).ngClassInvalid,so(e,200).ngClassPending,so(e,201)._isServer,so(e,201).id,so(e,201).placeholder,so(e,201).disabled,so(e,201).required,so(e,201).readonly,so(e,201)._ariaDescribedby||null,so(e,201).errorState,so(e,201).required.toString()]),t(e,204,1,["standard"==so(e,205).appearance,"fill"==so(e,205).appearance,"outline"==so(e,205).appearance,"legacy"==so(e,205).appearance,so(e,205)._control.errorState,so(e,205)._canLabelFloat,so(e,205)._shouldLabelFloat(),so(e,205)._hideControlPlaceholder(),so(e,205)._control.disabled,so(e,205)._control.autofilled,so(e,205)._control.focused,"accent"==so(e,205).color,"warn"==so(e,205).color,so(e,205)._shouldForward("untouched"),so(e,205)._shouldForward("touched"),so(e,205)._shouldForward("pristine"),so(e,205)._shouldForward("dirty"),so(e,205)._shouldForward("valid"),so(e,205)._shouldForward("invalid"),so(e,205)._shouldForward("pending"),!so(e,205)._animationsEnabled]),t(e,213,1,[so(e,215).required?"":null,so(e,220).ngClassUntouched,so(e,220).ngClassTouched,so(e,220).ngClassPristine,so(e,220).ngClassDirty,so(e,220).ngClassValid,so(e,220).ngClassInvalid,so(e,220).ngClassPending,so(e,221)._isServer,so(e,221).id,so(e,221).placeholder,so(e,221).disabled,so(e,221).required,so(e,221).readonly,so(e,221)._ariaDescribedby||null,so(e,221).errorState,so(e,221).required.toString()]),t(e,224,1,["standard"==so(e,225).appearance,"fill"==so(e,225).appearance,"outline"==so(e,225).appearance,"legacy"==so(e,225).appearance,so(e,225)._control.errorState,so(e,225)._canLabelFloat,so(e,225)._shouldLabelFloat(),so(e,225)._hideControlPlaceholder(),so(e,225)._control.disabled,so(e,225)._control.autofilled,so(e,225)._control.focused,"accent"==so(e,225).color,"warn"==so(e,225).color,so(e,225)._shouldForward("untouched"),so(e,225)._shouldForward("touched"),so(e,225)._shouldForward("pristine"),so(e,225)._shouldForward("dirty"),so(e,225)._shouldForward("valid"),so(e,225)._shouldForward("invalid"),so(e,225)._shouldForward("pending"),!so(e,225)._animationsEnabled]),t(e,233,1,[so(e,238).ngClassUntouched,so(e,238).ngClassTouched,so(e,238).ngClassPristine,so(e,238).ngClassDirty,so(e,238).ngClassValid,so(e,238).ngClassInvalid,so(e,238).ngClassPending,so(e,239)._isServer,so(e,239).id,so(e,239).placeholder,so(e,239).disabled,so(e,239).required,so(e,239).readonly,so(e,239)._ariaDescribedby||null,so(e,239).errorState,so(e,239).required.toString()]),t(e,242,1,["standard"==so(e,243).appearance,"fill"==so(e,243).appearance,"outline"==so(e,243).appearance,"legacy"==so(e,243).appearance,so(e,243)._control.errorState,so(e,243)._canLabelFloat,so(e,243)._shouldLabelFloat(),so(e,243)._hideControlPlaceholder(),so(e,243)._control.disabled,so(e,243)._control.autofilled,so(e,243)._control.focused,"accent"==so(e,243).color,"warn"==so(e,243).color,so(e,243)._shouldForward("untouched"),so(e,243)._shouldForward("touched"),so(e,243)._shouldForward("pristine"),so(e,243)._shouldForward("dirty"),so(e,243)._shouldForward("valid"),so(e,243)._shouldForward("invalid"),so(e,243)._shouldForward("pending"),!so(e,243)._animationsEnabled]),t(e,251,1,[so(e,256).ngClassUntouched,so(e,256).ngClassTouched,so(e,256).ngClassPristine,so(e,256).ngClassDirty,so(e,256).ngClassValid,so(e,256).ngClassInvalid,so(e,256).ngClassPending,so(e,257)._isServer,so(e,257).id,so(e,257).placeholder,so(e,257).disabled,so(e,257).required,so(e,257).readonly,so(e,257)._ariaDescribedby||null,so(e,257).errorState,so(e,257).required.toString()]),t(e,260,1,[so(e,261).required?"":null,so(e,262).required?"":null,so(e,264).id,so(e,264).indeterminate,so(e,264).checked,so(e,264).disabled,"before"==so(e,264).labelPosition,"NoopAnimations"===so(e,264)._animationMode,so(e,268).ngClassUntouched,so(e,268).ngClassTouched,so(e,268).ngClassPristine,so(e,268).ngClassDirty,so(e,268).ngClassValid,so(e,268).ngClassInvalid,so(e,268).ngClassPending]),t(e,283,1,["standard"==so(e,284).appearance,"fill"==so(e,284).appearance,"outline"==so(e,284).appearance,"legacy"==so(e,284).appearance,so(e,284)._control.errorState,so(e,284)._canLabelFloat,so(e,284)._shouldLabelFloat(),so(e,284)._hideControlPlaceholder(),so(e,284)._control.disabled,so(e,284)._control.autofilled,so(e,284)._control.focused,"accent"==so(e,284).color,"warn"==so(e,284).color,so(e,284)._shouldForward("untouched"),so(e,284)._shouldForward("touched"),so(e,284)._shouldForward("pristine"),so(e,284)._shouldForward("dirty"),so(e,284)._shouldForward("valid"),so(e,284)._shouldForward("invalid"),so(e,284)._shouldForward("pending"),!so(e,284)._animationsEnabled]),t(e,292,1,[so(e,297).ngClassUntouched,so(e,297).ngClassTouched,so(e,297).ngClassPristine,so(e,297).ngClassDirty,so(e,297).ngClassValid,so(e,297).ngClassInvalid,so(e,297).ngClassPending,so(e,298)._isServer,so(e,298).id,so(e,298).placeholder,so(e,298).disabled,so(e,298).required,so(e,298).readonly,so(e,298)._ariaDescribedby||null,so(e,298).errorState,so(e,298).required.toString()]),t(e,303,0,so(e,304).vertical?"vertical":"horizontal",so(e,304).vertical,!so(e,304).vertical,so(e,304).inset),t(e,305,0,so(e,306).disabled||null,"NoopAnimations"===so(e,306)._animationMode),t(e,308,0,so(e,309).disabled||null,"NoopAnimations"===so(e,309)._animationMode)})}var JO=Xi("app-signature-detail",HE,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-signature-detail",[],null,null,null,QO,GO)),Co(1,4308992,null,0,HE,[G_,sw,qd,hx],null,null)],function(t,e){t(e,1,0)},null)},{},{},[]),tT=oi({encapsulation:0,styles:[[""]],data:{}});function eT(t){return Xo(0,[(t()(),Ri(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Co(1,212992,null,0,X_,[$_,jn,Ye,[8,null],zn],null,null)],function(t,e){t(e,1,0)},null)}var nT=Xi("app-root",Hs,function(t){return Xo(0,[(t()(),Ri(0,0,null,null,1,"app-root",[],null,null,null,eT,tT)),Co(1,49152,null,0,Hs,[],null,null)],null,null)},{},{},[]),rT=new vt("mat-menu-scroll-strategy");function iT(t){return function(){return t.scrollStrategies.reposition()}}var oT=function(){},lT=function(){},aT=function(){function t(){this.changes=new V,this.optionalLabel="Optional"}return t.ngInjectableDef=yt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),sT=function(){},uT=function(){function t(t){this.router=t}return t.prototype.canActivate=function(){return!!localStorage.getItem("token")||(this.router.navigate(["/login"]),!1)},t}(),cT=function(){},dT=function(){},pT=new vt("mat-chips-default-options"),hT=function(){},fT=function(){},mT=function(){},gT=function(){},yT=function(t,e,n){return new ia(zs,[Hs],function(t){return function(t){for(var e={},n=[],r=!1,i=0;i