4 lines
1.4 MiB
4 lines
1.4 MiB
!function(e){function r(r){for(var n,f,i=r[0],l=r[1],a=r[2],c=0,s=[];c<i.length;c++)o[f=i[c]]&&s.push(o[f][0]),o[f]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(p&&p(r);s.length;)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++)0!==o[t[i]]&&(n=!1);n&&(u.splice(r--,1),e=f(f.s=t[0]))}return e}var n={},o={0:0},u=[];function f(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,f),t.l=!0,t.exports}f.m=e,f.c=n,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,r){if(1&r&&(e=f(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)f.d(t,n,(function(r){return e[r]}).bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="";var i=window.webpackJsonp=window.webpackJsonp||[],l=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var p=l;t()}([]);
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"++zV":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.set;r({target:"Reflect",stat:!0},{defineMetadata:function(e,t,n){var r=arguments.length<4?void 0:a(arguments[3]);c(e,t,i(n),r)}})},"+MLx":function(e,t,n){var r=n("HAuM");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"/GqU":function(e,t,n){var r=n("RK3t"),o=n("HYAF");e.exports=function(e){return r(o(e))}},"0BK2":function(e,t){e.exports={}},"0Dky":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"0GbY":function(e,t,n){var r=n("Qo9l"),o=n("2oRo"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},"0TWp":function(e,t,n){!function(){"use strict";!function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function r(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var o=!0===e.__zone_symbol__forceDuplicateZoneCheck;if(e.Zone){if(o||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var i,a=function(){function t(e,t){this._parent=e,this._name=t?t.name||"unnamed":"<root>",this._properties=t&&t.properties||{},this._zoneDelegate=new s(this,this._parent&&this._parent._zoneDelegate,t)}return t.assertZonePatched=function(){if(e.Promise!==x.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(t,"root",{get:function(){for(var e=t.current;e.parent;)e=e.parent;return e},enumerable:!0,configurable:!0}),Object.defineProperty(t,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return j},enumerable:!0,configurable:!0}),t.__load_patch=function(i,a){if(x.hasOwnProperty(i)){if(o)throw Error("Already loaded patch: "+i)}else if(!e["__Zone_disable_"+i]){var c="Zone:"+i;n(c),x[i]=a(e,t,D),r(c,c)}},Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.get=function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]},t.prototype.getZoneWith=function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null},t.prototype.fork=function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)},t.prototype.wrap=function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),r=this;return function(){return r.runGuarded(n,this,arguments,t)}},t.prototype.run=function(e,t,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{P=P.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},t.prototype.runTask=function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");if(e.state!==b||e.type!==S&&e.type!==O){var r=e.state!=_;r&&e._transitionTo(_,k),e.runCount++;var o=j;j=e,P={parent:P,zone:this};try{e.type==O&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{e.state!==b&&e.state!==w&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(k,_):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(b,_,b))),P=P.parent,j=o}}},t.prototype.scheduleTask=function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+e.zone.name);t=t.parent}e._transitionTo(m,b);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(w,m,b),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==m&&e._transitionTo(k,m),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new u(E,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new u(O,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new u(S,e,t,n,r,o))},t.prototype.cancelTask=function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||y).name+"; Execution: "+this.name+")");e._transitionTo(T,k,_);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(w,T),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(b,T),e.runCount=0,e},t.prototype._updateTaskCount=function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var r=0;r<n.length;r++)n[r]._updateTaskCount(e.type,t)},t.__symbol__=R,t}(),c={name:"",onHasTask:function(e,t,n,r){return e.hasTask(n,r)},onScheduleTask:function(e,t,n,r){return e.scheduleTask(n,r)},onInvokeTask:function(e,t,n,r,o,i){return e.invokeTask(n,r,o,i)},onCancelTask:function(e,t,n,r){return e.cancelTask(n,r)}},s=function(){function e(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t.zone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t.zone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t.zone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t.zone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t.zone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t.zone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t.zone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var r=n&&n.onHasTask;(r||t&&t._hasTaskZS)&&(this._hasTaskZS=r?n:c,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=c,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=c,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=c,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}return e.prototype.fork=function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new a(e,t)},e.prototype.intercept=function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t},e.prototype.invoke=function(e,t,n,r,o){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,r,o):t.apply(n,r)},e.prototype.handleError=function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)},e.prototype.scheduleTask=function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=E)throw new Error("Task is missing scheduleFn.");d(t)}return n},e.prototype.invokeTask=function(e,t,n,r){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,r):t.callback.apply(n,r)},e.prototype.cancelTask=function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n},e.prototype.hasTask=function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}},e.prototype._updateTaskCount=function(e,t){var n=this._taskCounts,r=n[e],o=n[e]=r+t;if(o<0)throw new Error("More tasks executed then were scheduled.");0!=r&&0!=o||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})},e}(),u=function(){function t(n,r,o,i,a,c){this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,this.callback=o;var s=this;this.invoke=n===S&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,s,this,arguments)}}return t.invokeTask=function(e,t,n){e||(e=this),z++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==z&&g(),z--}},Object.defineProperty(t.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),t.prototype.cancelScheduleRequest=function(){this._transitionTo(b,m)},t.prototype._transitionTo=function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+e+"', expecting state '"+t+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=e,e==b&&(this._zoneDelegates=null)},t.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},t.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},t}(),l=R("setTimeout"),f=R("Promise"),p=R("then"),h=[],v=!1;function d(t){if(0===z&&0===h.length)if(i||e[f]&&(i=e[f].resolve(0)),i){var n=i[p];n||(n=i.then),n.call(i,g)}else e[l](g,0);t&&h.push(t)}function g(){if(!v){for(v=!0;h.length;){var e=h;h=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(r){D.onUnhandledError(r)}}}D.microtaskDrainDone(),v=!1}}var y={name:"NO ZONE"},b="notScheduled",m="scheduling",k="scheduled",_="running",T="canceling",w="unknown",E="microTask",O="macroTask",S="eventTask",x={},D={symbol:R,currentZoneFrame:function(){return P},onUnhandledError:Z,microtaskDrainDone:Z,scheduleMicroTask:d,showUncaughtError:function(){return!a[R("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:Z,patchMethod:function(){return Z},bindArguments:function(){return[]},patchThen:function(){return Z},patchMacroTask:function(){return Z},setNativePromise:function(e){e&&"function"==typeof e.resolve&&(i=e.resolve(0))},patchEventPrototype:function(){return Z},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return Z},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return Z},wrapWithCurrentZone:function(){return Z},filterProperties:function(){return[]},attachOriginToPatched:function(){return Z},_redefineProperty:function(){return Z},patchCallbacks:function(){return Z}},P={parent:null,zone:new a(null,null)},j=null,z=0;function Z(){}function R(e){return"__zone_symbol__"+e}r("Zone","Zone"),e.Zone=a}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var e=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Zone.__load_patch("ZoneAwarePromise",function(t,n,r){var o=Object.getOwnPropertyDescriptor,i=Object.defineProperty,a=r.symbol,c=[],s=a("Promise"),u=a("then"),l="__creationTrace__";r.onUnhandledError=function(e){if(r.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},r.microtaskDrainDone=function(){for(;c.length;)for(var e=function(){var e=c.shift();try{e.zone.runGuarded(function(){throw e})}catch(t){p(t)}};c.length;)e()};var f=a("unhandledPromiseRejectionHandler");function p(e){r.onUnhandledError(e);try{var t=n[f];t&&"function"==typeof t&&t.call(this,e)}catch(o){}}function h(e){return e&&e.then}function v(e){return e}function d(e){return I.reject(e)}var g=a("state"),y=a("value"),b=a("finally"),m=a("parentPromiseValue"),k=a("parentPromiseState"),_="Promise.then",T=null,w=!0,E=!1,O=0;function S(e,t){return function(n){try{j(e,t,n)}catch(r){j(e,!1,r)}}}var x=function(){var e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},D="Promise resolved with itself",P=a("currentTaskTrace");function j(e,t,o){var a,s=x();if(e===o)throw new TypeError(D);if(e[g]===T){var u=null;try{"object"!=typeof o&&"function"!=typeof o||(u=o&&o.then)}catch(d){return s(function(){j(e,!1,d)})(),e}if(t!==E&&o instanceof I&&o.hasOwnProperty(g)&&o.hasOwnProperty(y)&&o[g]!==T)Z(o),j(e,o[g],o[y]);else if(t!==E&&"function"==typeof u)try{u.call(o,s(S(e,t)),s(S(e,!1)))}catch(d){s(function(){j(e,!1,d)})()}else{e[g]=t;var f=e[y];if(e[y]=o,e[b]===b&&t===w&&(e[g]=e[k],e[y]=e[m]),t===E&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data[l];p&&i(o,P,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<f.length;)R(e,f[h++],f[h++],f[h++],f[h++]);if(0==f.length&&t==E){e[g]=O;try{throw new Error("Uncaught (in promise): "+((a=o)&&a.toString===Object.prototype.toString?(a.constructor&&a.constructor.name||"")+": "+JSON.stringify(a):a?a.toString():Object.prototype.toString.call(a))+(o&&o.stack?"\n"+o.stack:""))}catch(d){var v=d;v.rejection=o,v.promise=e,v.zone=n.current,v.task=n.currentTask,c.push(v),r.scheduleMicroTask()}}}}return e}var z=a("rejectionHandledHandler");function Z(e){if(e[g]===O){try{var t=n[z];t&&"function"==typeof t&&t.call(this,{rejection:e[y],promise:e})}catch(o){}e[g]=E;for(var r=0;r<c.length;r++)e===c[r].promise&&c.splice(r,1)}}function R(e,t,n,r,o){Z(e);var i=e[g],a=i?"function"==typeof r?r:v:"function"==typeof o?o:d;t.scheduleMicroTask(_,function(){try{var r=e[y],o=n&&b===n[b];o&&(n[m]=r,n[k]=i);var c=t.run(a,void 0,o&&a!==d&&a!==v?[]:[r]);j(n,!0,c)}catch(s){j(n,!1,s)}},n)}var I=function(){function t(e){if(!(this instanceof t))throw new Error("Must be an instanceof Promise.");this[g]=T,this[y]=[];try{e&&e(S(this,w),S(this,E))}catch(n){j(this,!1,n)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(e){return j(new this(null),w,e)},t.reject=function(e){return j(new this(null),E,e)},t.race=function(t){var n,r,o,i,a=new this(function(e,t){o=e,i=t});function c(e){o(e)}function s(e){i(e)}try{for(var u=e(t),l=u.next();!l.done;l=u.next()){var f=l.value;h(f)||(f=this.resolve(f)),f.then(c,s)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return a},t.all=function(t){var n,r,o,i,a=new this(function(e,t){o=e,i=t}),c=2,s=0,u=[],l=function(e){h(e)||(e=f.resolve(e));var t=s;e.then(function(e){u[t]=e,0==--c&&o(u)},i),c++,s++},f=this;try{for(var p=e(t),v=p.next();!v.done;v=p.next())l(v.value)}catch(d){n={error:d}}finally{try{v&&!v.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}return 0==(c-=2)&&o(u),a},Object.defineProperty(t.prototype,Symbol.toStringTag,{get:function(){return"Promise"},enumerable:!0,configurable:!0}),t.prototype.then=function(e,t){var r=new this.constructor(null),o=n.current;return this[g]==T?this[y].push(o,r,e,t):R(this,o,r,e,t),r},t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(e){var t=new this.constructor(null);t[b]=b;var r=n.current;return this[g]==T?this[y].push(r,t,e,e):R(this,r,t,e,e),t},t}();I.resolve=I.resolve,I.reject=I.reject,I.race=I.race,I.all=I.all;var M=t[s]=t.Promise,C=n.__symbol__("ZoneAwarePromise"),L=o(t,"Promise");L&&!L.configurable||(L&&delete L.writable,L&&delete L.value,L||(L={configurable:!0,enumerable:!0}),L.get=function(){return t[C]?t[C]:t[s]},L.set=function(e){e===I?t[C]=e:(t[s]=e,e.prototype[u]||N(e),r.setNativePromise(e))},i(t,"Promise",L)),t.Promise=I;var A,F=a("thenPatched");function N(e){var t=e.prototype,n=o(t,"then");if(!n||!1!==n.writable&&n.configurable){var r=t.then;t[u]=r,e.prototype.then=function(e,t){var n=this;return new I(function(e,t){r.call(n,e,t)}).then(e,t)},e[F]=!0}}if(r.patchThen=N,M){N(M);var G=t.fetch;"function"==typeof G&&(t[r.symbol("fetch")]=G,t.fetch=(A=G,function(){var e=A.apply(this,arguments);if(e instanceof I)return e;var t=e.constructor;return t[F]||N(t),e}))}return Promise[n.__symbol__("uncaughtPromiseErrors")]=c,I});var t=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",s=Zone.__symbol__(a),u=Zone.__symbol__(c),l="true",f="false",p="__zone_symbol__";function h(e,t){return Zone.current.wrap(e,t)}function v(e,t,n,r,o){return Zone.current.scheduleMacroTask(e,t,n,r,o)}var d=Zone.__symbol__,g="undefined"!=typeof window,y=g?window:void 0,b=g&&y||"object"==typeof self&&self||global,m="removeAttribute",k=[null];function _(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=h(e[n],t+"_"+n));return e}function T(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var w="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in b)&&void 0!==b.process&&"[object process]"==={}.toString.call(b.process),O=!E&&!w&&!(!g||!y.HTMLElement),S=void 0!==b.process&&"[object process]"==={}.toString.call(b.process)&&!w&&!(!g||!y.HTMLElement),x={},D=function(e){if(e=e||b.event){var t=x[e.type];t||(t=x[e.type]=d("ON_PROPERTY"+e.type));var n,r=this||e.target||b,o=r[t];return O&&r===y&&"error"===e.type?!0===(n=o&&o.call(this,e.message,e.filename,e.lineno,e.colno,e.error))&&e.preventDefault():null==(n=o&&o.apply(this,arguments))||n||e.preventDefault(),n}};function P(e,r,o){var i=t(e,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=d("on"+r+"patched");if(!e.hasOwnProperty(a)||!e[a]){delete i.writable,delete i.value;var c=i.get,s=i.set,u=r.substr(2),l=x[u];l||(l=x[u]=d("ON_PROPERTY"+u)),i.set=function(t){var n=this;n||e!==b||(n=b),n&&(n[l]&&n.removeEventListener(u,D),s&&s.apply(n,k),"function"==typeof t?(n[l]=t,n.addEventListener(u,D,!1)):n[l]=null)},i.get=function(){var t=this;if(t||e!==b||(t=b),!t)return null;var n=t[l];if(n)return n;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t[m]&&t.removeAttribute(r),o}return null},n(e,r,i),e[a]=!0}}}function j(e,t,n){if(t)for(var r=0;r<t.length;r++)P(e,"on"+t[r],n);else{var o=[];for(var i in e)"on"==i.substr(0,2)&&o.push(i);for(var a=0;a<o.length;a++)P(e,o[a],n)}}var z=d("originalInstance");function Z(e){var t=b[e];if(t){b[d(e)]=t,b[e]=function(){var n=_(arguments,e);switch(n.length){case 0:this[z]=new t;break;case 1:this[z]=new t(n[0]);break;case 2:this[z]=new t(n[0],n[1]);break;case 3:this[z]=new t(n[0],n[1],n[2]);break;case 4:this[z]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},C(b[e],t);var r,o=new t(function(){});for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?b[e].prototype[t]=function(){return this[z][t].apply(this[z],arguments)}:n(b[e].prototype,t,{set:function(n){"function"==typeof n?(this[z][t]=h(n,e+"."+t),C(this[z][t],n)):this[z][t]=n},get:function(){return this[z][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(b[e][r]=t[r])}}var R=!1;function I(e,n,o){for(var i=e;i&&!i.hasOwnProperty(n);)i=r(i);!i&&e[n]&&(i=e);var a,c,s=d(n),u=null;if(i&&!(u=i[s])&&(u=i[s]=i[n],T(i&&t(i,n)))){var l=o(u,s,n);i[n]=function(){return l(this,arguments)},C(i[n],u),R&&(a=u,c=i[n],"function"==typeof Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(function(e){var t=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(c,e,{get:function(){return a[e]},set:function(n){(!t||t.writable&&"function"==typeof t.set)&&(a[e]=n)},enumerable:!t||t.enumerable,configurable:!t||t.configurable})}))}return u}function M(e,t,n){var r=null;function o(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},r.apply(t.target,t.args),e}r=I(e,t,function(e){return function(t,r){var i=n(t,r);return i.cbIdx>=0&&"function"==typeof r[i.cbIdx]?v(i.name,r[i.cbIdx],i,o):e.apply(t,r)}})}function C(e,t){e[d("OriginalDelegate")]=t}var L=!1,A=!1;function F(){try{var e=y.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}function N(){if(L)return A;L=!0;try{var e=y.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(A=!0)}catch(t){}return A}Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,n=d("OriginalDelegate"),r=d("Promise"),o=d("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?t.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=e[r];if(a)return t.call(a)}if(this===Error){var c=e[o];if(c)return t.call(c)}}return t.call(this)};i[n]=t,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}});var G=!1;if("undefined"!=typeof window)try{var H=Object.defineProperty({},"passive",{get:function(){G=!0}});window.addEventListener("test",H,H),window.removeEventListener("test",H,H)}catch(Oe){G=!1}var W={useG:!0},U={},B={},K=/^__zone_symbol__(\w+)(true|false)$/,V="__zone_symbol__propagationStopped";function q(e,t,n){var o=n&&n.add||a,i=n&&n.rm||c,s=n&&n.listeners||"eventListeners",u=n&&n.rmAll||"removeAllListeners",h=d(o),v="."+o+":",g="prependListener",y="."+g+":",b=function(e,t,n){if(!e.isRemoved){var r=e.callback;"object"==typeof r&&r.handleEvent&&(e.callback=function(e){return r.handleEvent(e)},e.originalDelegate=r),e.invoke(e,t,[n]);var o=e.options;o&&"object"==typeof o&&o.once&&t[i].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,o)}},m=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[U[t.type][f]];if(r)if(1===r.length)b(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[V]);i++)b(o[i],n,t)}},k=function(t){if(t=t||e.event){var n=this||t.target||e,r=n[U[t.type][l]];if(r)if(1===r.length)b(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[V]);i++)b(o[i],n,t)}};function _(t,n){if(!t)return!1;var a=!0;n&&void 0!==n.useG&&(a=n.useG);var c=n&&n.vh,b=!0;n&&void 0!==n.chkDup&&(b=n.chkDup);var _=!1;n&&void 0!==n.rt&&(_=n.rt);for(var T=t;T&&!T.hasOwnProperty(o);)T=r(T);if(!T&&t[o]&&(T=t),!T)return!1;if(T[h])return!1;var w,O=n&&n.eventNameToString,S={},x=T[h]=T[o],D=T[d(i)]=T[i],P=T[d(s)]=T[s],j=T[d(u)]=T[u];function z(e){G||"boolean"==typeof S.options||null==S.options||(e.options=!!S.options.capture,S.options=e.options)}n&&n.prepend&&(w=T[d(n.prepend)]=T[n.prepend]);var Z=a?function(e){if(!S.isExisting)return z(e),x.call(S.target,S.eventName,S.capture?k:m,S.options)}:function(e){return z(e),x.call(S.target,S.eventName,e.invoke,S.options)},R=a?function(e){if(!e.isRemoved){var t=U[e.eventName],n=void 0;t&&(n=t[e.capture?l:f]);var r=n&&e.target[n];if(r)for(var o=0;o<r.length;o++)if(r[o]===e){r.splice(o,1),e.isRemoved=!0,0===r.length&&(e.allRemoved=!0,e.target[n]=null);break}}if(e.allRemoved)return D.call(e.target,e.eventName,e.capture?k:m,e.options)}:function(e){return D.call(e.target,e.eventName,e.invoke,e.options)},I=n&&n.diff?n.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},M=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],L=function(t,n,r,o,i,s){return void 0===i&&(i=!1),void 0===s&&(s=!1),function(){var u=this||e,h=arguments[0],v=arguments[1];if(!v)return t.apply(this,arguments);if(E&&"uncaughtException"===h)return t.apply(this,arguments);var d=!1;if("function"!=typeof v){if(!v.handleEvent)return t.apply(this,arguments);d=!0}if(!c||c(t,v,u,arguments)){var g,y=arguments[2];if(M)for(var m=0;m<M.length;m++)if(h===M[m])return t.apply(this,arguments);var k=!1;void 0===y?g=!1:!0===y?g=!0:!1===y?g=!1:(g=!!y&&!!y.capture,k=!!y&&!!y.once);var _,T=Zone.current,w=U[h];if(w)_=w[g?l:f];else{var x=(O?O(h):h)+f,D=(O?O(h):h)+l,P=p+x,j=p+D;U[h]={},U[h][f]=P,U[h][l]=j,_=g?j:P}var z,Z=u[_],R=!1;if(Z){if(R=!0,b)for(m=0;m<Z.length;m++)if(I(Z[m],v))return}else Z=u[_]=[];var C=u.constructor.name,L=B[C];L&&(z=L[h]),z||(z=C+n+(O?O(h):h)),S.options=y,k&&(S.options.once=!1),S.target=u,S.capture=g,S.eventName=h,S.isExisting=R;var A=a?W:void 0;A&&(A.taskData=S);var F=T.scheduleEventTask(z,v,A,r,o);return S.target=null,A&&(A.taskData=null),k&&(y.once=!0),(G||"boolean"!=typeof F.options)&&(F.options=y),F.target=u,F.capture=g,F.eventName=h,d&&(F.originalDelegate=v),s?Z.unshift(F):Z.push(F),i?u:void 0}}};return T[o]=L(x,v,Z,R,_),w&&(T[g]=L(w,y,function(e){return w.call(S.target,S.eventName,e.invoke,S.options)},R,_,!0)),T[i]=function(){var t,n=this||e,r=arguments[0],o=arguments[2];t=void 0!==o&&(!0===o||!1!==o&&!!o&&!!o.capture);var i=arguments[1];if(!i)return D.apply(this,arguments);if(!c||c(D,i,n,arguments)){var a,s=U[r];s&&(a=s[t?l:f]);var u=a&&n[a];if(u)for(var p=0;p<u.length;p++){var h=u[p];if(I(h,i))return u.splice(p,1),h.isRemoved=!0,0===u.length&&(h.allRemoved=!0,n[a]=null),h.zone.cancelTask(h),_?n:void 0}return D.apply(this,arguments)}},T[s]=function(){for(var t=arguments[0],n=[],r=Y(this||e,O?O(t):t),o=0;o<r.length;o++){var i=r[o];n.push(i.originalDelegate?i.originalDelegate:i.callback)}return n},T[u]=function(){var t=this||e,n=arguments[0];if(n){var r=U[n];if(r){var o=t[r[f]],a=t[r[l]];if(o){var c=o.slice();for(h=0;h<c.length;h++)this[i].call(this,n,(s=c[h]).originalDelegate?s.originalDelegate:s.callback,s.options)}if(a)for(c=a.slice(),h=0;h<c.length;h++){var s;this[i].call(this,n,(s=c[h]).originalDelegate?s.originalDelegate:s.callback,s.options)}}}else{for(var p=Object.keys(t),h=0;h<p.length;h++){var v=K.exec(p[h]),d=v&&v[1];d&&"removeListener"!==d&&this[u].call(this,d)}this[u].call(this,"removeListener")}if(_)return this},C(T[o],x),C(T[i],D),j&&C(T[u],j),P&&C(T[s],P),!0}for(var T=[],w=0;w<t.length;w++)T[w]=_(t[w],n);return T}function Y(e,t){var n=[];for(var r in e){var o=K.exec(r),i=o&&o[1];if(i&&(!t||i===t)){var a=e[r];if(a)for(var c=0;c<a.length;c++)n.push(a[c])}}return n}function X(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(t,n){t[V]=!0,e&&e.apply(t,n)}})}function Q(e,t,n,r,o){var i=Zone.__symbol__(r);if(!t[i]){var a=t[i]=t[r];t[r]=function(i,c,s){return c&&c.prototype&&o.forEach(function(t){var o=n+"."+r+"::"+t,i=c.prototype;if(i.hasOwnProperty(t)){var a=e.ObjectGetOwnPropertyDescriptor(i,t);a&&a.value?(a.value=e.wrapWithCurrentZone(a.value,o),e._redefineProperty(c.prototype,t,a)):i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}else i[t]&&(i[t]=e.wrapWithCurrentZone(i[t],o))}),a.call(t,i,c,s)},e.attachOriginToPatched(t[r],a)}}var J=Zone.__symbol__,$=Object[J("defineProperty")]=Object.defineProperty,ee=Object[J("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,te=Object.create,ne=J("unconfigurables");function re(e,t,n){var r=n.configurable;return ae(e,t,n=ie(e,t,n),r)}function oe(e,t){return e&&e[ne]&&e[ne][t]}function ie(e,t,n){return Object.isFrozen(n)||(n.configurable=!0),n.configurable||(e[ne]||Object.isFrozen(e)||$(e,ne,{writable:!0,value:{}}),e[ne]&&(e[ne][t]=!0)),n}function ae(e,t,n,r){try{return $(e,t,n)}catch(i){if(!n.configurable)throw i;void 0===r?delete n.configurable:n.configurable=r;try{return $(e,t,n)}catch(i){var o=null;try{o=JSON.stringify(n)}catch(i){o=n.toString()}console.log("Attempting to configure '"+t+"' with descriptor '"+o+"' on object '"+e+"' and got error, giving up: "+i)}}}var ce=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplyconnected","vrdisplaydisconnected","vrdisplaypresentchange"],se=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ue=["load"],le=["blur","error","focus","load","resize","scroll","messageerror"],fe=["bounce","finish","start"],pe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],he=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],ve=["close","error","open","message"],de=["error","message"],ge=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],ce,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ye(e,t,n){if(!n||0===n.length)return t;var r=n.filter(function(t){return t.target===e});if(!r||0===r.length)return t;var o=r[0].ignoreProperties;return t.filter(function(e){return-1===o.indexOf(e)})}function be(e,t,n,r){e&&j(e,ye(e,t,n),r)}function me(e,t){if((!E||S)&&!Zone[e.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,o=t.__Zone_ignore_on_properties;if(O){var i=window,a=F?[{target:i,ignoreProperties:["error"]}]:[];be(i,ge.concat(["messageerror"]),o?o.concat(a):o,r(i)),be(Document.prototype,ge,o),void 0!==i.SVGElement&&be(i.SVGElement.prototype,ge,o),be(Element.prototype,ge,o),be(HTMLElement.prototype,ge,o),be(HTMLMediaElement.prototype,se,o),be(HTMLFrameSetElement.prototype,ce.concat(le),o),be(HTMLBodyElement.prototype,ce.concat(le),o),be(HTMLFrameElement.prototype,ue,o),be(HTMLIFrameElement.prototype,ue,o);var c=i.HTMLMarqueeElement;c&&be(c.prototype,fe,o);var s=i.Worker;s&&be(s.prototype,de,o)}var u=t.XMLHttpRequest;u&&be(u.prototype,pe,o);var l=t.XMLHttpRequestEventTarget;l&&be(l&&l.prototype,pe,o),"undefined"!=typeof IDBIndex&&(be(IDBIndex.prototype,he,o),be(IDBRequest.prototype,he,o),be(IDBOpenDBRequest.prototype,he,o),be(IDBDatabase.prototype,he,o),be(IDBTransaction.prototype,he,o),be(IDBCursor.prototype,he,o)),n&&be(WebSocket.prototype,ve,o)}}function ke(e,t){var n=t.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,s=n.ZONE_SYMBOL_PREFIX,u="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video",l="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),f=[],p=e.wtf,h=u.split(",");p?f=h.map(function(e){return"HTML"+e+"Element"}).concat(l):e.EventTarget?f.push("EventTarget"):f=l;for(var v=e.__Zone_disable_IE_check||!1,d=e.__Zone_enable_cross_context_check||!1,g=t.isIEOrEdge(),y="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",b=0;b<r.length;b++){var m=s+((E=r[b])+c),k=s+(E+a);i[E]={},i[E][c]=m,i[E][a]=k}for(b=0;b<u.length;b++)for(var _=h[b],T=o[_]={},w=0;w<r.length;w++){var E;T[E=r[w]]=_+".addEventListener:"+E}var O=[];for(b=0;b<f.length;b++){var S=e[f[b]];O.push(S&&S.prototype)}return t.patchEventTarget(e,O,{vh:function(e,t,n,r){if(!v&&g){if(d)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==y)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==y)return e.apply(n,r),!1}else if(d)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0}}),Zone[t.symbol("patchEventTarget")]=!!e.EventTarget,!0}function _e(e,t){var n=e.getGlobalObjects();if((!n.isNode||n.isMix)&&!function(e,t){var n=e.getGlobalObjects();if((n.isBrowser||n.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var r=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(r&&!r.configurable)return!1;if(r){e.ObjectDefineProperty(Element.prototype,"onclick",{enumerable:!0,configurable:!0,get:function(){return!0}});var o=!!document.createElement("div").onclick;return e.ObjectDefineProperty(Element.prototype,"onclick",r),o}}var i=t.XMLHttpRequest;if(!i)return!1;var a=i.prototype,c=e.ObjectGetOwnPropertyDescriptor(a,"onreadystatechange");if(c)return e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}}),o=!!(u=new i).onreadystatechange,e.ObjectDefineProperty(a,"onreadystatechange",c||{}),o;var s=e.symbol("fake");e.ObjectDefineProperty(a,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[s]},set:function(e){this[s]=e}});var u,l=function(){};return(u=new i).onreadystatechange=l,o=u[s]===l,u.onreadystatechange=null,o}(e,t)){var r="undefined"!=typeof WebSocket;!function(e){for(var t=e.getGlobalObjects().eventNames,n=e.symbol("unbound"),r=function(r){var o=t[r],i="on"+o;self.addEventListener(o,function(t){var r,o,a=t.target;for(o=a?a.constructor.name+"."+i:"unknown."+i;a;)a[i]&&!a[i][n]&&((r=e.wrapWithCurrentZone(a[i],o))[n]=a[i],a[i]=r),a=a.parentElement},!0)},o=0;o<t.length;o++)r(o)}(e),e.patchClass("XMLHttpRequest"),r&&function(e,t){var n=e.getGlobalObjects(),r=n.ADD_EVENT_LISTENER_STR,o=n.REMOVE_EVENT_LISTENER_STR,i=t.WebSocket;t.EventTarget||e.patchEventTarget(t,[i.prototype]),t.WebSocket=function(t,n){var a,c,s=arguments.length>1?new i(t,n):new i(t),u=e.ObjectGetOwnPropertyDescriptor(s,"onmessage");return u&&!1===u.configurable?(a=e.ObjectCreate(s),c=s,[r,o,"send","close"].forEach(function(t){a[t]=function(){var n=e.ArraySlice.call(arguments);if(t===r||t===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);s[c]=a[c]}}return s[t].apply(s,n)}})):a=s,e.patchOnProperties(a,["close","error","message","open"],c),a};var a=t.WebSocket;for(var c in i)a[c]=i[c]}(e,t),Zone[e.symbol("patchEvents")]=!0}}Zone.__load_patch("util",function(e,r,s){s.patchOnProperties=j,s.patchMethod=I,s.bindArguments=_,s.patchMacroTask=M;var u=r.__symbol__("BLACK_LISTED_EVENTS"),v=r.__symbol__("UNPATCHED_EVENTS");e[v]&&(e[u]=e[v]),e[u]&&(r[u]=r[v]=e[u]),s.patchEventPrototype=X,s.patchEventTarget=q,s.isIEOrEdge=N,s.ObjectDefineProperty=n,s.ObjectGetOwnPropertyDescriptor=t,s.ObjectCreate=o,s.ArraySlice=i,s.patchClass=Z,s.wrapWithCurrentZone=h,s.filterProperties=ye,s.attachOriginToPatched=C,s._redefineProperty=re,s.patchCallbacks=Q,s.getGlobalObjects=function(){return{globalSources:B,zoneSymbolEventNames:U,eventNames:ge,isBrowser:O,isMix:S,isNode:E,TRUE_STR:l,FALSE_STR:f,ZONE_SYMBOL_PREFIX:p,ADD_EVENT_LISTENER_STR:a,REMOVE_EVENT_LISTENER_STR:c}}}),function(e){e.__zone_symbol__legacyPatch=function(){var t=e.Zone;t.__load_patch("registerElement",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in e.document&&t.patchCallbacks(t,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(e,n)}),t.__load_patch("EventTargetLegacy",function(e,t,n){ke(e,n),_e(n,e)})}}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var Te=d("zoneTask");function we(e,t,n,r){var o=null,i=null;n+=r;var a={};function c(t){var n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[Te]=null))}},n.handleId=o.apply(e,n.args),t}function s(e){return i(e.data.handleId)}o=I(e,t+=r,function(n){return function(o,i){if("function"==typeof i[0]){var u=v(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,s);if(!u)return u;var l=u.data.handleId;return"number"==typeof l?a[l]=u:l&&(l[Te]=u),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(u.ref=l.ref.bind(l),u.unref=l.unref.bind(l)),"number"==typeof l||l?l:u}return n.apply(e,i)}}),i=I(e,n,function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[Te])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[Te]=null),o.zone.cancelTask(o)):t.apply(e,r)}})}function Ee(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,s=0;s<r.length;s++){var u=r[s],l=c+(u+a),f=c+(u+i);o[u]={},o[u][a]=l,o[u][i]=f}var p=e.EventTarget;if(p&&p.prototype)return t.patchEventTarget(e,[p&&p.prototype]),!0}}Zone.__load_patch("legacy",function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",function(e){we(e,"set","clear","Timeout"),we(e,"set","clear","Interval"),we(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){we(e,"request","cancel","AnimationFrame"),we(e,"mozRequest","mozCancel","AnimationFrame"),we(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],r=0;r<n.length;r++)I(e,n[r],function(n,r,o){return function(r,i){return t.current.run(n,e,i,o)}})}),Zone.__load_patch("EventTarget",function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),Ee(e,n);var r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,[r.prototype]),Z("MutationObserver"),Z("WebKitMutationObserver"),Z("IntersectionObserver"),Z("FileReader")}),Zone.__load_patch("on_property",function(e,t,n){me(n,e),Object.defineProperty=function(e,t,n){if(oe(e,t))throw new TypeError("Cannot assign to read only property '"+t+"' of "+e);var r=n.configurable;return"prototype"!==t&&(n=ie(e,t,n)),ae(e,t,n,r)},Object.defineProperties=function(e,t){return Object.keys(t).forEach(function(n){Object.defineProperty(e,n,t[n])}),e},Object.create=function(e,t){return"object"!=typeof t||Object.isFrozen(t)||Object.keys(t).forEach(function(n){t[n]=ie(e,n,t[n])}),te(e,t)},Object.getOwnPropertyDescriptor=function(e,t){var n=ee(e,t);return n&&oe(e,t)&&(n.configurable=!1),n}}),Zone.__load_patch("customElements",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",function(e,t){!function(l){var f=e.XMLHttpRequest;if(f){var p=f.prototype,h=p[s],g=p[u];if(!h){var y=e.XMLHttpRequestEventTarget;if(y){var b=y.prototype;h=b[s],g=b[u]}}var m="readystatechange",k="scheduled",_=I(p,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],_.apply(e,t)}}),T=d("fetchTaskAborting"),w=d("fetchTaskScheduling"),E=I(p,"send",function(){return function(e,n){if(!0===t.current[w])return E.apply(e,n);if(e[r])return E.apply(e,n);var o={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},i=v("XMLHttpRequest.send",x,o,S,D);e&&!0===e[c]&&!o.aborted&&i.state===k&&i.invoke()}}),O=I(p,"abort",function(){return function(e,r){var o=e[n];if(o&&"string"==typeof o.type){if(null==o.cancelFn||o.data&&o.data.aborted)return;o.zone.cancelTask(o)}else if(!0===t.current[T])return O.apply(e,r)}})}function S(e){var t=e.data,r=t.target;r[i]=!1,r[c]=!1;var a=r[o];h||(h=r[s],g=r[u]),a&&g.call(r,m,a);var l=r[o]=function(){if(r.readyState===r.DONE)if(!t.aborted&&r[i]&&e.state===k){var n=r.__zone_symbol__loadfalse;if(n&&n.length>0){var o=e.invoke;e.invoke=function(){for(var n=r.__zone_symbol__loadfalse,i=0;i<n.length;i++)n[i]===e&&n.splice(i,1);t.aborted||e.state!==k||o.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==r[i]||(r[c]=!0)};return h.call(r,m,l),r[n]||(r[n]=e),E.apply(r,t.args),r[i]=!0,e}function x(){}function D(e){var t=e.data;return t.aborted=!0,O.apply(t.target,t.args)}}();var n=d("xhrTask"),r=d("xhrSync"),o=d("xhrListener"),i=d("xhrScheduled"),a=d("xhrURL"),c=d("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&function(e,n){for(var r=e.constructor.name,o=function(o){var i=n[o],a=e[i];if(a){if(!T(t(e,i)))return"continue";e[i]=function(e){var t=function(){return e.apply(this,_(arguments,r+"."+i))};return C(t,e),t}(a)}},i=0;i<n.length;i++)o(i)}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,t){function n(t){return function(n){Y(e,t).forEach(function(r){var o=e.PromiseRejectionEvent;if(o){var i=new o(t,{promise:n.promise,reason:n.rejection});r.invoke(i)}})}}e.PromiseRejectionEvent&&(t[d("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[d("rejectionHandledHandler")]=n("rejectionhandled"))})}()},"0eef":function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},"0rvr":function(e,t,n){var r=n("glrk"),o=n("O741");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},"1E5z":function(e,t,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},2:function(e,t,n){e.exports=n("hN/g")},"2oRo":function(e,t){var n="object",r=function(e){return e&&e.Math==Math&&e};e.exports=r(typeof globalThis==n&&globalThis)||r(typeof window==n&&window)||r(typeof self==n&&self)||r(typeof global==n&&global)||Function("return this")()},"33Wh":function(e,t,n){var r=n("yoRg"),o=n("eDl+");e.exports=Object.keys||function(e){return r(e,o)}},"4WOD":function(e,t,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),c=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},"4Xet":function(e,t,n){var r=n("0Dky");e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},"4syw":function(e,t,n){var r=n("busE");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},"5r1n":function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.get,c=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},"6JNq":function(e,t,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");e.exports=function(e,t){for(var n=o(t),c=a.f,s=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||c(e,l,s(t,l))}}},"6LWA":function(e,t,n){var r=n("xrYK");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"6PKz":function(e,t,n){n("++zV"),n("Y4C7"),n("ZsH6"),n("vZi8"),n("5r1n"),n("sQ9d"),n("bdeN"),n("AwgR"),n("qgGA")},"6VoE":function(e,t,n){var r=n("tiKp"),o=n("P4y1"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},"8YOa":function(e,t,n){var r=n("0BK2"),o=n("hh1v"),i=n("UTVS"),a=n("m/L8").f,c=n("kOOl"),s=n("uy83"),u=c("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[u].weakData},onFreeze:function(e){return s&&h.REQUIRED&&f(e)&&!i(e,u)&&p(e),e}};r[u]=!0},"93I0":function(e,t,n){var r=n("VpIT"),o=n("kOOl"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},"9d/t":function(e,t,n){var r=n("xrYK"),o=n("tiKp")("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},AwgR:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.has,c=o.toKey;r({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var n=arguments.length<3?void 0:c(arguments[2]);return a(e,i(t),n)}})},Bs8V:function(e,t,n){var r=n("g6v/"),o=n("0eef"),i=n("XGwC"),a=n("/GqU"),c=n("wE6v"),s=n("UTVS"),u=n("DPsx"),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=c(t,!0),u)try{return l(e,t)}catch(n){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},DPsx:function(e,t,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},ENF9:function(e,t,n){"use strict";var r,o=n("2oRo"),i=n("4syw"),a=n("8YOa"),c=n("bWFh"),s=n("rKzb"),u=n("hh1v"),l=n("afO8").enforce,f=n("f5p1"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},d=e.exports=c("WeakMap",v,s,!0,!0);if(f&&p){r=s.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,b=g.has,m=g.get,k=g.set;i(g,{delete:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(u(e)&&!h(e)){var t=l(this);return t.frozen||(t.frozen=new r),b.call(this,e)?m.call(this,e):t.frozen.get(e)}return m.call(this,e)},set:function(e,t){if(u(e)&&!h(e)){var n=l(this);n.frozen||(n.frozen=new r),b.call(this,e)?k.call(this,e,t):n.frozen.set(e,t)}else k.call(this,e,t);return this}})}},"G+Rx":function(e,t,n){var r=n("0GbY");e.exports=r("document","documentElement")},GarU:function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},HAuM:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},HH4o:function(e,t,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,function(){throw 2})}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},HYAF:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},"I+eb":function(e,t,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("X2U+"),a=n("busE"),c=n("zk60"),s=n("6JNq"),u=n("lMq5");e.exports=function(e,t){var n,l,f,p,h,v=e.target,d=e.global,g=e.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(h=o(n,l))&&h.value:n[l],!u(d?l:v+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;s(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},I8vh:function(e,t,n){var r=n("ppGB"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},ImZN:function(e,t,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("+MLx"),c=n("NaFW"),s=n("m92n"),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,f){var p,h,v,d,g,y,b=a(t,n,l?2:1);if(f)p=e;else{if("function"!=typeof(h=c(e)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(e.length);d>v;v++)if((g=l?b(r(y=e[v])[0],y[1]):b(e[v]))&&g instanceof u)return g;return new u(!1)}p=h.call(e)}for(;!(y=p.next()).done;)if((g=s(p,b,y.value,l))&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},JBy8:function(e,t,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},JiZb:function(e,t,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),c=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[c]&&(0,o.f)(t,c,{configurable:!0,get:function(){return this}})}},"N+g0":function(e,t,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),c=r.length,s=0;c>s;)o.f(e,n=r[s++],t[n]);return e}},NaFW:function(e,t,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},O741:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},P4y1:function(e,t){e.exports={}},Qo9l:function(e,t,n){e.exports=n("2oRo")},RK3t:function(e,t,n){var r=n("0Dky"),o=n("xrYK"),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},STAE:function(e,t,n){var r=n("0Dky");e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},TWQb:function(e,t,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(e){return function(t,n,a){var c,s=r(t),u=o(s.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((c=s[l++])!=c)return!0}else for(;u>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},Tskq:function(e,t,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},o,!0)},UMSQ:function(e,t,n){var r=n("ppGB"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},UTVS:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},VpIT:function(e,t,n){var r=n("2oRo"),o=n("zk60"),i=n("xDBR"),a=r["__core-js_shared__"]||o("__core-js_shared__",{});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.1.3",mode:i?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},Vu81:function(e,t,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},"X2U+":function(e,t,n){var r=n("g6v/"),o=n("m/L8"),i=n("XGwC");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},XGwC:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},Y4C7:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.getMap,s=o.store;r({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=c(i(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var o=s.get(t);return o.delete(n),!!o.size||s.delete(t)}})},YGK4:function(e,t,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");e.exports=r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},o)},ZWaQ:function(e,t,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("+MLx"),c=n("GarU"),s=n("ImZN"),u=n("fdAy"),l=n("JiZb"),f=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e(function(e,r){c(e,l,t),v(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&s(r,e[u],e,n)}),h=d(t),g=function(e,t,n){var r,o,i=h(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=h(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=h(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=h(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=d(t),i=d(r);u(e,t,function(e,t){v(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),l(t)}}},ZfDv:function(e,t,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},ZsH6:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=n("4WOD"),c=o.has,s=o.get,u=o.toKey,l=function(e,t,n){if(c(e,t,n))return s(e,t,n);var r=a(t);return null!==r?l(e,r,n):void 0};r({target:"Reflect",stat:!0},{getMetadata:function(e,t){var n=arguments.length<3?void 0:u(arguments[2]);return l(e,i(t),n)}})},afO8:function(e,t,n){var r,o,i,a=n("f5p1"),c=n("2oRo"),s=n("hh1v"),u=n("X2U+"),l=n("UTVS"),f=n("93I0"),p=n("0BK2");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(e,t){return g.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return d.call(h,e)}}else{var y=f("state");p[y]=!0,r=function(e,t){return u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!s(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},bWFh:function(e,t,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("8YOa"),s=n("ImZN"),u=n("GarU"),l=n("hh1v"),f=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");e.exports=function(e,t,n,d,g){var y=o[e],b=y&&y.prototype,m=y,k=d?"set":"add",_={},T=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(g||b.forEach&&!f(function(){(new y).entries().next()}))))m=n.getConstructor(t,e,d,k),c.REQUIRED=!0;else if(i(e,!0)){var w=new m,E=w[k](g?{}:-0,1)!=w,O=f(function(){w.has(1)}),S=p(function(e){new y(e)}),x=!g&&f(function(){for(var e=new y,t=5;t--;)e[k](t,t);return!e.has(-0)});S||((m=t(function(t,n){u(t,m,e);var r=v(new y,t,m);return null!=n&&s(n,r[k],r,d),r})).prototype=b,b.constructor=m),(O||x)&&(T("delete"),T("has"),d&&T("get")),(x||E)&&T(k),g&&b.clear&&delete b.clear}return _[e]=m,r({global:!0,forced:m!=y},_),h(m,e),g||n.setStrong(m,e,d),m}},bdeN:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=n("4WOD"),c=o.has,s=o.toKey,u=function(e,t,n){if(c(e,t,n))return!0;var r=a(t);return null!==r&&u(e,r,n)};r({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var n=arguments.length<3?void 0:s(arguments[2]);return u(e,i(t),n)}})},busE:function(e,t,n){var r=n("2oRo"),o=n("VpIT"),i=n("X2U+"),a=n("UTVS"),c=n("zk60"),s=n("noGo"),u=n("afO8"),l=u.get,f=u.enforce,p=String(s).split("toString");o("inspectSource",function(e){return s.call(e)}),(e.exports=function(e,t,n,o){var s=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),f(n).source=p.join("string"==typeof t?t:"")),e!==r?(s?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:c(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&l(this).source||s.call(this)})},cVYH:function(e,t,n){var r=n("hh1v"),o=n("0rvr");e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},"dBg+":function(e,t){t.f=Object.getOwnPropertySymbols},"eDl+":function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eDxR:function(e,t,n){var r=n("Tskq"),o=n("ENF9"),i=n("VpIT")("metadata"),a=i.store||(i.store=new o),c=function(e,t,n){var o=a.get(e);if(!o){if(!n)return;a.set(e,o=new r)}var i=o.get(t);if(!i){if(!n)return;o.set(t,i=new r)}return i};e.exports={store:a,getMap:c,has:function(e,t,n){var r=c(t,n,!1);return void 0!==r&&r.has(e)},get:function(e,t,n){var r=c(t,n,!1);return void 0===r?void 0:r.get(e)},set:function(e,t,n,r){c(n,r,!0).set(e,t)},keys:function(e,t){var n=c(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},toKey:function(e){return void 0===e||"symbol"==typeof e?e:String(e)}}},ewvW:function(e,t,n){var r=n("HYAF");e.exports=function(e){return Object(r(e))}},f5p1:function(e,t,n){var r=n("2oRo"),o=n("noGo"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},fHMY:function(e,t,n){var r=n("glrk"),o=n("N+g0"),i=n("eDl+"),a=n("0BK2"),c=n("G+Rx"),s=n("zBJ4"),u=n("93I0")("IE_PROTO"),l=function(){},f=function(){var e,t=s("iframe"),n=i.length;for(t.style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),f=e.F;n--;)delete f.prototype[i[n]];return f()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[u]=e):n=f(),void 0===t?n:o(n,t)},a[u]=!0},fdAy:function(e,t,n){"use strict";var r=n("I+eb"),o=n("ntOU"),i=n("4WOD"),a=n("0rvr"),c=n("1E5z"),s=n("X2U+"),u=n("busE"),l=n("tiKp"),f=n("xDBR"),p=n("P4y1"),h=n("rpNk"),v=h.IteratorPrototype,d=h.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};e.exports=function(e,t,n,l,h,b,m){o(n,t,l);var k,_,T,w=function(e){if(e===h&&D)return D;if(!d&&e in S)return S[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",O=!1,S=e.prototype,x=S[g]||S["@@iterator"]||h&&S[h],D=!d&&x||w(h),P="Array"==t&&S.entries||x;if(P&&(k=i(P.call(new e)),v!==Object.prototype&&k.next&&(f||i(k)===v||(a?a(k,v):"function"!=typeof k[g]&&s(k,g,y)),c(k,E,!0,!0),f&&(p[E]=y))),"values"==h&&x&&"values"!==x.name&&(O=!0,D=function(){return x.call(this)}),f&&!m||S[g]===D||s(S,g,D),p[t]=D,h)if(_={values:w("values"),keys:b?D:w("keys"),entries:w("entries")},m)for(T in _)!d&&!O&&T in S||u(S,T,_[T]);else r({target:t,proto:!0,forced:d||O},_);return _}},"g6v/":function(e,t,n){var r=n("0Dky");e.exports=!r(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},glrk:function(e,t,n){var r=n("hh1v");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},"hN/g":function(e,t,n){"use strict";n.r(t),n("6PKz"),n("0TWp"),n("vU8d"),window.global=window},hh1v:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},kOOl:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},lMq5:function(e,t,n){var r=n("0Dky"),o=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==u||n!=s&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},s=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"m/L8":function(e,t,n){var r=n("g6v/"),o=n("DPsx"),i=n("glrk"),a=n("wE6v"),c=Object.defineProperty;t.f=r?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return c(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},m92n:function(e,t,n){var r=n("glrk");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(a){var i=e.return;throw void 0!==i&&r(i.call(e)),a}}},noGo:function(e,t,n){var r=n("VpIT");e.exports=r("native-function-to-string",Function.toString)},ntOU:function(e,t,n){"use strict";var r=n("rpNk").IteratorPrototype,o=n("fHMY"),i=n("XGwC"),a=n("1E5z"),c=n("P4y1"),s=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),c[u]=s,e}},ppGB:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},qgGA:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.toKey,c=o.set;r({target:"Reflect",stat:!0},{metadata:function(e,t){return function(n,r){c(e,t,i(n),a(r))}}})},rKzb:function(e,t,n){"use strict";var r=n("4syw"),o=n("8YOa").getWeakData,i=n("glrk"),a=n("hh1v"),c=n("GarU"),s=n("ImZN"),u=n("tycR"),l=n("UTVS"),f=n("afO8"),p=f.set,h=f.getterFor,v=u.find,d=u.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},m=function(e,t){return v(e.entries,function(e){return e[0]===t})};b.prototype={get:function(e){var t=m(this,e);if(t)return t[1]},has:function(e){return!!m(this,e)},set:function(e,t){var n=m(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=d(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){c(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&s(r,e[u],e,n)}),v=h(t),d=function(e,t,n){var r=v(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=v(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=v(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=v(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return d(this,e,t)}}:{add:function(e){return d(this,e,!0)}}),f}}},rpNk:function(e,t,n){"use strict";var r,o,i,a=n("4WOD"),c=n("X2U+"),s=n("UTVS"),u=n("tiKp"),l=n("xDBR"),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||s(r,f)||c(r,f,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},sQ9d:function(e,t,n){var r=n("I+eb"),o=n("eDxR"),i=n("glrk"),a=o.keys,c=o.toKey;r({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:c(arguments[1]);return a(i(e),t)}})},tiKp:function(e,t,n){var r=n("2oRo"),o=n("VpIT"),i=n("kOOl"),a=n("STAE"),c=r.Symbol,s=o("wks");e.exports=function(e){return s[e]||(s[e]=a&&c[e]||(a?c:i)("Symbol."+e))}},tycR:function(e,t,n){var r=n("+MLx"),o=n("RK3t"),i=n("ewvW"),a=n("UMSQ"),c=n("ZfDv"),s=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,f=6==e,p=5==e||f;return function(h,v,d,g){for(var y,b,m=i(h),k=o(m),_=r(v,d,3),T=a(k.length),w=0,E=g||c,O=t?E(h,T):n?E(h,0):void 0;T>w;w++)if((p||w in k)&&(b=_(y=k[w],w,m),e))if(t)O[w]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return w;case 2:s.call(O,y)}else if(l)return!1;return f?-1:u||l?l:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},uy83:function(e,t,n){var r=n("0Dky");e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},vU8d:function(e,t){!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.polyfillWrapFlushCallback)return;const e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}()}()},vZi8:function(e,t,n){var r=n("I+eb"),o=n("YGK4"),i=n("eDxR"),a=n("glrk"),c=n("4WOD"),s=n("ImZN"),u=i.keys,l=i.toKey,f=function(e,t){var n=u(e,t),r=c(e);if(null===r)return n;var i,a,l=f(r,t);return l.length?n.length?(i=new o(n.concat(l)),s(i,(a=[]).push,a),a):l:n};r({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:l(arguments[1]);return f(a(e),t)}})},wE6v:function(e,t,n){var r=n("hh1v");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},xDBR:function(e,t){e.exports=!1},xrYK:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},yoRg:function(e,t,n){var r=n("UTVS"),o=n("/GqU"),i=n("TWQb").indexOf,a=n("0BK2");e.exports=function(e,t){var n,c=o(e),s=0,u=[];for(n in c)!r(a,n)&&r(c,n)&&u.push(n);for(;t.length>s;)r(c,n=t[s++])&&(~i(u,n)||u.push(n));return u}},zBJ4:function(e,t,n){var r=n("2oRo"),o=n("hh1v"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},zk60:function(e,t,n){var r=n("2oRo"),o=n("X2U+");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}}},[[2,0]]]);
|
|
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,o=Object.getPrototypeOf,i=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},g=function(e){return null!=e&&e===e.window},v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var o,i,a=(n=n||r).createElement("script");if(a.text=e,t)for(o in v)(i=t[o]||t.getAttribute&&t.getAttribute(o))&&a.setAttribute(o,i);n.head.appendChild(a).parentNode.removeChild(a)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var x="3.4.1",T=function(e,t){return new T.fn.init(e,t)},w=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function E(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:x,constructor:T,length:0,toArray:function(){return i.call(this)},get:function(e){return null==e?i.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e)||(t=o(e))&&("function"!=typeof(n=f.call(t,"constructor")&&t.constructor)||p.call(n)!==d))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){y(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(E(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(w,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?T.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,s=[];if(E(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&s.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&s.push(o);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=n[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});var C=function(e){var t,n,r,o,i,a,s,u,l,c,f,p,d,h,m,g,v,y,b,x="sizzle"+1*new Date,T=e.document,w=0,E=0,C=ue(),L=ue(),A=ue(),H=ue(),M=function(e,t){return e===t&&(f=!0),0},S={}.hasOwnProperty,N=[],D=N.pop,k=N.push,j=N.push,O=N.slice,q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",F="\\["+R+"*("+I+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+R+"*\\]",B=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",W=new RegExp(R+"+","g"),$=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),_=new RegExp("^"+R+"*,"+R+"*"),U=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),V=new RegExp(R+"|>"),z=new RegExp(B),X=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){p()},ae=xe(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{j.apply(N=O.call(T.childNodes),T.childNodes)}catch(t){j={apply:N.length?function(e,t){k.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,l,c,f,h,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&((t?t.ownerDocument||t:T)!==d&&p(t),t=t||d,m)){if(11!==w&&(f=Z.exec(e)))if(i=f[1]){if(9===w){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(y&&(l=y.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(f[2])return j.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return j.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!H[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&V.test(e)){for((c=t.getAttribute("id"))?c=c.replace(re,oe):t.setAttribute("id",c=x),s=(h=a(e)).length;s--;)h[s]="#"+c+" "+be(h[s]);v=h.join(","),y=ee.test(e)&&ve(t.parentNode)||t}try{return j.apply(r,y.querySelectorAll(v)),r}catch(t){H(e,!0)}finally{c===x&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,o)}function ue(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[x]=!0,e}function ce(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le(function(t){return t=+t,le(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=(e.ownerDocument||e).documentElement;return!Y.test(e.namespaceURI||t&&t.nodeName||"HTML")},p=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:T;return a!==d&&9===a.nodeType&&a.documentElement&&(h=(d=a).documentElement,m=!i(d),T!==d&&(o=d.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ce(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(d.getElementsByClassName),n.getById=ce(function(e){return h.appendChild(e).id=x,!d.getElementsByName||!d.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=K.test(d.querySelectorAll))&&(ce(function(e){h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},M=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===T&&b(T,e)?-1:t===d||t.ownerDocument===T&&b(T,t)?1:c?q(c,e)-q(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e===d?-1:t===d?1:o?-1:i?1:c?q(c,e)-q(c,t):0;if(o===i)return pe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?pe(a[r],s[r]):a[r]===T?-1:s[r]===T?1:0}),d},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),n.matchesSelector&&m&&!H[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){H(t,!0)}return 0<se(t,d,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&S.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(M),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&z.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&-1<o.indexOf(n):"$="===t?n&&o.slice(-n.length)===n:"~="===t?-1<(" "+o.replace(W," ")+" ").indexOf(n):"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(g){if(i){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(d=(l=(c=(f=(p=g)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===w&&l[1])&&l[2],p=d&&g.childNodes[d];p=++d&&p&&p[m]||(b=d=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[w,d,b];break}}else if(y&&(b=d=(l=(c=(f=(p=t)[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===w&&l[1]),!1===b)for(;(p=++d&&p&&p[m]||(b=d=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&((c=(f=p[x]||(p[x]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[w,b]),p!==t)););return(b-=o)===r||b%r==0&&0<=b/r}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):1<o.length?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=q(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:le(function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?le(function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:le(function(e){return function(t){return 0<se(e,t).length}}),contains:le(function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||o(t)).indexOf(e)}}),lang:le(function(e){return X.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge(function(){return[0]}),last:ge(function(e,t){return[t-1]}),eq:ge(function(e,t,n){return[n<0?n+t:n]}),even:ge(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ge(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ge(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ge(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=de(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=E++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,u){var l,c,f,p=[w,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[x]||(t[x]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[i])&&l[0]===w&&l[1]===s)return p[2]=l[2];if((c[i]=p)[2]=e(t,n,u))return!0}return!1}}function Te(e){return 1<e.length?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function we(e,t,n,r,o){for(var i,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Ee(e,t,n,r,o,i){return r&&!r[x]&&(r=Ee(r)),o&&!o[x]&&(o=Ee(o,i)),le(function(i,a,s,u){var l,c,f,p=[],d=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:we(m,p,e,s,u),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,u),r)for(l=we(v,d),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(v[d[c]]=!(g[d[c]]=f));if(i){if(o||e){if(o){for(l=[],c=v.length;c--;)(f=v[c])&&l.push(g[c]=f);o(null,v=[],l,u)}for(c=v.length;c--;)(f=v[c])&&-1<(l=o?q(i,f):p[c])&&(i[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),o?o(null,a,v,u):j.apply(a,v)})}function Ce(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=xe(function(e){return e===t},s,!0),f=xe(function(e){return-1<q(t,e)},s,!0),p=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];u<i;u++)if(n=r.relative[e[u].type])p=[xe(Te(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[x]){for(o=++u;o<i&&!r.relative[e[o].type];o++);return Ee(1<u&&Te(p),1<u&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<o&&Ce(e.slice(u,o)),o<i&&Ce(e=e.slice(o)),o<i&&be(e))}p.push(n)}return Te(p)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,u,l,c=L[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(o=_.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),n=!1,(o=U.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):L(e,u).slice(0)},s=se.compile=function(e,t){var n,o,i,s,u,c,f=[],h=[],g=A[e+" "];if(!g){for(t||(t=a(e)),n=t.length;n--;)(g=Ce(t[n]))[x]?f.push(g):h.push(g);(g=A(e,(o=h,s=0<(i=f).length,u=0<o.length,c=function(e,t,n,a,c){var f,h,g,v=0,y="0",b=e&&[],x=[],T=l,E=e||u&&r.find.TAG("*",c),C=w+=null==T?1:Math.random()||.1,L=E.length;for(c&&(l=t===d||t||c);y!==L&&null!=(f=E[y]);y++){if(u&&f){for(h=0,t||f.ownerDocument===d||(p(f),n=!m);g=o[h++];)if(g(f,t||d,n)){a.push(f);break}c&&(w=C)}s&&((f=!g&&f)&&v--,e&&b.push(f))}if(v+=y,s&&y!==v){for(h=0;g=i[h++];)g(b,x,t,n);if(e){if(0<v)for(;y--;)b[y]||x[y]||(x[y]=D.call(a));x=we(x)}j.apply(a,x),c&&!e&&0<x.length&&1<v+i.length&&se.uniqueSort(a)}return c&&(w=C,l=T),b},s?le(c):c))).selector=e}return g},u=se.select=function(e,t,n,o){var i,u,l,c,f,p="function"==typeof e&&e,d=!o&&a(e=p.selector||e);if(n=n||[],1===d.length){if(2<(u=d[0]=d[0].slice(0)).length&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=G.needsContext.test(e)?0:u.length;i--&&!r.relative[c=(l=u[i]).type];)if((f=r.find[c])&&(o=f(l.matches[0].replace(te,ne),ee.test(u[0].type)&&ve(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&be(u)))return j.apply(n,o),n;break}}return(p||s(e,d))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(M).join("")===x,n.detectDuplicates=!!f,p(),n.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(e);T.find=C,T.expr=C.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=C.uniqueSort,T.text=C.getText,T.isXMLDoc=C.isXML,T.contains=C.contains,T.escapeSelector=C.escape;var L=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},H=T.expr.match.needsContext;function M(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var S=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return m(t)?T.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?T.grep(e,function(e){return e===t!==n}):"string"!=typeof t?T.grep(e,function(e){return-1<u.call(t,e)!==n}):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return 1<r?T.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&H.test(e)?T(e):e||[],!1).length}});var D,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var o,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(T.merge(this,T.parseHTML(o[1],(t=t instanceof T?t[0]:t)&&t.nodeType?t.ownerDocument||t:r,!0)),S.test(o[1])&&T.isPlainObject(t))for(o in t)m(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(i=r.getElementById(o[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,D=T(r);var j=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!H.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(1<i.length?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(T(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return L(e,"parentNode")},parentsUntil:function(e,t,n){return L(e,"parentNode",n)},next:function(e){return q(e,"nextSibling")},prev:function(e){return q(e,"previousSibling")},nextAll:function(e){return L(e,"nextSibling")},prevAll:function(e){return L(e,"previousSibling")},nextUntil:function(e,t,n){return L(e,"nextSibling",n)},prevUntil:function(e,t,n){return L(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(M(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),1<this.length&&(O[e]||T.uniqueSort(o),j.test(e)&&o.reverse()),this.pushStack(o)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function I(e){throw e}function F(e,t,n,r){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(n):e&&m(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){var t;e="string"==typeof e?(t={},T.each(e.match(P)||[],function(e,n){t[n]=!0}),t):T.extend({},e);var n,r,o,i,a=[],s=[],u=-1,l=function(){for(i=i||e.once,o=n=!0;s.length;u=-1)for(r=s.shift();++u<a.length;)!1===a[u].apply(r[0],r[1])&&e.stopOnFalse&&(u=a.length,r=!1);e.memory||(r=!1),n=!1,i&&(a=r?[]:"")},c={add:function(){return a&&(r&&!n&&(u=a.length-1,s.push(r)),function t(n){T.each(n,function(n,r){m(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==b(r)&&t(r)})}(arguments),r&&!n&&l()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,a,n));)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?-1<T.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=r="",this},disabled:function(){return!a},lock:function(){return i=s=[],r||n||(a=r=""),this},locked:function(){return!!i},fireWith:function(e,t){return i||(t=[e,(t=t||[]).slice?t.slice():t],s.push(t),n||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!o}};return c},T.extend({Deferred:function(t){var n=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(t){T.each(n,function(n,r){var o=m(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){var i=0;function a(t,n,r,o){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<i)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");m(l=e&&("object"==typeof e||"function"==typeof e)&&e.then)?o?l.call(e,a(i,n,R,o),a(i,n,I,o)):l.call(e,a(++i,n,R,o),a(i,n,I,o),a(i,n,R,n.notifyWith)):(r!==R&&(s=void 0,u=[e]),(o||n.resolveWith)(s,u))}},c=o?l:function(){try{l()}catch(l){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(l,c.stackTrace),i<=t+1&&(r!==I&&(s=void 0,u=[l]),n.rejectWith(s,u))}};t?c():(T.Deferred.getStackHook&&(c.stackTrace=T.Deferred.getStackHook()),e.setTimeout(c))}}return T.Deferred(function(e){n[0][3].add(a(0,e,m(o)?o:R,e.notifyWith)),n[1][3].add(a(0,e,m(t)?t:R)),n[2][3].add(a(0,e,m(r)?r:I))}).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(n,function(e,t){var a=t[2],s=t[5];o[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=a.fireWith}),o.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=i.call(arguments),a=T.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=1<arguments.length?i.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(F(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||m(o[n]&&o[n].then)))return a.then();for(;n--;)F(o[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},T.readyException=function(t){e.setTimeout(function(){throw t})};var W=T.Deferred();function $(){r.removeEventListener("DOMContentLoaded",$),e.removeEventListener("load",$),T.ready()}T.fn.ready=function(e){return W.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||W.resolveWith(r,[T])}}),T.ready.then=W.then,"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(T.ready):(r.addEventListener("DOMContentLoaded",$),e.addEventListener("load",$));var _=function(e,t,n,r,o,i,a){var s=0,u=e.length,l=null==n;if("object"===b(n))for(s in o=!0,n)_(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(T(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):u?t(e[0],n):i},U=/^-ms-/,V=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function X(e){return e.replace(U,"ms-").replace(V,z)}var G=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=T.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},G(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[X(t)]=n;else for(r in t)o[X(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var Q=new Y,J=new Y,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Z=/[A-Z]/g;function ee(e,t,n){var r,o;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Z,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(o=n)||"false"!==o&&("null"===o?null:o===+o+""?+o:K.test(o)?JSON.parse(o):o)}catch(e){}J.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=J.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=X(r.slice(5)),ee(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){J.set(this,e)}):_(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=J.get(i,e))?n:void 0!==(n=ee(i,e))?n:void 0;this.each(function(){J.set(this,e,t)})},null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),T.extend({queue:function(e,t,n){var r;if(e)return r=Q.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=Q.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=T.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){T.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:T.Callbacks("once memory").add(function(){Q.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each(function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var te=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ne=new RegExp("^(?:([+-])=|)("+te+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],oe=r.documentElement,ie=function(e){return T.contains(e.ownerDocument,e)},ae={composed:!0};oe.getRootNode&&(ie=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ae)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===T.css(e,"display")},ue=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=n.apply(e,r||[]),t)e.style[i]=a[i];return o};function le(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},u=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),c=e.nodeType&&(T.cssNumber[t]||"px"!==l&&+u)&&ne.exec(T.css(e,t));if(c&&c[3]!==l){for(l=l||c[3],c=+(u/=2)||1;a--;)T.style(e,t,c+l),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),c/=i;T.style(e,t,(c*=2)+l),n=n||[]}return n&&(c=+c||+u||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=o)),o}var ce={};function fe(e,t){for(var n,r,o,i,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Q.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&se(r)&&(l[c]=(u=a=i=void 0,a=(o=r).ownerDocument,(u=ce[s=o.nodeName])||(i=a.body.appendChild(a.createElement(s)),u=T.css(i,"display"),i.parentNode.removeChild(i),"none"===u&&(u="block"),ce[s]=u)))):"none"!==n&&(l[c]="none",Q.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){se(this)?T(this).show():T(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&M(e,t)?T.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}me.optgroup=me.option,me.tbody=me.tfoot=me.colgroup=me.caption=me.thead,me.th=me.td;var ye,be,xe=/<|&#?\w+;/;function Te(e,t,n,r,o){for(var i,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((i=e[d])||0===i)if("object"===b(i))T.merge(p,i.nodeType?[i]:i);else if(xe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(de.exec(i)||["",""])[1].toLowerCase(),a.innerHTML=(u=me[s]||me._default)[1]+T.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;T.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&-1<T.inArray(i,r))o&&o.push(i);else if(l=ie(i),a=ge(f.appendChild(i),"script"),l&&ve(a),n)for(c=0;i=a[c++];)he.test(i.type||"")&&n.push(i);return f}ye=r.createDocumentFragment().appendChild(r.createElement("div")),(be=r.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),ye.appendChild(be),h.checkClone=ye.cloneNode(!0).cloneNode(!0).lastChild.checked,ye.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!ye.cloneNode(!0).lastChild.defaultValue;var we=/^key/,Ee=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Le(){return!0}function Ae(){return!1}function He(e,t){return e===function(){try{return r.activeElement}catch(e){}}()==("focus"===t)}function Me(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Me(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ae;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return T().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,r,n)})}function Se(e,t,n){n?(Q.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,a=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(a.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(a=i.call(arguments),Q.set(this,t,a),r=n(this,t),this[t](),a!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},a!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else a.length&&(Q.set(this,t,{value:T.event.trigger(T.extend(a[0],T.Event.prototype),a.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&T.event.add(e,t,Le)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Q.get(e);if(g)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(oe,o),n.guid||(n.guid=T.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(P)||[""]).length;l--;)d=m=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=T.event.special[d]||{},f=T.event.special[d=(o?f.delegateType:f.bindType)||d]||{},c=T.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,c):p.push(c),T.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(P)||[""]).length;l--;)if(d=m=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=T.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=p.length;i--;)c=p[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(i,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||T.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)T.event.remove(e,d+t[l],n,r,!0);T.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=T.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=T.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=T.event.handlers.call(this,s,l),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!1!==i.namespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,o,i,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<u;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?-1<T(o,this).index(l):T.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Se(t,"click",Le),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&M(t,"input")&&Se(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&M(t,"input")&&Q.get(t,"click")||M(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Le:Ae,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Le,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Le,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Le,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Ee.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){T.event.special[e]={setup:function(){return Se(this,e,He),!1},trigger:function(){return Se(this,e),!0},delegateType:t}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||T.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),T.fn.extend({on:function(e,t,n,r){return Me(this,e,t,n,r)},one:function(e,t,n,r){return Me(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each(function(){T.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,De=/<script|<style|<link/i,ke=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return M(e,"table")&&M(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function qe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Pe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Re(e,t){var n,r,o,i,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(i=Q.access(e),a=Q.set(t,i),l=i.events))for(o in delete a.handle,a.events={},l)for(n=0,r=l[o].length;n<r;n++)T.event.add(t,o,l[o][n]);J.hasData(e)&&(s=J.access(e),u=T.extend({},s),J.set(t,u))}}function Ie(e,t,n,r){t=a.apply([],t);var o,i,s,u,l,c,f=0,p=e.length,d=p-1,g=t[0],v=m(g);if(v||1<p&&"string"==typeof g&&!h.checkClone&&ke.test(g))return e.each(function(o){var i=e.eq(o);v&&(t[0]=g.call(this,o,i.html())),Ie(i,t,n,r)});if(p&&(i=(o=Te(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(u=(s=T.map(ge(o,"script"),qe)).length;f<p;f++)l=o,f!==d&&(l=T.clone(l,!0,!0),u&&T.merge(s,ge(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,T.map(s,Pe),f=0;f<u;f++)he.test((l=s[f]).type||"")&&!Q.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):y(l.textContent.replace(je,""),l,c))}return e}function Fe(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(ge(r)),r.parentNode&&(n&&ie(r)&&ve(ge(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=ge(c),r=0,o=(i=ge(e)).length;r<o;r++)s=i[r],"input"===(l=(u=a[r]).nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(i=i||ge(e),a=a||ge(c),r=0,o=i.length;r<o;r++)Re(i[r],a[r]);else Re(e,c);return 0<(a=ge(c,"script")).length&&ve(a,!f&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(G(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return _(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ie(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)})},prepend:function(){return Ie(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ie(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return _(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!De.test(e)&&!me[(de.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ie(this,arguments,function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(ge(this)),n&&n.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var Be=new RegExp("^("+te+")(?!px)[a-z%]+$","i"),We=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},$e=new RegExp(re.join("|"),"i");function _e(e,t,n){var r,o,i,a,s=e.style;return(n=n||We(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=T.style(e,t)),!h.pixelBoxStyles()&&Be.test(a)&&$e.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",oe.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);o="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),i=36===n(t.width),c.style.position="absolute",a=12===n(c.offsetWidth/3),oe.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var o,i,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,T.extend(h,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();var Ve=["Webkit","Moz","ms"],ze=r.createElement("div").style,Xe={};function Ge(e){return T.cssProps[e]||Xe[e]||(e in ze?e:Xe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;n--;)if((e=Ve[n]+t)in ze)return e}(e)||e)}var Ye=/^(none|table(?!-c[ea]).+)/,Qe=/^--/,Je={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Ze(e,t,n){var r=ne.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function et(e,t,n,r,o,i){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=T.css(e,n+re[a],!0,o)),r?("content"===n&&(u-=T.css(e,"padding"+re[a],!0,o)),"margin"!==n&&(u-=T.css(e,"border"+re[a]+"Width",!0,o))):(u+=T.css(e,"padding"+re[a],!0,o),"padding"!==n?u+=T.css(e,"border"+re[a]+"Width",!0,o):s+=T.css(e,"border"+re[a]+"Width",!0,o));return!r&&0<=i&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function tt(e,t,n){var r=We(e),o=(!h.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=_e(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!h.boxSizingReliable()&&o||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+et(e,t,n||(o?"border":"content"),i,r,a)+"px"}function nt(e,t,n,r,o){return new nt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=_e(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=X(t),u=Qe.test(t),l=e.style;if(u||(t=Ge(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"==(i=typeof n)&&(o=ne.exec(n))&&o[1]&&(n=le(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||u||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=X(t);return Qe.test(t)||(t=Ge(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=_e(e,t,r)),"normal"===o&&t in Ke&&(o=Ke[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Ye.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?tt(e,t,r):ue(e,Je,function(){return tt(e,t,r)})},set:function(e,n,r){var o,i=We(e),a=!h.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),u=r?et(e,t,r,s,i):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-et(e,t,"border",!1,i)-.5)),u&&(o=ne.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),Ze(0,n,u)}}}),T.cssHooks.marginLeft=Ue(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(_e(e,"marginLeft"))||e.getBoundingClientRect().left-ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+re[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=Ze)}),T.fn.extend({css:function(e,t){return _(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=We(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)}}),((T.Tween=nt).prototype={constructor:nt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=nt.propHooks[this.prop];return e&&e.get?e.get(this):nt.propHooks._default.get(this)},run:function(e){var t,n=nt.propHooks[this.prop];return this.pos=t=this.options.duration?T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):nt.propHooks._default.set(this),this}}).init.prototype=nt.prototype,(nt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ge(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=nt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=nt.prototype.init,T.fx.step={};var rt,ot,it,at,st=/^(?:toggle|show|hide)$/,ut=/queueHooks$/;function lt(){ot&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(lt):e.setTimeout(lt,T.fx.interval),T.fx.tick())}function ct(){return e.setTimeout(function(){rt=void 0}),rt=Date.now()}function ft(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=re[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=T.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=rt||ct(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:rt||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=X(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,l.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(l,e,c,l.opts))return m(r.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return T.map(c,pt,l),m(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),T.fx.timer(T.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,ne.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,o=e.length;r<o;r++)(dt.tweeners[n=e[r]]=dt.tweeners[n]||[]).unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,m=e.nodeType&&se(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()})})),t)if(st.test(o=t[r])){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}d[r]=g&&g[r]||T.style(e,r)}if((u=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=Q.get(e,"display")),"none"===(c=T.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=T.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===T.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(l="none"===(c=h.display)?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:l}),i&&(g.hidden=!m),m&&fe([e],!0),p.done(function(){for(r in m||fe([e]),Q.remove(e,"fxshow"),d)T.style(e,r,d[r])})),u=pt(m?g[r]:0,r,p),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in T.fx.speeds?T.fx.speeds[r.duration]:T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(se).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=dt(this,T.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&ut.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ft(t,!0),e,r,o)}}),T.each({slideDown:ft("show"),slideUp:ft("hide"),slideToggle:ft("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(rt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),rt=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ot||(ot=!0,lt())},T.fx.stop=function(){ot=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(t,n){return t=T.fx&&T.fx.speeds[t]||t,this.queue(n=n||"fx",function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},it=r.createElement("input"),at=r.createElement("select").appendChild(r.createElement("option")),it.type="checkbox",h.checkOn=""!==it.value,h.optSelected=at.selected,(it=r.createElement("input")).value="t",it.type="radio",h.radioValue="t"===it.value;var ht,mt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return _(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&M(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(P);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var n=mt[t]||T.find.attr;mt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=mt[a],mt[a]=o,o=null!=n(e,t,r)?a:null,mt[a]=i),o}});var gt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function yt(e){return(e.match(P)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}T.fn.extend({prop:function(e,t){return _(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(o=T.propHooks[t=T.propFix[t]||t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(T.propHooks.selected={get:function(e){return null},set:function(e){}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(m(e))return this.each(function(t){T(this).addClass(e.call(this,t,bt(this)))});if((t=xt(e)).length)for(;n=this[u++];)if(o=bt(n),r=1===n.nodeType&&" "+yt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=yt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,u=0;if(m(e))return this.each(function(t){T(this).removeClass(e.call(this,t,bt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)for(;n=this[u++];)if(o=bt(n),r=1===n.nodeType&&" "+yt(o)+" "){for(a=0;i=t[a++];)for(;-1<r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");o!==(s=yt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):m(e)?this.each(function(n){T(this).toggleClass(e.call(this,n,bt(this),t),t)}):this.each(function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=xt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=bt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+yt(bt(n))+" ").indexOf(t))return!0;return!1}});var Tt=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=m(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Tt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:yt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r<u;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!M(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=-1<T.inArray(T.valHooks.option.get(r),i))&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},h.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(t,n,o,i){var a,s,u,l,c,p,d,h,v=[o||r],y=f.call(t,"type")?t.type:t,b=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=o=o||r,3!==o.nodeType&&8!==o.nodeType&&!wt.test(y+T.event.triggered)&&(-1<y.indexOf(".")&&(y=(b=y.split(".")).shift(),b.sort()),c=y.indexOf(":")<0&&"on"+y,(t=t[T.expando]?t:new T.Event(y,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:T.makeArray(n,[t]),d=T.event.special[y]||{},i||!d.trigger||!1!==d.trigger.apply(o,n))){if(!i&&!d.noBubble&&!g(o)){for(wt.test((l=d.delegateType||y)+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(o.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}for(a=0;(s=v[a++])&&!t.isPropagationStopped();)h=s,t.type=1<a?l:d.bindType||y,(p=(Q.get(s,"events")||{})[t.type]&&Q.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&G(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,i||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!G(o)||c&&m(o[y])&&!g(o)&&((u=o[c])&&(o[c]=null),T.event.triggered=y,t.isPropagationStopped()&&h.addEventListener(y,Et),o[y](),t.isPropagationStopped()&&h.removeEventListener(y,Et),T.event.triggered=void 0,u&&(o[c]=u)),t.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),h.focusin||T.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}});var Ct=e.location,Lt=Date.now(),At=/\?/;T.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+t),n};var Ht=/\[\]$/,Mt=/\r?\n/g,St=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,function(t,o){n||Ht.test(e)?r(e,o):Dt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==b(t))r(e,t);else for(o in t)Dt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){o(this.name,this.value)});else for(n in e)Dt(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!St.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(Mt,"\r\n")}}):{name:t.name,value:n.replace(Mt,"\r\n")}}).get()}});var kt=/%20/g,jt=/#.*$/,Ot=/([?&])_=[^&]*/,qt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Ft={},Bt="*/".concat("*"),Wt=r.createElement("a");function $t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(P)||[];if(m(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var o={},i=e===Ft;function a(s){var u;return o[s]=!0,T.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Ut(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}Wt.href=Ct.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Ut(Ut(e,T.ajaxSettings),t):Ut(T.ajaxSettings,e)},ajaxPrefilter:$t(It),ajaxTransport:$t(Ft),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var o,i,a,s,u,l,c,f,p,d,h=T.ajaxSetup({},n=n||{}),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?T(m):T.event,v=T.Deferred(),y=T.Callbacks("once memory"),b=h.statusCode||{},x={},w={},E="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=qt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||E;return o&&o.abort(t),L(0,t),this}};if(v.promise(C),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(P)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),_t(It,h,n,C),c)return C;for(p in(f=T.event&&h.global)&&0==T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Pt.test(h.type),i=h.url.replace(jt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(kt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(At.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ot,"$1"),d=(At.test(i)?"&":"?")+"_="+Lt+++d),h.url=i+d),h.ifModified&&(T.lastModified[i]&&C.setRequestHeader("If-Modified-Since",T.lastModified[i]),T.etag[i]&&C.setRequestHeader("If-None-Match",T.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(m,C,h)||c))return C.abort();if(E="abort",y.add(h.complete),C.done(h.success),C.fail(h.error),o=_t(Ft,h,n,C)){if(C.readyState=1,f&&g.trigger("ajaxSend",[C,h]),c)return C;h.async&&0<h.timeout&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,o.send(x,L)}catch(t){if(c)throw t;L(-1,t)}}else L(-1,"No Transport");function L(t,n,r,s){var l,p,d,x,w,E=n;c||(c=!0,u&&e.clearTimeout(u),o=void 0,a=s||"",C.readyState=0<t?4:0,l=200<=t&&t<300||304===t,r&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(h,C,r)),x=function(e,t,n,r){var o,i,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=l[u+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(h,x,C,l),l?(h.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(T.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(T.etag[i]=w)),204===t||"HEAD"===h.type?E="nocontent":304===t?E="notmodified":(E=x.state,p=x.data,l=!(d=x.error))):(d=E,!t&&E||(E="error",t<0&&(t=0))),C.status=t,C.statusText=(n||E)+"",l?v.resolveWith(m,[p,E,C]):v.rejectWith(m,[C,E,d]),C.statusCode(b),b=void 0,f&&g.trigger(l?"ajaxSuccess":"ajaxError",[C,h,l?p:d]),y.fireWith(m,[C,E]),f&&(g.trigger("ajaxComplete",[C,h]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,n,r,o){return m(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e,t){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return m(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){T(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(t){}};var Vt={0:200,1223:204},zt=T.ajaxSettings.xhr();h.cors=!!zt&&"withCredentials"in zt,h.ajax=zt=!!zt,T.ajaxTransport(function(t){var n,r;if(h.cors||zt&&!t.crossDomain)return{send:function(o,i){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(o){if(n)throw o}},abort:function(){n&&n()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(o,i){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}});var Xt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||T.expando+"_"+Lt++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+o):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},t.dataTypes[0]="json",i=e[o],e[o]=function(){a=arguments},r.always(function(){void 0===i?T(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(o)),a&&m(i)&&i(a[0]),a=i=void 0}),"script"}),h.createHTMLDocument=((Xt=r.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((o=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(o)):t=r),a=!n&&[],(i=S.exec(e))?[t.createElement(i[1])]:(i=Te([e],t,a),a&&a.length&&T(a).remove(),T.merge([],i.childNodes)));var o,i,a},T.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return-1<s&&(r=yt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<a.length&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l=T.css(e,"position"),c=T(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),i=T.css(e,"top"),u=T.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(i+u).indexOf("auto")?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),m(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):c.css(f)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?{top:(t=r.getBoundingClientRect()).top+(n=r.ownerDocument.defaultView).pageYOffset,left:t.left+n.pageXOffset}:{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||oe})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return _(this,function(e,r,o){var i;if(g(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=Ue(h.pixelPosition,function(e,n){if(n)return n=_e(e,t),Be.test(n)?T(e).position()[t]+"px":n})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return _(this,function(t,n,o){var i;return g(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)},t,a?o:void 0,a)}})}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){T.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=i.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(i.call(arguments)))}).guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=M,T.isFunction=m,T.isWindow=g,T.camelCase=X,T.type=b,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Qt=e.jQuery,Jt=e.$;return T.noConflict=function(t){return e.$===T&&(e.$=Jt),t&&e.jQuery===T&&(e.jQuery=Qt),T},t||(e.jQuery=e.$=T),T}),function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Ye=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)h(e[n],t)}function o(e){return function(t){qe(t)&&(h(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function i(e){var t=Be.call(e,"is"),n=e.nodeName.toUpperCase(),r=ae.call(ne,t?Z+t.toUpperCase():K+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function s(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[X]||2,a=e[G]||3;!tt||o&&o!==t||!t[W]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[W](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function u(e){var t=o(e);return function(e){L.push(t,e.target),Ye&&clearTimeout(Ye),Ye=setTimeout(n,1)}}function l(e){et&&(et=!1,e.currentTarget.removeEventListener(Q,l)),oe.length&&r((e.target||w).querySelectorAll(oe),e.detail===F?F:R),je&&function(){for(var e,t=0,n=Pe.length;t<n;t++)ie.contains(e=Pe[t])||(n--,Pe.splice(t--,1),h(e,F))}()}function c(e,t){var n=this;_e.call(n,e,t),A.call(n,{target:n})}function f(e,t,n){var r=t.apply(e,n),o=i(r);return-1<o&&k(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)k(t=e[n],re[i(t)])}(r.querySelectorAll(oe)),r}function p(e,t){Se(e,t),S?S.observe(e,Xe):(Ze&&(e.setAttribute=c,e[q]=M(e),e[P](J,A)),e[P](Y,s)),e[V]&&tt&&(e.created=!0,e[V](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function h(e,t){var n,r,o=i(e);-1<o&&(D(e,re[o]),o=0,t!==R||e[R]?t!==F||e[F]||(e[R]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[R]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+I]||e[r+I])&&n.call(e))}function m(){}function g(e,t,n){var r=n&&n[B]||"",o=t.prototype,i=Me(o),a=t.observedAttributes||fe,s={prototype:i};Oe(i,V,{value:function(){if(Ee)Ee=!1;else if(!this[ve]){this[ve]=!0,new t(this),o[V]&&o[V].call(this);var e=Ce[Ae.get(t)];(!be||e.create.length>1)&&b(this)}}}),Oe(i,W,{value:function(e){-1<ae.call(a,e)&&o[W]&&o[W].apply(this,arguments)}}),o[_]&&Oe(i,$,{value:o[_]}),o[U]&&Oe(i,z,{value:o[U]}),r&&(s[B]=r),e=e.toUpperCase(),Ce[e]={constructor:t,create:r?[r,He(e)]:[e]},Ae.set(t,e),w[O](e.toLowerCase(),s),x(e),Le[e].r()}function v(e){var t=Ce[e.toUpperCase()];return t&&t.constructor}function y(e){return"string"==typeof e?e:e&&e.is||""}function b(e){for(var t,n=e[W],r=n?e.attributes:fe,o=r.length;o--;)n.call(e,(t=r[o]).name||t.nodeName,null,t.value||t.nodeValue)}function x(e){return(e=e.toUpperCase())in Le||(Le[e]={},Le[e].p=new we(function(t){Le[e].r=t})),Le[e].p}function T(){ye&&delete e.customElements,ce(e,"customElements",{configurable:!0,value:new m}),ce(e,"CustomElementRegistry",{configurable:!0,value:m});for(var t=C.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Ee=!0,t=Ce[Ae.get(e.constructor)],(e=(r=be&&1===t.create.length)?Reflect.construct(n,fe,t.constructor):w.createElement.apply(w,t.create))[ve]=!0,Ee=!1,r||b(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){ce(n,ve,{value:e[t]})}}}(t[n]));w.createElement=function(e,t){var n=y(t);return n?ze.call(this,e,He(n)):ze.call(this,e)},Qe||(Ke=!0,w[O](""))}var w=e.document,E=e.Object,C=function(e){var t,n,r,o,i=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in s||(s[e]=(s[e]||[]).concat(t),s[t]=s[t.toUpperCase()]=e)},s=(E.create||E)(null),u={};for(n in e)for(o in e[n])for(s[o]=r=e[n][o],t=0;t<r.length;t++)s[r[t].toLowerCase()]=s[r[t].toUpperCase()]=o;return u.get=function(e){return"string"==typeof e?s[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in s)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return i.test(e)?a(e,t):a(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var L,A,H,M,S,N,D,k,j,O="registerElement",q="__"+O+(1e5*e.Math.random()>>0),P="addEventListener",R="attached",I="Callback",F="detached",B="extends",W="attributeChanged"+I,$=R+I,_="connected"+I,U="disconnected"+I,V="created"+I,z=F+I,X="ADDITION",G="REMOVAL",Y="DOMAttrModified",Q="DOMContentLoaded",J="DOMSubtreeModified",K="<",Z="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",ie=w.documentElement,ae=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},se=E.prototype,ue=se.hasOwnProperty,le=se.isPrototypeOf,ce=E.defineProperty,fe=[],pe=E.getOwnPropertyDescriptor,de=E.getOwnPropertyNames,he=E.getPrototypeOf,me=E.setPrototypeOf,ge=!!E.__proto__,ve="__dreCEv1",ye=e.customElements,be=!/^force/.test(t.type)&&!!(ye&&ye.define&&ye.get&&ye.whenDefined),xe=E.create||E,Te=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ae.call(t,e)]},set:function(r,o){(e=ae.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Ee=!1,Ce=xe(null),Le=xe(null),Ae=new Te,He=function(e){return e.toLowerCase()},Me=E.create||function e(t){return t?(e.prototype=t,new e):this},Se=me||(ge?function(e,t){return e.__proto__=t,e}:de&&pe?function(){function e(e,t){for(var n,r=de(t),o=0,i=r.length;o<i;o++)ue.call(e,n=r[o])||ce(e,n,pe(t,n))}return function(t,n){do{e(t,n)}while((n=he(n))&&!le.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Ne=e.MutationObserver||e.WebKitMutationObserver,De=e.HTMLAnchorElement,ke=(e.HTMLElement||e.Element||e.Node).prototype,je=!le.call(ke,ie),Oe=je?function(e,t,n){return e[t]=n.value,e}:ce,qe=je?function(e){return 1===e.nodeType}:function(e){return le.call(ke,e)},Pe=je&&[],Re=ke.attachShadow,Ie=ke.cloneNode,Fe=ke.dispatchEvent,Be=ke.getAttribute,We=ke.hasAttribute,$e=ke.removeAttribute,_e=ke.setAttribute,Ue=w.createElement,Ve=w.importNode,ze=Ue,Xe=Ne&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ge=Ne||function(e){Ze=!1,ie.removeEventListener(Y,Ge)},Ye=0,Qe=O in w&&!/^force-all/.test(t.type),Je=!0,Ke=!1,Ze=!0,et=!0,tt=!0;if(Ne&&((j=w.createElement("div")).innerHTML="<div><div></div></div>",new Ne(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(j=pe(ke,"innerHTML"))&&j.set;n&&ce(ke,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),j=null}).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Qe||(me||ge?(D=function(e,t){le.call(t,e)||p(e,t)},k=p):k=D=function(e,t){e[q]||(e[q]=E(!0),p(e,t))},je?(Ze=!1,function(){var e=pe(ke,P),t=e.value,n=function(e){var t=new CustomEvent(Y,{bubbles:!0});t.attrName=e,t.prevValue=Be.call(this,e),t.newValue=null,t[G]=t.attrChange=2,$e.call(this,e),Fe.call(this,t)},r=function(e,t){var n=We.call(this,e),r=n&&Be.call(this,e),o=new CustomEvent(Y,{bubbles:!0});_e.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[X]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[q],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(Y,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[X]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,i,a){e===Y&&this[W]&&this.setAttribute!==r&&(this[q]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},ce(ke,P,e)}()):Ne||(ie[P](Y,Ge),ie.setAttribute(q,1),ie.removeAttribute(q),Ze&&(A=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[q],o[q]=n=M(o),n){if(!(r in t))return H(0,o,r,t[r],n[r],X);if(n[r]!==t[r])return H(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return H(2,o,r,t[r],n[r],G)}},H=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,s(a)},M=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),w[O]=function(e,t){if(n=e.toUpperCase(),Je&&(Je=!1,Ne?(S=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Ne(function(r){for(var o,i,a,s=0,u=r.length;s<u;s++)"childList"===(o=r[s]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,tt&&i[W]&&"style"!==o.attributeName&&(a=Be.call(i,o.attributeName))!==o.oldValue&&i[W](o.attributeName,o.oldValue,a))})}(o(R),o(F)),(N=function(e){return S.observe(e,{childList:!0,subtree:!0}),e})(w),Re&&(ke.attachShadow=function(){return N(Re.apply(this,arguments))})):(L=[],w[P]("DOMNodeInserted",u(R)),w[P]("DOMNodeRemoved",u(F))),w[P](Q,l),w[P]("readystatechange",l),w.importNode=function(e,t){switch(e.nodeType){case 1:return f(w,Ve,[e,!!t]);case 11:for(var n=w.createDocumentFragment(),r=e.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(w.importNode(r[i],!!t));return n;default:return Ie.call(e,!!t)}},ke.cloneNode=function(e){return f(this,Ie,[!!e])}),Ke)return Ke=!1;if(-2<ae.call(ne,Z+n)+ae.call(ne,K+n)&&d(e),!ee.test(n)||-1<ae.call(te,n))throw new Error("The type "+e+" is invalid");var n,i,a=function(){return c?w.createElement(p,n):w.createElement(p)},s=t||se,c=ue.call(s,B),p=c?t[B].toUpperCase():n;return c&&-1<ae.call(ne,K+p)&&d(p),i=ne.push((c?Z:K)+n)-1,oe=oe.concat(oe.length?",":"",c?p+'[is="'+e.toLowerCase()+'"]':p),a.prototype=re[i]=ue.call(s,"prototype")?s.prototype:Me(ke),oe.length&&r(w.querySelectorAll(oe),R),a},w.createElement=ze=function(e,t){var n=y(t),r=n?Ue.call(w,e,He(n)):Ue.call(w,e),o=""+e,i=ae.call(ne,(n?Z:K)+(n||o).toUpperCase()),s=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),s&&(s=a(o.toUpperCase(),n))),tt=!w.createElement.innerHTMLHelper,s&&k(r,re[i]),r}),m.prototype={constructor:m,define:be?function(e,t,n){if(n)g(e,t,n);else{var r=e.toUpperCase();Ce[r]={constructor:t,create:[r]},Ae.set(t,r),ye.define(e,t)}}:g,get:be?function(e){return ye.get(e)||v(e)}:v,whenDefined:be?function(e){return we.race([ye.whenDefined(e),x(e)])}:x},!ye||/^force/.test(t.type))T();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[B]="a",(t.prototype=Me(De.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(w.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}(function e(){return Reflect.construct(De,[],e)},{},"document-register-element-a")}catch(nt){T()}if(!t.noBuiltIn)try{if(Ue.call(w,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(rt){He=function(e){return{is:e.toLowerCase()}}}}(window);
|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+27z":function(e,t){function n(e,t,n){var r={audio:!1,video:{mandatory:{chromeMediaSource:e?"screen":"desktop",maxWidth:window.screen.width>1920?window.screen.width:1920,maxHeight:window.screen.height>1080?window.screen.height:1080},optional:[]}};return n&&(r.audio={mandatory:{chromeMediaSource:e?"screen":"desktop"},optional:[]}),t&&(r.video.mandatory.chromeMediaSourceId=t,r.audio&&r.audio.mandatory&&(r.audio.mandatory.chromeMediaSourceId=t)),r}function r(e){i?i.isLoaded?i.contentWindow.postMessage(e?e.forEach?{captureCustomSourceId:e}:{captureSourceIdWithAudio:!0}:{captureSourceId:!0},"*"):setTimeout(function(){r(e)},100):o(function(){r(e)})}var i;function o(e){i?e():((i=document.createElement("iframe")).onload=function(){i.isLoaded=!0,e()},i.src="https://openvidu.github.io/openvidu-screen-sharing-chrome-extension/",i.style.display="none",(document.body||document.documentElement).appendChild(i))}function s(){i?i.isLoaded?i.contentWindow.postMessage({getChromeExtensionStatus:!0},"*"):setTimeout(s,100):o(s)}window.getScreenId=function(e,t,i){-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveOrOpenBlob&&!navigator.msSaveBlob?navigator.mozGetUserMedia?t(null,"firefox",{video:{mozMediaSource:e,mediaSource:e}}):(window.addEventListener("message",function e(r){r.data&&(r.data.chromeMediaSourceId&&("PermissionDeniedError"===r.data.chromeMediaSourceId?t("permission-denied"):t(null,r.data.chromeMediaSourceId,n(null,r.data.chromeMediaSourceId,r.data.canRequestAudioTrack)),window.removeEventListener("message",e)),r.data.chromeExtensionStatus&&(t(r.data.chromeExtensionStatus,null,n(r.data.chromeExtensionStatus)),window.removeEventListener("message",e)))}),i?setTimeout(function(){r(i)},100):setTimeout(r,100)):t({video:!0})},window.getScreenConstraints=function(e){o(function(){getScreenId(function(t,n,r){r||(r={video:!0}),e(t,r.video)})})},window.getChromeExtensionStatus=function(e){navigator.mozGetUserMedia?e("installed-enabled"):(window.addEventListener("message",function t(n){n.data&&n.data.chromeExtensionStatus&&(e(n.data.chromeExtensionStatus),window.removeEventListener("message",t))}),setTimeout(s,100))},t.getScreenId=getScreenId},"+FKC":function(e,t,n){"use strict";t.__esModule=!0;var r=n("bDgZ");t.WebRtcStats=function(){function e(e){this.stream=e,this.webRtcStatsEnabled=!1,this.statsInterval=1,this.stats={inbound:{audio:{bytesReceived:0,packetsReceived:0,packetsLost:0},video:{bytesReceived:0,packetsReceived:0,packetsLost:0,framesDecoded:0,nackCount:0}},outbound:{audio:{bytesSent:0,packetsSent:0},video:{bytesSent:0,packetsSent:0,framesEncoded:0,nackCount:0}}}}return e.prototype.isEnabled=function(){return this.webRtcStatsEnabled},e.prototype.initWebRtcStats=function(){var e=this,t=localStorage.getItem("elastest-instrumentation");if(t){console.warn("WebRtc stats enabled for stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId),this.webRtcStatsEnabled=!0;var n=JSON.parse(t);return this.statsInterval=n.webrtc.interval,console.warn("localStorage item: "+JSON.stringify(n)),void(this.webRtcStatsIntervalId=setInterval(function(){e.sendStatsToHttpEndpoint(n)},1e3*this.statsInterval))}console.debug("WebRtc stats not enabled")},e.prototype.stopWebRtcStats=function(){this.webRtcStatsEnabled&&(clearInterval(this.webRtcStatsIntervalId),console.warn("WebRtc stats stopped for disposed stream "+this.stream.streamId+" of connection "+this.stream.connection.connectionId))},e.prototype.getSelectedIceCandidateInfo=function(){var e=this;return new Promise(function(t,n){e.getStatsAgnostic(e.stream.getRTCPeerConnection(),function(i){if(-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera")){var o=void 0,s=void 0,a=void 0,l={},u={};for(var c in i){var d=i[c];"localcandidate"===d.type?l[d.id]=d:"remotecandidate"===d.type?u[d.id]=d:"googCandidatePair"===d.type&&"true"===d.googActiveConnection&&(a=d,o=d.localCandidateId,s=d.remoteCandidateId)}var p=l[o];if(p){var h=e.stream.getLocalIceCandidateList().filter(function(e){return!!e.candidate&&e.candidate.indexOf(p.ipAddress)>=0&&e.candidate.indexOf(p.portNumber)>=0&&e.candidate.indexOf(p.priority)>=0});p.raw=h[0]?h[0].candidate:"ERROR: Cannot find local candidate in list of sent ICE candidates"}else p="ERROR: No active local ICE candidate. Probably ICE-TCP is being used";var f=u[s];f?(h=e.stream.getRemoteIceCandidateList().filter(function(e){return!!e.candidate&&e.candidate.indexOf(f.ipAddress)>=0&&e.candidate.indexOf(f.portNumber)>=0&&e.candidate.indexOf(f.priority)>=0}),f.raw=h[0]?h[0].candidate:"ERROR: Cannot find remote candidate in list of received ICE candidates"):f="ERROR: No active remote ICE candidate. Probably ICE-TCP is being used",t({googCandidatePair:a,localCandidate:p,remoteCandidate:f})}else n("Selected ICE candidate info only available for Chrome")},function(e){n(e)})})},e.prototype.sendStatsToHttpEndpoint=function(e){var t=this,n=function(n){var r=new XMLHttpRequest,i=e.webrtc.httpEndpoint;r.open("POST",i,!0),r.setRequestHeader("Content-type","application/json"),r.onreadystatechange=function(){4===r.readyState&&200===r.status&&console.log("WebRtc stats successfully sent to "+i+" for stream "+t.stream.streamId+" of connection "+t.stream.connection.connectionId)},r.send(n)};this.getStatsAgnostic(this.stream.getRTCPeerConnection(),function(i){if(-1!==r.name.indexOf("Firefox"))i.forEach(function(r){var i={};if("inbound-rtp"===r.type&&null!==r.nackCount&&!1===r.isRemote&&r.id.startsWith("inbound")&&r.remoteId.startsWith("inbound")){var o="webrtc_inbound_"+r.mediaType+"_"+r.ssrc,s={bytesReceived:(r.bytesReceived-t.stats.inbound[r.mediaType].bytesReceived)/t.statsInterval,jitter:1e3*r.jitter,packetsReceived:(r.packetsReceived-t.stats.inbound[r.mediaType].packetsReceived)/t.statsInterval,packetsLost:(r.packetsLost-t.stats.inbound[r.mediaType].packetsLost)/t.statsInterval},a={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===r.mediaType&&(s.framesDecoded=(r.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,s.nackCount=(r.nackCount-t.stats.inbound.video.nackCount)/t.statsInterval,a.framesDecoded="frames",a.nackCount="packets",t.stats.inbound.video.framesDecoded=r.framesDecoded,t.stats.inbound.video.nackCount=r.nackCount),t.stats.inbound[r.mediaType].bytesReceived=r.bytesReceived,t.stats.inbound[r.mediaType].packetsReceived=r.packetsReceived,t.stats.inbound[r.mediaType].packetsLost=r.packetsLost,(i={"@timestamp":new Date(r.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:a})[o]=s,n(JSON.stringify(i))}else"outbound-rtp"===r.type&&!1===r.isRemote&&r.id.toLowerCase().includes("outbound")&&(o="webrtc_outbound_"+r.mediaType+"_"+r.ssrc,s={bytesSent:(r.bytesSent-t.stats.outbound[r.mediaType].bytesSent)/t.statsInterval,packetsSent:(r.packetsSent-t.stats.outbound[r.mediaType].packetsSent)/t.statsInterval},a={bytesSent:"bytes",packetsSent:"packets"},"video"===r.mediaType&&(s.framesEncoded=(r.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,a.framesEncoded="frames",t.stats.outbound.video.framesEncoded=r.framesEncoded),t.stats.outbound[r.mediaType].bytesSent=r.bytesSent,t.stats.outbound[r.mediaType].packetsSent=r.packetsSent,(i={"@timestamp":new Date(r.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:a})[o]=s,n(JSON.stringify(i)))});else if(-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera"))for(var o=0,s=Object.keys(i);o<s.length;o++){var a=i[s[o]];if("ssrc"===a.type){var l={};if("bytesReceived"in a&&("audio"===a.mediaType&&"audioOutputLevel"in a||"video"===a.mediaType&&"qpSum"in a)){var u="webrtc_inbound_"+a.mediaType+"_"+a.ssrc,c={bytesReceived:(a.bytesReceived-t.stats.inbound[a.mediaType].bytesReceived)/t.statsInterval,jitter:a.googJitterBufferMs,packetsReceived:(a.packetsReceived-t.stats.inbound[a.mediaType].packetsReceived)/t.statsInterval,packetsLost:(a.packetsLost-t.stats.inbound[a.mediaType].packetsLost)/t.statsInterval},d={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===a.mediaType&&(c.framesDecoded=(a.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,c.nackCount=(a.googNacksSent-t.stats.inbound.video.nackCount)/t.statsInterval,d.framesDecoded="frames",d.nackCount="packets",t.stats.inbound.video.framesDecoded=a.framesDecoded,t.stats.inbound.video.nackCount=a.googNacksSent),t.stats.inbound[a.mediaType].bytesReceived=a.bytesReceived,t.stats.inbound[a.mediaType].packetsReceived=a.packetsReceived,t.stats.inbound[a.mediaType].packetsLost=a.packetsLost,(l={"@timestamp":new Date(a.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:u,stream_type:"composed_metrics",units:d})[u]=c,n(JSON.stringify(l))}else"bytesSent"in a&&(u="webrtc_outbound_"+a.mediaType+"_"+a.ssrc,c={bytesSent:(a.bytesSent-t.stats.outbound[a.mediaType].bytesSent)/t.statsInterval,packetsSent:(a.packetsSent-t.stats.outbound[a.mediaType].packetsSent)/t.statsInterval},d={bytesSent:"bytes",packetsSent:"packets"},"video"===a.mediaType&&(c.framesEncoded=(a.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,d.framesEncoded="frames",t.stats.outbound.video.framesEncoded=a.framesEncoded),t.stats.outbound[a.mediaType].bytesSent=a.bytesSent,t.stats.outbound[a.mediaType].packetsSent=a.packetsSent,(l={"@timestamp":new Date(a.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:u,stream_type:"composed_metrics",units:d})[u]=c,n(JSON.stringify(l)))}}},function(e){console.log(e)})},e.prototype.standardizeReport=function(e){console.log(e);var t={};return-1!==r.name.indexOf("Firefox")?(Object.keys(e).forEach(function(t){console.log(e[t])}),e):(e.result().forEach(function(e){var n={id:e.id,timestamp:e.timestamp,type:e.type};e.names().forEach(function(t){n[t]=e.stat(t)}),t[n.id]=n}),t)},e.prototype.getStatsAgnostic=function(e,t,n){var i=this;return-1!==r.name.indexOf("Firefox")?e.getStats(null).then(function(e){var n=i.standardizeReport(e);t(n)}).catch(n):-1!==r.name.indexOf("Chrome")||-1!==r.name.indexOf("Opera")?e.getStats(function(e){var n=i.standardizeReport(e);t(n)},null,n):void 0},e}()},"+ig+":function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.FilterEvent=function(e){function t(t,n,r){var i=e.call(this,!1,t,n)||this;return i.data=r,i}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},"/dLB":function(e,t,n){"use strict";t.__esModule=!0,t.VideoInsertMode=function(e){return e.AFTER="AFTER",e.APPEND="APPEND",e.BEFORE="BEFORE",e.PREPEND="PREPEND",e.REPLACE="REPLACE",e}(t.VideoInsertMode||{})},"/u9M":function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n("LXjW")),i=r.tokenize,o=r.options.Options;function s(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function a(e){return e.replace(/"/g,""")}function l(e){if(!e)return"";var t=[];for(var n in e)t.push(n+'="'+a(e[n]+"")+'"');return t.join(" ")}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=new o(t);for(var n=i(e),r=[],u=0;u<n.length;u++){var c=n[u];if("nl"===c.type&&t.nl2br)r.push("<br>\n");else if(c.isLink&&t.check(c)){var d=t.resolve(c),p=d.formatted,h=d.tagName,f=d.className,m=d.target,g=d.attributes,v="<"+h+' href="'+a(d.formattedHref)+'"';f&&(v+=' class="'+a(f)+'"'),m&&(v+=' target="'+a(m)+'"'),g&&(v+=" "+l(g)),v+=">"+s(p)+"</"+h+">",r.push(v)}else r.push(s(c.toString()))}return r.join("")}if(!String.prototype.linkify)try{Object.defineProperty(String.prototype,"linkify",{set:function(){},get:function(){return function(e){return u(this,e)}}})}catch(c){String.prototype.linkify||(String.prototype.linkify=function(e){return u(this,e)})}t.default=u},0:function(e,t,n){e.exports=n("zUnb")},"0wxW":function(e,t,n){var r=n("de4E"),i=n("pLL0");t.JsonRPC=r,t.XmlRPC=i},"1Kca":function(e,t,n){"use strict";var r=n("dY/r");e.exports=function(e){var t,i={stun:(e||{}).stun||n("KFtI"),turn:(e||{}).turn||n("hw9W")},o=(e||{}).turnCount||0;function s(e,t){for(var n,o=[],s=[].concat(i[e]);s.length&&o.length<t;)n=Math.random()*s.length|0,o=o.concat(s.splice(n,1));return o.map(function(t){return"string"==typeof t||t instanceof String?r(e+":"+t):t})}return t=[].concat(s("stun",(e||{}).stunCount||2)),o&&(t=t.concat(s("turn",o))),t}},"5kmN":function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("1Kca"),o=n("Wfi+"),s=n("bDgZ"),a=function(){function e(e){var t=this;this.configuration=e,this.remoteCandidatesQueue=[],this.localCandidatesQueue=[],this.iceCandidateList=[],this.candidategatheringdone=!1,this.configuration.iceServers=this.configuration.iceServers&&this.configuration.iceServers.length>0?this.configuration.iceServers:i(),this.pc=new RTCPeerConnection({iceServers:this.configuration.iceServers}),this.id=e.id?e.id:o.v4(),this.pc.onicecandidate=function(e){if(e.candidate){var n=e.candidate;n?(t.localCandidatesQueue.push({candidate:n.candidate}),t.candidategatheringdone=!1,t.configuration.onicecandidate(e.candidate)):t.candidategatheringdone||(t.candidategatheringdone=!0)}},this.pc.onsignalingstatechange=function(){if("stable"===t.pc.signalingState)for(;t.iceCandidateList.length>0;)t.pc.addIceCandidate(t.iceCandidateList.shift())},this.start()}return e.prototype.start=function(){var e=this;return new Promise(function(t,n){if("closed"===e.pc.signalingState&&n('The peer connection object is in "closed" state. This is most likely due to an invocation of the dispose method before accepting in the dialogue'),e.configuration.mediaStream){if(s.isIonicIos)e.pc.addStream(e.configuration.mediaStream);else for(var r=0,i=e.configuration.mediaStream.getTracks();r<i.length;r++)e.pc.addTrack(i[r],e.configuration.mediaStream);t()}})},e.prototype.dispose=function(e){console.debug("Disposing WebRtcPeer");try{if(this.pc){if("closed"===this.pc.signalingState)return;if(this.remoteCandidatesQueue=[],this.localCandidatesQueue=[],s.isIonicIos){for(var t=this.pc,n=0,r=t.getLocalStreams();n<r.length;n++){var i=r[n];e||i.stop(),t.removeStream(i)}for(var o=0,a=t.getRemoteStreams();o<a.length;o++)(p=a[o]).track&&p.stop()}else{for(var l=0,u=this.pc.getSenders();l<u.length;l++)i=u[l],e||i.track&&i.track.stop(),this.pc.removeTrack(i);for(var c=0,d=this.pc.getReceivers();c<d.length;c++){var p;(p=d[c]).track&&p.track.stop()}}this.pc.close()}}catch(h){console.warn("Exception disposing webrtc peer "+h)}},e.prototype.generateOffer=function(){var e=this;return new Promise(function(t,n){var r,i=!0;e.configuration.mediaConstraints&&(r="boolean"!=typeof e.configuration.mediaConstraints.audio||e.configuration.mediaConstraints.audio,i="boolean"!=typeof e.configuration.mediaConstraints.video||e.configuration.mediaConstraints.video);var o={offerToReceiveAudio:"sendonly"!==e.configuration.mode&&r,offerToReceiveVideo:"sendonly"!==e.configuration.mode&&i};console.debug("RTCPeerConnection constraints: "+JSON.stringify(o)),"Safari"===s.name&&-1!==s.ua.indexOf("Safari")?(r&&e.pc.addTransceiver("audio",{direction:e.configuration.mode}),i&&e.pc.addTransceiver("video",{direction:e.configuration.mode}),e.pc.createOffer().then(function(t){return console.debug("Created SDP offer"),e.pc.setLocalDescription(t)}).then(function(){var r=e.pc.localDescription;r?(console.debug("Local description set",r.sdp),t(r.sdp)):n("Local description is not defined")}).catch(function(e){return n(e)})):e.pc.createOffer(o).then(function(t){return console.debug("Created SDP offer"),e.pc.setLocalDescription(t)}).then(function(){var r=e.pc.localDescription;r?(console.debug("Local description set",r.sdp),t(r.sdp)):n("Local description is not defined")}).catch(function(e){return n(e)})})},e.prototype.processAnswer=function(e,t){var n=this;return new Promise(function(r,i){var o={type:"answer",sdp:e};console.debug("SDP answer received, setting remote description"),"closed"===n.pc.signalingState&&i("RTCPeerConnection is closed"),s.isIonicIos?t?setTimeout(function(){console.info("setRemoteDescription run after timeout for Ionic iOS device"),n.pc.setRemoteDescription(new RTCSessionDescription(o)).then(function(){return r()}).catch(function(e){return i(e)})},250):n.pc.setRemoteDescription(new RTCSessionDescription(o)).then(function(){return r()}).catch(function(e){return i(e)}):n.pc.setRemoteDescription(o).then(function(){return r()}).catch(function(e){return i(e)})})},e.prototype.addIceCandidate=function(e){var t=this;return new Promise(function(n,r){switch(console.debug("Remote ICE candidate received",e),t.remoteCandidatesQueue.push(e),t.pc.signalingState){case"closed":r(new Error("PeerConnection object is closed"));break;case"stable":t.pc.remoteDescription?t.pc.addIceCandidate(e).then(function(){return n()}).catch(function(e){return r(e)}):(t.iceCandidateList.push(e),n());break;default:t.iceCandidateList.push(e),n()}})},e}();t.WebRtcPeer=a,t.WebRtcPeerRecvonly=function(e){function t(t){return t.mode="recvonly",e.call(this,t)||this}return r(t,e),t}(a),t.WebRtcPeerSendonly=function(e){function t(t){return t.mode="sendonly",e.call(this,t)||this}return r(t,e),t}(a),t.WebRtcPeerSendrecv=function(e){function t(t){return t.mode="sendrecv",e.call(this,t)||this}return r(t,e),t}(a)},"6+/i":function(e,t,n){var r;!function(t){"use strict";function i(){}var o=i.prototype,s=t.EventEmitter;function a(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function l(e){return function(){return this[e].apply(this,arguments)}}o.getListeners=function(e){var t,n,r=this._getEvents();if(e instanceof RegExp)for(n in t={},r)r.hasOwnProperty(n)&&e.test(n)&&(t[n]=r[n]);else t=r[e]||(r[e]=[]);return t},o.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},o.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},o.addListener=function(e,t){if(!function e(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!=typeof t)&&e(t.listener)}(t))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(e),i="object"==typeof t;for(n in r)r.hasOwnProperty(n)&&-1===a(r[n],t)&&r[n].push(i?t:{listener:t,once:!1});return this},o.on=l("addListener"),o.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},o.once=l("addOnceListener"),o.defineEvent=function(e){return this.getListeners(e),this},o.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},o.removeListener=function(e,t){var n,r,i=this.getListenersAsObject(e);for(r in i)i.hasOwnProperty(r)&&-1!==(n=a(i[r],t))&&i[r].splice(n,1);return this},o.off=l("removeListener"),o.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},o.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},o.manipulateListeners=function(e,t,n){var r,i,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(r=n.length;r--;)o.call(this,t,n[r]);else for(r in t)t.hasOwnProperty(r)&&(i=t[r])&&("function"==typeof i?o.call(this,r,i):s.call(this,r,i));return this},o.removeEvent=function(e){var t,n=typeof e,r=this._getEvents();if("string"===n)delete r[e];else if(e instanceof RegExp)for(t in r)r.hasOwnProperty(t)&&e.test(t)&&delete r[t];else delete this._events;return this},o.removeAllListeners=l("removeEvent"),o.emitEvent=function(e,t){var n,r,i,o,s=this.getListenersAsObject(e);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(e,r.listener),r.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,r.listener);return this},o.trigger=l("emitEvent"),o.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},o.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return t.EventEmitter=s,i},void 0===(r=(function(){return i}).call(t,n,t,e))||(e.exports=r)}("undefined"!=typeof window?window:this||{})},"74bm":function(e,t,n){"use strict";t.__esModule=!0;var r=n("BwMD"),i=n("Tt94");t.Filter=function(){function e(e,t){this.handlers={},this.type=e,this.options=t}return e.prototype.execMethod=function(e,t){var n=this;return new Promise(function(o,s){var a;if(console.info("Executing filter method to stream "+n.stream.streamId),"string"!=typeof t)try{a=JSON.stringify(t)}catch(u){var l="'params' property must be a JSON formatted object";console.error(l),s(l)}else a=t;n.stream.session.openvidu.sendRequest("execFilterMethod",{streamId:n.stream.streamId,method:e,params:a},function(t,l){if(t)console.error("Error executing filter method for Stream "+n.stream.streamId,t),s(401===t.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to execute a filter method"):t);else{console.info("Filter method successfully executed on Stream "+n.stream.streamId);var u=Object.assign({},n.stream.filter);n.stream.filter.lastExecMethod={method:e,params:JSON.parse(a)},n.stream.session.emitEvent("streamPropertyChanged",[new r.StreamPropertyChangedEvent(n.stream.session,n.stream,"filter",n.stream.filter,u,"execFilterMethod")]),n.stream.streamManager.emitEvent("streamPropertyChanged",[new r.StreamPropertyChangedEvent(n.stream.streamManager,n.stream,"filter",n.stream.filter,u,"execFilterMethod")]),o()}})})},e.prototype.addEventListener=function(e,t){var n=this;return new Promise(function(r,o){console.info("Adding filter event listener to event "+e+" to stream "+n.stream.streamId),n.stream.session.openvidu.sendRequest("addFilterEventListener",{streamId:n.stream.streamId,eventType:e},function(s,a){s?(console.error("Error adding filter event listener to event "+e+"for Stream "+n.stream.streamId,s),o(401===s.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to add a filter event listener"):s)):(n.handlers[e]=t,console.info("Filter event listener to event "+e+" successfully applied on Stream "+n.stream.streamId),r())})})},e.prototype.removeEventListener=function(e){var t=this;return new Promise(function(n,r){console.info("Removing filter event listener to event "+e+" to stream "+t.stream.streamId),t.stream.session.openvidu.sendRequest("removeFilterEventListener",{streamId:t.stream.streamId,eventType:e},function(o,s){o?(console.error("Error removing filter event listener to event "+e+"for Stream "+t.stream.streamId,o),r(401===o.code?new i.OpenViduError(i.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to add a filter event listener"):o)):(delete t.handlers[e],console.info("Filter event listener to event "+e+" successfully removed on Stream "+t.stream.streamId),n())})})},e}()},"8KVD":function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.ConnectionEvent=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r)||this;return s.connection=i,s.reason=o,s}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},AeG9:function(e,t,n){var r=!1;if(Object.defineProperty)try{Object.defineProperty({},"x",{})}catch(f){r=!0}Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},i=function(){return n.apply(this instanceof r&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return r.prototype=this.prototype,i.prototype=new r,i});var i=n("txJ/").EventEmitter,o=n("HgqT"),s=n("0wxW"),a=n("gUCu"),l=5e3;function u(e){if(e){if(e instanceof Function)return{send:e};if(e.send instanceof Function)return e;if(e.postMessage instanceof Function)return e.send=e.postMessage,e;if(e.write instanceof Function)return e.send=e.write,e;if(void 0===e.onmessage&&!(e.pause instanceof Function))throw new SyntaxError("Transport is not a function nor a valid object")}}function c(e,t){r?(this.method=e,this.params=t):(Object.defineProperty(this,"method",{value:e,enumerable:!0}),Object.defineProperty(this,"params",{value:t,enumerable:!0}))}function d(e,t,n,s){var d=this;if(!e)throw new SyntaxError("Packer is not defined");if(!e.pack||!e.unpack)throw new SyntaxError("Packer is invalid");var p=function(e){if(!e)return{};for(var t in e){var n=e[t];"string"==typeof n&&(e[t]={response:n})}return e}(e.responseMethods);if(t instanceof Function){if(null!=n)throw new SyntaxError("There can't be parameters after onRequest");s=t,n=void 0,t=void 0}if(t&&t.send instanceof Function){if(n&&!(n instanceof Function))throw new SyntaxError("Only a function can be after transport");s=n,n=t,t=void 0}if(n instanceof Function){if(null!=s)throw new SyntaxError("There can't be parameters after onRequest");s=n,n=void 0}if(n&&n.send instanceof Function&&s&&!(s instanceof Function))throw new SyntaxError("Only a function can be after transport");t=t||{},i.call(this),s&&this.on("request",s),r?this.peerID=t.peerID:Object.defineProperty(this,"peerID",{value:t.peerID});var h=t.max_retries||0;function m(e){d.decode(e.data||e)}this.getTransport=function(){return n},this.setTransport=function(e){n&&(n.removeEventListener?n.removeEventListener("message",m):n.removeListener&&n.removeListener("data",m)),e&&(e.addEventListener?e.addEventListener("message",m):e.addListener&&e.addListener("data",m)),n=u(e)},r||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)}),this.setTransport(n);var g=t.request_timeout||l,v=t.ping_request_timeout||g,y=t.response_timeout||l,b=t.duplicates_timeout||l,_=0,w=new a,S=new a,C=new a,x={};function E(e,t){var n=setTimeout(function(){C.remove(e,t)},b);C.set(n,e,t)}function k(t,n,i,o,s){c.call(this,t,n),this.getTransport=function(){return s},this.setTransport=function(e){s=u(e)},r||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)});var a=S.get(i,o);s||d.getTransport()||(r?this.duplicated=Boolean(a):Object.defineProperty(this,"duplicated",{value:Boolean(a)}));var l=p[t];this.pack=e.pack.bind(e,this,i),this.reply=function(t,n,r){if(t instanceof Function||t&&t.send instanceof Function){if(null!=n)throw new SyntaxError("There can't be parameters after callback");r=t,n=null,t=void 0}else if(n instanceof Function||n&&n.send instanceof Function){if(null!=r)throw new SyntaxError("There can't be parameters after callback");r=n,n=null}var s;return r=u(r),a&&clearTimeout(a.timeout),null!=o&&(t&&(t.dest=o),n&&(n.dest=o)),t||null!=n?(null!=d.peerID&&(t?t.from=d.peerID:n.from=d.peerID),s=e.pack(s=l?null==l.error&&t?{error:t}:{method:t?l.error:l.response,params:t||n}:{error:t,result:n},i)):s=a?a.message:e.pack({result:null},i),function(e,t,n){var r={message:e,timeout:setTimeout(function(){S.remove(t,n)},y)};S.set(r,t,n)}(s,i,o),(r=r||this.getTransport()||d.getTransport())?r.send(s):s}}function O(e){var t=x[e];if(t){delete x[e];var n=w.pop(t.id,t.dest);n&&(clearTimeout(n.timeout),E(t.id,t.dest))}}o(k,c),this.cancel=function(e){if(e)return O(e);for(var e in x)O(e)},this.close=function(){var e=this.getTransport();e&&e.close&&e.close(4003,"Cancel request"),this.cancel(),C.forEach(clearTimeout),S.forEach(function(e){clearTimeout(e.timeout)})},this.encode=function(t,n,r,i,o){if(n instanceof Function){if(null!=r)throw new SyntaxError("There can't be parameters after callback");o=n,i=void 0,r=void 0,n=void 0}else if(r instanceof Function){if(null!=i)throw new SyntaxError("There can't be parameters after callback");o=r,i=void 0,r=void 0}else if(i instanceof Function){if(null!=o)throw new SyntaxError("There can't be parameters after callback");o=i,i=void 0}null!=d.peerID&&((n=n||{}).from=d.peerID),null!=r&&((n=n||{}).dest=r);var s={method:t,params:n};if(o){var a=_++,l=0;function c(e,t){d.cancel(s),o(e,t)}var f={message:s=e.pack(s,a),callback:c,responseMethods:p[t]||{}},m=u(i);function y(e){return f.timeout=setTimeout(S,("ping"===t?v:g)*Math.pow(2,l++)),x[s]={id:a,dest:r},w.set(f,a,r),(e=e||m||d.getTransport())?e.send(s):s}function b(e){e=u(e),console.warn(l+" retry for request message:",s);var t=C.pop(a,r);return clearTimeout(t),y(e)}function S(){if(l<h)return b(i);var e=new Error("Request has timed out");e.request=s,e.retry=b,c(e)}return y(i)}return s=e.pack(s),(i=i||this.getTransport())?i.send(s):s},this.decode=function(t,n){if(!t)throw new TypeError("Message is not defined");try{t=e.unpack(t)}catch(f){return console.debug(f,t)}var r=t.id,i=t.ack,o=t.method,s=t.params||{},a=s.from,l=s.dest;if(null==d.peerID||a!=d.peerID){if(null==r&&null==i){var p=new c(o,s);if(d.emit("request",p))return;return p}if(o){if(null==l||l==d.peerID){if(v=w.get(i,a)){var h=v.responseMethods;return o==h.error?_(v,s):o==h.response?_(v,null,s):b()}if(y=C.get(i,a))return x(y)}return b()}var m=t.error,g=t.result;if(!(m&&m.dest&&m.dest!=d.peerID||g&&g.dest&&g.dest!=d.peerID)){var v,y;if(!(v=w.get(i,a)))return(y=C.get(i,a))?x(y):console.warn("No callback was defined for this message",t);_(v,m,g)}}function b(){if(n=u(n)||d.getTransport()){var e=S.get(r,a);if(e)return n.send(e.message)}var t=new k(o,s,null!=r?r:i,a,n);if(!d.emit("request",t))return t}function _(e,t,n){e.callback(t,n)}function x(e){console.warn("Response already processed",t),clearTimeout(e),E(i,a)}}}o(d,i),d.RpcNotification=c,e.exports=d;var p=n("SYuc"),h=n("ee8k");(d.clients=p).transports=h,d.packers=s},BwMD:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.StreamPropertyChangedEvent=function(e){function t(t,n,r,i,o,s){var a=e.call(this,!1,t,"streamPropertyChanged")||this;return a.stream=n,a.changedProperty=r,a.newValue=i,a.oldValue=o,a.reason=s,a}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},DPKQ:function(e,t,n){"use strict";t.__esModule=!0;var r=n("74bm"),i=n("bk74"),o=n("5kmN"),s=n("+FKC"),a=n("e8ps"),l=n("HxXY"),u=n("BwMD"),c=n("Tt94"),d=n("6+/i"),p=n("ttXH"),h=n("bDgZ");t.Stream=function(){function e(e,t){var n=this;this.ee=new d,this.isSubscribeToRemote=!1,this.isLocalStreamReadyToPublish=!1,this.isLocalStreamPublished=!1,this.publishedOnce=!1,this.publisherStartSpeakingEventEnabled=!1,this.publisherStopSpeakingEventEnabled=!1,this.volumeChangeEventEnabled=!1,this.session=e,t.hasOwnProperty("id")?(this.inboundStreamOpts=t,this.streamId=this.inboundStreamOpts.id,this.creationTime=this.inboundStreamOpts.createdAt,this.hasAudio=this.inboundStreamOpts.hasAudio,this.hasVideo=this.inboundStreamOpts.hasVideo,this.hasAudio&&(this.audioActive=this.inboundStreamOpts.audioActive),this.hasVideo&&(this.videoActive=this.inboundStreamOpts.videoActive,this.typeOfVideo=this.inboundStreamOpts.typeOfVideo?this.inboundStreamOpts.typeOfVideo:void 0,this.frameRate=-1===this.inboundStreamOpts.frameRate?void 0:this.inboundStreamOpts.frameRate,this.videoDimensions=this.inboundStreamOpts.videoDimensions),this.inboundStreamOpts.filter&&Object.keys(this.inboundStreamOpts.filter).length>0&&(this.inboundStreamOpts.filter.lastExecMethod&&0===Object.keys(this.inboundStreamOpts.filter.lastExecMethod).length&&delete this.inboundStreamOpts.filter.lastExecMethod,this.filter=this.inboundStreamOpts.filter)):(this.outboundStreamOpts=t,this.hasAudio=this.isSendAudio(),this.hasVideo=this.isSendVideo(),this.hasAudio&&(this.audioActive=!!this.outboundStreamOpts.publisherProperties.publishAudio),this.hasVideo&&(this.videoActive=!!this.outboundStreamOpts.publisherProperties.publishVideo,this.frameRate=this.outboundStreamOpts.publisherProperties.frameRate,this.typeOfVideo="undefined"!=typeof MediaStreamTrack&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?"CUSTOM":this.isSendScreen()?"SCREEN":"CAMERA"),this.outboundStreamOpts.publisherProperties.filter&&(this.filter=this.outboundStreamOpts.publisherProperties.filter)),this.ee.on("mediastream-updated",function(){n.streamManager.updateMediaStream(n.mediaStream),console.debug("Video srcObject ["+n.mediaStream+"] updated in stream ["+n.streamId+"]")})}return e.prototype.on=function(e,t){var n=this;return this.ee.on(e,function(r){r?console.info("Event '"+e+"' triggered by stream '"+n.streamId+"'",r):console.info("Event '"+e+"' triggered by stream '"+n.streamId+"'"),t(r)}),this},e.prototype.once=function(e,t){var n=this;return this.ee.once(e,function(r){r?console.info("Event '"+e+"' triggered once by stream '"+n.streamId+"'",r):console.info("Event '"+e+"' triggered once by stream '"+n.streamId+"'"),t(r)}),this},e.prototype.off=function(e,t){return t?this.ee.off(e,t):this.ee.removeAllListeners(e),this},e.prototype.applyFilter=function(e,t){var n=this;return new Promise(function(i,o){console.info("Applying filter to stream "+n.streamId),"string"!=typeof(t=t||{})&&(t=JSON.stringify(t)),n.session.openvidu.sendRequest("applyFilter",{streamId:n.streamId,type:e,options:t},function(s,a){if(s)console.error("Error applying filter for Stream "+n.streamId,s),o(401===s.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to apply a filter"):s);else{console.info("Filter successfully applied on Stream "+n.streamId);var l=n.filter;n.filter=new r.Filter(e,t),n.filter.stream=n,n.session.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(n.session,n,"filter",n.filter,l,"applyFilter")]),n.streamManager.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(n.streamManager,n,"filter",n.filter,l,"applyFilter")]),i(n.filter)}})})},e.prototype.removeFilter=function(){var e=this;return new Promise(function(t,n){console.info("Removing filter of stream "+e.streamId),e.session.openvidu.sendRequest("removeFilter",{streamId:e.streamId},function(r,i){if(r)console.error("Error removing filter for Stream "+e.streamId,r),n(401===r.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to remove a filter"):r);else{console.info("Filter successfully removed from Stream "+e.streamId);var o=e.filter;delete e.filter,e.session.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(e.session,e,"filter",e.filter,o,"applyFilter")]),e.streamManager.emitEvent("streamPropertyChanged",[new u.StreamPropertyChangedEvent(e.streamManager,e,"filter",e.filter,o,"applyFilter")]),t()}})})},e.prototype.getMediaStream=function(){return this.mediaStream},e.prototype.setMediaStream=function(e){this.mediaStream=e},e.prototype.updateMediaStreamInVideos=function(){this.ee.emitEvent("mediastream-updated",[])},e.prototype.getWebRtcPeer=function(){return this.webRtcPeer},e.prototype.getRTCPeerConnection=function(){return this.webRtcPeer.pc},e.prototype.subscribeToMyRemote=function(e){this.isSubscribeToRemote=e},e.prototype.setOutboundStreamOptions=function(e){this.outboundStreamOpts=e},e.prototype.subscribe=function(){var e=this;return new Promise(function(t,n){e.initWebRtcPeerReceive().then(function(){t()}).catch(function(e){n(e)})})},e.prototype.publish=function(){var e=this;return new Promise(function(t,n){e.isLocalStreamReadyToPublish?e.initWebRtcPeerSend().then(function(){t()}).catch(function(e){n(e)}):e.ee.once("stream-ready-to-publish",function(){e.publish().then(function(){t()}).catch(function(e){n(e)})})})},e.prototype.disposeWebRtcPeer=function(){if(this.webRtcPeer){var e=!!this.outboundStreamOpts&&"undefined"!=typeof MediaStreamTrack&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack;this.webRtcPeer.dispose(e)}this.speechEvent&&(this.speechEvent.stop&&this.speechEvent.stop(),delete this.speechEvent),this.stopWebRtcStats(),console.info((this.outboundStreamOpts?"Outbound ":"Inbound ")+"WebRTCPeer from 'Stream' with id ["+this.streamId+"] is now closed")},e.prototype.disposeMediaStream=function(){this.mediaStream&&(this.mediaStream.getAudioTracks().forEach(function(e){e.stop()}),this.mediaStream.getVideoTracks().forEach(function(e){e.stop()}),delete this.mediaStream),console.info((this.outboundStreamOpts?"Local ":"Remote ")+"MediaStream from 'Stream' with id ["+this.streamId+"] is now disposed")},e.prototype.displayMyRemote=function(){return this.isSubscribeToRemote},e.prototype.isSendAudio=function(){return!!this.outboundStreamOpts&&null!==this.outboundStreamOpts.publisherProperties.audioSource&&!1!==this.outboundStreamOpts.publisherProperties.audioSource},e.prototype.isSendVideo=function(){return!!this.outboundStreamOpts&&null!==this.outboundStreamOpts.publisherProperties.videoSource&&!1!==this.outboundStreamOpts.publisherProperties.videoSource},e.prototype.isSendScreen=function(){var e="screen"===this.outboundStreamOpts.publisherProperties.videoSource;return"Electron"===h.name&&(e="string"==typeof this.outboundStreamOpts.publisherProperties.videoSource&&this.outboundStreamOpts.publisherProperties.videoSource.startsWith("screen:")),!!this.outboundStreamOpts&&e},e.prototype.setSpeechEventIfNotExists=function(){if(!this.speechEvent){var e=this.session.openvidu.advancedConfiguration.publisherSpeakingEventsOptions||{};e.interval="number"==typeof e.interval?e.interval:50,e.threshold="number"==typeof e.threshold?e.threshold:-50,this.speechEvent=p(this.mediaStream,e)}},e.prototype.enableSpeakingEvents=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStartSpeakingEventEnabled||(this.publisherStartSpeakingEventEnabled=!0,this.speechEvent.on("speaking",function(){e.session.emitEvent("publisherStartSpeaking",[new a.PublisherSpeakingEvent(e.session,"publisherStartSpeaking",e.connection,e.streamId)])})),this.publisherStopSpeakingEventEnabled||(this.publisherStopSpeakingEventEnabled=!0,this.speechEvent.on("stopped_speaking",function(){e.session.emitEvent("publisherStopSpeaking",[new a.PublisherSpeakingEvent(e.session,"publisherStopSpeaking",e.connection,e.streamId)])}))},e.prototype.enableOnceSpeakingEvents=function(){var e=this;this.setSpeechEventIfNotExists(),this.publisherStartSpeakingEventEnabled||(this.publisherStartSpeakingEventEnabled=!0,this.speechEvent.once("speaking",function(){e.session.emitEvent("publisherStartSpeaking",[new a.PublisherSpeakingEvent(e.session,"publisherStartSpeaking",e.connection,e.streamId)]),e.disableSpeakingEvents()})),this.publisherStopSpeakingEventEnabled||(this.publisherStopSpeakingEventEnabled=!0,this.speechEvent.once("stopped_speaking",function(){e.session.emitEvent("publisherStopSpeaking",[new a.PublisherSpeakingEvent(e.session,"publisherStopSpeaking",e.connection,e.streamId)]),e.disableSpeakingEvents()}))},e.prototype.disableSpeakingEvents=function(){this.speechEvent&&(this.volumeChangeEventEnabled?(this.speechEvent.off("speaking"),this.speechEvent.off("stopped_speaking")):(this.speechEvent.stop(),delete this.speechEvent)),this.publisherStartSpeakingEventEnabled=!1,this.publisherStopSpeakingEventEnabled=!1},e.prototype.enableVolumeChangeEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.volumeChangeEventEnabled||(this.volumeChangeEventEnabled=!0,this.speechEvent.on("volume_change",function(t){var n={newValue:t,oldValue:e.speechEvent.oldVolumeValue};e.speechEvent.oldVolumeValue=t,e.streamManager.emitEvent("streamAudioVolumeChange",[new l.StreamManagerEvent(e.streamManager,"streamAudioVolumeChange",n)])}))},e.prototype.enableOnceVolumeChangeEvent=function(){var e=this;this.setSpeechEventIfNotExists(),this.volumeChangeEventEnabled||(this.volumeChangeEventEnabled=!0,this.speechEvent.once("volume_change",function(t){var n={newValue:t,oldValue:e.speechEvent.oldVolumeValue};e.speechEvent.oldVolumeValue=t,e.disableVolumeChangeEvent(),e.streamManager.emitEvent("streamAudioVolumeChange",[new l.StreamManagerEvent(e.streamManager,"streamAudioVolumeChange",n)])}))},e.prototype.disableVolumeChangeEvent=function(){this.speechEvent&&(this.session.speakingEventsEnabled?this.speechEvent.off("volume_change"):(this.speechEvent.stop(),delete this.speechEvent)),this.volumeChangeEventEnabled=!1},e.prototype.isLocal=function(){return!this.inboundStreamOpts&&!!this.outboundStreamOpts},e.prototype.getSelectedIceCandidate=function(){var e=this;return new Promise(function(t,n){e.webRtcStats.getSelectedIceCandidateInfo().then(function(e){return t(e)}).catch(function(e){return n(e)})})},e.prototype.getRemoteIceCandidateList=function(){return this.webRtcPeer.remoteCandidatesQueue},e.prototype.getLocalIceCandidateList=function(){return this.webRtcPeer.localCandidatesQueue},e.prototype.initWebRtcPeerSend=function(){var e=this;return new Promise(function(t,n){var r={audio:e.isSendAudio(),video:e.isSendVideo()},i={mediaStream:e.mediaStream,mediaConstraints:r,onicecandidate:e.connection.sendIceCandidate.bind(e.connection),iceServers:e.getIceServersConf(),simulcast:!1};e.webRtcPeer=e.displayMyRemote()?new o.WebRtcPeerSendrecv(i):new o.WebRtcPeerSendonly(i),e.webRtcPeer.generateOffer().then(function(r){!function(r){console.debug("Sending SDP offer to publish as "+e.streamId,r);var i="";e.isSendVideo()&&(i="undefined"!=typeof MediaStreamTrack&&e.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?"CUSTOM":e.isSendScreen()?"SCREEN":"CAMERA"),e.session.openvidu.sendRequest("publishVideo",{sdpOffer:r,doLoopback:e.displayMyRemote()||!1,hasAudio:e.isSendAudio(),hasVideo:e.isSendVideo(),audioActive:e.audioActive,videoActive:e.videoActive,typeOfVideo:i,frameRate:e.frameRate?e.frameRate:-1,videoDimensions:JSON.stringify(e.videoDimensions),filter:e.outboundStreamOpts.publisherProperties.filter},function(r,i){r?n(401===r.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to publish"):"Error on publishVideo: "+JSON.stringify(r)):(e.webRtcPeer.processAnswer(i.sdpAnswer,!1).then(function(){e.streamId=i.id,e.creationTime=i.createdAt,e.isLocalStreamPublished=!0,e.publishedOnce=!0,e.displayMyRemote()&&e.remotePeerSuccessfullyEstablished(),e.ee.emitEvent("stream-created-by-publisher",[]),e.initWebRtcStats(),t()}).catch(function(e){n(e)}),console.info("'Publisher' successfully published to session"))})}(r)}).catch(function(e){n(new Error("(publish) SDP offer error: "+JSON.stringify(e)))})})},e.prototype.initWebRtcPeerReceive=function(){var e=this;return new Promise(function(t,n){var r={audio:e.inboundStreamOpts.hasAudio,video:e.inboundStreamOpts.hasVideo};console.debug("'Session.subscribe(Stream)' called. Constraints of generate SDP offer",r);var i={onicecandidate:e.connection.sendIceCandidate.bind(e.connection),mediaConstraints:r,iceServers:e.getIceServersConf(),simulcast:!1};e.webRtcPeer=new o.WebRtcPeerRecvonly(i),e.webRtcPeer.generateOffer().then(function(r){var i;i=r,console.debug("Sending SDP offer to subscribe to "+e.streamId,i),e.session.openvidu.sendRequest("receiveVideoFrom",{sender:e.streamId,sdpOffer:i},function(r,i){r?n(new Error("Error on recvVideoFrom: "+JSON.stringify(r))):(e.session.isFirstIonicIosSubscriber&&(e.session.isFirstIonicIosSubscriber=!1,setTimeout(function(){e.session.countDownForIonicIosSubscribersActive=!1},400)),e.webRtcPeer.processAnswer(i.sdpAnswer,e.session.countDownForIonicIosSubscribersActive).then(function(){e.remotePeerSuccessfullyEstablished(),e.initWebRtcStats(),t()}).catch(function(e){n(e)}))})}).catch(function(e){n(new Error("(subscribe) SDP offer error: "+JSON.stringify(e)))})})},e.prototype.remotePeerSuccessfullyEstablished=function(){if(h.isIonicIos)this.mediaStream=this.webRtcPeer.pc.getRemoteStreams()[0];else{this.mediaStream=new MediaStream;for(var e=void 0,t=0,n=this.webRtcPeer.pc.getReceivers();t<n.length;t++)(e=n[t]).track&&this.mediaStream.addTrack(e.track)}if(console.debug("Peer remote stream",this.mediaStream),this.mediaStream){if(this.streamManager instanceof i.Subscriber){if(this.mediaStream.getAudioTracks()[0]){var r=!!this.streamManager.properties.subscribeToAudio;this.mediaStream.getAudioTracks()[0].enabled=r}this.mediaStream.getVideoTracks()[0]&&(r=!!this.streamManager.properties.subscribeToVideo,this.mediaStream.getVideoTracks()[0].enabled=r)}this.updateMediaStreamInVideos(),!this.displayMyRemote()&&this.mediaStream.getAudioTracks()[0]&&this.session.speakingEventsEnabled&&this.enableSpeakingEvents()}},e.prototype.initWebRtcStats=function(){this.webRtcStats=new s.WebRtcStats(this),this.webRtcStats.initWebRtcStats()},e.prototype.stopWebRtcStats=function(){this.webRtcStats&&this.webRtcStats.isEnabled()&&this.webRtcStats.stopWebRtcStats()},e.prototype.getIceServersConf=function(){return this.session.openvidu.advancedConfiguration.iceServers?"freeice"===this.session.openvidu.advancedConfiguration.iceServers?void 0:this.session.openvidu.advancedConfiguration.iceServers:this.session.openvidu.iceServers?this.session.openvidu.iceServers:void 0},e.prototype.gatherStatsForPeer=function(){var e=this;return new Promise(function(t,n){e.isLocal()?e.getRTCPeerConnection().getSenders().forEach(function(t){return t.getStats().then(function(t){t.forEach(function(t){if(e.isReportWanted(t)){var n={};n.type=t.type,n.timestamp=t.timestamp,n.id=t.id,"outbound-rtp"===t.type&&(n.ssrc=t.ssrc,n.firCount=t.firCount,n.pliCount=t.pliCount,n.nackCount=t.nackCount,n.qpSum=t.qpSum,n.mediaType=t.kind?t.kind:t.mediaType?t.mediaType:-1!==t.id.indexOf("VideoStream")?"video":"audio","video"===n.mediaType&&(n.framesEncoded=t.framesEncoded),n.packetsSent=t.packetsSent,n.bytesSent=t.bytesSent),"candidate-pair"===t.type&&void 0!==t.totalRoundTripTime&&(n.availableOutgoingBitrate=t.availableOutgoingBitrate,n.rtt=t.currentRoundTripTime,n.averageRtt=t.totalRoundTripTime/t.responsesReceived),console.log(n)}})})}):e.getRTCPeerConnection().getReceivers().forEach(function(t){return t.getStats().then(function(t){t.forEach(function(t){if(e.isReportWanted(t)){var n={};n.type=t.type,n.timestamp=t.timestamp,n.id=t.id,"inbound-rtp"===t.type&&(n.ssrc=t.ssrc,n.firCount=t.firCount,n.pliCount=t.pliCount,n.nackCount=t.nackCount,n.qpSum=t.qpSum,n.mediaType=t.kind?t.kind:t.mediaType?t.mediaType:-1!==t.id.indexOf("VideoStream")?"video":"audio","video"===n.mediaType&&(n.framesDecoded=t.framesDecoded),n.packetsReceived=t.packetsReceived,n.packetsLost=t.packetsLost,n.jitter=t.jitter,n.bytesReceived=t.bytesReceived),"candidate-pair"===t.type&&void 0!==t.totalRoundTripTime&&(n.availableIncomingBitrate=t.availableIncomingBitrate,n.rtt=t.currentRoundTripTime,n.averageRtt=t.totalRoundTripTime/t.responsesReceived),console.log(n)}})})})})},e.prototype.isReportWanted=function(e){return"inbound-rtp"===e.type&&!this.isLocal()||"outbound-rtp"===e.type&&this.isLocal()||"candidate-pair"===e.type&&e.nominated&&e.bytesSent>0},e}()},EDod:function(e,t,n){var r=n("AeG9"),i=n("cUzU");Date.now=Date.now||function(){return+new Date};var o=5e3,s=console;e.exports=function(e){var t,n=this,a=e.ws,l=-1,u=0,c=!0,d=!1,p="DISCONNECTED",h=a.onreconnecting,f=a.onreconnected,m=a.onconnected,g=a.onerror;e.rpc.pull=function(e,t){t.reply(null,"push")},a.onreconnecting=function(){s.debug("--------- ONRECONNECTING -----------"),"RECONNECTING"!==p?(S(),p="RECONNECTING",h&&h()):s.error("Websocket already in RECONNECTING state when receiving a new ONRECONNECTING message. Ignoring it")},a.onreconnected=function(){s.debug("--------- ONRECONNECTED -----------"),"CONNECTED"!==p?(p="CONNECTED",b(),f&&f()):s.error("Websocket already in CONNECTED state when receiving a new ONRECONNECTED message. Ignoring it")},a.onconnected=function(){s.debug("--------- ONCONNECTED -----------"),"CONNECTED"!==p?(p="CONNECTED",c=!0,w(),m&&m()):s.error("Websocket already in CONNECTED state when receiving a new ONCONNECTED message. Ignoring it")},a.onerror=function(e){s.debug("--------- ONERROR -----------"),p="DISCONNECTED",S(),g&&g(e)};var v=new i(a);s.debug("Connecting websocket to URI: "+a.uri);var y=new r(r.packers.JsonRPC,{request_timeout:e.rpc.requestTimeout,ping_request_timeout:e.rpc.heartbeatRequestTimeout},v,function(t){s.debug("Received request: "+JSON.stringify(t));try{var n=e.rpc[t.method];void 0===n?s.error("Method "+t.method+" not registered in client"):n(t.params,t)}catch(r){s.error("Exception processing request: "+JSON.stringify(t)),s.error(r)}});function b(){s.debug("notReconnectIfNumLessThan = "+u+" (old="+l+")"),l=u}function _(){if(c){var t=null;0!=u&&u!=l||(t={interval:e.heartbeat||o}),n.send("ping",t,(r=++u,function(e,t){e&&(s.debug("Error in ping request #"+r+" ("+e.message+")"),r>l&&(c=!1,b(),s.debug("Server did not respond to ping message #"+r+". Reconnecting... "),v.reconnectWs()))}))}else s.debug("Trying to send ping, but ping is not enabled");var r}function w(){d||(s.debug("Starting ping (if configured)"),d=!0,null!=e.heartbeat&&(t=setInterval(_,e.heartbeat),_()))}function S(){clearInterval(t),d=!1,c=!1,u=-1,y.cancel()}this.send=function(e,t,n){"ping"!==e&&s.debug("Request: method:"+e+" params:"+JSON.stringify(t));var r=Date.now();y.encode(e,t,function(i,o){if(i){try{s.error("ERROR:"+i.message+" in Request: method:"+e+" params:"+JSON.stringify(t)+" request:"+i.request),i.data&&s.error("ERROR DATA:"+JSON.stringify(i.data))}catch(a){}i.requestTime=r}n&&(null!=o&&"pong"!==o.value&&s.debug("Response: "+JSON.stringify(o)),n(i,o))})},this.close=function(n,r){s.debug("Closing with code: "+n+" because: "+r),null!=t&&(s.debug("Clearing ping interval"),clearInterval(t)),d=!1,c=!1,e.sendCloseMessage?(s.debug("Sending close message"),this.send("closeSession",null,function(e,t){e&&s.error("Error sending close message: "+JSON.stringify(e)),v.close(n,r)})):v.close(n,r)},this.forceClose=function(e){v.forceClose(e)},this.reconnect=function(){v.reconnectWs()},this.resetPing=function(){c=!0,u=0,w()}}},EcWD:function(e,t){var n,r,i="screen",o=void 0!==window.InstallTrigger;function s(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);r=e,window.postMessage("get-sourceId","*")}function a(e,t){if(n="",o)return e(null,{mozMediaSource:"window",mediaSource:"window"});var a={mandatory:{chromeMediaSource:i,maxWidth:screen.width>1920?screen.width:1920,maxHeight:screen.height>1080?screen.height:1080},optional:[]};"desktop"!=i||n?("desktop"==i&&(a.mandatory.chromeMediaSourceId=n),e(null,a)):t?function(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);r=e,window.postMessage("audio-plus-tab","*")}(function(t,n){a.mandatory.chromeMediaSourceId=t,n&&(a.canRequestAudioTrack=!0),e("PermissionDeniedError"==t?t:null,a)}):s(function(t){a.mandatory.chromeMediaSourceId=t,e("PermissionDeniedError"==t?t:null,a)})}window.opera||navigator.userAgent.indexOf(" OPR/"),window.addEventListener("message",function(e){e.origin==window.location.origin&&function(e){if("PermissionDeniedError"==e){if(r)return r("PermissionDeniedError");throw new Error("PermissionDeniedError")}"rtcmulticonnection-extension-loaded"==e&&(i="desktop"),e.sourceId&&r&&r(n=e.sourceId,!0===e.canRequestAudioTrack)}(e.data)}),t.getScreenConstraints=a,t.getScreenConstraintsWithAudio=function(e){a(e,!0)},t.isChromeExtensionAvailable=function(e){if(e){if("desktop"==i)return e(!0);window.postMessage("are-you-there","*"),setTimeout(function(){e("screen"!=i)},2e3)}},t.getChromeExtensionStatus=function(e,t){if(o)return t("not-chrome");2!=arguments.length&&(t=e,e="lfcgfepafnobdloecchnfaclibenjold");var n=document.createElement("img");n.src="chrome-extension://"+e+"/icon.png",n.onload=function(){i="screen",window.postMessage("are-you-there","*"),setTimeout(function(){t("screen"==i?"installed-disabled":"installed-enabled")},2e3)},n.onerror=function(){t("not-installed")}},t.getSourceId=s},FlKs:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n("JUw6"),i=function(e){this.j=[],this.T=e||null};i.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n<e.length;n++)this.j.push([e[n],t]);return this}return this.j.push([e,t]),this},next:function(e){for(var t=0;t<this.j.length;t++){var n=this.j[t],r=n[1];if(this.test(e,n[0]))return r}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var o=(0,r.inherits)(i,function(e){this.j=[],this.T=e||null},{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),s=(0,r.inherits)(i,function(e){this.j=[],this.T=e||null},{jump:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(""));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});t.CharacterState=o,t.TokenState=s,t.stateify=function(e,t,n,r){for(var i=0,s=e.length,a=t,l=[],u=void 0;i<s&&(u=a.next(e[i]));)a=u,i++;if(i>=s)return[];for(;i<s-1;)u=new o(r),l.push(u),a.on(e[i],u),a=u,i++;return u=new o(n),l.push(u),a.on(e[s-1],u),l}},HgqT:function(e,t){e.exports="function"==typeof Object.create?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},HxXY:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.StreamManagerEvent=function(e){function t(t,n,r){var i=e.call(this,!1,t,n)||this;return i.value=r,i}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},IXxz:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser,r=n.State,i=e.parser.start,o=t.DOMAIN,s=t.LOCALHOST,a=t.NUM,l=t.SLASH,u=t.TLD,c=t.UNDERSCORE,d=t.DOT,p=t.AT;function h(e){this.v=e}e.inherits(n.TOKENS.Base,h,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var f=i.jump(t.AT),m=new r,g=new r(h),v=new r,y=new r;f.on(c,m),m.on(c,m).on(d,m),f.on(o,g).on(s,g).on(u,g).on(a,g),m.on(o,g).on(s,g).on(u,g).on(a,g),g.on(o,g).on(s,g).on(u,g).on(a,g).on(c,g),g.on(l,v).on(d,v).on(p,v),v.on(c,y),y.on(c,y),v.on(o,g).on(s,g).on(u,g).on(a,g),y.on(o,g).on(s,g).on(u,g).on(a,g)}},JTMn:function(e,t,n){"use strict";t.__esModule=!0;var r=n("ryRr"),i=n("74bm"),o=n("bk74"),s=n("8KVD"),a=n("+ig+"),l=n("rUL0"),u=n("ksJj"),c=n("suHS"),d=n("Te8r"),p=n("BwMD"),h=n("Tt94"),f=n("/dLB"),m=n("6+/i"),g=n("bDgZ");t.Session=function(){function e(e){this.streamManagers=[],this.remoteStreamsCreated={},this.isFirstIonicIosSubscriber=!0,this.countDownForIonicIosSubscribersActive=!0,this.remoteConnections={},this.speakingEventsEnabled=!1,this.ee=new m,this.openvidu=e}return e.prototype.connect=function(e,t){var n=this;return new Promise(function(r,i){n.processToken(e),n.openvidu.checkSystemRequirements()?(n.options={sessionId:n.sessionId,participantId:e,metadata:t?n.stringClientMetadata(t):""},n.connectAux(e).then(function(){r()}).catch(function(e){i(e)})):i(new h.OpenViduError(h.OpenViduErrorName.BROWSER_NOT_SUPPORTED,"Browser "+g.name+" (version "+g.version+") for "+g.os.family+" is not supported in OpenVidu"))})},e.prototype.disconnect=function(){this.leave(!1,"disconnect")},e.prototype.subscribe=function(e,t,n,r){var i,s={};s=n&&"function"!=typeof n?{insertMode:void 0!==n.insertMode?"string"==typeof n.insertMode?f.VideoInsertMode[n.insertMode]:s.insertMode:f.VideoInsertMode.APPEND,subscribeToAudio:void 0===n.subscribeToAudio||n.subscribeToAudio,subscribeToVideo:void 0===n.subscribeToVideo||n.subscribeToVideo}:{insertMode:f.VideoInsertMode.APPEND,subscribeToAudio:!0,subscribeToVideo:!0},n&&"function"==typeof n?i=n:r&&(i=r),console.info("Subscribing to "+e.connection.connectionId),e.subscribe().then(function(){console.info("Subscribed correctly to "+e.connection.connectionId),void 0!==i&&i(void 0)}).catch(function(e){void 0!==i&&i(e)});var a=new o.Subscriber(e,t,s);return a.targetElement&&e.streamManager.createVideoElement(a.targetElement,s.insertMode),a},e.prototype.subscribeAsync=function(e,t,n){var r=this;return new Promise(function(i,o){var s,a=function(e){e?o(e):i(s)};s=n?r.subscribe(e,t,n,a):r.subscribe(e,t,a)})},e.prototype.unsubscribe=function(e){var t=e.stream.connection.connectionId;console.info("Unsubscribing from "+t),this.openvidu.sendRequest("unsubscribeFromVideo",{sender:e.stream.connection.connectionId},function(n,r){n?console.error("Error unsubscribing from "+t,n):console.info("Unsubscribed correctly from "+t),e.stream.disposeWebRtcPeer(),e.stream.disposeMediaStream()}),e.stream.streamManager.removeAllVideos()},e.prototype.publish=function(e){var t=this;return new Promise(function(n,r){e.session=t,e.stream.session=t,e.stream.publishedOnce?e.initialize().then(function(){t.connection.addStream(e.stream),e.reestablishStreamPlayingEvent(),e.stream.publish().then(function(){n()}).catch(function(e){r(e)})}).catch(function(e){r(e)}):(t.connection.addStream(e.stream),e.stream.publish().then(function(){n()}).catch(function(e){r(e)}))})},e.prototype.unpublish=function(e){var t=e.stream;if(t.connection)if(t.connection===this.connection){console.info("Unpublishing local media ("+t.connection.connectionId+")"),this.openvidu.sendRequest("unpublishVideo",function(e,t){e?console.error(e):console.info("Media unpublished correctly")}),t.disposeWebRtcPeer(),delete t.connection.stream;var n=new d.StreamEvent(!0,e,"streamDestroyed",e.stream,"unpublish");e.emitEvent("streamDestroyed",[n]),n.callDefaultBehavior()}else console.error("The associated Connection object of this Publisher is not your local Connection.Only moderators can force unpublish on remote Streams via 'forceUnpublish' method",t);else console.error("The associated Connection object of this Publisher is null",t)},e.prototype.forceDisconnect=function(e){var t=this;return new Promise(function(n,r){console.info("Forcing disconnect for connection "+e.connectionId),t.openvidu.sendRequest("forceDisconnect",{connectionId:e.connectionId},function(t,i){t?(console.error("Error forcing disconnect for Connection "+e.connectionId,t),r(401===t.code?new h.OpenViduError(h.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force a disconnection"):t)):(console.info("Forcing disconnect correctly for Connection "+e.connectionId),n())})})},e.prototype.forceUnpublish=function(e){var t=this;return new Promise(function(n,r){console.info("Forcing unpublish for stream "+e.streamId),t.openvidu.sendRequest("forceUnpublish",{streamId:e.streamId},function(t,i){t?(console.error("Error forcing unpublish for Stream "+e.streamId,t),r(401===t.code?new h.OpenViduError(h.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to force an unpublishing"):t)):(console.info("Forcing unpublish correctly for Stream "+e.streamId),n())})})},e.prototype.signal=function(e){var t=this;return new Promise(function(n,r){var i={};if(e.to&&e.to.length>0){var o=[];e.to.forEach(function(e){o.push(e.connectionId)}),i.to=o}else i.to=[];i.data=e.data?e.data:"";var s=e.type?e.type:"signal";s&&"signal:"!==s.substring(0,7)&&(s="signal:"+s),i.type=s,t.openvidu.sendRequest("sendMessage",{message:JSON.stringify(i)},function(e,t){e?r(e):n()})})},e.prototype.on=function(e,t){if(this.ee.on(e,function(n){n?console.info("Event '"+e+"' triggered by 'Session'",n):console.info("Event '"+e+"' triggered by 'Session'"),t(n)}),"publisherStartSpeaking"===e||"publisherStopSpeaking"===e)for(var n in this.speakingEventsEnabled=!0,this.remoteConnections){var r=this.remoteConnections[n].stream;r&&r.hasAudio&&r.enableSpeakingEvents()}return this},e.prototype.once=function(e,t){if(this.ee.once(e,function(n){n?console.info("Event '"+e+"' triggered by 'Session'",n):console.info("Event '"+e+"' triggered by 'Session'"),t(n)}),"publisherStartSpeaking"===e||"publisherStopSpeaking"===e)for(var n in this.speakingEventsEnabled=!0,this.remoteConnections){var r=this.remoteConnections[n].stream;r&&r.hasAudio&&r.enableOnceSpeakingEvents()}return this},e.prototype.off=function(e,t){if(t?this.ee.off(e,t):this.ee.removeAllListeners(e),"publisherStartSpeaking"===e||"publisherStopSpeaking"===e)for(var n in this.speakingEventsEnabled=!1,this.remoteConnections){var r=this.remoteConnections[n].stream;r&&r.disableSpeakingEvents()}return this},e.prototype.onParticipantJoined=function(e){var t=this;this.getConnection(e.id,"").then(function(t){console.warn("Connection "+e.id+" already exists in connections list")}).catch(function(n){var i=new r.Connection(t,e);t.remoteConnections[e.id]=i,t.ee.emitEvent("connectionCreated",[new s.ConnectionEvent(!1,t,"connectionCreated",i,"")])})},e.prototype.onParticipantLeft=function(e){var t=this;this.getRemoteConnection(e.connectionId,"Remote connection "+e.connectionId+" unknown when 'onParticipantLeft'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then(function(n){if(n.stream){var r=n.stream,i=new d.StreamEvent(!0,t,"streamDestroyed",r,e.reason);t.ee.emitEvent("streamDestroyed",[i]),i.callDefaultBehavior(),delete t.remoteStreamsCreated[r.streamId],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribersActive=!0)}delete t.remoteConnections[n.connectionId],t.ee.emitEvent("connectionDestroyed",[new s.ConnectionEvent(!1,t,"connectionDestroyed",n,e.reason)])}).catch(function(e){console.error(e)})},e.prototype.onParticipantPublished=function(e){var t,n=this,i=function(e){n.remoteConnections[e.connectionId]=e,n.remoteStreamsCreated[e.stream.streamId]||n.ee.emitEvent("streamCreated",[new d.StreamEvent(!1,n,"streamCreated",e.stream,"")]),n.remoteStreamsCreated[e.stream.streamId]=!0};this.getRemoteConnection(e.id,"Remote connection '"+e.id+"' unknown when 'onParticipantPublished'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then(function(n){t=n,e.metadata=n.data,t.options=e,t.initRemoteStreams(e.streams),i(t)}).catch(function(o){t=new r.Connection(n,e),i(t)})},e.prototype.onParticipantUnpublished=function(e){var t=this;e.connectionId===this.connection.connectionId?this.stopPublisherStream(e.reason):this.getRemoteConnection(e.connectionId,"Remote connection '"+e.connectionId+"' unknown when 'onParticipantUnpublished'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then(function(n){var r=new d.StreamEvent(!0,t,"streamDestroyed",n.stream,e.reason);t.ee.emitEvent("streamDestroyed",[r]),r.callDefaultBehavior();var i=n.stream.streamId;delete t.remoteStreamsCreated[i],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribersActive=!0),n.removeStream(i)}).catch(function(e){console.error(e)})},e.prototype.onParticipantEvicted=function(e){e.connectionId===this.connection.connectionId&&this.sessionId&&!this.connection.disposed&&this.leave(!0,e.reason)},e.prototype.onNewMessage=function(e){var t=this;console.info("New signal: "+JSON.stringify(e)),this.getConnection(e.from,"Connection '"+e.from+"' unknow when 'onNewMessage'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))+". Existing local connection: "+this.connection.connectionId).then(function(n){t.ee.emitEvent("signal",[new c.SignalEvent(t,e.type,e.data,n)]),"signal"!==e.type&&t.ee.emitEvent(e.type,[new c.SignalEvent(t,e.type,e.data,n)])}).catch(function(e){console.error(e)})},e.prototype.onStreamPropertyChanged=function(e){var t=this,n=function(n){if(n.stream&&n.stream.streamId===e.streamId){var r=n.stream,o=void 0;switch(e.property){case"audioActive":o=r.audioActive,e.newValue="true"===e.newValue,r.audioActive=e.newValue;break;case"videoActive":o=r.videoActive,e.newValue="true"===e.newValue,r.videoActive=e.newValue;break;case"videoDimensions":o=r.videoDimensions,e.newValue=JSON.parse(JSON.parse(e.newValue)),r.videoDimensions=e.newValue;break;case"filter":o=r.filter,e.newValue=Object.keys(e.newValue).length>0?e.newValue:void 0,void 0!==e.newValue?(r.filter=new i.Filter(e.newValue.type,e.newValue.options),r.filter.stream=r,e.newValue.lastExecMethod&&(r.filter.lastExecMethod=e.newValue.lastExecMethod)):delete r.filter,e.newValue=r.filter}t.ee.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(t,r,e.property,e.newValue,o,e.reason)]),r.streamManager&&r.streamManager.emitEvent("streamPropertyChanged",[new p.StreamPropertyChangedEvent(r.streamManager,r,e.property,e.newValue,o,e.reason)])}else console.error("No stream with streamId '"+e.streamId+"' found for connection '"+e.connectionId+"' on 'streamPropertyChanged' event")};e.connectionId===this.connection.connectionId?n(this.connection):this.getRemoteConnection(e.connectionId,"Remote connection "+e.connectionId+" unknown when 'onStreamPropertyChanged'. Existing remote connections: "+JSON.stringify(Object.keys(this.remoteConnections))).then(function(e){n(e)}).catch(function(e){console.error(e)})},e.prototype.recvIceCandidate=function(e){var t={candidate:e.candidate,component:e.component,foundation:e.foundation,ip:e.ip,port:e.port,priority:e.priority,protocol:e.protocol,relatedAddress:e.relatedAddress,relatedPort:e.relatedPort,sdpMid:e.sdpMid,sdpMLineIndex:e.sdpMLineIndex,tcpType:e.tcpType,usernameFragment:e.usernameFragment,type:e.type,toJSON:function(){return{candidate:e.candidate}}};this.getConnection(e.senderConnectionId,"Connection not found for connectionId "+e.senderConnectionId+" owning endpoint "+e.endpointName+". Ice candidate will be ignored: "+t).then(function(n){var r=n.stream;r.getWebRtcPeer().addIceCandidate(t).catch(function(t){console.error("Error adding candidate for "+r.streamId+" stream of endpoint "+e.endpointName+": "+t)})}).catch(function(e){console.error(e)})},e.prototype.onSessionClosed=function(e){console.info("Session closed: "+JSON.stringify(e));var t=e.sessionId;void 0!==t?this.ee.emitEvent("session-closed",[{session:t}]):console.warn("Session undefined on session closed",e)},e.prototype.onLostConnection=function(e){console.warn("Lost connection in session "+this.sessionId+" waiting for reconnect"),this.sessionId&&!this.connection.disposed&&this.leave(!0,e)},e.prototype.onRecoveredConnection=function(){console.warn("Recovered connection in Session "+this.sessionId)},e.prototype.onMediaError=function(e){console.error("Media error: "+JSON.stringify(e));var t=e.error;t?this.ee.emitEvent("error-media",[{error:t}]):console.warn("Received undefined media error. Params:",e)},e.prototype.onRecordingStarted=function(e){this.ee.emitEvent("recordingStarted",[new l.RecordingEvent(this,"recordingStarted",e.id,e.name)])},e.prototype.onRecordingStopped=function(e){this.ee.emitEvent("recordingStopped",[new l.RecordingEvent(this,"recordingStopped",e.id,e.name,e.reason)])},e.prototype.onFilterEventDispatched=function(e){var t=e.connectionId;this.getConnection(t,"No connection found for connectionId "+t).then(function(t){console.info("Filter event dispatched");var n=t.stream;n.filter.handlers[e.eventType](new a.FilterEvent(n.filter,e.eventType,e.data))})},e.prototype.emitEvent=function(e,t){this.ee.emitEvent(e,t)},e.prototype.leave=function(e,t){var n=this;if(e=!!e,console.info("Leaving Session (forced="+e+")"),this.connection){if(this.connection.disposed||e?this.openvidu.closeWs():this.openvidu.sendRequest("leaveRoom",function(e,t){e&&console.error(e),n.openvidu.closeWs()}),this.stopPublisherStream(t),!this.connection.disposed){var r=new u.SessionDisconnectedEvent(this,t);this.ee.emitEvent("sessionDisconnected",[r]),r.callDefaultBehavior()}}else console.warn("You were not connected to the session "+this.sessionId)},e.prototype.connectAux=function(e){var t=this;return new Promise(function(n,i){t.openvidu.startWs(function(o){if(o)i(o);else{var a={token:e||"",session:t.sessionId,platform:g.description?g.description:"unknown",metadata:t.options.metadata?t.options.metadata:"",secret:t.openvidu.getSecret(),recorder:t.openvidu.getRecorder()};t.openvidu.sendRequest("joinRoom",a,function(e,o){if(e)i(e);else{t.capabilities={subscribe:!0,publish:"SUBSCRIBER"!==t.openvidu.role,forceUnpublish:"MODERATOR"===t.openvidu.role,forceDisconnect:"MODERATOR"===t.openvidu.role},t.connection=new r.Connection(t),t.connection.connectionId=o.id,t.connection.creationTime=o.createdAt,t.connection.data=o.metadata,t.connection.rpcSessionId=o.sessionId;var a={connections:new Array,streams:new Array};o.value.forEach(function(e){var n=new r.Connection(t,e);t.remoteConnections[n.connectionId]=n,a.connections.push(n),n.stream&&(t.remoteStreamsCreated[n.stream.streamId]=!0,a.streams.push(n.stream))}),t.ee.emitEvent("connectionCreated",[new s.ConnectionEvent(!1,t,"connectionCreated",t.connection,"")]),a.connections.forEach(function(e){t.ee.emitEvent("connectionCreated",[new s.ConnectionEvent(!1,t,"connectionCreated",e,"")])}),a.streams.forEach(function(e){t.ee.emitEvent("streamCreated",[new d.StreamEvent(!1,t,"streamCreated",e,"")])}),n()}})}})})},e.prototype.stopPublisherStream=function(e){this.connection.stream&&(this.connection.stream.disposeWebRtcPeer(),this.connection.stream.isLocalStreamPublished&&this.connection.stream.ee.emitEvent("local-stream-destroyed",[e]))},e.prototype.stringClientMetadata=function(e){return"string"!=typeof e?JSON.stringify(e):e},e.prototype.getConnection=function(e,t){var n=this;return new Promise(function(r,i){var o=n.remoteConnections[e];o?r(o):n.connection.connectionId===e?r(n.connection):i(new h.OpenViduError(h.OpenViduErrorName.GENERIC_ERROR,t))})},e.prototype.getRemoteConnection=function(e,t){var n=this;return new Promise(function(r,i){var o=n.remoteConnections[e];o?r(o):i(new h.OpenViduError(h.OpenViduErrorName.GENERIC_ERROR,t))})},e.prototype.processToken=function(e){var t=e.match(/^(wss?\:)\/\/(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(t){var n={protocol:t[1],host:t[2],hostname:t[3],port:t[4],pathname:t[5],search:t[6],hash:t[7]},r=e.split("?"),i=decodeURI(r[1]).split("&").map(function(e){return e.split("=")}).reduce(function(e,t){return e[t[0]]=t[1],e},{});this.sessionId=i.sessionId;var o=i.secret,s=i.recorder,a=i.turnUsername,l=i.turnCredential,u=i.role,c=i.webrtcStatsInterval,d=i.version;if(o&&(this.openvidu.secret=o),s&&(this.openvidu.recorder=!0),a&&l){var p="turn:"+n.hostname+":3478";this.openvidu.iceServers=[{urls:["stun:"+n.hostname+":3478"]},{urls:[p,p+"?transport=tcp"],username:a,credential:l}],console.log("TURN temp credentials ["+a+":"+l+"]")}u&&(this.openvidu.role=u),c&&(this.openvidu.webrtcStatsInterval=+c),d&&(console.info("openvidu-server version: "+d),d!==this.openvidu.libraryVersion&&console.error("OpenVidu Server ("+d+") and OpenVidu Browser ("+this.openvidu.libraryVersion+") versions do NOT match. There may be incompatibilities")),this.openvidu.wsUri="wss://"+n.host+"/openvidu",this.openvidu.httpUri="https://"+n.host}else console.error('Token "'+e+'" is not valid')},e}()},JUw6:function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var i in n)r[i]=n[i];return r.constructor=t,t.prototype=r,t}},KFtI:function(e){e.exports=["stun.l.google.com:19302","stun1.l.google.com:19302","stun2.l.google.com:19302","stun3.l.google.com:19302","stun4.l.google.com:19302","stun.ekiga.net","stun.ideasip.com","stun.schlund.de","stun.stunprotocol.org:3478","stun.voiparound.com","stun.voipbuster.com","stun.voipstunt.com","stun.voxgratia.org"]},LXjW:function(e,t,n){"use strict";t.__esModule=!0,t.tokenize=t.test=t.scanner=t.parser=t.options=t.inherits=t.find=void 0;var r=n("JUw6"),i=a(n("MW5i")),o=a(n("t/6/")),s=a(n("QSjB"));function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)});var l=function(e){return s.run(o.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e),r=[],i=0;i<n.length;i++){var o=n[i];!o.isLink||t&&o.type!==t||r.push(o.toObject())}return r},t.inherits=r.inherits,t.options=i,t.parser=s,t.scanner=o,t.test=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e);return 1===n.length&&n[0].isLink&&(!t||n[0].type===t)},t.tokenize=l},MW5i:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={defaultProtocol:"http",events:null,format:s,formatHref:s,nl2br:!1,tagName:"a",target:function(e,t){return"url"===t?"_blank":null},validate:!0,ignoreTags:[],attributes:null,className:"linkified"};function o(e){this.defaultProtocol=(e=e||{}).hasOwnProperty("defaultProtocol")?e.defaultProtocol:i.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:i.events,this.format=e.hasOwnProperty("format")?e.format:i.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:i.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:i.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:i.tagName,this.target=e.hasOwnProperty("target")?e.target:i.target,this.validate=e.hasOwnProperty("validate")?e.validate:i.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||i.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||i.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:i.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function s(e){return e}t.defaults=i,t.Options=o,t.contains=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return!0;return!1},o.prototype={resolve:function(e){var t=e.toHref(this.defaultProtocol);return{formatted:this.get("format",e.toString(),e),formattedHref:this.get("formatHref",t,e),tagName:this.get("tagName",t,e),className:this.get("className",t,e),target:this.get("target",t,e),events:this.getObject("events",t,e),attributes:this.getObject("attributes",t,e)}},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var o=void 0,s=this[e];if(!s)return s;switch(void 0===s?"undefined":r(s)){case"function":return s(t,n.type);case"object":return"function"==typeof(o=s.hasOwnProperty(n.type)?s[n.type]:i[e])?o(t,n.type):o}return s},getObject:function(e,t,n){var r=this[e];return"function"==typeof r?r(t,n.type):r}}},P3vI:function(e,t,n){"use strict";t.__esModule=!0;var r=n("HxXY"),i=n("oIG1"),o=n("/dLB"),s=n("6+/i"),a=n("bDgZ");t.StreamManager=function(){function e(e,t){var n=this;if(this.videos=[],this.lazyLaunchVideoElementCreatedEvent=!1,this.ee=new s,this.stream=e,this.stream.streamManager=this,this.remote=!this.stream.isLocal(),t){var o=void 0;"string"==typeof t?o=document.getElementById(t):t instanceof HTMLElement&&(o=t),o&&(this.firstVideoElement={targetElement:o,video:document.createElement("video"),id:"",canplayListenerAdded:!1},"Safari"===a.name&&this.firstVideoElement.video.setAttribute("playsinline","true"),this.targetElement=o,this.element=o)}this.canPlayListener=function(){n.stream.isLocal()?n.stream.displayMyRemote()?(console.info("Your own remote 'Stream' with id ["+n.stream.streamId+"] video is now playing"),n.ee.emitEvent("remoteVideoPlaying",[new i.VideoElementEvent(n.videos[0].video,n,"remoteVideoPlaying")])):(console.info("Your local 'Stream' with id ["+n.stream.streamId+"] video is now playing"),n.ee.emitEvent("videoPlaying",[new i.VideoElementEvent(n.videos[0].video,n,"videoPlaying")])):(console.info("Remote 'Stream' with id ["+n.stream.streamId+"] video is now playing"),n.ee.emitEvent("videoPlaying",[new i.VideoElementEvent(n.videos[0].video,n,"videoPlaying")])),n.ee.emitEvent("streamPlaying",[new r.StreamManagerEvent(n,"streamPlaying",void 0)])}}return e.prototype.on=function(e,t){var n=this;return this.ee.on(e,function(r){r?console.info("Event '"+e+"' triggered by '"+(n.remote?"Subscriber":"Publisher")+"'",r):console.info("Event '"+e+"' triggered by '"+(n.remote?"Subscriber":"Publisher")+"'"),t(r)}),"videoElementCreated"===e&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&(this.ee.emitEvent("videoElementCreated",[new i.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!1),"streamPlaying"!==e&&"videoPlaying"!==e||this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&(this.ee.emitEvent("streamPlaying",[new r.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new i.VideoElementEvent(this.videos[0].video,this,"videoPlaying")])),"streamAudioVolumeChange"===e&&this.stream.hasAudio&&this.stream.enableVolumeChangeEvent(),this},e.prototype.once=function(e,t){return this.ee.once(e,function(n){n?console.info("Event '"+e+"' triggered once",n):console.info("Event '"+e+"' triggered once"),t(n)}),"videoElementCreated"===e&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&this.ee.emitEvent("videoElementCreated",[new i.VideoElementEvent(this.videos[0].video,this,"videoElementCreated")]),"streamPlaying"!==e&&"videoPlaying"!==e||this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&(this.ee.emitEvent("streamPlaying",[new r.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new i.VideoElementEvent(this.videos[0].video,this,"videoPlaying")])),"streamAudioVolumeChange"===e&&this.stream.hasAudio&&this.stream.enableOnceVolumeChangeEvent(),this},e.prototype.off=function(e,t){return t?this.ee.off(e,t):this.ee.removeAllListeners(e),"streamAudioVolumeChange"===e&&this.stream.disableVolumeChangeEvent(),this},e.prototype.addVideoElement=function(e){this.initializeVideoProperties(e),this.stream.isLocal()&&this.stream.displayMyRemote()&&e.srcObject!==this.stream.getMediaStream()&&(e.srcObject=this.stream.getMediaStream());for(var t=0,n=this.videos;t<n.length;t++)if(n[t].video===e)return 0;for(var r=1,i=0,o=this.stream.session.streamManagers;i<o.length;i++)if(o[i].disassociateVideo(e)){r=-1;break}return this.stream.session.streamManagers.forEach(function(t){t.disassociateVideo(e)}),this.pushNewStreamManagerVideo({video:e,id:e.id,canplayListenerAdded:!1}),console.info("New video element associated to ",this),r},e.prototype.createVideoElement=function(e,t){var n;if("string"==typeof e){if(!(n=document.getElementById(e)))throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+e)}else{if(!(e instanceof HTMLElement))throw new Error("The provided 'targetElement' couldn't be resolved to any HTML element: "+e);n=e}var r=document.createElement("video");this.initializeVideoProperties(r);var s=t||o.VideoInsertMode.APPEND;switch(s){case o.VideoInsertMode.AFTER:n.parentNode.insertBefore(r,n.nextSibling);break;case o.VideoInsertMode.APPEND:n.appendChild(r);break;case o.VideoInsertMode.BEFORE:n.parentNode.insertBefore(r,n);break;case o.VideoInsertMode.PREPEND:n.insertBefore(r,n.childNodes[0]);break;case o.VideoInsertMode.REPLACE:n.parentNode.replaceChild(r,n);break;default:s=o.VideoInsertMode.APPEND,n.appendChild(r)}var a={targetElement:n,video:r,insertMode:s,id:r.id,canplayListenerAdded:!1};return this.pushNewStreamManagerVideo(a),this.ee.emitEvent("videoElementCreated",[new i.VideoElementEvent(a.video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!!this.firstVideoElement,r},e.prototype.initializeVideoProperties=function(e){this.stream.isLocal()&&this.stream.displayMyRemote()||e.srcObject!==this.stream.getMediaStream()&&(e.srcObject=this.stream.getMediaStream()),e.autoplay=!0,e.controls=!1,"Safari"===a.name&&e.setAttribute("playsinline","true"),e.id||(e.id=(this.remote?"remote-":"local-")+"video-"+this.stream.streamId,!this.id&&this.targetElement&&(this.id=e.id)),this.remote||this.stream.displayMyRemote()||(e.muted=!0,"rotateY(180deg)"!==e.style.transform||this.stream.outboundStreamOpts.publisherProperties.mirror?this.stream.outboundStreamOpts.publisherProperties.mirror&&!this.stream.isSendScreen()&&this.mirrorVideo(e):this.removeMirrorVideo(e))},e.prototype.removeAllVideos=function(){for(var e=this,t=this.stream.session.streamManagers.length-1;t>=0;--t)this.stream.session.streamManagers[t]===this&&this.stream.session.streamManagers.splice(t,1);this.videos.forEach(function(t){t.video.removeEventListener("canplay",e.canPlayListener),t.canplayListenerAdded=!1,t.targetElement&&(t.video.parentNode.removeChild(t.video),e.ee.emitEvent("videoElementDestroyed",[new i.VideoElementEvent(t.video,e,"videoElementDestroyed")])),t.video.srcObject=null,e.videos.filter(function(e){return!e.targetElement})})},e.prototype.disassociateVideo=function(e){for(var t=!1,n=0;n<this.videos.length;n++)if(this.videos[n].video===e){this.videos[n].video.removeEventListener("canplay",this.canPlayListener),this.videos.splice(n,1),t=!0,console.info("Video element disassociated from ",this);break}return t},e.prototype.addPlayEventToFirstVideo=function(){this.videos[0]&&this.videos[0].video&&!this.videos[0].canplayListenerAdded&&(this.videos[0].video.addEventListener("canplay",this.canPlayListener),this.videos[0].canplayListenerAdded=!0)},e.prototype.updateMediaStream=function(e){this.videos.forEach(function(t){if(t.video.srcObject=e,a.isIonicIos){var n=t.video;t.video.parentElement.replaceChild(n,t.video),t.video=n}})},e.prototype.emitEvent=function(e,t){this.ee.emitEvent(e,t)},e.prototype.pushNewStreamManagerVideo=function(e){this.videos.push(e),this.addPlayEventToFirstVideo(),-1===this.stream.session.streamManagers.indexOf(this)&&this.stream.session.streamManagers.push(this)},e.prototype.mirrorVideo=function(e){a.isIonicIos||(e.style.transform="rotateY(180deg)",e.style.webkitTransform="rotateY(180deg)")},e.prototype.removeMirrorVideo=function(e){e.style.transform="unset",e.style.webkitTransform="unset"},e}()},PEz1:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("JTMn"),o=n("DPKQ"),s=n("P3vI"),a=n("Te8r"),l=n("BwMD"),u=n("oIG1"),c=n("Tt94"),d=n("bDgZ");t.Publisher=function(e){function t(t,n,r){var s=e.call(this,new o.Stream(r.session?r.session:new i.Session(r),{publisherProperties:n,mediaConstraints:{}}),t)||this;return s.accessAllowed=!1,s.isSubscribedToRemote=!1,s.accessDenied=!1,s.properties=n,s.openvidu=r,s.stream.ee.on("local-stream-destroyed",function(e){s.stream.isLocalStreamPublished=!1;var t=new a.StreamEvent(!0,s,"streamDestroyed",s.stream,e);s.emitEvent("streamDestroyed",[t]),t.callDefaultBehavior()}),s}return r(t,e),t.prototype.publishAudio=function(e){var t=this;this.stream.audioActive!==e&&(this.stream.getMediaStream().getAudioTracks().forEach(function(t){t.enabled=e}),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"audioActive",newValue:e,reason:"publishAudio"},function(n,r){n?console.error("Error sending 'streamPropertyChanged' event",n):(t.session.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(t.session,t.stream,"audioActive",e,!e,"publishAudio")]),t.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(t,t.stream,"audioActive",e,!e,"publishAudio")]))}),this.stream.audioActive=e,console.info("'Publisher' has "+(e?"published":"unpublished")+" its audio stream"))},t.prototype.publishVideo=function(e){var t=this;this.stream.videoActive!==e&&(this.stream.getMediaStream().getVideoTracks().forEach(function(t){t.enabled=e}),this.session&&this.stream.streamId&&this.session.openvidu.sendRequest("streamPropertyChanged",{streamId:this.stream.streamId,property:"videoActive",newValue:e,reason:"publishVideo"},function(n,r){n?console.error("Error sending 'streamPropertyChanged' event",n):(t.session.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(t.session,t.stream,"videoActive",e,!e,"publishVideo")]),t.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(t,t.stream,"videoActive",e,!e,"publishVideo")]))}),this.stream.videoActive=e,console.info("'Publisher' has "+(e?"published":"unpublished")+" its video stream"))},t.prototype.subscribeToRemote=function(e){this.isSubscribedToRemote=e=void 0===e||e,this.stream.subscribeToMyRemote(e)},t.prototype.on=function(t,n){var r=this;return e.prototype.on.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new a.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.on("stream-created-by-publisher",function(){r.emitEvent("streamCreated",[new a.StreamEvent(!1,r,"streamCreated",r.stream,"")])})),"remoteVideoPlaying"===t&&this.stream.displayMyRemote()&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&this.emitEvent("remoteVideoPlaying",[new u.VideoElementEvent(this.videos[0].video,this,"remoteVideoPlaying")]),"accessAllowed"===t&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),"accessDenied"===t&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},t.prototype.once=function(t,n){var r=this;return e.prototype.once.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new a.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.once("stream-created-by-publisher",function(){r.emitEvent("streamCreated",[new a.StreamEvent(!1,r,"streamCreated",r.stream,"")])})),"remoteVideoPlaying"===t&&this.stream.displayMyRemote()&&this.videos[0]&&this.videos[0].video&&this.videos[0].video.currentTime>0&&!1===this.videos[0].video.paused&&!1===this.videos[0].video.ended&&4===this.videos[0].video.readyState&&this.emitEvent("remoteVideoPlaying",[new u.VideoElementEvent(this.videos[0].video,this,"remoteVideoPlaying")]),"accessAllowed"===t&&this.accessAllowed&&this.emitEvent("accessAllowed",[]),"accessDenied"===t&&this.accessDenied&&this.emitEvent("accessDenied",[]),this},t.prototype.initialize=function(){var e=this;return new Promise(function(t,n){var r,i={},o={},s=function(t){e.accessDenied=!0,e.accessAllowed=!1,n(t)},a=function(n){if(e.accessAllowed=!0,e.accessDenied=!1,"undefined"!=typeof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack&&(n.removeTrack(n.getAudioTracks()[0]),n.addTrack(e.properties.audioSource)),"undefined"!=typeof MediaStreamTrack&&e.properties.videoSource instanceof MediaStreamTrack&&(n.removeTrack(n.getVideoTracks()[0]),n.addTrack(e.properties.videoSource)),n.getAudioTracks()[0]){var r=null!=e.stream.audioActive?e.stream.audioActive:!!e.stream.outboundStreamOpts.publisherProperties.publishAudio;n.getAudioTracks()[0].enabled=r}if(n.getVideoTracks()[0]&&(r=null!=e.stream.videoActive?e.stream.videoActive:!!e.stream.outboundStreamOpts.publisherProperties.publishVideo,n.getVideoTracks()[0].enabled=r),e.videoReference=document.createElement("video"),"Safari"===d.name&&e.videoReference.setAttribute("playsinline","true"),e.stream.setMediaStream(n),e.firstVideoElement&&e.createVideoElement(e.firstVideoElement.targetElement,e.properties.insertMode),e.videoReference.srcObject=n,e.stream.displayMyRemote()||e.stream.updateMediaStreamInVideos(),delete e.firstVideoElement,e.stream.isSendVideo())if(e.stream.isSendScreen())e.videoReference.addEventListener("loadedmetadata",function(){e.stream.videoDimensions={width:e.videoReference.videoWidth,height:e.videoReference.videoHeight},e.screenShareResizeInterval=setInterval(function(){var t=n.getVideoTracks()[0].getSettings(),r="Chrome"===d.name||"Opera"===d.name?e.videoReference.videoWidth:t.width,i="Chrome"===d.name||"Opera"===d.name?e.videoReference.videoHeight:t.height;if(e.stream.isLocalStreamPublished&&(r!==e.stream.videoDimensions.width||i!==e.stream.videoDimensions.height)){var o={width:e.stream.videoDimensions.width,height:e.stream.videoDimensions.height};e.stream.videoDimensions={width:r||0,height:i||0},e.session.openvidu.sendRequest("streamPropertyChanged",{streamId:e.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(e.stream.videoDimensions),reason:"screenResized"},function(t,n){t?console.error("Error sending 'streamPropertyChanged' event",t):(e.session.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(e.session,e.stream,"videoDimensions",e.stream.videoDimensions,o,"screenResized")]),e.emitEvent("streamPropertyChanged",[new l.StreamPropertyChangedEvent(e,e.stream,"videoDimensions",e.stream.videoDimensions,o,"screenResized")]))})}},500),e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[])});else if(d.isIonicIos||"Safari"===d.name){e.videoReference.style.display="none",document.body.appendChild(e.videoReference);var i,o=function(){e.stream.videoDimensions={width:e.videoReference.videoWidth,height:e.videoReference.videoHeight},e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[]),document.body.removeChild(e.videoReference)};e.videoReference.addEventListener("loadedmetadata",function(){0===e.videoReference.videoWidth?i=setInterval(function(){0!==e.videoReference.videoWidth&&(clearInterval(i),o())},40):o()})}else{var s=n.getVideoTracks()[0].getSettings(),a=s.width,u=s.height;e.stream.videoDimensions=("iOS"===d.os.family||"Android"===d.os.family)&&window.innerHeight>window.innerWidth?{width:u||0,height:a||0}:{width:a||0,height:u||0},e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[])}else e.stream.isLocalStreamReadyToPublish=!0,e.stream.ee.emitEvent("stream-ready-to-publish",[]);t()},u=function(t,n){e.clearPermissionDialogTimer(r,1250),e.stream.isSendScreen()&&e.stream.isSendAudio()?(o.audio=n,o.video=!1,r=Date.now(),e.setPermissionDialogTimer(1250),navigator.mediaDevices.getUserMedia(o).then(function(n){e.clearPermissionDialogTimer(r,1250),t.addTrack(n.getAudioTracks()[0]),a(t)}).catch(function(t){var n,o;switch(e.clearPermissionDialogTimer(r,1250),"Error"===t.name&&(t.name=t.constructor.name),t.name.toLowerCase()){case"notfounderror":n=c.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o=t.toString(),s(new c.OpenViduError(n,o));break;case"notallowederror":n=c.OpenViduErrorName.DEVICE_ACCESS_DENIED,o=t.toString(),s(new c.OpenViduError(n,o));break;case"overconstrainederror":"deviceid"===t.constraint.toLowerCase()?(n=c.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o="Audio input device with deviceId '"+i.video.deviceId.exact+"' not found"):(n=c.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,o="Audio input device doesn't support the value passed for constraint '"+t.constraint+"'"),s(new c.OpenViduError(n,o))}})):a(t)},p=function(t){var n,o;switch(console.error(t),e.clearPermissionDialogTimer(r,1250),"Error"===t.name&&(t.name=t.constructor.name),t.name.toLowerCase()){case"notfounderror":navigator.mediaDevices.getUserMedia({audio:!1,video:i.video}).then(function(e){e.getVideoTracks().forEach(function(e){e.stop()}),n=c.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o=t.toString(),s(new c.OpenViduError(n,o))}).catch(function(e){n=c.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,o=t.toString(),s(new c.OpenViduError(n,o))});break;case"notallowederror":n=e.stream.isSendScreen()?c.OpenViduErrorName.SCREEN_CAPTURE_DENIED:c.OpenViduErrorName.DEVICE_ACCESS_DENIED,o=t.toString(),s(new c.OpenViduError(n,o));break;case"overconstrainederror":navigator.mediaDevices.getUserMedia({audio:!1,video:i.video}).then(function(e){e.getVideoTracks().forEach(function(e){e.stop()}),"deviceid"===t.constraint.toLowerCase()?(n=c.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o="Audio input device with deviceId '"+i.audio.deviceId.exact+"' not found"):(n=c.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,o="Audio input device doesn't support the value passed for constraint '"+t.constraint+"'"),s(new c.OpenViduError(n,o))}).catch(function(e){"deviceid"===t.constraint.toLowerCase()?(n=c.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,o="Video input device with deviceId '"+i.video.deviceId.exact+"' not found"):(n=c.OpenViduErrorName.PUBLISHER_PROPERTIES_ERROR,o="Video input device doesn't support the value passed for constraint '"+t.constraint+"'"),s(new c.OpenViduError(n,o))});break;case"aborterror":case"notreadableerror":n=c.OpenViduErrorName.DEVICE_ALREADY_IN_USE,o=t.toString(),s(new c.OpenViduError(n,o));break;default:n=c.OpenViduErrorName.GENERIC_ERROR,o=t.toString(),s(new c.OpenViduError(n,o))}};if("undefined"!=typeof MediaStreamTrack&&e.properties.videoSource instanceof MediaStreamTrack&&!e.properties.audioSource||"undefined"!=typeof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack&&!e.properties.videoSource||"undefined"!=typeof MediaStreamTrack&&e.properties.videoSource instanceof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack){var h=new MediaStream;return"undefined"!=typeof MediaStreamTrack&&e.properties.videoSource instanceof MediaStreamTrack&&h.addTrack(e.properties.videoSource),"undefined"!=typeof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack&&h.addTrack(e.properties.audioSource),void a(h)}e.openvidu.generateMediaConstraints(e.properties).then(function(t){if(e.stream.setOutboundStreamOptions({mediaConstraints:i=t,publisherProperties:e.properties}),e.stream.isSendVideo()||e.stream.isSendAudio()){var s=void 0===i.audio||i.audio;o.audio=!e.stream.isSendScreen()&&s,o.video=i.video,r=Date.now(),e.setPermissionDialogTimer(1250),e.stream.isSendScreen()&&navigator.mediaDevices.getDisplayMedia&&"Electron"!==d.name?navigator.mediaDevices.getDisplayMedia({video:!0}).then(function(e){u(e,s)}).catch(function(e){p(e)}):navigator.mediaDevices.getUserMedia(o).then(function(e){u(e,s)}).catch(function(e){p(e)})}else n(new c.OpenViduError(c.OpenViduErrorName.NO_INPUT_SOURCE_SET,"Properties 'audioSource' and 'videoSource' cannot be set to false or null at the same time when calling 'OpenVidu.initPublisher'"))}).catch(function(e){s(e)})})},t.prototype.reestablishStreamPlayingEvent=function(){this.ee.getListeners("streamPlaying").length>0&&this.addPlayEventToFirstVideo()},t.prototype.setPermissionDialogTimer=function(e){var t=this;this.permissionDialogTimeout=setTimeout(function(){t.emitEvent("accessDialogOpened",[])},e)},t.prototype.clearPermissionDialogTimer=function(e,t){clearTimeout(this.permissionDialogTimeout),Date.now()-e>t&&this.emitEvent("accessDialogClosed",[])},t}(s.StreamManager)},PPcv:function(e,t,n){"use strict";t.__esModule=!0;var r=n("tInm"),i=n("PEz1"),o=n("JTMn"),s=n("BwMD"),a=n("Tt94"),l=n("/dLB"),u=n("+27z"),c=n("EcWD"),d=n("6+/i"),p=n("AeG9"),h=n("bDgZ");h.isIonicIos=("iPhone"===h.product||"iPad"===h.product)&&-1===h.ua.indexOf("Safari"),h.isIonicAndroid="Android"===h.os.family&&"Android Browser"==h.name;var f=n("vqFl");t.OpenVidu=function(){function e(){var e=this;this.publishers=[],this.secret="",this.recorder=!1,this.advancedConfiguration={},this.webrtcStatsInterval=0,this.ee=new d,this.libraryVersion=f.version,console.info("'OpenVidu' initialized"),console.info("openvidu-browser version: "+this.libraryVersion),"iOS"!==h.os.family&&"Android"!==h.os.family||window.addEventListener("orientationchange",function(){e.publishers.forEach(function(t){if(t.stream.isLocalStreamPublished&&t.stream&&t.stream.hasVideo&&t.stream.streamManager.videos[0])var n=0,r=t.stream.videoDimensions.width,i=t.stream.videoDimensions.height,o=setInterval(function(){new Promise(function(e,n){if(h.isIonicIos)e({newWidth:t.stream.streamManager.videos[0].video.videoWidth,newHeight:t.stream.streamManager.videos[0].video.videoHeight});else{var r=t.stream.getMediaStream().getVideoTracks()[0].getSettings();e({newWidth:-1!==h.name.toLowerCase().indexOf("firefox")?r.width:t.videoReference.videoWidth,newHeight:-1!==h.name.toLowerCase().indexOf("firefox")?r.height:t.videoReference.videoHeight})}}).then(function(e){a(r,i,e.newWidth,e.newHeight)})},75),a=function(r,i,a,l){++n>10&&clearTimeout(o),a===r&&l===i||(t.stream.videoDimensions={width:a||0,height:l||0},e.sendRequest("streamPropertyChanged",{streamId:t.stream.streamId,property:"videoDimensions",newValue:JSON.stringify(t.stream.videoDimensions),reason:"deviceRotated"},function(n,o){n?console.error("Error sending 'streamPropertyChanged' event",n):(e.session.emitEvent("streamPropertyChanged",[new s.StreamPropertyChangedEvent(e.session,t.stream,"videoDimensions",t.stream.videoDimensions,{width:r,height:i},"deviceRotated")]),t.emitEvent("streamPropertyChanged",[new s.StreamPropertyChangedEvent(t,t.stream,"videoDimensions",t.stream.videoDimensions,{width:r,height:i},"deviceRotated")]))}),clearTimeout(o))}})})}return e.prototype.initSession=function(){return this.session=new o.Session(this),this.session},e.prototype.initPublisher=function(e,t,n){var r;r=t&&"function"!=typeof t?{audioSource:void 0!==(r=t).audioSource?r.audioSource:void 0,frameRate:"undefined"!=typeof MediaStreamTrack&&r.videoSource instanceof MediaStreamTrack?void 0:void 0!==r.frameRate?r.frameRate:void 0,insertMode:void 0!==r.insertMode?"string"==typeof r.insertMode?l.VideoInsertMode[r.insertMode]:r.insertMode:l.VideoInsertMode.APPEND,mirror:void 0===r.mirror||r.mirror,publishAudio:void 0===r.publishAudio||r.publishAudio,publishVideo:void 0===r.publishVideo||r.publishVideo,resolution:"undefined"!=typeof MediaStreamTrack&&r.videoSource instanceof MediaStreamTrack?void 0:void 0!==r.resolution?r.resolution:"640x480",videoSource:void 0!==r.videoSource?r.videoSource:void 0,filter:r.filter}:{insertMode:l.VideoInsertMode.APPEND,mirror:!0,publishAudio:!0,publishVideo:!0,resolution:"640x480"};var o,s=new i.Publisher(e,r,this);return t&&"function"==typeof t?o=t:n&&(o=n),s.initialize().then(function(){void 0!==o&&o(void 0),s.emitEvent("accessAllowed",[])}).catch(function(e){void 0!==o&&o(e),s.emitEvent("accessDenied",[e])}),this.publishers.push(s),s},e.prototype.initPublisherAsync=function(e,t){var n=this;return new Promise(function(r,i){var o,s=function(e){e?i(e):r(o)};o=t?n.initPublisher(e,t,s):n.initPublisher(e,s)})},e.prototype.initLocalRecorder=function(e){return new r.LocalRecorder(e)},e.prototype.checkSystemRequirements=function(){var e=h.name,t=h.ua?h.ua:navigator.userAgent;return"iOS"!==h.os.family||"Safari"===e&&-1===t.indexOf("CriOS")&&-1===t.indexOf("FxiOS")?"Safari"!==e&&"Chrome"!==e&&"Chrome Mobile"!==e&&"Firefox"!==e&&"Firefox Mobile"!==e&&"Opera"!==e&&"Opera Mobile"!==e&&"Android Browser"!==e&&"Electron"!==e?0:1:0},e.prototype.checkScreenSharingCapabilities=function(){var e=h.name,t=h.os.family;return"iOS"===t||"Android"===t?0:"Chrome"!==e&&"Firefox"!==e&&"Opera"!==e&&"Electron"!==e?0:1},e.prototype.getDevices=function(){return new Promise(function(e,t){navigator.mediaDevices.enumerateDevices().then(function(t){var n=[];h.isIonicAndroid&&cordova.plugins&&cordova.plugins.EnumerateDevicesPlugin?cordova.plugins.EnumerateDevicesPlugin.getEnumerateDevices().then(function(r){var i=[],o=[],s=[];i=r.filter(function(e){return"audioinput"===e.kind}),o=t.filter(function(e){return"videoinput"===e.kind}),s=t.filter(function(e){return"audioinput"===e.kind}),o.forEach(function(e,t){n.push(e.label?{kind:e.kind,deviceId:e.deviceId,label:e.label}:{kind:e.kind,deviceId:e.deviceId,label:0===t?"Front Camera":1===t?"Back Camera":"Unknown Camera"})}),s.forEach(function(e,t){if(e.label)n.push({kind:e.kind,deviceId:e.deviceId,label:e.label});else{var r="";switch(t){case 0:r="Default";break;case 1:var o=i.filter(function(e){return e.label.includes("Built")})[0];r=o?o.label:"Built-in Microphone";break;case 2:var s=i.filter(function(e){return e.label.includes("Wired")})[0];r=s?s.label:"Headset earpiece";break;case 3:var a=i.filter(function(e){return e.label.includes("Bluetooth")})[0];r=a?a.label:"Wireless";break;default:r="Unknown Microphone"}n.push({kind:e.kind,deviceId:e.deviceId,label:r})}}),e(n)}):(t.forEach(function(e){"audioinput"!==e.kind&&"videoinput"!==e.kind||n.push({kind:e.kind,deviceId:e.deviceId,label:e.label})}),e(n))}).catch(function(e){console.error("Error getting devices",e),t(e)})})},e.prototype.getUserMedia=function(e){var t=this;return new Promise(function(n,r){t.generateMediaConstraints(e).then(function(t){navigator.mediaDevices.getUserMedia(t).then(function(e){n(e)}).catch(function(t){var n=t.toString();r(new a.OpenViduError("screen"!==e.videoSource?a.OpenViduErrorName.DEVICE_ACCESS_DENIED:a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,n))})}).catch(function(e){r(e)})})},e.prototype.enableProdMode=function(){console.log=function(){},console.debug=function(){},console.info=function(){},console.warn=function(){}},e.prototype.setAdvancedConfiguration=function(e){this.advancedConfiguration=e},e.prototype.generateMediaConstraints=function(e){var t=this;return new Promise(function(n,r){var i={audio:null!==e.audioSource&&!1!==e.audioSource&&(void 0===e.audioSource||e.audioSource),video:null!==e.videoSource&&!1!==e.videoSource&&{height:{ideal:480},width:{ideal:640}}};if("string"==typeof i.audio&&(i.audio={deviceId:{exact:i.audio}}),i.video){if(e.resolution){var o=e.resolution.toLowerCase().split("x"),s=Number(o[0]),l=Number(o[1]);i.video.width.ideal=s,i.video.height.ideal=l}if(e.frameRate&&(i.video.frameRate={ideal:e.frameRate}),e.videoSource&&"string"==typeof e.videoSource)if("screen"===e.videoSource||-1!==h.name.indexOf("Firefox")&&"window"===e.videoSource||"Electron"===h.name&&e.videoSource.startsWith("screen:"))if(t.checkScreenSharingCapabilities())if("Electron"===h.name){var d=e.videoSource,p=d.substr(d.indexOf("screen:")+"screen:".length);i.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:p}},n(i)}else{if(t.advancedConfiguration.screenShareChromeExtension&&-1===h.name.indexOf("Firefox")&&!navigator.mediaDevices.getDisplayMedia)c.getScreenConstraints(function(e,o){if(e||o.mandatory&&"screen"===o.mandatory.chromeMediaSource)if("permission-denied"===e||"PermissionDeniedError"===e){var s=new a.OpenViduError(a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");console.error(s),r(s)}else{var l=t.advancedConfiguration.screenShareChromeExtension.split("/").pop().trim();c.getChromeExtensionStatus(l,function(e){if("installed-disabled"===e){var n=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");console.error(n),r(n)}if("not-installed"===e){var i=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,t.advancedConfiguration.screenShareChromeExtension);console.error(i),r(i)}})}else i.video=o,n(i)});else if(navigator.mediaDevices.getDisplayMedia)n(i);else{var f=-1!==h.name.indexOf("Firefox")?e.videoSource:void 0;u.getScreenId(f,function(e,o,s){if(e){if("not-installed"===e){var l=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,t.advancedConfiguration.screenShareChromeExtension?t.advancedConfiguration.screenShareChromeExtension:"https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold");console.error(l),r(l)}else if("installed-disabled"===e){var u=new a.OpenViduError(a.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");console.error(u),r(u)}else if("permission-denied"===e){var c=new a.OpenViduError(a.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");console.error(c),r(c)}}else i.video=s.video,n(i)})}e.videoSource="screen"}else{var m=new a.OpenViduError(a.OpenViduErrorName.SCREEN_SHARING_NOT_SUPPORTED,"You can only screen share in desktop Chrome, Firefox, Opera or Electron. Detected client: "+h.name);console.error(m),r(m)}else i.video.deviceId={exact:e.videoSource},n(i);else n(i)}else n(i)})},e.prototype.startWs=function(e){var t={heartbeat:5e3,sendCloseMessage:!1,ws:{uri:this.wsUri,useSockJS:!1,onconnected:e,ondisconnect:this.disconnectCallback.bind(this),onreconnecting:this.reconnectingCallback.bind(this),onreconnected:this.reconnectedCallback.bind(this)},rpc:{requestTimeout:1e4,participantJoined:this.session.onParticipantJoined.bind(this.session),participantPublished:this.session.onParticipantPublished.bind(this.session),participantUnpublished:this.session.onParticipantUnpublished.bind(this.session),participantLeft:this.session.onParticipantLeft.bind(this.session),participantEvicted:this.session.onParticipantEvicted.bind(this.session),recordingStarted:this.session.onRecordingStarted.bind(this.session),recordingStopped:this.session.onRecordingStopped.bind(this.session),sendMessage:this.session.onNewMessage.bind(this.session),streamPropertyChanged:this.session.onStreamPropertyChanged.bind(this.session),filterEventDispatched:this.session.onFilterEventDispatched.bind(this.session),iceCandidate:this.session.recvIceCandidate.bind(this.session),mediaError:this.session.onMediaError.bind(this.session)}};this.jsonRpcClient=new p.clients.JsonRpcClient(t)},e.prototype.closeWs=function(){this.jsonRpcClient.close(4102,"Connection closed by client")},e.prototype.sendRequest=function(e,t,n){t&&t instanceof Function&&(n=t,t={}),console.debug('Sending request: {method:"'+e+'", params: '+JSON.stringify(t)+"}"),this.jsonRpcClient.send(e,t,n)},e.prototype.getWsUri=function(){return this.wsUri},e.prototype.getSecret=function(){return this.secret},e.prototype.getRecorder=function(){return this.recorder},e.prototype.disconnectCallback=function(){console.warn("Websocket connection lost"),this.isRoomAvailable()?this.session.onLostConnection("networkDisconnect"):alert("Connection error. Please reload page.")},e.prototype.reconnectingCallback=function(){console.warn("Websocket connection lost (reconnecting)"),this.isRoomAvailable()||alert("Connection error. Please reload page.")},e.prototype.reconnectedCallback=function(){var e=this;console.warn("Websocket reconnected"),this.isRoomAvailable()?this.sendRequest("connect",{sessionId:this.session.connection.rpcSessionId},function(t,n){t?(console.error(t),e.session.onLostConnection("networkDisconnect"),e.jsonRpcClient.close(4101,"Reconnection fault")):(e.jsonRpcClient.resetPing(),e.session.onRecoveredConnection())}):alert("Connection error. Please reload page.")},e.prototype.isRoomAvailable=function(){return void 0!==this.session&&this.session instanceof o.Session||(console.warn("Session instance not found"),!1)},e}()},PZzU:function(e,t,n){"use strict";t.__esModule=!0;var r=n("PPcv");t.OpenVidu=r.OpenVidu;var i=n("JTMn");t.Session=i.Session;var o=n("PEz1");t.Publisher=o.Publisher;var s=n("bk74");t.Subscriber=s.Subscriber;var a=n("P3vI");t.StreamManager=a.StreamManager;var l=n("DPKQ");t.Stream=l.Stream;var u=n("ryRr");t.Connection=u.Connection;var c=n("tInm");t.LocalRecorder=c.LocalRecorder;var d=n("74bm");t.Filter=d.Filter;var p=n("Yn0Z");t.LocalRecorderState=p.LocalRecorderState;var h=n("Tt94");t.OpenViduError=h.OpenViduError;var f=n("/dLB");t.VideoInsertMode=f.VideoInsertMode;var m=n("hzOQ");t.Event=m.Event;var g=n("8KVD");t.ConnectionEvent=g.ConnectionEvent;var v=n("e8ps");t.PublisherSpeakingEvent=v.PublisherSpeakingEvent;var y=n("rUL0");t.RecordingEvent=y.RecordingEvent;var b=n("ksJj");t.SessionDisconnectedEvent=b.SessionDisconnectedEvent;var _=n("suHS");t.SignalEvent=_.SignalEvent;var w=n("Te8r");t.StreamEvent=w.StreamEvent;var S=n("HxXY");t.StreamManagerEvent=S.StreamManagerEvent;var C=n("oIG1");t.VideoElementEvent=C.VideoElementEvent;var x=n("BwMD");t.StreamPropertyChangedEvent=x.StreamPropertyChangedEvent;var E=n("+ig+");t.FilterEvent=E.FilterEvent},QSjB:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("FlKs"),i=n("vqGb"),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s=n("dlaP"),a=function(e){return new r.TokenState(e)},l=a(),u=a(),c=a(),d=a(),p=a(),h=a(),f=a(),m=a(i.URL),g=a(),v=a(i.URL),y=a(i.URL),b=a(),_=a(),w=a(),S=a(),C=a(),x=a(i.URL),E=a(i.URL),k=a(i.URL),O=a(i.URL),T=a(),I=a(),A=a(),P=a(),M=a(),R=a(),j=a(i.EMAIL),N=a(),D=a(i.EMAIL),L=a(i.MAILTOEMAIL),z=a(),V=a(),F=a(),U=a(),B=a(i.NL);l.on(s.NL,B).on(s.PROTOCOL,u).on(s.MAILTO,c).on(s.SLASH,d),u.on(s.SLASH,d),d.on(s.SLASH,p),l.on(s.TLD,h).on(s.DOMAIN,h).on(s.LOCALHOST,m).on(s.NUM,h),p.on(s.TLD,y).on(s.DOMAIN,y).on(s.NUM,y).on(s.LOCALHOST,y),h.on(s.DOT,f),M.on(s.DOT,R),f.on(s.TLD,m).on(s.DOMAIN,h).on(s.NUM,h).on(s.LOCALHOST,h),R.on(s.TLD,j).on(s.DOMAIN,M).on(s.NUM,M).on(s.LOCALHOST,M),m.on(s.DOT,f),j.on(s.DOT,R),m.on(s.COLON,g).on(s.SLASH,y),g.on(s.NUM,v),v.on(s.SLASH,y),j.on(s.COLON,N),N.on(s.NUM,D);var q=[s.DOMAIN,s.AT,s.LOCALHOST,s.NUM,s.PLUS,s.POUND,s.PROTOCOL,s.SLASH,s.TLD,s.UNDERSCORE,s.SYM,s.AMPERSAND],H=[s.COLON,s.DOT,s.QUERY,s.PUNCTUATION,s.CLOSEBRACE,s.CLOSEBRACKET,s.CLOSEANGLEBRACKET,s.CLOSEPAREN,s.OPENBRACE,s.OPENBRACKET,s.OPENANGLEBRACKET,s.OPENPAREN];y.on(s.OPENBRACE,_).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,S).on(s.OPENPAREN,C),b.on(s.OPENBRACE,_).on(s.OPENBRACKET,w).on(s.OPENANGLEBRACKET,S).on(s.OPENPAREN,C),_.on(s.CLOSEBRACE,y),w.on(s.CLOSEBRACKET,y),S.on(s.CLOSEANGLEBRACKET,y),C.on(s.CLOSEPAREN,y),x.on(s.CLOSEBRACE,y),E.on(s.CLOSEBRACKET,y),k.on(s.CLOSEANGLEBRACKET,y),O.on(s.CLOSEPAREN,y),T.on(s.CLOSEBRACE,y),I.on(s.CLOSEBRACKET,y),A.on(s.CLOSEANGLEBRACKET,y),P.on(s.CLOSEPAREN,y),_.on(q,x),w.on(q,E),S.on(q,k),C.on(q,O),_.on(H,T),w.on(H,I),S.on(H,A),C.on(H,P),x.on(q,x),E.on(q,E),k.on(q,k),O.on(q,O),x.on(H,x),E.on(H,E),k.on(H,k),O.on(H,O),T.on(q,x),I.on(q,E),A.on(q,k),P.on(q,O),T.on(H,T),I.on(H,I),A.on(H,A),P.on(H,P),y.on(q,y),b.on(q,y),y.on(H,b),b.on(H,b),c.on(s.TLD,L).on(s.DOMAIN,L).on(s.NUM,L).on(s.LOCALHOST,L),L.on(q,L).on(H,z),z.on(q,L).on(H,z);var W=[s.DOMAIN,s.NUM,s.PLUS,s.POUND,s.QUERY,s.UNDERSCORE,s.SYM,s.AMPERSAND,s.TLD];h.on(W,V).on(s.AT,F),m.on(W,V).on(s.AT,F),f.on(W,V),V.on(W,V).on(s.AT,F).on(s.DOT,U),U.on(W,V),F.on(s.TLD,M).on(s.DOMAIN,M).on(s.LOCALHOST,j),t.State=r.TokenState,t.TOKENS=o,t.run=function(e){for(var t=e.length,n=0,r=[],o=[];n<t;){for(var s=l,a=null,u=null,c=0,d=null,p=-1;n<t&&!(a=s.next(e[n]));)o.push(e[n++]);for(;n<t&&(u=a||s.next(e[n]));)a=null,(s=u).accepts()?(p=0,d=s):p>=0&&p++,n++,c++;if(p<0)for(var h=n-c;h<n;h++)o.push(e[h]);else{o.length>0&&(r.push(new i.TEXT(o)),o=[]),n-=p,c-=p;var f=d.emit();r.push(new f(e.slice(n-c,n)))}}return o.length>0&&r.push(new i.TEXT(o)),r},t.start=l},RvMX:function(e,t,n){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},"S+k6":function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return i}),n.d(t,"__assign",function(){return o}),n.d(t,"__rest",function(){return s}),n.d(t,"__decorate",function(){return a}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return u}),n.d(t,"__awaiter",function(){return c}),n.d(t,"__generator",function(){return d}),n.d(t,"__exportStar",function(){return p}),n.d(t,"__values",function(){return h}),n.d(t,"__read",function(){return f}),n.d(t,"__spread",function(){return m}),n.d(t,"__spreadArrays",function(){return g}),n.d(t,"__await",function(){return v}),n.d(t,"__asyncGenerator",function(){return y}),n.d(t,"__asyncDelegator",function(){return b}),n.d(t,"__asyncValues",function(){return _}),n.d(t,"__makeTemplateObject",function(){return w}),n.d(t,"__importStar",function(){return S}),n.d(t,"__importDefault",function(){return C});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function a(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,r){return new(n||(n=Promise))(function(i,o){function s(e){try{l(r.next(e))}catch(t){o(t)}}function a(e){try{l(r.throw(e))}catch(t){o(t)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(s,a)}l((r=r.apply(e,t||[])).next())})}function d(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(i=(i=s.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(a){o=[6,a],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function p(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function h(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function g(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function y(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||a(e,t)})})}function a(e,t){try{(n=i[e](t)).value instanceof v?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(r){c(o[0][3],r)}var n}function l(e){a("next",e)}function u(e){a("throw",e)}function c(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function b(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:v(e[r](t)),done:"return"===r}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=h(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}},SYuc:function(e,t,n){var r=n("EDod");t.JsonRpcClient=r},TDwH:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser.start;function r(e){this.v=e}e.inherits(e.parser.TOKENS.Base,r,{type:"hashtag",isLink:!0});var i=n.jump(t.POUND),o=new e.parser.State(r);i.on(t.DOMAIN,o),i.on(t.TLD,o),i.on(t.LOCALHOST,o)}},Te8r:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ"),o=n("PEz1"),s=n("JTMn");t.StreamEvent=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r)||this;return s.stream=i,s.reason=o,s}return r(t,e),t.prototype.callDefaultBehavior=function(){if("streamDestroyed"===this.type){if(this.target instanceof s.Session)console.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'"),this.stream.disposeWebRtcPeer();else if(this.target instanceof o.Publisher){console.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Publisher'"),clearInterval(this.target.screenShareResizeInterval),this.stream.isLocalStreamReadyToPublish=!1;for(var e=this.target.openvidu.publishers,t=0;t<e.length;t++)if(e[t]===this.target){e.splice(t,1);break}}this.stream.disposeMediaStream(),this.stream.streamManager&&this.stream.streamManager.removeAllVideos(),delete this.stream.session.remoteStreamsCreated[this.stream.streamId];var n=this.stream.session.remoteConnections[this.stream.connection.connectionId];if(n&&n.options){var r=n.options.streams;for(t=r.length-1;t>=0;--t)r[t].id===this.stream.streamId&&r.splice(t,1)}}},t}(i.Event)},Tt94:function(e,t,n){"use strict";t.__esModule=!0,t.OpenViduErrorName=function(e){return e.BROWSER_NOT_SUPPORTED="BROWSER_NOT_SUPPORTED",e.DEVICE_ACCESS_DENIED="DEVICE_ACCESS_DENIED",e.DEVICE_ALREADY_IN_USE="DEVICE_ALREADY_IN_USE",e.SCREEN_CAPTURE_DENIED="SCREEN_CAPTURE_DENIED",e.SCREEN_SHARING_NOT_SUPPORTED="SCREEN_SHARING_NOT_SUPPORTED",e.SCREEN_EXTENSION_NOT_INSTALLED="SCREEN_EXTENSION_NOT_INSTALLED",e.SCREEN_EXTENSION_DISABLED="SCREEN_EXTENSION_DISABLED",e.INPUT_VIDEO_DEVICE_NOT_FOUND="INPUT_VIDEO_DEVICE_NOT_FOUND",e.INPUT_AUDIO_DEVICE_NOT_FOUND="INPUT_AUDIO_DEVICE_NOT_FOUND",e.NO_INPUT_SOURCE_SET="NO_INPUT_SOURCE_SET",e.PUBLISHER_PROPERTIES_ERROR="PUBLISHER_PROPERTIES_ERROR",e.OPENVIDU_PERMISSION_DENIED="OPENVIDU_PERMISSION_DENIED",e.OPENVIDU_NOT_CONNECTED="OPENVIDU_NOT_CONNECTED",e.GENERIC_ERROR="GENERIC_ERROR",e}(t.OpenViduErrorName||{}),t.OpenViduError=function(){return function(e,t){this.name=e,this.message=t}}()},VZ2u:function(e,t,n){var r=n("jrAl"),i=n("qa4Q");e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},"Wfi+":function(e,t,n){var r=n("k3G7"),i=n("VZ2u"),o=i;o.v1=r,o.v4=i,e.exports=o},Yn0Z:function(e,t,n){"use strict";t.__esModule=!0,t.LocalRecorderState=function(e){return e.READY="READY",e.RECORDING="RECORDING",e.PAUSED="PAUSED",e.FINISHED="FINISHED",e}(t.LocalRecorderState||{})},YuTi:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},bDgZ:function(e,t,n){(function(e){var r;(function(){"use strict";var i={function:!0,object:!0},o=i[typeof window]&&window||this,s=i[typeof t]&&t&&i[typeof e]&&e&&!e.nodeType&&e&&"object"==typeof global&&global;!s||s.global!==s&&s.window!==s&&s.self!==s||(o=s);var a=Math.pow(2,53)-1,l=/\bOpera/,u=Object.prototype,c=u.hasOwnProperty,d=u.toString;function p(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function h(e){return e=y(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:p(e)}function f(e,t){for(var n in e)c.call(e,n)&&t(e[n],n,e)}function m(e){return null==e?p(e):d.call(e).slice(8,-1)}function g(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function v(e,t){var n=null;return function(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=a)for(;++n<r;)t(e[n],n);else f(e,t)}(e,function(r,i){n=t(n,r,i,e)}),n}function y(e){return String(e).replace(/^ +| +$/g,"")}var b=function e(t){var n=o,r=t&&"object"==typeof t&&"String"!=m(t);r&&(n=t,t=null);var i=n.navigator||{},s=i.userAgent||"";t||(t=s);var a,u,c,p,b=r?!!i.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(d.toString()),_=r?"Object":"ScriptBridgingProxyObject",w=r?"Object":"Environment",S=r&&n.java?"JavaPackage":m(n.java),C=r?"Object":"RuntimeObject",x=/\bJava/.test(S)&&n.java,E=x&&m(n.environment)==w,k=x?"a":"\u03b1",O=x?"b":"\u03b2",T=n.document||{},I=n.operamini||n.opera,A=l.test(A=r&&I?I["[[Class]]"]:m(I))?A:I=null,P=t,M=[],R=null,j=t==s,N=j&&I&&"function"==typeof I.version&&I.version(),D=v([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"],function(e,n){return e||RegExp("\\b"+(n.pattern||g(n))+"\\b","i").exec(t)&&(n.label||n)}),L=v(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Waterfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"],function(e,n){return e||RegExp("\\b"+(n.pattern||g(n))+"\\b","i").exec(t)&&(n.label||n)}),z=U([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),V=v({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1}},function(e,n,r){return e||(n[z]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(z)]||RegExp("\\b"+g(r)+"(?:\\b|\\w*\\d)","i").exec(t))&&r}),F=v(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "],function(e,n){var r=n.pattern||g(n);return!e&&(e=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),h(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}(e,r,n.label||n)),e});function U(e){return v(e,function(e,n){var r=n.pattern||g(n);return!e&&(e=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+r+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=h(e[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e})}if(D&&(D=[D]),V&&!z&&(z=U([V])),(a=/\bGoogle TV\b/.exec(z))&&(z=a[0]),/\bSimulator\b/i.test(t)&&(z=(z?z+" ":"")+"Simulator"),"Opera Mini"==L&&/\bOPiOS\b/.test(t)&&M.push("running in Turbo/Uncompressed mode"),"IE"==L&&/\blike iPhone OS\b/.test(t)?(V=(a=e(t.replace(/like iPhone OS/,""))).manufacturer,z=a.product):/^iP/.test(z)?(L||(L="Safari"),F="iOS"+((a=/ OS ([\d_]+)/i.exec(t))?" "+a[1].replace(/_/g,"."):"")):"Konqueror"!=L||/buntu/i.test(F)?V&&"Google"!=V&&(/Chrome/.test(L)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(z))||/\bAndroid\b/.test(F)&&/^Chrome/.test(L)&&/\bVersion\//i.test(t)?(L="Android Browser",F=/\bAndroid\b/.test(F)?F:"Android"):"Silk"==L?(/\bMobi/i.test(t)||(F="Android",M.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&M.unshift("accelerated")):"PaleMoon"==L&&(a=/\bFirefox\/([\d.]+)\b/.exec(t))?M.push("identifying as Firefox "+a[1]):"Firefox"==L&&(a=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(F||(F="Firefox OS"),z||(z=a[1])):!L||(a=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(L))?(L&&!z&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(a+"/")+8))&&(L=null),(a=z||V||F)&&(z||V||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(F))&&(L=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(F)?F:a)+" Browser")):"Electron"==L&&(a=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&M.push("Chromium "+a):F="Kubuntu",N||(N=v(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",g(L),"(?:Firefox|Minefield|NetFront)"],function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null})),(a=("iCab"==D&&parseFloat(N)>3?"WebKit":/\bOpera\b/.test(L)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(D)&&"WebKit"||!D&&/\bMSIE\b/i.test(t)&&("Mac OS"==F?"Tasman":"Trident")||"WebKit"==D&&/\bPlayStation\b(?! Vita\b)/i.test(L)&&"NetFront")&&(D=[a]),"IE"==L&&(a=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(L+=" Mobile",F="Windows Phone "+(/\+$/.test(a)?a:a+".x"),M.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(L="IE Mobile",F="Windows Phone 8.x",M.unshift("desktop mode"),N||(N=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=L&&"Trident"==D&&(a=/\brv:([\d.]+)/.exec(t))&&(L&&M.push("identifying as "+L+(N?" "+N:"")),L="IE",N=a[1]),j){if(/^(?:boolean|number|string|undefined)$/.test(p=null!=(c=n)?typeof c.global:"number")||"object"==p&&!c.global)m(a=n.runtime)==_?(L="Adobe AIR",F=a.flash.system.Capabilities.os):m(a=n.phantom)==C?(L="PhantomJS",N=(a=a.version||null)&&a.major+"."+a.minor+"."+a.patch):"number"==typeof T.documentMode&&(a=/\bTrident\/(\d+)/i.exec(t))?((a=+a[1]+4)!=(N=[N,T.documentMode])[1]&&(M.push("IE "+N[1]+" mode"),D&&(D[1]=""),N[1]=a),N="IE"==L?String(N[1].toFixed(1)):N[0]):"number"==typeof T.documentMode&&/^(?:Chrome|Firefox)\b/.test(L)&&(M.push("masking as "+L+" "+N),L="IE",N="11.0",D=["Trident"],F="Windows");else if(x&&(P=(a=x.lang.System).getProperty("os.arch"),F=F||a.getProperty("os.name")+" "+a.getProperty("os.version")),E){try{N=n.require("ringo/engine").version.join("."),L="RingoJS"}catch(q){(a=n.system)&&a.global.system==n.system&&(L="Narwhal",F||(F=a[0].os||null))}L||(L="Rhino")}else"object"==typeof n.process&&!n.process.browser&&(a=n.process)&&("object"==typeof a.versions&&("string"==typeof a.versions.electron?(M.push("Node "+a.versions.node),L="Electron",N=a.versions.electron):"string"==typeof a.versions.nw&&(M.push("Chromium "+N,"Node "+a.versions.node),L="NW.js",N=a.versions.nw)),L||(L="Node.js",P=a.arch,F=a.platform,N=(N=/[\d.]+/.exec(a.version))?N[0]:null));F=F&&h(F)}if(N&&(a=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(N)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(j&&i.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(R=/b/i.test(a)?"beta":"alpha",N=N.replace(RegExp(a+"\\+?$"),"")+("beta"==R?O:k)+(/\d+\+?/.exec(a)||"")),"Fennec"==L||"Firefox"==L&&/\b(?:Android|Firefox OS)\b/.test(F))L="Firefox Mobile";else if("Maxthon"==L&&N)N=N.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(z))"Xbox 360"==z&&(F=null),"Xbox 360"==z&&/\bIEMobile\b/.test(t)&&M.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(L)&&(!L||z||/Browser|Mobi/.test(L))||"Windows CE"!=F&&!/Mobi/i.test(t))if("IE"==L&&j)try{null===n.external&&M.unshift("platform preview")}catch(q){M.unshift("embedded")}else(/\bBlackBerry\b/.test(z)||/\bBB10\b/.test(t))&&(a=(RegExp(z.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||N)?(F=((a=[a,/BB10/.test(t)])[1]?(z=null,V="BlackBerry"):"Device Software")+" "+a[0],N=null):this!=f&&"Wii"!=z&&(j&&I||/Opera/.test(L)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==L&&/\bOS X (?:\d+\.){2,}/.test(F)||"IE"==L&&(F&&!/^Win/.test(F)&&N>5.5||/\bWindows XP\b/.test(F)&&N>8||8==N&&!/\bTrident\b/.test(t)))&&!l.test(a=e.call(f,t.replace(l,"")+";"))&&a.name&&(a="ing as "+a.name+((a=a.version)?" "+a:""),l.test(L)?(/\bIE\b/.test(a)&&"Mac OS"==F&&(F=null),a="identify"+a):(a="mask"+a,L=A?h(A.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(a)&&(F=null),j||(N=null)),D=["Presto"],M.push(a));else L+=" Mobile";(a=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(a=[parseFloat(a.replace(/\.(\d)$/,".0$1")),a],"Safari"==L&&"+"==a[1].slice(-1)?(L="WebKit Nightly",R="alpha",N=a[1].slice(0,-1)):N!=a[1]&&N!=(a[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(N=null),a[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==a[0]&&537.36==a[2]&&parseFloat(a[1])>=28&&"WebKit"==D&&(D=["Blink"]),j&&(b||a[1])?(D&&(D[1]="like Chrome"),a=a[1]||((a=a[0])<530?1:a<532?2:a<532.05?3:a<533?4:a<534.03?5:a<534.07?6:a<534.1?7:a<534.13?8:a<534.16?9:a<534.24?10:a<534.3?11:a<535.01?12:a<535.02?"13+":a<535.07?15:a<535.11?16:a<535.19?17:a<536.05?18:a<536.1?19:a<537.01?20:a<537.11?"21+":a<537.13?23:a<537.18?24:a<537.24?25:a<537.36?26:"Blink"!=D?"27":"28")):(D&&(D[1]="like Safari"),a=(a=a[0])<400?1:a<500?2:a<526?3:a<533?4:a<534?"4+":a<535?5:a<537?6:a<538?7:a<601?8:"8"),D&&(D[1]+=" "+(a+="number"==typeof a?".x":/[.+]/.test(a)?"":"+")),"Safari"==L&&(!N||parseInt(N)>45)&&(N=a)),"Opera"==L&&(a=/\bzbov|zvav$/.exec(F))?(L+=" ",M.unshift("desktop mode"),"zvav"==a?(L+="Mini",N=null):L+="Mobile",F=F.replace(RegExp(" *"+a+"$"),"")):"Safari"==L&&/\bChrome\b/.exec(D&&D[1])&&(M.unshift("desktop mode"),L="Chrome Mobile",N=null,/\bOS X\b/.test(F)?(V="Apple",F="iOS 4.3+"):F=null),N&&0==N.indexOf(a=/[\d.]+$/.exec(F))&&t.indexOf("/"+a+"-")>-1&&(F=y(F.replace(a,""))),D&&!/\b(?:Avant|Nook)\b/.test(L)&&(/Browser|Lunascape|Maxthon/.test(L)||"Safari"!=L&&/^iOS/.test(F)&&/\bSafari\b/.test(D[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(L)&&D[1])&&(a=D[D.length-1])&&M.push(a),M.length&&(M=["("+M.join("; ")+")"]),V&&z&&z.indexOf(V)<0&&M.push("on "+V),z&&M.push((/^on /.test(M[M.length-1])?"":"on ")+z),F&&(a=/ ([\d.+]+)$/.exec(F),u=a&&"/"==F.charAt(F.length-a[0].length-1),F={architecture:32,family:a&&!u?F.replace(a[0],""):F,version:a?a[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(a=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(P))&&!/\bi686\b/i.test(P)?(F&&(F.architecture=64,F.family=F.family.replace(RegExp(" *"+a),"")),L&&(/\bWOW64\b/i.test(t)||j&&/\w(?:86|32)$/.test(i.cpuClass||i.platform)&&!/\bWin64; x64\b/i.test(t))&&M.unshift("32-bit")):F&&/^OS X/.test(F.family)&&"Chrome"==L&&parseFloat(N)>=39&&(F.architecture=64),t||(t=null);var B={};return B.description=t,B.layout=D&&D[0],B.manufacturer=V,B.name=L,B.prerelease=R,B.product=z,B.ua=t,B.version=L&&N,B.os=F||{architecture:null,family:null,version:null,toString:function(){return"null"}},B.parse=e,B.toString=function(){return this.description||""},B.version&&M.unshift(N),B.name&&M.unshift(L),F&&L&&(F!=String(F).split(" ")[0]||F!=L.split(" ")[0]&&!z)&&M.push(z?"("+F+")":"on "+F),M.length&&(B.description=M.join(" ")),B}();o.platform=b,void 0===(r=(function(){return b}).call(t,n,t,e))||(e.exports=r)}).call(this)}).call(this,n("YuTi")(e))},bGVd:function(e,t,n){e.exports=n("IXxz").default},bk74:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("P3vI");t.Subscriber=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.element=i.targetElement,i.stream=t,i.properties=r,i}return r(t,e),t.prototype.subscribeToAudio=function(e){return this.stream.getMediaStream().getAudioTracks().forEach(function(t){t.enabled=e}),console.info("'Subscriber' has "+(e?"subscribed to":"unsubscribed from")+" its audio stream"),this},t.prototype.subscribeToVideo=function(e){return this.stream.getMediaStream().getVideoTracks().forEach(function(t){t.enabled=e}),console.info("'Subscriber' has "+(e?"subscribed to":"unsubscribed from")+" its video stream"),this},t}(i.StreamManager)},cUzU:function(e,t,n){"use strict";global.WebSocket||global;var r=console,i=3e3;e.exports=function(e){var t,n,o=!1,s=e.uri,a=e.useSockJS,l=!1,u=!1;function c(e,t){try{r.debug("WebSocket connected to "+t)}catch(n){r.error(n)}}(n=a?new SockJS(s):new WebSocket(s)).onopen=function(){c(0,s),e.onconnected&&e.onconnected()},n.onerror=function(t){r.error("Could not connect to "+s+" (invoking onerror if defined)",t),e.onerror&&e.onerror(t)};var d=function(){3===n.readyState?o?r.debug("Connection closed by user"):(r.debug("Connection closed unexpectecly. Reconnecting..."),p(2e3,1)):r.debug("Close callback from previous websocket. Ignoring it")};function p(t,n){if(r.debug("reconnectToSameUri (attempt #"+n+", max="+t+")"),1===n){if(l)return void r.warn("Trying to reconnectToNewUri when reconnecting... Ignoring this reconnection.");l=!0,e.onreconnecting&&e.onreconnecting()}u?h(t,n,s):e.newWsUriOnReconnection?e.newWsUriOnReconnection(function(e,o){e?(r.debug(e),setTimeout(function(){p(t,n+1)},i)):h(t,n,o)}):h(t,n,s)}function h(o,u,h){var f;r.debug("Reconnection attempt #"+u),n.close(),s=h||s,(f=a?new SockJS(s):new WebSocket(s)).onopen=function(){r.debug("Reconnected after "+u+" attempts..."),c(0,s),l=!1,t(),e.onreconnected()&&e.onreconnected(),f.onclose=d},f.onerror=function(t){r.warn("Reconnection error: ",t),u===o?e.ondisconnect&&e.ondisconnect():setTimeout(function(){p(o,u+1)},i)},n=f}n.onclose=d,this.close=function(){o=!0,n.close()},this.forceClose=function(e){if(r.debug("Testing: Force WebSocket close"),e){r.debug("Testing: Change wsUri for "+e+" millis to simulate net failure");var t=s;s="wss://21.234.12.34.4:443/",u=!0,setTimeout(function(){r.debug("Testing: Recover good wsUri "+t),s=t,u=!1},e)}n.close()},this.reconnectWs=function(){r.debug("reconnectWs"),p(2e3,1)},this.send=function(e){n.send(e)},this.addEventListener=function(e,r){(t=function(){n.addEventListener(e,r)})()}}},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},dP7y:function(e,t,n){e.exports=n("LXjW")},"dY/r":function(e,t){var n=["stun:","turn:"];e.exports=function(e){var t,r,i=(e||{}).url||e,o={};return"string"==typeof i||i instanceof String?(i=i.trim(),(t=n[n.indexOf(i.slice(0,5))])?(r=(i=i.slice(5)).split("@"),o.username=e.username,o.credential=e.credential,r.length>1&&(i=r[1],r=r[0].split(":"),o.username=r[0],o.credential=(e||{}).credential||r[1]||""),o.url=t+i,o.urls=[o.url],o):e):e}},de4E:function(e,t){t.pack=function(e,t){var n={jsonrpc:"2.0"};if(e.method)n.method=e.method,e.params&&(n.params=e.params),null!=t&&(n.id=t);else if(null!=t){if(e.error){if(void 0!==e.result)throw new TypeError("Both result and error are defined");n.error=e.error}else{if(void 0===e.result)throw new TypeError("No result or error is defined");n.result=e.result}n.id=t}return JSON.stringify(n)},t.unpack=function(e){var t=e;("string"==typeof e||e instanceof String)&&(t=JSON.parse(e));var n=t.jsonrpc;if("2.0"!==n)throw new TypeError("Invalid JsonRPC version '"+n+"': "+e);if(null==t.method){if(null==t.id)throw new TypeError("Invalid message: "+e);var r=void 0!==t.result,i=void 0!==t.error;if(r&&i)throw new TypeError("Both result and error are defined: "+e);if(!r&&!i)throw new TypeError("No result or error is defined: "+e);t.ack=t.id,delete t.id}return t}},dlaP:function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n("RvMX"),i=n("JUw6"),o=(0,r.createTokenClass)();function s(e){var t=e?{v:e}:{};return(0,i.inherits)(o,(0,r.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var a=s(),l=s("@"),u=s(":"),c=s("."),d=s(),p=s(),h=s("\n"),f=s(),m=s("+"),g=s("#"),v=s(),y=s("mailto:"),b=s("?"),_=s("/"),w=s("_"),S=s(),C=s(),x=s(),E=s("{"),k=s("["),O=s("<"),T=s("("),I=s("}"),A=s("]"),P=s(">"),M=s(")"),R=s("&");t.Base=o,t.DOMAIN=a,t.AT=l,t.COLON=u,t.DOT=c,t.PUNCTUATION=d,t.LOCALHOST=p,t.NL=h,t.NUM=f,t.PLUS=m,t.POUND=g,t.QUERY=b,t.PROTOCOL=v,t.MAILTO=y,t.SLASH=_,t.UNDERSCORE=w,t.SYM=S,t.TLD=C,t.WS=x,t.OPENBRACE=E,t.OPENBRACKET=k,t.OPENANGLEBRACKET=O,t.OPENPAREN=T,t.CLOSEBRACE=I,t.CLOSEBRACKET=A,t.CLOSEANGLEBRACKET=P,t.CLOSEPAREN=M,t.AMPERSAND=R},e8ps:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.PublisherSpeakingEvent=function(e){function t(t,n,r,i){var o=e.call(this,!1,t,n)||this;return o.type=n,o.connection=r,o.streamId=i,o}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},ee8k:function(e,t,n){var r=n("cUzU");t.WebSocketWithReconnection=r},gUCu:function(e,t){function n(){var e={};this.forEach=function(t){for(var n in e){var r=e[n];for(var i in r)t(r[i])}},this.get=function(t,n){var r=e[n];if(null!=r)return r[t]},this.remove=function(t,n){var r=e[n];if(null!=r){for(var i in delete r[t],r)return!1;delete e[n]}},this.set=function(t,n,r){if(null==t)return this.remove(n,r);var i=e[r];null==i&&(e[r]=i={}),i[n]=t}}n.prototype.pop=function(e,t){var n=this.get(e,t);if(null!=n)return this.remove(e,t),n},e.exports=n},hw9W:function(e){e.exports=[]},hzOQ:function(e,t,n){"use strict";t.__esModule=!0,t.Event=function(){function e(e,t,n){this.hasBeenPrevented=!1,this.cancelable=e,this.target=t,this.type=n}return e.prototype.isDefaultPrevented=function(){return this.hasBeenPrevented},e.prototype.preventDefault=function(){this.callDefaultBehavior=function(){},this.hasBeenPrevented=!0},e}()},joaK:function(e,t,n){e.exports=n("TDwH").default},jrAl:function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},k3G7:function(e,t,n){var r,i,o=n("jrAl"),s=n("qa4Q"),a=0,l=0;e.exports=function(e,t,n){var u=t&&n||0,c=t||[],d=(e=e||{}).node||r,p=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==p){var h=o();null==d&&(d=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=i=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=f-a+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,l=m,i=p;var v=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;c[u++]=v>>>24&255,c[u++]=v>>>16&255,c[u++]=v>>>8&255,c[u++]=255&v;var y=f/4294967296*1e4&268435455;c[u++]=y>>>8&255,c[u++]=255&y,c[u++]=y>>>24&15|16,c[u++]=y>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(var b=0;b<6;++b)c[u+b]=d[b];return t||s(c)}},kiQV:function(e){e.exports={dependencies:{"@angular/animations":"8.0.3","@angular/cdk":"8.0.1","@angular/common":"8.0.3","@angular/compiler":"8.0.3","@angular/core":"8.0.3","@angular/elements":"8.0.3","@angular/flex-layout":"8.0.0-beta.26","@angular/forms":"8.0.3","@angular/http":"7.2.15","@angular/material":"8.0.1","@angular/platform-browser":"8.0.3","@angular/platform-browser-dynamic":"8.0.3","@angular/router":"8.0.3",concat:"1.0.3","core-js":"3.1.4","document-register-element":"1.13.2","elements-zone-strategy":"8.0.0","fs-extra":"8.1.0",hammerjs:"2.0.8",jquery:"3.4.1","ngx-linkifyjs":"1.3.0","openvidu-browser":"2.11.0",rxjs:"6.5.2","wolfy87-eventemitter":"5.2.6","zone.js":"0.9.1"},devDependencies:{"@angular-devkit/build-angular":"0.800.6","@angular-devkit/build-ng-packagr":"0.800.6","@angular/cli":"8.0.6","@angular/compiler-cli":"8.0.3","@angular/language-service":"8.0.3","@types/jasmine":"3.3.13","@types/jasminewd2":"2.0.6","@types/jquery":"3.3.30","@types/node":"12.0.10","@webcomponents/webcomponentsjs":"2.2.10",codelyzer:"5.1.0","jasmine-core":"3.4.0","jasmine-spec-reporter":"4.2.1",karma:"4.1.0","karma-chrome-launcher":"2.2.0","karma-coverage-istanbul-reporter":"2.0.5","karma-jasmine":"2.0.1","karma-jasmine-html-reporter":"1.4.2","ng-packagr":"5.3.0",protractor:"5.4.2","ts-node":"8.3.0",tsickle:"0.35.0",tslib:"1.10.0",tslint:"5.18.0",typedoc:"0.14.2",typescript:"3.4.5"},name:"openvidu-call",private:!0,scripts:{build:"./node_modules/@angular/cli/bin/ng build","build:openvidu-angular":"node openvidu-angular-build.js && ./node_modules/@angular/cli/bin/ng build openvidu-angular --prod","build:openvidu-webcomponent":"./node_modules/@angular/cli/bin/ng build --prod --output-hashing none && node openvidu-webcomponent-build.js",e2e:"ng e2e",lint:"ng lint",ng:"ng","pack:openvidu-angular":"cd dist/openvidu-angular && npm pack",start:"ng serve",test:"ng test"},version:"2.11.0"}},ksJj:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.SessionDisconnectedEvent=function(e){function t(t,n){var r=e.call(this,!0,t,"sessionDisconnected")||this;return r.reason=n,r}return r(t,e),t.prototype.callDefaultBehavior=function(){console.info("Calling default behavior upon '"+this.type+"' event dispatched by 'Session'");var e=this.target;for(var t in e.remoteConnections)e.remoteConnections[t].stream&&(e.remoteConnections[t].stream.disposeWebRtcPeer(),e.remoteConnections[t].stream.disposeMediaStream(),e.remoteConnections[t].stream.streamManager&&e.remoteConnections[t].stream.streamManager.removeAllVideos(),delete e.remoteStreamsCreated[e.remoteConnections[t].stream.streamId],e.remoteConnections[t].dispose()),delete e.remoteConnections[t]},t}(i.Event)},mgp7:function(e,t,n){e.exports=n("/u9M").default},oIG1:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.VideoElementEvent=function(e){function t(t,n,r){var i=e.call(this,!1,n,r)||this;return i.element=t,i}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},pLL0:function(e,t){t.pack=function(e){throw new TypeError("Not yet implemented")},t.unpack=function(e){throw new TypeError("Not yet implemented")}},qa4Q:function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0;return[n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],"-",n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]],n[e[r++]]].join("")}},rUL0:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.RecordingEvent=function(e){function t(t,n,r,i,o){var s=e.call(this,!1,t,n)||this;return s.id=r,i!==r&&(s.name=i),s.reason=o,s}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},ryRr:function(e,t,n){"use strict";t.__esModule=!0;var r=n("DPKQ");t.Connection=function(){function e(e,t){this.session=e,this.disposed=!1;var n="'Connection' created ";t?(n+="(remote) with 'connectionId' ["+t.id+"]",this.options=t,this.connectionId=t.id,this.creationTime=t.createdAt,t.metadata&&(this.data=t.metadata),t.streams&&this.initRemoteStreams(t.streams)):n+="(local)",console.info(n)}return e.prototype.sendIceCandidate=function(e){console.debug((this.stream.outboundStreamOpts?"Local":"Remote")+"candidate for"+this.connectionId,e),this.session.openvidu.sendRequest("onIceCandidate",{endpointName:this.connectionId,candidate:e.candidate,sdpMid:e.sdpMid,sdpMLineIndex:e.sdpMLineIndex},function(e,t){e&&console.error("Error sending ICE candidate: "+JSON.stringify(e))})},e.prototype.initRemoteStreams=function(e){var t=this;e.forEach(function(e){var n={id:e.id,createdAt:e.createdAt,connection:t,hasAudio:e.hasAudio,hasVideo:e.hasVideo,audioActive:e.audioActive,videoActive:e.videoActive,typeOfVideo:e.typeOfVideo,frameRate:e.frameRate,videoDimensions:e.videoDimensions?JSON.parse(e.videoDimensions):void 0,filter:e.filter?e.filter:void 0},i=new r.Stream(t.session,n);t.addStream(i)}),console.info("Remote 'Connection' with 'connectionId' ["+this.connectionId+"] is now configured for receiving Streams with options: ",this.stream.inboundStreamOpts)},e.prototype.addStream=function(e){e.connection=this,this.stream=e},e.prototype.removeStream=function(e){delete this.stream},e.prototype.dispose=function(){this.stream&&delete this.stream,this.disposed=!0},e}()},suHS:function(e,t,n){var r=n("S+k6").__extends;t.__esModule=!0;var i=n("hzOQ");t.SignalEvent=function(e){function t(t,n,r,i){var o=e.call(this,!1,t,n)||this;return o.type=n,o.data=r,o.from=i,o}return r(t,e),t.prototype.callDefaultBehavior=function(){},t}(i.Event)},"t/6/":function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n("FlKs"),i=n("dlaP"),o=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i),s="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),a="0123456789".split(""),l="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],c=[],d=function(e){return new r.CharacterState(e)},p=d(),h=d(i.NUM),f=d(i.DOMAIN),m=d(),g=d(i.WS);p.on("@",d(i.AT)).on(".",d(i.DOT)).on("+",d(i.PLUS)).on("#",d(i.POUND)).on("?",d(i.QUERY)).on("/",d(i.SLASH)).on("_",d(i.UNDERSCORE)).on(":",d(i.COLON)).on("{",d(i.OPENBRACE)).on("[",d(i.OPENBRACKET)).on("<",d(i.OPENANGLEBRACKET)).on("(",d(i.OPENPAREN)).on("}",d(i.CLOSEBRACE)).on("]",d(i.CLOSEBRACKET)).on(">",d(i.CLOSEANGLEBRACKET)).on(")",d(i.CLOSEPAREN)).on("&",d(i.AMPERSAND)).on([",",";","!",'"',"'"],d(i.PUNCTUATION)),p.on("\n",d(i.NL)).on(u,g),g.on(u,g);for(var v=0;v<s.length;v++){var y=(0,r.stateify)(s[v],p,i.TLD,i.DOMAIN);c.push.apply(c,y)}var b=(0,r.stateify)("file",p,i.DOMAIN,i.DOMAIN),_=(0,r.stateify)("ftp",p,i.DOMAIN,i.DOMAIN),w=(0,r.stateify)("http",p,i.DOMAIN,i.DOMAIN),S=(0,r.stateify)("mailto",p,i.DOMAIN,i.DOMAIN);c.push.apply(c,b),c.push.apply(c,_),c.push.apply(c,w),c.push.apply(c,S);var C=b.pop(),x=_.pop(),E=w.pop(),k=S.pop(),O=d(i.DOMAIN),T=d(i.PROTOCOL),I=d(i.MAILTO);x.on("s",O).on(":",T),E.on("s",O).on(":",T),c.push(O),C.on(":",T),O.on(":",T),k.on(":",I);var A=(0,r.stateify)("localhost",p,i.LOCALHOST,i.DOMAIN);c.push.apply(c,A),p.on(a,h),h.on("-",m).on(a,h).on(l,f),f.on("-",m).on(l,f);for(var P=0;P<c.length;P++)c[P].on("-",m).on(l,f);m.on("-",m).on(a,f).on(l,f),p.defaultTransition=d(i.SYM);var M=p;t.State=r.CharacterState,t.TOKENS=o,t.run=function(e){for(var t=e.replace(/[A-Z]/g,function(e){return e.toLowerCase()}),n=e.length,r=[],i=0;i<n;){for(var o=p,s=null,a=0,l=null,u=-1;i<n&&(s=o.next(t[i]));)(o=s).accepts()?(u=0,l=o):u>=0&&u++,a++,i++;if(!(u<0)){i-=u,a-=u;var c=l.emit();r.push(new c(e.substr(i-a,a)))}}return r},t.start=M},tInm:function(e,t,n){"use strict";t.__esModule=!0;var r=n("Yn0Z"),i=n("bDgZ");t.LocalRecorder=function(){function e(e){this.stream=e,this.chunks=[],this.connectionId=this.stream.connection?this.stream.connection.connectionId:"default-connection",this.id=this.stream.streamId+"_"+this.connectionId+"_localrecord",this.state=r.LocalRecorderState.READY}return e.prototype.record=function(){var e=this;return new Promise(function(t,n){try{if("undefined"==typeof MediaRecorder)throw console.error("MediaRecorder not supported on your browser. See compatibility in https://caniuse.com/#search=MediaRecorder"),Error("MediaRecorder not supported on your browser. See compatibility in https://caniuse.com/#search=MediaRecorder");if(e.state!==r.LocalRecorderState.READY)throw Error("'LocalRecord.record()' needs 'LocalRecord.state' to be 'READY' (current value: '"+e.state+"'). Call 'LocalRecorder.clean()' or init a new LocalRecorder before");if(console.log("Starting local recording of stream '"+e.stream.streamId+"' of connection '"+e.connectionId+"'"),"function"==typeof MediaRecorder.isTypeSupported){var i=void 0;MediaRecorder.isTypeSupported("video/webm;codecs=vp9")?i={mimeType:"video/webm;codecs=vp9"}:MediaRecorder.isTypeSupported("video/webm;codecs=h264")?i={mimeType:"video/webm;codecs=h264"}:MediaRecorder.isTypeSupported("video/webm;codecs=vp8")&&(i={mimeType:"video/webm;codecs=vp8"}),console.log("Using mimeType "+i.mimeType),e.mediaRecorder=new MediaRecorder(e.stream.getMediaStream(),i)}else console.warn("isTypeSupported is not supported, using default codecs for browser"),e.mediaRecorder=new MediaRecorder(e.stream.getMediaStream());e.mediaRecorder.start(10)}catch(o){n(o)}e.mediaRecorder.ondataavailable=function(t){e.chunks.push(t.data)},e.mediaRecorder.onerror=function(e){console.error("MediaRecorder error: ",e)},e.mediaRecorder.onstart=function(){console.log("MediaRecorder started (state="+e.mediaRecorder.state+")")},e.mediaRecorder.onstop=function(){e.onStopDefault()},e.mediaRecorder.onpause=function(){console.log("MediaRecorder paused (state="+e.mediaRecorder.state+")")},e.mediaRecorder.onresume=function(){console.log("MediaRecorder resumed (state="+e.mediaRecorder.state+")")},e.mediaRecorder.onwarning=function(e){console.log("MediaRecorder warning: "+e)},e.state=r.LocalRecorderState.RECORDING,t()})},e.prototype.stop=function(){var e=this;return new Promise(function(t,n){try{if(e.state===r.LocalRecorderState.READY||e.state===r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.stop()' needs 'LocalRecord.state' to be 'RECORDING' or 'PAUSED' (current value: '"+e.state+"'). Call 'LocalRecorder.start()' before");e.mediaRecorder.onstop=function(){e.onStopDefault(),t()},e.mediaRecorder.stop()}catch(i){n(i)}})},e.prototype.pause=function(){var e=this;return new Promise(function(t,n){try{e.state!==r.LocalRecorderState.RECORDING&&n(Error("'LocalRecord.pause()' needs 'LocalRecord.state' to be 'RECORDING' (current value: '"+e.state+"'). Call 'LocalRecorder.start()' or 'LocalRecorder.resume()' before")),e.mediaRecorder.pause(),e.state=r.LocalRecorderState.PAUSED}catch(i){n(i)}})},e.prototype.resume=function(){var e=this;return new Promise(function(t,n){try{if(e.state!==r.LocalRecorderState.PAUSED)throw Error("'LocalRecord.resume()' needs 'LocalRecord.state' to be 'PAUSED' (current value: '"+e.state+"'). Call 'LocalRecorder.pause()' before");e.mediaRecorder.resume(),e.state=r.LocalRecorderState.RECORDING}catch(i){n(i)}})},e.prototype.preview=function(e){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.preview()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+this.state+"'). Call 'LocalRecorder.stop()' before");if(this.videoPreview=document.createElement("video"),this.videoPreview.id=this.id,this.videoPreview.autoplay=!0,"Safari"===i.name&&this.videoPreview.setAttribute("playsinline","true"),"string"==typeof e){var t=document.getElementById(e);t&&(this.videoPreview=t.appendChild(this.videoPreview))}else this.videoPreview=e.appendChild(this.videoPreview);return this.videoPreview.src=this.videoPreviewSrc,this.videoPreview},e.prototype.clean=function(){var e=this,t=function(){delete e.blob,e.chunks=[],delete e.mediaRecorder,e.state=r.LocalRecorderState.READY};this.state===r.LocalRecorderState.RECORDING||this.state===r.LocalRecorderState.PAUSED?this.stop().then(function(){return t()}).catch(function(){return t()}):t()},e.prototype.download=function(){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("'LocalRecord.download()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+this.state+"'). Call 'LocalRecorder.stop()' before");var e=document.createElement("a");e.style.display="none",document.body.appendChild(e);var t=window.URL.createObjectURL(this.blob);e.href=t,e.download=this.id+".webm",e.click(),window.URL.revokeObjectURL(t),document.body.removeChild(e)},e.prototype.getBlob=function(){if(this.state!==r.LocalRecorderState.FINISHED)throw Error("Call 'LocalRecord.stop()' before getting Blob file");return this.blob},e.prototype.uploadAsBinary=function(e,t){var n=this;return new Promise(function(i,o){if(n.state!==r.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsBinary()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var s=new XMLHttpRequest;if(s.open("POST",e,!0),"object"==typeof t)for(var a=0,l=Object.keys(t);a<l.length;a++){var u=l[a];s.setRequestHeader(u,t[u])}s.onreadystatechange=function(){4===s.readyState&&("2"===s.status.toString().charAt(0)?i(s.responseText):o(s.status))},s.send(n.blob)}})},e.prototype.uploadAsMultipartfile=function(e,t){var n=this;return new Promise(function(i,o){if(n.state!==r.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsMultipartfile()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var s=new XMLHttpRequest;if(s.open("POST",e,!0),"object"==typeof t)for(var a=0,l=Object.keys(t);a<l.length;a++){var u=l[a];s.setRequestHeader(u,t[u])}var c=new FormData;c.append("file",n.blob,n.id+".webm"),s.onreadystatechange=function(){4===s.readyState&&("2"===s.status.toString().charAt(0)?i(s.responseText):o(s.status))},s.send(c)}})},e.prototype.onStopDefault=function(){console.log("MediaRecorder stopped (state="+this.mediaRecorder.state+")"),this.blob=new Blob(this.chunks,{type:"video/webm"}),this.chunks=[],this.videoPreviewSrc=window.URL.createObjectURL(this.blob),this.state=r.LocalRecorderState.FINISHED},e}()},tMSY:function(e,t){function n(){}e.exports=n,n.mixin=function(e){var t=e.prototype||e;t.isWildEmitter=!0,t.on=function(e,t,n){this.callbacks=this.callbacks||{};var r=3===arguments.length,i=r?arguments[2]:arguments[1];return i._groupName=r?arguments[1]:void 0,(this.callbacks[e]=this.callbacks[e]||[]).push(i),this},t.once=function(e,t,n){var r=this,i=3===arguments.length,o=i?arguments[2]:arguments[1];return this.on(e,i?arguments[1]:void 0,function t(){r.off(e,t),o.apply(this,arguments)}),this},t.releaseGroup=function(e){var t,n,r,i;for(t in this.callbacks=this.callbacks||{},this.callbacks)for(n=0,r=(i=this.callbacks[t]).length;n<r;n++)i[n]._groupName===e&&(i.splice(n,1),n--,r--);return this},t.off=function(e,t){this.callbacks=this.callbacks||{};var n,r=this.callbacks[e];return r?1===arguments.length?(delete this.callbacks[e],this):(-1!==(n=r.indexOf(t))&&(r.splice(n,1),0===r.length&&delete this.callbacks[e]),this):this},t.emit=function(e){this.callbacks=this.callbacks||{};var t,n,r,i=[].slice.call(arguments,1),o=this.callbacks[e],s=this.getWildcardCallbacks(e);if(o)for(t=0,n=(r=o.slice()).length;t<n&&r[t];++t)r[t].apply(this,i);if(s)for(n=s.length,t=0,n=(r=s.slice()).length;t<n&&r[t];++t)r[t].apply(this,[e].concat(i));return this},t.getWildcardCallbacks=function(e){this.callbacks=this.callbacks||{};var t,n,r=[];for(t in this.callbacks)n=t.split("*"),("*"===t||2===n.length&&e.slice(0,n[0].length)===n[0])&&(r=r.concat(this.callbacks[t]));return r}},n.mixin(n)},ttXH:function(e,t,n){var r,i=n("tMSY");"undefined"!=typeof window&&(r=window.AudioContext||window.webkitAudioContext);var o=null;e.exports=function(e,t){var n=new i;if(!r)return n;var s,a,l,u=(t=t||{}).smoothing||.1,c=t.interval||50,d=t.threshold,p=t.play,h=t.history||10,f=!0;o=t.audioContext||o||new r,(l=o.createAnalyser()).fftSize=512,l.smoothingTimeConstant=u,a=new Float32Array(l.frequencyBinCount),e.jquery&&(e=e[0]),e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?(s=o.createMediaElementSource(e),void 0===p&&(p=!0),d=d||-50):(s=o.createMediaStreamSource(e),d=d||-50),s.connect(l),p&&l.connect(o.destination),n.speaking=!1,n.suspend=function(){return o.suspend()},n.resume=function(){return o.resume()},Object.defineProperty(n,"state",{get:function(){return o.state}}),o.onstatechange=function(){n.emit("state_change",o.state)},n.setThreshold=function(e){d=e},n.setInterval=function(e){c=e},n.stop=function(){f=!1,n.emit("volume_change",-100,d),n.speaking&&(n.speaking=!1,n.emit("stopped_speaking")),l.disconnect(),s.disconnect()},n.speakingHistory=[];for(var m=0;m<h;m++)n.speakingHistory.push(0);var g=function(){setTimeout(function(){if(f){var e=function(e,t){var n=-1/0;e.getFloatFrequencyData(t);for(var r=4,i=t.length;r<i;r++)t[r]>n&&t[r]<0&&(n=t[r]);return n}(l,a);n.emit("volume_change",e,d);var t=0;if(e>d&&!n.speaking){for(var r=n.speakingHistory.length-3;r<n.speakingHistory.length;r++)t+=n.speakingHistory[r];t>=2&&(n.speaking=!0,n.emit("speaking"))}else if(e<d&&n.speaking){for(r=0;r<n.speakingHistory.length;r++)t+=n.speakingHistory[r];0==t&&(n.speaking=!1,n.emit("stopped_speaking"))}n.speakingHistory.shift(),n.speakingHistory.push(0+(e>d)),g()}},c)};return g(),n}},"txJ/":function(e,t){var n=Object.create||function(e){var t=function(){};return t.prototype=e,new t},r=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},i=Function.prototype.bind||function(e){var t=this;return function(){return t.apply(e,arguments)}};function o(){this._events&&Object.prototype.hasOwnProperty.call(this,"_events")||(this._events=n(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0}e.exports=o,o.EventEmitter=o,o.prototype._events=void 0,o.prototype._maxListeners=void 0;var s,a=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),s=0===l.x}catch(g){s=!1}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,r,i){var o,s,a;if("function"!=typeof r)throw new TypeError('"listener" argument must be a function');if((s=e._events)?(s.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),s=e._events),a=s[t]):(s=e._events=n(null),e._eventsCount=0),a){if("function"==typeof a?a=s[t]=i?[r,a]:[a,r]:i?a.unshift(r):a.push(r),!a.warned&&(o=u(e))&&o>0&&a.length>o){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else a=s[t]=r,++e._eventsCount;return e}function d(){if(!this.fired)switch(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length){case 0:return this.listener.call(this.target);case 1:return this.listener.call(this.target,arguments[0]);case 2:return this.listener.call(this.target,arguments[0],arguments[1]);case 3:return this.listener.call(this.target,arguments[0],arguments[1],arguments[2]);default:for(var e=new Array(arguments.length),t=0;t<e.length;++t)e[t]=arguments[t];this.listener.apply(this.target,e)}}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=i.call(d,r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(!r)return[];var i=r[t];return i?"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):m(i,i.length):[]}function f(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function m(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}s?Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');a=e}}):o.defaultMaxListeners=a,o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return u(this)},o.prototype.emit=function(e){var t,n,r,i,o,s,a="error"===e;if(s=this._events)a=a&&null==s.error;else if(!a)return!1;if(a){if(arguments.length>1&&(t=arguments[1]),t instanceof Error)throw t;var l=new Error('Unhandled "error" event. ('+t+")");throw l.context=t,l}if(!(n=s[e]))return!1;var u="function"==typeof n;switch(r=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var r=e.length,i=m(e,r),o=0;o<r;++o)i[o].call(n)}(n,u,this);break;case 2:!function(e,t,n,r){if(t)e.call(n,r);else for(var i=e.length,o=m(e,i),s=0;s<i;++s)o[s].call(n,r)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,r,i){if(t)e.call(n,r,i);else for(var o=e.length,s=m(e,o),a=0;a<o;++a)s[a].call(n,r,i)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,r,i,o){if(t)e.call(n,r,i,o);else for(var s=e.length,a=m(e,s),l=0;l<s;++l)a[l].call(n,r,i,o)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(i=new Array(r-1),o=1;o<r;o++)i[o-1]=arguments[o];!function(e,t,n,r){if(t)e.apply(n,r);else for(var i=e.length,o=m(e,i),s=0;s<i;++s)o[s].apply(n,r)}(n,u,this,i)}return!0},o.prototype.on=o.prototype.addListener=function(e,t){return c(this,e,t,!1)},o.prototype.prependListener=function(e,t){return c(this,e,t,!0)},o.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.on(e,p(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');return this.prependListener(e,p(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,i,o,s,a;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(i=this._events))return this;if(!(r=i[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=n(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,s=r.length-1;s>=0;s--)if(r[s]===t||r[s].listener===t){a=r[s].listener,o=s;break}if(o<0)return this;0===o?r.shift():function(e,t){for(var n=o,r=n+1,i=e.length;r<i;n+=1,r+=1)e[n]=e[r];e.pop()}(r),1===r.length&&(i[e]=r[0]),i.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.removeAllListeners=function(e){var t,i,o;if(!(i=this._events))return this;if(!i.removeListener)return 0===arguments.length?(this._events=n(null),this._eventsCount=0):i[e]&&(0==--this._eventsCount?this._events=n(null):delete i[e]),this;if(0===arguments.length){var s,a=r(i);for(o=0;o<a.length;++o)"removeListener"!==(s=a[o])&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=n(null),this._eventsCount=0,this}if("function"==typeof(t=i[e]))this.removeListener(e,t);else if(t)for(o=t.length-1;o>=0;o--)this.removeListener(e,t[o]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}},vqFl:function(e){e.exports={_from:"openvidu-browser@2.11.0",_id:"openvidu-browser@2.11.0",_inBundle:!1,_integrity:"sha512-dXnzHA9gf0Fhl88YijmPbFT/d7ERUHOMrqGObVeDc5NvG/7y2HCFafb/42O/mZ86IkBZnmqSrl6Q63aNlUZ2iA==",_location:"/openvidu-browser",_phantomChildren:{},_requested:{type:"version",registry:!0,raw:"openvidu-browser@2.11.0",name:"openvidu-browser",escapedName:"openvidu-browser",rawSpec:"2.11.0",saveSpec:null,fetchSpec:"2.11.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/openvidu-browser/-/openvidu-browser-2.11.0.tgz",_shasum:"769090a65cd6c14637848de353f0196b963383ef",_shrinkwrap:{name:"openvidu-browser",version:"2.11.0",lockfileVersion:1,requires:!0,dependencies:{"@babel/code-frame":{version:"7.5.5",resolved:"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",integrity:"sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",dev:!0,requires:{"@babel/highlight":"^7.0.0"}},"@babel/highlight":{version:"7.5.0",resolved:"https://registry.npmjs.org/@babel/highlight/-/highlight-7.5.0.tgz",integrity:"sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChKy1TRQ==",dev:!0,requires:{chalk:"^2.0.0",esutils:"^2.0.2","js-tokens":"^4.0.0"}},"@types/minimatch":{version:"3.0.3",resolved:"https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",integrity:"sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==",dev:!0},"@types/node":{version:"12.6.8",resolved:"https://registry.npmjs.org/@types/node/-/node-12.6.8.tgz",integrity:"sha512-aX+gFgA5GHcDi89KG5keey2zf0WfZk/HAQotEamsK2kbey+8yGKcson0hbK8E+v0NArlCJQCqMP161YhV6ZXLg=="},"@types/platform":{version:"1.3.2",resolved:"https://registry.npmjs.org/@types/platform/-/platform-1.3.2.tgz",integrity:"sha512-Tn6OuJDAG7bJbyi4R7HqcxXp1w2lmIxVXqyNhPt1Bm0FO2EWIi3CI87JVzF7ncqK0ZMPuUycS3wTMIk85EeF1Q=="},JSONStream:{version:"1.3.5",resolved:"https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz",integrity:"sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==",dev:!0,requires:{jsonparse:"^1.2.0",through:">=2.2.7 <3"}},abbrev:{version:"1.1.1",resolved:"https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",integrity:"sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",dev:!0},acorn:{version:"6.2.1",resolved:"https://registry.npmjs.org/acorn/-/acorn-6.2.1.tgz",integrity:"sha512-JD0xT5FCRDNyjDda3Lrg/IxFscp9q4tiYtxE1/nOzlKCk7hIRuYjhq1kCNkbPjMRMZuFq20HNQn1I9k8Oj0E+Q==",dev:!0},"acorn-dynamic-import":{version:"4.0.0",resolved:"https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz",integrity:"sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==",dev:!0},"acorn-node":{version:"1.7.0",resolved:"https://registry.npmjs.org/acorn-node/-/acorn-node-1.7.0.tgz",integrity:"sha512-XhahLSsCB6X6CJbe+uNu3Mn9sJBNFxtBN9NLgAOQovfS6Kh0lDUtmlclhjn9CvEK7A7YyRU13PXlNcpSiLI9Yw==",dev:!0,requires:{acorn:"^6.1.1","acorn-dynamic-import":"^4.0.0","acorn-walk":"^6.1.1",xtend:"^4.0.1"}},"acorn-walk":{version:"6.2.0",resolved:"https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz",integrity:"sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==",dev:!0},amdefine:{version:"1.0.1",resolved:"https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",integrity:"sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",dev:!0},"ansi-regex":{version:"1.1.1",resolved:"https://registry.npmjs.org/ansi-regex/-/ansi-regex-1.1.1.tgz",integrity:"sha1-QchHGUZGN15qGl0Qw8oFTvn8mA0=",dev:!0},"ansi-styles":{version:"3.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",integrity:"sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",dev:!0,requires:{"color-convert":"^1.9.0"}},"any-promise":{version:"1.3.0",resolved:"https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",integrity:"sha1-q8av7tzqUugJzcA3au0845Y10X8=",dev:!0},anymatch:{version:"2.0.0",resolved:"https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz",integrity:"sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==",dev:!0,requires:{micromatch:"^3.1.4","normalize-path":"^2.1.1"},dependencies:{"normalize-path":{version:"2.1.1",resolved:"https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",integrity:"sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",dev:!0,requires:{"remove-trailing-separator":"^1.0.1"}}}},argparse:{version:"1.0.10",resolved:"https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",integrity:"sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",dev:!0,requires:{"sprintf-js":"~1.0.2"},dependencies:{"sprintf-js":{version:"1.0.3",resolved:"https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",integrity:"sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",dev:!0}}},"arr-diff":{version:"4.0.0",resolved:"https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz",integrity:"sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=",dev:!0},"arr-flatten":{version:"1.1.0",resolved:"https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",integrity:"sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",dev:!0},"arr-union":{version:"3.1.0",resolved:"https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz",integrity:"sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=",dev:!0},"array-each":{version:"1.0.1",resolved:"https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz",integrity:"sha1-p5SvDAWrF1KEbudTofIRoFugxE8=",dev:!0},"array-filter":{version:"0.0.1",resolved:"https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz",integrity:"sha1-fajPLiZijtcygDWB/SH2fKzS7uw=",dev:!0},"array-find-index":{version:"1.0.2",resolved:"https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",integrity:"sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",dev:!0},"array-map":{version:"0.0.0",resolved:"https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz",integrity:"sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=",dev:!0},"array-reduce":{version:"0.0.0",resolved:"https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz",integrity:"sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=",dev:!0},"array-slice":{version:"1.1.0",resolved:"https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz",integrity:"sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==",dev:!0},"array-unique":{version:"0.3.2",resolved:"https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz",integrity:"sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=",dev:!0},"asn1.js":{version:"4.10.1",resolved:"https://registry.npmjs.org/asn1.js/-/asn1.js-4.10.1.tgz",integrity:"sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==",dev:!0,requires:{"bn.js":"^4.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0"}},assert:{version:"1.5.0",resolved:"https://registry.npmjs.org/assert/-/assert-1.5.0.tgz",integrity:"sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==",dev:!0,requires:{"object-assign":"^4.1.1",util:"0.10.3"},dependencies:{inherits:{version:"2.0.1",resolved:"https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",integrity:"sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=",dev:!0},util:{version:"0.10.3",resolved:"https://registry.npmjs.org/util/-/util-0.10.3.tgz",integrity:"sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",dev:!0,requires:{inherits:"2.0.1"}}}},"assign-symbols":{version:"1.0.0",resolved:"https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz",integrity:"sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=",dev:!0},async:{version:"1.5.2",resolved:"https://registry.npmjs.org/async/-/async-1.5.2.tgz",integrity:"sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=",dev:!0},"async-each":{version:"1.0.3",resolved:"https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",integrity:"sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==",dev:!0},atob:{version:"2.1.2",resolved:"https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",integrity:"sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==",dev:!0},"autoprefixer-core":{version:"5.2.1",resolved:"https://registry.npmjs.org/autoprefixer-core/-/autoprefixer-core-5.2.1.tgz",integrity:"sha1-5kDEFK5Bmq4hwa1DyOoPPbgqVm0=",dev:!0,requires:{browserslist:"~0.4.0","caniuse-db":"^1.0.30000214",num2fraction:"^1.1.0",postcss:"~4.1.12"}},backbone:{version:"1.4.0",resolved:"https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz",integrity:"sha512-RLmDrRXkVdouTg38jcgHhyQ/2zjg7a8E6sz2zxfz21Hh17xDJYUHBZimVIt5fUyS8vbfpeSmTL3gUjTEvUV3qQ==",dev:!0,requires:{underscore:">=1.8.3"}},"balanced-match":{version:"1.0.0",resolved:"https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",integrity:"sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",dev:!0},base:{version:"0.11.2",resolved:"https://registry.npmjs.org/base/-/base-0.11.2.tgz",integrity:"sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==",dev:!0,requires:{"cache-base":"^1.0.1","class-utils":"^0.3.5","component-emitter":"^1.2.1","define-property":"^1.0.0",isobject:"^3.0.1","mixin-deep":"^1.2.0",pascalcase:"^0.1.1"},dependencies:{"define-property":{version:"1.0.0",resolved:"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",integrity:"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",dev:!0,requires:{"is-descriptor":"^1.0.0"}},"is-accessor-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",integrity:"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-data-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",integrity:"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-descriptor":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",integrity:"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",dev:!0,requires:{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"base64-js":{version:"1.3.0",resolved:"https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz",integrity:"sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==",dev:!0},"binary-extensions":{version:"1.13.1",resolved:"https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz",integrity:"sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==",dev:!0},"bn.js":{version:"4.11.8",resolved:"https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz",integrity:"sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==",dev:!0},body:{version:"5.1.0",resolved:"https://registry.npmjs.org/body/-/body-5.1.0.tgz",integrity:"sha1-5LoM5BCkaTYyM2dgnstOZVMSUGk=",dev:!0,requires:{"continuable-cache":"^0.3.1",error:"^7.0.0","raw-body":"~1.1.0","safe-json-parse":"~1.0.1"}},"brace-expansion":{version:"1.1.11",resolved:"https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",integrity:"sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",dev:!0,requires:{"balanced-match":"^1.0.0","concat-map":"0.0.1"}},braces:{version:"2.3.2",resolved:"https://registry.npmjs.org/braces/-/braces-2.3.2.tgz",integrity:"sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==",dev:!0,requires:{"arr-flatten":"^1.1.0","array-unique":"^0.3.2","extend-shallow":"^2.0.1","fill-range":"^4.0.0",isobject:"^3.0.1","repeat-element":"^1.1.2",snapdragon:"^0.8.1","snapdragon-node":"^2.0.1","split-string":"^3.0.2","to-regex":"^3.0.1"},dependencies:{"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}}}},brorand:{version:"1.1.0",resolved:"https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz",integrity:"sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=",dev:!0},"browser-pack":{version:"6.1.0",resolved:"https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz",integrity:"sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==",dev:!0,requires:{JSONStream:"^1.0.3","combine-source-map":"~0.8.0",defined:"^1.0.0","safe-buffer":"^5.1.1",through2:"^2.0.0",umd:"^3.0.0"}},"browser-resolve":{version:"1.11.3",resolved:"https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",integrity:"sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==",dev:!0,requires:{resolve:"1.1.7"},dependencies:{resolve:{version:"1.1.7",resolved:"https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",integrity:"sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",dev:!0}}},browserify:{version:"16.3.0",resolved:"https://registry.npmjs.org/browserify/-/browserify-16.3.0.tgz",integrity:"sha512-BWaaD7alyGZVEBBwSTYx4iJF5DswIGzK17o8ai9w4iKRbYpk3EOiprRHMRRA8DCZFmFeOdx7A385w2XdFvxWmg==",dev:!0,requires:{JSONStream:"^1.0.3",assert:"^1.4.0","browser-pack":"^6.0.1","browser-resolve":"^1.11.0","browserify-zlib":"~0.2.0",buffer:"^5.0.2","cached-path-relative":"^1.0.0","concat-stream":"^1.6.0","console-browserify":"^1.1.0","constants-browserify":"~1.0.0","crypto-browserify":"^3.0.0",defined:"^1.0.0","deps-sort":"^2.0.0","domain-browser":"^1.2.0",duplexer2:"~0.1.2",events:"^2.0.0",glob:"^7.1.0",has:"^1.0.0",htmlescape:"^1.1.0","https-browserify":"^1.0.0",inherits:"~2.0.1","insert-module-globals":"^7.0.0","labeled-stream-splicer":"^2.0.0",mkdirp:"^0.5.0","module-deps":"^6.0.0","os-browserify":"~0.3.0",parents:"^1.0.1","path-browserify":"~0.0.0",process:"~0.11.0",punycode:"^1.3.2","querystring-es3":"~0.2.0","read-only-stream":"^2.0.0","readable-stream":"^2.0.2",resolve:"^1.1.4",shasum:"^1.0.0","shell-quote":"^1.6.1","stream-browserify":"^2.0.0","stream-http":"^2.0.0",string_decoder:"^1.1.1",subarg:"^1.0.0","syntax-error":"^1.1.1",through2:"^2.0.0","timers-browserify":"^1.0.1","tty-browserify":"0.0.1",url:"~0.11.0",util:"~0.10.1","vm-browserify":"^1.0.0",xtend:"^4.0.0"}},"browserify-aes":{version:"1.2.0",resolved:"https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",integrity:"sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",dev:!0,requires:{"buffer-xor":"^1.0.3","cipher-base":"^1.0.0","create-hash":"^1.1.0",evp_bytestokey:"^1.0.3",inherits:"^2.0.1","safe-buffer":"^5.0.1"}},"browserify-cipher":{version:"1.0.1",resolved:"https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz",integrity:"sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==",dev:!0,requires:{"browserify-aes":"^1.0.4","browserify-des":"^1.0.0",evp_bytestokey:"^1.0.0"}},"browserify-des":{version:"1.0.2",resolved:"https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz",integrity:"sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==",dev:!0,requires:{"cipher-base":"^1.0.1","des.js":"^1.0.0",inherits:"^2.0.1","safe-buffer":"^5.1.2"}},"browserify-rsa":{version:"4.0.1",resolved:"https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.0.1.tgz",integrity:"sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=",dev:!0,requires:{"bn.js":"^4.1.0",randombytes:"^2.0.1"}},"browserify-sign":{version:"4.0.4",resolved:"https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.0.4.tgz",integrity:"sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=",dev:!0,requires:{"bn.js":"^4.1.1","browserify-rsa":"^4.0.0","create-hash":"^1.1.0","create-hmac":"^1.1.2",elliptic:"^6.0.0",inherits:"^2.0.1","parse-asn1":"^5.0.0"}},"browserify-zlib":{version:"0.2.0",resolved:"https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz",integrity:"sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==",dev:!0,requires:{pako:"~1.0.5"}},browserslist:{version:"0.4.0",resolved:"https://registry.npmjs.org/browserslist/-/browserslist-0.4.0.tgz",integrity:"sha1-O9SrkZncG5FQ1NbbpNnTqrvIbdQ=",dev:!0,requires:{"caniuse-db":"^1.0.30000153"}},buffer:{version:"5.2.1",resolved:"https://registry.npmjs.org/buffer/-/buffer-5.2.1.tgz",integrity:"sha512-c+Ko0loDaFfuPWiL02ls9Xd3GO3cPVmUobQ6t3rXNUk304u6hGq+8N/kFi+QEIKhzK3uwolVhLzszmfLmMLnqg==",dev:!0,requires:{"base64-js":"^1.0.2",ieee754:"^1.1.4"}},"buffer-from":{version:"1.1.1",resolved:"https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",integrity:"sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",dev:!0},"buffer-xor":{version:"1.0.3",resolved:"https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz",integrity:"sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=",dev:!0},"builtin-modules":{version:"1.1.1",resolved:"https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",integrity:"sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",dev:!0},"builtin-status-codes":{version:"3.0.0",resolved:"https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz",integrity:"sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=",dev:!0},bytes:{version:"1.0.0",resolved:"https://registry.npmjs.org/bytes/-/bytes-1.0.0.tgz",integrity:"sha1-NWnt6Lo0MV+rmcPpLLBMciDeH6g=",dev:!0},"cache-base":{version:"1.0.1",resolved:"https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz",integrity:"sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==",dev:!0,requires:{"collection-visit":"^1.0.0","component-emitter":"^1.2.1","get-value":"^2.0.6","has-value":"^1.0.0",isobject:"^3.0.1","set-value":"^2.0.0","to-object-path":"^0.3.0","union-value":"^1.0.0","unset-value":"^1.0.0"}},"cached-path-relative":{version:"1.0.2",resolved:"https://registry.npmjs.org/cached-path-relative/-/cached-path-relative-1.0.2.tgz",integrity:"sha512-5r2GqsoEb4qMTTN9J+WzXfjov+hjxT+j3u5K+kIVNIwAd99DLCJE9pBIMP1qVeybV6JiijL385Oz0DcYxfbOIg==",dev:!0},camelcase:{version:"2.1.1",resolved:"https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",integrity:"sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",dev:!0},"camelcase-keys":{version:"2.1.0",resolved:"https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",integrity:"sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",dev:!0,requires:{camelcase:"^2.0.0","map-obj":"^1.0.0"}},"caniuse-db":{version:"1.0.30000986",resolved:"https://registry.npmjs.org/caniuse-db/-/caniuse-db-1.0.30000986.tgz",integrity:"sha512-8SKJ12AFwG0ReMjPwRH+keFsX/ucw2bi6LC7upeXBvxjgrMqHaTxgYhkRGm+eOwUWvVcqXDgqM7QNlRJMhvXZg==",dev:!0},chalk:{version:"2.4.2",resolved:"https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",integrity:"sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",dev:!0,requires:{"ansi-styles":"^3.2.1","escape-string-regexp":"^1.0.5","supports-color":"^5.3.0"}},chokidar:{version:"2.1.6",resolved:"https://registry.npmjs.org/chokidar/-/chokidar-2.1.6.tgz",integrity:"sha512-V2jUo67OKkc6ySiRpJrjlpJKl9kDuG+Xb8VgsGzb+aEouhgS1D0weyPU4lEzdAcsCAvrih2J2BqyXqHWvVLw5g==",dev:!0,requires:{anymatch:"^2.0.0","async-each":"^1.0.1",braces:"^2.3.2",fsevents:"^1.2.7","glob-parent":"^3.1.0",inherits:"^2.0.3","is-binary-path":"^1.0.0","is-glob":"^4.0.0","normalize-path":"^3.0.0","path-is-absolute":"^1.0.0",readdirp:"^2.2.1",upath:"^1.1.1"},dependencies:{"is-glob":{version:"4.0.1",resolved:"https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz",integrity:"sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",dev:!0,requires:{"is-extglob":"^2.1.1"}}}},"cipher-base":{version:"1.0.4",resolved:"https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz",integrity:"sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==",dev:!0,requires:{inherits:"^2.0.1","safe-buffer":"^5.0.1"}},"class-utils":{version:"0.3.6",resolved:"https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz",integrity:"sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==",dev:!0,requires:{"arr-union":"^3.1.0","define-property":"^0.2.5",isobject:"^3.0.0","static-extend":"^0.1.1"},dependencies:{"define-property":{version:"0.2.5",resolved:"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",integrity:"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",dev:!0,requires:{"is-descriptor":"^0.1.0"}}}},coffeescript:{version:"1.10.0",resolved:"https://registry.npmjs.org/coffeescript/-/coffeescript-1.10.0.tgz",integrity:"sha1-56qDAZF+9iGzXYo580jc3R234z4=",dev:!0},"collection-visit":{version:"1.0.0",resolved:"https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz",integrity:"sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=",dev:!0,requires:{"map-visit":"^1.0.0","object-visit":"^1.0.0"}},"color-convert":{version:"1.9.3",resolved:"https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",integrity:"sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",dev:!0,requires:{"color-name":"1.1.3"}},"color-name":{version:"1.1.3",resolved:"https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",integrity:"sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",dev:!0},colors:{version:"1.1.2",resolved:"https://registry.npmjs.org/colors/-/colors-1.1.2.tgz",integrity:"sha1-FopHAXVran9RoSzgyXv6KMCE7WM=",dev:!0},"combine-source-map":{version:"0.8.0",resolved:"https://registry.npmjs.org/combine-source-map/-/combine-source-map-0.8.0.tgz",integrity:"sha1-pY0N8ELBhvz4IqjoAV9UUNLXmos=",dev:!0,requires:{"convert-source-map":"~1.1.0","inline-source-map":"~0.6.0","lodash.memoize":"~3.0.3","source-map":"~0.5.3"}},commander:{version:"2.20.0",resolved:"https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",integrity:"sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==",dev:!0},"component-emitter":{version:"1.3.0",resolved:"https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",integrity:"sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==",dev:!0},"concat-map":{version:"0.0.1",resolved:"https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",integrity:"sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",dev:!0},"concat-stream":{version:"1.6.2",resolved:"https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",integrity:"sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",dev:!0,requires:{"buffer-from":"^1.0.0",inherits:"^2.0.3","readable-stream":"^2.2.2",typedarray:"^0.0.6"}},"console-browserify":{version:"1.1.0",resolved:"https://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz",integrity:"sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=",dev:!0,requires:{"date-now":"^0.1.4"}},"constants-browserify":{version:"1.0.0",resolved:"https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz",integrity:"sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=",dev:!0},"continuable-cache":{version:"0.3.1",resolved:"https://registry.npmjs.org/continuable-cache/-/continuable-cache-0.3.1.tgz",integrity:"sha1-vXJ6f67XfnH/OYWskzUakSczrQ8=",dev:!0},"convert-source-map":{version:"1.1.3",resolved:"https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.1.3.tgz",integrity:"sha1-SCnId+n+SbMWHzvzZziI4gRpmGA=",dev:!0},"copy-descriptor":{version:"0.1.1",resolved:"https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz",integrity:"sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=",dev:!0},"core-util-is":{version:"1.0.2",resolved:"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",integrity:"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",dev:!0},"create-ecdh":{version:"4.0.3",resolved:"https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz",integrity:"sha512-GbEHQPMOswGpKXM9kCWVrremUcBmjteUaQ01T9rkKCPDXfUHX0IoP9LpHYo2NPFampa4e+/pFDc3jQdxrxQLaw==",dev:!0,requires:{"bn.js":"^4.1.0",elliptic:"^6.0.0"}},"create-hash":{version:"1.2.0",resolved:"https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz",integrity:"sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==",dev:!0,requires:{"cipher-base":"^1.0.1",inherits:"^2.0.1","md5.js":"^1.3.4",ripemd160:"^2.0.1","sha.js":"^2.4.0"}},"create-hmac":{version:"1.1.7",resolved:"https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz",integrity:"sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==",dev:!0,requires:{"cipher-base":"^1.0.3","create-hash":"^1.1.0",inherits:"^2.0.1",ripemd160:"^2.0.0","safe-buffer":"^5.0.1","sha.js":"^2.4.8"}},"cross-spawn":{version:"0.2.9",resolved:"https://registry.npmjs.org/cross-spawn/-/cross-spawn-0.2.9.tgz",integrity:"sha1-vWf5bAfvtjA7f+lMHpefiEeOCjk=",dev:!0,requires:{"lru-cache":"^2.5.0"}},"crypto-browserify":{version:"3.12.0",resolved:"https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz",integrity:"sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==",dev:!0,requires:{"browserify-cipher":"^1.0.0","browserify-sign":"^4.0.0","create-ecdh":"^4.0.0","create-hash":"^1.1.0","create-hmac":"^1.1.0","diffie-hellman":"^5.0.0",inherits:"^2.0.1",pbkdf2:"^3.0.3","public-encrypt":"^4.0.0",randombytes:"^2.0.0",randomfill:"^1.0.3"}},csproj2ts:{version:"1.1.0",resolved:"https://registry.npmjs.org/csproj2ts/-/csproj2ts-1.1.0.tgz",integrity:"sha512-sk0RTT51t4lUNQ7UfZrqjQx7q4g0m3iwNA6mvyh7gLsgQYvwKzfdyoAgicC9GqJvkoIkU0UmndV9c7VZ8pJ45Q==",dev:!0,requires:{"es6-promise":"^4.1.1",lodash:"^4.17.4",semver:"^5.4.1",xml2js:"^0.4.19"},dependencies:{"es6-promise":{version:"4.2.8",resolved:"https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",integrity:"sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==",dev:!0}}},"currently-unhandled":{version:"0.4.1",resolved:"https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",integrity:"sha1-mI3zP+qxke95mmE2nddsF635V+o=",dev:!0,requires:{"array-find-index":"^1.0.1"}},dargs:{version:"4.1.0",resolved:"https://registry.npmjs.org/dargs/-/dargs-4.1.0.tgz",integrity:"sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=",dev:!0,requires:{"number-is-nan":"^1.0.0"}},"dash-ast":{version:"1.0.0",resolved:"https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz",integrity:"sha512-Vy4dx7gquTeMcQR/hDkYLGUnwVil6vk4FOOct+djUnHOUWt+zJPJAaRIXaAFkPXtJjvlY7o3rfRu0/3hpnwoUA==",dev:!0},"date-now":{version:"0.1.4",resolved:"https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz",integrity:"sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=",dev:!0},dateformat:{version:"1.0.12",resolved:"https://registry.npmjs.org/dateformat/-/dateformat-1.0.12.tgz",integrity:"sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=",dev:!0,requires:{"get-stdin":"^4.0.1",meow:"^3.3.0"}},debug:{version:"2.6.9",resolved:"https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",integrity:"sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",dev:!0,requires:{ms:"2.0.0"}},decamelize:{version:"1.2.0",resolved:"https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",integrity:"sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=",dev:!0},"decode-uri-component":{version:"0.2.0",resolved:"https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",integrity:"sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=",dev:!0},"define-property":{version:"2.0.2",resolved:"https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz",integrity:"sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==",dev:!0,requires:{"is-descriptor":"^1.0.2",isobject:"^3.0.1"},dependencies:{"is-accessor-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",integrity:"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-data-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",integrity:"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-descriptor":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",integrity:"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",dev:!0,requires:{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},defined:{version:"1.0.0",resolved:"https://registry.npmjs.org/defined/-/defined-1.0.0.tgz",integrity:"sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",dev:!0},"deps-sort":{version:"2.0.0",resolved:"https://registry.npmjs.org/deps-sort/-/deps-sort-2.0.0.tgz",integrity:"sha1-CRckkC6EZYJg65EHSMzNGvbiH7U=",dev:!0,requires:{JSONStream:"^1.0.3",shasum:"^1.0.0",subarg:"^1.0.0",through2:"^2.0.0"}},"des.js":{version:"1.0.0",resolved:"https://registry.npmjs.org/des.js/-/des.js-1.0.0.tgz",integrity:"sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=",dev:!0,requires:{inherits:"^2.0.1","minimalistic-assert":"^1.0.0"}},"detect-file":{version:"1.0.0",resolved:"https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz",integrity:"sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=",dev:!0},"detect-indent":{version:"4.0.0",resolved:"https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",integrity:"sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",dev:!0,requires:{repeating:"^2.0.0"}},"detect-newline":{version:"2.1.0",resolved:"https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz",integrity:"sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=",dev:!0},detective:{version:"5.2.0",resolved:"https://registry.npmjs.org/detective/-/detective-5.2.0.tgz",integrity:"sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==",dev:!0,requires:{"acorn-node":"^1.6.1",defined:"^1.0.0",minimist:"^1.1.1"}},diff:{version:"1.3.2",resolved:"https://registry.npmjs.org/diff/-/diff-1.3.2.tgz",integrity:"sha1-/Qeh8fiRUZ2ZBaTJqJ3PWnC2YDc=",dev:!0},"diffie-hellman":{version:"5.0.3",resolved:"https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",integrity:"sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==",dev:!0,requires:{"bn.js":"^4.1.0","miller-rabin":"^4.0.0",randombytes:"^2.0.0"}},"domain-browser":{version:"1.2.0",resolved:"https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz",integrity:"sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==",dev:!0},duplexer:{version:"0.1.1",resolved:"https://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz",integrity:"sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=",dev:!0},duplexer2:{version:"0.1.4",resolved:"https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz",integrity:"sha1-ixLauHjA1p4+eJEFFmKjL8a93ME=",dev:!0,requires:{"readable-stream":"^2.0.2"}},elliptic:{version:"6.5.0",resolved:"https://registry.npmjs.org/elliptic/-/elliptic-6.5.0.tgz",integrity:"sha512-eFOJTMyCYb7xtE/caJ6JJu+bhi67WCYNbkGSknu20pmM8Ke/bqOfdnZWxyoGN26JgfxTbXrsCkEw4KheCT/KGg==",dev:!0,requires:{"bn.js":"^4.4.0",brorand:"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0",inherits:"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"}},error:{version:"7.0.2",resolved:"https://registry.npmjs.org/error/-/error-7.0.2.tgz",integrity:"sha1-pfdf/02ZJhJt2sDqXcOOaJFTywI=",dev:!0,requires:{"string-template":"~0.2.1",xtend:"~4.0.0"}},"error-ex":{version:"1.3.2",resolved:"https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz",integrity:"sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",dev:!0,requires:{"is-arrayish":"^0.2.1"}},"es6-promise":{version:"2.3.0",resolved:"https://registry.npmjs.org/es6-promise/-/es6-promise-2.3.0.tgz",integrity:"sha1-lu258v2wGZWCKyY92KratnSBgbw=",dev:!0},"escape-string-regexp":{version:"1.0.5",resolved:"https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",integrity:"sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",dev:!0},esprima:{version:"4.0.1",resolved:"https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",integrity:"sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",dev:!0},esutils:{version:"2.0.2",resolved:"https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",integrity:"sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",dev:!0},eventemitter2:{version:"0.4.14",resolved:"https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz",integrity:"sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=",dev:!0},events:{version:"2.1.0",resolved:"https://registry.npmjs.org/events/-/events-2.1.0.tgz",integrity:"sha512-3Zmiobend8P9DjmKAty0Era4jV8oJ0yGYe2nJJAxgymF9+N8F2m0hhZiMoWtcfepExzNKZumFU3ksdQbInGWCg==",dev:!0},evp_bytestokey:{version:"1.0.3",resolved:"https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz",integrity:"sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==",dev:!0,requires:{"md5.js":"^1.3.4","safe-buffer":"^5.1.1"}},exit:{version:"0.1.2",resolved:"https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",integrity:"sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=",dev:!0},"expand-brackets":{version:"2.1.4",resolved:"https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",integrity:"sha1-t3c14xXOMPa27/D4OwQVGiJEliI=",dev:!0,requires:{debug:"^2.3.3","define-property":"^0.2.5","extend-shallow":"^2.0.1","posix-character-classes":"^0.1.0","regex-not":"^1.0.0",snapdragon:"^0.8.1","to-regex":"^3.0.1"},dependencies:{"define-property":{version:"0.2.5",resolved:"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",integrity:"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",dev:!0,requires:{"is-descriptor":"^0.1.0"}},"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}}}},"expand-tilde":{version:"2.0.2",resolved:"https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz",integrity:"sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=",dev:!0,requires:{"homedir-polyfill":"^1.0.1"}},extend:{version:"3.0.2",resolved:"https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",integrity:"sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",dev:!0},"extend-shallow":{version:"3.0.2",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz",integrity:"sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=",dev:!0,requires:{"assign-symbols":"^1.0.0","is-extendable":"^1.0.1"},dependencies:{"is-extendable":{version:"1.0.1",resolved:"https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",integrity:"sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",dev:!0,requires:{"is-plain-object":"^2.0.4"}}}},extglob:{version:"2.0.4",resolved:"https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz",integrity:"sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==",dev:!0,requires:{"array-unique":"^0.3.2","define-property":"^1.0.0","expand-brackets":"^2.1.4","extend-shallow":"^2.0.1","fragment-cache":"^0.2.1","regex-not":"^1.0.0",snapdragon:"^0.8.1","to-regex":"^3.0.1"},dependencies:{"define-property":{version:"1.0.0",resolved:"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",integrity:"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",dev:!0,requires:{"is-descriptor":"^1.0.0"}},"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}},"is-accessor-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",integrity:"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-data-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",integrity:"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-descriptor":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",integrity:"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",dev:!0,requires:{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"faye-websocket":{version:"0.10.0",resolved:"https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz",integrity:"sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=",dev:!0,requires:{"websocket-driver":">=0.5.1"}},figures:{version:"1.7.0",resolved:"https://registry.npmjs.org/figures/-/figures-1.7.0.tgz",integrity:"sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=",dev:!0,requires:{"escape-string-regexp":"^1.0.5","object-assign":"^4.1.0"}},"file-sync-cmp":{version:"0.1.1",resolved:"https://registry.npmjs.org/file-sync-cmp/-/file-sync-cmp-0.1.1.tgz",integrity:"sha1-peeo/7+kk7Q7kju9TKiaU7Y7YSs=",dev:!0},"fill-range":{version:"4.0.0",resolved:"https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",integrity:"sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=",dev:!0,requires:{"extend-shallow":"^2.0.1","is-number":"^3.0.0","repeat-string":"^1.6.1","to-regex-range":"^2.1.0"},dependencies:{"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}}}},"find-up":{version:"1.1.2",resolved:"https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",integrity:"sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",dev:!0,requires:{"path-exists":"^2.0.0","pinkie-promise":"^2.0.0"}},"findup-sync":{version:"0.3.0",resolved:"https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz",integrity:"sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY=",dev:!0,requires:{glob:"~5.0.0"},dependencies:{glob:{version:"5.0.15",resolved:"https://registry.npmjs.org/glob/-/glob-5.0.15.tgz",integrity:"sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=",dev:!0,requires:{inflight:"^1.0.4",inherits:"2",minimatch:"2 || 3",once:"^1.3.0","path-is-absolute":"^1.0.0"}}}},fined:{version:"1.2.0",resolved:"https://registry.npmjs.org/fined/-/fined-1.2.0.tgz",integrity:"sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==",dev:!0,requires:{"expand-tilde":"^2.0.2","is-plain-object":"^2.0.3","object.defaults":"^1.1.0","object.pick":"^1.2.0","parse-filepath":"^1.0.1"}},"flagged-respawn":{version:"1.0.1",resolved:"https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz",integrity:"sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==",dev:!0},"for-in":{version:"1.0.2",resolved:"https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",integrity:"sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",dev:!0},"for-own":{version:"1.0.0",resolved:"https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz",integrity:"sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=",dev:!0,requires:{"for-in":"^1.0.1"}},"fragment-cache":{version:"0.2.1",resolved:"https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",integrity:"sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=",dev:!0,requires:{"map-cache":"^0.2.2"}},freeice:{version:"2.2.2",resolved:"https://registry.npmjs.org/freeice/-/freeice-2.2.2.tgz",integrity:"sha512-XNoIxDHufqPIBSLpp4IrFPnoc+hv/0RwdOGhIoggIDC2ZKf5r6OoixbeoFJSmZOAq2aYiEUArhuQ8zVVrM5C4w==",requires:{normalice:"^1.0.0"}},"fs-extra":{version:"8.1.0",resolved:"https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz",integrity:"sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==",dev:!0,requires:{"graceful-fs":"^4.2.0",jsonfile:"^4.0.0",universalify:"^0.1.0"}},"fs.realpath":{version:"1.0.0",resolved:"https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",integrity:"sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",dev:!0},fsevents:{version:"1.2.9",resolved:"https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz",integrity:"sha512-oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==",dev:!0,optional:!0,requires:{nan:"^2.12.1","node-pre-gyp":"^0.12.0"},dependencies:{abbrev:{version:"1.1.1",bundled:!0,dev:!0,optional:!0},"ansi-regex":{version:"2.1.1",bundled:!0,dev:!0},aproba:{version:"1.2.0",bundled:!0,dev:!0,optional:!0},"are-we-there-yet":{version:"1.1.5",bundled:!0,dev:!0,optional:!0,requires:{delegates:"^1.0.0","readable-stream":"^2.0.6"}},"balanced-match":{version:"1.0.0",bundled:!0,dev:!0},"brace-expansion":{version:"1.1.11",bundled:!0,dev:!0,requires:{"balanced-match":"^1.0.0","concat-map":"0.0.1"}},chownr:{version:"1.1.1",bundled:!0,dev:!0,optional:!0},"code-point-at":{version:"1.1.0",bundled:!0,dev:!0},"concat-map":{version:"0.0.1",bundled:!0,dev:!0},"console-control-strings":{version:"1.1.0",bundled:!0,dev:!0},"core-util-is":{version:"1.0.2",bundled:!0,dev:!0,optional:!0},debug:{version:"4.1.1",bundled:!0,dev:!0,optional:!0,requires:{ms:"^2.1.1"}},"deep-extend":{version:"0.6.0",bundled:!0,dev:!0,optional:!0},delegates:{version:"1.0.0",bundled:!0,dev:!0,optional:!0},"detect-libc":{version:"1.0.3",bundled:!0,dev:!0,optional:!0},"fs-minipass":{version:"1.2.5",bundled:!0,dev:!0,optional:!0,requires:{minipass:"^2.2.1"}},"fs.realpath":{version:"1.0.0",bundled:!0,dev:!0,optional:!0},gauge:{version:"2.7.4",bundled:!0,dev:!0,optional:!0,requires:{aproba:"^1.0.3","console-control-strings":"^1.0.0","has-unicode":"^2.0.0","object-assign":"^4.1.0","signal-exit":"^3.0.0","string-width":"^1.0.1","strip-ansi":"^3.0.1","wide-align":"^1.1.0"}},glob:{version:"7.1.3",bundled:!0,dev:!0,optional:!0,requires:{"fs.realpath":"^1.0.0",inflight:"^1.0.4",inherits:"2",minimatch:"^3.0.4",once:"^1.3.0","path-is-absolute":"^1.0.0"}},"has-unicode":{version:"2.0.1",bundled:!0,dev:!0,optional:!0},"iconv-lite":{version:"0.4.24",bundled:!0,dev:!0,optional:!0,requires:{"safer-buffer":">= 2.1.2 < 3"}},"ignore-walk":{version:"3.0.1",bundled:!0,dev:!0,optional:!0,requires:{minimatch:"^3.0.4"}},inflight:{version:"1.0.6",bundled:!0,dev:!0,optional:!0,requires:{once:"^1.3.0",wrappy:"1"}},inherits:{version:"2.0.3",bundled:!0,dev:!0},ini:{version:"1.3.5",bundled:!0,dev:!0,optional:!0},"is-fullwidth-code-point":{version:"1.0.0",bundled:!0,dev:!0,requires:{"number-is-nan":"^1.0.0"}},isarray:{version:"1.0.0",bundled:!0,dev:!0,optional:!0},minimatch:{version:"3.0.4",bundled:!0,dev:!0,requires:{"brace-expansion":"^1.1.7"}},minimist:{version:"0.0.8",bundled:!0,dev:!0},minipass:{version:"2.3.5",bundled:!0,dev:!0,requires:{"safe-buffer":"^5.1.2",yallist:"^3.0.0"}},minizlib:{version:"1.2.1",bundled:!0,dev:!0,optional:!0,requires:{minipass:"^2.2.1"}},mkdirp:{version:"0.5.1",bundled:!0,dev:!0,requires:{minimist:"0.0.8"}},ms:{version:"2.1.1",bundled:!0,dev:!0,optional:!0},needle:{version:"2.3.0",bundled:!0,dev:!0,optional:!0,requires:{debug:"^4.1.0","iconv-lite":"^0.4.4",sax:"^1.2.4"}},"node-pre-gyp":{version:"0.12.0",bundled:!0,dev:!0,optional:!0,requires:{"detect-libc":"^1.0.2",mkdirp:"^0.5.1",needle:"^2.2.1",nopt:"^4.0.1","npm-packlist":"^1.1.6",npmlog:"^4.0.2",rc:"^1.2.7",rimraf:"^2.6.1",semver:"^5.3.0",tar:"^4"}},nopt:{version:"4.0.1",bundled:!0,dev:!0,optional:!0,requires:{abbrev:"1",osenv:"^0.1.4"}},"npm-bundled":{version:"1.0.6",bundled:!0,dev:!0,optional:!0},"npm-packlist":{version:"1.4.1",bundled:!0,dev:!0,optional:!0,requires:{"ignore-walk":"^3.0.1","npm-bundled":"^1.0.1"}},npmlog:{version:"4.1.2",bundled:!0,dev:!0,optional:!0,requires:{"are-we-there-yet":"~1.1.2","console-control-strings":"~1.1.0",gauge:"~2.7.3","set-blocking":"~2.0.0"}},"number-is-nan":{version:"1.0.1",bundled:!0,dev:!0},"object-assign":{version:"4.1.1",bundled:!0,dev:!0,optional:!0},once:{version:"1.4.0",bundled:!0,dev:!0,requires:{wrappy:"1"}},"os-homedir":{version:"1.0.2",bundled:!0,dev:!0,optional:!0},"os-tmpdir":{version:"1.0.2",bundled:!0,dev:!0,optional:!0},osenv:{version:"0.1.5",bundled:!0,dev:!0,optional:!0,requires:{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"}},"path-is-absolute":{version:"1.0.1",bundled:!0,dev:!0,optional:!0},"process-nextick-args":{version:"2.0.0",bundled:!0,dev:!0,optional:!0},rc:{version:"1.2.8",bundled:!0,dev:!0,optional:!0,requires:{"deep-extend":"^0.6.0",ini:"~1.3.0",minimist:"^1.2.0","strip-json-comments":"~2.0.1"},dependencies:{minimist:{version:"1.2.0",bundled:!0,dev:!0,optional:!0}}},"readable-stream":{version:"2.3.6",bundled:!0,dev:!0,optional:!0,requires:{"core-util-is":"~1.0.0",inherits:"~2.0.3",isarray:"~1.0.0","process-nextick-args":"~2.0.0","safe-buffer":"~5.1.1",string_decoder:"~1.1.1","util-deprecate":"~1.0.1"}},rimraf:{version:"2.6.3",bundled:!0,dev:!0,optional:!0,requires:{glob:"^7.1.3"}},"safe-buffer":{version:"5.1.2",bundled:!0,dev:!0},"safer-buffer":{version:"2.1.2",bundled:!0,dev:!0,optional:!0},sax:{version:"1.2.4",bundled:!0,dev:!0,optional:!0},semver:{version:"5.7.0",bundled:!0,dev:!0,optional:!0},"set-blocking":{version:"2.0.0",bundled:!0,dev:!0,optional:!0},"signal-exit":{version:"3.0.2",bundled:!0,dev:!0,optional:!0},"string-width":{version:"1.0.2",bundled:!0,dev:!0,requires:{"code-point-at":"^1.0.0","is-fullwidth-code-point":"^1.0.0","strip-ansi":"^3.0.0"}},string_decoder:{version:"1.1.1",bundled:!0,dev:!0,optional:!0,requires:{"safe-buffer":"~5.1.0"}},"strip-ansi":{version:"3.0.1",bundled:!0,dev:!0,requires:{"ansi-regex":"^2.0.0"}},"strip-json-comments":{version:"2.0.1",bundled:!0,dev:!0,optional:!0},tar:{version:"4.4.8",bundled:!0,dev:!0,optional:!0,requires:{chownr:"^1.1.1","fs-minipass":"^1.2.5",minipass:"^2.3.4",minizlib:"^1.1.1",mkdirp:"^0.5.0","safe-buffer":"^5.1.2",yallist:"^3.0.2"}},"util-deprecate":{version:"1.0.2",bundled:!0,dev:!0,optional:!0},"wide-align":{version:"1.1.3",bundled:!0,dev:!0,optional:!0,requires:{"string-width":"^1.0.2 || 2"}},wrappy:{version:"1.0.2",bundled:!0,dev:!0},yallist:{version:"3.0.3",bundled:!0,dev:!0}}},"function-bind":{version:"1.1.1",resolved:"https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",integrity:"sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",dev:!0},gaze:{version:"1.1.3",resolved:"https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz",integrity:"sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==",dev:!0,requires:{globule:"^1.0.0"}},"get-assigned-identifiers":{version:"1.2.0",resolved:"https://registry.npmjs.org/get-assigned-identifiers/-/get-assigned-identifiers-1.2.0.tgz",integrity:"sha512-mBBwmeGTrxEMO4pMaaf/uUEFHnYtwr8FTe8Y/mer4rcV/bye0qGm6pw1bGZFGStxC5O76c5ZAVBGnqHmOaJpdQ==",dev:!0},"get-stdin":{version:"4.0.1",resolved:"https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",integrity:"sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",dev:!0},"get-value":{version:"2.0.6",resolved:"https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz",integrity:"sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=",dev:!0},getobject:{version:"0.1.0",resolved:"https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz",integrity:"sha1-BHpEl4n6Fg0Bj1SG7ZEyC27HiFw=",dev:!0},glob:{version:"7.1.4",resolved:"https://registry.npmjs.org/glob/-/glob-7.1.4.tgz",integrity:"sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==",dev:!0,requires:{"fs.realpath":"^1.0.0",inflight:"^1.0.4",inherits:"2",minimatch:"^3.0.4",once:"^1.3.0","path-is-absolute":"^1.0.0"}},"glob-parent":{version:"3.1.0",resolved:"https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz",integrity:"sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=",dev:!0,requires:{"is-glob":"^3.1.0","path-dirname":"^1.0.0"}},"global-modules":{version:"1.0.0",resolved:"https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz",integrity:"sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==",dev:!0,requires:{"global-prefix":"^1.0.1","is-windows":"^1.0.1","resolve-dir":"^1.0.0"}},"global-prefix":{version:"1.0.2",resolved:"https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz",integrity:"sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=",dev:!0,requires:{"expand-tilde":"^2.0.2","homedir-polyfill":"^1.0.1",ini:"^1.3.4","is-windows":"^1.0.1",which:"^1.2.14"}},globule:{version:"1.2.1",resolved:"https://registry.npmjs.org/globule/-/globule-1.2.1.tgz",integrity:"sha512-g7QtgWF4uYSL5/dn71WxubOrS7JVGCnFPEnoeChJmBnyR9Mw8nGoEwOgJL/RC2Te0WhbsEUCejfH8SZNJ+adYQ==",dev:!0,requires:{glob:"~7.1.1",lodash:"~4.17.10",minimatch:"~3.0.2"}},"graceful-fs":{version:"4.2.0",resolved:"https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz",integrity:"sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==",dev:!0},grunt:{version:"1.0.4",resolved:"https://registry.npmjs.org/grunt/-/grunt-1.0.4.tgz",integrity:"sha512-PYsMOrOC+MsdGEkFVwMaMyc6Ob7pKmq+deg1Sjr+vvMWp35sztfwKE7qoN51V+UEtHsyNuMcGdgMLFkBHvMxHQ==",dev:!0,requires:{coffeescript:"~1.10.0",dateformat:"~1.0.12",eventemitter2:"~0.4.13",exit:"~0.1.1","findup-sync":"~0.3.0",glob:"~7.0.0","grunt-cli":"~1.2.0","grunt-known-options":"~1.1.0","grunt-legacy-log":"~2.0.0","grunt-legacy-util":"~1.1.1","iconv-lite":"~0.4.13","js-yaml":"~3.13.0",minimatch:"~3.0.2",mkdirp:"~0.5.1",nopt:"~3.0.6","path-is-absolute":"~1.0.0",rimraf:"~2.6.2"},dependencies:{glob:{version:"7.0.6",resolved:"https://registry.npmjs.org/glob/-/glob-7.0.6.tgz",integrity:"sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=",dev:!0,requires:{"fs.realpath":"^1.0.0",inflight:"^1.0.4",inherits:"2",minimatch:"^3.0.2",once:"^1.3.0","path-is-absolute":"^1.0.0"}},"grunt-cli":{version:"1.2.0",resolved:"https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.2.0.tgz",integrity:"sha1-VisRnrsGndtGSs4oRVAb6Xs1tqg=",dev:!0,requires:{"findup-sync":"~0.3.0","grunt-known-options":"~1.1.0",nopt:"~3.0.6",resolve:"~1.1.0"}},resolve:{version:"1.1.7",resolved:"https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",integrity:"sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=",dev:!0}}},"grunt-autoprefixer":{version:"3.0.4",resolved:"https://registry.npmjs.org/grunt-autoprefixer/-/grunt-autoprefixer-3.0.4.tgz",integrity:"sha1-/kLiR7z6ucKSoSwGLa1PNb3pAsU=",dev:!0,requires:{"autoprefixer-core":"^5.1.7",chalk:"~1.0.0",diff:"~1.3.0",postcss:"^4.1.11"},dependencies:{"ansi-styles":{version:"2.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",integrity:"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",dev:!0},chalk:{version:"1.0.0",resolved:"https://registry.npmjs.org/chalk/-/chalk-1.0.0.tgz",integrity:"sha1-s89O0P9Tl8mcdbj2edsvUoMfltw=",dev:!0,requires:{"ansi-styles":"^2.0.1","escape-string-regexp":"^1.0.2","has-ansi":"^1.0.3","strip-ansi":"^2.0.1","supports-color":"^1.3.0"}},"supports-color":{version:"1.3.1",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-1.3.1.tgz",integrity:"sha1-FXWN8J2P87SswwdTn6vicJXhBC0=",dev:!0}}},"grunt-cli":{version:"1.3.2",resolved:"https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.3.2.tgz",integrity:"sha512-8OHDiZZkcptxVXtMfDxJvmN7MVJNE8L/yIcPb4HB7TlyFD1kDvjHrb62uhySsU14wJx9ORMnTuhRMQ40lH/orQ==",dev:!0,requires:{"grunt-known-options":"~1.1.0",interpret:"~1.1.0",liftoff:"~2.5.0",nopt:"~4.0.1",v8flags:"~3.1.1"},dependencies:{nopt:{version:"4.0.1",resolved:"https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz",integrity:"sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=",dev:!0,requires:{abbrev:"1",osenv:"^0.1.4"}}}},"grunt-contrib-copy":{version:"1.0.0",resolved:"https://registry.npmjs.org/grunt-contrib-copy/-/grunt-contrib-copy-1.0.0.tgz",integrity:"sha1-cGDGWB6QS4qw0A8HbgqPbj58NXM=",dev:!0,requires:{chalk:"^1.1.1","file-sync-cmp":"^0.1.0"},dependencies:{"ansi-regex":{version:"2.1.1",resolved:"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",integrity:"sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",dev:!0},"ansi-styles":{version:"2.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",integrity:"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",dev:!0},chalk:{version:"1.1.3",resolved:"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",integrity:"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",dev:!0,requires:{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"has-ansi":{version:"2.0.0",resolved:"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",integrity:"sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"strip-ansi":{version:"3.0.1",resolved:"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",integrity:"sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"supports-color":{version:"2.0.0",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",integrity:"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",dev:!0}}},"grunt-contrib-sass":{version:"1.0.0",resolved:"https://registry.npmjs.org/grunt-contrib-sass/-/grunt-contrib-sass-1.0.0.tgz",integrity:"sha1-gGg4JRy8DhqU1k1RXN00z2dNcBs=",dev:!0,requires:{async:"^0.9.0",chalk:"^1.0.0","cross-spawn":"^0.2.3",dargs:"^4.0.0",which:"^1.0.5"},dependencies:{"ansi-regex":{version:"2.1.1",resolved:"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",integrity:"sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",dev:!0},"ansi-styles":{version:"2.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",integrity:"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",dev:!0},async:{version:"0.9.2",resolved:"https://registry.npmjs.org/async/-/async-0.9.2.tgz",integrity:"sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=",dev:!0},chalk:{version:"1.1.3",resolved:"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",integrity:"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",dev:!0,requires:{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"has-ansi":{version:"2.0.0",resolved:"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",integrity:"sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"strip-ansi":{version:"3.0.1",resolved:"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",integrity:"sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"supports-color":{version:"2.0.0",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",integrity:"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",dev:!0}}},"grunt-contrib-uglify":{version:"4.0.1",resolved:"https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-4.0.1.tgz",integrity:"sha512-dwf8/+4uW1+7pH72WButOEnzErPGmtUvc8p08B0eQS/6ON0WdeQu0+WFeafaPTbbY1GqtS25lsHWaDeiTQNWPg==",dev:!0,requires:{chalk:"^2.4.1",maxmin:"^2.1.0","uglify-js":"^3.5.0","uri-path":"^1.0.0"}},"grunt-contrib-watch":{version:"1.1.0",resolved:"https://registry.npmjs.org/grunt-contrib-watch/-/grunt-contrib-watch-1.1.0.tgz",integrity:"sha512-yGweN+0DW5yM+oo58fRu/XIRrPcn3r4tQx+nL7eMRwjpvk+rQY6R8o94BPK0i2UhTg9FN21hS+m8vR8v9vXfeg==",dev:!0,requires:{async:"^2.6.0",gaze:"^1.1.0",lodash:"^4.17.10","tiny-lr":"^1.1.1"},dependencies:{async:{version:"2.6.3",resolved:"https://registry.npmjs.org/async/-/async-2.6.3.tgz",integrity:"sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",dev:!0,requires:{lodash:"^4.17.14"}}}},"grunt-known-options":{version:"1.1.1",resolved:"https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz",integrity:"sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==",dev:!0},"grunt-legacy-log":{version:"2.0.0",resolved:"https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-2.0.0.tgz",integrity:"sha512-1m3+5QvDYfR1ltr8hjiaiNjddxGdQWcH0rw1iKKiQnF0+xtgTazirSTGu68RchPyh1OBng1bBUjLmX8q9NpoCw==",dev:!0,requires:{colors:"~1.1.2","grunt-legacy-log-utils":"~2.0.0",hooker:"~0.2.3",lodash:"~4.17.5"}},"grunt-legacy-log-utils":{version:"2.0.1",resolved:"https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.0.1.tgz",integrity:"sha512-o7uHyO/J+i2tXG8r2bZNlVk20vlIFJ9IEYyHMCQGfWYru8Jv3wTqKZzvV30YW9rWEjq0eP3cflQ1qWojIe9VFA==",dev:!0,requires:{chalk:"~2.4.1",lodash:"~4.17.10"}},"grunt-legacy-util":{version:"1.1.1",resolved:"https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-1.1.1.tgz",integrity:"sha512-9zyA29w/fBe6BIfjGENndwoe1Uy31BIXxTH3s8mga0Z5Bz2Sp4UCjkeyv2tI449ymkx3x26B+46FV4fXEddl5A==",dev:!0,requires:{async:"~1.5.2",exit:"~0.1.1",getobject:"~0.1.0",hooker:"~0.2.3",lodash:"~4.17.10","underscore.string":"~3.3.4",which:"~1.3.0"}},"grunt-string-replace":{version:"1.3.1",resolved:"https://registry.npmjs.org/grunt-string-replace/-/grunt-string-replace-1.3.1.tgz",integrity:"sha1-YzoDvHhIKg4OH5339kWBH8H7sWI=",dev:!0,requires:{async:"^2.0.0",chalk:"^1.0.0"},dependencies:{"ansi-regex":{version:"2.1.1",resolved:"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",integrity:"sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",dev:!0},"ansi-styles":{version:"2.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",integrity:"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",dev:!0},async:{version:"2.6.3",resolved:"https://registry.npmjs.org/async/-/async-2.6.3.tgz",integrity:"sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",dev:!0,requires:{lodash:"^4.17.14"}},chalk:{version:"1.1.3",resolved:"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",integrity:"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",dev:!0,requires:{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"has-ansi":{version:"2.0.0",resolved:"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",integrity:"sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"strip-ansi":{version:"3.0.1",resolved:"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",integrity:"sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"supports-color":{version:"2.0.0",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",integrity:"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",dev:!0}}},"grunt-ts":{version:"6.0.0-beta.22",resolved:"https://registry.npmjs.org/grunt-ts/-/grunt-ts-6.0.0-beta.22.tgz",integrity:"sha512-g9e+ZImQ7W38dfpwhp0+GUltXWidy3YGPfIA/IyGL5HMv6wmVmMMoSgscI5swhs2HSPf8yAvXAAJbwrouijoRg==",dev:!0,requires:{chokidar:"^2.0.4",csproj2ts:"^1.1.0","detect-indent":"^4.0.0","detect-newline":"^2.1.0","es6-promise":"~0.1.1",jsmin2:"^1.2.1",lodash:"~4.17.10",ncp:"0.5.1",rimraf:"2.2.6",semver:"^5.3.0","strip-bom":"^2.0.0"},dependencies:{"es6-promise":{version:"0.1.2",resolved:"https://registry.npmjs.org/es6-promise/-/es6-promise-0.1.2.tgz",integrity:"sha1-8RLCn+paCZhTn8tqL9IUQ9KPBfc=",dev:!0},rimraf:{version:"2.2.6",resolved:"https://registry.npmjs.org/rimraf/-/rimraf-2.2.6.tgz",integrity:"sha1-xZWXVpsU2VatKcrMQr3d9fDqT0w=",dev:!0}}},"gzip-size":{version:"3.0.0",resolved:"https://registry.npmjs.org/gzip-size/-/gzip-size-3.0.0.tgz",integrity:"sha1-VGGI6b3DN/Zzdy+BZgRks4nc5SA=",dev:!0,requires:{duplexer:"^0.1.1"}},handlebars:{version:"4.1.2",resolved:"https://registry.npmjs.org/handlebars/-/handlebars-4.1.2.tgz",integrity:"sha512-nvfrjqvt9xQ8Z/w0ijewdD/vvWDTOweBUm96NTr66Wfvo1mJenBLwcYmPs3TIBP5ruzYGD7Hx/DaM9RmhroGPw==",dev:!0,requires:{"neo-async":"^2.6.0",optimist:"^0.6.1","source-map":"^0.6.1","uglify-js":"^3.1.4"},dependencies:{"source-map":{version:"0.6.1",resolved:"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",integrity:"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",dev:!0}}},hark:{version:"1.2.3",resolved:"https://registry.npmjs.org/hark/-/hark-1.2.3.tgz",integrity:"sha512-u68vz9SCa38ESiFJSDjqK8XbXqWzyot7Cj6Y2b6jk2NJ+II3MY2dIrLMg/kjtIAun4Y1DHF/20hfx4rq1G5GMg==",requires:{wildemitter:"^1.2.0"}},has:{version:"1.0.3",resolved:"https://registry.npmjs.org/has/-/has-1.0.3.tgz",integrity:"sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",dev:!0,requires:{"function-bind":"^1.1.1"}},"has-ansi":{version:"1.0.3",resolved:"https://registry.npmjs.org/has-ansi/-/has-ansi-1.0.3.tgz",integrity:"sha1-wLWxYV2eOCsP9nFp2We0JeSMpTg=",dev:!0,requires:{"ansi-regex":"^1.1.0","get-stdin":"^4.0.1"}},"has-flag":{version:"3.0.0",resolved:"https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",integrity:"sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",dev:!0},"has-value":{version:"1.0.0",resolved:"https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz",integrity:"sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=",dev:!0,requires:{"get-value":"^2.0.6","has-values":"^1.0.0",isobject:"^3.0.0"}},"has-values":{version:"1.0.0",resolved:"https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz",integrity:"sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=",dev:!0,requires:{"is-number":"^3.0.0","kind-of":"^4.0.0"},dependencies:{"kind-of":{version:"4.0.0",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",integrity:"sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"hash-base":{version:"3.0.4",resolved:"https://registry.npmjs.org/hash-base/-/hash-base-3.0.4.tgz",integrity:"sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=",dev:!0,requires:{inherits:"^2.0.1","safe-buffer":"^5.0.1"}},"hash.js":{version:"1.1.7",resolved:"https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz",integrity:"sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==",dev:!0,requires:{inherits:"^2.0.3","minimalistic-assert":"^1.0.1"}},"highlight.js":{version:"9.15.8",resolved:"https://registry.npmjs.org/highlight.js/-/highlight.js-9.15.8.tgz",integrity:"sha512-RrapkKQWwE+wKdF73VsOa2RQdIoO3mxwJ4P8mhbI6KYJUraUHRKM5w5zQQKXNk0xNL4UVRdulV9SBJcmzJNzVA==",dev:!0},"hmac-drbg":{version:"1.0.1",resolved:"https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz",integrity:"sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=",dev:!0,requires:{"hash.js":"^1.0.3","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.1"}},"homedir-polyfill":{version:"1.0.3",resolved:"https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz",integrity:"sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==",dev:!0,requires:{"parse-passwd":"^1.0.0"}},hooker:{version:"0.2.3",resolved:"https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz",integrity:"sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=",dev:!0},"hosted-git-info":{version:"2.7.1",resolved:"https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.7.1.tgz",integrity:"sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",dev:!0},htmlescape:{version:"1.1.1",resolved:"https://registry.npmjs.org/htmlescape/-/htmlescape-1.1.1.tgz",integrity:"sha1-OgPtwiFLyjtmQko+eVk0lQnLA1E=",dev:!0},"http-parser-js":{version:"0.4.10",resolved:"https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.4.10.tgz",integrity:"sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=",dev:!0},"https-browserify":{version:"1.0.0",resolved:"https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz",integrity:"sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=",dev:!0},"iconv-lite":{version:"0.4.24",resolved:"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",integrity:"sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",dev:!0,requires:{"safer-buffer":">= 2.1.2 < 3"}},ieee754:{version:"1.1.13",resolved:"https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",integrity:"sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",dev:!0},"indent-string":{version:"2.1.0",resolved:"https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",integrity:"sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",dev:!0,requires:{repeating:"^2.0.0"}},inflight:{version:"1.0.6",resolved:"https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",integrity:"sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",dev:!0,requires:{once:"^1.3.0",wrappy:"1"}},inherits:{version:"2.0.4",resolved:"https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",integrity:"sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",dev:!0},ini:{version:"1.3.5",resolved:"https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",integrity:"sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",dev:!0},"inline-source-map":{version:"0.6.2",resolved:"https://registry.npmjs.org/inline-source-map/-/inline-source-map-0.6.2.tgz",integrity:"sha1-+Tk0ccGKedFyT4Y/o4tYY3Ct4qU=",dev:!0,requires:{"source-map":"~0.5.3"}},"insert-module-globals":{version:"7.2.0",resolved:"https://registry.npmjs.org/insert-module-globals/-/insert-module-globals-7.2.0.tgz",integrity:"sha512-VE6NlW+WGn2/AeOMd496AHFYmE7eLKkUY6Ty31k4og5vmA3Fjuwe9v6ifH6Xx/Hz27QvdoMoviw1/pqWRB09Sw==",dev:!0,requires:{JSONStream:"^1.0.3","acorn-node":"^1.5.2","combine-source-map":"^0.8.0","concat-stream":"^1.6.1","is-buffer":"^1.1.0","path-is-absolute":"^1.0.1",process:"~0.11.0",through2:"^2.0.0","undeclared-identifiers":"^1.1.2",xtend:"^4.0.0"}},interpret:{version:"1.1.0",resolved:"https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz",integrity:"sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=",dev:!0},"is-absolute":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz",integrity:"sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==",dev:!0,requires:{"is-relative":"^1.0.0","is-windows":"^1.0.1"}},"is-accessor-descriptor":{version:"0.1.6",resolved:"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz",integrity:"sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=",dev:!0,requires:{"kind-of":"^3.0.2"},dependencies:{"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"is-arrayish":{version:"0.2.1",resolved:"https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz",integrity:"sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",dev:!0},"is-binary-path":{version:"1.0.1",resolved:"https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",integrity:"sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",dev:!0,requires:{"binary-extensions":"^1.0.0"}},"is-buffer":{version:"1.1.6",resolved:"https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz",integrity:"sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==",dev:!0},"is-data-descriptor":{version:"0.1.4",resolved:"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",integrity:"sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=",dev:!0,requires:{"kind-of":"^3.0.2"},dependencies:{"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"is-descriptor":{version:"0.1.6",resolved:"https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz",integrity:"sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==",dev:!0,requires:{"is-accessor-descriptor":"^0.1.6","is-data-descriptor":"^0.1.4","kind-of":"^5.0.0"},dependencies:{"kind-of":{version:"5.1.0",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz",integrity:"sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==",dev:!0}}},"is-extendable":{version:"0.1.1",resolved:"https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",integrity:"sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",dev:!0},"is-extglob":{version:"2.1.1",resolved:"https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",integrity:"sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",dev:!0},"is-finite":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",integrity:"sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",dev:!0,requires:{"number-is-nan":"^1.0.0"}},"is-glob":{version:"3.1.0",resolved:"https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz",integrity:"sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=",dev:!0,requires:{"is-extglob":"^2.1.0"}},"is-number":{version:"3.0.0",resolved:"https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",integrity:"sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",dev:!0,requires:{"kind-of":"^3.0.2"},dependencies:{"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"is-plain-object":{version:"2.0.4",resolved:"https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz",integrity:"sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==",dev:!0,requires:{isobject:"^3.0.1"}},"is-relative":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz",integrity:"sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",dev:!0,requires:{"is-unc-path":"^1.0.0"}},"is-unc-path":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz",integrity:"sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",dev:!0,requires:{"unc-path-regex":"^0.1.2"}},"is-utf8":{version:"0.2.1",resolved:"https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",integrity:"sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",dev:!0},"is-windows":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz",integrity:"sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",dev:!0},isarray:{version:"1.0.0",resolved:"https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",integrity:"sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",dev:!0},isexe:{version:"2.0.0",resolved:"https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",integrity:"sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",dev:!0},isobject:{version:"3.0.1",resolved:"https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz",integrity:"sha1-TkMekrEalzFjaqH5yNHMvP2reN8=",dev:!0},jquery:{version:"3.4.1",resolved:"https://registry.npmjs.org/jquery/-/jquery-3.4.1.tgz",integrity:"sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw==",dev:!0},"js-base64":{version:"2.1.9",resolved:"https://registry.npmjs.org/js-base64/-/js-base64-2.1.9.tgz",integrity:"sha1-8OgK4DmkvWVLXygfyT8EqRSn/M4=",dev:!0},"js-tokens":{version:"4.0.0",resolved:"https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",integrity:"sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",dev:!0},"js-yaml":{version:"3.13.1",resolved:"https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz",integrity:"sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==",dev:!0,requires:{argparse:"^1.0.7",esprima:"^4.0.0"}},jsmin2:{version:"1.2.1",resolved:"https://registry.npmjs.org/jsmin2/-/jsmin2-1.2.1.tgz",integrity:"sha1-iPvi+/dfCpH2YCD9mBzWk/S/5X4=",dev:!0},"json-stable-stringify":{version:"0.0.1",resolved:"https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-0.0.1.tgz",integrity:"sha1-YRwj6BTbN1Un34URk9tZ3Sryf0U=",dev:!0,requires:{jsonify:"~0.0.0"}},jsonfile:{version:"4.0.0",resolved:"https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",integrity:"sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=",dev:!0,requires:{"graceful-fs":"^4.1.6"}},jsonify:{version:"0.0.0",resolved:"https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz",integrity:"sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=",dev:!0},jsonparse:{version:"1.3.1",resolved:"https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz",integrity:"sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=",dev:!0},"kind-of":{version:"6.0.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz",integrity:"sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==",dev:!0},"labeled-stream-splicer":{version:"2.0.2",resolved:"https://registry.npmjs.org/labeled-stream-splicer/-/labeled-stream-splicer-2.0.2.tgz",integrity:"sha512-Ca4LSXFFZUjPScRaqOcFxneA0VpKZr4MMYCljyQr4LIewTLb3Y0IUTIsnBBsVubIeEfxeSZpSjSsRM8APEQaAw==",dev:!0,requires:{inherits:"^2.0.1","stream-splicer":"^2.0.0"}},liftoff:{version:"2.5.0",resolved:"https://registry.npmjs.org/liftoff/-/liftoff-2.5.0.tgz",integrity:"sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=",dev:!0,requires:{extend:"^3.0.0","findup-sync":"^2.0.0",fined:"^1.0.1","flagged-respawn":"^1.0.0","is-plain-object":"^2.0.4","object.map":"^1.0.0",rechoir:"^0.6.2",resolve:"^1.1.7"},dependencies:{"findup-sync":{version:"2.0.0",resolved:"https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz",integrity:"sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=",dev:!0,requires:{"detect-file":"^1.0.0","is-glob":"^3.1.0",micromatch:"^3.0.4","resolve-dir":"^1.0.1"}}}},"livereload-js":{version:"2.4.0",resolved:"https://registry.npmjs.org/livereload-js/-/livereload-js-2.4.0.tgz",integrity:"sha512-XPQH8Z2GDP/Hwz2PCDrh2mth4yFejwA1OZ/81Ti3LgKyhDcEjsSsqFWZojHG0va/duGd+WyosY7eXLDoOyqcPw==",dev:!0},"load-json-file":{version:"1.1.0",resolved:"https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",integrity:"sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",dev:!0,requires:{"graceful-fs":"^4.1.2","parse-json":"^2.2.0",pify:"^2.0.0","pinkie-promise":"^2.0.0","strip-bom":"^2.0.0"}},lodash:{version:"4.17.15",resolved:"https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",integrity:"sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",dev:!0},"lodash.memoize":{version:"3.0.4",resolved:"https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-3.0.4.tgz",integrity:"sha1-LcvSwofLwKVcxCMovQxzYVDVPj8=",dev:!0},"loud-rejection":{version:"1.6.0",resolved:"https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",integrity:"sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",dev:!0,requires:{"currently-unhandled":"^0.4.1","signal-exit":"^3.0.0"}},"lru-cache":{version:"2.7.3",resolved:"https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.3.tgz",integrity:"sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=",dev:!0},lunr:{version:"2.3.6",resolved:"https://registry.npmjs.org/lunr/-/lunr-2.3.6.tgz",integrity:"sha512-swStvEyDqQ85MGpABCMBclZcLI/pBIlu8FFDtmX197+oEgKloJ67QnB+Tidh0340HmLMs39c4GrkPY3cmkXp6Q==",dev:!0},"make-iterator":{version:"1.0.1",resolved:"https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz",integrity:"sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==",dev:!0,requires:{"kind-of":"^6.0.2"}},"map-cache":{version:"0.2.2",resolved:"https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",integrity:"sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=",dev:!0},"map-obj":{version:"1.0.1",resolved:"https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",integrity:"sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",dev:!0},"map-visit":{version:"1.0.0",resolved:"https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz",integrity:"sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=",dev:!0,requires:{"object-visit":"^1.0.0"}},marked:{version:"0.7.0",resolved:"https://registry.npmjs.org/marked/-/marked-0.7.0.tgz",integrity:"sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==",dev:!0},maxmin:{version:"2.1.0",resolved:"https://registry.npmjs.org/maxmin/-/maxmin-2.1.0.tgz",integrity:"sha1-TTsiCQPZXu5+t6x/qGTnLcCaMWY=",dev:!0,requires:{chalk:"^1.0.0",figures:"^1.0.1","gzip-size":"^3.0.0","pretty-bytes":"^3.0.0"},dependencies:{"ansi-regex":{version:"2.1.1",resolved:"https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",integrity:"sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",dev:!0},"ansi-styles":{version:"2.2.1",resolved:"https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",integrity:"sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",dev:!0},chalk:{version:"1.1.3",resolved:"https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",integrity:"sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",dev:!0,requires:{"ansi-styles":"^2.2.1","escape-string-regexp":"^1.0.2","has-ansi":"^2.0.0","strip-ansi":"^3.0.0","supports-color":"^2.0.0"}},"has-ansi":{version:"2.0.0",resolved:"https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",integrity:"sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"strip-ansi":{version:"3.0.1",resolved:"https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",integrity:"sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",dev:!0,requires:{"ansi-regex":"^2.0.0"}},"supports-color":{version:"2.0.0",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",integrity:"sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",dev:!0}}},"md5.js":{version:"1.3.5",resolved:"https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz",integrity:"sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==",dev:!0,requires:{"hash-base":"^3.0.0",inherits:"^2.0.1","safe-buffer":"^5.1.2"}},meow:{version:"3.7.0",resolved:"https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",integrity:"sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",dev:!0,requires:{"camelcase-keys":"^2.0.0",decamelize:"^1.1.2","loud-rejection":"^1.0.0","map-obj":"^1.0.1",minimist:"^1.1.3","normalize-package-data":"^2.3.4","object-assign":"^4.0.1","read-pkg-up":"^1.0.1",redent:"^1.0.0","trim-newlines":"^1.0.0"}},micromatch:{version:"3.1.10",resolved:"https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",integrity:"sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==",dev:!0,requires:{"arr-diff":"^4.0.0","array-unique":"^0.3.2",braces:"^2.3.1","define-property":"^2.0.2","extend-shallow":"^3.0.2",extglob:"^2.0.4","fragment-cache":"^0.2.1","kind-of":"^6.0.2",nanomatch:"^1.2.9","object.pick":"^1.3.0","regex-not":"^1.0.0",snapdragon:"^0.8.1","to-regex":"^3.0.2"}},"miller-rabin":{version:"4.0.1",resolved:"https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz",integrity:"sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==",dev:!0,requires:{"bn.js":"^4.0.0",brorand:"^1.0.1"}},"minimalistic-assert":{version:"1.0.1",resolved:"https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",integrity:"sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==",dev:!0},"minimalistic-crypto-utils":{version:"1.0.1",resolved:"https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz",integrity:"sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=",dev:!0},minimatch:{version:"3.0.4",resolved:"https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",integrity:"sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",dev:!0,requires:{"brace-expansion":"^1.1.7"}},minimist:{version:"1.2.0",resolved:"https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",integrity:"sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",dev:!0},"mixin-deep":{version:"1.3.2",resolved:"https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz",integrity:"sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==",dev:!0,requires:{"for-in":"^1.0.2","is-extendable":"^1.0.1"},dependencies:{"is-extendable":{version:"1.0.1",resolved:"https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz",integrity:"sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==",dev:!0,requires:{"is-plain-object":"^2.0.4"}}}},mkdirp:{version:"0.5.1",resolved:"https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",integrity:"sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",dev:!0,requires:{minimist:"0.0.8"},dependencies:{minimist:{version:"0.0.8",resolved:"https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",integrity:"sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",dev:!0}}},"module-deps":{version:"6.2.1",resolved:"https://registry.npmjs.org/module-deps/-/module-deps-6.2.1.tgz",integrity:"sha512-UnEn6Ah36Tu4jFiBbJVUtt0h+iXqxpLqDvPS8nllbw5RZFmNJ1+Mz5BjYnM9ieH80zyxHkARGLnMIHlPK5bu6A==",dev:!0,requires:{JSONStream:"^1.0.3","browser-resolve":"^1.7.0","cached-path-relative":"^1.0.2","concat-stream":"~1.6.0",defined:"^1.0.0",detective:"^5.0.2",duplexer2:"^0.1.2",inherits:"^2.0.1",parents:"^1.0.0","readable-stream":"^2.0.2",resolve:"^1.4.0","stream-combiner2":"^1.1.1",subarg:"^1.0.0",through2:"^2.0.0",xtend:"^4.0.0"}},ms:{version:"2.0.0",resolved:"https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",integrity:"sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",dev:!0},nan:{version:"2.14.0",resolved:"https://registry.npmjs.org/nan/-/nan-2.14.0.tgz",integrity:"sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==",dev:!0,optional:!0},nanomatch:{version:"1.2.13",resolved:"https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",integrity:"sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==",dev:!0,requires:{"arr-diff":"^4.0.0","array-unique":"^0.3.2","define-property":"^2.0.2","extend-shallow":"^3.0.2","fragment-cache":"^0.2.1","is-windows":"^1.0.2","kind-of":"^6.0.2","object.pick":"^1.3.0","regex-not":"^1.0.0",snapdragon:"^0.8.1","to-regex":"^3.0.1"}},ncp:{version:"0.5.1",resolved:"https://registry.npmjs.org/ncp/-/ncp-0.5.1.tgz",integrity:"sha1-dDmFMW49tFkoG1hxaehFc1oFQ58=",dev:!0},"neo-async":{version:"2.6.1",resolved:"https://registry.npmjs.org/neo-async/-/neo-async-2.6.1.tgz",integrity:"sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==",dev:!0},nopt:{version:"3.0.6",resolved:"https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",integrity:"sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",dev:!0,requires:{abbrev:"1"}},normalice:{version:"1.0.1",resolved:"https://registry.npmjs.org/normalice/-/normalice-1.0.1.tgz",integrity:"sha1-A0NcLuzVYxprygLaOTDsPjRagPc="},"normalize-package-data":{version:"2.5.0",resolved:"https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz",integrity:"sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",dev:!0,requires:{"hosted-git-info":"^2.1.4",resolve:"^1.10.0",semver:"2 || 3 || 4 || 5","validate-npm-package-license":"^3.0.1"}},"normalize-path":{version:"3.0.0",resolved:"https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",integrity:"sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",dev:!0},num2fraction:{version:"1.2.2",resolved:"https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz",integrity:"sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=",dev:!0},"number-is-nan":{version:"1.0.1",resolved:"https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",integrity:"sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",dev:!0},"object-assign":{version:"4.1.1",resolved:"https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",integrity:"sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",dev:!0},"object-copy":{version:"0.1.0",resolved:"https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz",integrity:"sha1-fn2Fi3gb18mRpBupde04EnVOmYw=",dev:!0,requires:{"copy-descriptor":"^0.1.0","define-property":"^0.2.5","kind-of":"^3.0.3"},dependencies:{"define-property":{version:"0.2.5",resolved:"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",integrity:"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",dev:!0,requires:{"is-descriptor":"^0.1.0"}},"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"object-visit":{version:"1.0.1",resolved:"https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz",integrity:"sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=",dev:!0,requires:{isobject:"^3.0.0"}},"object.defaults":{version:"1.1.0",resolved:"https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz",integrity:"sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=",dev:!0,requires:{"array-each":"^1.0.1","array-slice":"^1.0.0","for-own":"^1.0.0",isobject:"^3.0.0"}},"object.map":{version:"1.0.1",resolved:"https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz",integrity:"sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=",dev:!0,requires:{"for-own":"^1.0.0","make-iterator":"^1.0.0"}},"object.pick":{version:"1.3.0",resolved:"https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz",integrity:"sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=",dev:!0,requires:{isobject:"^3.0.1"}},once:{version:"1.4.0",resolved:"https://registry.npmjs.org/once/-/once-1.4.0.tgz",integrity:"sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",dev:!0,requires:{wrappy:"1"}},optimist:{version:"0.6.1",resolved:"https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz",integrity:"sha1-2j6nRob6IaGaERwybpDrFaAZZoY=",dev:!0,requires:{minimist:"~0.0.1",wordwrap:"~0.0.2"},dependencies:{minimist:{version:"0.0.10",resolved:"https://registry.npmjs.org/minimist/-/minimist-0.0.10.tgz",integrity:"sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=",dev:!0}}},"os-browserify":{version:"0.3.0",resolved:"https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz",integrity:"sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=",dev:!0},"os-homedir":{version:"1.0.2",resolved:"https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",integrity:"sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",dev:!0},"os-tmpdir":{version:"1.0.2",resolved:"https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",integrity:"sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",dev:!0},osenv:{version:"0.1.5",resolved:"https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz",integrity:"sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==",dev:!0,requires:{"os-homedir":"^1.0.0","os-tmpdir":"^1.0.0"}},pako:{version:"1.0.10",resolved:"https://registry.npmjs.org/pako/-/pako-1.0.10.tgz",integrity:"sha512-0DTvPVU3ed8+HNXOu5Bs+o//Mbdj9VNQMUOe9oKCwh8l0GNwpTDMKCWbRjgtD291AWnkAgkqA/LOnQS8AmS1tw==",dev:!0},parents:{version:"1.0.1",resolved:"https://registry.npmjs.org/parents/-/parents-1.0.1.tgz",integrity:"sha1-/t1NK/GTp3dF/nHjcdc8MwfZx1E=",dev:!0,requires:{"path-platform":"~0.11.15"}},"parse-asn1":{version:"5.1.4",resolved:"https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.4.tgz",integrity:"sha512-Qs5duJcuvNExRfFZ99HDD3z4mAi3r9Wl/FOjEOijlxwCZs7E7mW2vjTpgQ4J8LpTF8x5v+1Vn5UQFejmWT11aw==",dev:!0,requires:{"asn1.js":"^4.0.0","browserify-aes":"^1.0.0","create-hash":"^1.1.0",evp_bytestokey:"^1.0.0",pbkdf2:"^3.0.3","safe-buffer":"^5.1.1"}},"parse-filepath":{version:"1.0.2",resolved:"https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz",integrity:"sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=",dev:!0,requires:{"is-absolute":"^1.0.0","map-cache":"^0.2.0","path-root":"^0.1.1"}},"parse-json":{version:"2.2.0",resolved:"https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz",integrity:"sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",dev:!0,requires:{"error-ex":"^1.2.0"}},"parse-passwd":{version:"1.0.0",resolved:"https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",integrity:"sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=",dev:!0},pascalcase:{version:"0.1.1",resolved:"https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz",integrity:"sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=",dev:!0},"path-browserify":{version:"0.0.1",resolved:"https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz",integrity:"sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==",dev:!0},"path-dirname":{version:"1.0.2",resolved:"https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz",integrity:"sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=",dev:!0},"path-exists":{version:"2.1.0",resolved:"https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",integrity:"sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",dev:!0,requires:{"pinkie-promise":"^2.0.0"}},"path-is-absolute":{version:"1.0.1",resolved:"https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",integrity:"sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",dev:!0},"path-parse":{version:"1.0.6",resolved:"https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",integrity:"sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",dev:!0},"path-platform":{version:"0.11.15",resolved:"https://registry.npmjs.org/path-platform/-/path-platform-0.11.15.tgz",integrity:"sha1-6GQhf3TDaFDwhSt43Hv31KVyG/I=",dev:!0},"path-root":{version:"0.1.1",resolved:"https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz",integrity:"sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=",dev:!0,requires:{"path-root-regex":"^0.1.0"}},"path-root-regex":{version:"0.1.2",resolved:"https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz",integrity:"sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=",dev:!0},"path-type":{version:"1.1.0",resolved:"https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",integrity:"sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",dev:!0,requires:{"graceful-fs":"^4.1.2",pify:"^2.0.0","pinkie-promise":"^2.0.0"}},pbkdf2:{version:"3.0.17",resolved:"https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.0.17.tgz",integrity:"sha512-U/il5MsrZp7mGg3mSQfn742na2T+1/vHDCG5/iTI3X9MKUuYUZVLQhyRsg06mCgDBTd57TxzgZt7P+fYfjRLtA==",dev:!0,requires:{"create-hash":"^1.1.2","create-hmac":"^1.1.4",ripemd160:"^2.0.1","safe-buffer":"^5.0.1","sha.js":"^2.4.8"}},pify:{version:"2.3.0",resolved:"https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",integrity:"sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",dev:!0},pinkie:{version:"2.0.4",resolved:"https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz",integrity:"sha1-clVrgM+g1IqXToDnckjoDtT3+HA=",dev:!0},"pinkie-promise":{version:"2.0.1",resolved:"https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz",integrity:"sha1-ITXW36ejWMBprJsXh3YogihFD/o=",dev:!0,requires:{pinkie:"^2.0.0"}},platform:{version:"1.3.5",resolved:"https://registry.npmjs.org/platform/-/platform-1.3.5.tgz",integrity:"sha512-TuvHS8AOIZNAlE77WUDiR4rySV/VMptyMfcfeoMgs4P8apaZM3JrnbzBiixKUv+XR6i+BXrQh8WAnjaSPFO65Q=="},"posix-character-classes":{version:"0.1.1",resolved:"https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz",integrity:"sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=",dev:!0},postcss:{version:"4.1.16",resolved:"https://registry.npmjs.org/postcss/-/postcss-4.1.16.tgz",integrity:"sha1-TESbTIr53zyvbTf44eV10DYXWNw=",dev:!0,requires:{"es6-promise":"~2.3.0","js-base64":"~2.1.8","source-map":"~0.4.2"},dependencies:{"source-map":{version:"0.4.4",resolved:"https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",integrity:"sha1-66T12pwNyZneaAMti092FzZSA2s=",dev:!0,requires:{amdefine:">=0.0.4"}}}},"pretty-bytes":{version:"3.0.1",resolved:"https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-3.0.1.tgz",integrity:"sha1-J9AAjXeAY6C0gRuzXHnxvV1fvM8=",dev:!0,requires:{"number-is-nan":"^1.0.0"}},process:{version:"0.11.10",resolved:"https://registry.npmjs.org/process/-/process-0.11.10.tgz",integrity:"sha1-czIwDoQBYb2j5podHZGn1LwW8YI=",dev:!0},"process-nextick-args":{version:"2.0.1",resolved:"https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",integrity:"sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==",dev:!0},progress:{version:"2.0.3",resolved:"https://registry.npmjs.org/progress/-/progress-2.0.3.tgz",integrity:"sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",dev:!0},"public-encrypt":{version:"4.0.3",resolved:"https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz",integrity:"sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==",dev:!0,requires:{"bn.js":"^4.1.0","browserify-rsa":"^4.0.0","create-hash":"^1.1.0","parse-asn1":"^5.0.0",randombytes:"^2.0.1","safe-buffer":"^5.1.2"}},punycode:{version:"1.4.1",resolved:"https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",integrity:"sha1-wNWmOycYgArY4esPpSachN1BhF4=",dev:!0},qs:{version:"6.7.0",resolved:"https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",integrity:"sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==",dev:!0},querystring:{version:"0.2.0",resolved:"https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz",integrity:"sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=",dev:!0},"querystring-es3":{version:"0.2.1",resolved:"https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",integrity:"sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",dev:!0},randombytes:{version:"2.1.0",resolved:"https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",integrity:"sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==",dev:!0,requires:{"safe-buffer":"^5.1.0"}},randomfill:{version:"1.0.4",resolved:"https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz",integrity:"sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==",dev:!0,requires:{randombytes:"^2.0.5","safe-buffer":"^5.1.0"}},"raw-body":{version:"1.1.7",resolved:"https://registry.npmjs.org/raw-body/-/raw-body-1.1.7.tgz",integrity:"sha1-HQJ8K/oRasxmI7yo8AAWVyqH1CU=",dev:!0,requires:{bytes:"1",string_decoder:"0.10"},dependencies:{string_decoder:{version:"0.10.31",resolved:"https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",integrity:"sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",dev:!0}}},"read-only-stream":{version:"2.0.0",resolved:"https://registry.npmjs.org/read-only-stream/-/read-only-stream-2.0.0.tgz",integrity:"sha1-JyT9aoET1zdkrCiNQ4YnDB2/F/A=",dev:!0,requires:{"readable-stream":"^2.0.2"}},"read-pkg":{version:"1.1.0",resolved:"https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",integrity:"sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",dev:!0,requires:{"load-json-file":"^1.0.0","normalize-package-data":"^2.3.2","path-type":"^1.0.0"}},"read-pkg-up":{version:"1.0.1",resolved:"https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",integrity:"sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",dev:!0,requires:{"find-up":"^1.0.0","read-pkg":"^1.0.0"}},"readable-stream":{version:"2.3.6",resolved:"https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz",integrity:"sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==",dev:!0,requires:{"core-util-is":"~1.0.0",inherits:"~2.0.3",isarray:"~1.0.0","process-nextick-args":"~2.0.0","safe-buffer":"~5.1.1",string_decoder:"~1.1.1","util-deprecate":"~1.0.1"},dependencies:{"safe-buffer":{version:"5.1.2",resolved:"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",integrity:"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",dev:!0},string_decoder:{version:"1.1.1",resolved:"https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",integrity:"sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",dev:!0,requires:{"safe-buffer":"~5.1.0"}}}},readdirp:{version:"2.2.1",resolved:"https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz",integrity:"sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==",dev:!0,requires:{"graceful-fs":"^4.1.11",micromatch:"^3.1.10","readable-stream":"^2.0.2"}},rechoir:{version:"0.6.2",resolved:"https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",integrity:"sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=",dev:!0,requires:{resolve:"^1.1.6"}},redent:{version:"1.0.0",resolved:"https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",integrity:"sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",dev:!0,requires:{"indent-string":"^2.1.0","strip-indent":"^1.0.1"}},"regex-not":{version:"1.0.2",resolved:"https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",integrity:"sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",dev:!0,requires:{"extend-shallow":"^3.0.2","safe-regex":"^1.1.0"}},"remove-trailing-separator":{version:"1.1.0",resolved:"https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",integrity:"sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",dev:!0},"repeat-element":{version:"1.1.3",resolved:"https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz",integrity:"sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==",dev:!0},"repeat-string":{version:"1.6.1",resolved:"https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",integrity:"sha1-jcrkcOHIirwtYA//Sndihtp15jc=",dev:!0},repeating:{version:"2.0.1",resolved:"https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",integrity:"sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",dev:!0,requires:{"is-finite":"^1.0.0"}},resolve:{version:"1.11.1",resolved:"https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz",integrity:"sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==",dev:!0,requires:{"path-parse":"^1.0.6"}},"resolve-dir":{version:"1.0.1",resolved:"https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz",integrity:"sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=",dev:!0,requires:{"expand-tilde":"^2.0.0","global-modules":"^1.0.0"}},"resolve-url":{version:"0.2.1",resolved:"https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",integrity:"sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=",dev:!0},ret:{version:"0.1.15",resolved:"https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",integrity:"sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==",dev:!0},rimraf:{version:"2.6.3",resolved:"https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",integrity:"sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",dev:!0,requires:{glob:"^7.1.3"}},ripemd160:{version:"2.0.2",resolved:"https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz",integrity:"sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==",dev:!0,requires:{"hash-base":"^3.0.0",inherits:"^2.0.1"}},"safe-buffer":{version:"5.2.0",resolved:"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz",integrity:"sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==",dev:!0},"safe-json-parse":{version:"1.0.1",resolved:"https://registry.npmjs.org/safe-json-parse/-/safe-json-parse-1.0.1.tgz",integrity:"sha1-PnZyPjjf3aE8mx0poeB//uSzC1c=",dev:!0},"safe-regex":{version:"1.1.0",resolved:"https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",integrity:"sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",dev:!0,requires:{ret:"~0.1.10"}},"safer-buffer":{version:"2.1.2",resolved:"https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",integrity:"sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",dev:!0},sax:{version:"1.2.4",resolved:"https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",integrity:"sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==",dev:!0},semver:{version:"5.7.0",resolved:"https://registry.npmjs.org/semver/-/semver-5.7.0.tgz",integrity:"sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==",dev:!0},"set-value":{version:"2.0.1",resolved:"https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz",integrity:"sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==",dev:!0,requires:{"extend-shallow":"^2.0.1","is-extendable":"^0.1.1","is-plain-object":"^2.0.3","split-string":"^3.0.1"},dependencies:{"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}}}},"sha.js":{version:"2.4.11",resolved:"https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz",integrity:"sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==",dev:!0,requires:{inherits:"^2.0.1","safe-buffer":"^5.0.1"}},shasum:{version:"1.0.2",resolved:"https://registry.npmjs.org/shasum/-/shasum-1.0.2.tgz",integrity:"sha1-5wEjENj0F/TetXEhUOVni4euVl8=",dev:!0,requires:{"json-stable-stringify":"~0.0.0","sha.js":"~2.4.4"}},"shell-quote":{version:"1.6.1",resolved:"https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz",integrity:"sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=",dev:!0,requires:{"array-filter":"~0.0.0","array-map":"~0.0.0","array-reduce":"~0.0.0",jsonify:"~0.0.0"}},shelljs:{version:"0.8.3",resolved:"https://registry.npmjs.org/shelljs/-/shelljs-0.8.3.tgz",integrity:"sha512-fc0BKlAWiLpwZljmOvAOTE/gXawtCoNrP5oaY7KIaQbbyHeQVg01pSEuEGvGh3HEdBU4baCD7wQBwADmM/7f7A==",dev:!0,requires:{glob:"^7.0.0",interpret:"^1.0.0",rechoir:"^0.6.2"}},"signal-exit":{version:"3.0.2",resolved:"https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",integrity:"sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=",dev:!0},"simple-concat":{version:"1.0.0",resolved:"https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.0.tgz",integrity:"sha1-c0TLuLbib7J9ZrL8hvn21Zl1IcY=",dev:!0},snapdragon:{version:"0.8.2",resolved:"https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",integrity:"sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==",dev:!0,requires:{base:"^0.11.1",debug:"^2.2.0","define-property":"^0.2.5","extend-shallow":"^2.0.1","map-cache":"^0.2.2","source-map":"^0.5.6","source-map-resolve":"^0.5.0",use:"^3.1.0"},dependencies:{"define-property":{version:"0.2.5",resolved:"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",integrity:"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",dev:!0,requires:{"is-descriptor":"^0.1.0"}},"extend-shallow":{version:"2.0.1",resolved:"https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz",integrity:"sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=",dev:!0,requires:{"is-extendable":"^0.1.0"}}}},"snapdragon-node":{version:"2.1.1",resolved:"https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz",integrity:"sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==",dev:!0,requires:{"define-property":"^1.0.0",isobject:"^3.0.0","snapdragon-util":"^3.0.1"},dependencies:{"define-property":{version:"1.0.0",resolved:"https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz",integrity:"sha1-dp66rz9KY6rTr56NMEybvnm/sOY=",dev:!0,requires:{"is-descriptor":"^1.0.0"}},"is-accessor-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz",integrity:"sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-data-descriptor":{version:"1.0.0",resolved:"https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz",integrity:"sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==",dev:!0,requires:{"kind-of":"^6.0.0"}},"is-descriptor":{version:"1.0.2",resolved:"https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz",integrity:"sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==",dev:!0,requires:{"is-accessor-descriptor":"^1.0.0","is-data-descriptor":"^1.0.0","kind-of":"^6.0.2"}}}},"snapdragon-util":{version:"3.0.1",resolved:"https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz",integrity:"sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==",dev:!0,requires:{"kind-of":"^3.2.0"},dependencies:{"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"source-map":{version:"0.5.7",resolved:"https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",integrity:"sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",dev:!0},"source-map-resolve":{version:"0.5.2",resolved:"https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz",integrity:"sha512-MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==",dev:!0,requires:{atob:"^2.1.1","decode-uri-component":"^0.2.0","resolve-url":"^0.2.1","source-map-url":"^0.4.0",urix:"^0.1.0"}},"source-map-url":{version:"0.4.0",resolved:"https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz",integrity:"sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=",dev:!0},"spdx-correct":{version:"3.1.0",resolved:"https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz",integrity:"sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==",dev:!0,requires:{"spdx-expression-parse":"^3.0.0","spdx-license-ids":"^3.0.0"}},"spdx-exceptions":{version:"2.2.0",resolved:"https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz",integrity:"sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==",dev:!0},"spdx-expression-parse":{version:"3.0.0",resolved:"https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz",integrity:"sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==",dev:!0,requires:{"spdx-exceptions":"^2.1.0","spdx-license-ids":"^3.0.0"}},"spdx-license-ids":{version:"3.0.5",resolved:"https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz",integrity:"sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==",dev:!0},"split-string":{version:"3.1.0",resolved:"https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz",integrity:"sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==",dev:!0,requires:{"extend-shallow":"^3.0.0"}},"sprintf-js":{version:"1.1.2",resolved:"https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz",integrity:"sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==",dev:!0},"static-extend":{version:"0.1.2",resolved:"https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",integrity:"sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=",dev:!0,requires:{"define-property":"^0.2.5","object-copy":"^0.1.0"},dependencies:{"define-property":{version:"0.2.5",resolved:"https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz",integrity:"sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=",dev:!0,requires:{"is-descriptor":"^0.1.0"}}}},"stream-browserify":{version:"2.0.2",resolved:"https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz",integrity:"sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==",dev:!0,requires:{inherits:"~2.0.1","readable-stream":"^2.0.2"}},"stream-combiner2":{version:"1.1.1",resolved:"https://registry.npmjs.org/stream-combiner2/-/stream-combiner2-1.1.1.tgz",integrity:"sha1-+02KFCDqNidk4hrUeAOXvry0HL4=",dev:!0,requires:{duplexer2:"~0.1.0","readable-stream":"^2.0.2"}},"stream-http":{version:"2.8.3",resolved:"https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz",integrity:"sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==",dev:!0,requires:{"builtin-status-codes":"^3.0.0",inherits:"^2.0.1","readable-stream":"^2.3.6","to-arraybuffer":"^1.0.0",xtend:"^4.0.0"}},"stream-splicer":{version:"2.0.1",resolved:"https://registry.npmjs.org/stream-splicer/-/stream-splicer-2.0.1.tgz",integrity:"sha512-Xizh4/NPuYSyAXyT7g8IvdJ9HJpxIGL9PjyhtywCZvvP0OPIdqyrr4dMikeuvY8xahpdKEBlBTySe583totajg==",dev:!0,requires:{inherits:"^2.0.1","readable-stream":"^2.0.2"}},"string-template":{version:"0.2.1",resolved:"https://registry.npmjs.org/string-template/-/string-template-0.2.1.tgz",integrity:"sha1-QpMuWYo1LQH8IuwzZ9nYTuxsmt0=",dev:!0},string_decoder:{version:"1.2.0",resolved:"https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz",integrity:"sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==",dev:!0,requires:{"safe-buffer":"~5.1.0"},dependencies:{"safe-buffer":{version:"5.1.2",resolved:"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",integrity:"sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",dev:!0}}},"strip-ansi":{version:"2.0.1",resolved:"https://registry.npmjs.org/strip-ansi/-/strip-ansi-2.0.1.tgz",integrity:"sha1-32LBqpTtLxFOHQ8h/R1QSCt5pg4=",dev:!0,requires:{"ansi-regex":"^1.0.0"}},"strip-bom":{version:"2.0.0",resolved:"https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",integrity:"sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",dev:!0,requires:{"is-utf8":"^0.2.0"}},"strip-indent":{version:"1.0.1",resolved:"https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",integrity:"sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",dev:!0,requires:{"get-stdin":"^4.0.1"}},"strip-json-comments":{version:"2.0.1",resolved:"https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",integrity:"sha1-PFMZQukIwml8DsNEhYwobHygpgo=",dev:!0},subarg:{version:"1.0.0",resolved:"https://registry.npmjs.org/subarg/-/subarg-1.0.0.tgz",integrity:"sha1-9izxdYHplrSPyWVpn1TAauJouNI=",dev:!0,requires:{minimist:"^1.1.0"}},"supports-color":{version:"5.5.0",resolved:"https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",integrity:"sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",dev:!0,requires:{"has-flag":"^3.0.0"}},"syntax-error":{version:"1.4.0",resolved:"https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz",integrity:"sha512-YPPlu67mdnHGTup2A8ff7BC2Pjq0e0Yp/IyTFN03zWO0RcK07uLcbi7C2KpGR2FvWbaB0+bfE27a+sBKebSo7w==",dev:!0,requires:{"acorn-node":"^1.2.0"}},through:{version:"2.3.8",resolved:"https://registry.npmjs.org/through/-/through-2.3.8.tgz",integrity:"sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",dev:!0},through2:{version:"2.0.5",resolved:"https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",integrity:"sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==",dev:!0,requires:{"readable-stream":"~2.3.6",xtend:"~4.0.1"}},"timers-browserify":{version:"1.4.2",resolved:"https://registry.npmjs.org/timers-browserify/-/timers-browserify-1.4.2.tgz",integrity:"sha1-ycWLV1voQHN1y14kYtrO50NZ9B0=",dev:!0,requires:{process:"~0.11.0"}},"tiny-lr":{version:"1.1.1",resolved:"https://registry.npmjs.org/tiny-lr/-/tiny-lr-1.1.1.tgz",integrity:"sha512-44yhA3tsaRoMOjQQ+5v5mVdqef+kH6Qze9jTpqtVufgYjYt08zyZAwNwwVBj3i1rJMnR52IxOW0LK0vBzgAkuA==",dev:!0,requires:{body:"^5.1.0",debug:"^3.1.0","faye-websocket":"~0.10.0","livereload-js":"^2.3.0","object-assign":"^4.1.0",qs:"^6.4.0"},dependencies:{debug:{version:"3.2.6",resolved:"https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",integrity:"sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",dev:!0,requires:{ms:"^2.1.1"}},ms:{version:"2.1.2",resolved:"https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",integrity:"sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",dev:!0}}},"to-arraybuffer":{version:"1.0.1",resolved:"https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",integrity:"sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=",dev:!0},"to-object-path":{version:"0.3.0",resolved:"https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz",integrity:"sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=",dev:!0,requires:{"kind-of":"^3.0.2"},dependencies:{"kind-of":{version:"3.2.2",resolved:"https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",integrity:"sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",dev:!0,requires:{"is-buffer":"^1.1.5"}}}},"to-regex":{version:"3.0.2",resolved:"https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz",integrity:"sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==",dev:!0,requires:{"define-property":"^2.0.2","extend-shallow":"^3.0.2","regex-not":"^1.0.2","safe-regex":"^1.1.0"}},"to-regex-range":{version:"2.1.1",resolved:"https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz",integrity:"sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=",dev:!0,requires:{"is-number":"^3.0.0","repeat-string":"^1.6.1"}},"trim-newlines":{version:"1.0.0",resolved:"https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",integrity:"sha1-WIeWa7WCpFA6QetST301ARgVphM=",dev:!0},tsconfig:{version:"5.0.3",resolved:"https://registry.npmjs.org/tsconfig/-/tsconfig-5.0.3.tgz",integrity:"sha1-X0J45wGACWeo/Dg/0ZZIh48qbjo=",dev:!0,requires:{"any-promise":"^1.3.0","parse-json":"^2.2.0","strip-bom":"^2.0.0","strip-json-comments":"^2.0.0"}},tsify:{version:"4.0.1",resolved:"https://registry.npmjs.org/tsify/-/tsify-4.0.1.tgz",integrity:"sha512-ClznEI+pmwY5wmD0J7HCSVERwkD+l71ch3Dqyod2JuQLEsFaiNDI+vPjaGadsuVFVvmzgoI7HghrBtWsSmCDHQ==",dev:!0,requires:{"convert-source-map":"^1.1.0","fs.realpath":"^1.0.0","object-assign":"^4.1.0",semver:"^5.6.0",through2:"^2.0.0",tsconfig:"^5.0.3"}},tslib:{version:"1.10.0",resolved:"https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",integrity:"sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",dev:!0},tslint:{version:"5.18.0",resolved:"https://registry.npmjs.org/tslint/-/tslint-5.18.0.tgz",integrity:"sha512-Q3kXkuDEijQ37nXZZLKErssQVnwCV/+23gFEMROi8IlbaBG6tXqLPQJ5Wjcyt/yHPKBC+hD5SzuGaMora+ZS6w==",dev:!0,requires:{"@babel/code-frame":"^7.0.0","builtin-modules":"^1.1.1",chalk:"^2.3.0",commander:"^2.12.1",diff:"^3.2.0",glob:"^7.1.1","js-yaml":"^3.13.1",minimatch:"^3.0.4",mkdirp:"^0.5.1",resolve:"^1.3.2",semver:"^5.3.0",tslib:"^1.8.0",tsutils:"^2.29.0"},dependencies:{diff:{version:"3.5.0",resolved:"https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",integrity:"sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==",dev:!0}}},tsutils:{version:"2.29.0",resolved:"https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",integrity:"sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",dev:!0,requires:{tslib:"^1.8.1"}},"tty-browserify":{version:"0.0.1",resolved:"https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz",integrity:"sha512-C3TaO7K81YvjCgQH9Q1S3R3P3BtN3RIM8n+OvX4il1K1zgE8ZhI0op7kClgkxtutIE8hQrcrHBXvIheqKUUCxw==",dev:!0},typedarray:{version:"0.0.6",resolved:"https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz",integrity:"sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=",dev:!0},typedoc:{version:"0.15.0",resolved:"https://registry.npmjs.org/typedoc/-/typedoc-0.15.0.tgz",integrity:"sha512-NOtfq5Tis4EFt+J2ozhVq9RCeUnfEYMFKoU6nCXCXUULJz1UQynOM+yH3TkfZCPLzigbqB0tQYGVlktUWweKlw==",dev:!0,requires:{"@types/minimatch":"3.0.3","fs-extra":"^8.1.0",handlebars:"^4.1.2","highlight.js":"^9.15.8",lodash:"^4.17.15",marked:"^0.7.0",minimatch:"^3.0.0",progress:"^2.0.3",shelljs:"^0.8.3","typedoc-default-themes":"^0.6.0",typescript:"3.5.x"}},"typedoc-default-themes":{version:"0.6.0",resolved:"https://registry.npmjs.org/typedoc-default-themes/-/typedoc-default-themes-0.6.0.tgz",integrity:"sha512-MdTROOojxod78CEv22rIA69o7crMPLnVZPefuDLt/WepXqJwgiSu8Xxq+H36x0Jj3YGc7lOglI2vPJ2GhoOybw==",dev:!0,requires:{backbone:"^1.4.0",jquery:"^3.4.1",lunr:"^2.3.6",underscore:"^1.9.1"}},typescript:{version:"3.5.3",resolved:"https://registry.npmjs.org/typescript/-/typescript-3.5.3.tgz",integrity:"sha512-ACzBtm/PhXBDId6a6sDJfroT2pOWt/oOnk4/dElG5G33ZL776N3Y6/6bKZJBFpd+b05F3Ct9qDjMeJmRWtE2/g==",dev:!0},"uglify-js":{version:"3.6.0",resolved:"https://registry.npmjs.org/uglify-js/-/uglify-js-3.6.0.tgz",integrity:"sha512-W+jrUHJr3DXKhrsS7NUVxn3zqMOFn0hL/Ei6v0anCIMoKC93TjcflTagwIHLW7SfMFfiQuktQyFVCFHGUE0+yg==",dev:!0,requires:{commander:"~2.20.0","source-map":"~0.6.1"},dependencies:{"source-map":{version:"0.6.1",resolved:"https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",integrity:"sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",dev:!0}}},umd:{version:"3.0.3",resolved:"https://registry.npmjs.org/umd/-/umd-3.0.3.tgz",integrity:"sha512-4IcGSufhFshvLNcMCV80UnQVlZ5pMOC8mvNPForqwA4+lzYQuetTESLDQkeLmihq8bRcnpbQa48Wb8Lh16/xow==",dev:!0},"unc-path-regex":{version:"0.1.2",resolved:"https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz",integrity:"sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",dev:!0},"undeclared-identifiers":{version:"1.1.3",resolved:"https://registry.npmjs.org/undeclared-identifiers/-/undeclared-identifiers-1.1.3.tgz",integrity:"sha512-pJOW4nxjlmfwKApE4zvxLScM/njmwj/DiUBv7EabwE4O8kRUy+HIwxQtZLBPll/jx1LJyBcqNfB3/cpv9EZwOw==",dev:!0,requires:{"acorn-node":"^1.3.0","dash-ast":"^1.0.0","get-assigned-identifiers":"^1.2.0","simple-concat":"^1.0.0",xtend:"^4.0.1"}},underscore:{version:"1.9.1",resolved:"https://registry.npmjs.org/underscore/-/underscore-1.9.1.tgz",integrity:"sha512-5/4etnCkd9c8gwgowi5/om/mYO5ajCaOgdzj/oW+0eQV9WxKBDZw5+ycmKmeaTXjInS/W0BzpGLo2xR2aBwZdg==",dev:!0},"underscore.string":{version:"3.3.5",resolved:"https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",integrity:"sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==",dev:!0,requires:{"sprintf-js":"^1.0.3","util-deprecate":"^1.0.2"}},"union-value":{version:"1.0.1",resolved:"https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",integrity:"sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==",dev:!0,requires:{"arr-union":"^3.1.0","get-value":"^2.0.6","is-extendable":"^0.1.1","set-value":"^2.0.1"}},universalify:{version:"0.1.2",resolved:"https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",integrity:"sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==",dev:!0},"unset-value":{version:"1.0.0",resolved:"https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz",integrity:"sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=",dev:!0,requires:{"has-value":"^0.3.1",isobject:"^3.0.0"},dependencies:{"has-value":{version:"0.3.1",resolved:"https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz",integrity:"sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=",dev:!0,requires:{"get-value":"^2.0.3","has-values":"^0.1.4",isobject:"^2.0.0"},dependencies:{isobject:{version:"2.1.0",resolved:"https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",integrity:"sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",dev:!0,requires:{isarray:"1.0.0"}}}},"has-values":{version:"0.1.4",resolved:"https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz",integrity:"sha1-bWHeldkd/Km5oCCJrThL/49it3E=",dev:!0}}},upath:{version:"1.1.2",resolved:"https://registry.npmjs.org/upath/-/upath-1.1.2.tgz",integrity:"sha512-kXpym8nmDmlCBr7nKdIx8P2jNBa+pBpIUFRnKJ4dr8htyYGJFokkr2ZvERRtUN+9SY+JqXouNgUPtv6JQva/2Q==",dev:!0},"uri-path":{version:"1.0.0",resolved:"https://registry.npmjs.org/uri-path/-/uri-path-1.0.0.tgz",integrity:"sha1-l0fwGDWJM8Md4PzP2C0TjmcmLjI=",dev:!0},urix:{version:"0.1.0",resolved:"https://registry.npmjs.org/urix/-/urix-0.1.0.tgz",integrity:"sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=",dev:!0},url:{version:"0.11.0",resolved:"https://registry.npmjs.org/url/-/url-0.11.0.tgz",integrity:"sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=",dev:!0,requires:{punycode:"1.3.2",querystring:"0.2.0"},dependencies:{punycode:{version:"1.3.2",resolved:"https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz",integrity:"sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=",dev:!0}}},use:{version:"3.1.1",resolved:"https://registry.npmjs.org/use/-/use-3.1.1.tgz",integrity:"sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==",dev:!0},util:{version:"0.10.4",resolved:"https://registry.npmjs.org/util/-/util-0.10.4.tgz",integrity:"sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==",dev:!0,requires:{inherits:"2.0.3"},dependencies:{inherits:{version:"2.0.3",resolved:"https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",integrity:"sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",dev:!0}}},"util-deprecate":{version:"1.0.2",resolved:"https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",integrity:"sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",dev:!0},uuid:{version:"3.3.2",resolved:"https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",integrity:"sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="},v8flags:{version:"3.1.3",resolved:"https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz",integrity:"sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==",dev:!0,requires:{"homedir-polyfill":"^1.0.1"}},"validate-npm-package-license":{version:"3.0.4",resolved:"https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",integrity:"sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",dev:!0,requires:{"spdx-correct":"^3.0.0","spdx-expression-parse":"^3.0.0"}},"vm-browserify":{version:"1.1.0",resolved:"https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.0.tgz",integrity:"sha512-iq+S7vZJE60yejDYM0ek6zg308+UZsdtPExWP9VZoCFCz1zkJoXFnAX7aZfd/ZwrkidzdUZL0C/ryW+JwAiIGw==",dev:!0},"websocket-driver":{version:"0.7.3",resolved:"https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.3.tgz",integrity:"sha512-bpxWlvbbB459Mlipc5GBzzZwhoZgGEZLuqPaR0INBGnPAY1vdBX6hPnoFXiw+3yWxDuHyQjO2oXTMyS8A5haFg==",dev:!0,requires:{"http-parser-js":">=0.4.0 <0.4.11","safe-buffer":">=5.1.0","websocket-extensions":">=0.1.1"}},"websocket-extensions":{version:"0.1.3",resolved:"https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",integrity:"sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==",dev:!0},which:{version:"1.3.1",resolved:"https://registry.npmjs.org/which/-/which-1.3.1.tgz",integrity:"sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==",dev:!0,requires:{isexe:"^2.0.0"}},wildemitter:{version:"1.2.1",resolved:"https://registry.npmjs.org/wildemitter/-/wildemitter-1.2.1.tgz",integrity:"sha512-UMmSUoIQSir+XbBpTxOTS53uJ8s/lVhADCkEbhfRjUGFDPme/XGOb0sBWLx5sTz7Wx/2+TlAw1eK9O5lw5PiEw=="},"wolfy87-eventemitter":{version:"5.2.6",resolved:"https://registry.npmjs.org/wolfy87-eventemitter/-/wolfy87-eventemitter-5.2.6.tgz",integrity:"sha512-n+bSucT1j9ZEoosxnfuH81bWqtZG4QEtZ9WEuiXz9YQAHEktGYKoSoMTKWTJEcYux8lWoqp1KqHPBpwvJKFFTw=="},wordwrap:{version:"0.0.3",resolved:"https://registry.npmjs.org/wordwrap/-/wordwrap-0.0.3.tgz",integrity:"sha1-o9XabNXAvAAI03I0u68b7WMFkQc=",dev:!0},wrappy:{version:"1.0.2",resolved:"https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",integrity:"sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",dev:!0},xml2js:{version:"0.4.19",resolved:"https://registry.npmjs.org/xml2js/-/xml2js-0.4.19.tgz",integrity:"sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q==",dev:!0,requires:{sax:">=0.6.0",xmlbuilder:"~9.0.1"}},xmlbuilder:{version:"9.0.7",resolved:"https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",integrity:"sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=",dev:!0},xtend:{version:"4.0.2",resolved:"https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz",integrity:"sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==",dev:!0}}},_spec:"openvidu-browser@2.11.0",_where:"/opt/front/openvidu-call",author:{name:"OpenVidu"},bugs:{url:"https://github.com/OpenVidu/openvidu/issues"},bundleDependencies:!1,dependencies:{"@types/node":"12.6.8","@types/platform":"1.3.2",freeice:"2.2.2",hark:"1.2.3",platform:"1.3.5",uuid:"3.3.2","wolfy87-eventemitter":"5.2.6"},deprecated:!1,description:"OpenVidu Browser",devDependencies:{browserify:"16.3.0",grunt:"1.0.4","grunt-autoprefixer":"3.0.4","grunt-cli":"1.3.2","grunt-contrib-copy":"1.0.0","grunt-contrib-sass":"1.0.0","grunt-contrib-uglify":"4.0.1","grunt-contrib-watch":"1.1.0","grunt-string-replace":"1.3.1","grunt-ts":"6.0.0-beta.22",tsify:"4.0.1",tslint:"5.18.0",typedoc:"0.15.0",typescript:"3.5.3","uglify-js":"3.6.0"},homepage:"https://github.com/OpenVidu/openvidu#readme",license:"Apache-2.0",main:"lib/index.js",name:"openvidu-browser",repository:{type:"git",url:"git://github.com/OpenVidu/openvidu.git"},scripts:{browserify:"VERSION=${VERSION:-}; cd src && ../node_modules/browserify/bin/cmd.js Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../static/js/openvidu-browser-$VERSION.js -v","browserify-prod":"VERSION=${VERSION:-}; cd src && ../node_modules/browserify/bin/cmd.js --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | ../node_modules/uglify-js/bin/uglifyjs --source-map content=inline --output ../static/js/openvidu-browser-$VERSION.min.js",build:"cd src/OpenVidu && ./../../node_modules/typescript/bin/tsc && cd ../.. && ./node_modules/typescript/bin/tsc --declaration src/index.ts --outDir ./lib --sourceMap --lib dom,es5,es2015.promise,scripthost",docs:"./node_modules/typedoc/bin/typedoc --options ./config/typedoc.js --out ./docs ./src && rm -rf ../../openvidu.io/api/openvidu-browser/* && cp -R ./docs/. ../../openvidu.io/api/openvidu-browser",test:'echo "Error: no test specified" && exit 1'},types:"lib/index.d.ts",version:"2.11.0"}},vqGb:function(e,t,n){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var r=n("RvMX"),i=n("JUw6"),o=n("dlaP"),s=(0,r.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t<this.v.length;t++)e.push(this.v[t].toString());return e.join("")},toHref:function(){return this.toString()},toObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var a=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0}),l=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"text"}),c=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"nl"}),d=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",n=!1,r=!1,i=this.v,s=[],a=0;i[a]instanceof o.PROTOCOL;)n=!0,s.push(i[a].toString().toLowerCase()),a++;for(;i[a]instanceof o.SLASH;)r=!0,s.push(i[a].toString()),a++;for(;(e=i[a])instanceof o.DOMAIN||e instanceof o.TLD;)s.push(i[a].toString().toLowerCase()),a++;for(;a<i.length;a++)s.push(i[a].toString());return s=s.join(""),n||r||(s=t+"://"+s),s},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=s,t.MAILTOEMAIL=a,t.EMAIL=l,t.NL=c,t.TEXT=u,t.URL=d},yLV6:function(e,t,n){var r;!function(i,o,s,a){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",p=Math.round,h=Math.abs,f=Date.now;function m(e,t,n){return setTimeout(S(e,n),t)}function g(e,t,n){return!!Array.isArray(e)&&(v(e,n[t],n),!0)}function v(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==a)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function y(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=i.console&&(i.console.warn||i.console.log);return o&&o.call(i.console,r,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===a||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==a&&null!==r)for(var i in r)r.hasOwnProperty(i)&&(t[i]=r[i])}return t}:Object.assign;var b=y(function(e,t,n){for(var r=Object.keys(t),i=0;i<r.length;)(!n||n&&e[r[i]]===a)&&(e[r[i]]=t[r[i]]),i++;return e},"extend","Use `assign`."),_=y(function(e,t){return b(e,t,!0)},"merge","Use `assign`.");function w(e,t,n){var r,i=t.prototype;(r=e.prototype=Object.create(i)).constructor=e,r._super=i,n&&l(r,n)}function S(e,t){return function(){return e.apply(t,arguments)}}function C(e,t){return typeof e==d?e.apply(t&&t[0]||a,t):e}function x(e,t){return e===a?t:e}function E(e,t,n){v(I(t),function(t){e.addEventListener(t,n,!1)})}function k(e,t,n){v(I(t),function(t){e.removeEventListener(t,n,!1)})}function O(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function T(e,t){return e.indexOf(t)>-1}function I(e){return e.trim().split(/\s+/g)}function A(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function P(e){return Array.prototype.slice.call(e,0)}function M(e,t,n){for(var r=[],i=[],o=0;o<e.length;){var s=t?e[o][t]:e[o];A(i,s)<0&&r.push(e[o]),i[o]=s,o++}return n&&(r=t?r.sort(function(e,n){return e[t]>n[t]}):r.sort()),r}function R(e,t){for(var n,r,i=t[0].toUpperCase()+t.slice(1),o=0;o<u.length;){if((r=(n=u[o])?n+i:t)in e)return r;o++}return a}var j=1;function N(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||i}var D="ontouchstart"in i,L=R(i,"PointerEvent")!==a,z=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),V=25,F=1,U=4,B=8,q=1,H=2,W=4,G=8,Q=16,Y=H|W,Z=G|Q,K=Y|Z,X=["x","y"],J=["clientX","clientY"];function $(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){C(e.options.enable,[e])&&n.handler(t)},this.init()}function ee(e,t,n){var r=n.pointers.length,i=n.changedPointers.length,o=t&F&&r-i==0,s=t&(U|B)&&r-i==0;n.isFirst=!!o,n.isFinal=!!s,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,i=r.length;n.firstInput||(n.firstInput=te(t)),i>1&&!n.firstMultiple?n.firstMultiple=te(t):1===i&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,l=s?s.center:o.center,u=t.center=ne(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=se(l,u),t.distance=oe(l,u),function(e,t){var n=t.center,r=e.offsetDelta||{},i=e.prevDelta||{},o=e.prevInput||{};t.eventType!==F&&o.eventType!==U||(i=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=i.x+(n.x-r.x),t.deltaY=i.y+(n.y-r.y)}(n,t),t.offsetDirection=ie(t.deltaX,t.deltaY);var c,d,p=re(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=p.x,t.overallVelocityY=p.y,t.overallVelocity=h(p.x)>h(p.y)?p.x:p.y,t.scale=s?(c=s.pointers,oe((d=r)[0],d[1],J)/oe(c[0],c[1],J)):1,t.rotation=s?function(e,t){return se(r[1],r[0],J)+se(e[1],e[0],J)}(s.pointers):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,i,o,s=e.lastInterval||t,l=t.timeStamp-s.timeStamp;if(t.eventType!=B&&(l>V||s.velocity===a)){var u=t.deltaX-s.deltaX,c=t.deltaY-s.deltaY,d=re(l,u,c);r=d.x,i=d.y,n=h(d.x)>h(d.y)?d.x:d.y,o=ie(u,c),e.lastInterval=t}else n=s.velocity,r=s.velocityX,i=s.velocityY,o=s.direction;t.velocity=n,t.velocityX=r,t.velocityY=i,t.direction=o}(n,t);var m=e.element;O(t.srcEvent.target,m)&&(m=t.srcEvent.target),t.target=m}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function te(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:p(e.pointers[n].clientX),clientY:p(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:ne(t),deltaX:e.deltaX,deltaY:e.deltaY}}function ne(e){var t=e.length;if(1===t)return{x:p(e[0].clientX),y:p(e[0].clientY)};for(var n=0,r=0,i=0;i<t;)n+=e[i].clientX,r+=e[i].clientY,i++;return{x:p(n/t),y:p(r/t)}}function re(e,t,n){return{x:t/e||0,y:n/e||0}}function ie(e,t){return e===t?q:h(e)>=h(t)?e<0?H:W:t<0?G:Q}function oe(e,t,n){n||(n=X);var r=t[n[0]]-e[n[0]],i=t[n[1]]-e[n[1]];return Math.sqrt(r*r+i*i)}function se(e,t,n){return n||(n=X),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}$.prototype={handler:function(){},init:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(N(this.element),this.evWin,this.domHandler)}};var ae={mousedown:F,mousemove:2,mouseup:U},le="mousedown",ue="mousemove mouseup";function ce(){this.evEl=le,this.evWin=ue,this.pressed=!1,$.apply(this,arguments)}w(ce,$,{handler:function(e){var t=ae[e.type];t&F&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=U),this.pressed&&(t&U&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var de={pointerdown:F,pointermove:2,pointerup:U,pointercancel:B,pointerout:B},pe={2:"touch",3:"pen",4:"mouse",5:"kinect"},he="pointerdown",fe="pointermove pointerup pointercancel";function me(){this.evEl=he,this.evWin=fe,$.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(he="MSPointerDown",fe="MSPointerMove MSPointerUp MSPointerCancel"),w(me,$,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),i=de[r],o=pe[e.pointerType]||e.pointerType,s="touch"==o,a=A(t,e.pointerId,"pointerId");i&F&&(0===e.button||s)?a<0&&(t.push(e),a=t.length-1):i&(U|B)&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,i,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(a,1))}});var ge={touchstart:F,touchmove:2,touchend:U,touchcancel:B},ve="touchstart",ye="touchstart touchmove touchend touchcancel";function be(){this.evTarget=ve,this.evWin=ye,this.started=!1,$.apply(this,arguments)}w(be,$,{handler:function(e){var t=ge[e.type];if(t===F&&(this.started=!0),this.started){var n=(function(e,t){var n=P(e.touches),r=P(e.changedTouches);return t&(U|B)&&(n=M(n.concat(r),"identifier",!0)),[n,r]}).call(this,e,t);t&(U|B)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var _e={touchstart:F,touchmove:2,touchend:U,touchcancel:B},we="touchstart touchmove touchend touchcancel";function Se(){this.evTarget=we,this.targetIds={},$.apply(this,arguments)}w(Se,$,{handler:function(e){var t=_e[e.type],n=(function(e,t){var n=P(e.touches),r=this.targetIds;if(t&(2|F)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var i,o,s=P(e.changedTouches),a=[],l=this.target;if(o=n.filter(function(e){return O(e.target,l)}),t===F)for(i=0;i<o.length;)r[o[i].identifier]=!0,i++;for(i=0;i<s.length;)r[s[i].identifier]&&a.push(s[i]),t&(U|B)&&delete r[s[i].identifier],i++;return a.length?[M(o.concat(a),"identifier",!0),a]:void 0}).call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}});var Ce=2500;function xe(){$.apply(this,arguments);var e=S(this.handler,this);this.touch=new Se(this.manager,e),this.mouse=new ce(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function Ee(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout(function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)},Ce)}}w(xe,$,{handler:function(e,t,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(e,t){e&F?(this.primaryTouch=t.changedPointers[0].identifier,Ee.call(this,t)):e&(U|B)&&Ee.call(this,t)}).call(this,t,n);else if(r&&(function(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var i=this.lastTouches[r],o=Math.abs(t-i.x),s=Math.abs(n-i.y);if(o<=25&&s<=25)return!0}return!1}).call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ke=R(c.style,"touchAction"),Oe=ke!==a,Te=function(){if(!Oe)return!1;var e={},t=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!t||i.CSS.supports("touch-action",n)}),e}();function Ie(e,t){this.manager=e,this.set(t)}Ie.prototype={set:function(e){"compute"==e&&(e=this.compute()),Oe&&this.manager.element.style&&Te[e]&&(this.manager.element.style[ke]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return v(this.manager.recognizers,function(t){C(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(e){if(T(e,"none"))return"none";var t=T(e,"pan-x"),n=T(e,"pan-y");return t&&n?"none":t||n?t?"pan-x":"pan-y":T(e,"manipulation")?"manipulation":"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,i=T(r,"none")&&!Te.none,o=T(r,"pan-y")&&!Te["pan-y"],s=T(r,"pan-x")&&!Te["pan-x"];if(i&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!s||!o)return i||o&&n&Y||s&&n&Z?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Ae=1,Pe=2,Me=4,Re=8,je=Re,Ne=16;function De(e){this.options=l({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=x(this.options.enable,!0),this.state=Ae,this.simultaneous={},this.requireFail=[]}function Le(e){return e&Ne?"cancel":e&Re?"end":e&Me?"move":e&Pe?"start":""}function ze(e){return e==Q?"down":e==G?"up":e==H?"left":e==W?"right":""}function Ve(e,t){var n=t.manager;return n?n.get(e):e}function Fe(){De.apply(this,arguments)}function Ue(){Fe.apply(this,arguments),this.pX=null,this.pY=null}function Be(){Fe.apply(this,arguments)}function qe(){De.apply(this,arguments),this._timer=null,this._input=null}function He(){Fe.apply(this,arguments)}function We(){Fe.apply(this,arguments)}function Ge(){De.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Qe(e,t){return(t=t||{}).recognizers=x(t.recognizers,Qe.defaults.preset),new Ye(e,t)}function Ye(e,t){var n;this.options=l({},Qe.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(L?me:z?Se:D?xe:ce))(n,ee),this.touchAction=new Ie(this,this.options.touchAction),Ze(this,!0),v(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function Ze(e,t){var n,r=e.element;r.style&&(v(e.options.cssProps,function(i,o){n=R(r.style,o),t?(e.oldCssProps[n]=r.style[n],r.style[n]=i):r.style[n]=e.oldCssProps[n]||""}),t||(e.oldCssProps={}))}De.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(g(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=Ve(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return g(e,"dropRecognizeWith",this)?this:(e=Ve(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(g(e,"requireFailure",this))return this;var t=this.requireFail;return-1===A(t,e=Ve(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(g(e,"dropRequireFailure",this))return this;e=Ve(e,this);var t=A(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<Re&&r(t.options.event+Le(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=Re&&r(t.options.event+Le(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(this.requireFail[e].state&(32|Ae)))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!C(this.options.enable,[this,t]))return this.reset(),void(this.state=32);this.state&(je|Ne|32)&&(this.state=Ae),this.state=this.process(t),this.state&(Pe|Me|Re|Ne)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},w(Fe,De,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=t&(Pe|Me),i=this.attrTest(e);return r&&(n&B||!i)?t|Ne:r||i?n&U?t|Re:t&Pe?t|Me:Pe:32}}),w(Ue,Fe,{defaults:{event:"pan",threshold:10,pointers:1,direction:K},getTouchAction:function(){var e=this.options.direction,t=[];return e&Y&&t.push("pan-y"),e&Z&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,i=e.direction,o=e.deltaX,s=e.deltaY;return i&t.direction||(t.direction&Y?(i=0===o?q:o<0?H:W,n=o!=this.pX,r=Math.abs(e.deltaX)):(i=0===s?q:s<0?G:Q,n=s!=this.pY,r=Math.abs(e.deltaY))),e.direction=i,n&&r>t.threshold&&i&t.direction},attrTest:function(e){return Fe.prototype.attrTest.call(this,e)&&(this.state&Pe||!(this.state&Pe)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ze(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(Be,Fe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&Pe)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),w(qe,De,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime>t.time;if(this._input=e,!r||!n||e.eventType&(U|B)&&!i)this.reset();else if(e.eventType&F)this.reset(),this._timer=m(function(){this.state=je,this.tryEmit()},t.time,this);else if(e.eventType&U)return je;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===je&&(e&&e.eventType&U?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(He,Fe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&Pe)}}),w(We,Fe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|Z,pointers:1},getTouchAction:function(){return Ue.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Y|Z)?t=e.overallVelocity:n&Y?t=e.overallVelocityX:n&Z&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&h(t)>this.options.velocity&&e.eventType&U},emit:function(e){var t=ze(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(Ge,De,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,i=e.deltaTime<t.time;if(this.reset(),e.eventType&F&&0===this.count)return this.failTimeout();if(r&&i&&n){if(e.eventType!=U)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,s=!this.pCenter||oe(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,s&&o?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=je,this.tryEmit()},t.interval,this),Pe):je}return 32},failTimeout:function(){return this._timer=m(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==je&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Qe.VERSION="2.0.7",Qe.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[He,{enable:!1}],[Be,{enable:!1},["rotate"]],[We,{direction:Y}],[Ue,{direction:Y},["swipe"]],[Ge],[Ge,{event:"doubletap",taps:2},["tap"]],[qe]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Ye.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,i=t.curRecognizer;(!i||i&&i.state&je)&&(i=t.curRecognizer=null);for(var o=0;o<r.length;)n=r[o],2===t.stopped||i&&n!=i&&!n.canRecognizeWith(i)?n.reset():n.recognize(e),!i&&n.state&(Pe|Me|Re)&&(i=t.curRecognizer=n),o++}},get:function(e){if(e instanceof De)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(g(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(g(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=A(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==a&&t!==a){var n=this.handlers;return v(I(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==a){var n=this.handlers;return v(I(e),function(e){t?n[e]&&n[e].splice(A(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Ze(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Qe,{INPUT_START:F,INPUT_MOVE:2,INPUT_END:U,INPUT_CANCEL:B,STATE_POSSIBLE:Ae,STATE_BEGAN:Pe,STATE_CHANGED:Me,STATE_ENDED:Re,STATE_RECOGNIZED:je,STATE_CANCELLED:Ne,STATE_FAILED:32,DIRECTION_NONE:q,DIRECTION_LEFT:H,DIRECTION_RIGHT:W,DIRECTION_UP:G,DIRECTION_DOWN:Q,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:Z,DIRECTION_ALL:K,Manager:Ye,Input:$,TouchAction:Ie,TouchInput:Se,MouseInput:ce,PointerEventInput:me,TouchMouseInput:xe,SingleTouchInput:be,Recognizer:De,AttrRecognizer:Fe,Tap:Ge,Pan:Ue,Swipe:We,Pinch:Be,Rotate:He,Press:qe,on:E,off:k,each:v,merge:_,extend:b,assign:l,inherit:w,bindFn:S,prefixed:R}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=Qe,(r=(function(){return Qe}).call(t,n,t,e))===a||(e.exports=r)}(window,document)},zUnb:function(e,t,n){"use strict";n.r(t);var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);return o>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return s}function c(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(u(arguments[t]));return e}var d=Array.isArray||function(e){return e&&"number"==typeof e.length};function p(e){return null!==e&&"object"==typeof e}function h(e){return"function"==typeof e}function f(e){return Error.call(this),this.message=e?e.length+" errors occurred during unsubscription:\n"+e.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=e,this}f.prototype=Object.create(Error.prototype);var m=f,g=function(){function e(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var o=0;o<n.length;++o)n[o].remove(this);if(h(r))try{r.call(this)}catch(l){t=l instanceof m?v(l.errors):[l]}if(d(i)){o=-1;for(var s=i.length;++o<s;){var a=i[o];if(p(a))try{a.unsubscribe()}catch(l){t=t||[],l instanceof m?t=t.concat(v(l.errors)):t.push(l)}}}if(t)throw new m(t)}},e.prototype.add=function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.EMPTY=((t=new e).closed=!0,t),e}();function v(e){return e.reduce(function(e,t){return e.concat(t instanceof m?t.errors:t)},[])}var y=!1,b={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){y=e},get useDeprecatedSynchronousErrorHandling(){return y}};function _(e){setTimeout(function(){throw e},0)}var w={closed:!0,next:function(e){},error:function(e){if(b.useDeprecatedSynchronousErrorHandling)throw e;_(e)},complete:function(){}},S="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),C=function(e){function t(n,r,i){var o=e.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=w;break;case 1:if(!n){o.destination=w;break}if("object"==typeof n){n instanceof t?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new x(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new x(o,n,r,i)}return o}return i(t,e),t.prototype[S]=function(){return this},t.create=function(e,n,r){var i=new t(e,n,r);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(g),x=function(e){function t(t,n,r,i){var o,s=e.call(this)||this;s._parentSubscriber=t;var a=s;return h(n)?o=n:n&&(o=n.next,r=n.error,i=n.complete,n!==w&&(h((a=Object.create(n)).unsubscribe)&&s.add(a.unsubscribe.bind(a)),a.unsubscribe=s.unsubscribe.bind(s))),s._context=a,s._next=o,s._error=r,s._complete=i,s}return i(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,n=b.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):_(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;_(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};b.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),b.useDeprecatedSynchronousErrorHandling)throw n;_(n)}},t.prototype.__tryOrSetError=function(e,t,n){if(!b.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return b.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(_(r),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(C),E="function"==typeof Symbol&&Symbol.observable||"@@observable";function k(){}function O(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return T(e)}function T(e){return e?1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}:k}var I=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof C)return e;if(e[S])return e[S]()}return e||t||n?new C(e,t,n):new C(w)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||b.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),b.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){b.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof C?t:null}return!0}(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=A(t))(function(t,r){var i;i=n.subscribe(function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}},r,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[E]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 0===e.length?this:T(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=A(e))(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function A(e){if(e||(e=b.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function P(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}P.prototype=Object.create(Error.prototype);var M=P,R=function(e){function t(t,n){var r=e.call(this)||this;return r.subject=t,r.subscriber=n,r.closed=!1,r}return i(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}},t}(g),j=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return i(t,e),t}(C),N=function(e){function t(){var t=e.call(this)||this;return t.observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype[S]=function(){return new j(this)},t.prototype.lift=function(e){var t=new D(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new M;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new M;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new M;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new M;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new M;return this.hasError?(e.error(this.thrownError),g.EMPTY):this.isStopped?(e.complete(),g.EMPTY):(this.observers.push(e),new R(this,e))},t.prototype.asObservable=function(){var e=new I;return e.source=this,e},t.create=function(e,t){return new D(e,t)},t}(I),D=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return i(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):g.EMPTY},t}(N);function L(e){return e&&"function"==typeof e.schedule}var z=function(e){function t(t,n,r){var i=e.call(this)||this;return i.parent=t,i.outerValue=n,i.outerIndex=r,i.index=0,i}return i(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(C),V=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function F(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var U=F(),B=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function q(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var H=function(e){if(e&&"function"==typeof e[E])return r=e,function(e){var t=r[E]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(B(e))return V(e);if(q(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,_),e};if(e&&"function"==typeof e[U])return t=e,function(e){for(var n=t[U]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,r,i=p(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function W(e,t,n,r,i){if(void 0===i&&(i=new z(e,n,r)),!i.closed)return t instanceof I?t.subscribe(i):H(t)(i)}var G=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(C);function Q(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Y(e,t))}}var Y=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Z(e,this.project,this.thisArg))},e}(),Z=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.project=n,i.count=0,i.thisArg=r||i,i}return i(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(C);function K(e,t){return new I(function(n){var r=new g,i=0;return r.add(t.schedule(function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()})),r})}function X(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[E]}(e))return function(e,t){return new I(function(n){var r=new g;return r.add(t.schedule(function(){var i=e[E]();r.add(i.subscribe({next:function(e){r.add(t.schedule(function(){return n.next(e)}))},error:function(e){r.add(t.schedule(function(){return n.error(e)}))},complete:function(){r.add(t.schedule(function(){return n.complete()}))}}))})),r})}(e,t);if(q(e))return function(e,t){return new I(function(n){var r=new g;return r.add(t.schedule(function(){return e.then(function(e){r.add(t.schedule(function(){n.next(e),r.add(t.schedule(function(){return n.complete()}))}))},function(e){r.add(t.schedule(function(){return n.error(e)}))})})),r})}(e,t);if(B(e))return K(e,t);if(function(e){return e&&"function"==typeof e[U]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new I(function(n){var r,i=new g;return i.add(function(){r&&"function"==typeof r.return&&r.return()}),i.add(t.schedule(function(){r=e[U](),i.add(t.schedule(function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),i})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof I?e:new I(H(e))}function J(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(r){return r.pipe(J(function(n,r){return X(e(n,r)).pipe(Q(function(e,i){return t(n,e,r,i)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ee(e,n))})}var ee=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new te(e,this.project,this.concurrent))},e}(),te=function(e){function t(t,n,r){void 0===r&&(r=Number.POSITIVE_INFINITY);var i=e.call(this,t)||this;return i.project=n,i.concurrent=r,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return i(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=new z(this,void 0,void 0);this.destination.add(r),W(this,e,t,n,r)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(G);function ne(e){return e}function re(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),J(ne,e)}function ie(e,t){return t?K(e,t):new I(V(e))}function oe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,r=null,i=e[e.length-1];return L(i)?(r=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof i&&(n=e.pop()),null===r&&1===e.length&&e[0]instanceof I?e[0]:re(n)(ie(e,r))}function se(){return function(e){return e.lift(new ae(e))}}var ae=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var r=new le(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i},e}(),le=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return i(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},t}(C),ue=function(e){function t(t,n){var r=e.call(this)||this;return r.source=t,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new g).add(this.source.subscribe(new de(this.getSubject(),this))),e.closed&&(this._connection=null,e=g.EMPTY)),e},t.prototype.refCount=function(){return se()(this)},t}(I).prototype,ce={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ue._subscribe},_isComplete:{value:ue._isComplete,writable:!0},getSubject:{value:ue.getSubject},connect:{value:ue.connect},refCount:{value:ue.refCount}},de=function(e){function t(t,n){var r=e.call(this,t)||this;return r.connectable=n,r}return i(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(j);function pe(){return new N}function he(){return function(e){return se()((t=pe,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ce);return r.source=e,r.subjectFactory=n,r})(e));var t}}var fe="__parameters__",me="__prop__metadata__";function ge(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var r=e.apply(void 0,c(t));for(var i in r)this[i]=r[i]}}}function ve(e,t,n){var r=ge(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=new((e=i).bind.apply(e,c([void 0],t)));return s.annotation=o,s;function s(e,t,n){for(var r=e.hasOwnProperty(fe)?e[fe]:Object.defineProperty(e,fe,{value:[]})[fe];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}function ye(e,t,n,r){var i=ge(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return i.apply(this,t),this;var s=new((e=o).bind.apply(e,c([void 0],t)));return function(e,n){var i=e.constructor,o=i.hasOwnProperty(me)?i[me]:Object.defineProperty(i,me,{value:{}})[me];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(s),r&&r.apply(void 0,c([e,n],t))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var be=ve("Inject",function(e){return{token:e}}),_e=ve("Optional"),we=ve("Self"),Se=ve("SkipSelf"),Ce=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function xe(e){for(var t in e)if(e[t]===xe)return t;throw Error("Could not find renamed property on target object.")}function Ee(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function ke(e){return e&&e.hasOwnProperty(Oe)?e[Oe]:null}var Oe=xe({ngInjectableDef:xe});function Te(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(Te).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}var Ie=xe({__forward_ref__:xe});function Ae(e){return e.__forward_ref__=Ae,e.toString=function(){return Te(this())},e}function Pe(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Ie)&&t.__forward_ref__===Ae?t():e}function Me(){var e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}var Re,je=Me(),Ne=void 0;function De(e){var t=Ne;return Ne=e,t}function Le(e,t){return void 0===t&&(t=Ce.Default),(Re||function(e,t){if(void 0===t&&(t=Ce.Default),void 0===Ne)throw new Error("inject() must be called from an injection context");return null===Ne?function(e,t,n){var r=ke(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&Ce.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Te(e)+"]")}(e,0,t):Ne.get(e,t&Ce.Optional?null:void 0,t)})(e,t)}var ze=Le,Ve=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=Ee({providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),Fe="__source",Ue=new Object,Be=new Ve("INJECTOR",-1),qe=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Ue),t===Ue){var n=new Error("NullInjectorError: No provider for "+Te(e)+"!");throw n.name="NullInjectorError",n}return t},e}(),He=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new Je(e,t):new Je(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=Ue,e.NULL=new qe,e.ngInjectableDef=Ee({providedIn:"any",factory:function(){return Le(Be)}}),e.__NG_ELEMENT_ID__=-1,e}(),We=function(e){return e},Ge=[],Qe=We,Ye=function(){return Array.prototype.slice.call(arguments)},Ze=xe({provide:String,useValue:xe}),Ke=/\n/gm,Xe="\u0275",Je=function(){function e(e,t,n){void 0===t&&(t=He.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(He,{token:He,fn:We,deps:Ge,value:this,useNew:!1}),r.set(Be,{token:Be,fn:We,deps:Ge,value:this,useNew:!1}),function e(t,n){if(n)if((n=Pe(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw tt("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw tt("Unexpected provider",n);var i=Pe(n.provide),o=function(e){var t=function(e){var t=Ge,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var i=6;if((l=Pe(n[r]))instanceof Array)for(var o=0,s=l;o<s.length;o++){var a=s[o];a instanceof _e||a==_e?i|=1:a instanceof Se||a==Se?i&=-3:a instanceof we||a==we?i&=-5:l=a instanceof be?a.token:Pe(a)}t.push({token:l,options:i})}}else if(e.useExisting){var l;t=[{token:l=Pe(e.useExisting),options:6}]}else if(!(n||Ze in e))throw tt("'deps' required",e);return t}(e),n=We,r=Ge,i=!1,o=Pe(e.provide);if(Ze in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,n=Pe(e.useClass);else{if("function"!=typeof o)throw tt("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,n=o}return{deps:t,fn:n,useNew:i,value:r}}(n);if(!0===n.multi){var s=t.get(i);if(s){if(s.fn!==Ye)throw $e(i)}else t.set(i,s={token:n.provide,deps:[],useNew:!1,fn:Ye,value:Ge});s.deps.push({token:i=n,options:6})}var a=t.get(i);if(a&&a.fn==Ye)throw $e(i);t.set(i,o)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Ce.Default);var r=this._records.get(e);try{return function e(t,n,r,i,o,s){try{return function(t,n,r,i,o,s){var a,l;if(!n||s&Ce.SkipSelf)s&Ce.Self||(l=i.get(t,o,Ce.Default));else{if((l=n.value)==Qe)throw Error(Xe+"Circular dependency");if(l===Ge){n.value=Qe;var u=n.useNew,d=n.fn,p=n.deps,h=Ge;if(p.length){h=[];for(var f=0;f<p.length;f++){var m=p[f],g=m.options,v=2&g?r.get(m.token):void 0;h.push(e(m.token,v,r,v||4&g?i:He.NULL,1&g?null:He.THROW_IF_NOT_FOUND,Ce.Default))}}n.value=l=u?new((a=d).bind.apply(a,c([void 0],h))):d.apply(void 0,h)}}return l}(t,n,r,i,o,s)}catch(a){throw a instanceof Error||(a=new Error(a)),(a.ngTempTokenPath=a.ngTempTokenPath||[]).unshift(t),n&&n.value==Qe&&(n.value=Ge),a}}(e,r,this._records,this.parent,t,n)}catch(i){return function(e,t,n,r){var i=e.ngTempTokenPath;throw t[Fe]&&i.unshift(t[Fe]),e.message=et("\n"+e.message,i,"StaticInjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(i,e,0,this.source)}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Te(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function $e(e){return tt("Cannot mix multi providers and regular providers",e)}function et(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Xe?e.substr(2):e;var i=Te(t);if(t instanceof Array)i=t.map(Te).join(" -> ");else if("object"==typeof t){var o=[];for(var s in t)if(t.hasOwnProperty(s)){var a=t[s];o.push(s+":"+("string"==typeof a?JSON.stringify(a):Te(a)))}i="{"+o.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+i+"]: "+e.replace(Ke,"\n ")}function tt(e,t){return new Error(et(e,t,"StaticInjectorError"))}var nt="ngDebugContext",rt="ngOriginalError",it="ngErrorLogger",ot=new Ve("AnalyzeForEntryComponents"),st=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),at=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(je)}();function lt(e){return e[nt]}function ut(e){return e[rt]}function ct(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var dt=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[it]||ct}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?lt(e)?lt(e):this._findContext(ut(e)):null},e.prototype._findOriginalError=function(e){for(var t=ut(e);t&&ut(t);)t=ut(t);return t},e}(),pt=!0,ht=!1;function ft(){return ht=!0,pt}var mt=function(){function e(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),this.inertBodyElement=this.inertDocument.createElement("body"),t.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},e}(),gt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,vt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function yt(e){return(e=String(e)).match(gt)||e.match(vt)?e:(ft()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function bt(e){var t,n,r={};try{for(var i=l(e.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function _t(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=l(n),s=o.next();!s.done;s=o.next()){var a=s.value;for(var u in a)a.hasOwnProperty(u)&&(i[u]=!0)}}catch(c){e={error:c}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i}var wt,St=bt("area,br,col,hr,img,wbr"),Ct=bt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xt=bt("rp,rt"),Et=_t(xt,Ct),kt=_t(St,_t(Ct,bt("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),_t(xt,bt("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Et),Ot=bt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tt=bt("srcset"),It=_t(Ot,Tt,bt("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),bt("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),At=bt("script,style,template"),Pt=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!kt.hasOwnProperty(n))return this.sanitizedSomething=!0,!At.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),s=o.name,a=s.toLowerCase();if(It.hasOwnProperty(a)){var l=o.value;Ot[a]&&(l=yt(l)),Tt[a]&&(t=l,l=(t=String(t)).split(",").map(function(e){return yt(e.trim())}).join(", ")),this.buf.push(" ",s,'="',jt(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();kt.hasOwnProperty(t)&&!St.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(jt(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),Mt=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Rt=/([^\#-~ |!])/g;function jt(e){return e.replace(/&/g,"&").replace(Mt,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Rt,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function Nt(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Dt=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({}),Lt=function(){return function(){}}(),zt=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"),Vt=/^url\(([^)]+)\)$/,Ft=/([A-Z])/g;function Ut(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function Bt(e){return!!e&&"function"==typeof e.then}function qt(e){return!!e&&"function"==typeof e.subscribe}var Ht=null;function Wt(){if(!Ht){var e=je.Symbol;if(e&&e.iterator)Ht=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Ht=r)}}return Ht}function Gt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function Qt(e,t){var n=Zt(e),r=Zt(t);return n&&r?function(e,t,n){for(var r=e[Wt()](),i=t[Wt()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}(e,t,Qt):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Gt(e,t)}var Yt=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}();function Zt(e){return!!Kt(e)&&(Array.isArray(e)||!(e instanceof Map)&&Wt()in e)}function Kt(e){return null!==e&&("function"==typeof e||"object"==typeof e)}var Xt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),Jt=new Ve("The presence of this token marks an injector as being the root injector."),$t=function(){return function(){}}(),en=function(){return function(){}}();function tn(e){var t=Error("No component factory found for "+Te(e)+". Did you add it to @NgModule.entryComponents?");return t[nn]=e,t}var nn="ngComponent",rn=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw tn(e)},e}(),on=function(){function e(){}return e.NULL=new rn,e}(),sn=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var r=0;r<e.length;r++){var i=e[r];this._factories.set(i.componentType,i)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw tn(e);return new an(t,this._ngModule)},e}(),an=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return i(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(en),ln=function(){return function(){}}(),un=function(){return function(){}}();function cn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var dn=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return pn(e)},e}(),pn=cn,hn=function(){return function(){}}(),fn=function(){return function(){}}(),mn=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),gn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return vn()},e}(),vn=cn,yn=new(function(){return function(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}())("8.0.3"),bn=function(){function e(){}return e.prototype.supports=function(e){return Zt(e)},e.prototype.create=function(e){return new wn(e)},e}(),_n=function(e,t){return t},wn=function(){function e(e){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=e||_n}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<En(n,r,i)?t:n,s=En(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var l=s-r,u=a-r;if(l!=u){for(var c=0;c<l;c++){var d=c<i.length?i[c]:i[c]=0,p=d+c;u<=p&&p<l&&(i[c]=d+1)}i[o.previousIndex]=u-l}}s!==a&&e(o,s,a)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!Zt(e))throw new Error("Error trying to diff '"+Te(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,i,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=e[a]),null!==o&&Gt(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),Gt(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[Wt()](),i=void 0;!(i=r.next()).done;)t(i.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&Gt(o.trackById,i)?(s&&(o=t._verifyReinsertion(o,e,i,n)),Gt(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Gt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Gt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new Sn(t,n),i,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new xn),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xn),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Sn=function(){return function(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}(),Cn=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Gt(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),xn=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Cn,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function En(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var kn=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||Kt(e)},e.prototype.create=function(){return new On},e}(),On=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||Kt(e)))throw new Error("Error trying to diff '"+Te(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new Tn(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){Gt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),Tn=function(){return function(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),In=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Se,new _e]]}},e.prototype.find=function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'")},e.ngInjectableDef=Ee({providedIn:"root",factory:function(){return new e([new bn])}}),e}(),An=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Se,new _e]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=Ee({providedIn:"root",factory:function(){return new e([new kn])}}),e}(),Pn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Mn()},e}(),Mn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Rn=[new kn],jn=new In([new bn]),Nn=new An(Rn),Dn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ln(e,dn)},e}(),Ln=cn,zn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Vn(e,dn)},e}(),Vn=cn;function Fn(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. 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(e,t){var n=new Error(e);return Un(n,t),n}(i,e)}function Un(e,t){e[nt]=t,e[it]=t.logError.bind(t)}function Bn(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}function qn(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Hn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Wn(e,t){return e.nodes[t]}function Gn(e,t){return e.nodes[t]}function Qn(e,t){return e.nodes[t]}function Yn(e,t){return e.nodes[t]}function Zn(e,t){return e.nodes[t]}var Kn={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},Xn=function(){},Jn=new Map;function $n(e){var t=Jn.get(e);return t||(t=Te(e)+"_"+Jn.size,Jn.set(e,t)),t}function er(e,t,n,r){if(Yt.isWrapped(r)){r=Yt.unwrap(r);var i=e.def.nodes[t].bindingIndex+n,o=Yt.unwrap(e.oldValues[i]);e.oldValues[i]=new Yt(o)}return r}var tr="$$undefined",nr="$$empty";function rr(e){return{id:tr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var ir=0;function or(e,t,n,r){return!(!(2&e.state)&&Gt(e.oldValues[t.bindingIndex+n],r))}function sr(e,t,n,r){return!!or(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function ar(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!Qt(i,r)){var o=t.bindings[n].name;throw Fn(Kn.createDebugContext(e,t.nodeIndex),o+": "+i,o+": "+r,0!=(1&e.state))}}function lr(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function ur(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function cr(e,t,n,r){try{return lr(33554432&e.def.nodes[t].flags?Gn(e,t).componentView:e),Kn.handleEvent(e,t,n,r)}catch(i){e.root.errorHandler.handleError(i)}}function dr(e){return e.parent?Gn(e.parent,e.parentNodeDef.nodeIndex):null}function pr(e){return e.parent?e.parentNodeDef.parent:null}function hr(e,t){switch(201347067&t.flags){case 1:return Gn(e,t.nodeIndex).renderElement;case 2:return Wn(e,t.nodeIndex).renderText}}function fr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function mr(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function gr(e){return 1<<e%32}function vr(e){var t={},n=0,r={};return e&&e.forEach(function(e){var i=u(e,2),o=i[0],s=i[1];"number"==typeof o?(t[o]=s,n|=gr(o)):r[o]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function yr(e,t){return e.map(function(e){var n,r,i;return Array.isArray(e)?(i=(n=u(e,2))[0],r=n[1]):(i=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,Fe,{value:t,configurable:!0}),{flags:i,token:r,tokenKey:$n(r)}})}function br(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===st.Native?Gn(e,n.renderParent.nodeIndex).renderElement:void 0:t}var _r=new WeakMap;function wr(e){var t=_r.get(e);return t||((t=e(function(){return Xn})).factory=e,_r.set(e,t)),t}function Sr(e,t,n,r,i){3===t&&(n=e.renderer.parentNode(hr(e,e.def.lastRenderRootNode))),Cr(e,t,0,e.def.nodes.length-1,n,r,i)}function Cr(e,t,n,r,i,o,s){for(var a=n;a<=r;a++){var l=e.def.nodes[a];11&l.flags&&Er(e,l,t,i,o,s),a+=l.childCount}}function xr(e,t,n,r,i,o){for(var s=e;s&&!fr(s);)s=s.parent;for(var a=s.parent,l=pr(s),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var d=a.def.nodes[c];d.ngContentIndex===t&&Er(a,d,n,r,i,o),c+=d.childCount}if(!a.parent){var p=e.root.projectableNodes[t];if(p)for(c=0;c<p.length;c++)kr(e,p[c],n,r,i,o)}}function Er(e,t,n,r,i,o){if(8&t.flags)xr(e,t.ngContent.index,n,r,i,o);else{var s=hr(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&kr(e,s,n,r,i,o),32&t.bindingFlags&&kr(Gn(e,t.nodeIndex).componentView,s,n,r,i,o)):kr(e,s,n,r,i,o),16777216&t.flags)for(var a=Gn(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<a.length;l++)Sr(a[l],n,r,i,o);1&t.flags&&!t.element.name&&Cr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function kr(e,t,n,r,i,o){var s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,i);break;case 3:s.removeChild(r,t);break;case 0:o.push(t)}}var Or=/^:([^:]+):(.+)$/;function Tr(e){if(":"===e[0]){var t=e.match(Or);return[t[1],t[2]]}return["",e]}function Ir(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function Ar(e,t,n,r,i,o,s,a,l,u,c,d,p,h,f,m,g,v,y,b){switch(e){case 1:return t+Pr(n)+r;case 2:return t+Pr(n)+r+Pr(i)+o;case 3:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a;case 4:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u;case 5:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u+Pr(c)+d;case 6:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u+Pr(c)+d+Pr(p)+h;case 7:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u+Pr(c)+d+Pr(p)+h+Pr(f)+m;case 8:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u+Pr(c)+d+Pr(p)+h+Pr(f)+m+Pr(g)+v;case 9:return t+Pr(n)+r+Pr(i)+o+Pr(s)+a+Pr(l)+u+Pr(c)+d+Pr(p)+h+Pr(f)+m+Pr(g)+v+Pr(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function Pr(e){return null!=e?e.toString():""}var Mr=new Object,Rr=$n(He),jr=$n(Be),Nr=$n(ln);function Dr(e,t,n,r){return n=Pe(n),{index:-1,deps:yr(r,Te(t)),flags:e,token:t,value:n}}function Lr(e,t,n){void 0===n&&(n=He.THROW_IF_NOT_FOUND);var r,i,o=De(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var s=t.tokenKey;switch(s){case Rr:case jr:case Nr:return e}var a,l=e._def.providersByKey[s];if(l){var u=e._providers[l.index];return void 0===u&&(u=e._providers[l.index]=zr(e,l)),u===Mr?void 0:u}if((a=ke(t.token))&&(r=e,null!=(i=a).providedIn&&(function(e,t){return e._def.modules.indexOf(i.providedIn)>-1}(r)||"root"===i.providedIn&&r._def.isRoot))){var c=e._providers.length;return e._def.providers[c]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:c,token:t.token},e._providers[c]=Mr,e._providers[c]=zr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{De(o)}}function zr(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(Lr(e,n[0]));case 2:return new t(Lr(e,n[0]),Lr(e,n[1]));case 3:return new t(Lr(e,n[0]),Lr(e,n[1]),Lr(e,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=Lr(e,n[o]);return new(t.bind.apply(t,c([void 0],i)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(Lr(e,n[0]));case 2:return t(Lr(e,n[0]),Lr(e,n[1]));case 3:return t(Lr(e,n[0]),Lr(e,n[1]),Lr(e,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=Lr(e,n[o]);return t.apply(void 0,c(i))}}(e,t.value,t.deps);break;case 2048:n=Lr(e,t.deps[0]);break;case 256:n=t.value}return n===Mr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?Mr:n}function Vr(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,qr(n,t),Kn.dirtyParentQueries(r),Ur(r),r}function Fr(e,t,n){var r=t?hr(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Sr(n,2,i,o,void 0)}function Ur(e){Sr(e,3,null,null,void 0)}function Br(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function qr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var Hr=new Object;function Wr(e,t,n,r,i,o){return new Gr(e,t,n,r,i,o)}var Gr=function(e){function t(t,n,r,i,o,s){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}return i(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=wr(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=Kn.createRootView(e,t||[],n,i,r,Hr),a=Qn(s,o).instance;return n&&s.renderer.setAttribute(Gn(s,0).renderElement,"ng-version",yn.full),new Qr(s,new Xr(s),a)},t}(en),Qr=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,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(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new dn(Gn(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new ti(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}($t);function Yr(e,t,n){return new Zr(e,t,n)}var Zr=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new dn(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new ti(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=pr(e),e=e.parent;return e?new ti(e,t):new ti(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Vr(this._data,e);Kn.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new Xr(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof an||(i=o.get(ln));var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,r,i,o,s=e;return o=(n=this._data).viewContainer._embeddedViews,null==(r=t)&&(r=o.length),(i=s._view).viewContainerParent=this._view,Br(o,r,i),function(e,t){var n=dr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var r=n.parent;r;)r.childFlags|=4,r=r.parent}}(0,t.parentNodeDef)}}(n,i),Kn.dirtyParentQueries(i),Fr(n,r>0?o[r-1]:null,i),s.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,r,i,o,s,a=this._embeddedViews.indexOf(e._view);return i=t,s=(o=(n=this._data).viewContainer._embeddedViews)[r=a],qr(o,r),null==i&&(i=o.length),Br(o,i,s),Kn.dirtyParentQueries(s),Ur(s),Fr(n,i>0?o[i-1]:null,s),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=Vr(this._data,e);t&&Kn.destroyView(t)},e.prototype.detach=function(e){var t=Vr(this._data,e);return t?new Xr(t):null},e}();function Kr(e){return new Xr(e)}var Xr=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Sr(this._view,0,void 0,void 0,e=[]),e;var e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){lr(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Kn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Kn.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Kn.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,Ur(this._view),Kn.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Jr(e,t){return new $r(e,t)}var $r=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return i(t,e),t.prototype.createEmbeddedView=function(e){return new Xr(Kn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new dn(Gn(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(Dn);function ei(e,t){return new ti(e,t)}var ti=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=He.THROW_IF_NOT_FOUND),Kn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:$n(e)},t)},e}();function ni(e,t){var n=e.def.nodes[t];if(1&n.flags){var r=Gn(e,n.nodeIndex);return n.element.template?r.template:r.renderElement}if(2&n.flags)return Wn(e,n.nodeIndex).renderText;if(20240&n.flags)return Qn(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function ri(e){return new ii(e.renderer)}var ii=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=u(Tr(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=u(Tr(t),2),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(e,o,n,i):this.delegate.removeAttribute(e,o,i)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function oi(e,t,n,r){return new si(e,t,n,r)}var si=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=zr(e,i))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=He.THROW_IF_NOT_FOUND),void 0===n&&(n=Ce.Default);var r=0;return n&Ce.SkipSelf?r|=1:n&Ce.Self&&(r|=4),Lr(this,{token:e,tokenKey:$n(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(on)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Te(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,r=new Set,i=0;i<n.providers.length;i++)if(131072&n.providers[i].flags){var o=e._providers[i];if(o&&o!==Mr){var s=o.ngOnDestroy;"function"!=typeof s||r.has(o)||(s.apply(o),r.add(o))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),ai=$n(hn),li=$n(gn),ui=$n(dn),ci=$n(zn),di=$n(Dn),pi=$n(Pn),hi=$n(He),fi=$n(Be);function mi(e,t,n,r,i,o,s,a){var l=[];if(s)for(var c in s){var d=u(s[c],2);l[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var p=[];if(a)for(var h in a)p.push({type:1,propName:h,target:null,eventName:a[h]});return yi(e,t|=16384,n,r,i,i,o,l,p)}function gi(e,t,n){return yi(-1,e|=16,null,0,t,t,n)}function vi(e,t,n,r,i){return yi(-1,e,t,0,n,r,i)}function yi(e,t,n,r,i,o,s,a,l){var u=vr(n),c=u.matchedQueries,d=u.references,p=u.matchedQueryIds;l||(l=[]),a||(a=[]),o=Pe(o);var h=yr(s,Te(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:d,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:Ir(a),outputs:l,element:null,provider:{token:i,value:o,deps:h},text:null,query:null,ngContent:null}}function bi(e,t){return Ci(e,t)}function _i(e,t){for(var n=e;n.parent&&!fr(n);)n=n.parent;return xi(n.parent,pr(n),!0,t.provider.value,t.provider.deps)}function wi(e,t){var n=xi(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var r=0;r<t.outputs.length;r++){var i=t.outputs[r],o=n[i.propName];if(!qt(o))throw new Error("@Output "+i.propName+" not initialized in '"+n.constructor.name+"'.");var s=o.subscribe(Si(e,t.parent.nodeIndex,i.eventName));e.disposables[t.outputIndex+r]=s.unsubscribe.bind(s)}return n}function Si(e,t,n){return function(r){return cr(e,t,n,r)}}function Ci(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return xi(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,i){var o=i.length;switch(o){case 0:return r();case 1:return r(ki(e,t,n,i[0]));case 2:return r(ki(e,t,n,i[0]),ki(e,t,n,i[1]));case 3:return r(ki(e,t,n,i[0]),ki(e,t,n,i[1]),ki(e,t,n,i[2]));default:for(var s=Array(o),a=0;a<o;a++)s[a]=ki(e,t,n,i[a]);return r.apply(void 0,c(s))}}(e,t.parent,n,r.value,r.deps);case 2048:return ki(e,t.parent,n,r.deps[0]);case 256:return r.value}}function xi(e,t,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(ki(e,t,n,i[0]));case 2:return new r(ki(e,t,n,i[0]),ki(e,t,n,i[1]));case 3:return new r(ki(e,t,n,i[0]),ki(e,t,n,i[1]),ki(e,t,n,i[2]));default:for(var s=new Array(o),a=0;a<o;a++)s[a]=ki(e,t,n,i[a]);return new(r.bind.apply(r,c([void 0],s)))}}var Ei={};function ki(e,t,n,r,i){if(void 0===i&&(i=He.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=e;2&r.flags&&(i=null);var s=r.tokenKey;s===pi&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(s){case ai:return ri(Oi(a,t,n));case li:return Oi(a,t,n).renderer;case ui:return new dn(Gn(a,t.nodeIndex).renderElement);case ci:return Gn(a,t.nodeIndex).viewContainer;case di:if(t.element.template)return Gn(a,t.nodeIndex).template;break;case pi:return Kr(Oi(a,t,n));case hi:case fi:return ei(a,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[s];if(l){var u=Qn(a,l.nodeIndex);return u||(u={instance:Ci(a,l)},a.nodes[l.nodeIndex]=u),u.instance}}n=fr(a),t=pr(a),a=a.parent,4&r.flags&&(a=null)}var c=o.root.injector.get(r.token,Ei);return c!==Ei||i===Ei?c:o.root.ngModule.injector.get(r.token,i)}function Oi(e,t,n){var r;if(n)r=Gn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!fr(r);)r=r.parent;return r}function Ti(e,t,n,r,i,o){if(32768&n.flags){var s=Gn(e,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var a=Yt.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new Xt(a,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function Ii(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],s=o.parent;for(!s&&o.flags&t&&Pi(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=Ai(e,s,t,r)),s=s.parent}}function Ai(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var o=e.def.nodes[i];o.flags&n&&Pi(e,i,o.flags&n,r++),i+=o.childCount}return r}function Pi(e,t,n,r){var i=Qn(e,t);if(i){var o=i.instance;o&&(Kn.setCurrentNode(e,t),1048576&n&&Hn(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Hn(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}var Mi=new Ve("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return at}}),Ri=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return i(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,r){var i,o=function(e){return null},s=function(){return null};t&&"object"==typeof t?(i=this.__isAsync?function(e){setTimeout(function(){return t.next(e)})}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout(function(){return t.error(e)})}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(i=this.__isAsync?function(e){setTimeout(function(){return t(e)})}:function(e){t(e)},n&&(o=this.__isAsync?function(e){setTimeout(function(){return n(e)})}:function(e){n(e)}),r&&(s=this.__isAsync?function(){setTimeout(function(){return r()})}:function(){r()}));var a=e.prototype.subscribe.call(this,i,o,s);return t instanceof g&&t.add(a),a},t}(N),ji=function(){function e(){this.dirty=!0,this._results=[],this.changes=new Ri,this.length=0}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype[Wt()]=function(){return this._results[Wt()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),Ni=function(){return function(){}}(),Di=ye("Input",function(e){return{bindingPropertyName:e}}),Li=ye("HostBinding",function(e){return{hostPropertyName:e}}),zi=new Ve("Application Initializer"),Vi=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Bt(i)&&t.push(i)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Fi=new Ve("AppId");function Ui(){return""+Bi()+Bi()+Bi()}function Bi(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var qi=new Ve("Platform Initializer"),Hi=new Ve("Platform ID"),Wi=new Ve("appBootstrapListener"),Gi=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Qi(){throw new Error("Runtime compiler is not loaded")}var Yi,Zi,Ki=Qi,Xi=Qi,Ji=Qi,$i=Qi,eo=function(){function e(){this.compileModuleSync=Ki,this.compileModuleAsync=Xi,this.compileModuleAndAllComponentsSync=Ji,this.compileModuleAndAllComponentsAsync=$i}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),to=function(){return function(){}}();function no(){var e=je.wtf;return!(!e||!(Yi=e.trace)||(Zi=Yi.events,0))}var ro=no();function io(e,t){return null}var oo=ro?function(e,t){return void 0===t&&(t=null),Zi.createScope(e,t)}:function(e,t){return io},so=ro?function(e,t){return Yi.leaveScope(e,t),t}:function(e,t){return t},ao=function(){return Promise.resolve(0)}();function lo(e){"undefined"==typeof Zone?ao.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var uo=function(){function e(e){var t,n=e.enableLongStackTrace,r=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ri(!1),this.onMicrotaskEmpty=new Ri(!1),this.onStable=new Ri(!1),this.onError=new Ri(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,r,i,o,s){try{return fo(t),e.invokeTask(r,i,o,s)}finally{mo(t)}},onInvoke:function(e,n,r,i,o,s,a){try{return fo(t),e.invoke(r,i,o,s,a)}finally{mo(t)}},onHasTask:function(e,n,r,i){e.hasTask(r,i),n===r&&("microTask"==i.change?(t.hasPendingMicrotasks=i.microTask,ho(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,n,r,i){return e.handleError(r,i),t.runOutsideAngular(function(){return t.onError.emit(i)}),!1}})}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,po,co,co);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function co(){}var po={};function ho(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function fo(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function mo(e){e._nesting--,ho(e)}var go,vo=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ri,this.onMicrotaskEmpty=new Ri,this.onStable=new Ri,this.onError=new Ri}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),yo=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){uo.assertNotInAngularZone(),lo(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())lo(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,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(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},e}(),bo=function(){function e(){this._applications=new Map,_o.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),_o.findTestabilityInTree(this,e,t)},s([a("design:paramtypes",[])],e)}(),_o=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),wo=new Ve("AllowMultipleToken"),So=function(){return function(e,t){this.name=e,this.token=t}}();function Co(e,t,n){void 0===n&&(n=[]);var r="Platform: "+t,i=new Ve(r);return function(t){void 0===t&&(t=[]);var o=xo();if(!o||o.injector.get(wo,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var s=n.concat(t).concat({provide:i,useValue:!0});!function(e){if(go&&!go.destroyed&&!go.injector.get(wo,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");go=e.get(Eo);var t=e.get(qi,null);t&&t.forEach(function(e){return e()})}(He.create({providers:s,name:r}))}return function(e){var t=xo();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function xo(){return go&&!go.destroyed?go:null}var Eo=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,r=this,i="noop"===(n=t?t.ngZone:void 0)?new vo:("zone.js"===n?void 0:n)||new uo({enableLongStackTrace:ft()}),o=[{provide:uo,useValue:i}];return i.run(function(){var t=He.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),s=n.injector.get(dt,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return To(r._modules,n)}),i.runOutsideAngular(function(){return i.onError.subscribe({next:function(e){s.handleError(e)}})}),function(e,t,i){try{var o=((s=n.injector.get(Vi)).runInitializers(),s.donePromise.then(function(){return r._moduleDoBootstrap(n),n}));return Bt(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(a){throw t.runOutsideAngular(function(){return e.handleError(a)}),a}var s}(s,i)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=ko({},t);return function(e,t,n){return e.get(to).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(Oo);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Te(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e}();function ko(e,t){return Array.isArray(t)?t.reduce(ko,e):o({},e,t)}var Oo=function(){function e(e,t,n,r,i,o){var s=this;this._zone=e,this._console=t,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=ft(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new I(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),l=new I(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){uo.assertNotInAngularZone(),lo(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){uo.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=oe(a,l.pipe(he()))}var t;return t=e,e.prototype.bootstrap=function(e,t){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=e instanceof en?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n instanceof an?null:this._injector.get(ln),o=n.create(He.NULL,[],t||n.selector,i);o.onDestroy(function(){r._unloadComponent(o)});var s=o.injector.get(yo,null);return s&&o.injector.get(bo).registerApplication(o.location.nativeElement,s),this._loadComponent(o),ft()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e,n,r,i,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var s=t._tickScope();try{this._runningTick=!0;try{for(var a=l(this._views),u=a.next();!u.done;u=a.next())u.value.detectChanges()}catch(p){e={error:p}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var c=l(this._views),d=c.next();!d.done;d=c.next())d.value.checkNoChanges()}catch(h){r={error:h}}finally{try{d&&!d.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}}catch(f){this._zone.runOutsideAngular(function(){return o._exceptionHandler.handleError(f)})}finally{this._runningTick=!1,so(s)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;To(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Wi,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),To(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=oo("ApplicationRef#tick()"),e}();function To(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Io=function(){return function(){}}(),Ao={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Po=function(){function e(e,t){this._compiler=e,this._config=t||Ao}return e.prototype.load=function(e){return this._compiler instanceof eo?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,r=u(e.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("crnd")(i).then(function(e){return e[o]}).then(function(e){return Mo(e,i,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=u(e.split("#"),2),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[i+o]}).then(function(e){return Mo(e,r,i)})},e}();function Mo(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var Ro=function(){return function(e,t){this.name=e,this.callback=t}}(),jo=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof No&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),No=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return i(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,c([i+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return function e(t,n,r){t.childNodes.forEach(function(t){t instanceof No&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,r){t instanceof No&&t.childNodes.forEach(function(t){n(t)&&r.push(t),t instanceof No&&e(t,n,r)})}(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(jo),Do=new Map,Lo=function(e){return Do.get(e)||null};function zo(e){Do.set(e.nativeNode,e)}var Vo=Co(null,"core",[{provide:Hi,useValue:"unknown"},{provide:Eo,deps:[He]},{provide:bo,deps:[]},{provide:Gi,deps:[]}]),Fo=new Ve("LocaleId");function Uo(){return jn}function Bo(){return Nn}function qo(e){return e||"en-US"}function Ho(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var Wo=function(){return function(e){}}();function Go(e,t,n,r,i,o){e|=1;var s=vr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:s.matchedQueries,matchedQueryIds:s.matchedQueryIds,references:s.references,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?wr(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||Xn},provider:null,text:null,query:null,ngContent:null}}function Qo(e,t,n,r,i,o,s,a,l,c,d,p){var h;void 0===s&&(s=[]),c||(c=Xn);var f=vr(n),m=f.matchedQueries,g=f.references,v=f.matchedQueryIds,y=null,b=null;o&&(y=(h=u(Tr(o),2))[0],b=h[1]),a=a||[];for(var _=new Array(a.length),w=0;w<a.length;w++){var S=u(a[w],3),C=S[0],x=S[2],E=u(Tr(S[1]),2),k=E[0],O=E[1],T=void 0,I=void 0;switch(15&C){case 4:I=x;break;case 1:case 8:T=x}_[w]={flags:C,ns:k,name:O,nonMinifiedName:O,securityContext:T,suffix:I}}l=l||[];var A=new Array(l.length);for(w=0;w<l.length;w++){var P=u(l[w],2);A[w]={type:0,target:P[0],eventName:P[1],propName:null}}var M=(s=s||[]).map(function(e){var t=u(e,2),n=t[1],r=u(Tr(t[0]),2);return[r[0],r[1],n]});return p=function(e){if(e&&e.id===tr){var t=null!=e.encapsulation&&e.encapsulation!==st.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+ir++:nr}return e&&e.id===nr&&(e=null),e||null}(p),d&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:v,references:g,ngContentIndex:r,childCount:i,bindings:_,bindingFlags:Ir(_),outputs:A,element:{ns:y,name:b,attrs:M,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||Xn},provider:null,text:null,query:null,ngContent:null}}function Yo(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,s=e.renderer;if(e.parent||!o){r=i.name?s.createElement(i.name,i.ns):s.createComment("");var a=br(e,t,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===st.ShadowDom);if(i.attrs)for(var l=0;l<i.attrs.length;l++){var c=u(i.attrs[l],3);s.setAttribute(r,c[1],c[2],c[0])}return r}function Zo(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],s=Ko(e,n.nodeIndex,(d=o.eventName,(c=o.target)?c+":"+d:d)),a=o.target,l=e;"component"===o.target&&(a=null,l=t);var u=l.renderer.listen(a||r,o.eventName,s);e.disposables[n.outputIndex+i]=u}var c,d}function Ko(e,t,n){return function(r){return cr(e,t,n,r)}}function Xo(e,t,n,r){if(!sr(e,t,n,r))return!1;var i=t.bindings[n],o=Gn(e,t.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function(e,t,n,r,i,o){var s=t.securityContext,a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;var l=e.renderer;null!=o?l.setAttribute(n,i,a,r):l.removeAttribute(n,i,r)}(e,i,s,i.ns,a,r);break;case 2:!function(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,s,a,r);break;case 4:!function(e,t,n,r,i){var o=e.root.sanitizer.sanitize(Dt.STYLE,i);if(null!=o){o=o.toString();var s=t.suffix;null!=s&&(o+=s)}else o=null;var a=e.renderer;null!=o?a.setStyle(n,r,o):a.removeStyle(n,r)}(e,i,s,a,r);break;case 8:!function(e,t,n,r,i){var o=t.securityContext,s=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,s)}(33554432&t.flags&&32&i.flags?o.componentView:e,i,s,a,r)}return!0}function Jo(e,t,n){var r=[];for(var i in n)r.push({propName:i,bindingType:n[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:gr(t),bindings:r},ngContent:null}}function $o(e){for(var t=e.def.nodeMatchedQueries;e.parent&&mr(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++)67108864&(o=e.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&Zn(e,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}if(134217728&e.def.nodeFlags)for(i=0;i<e.def.nodes.length;i++){var o;134217728&(o=e.def.nodes[i]).flags&&536870912&o.flags&&Zn(e,i).setDirty(),i+=o.childCount}}function es(e,t){var n=Zn(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var o=t.parent.parent;i=ts(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),r=Qn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=ts(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var s=t.query.bindings,a=!1,l=0;l<s.length;l++){var u=s[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[u.propName]=c}a&&n.notifyOnChanges()}}function ts(e,t,n,r,i){for(var o=t;o<=n;o++){var s=e.def.nodes[o],a=s.matchedQueries[r.id];if(null!=a&&i.push(ns(e,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var l=Gn(e,o);if((s.childMatchedQueries&r.filterId)===r.filterId&&(ts(e,o+1,o+s.childCount,r,i),o+=s.childCount),16777216&s.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var d=u[c],p=dr(d);p&&p===l&&ts(d,0,d.def.nodes.length-1,r,i)}var h=l.template._projectedViews;if(h)for(c=0;c<h.length;c++){var f=h[c];ts(f,0,f.def.nodes.length-1,r,i)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(o+=s.childCount)}return i}function ns(e,t,n){if(null!=n)switch(n){case 1:return Gn(e,t.nodeIndex).renderElement;case 0:return new dn(Gn(e,t.nodeIndex).renderElement);case 2:return Gn(e,t.nodeIndex).template;case 3:return Gn(e,t.nodeIndex).viewContainer;case 4:return Qn(e,t.nodeIndex).instance}}function rs(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function is(e,t,n){var r=br(e,t,n);r&&xr(e,n.ngContent.index,1,r,null,void 0)}function os(e,t){for(var n=Object.keys(t),r=n.length,i=new Array(r),o=0;o<r;o++){var s=n[o];i[t[s]]=s}return ss(64,e,i)}function ss(e,t,n){for(var r=new Array(n.length),i=0;i<n.length;i++){var o=n[i];r[i]={flags:8,name:o,ns:null,nonMinifiedName:o,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:r,bindingFlags:Ir(r),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function as(e,t,n){for(var r=new Array(n.length-1),i=1;i<n.length;i++)r[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function ls(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=br(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function us(e,t){return(null!=e?e.toString():"")+t.suffix}function cs(e,t,n,r){for(var i=0,o=0,s=0,a=0,l=0,u=null,c=null,d=!1,p=!1,h=null,f=0;f<t.length;f++){var m=t[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=i,m.outputIndex=o,m.renderParent=c,s|=m.flags,l|=m.matchedQueryIds,m.element){var g=m.element;g.publicProviders=u?u.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(ps(u,m,t.length),i+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(h=m),20224&m.flags){d||(d=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var v=0!=(32768&m.flags);0==(8192&m.flags)||v?u.element.publicProviders[$n(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[$n(m.provider.token)]=m),v&&(u.element.componentProvider=m)}if(u?(u.childFlags|=m.flags,u.directChildFlags|=m.flags,u.childMatchedQueries|=m.matchedQueryIds,m.element&&m.element.template&&(u.childMatchedQueries|=m.element.template.nodeMatchedQueries)):a|=m.flags,m.childCount>0)u=m,ds(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var y=u.parent;y&&(y.childFlags|=u.childFlags,y.childMatchedQueries|=u.childMatchedQueries),c=(u=y)&&ds(u)?u.renderParent:u}}return{factory:null,nodeFlags:s,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Xn,updateRenderer:r||Xn,handleEvent:function(e,n,r,i){return t[n].element.handleEvent(e,r,i)},bindingCount:i,outputCount:o,lastRenderRootNode:h}}function ds(e){return 0!=(1&e.flags)&&null===e.element.name}function ps(e,t,n){var r=t.element&&t.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 "+t.nodeIndex+"!")}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+t.nodeIndex+"!");if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+t.nodeIndex+"!");if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+t.nodeIndex+"!")}if(t.childCount){var i=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=i&&t.nodeIndex+t.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function hs(e,t,n,r){var i=gs(e.root,e.renderer,e,t,n);return vs(i,e.component,r),ys(i),i}function fs(e,t,n){var r=gs(e,e.renderer,null,null,t);return vs(r,n,n),ys(r),r}function ms(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,gs(e.root,i,e,t.element.componentProvider,n)}function gs(e,t,n,r,i){var o=new Array(i.nodes.length),s=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:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function vs(e,t,n){e.component=t,e.context=n}function ys(e){var t;fr(e)&&(t=Gn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];Kn.setCurrentNode(e,i);var s=void 0;switch(201347067&o.flags){case 1:var a=Yo(e,t,o),l=void 0;if(33554432&o.flags){var u=wr(o.element.componentView);l=Kn.createComponentView(e,o,u,a)}Zo(e,l,o,a),s={renderElement:a,componentView:l,viewContainer:null,template:o.element.template?Jr(e,o):void 0},16777216&o.flags&&(s.viewContainer=Yr(e,o,s));break;case 2:s=ls(e,t,o);break;case 512:case 1024:case 2048:case 256:(s=r[i])||4096&o.flags||(s={instance:bi(e,o)});break;case 16:s={instance:_i(e,o)};break;case 16384:(s=r[i])||(s={instance:wi(e,o)}),32768&o.flags&&vs(Gn(e,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new ji;break;case 8:is(e,t,o),s=void 0}r[i]=s}Os(e,ks.CreateViewNodes),Ps(e,201326592,268435456,0)}function bs(e){Ss(e),Kn.updateDirectives(e,1),Ts(e,ks.CheckNoChanges),Kn.updateRenderer(e,1),Os(e,ks.CheckNoChanges),e.state&=-97}function _s(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,qn(e,0,256),Ss(e),Kn.updateDirectives(e,0),Ts(e,ks.CheckAndUpdate),Ps(e,67108864,536870912,0);var t=qn(e,256,512);Ii(e,2097152|(t?1048576:0)),Kn.updateRenderer(e,0),Os(e,ks.CheckAndUpdate),Ps(e,134217728,536870912,0),Ii(e,8388608|((t=qn(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,qn(e,768,1024)}function ws(e,t,n,r,i,o,s,a,l,u,d,p,h){return 0===n?function(e,t,n,r,i,o,s,a,l,u,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,i,o,s,a,l,u,c,d){var p=t.bindings.length,h=!1;return p>0&&Xo(e,t,0,n)&&(h=!0),p>1&&Xo(e,t,1,r)&&(h=!0),p>2&&Xo(e,t,2,i)&&(h=!0),p>3&&Xo(e,t,3,o)&&(h=!0),p>4&&Xo(e,t,4,s)&&(h=!0),p>5&&Xo(e,t,5,a)&&(h=!0),p>6&&Xo(e,t,6,l)&&(h=!0),p>7&&Xo(e,t,7,u)&&(h=!0),p>8&&Xo(e,t,8,c)&&(h=!0),p>9&&Xo(e,t,9,d)&&(h=!0),h}(e,t,n,r,i,o,s,a,l,u,c,d);case 2:return function(e,t,n,r,i,o,s,a,l,u,c,d){var p=!1,h=t.bindings,f=h.length;if(f>0&&sr(e,t,0,n)&&(p=!0),f>1&&sr(e,t,1,r)&&(p=!0),f>2&&sr(e,t,2,i)&&(p=!0),f>3&&sr(e,t,3,o)&&(p=!0),f>4&&sr(e,t,4,s)&&(p=!0),f>5&&sr(e,t,5,a)&&(p=!0),f>6&&sr(e,t,6,l)&&(p=!0),f>7&&sr(e,t,7,u)&&(p=!0),f>8&&sr(e,t,8,c)&&(p=!0),f>9&&sr(e,t,9,d)&&(p=!0),p){var m=t.text.prefix;f>0&&(m+=us(n,h[0])),f>1&&(m+=us(r,h[1])),f>2&&(m+=us(i,h[2])),f>3&&(m+=us(o,h[3])),f>4&&(m+=us(s,h[4])),f>5&&(m+=us(a,h[5])),f>6&&(m+=us(l,h[6])),f>7&&(m+=us(u,h[7])),f>8&&(m+=us(c,h[8])),f>9&&(m+=us(d,h[9]));var g=Wn(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return p}(e,t,n,r,i,o,s,a,l,u,c,d);case 16384:return function(e,t,n,r,i,o,s,a,l,u,c,d){var p=Qn(e,t.nodeIndex),h=p.instance,f=!1,m=void 0,g=t.bindings.length;return g>0&&or(e,t,0,n)&&(f=!0,m=Ti(e,p,t,0,n,m)),g>1&&or(e,t,1,r)&&(f=!0,m=Ti(e,p,t,1,r,m)),g>2&&or(e,t,2,i)&&(f=!0,m=Ti(e,p,t,2,i,m)),g>3&&or(e,t,3,o)&&(f=!0,m=Ti(e,p,t,3,o,m)),g>4&&or(e,t,4,s)&&(f=!0,m=Ti(e,p,t,4,s,m)),g>5&&or(e,t,5,a)&&(f=!0,m=Ti(e,p,t,5,a,m)),g>6&&or(e,t,6,l)&&(f=!0,m=Ti(e,p,t,6,l,m)),g>7&&or(e,t,7,u)&&(f=!0,m=Ti(e,p,t,7,u,m)),g>8&&or(e,t,8,c)&&(f=!0,m=Ti(e,p,t,8,c,m)),g>9&&or(e,t,9,d)&&(f=!0,m=Ti(e,p,t,9,d,m)),m&&h.ngOnChanges(m),65536&t.flags&&Hn(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),f}(e,t,n,r,i,o,s,a,l,u,c,d);case 32:case 64:case 128:return function(e,t,n,r,i,o,s,a,l,u,c,d){var p=t.bindings,h=!1,f=p.length;if(f>0&&sr(e,t,0,n)&&(h=!0),f>1&&sr(e,t,1,r)&&(h=!0),f>2&&sr(e,t,2,i)&&(h=!0),f>3&&sr(e,t,3,o)&&(h=!0),f>4&&sr(e,t,4,s)&&(h=!0),f>5&&sr(e,t,5,a)&&(h=!0),f>6&&sr(e,t,6,l)&&(h=!0),f>7&&sr(e,t,7,u)&&(h=!0),f>8&&sr(e,t,8,c)&&(h=!0),f>9&&sr(e,t,9,d)&&(h=!0),h){var m=Yn(e,t.nodeIndex),g=void 0;switch(201347067&t.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]=s),f>5&&(g[5]=a),f>6&&(g[6]=l),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]=s),f>5&&(g[p[5].name]=a),f>6&&(g[p[6].name]=l),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 v=n;switch(f){case 1:g=v.transform(n);break;case 2:g=v.transform(r);break;case 3:g=v.transform(r,i);break;case 4:g=v.transform(r,i,o);break;case 5:g=v.transform(r,i,o,s);break;case 6:g=v.transform(r,i,o,s,a);break;case 7:g=v.transform(r,i,o,s,a,l);break;case 8:g=v.transform(r,i,o,s,a,l,u);break;case 9:g=v.transform(r,i,o,s,a,l,u,c);break;case 10:g=v.transform(r,i,o,s,a,l,u,c,d)}}m.value=g}return h}(e,t,n,r,i,o,s,a,l,u,c,d);default:throw"unreachable"}}(e,t,r,i,o,s,a,l,u,d,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var r=!1,i=0;i<n.length;i++)Xo(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)sr(e,t,o,n[o])&&(i=!0);if(i){var s="";for(o=0;o<n.length;o++)s+=us(n[o],r[o]);s=t.text.prefix+s;var a=Wn(e,t.nodeIndex).renderText;e.renderer.setValue(a,s)}return i}(e,t,n);case 16384:return function(e,t,n){for(var r=Qn(e,t.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a<n.length;a++)or(e,t,a,n[a])&&(o=!0,s=Ti(e,r,t,a,n[a],s));return s&&i.ngOnChanges(s),65536&t.flags&&Hn(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)sr(e,t,o,n[o])&&(i=!0);if(i){var s=Yn(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=n;break;case 64:for(a={},o=0;o<n.length;o++)a[r[o].name]=n[o];break;case 128:var l=n[0],u=n.slice(1);a=l.transform.apply(l,c(u))}s.value=a}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Ss(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var i=Gn(e,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var s=i[o];s.state|=32,ur(s,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Cs(e,t,n,r,i,o,s,a,l,u,c,d,p){return 0===n?function(e,t,n,r,i,o,s,a,l,u,c,d){var p=t.bindings.length;p>0&&ar(e,t,0,n),p>1&&ar(e,t,1,r),p>2&&ar(e,t,2,i),p>3&&ar(e,t,3,o),p>4&&ar(e,t,4,s),p>5&&ar(e,t,5,a),p>6&&ar(e,t,6,l),p>7&&ar(e,t,7,u),p>8&&ar(e,t,8,c),p>9&&ar(e,t,9,d)}(e,t,r,i,o,s,a,l,u,c,d,p):function(e,t,n){for(var r=0;r<n.length;r++)ar(e,t,r,n[r])}(e,t,r),!1}function xs(e,t){if(Zn(e,t.nodeIndex).dirty)throw Fn(Kn.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Es(e){if(!(128&e.state)){if(Ts(e,ks.Destroy),Os(e,ks.Destroy),Ii(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=dr(e);if(t){var n=t.template._projectedViews;n&&(qr(n,n.indexOf(e)),Kn.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Gn(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Wn(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Zn(e,n).destroy()}}(e),fr(e)&&e.renderer.destroy(),e.state|=128}}var ks=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function Os(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?Is(Gn(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function Ts(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Gn(e,r).viewContainer._embeddedViews,s=0;s<o.length;s++)Is(o[s],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function Is(e,t){var n=e.state;switch(t){case ks.CheckNoChanges:0==(128&n)&&(12==(12&n)?bs(e):64&n&&As(e,ks.CheckNoChangesProjectedViews));break;case ks.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?bs(e):64&n&&As(e,t));break;case ks.CheckAndUpdate:0==(128&n)&&(12==(12&n)?_s(e):64&n&&As(e,ks.CheckAndUpdateProjectedViews));break;case ks.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?_s(e):64&n&&As(e,t));break;case ks.Destroy:Es(e);break;case ks.CreateViewNodes:ys(e)}}function As(e,t){Ts(e,t),Os(e,t)}function Ps(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,o=0;o<i;o++){var s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(Kn.setCurrentNode(e,s.nodeIndex),r){case 0:es(e,s);break;case 1:xs(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}var Ms=!1;function Rs(e,t,n,r,i,o){var s=i.injector.get(fn);return fs(Ns(e,i,s,t,n),r,o)}function js(e,t,n,r,i,o){var s=i.injector.get(fn),a=Ns(e,i,new ha(s),t,n),l=Ws(r);return da(ea.create,fs,null,[a,l,o])}function Ns(e,t,n,r,i){var o=t.injector.get(Lt),s=t.injector.get(dt),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function Ds(e,t,n,r){var i=Ws(n);return da(ea.create,hs,null,[e,t,i,r])}function Ls(e,t,n,r){return n=Us.get(t.element.componentProvider.provider.token)||Ws(n),da(ea.create,ms,null,[e,t,n,r])}function zs(e,t,n,r){return oi(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===Vs.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=Vs.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){Fs.forEach(function(r,i){ke(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var r=e.providers[t];n&&(r.flags|=4096);var i=Vs.get(r.token);i&&(r.flags=-3841&r.flags|i.flags,r.deps=yr(i.deps),r.value=i.value)}if(Fs.size>0){var o=new Set(e.modules);Fs.forEach(function(t,r){if(o.has(ke(r).providedIn)){var i={token:r,flags:t.flags|(n?4096:0),deps:yr(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[$n(r)]=i}})}}(e=e.factory(function(){return Xn})),e):e}(r))}var Vs=new Map,Fs=new Map,Us=new Map;function Bs(e){var t;Vs.set(e.token,e),"function"==typeof e.token&&(t=ke(e.token))&&"function"==typeof t.providedIn&&Fs.set(e.token,e)}function qs(e,t){var n=wr(t.viewDefFactory),r=wr(n.nodes[0].element.componentView);Us.set(e,r)}function Hs(){Vs.clear(),Fs.clear(),Us.clear()}function Ws(e){if(0===Vs.size)return e;var t=function(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&Vs.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Xn});for(var n=0;n<t.length;n++)r(e,t[n]);return e;function r(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=Vs.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=yr(o.deps),i.value=o.value)}}}}function Gs(e,t,n,r,i,o,s,a,l,u,c,d,p){var h=e.def.nodes[t];return ws(e,h,n,r,i,o,s,a,l,u,c,d,p),224&h.flags?Yn(e,t).value:void 0}function Qs(e,t,n,r,i,o,s,a,l,u,c,d,p){var h=e.def.nodes[t];return Cs(e,h,n,r,i,o,s,a,l,u,c,d,p),224&h.flags?Yn(e,t).value:void 0}function Ys(e){return da(ea.detectChanges,_s,null,[e])}function Zs(e){return da(ea.checkNoChanges,bs,null,[e])}function Ks(e){return da(ea.destroy,Es,null,[e])}var Xs,Js,$s,ea=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function ta(e,t){Js=e,$s=t}function na(e,t,n,r){return ta(e,t),da(ea.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function ra(e,t){if(128&e.state)throw Bn(ea[Xs]);return ta(e,aa(e,0)),e.def.updateDirectives(function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=e.def.nodes[n];return 0===t?oa(e,s,r,i):sa(e,s,r,i),16384&s.flags&&ta(e,aa(e,n)),224&s.flags?Yn(e,s.nodeIndex).value:void 0},e)}function ia(e,t){if(128&e.state)throw Bn(ea[Xs]);return ta(e,la(e,0)),e.def.updateRenderer(function(e,n,r){for(var i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];var s=e.def.nodes[n];return 0===t?oa(e,s,r,i):sa(e,s,r,i),3&s.flags&&ta(e,la(e,n)),224&s.flags?Yn(e,s.nodeIndex).value:void 0},e)}function oa(e,t,n,r){if(ws.apply(void 0,c([e,t,n],r))){var i=1===n?r[0]:r;if(16384&t.flags){for(var o={},s=0;s<t.bindings.length;s++){var a=t.bindings[s],l=i[s];8&a.flags&&(o[(h=a.nonMinifiedName,"ng-reflect-"+h.replace(/[$@]/g,"_").replace(Ft,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=Ut(l))}var u=t.parent,d=Gn(e,u.nodeIndex).renderElement;if(u.element.name)for(var p in o)null!=(l=o[p])?e.renderer.setAttribute(d,p,l):e.renderer.removeAttribute(d,p);else e.renderer.setValue(d,"bindings="+JSON.stringify(o,null,2))}}var h}function sa(e,t,n,r){Cs.apply(void 0,c([e,t,n],r))}function aa(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function la(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}var ua=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=pr(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Gn(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return ei(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){ca(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&ca(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function(e){for(;e&&!fr(e);)e=e.parent;return e.parent?Gn(e.parent,pr(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?hr(this.view,this.nodeDef):hr(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var o=function(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),s=-1;t.factory(function(){var t;return++s===o?(t=e.error).bind.apply(t,c([e],r)):Xn}),s<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(r)))},e}();function ca(e,t,n){for(var r in t.references)n[r]=ns(e,t,t.references[r])}function da(e,t,n,r){var i=Xs,o=Js,s=$s;try{Xs=e;var a=t.apply(n,r);return Js=o,$s=s,Xs=i,a}catch(l){if(lt(l)||!Js)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),Un(e,t),e}(l,pa())}}function pa(){return Js?new ua(Js,$s):null}var ha=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new fa(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),fa=function(){function e(e){this.delegate=e,this.debugContextFactory=pa,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){Do.delete(e.nativeNode)}(Lo(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new No(n,null,r);i.name=e,zo(i)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&zo(new jo(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&zo(new jo(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Lo(e),r=Lo(t);n&&r&&n instanceof No&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=Lo(e),i=Lo(t),o=Lo(n);r&&i&&r instanceof No&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Lo(e),r=Lo(t);n&&r&&n instanceof No&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=pa();return r&&zo(new No(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var i=Lo(e);i&&i instanceof No&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=Lo(e);r&&r instanceof No&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Lo(e);n&&n instanceof No&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Lo(e);n&&n instanceof No&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var i=Lo(e);i&&i instanceof No&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=Lo(e);r&&r instanceof No&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=Lo(e);r&&r instanceof No&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=Lo(e);r&&r.listeners.push(new Ro(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();function ma(e,t,n){return new ga(e,t,n)}var ga=function(e){function t(t,n,r){var i=e.call(this)||this;return i.moduleType=t,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}return i(t,e),t.prototype.create=function(e){!function(){if(!Ms){Ms=!0;var e=ft()?{setCurrentNode:ta,createRootView:js,createEmbeddedView:Ds,createComponentView:Ls,createNgModuleRef:zs,overrideProvider:Bs,overrideComponentView:qs,clearOverrides:Hs,checkAndUpdateView:Ys,checkNoChangesView:Zs,destroyView:Ks,createDebugContext:function(e,t){return new ua(e,t)},handleEvent:na,updateDirectives:ra,updateRenderer:ia}:{setCurrentNode:function(){},createRootView:Rs,createEmbeddedView:hs,createComponentView:ms,createNgModuleRef:oi,overrideProvider:Xn,overrideComponentView:Xn,clearOverrides:Xn,checkAndUpdateView:_s,checkNoChangesView:bs,destroyView:Es,createDebugContext:function(e,t){return new ua(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Gs:Qs,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Gs:Qs,e)}};Kn.setCurrentNode=e.setCurrentNode,Kn.createRootView=e.createRootView,Kn.createEmbeddedView=e.createEmbeddedView,Kn.createComponentView=e.createComponentView,Kn.createNgModuleRef=e.createNgModuleRef,Kn.overrideProvider=e.overrideProvider,Kn.overrideComponentView=e.overrideComponentView,Kn.clearOverrides=e.clearOverrides,Kn.checkAndUpdateView=e.checkAndUpdateView,Kn.checkNoChangesView=e.checkNoChangesView,Kn.destroyView=e.destroyView,Kn.resolveDep=ki,Kn.createDebugContext=e.createDebugContext,Kn.handleEvent=e.handleEvent,Kn.updateDirectives=e.updateDirectives,Kn.updateRenderer=e.updateRenderer,Kn.dirtyParentQueries=$o}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(wr(this._ngModuleDefFactory));return Kn.createNgModuleRef(this.moduleType,e||He.NULL,this._bootstrapComponents,t)},t}(un),va=(n("yLV6"),function(){var e=Element.prototype;return e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}()),ya={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return ya.schedule(e,0);if(void 0===window.requestAnimationFrame)return ya.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function ba(e,t,n){var r=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(function(t,n){return!("*"===t||!function(t,n){return va.call(e,n)}(0,t)||(r=n,0))}),r}var _a=function(){function e(e,t){this.component=e,this.injector=t,this.componentFactory=t.get(on).resolveComponentFactory(e)}return e.prototype.create=function(e){return new wa(this.componentFactory,e)},e}(),wa=function(){function e(e,t){this.componentFactory=e,this.injector=t,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}return e.prototype.connect=function(e){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(e)},e.prototype.disconnect=function(){var e=this;this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=ya.schedule(function(){e.componentRef&&(e.componentRef.destroy(),e.componentRef=null)},10))},e.prototype.getInputValue=function(e){return this.componentRef?this.componentRef.instance[e]:this.initialInputValues.get(e)},e.prototype.setInputValue=function(e,t){var n,r;(n=t)===(r=this.getInputValue(e))||n!=n&&r!=r||(this.componentRef?(this.recordInputChange(e,t),this.componentRef.instance[e]=t,this.scheduleDetectChanges()):this.initialInputValues.set(e,t))},e.prototype.initializeComponent=function(e){var t=He.create({providers:[],parent:this.injector}),n=function(t,n){var r=e.childNodes,i=n.map(function(){return[]}),o=-1;n.some(function(e,t){return"*"===e&&(o=t,!0)});for(var s=0,a=r.length;s<a;++s){var l=r[s],u=ba(l,n,o);-1!==u&&i[u].push(l)}return i}(0,this.componentFactory.ngContentSelectors);this.componentRef=this.componentFactory.create(t,n,e),this.implementsOnChanges="function"==typeof this.componentRef.instance.ngOnChanges,this.initializeInputs(),this.initializeOutputs(),this.detectChanges(),this.injector.get(Oo).attachView(this.componentRef.hostView)},e.prototype.initializeInputs=function(){var e=this;this.componentFactory.inputs.forEach(function(t){var n=t.propName,r=e.initialInputValues.get(n);r?e.setInputValue(n,r):e.uninitializedInputs.add(n)}),this.initialInputValues.clear()},e.prototype.initializeOutputs=function(){var e=this,t=this.componentFactory.outputs.map(function(t){var n=t.templateName;return e.componentRef.instance[t.propName].pipe(Q(function(e){return{name:n,value:e}}))});this.events=oe.apply(void 0,c(t))},e.prototype.callNgOnChanges=function(){if(this.implementsOnChanges&&null!==this.inputChanges){var e=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(e)}},e.prototype.scheduleDetectChanges=function(){var e=this;this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=ya.scheduleBeforeRender(function(){e.scheduledChangeDetectionFn=null,e.detectChanges()}))},e.prototype.recordInputChange=function(e,t){if(!this.componentRef||this.implementsOnChanges){null===this.inputChanges&&(this.inputChanges={});var n=this.inputChanges[e];if(n)n.currentValue=t;else{var r=this.uninitializedInputs.has(e);this.uninitializedInputs.delete(e);var i=r?void 0:this.getInputValue(e);this.inputChanges[e]=new Xt(i,t,r)}}},e.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},e}(),Sa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ngElementEventsSubscription=null,t}return i(t,e),t}(HTMLElement);function Ca(e,t){var n=function(e,n){return t.injector.get(on).resolveComponentFactory(e).inputs}(e),r=t.strategyFactory||new _a(e,t.injector),o=function(e){var t={};return e.forEach(function(e){var n,r=e.propName;t[(n=e.templateName,n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}))]=r}),t}(n),s=function(e){function n(n){var i=e.call(this)||this;return i.ngElementStrategy=r.create(n||t.injector),i}return i(n,e),n.prototype.attributeChangedCallback=function(e,n,i,s){this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector)),this.ngElementStrategy.setInputValue(o[e],i)},n.prototype.connectedCallback=function(){var e=this;this.ngElementStrategy||(this.ngElementStrategy=r.create(t.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(t){var n=function(t,n,r){if("function"!=typeof CustomEvent){var i=e.ownerDocument.createEvent("CustomEvent");return i.initCustomEvent(n,!1,!1,r),i}return new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:r})}(0,t.name,t.value);e.dispatchEvent(n)})},n.prototype.disconnectedCallback=function(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)},n.observedAttributes=Object.keys(o),n}(Sa);return n.map(function(e){return e.propName}).forEach(function(e){Object.defineProperty(s.prototype,e,{get:function(){return this.ngElementStrategy.getInputValue(e)},set:function(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})}),s}var xa=n("PZzU"),Ea=function(){function e(e,t){this.dialogRef=e,this.data=t}return e.prototype.ngOnInit=function(){},e}(),ka=function(){function e(){}return e.prototype.updateLayout=function(){var e=this;setTimeout(function(){if("none"!==e.layoutContainer.style.display){var t=e.layoutContainer.id;t||(t="OT_"+e.cheapUUID(),e.layoutContainer.id=t);var n=e.getHeight(e.layoutContainer)-e.getCSSNumber(e.layoutContainer,"borderTop")-e.getCSSNumber(e.layoutContainer,"borderBottom"),r=e.getWidth(e.layoutContainer)-e.getCSSNumber(e.layoutContainer,"borderLeft")-e.getCSSNumber(e.layoutContainer,"borderRight"),i=n/r,o=0,s=0,a=0,l=0,u=Array.prototype.filter.call(e.layoutContainer.querySelectorAll("#"+t+">."+e.opts.bigClass),e.filterDisplayNone),c=Array.prototype.filter.call(e.layoutContainer.querySelectorAll("#"+t+">*:not(."+e.opts.bigClass+")"),e.filterDisplayNone);if(u.length>0&&c.length>0){var d=void 0,p=void 0;i>e.getVideoRatio(u[0])?(d=r,a=n-(s=p=Math.floor(n*e.opts.bigPercentage))):(p=n,l=r-(o=d=Math.floor(r*e.opts.bigPercentage))),e.opts.bigFirst?(e.arrange(u,d,p,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate),e.arrange(c,r-o,n-s,o,s,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate)):(e.arrange(c,r-o,n-s,0,0,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate),e.arrange(u,d,p,l,a,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate))}else u.length>0&&0===c.length?e.arrange(u,r,n,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate):e.arrange(c,r-o,n-s,o,s,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate)}},50)},e.prototype.initLayoutContainer=function(e,t){this.opts={maxRatio:null!=t.maxRatio?t.maxRatio:1.5,minRatio:null!=t.minRatio?t.minRatio:9/16,fixedRatio:null!=t.fixedRatio&&t.fixedRatio,animate:null!=t.animate&&t.animate,bigClass:null!=t.bigClass?t.bigClass:"OT_big",bigPercentage:null!=t.bigPercentage?t.bigPercentage:.8,bigFixedRatio:null!=t.bigFixedRatio&&t.bigFixedRatio,bigMaxRatio:null!=t.bigMaxRatio?t.bigMaxRatio:1.5,bigMinRatio:null!=t.bigMinRatio?t.bigMinRatio:9/16,bigFirst:null==t.bigFirst||t.bigFirst},this.layoutContainer="string"==typeof e?$(e):e},e.prototype.setLayoutOptions=function(e){this.opts=e},e.prototype.fixAspectRatio=function(e,t){var n=e.querySelector(".OT_root");if(n){var r=n.style.width;n.style.width=t+"px",n.style.width=r||""}},e.prototype.positionElement=function(e,t,n,r,i,o){var s=this,a={left:t+"px",top:n+"px",width:r+"px",height:i+"px"};this.fixAspectRatio(e,r),o&&$?($(e).stop(),$(e).animate(a,o.duration||200,o.easing||"swing",function(){s.fixAspectRatio(e,r),o.complete&&o.complete.call(s)})):$(e).css(a),this.fixAspectRatio(e,r)},e.prototype.getVideoRatio=function(e){if(!e)return.75;var t=e.querySelector("video");return t&&t.videoHeight&&t.videoWidth?t.videoHeight/t.videoWidth:e.videoHeight&&e.videoWidth?e.videoHeight/e.videoWidth:.75},e.prototype.getCSSNumber=function(e,t){var n=$(e).css(t);return n?parseInt(n,10):0},e.prototype.cheapUUID=function(){return(1e8*Math.random()).toFixed(0)},e.prototype.getHeight=function(e){var t=$(e).css("height");return t?parseInt(t,10):0},e.prototype.getWidth=function(e){var t=$(e).css("width");return t?parseInt(t,10):0},e.prototype.getBestDimensions=function(e,t,n,r,i,o){for(var s,a,l,u,c,d,p,h=1;h<=n;h++){var f=h,m=Math.ceil(n/f);(p=(d=Math.floor(i/m))/(c=Math.floor(r/f)))>t?d=c*(p=t):p<e&&(c=d/(p=e));var g=c*d*n;(void 0===s||g>s)&&(s=g,o=d,u=c,a=f,l=m)}return{maxArea:s,targetCols:a,targetRows:l,targetHeight:o,targetWidth:u,ratio:o/u}},e.prototype.arrange=function(e,t,n,r,i,o,s,a,l){var u,c,d=e.length;if(o){var p=this.getVideoRatio(e.length>0?e[0]:null);c=this.getBestDimensions(p,p,d,t,n,u)}else c=this.getBestDimensions(s,a,d,t,n,u);for(var h,f=0,m=0,g=[],v=0;v<e.length;v++){v%c.targetCols==0&&g.push(h={children:[],width:0,height:0}),h.children.push(x=e[v]);var y=c.targetWidth;u=c.targetHeight,o&&(y=u/this.getVideoRatio(x)),h.width+=y,h.height=u}var b=0,_=0;for(v=0;v<g.length;v++)(h=g[v]).width>t?(h.height=Math.floor(h.height*(t/h.width)),h.width=t):h.width<t&&(_+=1),b+=h.height;if(b<n&&_>0){var w=n-b;for(b=0,v=0;v<g.length;v++){if((h=g[v]).width<t){var S=w/_;S/h.height>(t-h.width)/h.width&&(S=Math.floor((t-h.width)/h.width*h.height)),h.width+=Math.floor(S/h.height*h.width),h.height+=S,w-=S,_-=1}b+=h.height}}for(m=(n-b)/2,v=0;v<g.length;v++){f=(t-(h=g[v]).width)/2;for(var C=0;C<h.children.length;C++){var x=h.children[C];y=c.targetWidth,u=h.height,o&&(y=Math.floor(u/this.getVideoRatio(x))),x.style.position="absolute";var E=y-this.getCSSNumber(x,"paddingLeft")-this.getCSSNumber(x,"paddingRight")-this.getCSSNumber(x,"marginLeft")-this.getCSSNumber(x,"marginRight")-this.getCSSNumber(x,"borderLeft")-this.getCSSNumber(x,"borderRight"),k=u-this.getCSSNumber(x,"paddingTop")-this.getCSSNumber(x,"paddingBottom")-this.getCSSNumber(x,"marginTop")-this.getCSSNumber(x,"marginBottom")-this.getCSSNumber(x,"borderTop")-this.getCSSNumber(x,"borderBottom");this.positionElement(x,f+r,m+i,E,k,l),f+=y}m+=u}},e.prototype.filterDisplayNone=function(e){return"none"!==e.style.display},e}(),Oa=function(){function e(){this.connectionId="",this.audioActive=!0,this.videoActive=!0,this.screenShareActive=!1,this.nickname="",this.streamManager=null,this.type="local"}return e.prototype.isAudioActive=function(){return this.audioActive},e.prototype.isVideoActive=function(){return this.videoActive},e.prototype.isScreenShareActive=function(){return this.screenShareActive},e.prototype.getConnectionId=function(){return this.connectionId},e.prototype.getLocalConnectionId=function(){return this.localConnectionId},e.prototype.getNickname=function(){return this.nickname},e.prototype.getStreamManager=function(){return this.streamManager},e.prototype.getAvatar=function(){return this.videoAvatar?this.videoAvatar.toDataURL():this.randomAvatar},e.prototype.isLocal=function(){return"local"===this.type},e.prototype.isRemote=function(){return!this.isLocal()},e.prototype.isScreen=function(){return"screen"===this.type},e.prototype.setAudioActive=function(e){this.audioActive=e},e.prototype.setVideoActive=function(e){this.videoActive=e},e.prototype.setScreenShareActive=function(e){this.screenShareActive=e},e.prototype.setStreamManager=function(e){this.streamManager=e},e.prototype.setConnectionId=function(e){this.connectionId=e},e.prototype.setLocalConnectionId=function(e){this.localConnectionId=e},e.prototype.setNickname=function(e){this.nickname=e},e.prototype.setType=function(e){this.type=e},e.prototype.setUserAvatar=function(e){var t=this;return new Promise(function(n){if(e)t.randomAvatar=e,n();else{t.createVideoAvatar();var r=document.getElementById("video-"+t.getStreamManager().stream.streamId);t.videoAvatar.getContext("2d").drawImage(r,200,120,285,285,0,0,100,100),console.log("Photo was taken: ",t.videoAvatar),n()}})},e.prototype.removeVideoAvatar=function(){this.videoAvatar=null},e.prototype.createVideoAvatar=function(){this.videoAvatar=document.createElement("canvas"),this.videoAvatar.className="user-img",this.videoAvatar.width=100,this.videoAvatar.height=100},e}();function Ta(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return L(n)?(e.pop(),K(e,n)):ie(e)}function Ia(e,t){return J(e,t,1)}function Aa(e,t){return function(n){return n.lift(new Pa(e,t))}}var Pa=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Ma(e,this.predicate,this.thisArg))},e}(),Ma=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.predicate=n,i.thisArg=r,i.count=0,i}return i(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)},t}(C),Ra=function(){return function(){}}(),ja=new Ve("Location Initialized"),Na=function(){return function(){}}(),Da=new Ve("appBaseHref"),La=function(){function e(e,n){var r=this;this._subject=new Ri,this._urlChangeListeners=[],this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=t.stripTrailingSlash(za(i)),this._platformStrategy.onPopState(function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})})}var t;return t=e,e.prototype.path=function(e){return void 0===e&&(e=!1),this.normalize(this._platformStrategy.path(e))},e.prototype.getState=function(){return this._platformLocation.getState()},e.prototype.isCurrentPathEqualTo=function(e,n){return void 0===n&&(n=""),this.path()==this.normalize(e+t.normalizeQueryParams(n))},e.prototype.normalize=function(e){return t.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,za(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.replaceState=function(e,n,r){void 0===n&&(n=""),void 0===r&&(r=null),this._platformStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+t.normalizeQueryParams(n)),r)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},e.prototype.onUrlChange=function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)})},e.prototype._notifyUrlChangeListeners=function(e,t){void 0===e&&(e=""),this._urlChangeListeners.forEach(function(n){return n(e,t)})},e.prototype.subscribe=function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})},e.normalizeQueryParams=function(e){return e&&"?"!==e[0]?"?"+e:e},e.joinWithSlash=function(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t},e.stripTrailingSlash=function(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)},e}();function za(e){return e.replace(/\/index.html$/,"")}var Va=function(e){function t(t,n){var r=e.call(this)||this;return r._platformLocation=t,r._baseHref="",null!=n&&(r._baseHref=n),r}return i(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t},t.prototype.prepareExternalUrl=function(e){var t=La.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+La.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+La.normalizeQueryParams(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Na),Fa=function(e){function t(t,n){var r=e.call(this)||this;if(r._platformLocation=t,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(t,e),t.prototype.onPopState=function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)},t.prototype.getBaseHref=function(){return this._baseHref},t.prototype.prepareExternalUrl=function(e){return La.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+La.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,r){var i=this.prepareExternalUrl(n+La.normalizeQueryParams(r));this._platformLocation.pushState(e,t,i)},t.prototype.replaceState=function(e,t,n,r){var i=this.prepareExternalUrl(n+La.normalizeQueryParams(r));this._platformLocation.replaceState(e,t,i)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(Na),Ua=void 0,Ba=["en",[["a","p"],["AM","PM"],Ua],[["AM","PM"],Ua,Ua],[["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"]],Ua,[["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"]],Ua,[["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}",Ua,"{1} 'at' {0}",Ua],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],qa={},Ha=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Wa=new Ve("UseV4Plurals"),Ga=function(){return function(){}}(),Qa=function(e){function t(t,n){var r=e.call(this)||this;return r.locale=t,r.deprecatedPluralFn=n,r}return i(t,e),t.prototype.getPluralCategory=function(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){var t=e.toLowerCase().replace(/_/g,"-"),n=qa[t];if(n)return n;var r=t.split("-")[0];if(n=qa[r])return n;if("en"===r)return Ba;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Ha.Zero:return"zero";case Ha.One:return"one";case Ha.Two:return"two";case Ha.Few:return"few";case Ha.Many:return"many";default:return"other"}},t}(Ga);function Ya(e,t){var n,r;t=encodeURIComponent(t);try{for(var i=l(e.split(";")),o=i.next();!o.done;o=i.next()){var s=o.value,a=s.indexOf("="),c=u(-1==a?[s,""]:[s.slice(0,a),s.slice(a+1)],2),d=c[1];if(c[0].trim()===t)return decodeURIComponent(d)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}var Za=function(){return function(){}}(),Ka=function(){function e(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this._initialClasses=[]}return e.prototype.getValue=function(){return null},e.prototype.setClass=function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},e.prototype.setNgClass=function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Zt(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},e.prototype.applyChanges=function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}},e.prototype._applyKeyValueChanges=function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})},e.prototype._applyIterableChanges=function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Te(e.item));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})},e.prototype._applyClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))},e.prototype._removeClasses=function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))},e.prototype._toggleClass=function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})},e}(),Xa=function(e){function t(t){return e.call(this,t)||this}return i(t,e),Object.defineProperty(t.prototype,"klass",{set:function(e){this._delegate.setClass(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(e){this._delegate.setNgClass(e)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this._delegate.applyChanges()},t}(function(){function e(e){this._delegate=e}return e.prototype.getValue=function(){return this._delegate.getValue()},e.ngDirectiveDef=void 0,e}()),Ja=function(){function e(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}return Object.defineProperty(e.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),e}(),$a=function(){function e(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(e.prototype,"ngForOf",{set:function(e){this._ngForOf=e,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(e){ft()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(e)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngForTemplate",{set:function(e){e&&(this._template=e)},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+((t=e).name||typeof t)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},e.prototype._applyChanges=function(e){var t=this,n=[];e.forEachOperation(function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Ja(null,t._ngForOf,-1,-1),i),s=new el(e,o);n.push(s)}else null==i?t._viewContainer.remove(r):(o=t._viewContainer.get(r),t._viewContainer.move(o,i),s=new el(e,o),n.push(s))});for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);r=0;for(var i=this._viewContainer.length;r<i;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=i,o.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})},e.prototype._perViewChange=function(e,t){e.context.$implicit=t.item},e.ngTemplateContextGuard=function(e,t){return!0},e}(),el=function(){return function(e,t){this.record=e,this.view=t}}(),tl=function(){function e(e,t){this._viewContainer=e,this._context=new nl,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}return Object.defineProperty(e.prototype,"ngIf",{set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfThen",{set:function(e){rl("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){rl("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),e.prototype._updateView=function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))},e.ngTemplateGuard_ngIf=function(e,t){return!0},e}(),nl=function(){return function(){this.$implicit=null,this.ngIf=null}}();function rl(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+Te(t)+"'.")}var il=function(){function e(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}return e.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},e.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},e.prototype.enforceState=function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()},e}(),ol=function(){function e(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(e.prototype,"ngSwitch",{set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),e.prototype._addCase=function(){return this._caseCount++},e.prototype._addDefault=function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)},e.prototype._matchCase=function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t},e.prototype._updateDefaultCases=function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}},e}(),sl=function(){function e(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new il(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},e}(),al=function(){return function(e,t,n){n._addDefault(new il(e,t))}}(),ll=function(){return function(){}}(),ul=function(){function e(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n}return e.prototype.getValue=function(){return null},e.prototype.setNgStyle=function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},e.prototype.applyChanges=function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}},e.prototype._applyChanges=function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})},e.prototype._setStyle=function(e,t){var n=u(e.split("."),2),r=n[0],i=n[1];null!=(t=null!=t&&i?""+t+i:t)?this._renderer.setStyle(this._ngEl.nativeElement,r,t):this._renderer.removeStyle(this._ngEl.nativeElement,r)},e}(),cl=function(e){function t(t){return e.call(this,t)||this}return i(t,e),Object.defineProperty(t.prototype,"ngStyle",{set:function(e){this._delegate.setNgStyle(e)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){this._delegate.applyChanges()},t}(function(){function e(e){this._delegate=e}return e.prototype.getValue=function(){return this._delegate.getValue()},e.ngDirectiveDef=void 0,e}()),dl=function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.subscribe({next:t,error:function(e){throw e}})},e.prototype.dispose=function(e){e.unsubscribe()},e.prototype.onDestroy=function(e){e.unsubscribe()},e}(),pl=new(function(){function e(){}return e.prototype.createSubscription=function(e,t){return e.then(t,function(e){throw e})},e.prototype.dispose=function(e){},e.prototype.onDestroy=function(e){},e}()),hl=new dl,fl=function(){function e(e){this._ref=e,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var t;return t=e,e.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},e.prototype.transform=function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Gt(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,Yt.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)},e.prototype._subscribe=function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,function(n){return t._updateLatestValue(e,n)})},e.prototype._selectStrategy=function(e){if(Bt(e))return pl;if(qt(e))return hl;throw Error("InvalidPipeArgument: '"+e+"' for pipe '"+Te(t)+"'")},e.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},e.prototype._updateLatestValue=function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())},e}(),ml=function(){return function(){}}(),gl=new Ve("DocumentToken"),vl="browser",yl="server";function bl(e){return e===vl}function _l(e){return e===yl}var wl=function(){function e(){}return e.ngInjectableDef=Ee({providedIn:"root",factory:function(){return new Sl(Le(gl),window,Le(dt))}}),e}(),Sl=function(){function e(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=function(){return[0,0]}}return e.prototype.setOffset=function(e){this.offset=Array.isArray(e)?function(){return e}:e},e.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},e.prototype.scrollToPosition=function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])},e.prototype.scrollToAnchor=function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='"+e+"']");if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}},e.prototype.setHistoryScrollRestoration=function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}},e.prototype.scrollToElement=function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),Cl=function(){return function(){}}(),xl=function(){return function(){}}(),El=function(){function e(e){var t=this;this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?function(){t.headers=new Map,e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>0){var r=e.slice(0,n),i=r.toLowerCase(),o=e.slice(n+1).trim();t.maybeSetNormalizedName(r,i),t.headers.has(i)?t.headers.get(i).push(o):t.headers.set(i,[o])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var r=e[n],i=n.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(t.headers.set(i,r),t.maybeSetNormalizedName(n,i))})}:this.headers=new Map}return e.prototype.has=function(e){return this.init(),this.headers.has(e.toLowerCase())},e.prototype.get=function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null},e.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},e.prototype.getAll=function(e){return this.init(),this.headers.get(e.toLowerCase())||null},e.prototype.append=function(e,t){return this.clone({name:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({name:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({name:e,value:t,op:"d"})},e.prototype.maybeSetNormalizedName=function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)},e.prototype.init=function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))},e.prototype.copyFrom=function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})},e.prototype.clone=function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n},e.prototype.applyUpdate=function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,c(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===i.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}},e.prototype.forEach=function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})},e}(),kl=function(){function e(){}return e.prototype.encodeKey=function(e){return Ol(e)},e.prototype.encodeValue=function(e){return Ol(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function Ol(e){return encodeURIComponent(e).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 Tl=function(){function e(e){var t,n,r,i=this;if(void 0===e&&(e={}),this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new kl,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),i=u(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=i[0],s=i[1],a=r.get(o)||[];a.push(s),r.set(o,a)}),r)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];i.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}return e.prototype.has=function(e){return this.init(),this.map.has(e)},e.prototype.get=function(e){this.init();var t=this.map.get(e);return t?t[0]:null},e.prototype.getAll=function(e){return this.init(),this.map.get(e)||null},e.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},e.prototype.append=function(e,t){return this.clone({param:e,value:t,op:"a"})},e.prototype.set=function(e,t){return this.clone({param:e,value:t,op:"s"})},e.prototype.delete=function(e,t){return this.clone({param:e,value:t,op:"d"})},e.prototype.toString=function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).join("&")},e.prototype.clone=function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n},e.prototype.init=function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)},e}();function Il(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Al(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Pl(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Ml=function(){function e(e,t,n,r){var i;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==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 El),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var s=t.indexOf("?");this.urlWithParams=t+(-1===s?"?":s<t.length-1?"&":"")+o}}else this.params=new Tl,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:Il(this.body)||Al(this.body)||Pl(this.body)||"string"==typeof this.body?this.body:this.body instanceof Tl?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},e.prototype.detectContentTypeHeader=function(){return null===this.body?null:Pl(this.body)?null:Al(this.body)?this.body.type||null:Il(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Tl?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},e.prototype.clone=function(t){void 0===t&&(t={});var n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,s=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,a=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,l=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},l)),t.setParams&&(u=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},u)),new e(n,r,o,{params:u,headers:l,reportProgress:a,responseType:i,withCredentials:s})},e}(),Rl=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),jl=function(){return function(e,t,n){void 0===t&&(t=200),void 0===n&&(n="OK"),this.headers=e.headers||new El,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}(),Nl=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Rl.ResponseHeader,n}return i(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(jl),Dl=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Rl.Response,n.body=void 0!==t.body?t.body:null,n}return i(t,e),t.prototype.clone=function(e){return void 0===e&&(e={}),new t({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})},t}(jl),Ll=function(e){function t(t){var n=e.call(this,t,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(t.url||"(unknown url)"):"Http failure response for "+(t.url||"(unknown url)")+": "+t.status+" "+t.statusText,n.error=t.error||null,n}return i(t,e),t}(jl);function zl(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Vl=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var r,i=this;if(void 0===n&&(n={}),e instanceof Ml)r=e;else{var o;o=n.headers instanceof El?n.headers:new El(n.headers);var s=void 0;n.params&&(s=n.params instanceof Tl?n.params:new Tl({fromObject:n.params})),r=new Ml(e,t,void 0!==n.body?n.body:null,{headers:o,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var a=Ta(r).pipe(Ia(function(e){return i.handler.handle(e)}));if(e instanceof Ml||"events"===n.observe)return a;var l=a.pipe(Aa(function(e){return e instanceof Dl}));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return l.pipe(Q(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Q(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Q(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(Q(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},e.prototype.delete=function(e,t){return void 0===t&&(t={}),this.request("DELETE",e,t)},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.request("GET",e,t)},e.prototype.head=function(e,t){return void 0===t&&(t={}),this.request("HEAD",e,t)},e.prototype.jsonp=function(e,t){return this.request("JSONP",e,{params:(new Tl).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},e.prototype.options=function(e,t){return void 0===t&&(t={}),this.request("OPTIONS",e,t)},e.prototype.patch=function(e,t,n){return void 0===n&&(n={}),this.request("PATCH",e,zl(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,zl(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,zl(n,t))},e}(),Fl=function(){function e(e,t){this.next=e,this.interceptor=t}return e.prototype.handle=function(e){return this.interceptor.intercept(e,this.next)},e}(),Ul=new Ve("HTTP_INTERCEPTORS"),Bl=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),ql=/^\)\]\}',?\n/,Hl=function(){return function(){}}(),Wl=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Gl=function(){function e(e){this.xhrFactory=e}return e.prototype.handle=function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new I(function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach(function(e,t){return r.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var s=e.serializeBody(),a=null,l=function(){if(null!==a)return a;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new El(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return a=new Nl({headers:i,status:t,statusText:n,url:o})},u=function(){var t=l(),i=t.headers,o=t.status,s=t.statusText,a=t.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"===e.responseType&&"string"==typeof u){var d=u;u=u.replace(ql,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=d,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new Dl({body:u,headers:i,status:o,statusText:s,url:a||void 0})),n.complete()):n.error(new Ll({error:u,headers:i,status:o,statusText:s,url:a||void 0}))},c=function(e){var t=l().url,i=new Ll({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},d=!1,p=function(t){d||(n.next(l()),d=!0);var i={type:Rl.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},h=function(e){var t={type:Rl.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",c),e.reportProgress&&(r.addEventListener("progress",p),null!==s&&r.upload&&r.upload.addEventListener("progress",h)),r.send(s),n.next({type:Rl.Sent}),function(){r.removeEventListener("error",c),r.removeEventListener("load",u),e.reportProgress&&(r.removeEventListener("progress",p),null!==s&&r.upload&&r.upload.removeEventListener("progress",h)),r.abort()}})},e}(),Ql=new Ve("XSRF_COOKIE_NAME"),Yl=new Ve("XSRF_HEADER_NAME"),Zl=function(){return function(){}}(),Kl=function(){function e(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return e.prototype.getToken=function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ya(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),Xl=function(){function e(e,t){this.tokenService=e,this.headerName=t}return e.prototype.intercept=function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)},e}(),Jl=function(){function e(e,t){this.backend=e,this.injector=t,this.chain=null}return e.prototype.handle=function(e){if(null===this.chain){var t=this.injector.get(Ul,[]);this.chain=t.reduceRight(function(e,t){return new Fl(e,t)},this.backend)}return this.chain.handle(e)},e}(),$l=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:Xl,useClass:Bl}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:Ql,useValue:e.cookieName}:[],e.headerName?{provide:Yl,useValue:e.headerName}:[]]}},e}(),eu=function(){return function(){}}();function tu(e,t){return new I(t?function(n){return t.schedule(nu,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function nu(e){e.subscriber.error(e.error)}function ru(e){return function(t){var n=new iu(e),r=t.lift(n);return n.caught=r}}var iu=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new ou(e,this.selector,this.caught))},e}(),ou=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.selector=n,i.caught=r,i}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(i){return void e.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var r=new z(this,void 0,void 0);this.add(r),W(this,n,void 0,void 0,r)}},t}(G),su=function(){function e(e){this.http=e,this.URL_OV="https://"+location.hostname+":4443",this.MY_SECRET="MY_SECRET",this.SETTINGS_FILE_NAME="ov-settings.json",this.ovSettings={chat:!0,autopublish:!1,toolbarButtons:{video:!0,audio:!0,fullscreen:!0,screenShare:!0,exit:!0}}}return e.prototype.getToken=function(e,t,n){var r=this;return new Promise(function(i,o){var s=void 0!==t?t:r.URL_OV,a=void 0!==n?n:r.MY_SECRET;r.createSession(e,s,a).then(function(e){r.createToken(e,s,a).then(function(e){return i(e)}).catch(function(e){return o(e)})}).catch(function(e){return o(e)})})},e.prototype.createSession=function(e,t,n){var r=this;return new Promise(function(i,o){var s=JSON.stringify({customSessionId:e}),a={headers:new El({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return r.http.post(t+"/api/sessions",s,a).pipe(ru(function(t){return 409===t.status?i(e):o(t),tu(t)})).subscribe(function(e){console.log(e),i(e.id)})})},e.prototype.createToken=function(e,t,n){var r=this;return new Promise(function(i,o){var s=JSON.stringify({session:e}),a={headers:new El({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return r.http.post(t+"/api/tokens",s,a).pipe(ru(function(e){return o(e),tu(e)})).subscribe(function(e){console.log(e),i(e.token)})})},e.prototype.getOvSettingsData=function(){var e=this;return new Promise(function(t){e.http.get(e.SETTINGS_FILE_NAME).subscribe(function(n){console.log("FILE",n),console.log(n.openviduSettings),e.ovSettings=n.openviduSettings?n.openviduSettings:e.ovSettings,n.openviduCredentials&&(e.URL_OV=n.openviduCredentials.openvidu_url?n.openviduCredentials.openvidu_url:e.URL_OV,e.MY_SECRET=n.openviduCredentials.openvidu_secret?n.openviduCredentials.openvidu_secret:e.MY_SECRET),console.log("URL Environment",e.URL_OV),t(n.openviduSettings)},function(n){console.warn("Credentials file not found "),console.log("URL Environment",e.URL_OV),t(e.ovSettings)})})},e.ngInjectableDef=Ee({factory:function(){return new e(Le(Vl))},token:e,providedIn:"root"}),e}(),au=function(){function e(){this.messageList=[],this.closeChat=new Ri}return e.prototype.onKeydownHandler=function(e){console.log(e),this._chatOpened&&this.close()},e.prototype.ngOnInit=function(){},Object.defineProperty(e.prototype,"isDisplayed",{set:function(e){var t=this;this._chatOpened=e,this._chatOpened&&(this.scrollToBottom(),setTimeout(function(){t.chatInput.nativeElement.focus()}))},enumerable:!0,configurable:!0}),e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.sendMessage()},e.prototype.sendMessage=function(){if(this.user&&this.message&&(this.message=this.message.replace(/ +(?= )/g,""),""!==this.message&&" "!==this.message)){var e={connectionId:this.user.getConnectionId(),message:this.message,nickname:this.user.getNickname()};this.session.signal({data:JSON.stringify(e),type:"chat"}),this.message=""}},e.prototype.scrollToBottom=function(){var e=this;setTimeout(function(){try{e.chatScroll.nativeElement.scrollTop=e.chatScroll.nativeElement.scrollHeight}catch(t){}},20)},e.prototype.close=function(){this.closeChat.emit()},e}(),lu=function(){function e(e){this.http=e,this.BIG_ELEMENT_CLASS="OV_big"}return e.prototype.toggleFullscreen=function(e){var t=window.document,n=t.getElementById(e);return t.fullscreenElement||t.mozFullScreenElement||t.webkitFullscreenElement||t.msFullscreenElement?(t.exitFullscreen?t.exitFullscreen():t.msExitFullscreen?t.msExitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitExitFullscreen&&t.webkitExitFullscreen(),"fullscreen_exit"):(n.requestFullscreen?n.requestFullscreen():n.msRequestFullscreen?n.msRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen&&n.webkitRequestFullscreen(),"fullscreen")},e.prototype.getRandomAvatar=function(){var e=this;return new Promise(function(t,n){e.http.get("https://randomuser.me/api/?lego").subscribe(function(e){t(e.results[0].picture.thumbnail)})})},e.prototype.handlerScreenShareError=function(e){e&&"SCREEN_SHARING_NOT_SUPPORTED"===e.name?alert("Your browser does not support screen sharing"):e&&"SCREEN_EXTENSION_DISABLED"===e.name&&alert("You need to enable screen sharing extension")},e.prototype.getOpenviduLayoutOptions=function(){return{maxRatio:1.5,minRatio:.6,fixedRatio:!1,bigClass:this.BIG_ELEMENT_CLASS,bigPercentage:.85,bigFixedRatio:!1,bigMaxRatio:1.5,bigMinRatio:9/16,bigFirst:!0,animate:!0}},e.ngInjectableDef=Ee({factory:function(){return new e(Le(Vl))},token:e,providedIn:"root"}),e}(),uu=function(){function e(e,t,n,r){this.openViduSrv=e,this.router=t,this.dialog=n,this.apiSrv=r,this.joinSession=new Ri,this.leaveSession=new Ri,this.error=new Ri,this.BIG_ELEMENT_CLASS="OV_big",this.SCREEN_TYPE="screen",this.REMOTE_TYPE="remote",this.compact=!1,this.sidenavMode="side",this.showDialogExtension=!1,this.showDialogChooseRoom=!0,this.localUsers=[],this.remoteUsers=[],this.messageList=[],this.newMessages=0}return e.prototype.beforeunloadHandler=function(){this.exitSession()},e.prototype.sizeChange=function(){this.openviduLayout&&(this.openviduLayout.updateLayout(),this.checkSizeComponent())},e.prototype.ngOnInit=function(){var e=this;this.checkTheme(),this.openViduSrv.getOvSettingsData().then(function(t){e.ovSettings=e.ovSettings?e.ovSettings:t}).catch(function(e){return console.error(e)})},e.prototype.ngOnDestroy=function(){this.exitSession()},e.prototype.initApp=function(){var e=this;setTimeout(function(){e.openviduLayout=new ka,e.openviduLayoutOptions=e.apiSrv.getOpenviduLayoutOptions(),e.openviduLayout.initLayoutContainer(document.getElementById("layout"),e.openviduLayoutOptions),e.checkSizeComponent(),e.joinToSession()},50)},e.prototype.toggleChat=function(){var e=this;this.chat.toggle().then(function(){e.chatOpened=e.chat.opened,e.chatOpened&&(e.newMessages=0),setTimeout(function(){return e.openviduLayout.updateLayout()},e.isWebComponent?300:0)})},e.prototype.checkNotification=function(){this.newMessages=this.chatOpened?0:this.newMessages+1},e.prototype.joinToSession=function(){this.OV=new xa.OpenVidu,this.OVScreen=new xa.OpenVidu,this.session=this.OV.initSession(),this.sessionScreen=this.OVScreen.initSession(),this.subscribeToUserChanged(),this.subscribeToStreamCreated(),this.subscribedToStreamDestroyed(),this.subscribedToChat(),this.connectToSession()},e.prototype.exitSession=function(){this.sessionScreen&&this.sessionScreen.disconnect(),this.session&&this.session.disconnect(),this.OV=null,this.OVScreen=null,this.session=null,this.sessionScreen=null,this.userCamDeleted=null,this.localUsers=[],this.remoteUsers=[],this.openviduLayout=null,this.router.navigate([""]),this.leaveSession.emit()},e.prototype.nicknameChanged=function(e){var t=this;this.localUsers.forEach(function(n){n.setNickname(e),t.sendSignalUserChanged(n)})},e.prototype.toggleMic=function(){this.localUsers[0].setAudioActive(!this.localUsers[0].isAudioActive()),this.localUsers[0].getStreamManager().publishAudio(this.localUsers[0].isAudioActive()),this.sendSignalUserChanged(this.localUsers[0])},e.prototype.toggleCam=function(){var e=this;2===this.localUsers.length?(console.log("TWO USERS - STOP CAM"),this.stopCamera()):this.localUsers[0].isScreen()?(console.log("USER IS SCREEN - START CAM"),this.userCamDeleted&&(this.localUsers[0].setLocalConnectionId(this.session.connection.connectionId),this.userCamDeleted.setNickname(this.localUsers[0].getNickname()),this.userCamDeleted.getStreamManager()?this.publishCamSession():this.OV.initPublisherAsync(void 0,{publishAudio:this.localUsers[0].isAudioActive(),publishVideo:!0}).then(function(t){e.userCamDeleted.setStreamManager(t),e.publishCamSession()}))):(console.log("USER IS CAM - MUTE / UNMUTE CAM"),this.localUsers[0].setVideoActive(!this.localUsers[0].isVideoActive()),this.localUsers[0].getStreamManager().publishVideo(this.localUsers[0].isVideoActive()),this.sendSignalUserChanged(this.localUsers[0]))},e.prototype.publishCamSession=function(){var e=this,t=this.localUsers[0].isAudioActive();this.setFirstUserAudio(!1),this.localUsers.unshift(this.userCamDeleted),this.localUsers[0].setVideoActive(!0),this.localUsers[0].setAudioActive(t),this.publishSession(this.localUsers[0]).then(function(){e.localUsers[0].getStreamManager().publishVideo(!0),e.localUsers[0].getStreamManager().publishAudio(t),e.sendSignalUserChanged(e.localUsers[0])}).catch(function(e){return console.error(e)})},e.prototype.startScreenSharing=function(e,t){var n=this;console.log("STARTsCREENsHARING - "),this.getToken().then(function(r){n.sessionScreen.connect(t||r,{clientData:n.localUsers[e].getNickname()}).then(function(){n.localUsers[e].getStreamManager().once("accessAllowed",function(){n.localUsers[e].setConnectionId(n.sessionScreen.connection.connectionId),n.session.connection&&n.session.connection.connectionId&&n.localUsers[e].setLocalConnectionId(n.session.connection.connectionId),n.publishSession(n.localUsers[e]).then(function(){n.localUsers[0].setScreenShareActive(!0),n.sendSignalUserChanged(n.localUsers[e]),n.localUsers[0].isVideoActive()||n.stopCamera(),n.joinSession.emit(),n.openviduLayout.updateLayout()}).catch(function(e){return console.error(e)})})}).catch(function(e){return console.error(e)})}).catch(function(e){return console.error(e)})},e.prototype.stopScreenSharing=function(){var e=this;console.log("USERS ARRAY LENGTH",this.localUsers.length),2===this.localUsers.length?(this.sessionScreen.unpublish(this.localUsers.pop().getStreamManager()),this.localUsers[0].setScreenShareActive(!1),this.sendSignalUserChanged(this.localUsers[0])):this.localUsers[0].isScreen()&&(this.sessionScreen.unpublish(this.localUsers[0].getStreamManager()),this.localUsers.shift(),this.localUsers.push(this.userCamDeleted),console.log("Users array ",this.localUsers),this.localUsers[0].setVideoActive(!1),this.localUsers[0].setScreenShareActive(!1),this.session.publish(this.localUsers[0].getStreamManager()).then(function(){e.localUsers[0].getStreamManager().publishVideo(e.localUsers[0].isVideoActive()),e.sendSignalUserChanged(e.localUsers[0])}))},e.prototype.toggleDialogExtension=function(){this.showDialogExtension=!this.showDialogExtension},e.prototype.toggleDialogChooseRoom=function(e){this.showDialogChooseRoom=!1,this.localUsers=e.localUsers,this.mySessionId=e.sessionId,this.initApp()},e.prototype.screenShareAndChangeScreen=function(){var e=this,t=-1!==navigator.userAgent.indexOf("Firefox")?"window":"screen",n=!this.localUsers[0].isLocal();this.OVScreen.initPublisherAsync(void 0,{videoSource:t,publishAudio:n,publishVideo:!0,mirror:!1}).then(function(t){t.once("accessAllowed",function(){if(e.localUsers[0].isLocal()&&e.localUsers[1]||e.localUsers[0].isScreen()){var n=e.localUsers[0].isLocal()?1:0;e.sessionScreen.unpublish(e.localUsers[n].getStreamManager()),e.localUsers[n].setStreamManager(t),e.sessionScreen.publish(t)}else console.log("STREAM SHARE - ELSE: position 1"),e.localUsers.push(e.createScreenUser(t)),e.startScreenSharing(1)})}).catch(function(t){t&&"SCREEN_EXTENSION_NOT_INSTALLED"===t.name?e.toggleDialogExtension():e.apiSrv.handlerScreenShareError(t)})},e.prototype.checkSizeComponent=function(){this.compact=document.getElementById("room-container").offsetWidth<=790,this.sidenavMode=this.compact?"over":"side"},e.prototype.enlargeElement=function(e){var t=(e.path?e.path:e.composedPath()).filter(function(e){return e.className&&e.className.includes("OT_root")})[0];t.className.includes(this.BIG_ELEMENT_CLASS)?t.classList.remove(this.BIG_ELEMENT_CLASS):t.classList.add(this.BIG_ELEMENT_CLASS),this.openviduLayout.updateLayout()},e.prototype.deleteRemoteStream=function(e){var t=this.remoteUsers.filter(function(t){return t.getStreamManager().stream===e})[0],n=this.remoteUsers.indexOf(t,0);n>-1&&this.remoteUsers.splice(n,1)},e.prototype.subscribeToStreamCreated=function(){var e=this;this.session.on("streamCreated",function(t){var n=t.stream.connection.connectionId;if(e.localUsers[0]&&e.localUsers[0].getConnectionId()!==n&&e.localUsers[1]&&e.localUsers[1].getConnectionId()!==n||e.localUsers[0]&&!e.localUsers[1]&&e.localUsers[0].getConnectionId()!==n){var r=e.session.subscribe(t.stream,void 0);r.on("streamPlaying",function(t){e.checkSomeoneShareScreen(),r.videos[0].video.parentElement.classList.remove("custom-class")});var i=new Oa;i.setStreamManager(r),i.setConnectionId(t.stream.connection.connectionId);var o=t.stream.connection.data.split("%")[0];i.setNickname(JSON.parse(o).clientData),i.setType("SCREEN"===t.stream.typeOfVideo?e.SCREEN_TYPE:e.REMOTE_TYPE),e.remoteUsers.push(i),e.localUsers.forEach(function(t){e.sendSignalUserChanged(t)})}})},e.prototype.connectToSession=function(){var e=this;this.localUsers.forEach(this.tokens?function(t,n){t.isLocal()?e.connect(e.tokens[n]):t.isScreen()&&e.startScreenSharing(n)}:function(t,n){t.isScreen()?e.startScreenSharing(n):e.getToken().then(function(t){e.connect(t)}).catch(function(t){e.error.emit({error:t.error,messgae:t.message,code:t.code,status:t.status}),console.log("There was an error getting the token:",t.code,t.message),e.openDialogError("There was an error getting the token:",t.message)})}),1===this.localUsers.length&&this.localUsers[0].isScreen()&&this.createCamConnection()},e.prototype.connect=function(e){var t=this;this.session.connect(e,{clientData:this.localUsers[0].getNickname()}).then(function(){t.connectWebCam()}).catch(function(e){t.error.emit({error:e.error,messgae:e.message,code:e.code,status:e.status}),console.log("There was an error connecting to the session:",e.code,e.message),t.openDialogError("There was an error connecting to the session:",e.message)})},e.prototype.connectWebCam=function(){var e=this;this.localUsers[0].setConnectionId(this.session.connection.connectionId),this.localUsers[0].setLocalConnectionId(this.session.connection.connectionId),this.session.capabilities.publish&&(this.publishSession(this.localUsers[0]).then(function(){e.sendSignalUserChanged(e.localUsers[0]),e.joinSession.emit()}).catch(function(e){return console.error(e)}),this.localUsers[0].getStreamManager().on("streamPlaying",function(){e.openviduLayout.updateLayout(),e.localUsers[0].getStreamManager().videos[0].video.parentElement.classList.remove("custom-class")}))},e.prototype.subscribeToUserChanged=function(){var e=this;this.session.on("signal:userChanged",function(t){var n=JSON.parse(t.data);e.remoteUsers.forEach(function(e){e.getConnectionId()===t.from.connectionId&&(void 0!==n.isAudioActive&&e.setAudioActive(n.isAudioActive),void 0!==n.isVideoActive&&e.setVideoActive(n.isVideoActive),void 0!==n.nickname&&e.setNickname(n.nickname),void 0!==n.isScreenShareActive&&e.setScreenShareActive(n.isScreenShareActive),void 0!==n.avatar&&e.setUserAvatar(n.avatar))}),e.checkSomeoneShareScreen()})},e.prototype.subscribedToStreamDestroyed=function(){var e=this;this.session.on("streamDestroyed",function(t){e.deleteRemoteStream(t.stream),e.checkSomeoneShareScreen(),t.preventDefault()})},e.prototype.subscribedToChat=function(){var e=this;this.session.on("signal:chat",function(t){var n=JSON.parse(t.data),r=e.localUsers[0].getConnectionId()===n.connectionId?e.localUsers[0]:e.remoteUsers.filter(function(e){return e.getConnectionId()===n.connectionId})[0];e.messageList.push({connectionId:n.connectionId,nickname:n.nickname,message:n.message,userAvatar:r.getAvatar()}),e.checkNotification(),e.chatComponent.scrollToBottom()})},e.prototype.sendSignalUserChanged=function(e){var t=e.isLocal()?this.session:this.sessionScreen,n={isAudioActive:e.isAudioActive(),isVideoActive:e.isVideoActive(),isScreenShareActive:e.isScreenShareActive(),nickname:e.getNickname(),avatar:e.getAvatar()},r={data:JSON.stringify(n),type:"userChanged"};t.signal(r)},e.prototype.openDialogError=function(e,t){this.dialog.open(Ea,{width:"450px",data:{message:e,messageError:t}})},e.prototype.checkSomeoneShareScreen=function(){var e;e=this.remoteUsers.some(function(e){return e.isScreenShareActive()})||this.localUsers[0].isScreenShareActive(),this.openviduLayoutOptions.fixedRatio=e,this.openviduLayout.setLayoutOptions(this.openviduLayoutOptions),this.openviduLayout.updateLayout()},e.prototype.checkTheme=function(){this.lightTheme="light"===this.theme},e.prototype.removeAndSaveFirstUser=function(){var e=this;setTimeout(function(){e.localUsers[0].setVideoActive(!1),e.userCamDeleted=e.localUsers.shift(),e.setFirstUserAudio(e.userCamDeleted.isAudioActive()),e.openviduLayout.updateLayout()},200)},e.prototype.setFirstUserAudio=function(e){this.localUsers[0].setAudioActive(e),this.localUsers[0].getStreamManager().publishAudio(e)},e.prototype.stopCamera=function(){console.log("STOP CAMERA"),this.localUsers[0].getStreamManager().publishVideo(!1),this.session.unpublish(this.localUsers[0].getStreamManager()),this.removeAndSaveFirstUser()},e.prototype.createScreenUser=function(e){var t=new Oa;return t.setScreenShareActive(!0),t.setType(this.SCREEN_TYPE),t.setStreamManager(e),t.setNickname(this.localUsers[0].getNickname()),t.setUserAvatar(this.localUsers[0].getAvatar()),t.setAudioActive(!1),t},e.prototype.createCamConnection=function(){var e=this;this.getToken().then(function(t){e.session.connect(t,{clientData:e.localUsers[0].getNickname()}).then(function(){var t=new Oa,n=e.localUsers[0].isAudioActive();t.setAudioActive(n),t.setUserAvatar(e.localUsers[0].getAvatar()),t.setConnectionId(e.session.connection.connectionId),t.setLocalConnectionId(e.session.connection.connectionId),t.setNickname(e.localUsers[0].getNickname()),t.setScreenShareActive(!0),e.userCamDeleted=t,e.openviduLayout.updateLayout()}).catch(function(e){return console.error(e)})}).catch(function(e){return console.error(e)})},e.prototype.getToken=function(){var e=this;return new Promise(function(t,n){e.openViduSrv.getToken(e.mySessionId,e.openviduServerUrl,e.openviduSecret).then(function(e){t(e)}).catch(function(e){return n(e)})})},e.prototype.publishSession=function(e){var t=this;return new Promise(function(n,r){(e.isLocal()?t.session:t.sessionScreen).publish(e.getStreamManager()).then(function(){n()}).catch(function(e){return r(e)})})},e}(),cu=function(){function e(){this.joinSession=new Ri,this.leaveSession=new Ri,this.error=new Ri,this.display=!1,this.ovSettings={chat:!0,autopublish:!1,toolbarButtons:{video:!0,audio:!0,fullscreen:!0,screenShare:!0,exit:!0}}}return Object.defineProperty(e.prototype,"sessionConfig",{set:function(e){var t;console.log("Session config input ",e),t=e,"string"==typeof e&&(t=JSON.parse(e)),t?(this._sessionName=t.sessionName,this._user=t.user,this._tokens=t.tokens,t.ovSettings&&this.isOvSettingsType(t.ovSettings)&&(this.ovSettings=t.ovSettings),this.validateParameters()&&(this.display=!0)):this.videoRoom.exitSession()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){},e.prototype.validateParameters=function(){return console.log("TOKENS",this._tokens),!!(this._sessionName&&this.openviduServerUrl&&this.openviduSecret&&this._user||this._tokens.length>0&&this._user)&&(1===this._tokens.length&&(this.ovSettings.toolbarButtons.screenShare=!1,console.warn("Screen share funcionality has been disabled. OpenVidu Angular has received only one token.")),!0)},e.prototype.emitJoinSessionEvent=function(e){this.joinSession.emit(e),this.videoRoom.checkSizeComponent()},e.prototype.emitLeaveSessionEvent=function(e){this.leaveSession.emit(e),this.display=!1},e.prototype.emitErrorEvent=function(e){var t=this;setTimeout(function(){return t.error.emit(e)},20)},e.prototype.isOvSettingsType=function(e){return"chat"in e&&"boolean"==typeof e.chat&&"autopublish"in e&&"boolean"==typeof e.autopublish&&"toolbarButtons"in e&&"object"==typeof e.toolbarButtons&&"audio"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.audio&&"audio"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.audio&&"video"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.video&&"screenShare"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.screenShare&&"fullscreen"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.fullscreen&&"exit"in e.toolbarButtons&&"boolean"==typeof e.toolbarButtons.exit},e}(),du=function(){function e(e,t){this.strategy=e,this.injector=t,this.ngZone=this.injector.get(uo)}return e.prototype.connect=function(e){var t=this;this.runInZone(function(){t.strategy.connect(e)}),this.events=this.strategy.events},e.prototype.disconnect=function(){var e=this;this.runInZone(function(){e.strategy.disconnect()})},e.prototype.getInputValue=function(e){var t=this;return this.runInZone(function(){return t.strategy.getInputValue(e)})},e.prototype.setInputValue=function(e,t){var n=this;this.runInZone(function(){n.strategy.setInputValue(e,t)})},e.prototype.runInZone=function(e){return this.ngZone.run(e)},e}(),pu=function(){function e(e,t){this.component=e,this.injector=t,this.ngElement=Ca(this.component,{injector:this.injector}),customElements.define(this.generateName(),this.ngElement)}return e.prototype.string4=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},e.prototype.generateName=function(){var t="dummy-name-n";return t=t+(e.counter+"")+"-"+this.string4()+this.string4()+this.string4()+"-"+this.string4()+this.string4()+"-"+this.string4(),e.counter++,t},e.prototype.create=function(e){var t=new this.ngElement(this.injector),n=t.ngElementStrategy;return t=null,new du(n,this.injector)},e.counter=1,e}(),hu=function(){function e(e){this.injector=e;var t=new pu(cu,this.injector),n=Ca(cu,{injector:this.injector,strategyFactory:t});customElements.define("openvidu-webcomponent",n)}return e.prototype.ngDoBootstrap=function(){},e}(),fu=function(){return function(){this.title="OpenVidu-call"}}(),mu=function(){return function(){}}(),gu=function(){return function(){}}(),vu="*";function yu(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function bu(e){return{type:6,styles:e,offset:null}}function _u(e){Promise.resolve(null).then(e)}var wu=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.init=function(){},e.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},e.prototype.triggerMicrotask=function(){var e=this;_u(function(){return e._onFinish()})},e.prototype._onStart=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.pause=function(){},e.prototype.restart=function(){},e.prototype.finish=function(){this._onFinish()},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){},e.prototype.setPosition=function(e){},e.prototype.getPosition=function(){return 0},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Su=function(){function e(e){var t=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var n=0,r=0,i=0,o=this.players.length;0==o?_u(function(){return t._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==o&&t._onFinish()}),e.onDestroy(function(){++r==o&&t._onDestroy()}),e.onStart(function(){++i==o&&t._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this.players.forEach(function(e){return e.init()})},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})},e.prototype.pause=function(){this.players.forEach(function(e){return e.pause()})},e.prototype.restart=function(){this.players.forEach(function(e){return e.restart()})},e.prototype.finish=function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})},e.prototype.destroy=function(){this._onDestroy()},e.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.reset=function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype.setPosition=function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})},e.prototype.getPosition=function(){var e=0;return this.players.forEach(function(t){var n=t.getPosition();e=Math.min(n,e)}),e},e.prototype.beforeDestroy=function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Cu="!";function xu(){throw Error("Host already has a portal attached")}var Eu=function(){function e(){}return e.prototype.attach=function(e){return null==e&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),e.hasAttached()&&xu(),this._attachedHost=e,e.attach(this)},e.prototype.detach=function(){var e=this._attachedHost;null==e?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,e.detach())},Object.defineProperty(e.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),e.prototype.setAttachedHost=function(e){this._attachedHost=e},e}(),ku=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=r,o.componentFactoryResolver=i,o}return i(t,e),t}(Eu),Ou=function(e){function t(t,n,r){var i=e.call(this)||this;return i.templateRef=t,i.viewContainerRef=n,i.context=r,i}return i(t,e),Object.defineProperty(t.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),t.prototype.attach=function(t,n){return void 0===n&&(n=this.context),this.context=n,e.prototype.attach.call(this,t)},t.prototype.detach=function(){return this.context=void 0,e.prototype.detach.call(this)},t}(Eu),Tu=function(){function e(){this._isDisposed=!1}return e.prototype.hasAttached=function(){return!!this._attachedPortal},e.prototype.attach=function(e){return e||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&xu(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof ku?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Ou?(this._attachedPortal=e,this.attachTemplatePortal(e)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},e.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},e.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},e.prototype.setDisposeFn=function(e){this._disposeFn=e},e.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},e}(),Iu=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.outletElement=t,o._componentFactoryResolver=n,o._appRef=r,o._defaultInjector=i,o}return i(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,r=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(r,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=r.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),t},t.prototype.attachTemplatePortal=function(e){var t=this,n=e.viewContainerRef,r=n.createEmbeddedView(e.templateRef,e.context);return r.detectChanges(),r.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(r);-1!==e&&n.remove(e)}),r},t.prototype.dispose=function(){e.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},t.prototype._getComponentRootNode=function(e){return e.hostView.rootNodes[0]},t}(Tu),Au=function(e){function t(t,n){var r=e.call(this)||this;return r._componentFactoryResolver=t,r._viewContainerRef=n,r._isInitialized=!1,r.attached=new Ri,r}return i(t,e),Object.defineProperty(t.prototype,"portal",{get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&e.prototype.detach.call(this),t&&e.prototype.attach.call(this,t),this._attachedPortal=t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0},t.prototype.ngOnDestroy=function(){e.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},t.prototype.attachComponentPortal=function(t){t.setAttachedHost(this);var n=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),i=n.createComponent(r,n.length,t.injector||n.injector);return e.prototype.setDisposeFn.call(this,function(){return i.destroy()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var r=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t}(Tu),Pu=function(){return function(){}}(),Mu=function(){function e(e,t){this._parentInjector=e,this._customTokens=t}return e.prototype.get=function(e,t){var n=this._customTokens.get(e);return void 0!==n?n:this._parentInjector.get(e,t)},e}(),Ru=27;function ju(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.length?t.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}var Nu=new I(function(e){return e.complete()});function Du(e){return e?function(e){return new I(function(t){return e.schedule(function(){return t.complete()})})}(e):Nu}function Lu(e){return new I(function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?X(n):Du()).subscribe(t)})}function zu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}zu.prototype=Object.create(Error.prototype);var Vu=zu;function Fu(e){return function(t){return 0===e?Du():t.lift(new Uu(e))}}var Uu=function(){function e(e){if(this.total=e,this.total<0)throw new Vu}return e.prototype.call=function(e,t){return t.subscribe(new Bu(e,this.total))},e}(),Bu=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.count=0,r}return i(t,e),t.prototype._next=function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))},t}(C);function qu(){return re(1)}function Hu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return qu()(Ta.apply(void 0,e))}function Wu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];return L(n)?(e.pop(),function(t){return Hu(e,t,n)}):function(t){return Hu(e,t)}}var Gu=new Ve("cdk-dir-doc",{providedIn:"root",factory:function(){return ze(gl)}}),Qu=function(){function e(e){if(this.value="ltr",this.change=new Ri,e){var t=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===t||"rtl"===t?t:"ltr"}}return e.prototype.ngOnDestroy=function(){this.change.complete()},e.ngInjectableDef=Ee({factory:function(){return new e(Le(Gu,8))},token:e,providedIn:"root"}),e}(),Yu=function(){return function(){}}();function Zu(e){return null!=e&&""+e!="false"}function Ku(e,t){return void 0===t&&(t=0),function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function Xu(e){return Array.isArray(e)?e:[e]}function Ju(e){return null==e?"":"string"==typeof e?e:e+"px"}function $u(e){return e instanceof dn?e.nativeElement:e}function ec(e,t,n,r){return h(n)&&(r=n,n=void 0),r?ec(e,t,n).pipe(Q(function(e){return d(e)?r.apply(void 0,e):r(e)})):new I(function(r){!function e(t,n,r,i,o){var s;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var a=t;t.addEventListener(n,r,o),s=function(){return a.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,r),s=function(){return l.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,r),s=function(){return u.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var c=0,d=t.length;c<d;c++)e(t[c],n,r,i,o)}i.add(s)}(e,t,function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},r,n)})}var tc=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r.pending=!1,r}return i(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null},t}(function(e){function t(t,n){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(g)),nc=function(){function e(t,n){void 0===n&&(n=e.now),this.SchedulerAction=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(n,t)},e.now=function(){return Date.now()},e}(),rc=function(e){function t(n,r){void 0===r&&(r=nc.now);var i=e.call(this,n,function(){return t.delegate&&t.delegate!==i?t.delegate.now():r()})||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return i(t,e),t.prototype.schedule=function(n,r,i){return void 0===r&&(r=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,r,i):e.prototype.schedule.call(this,n,r,i)},t.prototype.flush=function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(nc),ic=1,oc={},sc=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.scheduler=t,r.work=n,r}return i(t,e),t.prototype.requestAsyncId=function(t,n,r){return void 0===r&&(r=0),null!==r&&r>0?e.prototype.requestAsyncId.call(this,t,n,r):(t.actions.push(this),t.scheduled||(t.scheduled=(i=t.flush.bind(t,null),o=ic++,oc[o]=i,Promise.resolve().then(function(){return function(e){var t=oc[e];t&&t()}(o)}),o)));var i,o},t.prototype.recycleAsyncId=function(t,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,r);0===t.actions.length&&(delete oc[n],t.scheduled=void 0)},t}(tc),ac=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,i=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<i&&(e=n.shift()));if(this.active=!1,t){for(;++r<i&&(e=n.shift());)e.unsubscribe();throw t}},t}(rc))(sc);function lc(e,t){return function(n){return n.lift(new uc(e,t))}}var uc=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new cc(e,this.compare,this.keySelector))},e}(),cc=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.keySelector=r,i.hasKey=!1,"function"==typeof n&&(i.compare=n),i}return i(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))},t}(C),dc=new rc(tc),pc=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new hc(e,this.durationSelector))},e}(),hc=function(e){function t(t,n){var r=e.call(this,t)||this;return r.durationSelector=n,r.hasValue=!1,r}return i(t,e),t.prototype._next=function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t=void 0;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=W(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}},t.prototype.clearThrottle=function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))},t.prototype.notifyNext=function(e,t,n,r){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(G);function fc(e){return!d(e)&&e-parseFloat(e)+1>=0}function mc(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function gc(e,t){return void 0===t&&(t=dc),n=function(){return function(e,t,n){void 0===e&&(e=0);var r=-1;return fc(t)?r=Number(t)<1?1:Number(t):L(t)&&(n=t),L(n)||(n=dc),new I(function(t){var i=fc(e)?e:+e-n.now();return n.schedule(mc,i,{index:0,period:r,subscriber:t})})}(e,t)},function(e){return e.lift(new pc(n))};var n}function vc(e){return function(t){return t.lift(new yc(e))}}var yc=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){var n=new bc(e),r=W(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n},e}(),bc=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return i(t,e),t.prototype.notifyNext=function(e,t,n,r,i){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(G);function _c(e,t){return"function"==typeof t?function(n){return n.pipe(_c(function(n,r){return X(e(n,r)).pipe(Q(function(e,i){return t(n,e,r,i)}))}))}:function(t){return t.lift(new Sc(e))}}var wc,Sc=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new Cc(e,this.project))},e}(),Cc=function(e){function t(t,n){var r=e.call(this,t)||this;return r.project=n,r.index=0,r}return i(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new z(this,void 0,void 0);this.destination.add(i),this.innerSubscription=W(this,e,t,n,i)},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this),this.unsubscribe()},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,n,r,i){this.destination.next(t)},t}(G);try{wc="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(fO){wc=!1}var xc,Ec,kc=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?bl(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!wc)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return e.ngInjectableDef=Ee({factory:function(){return new e(Le(Hi,8))},token:e,providedIn:"root"}),e}(),Oc=function(){return function(){}}(),Tc=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ic(){if(xc)return xc;if("object"!=typeof document||!document)return xc=new Set(Tc);var e=document.createElement("input");return xc=new Set(Tc.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function Ac(e){return function(){if(null==Ec&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ec=!0}}))}finally{Ec=Ec||!1}return Ec}()?e:!!e.capture}var Pc,Mc=function(){var e={NORMAL:0,NEGATED:1,INVERTED:2};return e[e.NORMAL]="NORMAL",e[e.NEGATED]="NEGATED",e[e.INVERTED]="INVERTED",e}();function Rc(){if("object"!=typeof document||!document)return Mc.NORMAL;if(!Pc){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),Pc=Mc.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,Pc=0===e.scrollLeft?Mc.NEGATED:Mc.INVERTED),e.parentNode.removeChild(e)}return Pc}var jc=function(){function e(e,t,n){var r=this;void 0===e&&(e=!1),void 0===n&&(n=!0),this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new N,this.onChange=this.changed,t&&t.length&&(e?t.forEach(function(e){return r._markSelected(e)}):this._markSelected(t[0]),this._selectedToEmit.length=0)}return Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),e.prototype.select=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach(function(t){return e._markSelected(t)}),this._emitChangeEvent()},e.prototype.deselect=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];this._verifyValueAssignment(t),t.forEach(function(t){return e._unmarkSelected(t)}),this._emitChangeEvent()},e.prototype.toggle=function(e){this.isSelected(e)?this.deselect(e):this.select(e)},e.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},e.prototype.isSelected=function(e){return this._selection.has(e)},e.prototype.isEmpty=function(){return 0===this._selection.size},e.prototype.hasValue=function(){return!this.isEmpty()},e.prototype.sort=function(e){this._multiple&&this.selected&&this._selected.sort(e)},e.prototype.isMultipleSelection=function(){return this._multiple},e.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},e.prototype._markSelected=function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))},e.prototype._unmarkSelected=function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))},e.prototype._unmarkAll=function(){var e=this;this.isEmpty()||this._selection.forEach(function(t){return e._unmarkSelected(t)})},e.prototype._verifyValueAssignment=function(e){if(e.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},e}(),Nc=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new N,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return e.prototype.register=function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))},e.prototype.deregister=function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))},e.prototype.scrolled=function(e){var t=this;return void 0===e&&(e=20),this._platform.isBrowser?new I(function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(gc(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Ta()},e.prototype.ngOnDestroy=function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()},e.prototype.ancestorScrolled=function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Aa(function(e){return!e||n.indexOf(e)>-1}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1},e.prototype._addGlobalListener=function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return ec(window.document,"scroll").subscribe(function(){return e._scrolled.next()})})},e.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(uo),Le(kc))},token:e,providedIn:"root"}),e}(),Dc=function(){function e(e,t,n,r){var i=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=r,this._destroyed=new N,this._elementScrolled=new I(function(e){return i.ngZone.runOutsideAngular(function(){return ec(i.elementRef.nativeElement,"scroll").pipe(vc(i._destroyed)).subscribe(e)})})}return e.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},e.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},e.prototype.elementScrolled=function(){return this._elementScrolled},e.prototype.getElementRef=function(){return this.elementRef},e.prototype.scrollTo=function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;e.left=null==e.left?n?e.end:e.start:e.left,e.right=null==e.right?n?e.start:e.end:e.right,null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&Rc()!=Mc.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),Rc()==Mc.INVERTED?e.left=e.right:Rc()==Mc.NEGATED&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)},e.prototype._applyScrollToOptions=function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))},e.prototype.measureScrollOffset=function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&Rc()==Mc.INVERTED?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&Rc()==Mc.NEGATED?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft},e}(),Lc=function(){return function(){}}(),zc=function(){function e(e,t){var n=this;this._platform=e,t.runOutsideAngular(function(){n._change=e.isBrowser?oe(ec(window,"resize"),ec(window,"orientationchange")):Ta(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return e.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},e.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e},e.prototype.getViewportRect=function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}},e.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=document.documentElement,t=e.getBoundingClientRect();return{top:-t.top||document.body.scrollTop||window.scrollY||e.scrollTop||0,left:-t.left||document.body.scrollLeft||window.scrollX||e.scrollLeft||0}},e.prototype.change=function(e){return void 0===e&&(e=20),e>0?this._change.pipe(gc(e)):this._change},e.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},e.ngInjectableDef=Ee({factory:function(){return new e(Le(kc),Le(uo))},token:e,providedIn:"root"}),e}(),Vc=function(){function e(e,t){this._viewportRuler=e,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=t}return e.prototype.attach=function(){},e.prototype.enable=function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Ju(-this._previousScrollPosition.left),e.style.top=Ju(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},e.prototype.disable=function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,r=t.scrollBehavior||"",i=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),t.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.scrollBehavior=r,n.scrollBehavior=i}},e.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width},e}();function Fc(){return Error("Scroll strategy has already been attached.")}var Uc=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._ngZone=t,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 e.prototype.attach=function(e){if(this._overlayRef)throw Fc();this._overlayRef=e},e.prototype.enable=function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),Bc=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function qc(e,t){return t.some(function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right})}function Hc(e,t){return t.some(function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right})}var Wc=function(){function e(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw Fc();this._overlayRef=e},e.prototype.enable=function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),r=n.width,i=n.height;qc(t,[{width:r,height:i,bottom:i,right:r,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))},e.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},e.prototype.detach=function(){this.disable(),this._overlayRef=null},e}(),Gc=function(){function e(e,t,n,r){var i=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new Bc},this.close=function(e){return new Uc(i._scrollDispatcher,i._ngZone,i._viewportRuler,e)},this.block=function(){return new Vc(i._viewportRuler,i._document)},this.reposition=function(e){return new Wc(i._scrollDispatcher,i._viewportRuler,i._ngZone,e)},this._document=r}return e.ngInjectableDef=Ee({factory:function(){return new e(Le(Nc),Le(zc),Le(uo),Le(gl))},token:e,providedIn:"root"}),e}(),Qc=function(){return function(e){var t=this;this.scrollStrategy=new Bc,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,e&&Object.keys(e).forEach(function(n){void 0!==e[n]&&(t[n]=e[n])})}}(),Yc=function(){return function(e,t,n,r,i){this.offsetX=n,this.offsetY=r,this.panelClass=i,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),Zc=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function Kc(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function Xc(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var Jc=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,r=n.length-1;r>-1;r--)if(n[r]._keydownEventSubscriptions>0){n[r]._keydownEvents.next(e);break}},this._document=e}return e.prototype.ngOnDestroy=function(){this._detach()},e.prototype.add=function(e){this.remove(e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(e)},e.prototype.remove=function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this._detach()},e.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(gl))},token:e,providedIn:"root"}),e}(),$c=function(){function e(e){this._document=e}return e.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},e.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},e.prototype._createContainer=function(){var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},e.ngInjectableDef=Ee({factory:function(){return new e(Le(gl))},token:e,providedIn:"root"}),e}(),ed=function(){function e(e,t,n,r,i,o,s,a){var l=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=i,this._keyboardDispatcher=o,this._document=s,this._location=a,this._backdropElement=null,this._backdropClick=new N,this._attachments=new N,this._detachments=new N,this._locationChanges=g.EMPTY,this._keydownEventsObservable=new I(function(e){var t=l._keydownEvents.subscribe(e);return l._keydownEventSubscriptions++,function(){t.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new N,this._keydownEventSubscriptions=0,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return Object.defineProperty(e.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this,n=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Fu(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return t.dispose()})),n},e.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),e}},e.prototype.dispose=function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()},e.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},e.prototype.backdropClick=function(){return this._backdropClick.asObservable()},e.prototype.attachments=function(){return this._attachments.asObservable()},e.prototype.detachments=function(){return this._detachments.asObservable()},e.prototype.keydownEvents=function(){return this._keydownEventsObservable},e.prototype.getConfig=function(){return this._config},e.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},e.prototype.updatePositionStrategy=function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))},e.prototype.updateSize=function(e){this._config=o({},this._config,e),this._updateElementSize()},e.prototype.setDirection=function(e){this._config=o({},this._config,{direction:e}),this._updateElementDirection()},e.prototype.addPanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!0)},e.prototype.removePanelClass=function(e){this._pane&&this._toggleClasses(this._pane,e,!1)},e.prototype.getDirection=function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"},e.prototype.updateScrollStrategy=function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))},e.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},e.prototype._updateElementSize=function(){var e=this._pane.style;e.width=Ju(this._config.width),e.height=Ju(this._config.height),e.minWidth=Ju(this._config.minWidth),e.minHeight=Ju(this._config.minHeight),e.maxWidth=Ju(this._config.maxWidth),e.maxHeight=Ju(this._config.maxHeight)},e.prototype._togglePointerEvents=function(e){this._pane.style.pointerEvents=e?"auto":"none"},e.prototype._attachBackdrop=function(){var e=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(t){return e._backdropClick.next(t)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},e.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},e.prototype.detachBackdrop=function(){var e=this,t=this._backdropElement;if(t){var n,r=function(){t&&t.parentNode&&t.parentNode.removeChild(t),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){t.addEventListener("transitionend",r)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(r,500)})}},e.prototype._toggleClasses=function(e,t,n){var r=e.classList;Xu(t).forEach(function(e){n?r.add(e):r.remove(e)})},e.prototype._detachContentWhenStable=function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._ngZone.onStable.asObservable().pipe(vc(oe(e._attachments,e._detachments))).subscribe(function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())})})},e.prototype._disposeScrollStrategy=function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())},e}(),td=function(){function e(e,t,n,r,i){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=i,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new N,this._resizeSubscription=g.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(e)}return Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){var t=this;if(this._overlayRef&&e!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),e.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){t._isInitialRender=!0,t.apply()})},e.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var e,t=this._originRect,n=this._overlayRect,r=this._viewportRect,i=[],o=0,s=this._preferredPositions;o<s.length;o++){var a=s[o],l=this._getOriginPoint(t,a),u=this._getOverlayPoint(l,n,a),c=this._getOverlayFit(u,n,r,a);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,l);this._canFitWithFlexibleDimensions(c,u,r)?i.push({position:a,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,a)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:a,overlayRect:n})}if(i.length){for(var d=null,p=-1,h=0,f=i;h<f.length;h++){var m=f[h],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>p&&(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(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}},e.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},e.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&nd(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},e.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}},e.prototype.withScrollableContainers=function(e){return this._scrollables=e,this},e.prototype.withPositions=function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},e.prototype.withViewportMargin=function(e){return this._viewportMargin=e,this},e.prototype.withFlexibleDimensions=function(e){return void 0===e&&(e=!0),this._hasFlexibleDimensions=e,this},e.prototype.withGrowAfterOpen=function(e){return void 0===e&&(e=!0),this._growAfterOpen=e,this},e.prototype.withPush=function(e){return void 0===e&&(e=!0),this._canPush=e,this},e.prototype.withLockedPosition=function(e){return void 0===e&&(e=!0),this._positionLocked=e,this},e.prototype.setOrigin=function(e){return this._origin=e,this},e.prototype.withDefaultOffsetX=function(e){return this._offsetX=e,this},e.prototype.withDefaultOffsetY=function(e){return this._offsetY=e,this},e.prototype.withTransformOriginOn=function(e){return this._transformOriginSelector=e,this},e.prototype._getOriginPoint=function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var r=this._isRtl()?e.right:e.left,i=this._isRtl()?e.left:e.right;n="start"==t.originX?r:i}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}},e.prototype._getOverlayPoint=function(e,t,n){var r;return r="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+r,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,r){var i=e.x,o=e.y,s=this._getOffset(r,"x"),a=this._getOffset(r,"y");s&&(i+=s),a&&(o+=a);var l=0-o,u=o+t.height-n.height,c=this._subtractOverflows(t.width,0-i,i+t.width-n.width),d=this._subtractOverflows(t.height,l,u),p=c*d;return{visibleArea:p,isCompletelyWithinViewport:t.width*t.height===p,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:c==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var r=n.bottom-t.y,i=n.right-t.x,o=this._overlayRef.getConfig().minHeight,s=this._overlayRef.getConfig().minWidth;return(e.fitsInViewportVertically||null!=o&&o<=r)&&(e.fitsInViewportHorizontally||null!=s&&s<=i)}},e.prototype._pushOverlayOnScreen=function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var r,i,o=this._viewportRect,s=Math.max(e.x+t.width-o.right,0),a=Math.max(e.y+t.height-o.bottom,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:r=t.width<=o.width?u||-s:e.x<this._viewportMargin?o.left-n.left-e.x:0,y:i=t.height<=o.height?l||-a:e.y<this._viewportMargin?o.top-n.top-e.y:0},{x:e.x+r,y:e.y+i}},e.prototype._applyPosition=function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),r=new Zc(e,n);this._positionChanges.next(r)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),r=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var i=0;i<n.length;i++)n[i].style.transformOrigin=t+" "+r}},e.prototype._calculateBoundingBoxRect=function(e,t){var n,r,i,o,s,a,l=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)n=l.height-(r=e.y)+this._viewportMargin;else if("bottom"===t.overlayY)n=l.height-(i=l.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(l.bottom-e.y+l.top,e.y),d=this._lastBoundingBoxSize.height;r=e.y-c,(n=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(r=e.y-d/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)a=l.right-e.x+this._viewportMargin,o=e.x-l.left;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)s=e.x,o=l.right-e.x;else{c=Math.min(l.right-e.x+l.left,e.x);var p=this._lastBoundingBoxSize.width;s=e.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(s=e.x-p/2)}return{top:r,left:s,bottom:i,right:a,width:o,height:n}},e.prototype._setBoundingBoxStyles=function(e,t){var n=this._calculateBoundingBoxRect(e,t);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=Ju(n.height),r.top=Ju(n.top),r.bottom=Ju(n.bottom),r.width=Ju(n.width),r.left=Ju(n.left),r.right=Ju(n.right),r.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",r.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",i&&(r.maxHeight=Ju(i)),o&&(r.maxWidth=Ju(o))}this._lastBoundingBoxSize=n,nd(this._boundingBox.style,r)},e.prototype._resetBoundingBoxStyles=function(){nd(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){nd(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={};if(this._hasExactPosition()){var r=this._viewportRuler.getViewportScrollPosition();nd(n,this._getExactOverlayY(t,e,r)),nd(n,this._getExactOverlayX(t,e,r))}else n.position="static";var i="",o=this._getOffset(t,"x"),s=this._getOffset(t,"y");o&&(i+="translateX("+o+"px) "),s&&(i+="translateY("+s+"px)"),n.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),nd(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var r={top:null,bottom:null},i=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n));var o=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=o,"bottom"===e.overlayY?r.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":r.top=Ju(i.y),r},e.prototype._getExactOverlayX=function(e,t,n){var r={left:null,right:null},i=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?r.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":r.left=Ju(i.x),r},e.prototype._getScrollVisibility=function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:Hc(e,n),isOriginOutsideView:qc(e,n),isOverlayClipped:Hc(t,n),isOverlayOutsideView:qc(t,n)}},e.prototype._subtractOverflows=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(e,t){return e-Math.max(t,0)},e)},e.prototype._getNarrowedViewportRect=function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}},e.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},e.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},e.prototype._getOffset=function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY},e.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(e){Xc("originX",e.originX),Kc("originY",e.originY),Xc("overlayX",e.overlayX),Kc("overlayY",e.overlayY)})},e.prototype._addPanelClasses=function(e){var t=this;this._pane&&Xu(e).forEach(function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))})},e.prototype._clearPanelClasses=function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach(function(t){e._pane.classList.remove(t)}),this._appliedPanelClasses=[])},e.prototype._getOriginRect=function(){var e=this._origin;return e instanceof dn?e.nativeElement.getBoundingClientRect():e instanceof HTMLElement?e.getBoundingClientRect():{top:e.y,bottom:e.y,left:e.x,right:e.x,height:0,width:0}},e}();function nd(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var rd=function(){function e(e,t,n,r,i,o,s){this._preferredPositions=[],this._positionStrategy=new td(n,r,i,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(e,t)}return Object.defineProperty(e.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)},e.prototype.dispose=function(){this._positionStrategy.dispose()},e.prototype.detach=function(){this._positionStrategy.detach()},e.prototype.apply=function(){this._positionStrategy.apply()},e.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},e.prototype.withScrollableContainers=function(e){this._positionStrategy.withScrollableContainers(e)},e.prototype.withFallbackPosition=function(e,t,n,r){var i=new Yc(e,t,n,r);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.withDirection=function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this},e.prototype.withOffsetX=function(e){return this._positionStrategy.withDefaultOffsetX(e),this},e.prototype.withOffsetY=function(e){return this._positionStrategy.withDefaultOffsetY(e),this},e.prototype.withLockedPosition=function(e){return this._positionStrategy.withLockedPosition(e),this},e.prototype.withPositions=function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},e.prototype.setOrigin=function(e){return this._positionStrategy.setOrigin(e),this},e}(),id=function(){function e(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return e.prototype.attach=function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},e.prototype.top=function(e){return void 0===e&&(e=""),this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this},e.prototype.left=function(e){return void 0===e&&(e=""),this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this},e.prototype.bottom=function(e){return void 0===e&&(e=""),this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this},e.prototype.right=function(e){return void 0===e&&(e=""),this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this},e.prototype.width=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this},e.prototype.height=function(e){return void 0===e&&(e=""),this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this},e.prototype.centerHorizontally=function(e){return void 0===e&&(e=""),this.left(e),this._justifyContent="center",this},e.prototype.centerVertically=function(e){return void 0===e&&(e=""),this.top(e),this._alignItems="center",this},e.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();e.position=this._cssPosition,e.marginLeft="100%"===n.width?"0":this._leftOffset,e.marginTop="100%"===n.height?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,"100%"===n.width?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems="100%"===n.height?"flex-start":this._alignItems}},e.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},e}(),od=function(){function e(e,t,n,r){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=r}return e.prototype.global=function(){return new id},e.prototype.connectedTo=function(e,t,n){return new rd(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.prototype.flexibleConnectedTo=function(e){return new td(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(zc),Le(gl),Le(kc),Le($c))},token:e,providedIn:"root"}),e}(),sd=0,ad=function(){function e(e,t,n,r,i,o,s,a,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=r,this._keyboardDispatcher=i,this._injector=o,this._ngZone=s,this._document=a,this._directionality=l,this._location=u}return e.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),r=this._createPortalOutlet(n),i=new Qc(e);return i.direction=i.direction||this._directionality.value,new ed(r,t,n,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},e.prototype.position=function(){return this._positionBuilder},e.prototype._createPaneElement=function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-"+sd++,t.classList.add("cdk-overlay-pane"),e.appendChild(t),t},e.prototype._createHostElement=function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e},e.prototype._createPortalOutlet=function(e){return this._appRef||(this._appRef=this._injector.get(Oo)),new Iu(e,this._componentFactoryResolver,this._appRef,this._injector)},e}(),ld=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ud=new Ve("cdk-connected-overlay-scroll-strategy"),cd=function(){return function(e){this.elementRef=e}}(),dd=function(){function e(e,t,n,r,i){this._overlay=e,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=g.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Ri,this.positionChange=new Ri,this.attach=new Ri,this.detach=new Ri,this.overlayKeydown=new Ri,this._templatePortal=new Ou(t,n),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(e.prototype,"offsetX",{get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offsetY",{get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(e){this._lockPosition=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"push",{get:function(){return this._push},set:function(e){this._push=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},e.prototype.ngOnChanges=function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())},e.prototype._createOverlay=function(){var e=this;this.positions&&this.positions.length||(this.positions=ld),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==Ru||ju(t)||(t.preventDefault(),e._detachOverlay())})},e.prototype._buildConfig=function(){var e=this._position=this._createPositionStrategy(),t=new Qc({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t},e.prototype._updatePositionStrategy=function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},e.prototype._createPositionStrategy=function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(t),t.positionChanges.subscribe(function(t){return e.positionChange.emit(t)}),t},e.prototype._attachOverlay=function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe()},e.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},e}();function pd(e){return function(){return e.scrollStrategies.reposition()}}var hd=function(){return function(){}}(),fd=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function md(){throw Error("Attempting to attach dialog content after content is already attached")}var gd=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s._elementRef=t,s._focusTrapFactory=n,s._changeDetectorRef=r,s._document=i,s._config=o,s._elementFocusedBeforeDialogWasOpened=null,s._state="enter",s._animationStateChanged=new Ri,s._ariaLabelledBy=o.ariaLabelledBy||null,s}return i(t,e),t.prototype.attachComponentPortal=function(e){return this._portalOutlet.hasAttached()&&md(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)},t.prototype.attachTemplatePortal=function(e){return this._portalOutlet.hasAttached()&&md(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(e)},t.prototype._trapFocus=function(){this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._config.autoFocus&&this._focusTrap.focusInitialElementWhenReady()},t.prototype._restoreFocus=function(){var e=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&e&&"function"==typeof e.focus&&e.focus(),this._focusTrap&&this._focusTrap.destroy()},t.prototype._savePreviouslyFocusedElement=function(){var e=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then(function(){return e._elementRef.nativeElement.focus()}))},t.prototype._onAnimationDone=function(e){"enter"===e.toState?this._trapFocus():"exit"===e.toState&&this._restoreFocus(),this._animationStateChanged.emit(e)},t.prototype._onAnimationStart=function(e){this._animationStateChanged.emit(e)},t.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},t}(Tu),vd=0,yd=function(){function e(e,t,n,r){var i=this;void 0===r&&(r="mat-dialog-"+vd++),this._overlayRef=e,this._containerInstance=t,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new N,this._afterClosed=new N,this._beforeClosed=new N,t._id=r,t._animationStateChanged.pipe(Aa(function(e){return"done"===e.phaseName&&"enter"===e.toState}),Fu(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),t._animationStateChanged.pipe(Aa(function(e){return"done"===e.phaseName&&"exit"===e.toState}),Fu(1)).subscribe(function(){return i._overlayRef.dispose()}),e.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),e.keydownEvents().pipe(Aa(function(e){return e.keyCode===Ru&&!i.disableClose&&!ju(e)})).subscribe(function(e){e.preventDefault(),i.close()})}return e.prototype.close=function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Aa(function(e){return"start"===e.phaseName}),Fu(1)).subscribe(function(){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop()}),this._containerInstance._startExitAnimation()},e.prototype.afterOpened=function(){return this._afterOpened.asObservable()},e.prototype.afterClosed=function(){return this._afterClosed.asObservable()},e.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},e.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},e.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},e.prototype.updatePosition=function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this},e.prototype.updateSize=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=""),this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this},e.prototype.addPanelClass=function(e){return this._overlayRef.addPanelClass(e),this},e.prototype.removePanelClass=function(e){return this._overlayRef.removePanelClass(e),this},e.prototype.afterOpen=function(){return this.afterOpened()},e.prototype.beforeClose=function(){return this.beforeClosed()},e.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},e}(),bd=new Ve("MatDialogData"),_d=new Ve("mat-dialog-default-options"),wd=new Ve("mat-dialog-scroll-strategy");function Sd(e){return function(){return e.scrollStrategies.block()}}var Cd=function(){function e(e,t,n,r,i,o,s){var a=this;this._overlay=e,this._injector=t,this._location=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new N,this._afterOpenedAtThisLevel=new N,this._ariaHiddenElements=new Map,this.afterAllClosed=Lu(function(){return a.openDialogs.length?a._afterAllClosed:a._afterAllClosed.pipe(Wu(void 0))}),this._scrollStrategy=i}return Object.defineProperty(e.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_afterAllClosed",{get:function(){var e=this._parentDialog;return e?e._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),e.prototype.open=function(e,t){var n=this;if((t=function(e,t){return o({},t,e)}(t,this._defaultOptions||new fd)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'+t.id+'" exists already. The dialog id must be unique.');var r=this._createOverlay(t),i=this._attachDialogContainer(r,t),s=this._attachDialogContent(e,i,r,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(s),s.afterClosed().subscribe(function(){return n._removeOpenDialog(s)}),this.afterOpened.next(s),s},e.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},e.prototype.getDialogById=function(e){return this.openDialogs.find(function(t){return t.id===e})},e.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},e.prototype._createOverlay=function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)},e.prototype._getOverlayConfig=function(e){var t=new Qc({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t},e.prototype._attachDialogContainer=function(e,t){var n=new Mu(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[fd,t]])),r=new ku(gd,t.viewContainerRef,n);return e.attach(r).instance},e.prototype._attachDialogContent=function(e,t,n,r){var i=new yd(n,t,this._location,r.id);if(r.hasBackdrop&&n.backdropClick().subscribe(function(){i.disableClose||i.close()}),e instanceof Dn)t.attachTemplatePortal(new Ou(e,null,{$implicit:r.data,dialogRef:i}));else{var o=this._createInjector(r,i,t),s=t.attachComponentPortal(new ku(e,void 0,o));i.componentInstance=s.instance}return i.updateSize(r.width,r.height).updatePosition(r.position),i},e.prototype._createInjector=function(e,t,n){var r=e&&e.viewContainerRef&&e.viewContainerRef.injector,i=new WeakMap([[gd,n],[bd,e.data],[yd,t]]);return!e.direction||r&&r.get(Qu,null)||i.set(Qu,{value:e.direction,change:Ta()}),new Mu(r||this._injector,i)},e.prototype._removeOpenDialog=function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},e.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var r=t[n];r===e||"SCRIPT"===r.nodeName||"STYLE"===r.nodeName||r.hasAttribute("aria-live")||(this._ariaHiddenElements.set(r,r.getAttribute("aria-hidden")),r.setAttribute("aria-hidden","true"))}},e.prototype._closeDialogs=function(e){for(var t=e.length;t--;)e[t].close()},e}(),xd=0,Ed=function(){function e(e,t,n){this._dialogRef=e,this._elementRef=t,this._dialog=n,this.id="mat-dialog-title-"+xd++}return e.prototype.ngOnInit=function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})},e}(),kd=function(){return function(){}}(),Od=function(){return function(){}}(),Td=null;function Id(){return Td}var Ad,Pd=function(e){function t(){var t=e.call(this)||this;t._animationPrefix=null,t._transitionEnd=null;try{var n=t.createElement("div",document);if(null!=t.getStyle(n,"animationName"))t._animationPrefix="";else for(var r=["Webkit","Moz","O","ms"],i=0;i<r.length;i++)if(null!=t.getStyle(n,r[i]+"AnimationName")){t._animationPrefix="-"+r[i].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(e){null!=t.getStyle(n,e)&&(t._transitionEnd=o[e])})}catch(fO){t._animationPrefix=null,t._transitionEnd=null}return t}return i(t,e),t.prototype.getDistributedNodes=function(e){return e.getDistributedNodes()},t.prototype.resolveAndSetHref=function(e,t,n){e.href=null==n?t:t+"/../"+n},t.prototype.supportsDOMEvents=function(){return!0},t.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},t.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},t.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},t.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},t}(function(){function e(){this.resourceLoaderType=null}return Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(e){this._attrToPropMap=e},enumerable:!0,configurable:!0}),e}()),Md={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Rd={"\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"},jd={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"},Nd=function(){if(je.Node)return je.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}}(),Dd=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,Td||(Td=e)},t.prototype.hasProperty=function(e,t){return t in e},t.prototype.setProperty=function(e,t,n){e[t]=n},t.prototype.getProperty=function(e,t){return e[t]},t.prototype.invoke=function(e,t,n){var r;(r=e)[t].apply(r,c(n))},t.prototype.logError=function(e){window.console&&(console.error?console.error(e):console.log(e))},t.prototype.log=function(e){window.console&&window.console.log&&window.console.log(e)},t.prototype.logGroup=function(e){window.console&&window.console.group&&window.console.group(e)},t.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return Md},enumerable:!0,configurable:!0}),t.prototype.contains=function(e,t){return Nd.call(e,t)},t.prototype.querySelector=function(e,t){return e.querySelector(t)},t.prototype.querySelectorAll=function(e,t){return e.querySelectorAll(t)},t.prototype.on=function(e,t,n){e.addEventListener(t,n,!1)},t.prototype.onAndCancel=function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}},t.prototype.dispatchEvent=function(e,t){e.dispatchEvent(t)},t.prototype.createMouseEvent=function(e){var t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t},t.prototype.createEvent=function(e){var t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t},t.prototype.preventDefault=function(e){e.preventDefault(),e.returnValue=!1},t.prototype.isPrevented=function(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue},t.prototype.getInnerHTML=function(e){return e.innerHTML},t.prototype.getTemplateContent=function(e){return"content"in e&&this.isTemplateElement(e)?e.content:null},t.prototype.getOuterHTML=function(e){return e.outerHTML},t.prototype.nodeName=function(e){return e.nodeName},t.prototype.nodeValue=function(e){return e.nodeValue},t.prototype.type=function(e){return e.type},t.prototype.content=function(e){return this.hasProperty(e,"content")?e.content:e},t.prototype.firstChild=function(e){return e.firstChild},t.prototype.nextSibling=function(e){return e.nextSibling},t.prototype.parentElement=function(e){return e.parentNode},t.prototype.childNodes=function(e){return e.childNodes},t.prototype.childNodesAsList=function(e){for(var t=e.childNodes,n=new Array(t.length),r=0;r<t.length;r++)n[r]=t[r];return n},t.prototype.clearNodes=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},t.prototype.appendChild=function(e,t){e.appendChild(t)},t.prototype.removeChild=function(e,t){e.removeChild(t)},t.prototype.replaceChild=function(e,t,n){e.replaceChild(t,n)},t.prototype.remove=function(e){return e.parentNode&&e.parentNode.removeChild(e),e},t.prototype.insertBefore=function(e,t,n){e.insertBefore(n,t)},t.prototype.insertAllBefore=function(e,t,n){n.forEach(function(n){return e.insertBefore(n,t)})},t.prototype.insertAfter=function(e,t,n){e.insertBefore(n,t.nextSibling)},t.prototype.setInnerHTML=function(e,t){e.innerHTML=t},t.prototype.getText=function(e){return e.textContent},t.prototype.setText=function(e,t){e.textContent=t},t.prototype.getValue=function(e){return e.value},t.prototype.setValue=function(e,t){e.value=t},t.prototype.getChecked=function(e){return e.checked},t.prototype.setChecked=function(e,t){e.checked=t},t.prototype.createComment=function(e){return this.getDefaultDocument().createComment(e)},t.prototype.createTemplate=function(e){var t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t},t.prototype.createElement=function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)},t.prototype.createElementNS=function(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)},t.prototype.createTextNode=function(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)},t.prototype.createScriptTag=function(e,t,n){var r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r},t.prototype.createStyleElement=function(e,t){var n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n},t.prototype.createShadowRoot=function(e){return e.createShadowRoot()},t.prototype.getShadowRoot=function(e){return e.shadowRoot},t.prototype.getHost=function(e){return e.host},t.prototype.clone=function(e){return e.cloneNode(!0)},t.prototype.getElementsByClassName=function(e,t){return e.getElementsByClassName(t)},t.prototype.getElementsByTagName=function(e,t){return e.getElementsByTagName(t)},t.prototype.classList=function(e){return Array.prototype.slice.call(e.classList,0)},t.prototype.addClass=function(e,t){e.classList.add(t)},t.prototype.removeClass=function(e,t){e.classList.remove(t)},t.prototype.hasClass=function(e,t){return e.classList.contains(t)},t.prototype.setStyle=function(e,t,n){e.style[t]=n},t.prototype.removeStyle=function(e,t){e.style[t]=""},t.prototype.getStyle=function(e,t){return e.style[t]},t.prototype.hasStyle=function(e,t,n){var r=this.getStyle(e,t)||"";return n?r==n:r.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,r=0;r<n.length;r++){var i=n.item(r);t.set(i.name,i.value)}return t},t.prototype.hasAttribute=function(e,t){return e.hasAttribute(t)},t.prototype.hasAttributeNS=function(e,t,n){return e.hasAttributeNS(t,n)},t.prototype.getAttribute=function(e,t){return e.getAttribute(t)},t.prototype.getAttributeNS=function(e,t,n){return e.getAttributeNS(t,n)},t.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},t.prototype.setAttributeNS=function(e,t,n,r){e.setAttributeNS(t,n,r)},t.prototype.removeAttribute=function(e,t){e.removeAttribute(t)},t.prototype.removeAttributeNS=function(e,t,n){e.removeAttributeNS(t,n)},t.prototype.templateAwareRoot=function(e){return this.isTemplateElement(e)?this.content(e):e},t.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},t.prototype.getDefaultDocument=function(){return document},t.prototype.getBoundingClientRect=function(e){try{return e.getBoundingClientRect()}catch(fO){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},t.prototype.getTitle=function(e){return e.title},t.prototype.setTitle=function(e,t){e.title=t||""},t.prototype.elementMatches=function(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))},t.prototype.isTemplateElement=function(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName},t.prototype.isTextNode=function(e){return e.nodeType===Node.TEXT_NODE},t.prototype.isCommentNode=function(e){return e.nodeType===Node.COMMENT_NODE},t.prototype.isElementNode=function(e){return e.nodeType===Node.ELEMENT_NODE},t.prototype.hasShadowRoot=function(e){return null!=e.shadowRoot&&e instanceof HTMLElement},t.prototype.isShadowRoot=function(e){return e instanceof DocumentFragment},t.prototype.importIntoDoc=function(e){return document.importNode(this.templateAwareRoot(e),!0)},t.prototype.adoptNode=function(e){return document.adoptNode(e)},t.prototype.getHref=function(e){return e.getAttribute("href")},t.prototype.getEventKey=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&jd.hasOwnProperty(t)&&(t=jd[t]))}return Rd[t]||t},t.prototype.getGlobalEventTarget=function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null},t.prototype.getHistory=function(){return window.history},t.prototype.getLocation=function(){return window.location},t.prototype.getBaseHref=function(e){var t,n=Ld||(Ld=document.querySelector("base"))?Ld.getAttribute("href"):null;return null==n?null:(t=n,Ad||(Ad=document.createElement("a")),Ad.setAttribute("href",t),"/"===Ad.pathname.charAt(0)?Ad.pathname:"/"+Ad.pathname)},t.prototype.resetBaseElement=function(){Ld=null},t.prototype.getUserAgent=function(){return window.navigator.userAgent},t.prototype.setData=function(e,t,n){this.setAttribute(e,"data-"+t,n)},t.prototype.getData=function(e,t){return this.getAttribute(e,"data-"+t)},t.prototype.getComputedStyle=function(e){return getComputedStyle(e)},t.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},t.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},t.prototype.supportsCookies=function(){return!0},t.prototype.getCookie=function(e){return Ya(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(Pd),Ld=null;function zd(){return!!window.history.pushState}var Vd=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return i(t,e),t.prototype._init=function(){this.location=Id().getLocation(),this._history=Id().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Id().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Id().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Id().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},Object.defineProperty(t.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathname",{get:function(){return this.location.pathname},set:function(e){this.location.pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),t.prototype.pushState=function(e,t,n){zd()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){zd()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},t.prototype.getState=function(){return this._history.state},s([(n=be(gl),function(e,t){n(e,t,0)}),a("design:paramtypes",[Object])],t)}(Ra),Fd=new Ve("TRANSITION_ID"),Ud=[{provide:zi,useFactory:function(e,t,n){return function(){n.get(Vi).donePromise.then(function(){var n=Id();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(function(t){return n.getAttribute(t,"ng-transition")===e}).forEach(function(e){return n.remove(e)})})}},deps:[Fd,gl,He],multi:!0}],Bd=function(){function e(){}return e.init=function(){var t;t=new e,_o=t},e.prototype.addToWindow=function(e){je.getAngularTestability=function(t,n){void 0===n&&(n=!0);var r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},je.getAllAngularTestabilities=function(){return e.getAllTestabilities()},je.getAllAngularRootElements=function(){return e.getAllRootElements()},je.frameworkStabilizers||(je.frameworkStabilizers=[]),je.frameworkStabilizers.push(function(e){var t=je.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(i)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Id().isShadowRoot(t)?this.findTestabilityInTree(e,Id().getHost(t),!0):this.findTestabilityInTree(e,Id().parentElement(t),!0):null},e}();function qd(e,t){"undefined"!=typeof COMPILED&&COMPILED||((je.ng=je.ng||{})[e]=t)}var Hd=function(){return{ApplicationRef:Oo,NgZone:uo}}();function Wd(e){return Lo(e)}var Gd=new Ve("EventManagerPlugins"),Qd=function(){function e(e,t){var n=this;this._zone=t,this._eventNameToPlugin=new Map,e.forEach(function(e){return e.manager=n}),this._plugins=e.slice().reverse()}return e.prototype.addEventListener=function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)},e.prototype.addGlobalEventListener=function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)},e.prototype.getZone=function(){return this._zone},e.prototype._findPluginFor=function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)},e}(),Yd=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var r=Id().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target "+r+" for event "+t);return this.addEventListener(r,t,n)},e}(),Zd=function(){function e(){this._stylesSet=new Set}return e.prototype.addStyles=function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)},e.prototype.onStylesAdded=function(e){},e.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},e}(),Kd=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(t.head),n}return i(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))})},t.prototype.addHost=function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)},t.prototype.removeHost=function(e){this._hostNodes.delete(e)},t.prototype.onStylesAdded=function(e){var t=this;this._hostNodes.forEach(function(n){return t._addStylesToHost(e,n)})},t.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(e){return Id().remove(e)})},t}(Zd),Xd={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Jd=/%COMP%/g,$d="_nghost-%COMP%",ep="_ngcontent-%COMP%";function tp(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?tp(e,i,n):(i=i.replace(Jd,e),n.push(i))}return n}function np(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var rp=function(){function e(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new ip(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case st.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new ap(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case st.Native:case st.ShadowDom:return new lp(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=tp(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),ip=function(){function e(e){this.eventManager=e,this.data=Object.create(null)}return e.prototype.destroy=function(){},e.prototype.createElement=function(e,t){return t?document.createElementNS(Xd[t]||t,e):document.createElement(e)},e.prototype.createComment=function(e){return document.createComment(e)},e.prototype.createText=function(e){return document.createTextNode(e)},e.prototype.appendChild=function(e,t){e.appendChild(t)},e.prototype.insertBefore=function(e,t,n){e&&e.insertBefore(t,n)},e.prototype.removeChild=function(e,t){e&&e.removeChild(t)},e.prototype.selectRootElement=function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'+e+'" did not match any elements');return t||(n.textContent=""),n},e.prototype.parentNode=function(e){return e.parentNode},e.prototype.nextSibling=function(e){return e.nextSibling},e.prototype.setAttribute=function(e,t,n,r){if(r){t=r+":"+t;var i=Xd[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var r=Xd[n];r?e.removeAttributeNS(r,t):e.removeAttribute(n+":"+t)}else e.removeAttribute(t)},e.prototype.addClass=function(e,t){e.classList.add(t)},e.prototype.removeClass=function(e,t){e.classList.remove(t)},e.prototype.setStyle=function(e,t,n,r){r&mn.DashCase?e.style.setProperty(t,n,r&mn.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&mn.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){sp(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return sp(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,np(n)):this.eventManager.addEventListener(e,t,np(n))},e}(),op=function(){return"@".charCodeAt(0)}();function sp(e,t){if(e.charCodeAt(0)===op)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var ap=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;o.component=r;var s=tp(i+"-"+r.id,r.styles,[]);return n.addStyles(s),o.contentAttr=ep.replace(Jd,i+"-"+r.id),o.hostAttr=$d.replace(Jd,i+"-"+r.id),o}return i(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var r=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,r,this.contentAttr,""),r},t}(ip),lp=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;o.sharedStylesHost=n,o.hostEl=r,o.component=i,o.shadowRoot=i.encapsulation===st.ShadowDom?r.attachShadow({mode:"open"}):r.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var s=tp(i.id,i.styles,[]),a=0;a<s.length;a++){var l=document.createElement("style");l.textContent=s[a],o.shadowRoot.appendChild(l)}return o}return i(t,e),t.prototype.nodeOrShadowRoot=function(e){return e===this.hostEl?this.shadowRoot:e},t.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},t.prototype.appendChild=function(t,n){return e.prototype.appendChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.insertBefore=function(t,n,r){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,r)},t.prototype.removeChild=function(t,n){return e.prototype.removeChild.call(this,this.nodeOrShadowRoot(t),n)},t.prototype.parentNode=function(t){return this.nodeOrShadowRoot(e.prototype.parentNode.call(this,this.nodeOrShadowRoot(t)))},t}(ip),up=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e}}(),cp=up("addEventListener"),dp=up("removeEventListener"),pp={},hp="__zone_symbol__propagationStopped",fp=function(){var e="undefined"!=typeof Zone&&Zone[up("BLACK_LISTED_EVENTS")];if(e){var t={};return e.forEach(function(e){t[e]=e}),t}}(),mp=function(e){return!!fp&&fp.hasOwnProperty(e)},gp=function(e){var t=pp[e.type];if(t){var n=this[t];if(n){var r=[e];if(1===n.length)return(s=n[0]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r);for(var i=n.slice(),o=0;o<i.length&&!0!==e[hp];o++){var s;(s=i[o]).zone!==Zone.current?s.zone.run(s.handler,this,r):s.handler.apply(this,r)}}}},vp=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.ngZone=n,r&&_l(r)||i.patchEvent(),i}return i(t,e),t.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[hp]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var r=this,i=n;if(!e[cp]||uo.isInAngularZone()&&!mp(t))e.addEventListener(t,i,!1);else{var o=pp[t];o||(o=pp[t]=up("ANGULAR"+t+"FALSE"));var s=e[o],a=s&&s.length>0;s||(s=e[o]=[]);var l=mp(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:l,handler:i});else{for(var u=!1,c=0;c<s.length;c++)if(s[c].handler===i){u=!0;break}u||s.push({zone:l,handler:i})}a||e[cp](t,gp,!1)}return function(){return r.removeEventListener(e,t,i)}},t.prototype.removeEventListener=function(e,t,n){var r=e[dp];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);var i=pp[t],o=i&&e[i];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);for(var s=!1,a=0;a<o.length;a++)if(o[a].handler===n){s=!0,o.splice(a,1);break}s?0===o.length&&r.apply(e,[t,gp,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Yd),yp={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},bp=new Ve("HammerGestureConfig"),_p=new Ve("HammerLoader"),wp=function(){function e(){this.events=[],this.overrides={}}return e.prototype.buildHammer=function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t},e}(),Sp=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._config=n,o.console=r,o.loader=i,o}return i(t,e),t.prototype.supports=function(e){return!(!yp.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+e+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},t.prototype.addEventListener=function(e,t,n){var r=this,i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var o=!1,s=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return r.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=function(){});o||(s=r.addEventListener(e,t,n))}).catch(function(){r.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),s=function(){}}),function(){s()}}return i.runOutsideAngular(function(){var o=r._config.buildHammer(e),s=function(e){i.runGuarded(function(){n(e)})};return o.on(t,s),function(){o.off(t,s),"function"==typeof o.destroy&&o.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Yd),Cp=["alt","control","meta","shift"],xp={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ep=function(e){function t(t){return e.call(this,t)||this}var n;return i(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Id().onAndCancel(e,i.domEventName,o)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(Cp.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=i,0!=t.length||0===i.length)return null;var s={};return s.domEventName=r,s.fullKey=o,s},t.getEventFullKey=function(e){var t="",n=Id().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Cp.forEach(function(r){r!=n&&(0,xp[r])(e)&&(t+=r+".")}),t+=n},t.eventCallback=function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded(function(){return t(i)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Yd),kp=function(){return function(){}}(),Op=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return i(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Dt.NONE:return t;case Dt.HTML:return t instanceof Ip?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{wt=wt||new mt(e);var r=t?String(t):"";n=wt.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=wt.getInertBodyElement(r)}while(r!==o);var s=new Pt,a=s.sanitizeChildren(Nt(n)||n);return ft()&&s.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n)for(var l=Nt(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t)));case Dt.STYLE:return t instanceof Ap?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(Vt);return t&&yt(t[1])===t[1]||e.match(zt)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(ft()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case Dt.SCRIPT:if(t instanceof Pp)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Dt.URL:return t instanceof Rp||t instanceof Mp?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),yt(String(t)));case Dt.RESOURCE_URL:if(t instanceof Rp)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+e+" (see http://g.co/ng/security#xss)")}},t.prototype.checkNotSafeValue=function(e,t){if(e instanceof Tp)throw new Error("Required a safe "+t+", got a "+e.getTypeName()+" (see http://g.co/ng/security#xss)")},t.prototype.bypassSecurityTrustHtml=function(e){return new Ip(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Ap(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Pp(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Mp(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Rp(e)},t}(kp),Tp=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),Ip=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Tp),Ap=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Tp),Pp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Tp),Mp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Tp),Rp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Tp),jp=Co(Vo,"browser",[{provide:Hi,useValue:vl},{provide:qi,useValue:function(){Dd.makeCurrent(),Bd.init()},multi:!0},{provide:Ra,useClass:Vd,deps:[gl]},{provide:gl,useFactory:function(){return document},deps:[]}]);function Np(){return new dt}var Dp=function(){function e(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var t;return t=e,e.withServerTransition=function(e){return{ngModule:t,providers:[{provide:Fi,useValue:e.appId},{provide:Fd,useExisting:Fi},Ud]}},e}();function Lp(e,t,n){return function(r){return r.lift(new zp(e,t,n))}}"undefined"!=typeof window&&window;var zp=function(){function e(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}return e.prototype.call=function(e,t){return t.subscribe(new Vp(e,this.nextOrObserver,this.error,this.complete))},e}(),Vp=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._tapNext=k,o._tapError=k,o._tapComplete=k,o._tapError=r||k,o._tapComplete=i||k,h(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||k,o._tapError=n.error||k,o._tapComplete=n.complete||k),o}return i(t,e),t.prototype._next=function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)},t.prototype._error=function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)},t.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()},t}(C);function Fp(e,t){return void 0===t&&(t=dc),function(n){return n.lift(new Up(e,t))}}var Up=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Bp(e,this.dueTime,this.scheduler))},e}(),Bp=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.dueTime=n,i.scheduler=r,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return i(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(qp,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(C);function qp(e){e.debouncedNext()}function Hp(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var Wp=0,Gp=new Map,Qp=null,Yp=function(){function e(e){this._document=e}return e.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&(Gp.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},e.prototype.removeDescription=function(e,t){if(this._isElementNode(e)){this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t);var n=Gp.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t),Qp&&0===Qp.childNodes.length&&this._deleteMessagesContainer()}},e.prototype.ngOnDestroy=function(){for(var e=this._document.querySelectorAll("[cdk-describedby-host]"),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute("cdk-describedby-host");Qp&&this._deleteMessagesContainer(),Gp.clear()},e.prototype._createMessageElement=function(e){var t=this._document.createElement("div");t.setAttribute("id","cdk-describedby-message-"+Wp++),t.appendChild(this._document.createTextNode(e)),this._createMessagesContainer(),Qp.appendChild(t),Gp.set(e,{messageElement:t,referenceCount:0})},e.prototype._deleteMessageElement=function(e){var t=Gp.get(e),n=t&&t.messageElement;Qp&&n&&Qp.removeChild(n),Gp.delete(e)},e.prototype._createMessagesContainer=function(){if(!Qp){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(Qp=this._document.createElement("div")).id="cdk-describedby-message-container",Qp.setAttribute("aria-hidden","true"),Qp.style.display="none",this._document.body.appendChild(Qp)}},e.prototype._deleteMessagesContainer=function(){Qp&&Qp.parentNode&&(Qp.parentNode.removeChild(Qp),Qp=null)},e.prototype._removeCdkDescribedByReferenceIds=function(e){var t=Hp(e,"aria-describedby").filter(function(e){return 0!=e.indexOf("cdk-describedby-message")});e.setAttribute("aria-describedby",t.join(" "))},e.prototype._addMessageReference=function(e,t){var n,r,i,o=Gp.get(t);r=o.messageElement.id,(i=Hp(n=e,"aria-describedby")).some(function(e){return e.trim()==r.trim()})||(i.push(r.trim()),n.setAttribute("aria-describedby",i.join(" "))),e.setAttribute("cdk-describedby-host",""),o.referenceCount++},e.prototype._removeMessageReference=function(e,t){var n,r,i,o=Gp.get(t);o.referenceCount--,r=o.messageElement.id,i=Hp(n=e,"aria-describedby").filter(function(e){return e!=r.trim()}),n.setAttribute("aria-describedby",i.join(" ")),e.removeAttribute("cdk-describedby-host")},e.prototype._isElementDescribedByMessage=function(e,t){var n=Hp(e,"aria-describedby"),r=Gp.get(t),i=r&&r.messageElement.id;return!!i&&-1!=n.indexOf(i)},e.prototype._canBeDescribed=function(e,t){if(!this._isElementNode(e))return!1;var n=null==t?"":(""+t).trim(),r=e.getAttribute("aria-label");return!(!n||r&&r.trim()===n)},e.prototype._isElementNode=function(e){return e.nodeType===this._document.ELEMENT_NODE},e.ngInjectableDef=Ee({factory:function(){return new e(Le(gl))},token:e,providedIn:"root"}),e}(),Zp=function(){function e(e){var t=this;this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new N,this._typeaheadSubscription=g.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new N,this.change=new N,e instanceof ji&&e.changes.subscribe(function(e){if(t._activeItem){var n=e.toArray().indexOf(t._activeItem);n>-1&&n!==t._activeItemIndex&&(t._activeItemIndex=n)}})}return e.prototype.skipPredicate=function(e){return this._skipPredicateFn=e,this},e.prototype.withWrap=function(e){return void 0===e&&(e=!0),this._wrap=e,this},e.prototype.withVerticalOrientation=function(e){return void 0===e&&(e=!0),this._vertical=e,this},e.prototype.withHorizontalOrientation=function(e){return this._horizontal=e,this},e.prototype.withAllowedModifierKeys=function(e){return this._allowedModifierKeys=e,this},e.prototype.withTypeAhead=function(e){var t=this;if(void 0===e&&(e=200),this._items.length&&this._items.some(function(e){return"function"!=typeof e.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Lp(function(e){return t._pressedLetters.push(e)}),Fp(e),Aa(function(){return t._pressedLetters.length>0}),Q(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),r=1;r<n.length+1;r++){var i=(t._activeItemIndex+r)%n.length,o=n[i];if(!t._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(i);break}}t._pressedLetters=[]}),this},e.prototype.setActiveItem=function(e){var t=this._activeItemIndex;this.updateActiveItem(e),this._activeItemIndex!==t&&this.change.next(this._activeItemIndex)},e.prototype.onKeydown=function(e){var t=this,n=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&r){this.setNextItemActive();break}return;case 38:if(this._vertical&&r){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&r){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&r){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((r||ju(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()},Object.defineProperty(e.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),e.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},e.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},e.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},e.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},e.prototype.updateActiveItem=function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),r=t[n];this._activeItem=null==r?null:r,this._activeItemIndex=n},e.prototype.updateActiveItemIndex=function(e){this.updateActiveItem(e)},e.prototype._setActiveItemByDelta=function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)},e.prototype._setActiveInWrapMode=function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var r=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[r]))return void this.setActiveItem(r)}},e.prototype._setActiveInDefaultMode=function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)},e.prototype._setActiveItemByIndex=function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}},e.prototype._getItemsArray=function(){return this._items instanceof ji?this._items.toArray():this._items},e}(),Kp=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(Zp),Xp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return i(t,e),t.prototype.setFocusOrigin=function(e){return this._origin=e,this},t.prototype.setActiveItem=function(t){e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.focus(this._origin)},t}(Zp),Jp=function(){function e(e){this._platform=e}return e.prototype.isDisabled=function(e){return e.hasAttribute("disabled")},e.prototype.isVisible=function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(fO){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===eh(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=eh(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0},e.prototype.isFocusable=function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||$p(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(kc))},token:e,providedIn:"root"}),e}();function $p(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function eh(e){if(!$p(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var th=function(){function e(e,t,n,r,i){var o=this;void 0===i&&(i=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(e.prototype,"enabled",{get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null},e.prototype.attachAnchors=function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},e.prototype.focusInitialElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})},e.prototype.focusFirstTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})},e.prototype.focusLastTabbableElementWhenReady=function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})},e.prototype._getRegionBoundary=function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-"+e+"], [cdkFocusRegion"+e+"], [cdk-focus-"+e+"]"),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+e+"', use 'cdkFocusRegion"+e+"' instead. The deprecated attribute will be removed in 8.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)},e.prototype.focusInitialElement=function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),ft()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()},e.prototype.focusFirstTabbableElement=function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e},e.prototype.focusLastTabbableElement=function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e},e.prototype.hasAttached=function(){return this._hasAttached},e.prototype._getFirstTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._getLastTabbableElement=function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null},e.prototype._createAnchor=function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e},e.prototype._toggleAnchorTabIndex=function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")},e.prototype._executeOnStable=function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(Fu(1)).subscribe(e)},e}(),nh=function(){function e(e,t,n){this._checker=e,this._ngZone=t,this._document=n}return e.prototype.create=function(e,t){return void 0===t&&(t=!1),new th(e,this._checker,this._ngZone,this._document,t)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(Jp),Le(uo),Le(gl))},token:e,providedIn:"root"}),e}(),rh=new Ve("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),ih=new Ve("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),oh=function(){function e(e,t,n,r){this._ngZone=t,this._defaultOptions=r,this._document=n,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var i,o,s=this._defaultOptions;return 1===n.length&&"number"==typeof n[0]?o=n[0]:(i=n[0],o=n[1]),this.clear(),clearTimeout(this._previousTimeout),i||(i=s&&s.politeness?s.politeness:"polite"),null==o&&s&&(o=s.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular(function(){return new Promise(function(n){clearTimeout(t._previousTimeout),t._previousTimeout=setTimeout(function(){t._liveElement.textContent=e,n(),"number"==typeof o&&(t._previousTimeout=setTimeout(function(){return t.clear()},o))},100)})})},e.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},e.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},e.prototype._createLiveElement=function(){for(var e=this._document.getElementsByClassName("cdk-live-announcer-element"),t=this._document.createElement("div"),n=0;n<e.length;n++)e[n].parentNode.removeChild(e[n]);return t.classList.add("cdk-live-announcer-element"),t.classList.add("cdk-visually-hidden"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),t},e.ngInjectableDef=Ee({factory:function(){return new e(Le(rh,8),Le(uo),Le(gl),Le(ih,8))},token:e,providedIn:"root"}),e}(),sh=650,ah=Ac({passive:!0,capture:!0}),lh=function(){function e(e,t){var n=this;this._ngZone=e,this._platform=t,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){n._lastTouchTarget=null,n._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){n._lastTouchTarget||n._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(e){null!=n._touchTimeoutId&&clearTimeout(n._touchTimeoutId),n._lastTouchTarget=e.target,n._touchTimeoutId=setTimeout(function(){return n._lastTouchTarget=null},sh)},this._windowFocusListener=function(){n._windowFocused=!0,n._windowFocusTimeoutId=setTimeout(function(){return n._windowFocused=!1})}}return e.prototype.monitor=function(e,t){var n=this;if(void 0===t&&(t=!1),!this._platform.isBrowser)return Ta(null);var r=$u(e);if(this._elementInfo.has(r)){var i=this._elementInfo.get(r);return i.checkChildren=t,i.subject.asObservable()}var o={unlisten:function(){},checkChildren:t,subject:new N};this._elementInfo.set(r,o),this._incrementMonitoredElementCount();var s=function(e){return n._onFocus(e,r)},a=function(e){return n._onBlur(e,r)};return this._ngZone.runOutsideAngular(function(){r.addEventListener("focus",s,!0),r.addEventListener("blur",a,!0)}),o.unlisten=function(){r.removeEventListener("focus",s,!0),r.removeEventListener("blur",a,!0)},o.subject.asObservable()},e.prototype.stopMonitoring=function(e){var t=$u(e),n=this._elementInfo.get(t);n&&(n.unlisten(),n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._decrementMonitoredElementCount())},e.prototype.focusVia=function(e,t,n){var r=$u(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)},e.prototype.ngOnDestroy=function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})},e.prototype._toggleClass=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},e.prototype._setClasses=function(e,t){this._elementInfo.get(e)&&(this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t))},e.prototype._setOriginForCurrentEventQueue=function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,t._originTimeoutId=setTimeout(function(){return t._origin=null},1)})},e.prototype._wasCausedByTouch=function(e){var t=e.target;return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))},e.prototype._onFocus=function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===e.target)){var r=this._origin;r||(r=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}},e.prototype._onBlur=function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))},e.prototype._emitOrigin=function(e,t){this._ngZone.run(function(){return e.next(t)})},e.prototype._incrementMonitoredElementCount=function(){var e=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e._documentKeydownListener,ah),document.addEventListener("mousedown",e._documentMousedownListener,ah),document.addEventListener("touchstart",e._documentTouchstartListener,ah),window.addEventListener("focus",e._windowFocusListener)})},e.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,ah),document.removeEventListener("mousedown",this._documentMousedownListener,ah),document.removeEventListener("touchstart",this._documentTouchstartListener,ah),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},e.ngInjectableDef=Ee({factory:function(){return new e(Le(uo),Le(kc))},token:e,providedIn:"root"}),e}(),uh=function(){return function(){}}(),ch=new Ve("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),dh=function(){function e(e,t){this._sanityChecksEnabled=e,this._hammerLoader=t,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._hasDoneGlobalChecks=!0)}return e.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&ft()&&!this._isTestEnv()},e.prototype._isTestEnv=function(){var e=this._window;return e&&(e.__karma__||e.jasmine)},e.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},e.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var e=this._document.createElement("div");e.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(e);var t=getComputedStyle(e);t&&"none"!==t.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(e)}},e.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},e}();function ph(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._disabled=!1,r}return i(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Zu(e)},enumerable:!0,configurable:!0}),t}(e)}function hh(e,t){return function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return i.color=t,i}return i(n,e),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(e){var n=e||t;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)},enumerable:!0,configurable:!0}),n}(e)}function fh(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r._disableRipple=!1,r}return i(t,e),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=Zu(e)},enumerable:!0,configurable:!0}),t}(e)}function mh(e,t){return void 0===t&&(t=0),function(e){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i=e.apply(this,n)||this;return i._tabIndex=t,i}return i(n,e),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?e:t},enumerable:!0,configurable:!0}),n}(e)}function gh(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=e.apply(this,t)||this;return r.errorState=!1,r.stateChanges=new N,r}return i(t,e),t.prototype.updateErrorState=function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())},t}(e)}var vh=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},e.ngInjectableDef=Ee({factory:function(){return new e},token:e,providedIn:"root"}),e}(),yh=new Ve("MAT_HAMMER_OPTIONS"),bh=["longpress","slide","slidestart","slideend","slideright","slideleft"],_h={on:function(){},off:function(){}},wh=function(e){function t(t,n){var r=e.call(this)||this;return r._hammerOptions=t,r.events=bh,n&&n._checkHammerIsAvailable(),r}return i(t,e),t.prototype.buildHammer=function(e){var t="undefined"!=typeof window?window.Hammer:null;if(!t)return _h;var n=new t(e,this._hammerOptions||void 0),r=new t.Pan,i=new t.Swipe,o=new t.Press,s=this._createRecognizer(r,{event:"slide",threshold:0},i),a=this._createRecognizer(o,{event:"longpress",time:500});return r.recognizeWith(i),a.recognizeWith(s),n.add([i,o,r,s,a]),n},t.prototype._createRecognizer=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=new e.constructor(t);return n.push(e),n.forEach(function(e){return i.recognizeWith(e)}),i},t}(wp),Sh=function(){return function(){}}(),Ch=function(){var e={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return e[e.FADING_IN]="FADING_IN",e[e.VISIBLE]="VISIBLE",e[e.FADING_OUT]="FADING_OUT",e[e.HIDDEN]="HIDDEN",e}(),xh=function(){function e(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=Ch.HIDDEN}return e.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},e}(),Eh={enterDuration:450,exitDuration:400},kh=800,Oh=Ac({passive:!0}),Th=function(){function e(e,t,n,r){var i=this;this._target=e,this._ngZone=t,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(e){var t=function(e){return 0===e.buttons}(e),n=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+kh;i._target.rippleDisabled||t||n||(i._isPointerDown=!0,i.fadeInRipple(e.clientX,e.clientY,i._target.rippleConfig))},this._onTouchStart=function(e){if(!i._target.rippleDisabled){i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)i.fadeInRipple(t[n].clientX,t[n].clientY,i._target.rippleConfig)}},this._onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach(function(e){!e.config.persistent&&(e.state===Ch.VISIBLE||e.config.terminateOnPointerUp&&e.state===Ch.FADING_IN)&&e.fadeOut()}))},r.isBrowser&&(this._containerElement=n.nativeElement,this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}return e.prototype.fadeInRipple=function(e,t,n){var r=this;void 0===n&&(n={});var i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=o({},Eh,n.animation);n.centered&&(e=i.left+i.width/2,t=i.top+i.height/2);var a=n.radius||function(e,t,n){var r=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),i=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(r*r+i*i)}(e,t,i),l=e-i.left,u=t-i.top,c=s.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=l-a+"px",d.style.top=u-a+"px",d.style.height=2*a+"px",d.style.width=2*a+"px",d.style.backgroundColor=n.color||null,d.style.transitionDuration=c+"ms",this._containerElement.appendChild(d),window.getComputedStyle(d).getPropertyValue("opacity"),d.style.transform="scale(1)";var p=new xh(this,d,n);return p.state=Ch.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone(function(){var e=p===r._mostRecentTransientRipple;p.state=Ch.VISIBLE,n.persistent||e&&r._isPointerDown||p.fadeOut()},c),p},e.prototype.fadeOutRipple=function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,r=o({},Eh,e.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",e.state=Ch.FADING_OUT,this._runTimeoutOutsideZone(function(){e.state=Ch.HIDDEN,n.parentNode.removeChild(n)},r.exitDuration)}},e.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(e){return e.fadeOut()})},e.prototype.setupTriggerEvents=function(e){var t=this;e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){t._triggerEvents.forEach(function(t,n){e.addEventListener(n,t,Oh)})}),this._triggerElement=e)},e.prototype._runTimeoutOutsideZone=function(e,t){void 0===t&&(t=0),this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})},e.prototype._removeTriggerEvents=function(){var e=this;this._triggerElement&&this._triggerEvents.forEach(function(t,n){e._triggerElement.removeEventListener(n,t,Oh)})},e}(),Ih=new Ve("mat-ripple-global-options"),Ah=function(){function e(e,t,n,r,i){this._elementRef=e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new Th(this,t,e,n),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},e.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},e.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(e.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:o({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),e.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},e.prototype.launch=function(e,t,n){return void 0===t&&(t=0),"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,o({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,o({},this.rippleConfig,e))},e}(),Ph=function(){return function(){}}(),Mh=function(){return function(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}(),Rh=function(){return function(){}}(),jh=0,Nh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+jh++,t}return i(t,e),t}(ph(function(){return function(){}}())),Dh=0,Lh=function(){return function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t}}(),zh=new Ve("MAT_OPTION_PARENT_COMPONENT"),Vh=function(){function e(e,t,n,r){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Dh++,this.onSelectionChange=new Ri,this._stateChanges=new N}return Object.defineProperty(e.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),e.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},e.prototype.focus=function(){var e=this._getHostElement();"function"==typeof e.focus&&e.focus()},e.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},e.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},e.prototype.getLabel=function(){return this.viewValue},e.prototype._handleKeydown=function(e){13!==e.keyCode&&32!==e.keyCode||ju(e)||(this._selectViaInteraction(),e.preventDefault())},e.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},e.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},e.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},e.prototype._getHostElement=function(){return this._element.nativeElement},e.prototype.ngAfterViewChecked=function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype._emitSelectionChangeEvent=function(e){void 0===e&&(e=!1),this.onSelectionChange.emit(new Lh(this,e))},e}();function Fh(e,t,n){if(n.length){for(var r=t.toArray(),i=n.toArray(),o=0,s=0;s<e+1;s++)r[s].group&&r[s].group===i[o]&&o++;return o}return 0}var Uh=function(){return function(){}}(),Bh=new Ve("mat-label-global-options"),qh=rr({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button+.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:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function Hh(e){return cs(0,[(e()(),Go(0,null,null,0))],null,null)}function Wh(e){return cs(0,[Jo(402653184,1,{_portalOutlet:0}),(e()(),Go(16777216,null,null,1,null,Hh)),mi(2,212992,[[1,4]],0,Au,[on,zn],{portal:[0,"portal"]},null)],function(e,t){e(t,2,0,"")},null)}function Gh(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],function(e,t,n){var r=!0;return"component:@dialogContainer.start"===t&&(r=!1!==ni(e,1)._onAnimationStart(n)&&r),"component:@dialogContainer.done"===t&&(r=!1!==ni(e,1)._onAnimationDone(n)&&r),r},Wh,qh)),mi(1,49152,null,0,gd,[dn,nh,Pn,[2,gl],fd],null,null)],null,function(e,t){e(t,0,0,ni(t,1)._id,ni(t,1)._config.role,ni(t,1)._config.ariaLabel?null:ni(t,1)._ariaLabelledBy,ni(t,1)._config.ariaLabel,ni(t,1)._config.ariaDescribedBy||null,ni(t,1)._state)})}var Qh=Wr("mat-dialog-container",gd,Gh,{},{},[]),Yh={};function Zh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,r=null;return L(e[e.length-1])&&(r=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&d(e[0])&&(e=e[0]),ie(e,r).lift(new Xh(n))}var Kh,Xh=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Jh(e,this.resultSelector))},e}(),Jh=function(e){function t(t,n){var r=e.call(this,t)||this;return r.resultSelector=n,r.active=0,r.values=[],r.observables=[],r}return i(t,e),t.prototype._next=function(e){this.values.push(Yh),this.observables.push(e)},t.prototype._complete=function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(W(this,r,r,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,r,i){var o=this.values,s=this.toRespond?o[n]===Yh?--this.toRespond:this.toRespond:0;o[n]=t,0===s&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},t.prototype._tryResultSelector=function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)},t}(G),$h=new Set,ef=function(){function e(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):tf}return e.prototype.matchMedia=function(e){return this._platform.WEBKIT&&function(e){if(!$h.has(e))try{Kh||((Kh=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Kh)),Kh.sheet&&(Kh.sheet.insertRule("@media "+e+" {.fx-query-test{ }}",0),$h.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(kc))},token:e,providedIn:"root"}),e}();function tf(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var nf=function(){function e(e,t){this._mediaMatcher=e,this._zone=t,this._queries=new Map,this._destroySubject=new N}return e.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},e.prototype.isMatched=function(e){var t=this;return rf(Xu(e)).some(function(e){return t._registerQuery(e).mql.matches})},e.prototype.observe=function(e){var t=this;return Zh(rf(Xu(e)).map(function(e){return t._registerQuery(e).observable})).pipe(Fp(0,ac),Q(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){t.matches=t.matches||e.matches,t.breakpoints[e.query]=e.matches}),t}))},e.prototype._registerQuery=function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),r={observable:new I(function(e){var r=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(r),function(){n.removeListener(r)}}).pipe(Wu(n),Q(function(t){return{query:e,matches:t.matches}}),vc(this._destroySubject)),mql:n};return this._queries.set(e,r),r},e.ngInjectableDef=Ee({factory:function(){return new e(Le(ef),Le(uo))},token:e,providedIn:"root"}),e}();function rf(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var of={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},sf=20;function af(e){return Error('Tooltip position "'+e+'" is invalid.')}var lf=new Ve("mat-tooltip-scroll-strategy");function uf(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:sf})}}var cf=new Ve("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),df=function(){function e(e,t,n,r,i,o,s,a,l,u,c,d){var p=this;this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=r,this._ngZone=i,this._ariaDescriber=s,this._focusMonitor=a,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 N,this._scrollStrategy=l;var h=t.nativeElement,f="undefined"==typeof window||window.Hammer||d;o.IOS||o.ANDROID?f||this._manualListeners.set("touchstart",function(){return p.show()}):this._manualListeners.set("mouseenter",function(){return p.show()}).set("mouseleave",function(){return p.hide()}),this._manualListeners.forEach(function(e,t){return h.addEventListener(t,e)}),a.monitor(t).pipe(vc(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&i.run(function(){return p.show()}):i.run(function(){return p.hide(0)})}),c&&c.position&&(this.position=c.position)}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Zu(e),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){return this._message},set:function(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=e?(""+e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this._elementRef.nativeElement,t=e.style;"INPUT"!==e.nodeName&&"TEXTAREA"!==e.nodeName||(t.webkitUserSelect=t.userSelect=t.msUserSelect=""),e.draggable&&"none"===t.webkitUserDrag&&(t.webkitUserDrag="")},e.prototype.ngOnDestroy=function(){var e=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach(function(t,n){e._elementRef.nativeElement.removeEventListener(n,t)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.show=function(e){var t=this;if(void 0===e&&(e=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new ku(pf,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(vc(this._destroyed)).subscribe(function(){return t._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}},e.prototype.hide=function(e){void 0===e&&(e=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(e)},e.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},e.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},e.prototype._handleKeydown=function(e){this._isTooltipVisible()&&e.keyCode===Ru&&!ju(e)&&(e.preventDefault(),e.stopPropagation(),this.hide(0))},e.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},e.prototype._createOverlay=function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(vc(this._destroyed)).subscribe(function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(vc(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef},e.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},e.prototype._updatePosition=function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([o({},t.main,n.main),o({},t.fallback,n.fallback)])},e.prototype._getOrigin=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)e={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw af(n);e={originX:"end",originY:"center"}}var r=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:r.x,originY:r.y}}},e.prototype._getOverlayPosition=function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)e={overlayX:"center",overlayY:"bottom"};else if("below"==n)e={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&t||"right"==n&&!t)e={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&t||"left"==n&&!t))throw af(n);e={overlayX:"start",overlayY:"center"}}var r=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:r.x,overlayY:r.y}}},e.prototype._updateTooltipMessage=function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Fu(1),vc(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))},e.prototype._setTooltipClass=function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())},e.prototype._invertPosition=function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}},e}(),pf=function(){function e(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new N,this._isHandset=this._breakpointObserver.observe(of.Handset)}return e.prototype.show=function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()},e)},e.prototype.hide=function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()},e)},e.prototype.afterHidden=function(){return this._onHide.asObservable()},e.prototype.isVisible=function(){return"visible"===this._visibility},e.prototype.ngOnDestroy=function(){this._onHide.complete()},e.prototype._animationStart=function(){this._closeOnInteraction=!1},e.prototype._animationDone=function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)},e.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},e.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},e}(),hf=function(){return function(){}}(),ff=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.ngInjectableDef=Ee({factory:function(){return new e},token:e,providedIn:"root"}),e}(),mf=function(){function e(e){this._mutationObserverFactory=e,this._observedElements=new Map}return e.prototype.ngOnDestroy=function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})},e.prototype.observe=function(e){var t=this,n=$u(e);return new I(function(e){var r=t._observeElement(n).subscribe(e);return function(){r.unsubscribe(),t._unobserveElement(n)}})},e.prototype._observeElement=function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new N,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream},e.prototype._unobserveElement=function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))},e.prototype._cleanupObserver=function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,r=t.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(e)}},e.ngInjectableDef=Ee({factory:function(){return new e(Le(ff))},token:e,providedIn:"root"}),e}(),gf=function(){function e(e,t,n){this._contentObserver=e,this._elementRef=t,this._ngZone=n,this.event=new Ri,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Zu(e),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"debounce",{get:function(){return this._debounce},set:function(e){this._debounce=Ku(e),this._subscribe()},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},e.prototype.ngOnDestroy=function(){this._unsubscribe()},e.prototype._subscribe=function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe(Fp(e.debounce)):t).subscribe(e.event)})},e.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},e}(),vf=function(){return function(){}}(),yf=rr({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function bf(e){return cs(2,[(e()(),Qo(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(e,t,n){var r=!0,i=e.component;return"@state.start"===t&&(r=!1!==i._animationStart()&&r),"@state.done"===t&&(r=!1!==i._animationDone(n)&&r),r},null,null)),vi(512,null,Za,Ka,[In,An,dn,gn]),mi(2,278528,null,0,Xa,[Za],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),gi(131072,fl,[Pn]),(e()(),as(4,null,["",""]))],function(e,t){e(t,2,0,"mat-tooltip",t.component.tooltipClass)},function(e,t){var n,r=t.component;e(t,0,0,null==(n=er(t,0,0,ni(t,3).transform(r._isHandset)))?null:n.matches,r._visibility),e(t,4,0,r.message)})}function _f(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(e,t,n){var r=!0;return"body:click"===t&&(r=!1!==ni(e,1)._handleBodyInteraction()&&r),r},bf,yf)),mi(1,180224,null,0,pf,[Pn,nf],null,null)],null,function(e,t){e(t,0,0,"visible"===ni(t,1)._visibility?1:null)})}var wf=Wr("mat-tooltip-component",pf,_f,{},{},[]),Sf=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return n&&!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(N);function Cf(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Cf.prototype=Object.create(Error.prototype);var xf=Cf;function Ef(e){return function(t){return 0===e?Du():t.lift(new kf(e))}}var kf=function(){function e(e){if(this.total=e,this.total<0)throw new Vu}return e.prototype.call=function(e,t){return t.subscribe(new Of(e,this.total))},e}(),Of=function(e){function t(t,n){var r=e.call(this,t)||this;return r.total=n,r.ring=new Array,r.count=0,r}return i(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e},t.prototype._complete=function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()},t}(C);function Tf(e){return void 0===e&&(e=Pf),function(t){return t.lift(new If(e))}}var If=function(){function e(e){this.errorFactory=e}return e.prototype.call=function(e,t){return t.subscribe(new Af(e,this.errorFactory))},e}(),Af=function(e){function t(t,n){var r=e.call(this,t)||this;return r.errorFactory=n,r.hasValue=!1,r}return i(t,e),t.prototype._next=function(e){this.hasValue=!0,this.destination.next(e)},t.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var e=void 0;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)},t}(C);function Pf(){return new xf}function Mf(e){return void 0===e&&(e=null),function(t){return t.lift(new Rf(e))}}var Rf=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new jf(e,this.defaultValue))},e}(),jf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.defaultValue=n,r.isEmpty=!0,r}return i(t,e),t.prototype._next=function(e){this.isEmpty=!1,this.destination.next(e)},t.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},t}(C);function Nf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Aa(function(t,n){return e(t,n,r)}):ne,Ef(1),n?Mf(t):Tf(function(){return new xf}))}}function Df(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Aa(function(t,n){return e(t,n,r)}):ne,Fu(1),n?Mf(t):Tf(function(){return new xf}))}}var Lf=function(){function e(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}return e.prototype.call=function(e,t){return t.subscribe(new zf(e,this.predicate,this.thisArg,this.source))},e}(),zf=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=r,o.source=i,o.index=0,o.thisArg=r||o,o}return i(t,e),t.prototype.notifyComplete=function(e){this.destination.next(e),this.destination.complete()},t.prototype._next=function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)},t.prototype._complete=function(){this.notifyComplete(!0)},t}(C);function Vf(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Ff(e,t,n))}}var Ff=function(){function e(e,t,n){void 0===n&&(n=!1),this.accumulator=e,this.seed=t,this.hasSeed=n}return e.prototype.call=function(e,t){return t.subscribe(new Uf(e,this.accumulator,this.seed,this.hasSeed))},e}(),Uf=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=r,o.hasSeed=i,o.index=0,o}return i(t,e),Object.defineProperty(t.prototype,"seed",{get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e},enumerable:!0,configurable:!0}),t.prototype._next=function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)},t.prototype._tryNext=function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)},t}(C);function Bf(e){return function(t){return t.lift(new qf(e))}}var qf=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new Hf(e,this.callback))},e}(),Hf=function(e){function t(t,n){var r=e.call(this,t)||this;return r.add(new g(n)),r}return i(t,e),t}(C),Wf=function(){return function(e,t){this.id=e,this.url=t}}(),Gf=function(e){function t(t,n,r,i){void 0===r&&(r="imperative"),void 0===i&&(i=null);var o=e.call(this,t,n)||this;return o.navigationTrigger=r,o.restoredState=i,o}return i(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(Wf),Qf=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.urlAfterRedirects=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(Wf),Yf=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.reason=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(Wf),Zf=function(e){function t(t,n,r){var i=e.call(this,t,n)||this;return i.error=r,i}return i(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(Wf),Kf=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Wf),Xf=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Wf),Jf=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n)||this;return s.urlAfterRedirects=r,s.state=i,s.shouldActivate=o,s}return i(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(Wf),$f=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Wf),em=function(e){function t(t,n,r,i){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=r,o.state=i,o}return i(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Wf),tm=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),nm=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),rm=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),im=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),om=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),sm=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),am=function(){function e(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}return e.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},e}(),lm=function(){return function(){}}(),um="primary",cm=function(){function e(e){this.params=e||{}}return e.prototype.has=function(e){return this.params.hasOwnProperty(e)},e.prototype.get=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null},e.prototype.getAll=function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]},Object.defineProperty(e.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),e}();function dm(e){return new cm(e)}var pm="ngNavigationCancelingError";function hm(e){var t=Error("NavigationCancelingError: "+e);return t[pm]=!0,t}function fm(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var s=r[o],a=e[o];if(s.startsWith(":"))i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var mm=function(){return function(e,t){this.routes=e,this.module=t}}();function gm(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var r=e[n];vm(r,ym(t,r))}}function vm(e,t){if(!e)throw new Error("\n Invalid configuration of route '"+t+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(e))throw new Error("Invalid configuration of route '"+t+"': Array cannot be specified");if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&e.outlet!==um)throw new Error("Invalid configuration of route '"+t+"': a componentless route without children or loadChildren cannot have a named outlet set");if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '"+t+"': redirectTo and children cannot be used together");if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': redirectTo and loadChildren cannot be used together");if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '"+t+"': children and loadChildren cannot be used together");if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '"+t+"': redirectTo and component cannot be used together");if(e.path&&e.matcher)throw new Error("Invalid configuration of route '"+t+"': path and matcher cannot be used together");if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '"+t+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '"+t+"': routes must have either a path or a matcher specified");if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '"+t+"': path cannot start with a slash");if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \""+t+'", redirectTo: "'+e.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '"+t+"': pathMatch can only be set to 'prefix' or 'full'");e.children&&gm(e.children,t)}function ym(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function bm(e){var t=e.children&&e.children.map(bm),n=t?o({},e,{children:t}):o({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==um&&(n.component=lm),n}function _m(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(e[n=r[o]]!==t[n])return!1;return!0}function wm(e){return Array.prototype.concat.apply([],e)}function Sm(e){return e.length>0?e[e.length-1]:null}function Cm(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function xm(e){return qt(e)?e:Bt(e)?X(Promise.resolve(e)):Ta(e)}function Em(e,t,n){return n?function(e,t){return _m(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Im(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return t[n]===e[n]})}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!Im(s=n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Im(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var s=i.slice(0,n.segments.length),a=i.slice(n.segments.length);return!!Im(n.segments,s)&&!!n.children[um]&&t(n.children[um],r,a)}(t,n,n.segments)}(e.root,t.root)}var km=function(){function e(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}return Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=dm(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Rm.serialize(this)},e}(),Om=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,Cm(t,function(e,t){return e.parent=n})}return e.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(e.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return jm(this)},e}(),Tm=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=dm(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Fm(this)},e}();function Im(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function Am(e,t){var n=[];return Cm(e.children,function(e,r){r===um&&(n=n.concat(t(e,r)))}),Cm(e.children,function(e,r){r!==um&&(n=n.concat(t(e,r)))}),n}var Pm=function(){return function(){}}(),Mm=function(){function e(){}return e.prototype.parse=function(e){var t=new Wm(e);return new km(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return jm(t);if(n){var r=t.children[um]?e(t.children[um],!1):"",i=[];return Cm(t.children,function(t,n){n!==um&&i.push(n+":"+e(t,!1))}),i.length>0?r+"("+i.join("//")+")":r}var o=Am(t,function(n,r){return r===um?[e(t.children[um],!1)]:[r+":"+e(n,!1)]});return jm(t)+"/("+o.join("//")+")"}(e.root,!0)+(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return Dm(e)+"="+Dm(t)}).join("&"):Dm(e)+"="+Dm(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),Rm=new Mm;function jm(e){return e.segments.map(function(e){return Fm(e)}).join("/")}function Nm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dm(e){return Nm(e).replace(/%3B/gi,";")}function Lm(e){return Nm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function zm(e){return decodeURIComponent(e)}function Vm(e){return zm(e.replace(/\+/g,"%20"))}function Fm(e){return""+Lm(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Lm(e)+"="+Lm(t[e])}).join(""));var t}var Um=/^[^\/()?;=#]+/;function Bm(e){var t=e.match(Um);return t?t[0]:""}var qm=/^[^=?&#]+/,Hm=/^[^?&#]+/,Wm=function(){function e(e){this.url=e,this.remaining=e}return e.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Om([],{}):new Om([],this.parseChildren())},e.prototype.parseQueryParams=function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e},e.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},e.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[um]=new Om(e,t)),n},e.prototype.parseSegment=function(){var e=Bm(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Tm(zm(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Bm(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Bm(this.remaining);r&&this.capture(n=r)}e[zm(t)]=zm(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(qm))?t[0]:"";if(n){this.capture(n);var r="";if(this.consumeOptional("=")){var i=function(e){var t=e.match(Hm);return t?t[0]:""}(this.remaining);i&&this.capture(r=i)}var o=Vm(n),s=Vm(r);if(e.hasOwnProperty(o)){var a=e[o];Array.isArray(a)||(e[o]=a=[a]),a.push(s)}else e[o]=s}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Bm(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(":")):e&&(i=um);var o=this.parseChildren();t[i]=1===Object.keys(o).length?o[um]:new Om([],o),this.consumeOptional("//")}return t},e.prototype.peekStartsWith=function(e){return this.remaining.startsWith(e)},e.prototype.consumeOptional=function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)},e.prototype.capture=function(e){if(!this.consumeOptional(e))throw new Error('Expected "'+e+'".')},e}(),Gm=function(){function e(e){this._root=e}return Object.defineProperty(e.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),e.prototype.parent=function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null},e.prototype.children=function(e){var t=Qm(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Qm(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=Ym(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})},e.prototype.pathFromRoot=function(e){return Ym(e,this._root).map(function(e){return e.value})},e}();function Qm(e,t){var n,r;if(e===t.value)return t;try{for(var i=l(t.children),o=i.next();!o.done;o=i.next()){var s=Qm(e,o.value);if(s)return s}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return null}function Ym(e,t){var n,r;if(e===t.value)return[t];try{for(var i=l(t.children),o=i.next();!o.done;o=i.next()){var s=Ym(e,o.value);if(s.length)return s.unshift(t),s}}catch(a){n={error:a}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return[]}var Zm=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Km(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Xm=function(e){function t(t,n){var r=e.call(this,t)||this;return r.snapshot=n,rg(r,t),r}return i(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Gm);function Jm(e,t){var n=function(e,t){var n=new tg([],{},{},"",{},um,t,null,e.root,-1,{});return new ng("",new Zm(n,[]))}(e,t),r=new Sf([new Tm("",{})]),i=new Sf({}),o=new Sf({}),s=new Sf({}),a=new Sf(""),l=new $m(r,i,s,a,o,um,t,n.root);return l.snapshot=n.root,new Xm(new Zm(l,[]),n)}var $m=function(){function e(e,t,n,r,i,o,s,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this._futureSnapshot=a}return Object.defineProperty(e.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Q(function(e){return dm(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Q(function(e){return dm(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function eg(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],s=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(s.component)break;r--}}return function(e){return e.reduce(function(e,t){return{params:o({},e.params,t.params),data:o({},e.data,t.data),resolve:o({},e.resolve,t._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(r))}var tg=function(){function e(e,t,n,r,i,o,s,a,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=s,this.routeConfig=a,this._urlSegment=l,this._lastPathIndex=u,this._resolve=c}return Object.defineProperty(e.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=dm(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=dm(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return"Route(url:'"+this.url.map(function(e){return e.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},e}(),ng=function(e){function t(t,n){var r=e.call(this,n)||this;return r.url=t,rg(r,n),r}return i(t,e),t.prototype.toString=function(){return ig(this._root)},t}(Gm);function rg(e,t){t.value._routerState=e,t.children.forEach(function(t){return rg(e,t)})}function ig(e){var t=e.children.length>0?" { "+e.children.map(ig).join(", ")+" } ":"";return""+e.value+t}function og(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,_m(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),_m(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!_m(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),_m(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function sg(e,t){var n,r;return _m(e.params,t.params)&&Im(n=e.url,r=t.url)&&n.every(function(e,t){return _m(e.parameters,r[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||sg(e.parent,t.parent))}function ag(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function lg(e,t,n,r,i){var o={};return r&&Cm(r,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new km(n.root===e?t:function e(t,n,r){var i={};return Cm(t.children,function(t,o){i[o]=t===n?r:e(t,n,r)}),new Om(t.segments,i)}(n.root,e,t),o,i)}var ug=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&ag(n[0]))throw new Error("Root segment cannot have matrix parameters");var r=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(r&&r!==Sm(n))throw new Error("{outlets:{}} has to be the last command")}return e.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},e}(),cg=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function dg(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[um]:""+e}function pg(e,t,n){if(e||(e=new Om([],{})),0===e.segments.length&&e.hasChildren())return hg(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return o;var s=e.segments[i],a=dg(n[r]),l=r<n.length-1?n[r+1]:null;if(i>0&&void 0===a)break;if(a&&l&&"object"==typeof l&&void 0===l.outlets){if(!vg(a,l,s))return o;r+=2}else{if(!vg(a,{},s))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new Om(e.segments.slice(0,r.pathIndex),{});return o.children[um]=new Om(e.segments.slice(r.pathIndex),e.children),hg(o,0,i)}return r.match&&0===i.length?new Om(e.segments,{}):r.match&&!e.hasChildren()?fg(e,t,n):r.match?hg(e,0,i):fg(e,t,n)}function hg(e,t,n){if(0===n.length)return new Om(e.segments,{});var r=function(e){var t,n;return"object"!=typeof e[0]?((t={})[um]=e,t):void 0===e[0].outlets?((n={})[um]=e,n):e[0].outlets}(n),i={};return Cm(r,function(n,r){null!==n&&(i[r]=pg(e.children[r],t,n))}),Cm(e.children,function(e,t){void 0===r[t]&&(i[t]=e)}),new Om(e.segments,i)}function fg(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=mg(n[i].outlets);return new Om(r,o)}if(0===i&&ag(n[0]))r.push(new Tm(e.segments[t].path,n[0])),i++;else{var s=dg(n[i]),a=i<n.length-1?n[i+1]:null;s&&a&&ag(a)?(r.push(new Tm(s,gg(a))),i+=2):(r.push(new Tm(s,{})),i++)}}return new Om(r,{})}function mg(e){var t={};return Cm(e,function(e,n){null!==e&&(t[n]=fg(new Om([],{}),0,e))}),t}function gg(e){var t={};return Cm(e,function(e,n){return t[n]=""+e}),t}function vg(e,t,n){return e==n.path&&_m(t,n.parameters)}var yg=function(){function e(e,t,n,r){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),og(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var r=this,i=Km(t);e.children.forEach(function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]}),Cm(i,function(e,t){r.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)},e.prototype.deactivateRouteAndItsChildren=function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)},e.prototype.detachAndStoreRouteSubtree=function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=Km(e),o=e.value.component?r.children:t;Cm(i,function(e,t){return n.deactivateRouteAndItsChildren(e,o)}),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var r=this,i=Km(t);e.children.forEach(function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new sm(e.value.snapshot))}),e.children.length&&this.forwardEvent(new im(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var r=e.value,i=t?t.value:null;if(og(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component)if(o=n.getOrCreateContext(r.outlet),this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),bg(s.route)}else{var a=function(e){for(var t=r.snapshot.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(),l=a?a.module.componentFactoryResolver:null;o.attachRef=null,o.route=r,o.resolver=l,o.outlet&&o.outlet.activateWith(r,l),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,n)},e}();function bg(e){og(e.value),e.children.forEach(bg)}function _g(e){return"function"==typeof e}function wg(e){return e instanceof km}var Sg=function(){return function(e){this.segmentGroup=e||null}}(),Cg=function(){return function(e){this.urlTree=e}}();function xg(e){return new I(function(t){return t.error(new Sg(e))})}function Eg(e){return new I(function(t){return t.error(new Cg(e))})}function kg(e){return new I(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var Og=function(){function e(e,t,n,r,i){this.configLoader=t,this.urlSerializer=n,this.urlTree=r,this.config=i,this.allowRedirects=!0,this.ngModule=e.get(ln)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,um).pipe(Q(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(ru(function(t){if(t instanceof Cg)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Sg)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,um).pipe(Q(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(ru(function(e){if(e instanceof Sg)throw t.noMatchError(e);throw e}))},e.prototype.noMatchError=function(e){return new Error("Cannot match any routes. URL Segment: '"+e.segmentGroup+"'")},e.prototype.createUrlTree=function(e,t,n){var r,i=e.segments.length>0?new Om([],((r={})[um]=e,r)):e;return new km(i,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Q(function(e){return new Om([],e)})):this.expandSegment(e,n,t,n.segments,r,!0)},e.prototype.expandChildren=function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Ta({});var o=[],s=[],a={};return Cm(n,function(n,i){var l,u,c=(l=i,u=n,r.expandSegmentGroup(e,t,u,l)).pipe(Q(function(e){return a[i]=e}));i===um?o.push(c):s.push(c)}),Ta.apply(null,o.concat(s)).pipe(qu(),Nf(),Q(function(){return a}))}(n.children)},e.prototype.expandSegment=function(e,t,n,r,i,o){var s=this;return Ta.apply(void 0,c(n)).pipe(Q(function(a){return s.expandSegmentAgainstRoute(e,t,n,a,r,i,o).pipe(ru(function(e){if(e instanceof Sg)return Ta(null);throw e}))}),qu(),Df(function(e){return!!e}),ru(function(e,n){if(e instanceof xf||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,r,i))return Ta(new Om([],{}));throw new Sg(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,r,i,o,s){return Pg(r)!==o?xg(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):s&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):xg(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Eg(o):this.lineralizeSegments(n,o).pipe(J(function(n){var o=new Om(n,{});return i.expandSegment(e,o,t,n,r,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,r,i,o){var s=this,a=Tg(t,r,i),l=a.consumedSegments,u=a.lastChild,c=a.positionalParamSegments;if(!a.matched)return xg(t);var d=this.applyRedirectCommands(l,r.redirectTo,c);return r.redirectTo.startsWith("/")?Eg(d):this.lineralizeSegments(r,d).pipe(J(function(r){return s.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Q(function(e){return n._loadedConfig=e,new Om(r,{})})):Ta(new Om(r,{}));var s=Tg(t,n,r),a=s.consumedSegments,u=s.lastChild;if(!s.matched)return xg(t);var c=r.slice(u);return this.getChildConfig(e,n,r).pipe(J(function(e){var n=e.module,r=e.routes,s=function(e,t,n,r){return n.length>0&&function(e,t,n){return r.some(function(n){return Ag(e,t,n)&&Pg(n)!==um})}(e,n)?{segmentGroup:Ig(new Om(t,function(e,t){var n,r,i={};i[um]=t;try{for(var o=l(e),s=o.next();!s.done;s=o.next()){var a=s.value;""===a.path&&Pg(a)!==um&&(i[Pg(a)]=new Om([],{}))}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i}(r,new Om(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return r.some(function(n){return Ag(e,t,n)})}(e,n)?{segmentGroup:Ig(new Om(e.segments,function(e,t,n,r){var i,s,a={};try{for(var u=l(n),c=u.next();!c.done;c=u.next()){var d=c.value;Ag(e,t,d)&&!r[Pg(d)]&&(a[Pg(d)]=new Om([],{}))}}catch(p){i={error:p}}finally{try{c&&!c.done&&(s=u.return)&&s.call(u)}finally{if(i)throw i.error}}return o({},r,a)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,a,c,r),u=s.segmentGroup,d=s.slicedSegments;return 0===d.length&&u.hasChildren()?i.expandChildren(n,r,u).pipe(Q(function(e){return new Om(a,e)})):0===r.length&&0===d.length?Ta(new Om(a,{})):i.expandSegment(n,u,r,d,um,!0).pipe(Q(function(e){return new Om(a.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var r=this;return t.children?Ta(new mm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Ta(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?X(i).pipe(Q(function(r){var i,o=e.get(r);if(function(e){return e&&_g(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!_g(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return xm(i)})).pipe(qu(),(r=function(e){return!0===e},function(e){return e.lift(new Lf(r,void 0,e))})):Ta(!0)}(e.injector,t,n).pipe(J(function(n){return n?r.configLoader.load(e.injector,t).pipe(Q(function(e){return t._loadedConfig=e,e})):function(e){return new I(function(t){return t.error(hm("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Ta(new mm([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Ta(n);if(r.numberOfChildren>1||!r.children[um])return kg(e.redirectTo);r=r.children[um]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new km(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return Cm(e,function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),s={};return Cm(t.children,function(t,o){s[o]=i.createSegmentGroup(e,t,n,r)}),new Om(o,s)},e.prototype.createSegments=function(e,t,n,r){var i=this;return t.map(function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return r},e.prototype.findOrReturn=function(e,t){var n,r,i=0;try{for(var o=l(t),s=o.next();!s.done;s=o.next()){var a=s.value;if(a.path===e.path)return t.splice(i),a;i++}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return e},e}();function Tg(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||fm)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ig(e){if(1===e.numberOfChildren&&e.children[um]){var t=e.children[um];return new Om(e.segments.concat(t.segments),t.children)}return e}function Ag(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Pg(e){return e.outlet||um}var Mg=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),Rg=function(){return function(e,t){this.component=e,this.route=t}}();function jg(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Ng(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=Km(t);return e.children.forEach(function(e){!function(e,t,n,r,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Im(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Im(e.url,t.url)||!_m(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!sg(e,t)||!_m(e.queryParams,t.queryParams);case"paramsChange":default:return!sg(e,t)}}(s,o,o.routeConfig.runGuardsAndResolvers);l?i.canActivateChecks.push(new Mg(r)):(o.data=s.data,o._resolvedData=s._resolvedData),Ng(e,t,o.component?a?a.children:null:n,r,i),l&&i.canDeactivateChecks.push(new Rg(a&&a.outlet&&a.outlet.component||null,s))}else s&&Dg(t,a,i),i.canActivateChecks.push(new Mg(r)),Ng(e,null,o.component?a?a.children:null:n,r,i)}(e,o[e.value.outlet],n,r.concat([e.value]),i),delete o[e.value.outlet]}),Cm(o,function(e,t){return Dg(e,n.getContext(t),i)}),i}function Dg(e,t,n){var r=Km(e),i=e.value;Cm(r,function(e,r){Dg(e,i.component?t?t.children.getContext(r):null:t,n)}),n.canDeactivateChecks.push(new Rg(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Lg=Symbol("INITIAL_VALUE");function zg(){return _c(function(e){return Zh.apply(void 0,c(e.map(function(e){return e.pipe(Fu(1),Wu(Lg))}))).pipe(Vf(function(e,t){var n=!1;return t.reduce(function(e,r,i){if(e!==Lg)return e;if(r===Lg&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||wg(r))return r}return e},e)},Lg),Aa(function(e){return e!==Lg}),Q(function(e){return wg(e)?e:!0===e}),Fu(1))})}function Vg(e,t){return null!==e&&t&&t(new om(e)),Ta(!0)}function Fg(e,t){return null!==e&&t&&t(new rm(e)),Ta(!0)}function Ug(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Ta(r.map(function(r){return Lu(function(){var i,o=jg(r,t,n);if(function(e){return e&&_g(e.canActivate)}(o))i=xm(o.canActivate(t,e));else{if(!_g(o))throw new Error("Invalid CanActivate guard");i=xm(o(t,e))}return i.pipe(Df())})})).pipe(zg()):Ta(!0)}function Bg(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return Lu(function(){return Ta(t.guards.map(function(i){var o,s=jg(i,t.node,n);if(function(e){return e&&_g(e.canActivateChild)}(s))o=xm(s.canActivateChild(r,e));else{if(!_g(s))throw new Error("Invalid CanActivateChild guard");o=xm(s(r,e))}return o.pipe(Df())})).pipe(zg())})});return Ta(i).pipe(zg())}var qg=function(){return function(){}}(),Hg=function(){function e(e,t,n,r,i,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=Qg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,um),n=new tg([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},um,this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Zm(n,t),i=new ng(this.url,r);return this.inheritParamsAndData(i._root),Ta(i)}catch(s){return new I(function(e){return e.error(s)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,r=eg(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})},e.prototype.processSegmentGroup=function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)},e.prototype.processChildren=function(e,t){var n,r=this,i=Am(t,function(t,n){return r.processSegmentGroup(e,t,n)});return n={},i.forEach(function(e){var t=n[e.value.outlet];if(t){var r=t.url.map(function(e){return e.toString()}).join("/"),i=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+r+"' and '"+i+"'.")}n[e.value.outlet]=e.value}),i.sort(function(e,t){return e.value.outlet===um?-1:t.value.outlet===um?1:e.value.outlet.localeCompare(t.value.outlet)}),i},e.prototype.processSegment=function(e,t,n,r){var i,o;try{for(var s=l(e),a=s.next();!a.done;a=s.next()){var u=a.value;try{return this.processSegmentAgainstRoute(u,t,n,r)}catch(c){if(!(c instanceof qg))throw c}}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}if(this.noLeftoversInUrl(t,n,r))return[];throw new qg},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,r){if(e.redirectTo)throw new qg;if((e.outlet||um)!==r)throw new qg;var i,s=[],a=[];if("**"===e.path){var l=n.length>0?Sm(n).parameters:{};i=new tg(n,l,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Kg(e),r,e.component,e,Wg(t),Gg(t)+n.length,Xg(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new qg;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||fm)(n,e,t);if(!r)throw new qg;var i={};Cm(r.posParams,function(e,t){i[t]=e.path});var s=r.consumed.length>0?o({},i,r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:s}}(t,e,n);s=u.consumedSegments,a=n.slice(u.lastChild),i=new tg(s,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Kg(e),r,e.component,e,Wg(t),Gg(t)+s.length,Xg(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),d=Qg(t,s,a,c,this.relativeLinkResolution),p=d.segmentGroup,h=d.slicedSegments;if(0===h.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new Zm(i,f)]}if(0===c.length&&0===h.length)return[new Zm(i,[])];var m=this.processSegment(c,p,h,um);return[new Zm(i,m)]},e}();function Wg(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Gg(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Qg(e,t,n,r,i){if(n.length>0&&function(e,t,n){return r.some(function(n){return Yg(e,t,n)&&Zg(n)!==um})}(e,n)){var s=new Om(t,function(e,t,n,r){var i,o,s={};s[um]=r,r._sourceSegment=e,r._segmentIndexShift=t.length;try{for(var a=l(n),u=a.next();!u.done;u=a.next()){var c=u.value;if(""===c.path&&Zg(c)!==um){var d=new Om([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,s[Zg(c)]=d}}}catch(p){i={error:p}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(i)throw i.error}}return s}(e,t,r,new Om(n,e.children)));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return r.some(function(n){return Yg(e,t,n)})}(e,n)){var a=new Om(e.segments,function(e,t,n,r,i,s){var a,u,c={};try{for(var d=l(r),p=d.next();!p.done;p=d.next()){var h=p.value;if(Yg(e,n,h)&&!i[Zg(h)]){var f=new Om([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===s?e.segments.length:t.length,c[Zg(h)]=f}}}catch(m){a={error:m}}finally{try{p&&!p.done&&(u=d.return)&&u.call(d)}finally{if(a)throw a.error}}return o({},i,c)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var u=new Om(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}function Yg(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Zg(e){return e.outlet||um}function Kg(e){return e.data||{}}function Xg(e){return e.resolve||{}}function Jg(e,t,n,r){var i=jg(e,t,r);return xm(i.resolve?i.resolve(t,n):i(t,n))}function $g(e){return function(t){return t.pipe(_c(function(t){var n=e(t);return n?X(n).pipe(Q(function(){return t})):X([t])}))}}var ev=function(){return function(){}}(),tv=function(){function e(){}return e.prototype.shouldDetach=function(e){return!1},e.prototype.store=function(e,t){},e.prototype.shouldAttach=function(e){return!1},e.prototype.retrieve=function(e){return null},e.prototype.shouldReuseRoute=function(e,t){return e.routeConfig===t.routeConfig},e}(),nv=new Ve("ROUTES"),rv=function(){function e(e,t,n,r){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=r}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Q(function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new mm(wm(i.injector.get(nv)).map(bm),i)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?X(this.loader.load(e)):xm(e()).pipe(J(function(e){return e instanceof un?Ta(e):X(t.compiler.compileModuleAsync(e))}))},e}(),iv=function(){return function(){}}(),ov=function(){function e(){}return e.prototype.shouldProcessUrl=function(e){return!0},e.prototype.extract=function(e){return e},e.prototype.merge=function(e,t){return e},e}();function sv(e){throw e}function av(e,t,n){return t.parse("/")}function lv(e,t){return Ta(null)}var uv=function(){function e(e,t,n,r,i,o,s,a){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=r,this.config=a,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new N,this.errorHandler=sv,this.malformedUriErrorHandler=av,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:lv,afterPreactivation:lv},this.urlHandlingStrategy=new ov,this.routeReuseStrategy=new tv,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(ln),this.console=i.get(Gi);var u=i.get(uo);this.isNgZoneEnabled=u instanceof uo,this.resetConfig(a),this.currentUrlTree=new km(new Om([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new rv(o,s,function(e){return l.triggerEvent(new tm(e))},function(e){return l.triggerEvent(new nm(e))}),this.routerState=Jm(this.currentUrlTree,this.rootComponentType),this.transitions=new Sf({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return e.prototype.setupNavigations=function(e){var t=this,n=this.events;return e.pipe(Aa(function(e){return 0!==e.id}),Q(function(e){return o({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),_c(function(e){var r,i,s,a=!1,u=!1;return Ta(e).pipe(Lp(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?o({},t.lastSuccessfulNavigation,{previousNavigation:null}):null}}),_c(function(e){var r,i,s,a,l=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Ta(e).pipe(_c(function(e){var r=t.transitions.getValue();return n.next(new Gf(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Nu:[e]}),_c(function(e){return Promise.resolve(e)}),(r=t.ngModule.injector,i=t.configLoader,s=t.urlSerializer,a=t.config,function(e){return e.pipe(_c(function(e){return function(t,n,r,i,o){return new Og(t,n,r,e.extractedUrl,o).apply()}(r,i,s,0,a).pipe(Q(function(t){return o({},e,{urlAfterRedirects:t})}))}))}),Lp(function(e){t.currentNavigation=o({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,n,r,i,s){return function(r){return r.pipe(J(function(r){return function(e,t,n,r,i,o){return void 0===i&&(i="emptyOnly"),void 0===o&&(o="legacy"),new Hg(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,s).pipe(Q(function(e){return o({},r,{targetSnapshot:e})}));var a}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Lp(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),Lp(function(e){var r=new Kf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)}));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,c=e.source,d=e.restoredState,p=e.extras,h=new Gf(e.id,t.serializeUrl(u),c,d);n.next(h);var f=Jm(u,t.rootComponentType).snapshot;return Ta(o({},e,{targetSnapshot:f,urlAfterRedirects:u,extras:o({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),Nu}),$g(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Lp(function(e){var n=new Xf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Q(function(e){return o({},e,{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,s=n._root,Ng(s,r?r._root:null,i,[s.value]))});var n,r,i,s}),function(e,t){return function(n){return n.pipe(J(function(n){var r=n.targetSnapshot,i=n.currentSnapshot,s=n.guards,a=s.canActivateChecks,l=s.canDeactivateChecks;return 0===l.length&&0===a.length?Ta(o({},n,{guardsResult:!0})):function(e,t,n,r){return X(l).pipe(J(function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Ta(o.map(function(o){var s,a=jg(o,t,i);if(function(e){return e&&_g(e.canDeactivate)}(a))s=xm(a.canDeactivate(e,t,n,r));else{if(!_g(a))throw new Error("Invalid CanDeactivate guard");s=xm(a(e,t,n,r))}return s.pipe(Df())})).pipe(zg()):Ta(!0)}(e.component,e.route,n,t,r)}),Df(function(e){return!0!==e},!0))}(0,r,i,e).pipe(J(function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return X(a).pipe(Ia(function(t){return X([Fg(t.route.parent,r),Vg(t.route,r),Bg(e,t.path,n),Ug(e,t.route,n)]).pipe(qu(),Df(function(e){return!0!==e},!0))}),Df(function(e){return!0!==e},!0))}(r,0,e,t):Ta(n)}),Q(function(e){return o({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Lp(function(e){if(wg(e.guardsResult)){var n=hm('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),Lp(function(e){var n=new Jf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),Aa(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Yf(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0}),$g(function(e){if(e.guards.canActivateChecks.length)return Ta(e).pipe(Lp(function(e){var n=new $f(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(J(function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?X(i).pipe(Ia(function(e){return function(e,n,r,i){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Ta({});if(1===i.length){var o=i[0];return Jg(e[o],t,n,r).pipe(Q(function(e){var t;return(t={})[o]=e,t}))}var s={};return X(i).pipe(J(function(i){return Jg(e[i],t,n,r).pipe(Q(function(e){return s[i]=e,e}))})).pipe(Nf(),Q(function(){return s}))}(e._resolve,e,t,i).pipe(Q(function(t){return e._resolvedData=t,e.data=o({},e.data,eg(e,r).resolve),null}))}(e.route,0,n,r)}),function(e,t){return arguments.length>=2?function(t){return O(Vf(e,void 0),Ef(1),Mf(void 0))(t)}:function(t){return O(Vf(function(t,n,r){return e(t)}),Ef(1))(t)}}(function(e,t){return e}),Q(function(t){return e})):Ta(e)}))}),Lp(function(e){var n=new em(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,r}),$g(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Q(function(e){var n,r,i,s=(i=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){(u=r.value)._futureSnapshot=n.value;var i=function(t,n,r){return n.children.map(function(n){var i,o;try{for(var s=l(r.children),a=s.next();!a.done;a=s.next()){var u=a.value;if(t.shouldReuseRoute(u.value.snapshot,n.value))return e(t,n,u)}}catch(c){i={error:c}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}return e(t,n)})}(t,n,r);return new Zm(u,i)}var o=t.retrieve(n.value);if(o){var s=o.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,s),s}var a,u=new $m(new Sf((a=n.value).url),new Sf(a.params),new Sf(a.queryParams),new Sf(a.fragment),new Sf(a.data),a.outlet,a.component,a);return i=n.children.map(function(n){return e(t,n)}),new Zm(u,i)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(r=e.currentRouterState)?r._root:void 0),new Xm(i,n));return o({},e,{targetRouterState:s})}),Lp(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(r=t.rootContexts,i=t.routeReuseStrategy,s=function(e){return t.triggerEvent(e)},Q(function(e){return new yg(i,e.targetRouterState,e.currentRouterState,s).activate(r),e})),Lp({next:function(){a=!0},complete:function(){a=!0}}),Bf(function(){if(!a&&!u){t.resetUrlToCurrentUrlTree();var r=new Yf(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(r),e.resolve(!1)}t.currentNavigation=null}),ru(function(r){if(u=!0,(a=r)&&a[pm]){var i=wg(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new Yf(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),e.resolve(!1),i&&t.navigateByUrl(r.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var s=new Zf(e.id,t.serializeUrl(e.extractedUrl),r);n.next(s);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var a;return Nu}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e},e.prototype.setTransition=function(e){this.transitions.next(o({},this.getTransition(),e))},e.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},e.prototype.setUpLocationChangeListener=function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout(function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})},0)}))},Object.defineProperty(e.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),e.prototype.getCurrentNavigation=function(){return this.currentNavigation},e.prototype.triggerEvent=function(e){this.events.next(e)},e.prototype.resetConfig=function(e){gm(e),this.config=e.map(bm),this.navigated=!1,this.lastSuccessfulId=-1},e.prototype.ngOnDestroy=function(){this.dispose()},e.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},e.prototype.createUrlTree=function(e,t){void 0===t&&(t={});var n=t.relativeTo,r=t.queryParams,i=t.fragment,s=t.preserveQueryParams,a=t.queryParamsHandling,l=t.preserveFragment;ft()&&s&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,d=l?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=s?this.currentUrlTree.queryParams:r||null;return null!==p&&(p=this.removeEmptyProps(p)),function(e,t,n,r,i){if(0===n.length)return lg(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ug(!0,0,e);var t=0,n=!1,r=e.reduce(function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return Cm(r.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),c(e,[{outlets:o}])}if(r.segmentPath)return c(e,[r.segmentPath])}return"string"!=typeof r?c(e,[r]):0===i?(r.split("/").forEach(function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))}),e):c(e,[r])},[]);return new ug(n,t,r)}(n);if(o.toRoot())return lg(t.root,new Om([],{}),t,r,i);var s=function(e,n,r){if(e.isAbsolute)return new cg(t.root,!0,0);if(-1===r.snapshot._lastPathIndex)return new cg(r.snapshot._urlSegment,!0,0);var i=ag(e.commands[0])?0:1;return function(t,n,o){for(var s=r.snapshot._urlSegment,a=r.snapshot._lastPathIndex+i,l=e.numberOfDoubleDots;l>a;){if(l-=a,!(s=s.parent))throw new Error("Invalid number of '../'");a=s.segments.length}return new cg(s,!1,a-l)}()}(o,0,e),a=s.processChildren?hg(s.segmentGroup,s.index,o.commands):pg(s.segmentGroup,s.index,o.commands);return lg(s.segmentGroup,a,t,r,i)}(u,this.currentUrlTree,e,p,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),ft()&&this.isNgZoneEnabled&&!uo.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=wg(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)},e.prototype.navigate=function(e,t){return void 0===t&&(t={skipLocationChange:!1}),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+t)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)},e.prototype.serializeUrl=function(e){return this.urlSerializer.serialize(e)},e.prototype.parseUrl=function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t},e.prototype.isActive=function(e,t){if(wg(e))return Em(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Em(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return null!=r&&(t[n]=r),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Qf(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})},e.prototype.scheduleNavigation=function(e,t,n,r){var i=this.getTransition();if(i&&"imperative"!==t&&"imperative"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"hashchange"==t&&"popstate"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(i&&"popstate"==t&&"hashchange"===i.source&&i.rawUrl.toString()===e.toString())return Promise.resolve(!0);var o=null,s=null,a=new Promise(function(e,t){o=e,s=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:s,promise:a,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),a.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",o({},r,{navigationId:n})):this.location.go(i,"",o({},r,{navigationId:n}))},e.prototype.resetStateAndUrl=function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},e.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},e}(),cv=function(){function e(e,t,n){var r=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof Qf&&r.updateTargetUrlAndHref()})}return Object.defineProperty(e.prototype,"routerLink",{set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"preserveQueryParams",{set:function(e){ft()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){this.updateTargetUrlAndHref()},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.onClick=function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:dv(this.skipLocationChange),replaceUrl:dv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},e.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(e.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:dv(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:dv(this.preserveFragment)})},enumerable:!0,configurable:!0}),s([Li("attr.target"),Di(),a("design:type",String)],e.prototype,"target",void 0),e}();function dv(e){return""===e||!!e}var pv=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new hv,this.attachRef=null}}(),hv=function(){function e(){this.contexts=new Map}return e.prototype.onChildOutletCreated=function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)},e.prototype.onChildOutletDestroyed=function(e){var t=this.getContext(e);t&&(t.outlet=null)},e.prototype.onOutletDeactivated=function(){var e=this.contexts;return this.contexts=new Map,e},e.prototype.onOutletReAttached=function(e){this.contexts=e},e.prototype.getOrCreateContext=function(e){var t=this.getContext(e);return t||(t=new pv,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),fv=function(){function e(e,t,n,r,i){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new Ri,this.deactivateEvents=new Ri,this.name=r||um,e.onChildOutletCreated(this.name,this)}return e.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},e.prototype.ngOnInit=function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}},Object.defineProperty(e.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),e.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e},e.prototype.attach=function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)},e.prototype.deactivate=function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}},e.prototype.activateWith=function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new mv(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),mv=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===$m?this.route:e===hv?this.childContexts:this.parent.get(e,t)},e}(),gv=function(){return function(){}}(),vv=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(ru(function(){return Ta(null)}))},e}(),yv=function(){function e(){}return e.prototype.preload=function(e,t){return Ta(null)},e}(),bv=function(){function e(e,t,n,r,i){this.router=e,this.injector=r,this.preloadingStrategy=i,this.loader=new rv(t,n,function(t){return e.triggerEvent(new tm(t))},function(t){return e.triggerEvent(new nm(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(Aa(function(e){return e instanceof Qf}),Ia(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(ln);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,r,i=[];try{for(var o=l(t),s=o.next();!s.done;s=o.next()){var a=s.value;if(a.loadChildren&&!a.canLoad&&a._loadedConfig){var u=a._loadedConfig;i.push(this.processRoutes(u.module,u.routes))}else a.loadChildren&&!a.canLoad?i.push(this.preloadConfig(e,a)):a.children&&i.push(this.processRoutes(e,a.children))}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return X(i).pipe(re(),Q(function(e){}))},e.prototype.preloadConfig=function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return n.loader.load(e.injector,t).pipe(J(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),_v=function(){function e(e,t,n){void 0===n&&(n={}),this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}return e.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},e.prototype.createScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof Gf?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Qf&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})},e.prototype.consumeScrollEvents=function(){var e=this;return this.router.events.subscribe(function(t){t instanceof am&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})},e.prototype.scheduleScrollEvent=function(e,t){this.router.triggerEvent(new am(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))},e.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},e}(),wv=new Ve("ROUTER_CONFIGURATION"),Sv=new Ve("ROUTER_FORROOT_GUARD"),Cv=[La,{provide:Pm,useClass:Mm},{provide:uv,useFactory:Av,deps:[Oo,Pm,hv,La,He,Ni,eo,nv,wv,[iv,new _e],[ev,new _e]]},hv,{provide:$m,useFactory:Pv,deps:[uv]},{provide:Ni,useClass:Po},bv,yv,vv,{provide:wv,useValue:{enableTracing:!1}}];function xv(){return new So("Router",uv)}var Ev=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[Cv,Iv(e),{provide:Sv,useFactory:Tv,deps:[[uv,new _e,new Se]]},{provide:wv,useValue:n||{}},{provide:Na,useFactory:Ov,deps:[Ra,[new be(Da),new _e],wv]},{provide:_v,useFactory:kv,deps:[uv,wl,wv]},{provide:gv,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:yv},{provide:So,multi:!0,useFactory:xv},[Mv,{provide:zi,multi:!0,useFactory:Rv,deps:[Mv]},{provide:Nv,useFactory:jv,deps:[Mv]},{provide:Wi,multi:!0,useExisting:Nv}]]}},e.forChild=function(e){return{ngModule:t,providers:[Iv(e)]}},e}();function kv(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new _v(e,t,n)}function Ov(e,t,n){return void 0===n&&(n={}),n.useHash?new Va(e,t):new Fa(e,t)}function Tv(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Iv(e){return[{provide:ot,multi:!0,useValue:e},{provide:nv,multi:!0,useValue:e}]}function Av(e,t,n,r,i,o,s,a,l,u,c){void 0===l&&(l={});var d=new uv(null,t,n,r,i,o,s,wm(a));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=Id();d.events.subscribe(function(e){p.logGroup("Router Event: "+e.constructor.name),p.log(e.toString()),p.log(e),p.logGroupEnd()})}return l.onSameUrlNavigation&&(d.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(d.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(d.relativeLinkResolution=l.relativeLinkResolution),d}function Pv(e){return e.routerState.root}var Mv=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new N}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(ja,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),r=e.injector.get(uv),i=e.injector.get(wv);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");r.hooks.afterPreactivation=function(){return e.initNavigation?Ta(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(wv),n=this.injector.get(bv),r=this.injector.get(_v),i=this.injector.get(uv),o=this.injector.get(Oo);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},e.prototype.isLegacyEnabled=function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation},e.prototype.isLegacyDisabled=function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation},e}();function Rv(e){return e.appInitializer.bind(e)}function jv(e){return e.bootstrapListener.bind(e)}var Nv=new Ve("Router Initializer"),Dv=rr({encapsulation:2,styles:[],data:{}});function Lv(e){return cs(0,[(e()(),Qo(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),mi(1,212992,null,0,fv,[hv,zn,on,[8,null],Pn],null,null)],function(e,t){e(t,1,0)},null)}function zv(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"ng-component",[],null,null,null,Lv,Dv)),mi(1,49152,null,0,lm,[],null,null)],null,null)}var Vv=Wr("ng-component",lm,zv,{},{},[]),Fv=function(e){function t(t,n,r){var i=e.call(this,t)||this;return i._platform=n,i._document=r,i}return i(t,e),t.prototype.ngAfterViewInit=function(){var e=this;ft()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))},t.prototype._checkToolbarMixedModes=function(){var e=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(e){return!(e.classList&&e.classList.contains("mat-toolbar-row"))}).filter(function(t){return t.nodeType!==(e._document?e._document.COMMENT_NODE:8)}).some(function(e){return!(!e.textContent||!e.textContent.trim())})&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()},t}(hh(function(){return function(e){this._elementRef=e}}())),Uv=function(){return function(){}}(),Bv=rr({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function qv(e){return cs(2,[rs(null,0),rs(null,1)],null,null)}var Hv=function(){return function(){}}(),Wv=function(){return function(){}}(),Gv=function(){return function(){this.align="start"}}(),Qv=function(){return function(){}}(),Yv=function(){return function(){}}(),Zv=rr({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{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 Kv(e){return cs(2,[rs(null,0),rs(null,1)],null,null)}function Xv(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(1===e.length){var n=e[0];if(d(n))return Jv(n,null);if(p(n)&&Object.getPrototypeOf(n)===Object.prototype){var r=Object.keys(n);return Jv(r.map(function(e){return n[e]}),r)}}if("function"==typeof e[e.length-1]){var i=e.pop();return Jv(e=1===e.length&&d(e[0])?e[0]:e,null).pipe(Q(function(e){return i.apply(void 0,e)}))}return Jv(e,null)}function Jv(e,t){return new I(function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,s=0,a=function(a){var l=X(e[a]),u=!1;n.add(l.subscribe({next:function(e){u||(u=!0,s++),i[a]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&u||(s===r&&n.next(t?t.reduce(function(e,t,n){return e[t]=i[n],e},{}):i),n.complete())}}))},l=0;l<r;l++)a(l);else n.complete()})}var $v=new Ve("NgValueAccessor"),ey=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),ty=new Ve("CompositionEventMode"),ny=function(){function e(e,t,n){var r;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Id()?Id().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this.onChange(e)},e}(),ry=function(){function e(){}return Object.defineProperty(e.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e.prototype.reset=function(e){void 0===e&&(e=void 0),this.control&&this.control.reset(e)},e.prototype.hasError=function(e,t){return!!this.control&&this.control.hasError(e,t)},e.prototype.getError=function(e,t){return this.control?this.control.getError(e,t):null},e}(),iy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),Object.defineProperty(t.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t}(ry);function oy(){throw new Error("unimplemented")}var sy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return i(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return oy()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return oy()},enumerable:!0,configurable:!0}),t}(ry),ay=function(){function e(e){this._cd=e}return Object.defineProperty(e.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),e}(),ly=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(ay),uy=function(e){function t(t){return e.call(this,t)||this}return i(t,e),t}(ay);function cy(e){return null==e||0===e.length}var dy=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,py=function(){function e(){}return e.min=function(e){return function(t){if(cy(t.value)||cy(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}},e.max=function(e){return function(t){if(cy(t.value)||cy(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}},e.required=function(e){return cy(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return cy(e.value)?null:dy.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if(cy(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}},e.maxLength=function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}},e.pattern=function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(cy(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(hy);return 0==t.length?null:function(e){return my(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(hy);return 0==t.length?null:function(e){return Xv(function(e,n){return t.map(function(t){return t(e)})}(e).map(fy)).pipe(Q(my))}},e}();function hy(e){return null!=e}function fy(e){var t=Bt(e)?X(e):e;if(!qt(t))throw new Error("Expected validator to return Promise or Observable.");return t}function my(e){var t=e.reduce(function(e,t){return null!=t?o({},e,t):e},{});return 0===Object.keys(t).length?null:t}function gy(e){return e.validate?function(t){return e.validate(t)}:e}function vy(e){return e.validate?function(t){return e.validate(t)}:e}var yy=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),by=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push([e,t])},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach(function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)})},e.prototype._isSameGroup=function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name},e}(),_y=function(){function e(e,t,n,r){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(sy),this._checkName(),this._registry.add(this._control,this)},e.prototype.ngOnDestroy=function(){this._registry.remove(this)},e.prototype.writeValue=function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},e.prototype.registerOnChange=function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.fireUncheck=function(e){this.writeValue(e)},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},e.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},e}(),wy=function(){function e(e,t){this._renderer=e,this._elementRef=t,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.writeValue=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))},e.prototype.registerOnChange=function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e}(),Sy='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',Cy='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',xy='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',Ey=function(){function e(){}return e.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 "+Sy)},e.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 '+Cy+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+xy)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Sy)},e.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 "+Cy)},e.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},e.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 ")},e.ngModelWarning=function(e){console.warn("\n It looks like you're using ngModel on the same form field as "+e+". \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"===e?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},e}();function ky(e,t){return c(t.path,[e])}function Oy(e,t){e||Py(t,"Cannot find control with"),t.valueAccessor||Py(t,"No value accessor for form control with"),e.validator=py.compose([e.validator,t.validator]),e.asyncValidator=py.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Ty(e,t)})}(e,t),function(e,t){e.registerOnChange(function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Ty(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(function(e){t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})}),t._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(function(){return e.updateValueAndValidity()})})}function Ty(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Iy(e,t){null==e&&Py(t,"Cannot find control with"),e.validator=py.compose([e.validator,t.validator]),e.asyncValidator=py.composeAsync([e.asyncValidator,t.asyncValidator])}function Ay(e){return Py(e,"There is no FormControl instance attached to form control element with")}function Py(e,t){var n;throw n=e.path.length>1?"path: '"+e.path.join(" -> ")+"'":e.path[0]?"name: '"+e.path+"'":"unspecified name attribute",new Error(t+" "+n)}function My(e){return null!=e?py.compose(e.map(gy)):null}function Ry(e){return null!=e?py.composeAsync(e.map(vy)):null}function jy(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Gt(t,n.currentValue)}var Ny=[ey,wy,yy,function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Gt}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),(e+": "+t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(){return(this._idCounter++).toString()},e.prototype._getOptionId=function(e){var t,n;try{for(var r=l(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e},e}(),function(){function e(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Gt}return Object.defineProperty(e.prototype,"compareWith",{set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)},e.prototype.registerOnChange=function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var s=i.item(o),a=t._getOptionValue(s.value);r.push(a)}else for(i=n.options,o=0;o<i.length;o++)(s=i.item(o)).selected&&(a=t._getOptionValue(s.value),r.push(a));t.value=r,e(r)}},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._registerOption=function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t},e.prototype._getOptionId=function(e){var t,n;try{for(var r=l(Array.from(this._optionMap.keys())),i=r.next();!i.done;i=r.next()){var o=i.value;if(this._compareWith(this._optionMap.get(o)._value,e))return o}}catch(s){t={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return null},e.prototype._getOptionValue=function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e},e}(),_y];function Dy(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function Ly(e,t){if(!t)return null;Array.isArray(t)||Py(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach(function(t){var o;t.constructor===ny?n=t:(o=t,Ny.some(function(e){return o.constructor===e})?(r&&Py(e,"More than one built-in value accessor matches form control with"),r=t):(i&&Py(e,"More than one custom value accessor matches form control with"),i=t))}),i||r||n||(Py(e,"No valid value accessor for form control with"),null)}function zy(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Vy(e,t,n,r){ft()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||n._ngModelWarningSent)||(Ey.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function Fy(e){var t=By(e)?e.validators:e;return Array.isArray(t)?My(t):t||null}function Uy(e,t){var n=By(t)?t.asyncValidators:e;return Array.isArray(n)?Ry(n):n||null}function By(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var qy=function(){function e(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),e.prototype.setValidators=function(e){this.validator=Fy(e)},e.prototype.setAsyncValidators=function(e){this.asyncValidator=Uy(e)},e.prototype.clearValidators=function(){this.validator=null},e.prototype.clearAsyncValidators=function(){this.asyncValidator=null},e.prototype.markAsTouched=function(e){void 0===e&&(e={}),this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)},e.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})},e.prototype.markAsUntouched=function(e){void 0===e&&(e={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype.markAsDirty=function(e){void 0===e&&(e={}),this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)},e.prototype.markAsPristine=function(e){void 0===e&&(e={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype.markAsPending=function(e){void 0===e&&(e={}),this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)},e.prototype.disable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(function(t){t.disable(o({},e,{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(o({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={});var t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(function(t){t.enable(o({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(o({},e,{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},e.prototype.setParent=function(e){this._parent=e},e.prototype.updateValueAndValidity=function(e){void 0===e&&(e={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)},e.prototype._updateTreeValidity=function(e){void 0===e&&(e={emitEvent:!0}),this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})},e.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},e.prototype._runValidator=function(){return this.validator?this.validator(this):null},e.prototype._runAsyncValidator=function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=fy(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return t.setErrors(n,{emitEvent:e})})}},e.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},e.prototype.setErrors=function(e,t){void 0===t&&(t={}),this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)},e.prototype.get=function(e){return function(e,t,n){return null==t?null:(t instanceof Array||(t=t.split(".")),t instanceof Array&&0===t.length?null:t.reduce(function(e,t){return e instanceof Wy?e.controls.hasOwnProperty(t)?e.controls[t]:null:e instanceof Gy&&e.at(t)||null},e))}(this,e)},e.prototype.getError=function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null},e.prototype.hasError=function(e,t){return!!this.getError(e,t)},Object.defineProperty(e.prototype,"root",{get:function(){for(var e=this;e._parent;)e=e._parent;return e},enumerable:!0,configurable:!0}),e.prototype._updateControlsErrors=function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)},e.prototype._initObservables=function(){this.valueChanges=new Ri,this.statusChanges=new Ri},e.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},e.prototype._anyControlsHaveStatus=function(e){return this._anyControls(function(t){return t.status===e})},e.prototype._anyControlsDirty=function(){return this._anyControls(function(e){return e.dirty})},e.prototype._anyControlsTouched=function(){return this._anyControls(function(e){return e.touched})},e.prototype._updatePristine=function(e){void 0===e&&(e={}),this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)},e.prototype._updateTouched=function(e){void 0===e&&(e={}),this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)},e.prototype._isBoxedValue=function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e},e.prototype._registerOnCollectionChange=function(e){this._onCollectionChange=e},e.prototype._setUpdateStrategy=function(e){By(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)},e.prototype._parentMarkedDirty=function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},e}(),Hy=function(e){function t(t,n,r){void 0===t&&(t=null);var i=e.call(this,Fy(n),Uy(r,n))||this;return i._onChange=[],i._applyFormState(t),i._setUpdateStrategy(n),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return i(t,e),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(function(e){return e(n.value,!1!==t.emitViewToModelChange)}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){void 0===t&&(t={}),this.setValue(e,t)},t.prototype.reset=function(e,t){void 0===e&&(e=null),void 0===t&&(t={}),this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1},t.prototype._updateValue=function(){},t.prototype._anyControls=function(e){return!1},t.prototype._allControlsDisabled=function(){return this.disabled},t.prototype.registerOnChange=function(e){this._onChange.push(e)},t.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},t.prototype.registerOnDisabledChange=function(e){this._onDisabledChange.push(e)},t.prototype._forEachChild=function(e){},t.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))},t.prototype._applyFormState=function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e},t}(qy),Wy=function(e){function t(t,n,r){var i=e.call(this,Fy(n),Uy(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(t,e),t.prototype.registerControl=function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)},t.prototype.addControl=function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.removeControl=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.contains=function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled},t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),Object.keys(e).forEach(function(r){n._throwIfControlMissing(r),n.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),Object.keys(e).forEach(function(r){n.controls[r]&&n.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof Hy?t.value:t.getRawValue(),e})},t.prototype._syncPendingControls=function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){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[e])throw new Error("Cannot find form control with name: "+e+".")},t.prototype._forEachChild=function(e){var t=this;Object.keys(this.controls).forEach(function(n){return e(t.controls[n],n)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})},t.prototype._updateValue=function(){this.value=this._reduceValue()},t.prototype._anyControls=function(e){var t=this,n=!1;return this._forEachChild(function(r,i){n=n||t.contains(i)&&e(r)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,r){n=t(n,e,r)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=l(Object.keys(this.controls)),r=n.next();!r.done;r=n.next())if(this.controls[r.value].enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return Object.keys(this.controls).length>0||this.disabled},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},t}(qy),Gy=function(e){function t(t,n,r){var i=e.call(this,Fy(n),Uy(r,n))||this;return i.controls=t,i._initObservables(),i._setUpdateStrategy(n),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return i(t,e),t.prototype.at=function(e){return this.controls[e]},t.prototype.push=function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()},t.prototype.insert=function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()},t.prototype.removeAt=function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()},t.prototype.setControl=function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(t.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),t.prototype.setValue=function(e,t){var n=this;void 0===t&&(t={}),this._checkAllValuesPresent(e),e.forEach(function(e,r){n._throwIfControlMissing(r),n.at(r).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.patchValue=function(e,t){var n=this;void 0===t&&(t={}),e.forEach(function(e,r){n.at(r)&&n.at(r).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)},t.prototype.reset=function(e,t){void 0===e&&(e=[]),void 0===t&&(t={}),this._forEachChild(function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Hy?e.value:e.getRawValue()})},t.prototype.clear=function(){this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())},t.prototype._syncPendingControls=function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e},t.prototype._throwIfControlMissing=function(e){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(e))throw new Error("Cannot find form control at index "+e)},t.prototype._forEachChild=function(e){this.controls.forEach(function(t,n){e(t,n)})},t.prototype._updateValue=function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})},t.prototype._anyControls=function(e){return this.controls.some(function(t){return t.enabled&&e(t)})},t.prototype._setUpControls=function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})},t.prototype._checkAllValuesPresent=function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: "+n+".")})},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=l(this.controls),r=n.next();!r.done;r=n.next())if(r.value.enabled)return!1}catch(i){e={error:i}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return this.controls.length>0||this.disabled},t.prototype._registerControl=function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)},t}(qy),Qy=function(){return Promise.resolve(null)}(),Yy=function(e){function t(t,n){var r=e.call(this)||this;return r.submitted=!1,r._directives=[],r.ngSubmit=new Ri,r.form=new Wy({},My(t),Ry(n)),r}return i(t,e),t.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this;Qy.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),Oy(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){var t=this;Qy.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),zy(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;Qy.then(function(){var n=t._findContainer(e.path),r=new Wy({});Iy(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})},t.prototype.removeFormGroup=function(e){var t=this;Qy.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){var n=this;Qy.then(function(){n.form.get(e.path).setValue(t)})},t.prototype.setValue=function(e){this.control.setValue(e)},t.prototype.onSubmit=function(e){return this.submitted=!0,Dy(this.form,this._directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},t.prototype._findContainer=function(e){return e.pop(),e.length?this.form.get(e):this.form},t}(iy),Zy=function(){function e(){}return e.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 '+Sy+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},e.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 "+Cy+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+xy)},e.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},e.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 "+Cy+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+xy)},e.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},e}(),Ky=new Ve("NgFormSelectorWarning"),Xy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return ky(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return My(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ry(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(iy),Jy=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}var n;return i(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Yy||Zy.modelGroupParentException()},t}(Xy),$y=function(){return Promise.resolve(null)}(),eb=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o.control=new Hy,o._registered=!1,o.update=new Ri,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=r||[],o.valueAccessor=Ly(o,i),o}return i(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),jy(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(t.prototype,"path",{get:function(){return this._parent?ky(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return My(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ry(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},t.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},t.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},t.prototype._setUpStandalone=function(){Oy(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},t.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},t.prototype._checkParentType=function(){!(this._parent instanceof Jy)&&this._parent instanceof Xy?Zy.formGroupNameException():this._parent instanceof Jy||this._parent instanceof Yy||Zy.modelParentException()},t.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Zy.missingNameException()},t.prototype._updateValue=function(e){var t=this;$y.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;$y.then(function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()})},t}(sy),tb=function(){return function(){}}(),nb=new Ve("NgModelWithFormControlWarning"),rb=function(e){function t(t,n,r,i){var o=e.call(this)||this;return o._ngModelWarningConfig=i,o.update=new Ri,o._ngModelWarningSent=!1,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=Ly(o,r),o}var n;return i(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Ey.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(Oy(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),jy(e,this.viewModel)&&(Vy("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return My(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ry(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},t.prototype._isControlChanged=function(e){return e.hasOwnProperty("form")},t._ngModelWarningSentOnce=!1,t}(sy),ib=function(e){function t(t,n){var r=e.call(this)||this;return r._validators=t,r._asyncValidators=n,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Ri,r}return i(t,e),t.prototype.ngOnChanges=function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(t.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),t.prototype.addControl=function(e){var t=this.form.get(e.path);return Oy(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t},t.prototype.getControl=function(e){return this.form.get(e.path)},t.prototype.removeControl=function(e){zy(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);Iy(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormGroup=function(e){},t.prototype.getFormGroup=function(e){return this.form.get(e.path)},t.prototype.addFormArray=function(e){var t=this.form.get(e.path);Iy(t,e),t.updateValueAndValidity({emitEvent:!1})},t.prototype.removeFormArray=function(e){},t.prototype.getFormArray=function(e){return this.form.get(e.path)},t.prototype.updateModel=function(e,t){this.form.get(e.path).setValue(t)},t.prototype.onSubmit=function(e){return this.submitted=!0,Dy(this.form,this.directives),this.ngSubmit.emit(e),!1},t.prototype.onReset=function(){this.resetForm()},t.prototype.resetForm=function(e){void 0===e&&(e=void 0),this.form.reset(e),this.submitted=!1},t.prototype._updateDomValue=function(){var e=this;this.directives.forEach(function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange(function(){return Ay(t)}),t.valueAccessor.registerOnTouched(function(){return Ay(t)}),t._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),t._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)}),e&&e._clearChangeFns()}(t.control,t),n&&Oy(n,t),t.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},t.prototype._updateRegistrations=function(){var e=this;this.form._registerOnCollectionChange(function(){return e._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},t.prototype._updateValidators=function(){var e=My(this._validators);this.form.validator=py.compose([this.form.validator,e]);var t=Ry(this._asyncValidators);this.form.asyncValidator=py.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||Ey.missingFormException()},t}(iy),ob=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}return i(t,e),t.prototype._checkParentType=function(){ab(this._parent)&&Ey.groupParentException()},t}(Xy),sb=function(e){function t(t,n,r){var i=e.call(this)||this;return i._parent=t,i._validators=n,i._asyncValidators=r,i}return i(t,e),t.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(t.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return ky(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return My(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ry(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){ab(this._parent)&&Ey.arrayParentException()},t}(iy);function ab(e){return!(e instanceof ob||e instanceof ib||e instanceof sb)}var lb=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s._ngModelWarningConfig=o,s._added=!1,s.update=new Ri,s._ngModelWarningSent=!1,s._parent=t,s._rawValidators=n||[],s._rawAsyncValidators=r||[],s.valueAccessor=Ly(s,i),s}var n;return i(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){Ey.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),jy(e,this.viewModel)&&(Vy("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},t.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},t.prototype.viewToModelUpdate=function(e){this.viewModel=e,this.update.emit(e)},Object.defineProperty(t.prototype,"path",{get:function(){return ky(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return My(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ry(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof ob)&&this._parent instanceof Xy?Ey.ngModelGroupException():this._parent instanceof ob||this._parent instanceof ib||this._parent instanceof sb||Ey.controlParentException()},t.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},t._ngModelWarningSentOnce=!1,t}(sy),ub=function(){return function(){}}(),cb=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new Wy(n,{asyncValidators:i,updateOn:o,validators:r})},e.prototype.control=function(e,t,n){return new Hy(e,t,n)},e.prototype.array=function(e,t,n){var r=this,i=e.map(function(e){return r._createControl(e)});return new Gy(i,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(r){n[r]=t._createControl(e[r])}),n},e.prototype._createControl=function(e){return e instanceof Hy||e instanceof Wy||e instanceof Gy?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)},e}(),db=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Ky,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),pb=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:nb,useValue:e.warnOnNgModelWithFormControl}]}},e}(),hb=0,fb=function(){return function(){this.id="mat-error-"+hb++}}(),mb=function(){return function(){}}();function gb(e){return Error("A hint was already declared for 'align=\""+e+"\"'.")}var vb=function(){return function(){}}(),yb=0,bb=hh(function(){return function(e){this._elementRef=e}}(),"primary"),_b=new Ve("MAT_FORM_FIELD_DEFAULT_OPTIONS"),wb=function(e){function t(t,n,r,i,o,s,a,l){var u=e.call(this,t)||this;return u._elementRef=t,u._changeDetectorRef=n,u._dir=i,u._defaults=o,u._platform=s,u._ngZone=a,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new N,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+yb++,u._labelId="mat-form-field-label-"+yb++,u._labelOptions=r||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return i(t,e),Object.defineProperty(t.prototype,"appearance",{get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),t.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},t.prototype.ngAfterContentInit=function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Wu(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(vc(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.asObservable().pipe(vc(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),oe(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Wu(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Wu(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(vc(this._destroyed)).subscribe(function(){return e.updateOutlineGap()})},t.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},t.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},t.prototype._shouldForward=function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]},t.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},t.prototype._hasLabel=function(){return!!this._labelChild},t.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},t.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},t.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},t.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},t.prototype._animateAndLockLabel=function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,ec(this._label.nativeElement,"transitionend").pipe(Fu(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},t.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},t.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},t.prototype._validateHints=function(){var e,t,n=this;this._hintChildren&&this._hintChildren.forEach(function(r){if("start"===r.align){if(e||n.hintLabel)throw gb("start");e=r}else if("end"===r.align){if(t)throw gb("end");t=r}})},t.prototype._syncDescribedByIds=function(){if(this._control){var e=[];if("hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&(e=this._errorChildren.map(function(e){return e.id}));this._control.setDescribedByIds(e)}},t.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},t.prototype.updateOutlineGap=function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var t=0,n=0,r=this._connectionContainerRef.nativeElement,i=r.querySelectorAll(".mat-form-field-outline-start"),o=r.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var s=r.getBoundingClientRect();if(0===s.width&&0===s.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var a=this._getStartEnd(s),l=this._getStartEnd(e.children[0].getBoundingClientRect()),u=0,c=0,d=e.children;c<d.length;c++)u+=d[c].offsetWidth;t=l-a-5,n=u>0?.75*u+10:0}for(var p=0;p<i.length;p++)i.item(p).style.width=t+"px";for(p=0;p<o.length;p++)o.item(p).style.width=n+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},t.prototype._getStartEnd=function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left},t}(bb),Sb=function(){return function(){}}();function Cb(){return"undefined"!=typeof process}function xb(e){switch(e.length){case 0:return new wu;case 1:return e[0];default:return new Su(e)}}function Eb(e,t,n,r,i,o){void 0===i&&(i={}),void 0===o&&(o={});var s=[],a=[],l=-1,u=null;if(r.forEach(function(e){var n=e.offset,r=n==l,c=r&&u||{};Object.keys(e).forEach(function(n){var r=n,a=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),a){case Cu:a=i[n];break;case vu:a=o[n];break;default:a=t.normalizeStyleValue(n,r,a,s)}c[r]=a}),r||a.push(c),u=c,l=n}),s.length)throw new Error("Unable to animate due to the following errors:\n - "+s.join("\n - "));return a}function kb(e,t,n,r){switch(t){case"start":e.onStart(function(){return r(n&&Ob(n,"start",e))});break;case"done":e.onDone(function(){return r(n&&Ob(n,"done",e))});break;case"destroy":e.onDestroy(function(){return r(n&&Ob(n,"destroy",e))})}}function Ob(e,t,n){var r=n.totalTime,i=Tb(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function Tb(e,t,n,r,i,o,s){return void 0===i&&(i=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!s}}function Ib(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function Ab(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Pb=function(e,t){return!1},Mb=function(e,t){return!1},Rb=function(e,t,n){return[]},jb=Cb();(jb||"undefined"!=typeof Element)&&(Pb=function(e,t){return e.contains(t)},Mb=function(){if(jb||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:Mb}(),Rb=function(e,t,n){var r=[];if(n)r.push.apply(r,c(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var Nb=null,Db=!1;function Lb(e){Nb||(Nb=("undefined"!=typeof document?document.body:null)||{},Db=!!Nb.style&&"WebkitAppearance"in Nb.style);var t=!0;return Nb.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Nb.style)&&Db&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Nb.style),t}var zb=Mb,Vb=Pb,Fb=Rb;function Ub(e){var t={};return Object.keys(e).forEach(function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]}),t}var Bb=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return Lb(e)},e.prototype.matchesElement=function(e,t){return zb(e,t)},e.prototype.containsElement=function(e,t){return Vb(e,t)},e.prototype.query=function(e,t,n){return Fb(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,r,i,o,s){return void 0===o&&(o=[]),new wu(n,r)},e}(),qb=function(){function e(){}return e.NOOP=new Bb,e}(),Hb=1e3;function Wb(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Gb(parseFloat(t[1]),t[2])}function Gb(e,t){switch(t){case"s":return e*Hb;default:return e}}function Qb(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var s=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===s)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};r=Gb(parseFloat(s[1]),s[2]);var a=s[3];null!=a&&(i=Gb(parseFloat(a),s[4]));var l=s[5];l&&(o=l)}else r=e;if(!n){var u=!1,c=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(c,0,'The provided timing value "'+e+'" is invalid.')}return{duration:r,delay:i,easing:o}}(e,t,n)}function Yb(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Zb(e,t,n){if(void 0===n&&(n={}),t)for(var r in e)n[r]=e[r];else Yb(e,n);return n}function Kb(e,t,n){return n?t+":"+n+";":""}function Xb(e){for(var t="",n=0;n<e.style.length;n++)t+=Kb(0,r=e.style.item(n),e.style.getPropertyValue(r));for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=Kb(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function Jb(e,t,n){e.style&&(Object.keys(t).forEach(function(r){var i=s_(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]}),Cb()&&Xb(e))}function $b(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=s_(t);e.style[n]=""}),Cb()&&Xb(e))}function e_(e){return Array.isArray(e)?1==e.length?e[0]:yu(e):e}var t_=new RegExp("{{\\s*(.+?)\\s*}}","g");function n_(e){var t=[];if("string"==typeof e){for(var n=e.toString(),r=void 0;r=t_.exec(n);)t.push(r[1]);t_.lastIndex=0}return t}function r_(e,t,n){var r=e.toString(),i=r.replace(t_,function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()});return i==r?e:i}function i_(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var o_=/-+([a-z0-9])/g;function s_(e){return e.replace(o_,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()})}function a_(e,t){return 0===e||0===t}function l_(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach(function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]}),o.length)for(var s=function(){var n=t[a];o.forEach(function(t){n[t]=c_(e,t)})},a=1;a<t.length;a++)s()}return t}function u_(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function c_(e,t){return window.getComputedStyle(e)[t]}var d_="*",p_=new Set(["true","1"]),h_=new Set(["false","0"]);function f_(e,t){var n=p_.has(e)||h_.has(e),r=p_.has(t)||h_.has(t);return function(i,o){var s=e==d_||e==i,a=t==d_||t==o;return!s&&n&&"boolean"==typeof i&&(s=i?p_.has(e):h_.has(e)),!a&&r&&"boolean"==typeof o&&(a=o?p_.has(t):h_.has(t)),s&&a}}var m_=new RegExp("s*:selfs*,?","g");function g_(e,t,n){return new v_(e).build(t,n)}var v_=function(){function e(e){this._driver=e}return e.prototype.build=function(e,t){var n=new y_(t);return this._resetContextStyleTimingState(n),u_(this,e_(e),n)},e.prototype._resetContextStyleTimingState=function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0},e.prototype.visitTrigger=function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var a=e,l=a.name;l.toString().split(/\s*,\s*/).forEach(function(e){a.name=e,o.push(n.visitState(a,t))}),a.name=l}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,i+=u.depCount,s.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:o,transitions:s,queryCount:r,depCount:i,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach(function(e){if(b_(e)){var t=e;Object.keys(t).forEach(function(e){n_(t[e]).forEach(function(e){o.hasOwnProperty(e)||i.add(e)})})}}),i.size){var s=i_(i.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+s.join(", "))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=u_(this,e_(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'+e+'" is not supported'),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=i[1],s=i[2],a=i[3];t.push(f_(o,a)),"<"!=s[0]||o==d_&&a==d_||t.push(f_(a,o))}(e,i,r)}):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:__(e.options)}},e.prototype.visitSequence=function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return u_(n,e,t)}),options:__(e.options)}},e.prototype.visitGroup=function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map(function(e){t.currentTime=r;var o=u_(n,e,t);return i=Math.max(i,t.currentTime),o});return t.currentTime=i,{type:3,steps:o,options:__(e.options)}},e.prototype.visitAnimate=function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return w_(Qb(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var i=w_(0,0,"");return i.dynamic=!0,i.strValue=r,i}return w_((n=n||Qb(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:bu({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,s=!1;if(!o){s=!0;var a={};r.easing&&(a.easing=r.easing),o=bu(a)}t.currentTime+=r.duration+r.delay;var l=this.visitStyle(o,t);l.isEmptyStep=s,n=l}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}},e.prototype.visitStyle=function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n},e.prototype._makeStyleAst=function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==vu?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var r=!1,i=null;return n.forEach(function(e){if(b_(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}}),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(r){if(n._driver.validateStyleProperty(r)){var s,a,l,u=t.collectedStyles[t.currentQuerySelector],c=u[r],d=!0;c&&(o!=i&&o>=c.startTime&&i<=c.endTime&&(t.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}),t.options&&(s=t.errors,a=t.options.params||{},(l=n_(e[r])).length&&l.forEach(function(e){a.hasOwnProperty(e)||s.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+r+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],s=!1,a=!1,l=0,u=e.steps.map(function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(b_(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(b_(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),c=0;return null!=u&&(i++,c=r.offset=u),a=a||c<0||c>1,s=s||c<l,l=c,o.push(c),r});a&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,d=0;i>0&&i<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));var p=c-1,h=t.currentTime,f=t.currentAnimateTimings,m=f.duration;return u.forEach(function(e,i){var s=d>0?i==p?1:d*i:o[i],a=s*m;t.currentTime=h+f.delay+a,f.duration=a,n._validateStyleAst(e,t),e.offset=s,r.styles.push(e)}),r},e.prototype.visitReference=function(e,t){return{type:8,animation:u_(this,e_(e.animation),t),options:__(e.options)}},e.prototype.visitAnimateChild=function(e,t){return t.depCount++,{type:9,options:__(e.options)}},e.prototype.visitAnimateRef=function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:__(e.options)}},e.prototype.visitQuery=function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=u(function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return":self"==e});return t&&(e=e.replace(m_,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],s=i[1];t.currentQuerySelector=n.length?n+" "+o:o,Ib(t.collectedStyles,t.currentQuerySelector,{});var a=u_(this,e_(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:s,animation:a,originalSelector:e.selector,options:__(e.options)}},e.prototype.visitStagger=function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:Qb(e.timings,t.errors,!0);return{type:12,animation:u_(this,e_(e.animation),t),timings:n,options:null}},e}(),y_=function(){return function(e){this.errors=e,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 b_(e){return!Array.isArray(e)&&"object"==typeof e}function __(e){var t;return e?(e=Yb(e)).params&&(e.params=(t=e.params)?Yb(t):null):e={},e}function w_(e,t,n){return{duration:e,delay:t,easing:n}}function S_(e,t,n,r,i,o,s,a){return void 0===s&&(s=null),void 0===a&&(a=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:s,subTimeline:a}}var C_=function(){function e(){this._map=new Map}return e.prototype.consume=function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t},e.prototype.append=function(e,t){var n=this._map.get(e);n||this._map.set(e,n=[]),n.push.apply(n,c(t))},e.prototype.has=function(e){return this._map.has(e)},e.prototype.clear=function(){this._map.clear()},e}(),x_=new RegExp(":enter","g"),E_=new RegExp(":leave","g");function k_(e,t,n,r,i,o,s,a,l,u){return void 0===o&&(o={}),void 0===s&&(s={}),void 0===u&&(u=[]),(new O_).buildKeyframes(e,t,n,r,i,o,s,a,l,u)}var O_=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,r,i,o,s,a,l,u){void 0===u&&(u=[]),l=l||new C_;var c=new I_(e,t,l,r,i,u,[]);c.options=a,c.currentTimeline.setStyles([o],null,c.errors,a),u_(this,n,c);var d=c.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(s).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([s],null,c.errors,a)}return d.length?d.map(function(e){return e.buildKeyframes()}):[S_(t,[],[],[],0,0,"",!1)]},e.prototype.visitTrigger=function(e,t){},e.prototype.visitState=function(e,t){},e.prototype.visitTransition=function(e,t){},e.prototype.visitAnimateChild=function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e},e.prototype.visitAnimateRef=function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e},e.prototype._visitSubInstructions=function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?Wb(n.duration):null,o=null!=n.delay?Wb(n.delay):null;return 0!==i&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)}),r},e.prototype.visitReference=function(e,t){t.updateOptions(e.options,!0),u_(this,e.animation,t),t.previousNode=e},e.prototype.visitSequence=function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=T_);var s=Wb(o.delay);i.delayNextStep(s)}e.steps.length&&(e.steps.forEach(function(e){return u_(n,e,i)}),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Wb(e.options.delay):0;e.steps.forEach(function(s){var a=t.createSubContext(e.options);o&&a.delayNextStep(o),u_(n,s,a),i=Math.max(i,a.currentTimeline.currentTime),r.push(a.currentTimeline)}),r.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(i),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Qb(t.params?r_(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}},e.prototype.visitAnimate=function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?Wb(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=T_);var s=r,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=a.length;var l=null;a.forEach(function(r,i){t.currentQueryIndex=i;var a=t.createSubContext(e.options,r);o&&a.delayNextStep(o),r===t.element&&(l=a.currentTimeline),u_(n,e.animation,a),a.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,a.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),s=o*(t.currentQueryTotal-1),a=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":a=s-a;break;case"full":a=n.currentStaggerTime}var l=t.currentTimeline;a&&l.delayNextStep(a);var u=l.currentTime;u_(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)},e}(),T_={},I_=function(){function e(e,t,n,r,i,o,s,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=i,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=T_,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new A_(this._driver,t,0),s.push(this.currentTimeline)}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.updateOptions=function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=Wb(r.duration)),null!=r.delay&&(i.delay=Wb(r.delay));var o=r.params;if(o){var s=i.params;s||(s=this.options.params={}),Object.keys(o).forEach(function(e){t&&s.hasOwnProperty(e)||(s[e]=r_(o[e],s,n.errors))})}}},e.prototype._copyOptions=function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach(function(e){n[e]=t[e]})}}return e},e.prototype.createSubContext=function(t,n,r){void 0===t&&(t=null);var i=n||this.element,o=new e(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(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},e.prototype.transformIntoNewTimeline=function(e){return this.previousNode=T_,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline},e.prototype.appendInstructionToTimeline=function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new P_(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r},e.prototype.incrementTime=function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)},e.prototype.delayNextStep=function(e){e>0&&this.currentTimeline.delayNextStep(e)},e.prototype.invokeQuery=function(e,t,n,r,i,o){var s=[];if(r&&s.push(this.element),e.length>0){e=(e=e.replace(x_,"."+this._enterClassName)).replace(E_,"."+this._leaveClassName);var a=this._driver.query(this.element,e,1!=n);0!==n&&(a=n<0?a.slice(a.length+n,a.length):a.slice(0,n)),s.push.apply(s,c(a))}return i||0!=s.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),s},e}(),A_=function(){function e(e,t,n,r){this._driver=e,this.element=t,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return e.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},e.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(e.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),e.prototype.delayNextStep=function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e},e.prototype.fork=function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)},e.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))},e.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},e.prototype.forwardTime=function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()},e.prototype._updateStyle=function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}},e.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},e.prototype.applyEmptyStep=function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||vu,t._currentKeyframe[e]=vu}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){r[e]=vu}):Zb(e,!1,r)}),r}(e,this._globalTimelineStyles);Object.keys(s).forEach(function(e){var t=r_(s[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:vu),i._updateStyle(e,t)})},e.prototype.applyStylesToKeyframe=function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){e._currentKeyframe[n]=t[n]}),Object.keys(this._localTimelineStyles).forEach(function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])}))},e.prototype.snapshotCurrentStyles=function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})},e.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(e.prototype,"properties",{get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e},enumerable:!0,configurable:!0}),e.prototype.mergeTimelineCollectedStyles=function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach(function(o,s){var a=Zb(o,!0);Object.keys(a).forEach(function(e){var r=a[e];r==Cu?t.add(e):r==vu&&n.add(e)}),r||(a.offset=s/e.duration),i.push(a)});var o=t.size?i_(t.values()):[],s=n.size?i_(n.values()):[];if(r){var a=i[0],l=Yb(a);a.offset=0,l.offset=1,i=[a,l]}return S_(this.element,i,o,s,this.duration,this.startTime,this.easing,!1)},e}(),P_=function(e){function t(t,n,r,i,o,s,a){void 0===a&&(a=!1);var l=e.call(this,t,n,s.delay)||this;return l.element=n,l.keyframes=r,l.preStyleProps=i,l.postStyleProps=o,l._stretchStartingKeyframe=a,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return i(t,e),t.prototype.containsAnimation=function(){return this.keyframes.length>1},t.prototype.buildKeyframes=function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],s=r+n,a=n/s,l=Zb(e[0],!1);l.offset=0,o.push(l);var u=Zb(e[0],!1);u.offset=M_(a),o.push(u);for(var c=e.length-1,d=1;d<=c;d++){var p=Zb(e[d],!1);p.offset=M_((n+p.offset*r)/s),o.push(p)}r=s,n=0,i="",e=o}return S_(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)},t}(A_);function M_(e,t){void 0===t&&(t=3);var n=Math.pow(10,t-1);return Math.round(e*n)/n}var R_=function(){return function(){}}(),j_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.normalizePropertyName=function(e,t){return s_(e)},t.prototype.normalizeStyleValue=function(e,t,n,r){var i="",o=n.toString().trim();if(N_[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&0==s[1].length&&r.push("Please provide a CSS unit value for "+e+":"+n)}return o+i},t}(R_),N_=function(){return e="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(","),t={},e.forEach(function(e){return t[e]=!0}),t;var e,t}();function D_(e,t,n,r,i,o,s,a,l,u,c,d,p){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:s,timelines:a,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:p}}var L_={},z_=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,r){return function(e,t,n,r,i){return e.some(function(e){return e(t,n,r,i)})}(this.ast.matchers,e,t,n,r)},e.prototype.buildStyles=function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o},e.prototype.build=function(e,t,n,r,i,s,a,l,u,c){var d=[],p=this.ast.options&&this.ast.options.params||L_,h=this.buildStyles(n,a&&a.params||L_,d),f=l&&l.params||L_,m=this.buildStyles(r,f,d),g=new Set,v=new Map,y=new Map,b="void"===r,_={params:o({},p,f)},w=c?[]:k_(e,t,this.ast.animation,i,s,h,m,_,u,d),S=0;if(w.forEach(function(e){S=Math.max(e.duration+e.delay,S)}),d.length)return D_(t,this._triggerName,n,r,b,h,m,[],[],v,y,S,d);w.forEach(function(e){var n=e.element,r=Ib(v,n,{});e.preStyleProps.forEach(function(e){return r[e]=!0});var i=Ib(y,n,{});e.postStyleProps.forEach(function(e){return i[e]=!0}),n!==t&&g.add(n)});var C=i_(g.values());return D_(t,this._triggerName,n,r,b,h,m,w,C,v,y,S)},e}(),V_=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},r=Yb(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(r[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach(function(e){var o=i[e];o.length>1&&(o=r_(o,r,t)),n[e]=o})}}),n},e}(),F_=function(){function e(e,t){var n=this;this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(function(e){n.states[e.name]=new V_(e.style,e.options&&e.options.params||{})}),U_(this.states,"true","1"),U_(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new z_(e,t,n.states))}),this.fallbackTransition=new z_(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(e.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),e.prototype.matchTransition=function(e,t,n,r){return this.transitionFactories.find(function(i){return i.match(e,t,n,r)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function U_(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var B_=new C_,q_=function(){function e(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return e.prototype.register=function(e,t){var n=[],r=g_(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r},e.prototype._buildPlayer=function(e,t,n){var r=e.element,i=Eb(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var r=this;void 0===n&&(n={});var i,o=[],s=this._animations[e],a=new Map;if(s?(i=k_(this._driver,t,s,"ng-enter","ng-leave",{},{},n,B_,o)).forEach(function(e){var t=Ib(a,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=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(e,t){Object.keys(e).forEach(function(n){e[n]=r._driver.computeStyle(t,n,vu)})});var l=xb(i.map(function(e){var t=a.get(e.element);return r._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return r.destroy(e)}),this.players.push(l),l},e.prototype.destroy=function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)},e.prototype._getPlayer=function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t},e.prototype.listen=function(e,t,n,r){var i=Tb(t,"","","");return kb(this._getPlayer(e),n,i,r),function(){}},e.prototype.command=function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);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(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])},e}(),H_=[],W_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},G_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Q_="__ng_removed",Y_=function(){function e(e,t){void 0===t&&(t=""),this.namespaceId=t;var n=e&&e.hasOwnProperty("value");if(this.value=function(e){return null!=e?e:null}(n?e.value:e),n){var r=Yb(e);delete r.value,this.options=r}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(e.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),e.prototype.absorbOptions=function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach(function(e){null==n[e]&&(n[e]=t[e])})}},e}(),Z_=new Y_("void"),K_=function(){function e(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,iw(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+t+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+t+'" 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 "'+t+'" is not supported!');var s=Ib(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};s.push(a);var l=Ib(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(iw(e,"ng-trigger"),iw(e,"ng-trigger-"+t),l[t]=Z_),function(){o._engine.afterFlush(function(){var e=s.indexOf(a);e>=0&&s.splice(e,1),o._triggers[t]||delete l[t]})}},e.prototype.register=function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)},e.prototype._getTrigger=function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'+e+'" has not been registered!');return t},e.prototype.trigger=function(e,t,n,r){var i=this;void 0===r&&(r=!0);var o=this._getTrigger(t),s=new J_(this.id,t,e),a=this._engine.statesByElement.get(e);a||(iw(e,"ng-trigger"),iw(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,a={}));var l=a[t],u=new Y_(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),a[t]=u,l||(l=Z_),"void"===u.value||l.value!==u.value){var c=Ib(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=o.matchTransition(l.value,u.value,e,u.params),p=!1;if(!d){if(!r)return;d=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:s,isFallbackTransition:p}),p||(iw(e,"ng-animate-queued"),s.onStart(function(){ow(e,"ng-animate-queued")})),s.onDone(function(){var t=i.players.indexOf(s);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(s);r>=0&&n.splice(r,1)}}),this.players.push(s),c.push(s),s}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,u.params)){var h=[],f=o.matchStyles(l.value,l.params,h),m=o.matchStyles(u.value,u.params,h);h.length?this._engine.reportError(h):this._engine.afterFlush(function(){$b(e,f),Jb(e,m)})}},e.prototype.deregister=function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,r){t._elementListeners.set(r,n.filter(function(t){return t.name!=e}))})},e.prototype.clearElementCache=function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))},e.prototype._signalRemovalForInnerTriggers=function(e,t,n){var r=this;void 0===n&&(n=!1),this._engine.driver.query(e,".ng-trigger",!0).forEach(function(e){if(!e[Q_]){var n=r._engine.fetchNamespacesByElement(e);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):r.clearElementCache(e)}})},e.prototype.triggerLeaveAnimation=function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var s=[];if(Object.keys(o).forEach(function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&xb(s).onDone(function(){return i._engine.processLeaveNode(e)}),!0}return!1},e.prototype.prepareLeaveAnimationListeners=function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach(function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,s=t._engine.statesByElement.get(e)[i]||Z_,a=new Y_("void"),l=new J_(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:s,toState:a,player:l,isFallbackTransition:!0})}})}},e.prototype.removeNode=function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var s=e;s=s.parentNode;)if(r.statesByElement.get(s)){i=!0;break}}this.prepareLeaveAnimationListeners(e),i?r.markElementAsRemoved(this.id,e,!1,t):(r.afterFlush(function(){return n.clearElementCache(e)}),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}},e.prototype.insertNode=function(e,t){iw(e,this._hostClassName)},e.prototype.drainQueuedTransitions=function(e){var t=this,n=[];return this._queue.forEach(function(r){var i=r.player;if(!i.destroyed){var o=r.element,s=t._elementListeners.get(o);s&&s.forEach(function(t){if(t.name==r.triggerName){var n=Tb(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,kb(r.player,t.phase,n,t.callback)}}),i.markedForDestroy?t._engine.afterFlush(function(){i.destroy()}):n.push(r)}}),this._queue=[],n.sort(function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1})},e.prototype.destroy=function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)},e.prototype.elementContainsData=function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(t){return t.element===e})||t},e}(),X_=function(){function e(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return e.prototype._onRemovalComplete=function(e,t){this.onRemovalComplete(e,t)},Object.defineProperty(e.prototype,"queuedPlayers",{get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e},enumerable:!0,configurable:!0}),e.prototype.createNamespace=function(e,t){var n=new K_(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n},e.prototype._balanceNamespaceList=function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e},e.prototype.register=function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n},e.prototype.registerTrigger=function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return r.destroy(t)})}},e.prototype._fetchNamespace=function(e){return this._namespaceLookup[e]},e.prototype.fetchNamespacesByElement=function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var s=this._fetchNamespace(o);s&&t.add(s)}}return t},e.prototype.trigger=function(e,t,n,r){if($_(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1},e.prototype.insertNode=function(e,t,n,r){if($_(t)){var i=t[Q_];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var s=this._fetchNamespace(e);s&&s.insertNode(t,n)}r&&this.collectEnterElement(t)}},e.prototype.collectEnterElement=function(e){this.collectedEnterElements.push(e)},e.prototype.markElementAsDisabled=function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),iw(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),ow(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n,r){if($_(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)},e.prototype.markElementAsRemoved=function(e,t,n,r){this.collectedLeaveElements.push(t),t[Q_]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,r,i){return $_(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}},e.prototype._buildInstruction=function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)},e.prototype.destroyInnerAnimations=function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})},e.prototype.destroyActiveAnimationsForElement=function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})},e.prototype.finishActiveQueriedAnimationOnElement=function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})},e.prototype.whenRenderingDone=function(){var e=this;return new Promise(function(t){if(e.players.length)return xb(e.players).onDone(function(){return t()});t()})},e.prototype.processLeaveNode=function(e){var t=this,n=e[Q_];if(n&&n.setForRemoval){if(e[Q_]=W_,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(function(e){t.markElementAsDisabled(e,!1)})},e.prototype.flush=function(e){var t=this;void 0===e&&(e=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(e,n){return t._balanceNamespaceList(e,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)iw(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,e)}finally{for(r=0;r<i.length;r++)i[r]()}}else for(r=0;r<this.collectedLeaveElements.length;r++)this.processLeaveNode(this.collectedLeaveElements[r]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?xb(n).onDone(function(){o.forEach(function(e){return e()})}):o.forEach(function(e){return e()})}},e.prototype.reportError=function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))},e.prototype._flushAnimations=function(e,t){var n=this,r=new C_,i=[],s=new Map,a=[],l=new Map,u=new Map,d=new Map,p=new Set;this.disabledNodes.forEach(function(e){p.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)p.add(t[r])});var h=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=nw(f,this.collectedEnterElements),g=new Map,v=0;m.forEach(function(e,t){var n="ng-enter"+v++;g.set(t,n),e.forEach(function(e){return iw(e,n)})});for(var y=[],b=new Set,_=new Set,w=0;w<this.collectedLeaveElements.length;w++)(z=(L=this.collectedLeaveElements[w])[Q_])&&z.setForRemoval&&(y.push(L),b.add(L),z.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(function(e){return b.add(e)}):_.add(L));var S=new Map,C=nw(f,Array.from(b));C.forEach(function(e,t){var n="ng-leave"+v++;S.set(t,n),e.forEach(function(e){return iw(e,n)})}),e.push(function(){m.forEach(function(e,t){var n=g.get(t);e.forEach(function(e){return ow(e,n)})}),C.forEach(function(e,t){var n=S.get(t);e.forEach(function(e){return ow(e,n)})}),y.forEach(function(e){n.processLeaveNode(e)})});for(var x=[],E=[],k=this._namespaceList.length-1;k>=0;k--)this._namespaceList[k].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(x.push(t),n.collectedEnterElements.length){var s=o[Q_];if(s&&s.setForMove)return void t.destroy()}var c=!h||!n.driver.containsElement(h,o),p=S.get(o),f=g.get(o),m=n._buildInstruction(e,r,f,p,c);if(m.errors&&m.errors.length)E.push(m);else{if(c)return t.onStart(function(){return $b(o,m.fromStyles)}),t.onDestroy(function(){return Jb(o,m.toStyles)}),void i.push(t);if(e.isFallbackTransition)return t.onStart(function(){return $b(o,m.fromStyles)}),t.onDestroy(function(){return Jb(o,m.toStyles)}),void i.push(t);m.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),r.append(o,m.timelines),a.push({instruction:m,player:t,element:o}),m.queriedElements.forEach(function(e){return Ib(l,e,[]).push(t)}),m.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var r=u.get(t);r||u.set(t,r=new Set),n.forEach(function(e){return r.add(e)})}}),m.postStyleProps.forEach(function(e,t){var n=Object.keys(e),r=d.get(t);r||d.set(t,r=new Set),n.forEach(function(e){return r.add(e)})})}});if(E.length){var O=[];E.forEach(function(e){O.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return O.push("- "+e+"\n")})}),x.forEach(function(e){return e.destroy()}),this.reportError(O)}var T=new Map,I=new Map;a.forEach(function(e){var t=e.element;r.has(t)&&(I.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,T))}),i.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){Ib(T,t,[]).push(e),e.destroy()})});var A=y.filter(function(e){return aw(e,u,d)}),P=new Map;tw(P,this.driver,_,d,vu).forEach(function(e){aw(e,u,d)&&A.push(e)});var M=new Map;m.forEach(function(e,t){tw(M,n.driver,new Set(e),u,Cu)}),A.forEach(function(e){var t=P.get(e),n=M.get(e);P.set(e,o({},t,n))});var R=[],j=[],N={};a.forEach(function(e){var t=e.element,o=e.player,a=e.instruction;if(r.has(t)){if(p.has(t))return o.onDestroy(function(){return Jb(t,a.toStyles)}),o.disabled=!0,o.overrideTotalTime(a.totalTime),void i.push(o);var l=N;if(I.size>1){for(var u=t,c=[];u=u.parentNode;){var d=I.get(u);if(d){l=d;break}c.push(u)}c.forEach(function(e){return I.set(e,l)})}var h=n._buildAnimation(o.namespaceId,a,T,s,M,P);if(o.setRealPlayer(h),l===N)R.push(o);else{var f=n.playersByElement.get(l);f&&f.length&&(o.parentPlayer=xb(f)),i.push(o)}}else $b(t,a.fromStyles),o.onDestroy(function(){return Jb(t,a.toStyles)}),j.push(o),p.has(t)&&i.push(o)}),j.forEach(function(e){var t=s.get(e.element);if(t&&t.length){var n=xb(t);e.setRealPlayer(n)}}),i.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var D=0;D<y.length;D++){var L,z=(L=y[D])[Q_];if(ow(L,"ng-leave"),!z||!z.hasAnimation){var V=[];if(l.size){var F=l.get(L);F&&F.length&&V.push.apply(V,c(F));for(var U=this.driver.query(L,".ng-animating",!0),B=0;B<U.length;B++){var q=l.get(U[B]);q&&q.length&&V.push.apply(V,c(q))}}var H=V.filter(function(e){return!e.destroyed});H.length?sw(this,L,H):this.processLeaveNode(L)}}return y.length=0,R.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),R},e.prototype.elementContainsData=function(e,t){var n=!1,r=t[Q_];return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n},e.prototype.afterFlush=function(e){this._flushFns.push(e)},e.prototype.afterFlushAnimationsDone=function(e){this._whenQuietFns.push(e)},e.prototype._getPreviousPlayers=function(e,t,n,r,i){var o=[];if(t){var s=this.playersByQueriedElement.get(e);s&&(o=s)}else{var a=this.playersByElement.get(e);if(a){var l=!i||"void"==i;a.forEach(function(e){e.queued||(l||e.triggerName==r)&&o.push(e)})}}return(n||r)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)})),o},e.prototype._beforeAnimationBuild=function(e,t,n){var r,i,o=t.element,s=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:t.triggerName,u=function(e){var r=e.element,i=r!==o,l=Ib(n,r,[]);c._getPreviousPlayers(r,i,s,a,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)})},c=this;try{for(var d=l(t.timelines),p=d.next();!p.done;p=d.next())u(p.value)}catch(h){r={error:h}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}$b(o,t.fromStyles)},e.prototype._buildAnimation=function(e,t,n,r,i,o){var s=this,a=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,p=t.timelines.map(function(t){var p=t.element;c.add(p);var h=p[Q_];if(h&&h.removedBeforeQueried)return new wu(t.duration,t.delay);var f,m,g=p!==l,v=(f=(n.get(p)||H_).map(function(e){return e.getRealPlayer()}),m=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof Su?e(i.players,n):n.push(i)}}(f,m),m).filter(function(e){return!!e.element&&e.element===p}),y=i.get(p),b=o.get(p),_=Eb(0,s._normalizer,0,t.keyframes,y,b),w=s._buildPlayer(t,_,v);if(t.subTimeline&&r&&d.add(p),g){var S=new J_(e,a,p);S.setRealPlayer(w),u.push(S)}return w});u.forEach(function(e){Ib(s.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else(r=e[t])&&(r.length&&(i=r.indexOf(n),r.splice(i,1)),0==r.length&&delete e[t]);return r}(s.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return iw(e,"ng-animating")});var h=xb(p);return h.onDestroy(function(){c.forEach(function(e){return ow(e,"ng-animating")}),Jb(l,t.toStyles)}),d.forEach(function(e){Ib(r,e,[]).push(h)}),h},e.prototype._buildPlayer=function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new wu(e.duration,e.delay)},e}(),J_=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new wu,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return e.prototype.setRealPlayer=function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return kb(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)},e.prototype.getRealPlayer=function(){return this._player},e.prototype.overrideTotalTime=function(e){this.totalTime=e},e.prototype.syncPlayerEvents=function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart(function(){return n.triggerCallback("start")}),e.onDone(function(){return t.finish()}),e.onDestroy(function(){return t.destroy()})},e.prototype._queueEvent=function(e,t){Ib(this._queuedCallbacks,e,[]).push(t)},e.prototype.onDone=function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)},e.prototype.onStart=function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)},e.prototype.onDestroy=function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)},e.prototype.init=function(){this._player.init()},e.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},e.prototype.play=function(){!this.queued&&this._player.play()},e.prototype.pause=function(){!this.queued&&this._player.pause()},e.prototype.restart=function(){!this.queued&&this._player.restart()},e.prototype.finish=function(){this._player.finish()},e.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},e.prototype.reset=function(){!this.queued&&this._player.reset()},e.prototype.setPosition=function(e){this.queued||this._player.setPosition(e)},e.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},e.prototype.triggerCallback=function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)},e}();function $_(e){return e&&1===e.nodeType}function ew(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function tw(e,t,n,r,i){var o=[];n.forEach(function(e){return o.push(ew(e))});var s=[];r.forEach(function(n,r){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r[Q_]=G_,s.push(r))}),e.set(r,o)});var a=0;return n.forEach(function(e){return ew(e,o[a++])}),s}function nw(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var s=t.parentNode;return o=n.has(s)?s:r.has(s)?1:e(s),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}var rw="$$classes";function iw(e,t){if(e.classList)e.classList.add(t);else{var n=e[rw];n||(n=e[rw]={}),n[t]=!0}}function ow(e,t){if(e.classList)e.classList.remove(t);else{var n=e[rw];n&&delete n[t]}}function sw(e,t,n){xb(n).onDone(function(){return e.processLeaveNode(t)})}function aw(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach(function(e){return i.add(e)}):t.set(e,r),n.delete(e),!0}var lw=function(){function e(e,t,n){var r=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new X_(e,t,n),this._timelineEngine=new q_(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return r.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,r,i){var o=e+"-"+r,s=this._triggerCache[o];if(!s){var a=[],l=g_(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 - "));s=function(e,t){return new F_(e,t)}(r,l),this._triggerCache[o]=s}this._transitionEngine.registerTrigger(t,r,s)},e.prototype.register=function(e,t){this._transitionEngine.register(e,t)},e.prototype.destroy=function(e,t){this._transitionEngine.destroy(e,t)},e.prototype.onInsert=function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)},e.prototype.onRemove=function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,r){if("@"==n.charAt(0)){var i=u(Ab(n),2);this._timelineEngine.command(i[0],t,i[1],r)}else this._transitionEngine.trigger(e,t,n,r)},e.prototype.listen=function(e,t,n,r,i){if("@"==n.charAt(0)){var o=u(Ab(n),2);return this._timelineEngine.listen(o[0],t,o[1],i)}return this._transitionEngine.listen(e,t,n,r,i)},e.prototype.flush=function(e){void 0===e&&(e=-1),this._transitionEngine.flush(e)},Object.defineProperty(e.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),e.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},e}();function uw(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=dw(t[0]),t.length>1&&(r=dw(t[t.length-1]))):t&&(n=dw(t)),n||r?new cw(e,n,r):null}var cw=function(){function e(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return e.prototype.start=function(){this._state<1&&(this._startStyles&&Jb(this._element,this._startStyles,this._initialStyles),this._state=1)},e.prototype.finish=function(){this.start(),this._state<2&&(Jb(this._element,this._initialStyles),this._endStyles&&(Jb(this._element,this._endStyles),this._endStyles=null),this._state=1)},e.prototype.destroy=function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&($b(this._element,this._startStyles),this._endStyles=null),this._endStyles&&($b(this._element,this._endStyles),this._endStyles=null),Jb(this._element,this._initialStyles),this._state=3)},e.initialStylesByElement=new WeakMap,e}();function dw(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];pw(i)&&((t=t||{})[i]=e[i])}return t}function pw(e){return"display"===e||"position"===e}var hw="animation",fw="animationend",mw=function(){function e(e,t,n,r,i,o,s){var a=this;this._element=e,this._name=t,this._duration=n,this._delay=r,this._easing=i,this._fillMode=o,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return a._handleCallback(e)}}return e.prototype.apply=function(){var e,t,n;t=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=ww(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t=n+", "+t),_w(e,"",t),bw(this._element,this._eventFn,!1),this._startTime=Date.now()},e.prototype.pause=function(){gw(this._element,this._name,"paused")},e.prototype.resume=function(){gw(this._element,this._name,"running")},e.prototype.setPosition=function(e){var t=vw(this._element,this._name);this._position=e*this._duration,_w(this._element,"Delay","-"+this._position+"ms",t)},e.prototype.getPosition=function(){return this._position},e.prototype._handleCallback=function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},e.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),bw(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(r=yw(n=ww(e=this._element,"").split(","),t))>=0&&(n.splice(r,1),_w(e,"",n.join(","))))},e}();function gw(e,t,n){_w(e,"PlayState",n,vw(e,t))}function vw(e,t){var n=ww(e,"");return n.indexOf(",")>0?yw(n.split(","),t):yw([n],t)}function yw(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function bw(e,t,n){n?e.removeEventListener(fw,t):e.addEventListener(fw,t)}function _w(e,t,n,r){var i=hw+t;if(null!=r){var o=e.style[i];if(o.length){var s=o.split(",");s[r]=n,n=s.join(",")}}e.style[i]=n}function ww(e,t){return e.style[hw+t]}var Sw="linear",Cw=function(){function e(e,t,n,r,i,o,s,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=r,this._delay=i,this._finalStyles=s,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Sw,this.totalTime=r+i,this._buildStyler()}return e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]},e.prototype._flushStartFns=function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]},e.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},e.prototype.setPosition=function(e){this._styler.setPosition(e)},e.prototype.getPosition=function(){return this._styler.getPosition()},e.prototype.hasStarted=function(){return this._state>=2},e.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},e.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},e.prototype.pause=function(){this.init(),this._styler.pause()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},e.prototype._buildStyler=function(){var e=this;this._styler=new mw(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e.prototype.beforeDestroy=function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:c_(e.element,r))})}this.currentSnapshot=t},e}(),xw=function(e){function t(t,n){var r=e.call(this)||this;return r.element=t,r._startingStyles={},r.__initialized=!1,r._styles=Ub(n),r}return i(t,e),t.prototype.init=function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(e){t._startingStyles[e]=t.element.style[e]}),e.prototype.init.call(this))},t.prototype.play=function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(e){return t.element.style.setProperty(e,t._styles[e])}),e.prototype.play.call(this))},t.prototype.destroy=function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)}),this._startingStyles=null,e.prototype.destroy.call(this))},t}(wu),Ew=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return Lb(e)},e.prototype.matchesElement=function(e,t){return zb(e,t)},e.prototype.containsElement=function(e,t){return Vb(e,t)},e.prototype.query=function(e,t,n){return Fb(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.buildKeyframeElement=function(e,t,n){n=n.map(function(e){return Ub(e)});var r="@keyframes "+t+" {\n",i="";n.forEach(function(e){i=" ";var t=parseFloat(e.offset);r+=""+i+100*t+"% {\n",i+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+=i+"animation-timing-function: "+n+";\n"));default:return void(r+=""+i+t+": "+n+";\n")}}),r+=i+"}\n"}),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o},e.prototype.animate=function(e,t,n,r,i,o,s){void 0===o&&(o=[]),s&&this._notifyFaultyScrubber();var a=o.filter(function(e){return e instanceof Cw}),l={};a_(n,r)&&a.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=l_(e,t,l));if(0==n)return new xw(e,u);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);var p=uw(e,t),h=new Cw(e,t,c,n,r,i,u,p);return h.onDestroy(function(){var e;(e=d).parentNode.removeChild(e)}),h},e.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)},e}(),kw=function(){function e(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,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 e.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])},e.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},e.prototype._buildPlayer=function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}},e.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},e.prototype._triggerWebAnimation=function(e,t,n){return e.animate(t,n)},e.prototype.onStart=function(e){this._onStartFns.push(e)},e.prototype.onDone=function(e){this._onDoneFns.push(e)},e.prototype.onDestroy=function(e){this._onDestroyFns.push(e)},e.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},e.prototype.pause=function(){this.init(),this.domPlayer.pause()},e.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},e.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},e.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},e.prototype.restart=function(){this.reset(),this.play()},e.prototype.hasStarted=function(){return this._started},e.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])},e.prototype.setPosition=function(e){this.domPlayer.currentTime=e*this.time},e.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(e.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),e.prototype.beforeDestroy=function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:c_(e.element,n))}),this.currentSnapshot=t},e.prototype.triggerCallback=function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0},e}(),Ow=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Tw().toString()),this._cssKeyframesDriver=new Ew}return e.prototype.validateStyleProperty=function(e){return Lb(e)},e.prototype.matchesElement=function(e,t){return zb(e,t)},e.prototype.containsElement=function(e,t){return Vb(e,t)},e.prototype.query=function(e,t,n){return Fb(e,t,n)},e.prototype.computeStyle=function(e,t,n){return window.getComputedStyle(e)[t]},e.prototype.overrideWebAnimationsSupport=function(e){this._isNativeImpl=e},e.prototype.animate=function(e,t,n,r,i,o,s){if(void 0===o&&(o=[]),!s&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var a={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(a.easing=i);var l={},u=o.filter(function(e){return e instanceof kw});a_(n,r)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=uw(e,t=l_(e,t=t.map(function(e){return Zb(e,!1)}),l));return new kw(e,t,a,c)},e}();function Tw(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Iw=function(e){function t(t,n){var r=e.call(this)||this;return r._nextAnimationId=0,r._renderer=t.createRenderer(n.body,{id:"0",encapsulation:st.None,styles:[],data:{animation:[]}}),r}return i(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?yu(e):e;return Mw(this._renderer,null,t,"register",[n]),new Aw(t,this._renderer)},t}(mu),Aw=function(e){function t(t,n){var r=e.call(this)||this;return r._id=t,r._renderer=n,r}return i(t,e),t.prototype.create=function(e,t){return new Pw(this._id,e,t||{},this._renderer)},t}(gu),Pw=function(){function e(e,t,n,r){this.id=e,this.element=t,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return e.prototype._listen=function(e,t){return this._renderer.listen(this.element,"@@"+this.id+":"+e,t)},e.prototype._command=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Mw(this._renderer,this.element,this.id,e,t)},e.prototype.onDone=function(e){this._listen("done",e)},e.prototype.onStart=function(e){this._listen("start",e)},e.prototype.onDestroy=function(e){this._listen("destroy",e)},e.prototype.init=function(){this._command("init")},e.prototype.hasStarted=function(){return this._started},e.prototype.play=function(){this._command("play"),this._started=!0},e.prototype.pause=function(){this._command("pause")},e.prototype.restart=function(){this._command("restart")},e.prototype.finish=function(){this._command("finish")},e.prototype.destroy=function(){this._command("destroy")},e.prototype.reset=function(){this._command("reset")},e.prototype.setPosition=function(e){this._command("setPosition",e)},e.prototype.getPosition=function(){return 0},e}();function Mw(e,t,n,r,i){return e.setProperty(t,"@@"+n+":"+r,i)}var Rw=function(){function e(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return e.prototype.createRenderer=function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new jw("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,s=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(s,e),t.data.animation.forEach(function(t){return n.engine.registerTrigger(o,s,e,t.name,t)}),new Nw(this,s,r,this.engine)},e.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},e.prototype._scheduleCountTask=function(){var e=this;this.promise.then(function(){e._microtaskId++})},e.prototype.scheduleListenerCallback=function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=u(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))},e.prototype.end=function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},e}(),jw=function(){function e(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(e){return t.destroyNode(e)}:null}return Object.defineProperty(e.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},e.prototype.createElement=function(e,t){return this.delegate.createElement(e,t)},e.prototype.createComment=function(e){return this.delegate.createComment(e)},e.prototype.createText=function(e){return this.delegate.createText(e)},e.prototype.appendChild=function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)},e.prototype.insertBefore=function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)},e.prototype.removeChild=function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)},e.prototype.selectRootElement=function(e,t){return this.delegate.selectRootElement(e,t)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setAttribute=function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)},e.prototype.setValue=function(e,t){this.delegate.setValue(e,t)},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.disableAnimations=function(e,t){this.engine.disableAnimations(e,t)},e}(),Nw=function(e){function t(t,n,r,i){var o=e.call(this,n,r,i)||this;return o.factory=t,o.namespaceId=n,o}return i(t,e),t.prototype.setProperty=function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)},t.prototype.listen=function(e,t,n){var r,i,o,s=this;if("@"==t.charAt(0)){var a=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),c="";return"@"!=l.charAt(0)&&(l=(r=u((i=l,o=i.indexOf("."),[i.substring(0,o),i.substr(o+1)]),2))[0],c=r[1]),this.engine.listen(this.namespaceId,a,l,c,function(e){s.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)},t}(jw),Dw=function(e){function t(t,n,r){return e.call(this,t.body,n,r)||this}return i(t,e),t}(lw);function Lw(){return"function"==typeof Tw()?new Ow:new Ew}function zw(){return new j_}function Vw(e,t,n){return new Rw(e,t,n)}var Fw=new Ve("AnimationModuleType"),Uw=function(){return function(){}}(),Bw=rr({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function qw(e){return cs(0,[(e()(),Qo(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),Qo(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(e()(),Qo(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),Qo(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),Qo(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(e()(),Qo(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(e()(),Qo(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),Qo(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),Qo(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Hw(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),rs(null,0)],null,null)}function Ww(e){return cs(0,[(e()(),Qo(0,0,null,null,2,null,null,null,null,null,null,null)),rs(null,2),(e()(),as(2,null,["",""]))],null,function(e,t){e(t,2,0,t.component._control.placeholder)})}function Gw(e){return cs(0,[rs(null,3),(e()(),Go(0,null,null,0))],null,null)}function Qw(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(e()(),as(-1,null,[" *"]))],null,null)}function Yw(e){return cs(0,[(e()(),Qo(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(e,t,n){var r=!0;return"cdkObserveContent"===t&&(r=!1!==e.component.updateOutlineGap()&&r),r},null,null)),mi(1,16384,null,0,ol,[],{ngSwitch:[0,"ngSwitch"]},null),mi(2,1196032,null,0,gf,[mf,dn,uo],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(e()(),Go(16777216,null,null,1,null,Ww)),mi(4,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Go(16777216,null,null,1,null,Gw)),mi(6,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Go(16777216,null,null,1,null,Qw)),mi(8,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n._hasLabel()),e(t,2,0,"outline"!=n.appearance),e(t,4,0,!1),e(t,6,0,!0),e(t,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(e,t){var n=t.component;e(t,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 Zw(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),rs(null,4)],null,null)}function Kw(e){return cs(0,[(e()(),Qo(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(e()(),Qo(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(e,t){var n=t.component;e(t,1,0,"accent"==n.color,"warn"==n.color)})}function Xw(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),rs(null,5)],null,function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function Jw(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(e()(),as(1,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n._hintLabelId),e(t,1,0,n.hintLabel)})}function $w(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(e()(),Go(16777216,null,null,1,null,Jw)),mi(2,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),rs(null,6),(e()(),Qo(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),rs(null,7)],function(e,t){e(t,2,0,t.component.hintLabel)},function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function eS(e){return cs(2,[Jo(671088640,1,{underlineRef:0}),Jo(402653184,2,{_connectionContainerRef:0}),Jo(671088640,3,{_inputContainerRef:0}),Jo(671088640,4,{_label:0}),(e()(),Qo(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(e()(),Qo(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==(i._control.onContainerClick&&i._control.onContainerClick(n))&&r),r},null,null)),(e()(),Go(16777216,null,null,1,null,qw)),mi(7,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Hw)),mi(9,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),rs(null,1),(e()(),Qo(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,null,Yw)),mi(14,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Zw)),mi(16,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Kw)),mi(18,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),mi(20,16384,null,0,ol,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Go(16777216,null,null,1,null,Xw)),mi(22,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Go(16777216,null,null,1,null,$w)),mi(24,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){var n=t.component;e(t,7,0,"outline"==n.appearance),e(t,9,0,n._prefixChildren.length),e(t,14,0,n._hasFloatingLabel()),e(t,16,0,n._suffixChildren.length),e(t,18,0,"outline"!=n.appearance),e(t,20,0,n._getDisplayedMessages()),e(t,22,0,"error"),e(t,24,0,"hint")},null)}var tS=Ac({passive:!0}),nS=function(){function e(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}return e.prototype.monitor=function(e){var t=this;if(!this._platform.isBrowser)return Nu;var n=$u(e),r=this._monitoredElements.get(n);if(r)return r.subject.asObservable();var i=new N,o="cdk-text-field-autofilled",s=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(o)&&(n.classList.remove(o),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!1})})):(n.classList.add(o),t._ngZone.run(function(){return i.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",s,tS),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:i,unlisten:function(){n.removeEventListener("animationstart",s,tS)}}),i.asObservable()},e.prototype.stopMonitoring=function(e){var t=$u(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))},e.prototype.ngOnDestroy=function(){var e=this;this._monitoredElements.forEach(function(t,n){return e.stopMonitoring(n)})},e.ngInjectableDef=Ee({factory:function(){return new e(Le(kc),Le(uo))},token:e,providedIn:"root"}),e}(),rS=function(){return function(){}}(),iS=["button","checkbox","file","hidden","image","radio","range","reset","submit"],oS=0,sS=function(e){function t(t,n,r,i,o,s,a,l,u){var c=e.call(this,s,i,o,r)||this;c._elementRef=t,c._platform=n,c.ngControl=r,c._autofillMonitor=l,c._uid="mat-input-"+oS++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new N,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(e){return Ic().has(e)});var d=c._elementRef.nativeElement;return c._inputValueAccessor=a||d,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){t.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===d.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),c}return i(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Zu(e),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"type",{get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea()&&Ic().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"readonly",{get:function(){return this._readonly},set:function(e){this._readonly=Zu(e)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()})},t.prototype.ngOnChanges=function(){this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._focusChanged=function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())},t.prototype._onInput=function(){},t.prototype._dirtyCheckNativeValue=function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())},t.prototype._validateType=function(){if(iS.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},t.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},t.prototype._isBadInput=function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput},t.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(t.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focused||this.focus()},t}(gh(function(){return function(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}}())),aS=function(){return function(){}}(),lS="accent",uS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],cS=function(e){function t(t,n,r){var i=e.call(this,t)||this;i._focusMonitor=n,i._animationMode=r,i.isRoundButton=i._hasHostAttributes("mat-fab","mat-mini-fab"),i.isIconButton=i._hasHostAttributes("mat-icon-button");for(var o=0,s=uS;o<s.length;o++){var a=s[o];i._hasHostAttributes(a)&&t.nativeElement.classList.add(a)}return i._focusMonitor.monitor(i._elementRef,!0),i.isRoundButton&&(i.color=lS),i}return i(t,e),t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.focus=function(){this._getHostElement().focus()},t.prototype._getHostElement=function(){return this._elementRef.nativeElement},t.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},t.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.some(function(t){return e._getHostElement().hasAttribute(t)})},t}(hh(ph(fh(function(){return function(e){this._elementRef=e}}())))),dS=function(){return function(){}}(),pS=rr({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function hS(e){return cs(2,[Jo(671088640,1,{ripple:0}),(e()(),Qo(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),rs(null,0),(e()(),Qo(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)),mi(4,212992,[[1,4]],0,Ah,[dn,uo,kc,[2,Ih],[2,Fw]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(e()(),Qo(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(e,t){var n=t.component;e(t,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(e,t){var n=t.component;e(t,3,0,n.isRoundButton||n.isIconButton,ni(t,4).unbounded)})}var fS=function(){function e(e,t){this.router=e,this.formBuilder=t,this.version=n("kiQV").version}return e.prototype.ngOnInit=function(){this.roomForm=this.formBuilder.group({roomName:["",py.compose([py.required])]})},e.prototype.goToVideoCall=function(){if(this.roomForm.valid){var e=this.roomForm.value.roomName.replace(/ /g,"-");this.router.navigate(["/",e])}},e}(),mS=rr({encapsulation:0,styles:[["#header[_ngcontent-%COMP%]{background-color:transparent;color:#fff}#header_img[_ngcontent-%COMP%]{max-width:200px;margin-right:10px;margin-top:10px}#version[_ngcontent-%COMP%]{position:absolute;right:5px;font-size:16px}#section1[_ngcontent-%COMP%]{background-image:url(/assets/images/land2_bg.jpg);background-size:cover;height:100%;text-align:center;position:relative}#ov_info[_ngcontent-%COMP%]{color:#fff}#ov_img[_ngcontent-%COMP%]{max-width:50%;margin:auto}#card_content[_ngcontent-%COMP%]{height:50%}#room_card[_ngcontent-%COMP%]{color:#303030;position:inherit;max-width:700px;width:75%;margin:auto;background:rgba(221,221,221,.856)}#room_card[_ngcontent-%COMP%] mat-form-field[_ngcontent-%COMP%]{margin:auto;padding:0 5px}@media (max-width:700px){#header_img[_ngcontent-%COMP%]{visibility:hidden}#ov_img[_ngcontent-%COMP%]{max-width:65%}}"]],data:{}});function gS(e){return cs(0,[(e()(),Qo(0,0,null,null,50,"div",[["id","section1"]],null,null,null,null,null)),(e()(),Qo(1,0,null,null,9,"mat-toolbar",[["class","mat-toolbar"],["id","header"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,qv,Bv)),mi(2,4243456,null,1,Fv,[dn,kc,gl],null,null),Jo(603979776,1,{_toolbarRows:1}),(e()(),Qo(4,0,null,0,3,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==ni(e,5).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&r),r},null,null)),mi(5,671744,null,0,cv,[uv,$m,Na],{routerLink:[0,"routerLink"]},null),ss(32,6,new Array(1)),(e()(),Qo(7,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","header_img"],["src","assets/images/openvidu_logo.png"]],null,null,null,null,null)),(e()(),Qo(8,0,null,0,2,"div",[["id","version"]],null,null,null,null,null)),(e()(),Qo(9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(10,null,["",""])),(e()(),Qo(11,0,null,null,3,"div",[["id","ov_info"]],null,null,null,null,null)),(e()(),Qo(12,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","ov_img"],["src","assets/images/openvidu_vert_white_bg_trans_cropped.png"]],null,null,null,null,null)),(e()(),Qo(13,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),as(-1,null,["Videoconference rooms in one click"])),(e()(),Qo(15,0,null,null,35,"div",[["id","card_content"]],null,null,null,null,null)),(e()(),Qo(16,0,null,null,34,"mat-card",[["class","mat-card"],["id","room_card"]],null,null,null,Kv,Zv)),mi(17,49152,null,0,Qv,[],null,null),(e()(),Qo(18,0,null,0,1,"h3",[],null,null,null,null,null)),(e()(),as(-1,null,["Create an OpenVidu videoconference"])),(e()(),Qo(20,0,null,0,30,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(e,t,n){var r=!0,i=e.component;return"submit"===t&&(r=!1!==ni(e,22).onSubmit(n)&&r),"reset"===t&&(r=!1!==ni(e,22).onReset()&&r),"ngSubmit"===t&&(r=!1!==i.goToVideoCall()&&r),r},null,null)),mi(21,16384,null,0,tb,[],null,null),mi(22,540672,null,0,ib,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),vi(2048,null,iy,null,[ib]),mi(24,16384,null,0,uy,[[4,iy]],null,null),(e()(),Qo(25,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(26,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],{appearance:[0,"appearance"]},null),Jo(603979776,2,{_controlNonStatic:0}),Jo(335544320,3,{_controlStatic:0}),Jo(603979776,4,{_labelChildNonStatic:0}),Jo(335544320,5,{_labelChildStatic:0}),Jo(603979776,6,{_placeholderChild:0}),Jo(603979776,7,{_errorChildren:1}),Jo(603979776,8,{_hintChildren:1}),Jo(603979776,9,{_prefixChildren:1}),Jo(603979776,10,{_suffixChildren:1}),(e()(),Qo(36,0,null,3,2,"mat-label",[],null,null,null,null,null)),mi(37,16384,[[4,4],[5,4]],0,vb,[],null,null),(e()(),as(-1,null,["Insert your room name"])),(e()(),Qo(39,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","roomName"],["matInput",""],["placeholder","Openvidu_call_room"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==ni(e,40)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,40).onTouched()&&r),"compositionstart"===t&&(r=!1!==ni(e,40)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ni(e,40)._compositionEnd(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,45)._focusChanged(!1)&&r),"focus"===t&&(r=!1!==ni(e,45)._focusChanged(!0)&&r),"input"===t&&(r=!1!==ni(e,45)._onInput()&&r),r},null,null)),mi(40,16384,null,0,ny,[gn,dn,[2,ty]],null,null),vi(1024,null,$v,function(e){return[e]},[ny]),mi(42,671744,null,0,lb,[[3,iy],[8,null],[8,null],[6,$v],[2,nb]],{name:[0,"name"]},null),vi(2048,null,sy,null,[lb]),mi(44,16384,null,0,ly,[[4,sy]],null,null),mi(45,999424,null,0,sS,[dn,kc,[6,sy],[2,Yy],[2,ib],vh,[8,null],nS,uo],{placeholder:[0,"placeholder"]},null),vi(2048,[[2,4],[3,4]],mb,null,[sS]),(e()(),Qo(47,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),Qo(48,0,null,null,2,"button",[["color","secondary"],["mat-stroked-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,hS,pS)),mi(49,180224,null,0,cS,[dn,lh,[2,Fw]],{color:[0,"color"]},null),(e()(),as(-1,0,["Create Room"]))],function(e,t){var n=t.component,r=e(t,6,0,"");e(t,5,0,r),e(t,22,0,n.roomForm),e(t,26,0,"outline"),e(t,42,0,"roomName"),e(t,45,0,"Openvidu_call_room"),e(t,49,0,"secondary")},function(e,t){var n=t.component;e(t,1,0,ni(t,2)._toolbarRows.length>0,0===ni(t,2)._toolbarRows.length),e(t,4,0,ni(t,5).target,ni(t,5).href),e(t,10,0,n.version),e(t,20,0,ni(t,24).ngClassUntouched,ni(t,24).ngClassTouched,ni(t,24).ngClassPristine,ni(t,24).ngClassDirty,ni(t,24).ngClassValid,ni(t,24).ngClassInvalid,ni(t,24).ngClassPending),e(t,25,1,["standard"==ni(t,26).appearance,"fill"==ni(t,26).appearance,"outline"==ni(t,26).appearance,"legacy"==ni(t,26).appearance,ni(t,26)._control.errorState,ni(t,26)._canLabelFloat,ni(t,26)._shouldLabelFloat(),ni(t,26)._hasFloatingLabel(),ni(t,26)._hideControlPlaceholder(),ni(t,26)._control.disabled,ni(t,26)._control.autofilled,ni(t,26)._control.focused,"accent"==ni(t,26).color,"warn"==ni(t,26).color,ni(t,26)._shouldForward("untouched"),ni(t,26)._shouldForward("touched"),ni(t,26)._shouldForward("pristine"),ni(t,26)._shouldForward("dirty"),ni(t,26)._shouldForward("valid"),ni(t,26)._shouldForward("invalid"),ni(t,26)._shouldForward("pending"),!ni(t,26)._animationsEnabled]),e(t,39,1,[ni(t,44).ngClassUntouched,ni(t,44).ngClassTouched,ni(t,44).ngClassPristine,ni(t,44).ngClassDirty,ni(t,44).ngClassValid,ni(t,44).ngClassInvalid,ni(t,44).ngClassPending,ni(t,45)._isServer,ni(t,45).id,ni(t,45).placeholder,ni(t,45).disabled,ni(t,45).required,ni(t,45).readonly&&!ni(t,45)._isNativeSelect||null,ni(t,45)._ariaDescribedby||null,ni(t,45).errorState,ni(t,45).required.toString()]),e(t,48,0,ni(t,49).disabled||null,"NoopAnimations"===ni(t,49)._animationMode)})}function vS(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-dashboard",[],null,null,null,gS,mS)),mi(1,114688,null,0,fS,[uv,cb],null,null)],function(e,t){e(t,1,0)},null)}var yS=Wr("app-dashboard",fS,vS,{},{},[]),bS=function(){function e(){this.nickname="",this.cancel=new Ri,this.openviduExtensionUrl="https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold"}return e.prototype.ngOnInit=function(){},e.prototype.onNoClick=function(){this.cancel.emit()},e.prototype.goToChromePage=function(){window.open(this.openviduExtensionUrl),this.isInstalled=!0},e.prototype.refreshBrowser=function(){window.location.reload()},e}(),_S=rr({encapsulation:0,styles:[["#dialogExtension[_ngcontent-%COMP%]{position:absolute;z-index:99999999999999;width:100%;height:100%}#dialogExtension[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%]{position:absolute;z-index:99999999999999;top:0;bottom:0;left:0;right:0;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content;margin:auto}"]],data:{}});function wS(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.refreshBrowser()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),as(-1,0,["Refresh"]))],null,function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode)})}function SS(e){return cs(0,[(e()(),Qo(0,0,null,null,21,"div",[["id","dialogExtension"]],null,null,null,null,null)),(e()(),Qo(1,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,Kv,Zv)),mi(2,49152,null,0,Qv,[],null,null),(e()(),Qo(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),mi(4,16384,null,0,Hv,[],null,null),(e()(),Qo(5,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),mi(6,81920,null,0,Ed,[[2,yd],dn,Cd],null,null),(e()(),as(7,null,["Hello ",""])),(e()(),Qo(8,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),mi(9,16384,null,0,kd,[],null,null),(e()(),Qo(10,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),as(-1,null,["You need install this chrome extension and refresh the browser for can share your screen."])),(e()(),Qo(12,0,null,0,9,"mat-card-actions",[["align","center"],["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),mi(13,16384,null,0,Gv,[],{align:[0,"align"]},null),(e()(),Qo(14,0,null,null,2,"button",[["id","cancelButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.onNoClick()&&r),r},hS,pS)),mi(15,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),as(-1,0,["Cancel"])),(e()(),Qo(17,0,null,null,2,"button",[["cdkFocusInitial",""],["id","installButton"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.goToChromePage()&&r),r},hS,pS)),mi(18,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),as(-1,0,["Install"])),(e()(),Go(16777216,null,null,1,null,wS)),mi(21,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,6,0),e(t,13,0,"center"),e(t,21,0,n.isInstalled)},function(e,t){var n=t.component;e(t,5,0,ni(t,6).id),e(t,7,0,n.nickname),e(t,12,0,"end"===ni(t,13).align),e(t,14,0,ni(t,15).disabled||null,"NoopAnimations"===ni(t,15)._animationMode),e(t,17,0,ni(t,18).disabled||null,"NoopAnimations"===ni(t,18)._animationMode)})}var CS=[".nickname[_ngcontent-%COMP%]{padding:5px!important;position:absolute;z-index:999;border-radius:5px;color:#313131;font-family:Ubuntu,sans-serif}#dialogNickname[_ngcontent-%COMP%]{background-color:#fffffffb;border-radius:8px}#closeButton[_ngcontent-%COMP%]{position:absolute;top:-3px;right:0;z-index:999}#nicknameForm[_ngcontent-%COMP%]{padding:10px}.fullscreen[_ngcontent-%COMP%]{top:40px}mat-error[_ngcontent-%COMP%]{text-align:center;color:#353535}video[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;height:100%;color:#fff;margin:0;padding:0;border:0;font-size:100%}.statusIcons[_ngcontent-%COMP%]{bottom:0;left:5px;width:40px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;position:absolute;color:#fff}.statusIcons[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{padding:8px}#camStatus[_ngcontent-%COMP%]{bottom:43px}#statusCam[_ngcontent-%COMP%], #statusMic[_ngcontent-%COMP%]{border-radius:50%;background:#c71100;margin:5px 0}.streamButtons[_ngcontent-%COMP%]{position:absolute;z-index:1000;background-color:#000000c4;right:1px}#fullscreenButton[_ngcontent-%COMP%]{bottom:1px}#volumeButton[_ngcontent-%COMP%]{bottom:45px}.OT_widget-container[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;overflow:hidden} .mat-form-field-appearance-legacy .mat-form-field-label{color:#696969} .mat-form-field-appearance-legacy .mat-form-field-underline{background-color:#444!important} .mat-form-field.mat-focused .mat-form-field-ripple{background-color:#696969!important}"],xS=function(){function e(){}return e.prototype.ngAfterViewInit=function(){this._streamManager&&this._streamManager.addVideoElement(this.elementRef.nativeElement)},Object.defineProperty(e.prototype,"streamManager",{set:function(e){this._streamManager=e,this.elementRef&&this._streamManager&&("SCREEN"===this._streamManager.stream.typeOfVideo?(this.elementRef.nativeElement.style.objectFit="contain",this.elementRef.nativeElement.style.background="#878787"):this.elementRef.nativeElement.style.objectFit="cover",this._streamManager.addVideoElement(this.elementRef.nativeElement))},enumerable:!0,configurable:!0}),e}(),ES=rr({encapsulation:0,styles:[CS],data:{}});function kS(e){return cs(0,[Jo(671088640,1,{elementRef:0}),(e()(),Qo(1,0,[[1,0],["videoElement",1]],null,0,"video",[],[[1,"id",0],[8,"muted",0]],null,null,null,null))],null,function(e,t){var n=t.component;e(t,1,0,n.streamManager&&n._streamManager.stream?"video-"+n._streamManager.stream.streamId:"video-undefined",n.mutedSound)})}var OS=100,TS=hh(function(){return function(e){this._elementRef=e}}(),"primary"),IS=new Ve("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:OS}}}),AS=function(e){function t(t,n,r,i,o){var s=e.call(this,t,n,r,i,o)||this;return s.mode="indeterminate",s}return i(t,e),t}(function(e){function t(n,r,i,o,s){var a=e.call(this,n)||this;a._elementRef=n,a._document=i,a._value=0,a._fallbackAnimation=!1,a._diameter=OS,a.mode="determinate";var l=t._diameters;return l.has(i.head)||l.set(i.head,new Set([OS])),a._styleRoot=function(e,t){if("undefined"!=typeof window){var n=t.head;if(n&&(n.createShadowRoot||n.attachShadow)){var r=e.getRootNode?e.getRootNode():null;if(r instanceof window.ShadowRoot)return r}}return null}(n.nativeElement,i)||i.head,a._fallbackAnimation=r.EDGE||r.TRIDENT,a._noopAnimations="NoopAnimations"===o&&!!s&&!s._forceAnimations,s&&(s.diameter&&(a.diameter=s.diameter),s.strokeWidth&&(a.strokeWidth=s.strokeWidth)),n.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(a._fallbackAnimation?"-fallback":"")+"-animation"),a}return i(t,e),Object.defineProperty(t.prototype,"diameter",{get:function(){return this._diameter},set:function(e){if(this._diameter=Ku(e),!this._fallbackAnimation){var n=t._diameters.get(this._styleRoot);n&&n.has(this._diameter)||this._attachStyleNode()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=Ku(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,Ku(e)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_viewBox",{get:function(){var e=2*this._circleRadius+this.strokeWidth;return"0 0 "+e+" "+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(t.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(t.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),t.prototype._attachStyleNode=function(){var e=this._document.createElement("style"),n=this._styleRoot,r=this._diameter,i=t._diameters,o=i.get(n);e.setAttribute("mat-spinner-animation",r+""),e.textContent=this._getAnimationText(),n.appendChild(e),o||(o=new Set,i.set(n,o)),o.add(r)},t.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)},t._diameters=new WeakMap,t}(TS)),PS=function(){return function(){}}(),MS=rr({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 RS(e){return cs(0,[(e()(),Qo(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(e,t){var n=t.component;e(t,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function jS(e){return cs(0,[(e()(),Qo(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(e,t){var n=t.component;e(t,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function NS(e){return cs(2,[(e()(),Qo(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)),mi(1,16384,null,0,ol,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Go(16777216,null,null,1,null,RS)),mi(3,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Go(16777216,null,null,1,null,jS)),mi(5,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){e(t,1,0,"indeterminate"===t.component.mode),e(t,3,0,!0),e(t,5,0,!1)},function(e,t){var n=t.component;e(t,0,0,n.diameter,n.diameter,n._viewBox)})}function DS(e){return Error('Unable to find icon with the name "'+e+'"')}function LS(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+e+'".')}function zS(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+e+'".')}var VS=function(){return function(e){e.nodeName?this.svgElement=e:this.url=e}}(),FS=function(){function e(e,t,n){this._httpClient=e,this._sanitizer=t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=n}return e.prototype.addSvgIcon=function(e,t){return this.addSvgIconInNamespace("",e,t)},e.prototype.addSvgIconLiteral=function(e,t){return this.addSvgIconLiteralInNamespace("",e,t)},e.prototype.addSvgIconInNamespace=function(e,t,n){return this._addSvgIconConfig(e,t,new VS(n))},e.prototype.addSvgIconLiteralInNamespace=function(e,t,n){var r=this._sanitizer.sanitize(Dt.HTML,n);if(!r)throw zS(n);var i=this._createSvgElementForSingleIcon(r);return this._addSvgIconConfig(e,t,new VS(i))},e.prototype.addSvgIconSet=function(e){return this.addSvgIconSetInNamespace("",e)},e.prototype.addSvgIconSetLiteral=function(e){return this.addSvgIconSetLiteralInNamespace("",e)},e.prototype.addSvgIconSetInNamespace=function(e,t){return this._addSvgIconSetConfig(e,new VS(t))},e.prototype.addSvgIconSetLiteralInNamespace=function(e,t){var n=this._sanitizer.sanitize(Dt.HTML,t);if(!n)throw zS(t);var r=this._svgElementFromString(n);return this._addSvgIconSetConfig(e,new VS(r))},e.prototype.registerFontClassAlias=function(e,t){return void 0===t&&(t=e),this._fontCssClassesByAlias.set(e,t),this},e.prototype.classNameForFontAlias=function(e){return this._fontCssClassesByAlias.get(e)||e},e.prototype.setDefaultFontSetClass=function(e){return this._defaultFontSetClass=e,this},e.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},e.prototype.getSvgIconFromUrl=function(e){var t=this,n=this._sanitizer.sanitize(Dt.RESOURCE_URL,e);if(!n)throw LS(e);var r=this._cachedIconsByUrl.get(n);return r?Ta(US(r)):this._loadSvgIconFromConfig(new VS(e)).pipe(Lp(function(e){return t._cachedIconsByUrl.set(n,e)}),Q(function(e){return US(e)}))},e.prototype.getNamedSvgIcon=function(e,t){void 0===t&&(t="");var n=BS(t,e),r=this._svgIconConfigs.get(n);if(r)return this._getSvgFromConfig(r);var i=this._iconSetConfigs.get(t);return i?this._getSvgFromIconSetConfigs(e,i):tu(DS(n))},e.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},e.prototype._getSvgFromConfig=function(e){return e.svgElement?Ta(US(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(Lp(function(t){return e.svgElement=t}),Q(function(e){return US(e)}))},e.prototype._getSvgFromIconSetConfigs=function(e,t){var n=this,r=this._extractIconWithNameFromAnySet(e,t);return r?Ta(r):Xv(t.filter(function(e){return!e.svgElement}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(ru(function(t){var r=n._sanitizer.sanitize(Dt.RESOURCE_URL,e.url);return console.error("Loading icon set URL: "+r+" failed: "+t.message),Ta(null)}))})).pipe(Q(function(){var r=n._extractIconWithNameFromAnySet(e,t);if(!r)throw DS(e);return r}))},e.prototype._extractIconWithNameFromAnySet=function(e,t){for(var n=t.length-1;n>=0;n--){var r=t[n];if(r.svgElement){var i=this._extractSvgIconFromSet(r.svgElement,e);if(i)return i}}return null},e.prototype._loadSvgIconFromConfig=function(e){var t=this;return this._fetchUrl(e.url).pipe(Q(function(e){return t._createSvgElementForSingleIcon(e)}))},e.prototype._loadSvgIconSetFromConfig=function(e){var t=this;return e.svgElement?Ta(e.svgElement):this._fetchUrl(e.url).pipe(Q(function(n){return e.svgElement||(e.svgElement=t._svgElementFromString(n)),e.svgElement}))},e.prototype._createSvgElementForSingleIcon=function(e){var t=this._svgElementFromString(e);return this._setSvgAttributes(t),t},e.prototype._extractSvgIconFromSet=function(e,t){var n=e.querySelector('[id="'+t+'"]');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("<svg></svg>");return i.appendChild(r),this._setSvgAttributes(i)},e.prototype._svgElementFromString=function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n},e.prototype._toSvgElement=function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=0;n<e.childNodes.length;n++)e.childNodes[n].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[n].cloneNode(!0));return t},e.prototype._setSvgAttributes=function(e){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),e},e.prototype._fetchUrl=function(e){var t=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==e)throw Error('Cannot fetch icon from URL "'+e+'".');var n=this._sanitizer.sanitize(Dt.RESOURCE_URL,e);if(!n)throw LS(e);var r=this._inProgressUrlFetches.get(n);if(r)return r;var i=this._httpClient.get(n,{responseType:"text"}).pipe(Bf(function(){return t._inProgressUrlFetches.delete(n)}),he());return this._inProgressUrlFetches.set(n,i),i},e.prototype._addSvgIconConfig=function(e,t,n){return this._svgIconConfigs.set(BS(e,t),n),this},e.prototype._addSvgIconSetConfig=function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this},e.ngInjectableDef=Ee({factory:function(){return new e(Le(Vl,8),Le(kp),Le(gl,8))},token:e,providedIn:"root"}),e}();function US(e){return e.cloneNode(!0)}function BS(e,t){return e+":"+t}var qS=hh(function(){return function(e){this._elementRef=e}}()),HS=new Ve("mat-icon-location",{providedIn:"root",factory:function(){var e=ze(gl),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),WS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],GS=WS.map(function(e){return"["+e+"]"}).join(", "),QS=/^url\(['"]?#(.*?)['"]?\)$/,YS=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._iconRegistry=n,o._location=i,o._inline=!1,r||t.nativeElement.setAttribute("aria-hidden","true"),o}return i(t,e),Object.defineProperty(t.prototype,"inline",{get:function(){return this._inline},set:function(e){this._inline=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontSet",{get:function(){return this._fontSet},set:function(e){this._fontSet=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(e){this._fontIcon=this._cleanupFontValue(e)},enumerable:!0,configurable:!0}),t.prototype._splitIconName=function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'+e+'"')}},t.prototype.ngOnChanges=function(e){var t=this,n=e.svgIcon;if(n)if(this.svgIcon){var r=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(r[1],r[0]).pipe(Fu(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){return console.log("Error retrieving icon: "+e.message)})}else n.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},t.prototype.ngAfterViewChecked=function(){var e=this._elementsWithExternalReferences;if(e&&this._location&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}},t.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},t.prototype._usingFontIcon=function(){return!this.svgIcon},t.prototype._setSvgElement=function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";if(this._location){var r=this._location.getPathname();this._previousPath=r,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(r)}this._elementRef.nativeElement.appendChild(e)},t.prototype._clearSvgElement=function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}},t.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},t.prototype._cleanupFontValue=function(e){return"string"==typeof e?e.trim().split(" ")[0]:e},t.prototype._prependPathToReferences=function(e){var t=this._elementsWithExternalReferences;t&&t.forEach(function(t,n){t.forEach(function(t){n.setAttribute(t.name,"url('"+e+"#"+t.value+"')")})})},t.prototype._cacheChildrenWithExternalReferences=function(e){for(var t=e.querySelectorAll(GS),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,r=function(e){WS.forEach(function(r){var i=t[e],o=i.getAttribute(r),s=o?o.match(QS):null;if(s){var a=n.get(i);a||n.set(i,a=[]),a.push({name:r,value:s[1]})}})},i=0;i<t.length;i++)r(i)},t}(qS),ZS=function(){return function(){}}(),KS=rr({encapsulation:2,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],data:{}});function XS(e){return cs(2,[rs(null,0)],null,null)}var JS=rr({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function $S(e){return cs(0,[(e()(),Qo(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,nC,tC)),mi(1,49152,null,0,Mh,[[2,Fw]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(e,t){var n=t.component;e(t,1,0,n.selected?"checked":"",n.disabled)},function(e,t){e(t,0,0,"indeterminate"===ni(t,1).state,"checked"===ni(t,1).state,ni(t,1).disabled,"NoopAnimations"===ni(t,1)._animationMode)})}function eC(e){return cs(2,[(e()(),Go(16777216,null,null,1,null,$S)),mi(1,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),rs(null,0),(e()(),Qo(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),mi(5,212992,null,0,Ah,[dn,uo,kc,[2,Ih],[2,Fw]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(e,t){var n=t.component;e(t,1,0,n.multiple),e(t,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(e,t){e(t,4,0,ni(t,5).unbounded)})}var tC=rr({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function nC(e){return cs(2,[],null,null)}var rC=function(){return function(){}}(),iC=function(){function e(e,t,n,r,i){void 0===e&&(e=!1),void 0===t&&(t="all"),void 0===n&&(n=""),void 0===r&&(r=""),void 0===i&&(i=0),this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=r,this.priority=i,this.property=""}return e.prototype.clone=function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},e}(),oC=function(){function e(){this.stylesheet=new Map}return e.prototype.addStyleToElement=function(e,t,n){var r=this.stylesheet.get(e);r?r.set(t,n):this.stylesheet.set(e,new Map([[t,n]]))},e.prototype.clearStyles=function(){this.stylesheet.clear()},e.prototype.getStyleForElement=function(e,t){var n=this.stylesheet.get(e),r="";if(n){var i=n.get(t);"number"!=typeof i&&"string"!=typeof i||(r=i+"")}return r},e.ngInjectableDef=Ee({factory:function(){return new e},token:e,providedIn:"root"}),e}(),sC={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[]},aC=new Ve("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return sC}}),lC=new Ve("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),uC=new Ve("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function cC(e,t){return e=e?e.clone():new iC,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var dC=["row","column","row-reverse","column-reverse"];function pC(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var hC=function(){function e(e,t,n,r){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=r,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new N,this.styleCache=new Map}return Object.defineProperty(e.prototype,"parentElement",{get:function(){return this.elementRef.nativeElement.parentElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elementRef.nativeElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activatedValue",{get:function(){return this.marshal.getValue(this.nativeElement,this.DIRECTIVE_KEY)},set:function(e){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,this.marshal.activatedAlias)},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(e){var t=this;Object.keys(e).forEach(function(n){if(-1!==t.inputs.indexOf(n)){var r=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,r)}})},e.prototype.ngOnDestroy=function(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)},e.prototype.init=function(e){void 0===e&&(e=[]),this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),e)},e.prototype.addStyles=function(e,t){var n=this.styleBuilder,r=n.shouldCache,i=this.styleCache.get(e);i&&r||(i=n.buildStyles(e,t),r&&this.styleCache.set(e,i)),this.mru=o({},i),this.applyStyleToElement(i),n.sideEffect(e,i,t)},e.prototype.clearStyles=function(){var e=this;Object.keys(this.mru).forEach(function(t){e.mru[t]=""}),this.applyStyleToElement(this.mru),this.mru={}},e.prototype.triggerUpdate=function(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)},e.prototype.getFlexFlowDirection=function(e,t){if(void 0===t&&(t=!1),e){var n=this.styler.getFlowDirection(e),r=n[0];if(!n[1]&&t){var i=function(e){var t,n,r=function(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],r=t[1],i=t[2];return dC.find(function(e){return e===n})||(n=dC[0]),"inline"===r&&(r="inline"!==i?i:"",i="inline"),[n,pC(r),!!i]}(e);return void 0===(t=r[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null}}(r);this.styler.applyStyleToElements(i,[e])}return r.trim()}return"row"},e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=this.nativeElement),this.styler.applyStyleToElement(n,e,t)},e.prototype.setValue=function(e,t){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,e,t)},e.prototype.updateWithValue=function(e){this.addStyles(e)},e}(),fC=[{alias:"xs",mediaQuery:"screen and (min-width: 0px) and (max-width: 599.99px)",priority:1e3},{alias:"sm",mediaQuery:"screen and (min-width: 600px) and (max-width: 959.99px)",priority:900},{alias:"md",mediaQuery:"screen and (min-width: 960px) and (max-width: 1279.99px)",priority:800},{alias:"lg",mediaQuery:"screen and (min-width: 1280px) and (max-width: 1919.99px)",priority:700},{alias:"xl",mediaQuery:"screen and (min-width: 1920px) and (max-width: 4999.99px)",priority:600},{alias:"lt-sm",overlapping:!0,mediaQuery:"screen and (max-width: 599.99px)",priority:950},{alias:"lt-md",overlapping:!0,mediaQuery:"screen and (max-width: 959.99px)",priority:850},{alias:"lt-lg",overlapping:!0,mediaQuery:"screen and (max-width: 1279.99px)",priority:750},{alias:"lt-xl",overlapping:!0,priority:650,mediaQuery:"screen and (max-width: 1919.99px)"},{alias:"gt-xs",overlapping:!0,mediaQuery:"screen and (min-width: 600px)",priority:-950},{alias:"gt-sm",overlapping:!0,mediaQuery:"screen and (min-width: 960px)",priority:-850},{alias:"gt-md",overlapping:!0,mediaQuery:"screen and (min-width: 1280px)",priority:-750},{alias:"gt-lg",overlapping:!0,mediaQuery:"screen and (min-width: 1920px)",priority:-650}],mC="(orientation: portrait) and (max-width: 599.99px)",gC="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",vC="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",yC="(orientation: portrait) and (min-width: 840px)",bC="(orientation: landscape) and (min-width: 1280px)",_C={HANDSET:mC+", (orientation: landscape) and (max-width: 959.99px)",TABLET:gC+" , "+vC,WEB:yC+", "+bC+" ",HANDSET_PORTRAIT:""+mC,TABLET_PORTRAIT:gC+" ",WEB_PORTRAIT:""+yC,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:""+vC,WEB_LANDSCAPE:""+bC},wC=[{alias:"handset",priority:2e3,mediaQuery:_C.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:_C.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:_C.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:_C.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:_C.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:_C.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:_C.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:_C.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:_C.WEB_PORTRAIT,overlapping:!0}],SC=/(\.|-|_)/g;function CC(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var xC=new Ve("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=ze(uC),t=ze(aC),n=[].concat.apply([],(e||[]).map(function(e){return Array.isArray(e)?e:[e]}));return function(e,t){void 0===t&&(t=[]);var n,r={};return e.forEach(function(e){r[e.alias]=e}),t.forEach(function(e){r[e.alias]?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var r=0,i=t;r<i.length;r++){var o=i[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}}(r[e.alias],e):r[e.alias]=e}),(n=Object.keys(r).map(function(e){return r[e]})).forEach(function(e){e.suffix||(e.suffix=e.alias.replace(SC,"|").split("|").map(CC).join(""),e.overlapping=!!e.overlapping)}),n}((t.disableDefaultBps?[]:fC).concat(t.addOrientationBps?wC:[]),n)}});function EC(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function kC(e,t){return(e.priority||0)-(t.priority||0)}var OC=function(){function e(e){this.findByMap=new Map,this.items=e.slice().sort(kC)}return e.prototype.findByAlias=function(e){return e?this.findWithPredicate(e,function(t){return t.alias==e}):null},e.prototype.findByQuery=function(e){return this.findWithPredicate(e,function(t){return t.mediaQuery==e})},Object.defineProperty(e.prototype,"overlappings",{get:function(){return this.items.filter(function(e){return 1==e.overlapping})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"aliases",{get:function(){return this.items.map(function(e){return e.alias})},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"suffixes",{get:function(){return this.items.map(function(e){return e.suffix?e.suffix:""})},enumerable:!0,configurable:!0}),e.prototype.findWithPredicate=function(e,t){var n=this.findByMap.get(e);return n||(n=this.items.find(t)||null,this.findByMap.set(e,n)),n||null},e.ngInjectableDef=Ee({factory:function(){return new e(Le(xC))},token:e,providedIn:"root"}),e}(),TC=function(){function e(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Sf(new iC(!0)),this.registry=new Map,this._observable$=this.source.asObservable()}return Object.defineProperty(e.prototype,"activations",{get:function(){var e=[];return this.registry.forEach(function(t,n){t.matches&&e.push(n)}),e},enumerable:!0,configurable:!0}),e.prototype.isActive=function(e){var t=this.registry.get(e);return!!t&&t.matches},e.prototype.observe=function(e,t){var n=this;if(void 0===t&&(t=!1),e&&e.length){var r=this._observable$.pipe(Aa(function(n){return!t||e.indexOf(n.mediaQuery)>-1}));return oe(new I(function(t){var r=n.registerQuery(e);if(r.length){var i=r.pop();r.forEach(function(e){t.next(e)}),n.source.next(i)}t.complete()}),r)}return this._observable$},e.prototype.registerQuery=function(e){var t=this,n=Array.isArray(e)?e:[e],r=[];return function(e,t){var n=e.filter(function(e){return!IC[e]});if(n.length>0){var r=n.join(", ");try{var i=t.createElement("style");i.setAttribute("type","text/css"),i.styleSheet||i.appendChild(t.createTextNode("\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media "+r+" {.fx-query-test{ }}\n")),t.head.appendChild(i),n.forEach(function(e){return IC[e]=i})}catch(o){console.error(o)}}}(n,this._document),n.forEach(function(e){var n=t.registry.get(e);n||((n=t.buildMQL(e)).addListener(function(n){t._zone.run(function(){return t.source.next(new iC(n.matches,e))})}),t.registry.set(e,n)),n.matches&&r.push(new iC(!0,e))}),r},e.prototype.buildMQL=function(e){return function(e,t){return t&&window.matchMedia("all").addListener?window.matchMedia(e):{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}(e,bl(this._platformId))},e.ngInjectableDef=Ee({factory:function(){return new e(Le(uo),Le(Hi),Le(gl))},token:e,providedIn:"root"}),e}(),IC={},AC={alias:"print",mediaQuery:"print",priority:1e3},PC=function(){function e(e,t){this.breakpoints=e,this.layoutConfig=t,this.isPrinting=!1,this.queue=new MC,this.deactivations=[]}return e.prototype.withPrintQuery=function(e){return e.concat(["print"])},e.prototype.isPrintEvent=function(e){return e.mediaQuery.startsWith("print")},Object.defineProperty(e.prototype,"printAlias",{get:function(){return this.layoutConfig.printWithBreakpoints||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"printBreakPoints",{get:function(){var e=this;return this.printAlias.map(function(t){return e.breakpoints.findByAlias(t)}).filter(function(e){return null!==e})},enumerable:!0,configurable:!0}),e.prototype.getEventBreakpoints=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return(t?this.printBreakPoints.concat([t]):this.printBreakPoints).sort(EC)},e.prototype.updateEvent=function(e){var t=this.breakpoints.findByQuery(e.mediaQuery);return this.isPrintEvent(e)&&(t=this.getEventBreakpoints(e)[0],e.mediaQuery=t?t.mediaQuery:""),cC(e,t)},e.prototype.interceptEvents=function(e){var t=this;return function(n){t.isPrintEvent(n)?n.matches&&!t.isPrinting?(t.startPrinting(e,t.getEventBreakpoints(n)),e.updateStyles()):!n.matches&&t.isPrinting&&(t.stopPrinting(e),e.updateStyles()):t.collectActivations(n)}},e.prototype.blockPropagation=function(){var e=this;return function(t){return!(e.isPrinting||e.isPrintEvent(t))}},e.prototype.startPrinting=function(e,t){this.isPrinting=!0,e.activatedBreakpoints=this.queue.addPrintBreakpoints(t)},e.prototype.stopPrinting=function(e){e.activatedBreakpoints=this.deactivations,this.deactivations=[],this.queue.clear(),this.isPrinting=!1},e.prototype.collectActivations=function(e){if(!this.isPrinting)if(e.matches)this.deactivations=[];else{var t=this.breakpoints.findByQuery(e.mediaQuery);t&&(this.deactivations.push(t),this.deactivations.sort(EC))}},e.ngInjectableDef=Ee({factory:function(){return new e(Le(OC),Le(aC))},token:e,providedIn:"root"}),e}(),MC=function(){function e(){this.printBreakpoints=[]}return e.prototype.addPrintBreakpoints=function(e){var t=this;return e.push(AC),e.sort(EC),e.forEach(function(e){return t.addBreakpoint(e)}),this.printBreakpoints},e.prototype.addBreakpoint=function(e){e&&void 0===this.printBreakpoints.find(function(t){return t.mediaQuery===e.mediaQuery})&&(this.printBreakpoints=function(e){return!!e&&e.mediaQuery.startsWith("print")}(e)?[e].concat(this.printBreakpoints):this.printBreakpoints.concat([e]))},e.prototype.clear=function(){this.printBreakpoints=[]},e}();function RC(e){for(var t in e){var n=e[t]||"";switch(t){case"display":e.display="flex"===n?["-webkit-flex","flex"]:"inline-flex"===n?["-webkit-inline-flex","inline-flex"]:n;break;case"align-items":case"align-self":case"align-content":case"flex":case"flex-basis":case"flex-flow":case"flex-grow":case"flex-shrink":case"flex-wrap":case"justify-content":e["-webkit-"+t]=n;break;case"flex-direction":e["-webkit-flex-direction"]=n=n||"row",e["flex-direction"]=n;break;case"order":e.order=e["-webkit-"+t]=isNaN(+n)?"0":n}}return e}var jC=function(){function e(e,t,n,r){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=r}return e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=null);var r={};"string"==typeof t&&(r[t]=n,t=r),r=this.layoutConfig.disableVendorPrefixes?t:RC(t),this._applyMultiValueStyleToElement(r,e)},e.prototype.applyStyleToElements=function(e,t){var n=this;void 0===t&&(t=[]);var r=this.layoutConfig.disableVendorPrefixes?e:RC(e);t.forEach(function(e){n._applyMultiValueStyleToElement(r,e)})},e.prototype.getFlowDirection=function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||_l(this._platformId)&&this._serverModuleLoaded?t:""]},e.prototype.lookupAttributeValue=function(e,t){return e.getAttribute(t)||""},e.prototype.lookupInlineStyle=function(e,t){return bl(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)},e.prototype.lookupStyle=function(e,t,n){void 0===n&&(n=!1);var r="";return e&&((r=this.lookupInlineStyle(e,t))||(bl(this._platformId)?n||(r=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(r=this._serverStylesheet.getStyleForElement(e,t)))),r?r.trim():""},e.prototype._applyMultiValueStyleToElement=function(e,t){var n=this;Object.keys(e).sort().forEach(function(r){var i=e[r],o=Array.isArray(i)?i:[i];o.sort();for(var s=0,a=o;s<a.length;s++){var l=a[s];l=l?l+"":"",bl(n._platformId)||!n._serverModuleLoaded?bl(n._platformId)?t.style.setProperty(r,l):n._setServerStyle(t,r,l):n._serverStylesheet.addStyleToElement(t,r,l)}})},e.prototype._setServerStyle=function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var r=this._readStyleAttribute(e);r[t]=n||"",this._writeStyleAttribute(e,r)},e.prototype._getServerStyle=function(e,t){return this._readStyleAttribute(e)[t]||""},e.prototype._readStyleAttribute=function(e){var t={},n=e.getAttribute("style");if(n)for(var r=n.split(/;+/g),i=0;i<r.length;i++){var o=r[i].trim();if(o.length>0){var s=o.indexOf(":");if(-1===s)throw new Error("Invalid CSS style: "+o);t[o.substr(0,s).trim()]=o.substr(s+1).trim()}}return t},e.prototype._writeStyleAttribute=function(e,t){var n="";for(var r in t)t[r]&&(n+=r+":"+t[r]+";");e.setAttribute("style",n)},e.ngInjectableDef=Ee({factory:function(){return new e(Le(oC,8),Le(lC,8),Le(Hi),Le(aC))},token:e,providedIn:"root"}),e}(),NC=function(){function e(){this.shouldCache=!0}return e.prototype.sideEffect=function(e,t,n){},e}();function DC(e,t,n){void 0===t&&(t="1"),void 0===n&&(n="1");var r=[t,n,e],i=e.indexOf("calc");if(i>0)r[2]=LC(e.substring(i).trim()),2==(o=e.substr(0,i).trim().split(" ")).length&&(r[0]=o[0],r[1]=o[1]);else if(0==i)r[2]=LC(e.trim());else{var o;r=3===(o=e.split(" ")).length?o:[t,n,e]}return r}function LC(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var zC=function(){function e(e,t,n){this.matchMedia=e,this.breakpoints=t,this.hook=n,this.activatedBreakpoints=[],this.elementMap=new Map,this.elementKeyMap=new WeakMap,this.watcherMap=new WeakMap,this.updateMap=new WeakMap,this.clearMap=new WeakMap,this.subject=new N,this.observeActivations()}return Object.defineProperty(e.prototype,"activatedAlias",{get:function(){return this.activatedBreakpoints[0]?this.activatedBreakpoints[0].alias:""},enumerable:!0,configurable:!0}),e.prototype.onMediaChange=function(e){var t=this.findByQuery(e.mediaQuery);t&&((e=cC(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(EC),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(EC),this.updateStyles()))},e.prototype.init=function(e,t,n,r,i){void 0===i&&(i=[]),VC(this.updateMap,e,t,n),VC(this.clearMap,e,t,r),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,i)},e.prototype.getValue=function(e,t,n){var r=this.elementMap.get(e);if(r){var i=void 0!==n?r.get(n):this.getActivatedValues(r,t);if(i)return i.get(t)}},e.prototype.hasValue=function(e,t){var n=this.elementMap.get(e);if(n){var r=this.getActivatedValues(n,t);if(r)return void 0!==r.get(t)||!1}return!1},e.prototype.setValue=function(e,t,n,r){var i=this.elementMap.get(e);if(i){var o=(i.get(r)||new Map).set(t,n);i.set(r,o),this.elementMap.set(e,i)}else i=(new Map).set(r,(new Map).set(t,n)),this.elementMap.set(e,i);var s=this.getValue(e,t);void 0!==s&&this.updateElement(e,t,s)},e.prototype.trackValue=function(e,t){return this.subject.asObservable().pipe(Aa(function(n){return n.element===e&&n.key===t}))},e.prototype.updateStyles=function(){var e=this;this.elementMap.forEach(function(t,n){var r=new Set(e.elementKeyMap.get(n)),i=e.getActivatedValues(t);i&&i.forEach(function(t,i){e.updateElement(n,i,t),r.delete(i)}),r.forEach(function(r){if(i=e.getActivatedValues(t,r)){var o=i.get(r);e.updateElement(n,r,o)}else e.clearElement(n,r)})})},e.prototype.clearElement=function(e,t){var n=this.clearMap.get(e);if(n){var r=n.get(t);r&&(r(),this.subject.next({element:e,key:t,value:""}))}},e.prototype.updateElement=function(e,t,n){var r=this.updateMap.get(e);if(r){var i=r.get(t);i&&(i(n),this.subject.next({element:e,key:t,value:n}))}},e.prototype.releaseElement=function(e){var t=this.watcherMap.get(e);t&&(t.forEach(function(e){return e.unsubscribe()}),this.watcherMap.delete(e));var n=this.elementMap.get(e);n&&(n.forEach(function(e,t){return n.delete(t)}),this.elementMap.delete(e))},e.prototype.triggerUpdate=function(e,t){var n=this,r=this.elementMap.get(e);if(r){var i=this.getActivatedValues(r,t);i&&(t?this.updateElement(e,t,i.get(t)):i.forEach(function(t,r){return n.updateElement(e,r,t)}))}},e.prototype.buildElementKeyMap=function(e,t){var n=this.elementKeyMap.get(e);n||(n=new Set,this.elementKeyMap.set(e,n)),n.add(t)},e.prototype.watchExtraTriggers=function(e,t,n){var r=this;if(n&&n.length){var i=this.watcherMap.get(e);if(i||(i=new Map,this.watcherMap.set(e,i)),!i.get(t)){var o=oe.apply(void 0,n).subscribe(function(){var n=r.getValue(e,t);r.updateElement(e,t,n)});i.set(t,o)}}},e.prototype.findByQuery=function(e){return this.breakpoints.findByQuery(e)},e.prototype.getActivatedValues=function(e,t){for(var n=0;n<this.activatedBreakpoints.length;n++){var r=e.get(this.activatedBreakpoints[n].alias);if(r&&(void 0===t||r.has(t)))return r}var i=e.get("");return void 0===t||i&&i.has(t)?i:void 0},e.prototype.observeActivations=function(){var e=this.breakpoints.items.map(function(e){return e.mediaQuery});this.matchMedia.observe(this.hook.withPrintQuery(e)).pipe(Lp(this.hook.interceptEvents(this)),Aa(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))},e.ngInjectableDef=Ee({factory:function(){return new e(Le(TC),Le(OC),Le(PC))},token:e,providedIn:"root"}),e}();function VC(e,t,n,r){if(void 0!==r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)}}var FC="inline",UC=["row","column","row-reverse","column-reverse"];function BC(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],r=t[1],i=t[2];return UC.find(function(e){return e===n})||(n=UC[0]),r===FC&&(r=i!==FC?i:"",i=FC),[n,HC(r),!!i]}function qC(e){return BC(e)[0].indexOf("row")>-1}function HC(e){if(e)switch(e.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":e="wrap-reverse";break;case"no":case"none":case"nowrap":e="nowrap";break;default:e="wrap"}return e}var WC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.buildStyles=function(e){return void 0===(t=(r=BC(e))[1])&&(t=null),void 0===(n=r[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":r[0],"flex-wrap":t||null};var t,n,r},t.ngInjectableDef=Ee({factory:function(){return new t},token:t,providedIn:"root"}),t}(NC),GC=["fxLayout","fxLayout.xs","fxLayout.sm","fxLayout.md","fxLayout.lg","fxLayout.xl","fxLayout.lt-sm","fxLayout.lt-md","fxLayout.lt-lg","fxLayout.lt-xl","fxLayout.gt-xs","fxLayout.gt-sm","fxLayout.gt-md","fxLayout.gt-lg"],QC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=GC,t}return i(t,e),t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout",o.styleCache=YC,o.init(),o}return i(t,e),t}(hC)),YC=new Map;function ZC(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(null==e)throw TypeError("Cannot convert undefined or null to object");for(var r=0,i=t;r<i.length;r++){var o=i[r];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(e[s]=o[s])}return e}var KC=function(e){function t(t){var n=e.call(this)||this;return n.layoutConfig=t,n}return i(t,e),t.prototype.buildStyles=function(e,t){var n=e.split(" "),r=n[0],i=n[1],o=n.slice(2).join(" "),s=t.direction.indexOf("column")>-1?"column":"row",a=qC(s)?"max-width":"max-height",l=qC(s)?"min-width":"min-height",u=String(o).indexOf("calc")>-1,c=u||"auto"===o,d=String(o).indexOf("%")>-1&&!u,p=String(o).indexOf("px")>-1||String(o).indexOf("rem")>-1||String(o).indexOf("em")>-1||String(o).indexOf("vw")>-1||String(o).indexOf("vh")>-1,h=u||p;i="0"==i?0:i;var f=!(r="0"==r?0:r)&&!i,m={},g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===s?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":r=0,o="auto";break;case"grow":o="100%";break;case"noshrink":i=0,o="auto";break;case"auto":break;case"none":r=0,i=0,o="auto";break;default:h||d||isNaN(o)||(o+="%"),"0%"===o&&(h=!0),"0px"===o&&(o="0%"),m=ZC(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":h?o:"100%"}:{flex:r+" "+i+" "+(h?o:"100%")})}return m.flex||m["flex-grow"]||(m=ZC(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(m[l]=f||h&&r?o:null,m[a]=f||!c&&i?o:null),m[l]||m[a]?t.hasWrap&&(m[u?"flex-basis":"flex"]=m[a]?u?m[a]:r+" "+i+" "+m[a]:u?m[l]:r+" "+i+" "+m[l]):m=ZC(g,u?{"flex-grow":r,"flex-shrink":i,"flex-basis":o}:{flex:r+" "+i+" "+o}),ZC(m,{"box-sizing":"border-box"})},t.ngInjectableDef=Ee({factory:function(){return new t(Le(aC))},token:t,providedIn:"root"}),t}(NC),XC=["fxFlex","fxFlex.xs","fxFlex.sm","fxFlex.md","fxFlex.lg","fxFlex.xl","fxFlex.lt-sm","fxFlex.lt-md","fxFlex.lt-lg","fxFlex.lt-xl","fxFlex.gt-xs","fxFlex.gt-sm","fxFlex.gt-md","fxFlex.gt-lg"],JC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=XC,t}return i(t,e),t}(function(e){function t(t,n,r,i,o){var s=e.call(this,t,i,n,o)||this;return s.elRef=t,s.styleUtils=n,s.layoutConfig=r,s.styleBuilder=i,s.marshal=o,s.DIRECTIVE_KEY="flex",s.direction="",s.wrap=!1,s.flexGrow="1",s.flexShrink="1",s.init(),s.parentElement&&(s.marshal.trackValue(s.parentElement,"layout").pipe(vc(s.destroySubject)).subscribe(s.onLayoutChange.bind(s)),s.marshal.trackValue(s.nativeElement,"layout-align").pipe(vc(s.destroySubject)).subscribe(s.triggerReflow.bind(s))),s}return i(t,e),Object.defineProperty(t.prototype,"shrink",{get:function(){return this.flexShrink},set:function(e){this.flexShrink=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"grow",{get:function(){return this.flexGrow},set:function(e){this.flexGrow=e||"1",this.triggerReflow()},enumerable:!0,configurable:!0}),t.prototype.onLayoutChange=function(e){var t=e.value.split(" ");this.direction=t[0],this.wrap=void 0!==t[1]&&"wrap"===t[1],this.triggerUpdate()},t.prototype.updateWithValue=function(e){this.direction||(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent));var t=this.direction,n=t.startsWith("row"),r=this.wrap;n&&r?this.styleCache=tx:n&&!r?this.styleCache=$C:!n&&r?this.styleCache=nx:n||r||(this.styleCache=ex);var i=DC(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(i.join(" "),{direction:t,hasWrap:r})},t.prototype.triggerReflow=function(){var e=this.activatedValue;if(void 0!==e){var t=DC(e,this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}},t}(hC)),$C=new Map,ex=new Map,tx=new Map,nx=new Map,rx={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},ix=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.buildStyles=function(e){return rx},t.ngInjectableDef=Ee({factory:function(){return new t},token:t,providedIn:"root"}),t}(NC),ox=function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.styleCache=sx,o.addStyles(""),o}return i(t,e),t}(hC),sx=new Map,ax=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.buildStyles=function(e,t){var n={},r=e.split(" "),i=r[1];switch(r[0]){case"center":n["justify-content"]="center";break;case"space-around":n["justify-content"]="space-around";break;case"space-between":n["justify-content"]="space-between";break;case"space-evenly":n["justify-content"]="space-evenly";break;case"end":case"flex-end":n["justify-content"]="flex-end";break;case"start":case"flex-start":default:n["justify-content"]="flex-start"}switch(i){case"start":case"flex-start":n["align-items"]=n["align-content"]="flex-start";break;case"center":n["align-items"]=n["align-content"]="center";break;case"end":case"flex-end":n["align-items"]=n["align-content"]="flex-end";break;case"space-between":n["align-content"]="space-between",n["align-items"]="stretch";break;case"space-around":n["align-content"]="space-around",n["align-items"]="stretch";break;case"baseline":n["align-content"]="stretch",n["align-items"]="baseline";break;case"stretch":default:n["align-items"]=n["align-content"]="stretch"}return ZC(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===i?qC(t.layout)?null:"100%":null,"max-height":"stretch"===i&&qC(t.layout)?"100%":null})},t.ngInjectableDef=Ee({factory:function(){return new t},token:t,providedIn:"root"}),t}(NC),lx=["fxLayoutAlign","fxLayoutAlign.xs","fxLayoutAlign.sm","fxLayoutAlign.md","fxLayoutAlign.lg","fxLayoutAlign.xl","fxLayoutAlign.lt-sm","fxLayoutAlign.lt-md","fxLayoutAlign.lt-lg","fxLayoutAlign.lt-xl","fxLayoutAlign.gt-xs","fxLayoutAlign.gt-sm","fxLayoutAlign.gt-md","fxLayoutAlign.gt-lg"],ux=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=lx,t}return i(t,e),t}(function(e){function t(t,n,r,i){var o=e.call(this,t,r,n,i)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=r,o.marshal=i,o.DIRECTIVE_KEY="layout-align",o.layout="row",o.inline=!1,o.init(),o.marshal.trackValue(o.nativeElement,"layout").pipe(vc(o.destroySubject)).subscribe(o.onLayoutChange.bind(o)),o}return i(t,e),t.prototype.updateWithValue=function(e){var t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=fx:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=gx:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=mx:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=vx:"column-reverse"!==t||n||(this.styleCache=hx):this.styleCache=dx:this.styleCache=px:this.styleCache=cx,this.addStyles(e,{layout:t,inline:n})},t.prototype.onLayoutChange=function(e){var t=this,n=e.value.split(" ");this.layout=n[0],this.inline=e.value.includes("inline"),UC.find(function(e){return e===t.layout})||(this.layout="row"),this.triggerUpdate()},t}(hC)),cx=new Map,dx=new Map,px=new Map,hx=new Map,fx=new Map,mx=new Map,gx=new Map,vx=new Map,yx=function(){return function(){}}(),bx=0,_x=0,wx=new Ve("mat-select-scroll-strategy");function Sx(e){return function(){return e.scrollStrategies.reposition()}}var Cx=function(){return function(e,t){this.source=e,this.value=t}}(),xx=function(e){function t(t,n,r,i,o,s,a,l,u,c,d,p,h){var f=e.call(this,o,i,a,l,c)||this;return f._viewportRuler=t,f._changeDetectorRef=n,f._ngZone=r,f._dir=s,f._parentFormField=u,f.ngControl=c,f._liveAnnouncer=h,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(e,t){return e===t},f._uid="mat-select-"+bx++,f._destroy=new N,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new N,f._offsetY=0,f._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],f._disableOptionCentering=!1,f._focused=!1,f.controlType="mat-select",f.ariaLabel="",f.optionSelectionChanges=Lu(function(){var e=f.options;return e?e.changes.pipe(Wu(e),_c(function(){return oe.apply(void 0,e.map(function(e){return e.onSelectionChange}))})):f._ngZone.onStable.asObservable().pipe(Fu(1),_c(function(){return f.optionSelectionChanges}))}),f.openedChange=new Ri,f._openedStream=f.openedChange.pipe(Aa(function(e){return e}),Q(function(){})),f._closedStream=f.openedChange.pipe(Aa(function(e){return!e}),Q(function(){})),f.selectionChange=new Ri,f.valueChange=new Ri,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=p,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(d)||0,f.id=f.id,f}return i(t,e),Object.defineProperty(t.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(e){this._focused=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Zu(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(e){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){if("function"!=typeof e)throw Error("`compareWith` must be a function.");this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){e!==this._value&&(this.writeValue(e),this._value=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var e=this;this._selectionModel=new jc(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(lc(),vc(this._destroy)).subscribe(function(){e.panelOpen?(e._scrollTop=0,e.openedChange.emit(!0)):(e.openedChange.emit(!1),e.overlayDir.offsetX=0,e._changeDetectorRef.markForCheck())}),this._viewportRuler.change().pipe(vc(this._destroy)).subscribe(function(){e._panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})},t.prototype.ngAfterContentInit=function(){var e=this;this._initKeyManager(),this._selectionModel.onChange.pipe(vc(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(Wu(null),vc(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnChanges=function(e){e.disabled&&this.stateChanges.next()},t.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},t.prototype.toggle=function(){this.panelOpen?this.close():this.open()},t.prototype.open=function(){var e=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Fu(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize=e._triggerFontSize+"px")}))},t.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},t.prototype.writeValue=function(e){this.options&&this._setSelectionByValue(e)},t.prototype.registerOnChange=function(e){this._onChange=e},t.prototype.registerOnTouched=function(e){this._onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(t.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),t.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},t.prototype._handleKeydown=function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))},t.prototype._handleClosedKeydown=function(e){var t=e.keyCode,n=40===t||38===t||37===t||39===t,r=this._keyManager;if((13===t||32===t)&&!ju(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;36===t||35===t?(36===t?r.setFirstItemActive():r.setLastItemActive(),e.preventDefault()):r.onKeydown(e);var o=this.selected;this._liveAnnouncer&&o&&i!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}},t.prototype._handleOpenKeydown=function(e){var t=e.keyCode,n=40===t||38===t,r=this._keyManager;if(36===t||35===t)e.preventDefault(),36===t?r.setFirstItemActive():r.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(13!==t&&32!==t||!r.activeItem||ju(e))if(this._multiple&&65===t&&e.ctrlKey){e.preventDefault();var i=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(i?e.select():e.deselect())})}else{var o=r.activeItemIndex;r.onKeydown(e),this._multiple&&n&&e.shiftKey&&r.activeItem&&r.activeItemIndex!==o&&r.activeItem._selectViaInteraction()}else e.preventDefault(),r.activeItem._selectViaInteraction()},t.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},t.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},t.prototype._onAttached=function(){var e=this;this.overlayDir.positionChange.pipe(Fu(1)).subscribe(function(){e._setPseudoCheckboxPaddingSize(),e._changeDetectorRef.detectChanges(),e._calculateOverlayOffsetX(),e.panel.nativeElement.scrollTop=e._scrollTop})},t.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},t.prototype._setPseudoCheckboxPaddingSize=function(){if(!_x&&this.multiple){var e=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");e&&(_x=24+e.offsetWidth)}},Object.defineProperty(t.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),t.prototype._initializeSelection=function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})},t.prototype._setSelectionByValue=function(e){var t=this;if(this.multiple&&e){if(!Array.isArray(e))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),e.forEach(function(e){return t._selectValue(e)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(e);n&&this._keyManager.setActiveItem(n)}this._changeDetectorRef.markForCheck()},t.prototype._selectValue=function(e){var t=this,n=this.options.find(function(n){try{return null!=n.value&&t._compareWith(n.value,e)}catch(r){return ft()&&console.warn(r),!1}});return n&&this._selectionModel.select(n),n},t.prototype._initKeyManager=function(){var e=this;this._keyManager=new Kp(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(vc(this._destroy)).subscribe(function(){e.focus(),e.close()}),this._keyManager.change.pipe(vc(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollActiveOptionIntoView():e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})},t.prototype._resetOptions=function(){var e=this,t=oe(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(vc(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),oe.apply(void 0,this.options.map(function(e){return e._stateChanges})).pipe(vc(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()}),this._setOptionIds()},t.prototype._onSelect=function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,r){return e.sortComparator?e.sortComparator(n,r,t):t.indexOf(n)-t.indexOf(r)}),this.stateChanges.next()}},t.prototype._propagateChanges=function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(new Cx(this,t)),this._changeDetectorRef.markForCheck()},t.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(e){return e.id}).join(" ")},t.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},t.prototype._scrollActiveOptionIntoView=function(){var e,t,n,r=this._keyManager.activeItemIndex||0,i=Fh(r,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(r+i)*(e=this._getItemHeight()))<(t=this.panel.nativeElement.scrollTop)?n:n+e>t+256?Math.max(0,n-256+e):t},t.prototype.focus=function(){this._elementRef.nativeElement.focus()},t.prototype._getOptionIndex=function(e){return this.options.reduce(function(t,n,r){return void 0===t?e===n?r:void 0:t},void 0)},t.prototype._calculateOverlayPosition=function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),r=t*e-n,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Fh(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)},t.prototype._calculateOverlayScroll=function(e,t,n){var r=this._getItemHeight();return Math.min(Math.max(0,r*e-t+r/2),n)},t.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},t.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},t.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},t.prototype._calculateOverlayOffsetX=function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),r=this._isRtl(),i=this.multiple?_x+16:32;if(this.multiple)e=_x;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}r||(e*=-1);var s=0-(t.left+e-(r?i:0)),a=t.right+e-n.width+(r?0:i);s>0?e+=s+8:a>0&&(e-=a+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(e,t,n){var r,i=this._getItemHeight(),o=(i-this._triggerRect.height)/2,s=Math.floor(256/i);return this._disableOptionCentering?0:(r=0===this._scrollTop?e*i:this._scrollTop===n?(e-(this._getItemCount()-s))*i+(i-(this._getItemCount()*i-256)%i):t-i/2,Math.round(-1*r-o))},t.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),r=this._triggerRect.top-8,i=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),s=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;s>i?this._adjustPanelUp(s,i):o>r?this._adjustPanelDown(o,r,e):this._transformOrigin=this._getOriginBasedOnOption()},t.prototype._adjustPanelUp=function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},t.prototype._adjustPanelDown=function(e,t,n){var r=Math.round(e-t);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")},t.prototype._getOriginBasedOnOption=function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-t+e/2)+"px 0px"},t.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},t.prototype._getItemHeight=function(){return 3*this._triggerFontSize},t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),t}(fh(mh(ph(gh(function(){return function(e,t,n,r,i){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=i}}()))))),Ex=function(){return function(){}}(),kx=rr({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function Ox(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(e()(),as(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.placeholder||"\xa0")})}function Tx(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.triggerValue||"\xa0")})}function Ix(e){return cs(0,[rs(null,0),(e()(),Go(0,null,null,0))],null,null)}function Ax(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),mi(1,16384,null,0,ol,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Go(16777216,null,null,1,null,Tx)),mi(3,16384,null,0,al,[zn,Dn,ol],null,null),(e()(),Go(16777216,null,null,1,null,Ix)),mi(5,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){e(t,1,0,!!t.component.customTrigger),e(t,5,0,!0)},null)}function Px(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(e()(),Qo(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(e,t,n){var r=!0,i=e.component;return"@transformPanel.done"===t&&(r=!1!==i._panelDoneAnimatingStream.next(n.toState)&&r),"keydown"===t&&(r=!1!==i._handleKeydown(n)&&r),r},null,null)),vi(512,null,Za,Ka,[In,An,dn,gn]),mi(3,278528,null,0,Xa,[Za],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),rs(null,1)],function(e,t){var n=t.component;e(t,3,0,Ar(1,"mat-select-panel ",n._getPanelTheme(),""),n.panelClass)},function(e,t){var n=t.component;e(t,0,0,void 0),e(t,1,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)})}function Mx(e){return cs(2,[Jo(671088640,1,{trigger:0}),Jo(671088640,2,{panel:0}),Jo(671088640,3,{overlayDir:0}),(e()(),Qo(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggle()&&r),r},null,null)),mi(4,16384,[["origin",4]],0,cd,[dn],null,null),(e()(),Qo(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),mi(6,16384,null,0,ol,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Go(16777216,null,null,1,null,Ox)),mi(8,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Go(16777216,null,null,1,null,Ax)),mi(10,278528,null,0,sl,[zn,Dn,ol],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qo(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(e()(),Qo(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,function(e,t,n){var r=!0,i=e.component;return"backdropClick"===t&&(r=!1!==i.close()&&r),"attach"===t&&(r=!1!==i._onAttached()&&r),"detach"===t&&(r=!1!==i.close()&&r),r},Px)),mi(14,671744,[[3,4]],0,dd,[ad,Dn,zn,ud,[2,Qu]],{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(e,t){var n=t.component;e(t,6,0,n.empty),e(t,8,0,!0),e(t,10,0,!1),e(t,14,0,ni(t,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var Rx=function(){return function(){}}(),jx=function(e){function t(t,n,r,i,o,s){var a=e.call(this,t)||this;return a._focusMonitor=n,a._changeDetectorRef=r,a._dir=i,a._animationMode=s,a._invert=!1,a._max=100,a._min=0,a._step=1,a._thumbLabel=!1,a._tickInterval=0,a._value=null,a._vertical=!1,a.change=new Ri,a.input=new Ri,a.valueChange=new Ri,a.onTouched=function(){},a._percent=0,a._isSliding=!1,a._isActive=!1,a._tickIntervalPercent=0,a._sliderDimensions=null,a._controlValueAccessorChangeFn=function(){},a._dirChangeSubscription=g.EMPTY,a.tabIndex=parseInt(o)||0,a}return i(t,e),Object.defineProperty(t.prototype,"invert",{get:function(){return this._invert},set:function(e){this._invert=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this._max},set:function(e){this._max=Ku(e,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this._min},set:function(e){this._min=Ku(e,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){return this._step},set:function(e){this._step=Ku(e,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"thumbLabel",{get:function(){return this._thumbLabel},set:function(e){this._thumbLabel=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tickInterval",{get:function(){return this._tickInterval},set:function(e){this._tickInterval="auto"===e?"auto":"number"==typeof e||"string"==typeof e?Ku(e,this._tickInterval):0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(e){if(e!==this._value){var t=Ku(e);this._roundToDecimal&&(t=parseFloat(t.toFixed(this._roundToDecimal))),this._value=t,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(e){this._vertical=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this._focusHostElement()},t.prototype.blur=function(){this._blurHostElement()},Object.defineProperty(t.prototype,"percent",{get:function(){return this._clamp(this._percent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_invertAxis",{get:function(){return this.vertical?!this.invert:this.invert},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_isMinValue",{get:function(){return 0===this.percent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_thumbGap",{get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_trackBackgroundStyles",{get:function(){var e=this.vertical?"1, "+(1-this.percent)+", 1":1-this.percent+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"-":"")+this._thumbGap+"px) scale3d("+e+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_trackFillStyles",{get:function(){var e=this.vertical?"1, "+this.percent+", 1":this.percent+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"":"-")+this._thumbGap+"px) scale3d("+e+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ticksContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"-":"")+this._tickIntervalPercent/2*100+"%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_ticksStyles",{get:function(){var e=100*this._tickIntervalPercent,t={backgroundSize:this.vertical?"2px "+e+"%":e+"% 2px",transform:"translateZ(0) translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"":"-")+e/2+"%)"+(this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)")};return this._isMinValue&&this._thumbGap&&(t["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"_thumbContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"(-"+100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)+"%)"}},enumerable:!0,configurable:!0}),t.prototype._shouldInvertMouseCoords=function(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis},t.prototype._getDirection=function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"},t.prototype.ngOnInit=function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){e._isActive=!!t&&"keyboard"!==t,e._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(function(){e._changeDetectorRef.markForCheck()}))},t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()},t.prototype._onMouseenter=function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())},t.prototype._onMousedown=function(e){if(!this.disabled&&0===e.button){var t=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:e.clientX,y:e.clientY}),t!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}},t.prototype._onSlide=function(e){if(!this.disabled){this._isSliding||this._onSlideStart(null),e.preventDefault();var t=this.value;this._updateValueFromPosition({x:e.center.x,y:e.center.y}),t!=this.value&&this._emitInputEvent()}},t.prototype._onSlideStart=function(e){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,e&&(this._updateValueFromPosition({x:e.center.x,y:e.center.y}),e.preventDefault()))},t.prototype._onSlideEnd=function(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null},t.prototype._onFocus=function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()},t.prototype._onBlur=function(){this.onTouched()},t.prototype._onKeydown=function(e){if(!this.disabled&&!ju(e)){var t=this.value;switch(e.keyCode){case 33:this._increment(10);break;case 34:this._increment(-10);break;case 35:this.value=this.max;break;case 36:this.value=this.min;break;case 37:this._increment("rtl"==this._getDirection()?1:-1);break;case 38:this._increment(1);break;case 39:this._increment("rtl"==this._getDirection()?-1:1);break;case 40:this._increment(-1);break;default:return}t!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,e.preventDefault()}},t.prototype._onKeyup=function(){this._isSliding=!1},t.prototype._increment=function(e){this.value=this._clamp((this.value||0)+this.step*e,this.min,this.max)},t.prototype._updateValueFromPosition=function(e){if(this._sliderDimensions){var t=this._clamp(((this.vertical?e.y:e.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(t=1-t),0===t)this.value=this.min;else if(1===t)this.value=this.max;else{var n=this._calculateValue(t),r=Math.round((n-this.min)/this.step)*this.step+this.min;this.value=this._clamp(r,this.min,this.max)}}},t.prototype._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())},t.prototype._emitInputEvent=function(){this.input.emit(this._createChangeEvent())},t.prototype._updateTickIntervalPercent=function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var e=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,t=Math.ceil(30/(e*this.step/(this.max-this.min)));this._tickIntervalPercent=t*this.step/e}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)},t.prototype._createChangeEvent=function(e){void 0===e&&(e=this.value);var t=new Rx;return t.source=this,t.value=e,t},t.prototype._calculatePercentage=function(e){return((e||0)-this.min)/(this.max-this.min)},t.prototype._calculateValue=function(e){return this.min+e*(this.max-this.min)},t.prototype._clamp=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),Math.max(t,Math.min(e,n))},t.prototype._getSliderDimensions=function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null},t.prototype._focusHostElement=function(){this._elementRef.nativeElement.focus()},t.prototype._blurHostElement=function(){this._elementRef.nativeElement.blur()},t.prototype.writeValue=function(e){this.value=e},t.prototype.registerOnChange=function(e){this._controlValueAccessorChangeFn=e},t.prototype.registerOnTouched=function(e){this.onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e},t}(mh(hh(ph(function(){return function(e){this._elementRef=e}}()),"accent"))),Nx=function(){return function(){}}(),Dx=rr({encapsulation:2,styles:[".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb-label{cursor:-webkit-grab;cursor:grab}.mat-slider-sliding:not(.mat-slider-disabled) .mat-slider-thumb,.mat-slider-sliding:not(.mat-slider-disabled) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb-label:active,.mat-slider:not(.mat-slider-disabled) .mat-slider-thumb:active{cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}@media (-ms-high-contrast:active){.mat-slider-thumb-label{outline:solid 1px}}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media (-ms-high-contrast:active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media (-ms-high-contrast:active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-track-fill{transition:none}"],data:{}});function Lx(e){return cs(2,[Jo(671088640,1,{_sliderWrapper:0}),(e()(),Qo(1,0,[[1,0],["sliderWrapper",1]],null,21,"div",[["class","mat-slider-wrapper"]],null,null,null,null,null)),(e()(),Qo(2,0,null,null,6,"div",[["class","mat-slider-track-wrapper"]],null,null,null,null,null)),(e()(),Qo(3,0,null,null,2,"div",[["class","mat-slider-track-background"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(5,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),(e()(),Qo(6,0,null,null,2,"div",[["class","mat-slider-track-fill"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(8,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),(e()(),Qo(9,0,null,null,5,"div",[["class","mat-slider-ticks-container"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(11,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),(e()(),Qo(12,0,null,null,2,"div",[["class","mat-slider-ticks"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(14,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),(e()(),Qo(15,0,null,null,7,"div",[["class","mat-slider-thumb-container"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(17,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),(e()(),Qo(18,0,null,null,0,"div",[["class","mat-slider-focus-ring"]],null,null,null,null,null)),(e()(),Qo(19,0,null,null,0,"div",[["class","mat-slider-thumb"]],null,null,null,null,null)),(e()(),Qo(20,0,null,null,2,"div",[["class","mat-slider-thumb-label"]],null,null,null,null,null)),(e()(),Qo(21,0,null,null,1,"span",[["class","mat-slider-thumb-label-text"]],null,null,null,null,null)),(e()(),as(22,null,["",""]))],function(e,t){var n=t.component;e(t,5,0,n._trackBackgroundStyles),e(t,8,0,n._trackFillStyles),e(t,11,0,n._ticksContainerStyles),e(t,14,0,n._ticksStyles),e(t,17,0,n._thumbContainerStyles)},function(e,t){e(t,22,0,t.component.displayValue)})}var zx=function(){return function(e,t,n){void 0===n&&(n=!0),this.key=e,this.value=t,this.key=n?e.replace(/['"]/g,"").trim():e.trim(),this.value=n?t.replace(/['"]/g,"").trim():t.trim(),this.value=this.value.replace(/;/,"")}}();function Vx(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function Fx(e){var t=e.split(":"),n=t[0],r=t.slice(1);return new zx(n,r.join(":"))}function Ux(e,t){return t.key&&(e[t.key]=t.value),e}var Bx=["ngStyle","ngStyle.xs","ngStyle.sm","ngStyle.md","ngStyle.lg","ngStyle.xl","ngStyle.lt-sm","ngStyle.lt-md","ngStyle.lt-lg","ngStyle.lt-xl","ngStyle.gt-xs","ngStyle.gt-sm","ngStyle.gt-md","ngStyle.gt-lg"],qx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=Bx,t}return i(t,e),t}(function(e){function t(t,n,r,i,o,s,a,l){var u=e.call(this,t,null,n,r)||this;u.elementRef=t,u.styler=n,u.marshal=r,u.delegate=i,u.sanitizer=o,u.ngStyleInstance=s,u.DIRECTIVE_KEY="ngStyle",u.ngStyleInstance||(u.ngStyleInstance=new cl(u.delegate)),u.init();var c=u.nativeElement.getAttribute("style")||"";return u.fallbackStyles=u.buildStyleMap(c),u.isServer=a&&_l(l),u}return i(t,e),t.prototype.updateWithValue=function(e){var t=this.buildStyleMap(e);this.ngStyleInstance.ngStyle=o({},this.fallbackStyles,t),this.isServer&&this.applyStyleToElement(t),this.ngStyleInstance.ngDoCheck()},t.prototype.clearStyles=function(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()},t.prototype.buildStyleMap=function(e){var t,n=this,r=function(e){return n.sanitizer.sanitize(Dt.STYLE,e)||""};if(e)switch(Vx(e)){case"string":return Hx((void 0===t&&(t=";"),String(e).trim().split(t).map(function(e){return e.trim()}).filter(function(e){return""!==e})),r);case"array":return Hx(e,r);case"set":default:return function(e,t){var n=[];return"set"===Vx(e)?e.forEach(function(e){return n.push(e)}):Object.keys(e).forEach(function(t){n.push(t+":"+e[t])}),function(e,t){return n.map(Fx).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(Ux,{})}(0,t)}(e,r)}return{}},t.prototype.ngDoCheck=function(){this.ngStyleInstance.ngDoCheck()},t}(hC));function Hx(e,t){return e.map(Fx).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(Ux,{})}var Wx=function(){return function(){}}(),Gx=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.dirty||e.touched||t&&t.submitted))},e}(),Qx=function(){function e(e,t){this.route=e,this.apiSrv=t,this.join=new Ri,this.leaveSession=new Ri,this.cameras=[{label:"None",device:null,type:""}],this.microphones=[{label:"None",device:null,type:""}],this.screenActive="None",this.isVideoActive=!0,this.isAudioActive=!0,this.isScreenShareActive=!1,this.volumeValue=100,this.showDialogExtension=!1,this.localUsers=[],this.nicknameFormControl=new Hy("",[py.maxLength(25),py.required]),this.matcher=new Gx}return e.prototype.ngOnInit=function(){var e=this;this.OV=new xa.OpenVidu,this.localUsers.push(new Oa),this.generateNickname(),this.setSessionName(),this.initPublisher().then(function(t){e.setDevicesValue(t)}).catch(function(e){return console.log(e)}),this.getRandomAvatar(),this.columns=window.innerWidth>900?2:1},e.prototype.toggleCam=function(){this.isVideoActive=!this.isVideoActive,2===this.localUsers.length?(this.destroyPublisher(0),this.userCamDeleted=this.localUsers.shift(),this.setAudio(this.isAudioActive),this.subscribeToVolumeChange(this.localUsers[0].getStreamManager())):this.localUsers[0].isScreen()?(this.setAudio(!1),this.localUsers[0].getStreamManager().off("streamAudioVolumeChange"),this.localUsers.unshift(this.userCamDeleted),this.initPublisher()):(this.localUsers[0].setVideoActive(this.isVideoActive),this.localUsers[0].getStreamManager().publishVideo(this.isVideoActive))},e.prototype.camChanged=function(e){var t="None"!==this.camValue.label&&"None"!==e,n=this.cameras.filter(function(t){return t.label===e})[0];this.camValue=n,this.isVideoActive="None"!==this.camValue.label,this.localUsers[0].isLocal()?(this.localUsers[0].setVideoActive(this.isVideoActive),this.localUsers[0].getStreamManager().publishVideo(this.isVideoActive),t&&this.launchNewPublisher(0)):(this.localUsers.unshift(this.userCamDeleted),this.initPublisher())},e.prototype.toggleScreenShare=function(){this.isScreenShareActive?(this.localUsers[0].isScreen()&&(this.localUsers.unshift(this.userCamDeleted),this.initPublisher()),this.destroyPublisher(1),this.localUsers.pop(),this.localUsers[0].setScreenShareActive(!1),this.screenActive="None",this.isScreenShareActive=!this.isScreenShareActive,this.localUsers[0].setScreenShareActive(this.isScreenShareActive)):this.initScreenPublisher()},e.prototype.toggleMic=function(){var e=this;this.isAudioActive=!this.isAudioActive,this.localUsers.forEach(function(t){t.setAudioActive(e.isAudioActive),t.getStreamManager().publishAudio(e.isAudioActive)})},e.prototype.micChanged=function(e){var t=this,n="None"!==this.micValue.label&&"None"!==e,r=this.microphones.filter(function(t){return t.label===e})[0];this.micValue=r,this.isAudioActive="None"!==this.micValue.label,this.localUsers[0].setAudioActive(this.isAudioActive),this.localUsers.forEach(function(e){e.getStreamManager().publishAudio(t.isAudioActive)}),n&&this.launchNewPublisher(0)},e.prototype.subscribeToVolumeChange=function(e){var t=this;e.on("streamAudioVolumeChange",function(e){t.volumeValue=Math.round(Math.abs(e.value.newValue))})},e.prototype.setAvatar=function(e){("random"===e&&this.randomAvatar||"video"===e&&this.videoAvatar)&&(this.avatarSelected=e,"random"===e&&this.localUsers[0].setUserAvatar(this.randomAvatar))},e.prototype.takePhoto=function(){this.localUsers[0].setUserAvatar(),this.videoAvatar=this.localUsers[0].getAvatar(),this.setAvatar("video")},e.prototype.generateNickname=function(){var e=this.userNickname?this.userNickname:"OpenVidu_User"+Math.floor(100*Math.random());this.nicknameFormControl.setValue(e)},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.nicknameFormControl.valid&&this.accept()},e.prototype.onResize=function(e){this.columns=e.target.innerWidth>900?2:1},e.prototype.updateVolumeColor=function(){return this.volumeValue<=20?"warn":this.volumeValue>20&&this.volumeValue<=35?"accent":this.volumeValue>35?"primary":void 0},e.prototype.accept=function(){var e=this;this.nicknameFormControl.valid&&(this.localUsers.forEach(function(t){t.getStreamManager().off("streamAudioVolumeChange"),t.setNickname(e.nicknameFormControl.value)}),"random"===this.avatarSelected&&this.localUsers[0].removeVideoAvatar(),this.localUsers[1]&&this.localUsers[1].setUserAvatar(this.localUsers[0].getAvatar()),this.join.emit({localUsers:this.localUsers,sessionId:this.mySessionId}))},e.prototype.toggleDialogExtension=function(){this.showDialogExtension=!this.showDialogExtension},e.prototype.close=function(){var e=this;this.localUsers.forEach(function(t,n){e.destroyPublisher(n)}),this.localUsers=[],this.leaveSession.emit()},e.prototype.setDevicesValue=function(e){var t=this;this.OV.getDevices().then(function(n){console.log("Devices: ",n);var r=e.stream.getMediaStream().getVideoTracks()[0].getSettings().deviceId;n.forEach(function(e){if("audioinput"===e.kind)t.microphones.push({label:e.label,device:e.deviceId,type:""});else{var n={label:e.label,device:e.deviceId,type:""};e.deviceId===r?(n.type="FRONT",t.camValue=n):n.type="BACK",t.cameras.push(n)}}),t.camValue=t.camValue?t.camValue:t.cameras[0],t.micValue=t.microphones[1]?t.microphones[1]:t.microphones[0]}).catch(function(e){return console.error(e)})},e.prototype.setSessionName=function(){var e=this;this.route.params.subscribe(function(t){e.mySessionId=e.sessionName?e.sessionName:t.roomName})},e.prototype.getRandomAvatar=function(){var e=this;this.apiSrv.getRandomAvatar().then(function(t){e.randomAvatar=t,e.setAvatar("random")}).catch(function(e){return console.error(e)})},e.prototype.initPublisher=function(){var e=this;return new Promise(function(t,n){e.OV.initPublisherAsync(void 0,{audioSource:e.micValue?e.micValue.device:void 0,videoSource:e.camValue?e.camValue.device:void 0,publishAudio:e.isAudioActive,publishVideo:e.isVideoActive,mirror:e.camValue&&"FRONT"===e.camValue.type}).then(function(n){e.subscribeToVolumeChange(n),e.localUsers[0].setStreamManager(n),e.ovSettings.autopublish&&e.accept(),t(n)}).catch(function(e){return n(e)})})},e.prototype.initScreenPublisher=function(){var e=this,t=-1!==navigator.userAgent.indexOf("Firefox")?"window":"screen",n=(!this.localUsers[0].isLocal()||!this.localUsers[0].isVideoActive())&&this.isAudioActive;this.OV.initPublisherAsync(void 0,{videoSource:t,publishAudio:n,publishVideo:!0,mirror:!1}).then(function(t){e.localUsers.push(new Oa),e.localUsers[1].setStreamManager(t),e.localUsers[1].setScreenShareActive(!0),e.localUsers[1].setAudioActive(n),e.localUsers[1].setType("screen"),e.localUsers[1].setUserAvatar(e.randomAvatar),e.isScreenShareActive=!e.isScreenShareActive,e.screenActive="Screen",e.localUsers[0].setScreenShareActive(e.isScreenShareActive),e.localUsers[0].isLocal()&&!e.localUsers[0].isVideoActive()&&(e.setAudio(!0),e.destroyPublisher(0),e.userCamDeleted=e.localUsers.shift(),e.subscribeToVolumeChange(t))}).catch(function(t){t&&"SCREEN_EXTENSION_NOT_INSTALLED"===t.name?e.toggleDialogExtension():e.apiSrv.handlerScreenShareError(t)})},e.prototype.launchNewPublisher=function(e){this.destroyPublisher(e),this.initPublisher()},e.prototype.destroyPublisher=function(e){this.localUsers[e].getStreamManager().off("streamAudioVolumeChange"),this.localUsers[e].getStreamManager().stream.disposeWebRtcPeer(),this.localUsers[e].getStreamManager().stream.disposeMediaStream()},e.prototype.setAudio=function(e){this.localUsers[0].setAudioActive(e),this.localUsers[0].getStreamManager().publishAudio(e)},e}(),Yx=rr({encapsulation:0,styles:[["#imgText[_ngcontent-%COMP%], button[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], input[_ngcontent-%COMP%], mat-option[_ngcontent-%COMP%], mat-select[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif}#dialogChooseRoom[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%}#dialogChooseRoom[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{text-align:center}#card-content[_ngcontent-%COMP%]{max-width:95%;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin:auto;overflow-y:auto;padding-right:8px}#videoContainer[_ngcontent-%COMP%]{position:relative}#closeButton[_ngcontent-%COMP%]{position:absolute;top:0;right:7px}.volumeSlider[_ngcontent-%COMP%]{position:absolute;height:60%;z-index:99999;bottom:0;pointer-events:none}#ovVideo[_ngcontent-%COMP%], #ovVideoScreen[_ngcontent-%COMP%]{display:inline-block}.smallVideo[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;width:50%;border:1px solid #fff}#img_content[_ngcontent-%COMP%]{position:absolute;top:3px;left:0}#header_img[_ngcontent-%COMP%]{max-width:165px}#sessionInfo[_ngcontent-%COMP%]{margin-top:0}#camDeviceButton[_ngcontent-%COMP%], #micDeviceButton[_ngcontent-%COMP%], #nicknameButton[_ngcontent-%COMP%]{margin:0 10px}#joinButtonDiv[_ngcontent-%COMP%]{text-align:center}#joinButton[_ngcontent-%COMP%]{margin:15px;width:80%}#photoButton[_ngcontent-%COMP%]{margin:10px;text-align:center}#avatarContainer[_ngcontent-%COMP%]{border:1px solid #b6b6b6;width:100px;height:100px;margin:10px;position:relative;cursor:pointer;display:inline-block}#devicesSection[_ngcontent-%COMP%]{margin:15px 0}#avatarSection[_ngcontent-%COMP%], #devicesSection[_ngcontent-%COMP%]{height:-webkit-fit-content!important;height:-moz-fit-content!important;height:fit-content!important;min-height:auto!important}#imgText[_ngcontent-%COMP%]{display:table}#avatarImg[_ngcontent-%COMP%], #imgText[_ngcontent-%COMP%]{position:absolute;margin:auto;top:0;left:0;right:0;bottom:0}#avatarImg[_ngcontent-%COMP%]{height:88%;width:88%}#avatarContainer[_ngcontent-%COMP%], #avatarImg[_ngcontent-%COMP%]{border-radius:50%}#optionsContent[_ngcontent-%COMP%]{position:initial}#nicknameDialog[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%]{width:100%}mat-card[_ngcontent-%COMP%]{max-width:85%!important;position:absolute;top:0;bottom:0;left:0;right:0;max-height:90%;margin:auto;padding:20px;overflow-y:auto;border:2px solid #fff;border-right:4px solid #fff}@media only screen and (max-width:959px){mat-card[_ngcontent-%COMP%]{max-width:80%!important;max-height:80%!important}} .mat-option-text{color:#000!important} .mat-slider-thumb{visibility:hidden} .mat-slider-vertical .mat-slider-track-background, .mat-slider-vertical .mat-slider-track-fill, .mat-slider-vertical .mat-slider-track-wrapper{width:10px!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#b8afaf;border-radius:4px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#e1e1e1;border-radius:4px}"]],data:{}});function Zx(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-dialog-extension",[],null,[[null,"cancel"]],function(e,t,n){var r=!0;return"cancel"===t&&(r=!1!==e.component.toggleDialogExtension()&&r),r},SS,_S)),mi(1,114688,null,0,bS,[],{nickname:[0,"nickname"]},{cancel:"cancel"})],function(e,t){e(t,1,0,t.component.localUsers[0].getNickname())},null)}function Kx(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"ov-video",[["id","ovVideo"]],[[8,"className",0]],null,null,kS,ES)),mi(1,4243456,null,0,xS,[],{streamManager:[0,"streamManager"]},null)],function(e,t){e(t,1,0,t.component.localUsers[0].getStreamManager())},function(e,t){e(t,0,0,t.component.localUsers[1]?"smallVideo":"")})}function Xx(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"ov-video",[["id","ovVideoScreen"]],null,null,null,kS,ES)),mi(1,4243456,null,0,xS,[],{streamManager:[0,"streamManager"]},null)],function(e,t){e(t,1,0,t.component.localUsers[1].getStreamManager())},null)}function Jx(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"div",[["id","imgText"]],null,null,null,null,null)),(e()(),Qo(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,["Press Avatar Button"]))],null,null)}function $x(e){return cs(0,[(e()(),Qo(0,0,null,null,0,"img",[["id","avatarImg"]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.videoAvatar)})}function eE(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["color","accent"],["id","imgText"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,NS,MS)),mi(1,49152,null,0,AS,[dn,kc,[2,gl],[2,Fw],IS],{color:[0,"color"],diameter:[1,"diameter"]},null)],function(e,t){e(t,1,0,"accent",70)},function(e,t){e(t,0,0,ni(t,1)._noopAnimations,ni(t,1).diameter,ni(t,1).diameter)})}function tE(e){return cs(0,[(e()(),Qo(0,0,null,null,0,"img",[["id","avatarImg"]],[[8,"src",4]],null,null,null,null))],null,function(e,t){e(t,0,0,t.component.randomAvatar)})}function nE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Microphone Enabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["mic"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Microphone Enabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function rE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Microphone Disabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["mic_off"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Microphone Disabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function iE(e){return cs(0,[(e()(),Qo(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(e,t,n){var r=!0;return"click"===t&&(r=!1!==ni(e,1)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==ni(e,1)._handleKeydown(n)&&r),r},eC,JS)),mi(1,8568832,[[10,4]],0,Vh,[dn,Pn,[2,zh],[2,Nh]],{value:[0,"value"]},null),(e()(),as(2,0,["",""]))],function(e,t){e(t,1,0,t.context.$implicit.label)},function(e,t){e(t,0,0,ni(t,1)._getTabIndex(),ni(t,1).selected,ni(t,1).multiple,ni(t,1).active,ni(t,1).id,ni(t,1)._getAriaSelected(),ni(t,1).disabled.toString(),ni(t,1).disabled),e(t,2,0,t.context.$implicit.label)})}function oE(e){return cs(0,[(e()(),Qo(0,0,null,null,40,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),mi(1,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(2,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(3,0,null,null,37,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),mi(4,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(5,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(7,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(8,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(9,0,null,null,5,"button",[["id","micDeviceButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleMic()&&r),r},hS,pS)),mi(10,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,nE)),mi(12,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,rE)),mi(14,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(15,0,null,null,25,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(16,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(17,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(18,0,null,null,22,"mat-form-field",[["class","alternate-theme mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(19,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],null,null),Jo(603979776,1,{_controlNonStatic:0}),Jo(335544320,2,{_controlStatic:0}),Jo(603979776,3,{_labelChildNonStatic:0}),Jo(335544320,4,{_labelChildStatic:0}),Jo(603979776,5,{_placeholderChild:0}),Jo(603979776,6,{_errorChildren:1}),Jo(603979776,7,{_hintChildren:1}),Jo(603979776,8,{_prefixChildren:1}),Jo(603979776,9,{_suffixChildren:1}),(e()(),Qo(29,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Microphone Options"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==ni(e,34)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==ni(e,34)._onFocus()&&r),"blur"===t&&(r=!1!==ni(e,34)._onBlur()&&r),"selectionChange"===t&&(r=!1!==i.micChanged(n.value)&&r),r},Mx,kx)),vi(6144,null,zh,null,[xx]),mi(31,671744,null,0,eb,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},null),vi(2048,null,sy,null,[eb]),mi(33,16384,null,0,ly,[[4,sy]],null,null),mi(34,2080768,null,3,xx,[zc,Pn,uo,vh,dn,[2,Qu],[2,Yy],[2,ib],[2,wb],[6,sy],[8,null],wx,oh],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Jo(603979776,10,{options:1}),Jo(603979776,11,{optionGroups:1}),Jo(603979776,12,{customTrigger:0}),vi(2048,[[1,4],[2,4]],mb,null,[xx]),(e()(),Go(16777216,null,1,1,null,iE)),mi(40,278528,null,0,$a,[zn,Dn,In],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,"row"),e(t,4,0,""),e(t,5,0,""),e(t,7,0,"center center"),e(t,8,0,"20"),e(t,12,0,n.isAudioActive),e(t,14,0,!n.isAudioActive),e(t,16,0,"center center"),e(t,17,0,"80"),e(t,31,0,n.isAudioActive&&n.micValue?n.micValue.label:"None"),e(t,34,0,"Microphone Options"),e(t,40,0,n.microphones)},function(e,t){e(t,9,0,ni(t,10).disabled||null,"NoopAnimations"===ni(t,10)._animationMode),e(t,18,1,["standard"==ni(t,19).appearance,"fill"==ni(t,19).appearance,"outline"==ni(t,19).appearance,"legacy"==ni(t,19).appearance,ni(t,19)._control.errorState,ni(t,19)._canLabelFloat,ni(t,19)._shouldLabelFloat(),ni(t,19)._hasFloatingLabel(),ni(t,19)._hideControlPlaceholder(),ni(t,19)._control.disabled,ni(t,19)._control.autofilled,ni(t,19)._control.focused,"accent"==ni(t,19).color,"warn"==ni(t,19).color,ni(t,19)._shouldForward("untouched"),ni(t,19)._shouldForward("touched"),ni(t,19)._shouldForward("pristine"),ni(t,19)._shouldForward("dirty"),ni(t,19)._shouldForward("valid"),ni(t,19)._shouldForward("invalid"),ni(t,19)._shouldForward("pending"),!ni(t,19)._animationsEnabled]),e(t,29,1,[ni(t,33).ngClassUntouched,ni(t,33).ngClassTouched,ni(t,33).ngClassPristine,ni(t,33).ngClassDirty,ni(t,33).ngClassValid,ni(t,33).ngClassInvalid,ni(t,33).ngClassPending,ni(t,34).id,ni(t,34).tabIndex,ni(t,34)._getAriaLabel(),ni(t,34)._getAriaLabelledby(),ni(t,34).required.toString(),ni(t,34).disabled.toString(),ni(t,34).errorState,ni(t,34).panelOpen?ni(t,34)._optionIds:null,ni(t,34).multiple,ni(t,34)._ariaDescribedby||null,ni(t,34)._getAriaActiveDescendant(),ni(t,34).disabled,ni(t,34).errorState,ni(t,34).required,ni(t,34).empty])})}function sE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Camera Enabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["videocam"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Camera Enabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function aE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Camera Disabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["videocam_off"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Camera Disabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function lE(e){return cs(0,[(e()(),Qo(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(e,t,n){var r=!0;return"click"===t&&(r=!1!==ni(e,1)._selectViaInteraction()&&r),"keydown"===t&&(r=!1!==ni(e,1)._handleKeydown(n)&&r),r},eC,JS)),mi(1,8568832,[[22,4]],0,Vh,[dn,Pn,[2,zh],[2,Nh]],{value:[0,"value"]},null),(e()(),as(2,0,["",""]))],function(e,t){e(t,1,0,t.context.$implicit.label)},function(e,t){e(t,0,0,ni(t,1)._getTabIndex(),ni(t,1).selected,ni(t,1).multiple,ni(t,1).active,ni(t,1).id,ni(t,1)._getAriaSelected(),ni(t,1).disabled.toString(),ni(t,1).disabled),e(t,2,0,t.context.$implicit.label)})}function uE(e){return cs(0,[(e()(),Qo(0,0,null,null,40,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),mi(1,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(2,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(3,0,null,null,37,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),mi(4,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(5,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(7,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(8,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(9,0,null,null,5,"button",[["id","camDeviceButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleCam()&&r),r},hS,pS)),mi(10,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,sE)),mi(12,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,aE)),mi(14,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(15,0,null,null,25,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(16,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(17,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(18,0,null,null,22,"mat-form-field",[["class","alternate-theme mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(19,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],null,null),Jo(603979776,13,{_controlNonStatic:0}),Jo(335544320,14,{_controlStatic:0}),Jo(603979776,15,{_labelChildNonStatic:0}),Jo(335544320,16,{_labelChildStatic:0}),Jo(603979776,17,{_placeholderChild:0}),Jo(603979776,18,{_errorChildren:1}),Jo(603979776,19,{_hintChildren:1}),Jo(603979776,20,{_prefixChildren:1}),Jo(603979776,21,{_suffixChildren:1}),(e()(),Qo(29,0,null,1,11,"mat-select",[["class","mat-select"],["placeholder","Camera Options"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"keydown"===t&&(r=!1!==ni(e,34)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==ni(e,34)._onFocus()&&r),"blur"===t&&(r=!1!==ni(e,34)._onBlur()&&r),"selectionChange"===t&&(r=!1!==i.camChanged(n.value)&&r),r},Mx,kx)),vi(6144,null,zh,null,[xx]),mi(31,671744,null,0,eb,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},null),vi(2048,null,sy,null,[eb]),mi(33,16384,null,0,ly,[[4,sy]],null,null),mi(34,2080768,null,3,xx,[zc,Pn,uo,vh,dn,[2,Qu],[2,Yy],[2,ib],[2,wb],[6,sy],[8,null],wx,oh],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Jo(603979776,22,{options:1}),Jo(603979776,23,{optionGroups:1}),Jo(603979776,24,{customTrigger:0}),vi(2048,[[13,4],[14,4]],mb,null,[xx]),(e()(),Go(16777216,null,1,1,null,lE)),mi(40,278528,null,0,$a,[zn,Dn,In],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,1,0,"row"),e(t,4,0,""),e(t,5,0,""),e(t,7,0,"center center"),e(t,8,0,"20"),e(t,12,0,n.isVideoActive),e(t,14,0,!n.isVideoActive),e(t,16,0,"center center"),e(t,17,0,"80"),e(t,31,0,n.isVideoActive&&n.camValue?n.camValue.label:"None"),e(t,34,0,"Camera Options"),e(t,40,0,n.cameras)},function(e,t){e(t,9,0,ni(t,10).disabled||null,"NoopAnimations"===ni(t,10)._animationMode),e(t,18,1,["standard"==ni(t,19).appearance,"fill"==ni(t,19).appearance,"outline"==ni(t,19).appearance,"legacy"==ni(t,19).appearance,ni(t,19)._control.errorState,ni(t,19)._canLabelFloat,ni(t,19)._shouldLabelFloat(),ni(t,19)._hasFloatingLabel(),ni(t,19)._hideControlPlaceholder(),ni(t,19)._control.disabled,ni(t,19)._control.autofilled,ni(t,19)._control.focused,"accent"==ni(t,19).color,"warn"==ni(t,19).color,ni(t,19)._shouldForward("untouched"),ni(t,19)._shouldForward("touched"),ni(t,19)._shouldForward("pristine"),ni(t,19)._shouldForward("dirty"),ni(t,19)._shouldForward("valid"),ni(t,19)._shouldForward("invalid"),ni(t,19)._shouldForward("pending"),!ni(t,19)._animationsEnabled]),e(t,29,1,[ni(t,33).ngClassUntouched,ni(t,33).ngClassTouched,ni(t,33).ngClassPristine,ni(t,33).ngClassDirty,ni(t,33).ngClassValid,ni(t,33).ngClassInvalid,ni(t,33).ngClassPending,ni(t,34).id,ni(t,34).tabIndex,ni(t,34)._getAriaLabel(),ni(t,34)._getAriaLabelledby(),ni(t,34).required.toString(),ni(t,34).disabled.toString(),ni(t,34).errorState,ni(t,34).panelOpen?ni(t,34)._optionIds:null,ni(t,34).multiple,ni(t,34)._ariaDescribedby||null,ni(t,34)._getAriaActiveDescendant(),ni(t,34).disabled,ni(t,34).errorState,ni(t,34).required,ni(t,34).empty])})}function cE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Screen Share Enabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["screen_share"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Screen Share Enabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function dE(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Screen Share Disabled"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["stop_screen_share"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Screen Share Disabled")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function pE(e){return cs(0,[(e()(),Qo(0,0,null,null,36,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),mi(1,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(2,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(3,0,null,null,33,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),mi(4,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(5,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(7,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(8,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(9,0,null,null,5,"button",[["id","screenShareButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleScreenShare()&&r),r},hS,pS)),mi(10,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,cE)),mi(12,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,dE)),mi(14,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(15,0,null,null,21,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(16,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(17,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(18,0,null,null,18,"mat-form-field",[["class","alternate-theme mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(19,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],null,null),Jo(603979776,25,{_controlNonStatic:0}),Jo(335544320,26,{_controlStatic:0}),Jo(603979776,27,{_labelChildNonStatic:0}),Jo(335544320,28,{_labelChildStatic:0}),Jo(603979776,29,{_placeholderChild:0}),Jo(603979776,30,{_errorChildren:1}),Jo(603979776,31,{_hintChildren:1}),Jo(603979776,32,{_prefixChildren:1}),Jo(603979776,33,{_suffixChildren:1}),(e()(),Qo(29,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["placeholder","Screen Pages"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(e,t,n){var r=!0;return"input"===t&&(r=!1!==ni(e,30)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,30).onTouched()&&r),"compositionstart"===t&&(r=!1!==ni(e,30)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ni(e,30)._compositionEnd(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,35)._focusChanged(!1)&&r),"focus"===t&&(r=!1!==ni(e,35)._focusChanged(!0)&&r),"input"===t&&(r=!1!==ni(e,35)._onInput()&&r),r},null,null)),mi(30,16384,null,0,ny,[gn,dn,[2,ty]],null,null),vi(1024,null,$v,function(e){return[e]},[ny]),mi(32,671744,null,0,eb,[[8,null],[8,null],[8,null],[6,$v]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},null),vi(2048,null,sy,null,[eb]),mi(34,16384,null,0,ly,[[4,sy]],null,null),mi(35,999424,null,0,sS,[dn,kc,[6,sy],[2,Yy],[2,ib],vh,[8,null],nS,uo],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),vi(2048,[[25,4],[26,4]],mb,null,[sS])],function(e,t){var n=t.component;e(t,1,0,"row"),e(t,4,0,""),e(t,5,0,""),e(t,7,0,"center center"),e(t,8,0,"20"),e(t,12,0,n.isScreenShareActive),e(t,14,0,!n.isScreenShareActive),e(t,16,0,"center center"),e(t,17,0,"80"),e(t,32,0,"",n.screenActive),e(t,35,0,"","Screen Pages")},function(e,t){e(t,9,0,ni(t,10).disabled||null,"NoopAnimations"===ni(t,10)._animationMode),e(t,18,1,["standard"==ni(t,19).appearance,"fill"==ni(t,19).appearance,"outline"==ni(t,19).appearance,"legacy"==ni(t,19).appearance,ni(t,19)._control.errorState,ni(t,19)._canLabelFloat,ni(t,19)._shouldLabelFloat(),ni(t,19)._hasFloatingLabel(),ni(t,19)._hideControlPlaceholder(),ni(t,19)._control.disabled,ni(t,19)._control.autofilled,ni(t,19)._control.focused,"accent"==ni(t,19).color,"warn"==ni(t,19).color,ni(t,19)._shouldForward("untouched"),ni(t,19)._shouldForward("touched"),ni(t,19)._shouldForward("pristine"),ni(t,19)._shouldForward("dirty"),ni(t,19)._shouldForward("valid"),ni(t,19)._shouldForward("invalid"),ni(t,19)._shouldForward("pending"),!ni(t,19)._animationsEnabled]),e(t,29,1,[ni(t,34).ngClassUntouched,ni(t,34).ngClassTouched,ni(t,34).ngClassPristine,ni(t,34).ngClassDirty,ni(t,34).ngClassValid,ni(t,34).ngClassInvalid,ni(t,34).ngClassPending,ni(t,35)._isServer,ni(t,35).id,ni(t,35).placeholder,ni(t,35).disabled,ni(t,35).required,ni(t,35).readonly&&!ni(t,35)._isNativeSelect||null,ni(t,35)._ariaDescribedby||null,ni(t,35).errorState,ni(t,35).required.toString()])})}function hE(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),mi(1,16384,[[39,4]],0,fb,[],null,null),(e()(),as(-1,null,[" Nickname is "])),(e()(),Qo(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),as(-1,null,["required"]))],null,function(e,t){e(t,0,0,ni(t,1).id)})}function fE(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),mi(1,16384,[[39,4]],0,fb,[],null,null),(e()(),as(-1,null,[" Nickname is "])),(e()(),Qo(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),as(-1,null,["too long!"]))],null,function(e,t){e(t,0,0,ni(t,1).id)})}function mE(e){return cs(0,[(e()(),Qo(0,0,null,null,136,"mat-card",[["class","mat-card"]],null,null,null,Kv,Zv)),mi(1,49152,null,0,Qv,[],null,null),(e()(),Qo(2,0,null,0,12,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),mi(3,16384,null,0,Wv,[],null,null),(e()(),Qo(4,0,null,null,1,"div",[["id","img_content"]],null,null,null,null,null)),(e()(),Qo(5,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","header_img"],["src","https://raw.githubusercontent.com/OpenVidu/openvidu-call/master/front/openvidu-call/src/assets/images/openvidu_logo_grey.png"]],null,null,null,null,null)),(e()(),Qo(6,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),mi(7,81920,null,0,Ed,[[2,yd],dn,Cd],null,null),(e()(),as(-1,null,["Set up your room"])),(e()(),Qo(9,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.close()&&r),r},hS,pS)),mi(10,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(11,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Cancel"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,13).show()&&r),"keydown"===t&&(r=!1!==ni(e,13)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,13)._handleTouchend()&&r),r},XS,KS)),mi(12,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(13,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["close"])),(e()(),Qo(15,0,null,0,121,"mat-card-content",[["align","center"],["class","mat-card-content"],["id","card-content"]],null,null,null,null,null)),mi(16,16384,null,0,Hv,[],null,null),(e()(),Qo(17,0,null,null,119,"div",[["class",""]],null,null,null,null,null)),(e()(),Qo(18,0,null,null,114,"div",[["class",""],["fxFlexFill",""],["fxLayout","row"],["fxLayout.lt-sm","column"],["fxLayout.sm","column"]],null,null,null,null,null)),mi(19,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"],"fxLayout.sm":[1,"fxLayout.sm"],"fxLayout.lt-sm":[2,"fxLayout.lt-sm"]},null),mi(20,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(21,0,null,null,23,"div",[["class","volume-theme"],["fxFlex","45"],["fxFlex.lt-sm","25"],["fxFlex.sm","25"]],null,null,null,null,null)),mi(22,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"],"fxFlex.sm":[1,"fxFlex.sm"],"fxFlex.lt-sm":[2,"fxFlex.lt-sm"]},null),(e()(),Qo(23,0,null,null,1,"h3",[["id","sessionInfo"]],null,null,null,null,null)),(e()(),as(24,null,["Session : ",""])),(e()(),Qo(25,0,null,null,10,"div",[["id","videoContainer"]],null,null,null,null,null)),(e()(),Qo(26,0,null,null,5,"mat-slider",[["class","volumeSlider mat-slider"],["role","slider"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"]],function(e,t,n){var r=!0;return"focus"===t&&(r=!1!==ni(e,27)._onFocus()&&r),"blur"===t&&(r=!1!==ni(e,27)._onBlur()&&r),"mousedown"===t&&(r=!1!==ni(e,27)._onMousedown(n)&&r),"keydown"===t&&(r=!1!==ni(e,27)._onKeydown(n)&&r),"keyup"===t&&(r=!1!==ni(e,27)._onKeyup()&&r),"mouseenter"===t&&(r=!1!==ni(e,27)._onMouseenter()&&r),"slide"===t&&(r=!1!==ni(e,27)._onSlide(n)&&r),"slideend"===t&&(r=!1!==ni(e,27)._onSlideEnd()&&r),"slidestart"===t&&(r=!1!==ni(e,27)._onSlideStart(n)&&r),r},Lx,Dx)),mi(27,245760,null,0,jx,[dn,lh,Pn,[2,Qu],[8,null],[2,Fw]],{color:[0,"color"],max:[1,"max"],min:[2,"min"],vertical:[3,"vertical"]},null),vi(1024,null,$v,function(e){return[e]},[jx]),mi(29,671744,null,0,eb,[[8,null],[8,null],[8,null],[6,$v]],{model:[0,"model"]},null),vi(2048,null,sy,null,[eb]),mi(31,16384,null,0,ly,[[4,sy]],null,null),(e()(),Go(16777216,null,null,1,null,Kx)),mi(33,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Xx)),mi(35,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(36,0,null,null,8,"div",[["id","photoButton"]],null,null,null,null,null)),(e()(),Qo(37,0,null,null,7,"button",[["id","avatarButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.takePhoto()&&r),r},hS,pS)),mi(38,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(39,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Take Photo"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,41).show()&&r),"keydown"===t&&(r=!1!==ni(e,41)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,41)._handleTouchend()&&r),r},XS,KS)),mi(40,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(41,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["photo_camera"])),(e()(),Qo(43,0,null,0,1,"span",[["style","margin-left: 5px"]],null,null,null,null,null)),(e()(),as(-1,null,["Capture Avatar"])),(e()(),Qo(45,0,null,null,87,"div",[["class","sec3"],["fxFlex","55"],["fxFlex.lt-sm","65"],["fxFlex.sm","65"]],null,null,null,null,null)),mi(46,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"],"fxFlex.sm":[1,"fxFlex.sm"],"fxFlex.lt-sm":[2,"fxFlex.lt-sm"]},null),(e()(),Qo(47,0,null,null,33,"div",[["fxFill",""],["fxLayout","row"],["id","avatarSection"]],null,null,null,null,null)),mi(48,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(49,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(50,0,null,null,30,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),mi(51,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(52,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(53,0,null,null,4,"div",[["class",""],["fxFlex","30"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(54,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(55,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(56,0,null,null,1,"h3",[["style","margin: auto;"]],null,null,null,null,null)),(e()(),as(-1,null,["Avatar"])),(e()(),Qo(58,0,null,null,22,"div",[["class",""],["fxFlex","70"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(59,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(60,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(61,0,null,null,9,"div",[["id","avatarContainer"]],[[4,"background",null]],[[null,"mouseover"],[null,"click"],[null,"mouseleave"]],function(e,t,n){var r=!0,i=e.component;return"mouseover"===t&&(r=0!=(i.hover1=!0)&&r),"click"===t&&(r=!1!==i.setAvatar("video")&&r),"mouseleave"===t&&(r=0!=(i.hover1=!1)&&r),r},null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(63,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),os(64,{backgroundColor:0}),mi(65,933888,null,0,qx,[dn,jC,zC,ll,kp,[6,cl],[2,lC],Hi],{ngStyle:[0,"ngStyle"]},null),os(66,{backgroundColor:0}),(e()(),Go(16777216,null,null,1,null,Jx)),mi(68,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,$x)),mi(70,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(71,0,null,null,9,"div",[["id","avatarContainer"]],[[4,"background",null]],[[null,"click"],[null,"mouseover"],[null,"mouseleave"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==i.setAvatar("random")&&r),"mouseover"===t&&(r=0!=(i.hover2=!0)&&r),"mouseleave"===t&&(r=0!=(i.hover2=!1)&&r),r},null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(73,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),os(74,{backgroundColor:0}),mi(75,933888,null,0,qx,[dn,jC,zC,ll,kp,[6,cl],[2,lC],Hi],{ngStyle:[0,"ngStyle"]},null),os(76,{backgroundColor:0}),(e()(),Go(16777216,null,null,1,null,eE)),mi(78,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,tE)),mi(80,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,oE)),mi(82,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,uE)),mi(84,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,pE)),mi(86,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(87,0,null,null,45,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),mi(88,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(89,671744,null,0,ox,[dn,jC,ix,zC],null,null),(e()(),Qo(90,0,null,null,42,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),mi(91,671744,null,0,QC,[dn,jC,[2,WC],zC],{fxLayout:[0,"fxLayout"]},null),mi(92,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(93,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(94,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(95,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(96,0,null,null,5,"button",[["id","nicknameButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.generateNickname()&&r),r},hS,pS)),mi(97,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(98,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Nickname"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,100).show()&&r),"keydown"===t&&(r=!1!==ni(e,100)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,100)._handleTouchend()&&r),r},XS,KS)),mi(99,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(100,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["person"])),(e()(),Qo(102,0,null,null,30,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),mi(103,671744,null,0,ux,[dn,jC,[2,ax],zC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),mi(104,671744,null,0,JC,[dn,jC,aC,KC,zC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qo(105,0,null,null,27,"form",[["class","alternate-theme"],["id","nicknameDialog"],["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(e,t,n){var r=!0;return"submit"===t&&(r=!1!==ni(e,107).onSubmit(n)&&r),"reset"===t&&(r=!1!==ni(e,107).onReset()&&r),r},null,null)),mi(106,16384,null,0,tb,[],null,null),mi(107,4210688,null,0,Yy,[[8,null],[8,null]],null,null),vi(2048,null,iy,null,[Yy]),mi(109,16384,null,0,uy,[[4,iy]],null,null),(e()(),Qo(110,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(111,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],null,null),Jo(603979776,34,{_controlNonStatic:0}),Jo(335544320,35,{_controlStatic:0}),Jo(603979776,36,{_labelChildNonStatic:0}),Jo(335544320,37,{_labelChildStatic:0}),Jo(603979776,38,{_placeholderChild:0}),Jo(603979776,39,{_errorChildren:1}),Jo(603979776,40,{_hintChildren:1}),Jo(603979776,41,{_prefixChildren:1}),Jo(603979776,42,{_suffixChildren:1}),(e()(),Qo(121,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Nickname"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==ni(e,122)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,122).onTouched()&&r),"compositionstart"===t&&(r=!1!==ni(e,122)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ni(e,122)._compositionEnd(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,127)._focusChanged(!1)&&r),"focus"===t&&(r=!1!==ni(e,127)._focusChanged(!0)&&r),"input"===t&&(r=!1!==ni(e,127)._onInput()&&r),"keypress"===t&&(r=!1!==i.eventKeyPress(n)&&r),r},null,null)),mi(122,16384,null,0,ny,[gn,dn,[2,ty]],null,null),vi(1024,null,$v,function(e){return[e]},[ny]),mi(124,540672,null,0,rb,[[8,null],[8,null],[6,$v],[2,nb]],{form:[0,"form"]},null),vi(2048,null,sy,null,[rb]),mi(126,16384,null,0,ly,[[4,sy]],null,null),mi(127,999424,null,0,sS,[dn,kc,[6,sy],[2,Yy],[2,ib],vh,[8,null],nS,uo],{placeholder:[0,"placeholder"],errorStateMatcher:[1,"errorStateMatcher"]},null),vi(2048,[[34,4],[35,4]],mb,null,[sS]),(e()(),Go(16777216,null,5,1,null,hE)),mi(130,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,5,1,null,fE)),mi(132,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(133,0,null,null,3,"div",[["id","joinButtonDiv"]],null,null,null,null,null)),(e()(),Qo(134,0,null,null,2,"button",[["id","joinButton"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.accept()&&r),r},hS,pS)),mi(135,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),as(-1,0,["JOIN"]))],function(e,t){var n=t.component;e(t,7,0),e(t,12,0,"warn"),e(t,13,0,"Cancel"),e(t,19,0,"row","column","column"),e(t,22,0,"45","25","25"),e(t,27,0,n.updateVolumeColor(),0,100,!0),e(t,29,0,n.volumeValue),e(t,33,0,n.localUsers[0]&&n.localUsers[0].getStreamManager()),e(t,35,0,n.localUsers[1]&&n.localUsers[1].getStreamManager()),e(t,40,0),e(t,41,0,"Take Photo"),e(t,46,0,"55","65","65"),e(t,48,0,"row"),e(t,51,0,""),e(t,52,0,""),e(t,54,0,"center center"),e(t,55,0,"30"),e(t,59,0,"center center"),e(t,60,0,"70");var r=e(t,64,0,n.videoAvatar&&n.hover1&&"video"!==n.avatarSelected?"lightgreen":"white");e(t,63,0,r);var i=e(t,66,0,n.videoAvatar&&n.hover1&&"video"!==n.avatarSelected?"lightgreen":"white");e(t,65,0,i),e(t,68,0,!n.videoAvatar),e(t,70,0,n.videoAvatar);var o=e(t,74,0,n.randomAvatar&&n.hover2&&"random"!==n.avatarSelected?"lightgreen":"white");e(t,73,0,o);var s=e(t,76,0,n.randomAvatar&&n.hover2&&"random"!==n.avatarSelected?"lightgreen":"white");e(t,75,0,s),e(t,78,0,!n.randomAvatar),e(t,80,0,n.randomAvatar),e(t,82,0,n.ovSettings&&n.ovSettings.toolbarButtons.audio),e(t,84,0,n.ovSettings&&n.ovSettings.toolbarButtons.video),e(t,86,0,n.ovSettings&&n.ovSettings.toolbarButtons.screenShare),e(t,88,0,"row"),e(t,91,0,""),e(t,92,0,""),e(t,94,0,"center center"),e(t,95,0,"20"),e(t,99,0),e(t,100,0,"Nickname"),e(t,103,0,"center center"),e(t,104,0,"80"),e(t,124,0,n.nicknameFormControl),e(t,127,0,"Nickname",n.matcher),e(t,130,0,n.nicknameFormControl.hasError("required")),e(t,132,0,n.nicknameFormControl.hasError("maxlength"))},function(e,t){var n=t.component;e(t,6,0,ni(t,7).id),e(t,9,0,ni(t,10).disabled||null,"NoopAnimations"===ni(t,10)._animationMode),e(t,11,0,ni(t,12).inline,"primary"!==ni(t,12).color&&"accent"!==ni(t,12).color&&"warn"!==ni(t,12).color),e(t,24,0,n.mySessionId),e(t,26,1,[ni(t,27).tabIndex,ni(t,27).disabled,ni(t,27).max,ni(t,27).min,ni(t,27).value,ni(t,27).vertical?"vertical":"horizontal",ni(t,27).disabled,ni(t,27).tickInterval,!ni(t,27).vertical,ni(t,27)._invertAxis,ni(t,27)._isSliding,ni(t,27).thumbLabel,ni(t,27).vertical,ni(t,27)._isMinValue,ni(t,27).disabled||ni(t,27)._isMinValue&&ni(t,27)._thumbGap&&ni(t,27)._invertAxis,"NoopAnimations"===ni(t,27)._animationMode,ni(t,31).ngClassUntouched,ni(t,31).ngClassTouched,ni(t,31).ngClassPristine,ni(t,31).ngClassDirty,ni(t,31).ngClassValid,ni(t,31).ngClassInvalid,ni(t,31).ngClassPending]),e(t,37,0,ni(t,38).disabled||null,"NoopAnimations"===ni(t,38)._animationMode),e(t,39,0,ni(t,40).inline,"primary"!==ni(t,40).color&&"accent"!==ni(t,40).color&&"warn"!==ni(t,40).color),e(t,61,0,"video"===n.avatarSelected?"lightgreen":"transparent"),e(t,71,0,"random"===n.avatarSelected?"lightgreen":"transparent"),e(t,96,0,ni(t,97).disabled||null,"NoopAnimations"===ni(t,97)._animationMode),e(t,98,0,ni(t,99).inline,"primary"!==ni(t,99).color&&"accent"!==ni(t,99).color&&"warn"!==ni(t,99).color),e(t,105,0,ni(t,109).ngClassUntouched,ni(t,109).ngClassTouched,ni(t,109).ngClassPristine,ni(t,109).ngClassDirty,ni(t,109).ngClassValid,ni(t,109).ngClassInvalid,ni(t,109).ngClassPending),e(t,110,1,["standard"==ni(t,111).appearance,"fill"==ni(t,111).appearance,"outline"==ni(t,111).appearance,"legacy"==ni(t,111).appearance,ni(t,111)._control.errorState,ni(t,111)._canLabelFloat,ni(t,111)._shouldLabelFloat(),ni(t,111)._hasFloatingLabel(),ni(t,111)._hideControlPlaceholder(),ni(t,111)._control.disabled,ni(t,111)._control.autofilled,ni(t,111)._control.focused,"accent"==ni(t,111).color,"warn"==ni(t,111).color,ni(t,111)._shouldForward("untouched"),ni(t,111)._shouldForward("touched"),ni(t,111)._shouldForward("pristine"),ni(t,111)._shouldForward("dirty"),ni(t,111)._shouldForward("valid"),ni(t,111)._shouldForward("invalid"),ni(t,111)._shouldForward("pending"),!ni(t,111)._animationsEnabled]),e(t,121,1,[ni(t,126).ngClassUntouched,ni(t,126).ngClassTouched,ni(t,126).ngClassPristine,ni(t,126).ngClassDirty,ni(t,126).ngClassValid,ni(t,126).ngClassInvalid,ni(t,126).ngClassPending,ni(t,127)._isServer,ni(t,127).id,ni(t,127).placeholder,ni(t,127).disabled,ni(t,127).required,ni(t,127).readonly&&!ni(t,127)._isNativeSelect||null,ni(t,127)._ariaDescribedby||null,ni(t,127).errorState,ni(t,127).required.toString()]),e(t,134,0,ni(t,135).disabled||null,"NoopAnimations"===ni(t,135)._animationMode)})}function gE(e){return cs(0,[(e()(),Qo(0,0,null,null,9,"div",[["id","dialogChooseRoom"]],null,null,null,null,null)),vi(512,null,ll,ul,[dn,An,gn]),mi(2,278528,null,0,cl,[ll],{ngStyle:[0,"ngStyle"]},null),os(3,{display:0}),mi(4,933888,null,0,qx,[dn,jC,zC,ll,kp,[6,cl],[2,lC],Hi],{ngStyle:[0,"ngStyle"]},null),os(5,{display:0}),(e()(),Go(16777216,null,null,1,null,Zx)),mi(7,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,mE)),mi(9,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component,r=e(t,3,0,n.ovSettings.autopublish?"none":"block");e(t,2,0,r);var i=e(t,5,0,n.ovSettings.autopublish?"none":"block");e(t,4,0,i),e(t,7,0,n.showDialogExtension),e(t,9,0,n.localUsers[0].getStreamManager())},null)}function vE(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var yE=new Ve("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),bE=function(e){function t(t,n,r,i,o){var s=e.call(this,r,i,o)||this;return s._changeDetectorRef=t,s._container=n,s}return i(t,e),t.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})},t}(Dc),_E=function(){function e(e,t,n,r,i,o){var s=this;this._elementRef=e,this._focusTrapFactory=t,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 N,this._animationEnd=new N,this._animationState="void",this.openedChange=new Ri(!0),this._destroyed=new N,this.onPositionChanged=new Ri,this._modeChanged=new N,this._opened=!1,this.openedChange.subscribe(function(e){e?(s._doc&&(s._elementFocusedBeforeDrawerWasOpened=s._doc.activeElement),s._isFocusTrapEnabled&&s._focusTrap&&s._trapFocus()):s._restoreFocus()}),this._ngZone.runOutsideAngular(function(){ec(s._elementRef.nativeElement,"keydown").pipe(Aa(function(e){return e.keyCode===Ru&&!s.disableClose&&!ju(e)}),vc(s._destroyed)).subscribe(function(e){return s._ngZone.run(function(){s.close(),e.stopPropagation(),e.preventDefault()})})}),this._animationEnd.pipe(lc(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&s.openedChange.emit(s._opened)})}return Object.defineProperty(e.prototype,"position",{get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClose",{get:function(){return this._disableClose},set:function(e){this._disableClose=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(e){this._autoFocus=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(Aa(function(e){return e}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(Aa(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(Aa(function(e){return!e}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(Aa(function(e){return e.fromState!==e.toState&&"void"===e.toState}),Q(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),e.prototype._trapFocus=function(){var e=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then(function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()})},e.prototype._restoreFocus=function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},e.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._focusTrap.enabled=this._isFocusTrapEnabled},e.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},e.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()},Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(Zu(e))},enumerable:!0,configurable:!0}),e.prototype.open=function(e){return this.toggle(!0,e)},e.prototype.close=function(){return this.toggle(!1)},e.prototype.toggle=function(e,t){var n=this;return void 0===e&&(e=!this.opened),void 0===t&&(t="program"),this._opened=e,e?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=t):(this._animationState="void",this._restoreFocus()),this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled),new Promise(function(e){n.openedChange.pipe(Fu(1)).subscribe(function(t){return e(t?"open":"close")})})},Object.defineProperty(e.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),e.prototype._animationStartListener=function(e){this._animationStarted.next(e)},e.prototype._animationDoneListener=function(e){this._animationEnd.next(e)},e}(),wE=function(){function e(e,t,n,r,i,o,s){var a=this;void 0===o&&(o=!1),this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=r,this._animationMode=s,this.backdropClick=new Ri,this._destroyed=new N,this._doCheckSubject=new N,this._contentMargins={left:null,right:null},this._contentMarginChanges=new N,e&&e.change.pipe(vc(this._destroyed)).subscribe(function(){a._validateDrawers(),a.updateContentMargins()}),i.change().pipe(vc(this._destroyed)).subscribe(function(){return a.updateContentMargins()}),this._autosize=o}return Object.defineProperty(e.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autosize",{get:function(){return this._autosize},set:function(e){this._autosize=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"scrollable",{get:function(){return this._userContent||this._content},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentInit=function(){var e=this;this._drawers.changes.pipe(Wu(null)).subscribe(function(){e._validateDrawers(),e._drawers.forEach(function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)}),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()}),this._doCheckSubject.pipe(Fp(10),vc(this._destroyed)).subscribe(function(){return e.updateContentMargins()})},e.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},e.prototype.open=function(){this._drawers.forEach(function(e){return e.open()})},e.prototype.close=function(){this._drawers.forEach(function(e){return e.close()})},e.prototype.updateContentMargins=function(){var e=this,t=0,n=0;if(this._left&&this._left.opened&&("side"==this._left.mode?t+=this._left._width:"push"==this._left.mode&&(t+=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,t-=r}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run(function(){return e._contentMarginChanges.next(e._contentMargins)}))},e.prototype.ngDoCheck=function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(function(){return e._doCheckSubject.next()})},e.prototype._watchDrawerToggle=function(e){var t=this;e._animationStarted.pipe(Aa(function(e){return e.fromState!==e.toState}),vc(this._drawers.changes)).subscribe(function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()}),"side"!==e.mode&&e.openedChange.pipe(vc(this._drawers.changes)).subscribe(function(){return t._setContainerClass(e.opened)})},e.prototype._watchDrawerPosition=function(e){var t=this;e&&e.onPositionChanged.pipe(vc(this._drawers.changes)).subscribe(function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(Fu(1)).subscribe(function(){t._validateDrawers()})})},e.prototype._watchDrawerMode=function(e){var t=this;e&&e._modeChanged.pipe(vc(oe(this._drawers.changes,this._destroyed))).subscribe(function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()})},e.prototype._setContainerClass=function(e){e?this._element.nativeElement.classList.add("mat-drawer-opened"):this._element.nativeElement.classList.remove("mat-drawer-opened")},e.prototype._validateDrawers=function(){var e=this;this._start=this._end=null,this._drawers.forEach(function(t){"end"==t.position?(null!=e._end&&vE("end"),e._end=t):(null!=e._start&&vE("start"),e._start=t)}),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)},e.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},e.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},e.prototype._closeModalDrawer=function(){var e=this;[this._start,this._end].filter(function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)}).forEach(function(e){return e.close()})},e.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},e.prototype._canHaveBackdrop=function(e){return"side"!==e.mode||!!this._backdropOverride},e.prototype._isDrawerOpen=function(e){return null!=e&&e.opened},e}(),SE=function(e){function t(t,n,r,i,o){return e.call(this,t,n,r,i,o)||this}return i(t,e),t}(bE),CE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._fixedInViewport=!1,t._fixedTopGap=0,t._fixedBottomGap=0,t}return i(t,e),Object.defineProperty(t.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=Ku(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=Ku(e)},enumerable:!0,configurable:!0}),t}(_E),xE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(wE),EE=function(){return function(){}}(),kE=rr({encapsulation:2,styles:[],data:{}});function OE(e){return cs(2,[rs(null,0)],null,null)}var TE=rr({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 IE(e){return cs(2,[(e()(),Qo(0,0,null,null,1,"div",[["class","mat-drawer-inner-container"]],null,null,null,null,null)),rs(null,0)],null,null)}var AE=rr({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-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}@media (-ms-high-contrast:active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media (-ms-high-contrast:active){.mat-drawer.mat-drawer-end,[dir=rtl] .mat-drawer{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}"],data:{}});function PE(e){return cs(0,[(e()(),Qo(0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component._onBackdropClicked()&&r),r},null,null))],null,function(e,t){e(t,0,0,t.component._isShowingBackdrop())})}function ME(e){return cs(0,[(e()(),Qo(0,0,null,null,3,"mat-sidenav-content",[["cdkScrollable",""],["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,OE,kE)),mi(1,212992,null,0,Dc,[dn,Nc,uo,[2,Qu]],null,null),mi(2,1294336,null,0,SE,[Pn,xE,dn,Nc,uo],null,null),rs(0,2)],function(e,t){e(t,1,0),e(t,2,0)},function(e,t){e(t,0,0,ni(t,2)._container._contentMargins.left,ni(t,2)._container._contentMargins.right)})}function RE(e){return cs(2,[Jo(671088640,1,{_userContent:0}),(e()(),Go(16777216,null,null,1,null,PE)),mi(2,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),rs(null,0),rs(null,1),(e()(),Go(16777216,null,null,1,null,ME)),mi(6,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.hasBackdrop),e(t,6,0,!n._content)},null)}var jE=n("dP7y"),NE=n("joaK"),DE=n.n(NE),LE=n("bGVd"),zE=n.n(LE),VE=(n("mgp7"),function(){function e(){}return e.prototype.linkify=function(e,t){return e.linkify(t)},e.prototype.find=function(e){return Object(jE.find)(e)},e.prototype.test=function(e){return"string"==typeof e?Object(jE.test)(e):jE.test.apply(jE,e)},e}()),FE=new Ve("NgxLinkifyjsConfig"),UE={enableHash:!0,enableMention:!0},BE=function(){function e(e){this.config=e,e.enableHash&&DE()(jE),e.enableMention&&zE()(jE)}return e.forRoot=function(t){return void 0===t&&(t=UE),{ngModule:e,providers:[VE,{provide:FE,useValue:t}]}},e}(),qE=function(){function e(e){this.linkifyService=e}return e.prototype.transform=function(e){return e?this.linkifyService.linkify(e):e},e}(),HE=rr({encapsulation:0,styles:[["#chatContainer[_ngcontent-%COMP%]{position:absolute;z-index:0;width:100%;height:100%}input[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif}#chatToolbar[_ngcontent-%COMP%]{height:30px;background-color:#3d3d3d;box-sizing:border-box;font-weight:700;font-size:14px;text-align:center;padding-top:4px;border-top-left-radius:6px;border-top-right-radius:6px;color:#fff}#closeButton[_ngcontent-%COMP%]{position:absolute;right:0;top:-5px}#chatComponent[_ngcontent-%COMP%]{background-color:#b8b8b8;position:absolute;z-index:99999;top:0;left:0;right:0;bottom:0;margin:auto;height:calc(100% - 30px);width:calc(100% - 30px);border-radius:20px}.message-wrap[_ngcontent-%COMP%]{padding:0 15px;height:calc(100% - 80px);overflow:auto}.message[_ngcontent-%COMP%]{position:relative;padding:7px 0}.user-img[_ngcontent-%COMP%]{position:absolute;border-radius:45px;width:60px;height:60px;top:15px}.msg-detail[_ngcontent-%COMP%]{width:calc(100% - 65px);display:inline-block}.msg-detail[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-size:15px}.msg-info[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.8em;color:#000;font-style:italic}.msg-content[_ngcontent-%COMP%]{position:relative;margin-top:5px;border-radius:5px;padding:8px;color:#000;width:auto;max-width:95%}span.triangle[_ngcontent-%COMP%]{border-radius:2px;height:8px;width:8px;top:12px;display:block;-webkit-transform:rotate(45deg);transform:rotate(45deg);position:absolute}.text[_ngcontent-%COMP%]{word-break:break-all}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-info[_ngcontent-%COMP%]{text-align:left}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%]{padding-left:65px}.message.left[_ngcontent-%COMP%] .user-img[_ngcontent-%COMP%]{left:-5px;border:1px solid #f0f0f094}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%]{background-color:#f0f0f0;float:left}.message.left[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%] span.triangle[_ngcontent-%COMP%]{background-color:#f0f0f0;border-bottom-width:0;border-left-width:0;left:-5px}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-info[_ngcontent-%COMP%]{text-align:right}.message.right[_ngcontent-%COMP%] .user-img[_ngcontent-%COMP%]{right:-5px;border:1px solid #c8ffe8ab}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%]{background-color:#c8ffe8;float:right}.message.right[_ngcontent-%COMP%] .msg-detail[_ngcontent-%COMP%] .msg-content[_ngcontent-%COMP%] span.triangle[_ngcontent-%COMP%]{background-color:#c8ffe8;border-bottom-width:0;border-left-width:0;right:-5px}#messageInput[_ngcontent-%COMP%]{position:absolute;bottom:0;width:100%;background-color:#fff;text-align:center;padding:10px 0;height:30px;border-bottom-left-radius:6px;border-bottom-right-radius:6px}#messageInput[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:90%;height:100%;border:none;outline:0;font-size:14px;margin-left:-6%}#sendButton[_ngcontent-%COMP%]{background-color:#81e9b0;position:absolute;right:10px;top:0;bottom:0;margin:auto;border:1px solid #7ae2a9;box-shadow:none!important}#sendButton[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-left:3px!important;margin-bottom:2px!important}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#6b6b6b}.chatComponentLight[_ngcontent-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#eee!important}"]],data:{}});function WE(e){return cs(0,[(e()(),Qo(0,0,null,null,9,"div",[["class","message"]],[[2,"right",null],[2,"left",null]],null,null,null,null)),(e()(),Qo(1,0,null,null,0,"img",[["class","user-img"]],[[8,"src",4]],null,null,null,null)),(e()(),Qo(2,0,null,null,7,"div",[["class","msg-detail"]],null,null,null,null,null)),(e()(),Qo(3,0,null,null,2,"div",[["class","msg-info"]],null,null,null,null,null)),(e()(),Qo(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),as(5,null,["",""])),(e()(),Qo(6,0,null,null,3,"div",[["class","msg-content"]],null,null,null,null,null)),(e()(),Qo(7,0,null,null,0,"span",[["class","triangle"]],null,null,null,null,null)),(e()(),Qo(8,0,null,null,1,"p",[["class","text"]],[[8,"innerHTML",1]],null,null,null,null)),ss(128,9,new Array(2))],null,function(e,t){var n=t.component;e(t,0,0,t.context.$implicit.connectionId===n.session.connection.connectionId||n.sessionScreen&&n.sessionScreen.connection&&t.context.$implicit.connectionId===n.sessionScreen.connection.connectionId,!(t.context.$implicit.connectionId===n.session.connection.connectionId||n.sessionScreen&&n.sessionScreen.connection&&t.context.$implicit.connectionId===n.sessionScreen.connection.connectionId)),e(t,1,0,t.context.$implicit.userAvatar),e(t,5,0,t.context.$implicit.nickname);var r=er(t,8,0,e(t,9,0,ni(t.parent,0),t.context.$implicit.message));e(t,8,0,r)})}function GE(e){return cs(0,[gi(0,qE,[VE]),Jo(671088640,1,{chatScroll:0}),Jo(671088640,2,{chatInput:0}),(e()(),Qo(3,0,null,null,26,"div",[["id","chatContainer"]],null,null,null,null,null)),(e()(),Qo(4,0,null,null,25,"div",[["id","chatComponent"]],[[2,"chatComponentLight",null]],null,null,null,null)),(e()(),Qo(5,0,null,null,8,"div",[["id","chatToolbar"]],null,null,null,null,null)),(e()(),Qo(6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,[" CHAT"])),(e()(),Qo(8,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.close()&&r),r},hS,pS)),mi(9,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(10,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Close"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,12).show()&&r),"keydown"===t&&(r=!1!==ni(e,12)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,12)._handleTouchend()&&r),r},XS,KS)),mi(11,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(12,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["highlight_off"])),(e()(),Qo(14,0,[[1,0],["chatScroll",1]],null,2,"div",[["class","message-wrap"]],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,null,WE)),mi(16,278528,null,0,$a,[zn,Dn,In],{ngForOf:[0,"ngForOf"]},null),(e()(),Qo(17,0,null,null,12,"div",[["id","messageInput"]],null,null,null,null,null)),(e()(),Qo(18,0,[[2,0],["chatInput",1]],null,5,"input",[["autocomplete","off"],["id","chatInput"],["placeholder","Send a message"]],[[2,"ng-untouched",null],[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,"keypress"],[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==ni(e,19)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,19).onTouched()&&r),"compositionstart"===t&&(r=!1!==ni(e,19)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ni(e,19)._compositionEnd(n.target.value)&&r),"keypress"===t&&(r=!1!==i.eventKeyPress(n)&&r),"ngModelChange"===t&&(r=!1!==(i.message=n)&&r),r},null,null)),mi(19,16384,null,0,ny,[gn,dn,[2,ty]],null,null),vi(1024,null,$v,function(e){return[e]},[ny]),mi(21,671744,null,0,eb,[[8,null],[8,null],[8,null],[6,$v]],{model:[0,"model"]},{update:"ngModelChange"}),vi(2048,null,sy,null,[eb]),mi(23,16384,null,0,ly,[[4,sy]],null,null),(e()(),Qo(24,0,null,null,5,"button",[["id","sendButton"],["mat-mini-fab",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.sendMessage()&&r),r},hS,pS)),mi(25,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(26,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Send"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,28).show()&&r),"keydown"===t&&(r=!1!==ni(e,28)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,28)._handleTouchend()&&r),r},XS,KS)),mi(27,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(28,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["send"]))],function(e,t){var n=t.component;e(t,11,0,"warn"),e(t,12,0,"Close"),e(t,16,0,n.messageList),e(t,21,0,n.message),e(t,27,0),e(t,28,0,"Send")},function(e,t){e(t,4,0,t.component.lightTheme),e(t,8,0,ni(t,9).disabled||null,"NoopAnimations"===ni(t,9)._animationMode),e(t,10,0,ni(t,11).inline,"primary"!==ni(t,11).color&&"accent"!==ni(t,11).color&&"warn"!==ni(t,11).color),e(t,18,0,ni(t,23).ngClassUntouched,ni(t,23).ngClassTouched,ni(t,23).ngClassPristine,ni(t,23).ngClassDirty,ni(t,23).ngClassValid,ni(t,23).ngClassInvalid,ni(t,23).ngClassPending),e(t,24,0,ni(t,25).disabled||null,"NoopAnimations"===ni(t,25)._animationMode),e(t,26,0,ni(t,27).inline,"primary"!==ni(t,27).color&&"accent"!==ni(t,27).color&&"warn"!==ni(t,27).color)})}var QE=0,YE=function(e){function t(t,n,r,i,o){var s=e.call(this)||this;if(s._ngZone=t,s._elementRef=n,s._ariaDescriber=r,s._renderer=i,s._animationMode=o,s._hasContent=!1,s._color="primary",s._overlap=!0,s.position="above after",s.size="medium",s._id=QE++,ft()){var a=n.nativeElement;if(a.nodeType!==a.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}return s}return i(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){this._setColor(e),this._color=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlap",{get:function(){return this._overlap},set:function(e){this._overlap=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"description",{get:function(){return this._description},set:function(e){if(e!==this._description){var t=this._badgeElement;this._updateHostAriaDescription(e,this._description),this._description=e,t&&(e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label"))}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hidden",{get:function(){return this._hidden},set:function(e){this._hidden=Zu(e)},enumerable:!0,configurable:!0}),t.prototype.isAbove=function(){return-1===this.position.indexOf("below")},t.prototype.isAfter=function(){return-1===this.position.indexOf("before")},t.prototype.ngOnChanges=function(e){var t=e.content;if(t){var n=t.currentValue;this._hasContent=null!=n&&(""+n).trim().length>0,this._updateTextContent()}},t.prototype.ngOnDestroy=function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(e))},t.prototype.getBadgeElement=function(){return this._badgeElement},t.prototype._updateTextContent=function(){return this._badgeElement?this._badgeElement.textContent=this.content:this._badgeElement=this._createBadgeElement(),this._badgeElement},t.prototype._createBadgeElement=function(){var e=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),e.setAttribute("id","mat-badge-content-"+this._id),e.classList.add("mat-badge-content"),e.textContent=this.content,"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e.classList.add("mat-badge-active")})}):e.classList.add("mat-badge-active"),e},t.prototype._updateHostAriaDescription=function(e,t){var n=this._updateTextContent();t&&this._ariaDescriber.removeDescription(n,t),e&&this._ariaDescriber.describe(n,e)},t.prototype._setColor=function(e){e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-badge-"+e))},t.prototype._clearExistingBadges=function(e){for(var t=this._elementRef.nativeElement,n=t.children.length;n--;){var r=t.children[n];r.classList.contains(e)&&t.removeChild(r)}},t}(ph(function(){return function(){}}())),ZE=function(){return function(){}}(),KE=function(){function e(e){this.apiSrv=e,this.fullscreenIcon="fullscreen",this.micButtonClicked=new Ri,this.camButtonClicked=new Ri,this.screenShareClicked=new Ri,this.exitButtonClicked=new Ri,this.chatButtonClicked=new Ri,this.stopScreenSharingClicked=new Ri}return e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,r=window.innerHeight;n!==window.innerWidth&&t!==r&&(this.fullscreenIcon="fullscreen")},e.prototype.ngOnInit=function(){},e.prototype.micStatusChanged=function(){this.micButtonClicked.emit()},e.prototype.camStatusChanged=function(){this.camButtonClicked.emit()},e.prototype.screenShare=function(){this.screenShareClicked.emit()},e.prototype.stopScreenSharing=function(){this.stopScreenSharingClicked.emit()},e.prototype.exitSession=function(){this.exitButtonClicked.emit()},e.prototype.toggleChat=function(){this.chatButtonClicked.emit()},e.prototype.toggleFullscreen=function(){var e=this.apiSrv.toggleFullscreen("videoRoomNavBar");this.fullscreenIcon="fullscreen"===e?"fullscreen_exit":"fullscreen"},e}(),XE=rr({encapsulation:0,styles:[["#header[_ngcontent-%COMP%]{color:#fff;height:40px;background-color:#333;padding:0 14px 0 0;position:absolute;top:0;left:0;z-index:999999;min-width:400px!important}.headerLight[_ngcontent-%COMP%]{color:#706969!important;background-color:#eee!important}#navSessionInfo[_ngcontent-%COMP%]{height:100%;display:inline-flex}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-overlap.mat-badge-before[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{left:-17px}#navChatButton[_ngcontent-%COMP%] .mat-badge-medium.mat-badge-above[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{top:-6px}.mat-icon-button[disabled][_ngcontent-%COMP%]{color:#fff}#navButtons[_ngcontent-%COMP%]{position:absolute;left:0;right:0;min-width:400px}#navChatButton[_ngcontent-%COMP%]{position:absolute;right:10px;top:none}#titleContent[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;max-width:100px;background-color:#494949;margin:5px -18px;padding:0 15px;font-size:16px;overflow:hidden;text-overflow:ellipsis}.titleContentLight[_ngcontent-%COMP%]{background-color:#dfdfdf!important;color:#000}#header_img[_ngcontent-%COMP%]{max-width:135px;margin-right:10px;margin-top:-3px}#point[_ngcontent-%COMP%]{width:10px;height:10px;position:absolute;top:12px;right:33px;border-radius:50%;background-color:#ffa600;border:1px solid #000;z-index:99999}.pointLight[_ngcontent-%COMP%]{border:1px solid #fff!important}"]],data:{}});function JE(e){return cs(0,[(e()(),Qo(0,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","header_img"],["src","https://raw.githubusercontent.com/OpenVidu/openvidu-call/master/front/openvidu-call/src/assets/images/openvidu_logo.png"]],null,null,null,null,null))],null,null)}function $E(e){return cs(0,[(e()(),Qo(0,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","header_img"],["src","https://raw.githubusercontent.com/OpenVidu/openvidu-call/master/front/openvidu-call/src/assets/images/openvidu_logo_grey.png"]],null,null,null,null,null))],null,null)}function ek(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"div",[["id","titleContent"]],[[2,"titleContentLight",null]],null,null,null,null)),(e()(),Qo(1,0,null,null,1,"span",[["id","session-title"]],null,null,null,null,null)),(e()(),as(2,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n.lightTheme),e(t,2,0,n.mySessionId)})}function tk(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Mute your audio"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["mic"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Mute your audio")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function nk(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Unmute your audio"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["mic_off"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Unmute your audio")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function rk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["id","navMicButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.micStatusChanged()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,tk)),mi(3,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,nk)),mi(5,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.localUser&&n.localUser.isAudioActive()),e(t,5,0,n.localUser&&!n.localUser.isAudioActive())},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode)})}function ik(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Mute your cam"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["videocam"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Mute your cam")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function ok(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Unmute your cam"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["videocam_off"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Unmute your cam")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function sk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["id","navCamButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.camStatusChanged()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,ik)),mi(3,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,ok)),mi(5,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.localUser&&n.localUser.isLocal()&&n.localUser.isVideoActive()),e(t,5,0,n.localUser&&n.localUser.isLocal()&&!n.localUser.isVideoActive()||n.localUser&&n.localUser.isScreen())},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode)})}function ak(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["id","navScreenButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.screenShare()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Screen share"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["stop_screen_share"]))],function(e,t){e(t,3,0,"warn"),e(t,4,0,"Screen share")},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,0,ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color)})}function lk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.stopScreenSharing()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Stop sharing"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["screen_share"]))],function(e,t){e(t,3,0),e(t,4,0,"Stop sharing")},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,0,ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color)})}function uk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleFullscreen()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Fullscreen"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(5,0,["",""]))],function(e,t){e(t,3,0),e(t,4,0,"Fullscreen")},function(e,t){var n=t.component;e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,0,ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color),e(t,5,0,n.fullscreenIcon)})}function ck(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["id","navLeaveButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.exitSession()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Leave the session"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["power_settings_new"]))],function(e,t){e(t,3,0,"warn"),e(t,4,0,"Leave the session")},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,0,ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color)})}function dk(e){return cs(0,[(e()(),Qo(0,0,null,null,6,"button",[["id","navChatButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleChat()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,4,"mat-icon",[["class","mat-icon notranslate mat-badge"],["matBadgeColor","accent"],["matBadgePosition","above before"],["matTooltip","Chat"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),mi(5,671744,null,0,YE,[uo,dn,Yp,gn,[2,Fw]],{color:[0,"color"],position:[1,"position"],content:[2,"content"],hidden:[3,"hidden"]},null),(e()(),as(-1,0,["chat"]))],function(e,t){var n=t.component;e(t,3,0),e(t,4,0,"Chat"),e(t,5,0,"accent","above before",Ar(1,"",n.newMessagesNum,""),0===n.newMessagesNum)},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,1,[ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color,ni(t,5).overlap,ni(t,5).isAbove(),!ni(t,5).isAbove(),!ni(t,5).isAfter(),ni(t,5).isAfter(),"small"===ni(t,5).size,"medium"===ni(t,5).size,"large"===ni(t,5).size,ni(t,5).hidden||!ni(t,5)._hasContent,ni(t,5).disabled])})}function pk(e){return cs(0,[(e()(),Qo(0,0,null,null,25,"mat-toolbar",[["class","mat-toolbar"],["id","header"],["role","heading"]],[[2,"headerLight",null],[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,qv,Bv)),mi(1,4243456,null,1,Fv,[dn,kc,gl],null,null),Jo(603979776,1,{_toolbarRows:1}),(e()(),Qo(3,0,null,0,7,"div",[["id","navSessionInfo"]],null,null,null,null,null)),(e()(),Qo(4,0,null,null,4,"a",[],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,null,JE)),mi(6,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,$E)),mi(8,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,ek)),mi(10,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(11,0,null,0,14,"div",[["align","center"],["id","navButtons"]],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,null,rk)),mi(13,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,sk)),mi(15,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,ak)),mi(17,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,lk)),mi(19,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,uk)),mi(21,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,ck)),mi(23,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,dk)),mi(25,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,6,0,!n.lightTheme),e(t,8,0,n.lightTheme),e(t,10,0,!n.compact&&n.mySessionId),e(t,13,0,!n.ovSettings||n.ovSettings&&n.ovSettings.toolbarButtons.audio),e(t,15,0,!n.ovSettings||n.ovSettings&&n.ovSettings.toolbarButtons.video),e(t,17,0,n.localUser&&!n.localUser.isScreenShareActive()&&(!n.ovSettings||n.ovSettings&&n.ovSettings.toolbarButtons.screenShare)),e(t,19,0,n.localUser&&n.localUser.isScreenShareActive()),e(t,21,0,n.localUser&&(!n.ovSettings||n.ovSettings&&n.ovSettings.toolbarButtons.fullscreen)),e(t,23,0,!n.ovSettings||n.ovSettings&&n.ovSettings.toolbarButtons.exit),e(t,25,0,!n.ovSettings||n.ovSettings&&n.ovSettings.chat)},function(e,t){e(t,0,0,t.component.lightTheme,ni(t,1)._toolbarRows.length>0,0===ni(t,1)._toolbarRows.length)})}var hk=function(e){function t(t,n,r,i){var o=e.call(this,t)||this;return o._elementRef=t,o._ngZone=n,o._hasFocus=!1,o.chipListSelectable=!0,o._chipListMultiple=!1,o._selected=!1,o._selectable=!0,o._removable=!0,o._onFocus=new N,o._onBlur=new N,o.selectionChange=new Ri,o.destroyed=new Ri,o.removed=new Ri,o._addHostClassName(),o._chipRipple=new Th(o,n,t,r),o._chipRipple.setupTriggerEvents(t.nativeElement),o.rippleConfig=i||{},o}return i(t,e),Object.defineProperty(t.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},set:function(e){var t=Zu(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return null!=this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"removable",{get:function(){return this._removable},set:function(e){this._removable=Zu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null},enumerable:!0,configurable:!0}),t.prototype._addHostClassName=function(){var e=this._elementRef.nativeElement;e.hasAttribute("mat-basic-chip")||"mat-basic-chip"===e.tagName.toLowerCase()?e.classList.add("mat-basic-chip"):e.classList.add("mat-standard-chip")},t.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()},t.prototype.select=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange())},t.prototype.deselect=function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange())},t.prototype.selectViaInteraction=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0))},t.prototype.toggleSelected=function(e){return void 0===e&&(e=!1),this._selected=!this.selected,this._dispatchSelectionChange(e),this.selected},t.prototype.focus=function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0},t.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},t.prototype._handleClick=function(e){this.disabled?e.preventDefault():e.stopPropagation()},t.prototype._handleKeydown=function(e){if(!this.disabled)switch(e.keyCode){case 46:case 8:this.remove(),e.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),e.preventDefault()}},t.prototype._blur=function(){var e=this;this._ngZone.onStable.asObservable().pipe(Fu(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})},t.prototype._dispatchSelectionChange=function(e){void 0===e&&(e=!1),this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})},t}(hh(fh(ph(function(){return function(e){this._elementRef=e}}())),"primary")),fk=new Ve("mat-chips-default-options"),mk=gh(function(){return function(e,t,n,r){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=r}}()),gk=0,vk=function(){return function(e,t){this.source=e,this.value=t}}(),yk=function(e){function t(t,n,r,i,o,s,a){var l=e.call(this,s,i,o,a)||this;return l._elementRef=t,l._changeDetectorRef=n,l._dir=r,l.ngControl=a,l.controlType="mat-chip-list",l._lastDestroyedChipIndex=null,l._destroyed=new N,l._uid="mat-chip-list-"+gk++,l._tabIndex=0,l._userTabIndex=null,l._onTouched=function(){},l._onChange=function(){},l._multiple=!1,l._compareWith=function(e,t){return e===t},l._required=!1,l._disabled=!1,l.ariaOrientation="horizontal",l._selectable=!0,l.change=new Ri,l.valueChange=new Ri,l.ngControl&&(l.ngControl.valueAccessor=l),l}return i(t,e),Object.defineProperty(t.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"multiple",{get:function(){return this._multiple},set:function(e){this._multiple=Zu(e),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"compareWith",{get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this._chipInput?this._chipInput.id:this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this._required},set:function(e){this._required=Zu(e),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"focused",{get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Zu(e),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._selectable},set:function(e){var t=this;this._selectable=Zu(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{set:function(e){this._userTabIndex=e,this._tabIndex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipSelectionChanges",{get:function(){return oe.apply(void 0,this.chips.map(function(e){return e.selectionChange}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipFocusChanges",{get:function(){return oe.apply(void 0,this.chips.map(function(e){return e._onFocus}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipBlurChanges",{get:function(){return oe.apply(void 0,this.chips.map(function(e){return e._onBlur}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipRemoveChanges",{get:function(){return oe.apply(void 0,this.chips.map(function(e){return e.destroyed}))},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){var e=this;this._keyManager=new Xp(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(vc(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.tabOut.pipe(vc(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.chips.changes.pipe(Wu(null),vc(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})},t.prototype.ngOnInit=function(){this._selectionModel=new jc(this.multiple,void 0,!1),this.stateChanges.next()},t.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},t.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()},t.prototype.registerInput=function(e){this._chipInput=e},t.prototype.setDescribedByIds=function(e){this._ariaDescribedby=e.join(" ")},t.prototype.writeValue=function(e){this.chips&&this._setSelectionByValue(e,!1)},t.prototype.registerOnChange=function(e){this._onChange=e},t.prototype.registerOnTouched=function(e){this._onTouched=e},t.prototype.setDisabledState=function(e){this.disabled=e,this.stateChanges.next()},t.prototype.onContainerClick=function(e){this._originatesFromChip(e)||this.focus()},t.prototype.focus=function(){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(),this.stateChanges.next()))},t.prototype._focusInput=function(){this._chipInput&&this._chipInput.focus()},t.prototype._keydown=function(e){var t=e.target;8===e.keyCode&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(36===e.keyCode?(this._keyManager.setFirstItemActive(),e.preventDefault()):35===e.keyCode?(this._keyManager.setLastItemActive(),e.preventDefault()):this._keyManager.onKeydown(e),this.stateChanges.next())},t.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},t.prototype._updateFocusForDestroyedChips=function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null},t.prototype._isValidIndex=function(e){return e>=0&&e<this.chips.length},t.prototype._isInputEmpty=function(e){return!(!e||"input"!==e.nodeName.toLowerCase()||e.value)},t.prototype._setSelectionByValue=function(e,t){var n=this;if(void 0===t&&(t=!0),this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return n._selectValue(e,t)}),this._sortValues();else{var r=this._selectValue(e,t);r&&t&&this._keyManager.setActiveItem(r)}},t.prototype._selectValue=function(e,t){var n=this;void 0===t&&(t=!0);var r=this.chips.find(function(t){return null!=t.value&&n._compareWith(t.value,e)});return r&&(t?r.selectViaInteraction():r.select(),this._selectionModel.select(r)),r},t.prototype._initializeSelection=function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})},t.prototype._clearSelection=function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()},t.prototype._sortValues=function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())},t.prototype._propagateChanges=function(e){var t;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new vk(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()},t.prototype._blur=function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())},t.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},t.prototype._allowFocusEscape=function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))},t.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},t.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)},t.prototype._listenToChipsSelection=function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})},t.prototype._listenToChipsFocus=function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&e._keyManager.updateActiveItemIndex(n),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})},t.prototype._listenToChipsRemoved=function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){var n=t.chip,r=e.chips.toArray().indexOf(t.chip);e._isValidIndex(r)&&n._hasFocus&&(e._lastDestroyedChipIndex=r)})},t.prototype._originatesFromChip=function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1},t.prototype._hasFocusedChip=function(){return this.chips.some(function(e){return e._hasFocus})},t.prototype._syncChipsState=function(){var e=this;this.chips&&this.chips.forEach(function(t){t.disabled=e._disabled,t._chipListMultiple=e.multiple})},t}(mk),bk=function(){return function(){}}(),_k=rr({encapsulation:2,styles:[".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:'';pointer-events:none;transition:opacity .2s cubic-bezier(.35,0,.25,1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:0}.mat-standard-chip:focus::after{opacity:.16}@media (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"],data:{}});function wk(e){return cs(2,[(e()(),Qo(0,0,null,null,1,"div",[["class","mat-chip-list-wrapper"]],null,null,null,null,null)),rs(null,0)],null,null)}var Sk=function(){function e(e){this.apiSrv=e,this.fullscreenIcon="fullscreen",this.nicknameClicked=new Ri,this.micButtonClicked=new Ri,this.camButtonClicked=new Ri,this.screenShareClicked=new Ri,this.stopScreenSharingClicked=new Ri,this.exitButtonClicked=new Ri,this.chatButtonClicked=new Ri}return e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,r=window.innerHeight;n!==window.innerWidth&&t!==r&&(this.isFullscreen=!1,this.fullscreenIcon="fullscreen")},e.prototype.ngOnInit=function(){this.nicknameFormControl=new Hy(this.user.getNickname(),[py.maxLength(25),py.required]),this.matcher=new Gx},e.prototype.toggleFullscreen=function(){"fullscreen"===this.apiSrv.toggleFullscreen("container-"+this.user.getStreamManager().stream.streamId)?(this.isFullscreen=!0,this.fullscreenIcon="fullscreen_exit",this.chatOpened&&this.chatButtonClicked.emit()):(this.isFullscreen=!1,this.fullscreenIcon="fullscreen")},e.prototype.toggleSound=function(){this.mutedSound=!this.mutedSound},e.prototype.toggleNicknameForm=function(){var e=this;this.canEditNickname&&(this.toggleNickname=!this.toggleNickname,setTimeout(function(){e.nicknameInput.nativeElement&&e.nicknameInput.nativeElement.focus()}))},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.nicknameFormControl.valid&&(this.nicknameClicked.emit(this.nicknameFormControl.value),this.toggleNicknameForm())},e.prototype.toggleMic=function(){this.micButtonClicked.emit()},e.prototype.toggleCam=function(){this.camButtonClicked.emit()},e.prototype.screenShare=function(){this.screenShareClicked.emit()},e.prototype.stopScreenSharing=function(){this.stopScreenSharingClicked.emit()},e.prototype.exitSession=function(){this.exitButtonClicked.emit()},e.prototype.toggleChat=function(){this.toggleFullscreen(),this.chatOpened||this.chatButtonClicked.emit()},e}(),Ck=rr({encapsulation:0,styles:[CS],data:{}});function xk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-toolbar",[],null,[[null,"camButtonClicked"],[null,"micButtonClicked"],[null,"exitButtonClicked"],[null,"chatButtonClicked"],[null,"screenShareClicked"],[null,"stopScreenSharingClicked"],["window","resize"]],function(e,t,n){var r=!0,i=e.component;return"window:resize"===t&&(r=!1!==ni(e,1).sizeChange(n)&&r),"camButtonClicked"===t&&(r=!1!==i.toggleCam()&&r),"micButtonClicked"===t&&(r=!1!==i.toggleMic()&&r),"exitButtonClicked"===t&&(r=!1!==i.exitSession()&&r),"chatButtonClicked"===t&&(r=!1!==i.toggleChat()&&r),"screenShareClicked"===t&&(r=!1!==i.screenShare()&&r),"stopScreenSharingClicked"===t&&(r=!1!==i.stopScreenSharing()&&r),r},pk,XE)),mi(1,114688,null,0,KE,[lu],{lightTheme:[0,"lightTheme"],mySessionId:[1,"mySessionId"],localUser:[2,"localUser"],compact:[3,"compact"],newMessagesNum:[4,"newMessagesNum"]},{micButtonClicked:"micButtonClicked",camButtonClicked:"camButtonClicked",screenShareClicked:"screenShareClicked",exitButtonClicked:"exitButtonClicked",chatButtonClicked:"chatButtonClicked",stopScreenSharingClicked:"stopScreenSharingClicked"})],function(e,t){var n=t.component;e(t,1,0,n.lightTheme,n.localUser.getStreamManager().stream.session.sessionId,n.localUser,n.compact,n.newMessagesNum)},null)}function Ek(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,["_SCREEN"]))],null,null)}function kk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),as(-1,null,[" (edit)"]))],null,null)}function Ok(e){return cs(0,[(e()(),Qo(0,0,null,null,10,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(e,t,n){var r=!0,i=e.component;return"click"===t&&(r=!1!==ni(e,1)._handleClick(n)&&r),"keydown"===t&&(r=!1!==ni(e,1)._handleKeydown(n)&&r),"focus"===t&&(r=!1!==ni(e,1).focus()&&r),"blur"===t&&(r=!1!==ni(e,1)._blur()&&r),"click"===t&&(r=!1!==i.toggleNicknameForm()&&r),r},null,null)),mi(1,147456,[[3,4]],3,hk,[dn,uo,kc,[2,Ih]],{color:[0,"color"],selected:[1,"selected"]},null),Jo(603979776,4,{avatar:0}),Jo(603979776,5,{trailingIcon:0}),Jo(603979776,6,{removeIcon:0}),(e()(),Qo(5,0,null,null,1,"span",[["id","nickname"]],null,null,null,null,null)),(e()(),as(6,null,["",""])),(e()(),Go(16777216,null,null,1,null,Ek)),mi(8,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,kk)),mi(10,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,1,0,n.canEditNickname?"accent":"primary",""),e(t,8,0,n.user.isScreen()),e(t,10,0,n.canEditNickname)},function(e,t){var n=t.component;e(t,0,0,ni(t,1).disabled?null:-1,ni(t,1).selected,ni(t,1).avatar,ni(t,1).trailingIcon||ni(t,1).removeIcon,ni(t,1).disabled,ni(t,1).disabled||null,ni(t,1).disabled.toString(),ni(t,1).ariaSelected),e(t,6,0,n.user.getNickname())})}function Tk(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),mi(1,16384,[[12,4]],0,fb,[],null,null),(e()(),as(-1,null,[" Nickname is "])),(e()(),Qo(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),as(-1,null,["required"]))],null,function(e,t){e(t,0,0,ni(t,1).id)})}function Ik(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),mi(1,16384,[[12,4]],0,fb,[],null,null),(e()(),as(-1,null,[" Nickname is "])),(e()(),Qo(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),as(-1,null,["too long!"]))],null,function(e,t){e(t,0,0,ni(t,1).id)})}function Ak(e){return cs(0,[(e()(),Qo(0,0,null,null,34,"div",[["id","dialogNickname"]],[[2,"fullscreen",null]],null,null,null,null)),(e()(),Qo(1,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleNicknameForm()&&r),r},hS,pS)),mi(2,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(3,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Close"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,5).show()&&r),"keydown"===t&&(r=!1!==ni(e,5)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,5)._handleTouchend()&&r),r},XS,KS)),mi(4,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(5,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["highlight_off"])),(e()(),Qo(7,0,null,null,27,"form",[["class","alternate-theme"],["id","nicknameForm"],["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(e,t,n){var r=!0;return"submit"===t&&(r=!1!==ni(e,9).onSubmit(n)&&r),"reset"===t&&(r=!1!==ni(e,9).onReset()&&r),r},null,null)),mi(8,16384,null,0,tb,[],null,null),mi(9,4210688,null,0,Yy,[[8,null],[8,null]],null,null),vi(2048,null,iy,null,[Yy]),mi(11,16384,null,0,uy,[[4,iy]],null,null),(e()(),Qo(12,0,null,null,22,"mat-form-field",[["class","mat-form-field"],["color","primary"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,eS,Bw)),mi(13,7520256,null,9,wb,[dn,Pn,[2,Bh],[2,Qu],[2,_b],kc,uo,[2,Fw]],{color:[0,"color"]},null),Jo(603979776,7,{_controlNonStatic:0}),Jo(335544320,8,{_controlStatic:0}),Jo(603979776,9,{_labelChildNonStatic:0}),Jo(335544320,10,{_labelChildStatic:0}),Jo(603979776,11,{_placeholderChild:0}),Jo(603979776,12,{_errorChildren:1}),Jo(603979776,13,{_hintChildren:1}),Jo(603979776,14,{_prefixChildren:1}),Jo(603979776,15,{_suffixChildren:1}),(e()(),Qo(23,0,[[2,0],["nicknameInput",1]],1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(e,t,n){var r=!0,i=e.component;return"input"===t&&(r=!1!==ni(e,24)._handleInput(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,24).onTouched()&&r),"compositionstart"===t&&(r=!1!==ni(e,24)._compositionStart()&&r),"compositionend"===t&&(r=!1!==ni(e,24)._compositionEnd(n.target.value)&&r),"blur"===t&&(r=!1!==ni(e,29)._focusChanged(!1)&&r),"focus"===t&&(r=!1!==ni(e,29)._focusChanged(!0)&&r),"input"===t&&(r=!1!==ni(e,29)._onInput()&&r),"keypress"===t&&(r=!1!==i.eventKeyPress(n)&&r),r},null,null)),mi(24,16384,null,0,ny,[gn,dn,[2,ty]],null,null),vi(1024,null,$v,function(e){return[e]},[ny]),mi(26,540672,null,0,rb,[[8,null],[8,null],[6,$v],[2,nb]],{form:[0,"form"]},null),vi(2048,null,sy,null,[rb]),mi(28,16384,null,0,ly,[[4,sy]],null,null),mi(29,999424,null,0,sS,[dn,kc,[6,sy],[2,Yy],[2,ib],vh,[8,null],nS,uo],{placeholder:[0,"placeholder"],errorStateMatcher:[1,"errorStateMatcher"]},null),vi(2048,[[7,4],[8,4]],mb,null,[sS]),(e()(),Go(16777216,null,5,1,null,Tk)),mi(32,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,5,1,null,Ik)),mi(34,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0),e(t,5,0,"Close"),e(t,13,0,"primary"),e(t,26,0,n.nicknameFormControl),e(t,29,0,Ar(1,"Nick: ",n.user.getNickname(),""),n.matcher),e(t,32,0,n.nicknameFormControl.hasError("required")),e(t,34,0,n.nicknameFormControl.hasError("maxlength"))},function(e,t){e(t,0,0,t.component.isFullscreen),e(t,1,0,ni(t,2).disabled||null,"NoopAnimations"===ni(t,2)._animationMode),e(t,3,0,ni(t,4).inline,"primary"!==ni(t,4).color&&"accent"!==ni(t,4).color&&"warn"!==ni(t,4).color),e(t,7,0,ni(t,11).ngClassUntouched,ni(t,11).ngClassTouched,ni(t,11).ngClassPristine,ni(t,11).ngClassDirty,ni(t,11).ngClassValid,ni(t,11).ngClassInvalid,ni(t,11).ngClassPending),e(t,12,1,["standard"==ni(t,13).appearance,"fill"==ni(t,13).appearance,"outline"==ni(t,13).appearance,"legacy"==ni(t,13).appearance,ni(t,13)._control.errorState,ni(t,13)._canLabelFloat,ni(t,13)._shouldLabelFloat(),ni(t,13)._hasFloatingLabel(),ni(t,13)._hideControlPlaceholder(),ni(t,13)._control.disabled,ni(t,13)._control.autofilled,ni(t,13)._control.focused,"accent"==ni(t,13).color,"warn"==ni(t,13).color,ni(t,13)._shouldForward("untouched"),ni(t,13)._shouldForward("touched"),ni(t,13)._shouldForward("pristine"),ni(t,13)._shouldForward("dirty"),ni(t,13)._shouldForward("valid"),ni(t,13)._shouldForward("invalid"),ni(t,13)._shouldForward("pending"),!ni(t,13)._animationsEnabled]),e(t,23,1,[ni(t,28).ngClassUntouched,ni(t,28).ngClassTouched,ni(t,28).ngClassPristine,ni(t,28).ngClassDirty,ni(t,28).ngClassValid,ni(t,28).ngClassInvalid,ni(t,28).ngClassPending,ni(t,29)._isServer,ni(t,29).id,ni(t,29).placeholder,ni(t,29).disabled,ni(t,29).required,ni(t,29).readonly&&!ni(t,29)._isNativeSelect||null,ni(t,29)._ariaDescribedby||null,ni(t,29).errorState,ni(t,29).required.toString()])})}function Pk(e){return cs(0,[(e()(),Qo(0,0,null,null,3,"div",[["id","statusMic"]],null,null,null,null,null)),(e()(),Qo(1,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,XS,KS)),mi(2,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),(e()(),as(-1,0,["mic_off"]))],function(e,t){e(t,2,0)},function(e,t){e(t,1,0,ni(t,2).inline,"primary"!==ni(t,2).color&&"accent"!==ni(t,2).color&&"warn"!==ni(t,2).color)})}function Mk(e){return cs(0,[(e()(),Qo(0,0,null,null,3,"div",[["id","statusCam"]],null,null,null,null,null)),(e()(),Qo(1,0,null,null,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,XS,KS)),mi(2,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),(e()(),as(-1,0,["videocam_off"]))],function(e,t){e(t,2,0)},function(e,t){e(t,1,0,ni(t,2).inline,"primary"!==ni(t,2).color&&"accent"!==ni(t,2).color&&"warn"!==ni(t,2).color)})}function Rk(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Mute sound"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["volume_up"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Mute sound")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function jk(e){return cs(0,[(e()(),Qo(0,16777216,null,null,3,"mat-icon",[["class","mat-icon notranslate"],["color","warn"],["matTooltip","Unmute sound"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,2).show()&&r),"keydown"===t&&(r=!1!==ni(e,2)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,2)._handleTouchend()&&r),r},XS,KS)),mi(1,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],{color:[0,"color"]},null),mi(2,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["volume_off"])),(e()(),Go(0,null,null,0))],function(e,t){e(t,1,0,"warn"),e(t,2,0,"Unmute sound")},function(e,t){e(t,0,0,ni(t,1).inline,"primary"!==ni(t,1).color&&"accent"!==ni(t,1).color&&"warn"!==ni(t,1).color)})}function Nk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["class","streamButtons"],["id","volumeButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleSound()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Go(16777216,null,0,1,null,Rk)),mi(3,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,jk)),mi(5,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,!n.mutedSound),e(t,5,0,n.mutedSound)},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode)})}function Dk(e){return cs(0,[(e()(),Qo(0,0,null,null,5,"button",[["class","streamButtons"],["id","changeScreenButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.screenShare()&&r),r},hS,pS)),mi(1,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(2,16777216,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["matTooltip","Choose screen"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(e,t,n){var r=!0;return"longpress"===t&&(r=!1!==ni(e,4).show()&&r),"keydown"===t&&(r=!1!==ni(e,4)._handleKeydown(n)&&r),"touchend"===t&&(r=!1!==ni(e,4)._handleTouchend()&&r),r},XS,KS)),mi(3,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),mi(4,212992,null,0,df,[ad,dn,Nc,zn,uo,kc,Yp,lh,lf,[2,Qu],[2,cf],[2,_p]],{message:[0,"message"]},null),(e()(),as(-1,0,["picture_in_picture"]))],function(e,t){e(t,3,0),e(t,4,0,"Choose screen")},function(e,t){e(t,0,0,ni(t,1).disabled||null,"NoopAnimations"===ni(t,1)._animationMode),e(t,2,0,ni(t,3).inline,"primary"!==ni(t,3).color&&"accent"!==ni(t,3).color&&"warn"!==ni(t,3).color)})}function Lk(e){return cs(0,[Jo(671088640,1,{htmlVideoElement:0}),Jo(671088640,2,{nicknameInput:0}),(e()(),Qo(2,0,null,null,26,"div",[["class","OT_widget-container"]],[[8,"id",0]],null,null,null,null)),(e()(),Go(16777216,null,null,1,null,xk)),mi(4,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(5,0,null,null,7,"mat-chip-list",[["class","nickname mat-chip-list"]],[[2,"fullscreen",null],[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],function(e,t,n){var r=!0;return"focus"===t&&(r=!1!==ni(e,7).focus()&&r),"blur"===t&&(r=!1!==ni(e,7)._blur()&&r),"keydown"===t&&(r=!1!==ni(e,7)._keydown(n)&&r),r},wk,_k)),vi(6144,null,mb,null,[yk]),mi(7,1556480,null,1,yk,[dn,Pn,[2,Qu],[2,Yy],[2,ib],vh,[8,null]],null,null),Jo(603979776,3,{chips:1}),(e()(),Go(16777216,null,0,1,null,Ok)),mi(10,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,0,1,null,Ak)),mi(12,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(13,0,null,null,1,"ov-video",[],null,null,null,kS,ES)),mi(14,4243456,null,0,xS,[],{mutedSound:[0,"mutedSound"],streamManager:[1,"streamManager"]},null),(e()(),Qo(15,0,null,null,4,"div",[["class","statusIcons"]],null,null,null,null,null)),(e()(),Go(16777216,null,null,1,null,Pk)),mi(17,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Mk)),mi(19,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(20,0,null,null,4,"button",[["class","streamButtons"],["id","fullscreenButton"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var r=!0;return"click"===t&&(r=!1!==e.component.toggleFullscreen()&&r),r},hS,pS)),mi(21,180224,null,0,cS,[dn,lh,[2,Fw]],null,null),(e()(),Qo(22,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,XS,KS)),mi(23,9158656,null,0,YS,[dn,FS,[8,null],[2,HS]],null,null),(e()(),as(24,0,["",""])),(e()(),Go(16777216,null,null,1,null,Nk)),mi(26,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Dk)),mi(28,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0,n.isFullscreen),e(t,7,0),e(t,10,0,!n.toggleNickname),e(t,12,0,n.toggleNickname&&n.canEditNickname),e(t,14,0,n.mutedSound,n.user.getStreamManager()),e(t,17,0,!n.user.isAudioActive()),e(t,19,0,!n.user.isVideoActive()),e(t,23,0),e(t,26,0,n.user.isRemote()),e(t,28,0,n.user.isRemote()&&n.canEditNickname)},function(e,t){var n=t.component;e(t,2,0,"container-"+n.user.getStreamManager().stream.streamId),e(t,5,1,[n.isFullscreen,ni(t,7).disabled?null:ni(t,7)._tabIndex,ni(t,7)._ariaDescribedby||null,ni(t,7).required.toString(),ni(t,7).disabled.toString(),ni(t,7).errorState,ni(t,7).multiple,ni(t,7).role,ni(t,7).disabled,ni(t,7).errorState,ni(t,7).required,ni(t,7).ariaOrientation,ni(t,7)._uid]),e(t,20,0,ni(t,21).disabled||null,"NoopAnimations"===ni(t,21)._animationMode),e(t,22,0,ni(t,23).inline,"primary"!==ni(t,23).color&&"accent"!==ni(t,23).color&&"warn"!==ni(t,23).color),e(t,24,0,n.fullscreenIcon)})}var zk=rr({encapsulation:0,styles:[["#videoRoomNavBar[_ngcontent-%COMP%]{min-width:400px;background-color:#494949;height:100%}.stream-container[_ngcontent-%COMP%]{padding:0}.sidenav-container[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;min-height:-webkit-fill-available;overflow:hidden}.sidenav-chat[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:400px;background-color:#494949;border-left:none;position:absolute}.mat-drawer-container[_ngcontent-%COMP%]{background-color:#494949}.sidenav-main[_ngcontent-%COMP%]{height:100%;overflow:hidden;min-height:-webkit-fill-available;min-height:-moz-available}.bounds[_ngcontent-%COMP%]{background-color:#494949;position:absolute;left:0;right:0;top:40px;bottom:0;min-width:400px!important;width:inherit}.boundsLight[_ngcontent-%COMP%]{background-color:#dfdfdf!important}.custom-class[_ngcontent-%COMP%]{min-height:0!important}.OT_root[_ngcontent-%COMP%], .OT_root[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:#fff;margin:0;padding:0;border:0;font-size:100%;font-family:Ubuntu,sans-serif;vertical-align:baseline}.OT_dialog-centering[_ngcontent-%COMP%]{display:table;width:100%;height:100%}.OT_dialog-centering-child[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.OT_dialog[_ngcontent-%COMP%]{position:relative;box-sizing:border-box;margin-right:auto;margin-left:auto;color:#fff;font-family:Ubuntu,sans-serif;font-size:13px;line-height:1.4}.OT_dialog[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{font-family:inherit;box-sizing:inherit}.OT_closeButton[_ngcontent-%COMP%]{color:#999;cursor:pointer;font-size:32px;line-height:36px;position:absolute;right:18px;top:0}.OT_dialog-messages[_ngcontent-%COMP%]{text-align:center}.OT_dialog-messages-main[_ngcontent-%COMP%]{margin-bottom:36px;line-height:36px;font-weight:300;font-size:24px}.OT_dialog-messages-minor[_ngcontent-%COMP%]{margin-bottom:18px;font-size:13px;line-height:18px;color:#a4a4a4}.OT_dialog-messages-minor[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#fff}.OT_dialog-actions-card[_ngcontent-%COMP%]{display:inline-block}.OT_dialog-button-title[_ngcontent-%COMP%]{margin-bottom:18px;line-height:18px;font-weight:300;text-align:center;font-size:14px;color:#999}.OT_dialog-button-title[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#999}.OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active, .OT_dialog-button-title[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link{color:#02a1de}.OT_dialog-button-title[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#fff;font-weight:100;display:block}.OT_dialog-button[_ngcontent-%COMP%]{display:inline-block;margin-bottom:18px;padding:0 1em;background-color:#1ca3dc;text-align:center;cursor:pointer}.OT_dialog-button[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.5}.OT_dialog-button-large[_ngcontent-%COMP%]{line-height:36px;padding-top:9px;padding-bottom:9px;font-weight:100;font-size:24px}.OT_dialog-button-small[_ngcontent-%COMP%]{line-height:18px;padding-top:9px;padding-bottom:9px;background-color:#444;color:#999;font-size:16px}.OT_dialog-progress-bar[_ngcontent-%COMP%]{display:inline-block;width:100%;margin-top:5px;margin-bottom:41px;border:1px solid #4e4e4e;height:8px}.OT_dialog-progress-bar-fill[_ngcontent-%COMP%]{height:100%;background-color:#29a4da}.OT_dialog-plugin-upgrading[_ngcontent-%COMP%] .OT_dialog-plugin-upgrade-percentage[_ngcontent-%COMP%]{line-height:54px;font-size:48px;font-weight:100}.OT_centered[_ngcontent-%COMP%]{position:fixed;left:50%;top:50%;margin:0}.OT_dialog-hidden[_ngcontent-%COMP%]{display:none}.OT_dialog-button-block[_ngcontent-%COMP%]{display:block}.OT_dialog-no-natural-margin[_ngcontent-%COMP%]{margin-bottom:0}.OT_publisher[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]{position:relative;min-width:48px;min-height:48px}.OT_publisher[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{display:block;position:absolute;width:100%;height:100%;-webkit-transform-origin:0 0;transform-origin:0 0}.OT_publisher.OT_mirrored[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-webkit-transform:scale(-1,1);transform:scale(-1,1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.OT_subscriber_error[_ngcontent-%COMP%]{background-color:#000;color:#fff;text-align:center}.OT_subscriber_error[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding:20px}.OT_publisher[_ngcontent-%COMP%] .OT_archiving[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{-ms-box-sizing:border-box;box-sizing:border-box;top:0;left:0;right:0;display:block;height:34px;position:absolute}.OT_publisher[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%]{background:rgba(0,0,0,.4)}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%]{z-index:1;transition-property:top,bottom,opacity;transition-duration:.5s;transition-timing-function:ease-in}.OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{background-color:transparent;color:#fff;font-size:15px;line-height:34px;font-weight:400;padding:0 4px 0 36px}.OT_publisher[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%]{background:rgba(0,0,0,.4);top:auto;bottom:0;left:34px;padding:0 4px;color:rgba(255,255,255,.8);font-size:15px;line-height:34px;font-weight:400}.OT_micro[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_micro[_ngcontent-%COMP%]:hover .OT_archiving-status[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_archiving-status[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_archiving-status[_ngcontent-%COMP%]{display:none}.OT_publisher[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_archiving-light-box[_ngcontent-%COMP%]{background:rgba(0,0,0,.4);top:auto;bottom:0;right:auto;width:34px;height:34px}.OT_archiving-light[_ngcontent-%COMP%]{width:7px;height:7px;border-radius:30px;position:absolute;top:14px;left:14px;background-color:#575757;box-shadow:0 0 5px 1px #575757}.OT_archiving-light.OT_active[_ngcontent-%COMP%]{background-color:#970d13;animation:1.3s ease-in infinite OT_pulse;-webkit-animation:1.3s ease-in OT_pulse;-moz-animation:1.3s ease-in infinite OT_pulse;-webkit-animation-iteration-count:infinite}@-webkit-keyframes OT_pulse{0%,100%,80%{box-shadow:0 0 0 0 #c70019}30%,50%{box-shadow:0 0 5px 1px #c70019}}.OT_bar.OT_mode-mini[_ngcontent-%COMP%], .OT_bar.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_bar[_ngcontent-%COMP%]{bottom:0;height:auto}.OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-auto[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-off[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%] .OT_name.OT_mode-on[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_name.OT_mode-auto[_ngcontent-%COMP%]{display:none}.OT_publisher[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_name[_ngcontent-%COMP%]{left:10px;right:37px;height:34px;padding-left:0}.OT_publisher[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{border:none;cursor:pointer;display:block;position:absolute;text-align:center;text-indent:-9999em;background-color:transparent;background-repeat:no-repeat;right:0;top:0;border-left:1px solid rgba(255,255,255,.2);height:36px;width:37px}.OT_mini[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%], .OT_publisher.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_subscriber.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%]{top:50%;left:50%;right:auto;margin-top:-18px;margin-left:-18.5px;border-left:none}.OT_publisher[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAcCAMAAAC02HQrAAAA1VBMVEUAAAD3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pn3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pn3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj3+Pj39/j3+Pj3+Pn4+Pk/JRMlAAAAQ3RSTlMABAUHCQoLDhAQERwdHiAjLjAxOD9ASFBRVl1mbnZ6fH2LjI+QkaWqrrC1uLzAwcXJycrL1NXj5Ofo6u3w9fr7/P3+d4M3+QAAAQBJREFUGBlVwYdCglAABdCLlr5Unijm3hMUtBzlBLSr//9JgUToOQgVJgceJgU8aHgMeA38K50ZOpcQmTPwcyXn+JM8M3JJIqQypiIkeXelTyIkGZPwKS1NMia1lgKTVkaE3oQQGYsmHNqSMWnTgUFbMiZtGlD2dpaxrL1XgM0i4ZK8MeAmFhsAs29MGZniawagS63oMOQUNXYB5D0D1RMDpyoMLw/fiE2og/V+PVDR5AiBl0/2Uwik+vx4xV3a5G5Ye68Nd1czjUjZckm6VhmPciRzeCZICjwTJAViQq+3e+St167rAoHK8sLYZVkBYPCZAZ/eGa+2R5LH7Wrc0YFf/O9J3yBDFaoAAAAASUVORK5CYII=);background-position:9px 5px}.OT_publisher[_ngcontent-%COMP%] .OT_mute.OT_active[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAdCAYAAABFRCf7AAADcElEQVRIiaWVXWhcRRTHf7NNd2aDtUKMIjTpg4ufFIuiUOmDEWm0Vi3VYhXRqIggQh4sWJFSig9+oOhTKSpIRUWMIBIr2kptoTbgU6ooxCiIjR+14kcJmf9sNceHnd3ebnc3Uv9wuXfOzPzmnDMz5zozGwdWAbc65w5RUJQ8cC2wDJgFJioh/MJCMrNxq2vOzK4HmIvRRemxKP0RJWt53o7S+d2Yzsx6gQ+AIUDAnUqpBLzXZd4RYFUlhB/bdZacc3PAOmAcCMC7wfvFwLNdoAPAyx09bXyYWRl4E7gDmAdGlNKFwLYu8GolhO9O87RJd64GbMrgEvB68P4osMWdXLtVV7czlooNpVRWSs8DO7NpR/B+3rBHsvetCgtCMTxwQCm9BbyQrc8F7/uBex3uRCeXO0PrUZ4NfKyUPgWeyj3bg/crDNsIRGwBaJQGorQ3Svdn2wHgc2BUKb0DPJHtjwfvbwRucc7tz+N+i9LFUdoXpfVN36I0CVwBTFI/q9e1LPxT8P4qYEdu70q12mYzWw1MYQzjeJF6zq+shHC4B7jklOBPP/TzSunh4P0DwKvAfb5c9krpe+CcwsEoZdbhEvBM9wxRAl5RShcA9wAngE3B+8tLpdLuwrhp4MNmK0pfRWkySr7NXS8+L5nZbWZWy/Vin1IaitJnUTqvwevJ71lgSSWEFKUfHG7Q2m/xqFJaGry/GXgfGPLl8mJgrXPur2JoUC8Qy3OpG+sAbGhEKT0ErAWOA6uBPWbW1wr9BOgFbgKezot0kAPYqJQA1gC/A9cA+82svzksSn1R+jNKX0SpnM/e1x3yqig92JhrZivM7FjO8bSZLSuCR/Ok16K0KMNHojQWpYko7Y7S1igN5PE3ROl4lNaZ2UVmNpPBU01orvZvZPCeKFXbBR+lEKVtUapFaSZKg9njqpl9aWYTrmXCImA7sCWb9lK/jj9TrwkrgA1AH3AQuKsSwkzbrLfxpgpsBtYDxf/R3xm2ExirhNCuHHZXTsmRwiat+S/zSt06eysVA/4pmGr/G3qm6ik28v29FKgCg8BS6pvS0KNRGgZ+Bb4FpsxsOkfUlMuwDcBWYOUZOHYM2AU8WQmhBifDv70O7PjX7KZ+4G7g3FM8zd6uBIaBy4AqxnIcZwFLCovPAhE4Sj38b4BDwEeVEFKD9S94Khjn486v3QAAAABJRU5ErkJggg==);background-position:9px 4px}.OT_subscriber[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAATCAYAAAB7u5a2AAABx0lEQVQ4jaWUv48NURiGn3ONmCs32ZBd28ht1gqyZAkF21ylQkEiSp2ehpDlD1BoFGqqVdJohYKI7MaPxMoVNghCWMF+7ybLUewnOXfcMWO9yeQ857zne8+XmZOBGjJpr0kvTIomvTZpS526UCO4DUwD64FjwCFgqZnnR+oc8LfgzKQ73vGsr42ZtGjSQFV9o8KfBCacZwCaef4YmAf2rzjcpN3A2WSpm/AssKcqPDNpDBjs410CViXzTwk/A7b1C4wxDgOngAsZcAXY2buDfp/6S4F3lDS8DjgBzDWAjX/Y/e/QgYS/AhsKHa+OMQ6GEJ4Cj4BOAxgq6aCowyZtdf4OtAr+FHDO+R4wWnVbihr3cQnICt4boO38GWj9a/icjwOACt4m4K3zEPA+AxaAtTWCnwN3lzHkEL8V/OPAGud9wK2GF9XR1Wae/1zG2AI+pGYI4VUIoRtjHAc2A9cz4LRPevYCZ+i9/4sJt4GXJU10gaPAzdI2TTro/5Tfz8XEe2LSZGmxq/SDNvP8BnA5WRrx4BwYBe6vONx1EnjovGvBLAAd4Adwuyq8UiaNmDTvr+a8SQ9MuvbfwckBHZPe+QEfTdpep+4XZmPBHiHgz74AAAAASUVORK5CYII=);background-position:8px 7px}.OT_subscriber[_ngcontent-%COMP%] .OT_mute.OT_active[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAUCAYAAACXtf2DAAACtklEQVQ4jZ2VSYiURxTHf+/T9Nc9iRrBuYySmIsXUU9iFMEFERRBvAjJLUQi5ioiHvSScfTmgqC4XAT1ZIgLuJHkICaaQAgKI2hAUBT30bjUq7bbv4eukXK029F3+eqtv/fqK6qQdEnSNUmT6CDB/bvgfjO4N9zj2RD8007xg1IABkwEzkma0qb4PGAPMBZYLtSD8eNwAEjqTlNI0gNJM4YU7w7ut4O7gvuhZFsR3C8NC5BBLiTIY0mzM8AvqbiC++pk+zLpE95XuwAws3vAQuBPYDRwWtL84P4tsDSLv5oaug4EYOawAMF9jMdoLxqNZcDvQA04UVYqL4G/svj7AF21mhJscrvCksYBFO7xc2AAGGg2mrdjvf4rcAyomNn+slLZmUEGBgsYdh945xZJmgvckDSrEJpK6ySBgV6q12O8ABwGPjGzfWWlsjdN9rpjoSfA+DYDXARGAksK4Is3XC1Ub4z1f4CDQGFmu6tleQSYk0U+p7WVeefLJc00s4fAeWB6Qeunvj0m2ugx9gO7kmlrtSxvBfcy6fXUZS6rgG/S+jLQUwCVNmMC9HqM14EtSe+rluWazN8YEv8IqKZ1E1qnaIDO0ucx3gX6kv6TpM3AM+D/IbGjgP60/gq4WQA33gMA2OQxPgHWJX1ttSwL4FAeZGYLgB2SasBs4A8L7qOBf9M0uXQB3a+TMYSmVctyDrA9mfcBK82smSdKWgCcAaa1bTm4fxbc/8uuCQX3RanAD5Ka6Wo5IGnE0HxJPZ03pQX5Org3MsD3AO5xXLPZXJ9BjkrqdFg6QjZkgG3Jtsw93pG0VFI9QU5K6voYQBHcTydAfwheBI9HgvvPAJIWS3qeIL9JGvUxkO7gfi1BrqTvwkG/pPmSnibIqTzXPgAyEVgBjAEu1qrVPbk/PVTHgb/NbPGg/RVIzOQqzSTBaQAAAABJRU5ErkJggg==);background-position:7px 7px}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%]{top:-25px;opacity:0}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-off[_ngcontent-%COMP%]{display:none}.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%]{top:50%}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-off[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-off[_ngcontent-%COMP%]{top:auto;bottom:-25px}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-on[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-auto.OT_mode-on-hold[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_mode-on[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_mode-mini-auto[_ngcontent-%COMP%]{top:0;opacity:1}.OT_mini[_ngcontent-%COMP%] .OT_mute.OT_mode-on[_ngcontent-%COMP%], .OT_mini[_ngcontent-%COMP%]:hover .OT_mute.OT_mode-auto[_ngcontent-%COMP%], .OT_mute.OT_mode-mini[_ngcontent-%COMP%], .OT_root[_ngcontent-%COMP%]:hover .OT_mute.OT_mode-mini-auto[_ngcontent-%COMP%]{top:50%}.OT_publisher[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-on[_ngcontent-%COMP%], .OT_publisher[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%] .OT_edge-bar-item.OT_edge-bottom.OT_mode-on[_ngcontent-%COMP%], .OT_subscriber[_ngcontent-%COMP%]:hover .OT_edge-bar-item.OT_edge-bottom.OT_mode-auto[_ngcontent-%COMP%]{top:auto;bottom:0;opacity:1}.OT_root[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:100%;display:none;background-color:rgba(0,0,0,.75)}.OT_root[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%] .OT_video-loading-spinner[_ngcontent-%COMP%]{background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9Ii0yMCAtMjAgMjQwIDI0MCI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4Mj0iMCIgeTI9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iYiIgeDE9IjEiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjA4Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImMiIHgxPSIxIiB4Mj0iMCIgeTE9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuMDgiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjE2Ii8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgaWQ9ImQiIHgyPSIwIiB5MT0iMSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9Ii4xNiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuMzMiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCBpZD0iZSIgeDI9IjEiIHkxPSIxIj48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iLjMzIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjZmZmIiBzdG9wLW9wYWNpdHk9Ii42NiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJmIiB4Mj0iMSIgeTI9IjEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iI2ZmZiIgc3RvcC1vcGFjaXR5PSIuNjYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNmZmYiLz48L2xpbmVhckdyYWRpZW50PjxtYXNrIGlkPSJnIj48ZyBmaWxsPSJub25lIiBzdHJva2Utd2lkdGg9IjQwIj48cGF0aCBzdHJva2U9InVybCgjYSkiIGQ9Ik04Ni42LTUwYTEwMCAxMDAgMCAwIDEgMCAxMDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMCAxMDApIi8+PHBhdGggc3Ryb2tlPSJ1cmwoI2IpIiBkPSJNODYuNiA1MEExMDAgMTAwIDAgMCAxIDAgMTAwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjxwYXRoIHN0cm9rZT0idXJsKCNjKSIgZD0iTTAgMTAwYTEwMCAxMDAgMCAwIDEtODYuNi01MCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAwIDEwMCkiLz48cGF0aCBzdHJva2U9InVybCgjZCkiIGQ9Ik0tODYuNiA1MGExMDAgMTAwIDAgMCAxIDAtMTAwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjxwYXRoIHN0cm9rZT0idXJsKCNlKSIgZD0iTS04Ni42LTUwQTEwMCAxMDAgMCAwIDEgMC0xMDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMCAxMDApIi8+PHBhdGggc3Ryb2tlPSJ1cmwoI2YpIiBkPSJNMC0xMDBhMTAwIDEwMCAwIDAgMSA4Ni42IDUwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMDAgMTAwKSIvPjwvZz48L21hc2s+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHg9Ii0yMCIgeT0iLTIwIiBtYXNrPSJ1cmwoI2cpIiBmaWxsPSIjZmZmIi8+PC9zdmc+) no-repeat;position:absolute;width:32px;height:32px;left:50%;top:50%;margin-left:-16px;margin-top:-16px;-webkit-animation:2s linear infinite OT_spin;animation:2s linear infinite OT_spin}@-webkit-keyframes OT_spin{100%{-webkit-transform:rotate(360deg)}}@keyframes OT_spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.OT_publisher.OT_loading[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%], .OT_subscriber.OT_loading[_ngcontent-%COMP%] .OT_video-loading[_ngcontent-%COMP%]{display:block}.OT_video-centering[_ngcontent-%COMP%]{display:table;width:100%;height:100%}.OT_video-container[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.OT_video-poster[_ngcontent-%COMP%]{position:absolute;z-index:1;width:100%;height:100%;display:none;opacity:.25;background-repeat:no-repeat;background-image:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNDcxIDQ2NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48bGluZWFyR3JhZGllbnQgaWQ9ImEiIHgyPSIwIiB5Mj0iMSI+PHN0b3Agb2Zmc2V0PSI2Ni42NiUiIHN0b3AtY29sb3I9IiNmZmYiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPjwvbGluZWFyR3JhZGllbnQ+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTc5IDMwOGMxNC4yNS02LjUgNTQuMjUtMTkuNzUgNzEtMjkgOS0zLjI1IDI1LTIxIDI1LTIxczMuNzUtMTMgMy0yMmMtMS43NS02Ljc1LTE1LTQzLTE1LTQzLTIuNSAzLTQuNzQxIDMuMjU5LTcgMS0zLjI1LTcuNS0yMC41LTQ0LjUtMTYtNTcgMS4yNS03LjUgMTAtNiAxMC02LTExLjI1LTMzLjc1LTgtNjctOC02N3MuMDczLTcuMzQ2IDYtMTVjLTMuNDguNjM3LTkgNC05IDQgMi41NjMtMTEuNzI3IDE1LTIxIDE1LTIxIC4xNDgtLjMxMi0xLjMyMS0xLjQ1NC0xMCAxIDEuNS0yLjc4IDE2LjY3NS04LjY1NCAzMC0xMSAzLjc4Ny05LjM2MSAxMi43ODItMTcuMzk4IDIyLTIyLTIuMzY1IDMuMTMzLTMgNi0zIDZzMTUuNjQ3LTguMDg4IDQxLTZjLTE5Ljc1IDItMjQgNi0yNCA2czc0LjUtMTAuNzUgMTA0IDM3YzcuNSA5LjUgMjQuNzUgNTUuNzUgMTAgODkgMy43NS0xLjUgNC41LTQuNSA5IDEgLjI1IDE0Ljc1LTExLjUgNjMtMTkgNjItMi43NSAxLTQtMy00LTMtMTAuNzUgMjkuNS0xNCAzOC0xNCAzOC0yIDQuMjUtMy43NSAxOC41LTEgMjIgMS4yNSA0LjUgMjMgMjMgMjMgMjNsMTI3IDUzYzM3IDM1IDIzIDEzNSAyMyAxMzVMMCA0NjRzLTMtOTYuNzUgMTQtMTIwYzUuMjUtNi4yNSAyMS43NS0xOS43NSA2NS0zNnoiLz48L3N2Zz4=);background-size:auto 76%}.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover}@media only screen and (orientation:portrait){.OT_subscriber.OT_ForceContain.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:contain!important;object-fit:contain!important}}.OT_fit-mode-contain[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{-o-object-fit:contain;object-fit:contain}.OT_fit-mode-cover[_ngcontent-%COMP%] .OT_video-poster[_ngcontent-%COMP%]{background-position:center bottom}.OT_fit-mode-contain[_ngcontent-%COMP%] .OT_video-poster[_ngcontent-%COMP%]{background-position:center}.OT_audio-level-meter[_ngcontent-%COMP%]{position:absolute;width:25%;max-width:224px;min-width:21px;top:0;right:0;overflow:hidden}.OT_audio-level-meter[_ngcontent-%COMP%]:before{content:'';display:block;padding-top:100%}.OT_audio-level-meter__bar[_ngcontent-%COMP%]{position:absolute;width:192%;height:192%;top:-96%;right:-96%;border-radius:50%;background-color:rgba(0,0,0,.8)}.OT_audio-level-meter__audio-only-img[_ngcontent-%COMP%]{position:absolute;top:22%;right:15%;width:40%;opacity:.7;background:url(data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgNzkgODYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI2ZmZiI+PHBhdGggZD0iTTkuNzU3IDQwLjkyNGMzLjczOC01LjE5MSAxMi43MTEtNC4zMDggMTIuNzExLTQuMzA4IDIuMjIzIDMuMDE0IDUuMTI2IDI0LjU4NiAzLjYyNCAyOC43MTgtMS40MDEgMS4zMDEtMTEuNjExIDEuNjI5LTEzLjM4LTEuNDM2LTEuMjI2LTguODA0LTIuOTU1LTIyLjk3NS0yLjk1NS0yMi45NzV6bTU4Ljc4NSAwYy0zLjczNy01LjE5MS0xMi43MTEtNC4zMDgtMTIuNzExLTQuMzA4LTIuMjIzIDMuMDE0LTUuMTI2IDI0LjU4Ni0zLjYyNCAyOC43MTggMS40MDEgMS4zMDEgMTEuNjExIDEuNjI5IDEzLjM4LTEuNDM2IDEuMjI2LTguODA0IDIuOTU1LTIyLjk3NSAyLjk1NS0yMi45NzV6Ii8+PHBhdGggZD0iTTY4LjY0NyA1OC42Yy43MjktNC43NTMgMi4zOC05LjU2MSAyLjM4LTE0LjgwNCAwLTIxLjQxMi0xNC4xMTUtMzguNzctMzEuNTI4LTM4Ljc3LTE3LjQxMiAwLTMxLjUyNyAxNy4zNTgtMzEuNTI3IDM4Ljc3IDAgNC41NDEuNTE1IDguOTM2IDEuODAyIDEyLjk1IDEuNjk4IDUuMjk1LTUuNTQyIDYuOTkxLTYuNjE2IDIuMDczQzIuNDEgNTUuMzk0IDAgNTEuNzg3IDAgNDguMTAzIDAgMjEuNTM2IDE3LjY4NSAwIDM5LjUgMCA2MS4zMTYgMCA3OSAyMS41MzYgNzkgNDguMTAzYzAgLjcxOC0yLjg5OSA5LjY5My0zLjI5MiAxMS40MDgtLjc1NCAzLjI5My03Ljc1MSAzLjU4OS03LjA2MS0uOTEyeiIvPjxwYXRoIGQ9Ik01LjA4NCA1MS4zODVjLS44MDQtMy43ODIuNTY5LTcuMzM1IDMuMTM0LTcuOTIxIDIuNjM2LS42MDMgNS40ODUgMi4xNSA2LjI4OSA2LjEzMi43OTcgMy45NDgtLjc1MiA3LjQ1Ny0zLjM4OCA3Ljg1OS0yLjU2Ni4zOTEtNS4yMzctMi4zMTgtNi4wMzQtNi4wN3ptNjguODM0IDBjLjgwNC0zLjc4Mi0uNTY4LTcuMzM1LTMuMTMzLTcuOTIxLTIuNjM2LS42MDMtNS40ODUgMi4xNS02LjI4OSA2LjEzMi0uNzk3IDMuOTQ4Ljc1MiA3LjQ1NyAzLjM4OSA3Ljg1OSAyLjU2NS4zOTEgNS4yMzctMi4zMTggNi4wMzQtNi4wN3ptLTIuMDM4IDguMjg4Yy0uOTI2IDE5LjY1OS0xNS4xMTIgMjQuNzU5LTI1Ljg1OSAyMC40NzUtNS40MDUtLjYwNi0zLjAzNCAxLjI2Mi0zLjAzNCAxLjI2MiAxMy42NjEgMy41NjIgMjYuMTY4IDMuNDk3IDMxLjI3My0yMC41NDktLjU4NS00LjUxMS0yLjM3OS0xLjE4Ny0yLjM3OS0xLjE4N3oiLz48cGF0aCBkPSJNNDEuNjYyIDc4LjQyMmw3LjU1My41NWMxLjE5Mi4xMDcgMi4xMiAxLjE1MyAyLjA3MiAyLjMzNWwtLjEwOSAyLjczOGMtLjA0NyAxLjE4Mi0xLjA1MSAyLjA1NC0yLjI0MyAxLjk0NmwtNy41NTMtLjU1Yy0xLjE5MS0uMTA3LTIuMTE5LTEuMTUzLTIuMDcyLTIuMzM1bC4xMDktMi43MzdjLjA0Ny0xLjE4MiAxLjA1Mi0yLjA1NCAyLjI0My0xLjk0N3oiLz48L2c+PC9zdmc+) center no-repeat}.OT_audio-level-meter__audio-only-img[_ngcontent-%COMP%]:before{content:'';display:block;padding-top:100%}.OT_audio-level-meter__value[_ngcontent-%COMP%]{position:absolute;border-radius:50%;background-image:radial-gradient(circle,rgba(151,206,0,1) 0,rgba(151,206,0,0) 100%)}.OT_audio-level-meter.OT_mode-off[_ngcontent-%COMP%]{display:none}.OT_audio-level-meter.OT_mode-on[_ngcontent-%COMP%], .OT_audio-only[_ngcontent-%COMP%] .OT_audio-level-meter.OT_mode-auto[_ngcontent-%COMP%]{display:block}.OT_audio-only.OT_publisher[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%], .OT_audio-only.OT_subscriber[_ngcontent-%COMP%] .OT_video-element[_ngcontent-%COMP%]{display:none}.OT_video-disabled-indicator[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:bottom right;pointer-events:none;top:0;left:0;bottom:3px;right:3px}.OT_video-disabled[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAoCAYAAABtla08AAAINUlEQVR42u2aaUxUVxTHcRBmAAEBRVTK4sKwDIsg+wCK7CqIw1CN1YobbbS2qYlJ06Qx1UpdqMbYWq2pSzWmH6ytNbXWJY1Lq7VuqBERtW64V0XFLYae0/xvcp3MMAMzDz6IyT/ge2ce5/7ucpY3Ts3NzZ1ygF57AJ0gO0G2jyZPmdbFyclJSAV1EeoEaUUSLGdSV5KLLFxzFmA7QVqGqDqjixhWkxCVeyRVl38wM6bwj6yYItYK47BAuu9B0gCqs6Ng2r494KQtkj/Dz2jHraw6qw2fdSE4rNmcCPCvZONP8iF1I6kdBdMaQJWZLeJqRWa2kPJAxXY+GxE+zxLI03GRh8lGSwoi9WCY8FWlCEh+8JOnT7MfPGjMuXX7Tt61hoaCi/9cKmKdv3BxeEtim/UbNpnbQiqF4MmT7kqrbr4lkMcTo46TTSpJB5g+8NHuVWnWuaampvhmO/7duHmrGluoO4C6OsJZGRrkDIld43ZqUOTnlkDSmXmabAoBU0vqBf+6KgFSxQ9++uzZ8rZApM81TJ8xM5me0Z/UF7PuBmdVdkGEb5gYDeQmyZNW3SJLIP9Kj64lGyMpmxRN6sOfIbkoAhKOdnv2/PmB1kB88eLFo+olyyrps3rSINIAzLonnqlqK8R9w+L86vtrt5L2nhug3Vc3ULu/Liz8AOuXESlZZONH6kmr7gtLIA9lRNeRzVukAvj3BslLnJNKgfScO69K+/Lly0ZbQW7e8tNK+pwBjqaSIjDrXgJkW1ciAZvbQjQ+RDahpBBKd5ZZsqN758hmImk4KQHnpDd8UwSkCyJarx07d4+3BeKJmlMHyX4qaRxpBCmNFE4KENvHDpAutVERn1kCVBMfeRRgYvZnx62wZPdnZkw92VQA5GClQXYRBze2S+iJmpPVVoJLA9l9QKokjcWKTCT1R5rhLg70NuSsziT16diIKkuAjibrTpJNDkn/e17CahtAjlAWJAYkb29Sb1LE9Rs391kILk8mVkyuIpuZcLKUlEmKkra1WuSTNuesEPzwoEploSVAh9Oiz+BIyd9dOHhtx4OEpFpVg6gbNK3yXX1j48N6U5Dz5i/gc/FDrMY3sTLiSMEkXxGxzUEUAGnbxlPaksMlHUXWAlHS8URCPseSohZbCSLjSSU7ixLXdzhIWVKq4Y7t2a/2bN0qGeKly1fYsVmk6RgIDz4J0bonyUOcjeYqm/8hRoYbWkigV2NH9CHAS60EkUkkw47hSRs6FqT1LR5AVcsrueXlK1d5AO+RpmBrZZEiefByytPCanRGNLZY0uF52gNDYr9sCRB8MHY0SJu2OJWKS2WQV65e4y31DmkCImEi0hBfufRime0RIhpbKen0/Ny9OYNW2ghyYytABjNIaxNuKttAWk6HPLn0k0FevdZwFinPWFIuKZbUV16NVko6jbWSDoPO3pOf8K0jQWLSQ0S9bdpkYck+m7vfWpAiHfKgBsZiGSSt0FqcTeU8WETqAHE2CgcAVd3Gkm4MD3xXYeI6B4NMItvKbcUpQ9gP+KMWnSsW+TaYJtoo+avBWLoKoK0CCSDud+7eXWQGZAXqV3YoQjQCfixJ8+fzj9ta3JHhlUeJ8wJOY2ws6eRKpPS3oqTvHAESEz9ya0naXL5WH6pt3FqSOhTHkTcKEXc6k1POh4Q9YJu/03TT4a8PoGMFI4i2EqSbOZAYaBkpCyD92RkG6KCSbjI/H0HEISBnlOZPFdcEzI2GTO4KBZICGKyAKLTEmJOB2txf5MbgohBINCl4FTqmpJMB2W+HiRn1Q2l6lXyPmiEP6VVE2TfGoaMYrHyPdtAnyI0jEOn9RLWmNEhvBBE7SjpFQZaShtLK+1S+T12lRwxUvrZlVPp8jE1PikeO7C/nyEqBDCB1t7+kUx4kKUWclea0yZC5BIGpiJSNSD9QgFR0RQKkL6KxHSWdsiARHJNYewoGrzG1/bk4dTPSunL2EyDjcbb7MQ+lQfZmkKiN7SjpFAM5CWAyGcwyY84YsZ1lUcbRNNtQMAdtQWGvQ0DyVjzYAKQfQFodeAeC1C8vzymXIZqD+ZEh/2OyLSalS/3VbnJZ+VqDXGjMrTCFuK4s66vVZUNfqaDolcbjOcb899sLpEE+I20GifywXe2QR3KElu99PzqjGufhREqB1pjCnG3IL3fY1v733r2FMsiGhutn0LAoJWWIGbPxjKwgjUbF0m52mPhigrpdXOecEq9pR6MkHbu2LOtrcZ9y3d0ODTb15y9MePz48aF79+8fvXnr9sljx2u2I7KNxDuaMPGVECoRs7mC4eT7SIruFNfNHK15MKuM2evwNq+4qjxvGnd5CHwNNynawW4cOlUZdG8b55IIJHmkItwrZHH6QxB3OSL9kTtAGpIvZiQB3Z4SKBfXQtEE9sashWAW87Bt3sYZNR6zn4uzJwWDKUKXfaKCdqUoBpLxSjYe9nqGiwWRBGipuGZ3Qm76itYLbbJI/PEhUApfw73uOIy9xfse3M9F9BuFJHcYrseSouGkHtCVtkuGTTikI8XgZzhg9SeF4VqcvSWiaSvNHQ8JwkNjIfEHemCmNLD1RaEfLs18mlgNuN6PFALHo7CyU5W2g00gFAQF4ozvibH04muwDbWraSFAyt/AAMzewgGR8uCeWn77xzBxPxgzPRCDDMZ14bQ/3jqGKGoHf2Hjgx3kw5LbaJDYWb52t9FMgw4AuWNWukNeuOYqOsmQi2jgws4PA/DD/z0B2x0/veCs4naw0cgybezid7X9jV3rX2RSs0wfLkll4pBGcgifg+NYxe1kJ2ycTaRq66uG/wBOl0vjcw70xwAAAABJRU5ErkJggg==);background-size:33px auto}.OT_video-disabled-warning[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAAAoCAYAAABtla08AAAGMElEQVR4Ae2aA7D0yBaAc7oH12vbRmlLaxYWb23btm3btm2899a2bWuYtPZ01cmtU9lJrib315yqr9I3Oem/5/s7acwEnehEJzoxCcX2O+wEeIgRBDDaGjAZOgQ6ihRpLklHZDJIXK1WWymMIhGGkVBKCWMM+Iv/f/b5t7faYtM/sGgIS7j8RNLjceUVl41GvGN1BFiHy9sgtRWaYbhvuVQ6o1VOvV5/tLe3dyssKoZuh8xClkDEi2MMS6ZjR0cScxdK/+HgnJsmLccYOx0e/PUGUqfTJDEHkV5go9lcMQoj4R8RpSIRRUr4a9baTJFCCNfqESKJ7RYJibK0xoi05EhFRTxMi1Rit6xHAuLaKRLwEVi6q1x+EhlVpd3d3Wfh4VQkQhRhxthYLg7SRGqdLlIp7UVOHf+JhEhEMscUolVje3p63saeeOFoKsT7fjj++BNuw2I/0ouUENmGaQcQEilQvUU6xuWC0kqmVWCt8df6kG7WLoFA20VSCOyNh0RKPT+SyrTWtQsvuvTYCy84z3+oAdbgAiLGIvHjTz6bFuu/B3lKKfVkFKknwih6EnnipZdfXQZzepAupXSGSCfwUGZtkrx3t/0dSQGnnXbmdocdetArQoj+4VR23wMP3bj/vnv9Sv/rBmkish09ca655thHSrlWq4TFF1vkNDxsgjiUnPqZnHPABIq47jx7pPMcecShfz7x1DO7D6eit99576X1113nVd8rqLGAuDaNitJonTGIqHgQGQjDsJglMrUH5iDSEQbRa6y2yrNvv/PuWVmV/PTzLz8steTit1B9FtGJeZrJksmWdBzBMcami4xUkaY1A1Qe94WIaPGBApJhaERrLrXkElf8+NPPz6YMLs1DDjn0Wn9PnI/UiQadM4jNEkhzVsEGE8nIHESM1j5/KqRX+/IEiOQ/yifNBlEkpnb00cccesbpp13T3983H88/48xzrrvm6it/8U5JXgX5G6nSvSq1R5LATR7aYGkwMG1RSwkWABH+4jUb3vT/uJ1Z0xpjraTBRltrxUQhksIRmgTJyy69+Pv99tv3qYX6FxgU+fU33352xGEHf5wisU7nNWJpZRMkAjZ6aIN1mwV7h29Jo2wCHlveu/GV169z65E+T6koexCh6c+EEiky3lnxQKFjUeVyOeI5AOBzIiayRhJryd7YYnkIHgvB0qk9Tdql6N3XH4bRUIOIIIKJSiRb0hkSEpZKRd1CpEq8GxtIyCVmDSgFl94GacTgaJw1rUlYhYng0c4ewaUsmKRIJjpiqMSOCh9QeI+UYECmtQIsxEu6OorEcv6Rl0gu0woh8MhFkmSCTXVI4pC704WCFRJvSRNJSzrMMEZO2iKZTCHAZYnmvXCny7ed5vfZK3viHSBdIFCKEFj2+nt+73nw8m2uedcLJlktA++VNMEPaR45aYukcKnnCfY3/DFbZS8t7eHxNgsPM0N1hXhJJwwM1QbpoQFlog2R13a/zBxEYHAQEUYUM6qiVwEyBYoM6JFNF2kFLelI5KQf+fVI4dJFCguDS7oAyx2R6SFQJKRedSDj/cMg/RXQ6ZE05GSIDAaXdCi1I3L021SQWNJ1RLY5OiIdL4/yvuw8ADfWPFrSciaMyH8tEQPwf1uGG54g5+KlJGTmsrxsQdl5PKidnPFe2QS///7Hu+VS6WX/HYnf0sevGL7lXydwod2/9DykZq0s5yff0sgSWCigNOH7TPHL7ufj+/TH8P/+qYpL4HkBDiRYpEXeM8/89/9zzjn7EtY64dfd1nqccM7Bs8+9MKy8555/8TnKS+5MufH6EZVASkgPzf+mJXroet17JirU0ALST3nT0y5ONyLpeo1y64ih+vuQfsoTOeRFSJXa+SvyB90TUmdw49EjLaKpMQ0mzEeTzkWsd/oI6fzfiKM8gWg6X6OjpXstu5ZHnmIb0GFiu29MIUfUewkmVrEN3RqVQ/bY8FzNcquMBv/pCNUZ5pHHem01KdN/I/DG66/lLhKSvTO5M84kav5C5z2ZfyAivi9i9VGd45RH7UWJbjwGG/7NYsRECt7jiOToHedKAui8SW4CsxyRc54mKH/8f7ELhCCACyNcIl/wI+FaAJyc8yzRtinQPzWzuFZrFHq/AAAAAElFTkSuQmCC);background-size:33px auto}.OT_video-disabled-indicator.OT_active[_ngcontent-%COMP%]{display:block}.OT_audio-blocked-indicator[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:center;pointer-events:none;top:0;left:0;bottom:0;right:0}.OT_audio-blocked[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjkwIj48ZGVmcz48cGF0aCBkPSJNNjcgMTJMNi40NDggNzIuNTUyIDAgMzFWMThMMjYgMGw0MSAxMnptMyA3bDYgNDctMjkgMTgtMzUuNTAyLTYuNDk4TDcwIDE5eiIgaWQ9ImEiLz48L2RlZnM+PHJlY3Qgd2lkdGg9IjE1MCIgaGVpZ2h0PSI5MCIgcng9IjM1IiByeT0iNDUiIG9wYWNpdHk9Ii41Ii8+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzNikiPjxtYXNrIGlkPSJiIiBmaWxsPSIjZmZmIj48dXNlIHhsaW5rOmhyZWY9IiNhIi8+PC9tYXNrPjxwYXRoIGQ9Ik0zOS4yNDkgNTEuMzEyYy42OTcgMTAuMzcgMi43ODUgMTcuODk3IDUuMjUxIDE3Ljg5NyAzLjAzOCAwIDUuNS0xMS40MTcgNS41LTI1LjVzLTIuNDYyLTI1LjUtNS41LTI1LjVjLTIuNTEgMC00LjYyOCA3Ljc5Ny01LjI4NyAxOC40NTNBOC45ODkgOC45ODkgMCAwIDEgNDMgNDRhOC45ODggOC45ODggMCAwIDEtMy43NTEgNy4zMTJ6TTIwLjk4NSAzMi4yMjRsMTUuNzQ2LTE2Ljg3N2E3LjM4NSA3LjM4NSAwIDAgMSAxMC4zNzQtLjQyQzUxLjcwMiAxOS4xMTQgNTQgMjkuMjA4IDU0IDQ1LjIwOGMwIDE0LjUyNy0yLjM0MyAyMy44OC03LjAzIDI4LjA1OGE3LjI4IDcuMjggMCAwIDEtMTAuMTY4LS40NjhMMjAuNDA1IDU1LjIyNEgxMmE1IDUgMCAwIDEtNS01di0xM2E1IDUgMCAwIDEgNS01aDguOTg1eiIgZmlsbD0iI0ZGRiIgbWFzaz0idXJsKCNiKSIvPjwvZz48cGF0aCBkPSJNMTA2LjUgMTMuNUw0NC45OTggNzUuMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-size:90px auto}.OT_container-audio-blocked[_ngcontent-%COMP%]{cursor:pointer}.OT_container-audio-blocked[_ngcontent-%COMP%] .OT_mute[_ngcontent-%COMP%], .OT_container-audio-blocked.OT_mini[_ngcontent-%COMP%] .OT_edge-bar-item[_ngcontent-%COMP%]{display:none}.OT_audio-blocked-indicator.OT_active[_ngcontent-%COMP%]{display:block}.OT_video-unsupported[_ngcontent-%COMP%]{opacity:1;border:none;display:none;position:absolute;background-color:transparent;background-repeat:no-repeat;background-position:center;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik03MCAxMkw5LjQ0OCA3Mi41NTIgMCA2MmwzLTQ0TDI5IDBsNDEgMTJ6bTggMmwxIDUyLTI5IDE4LTM1LjUwMi02LjQ5OEw3OCAxNHoiIGlkPSJhIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCAzKSI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHBhdGggZD0iTTkuMTEgMjAuOTY4SDQ4LjFhNSA1IDAgMCAxIDUgNVY1OC4xOGE1IDUgMCAwIDEtNSA1SDkuMTFhNSA1IDAgMCAxLTUtNVYyNS45N2E1IDUgMCAwIDEgNS01em00Ny4wOCAxMy4zOTRjMC0uMzQ1IDUuNDcyLTMuMTU5IDE2LjQxNS04LjQ0M2EzIDMgMCAwIDEgNC4zMDQgMi43MDJ2MjYuODM1YTMgMyAwIDAgMS00LjMwNSAyLjcwMWMtMTAuOTQyLTUuMjg2LTE2LjQxMy04LjEtMTYuNDEzLTguNDQ2VjM0LjM2MnoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48L2c+PHBhdGggZD0iTTgxLjUgMTYuNUwxOS45OTggNzguMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-size:58px auto;pointer-events:none;top:0;left:0;bottom:0;right:0;margin-top:-30px}.OT_video-unsupported-bar[_ngcontent-%COMP%]{display:none;position:absolute;width:192%;height:192%;top:-96%;left:-96%;border-radius:50%;background-color:rgba(0,0,0,.8)}.OT_video-unsupported-img[_ngcontent-%COMP%]{display:none;position:absolute;top:11%;left:15%;width:70%;opacity:.7;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOTciIGhlaWdodD0iOTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxkZWZzPjxwYXRoIGQ9Ik03MCAxMkw5LjQ0OCA3Mi41NTIgMCA2MmwzLTQ0TDI5IDBsNDEgMTJ6bTggMmwxIDUyLTI5IDE4LTM1LjUwMi02LjQ5OEw3OCAxNHoiIGlkPSJhIi8+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOCAzKSI+PG1hc2sgaWQ9ImIiIGZpbGw9IiNmZmYiPjx1c2UgeGxpbms6aHJlZj0iI2EiLz48L21hc2s+PHBhdGggZD0iTTkuMTEgMjAuOTY4SDQ4LjFhNSA1IDAgMCAxIDUgNVY1OC4xOGE1IDUgMCAwIDEtNSA1SDkuMTFhNSA1IDAgMCAxLTUtNVYyNS45N2E1IDUgMCAwIDEgNS01em00Ny4wOCAxMy4zOTRjMC0uMzQ1IDUuNDcyLTMuMTU5IDE2LjQxNS04LjQ0M2EzIDMgMCAwIDEgNC4zMDQgMi43MDJ2MjYuODM1YTMgMyAwIDAgMS00LjMwNSAyLjcwMWMtMTAuOTQyLTUuMjg2LTE2LjQxMy04LjEtMTYuNDEzLTguNDQ2VjM0LjM2MnoiIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjYikiLz48L2c+PHBhdGggZD0iTTgxLjUgMTYuNUwxOS45OTggNzguMDAyIiBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9nPjwvc3ZnPg==);background-repeat:no-repeat;background-position:center;background-size:100% auto}.OT_video-unsupported-img[_ngcontent-%COMP%]:before{content:'';display:block;padding-top:93%}.OT_video-unsupported-text[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;text-align:center;height:100%;margin-top:40px}@media (min-width:1440px){.sidenav-chat[_ngcontent-%COMP%]{width:33%}}@media (max-width:1440px) and (min-width:1024px){.sidenav-chat[_ngcontent-%COMP%]{width:30%}}@media (max-width:1024px) and (min-width:790px){.sidenav-chat[_ngcontent-%COMP%]{width:350px}}"]],data:{}});function Vk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-dialog-choose-room",[],null,[[null,"join"],[null,"leaveSession"]],function(e,t,n){var r=!0,i=e.component;return"join"===t&&(r=!1!==i.toggleDialogChooseRoom(n)&&r),"leaveSession"===t&&(r=!1!==i.exitSession()&&r),r},gE,Yx)),mi(1,114688,null,0,Qx,[$m,lu],{userNickname:[0,"userNickname"],sessionName:[1,"sessionName"],ovSettings:[2,"ovSettings"]},{join:"join",leaveSession:"leaveSession"})],function(e,t){var n=t.component;e(t,1,0,n.user,n.sessionName,n.ovSettings)},null)}function Fk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-dialog-extension",[],null,[[null,"cancel"]],function(e,t,n){var r=!0;return"cancel"===t&&(r=!1!==e.component.toggleDialogExtension()&&r),r},SS,_S)),mi(1,114688,null,0,bS,[],{nickname:[0,"nickname"]},{cancel:"cancel"})],function(e,t){e(t,1,0,t.component.localUsers[0].getNickname())},null)}function Uk(e){return cs(0,[(e()(),Qo(0,0,null,null,3,"mat-sidenav",[["class","sidenav-chat mat-drawer mat-sidenav"],["fixedBottomGap","0"],["fixedInViewport","true"],["fixedTopGap","40"],["position","end"],["tabIndex","-1"]],[[2,"boundsLight",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],function(e,t,n){var r=!0;return"component:@transform.start"===t&&(r=!1!==ni(e,1)._animationStartListener(n)&&r),"component:@transform.done"===t&&(r=!1!==ni(e,1)._animationDoneListener(n)&&r),r},IE,TE)),mi(1,3325952,[[3,4],[2,4],["sidenav",4]],0,CE,[dn,nh,lh,kc,uo,[2,gl]],{position:[0,"position"],mode:[1,"mode"],fixedInViewport:[2,"fixedInViewport"],fixedTopGap:[3,"fixedTopGap"],fixedBottomGap:[4,"fixedBottomGap"]},null),(e()(),Qo(2,0,null,0,1,"chat-component",[],null,[[null,"closeChat"],["document","keydown.escape"]],function(e,t,n){var r=!0,i=e.component;return"document:keydown.escape"===t&&(r=!1!==ni(e,3).onKeydownHandler(n)&&r),"closeChat"===t&&(r=!1!==i.toggleChat()&&r),r},GE,HE)),mi(3,114688,[[1,4],["chatComponent",4]],0,au,[],{session:[0,"session"],sessionScreen:[1,"sessionScreen"],user:[2,"user"],lightTheme:[3,"lightTheme"],messageList:[4,"messageList"],isDisplayed:[5,"isDisplayed"]},{closeChat:"closeChat"})],function(e,t){var n=t.component;e(t,1,0,"end",Ar(1,"",n.sidenavMode,""),"true","40","0"),e(t,3,0,n.session,n.sessionScreen,n.localUsers[0],n.lightTheme,n.messageList,n.chatOpened)},function(e,t){e(t,0,0,t.component.lightTheme,null,"end"===ni(t,1).position,"over"===ni(t,1).mode,"push"===ni(t,1).mode,"side"===ni(t,1).mode,ni(t,1).fixedInViewport,ni(t,1).fixedInViewport?ni(t,1).fixedTopGap:null,ni(t,1).fixedInViewport?ni(t,1).fixedBottomGap:null,ni(t,1)._animationState)})}function Bk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"stream-component",[],null,[[null,"nicknameClicked"],[null,"camButtonClicked"],[null,"micButtonClicked"],[null,"exitButtonClicked"],[null,"chatButtonClicked"],[null,"screenShareClicked"],[null,"stopScreenSharingClicked"],["window","resize"]],function(e,t,n){var r=!0,i=e.component;return"window:resize"===t&&(r=!1!==ni(e,1).sizeChange(n)&&r),"nicknameClicked"===t&&(r=!1!==i.nicknameChanged(n)&&r),"camButtonClicked"===t&&(r=!1!==i.toggleCam()&&r),"micButtonClicked"===t&&(r=!1!==i.toggleMic()&&r),"exitButtonClicked"===t&&(r=!1!==i.exitSession()&&r),"chatButtonClicked"===t&&(r=!1!==i.toggleChat()&&r),"screenShareClicked"===t&&(r=!1!==i.screenShareAndChangeScreen()&&r),"stopScreenSharingClicked"===t&&(r=!1!==i.stopScreenSharing()&&r),r},Lk,Ck)),mi(1,114688,[["videoStream",4]],0,Sk,[lu],{user:[0,"user"],localUser:[1,"localUser"],lightTheme:[2,"lightTheme"],compact:[3,"compact"],chatOpened:[4,"chatOpened"],newMessagesNum:[5,"newMessagesNum"],canEditNickname:[6,"canEditNickname"]},{nicknameClicked:"nicknameClicked",micButtonClicked:"micButtonClicked",camButtonClicked:"camButtonClicked",screenShareClicked:"screenShareClicked",stopScreenSharingClicked:"stopScreenSharingClicked",exitButtonClicked:"exitButtonClicked",chatButtonClicked:"chatButtonClicked"})],function(e,t){var n=t.component;e(t,1,0,t.parent.context.$implicit,n.localUsers[0],n.lightTheme,n.compact,n.chatOpened,n.newMessages,!0)},null)}function qk(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"div",[["class","OT_root OT_publisher custom-class"],["id","localUser"]],null,[[null,"dblclick"]],function(e,t,n){var r=!0;return"dblclick"===t&&(r=!1!==e.component.enlargeElement(n)&&r),r},null,null)),(e()(),Go(16777216,null,null,1,null,Bk)),mi(2,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.context.$implicit.getStreamManager();e(t,2,0,n)},null)}function Hk(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"div",[["class","OT_root OT_publisher custom-class"],["id","remoteUsers"]],null,[[null,"dblclick"]],function(e,t,n){var r=!0;return"dblclick"===t&&(r=!1!==e.component.enlargeElement(n)&&r),r},null,null)),(e()(),Qo(1,0,null,null,1,"stream-component",[],null,[[null,"camButtonClicked"],[null,"micButtonClicked"],[null,"exitButtonClicked"],[null,"chatButtonClicked"],[null,"screenShareClicked"],[null,"stopScreenSharingClicked"],["window","resize"]],function(e,t,n){var r=!0,i=e.component;return"window:resize"===t&&(r=!1!==ni(e,2).sizeChange(n)&&r),"camButtonClicked"===t&&(r=!1!==i.toggleCam()&&r),"micButtonClicked"===t&&(r=!1!==i.toggleMic()&&r),"exitButtonClicked"===t&&(r=!1!==i.exitSession()&&r),"chatButtonClicked"===t&&(r=!1!==i.toggleChat()&&r),"screenShareClicked"===t&&(r=!1!==i.screenShareAndChangeScreen()&&r),"stopScreenSharingClicked"===t&&(r=!1!==i.stopScreenSharing()&&r),r},Lk,Ck)),mi(2,114688,[["videoStream",4]],0,Sk,[lu],{user:[0,"user"],localUser:[1,"localUser"],lightTheme:[2,"lightTheme"],compact:[3,"compact"],chatOpened:[4,"chatOpened"],newMessagesNum:[5,"newMessagesNum"],canEditNickname:[6,"canEditNickname"]},{micButtonClicked:"micButtonClicked",camButtonClicked:"camButtonClicked",screenShareClicked:"screenShareClicked",stopScreenSharingClicked:"stopScreenSharingClicked",exitButtonClicked:"exitButtonClicked",chatButtonClicked:"chatButtonClicked"})],function(e,t){var n=t.component;e(t,2,0,t.context.$implicit,n.localUsers[0],n.lightTheme,n.compact,n.chatOpened,n.newMessages,!1)},null)}function Wk(e){return cs(0,[(e()(),Qo(0,0,null,null,17,"div",[],null,null,null,null,null)),(e()(),Qo(1,0,null,null,1,"app-toolbar",[],null,[[null,"camButtonClicked"],[null,"micButtonClicked"],[null,"screenShareClicked"],[null,"stopScreenSharingClicked"],[null,"exitButtonClicked"],[null,"chatButtonClicked"],["window","resize"]],function(e,t,n){var r=!0,i=e.component;return"window:resize"===t&&(r=!1!==ni(e,2).sizeChange(n)&&r),"camButtonClicked"===t&&(r=!1!==i.toggleCam()&&r),"micButtonClicked"===t&&(r=!1!==i.toggleMic()&&r),"screenShareClicked"===t&&(r=!1!==i.screenShareAndChangeScreen()&&r),"stopScreenSharingClicked"===t&&(r=!1!==i.stopScreenSharing()&&r),"exitButtonClicked"===t&&(r=!1!==i.exitSession()&&r),"chatButtonClicked"===t&&(r=!1!==i.toggleChat()&&r),r},pk,XE)),mi(2,114688,null,0,KE,[lu],{lightTheme:[0,"lightTheme"],mySessionId:[1,"mySessionId"],localUser:[2,"localUser"],compact:[3,"compact"],newMessagesNum:[4,"newMessagesNum"],ovSettings:[5,"ovSettings"]},{micButtonClicked:"micButtonClicked",camButtonClicked:"camButtonClicked",screenShareClicked:"screenShareClicked",exitButtonClicked:"exitButtonClicked",chatButtonClicked:"chatButtonClicked",stopScreenSharingClicked:"stopScreenSharingClicked"}),(e()(),Go(16777216,null,null,1,null,Fk)),mi(4,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(5,0,null,null,12,"mat-sidenav-container",[["class","sidenav-container mat-drawer-container mat-sidenav-container"],["fullscreen",""],["id","room-container"]],[[2,"boundsLight",null],[2,"mat-drawer-container-explicit-backdrop",null]],null,null,RE,AE)),mi(6,1490944,null,2,xE,[[2,Qu],dn,uo,Pn,zc,yE,[2,Fw]],null,null),Jo(603979776,3,{_drawers:1}),Jo(603979776,4,{_content:0}),(e()(),Go(16777216,null,0,1,null,Uk)),mi(10,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Qo(11,0,null,1,6,"mat-sidenav-content",[["class","sidenav-main mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,OE,kE)),mi(12,1294336,[[4,4]],0,SE,[Pn,xE,dn,Nc,uo],null,null),(e()(),Qo(13,0,null,0,4,"div",[["class","bounds"],["id","layout"]],[[2,"boundsLight",null]],null,null,null,null)),(e()(),Go(16777216,null,null,1,null,qk)),mi(15,278528,null,0,$a,[zn,Dn,In],{ngForOf:[0,"ngForOf"]},null),(e()(),Go(16777216,null,null,1,null,Hk)),mi(17,278528,null,0,$a,[zn,Dn,In],{ngForOf:[0,"ngForOf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.lightTheme,n.mySessionId,n.localUsers[0],n.compact,n.newMessages,n.ovSettings),e(t,4,0,n.showDialogExtension),e(t,6,0),e(t,10,0,n.localUsers&&n.localUsers[0].getStreamManager()&&(!n.ovSettings||n.ovSettings&&n.ovSettings.chat)),e(t,12,0),e(t,15,0,n.localUsers),e(t,17,0,n.remoteUsers)},function(e,t){var n=t.component;e(t,5,0,n.lightTheme,ni(t,6)._backdropOverride),e(t,11,0,ni(t,12)._container._contentMargins.left,ni(t,12)._container._contentMargins.right),e(t,13,0,n.lightTheme)})}function Gk(e){return cs(0,[(e()(),Qo(0,0,null,null,4,"div",[["id","videoRoomNavBar"]],[[2,"boundsLight",null]],null,null,null,null)),(e()(),Go(16777216,null,null,1,null,Vk)),mi(2,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null),(e()(),Go(16777216,null,null,1,null,Wk)),mi(4,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,2,0,n.showDialogChooseRoom),e(t,4,0,n.localUsers&&n.localUsers[0])},function(e,t){e(t,0,0,t.component.lightTheme)})}function Qk(e){return cs(0,[Jo(671088640,1,{chatComponent:0}),Jo(671088640,2,{chat:0}),(e()(),Go(16777216,null,null,1,null,Gk)),mi(3,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,3,0,!!t.component.ovSettings)},null)}function Yk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-video-room",[],null,[["window","beforeunload"],["window","resize"]],function(e,t,n){var r=!0;return"window:beforeunload"===t&&(r=!1!==ni(e,1).beforeunloadHandler()&&r),"window:resize"===t&&(r=!1!==ni(e,1).sizeChange()&&r),r},Qk,zk)),mi(1,245760,null,0,uu,[su,uv,Cd,lu],null,null)],function(e,t){e(t,1,0)},null)}var Zk=Wr("app-video-room",uu,Yk,{ovSettings:"ovSettings",sessionName:"sessionName",user:"user",openviduServerUrl:"openviduServerUrl",openviduSecret:"openviduSecret",tokens:"tokens",theme:"theme",isWebComponent:"isWebComponent"},{joinSession:"joinSession",leaveSession:"leaveSession",error:"error"},[]),Kk=rr({encapsulation:0,styles:[["h1[_ngcontent-%COMP%]{color:#a30101}"]],data:{}});function Xk(e){return cs(0,[(e()(),Qo(0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),mi(1,81920,null,0,Ed,[[2,yd],dn,Cd],null,null),(e()(),as(2,null,["",""])),(e()(),Qo(3,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),as(4,null,[" ","\n"]))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,ni(t,1).id),e(t,2,0,n.data.message),e(t,4,0,n.data.messageError)})}function Jk(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-dialog-error",[],null,null,null,Xk,Kk)),mi(1,114688,null,0,Ea,[yd,bd],null,null)],function(e,t){e(t,1,0)},null)}var $k=Wr("app-dialog-error",Ea,Jk,{},{},[]),eO=rr({encapsulation:0,styles:[["app-web-component[_ngcontent-%COMP%]{z-index:2147483647}"]],data:{}});function tO(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-video-room",[],null,[[null,"leaveSession"],[null,"joinSession"],[null,"error"],["window","beforeunload"],["window","resize"]],function(e,t,n){var r=!0,i=e.component;return"window:beforeunload"===t&&(r=!1!==ni(e,1).beforeunloadHandler()&&r),"window:resize"===t&&(r=!1!==ni(e,1).sizeChange()&&r),"leaveSession"===t&&(r=!1!==i.emitLeaveSessionEvent(n)&&r),"joinSession"===t&&(r=!1!==i.emitJoinSessionEvent(n)&&r),"error"===t&&(r=!1!==i.emitErrorEvent(n)&&r),r},Qk,zk)),mi(1,245760,[[1,4],["videoRoom",4]],0,uu,[su,uv,Cd,lu],{ovSettings:[0,"ovSettings"],sessionName:[1,"sessionName"],user:[2,"user"],openviduServerUrl:[3,"openviduServerUrl"],openviduSecret:[4,"openviduSecret"],tokens:[5,"tokens"],theme:[6,"theme"],isWebComponent:[7,"isWebComponent"]},{joinSession:"joinSession",leaveSession:"leaveSession",error:"error"})],function(e,t){var n=t.component;e(t,1,0,n.ovSettings,n._sessionName,n._user,n.openviduServerUrl,n.openviduSecret,n._tokens,n.theme,!0)},null)}function nO(e){return cs(0,[Jo(671088640,1,{videoRoom:0}),(e()(),Go(16777216,null,null,1,null,tO)),mi(2,16384,null,0,tl,[zn,Dn],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.display)},null)}function rO(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-web-component",[],null,null,null,nO,eO)),mi(1,114688,null,0,cu,[],null,null)],function(e,t){e(t,1,0)},null)}var iO=Wr("app-web-component",cu,rO,{openviduServerUrl:"openviduServerUrl",openviduSecret:"openviduSecret",theme:"theme",ovSettings:"ovSettings",sessionConfig:"sessionConfig"},{joinSession:"joinSession",leaveSession:"leaveSession",error:"error"},[]),oO=rr({encapsulation:0,styles:[[""]],data:{}});function sO(e){return cs(0,[(e()(),Qo(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),mi(1,212992,null,0,fv,[hv,zn,on,[8,null],Pn],null,null)],function(e,t){e(t,1,0)},null)}function aO(e){return cs(0,[(e()(),Qo(0,0,null,null,1,"app-root",[],null,null,null,sO,oO)),mi(1,49152,null,0,fu,[],null,null)],null,null)}var lO=Wr("app-root",fu,aO,{},{},[]),uO=function(){return function(){}}(),cO=function(){return function(){}}(),dO=function(){return function(){}}(),pO=function(){function e(e,t){_l(t)&&!e&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}return e.withConfig=function(t,n){return void 0===n&&(n=[]),{ngModule:e,providers:t.serverLoaded?[{provide:aC,useValue:o({},sC,t)},{provide:uC,useValue:n,multi:!0},{provide:lC,useValue:!0}]:[{provide:aC,useValue:o({},sC,t)},{provide:uC,useValue:n,multi:!0}]}},e}(),hO=ma(hu,[fu],function(e){return function(e){for(var t={},n=[],r=!1,i=0;i<e.length;i++){var o=e[i];o.token===Jt&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=i,t[$n(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([Dr(512,on,sn,[[8,[Qh,wf,Vv,yS,Zk,$k,iO,lO]],[3,on],ln]),Dr(4608,by,by,[]),Dr(4608,cb,cb,[]),Dr(5120,Fo,qo,[[3,Fo]]),Dr(4608,Ga,Qa,[Fo,[2,Wa]]),Dr(5120,Mi,Ho,[uo]),Dr(5120,Fi,Ui,[]),Dr(5120,In,Uo,[]),Dr(5120,An,Bo,[]),Dr(4608,kp,Op,[gl]),Dr(6144,Lt,null,[kp]),Dr(4608,bp,wh,[[2,yh],[2,dh]]),Dr(5120,Gd,function(e,t,n,r,i,o,s,a){return[new vp(e,t,n),new Ep(r),new Sp(i,o,s,a)]},[gl,uo,Hi,gl,gl,bp,Gi,[2,_p]]),Dr(4608,Qd,Qd,[Gd,uo]),Dr(135680,Kd,Kd,[gl]),Dr(4608,rp,rp,[Qd,Kd,Fi]),Dr(5120,qb,Lw,[]),Dr(5120,R_,zw,[]),Dr(4608,lw,Dw,[gl,qb,R_]),Dr(5120,fn,Vw,[rp,lw,uo]),Dr(6144,Zd,null,[Kd]),Dr(4608,yo,yo,[uo]),Dr(4608,mu,Iw,[fn,gl]),Dr(4608,ff,ff,[]),Dr(4608,vh,vh,[]),Dr(4608,ad,ad,[Gc,$c,on,od,Jc,He,uo,gl,Qu,[2,La]]),Dr(5120,ud,pd,[ad]),Dr(5120,wd,Sd,[ad]),Dr(135680,Cd,Cd,[ad,He,[2,La],[2,_d],wd,[3,Cd],$c]),Dr(5120,lf,uf,[ad]),Dr(5120,wx,Sx,[ad]),Dr(5120,$m,Pv,[uv]),Dr(4608,yv,yv,[]),Dr(6144,gv,null,[yv]),Dr(135680,bv,bv,[uv,Ni,eo,He,gv]),Dr(4608,vv,vv,[]),Dr(5120,_v,kv,[uv,wl,wv]),Dr(5120,Nv,jv,[Mv]),Dr(5120,Wi,function(e,t,n){return[e,(r=t,i=n,function(){if(bl(i)){var e=Array.from(r.querySelectorAll("[class*=flex-layout-]")),t=/\bflex-layout-.+?\b/g;e.forEach(function(e){e.classList.contains("flex-layout-ssr")&&e.parentNode?e.parentNode.removeChild(e):e.className.replace(t,"")})}})];var r,i},[Nv,gl,Hi]),Dr(4608,Zl,Kl,[gl,Hi,Ql]),Dr(4608,Xl,Xl,[Zl,Yl]),Dr(5120,Ul,function(e){return[e]},[Xl]),Dr(4608,Wl,Wl,[]),Dr(6144,Hl,null,[Wl]),Dr(4608,Gl,Gl,[Hl]),Dr(6144,xl,null,[Gl]),Dr(4608,Cl,Jl,[xl,He]),Dr(4608,Vl,Vl,[Cl]),Dr(4608,VE,VE,[]),Dr(4608,su,su,[Vl]),Dr(4608,lu,lu,[Vl]),Dr(1073742336,ub,ub,[]),Dr(1073742336,db,db,[]),Dr(1073742336,pb,pb,[]),Dr(1073742336,ml,ml,[]),Dr(1024,dt,Np,[]),Dr(1024,So,function(){return[xv()]},[]),Dr(512,Mv,Mv,[He]),Dr(1024,zi,function(e,t){return[(n=e,qd("probe",Wd),qd("coreTokens",o({},Hd,(n||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return Wd}),Rv(t)];var n},[[2,So],Mv]),Dr(512,Vi,Vi,[[2,zi]]),Dr(131584,Oo,Oo,[uo,Gi,He,dt,on,Vi]),Dr(1073742336,Wo,Wo,[Oo]),Dr(1073742336,Dp,Dp,[[3,Dp]]),Dr(1073742336,Uw,Uw,[]),Dr(1073742336,Yu,Yu,[]),Dr(1073742336,dh,dh,[[2,ch],[2,_p]]),Dr(1073742336,Oc,Oc,[]),Dr(1073742336,Ph,Ph,[]),Dr(1073742336,dS,dS,[]),Dr(1073742336,Yv,Yv,[]),Dr(1073742336,Uv,Uv,[]),Dr(1073742336,ZS,ZS,[]),Dr(1073742336,rS,rS,[]),Dr(1073742336,vf,vf,[]),Dr(1073742336,Sb,Sb,[]),Dr(1073742336,aS,aS,[]),Dr(1073742336,Pu,Pu,[]),Dr(1073742336,Lc,Lc,[]),Dr(1073742336,hd,hd,[]),Dr(1073742336,Od,Od,[]),Dr(1073742336,uh,uh,[]),Dr(1073742336,hf,hf,[]),Dr(1073742336,ZE,ZE,[]),Dr(1073742336,Sh,Sh,[]),Dr(1073742336,uO,uO,[]),Dr(1073742336,Rh,Rh,[]),Dr(1073742336,Uh,Uh,[]),Dr(1073742336,Ex,Ex,[]),Dr(1073742336,PS,PS,[]),Dr(1073742336,Nx,Nx,[]),Dr(1073742336,EE,EE,[]),Dr(1024,Sv,Tv,[[3,uv]]),Dr(512,Pm,Mm,[]),Dr(512,hv,hv,[]),Dr(256,wv,{useHash:!0},[]),Dr(1024,Na,Ov,[Ra,[2,Da],wv]),Dr(512,La,La,[Na,Ra]),Dr(512,eo,eo,[]),Dr(512,Ni,Po,[eo,[2,Io]]),Dr(1024,nv,function(){return[[{path:"",component:fS},{path:":roomName",component:uu}]]},[]),Dr(1024,uv,Av,[Oo,Pm,hv,La,He,Ni,eo,nv,wv,[2,iv],[2,ev]]),Dr(1073742336,Ev,Ev,[[2,Sv],[2,uv]]),Dr(1073742336,cO,cO,[]),Dr(1073742336,$l,$l,[]),Dr(1073742336,eu,eu,[]),Dr(1073742336,rC,rC,[]),Dr(1073742336,yx,yx,[]),Dr(1073742336,Wx,Wx,[]),Dr(1073742336,dO,dO,[]),Dr(1073742336,pO,pO,[[2,lC],Hi]),Dr(1073742336,bk,bk,[]),Dr(256,FE,{enableHash:!0,enableMention:!0},[]),Dr(1073742336,BE,BE,[FE]),Dr(1073742336,hu,hu,[He]),Dr(256,Jt,!0,[]),Dr(256,Fw,"BrowserAnimations",[]),Dr(256,Ql,"XSRF-TOKEN",[]),Dr(256,Yl,"X-XSRF-TOKEN",[]),Dr(256,fk,{separatorKeyCodes:[13]},[])])});(function(){if(ht)throw new Error("Cannot enable prod mode after platform setup.");pt=!1})(),jp().bootstrapModuleFactory(hO).catch(function(e){return console.log(e)})}},[[0,0]]]); |