4 lines
1.2 MiB
4 lines
1.2 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],{"+lvF":function(e,t,n){e.exports=n("VTer")("native-function-to-string",Function.toString)},"+rLv":function(e,t,n){var r=n("dyZX").document;e.exports=r&&r.documentElement},"0/R4":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"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 u(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 j.zone},enumerable:!0,configurable:!0}),Object.defineProperty(t,"currentTask",{get:function(){return D},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,P),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){j={parent:j,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,r)}finally{j=j.parent}},t.prototype.runGuarded=function(e,t,n,r){void 0===t&&(t=null),j={parent:j,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{j=j.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||g).name+"; Execution: "+this.name+")");if(e.state!==_||e.type!==S&&e.type!==O){var r=e.state!=k;r&&e._transitionTo(k,b),e.runCount++;var o=D;D=e,j={parent:j,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!==_&&e.state!==T&&(e.type==S||e.data&&e.data.isPeriodic?r&&e._transitionTo(b,k):(e.runCount=0,this._updateTaskCount(e,-1),r&&e._transitionTo(_,k,_))),j=j.parent,D=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,_);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(r){throw e._transitionTo(T,m,_),this._zoneDelegate.handleError(this,r),r}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==m&&e._transitionTo(b,m),e},t.prototype.scheduleMicroTask=function(e,t,n,r){return this.scheduleTask(new s(E,e,t,n,r,void 0))},t.prototype.scheduleMacroTask=function(e,t,n,r,o){return this.scheduleTask(new s(O,e,t,n,r,o))},t.prototype.scheduleEventTask=function(e,t,n,r,o){return this.scheduleTask(new s(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||g).name+"; Execution: "+this.name+")");e._transitionTo(w,b,k);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(T,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,w),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__=C,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)}},u=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}(),s=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 u=this;this.invoke=n===S&&i&&i.useG?t.invokeTask:function(){return t.invokeTask.call(e,u,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&&y(),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(_,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==_&&(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=C("setTimeout"),f=C("Promise"),p=C("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,y)}else e[l](y,0);t&&h.push(t)}function y(){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){P.onUnhandledError(r)}}}P.microtaskDrainDone(),v=!1}}var g={name:"NO ZONE"},_="notScheduled",m="scheduling",b="scheduled",k="running",w="canceling",T="unknown",E="microTask",O="macroTask",S="eventTask",x={},P={symbol:C,currentZoneFrame:function(){return j},onUnhandledError:z,microtaskDrainDone:z,scheduleMicroTask:d,showUncaughtError:function(){return!a[C("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}},j={parent:null,zone:new a(null,null)},D=null,Z=0;function z(){}function C(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=[],u=a("Promise"),s=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 M.reject(e)}var y=a("state"),g=a("value"),_=a("finally"),m=a("parentPromiseValue"),b=a("parentPromiseState"),k="Promise.then",w=null,T=!0,E=!1,O=0;function S(e,t){return function(n){try{D(e,t,n)}catch(r){D(e,!1,r)}}}var x=function(){var e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}},P="Promise resolved with itself",j=a("currentTaskTrace");function D(e,t,o){var a,u=x();if(e===o)throw new TypeError(P);if(e[y]===w){var s=null;try{"object"!=typeof o&&"function"!=typeof o||(s=o&&o.then)}catch(d){return u(function(){D(e,!1,d)})(),e}if(t!==E&&o instanceof M&&o.hasOwnProperty(y)&&o.hasOwnProperty(g)&&o[y]!==w)z(o),D(e,o[y],o[g]);else if(t!==E&&"function"==typeof s)try{s.call(o,u(S(e,t)),u(S(e,!1)))}catch(d){u(function(){D(e,!1,d)})()}else{e[y]=t;var f=e[g];if(e[g]=o,e[_]===_&&t===T&&(e[y]=e[b],e[g]=e[m]),t===E&&o instanceof Error){var p=n.currentTask&&n.currentTask.data&&n.currentTask.data[l];p&&i(o,j,{configurable:!0,enumerable:!1,writable:!0,value:p})}for(var h=0;h<f.length;)C(e,f[h++],f[h++],f[h++],f[h++]);if(0==f.length&&t==E){e[y]=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[y]===O){try{var t=n[Z];t&&"function"==typeof t&&t.call(this,{rejection:e[g],promise:e})}catch(o){}e[y]=E;for(var r=0;r<c.length;r++)e===c[r].promise&&c.splice(r,1)}}function C(e,t,n,r,o){z(e);var i=e[y],a=i?"function"==typeof r?r:v:"function"==typeof o?o:d;t.scheduleMicroTask(k,function(){try{var r=e[g],o=n&&_===n[_];o&&(n[m]=r,n[b]=i);var c=t.run(a,void 0,o&&a!==d&&a!==v?[]:[r]);D(n,!0,c)}catch(u){D(n,!1,u)}},n)}var M=function(){function t(e){if(!(this instanceof t))throw new Error("Must be an instanceof Promise.");this[y]=w,this[g]=[];try{e&&e(S(this,T),S(this,E))}catch(n){D(this,!1,n)}}return t.toString=function(){return"function ZoneAwarePromise() { [native code] }"},t.resolve=function(e){return D(new this(null),T,e)},t.reject=function(e){return D(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 u(e){i(e)}try{for(var s=e(t),l=s.next();!l.done;l=s.next()){var f=l.value;h(f)||(f=this.resolve(f)),f.then(c,u)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}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,u=0,s=[],l=function(e){h(e)||(e=f.resolve(e));var t=u;e.then(function(e){s[t]=e,0==--c&&o(s)},i),c++,u++},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(s),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[y]==w?this[g].push(o,r,e,t):C(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[_]=_;var r=n.current;return this[y]==w?this[g].push(r,t,e,e):C(this,r,t,e,e),t},t}();M.resolve=M.resolve,M.reject=M.reject,M.race=M.race,M.all=M.all;var R=t[u]=t.Promise,I=n.__symbol__("ZoneAwarePromise"),F=o(t,"Promise");F&&!F.configurable||(F&&delete F.writable,F&&delete F.value,F||(F={configurable:!0,enumerable:!0}),F.get=function(){return t[I]?t[I]:t[u]},F.set=function(e){e===M?t[I]=e:(t[u]=e,e.prototype[s]||N(e),r.setNativePromise(e))},i(t,"Promise",F)),t.Promise=M;var L,A=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[s]=r,e.prototype.then=function(e,t){var n=this;return new M(function(e,t){r.call(n,e,t)}).then(e,t)},e[A]=!0}}if(r.patchThen=N,R){N(R);var q=t.fetch;"function"==typeof q&&(t[r.symbol("fetch")]=q,t.fetch=(L=q,function(){var e=L.apply(this,arguments);if(e instanceof M)return e;var t=e.constructor;return t[A]||N(t),e}))}return Promise[n.__symbol__("uncaughtPromiseErrors")]=c,M});var t=Object.getOwnPropertyDescriptor,n=Object.defineProperty,r=Object.getPrototypeOf,o=Object.create,i=Array.prototype.slice,a="addEventListener",c="removeEventListener",u=Zone.__symbol__(a),s=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__,y="undefined"!=typeof window,g=y?window:void 0,_=y&&g||"object"==typeof self&&self||global,m="removeAttribute",b=[null];function k(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 w(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,E=!("nw"in _)&&void 0!==_.process&&"[object process]"==={}.toString.call(_.process),O=!E&&!T&&!(!y||!g.HTMLElement),S=void 0!==_.process&&"[object process]"==={}.toString.call(_.process)&&!T&&!(!y||!g.HTMLElement),x={},P=function(e){if(e=e||_.event){var t=x[e.type];t||(t=x[e.type]=d("ON_PROPERTY"+e.type));var n,r=this||e.target||_,o=r[t];return O&&r===g&&"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 j(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,u=i.set,s=r.substr(2),l=x[s];l||(l=x[s]=d("ON_PROPERTY"+s)),i.set=function(t){var n=this;n||e!==_||(n=_),n&&(n[l]&&n.removeEventListener(s,P),u&&u.apply(n,b),"function"==typeof t?(n[l]=t,n.addEventListener(s,P,!1)):n[l]=null)},i.get=function(){var t=this;if(t||e!==_||(t=_),!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 D(e,t,n){if(t)for(var r=0;r<t.length;r++)j(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++)j(e,o[a],n)}}var Z=d("originalInstance");function z(e){var t=_[e];if(t){_[d(e)]=t,_[e]=function(){var n=k(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.")}},I(_[e],t);var r,o=new t(function(){});for(r in o)"XMLHttpRequest"===e&&"responseBlob"===r||function(t){"function"==typeof o[t]?_[e].prototype[t]=function(){return this[Z][t].apply(this[Z],arguments)}:n(_[e].prototype,t,{set:function(n){"function"==typeof n?(this[Z][t]=h(n,e+"."+t),I(this[Z][t],n)):this[Z][t]=n},get:function(){return this[Z][t]}})}(r);for(r in t)"prototype"!==r&&t.hasOwnProperty(r)&&(_[e][r]=t[r])}}var C=!1;function M(e,n,o){for(var i=e;i&&!i.hasOwnProperty(n);)i=r(i);!i&&e[n]&&(i=e);var a,c,u=d(n),s=null;if(i&&!(s=i[u])&&(s=i[u]=i[n],w(i&&t(i,n)))){var l=o(s,u,n);i[n]=function(){return l(this,arguments)},I(i[n],s),C&&(a=s,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 s}function R(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=M(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 I(e,t){e[d("OriginalDelegate")]=t}var F=!1,L=!1;function A(){try{var e=g.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}function N(){if(F)return L;F=!0;try{var e=g.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(L=!0)}catch(t){}return L}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 q=!1;if("undefined"!=typeof window)try{var H=Object.defineProperty({},"passive",{get:function(){q=!0}});window.addEventListener("test",H,H),window.removeEventListener("test",H,H)}catch(Te){q=!1}var W={useG:!0},U={},X={},G=/^__zone_symbol__(\w+)(true|false)$/,B="__zone_symbol__propagationStopped";function K(e,t,n){var o=n&&n.add||a,i=n&&n.rm||c,u=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",h=d(o),v="."+o+":",y="prependListener",g="."+y+":",_=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)_(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[B]);i++)_(o[i],n,t)}},b=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)_(r[0],n,t);else for(var o=r.slice(),i=0;i<o.length&&(!t||!0!==t[B]);i++)_(o[i],n,t)}};function k(t,n){if(!t)return!1;var a=!0;n&&void 0!==n.useG&&(a=n.useG);var c=n&&n.vh,_=!0;n&&void 0!==n.chkDup&&(_=n.chkDup);var k=!1;n&&void 0!==n.rt&&(k=n.rt);for(var w=t;w&&!w.hasOwnProperty(o);)w=r(w);if(!w&&t[o]&&(w=t),!w)return!1;if(w[h])return!1;var T,O=n&&n.eventNameToString,S={},x=w[h]=w[o],P=w[d(i)]=w[i],j=w[d(u)]=w[u],D=w[d(s)]=w[s];function Z(e){q||"boolean"==typeof S.options||null==S.options||(e.options=!!S.options.capture,S.options=e.options)}n&&n.prepend&&(T=w[d(n.prepend)]=w[n.prepend]);var z=a?function(e){if(!S.isExisting)return Z(e),x.call(S.target,S.eventName,S.capture?b:m,S.options)}:function(e){return Z(e),x.call(S.target,S.eventName,e.invoke,S.options)},C=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 P.call(e.target,e.eventName,e.capture?b:m,e.options)}:function(e){return P.call(e.target,e.eventName,e.invoke,e.options)},M=n&&n.diff?n.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},R=Zone[Zone.__symbol__("BLACK_LISTED_EVENTS")],F=function(t,n,r,o,i,u){return void 0===i&&(i=!1),void 0===u&&(u=!1),function(){var s=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,s,arguments)){var y,g=arguments[2];if(R)for(var m=0;m<R.length;m++)if(h===R[m])return t.apply(this,arguments);var b=!1;void 0===g?y=!1:!0===g?y=!0:!1===g?y=!1:(y=!!g&&!!g.capture,b=!!g&&!!g.once);var k,w=Zone.current,T=U[h];if(T)k=T[y?l:f];else{var x=(O?O(h):h)+f,P=(O?O(h):h)+l,j=p+x,D=p+P;U[h]={},U[h][f]=j,U[h][l]=D,k=y?D:j}var Z,z=s[k],C=!1;if(z){if(C=!0,_)for(m=0;m<z.length;m++)if(M(z[m],v))return}else z=s[k]=[];var I=s.constructor.name,F=X[I];F&&(Z=F[h]),Z||(Z=I+n+(O?O(h):h)),S.options=g,b&&(S.options.once=!1),S.target=s,S.capture=y,S.eventName=h,S.isExisting=C;var L=a?W:void 0;L&&(L.taskData=S);var A=w.scheduleEventTask(Z,v,L,r,o);return S.target=null,L&&(L.taskData=null),b&&(g.once=!0),(q||"boolean"!=typeof A.options)&&(A.options=g),A.target=s,A.capture=y,A.eventName=h,d&&(A.originalDelegate=v),u?z.unshift(A):z.push(A),i?s:void 0}}};return w[o]=F(x,v,z,C,k),T&&(w[y]=F(T,g,function(e){return T.call(S.target,S.eventName,e.invoke,S.options)},C,k,!0)),w[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 P.apply(this,arguments);if(!c||c(P,i,n,arguments)){var a,u=U[r];u&&(a=u[t?l:f]);var s=a&&n[a];if(s)for(var p=0;p<s.length;p++){var h=s[p];if(M(h,i))return s.splice(p,1),h.isRemoved=!0,0===s.length&&(h.allRemoved=!0,n[a]=null),h.zone.cancelTask(h),k?n:void 0}return P.apply(this,arguments)}},w[u]=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},w[s]=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,(u=c[h]).originalDelegate?u.originalDelegate:u.callback,u.options)}if(a)for(c=a.slice(),h=0;h<c.length;h++){var u;this[i].call(this,n,(u=c[h]).originalDelegate?u.originalDelegate:u.callback,u.options)}}}else{for(var p=Object.keys(t),h=0;h<p.length;h++){var v=G.exec(p[h]),d=v&&v[1];d&&"removeListener"!==d&&this[s].call(this,d)}this[s].call(this,"removeListener")}if(k)return this},I(w[o],x),I(w[i],P),D&&I(w[s],D),j&&I(w[u],j),!0}for(var w=[],T=0;T<t.length;T++)w[T]=k(t[T],n);return w}function Y(e,t){var n=[];for(var r in e){var o=G.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 V(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(t,n){t[B]=!0,e&&e.apply(t,n)}})}function J(e,t,n,r,o){var i=Zone.__symbol__(r);if(!t[i]){var a=t[i]=t[r];t[r]=function(i,c,u){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,u)},e.attachOriginToPatched(t[r],a)}}var Q=Zone.__symbol__,$=Object[Q("defineProperty")]=Object.defineProperty,ee=Object[Q("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,te=Object.create,ne=Q("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"],ue=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],se=["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"],ye=["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 ge(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 _e(e,t,n,r){e&&D(e,ge(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=A?[{target:i,ignoreProperties:["error"]}]:[];_e(i,ye.concat(["messageerror"]),o?o.concat(a):o,r(i)),_e(Document.prototype,ye,o),void 0!==i.SVGElement&&_e(i.SVGElement.prototype,ye,o),_e(Element.prototype,ye,o),_e(HTMLElement.prototype,ye,o),_e(HTMLMediaElement.prototype,ue,o),_e(HTMLFrameSetElement.prototype,ce.concat(le),o),_e(HTMLBodyElement.prototype,ce.concat(le),o),_e(HTMLFrameElement.prototype,se,o),_e(HTMLIFrameElement.prototype,se,o);var c=i.HTMLMarqueeElement;c&&_e(c.prototype,fe,o);var u=i.Worker;u&&_e(u.prototype,de,o)}_e(XMLHttpRequest.prototype,pe,o);var s=t.XMLHttpRequestEventTarget;s&&_e(s&&s.prototype,pe,o),"undefined"!=typeof IDBIndex&&(_e(IDBIndex.prototype,he,o),_e(IDBRequest.prototype,he,o),_e(IDBOpenDBRequest.prototype,he,o),_e(IDBDatabase.prototype,he,o),_e(IDBTransaction.prototype,he,o),_e(IDBCursor.prototype,he,o)),n&&_e(WebSocket.prototype,ve,o)}}function be(e,t){var n=e.getGlobalObjects();if(!n.isNode||n.isMix){var r="undefined"!=typeof WebSocket;(function(e){var t=e.getGlobalObjects();if((t.isBrowser||t.isMix)&&!e.ObjectGetOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeof Element){var n=e.ObjectGetOwnPropertyDescriptor(Element.prototype,"onclick");if(n&&!n.configurable)return!1}var r=XMLHttpRequest.prototype,o=e.ObjectGetOwnPropertyDescriptor(r,"onreadystatechange");if(o){e.ObjectDefineProperty(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return!0}});var i=!!(c=new XMLHttpRequest).onreadystatechange;return e.ObjectDefineProperty(r,"onreadystatechange",o||{}),i}var a=e.symbol("fake");e.ObjectDefineProperty(r,"onreadystatechange",{enumerable:!0,configurable:!0,get:function(){return this[a]},set:function(e){this[a]=e}});var c,u=function(){};return(c=new XMLHttpRequest).onreadystatechange=u,i=c[a]===u,c.onreadystatechange=null,i})(e)||(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,u=arguments.length>1?new i(t,n):new i(t),s=e.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=e.ObjectCreate(u),c=u,[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);u[c]=a[c]}}return u[t].apply(u,n)}})):a=u,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,u){u.patchOnProperties=D,u.patchMethod=M,u.bindArguments=k,u.patchMacroTask=R;var s=r.__symbol__("BLACK_LISTED_EVENTS"),v=r.__symbol__("UNPATCHED_EVENTS");e[v]&&(e[s]=e[v]),e[s]&&(r[s]=r[v]=e[s]),u.patchEventPrototype=V,u.patchEventTarget=K,u.isIEOrEdge=N,u.ObjectDefineProperty=n,u.ObjectGetOwnPropertyDescriptor=t,u.ObjectCreate=o,u.ArraySlice=i,u.patchClass=z,u.wrapWithCurrentZone=h,u.filterProperties=ge,u.attachOriginToPatched=I,u._redefineProperty=re,u.patchCallbacks=J,u.getGlobalObjects=function(){return{globalSources:X,zoneSymbolEventNames:U,eventNames:ye,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){!function(e,t){var n=t.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="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=s.split(",");p?f=h.map(function(e){return"HTML"+e+"Element"}).concat(l):e.EventTarget||(f=l);for(var v=e.__Zone_disable_IE_check||!1,d=e.__Zone_enable_cross_context_check||!1,y=t.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",_=0;_<r.length;_++){var m=u+((E=r[_])+c),b=u+(E+a);i[E]={},i[E][c]=m,i[E][a]=b}for(_=0;_<s.length;_++)for(var k=h[_],w=o[k]={},T=0;T<r.length;T++){var E;w[E=r[T]]=k+".addEventListener:"+E}var O=[];for(_=0;_<f.length;_++){var S=e[f[_]];O.push(S&&S.prototype)}t.patchEventTarget(e,O,{vh:function(e,t,n,r){if(!v&&y){if(d)try{var o;if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}catch(i){return e.apply(n,r),!1}else if("[object FunctionWrapper]"===(o=t.toString())||o==g)return e.apply(n,r),!1}else if(d)try{t.toString()}catch(i){return e.apply(n,r),!1}return!0}})}(e,n),be(n,e)})}}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);var ke=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[ke]=null))}},n.handleId=o.apply(e,n.args),t}function u(e){return i(e.data.handleId)}o=M(e,t+=r,function(n){return function(o,i){if("function"==typeof i[0]){var s=v(t,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!s)return s;var l=s.data.handleId;return"number"==typeof l?a[l]=s:l&&(l[ke]=s),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(s.ref=l.ref.bind(l),s.unref=l.unref.bind(l)),"number"==typeof l||l?l:s}return n.apply(e,i)}}),i=M(e,n,function(t){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[ke])||(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[ke]=null),o.zone.cancelTask(o)):t.apply(e,r)}})}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++)M(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),function(e,t){for(var n=t.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u<r.length;u++){var s=r[u],l=c+(s+a),f=c+(s+i);o[s]={},o[s][a]=l,o[s][i]=f}var p=e.EventTarget;p&&p.prototype&&t.patchEventTarget(e,[p&&p.prototype])}(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)&&"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=XMLHttpRequest.prototype,p=f[u],h=f[s];if(!p){var y=e.XMLHttpRequestEventTarget;if(y){var g=y.prototype;p=g[u],h=g[s]}}var _="readystatechange",m="scheduled";function b(e){var t=e.data,r=t.target;r[i]=!1,r[c]=!1;var a=r[o];p||(p=r[u],h=r[s]),a&&h.call(r,_,a);var l=r[o]=function(){if(r.readyState===r.DONE)if(!t.aborted&&r[i]&&e.state===m){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!==m||o.call(e)},n.push(e)}else e.invoke()}else t.aborted||!1!==r[i]||(r[c]=!0)};return p.call(r,_,l),r[n]||(r[n]=e),S.apply(r,t.args),r[i]=!0,e}function k(){}function w(e){var t=e.data;return t.aborted=!0,x.apply(t.target,t.args)}var T=M(f,"open",function(){return function(e,t){return e[r]=0==t[2],e[a]=t[1],T.apply(e,t)}}),E=d("fetchTaskAborting"),O=d("fetchTaskScheduling"),S=M(f,"send",function(){return function(e,n){if(!0===t.current[O])return S.apply(e,n);if(e[r])return S.apply(e,n);var o={target:e,url:e[a],isPeriodic:!1,args:n,aborted:!1},i=v("XMLHttpRequest.send",k,o,b,w);e&&!0===e[c]&&!o.aborted&&i.state===m&&i.invoke()}}),x=M(f,"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[E])return x.apply(e,r)}})}();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(!w(t(e,i)))return"continue";e[i]=function(e){var t=function(){return e.apply(this,k(arguments,r+"."+i))};return I(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"))})}()},1:function(e,t,n){e.exports=n("hN/g")},"1TsA":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"2OiF":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"3Lyj":function(e,t,n){var r=n("KroJ");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},"45Tv":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,c=r.get,u=r.key,s=function(e,t,n){if(a(e,t,n))return c(e,t,n);var r=i(t);return null!==r?s(e,r,n):void 0};r.exp({getMetadata:function(e,t){return s(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},"49D4":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.set;r.exp({defineMetadata:function(e,t,n,r){a(e,t,o(n),i(r))}})},"4LiD":function(e,t,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),c=n("Z6vF"),u=n("SlkY"),s=n("9gX7"),l=n("0/R4"),f=n("eeVq"),p=n("XMVh"),h=n("fyDq"),v=n("Xbzi");e.exports=function(e,t,n,d,y,g){var _=r[e],m=_,b=y?"set":"add",k=m&&m.prototype,w={},T=function(e){var t=k[e];i(k,e,"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"has"==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)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof m&&(g||k.forEach&&!f(function(){(new m).entries().next()}))){var E=new m,O=E[b](g?{}:-0,1)!=E,S=f(function(){E.has(1)}),x=p(function(e){new m(e)}),P=!g&&f(function(){for(var e=new m,t=5;t--;)e[b](t,t);return!e.has(-0)});x||((m=t(function(t,n){s(t,m,e);var r=v(new _,t,m);return null!=n&&u(n,y,r[b],r),r})).prototype=k,k.constructor=m),(S||P)&&(T("delete"),T("has"),y&&T("get")),(P||O)&&T(b),g&&k.clear&&delete k.clear}else m=d.getConstructor(t,e,y,b),a(m.prototype,n),c.NEED=!0;return h(m,e),w[e]=m,o(o.G+o.W+o.F*(m!=_),w),g||d.setStrong(m,e,y),m}},"4R4u":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"6FMO":function(e,t,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");e.exports=function(e){var t;return o(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},"7Dlh":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.has,a=r.key;r.exp({hasOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},"9AAn":function(e,t,n){"use strict";var r=n("wmvG"),o=n("s5qY");e.exports=n("4LiD")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},"9gX7":function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},Afnz:function(e,t,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),l=n("OP3Y"),f=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,v,d,y,g){u(n,t,v);var _,m,b,k=function(e){if(!p&&e in O)return O[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",T="values"==d,E=!1,O=e.prototype,S=O[f]||O["@@iterator"]||d&&O[d],x=S||k(d),P=d?T?k("entries"):x:void 0,j="Array"==t&&O.entries||S;if(j&&(b=l(j.call(new e)))!==Object.prototype&&b.next&&(s(b,w,!0),r||"function"==typeof b[f]||a(b,f,h)),T&&S&&"values"!==S.name&&(E=!0,x=function(){return S.call(this)}),r&&!g||!p&&!E&&O[f]||a(O,f,x),c[t]=x,c[w]=h,d)if(_={values:T?x:k("values"),keys:y?x:k("keys"),entries:P},g)for(m in _)m in O||i(O,m,_[m]);else o(o.P+o.F*(p||E),t,_);return _}},BqfV:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(e,t){return i(e,o(t),arguments.length<3?void 0:a(arguments[2]))}})},CkkT:function(e,t,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");e.exports=function(e,t){var n=1==e,u=2==e,s=3==e,l=4==e,f=6==e,p=5==e||f,h=t||c;return function(t,c,v){for(var d,y,g=i(t),_=o(g),m=r(c,v,3),b=a(_.length),k=0,w=n?h(t,b):u?h(t,0):void 0;b>k;k++)if((p||k in _)&&(y=m(d=_[k],k,g),e))if(n)w[k]=y;else if(y)switch(e){case 3:return!0;case 5:return d;case 6:return k;case 2:w.push(d)}else if(l)return!1;return f?-1:s||l?l:w}}},DVgA:function(e,t,n){var r=n("zhAb"),o=n("4R4u");e.exports=Object.keys||function(e){return r(e,o)}},EK0E:function(e,t,n){"use strict";var r,o=n("dyZX"),i=n("CkkT")(0),a=n("KroJ"),c=n("Z6vF"),u=n("czNK"),s=n("ZD67"),l=n("0/R4"),f=n("s5qY"),p=n("s5qY"),h=!o.ActiveXObject&&"ActiveXObject"in o,v=c.getWeak,d=Object.isExtensible,y=s.ufstore,g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(e){if(l(e)){var t=v(e);return!0===t?y(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return s.def(f(this,"WeakMap"),e,t)}},m=e.exports=n("4LiD")("WeakMap",g,_,s,!0,!0);p&&h&&(u((r=s.getConstructor(g,"WeakMap")).prototype,_),c.NEED=!0,i(["delete","has","get","set"],function(e){var t=m.prototype,n=t[e];a(t,e,function(t,o){if(l(t)&&!d(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},EWmC:function(e,t,n){var r=n("LZWt");e.exports=Array.isArray||function(e){return"Array"==r(e)}},EemH:function(e,t,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;t.f=n("nh4g")?s:function(e,t){if(e=i(e),t=a(t,!0),u)try{return s(e,t)}catch(n){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},FJW5:function(e,t,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");e.exports=n("nh4g")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),c=a.length,u=0;c>u;)r.f(e,n=a[u++],t[n]);return e}},FZcq:function(e,t,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),e.exports=n("g3g5").Reflect},H6hf:function(e,t,n){var r=n("y3w9");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}}},"I8a+":function(e,t,n){var r=n("LZWt"),o=n("K0xU")("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}},Iw71:function(e,t,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"J+6e":function(e,t,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");e.exports=n("g3g5").getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},JiEa:function(e,t){t.f=Object.getOwnPropertySymbols},K0xU:function(e,t,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},KroJ:function(e,t,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=n("+lvF"),u=(""+c).split("toString");n("g3g5").inspectSource=function(e){return c.call(e)},(e.exports=function(e,t,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(s&&(i(n,a)||o(n,a,e[t]?""+e[t]:u.join(String(t)))),e===r?e[t]=n:c?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||c.call(this)})},Kuth:function(e,t,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var e,t=n("Iw71")("iframe"),r=i.length;for(t.style.display="none",n("+rLv").appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u.prototype[i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(c.prototype=r(e),n=new c,c.prototype=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},LQAc:function(e,t){e.exports=!1},LZWt:function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},M6Qj:function(e,t,n){var r=n("hPIQ"),o=n("K0xU")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},Mukb:function(e,t,n){var r=n("hswa"),o=n("RjD/");e.exports=n("nh4g")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},N6cJ:function(e,t,n){var r=n("9AAn"),o=n("XKFU"),i=n("VTer")("metadata"),a=i.store||(i.store=new(n("EK0E"))),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,map: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},key:function(e){return void 0===e||"symbol"==typeof e?e:String(e)},exp:function(e){o(o.S,"Reflect",e)}}},OP3Y:function(e,t,n){var r=n("aagx"),o=n("S/j/"),i=n("YTvA")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},Opxb:function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=n("2OiF"),a=r.key,c=r.set;r.exp({metadata:function(e,t){return function(n,r){c(e,t,(void 0!==r?o:i)(n),a(r))}}})},Q3ne:function(e,t,n){var r=n("SlkY");e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},QaDb:function(e,t,n){"use strict";var r=n("Kuth"),o=n("RjD/"),i=n("fyDq"),a={};n("Mukb")(a,n("K0xU")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},RYi7:function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"RjD/":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"S/j/":function(e,t,n){var r=n("vhPU");e.exports=function(e){return Object(r(e))}},SlkY:function(e,t,n){var r=n("m0Pp"),o=n("H6hf"),i=n("M6Qj"),a=n("y3w9"),c=n("ne8i"),u=n("J+6e"),s={},l={};(t=e.exports=function(e,t,n,f,p){var h,v,d,y,g=p?function(){return e}:u(e),_=r(n,f,t?2:1),m=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(i(g)){for(h=c(e.length);h>m;m++)if((y=t?_(a(v=e[m])[0],v[1]):_(e[m]))===s||y===l)return y}else for(d=g.call(e);!(v=d.next()).done;)if((y=o(d,_,v.value,t))===s||y===l)return y}).BREAK=s,t.RETURN=l},T39b:function(e,t,n){"use strict";var r=n("wmvG"),o=n("s5qY");e.exports=n("4LiD")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},UqcF:function(e,t){t.f={}.propertyIsEnumerable},VTer:function(e,t,n){var r=n("g3g5"),o=n("dyZX"),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n("LQAc")?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},XKFU:function(e,t,n){var r=n("dyZX"),o=n("g3g5"),i=n("Mukb"),a=n("KroJ"),c=n("m0Pp"),u=function(e,t,n){var s,l,f,p,h=e&u.F,v=e&u.G,d=e&u.P,y=e&u.B,g=v?r:e&u.S?r[t]||(r[t]={}):(r[t]||{}).prototype,_=v?o:o[t]||(o[t]={}),m=_.prototype||(_.prototype={});for(s in v&&(n=t),n)f=((l=!h&&g&&void 0!==g[s])?g:n)[s],p=y&&l?c(f,r):d&&"function"==typeof f?c(Function.call,f):f,g&&a(g,s,f,e&u.U),_[s]!=f&&i(_,s,p),d&&m[s]!=f&&(m[s]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},XMVh:function(e,t,n){var r=n("K0xU")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(a){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],c=i[r]();c.next=function(){return{done:n=!0}},i[r]=function(){return c},e(i)}catch(a){}return n}},Xbzi:function(e,t,n){var r=n("0/R4"),o=n("i5dc").set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},YTvA:function(e,t,n){var r=n("VTer")("keys"),o=n("ylqs");e.exports=function(e){return r[e]||(r[e]=o(e))}},Ymqv:function(e,t,n){var r=n("LZWt");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},Z6vF:function(e,t,n){var r=n("ylqs")("meta"),o=n("0/R4"),i=n("aagx"),a=n("hswa").f,c=0,u=Object.isExtensible||function(){return!0},s=!n("eeVq")(function(){return u(Object.preventExtensions({}))}),l=function(e){a(e,r,{value:{i:"O"+ ++c,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return s&&f.NEED&&u(e)&&!i(e,r)&&l(e),e}}},ZD67:function(e,t,n){"use strict";var r=n("3Lyj"),o=n("Z6vF").getWeak,i=n("y3w9"),a=n("0/R4"),c=n("9gX7"),u=n("SlkY"),s=n("CkkT"),l=n("aagx"),f=n("s5qY"),p=s(5),h=s(6),v=0,d=function(e){return e._l||(e._l=new y)},y=function(){this.a=[]},g=function(e,t){return p(e.a,function(e){return e[0]===t})};y.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=h(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var s=e(function(e,r){c(e,s,t,"_i"),e._t=t,e._i=v++,e._l=void 0,null!=r&&u(r,n,e[i],e)});return r(s.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(f(this,t)).delete(e):n&&l(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?d(f(this,t)).has(e):n&&l(n,this._i)}}),s},def:function(e,t,n){var r=o(i(t),!0);return!0===r?d(e).set(t,n):r[e._i]=n,e},ufstore:d}},aCFj:function(e,t,n){var r=n("Ymqv"),o=n("vhPU");e.exports=function(e){return r(o(e))}},aagx:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},apmT:function(e,t,n){var r=n("0/R4");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")}},czNK:function(e,t,n){"use strict";var r=n("DVgA"),o=n("JiEa"),i=n("UqcF"),a=n("S/j/"),c=n("Ymqv"),u=Object.assign;e.exports=!u||n("eeVq")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=a(e),u=arguments.length,s=1,l=o.f,f=i.f;u>s;)for(var p,h=c(arguments[s++]),v=l?r(h).concat(l(h)):r(h),d=v.length,y=0;d>y;)f.call(h,p=v[y++])&&(n[p]=h[p]);return n}:u},"d/Gc":function(e,t,n){var r=n("RYi7"),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},dyZX:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},eeVq:function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},elZq:function(e,t,n){"use strict";var r=n("dyZX"),o=n("hswa"),i=n("nh4g"),a=n("K0xU")("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},"fN/3":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(e){return i(o(e),arguments.length<2?void 0:a(arguments[1]))}})},fyDq:function(e,t,n){var r=n("hswa").f,o=n("aagx"),i=n("K0xU")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},g3g5:function(e,t){var n=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"hN/g":function(e,t,n){"use strict";n.r(t),n("FZcq"),n("0TWp"),n("vU8d"),window.global=window},hPIQ:function(e,t){e.exports={}},hswa:function(e,t,n){var r=n("y3w9"),o=n("xpql"),i=n("apmT"),a=Object.defineProperty;t.f=n("nh4g")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(c){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},i5dc:function(e,t,n){var r=n("0/R4"),o=n("y3w9"),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n("m0Pp")(Function.call,n("EemH").f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(o){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},"iW+S":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,c=r.key,u=function(e,t,n){if(a(e,t,n))return!0;var r=i(t);return null!==r&&u(e,r,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:c(arguments[2]))}})},m0Pp:function(e,t,n){var r=n("2OiF");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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)}}},ne8i:function(e,t,n){var r=n("RYi7"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},nh4g:function(e,t,n){e.exports=!n("eeVq")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},s5qY:function(e,t,n){var r=n("0/R4");e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},uAtd:function(e,t,n){var r=n("T39b"),o=n("Q3ne"),i=n("N6cJ"),a=n("y3w9"),c=n("OP3Y"),u=i.keys,s=i.key,l=function(e,t){var n=u(e,t),i=c(e);if(null===i)return n;var a=l(i,t);return a.length?n.length?o(new r(n.concat(a))):a:n};i.exp({getMetadataKeys:function(e){return l(a(e),arguments.length<2?void 0:s(arguments[1]))}})},vU8d:function(e,t){!function(){"use strict";!function(){if(void 0===window.Reflect||void 0===window.customElements||window.customElements.hasOwnProperty("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)}()}()},vhPU:function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},w2a5:function(e,t,n){var r=n("aCFj"),o=n("ne8i"),i=n("d/Gc");e.exports=function(e){return function(t,n,a){var c,u=r(t),s=o(u.length),l=i(a,s);if(e&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},wmvG:function(e,t,n){"use strict";var r=n("hswa").f,o=n("Kuth"),i=n("3Lyj"),a=n("m0Pp"),c=n("9gX7"),u=n("SlkY"),s=n("Afnz"),l=n("1TsA"),f=n("elZq"),p=n("nh4g"),h=n("Z6vF").fastKey,v=n("s5qY"),d=p?"_s":"size",y=function(e,t){var n,r=h(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,s){var l=e(function(e,r){c(e,l,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[d]=0,null!=r&&u(r,n,e[s],e)});return i(l.prototype,{clear:function(){for(var e=v(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[d]=0},delete:function(e){var n=v(this,t),r=y(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[d]--}return!!r},forEach:function(e){v(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!y(v(this,t),e)}}),p&&r(l.prototype,"size",{get:function(){return v(this,t)[d]}}),l},def:function(e,t,n){var r,o,i=y(e,t);return i?i.v=n:(e._l=i={i:o=h(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[d]++,"F"!==o&&(e._i[o]=i)),e},getEntry:y,setStrong:function(e,t,n){s(e,t,function(e,n){this._t=v(e,t),this._k=n,this._l=void 0},function(){for(var e=this._k,t=this._l;t&&t.r;)t=t.p;return this._t&&(this._l=t=t?t.n:this._t._f)?l(0,"keys"==e?t.k:"values"==e?t.v:[t.k,t.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(t)}}},xpql:function(e,t,n){e.exports=!n("nh4g")&&!n("eeVq")(function(){return 7!=Object.defineProperty(n("Iw71")("div"),"a",{get:function(){return 7}}).a})},y3w9:function(e,t,n){var r=n("0/R4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},ylqs:function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},zRwo:function(e,t,n){var r=n("6FMO");e.exports=function(e,t){return new(r(e))(t)}},zhAb:function(e,t,n){var r=n("aagx"),o=n("aCFj"),i=n("w2a5")(!1),a=n("YTvA")("IE_PROTO");e.exports=function(e,t){var n,c=o(e),u=0,s=[];for(n in c)n!=a&&r(c,n)&&s.push(n);for(;t.length>u;)r(c,n=t[u++])&&(~i(s,n)||s.push(n));return s}},"zq+C":function(e,t,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.map,c=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:i(arguments[2]),r=a(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=c.get(t);return u.delete(n),!!u.size||c.delete(t)}})}},[[1,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,noModule:!0};function y(e,t,n){var o,i=(t=t||r).createElement("script");if(i.text=e,n)for(o in v)n[o]&&(i[o]=n[o]);t.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var x=function(e,t){return new x.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function w(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!m(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}x.fn=x.prototype={jquery:"3.3.1",constructor:x,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=x.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return x.each(this,e)},map:function(e){return this.pushStack(x.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(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},x.extend=x.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)n=a[t],a!==(r=e[t])&&(l&&r&&(x.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,i=n&&Array.isArray(n)?n:[]):i=n&&x.isPlainObject(n)?n:{},a[t]=x.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},x.extend({expando:"jQuery"+("3.3.1"+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){y(e)},each:function(e,t){var n,r=0;if(w(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(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(w(Object(e))?x.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(w(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&&(x.fn[Symbol.iterator]=n[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});var E=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=ae(),L=ae(),A=ae(),H=function(e,t){return e===t&&(f=!0),0},M={}.hasOwnProperty,N=[],S=N.pop,D=N.push,k=N.push,j=N.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",I="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",R="\\["+P+"*("+I+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+P+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",B=new RegExp(P+"+","g"),W=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),$=new RegExp("^"+P+"*,"+P+"*"),_=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),U=new RegExp("="+P+"*([^\\]'\"]*?)"+P+"*\\]","g"),V=new RegExp(F),z=new RegExp("^"+I+"$"),X={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+P+"?|("+P+")|.)","ig"),ee=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)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},oe=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{k.apply(N=j.call(T.childNodes),T.childNodes)}catch(e){k={apply:N.length?function(e,t){D.apply(e,j.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(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=J.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 k.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return k.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!A[e+" "]&&(!g||!g.test(e))){if(1!==w)y=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=x),s=(h=a(e)).length;s--;)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),y=K.test(e)&&me(t.parentNode)||t}if(v)try{return k.apply(r,y.querySelectorAll(v)),r}catch(e){}finally{c===x&&t.removeAttribute("id")}}}return u(e.replace(W,"$1"),t,r,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function se(e){return e[x]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function ce(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 fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(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&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(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 me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=ie.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",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(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(Z,ee);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(Z,ee);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=Q.test(d.querySelectorAll))&&(ue(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("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+q+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),ue(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"+P+"*[*^$|!~]?="),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=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",F)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.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},H=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?O(c,e)-O(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?O(c,e)-O(c,t):0;if(o===i)return ce(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?ce(a[r],s[r]):a[r]===T?-1:s[r]===T?1:0},d):d},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(U,"='$1']"),n.matchesSelector&&m&&!A[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){}return ie(t,d,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),b(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var o=r.attrHandle[t.toLowerCase()],i=o&&M.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},ie.escape=function(e){return(e+"").replace(te,ne)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(H),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=ie.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=ie.selectors={cacheLength:50,createPseudo:se,match:X,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(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===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]||ie.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]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.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(Z,ee).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("(^|"+P+")"+e+"("+P+"|$)"))&&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=ie.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(B," ")+" ").indexOf(n)>-1:"|="===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&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=O(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?se(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:se(function(e){return function(t){return ie(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:se(function(e){return z.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(Z,ee).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:de(!1),disabled:de(!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 Y.test(e.nodeName)},input:function(e){return G.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:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(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]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ge(){}function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ye(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,p[2]=e(t,n,u))return!0}return!1}}function be(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function xe(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 Te(e,t,n,r,o,i){return r&&!r[x]&&(r=Te(r)),o&&!o[x]&&(o=Te(o,i)),se(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++)ie(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:xe(m,p,e,s,u),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,u),r)for(l=xe(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])&&(l=o?O(i,f):p[c])>-1&&(i[l]=!(a[l]=f))}}else v=xe(v===a?v.splice(h,v.length):v),o?o(null,a,v,u):k.apply(a,v)})}function we(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=ye(function(e){return e===t},s,!0),f=ye(function(e){return O(t,e)>-1},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=[ye(be(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 Te(u>1&&be(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(W,"$1"),n,u<o&&we(e.slice(u,o)),o<i&&we(e=e.slice(o)),o<i&&ve(e))}p.push(n)}return be(p)}function Ee(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,u,c){var f,h,g,v=0,y="0",b=i&&[],x=[],T=l,E=i||o&&r.find.TAG("*",c),C=w+=null==T?1:Math.random()||.1,L=E.length;for(c&&(l=a===d||a||c);y!==L&&null!=(f=E[y]);y++){if(o&&f){for(h=0,a||f.ownerDocument===d||(p(f),s=!m);g=e[h++];)if(g(f,a||d,s)){u.push(f);break}c&&(w=C)}n&&((f=!g&&f)&&v--,i&&b.push(f))}if(v+=y,n&&y!==v){for(h=0;g=t[h++];)g(b,x,a,s);if(i){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=S.call(u));x=xe(x)}k.apply(u,x),c&&!i&&x.length>0&&v+t.length>1&&ie.uniqueSort(u)}return c&&(w=C,l=T),b};return n?se(i):i}return ge.prototype=r.filters=r.pseudos,r.setFilters=new ge,a=ie.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=_.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(W," ")}),s=s.slice(n.length)),r.filter)!(o=X[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?ie.error(e):L(e,u).slice(0)},s=ie.compile=function(e,t){var n,r=[],o=[],i=A[e+" "];if(!i){for(t||(t=a(e)),n=t.length;n--;)(i=we(t[n]))[x]?r.push(i):o.push(i);(i=A(e,Ee(o,r))).selector=e}return i},u=ie.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((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=X.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(Z,ee),K.test(u[0].type)&&me(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&ve(u)))return k.apply(n,o),n;break}}return(p||s(e,d))(o,t,!m,n,!t||K.test(e)&&me(t.parentNode)||t),n},n.sortStable=x.split("").sort(H).join("")===x,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(q,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(e);x.find=E,x.expr=E.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=E.uniqueSort,x.text=E.getText,x.isXMLDoc=E.isXML,x.contains=E.contains,x.escapeSelector=E.escape;var C=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&x(e).is(n))break;r.push(e)}return r},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=x.expr.match.needsContext;function H(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return m(t)?x.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?x.grep(e,function(e){return e===t!==n}):"string"!=typeof t?x.grep(e,function(e){return u.call(t,e)>-1!==n}):x.filter(t,e,n)}x.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},x.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;t<r;t++)if(x.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)x.find(e,o[t],n);return r>1?x.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&&A.test(e)?x(e):e||[],!1).length}});var S,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(x.fn.init=function(e,t,n){var o,i;if(!e)return this;if(n=n||S,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(x.merge(this,x.parseHTML(o[1],(t=t instanceof x?t[0]:t)&&t.nodeType?t.ownerDocument||t:r,!0)),M.test(o[1])&&x.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(x):x.makeArray(e,this)}).prototype=x.fn,S=x(r);var k=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}x.fn.extend({has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(x.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&x(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?x.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(x(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(x.uniqueSort(x.merge(this.get(),x(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,n){return C(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,n){return C(e,"nextSibling",n)},prevUntil:function(e,t,n){return C(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return H(e,"iframe")?e.contentDocument:(H(e,"template")&&(e=e.content||e),x.merge([],e.childNodes))}},function(e,t){x.fn[e]=function(n,r){var o=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=x.filter(r,o)),this.length>1&&(j[e]||x.uniqueSort(o),k.test(e)&&o.reverse()),this.pushStack(o)}});var q=/[^\x20\t\r\n\f]+/g;function P(e){return e}function I(e){throw e}function R(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])}}x.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return x.each(e.match(q)||[],function(e,n){t[n]=!0}),t}(e):x.extend({},e);var t,n,r,o,i=[],a=[],s=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){x.each(n,function(n,r){m(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==b(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return x.each(arguments,function(e,t){for(var n;(n=x.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?x.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},x.extend({Deferred:function(t){var n=[["notify","progress",x.Callbacks("memory"),x.Callbacks("memory"),2],["resolve","done",x.Callbacks("once memory"),x.Callbacks("once memory"),0,"resolved"],["reject","fail",x.Callbacks("once memory"),x.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 x.Deferred(function(t){x.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,P,o),a(i,n,I,o)):l.call(e,a(++i,n,P,o),a(i,n,I,o),a(i,n,P,n.notifyWith)):(r!==P&&(s=void 0,u=[e]),(o||n.resolveWith)(s,u))}},c=o?l:function(){try{l()}catch(e){x.Deferred.exceptionHook&&x.Deferred.exceptionHook(e,c.stackTrace),t+1>=i&&(r!==I&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(x.Deferred.getStackHook&&(c.stackTrace=x.Deferred.getStackHook()),e.setTimeout(c))}}return x.Deferred(function(e){n[0][3].add(a(0,e,m(o)?o:P,e.notifyWith)),n[1][3].add(a(0,e,m(t)?t:P)),n[2][3].add(a(0,e,m(r)?r:I))}).promise()},promise:function(e){return null!=e?x.extend(e,o):o}},i={};return x.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=x.Deferred(),s=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?i.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(R(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||m(o[n]&&o[n].then)))return a.then();for(;n--;)R(o[n],s(n),a.reject);return a.promise()}});var F=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;x.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&F.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},x.readyException=function(t){e.setTimeout(function(){throw t})};var B=x.Deferred();function W(){r.removeEventListener("DOMContentLoaded",W),e.removeEventListener("load",W),x.ready()}x.fn.ready=function(e){return B.then(e).catch(function(e){x.readyException(e)}),this},x.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--x.readyWait:x.isReady)||(x.isReady=!0,!0!==e&&--x.readyWait>0||B.resolveWith(r,[x]))}}),x.ready.then=B.then,"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(x.ready):(r.addEventListener("DOMContentLoaded",W),e.addEventListener("load",W));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(x(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},_=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function z(e){return e.replace(_,"ms-").replace(U,V)}var X=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=x.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},X(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[z(t)]=n;else for(r in t)o[z(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][z(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(z):(t=z(t))in r?[t]:t.match(q)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||x.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&&!x.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:J.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}x.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),x.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=Q.get(i),1===i.nodeType&&!Y.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=z(r.slice(5)),Z(i,r,o[r]));Y.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Q.set(this,e)}):$(this,function(t){var n;if(i&&void 0===t){if(void 0!==(n=Q.get(i,e)))return n;if(void 0!==(n=Z(i,e)))return n}else this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),x.extend({queue:function(e,t,n){var r;if(e)return r=Y.get(e,t=(t||"fx")+"queue"),n&&(!r||Array.isArray(n)?r=Y.access(e,t,x.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){var n=x.queue(e,t=t||"fx"),r=n.length,o=n.shift(),i=x._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){x.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:x.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?x.queue(this[0],e):void 0===t?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=x.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=Y.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&x.contains(e.ownerDocument,e)&&"none"===x.css(e,"display")},oe=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 ie(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return x.css(e,t,"")},u=s(),l=n&&n[3]||(x.cssNumber[t]?"":"px"),c=(x.cssNumber[t]||"px"!==l&&+u)&&te.exec(x.css(e,t));if(c&&c[3]!==l){for(l=l||c[3],c=+(u/=2)||1;a--;)x.style(e,t,c+l),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),c/=i;x.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 ae={};function se(e){var t,n=e.ownerDocument,r=e.nodeName,o=ae[r];return o||(t=n.body.appendChild(n.createElement(r)),o=x.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ae[r]=o,o)}function ue(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Y.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&re(r)&&(o[i]=se(r))):"none"!==n&&(o[i]="none",Y.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}x.fn.extend({show:function(){return ue(this,!0)},hide:function(){return ue(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){re(this)?x(this).show():x(this).hide()})}});var le=/^(?:checkbox|radio)$/i,ce=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,fe=/^$|^module$|\/(?:java|ecma)script/i,pe={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 de(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&H(e,t)?x.merge([e],n):n}function he(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}pe.optgroup=pe.option,pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td;var me=/<|&#?\w+;/;function ge(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))x.merge(p,i.nodeType?[i]:i);else if(me.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(ce.exec(i)||["",""])[1].toLowerCase(),a.innerHTML=(u=pe[s]||pe._default)[1]+x.htmlPrefilter(i)+u[2],c=u[0];c--;)a=a.lastChild;x.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(i));for(f.textContent="",d=0;i=p[d++];)if(r&&x.inArray(i,r)>-1)o&&o.push(i);else if(l=x.contains(i.ownerDocument,i),a=de(f.appendChild(i),"script"),l&&he(a),n)for(c=0;i=a[c++];)fe.test(i.type||"")&&n.push(i);return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var ve=r.documentElement,ye=/^key/,be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function we(){return!1}function Ee(){try{return r.activeElement}catch(e){}}function Ce(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)Ce(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=we;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return x().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=x.guid++)),e.each(function(){x.event.add(this,t,o,r,n)})}x.event={global:{},add:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Y.get(e);if(g)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&x.find.matchesSelector(ve,o),n.guid||(n.guid=x.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==x&&x.event.triggered!==t.type?x.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(q)||[""]).length;l--;)d=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},f=x.event.special[d=(o?f.delegateType:f.bindType)||d]||{},c=x.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&x.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),x.event.global[d]=!0)},remove:function(e,t,n,r,o){var i,a,s,u,l,c,f,p,d,h,m,g=Y.hasData(e)&&Y.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(q)||[""]).length;l--;)if(d=m=(s=xe.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=x.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)||x.removeEvent(e,d,g.handle),delete u[d])}else for(d in u)x.event.remove(e,d+t[l],n,r,!0);x.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=x.event.fix(e),u=new Array(arguments.length),l=(Y.get(this,"events")||{})[s.type]||[],c=x.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=x.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&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(r=((x.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&&e.button>=1))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?x(o,this).index(l)>-1:x.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(x.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[x.expando]?e:new x.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Ee()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Ee()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&H(this,"input"))return this.click(),!1},_default:function(e){return H(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},x.Event=function(e,t){if(!(this instanceof x.Event))return new x.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:we,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&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},x.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,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&&ye.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&be.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},x.event.addProp),x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||x.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(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=we),this.each(function(){x.event.remove(this,e,n,t)})}});var Le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,He=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ne(e,t){return H(e,"table")&&H(11!==t.nodeType?t:t.firstChild,"tr")&&x(e).children("tbody")[0]||e}function Se(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function ke(e,t){var n,r,o,i,a,s,u,l;if(1===t.nodeType){if(Y.hasData(e)&&(i=Y.access(e),a=Y.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++)x.event.add(t,o,l[o][n]);Q.hasData(e)&&(s=Q.access(e),u=x.extend({},s),Q.set(t,u))}}function je(e,t){var n=t.nodeName.toLowerCase();"input"===n&&le.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Oe(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||p>1&&"string"==typeof g&&!h.checkClone&&He.test(g))return e.each(function(o){var i=e.eq(o);v&&(t[0]=g.call(this,o,i.html())),Oe(i,t,n,r)});if(p&&(i=(o=ge(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(u=(s=x.map(de(o,"script"),Se)).length;f<p;f++)l=o,f!==d&&(l=x.clone(l,!0,!0),u&&x.merge(s,de(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,x.map(s,De),f=0;f<u;f++)fe.test((l=s[f]).type||"")&&!Y.access(l,"globalEval")&&x.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?x._evalUrl&&x._evalUrl(l.src):y(l.textContent.replace(Me,""),c,l))}return e}function qe(e,t,n){for(var r,o=t?x.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||x.cleanData(de(r)),r.parentNode&&(n&&x.contains(r.ownerDocument,r)&&he(de(r,"script")),r.parentNode.removeChild(r));return e}x.extend({htmlPrefilter:function(e){return e.replace(Le,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(a=de(s),r=0,o=(i=de(e)).length;r<o;r++)je(i[r],a[r]);if(t)if(n)for(i=i||de(e),a=a||de(s),r=0,o=i.length;r<o;r++)ke(i[r],a[r]);else ke(e,s);return(a=de(s,"script")).length>0&&he(a,!u&&de(e,"script")),s},cleanData:function(e){for(var t,n,r,o=x.event.special,i=0;void 0!==(n=e[i]);i++)if(X(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)o[r]?x.event.remove(n,r):x.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),x.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return $(this,function(e){return void 0===e?x.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 Oe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ne(this,e).appendChild(e)})},prepend:function(){return Oe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ne(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Oe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Oe(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&&(x.cleanData(de(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return x.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&&!Ae.test(e)&&!pe[(ce.exec(e)||["",""])[1].toLowerCase()]){e=x.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(x.cleanData(de(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Oe(this,arguments,function(t){var n=this.parentNode;x.inArray(this,e)<0&&(x.cleanData(de(this)),n&&n.replaceChild(t,this))},e)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){for(var n,r=[],o=x(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),x(o[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Re=new RegExp(ne.join("|"),"i");function Fe(e,t,n){var r,o,i,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),!h.pixelBoxStyles()&&Pe.test(a)&&Re.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 Be(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%",ve.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=36===c.offsetWidth||"absolute",ve.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,x.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 We=/^(none|table(?!-c[ea]).+)/,$e=/^--/,_e={position:"absolute",visibility:"hidden",display:"block"},Ue={letterSpacing:"0",fontWeight:"400"},Ve=["Webkit","Moz","ms"],ze=r.createElement("div").style;function Xe(e){var t=x.cssProps[e];return t||(t=x.cssProps[e]=function(e){if(e in ze)return 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),t}function Ge(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ye(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+=x.css(e,n+ne[a],!0,o)),r?("content"===n&&(u-=x.css(e,"padding"+ne[a],!0,o)),"margin"!==n&&(u-=x.css(e,"border"+ne[a]+"Width",!0,o))):(u+=x.css(e,"padding"+ne[a],!0,o),"padding"!==n?u+=x.css(e,"border"+ne[a]+"Width",!0,o):s+=x.css(e,"border"+ne[a]+"Width",!0,o));return!r&&i>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))),u}function Qe(e,t,n){var r=Ie(e),o=Fe(e,t,r),i="border-box"===x.css(e,"boxSizing",!1,r),a=i;if(Pe.test(o)){if(!n)return o;o="auto"}return a=a&&(h.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===x.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(o=parseFloat(o)||0)+Ye(e,t,n||(i?"border":"content"),a,r,o)+"px"}function Je(e,t,n,r,o){return new Je.prototype.init(e,t,n,r,o)}x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!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=z(t),u=$e.test(t),l=e.style;if(u||(t=Xe(s)),a=x.cssHooks[t]||x.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=te.exec(n))&&o[1]&&(n=ie(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(x.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=z(t);return $e.test(t)||(t=Xe(s)),(a=x.cssHooks[t]||x.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Fe(e,t,r)),"normal"===o&&t in Ue&&(o=Ue[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),x.each(["height","width"],function(e,t){x.cssHooks[t]={get:function(e,n,r){if(n)return!We.test(x.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Qe(e,t,r):oe(e,_e,function(){return Qe(e,t,r)})},set:function(e,n,r){var o,i=Ie(e),a="border-box"===x.css(e,"boxSizing",!1,i),s=r&&Ye(e,t,r,a,i);return a&&h.scrollboxSize()===i.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Ye(e,t,"border",!1,i)-.5)),s&&(o=te.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=x.css(e,t)),Ge(0,n,s)}}}),x.cssHooks.marginLeft=Be(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-oe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(e,t){x.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ne[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(x.cssHooks[e+t].set=Ge)}),x.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ie(e),o=t.length;a<o;a++)i[t[a]]=x.css(e,t[a],!1,r);return i}return void 0!==n?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)}}),x.Tween=Je,(Je.prototype={constructor:Je,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||x.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(x.cssNumber[n]?"":"px")},cur:function(){var e=Je.propHooks[this.prop];return e&&e.get?e.get(this):Je.propHooks._default.get(this)},run:function(e){var t,n=Je.propHooks[this.prop];return this.pos=t=this.options.duration?x.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):Je.propHooks._default.set(this),this}}).init.prototype=Je.prototype,(Je.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=x.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){x.fx.step[e.prop]?x.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[x.cssProps[e.prop]]&&!x.cssHooks[e.prop]?e.elem[e.prop]=e.now:x.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Je.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},x.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},x.fx=Je.prototype.init,x.fx.step={};var Ke,Ze,et=/^(?:toggle|show|hide)$/,tt=/queueHooks$/;function nt(){Ze&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(nt):e.setTimeout(nt,x.fx.interval),x.fx.tick())}function rt(){return e.setTimeout(function(){Ke=void 0}),Ke=Date.now()}function ot(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ne[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function it(e,t,n){for(var r,o=(at.tweeners[t]||[]).concat(at.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function at(e,t,n){var r,o,i=0,a=at.prefilters.length,s=x.Deferred().always(function(){delete u.elem}),u=function(){if(o)return!1;for(var t=Ke||rt(),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:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ke||rt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=x.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=z(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=x.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=at.prefilters[i].call(l,e,c,l.opts))return m(r.stop)&&(x._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return x.map(c,it,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),x.fx.timer(x.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}x.Animation=x.extend(at,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ie(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(q);for(var n,r=0,o=e.length;r<o;r++)(at.tweeners[n=e[r]]=at.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&&re(e),g=Y.get(e,"fxshow");for(r in n.queue||(null==(a=x._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--,x.queue(e,"fx").length||a.empty.fire()})})),t)if(et.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]||x.style(e,r)}if((u=!x.isEmptyObject(t))||!x.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=Y.get(e,"display")),"none"===(c=x.css(e,"display"))&&(l?c=l:(ue([e],!0),l=e.style.display||l,c=x.css(e,"display"),ue([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===x.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=Y.access(e,"fxshow",{display:l}),i&&(g.hidden=!m),m&&ue([e],!0),p.done(function(){for(r in m||ue([e]),Y.remove(e,"fxshow"),d)x.style(e,r,d[r])})),u=it(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?at.prefilters.unshift(e):at.prefilters.push(e)}}),x.speed=function(e,t,n){var r=e&&"object"==typeof e?x.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return x.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration=r.duration in x.fx.speeds?x.fx.speeds[r.duration]:x.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&&x.dequeue(this,r.queue)},r},x.fn.extend({fadeTo:function(e,t,n,r){return this.filter(re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=x.isEmptyObject(e),i=x.speed(t,n,r),a=function(){var t=at(this,x.extend({},e),i);(o||Y.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=x.timers,a=Y.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&tt.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||x.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Y.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=x.timers,a=r?r.length:0;for(n.finish=!0,x.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})}}),x.each(["toggle","show","hide"],function(e,t){var n=x.fn[t];x.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ot(t,!0),e,r,o)}}),x.each({slideDown:ot("show"),slideUp:ot("hide"),slideToggle:ot("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){x.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),x.timers=[],x.fx.tick=function(){var e,t=0,n=x.timers;for(Ke=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||x.fx.stop(),Ke=void 0},x.fx.timer=function(e){x.timers.push(e),x.fx.start()},x.fx.interval=13,x.fx.start=function(){Ze||(Ze=!0,nt())},x.fx.stop=function(){Ze=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(t,n){return t=x.fx&&x.fx.speeds[t]||t,this.queue(n=n||"fx",function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var st,ut=x.expr.attrHandle;x.fn.extend({attr:function(e,t){return $(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})}}),x.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?x.prop(e,t,n):(1===i&&x.isXMLDoc(e)||(o=x.attrHooks[t.toLowerCase()]||(x.expr.match.bool.test(t)?st:void 0)),void 0!==n?null===n?void x.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=x.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&H(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(q);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),st={set:function(e,t,n){return!1===t?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ut[t]||x.find.attr;ut[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ut[a],ut[a]=o,o=null!=n(e,t,r)?a:null,ut[a]=i),o}});var lt=/^(?:input|select|textarea|button)$/i,ct=/^(?:a|area)$/i;function ft(e){return(e.match(q)||[]).join(" ")}function pt(e){return e.getAttribute&&e.getAttribute("class")||""}function dt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(q)||[]}x.fn.extend({prop:function(e,t){return $(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})}}),x.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&x.isXMLDoc(e)||(o=x.propHooks[t=x.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=x.find.attr(e,"tabindex");return t?parseInt(t,10):lt.test(e.nodeName)||ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),h.optSelected||(x.propHooks.selected={get:function(e){return null},set:function(e){}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,u=0;if(m(e))return this.each(function(t){x(this).addClass(e.call(this,t,pt(this)))});if((t=dt(e)).length)for(;n=this[u++];)if(o=pt(n),r=1===n.nodeType&&" "+ft(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=ft(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){x(this).removeClass(e.call(this,t,pt(this)))});if(!arguments.length)return this.attr("class","");if((t=dt(e)).length)for(;n=this[u++];)if(o=pt(n),r=1===n.nodeType&&" "+ft(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=ft(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){x(this).toggleClass(e.call(this,n,pt(this),t),t)}):this.each(function(){var t,o,i,a;if(r)for(o=0,i=x(this),a=dt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=pt(this))&&Y.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+ft(pt(n))+" ").indexOf(t)>-1)return!0;return!1}});var ht=/\r/g;x.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,x(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=x.map(o,function(e){return null==e?"":e+""})),(t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(ht,""):null==n?"":n:void 0}}),x.extend({valHooks:{option:{get:function(e){var t=x.find.attr(e,"value");return null!=t?t:ft(x.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||!H(n.parentNode,"optgroup"))){if(t=x(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=x.makeArray(t),a=o.length;a--;)((r=o[a]).selected=x.inArray(x.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=x.inArray(x(e).val(),t)>-1}},h.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var mt=/^(?:focusinfocus|focusoutblur)$/,gt=function(e){e.stopPropagation()};x.extend(x.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&&!mt.test(y+x.event.triggered)&&(y.indexOf(".")>-1&&(y=(b=y.split(".")).shift(),b.sort()),c=y.indexOf(":")<0&&"on"+y,(t=t[x.expando]?t:new x.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]:x.makeArray(n,[t]),d=x.event.special[y]||{},i||!d.trigger||!1!==d.trigger.apply(o,n))){if(!i&&!d.noBubble&&!g(o)){for(mt.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=a>1?l:d.bindType||y,(p=(Y.get(s,"events")||{})[t.type]&&Y.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&X(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)||!X(o)||c&&m(o[y])&&!g(o)&&((u=o[c])&&(o[c]=null),x.event.triggered=y,t.isPropagationStopped()&&h.addEventListener(y,gt),o[y](),t.isPropagationStopped()&&h.removeEventListener(y,gt),x.event.triggered=void 0,u&&(o[c]=u)),t.result}},simulate:function(e,t,n){var r=x.extend(new x.Event,n,{type:e,isSimulated:!0});x.event.trigger(r,null,t)}}),x.fn.extend({trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return x.event.trigger(e,t,n,!0)}}),h.focusin||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){x.event.simulate(t,e.target,x.event.fix(e))};x.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=Y.access(r,t);o||r.addEventListener(e,n,!0),Y.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=Y.access(r,t)-1;o?Y.access(r,t,o):(r.removeEventListener(e,n,!0),Y.remove(r,t))}}});var vt=e.location,yt=Date.now(),bt=/\?/;x.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),n};var xt=/\[\]$/,Tt=/\r?\n/g,wt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Ct(e,t,n,r){var o;if(Array.isArray(t))x.each(t,function(t,o){n||xt.test(e)?r(e,o):Ct(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==b(t))r(e,t);else for(o in t)Ct(e+"["+o+"]",t[o],n,r)}x.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(Array.isArray(e)||e.jquery&&!x.isPlainObject(e))x.each(e,function(){o(this.name,this.value)});else for(n in e)Ct(n,e[n],t,o);return r.join("&")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=x.prop(this,"elements");return e?x.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!x(this).is(":disabled")&&Et.test(this.nodeName)&&!wt.test(e)&&(this.checked||!le.test(e))}).map(function(e,t){var n=x(this).val();return null==n?null:Array.isArray(n)?x.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var Lt=/%20/g,At=/#.*$/,Ht=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:GET|HEAD)$/,St=/^\/\//,Dt={},kt={},jt="*/".concat("*"),Ot=r.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(q)||[];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 Pt(e,t,n,r){var o={},i=e===kt;function a(s){var u;return o[s]=!0,x.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 It(e,t){var n,r,o=x.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&x.extend(!0,e,r),e}Ot.href=vt.href,x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:vt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(vt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":jt,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":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?It(It(e,x.ajaxSettings),t):It(x.ajaxSettings,e)},ajaxPrefilter:qt(Dt),ajaxTransport:qt(kt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0);var o,i,a,s,u,l,c,f,p,d,h=x.ajaxSetup({},n=n||{}),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?x(m):x.event,v=x.Deferred(),y=x.Callbacks("once memory"),b=h.statusCode||{},T={},w={},E="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Mt.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,T[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||vt.href)+"").replace(St,vt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(q)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Ot.protocol+"//"+Ot.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=x.param(h.data,h.traditional)),Pt(Dt,h,n,C),c)return C;for(p in(f=x.event&&h.global)&&0==x.active++&&x.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Nt.test(h.type),i=h.url.replace(At,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Lt,"+")):(d=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(bt.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(Ht,"$1"),d=(bt.test(i)?"&":"?")+"_="+yt+++d),h.url=i+d),h.ifModified&&(x.lastModified[i]&&C.setRequestHeader("If-Modified-Since",x.lastModified[i]),x.etag[i]&&C.setRequestHeader("If-None-Match",x.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]?", "+jt+"; 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=Pt(kt,h,n,C)){if(C.readyState=1,f&&g.trigger("ajaxSend",[C,h]),c)return C;h.async&&h.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},h.timeout));try{c=!1,o.send(T,L)}catch(e){if(c)throw e;L(-1,e)}}else L(-1,"No Transport");function L(t,n,r,s){var l,p,d,T,w,E=n;c||(c=!0,u&&e.clearTimeout(u),o=void 0,a=s||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(T=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)),T=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,T,C,l),l?(h.ifModified&&((w=C.getResponseHeader("Last-Modified"))&&(x.lastModified[i]=w),(w=C.getResponseHeader("etag"))&&(x.etag[i]=w)),204===t||"HEAD"===h.type?E="nocontent":304===t?E="notmodified":(E=T.state,p=T.data,l=!(d=T.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]),--x.active||x.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return x.get(e,t,n,"json")},getScript:function(e,t){return x.get(e,void 0,t,"script")}}),x.each(["get","post"],function(e,t){x[t]=function(e,n,r,o){return m(n)&&(o=o||r,r=n,n=void 0),x.ajax(x.extend({url:e,type:t,dataType:o,data:n,success:r},x.isPlainObject(e)&&e))}}),x._evalUrl=function(e){return x.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=x(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){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=m(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){x(this).replaceWith(this.childNodes)}),this}}),x.expr.pseudos.hidden=function(e){return!x.expr.pseudos.visible(e)},x.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},x.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Rt={0:200,1223:204},Ft=x.ajaxSettings.xhr();h.cors=!!Ft&&"withCredentials"in Ft,h.ajax=Ft=!!Ft,x.ajaxTransport(function(t){var n,r;if(h.cors||Ft&&!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(Rt[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(e){if(n)throw e}},abort:function(){n&&n()}}}),x.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),x.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 x.globalEval(e),e}}}),x.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),x.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(o,i){t=x("<script>").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 Bt=[],Wt=/(=)\?(?=&|$)|\?\?/;x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Bt.pop()||x.expando+"_"+yt++;return this[e]=!0,e}}),x.ajaxPrefilter("json jsonp",function(t,n,r){var o,i,a,s=!1!==t.jsonp&&(Wt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.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(Wt,"$1"+o):!1!==t.jsonp&&(t.url+=(bt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return a||x.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?x(e).removeProp(o):e[o]=i,t[o]&&(t.jsonpCallback=n.jsonpCallback,Bt.push(o)),a&&m(i)&&i(a[0]),a=i=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),x.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=M.exec(e))?[t.createElement(i[1])]:(i=ge([e],t,a),a&&a.length&&x(a).remove(),x.merge([],i.childNodes)));var o,i,a},x.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=ft(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&x.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?x("<div>").append(x.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){x.fn[t]=function(e){return this.on(t,e)}}),x.expr.pseudos.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(e,t,n){var r,o,i,a,s,u,l=x.css(e,"position"),c=x(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),i=x.css(e,"top"),u=x.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+u).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),m(t)&&(t=t.call(e,n,x.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)}},x.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){x.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"===x.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"===x.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=x(e).offset()).top+=x.css(e,"borderTopWidth",!0),o.left+=x.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-x.css(r,"marginTop",!0),left:t.left-o.left-x.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===x.css(e,"position");)e=e.offsetParent;return e||ve})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;x.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)}}),x.each(["top","left"],function(e,t){x.cssHooks[t]=Be(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),Pe.test(n)?x(e).position()[t]+"px":n})}),x.each({Height:"height",Width:"width"},function(e,t){x.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){x.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?x.css(t,n,s):x.style(t,n,o,s)},t,a?o:void 0,a)}})}),x.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){x.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),x.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),x.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)}}),x.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||x.guid++,o},x.holdReady=function(e){e?x.readyWait++:x.ready(!0)},x.isArray=Array.isArray,x.parseJSON=JSON.parse,x.nodeName=H,x.isFunction=m,x.isWindow=g,x.camelCase=z,x.type=b,x.now=Date.now,x.isNumeric=function(e){var t=x.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var $t=e.jQuery,_t=e.$;return x.noConflict=function(t){return e.$===x&&(e.$=_t),t&&e.jQuery===x&&(e.jQuery=$t),x},t||(e.jQuery=e.$=x),x}),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:I),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){Ne(e,t),N?N.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!==I||e[I]?t!==F||e[F]||(e[I]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[I]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+R]||e[r+R])&&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,N,S,D,k,j,O="registerElement",q="__"+O+(1e5*e.Math.random()>>0),P="addEventListener",I="attached",R="Callback",F="detached",B="extends",W="attributeChanged"+R,$=I+R,_="connected"+R,U="disconnected"+R,V="created"+R,z=F+R,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},Ne=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}),Se=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&&[],Ie=ke.attachShadow,Re=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=Se&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ge=Se||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(Se&&((j=w.createElement("div")).innerHTML="<div><div></div></div>",new Se(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)}()):Se||(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,Se?(N=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Se(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(I),o(F)),(S=function(e){return N.observe(e,{childList:!0,subtree:!0}),e})(w),Ie&&(ke.attachShadow=function(){return S(Ie.apply(this,arguments))})):(L=[],w[P]("DOMNodeInserted",u(I)),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 Re.call(e,!!t)}},ke.cloneNode=function(e){return f(this,Re,[!!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),I),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 i={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&&(i.audio={mandatory:{chromeMediaSource:e?"screen":"desktop"},optional:[]}),t&&(i.video.mandatory.chromeMediaSourceId=t,i.audio&&i.audio.mandatory&&(i.audio.mandatory.chromeMediaSourceId=t)),i}function i(e){r?r.isLoaded?r.contentWindow.postMessage(e?e.forEach?{captureCustomSourceId:e}:{captureSourceIdWithAudio:!0}:{captureSourceId:!0},"*"):setTimeout(function(){i(e)},100):o(function(){i(e)})}var r;function o(e){r?e():((r=document.createElement("iframe")).onload=function(){r.isLoaded=!0,e()},r.src="https://openvidu.github.io/openvidu-screen-sharing-chrome-extension/",r.style.display="none",(document.body||document.documentElement).appendChild(r))}function a(){r?r.isLoaded?r.contentWindow.postMessage({getChromeExtensionStatus:!0},"*"):setTimeout(a,100):o(a)}window.getScreenId=function(e,t,r){-1===navigator.userAgent.indexOf("Edge")||!navigator.msSaveOrOpenBlob&&!navigator.msSaveBlob?navigator.mozGetUserMedia?t(null,"firefox",{video:{mozMediaSource:e,mediaSource:e}}):(window.addEventListener("message",function e(i){i.data&&(i.data.chromeMediaSourceId&&("PermissionDeniedError"===i.data.chromeMediaSourceId?t("permission-denied"):t(null,i.data.chromeMediaSourceId,n(null,i.data.chromeMediaSourceId,i.data.canRequestAudioTrack)),window.removeEventListener("message",e)),i.data.chromeExtensionStatus&&(t(i.data.chromeExtensionStatus,null,n(i.data.chromeExtensionStatus)),window.removeEventListener("message",e)))}),r?setTimeout(function(){i(r)},100):setTimeout(i,100)):t({video:!0})},window.getScreenConstraints=function(e){o(function(){getScreenId(function(t,n,i){i||(i={video:!0}),e(t,i.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(a,100))},t.getScreenId=getScreenId},"+FKC":function(e,t,n){"use strict";t.__esModule=!0;var i=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(r){if(-1!==i.name.indexOf("Chrome")||-1!==i.name.indexOf("Opera")){var o=void 0,a=void 0,s=void 0,l={},u={};for(var c in r){var d=r[c];"localcandidate"===d.type?l[d.id]=d:"remotecandidate"===d.type?u[d.id]=d:"googCandidatePair"===d.type&&"true"===d.googActiveConnection&&(s=d,o=d.localCandidateId,a=d.remoteCandidateId)}var h=l[o];if(h){var p=e.stream.getLocalIceCandidateList().filter(function(e){return!!e.candidate&&e.candidate.indexOf(h.ipAddress)>=0&&e.candidate.indexOf(h.portNumber)>=0&&e.candidate.indexOf(h.priority)>=0});h.raw=p[0]?p[0].candidate:"ERROR: Cannot find local candidate in list of sent ICE candidates"}else h="ERROR: No active local ICE candidate. Probably ICE-TCP is being used";var f=u[a];f?(p=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=p[0]?p[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:s,localCandidate:h,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 i=new XMLHttpRequest,r=e.webrtc.httpEndpoint;i.open("POST",r,!0),i.setRequestHeader("Content-type","application/json"),i.onreadystatechange=function(){4===i.readyState&&200===i.status&&console.log("WebRtc stats successfully sent to "+r+" for stream "+t.stream.streamId+" of connection "+t.stream.connection.connectionId)},i.send(n)};this.getStatsAgnostic(this.stream.getRTCPeerConnection(),function(r){if(-1!==i.name.indexOf("Firefox"))r.forEach(function(i){var r={};if("inbound-rtp"===i.type&&null!==i.nackCount&&!1===i.isRemote&&i.id.startsWith("inbound")&&i.remoteId.startsWith("inbound")){var o="webrtc_inbound_"+i.mediaType+"_"+i.ssrc,a={bytesReceived:(i.bytesReceived-t.stats.inbound[i.mediaType].bytesReceived)/t.statsInterval,jitter:1e3*i.jitter,packetsReceived:(i.packetsReceived-t.stats.inbound[i.mediaType].packetsReceived)/t.statsInterval,packetsLost:(i.packetsLost-t.stats.inbound[i.mediaType].packetsLost)/t.statsInterval},s={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===i.mediaType&&(a.framesDecoded=(i.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,a.nackCount=(i.nackCount-t.stats.inbound.video.nackCount)/t.statsInterval,s.framesDecoded="frames",s.nackCount="packets",t.stats.inbound.video.framesDecoded=i.framesDecoded,t.stats.inbound.video.nackCount=i.nackCount),t.stats.inbound[i.mediaType].bytesReceived=i.bytesReceived,t.stats.inbound[i.mediaType].packetsReceived=i.packetsReceived,t.stats.inbound[i.mediaType].packetsLost=i.packetsLost,(r={"@timestamp":new Date(i.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:s})[o]=a,n(JSON.stringify(r))}else"outbound-rtp"===i.type&&!1===i.isRemote&&i.id.toLowerCase().includes("outbound")&&(o="webrtc_outbound_"+i.mediaType+"_"+i.ssrc,a={bytesSent:(i.bytesSent-t.stats.outbound[i.mediaType].bytesSent)/t.statsInterval,packetsSent:(i.packetsSent-t.stats.outbound[i.mediaType].packetsSent)/t.statsInterval},s={bytesSent:"bytes",packetsSent:"packets"},"video"===i.mediaType&&(a.framesEncoded=(i.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,s.framesEncoded="frames",t.stats.outbound.video.framesEncoded=i.framesEncoded),t.stats.outbound[i.mediaType].bytesSent=i.bytesSent,t.stats.outbound[i.mediaType].packetsSent=i.packetsSent,(r={"@timestamp":new Date(i.timestamp).toISOString(),exec:e.exec,component:e.component,stream:"webRtc",et_type:o,stream_type:"composed_metrics",units:s})[o]=a,n(JSON.stringify(r)))});else if(-1!==i.name.indexOf("Chrome")||-1!==i.name.indexOf("Opera"))for(var o=0,a=Object.keys(r);o<a.length;o++){var s=r[a[o]];if("ssrc"===s.type){var l={};if("bytesReceived"in s&&("audio"===s.mediaType&&"audioOutputLevel"in s||"video"===s.mediaType&&"qpSum"in s)){var u="webrtc_inbound_"+s.mediaType+"_"+s.ssrc,c={bytesReceived:(s.bytesReceived-t.stats.inbound[s.mediaType].bytesReceived)/t.statsInterval,jitter:s.googJitterBufferMs,packetsReceived:(s.packetsReceived-t.stats.inbound[s.mediaType].packetsReceived)/t.statsInterval,packetsLost:(s.packetsLost-t.stats.inbound[s.mediaType].packetsLost)/t.statsInterval},d={bytesReceived:"bytes",jitter:"ms",packetsReceived:"packets",packetsLost:"packets"};"video"===s.mediaType&&(c.framesDecoded=(s.framesDecoded-t.stats.inbound.video.framesDecoded)/t.statsInterval,c.nackCount=(s.googNacksSent-t.stats.inbound.video.nackCount)/t.statsInterval,d.framesDecoded="frames",d.nackCount="packets",t.stats.inbound.video.framesDecoded=s.framesDecoded,t.stats.inbound.video.nackCount=s.googNacksSent),t.stats.inbound[s.mediaType].bytesReceived=s.bytesReceived,t.stats.inbound[s.mediaType].packetsReceived=s.packetsReceived,t.stats.inbound[s.mediaType].packetsLost=s.packetsLost,(l={"@timestamp":new Date(s.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 s&&(u="webrtc_outbound_"+s.mediaType+"_"+s.ssrc,c={bytesSent:(s.bytesSent-t.stats.outbound[s.mediaType].bytesSent)/t.statsInterval,packetsSent:(s.packetsSent-t.stats.outbound[s.mediaType].packetsSent)/t.statsInterval},d={bytesSent:"bytes",packetsSent:"packets"},"video"===s.mediaType&&(c.framesEncoded=(s.framesEncoded-t.stats.outbound.video.framesEncoded)/t.statsInterval,d.framesEncoded="frames",t.stats.outbound.video.framesEncoded=s.framesEncoded),t.stats.outbound[s.mediaType].bytesSent=s.bytesSent,t.stats.outbound[s.mediaType].packetsSent=s.packetsSent,(l={"@timestamp":new Date(s.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!==i.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 r=this;return-1!==i.name.indexOf("Firefox")?e.getStats(null).then(function(e){var n=r.standardizeReport(e);t(n)}).catch(n):-1!==i.name.indexOf("Chrome")||-1!==i.name.indexOf("Opera")?e.getStats(function(e){var n=r.standardizeReport(e);t(n)},null,n):void 0},e}()},"+ig+":function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.FilterEvent=function(e){function t(t,n,i){var r=e.call(this,!1,t,n)||this;return r.data=i,r}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},"/dLB":function(e,t,n){"use strict";t.__esModule=!0,function(e){e.AFTER="AFTER",e.APPEND="APPEND",e.BEFORE="BEFORE",e.PREPEND="PREPEND",e.REPLACE="REPLACE"}(t.VideoInsertMode||(t.VideoInsertMode={}))},"/u9M":function(e,t,n){"use strict";t.__esModule=!0;var i=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")),r=i.tokenize,o=i.options.Options;function a(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function s(e){return e.replace(/"/g,""")}function l(e){if(!e)return"";var t=[];for(var n in e)t.push(n+'="'+s(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=r(e),i=[],u=0;u<n.length;u++){var c=n[u];if("nl"===c.type&&t.nl2br)i.push("<br>\n");else if(c.isLink&&t.check(c)){var d=t.resolve(c),h=d.formatted,p=d.tagName,f=d.className,m=d.target,g=d.attributes,v="<"+p+' href="'+s(d.formattedHref)+'"';f&&(v+=' class="'+s(f)+'"'),m&&(v+=' target="'+s(m)+'"'),g&&(v+=" "+l(g)),v+=">"+a(h)+"</"+p+">",i.push(v)}else i.push(a(c.toString()))}return i.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 i=n("de4E"),r=n("pLL0");t.JsonRPC=i,t.XmlRPC=r},"1Kca":function(e,t,n){"use strict";var i=n("dY/r");e.exports=function(e){var t,r={stun:(e||{}).stun||n("KFtI"),turn:(e||{}).turn||n("hw9W")},o=(e||{}).turnCount||0;function a(e,t){for(var n,o=[],a=[].concat(r[e]);a.length&&o.length<t;)n=Math.random()*a.length|0,o=o.concat(a.splice(n,1));return o.map(function(t){return"string"==typeof t||t instanceof String?i(e+":"+t):t})}return t=[].concat(a("stun",(e||{}).stunCount||2)),o&&(t=t.concat(a("turn",o))),t}},"5kmN":function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("1Kca"),o=n("Wfi+"),a=n("bDgZ");a.isIonicIos=("iPhone"===a.product||"iPad"===a.product)&&-1===a.ua.indexOf("Safari");var s=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:r(),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(a.isIonicIos)e.pc.addStream(e.configuration.mediaStream);else for(var i=0,r=e.configuration.mediaStream.getTracks();i<r.length;i++)e.pc.addTrack(r[i],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=[],a.isIonicIos){for(var t=this.pc,n=0,i=t.getLocalStreams();n<i.length;n++){var r=i[n];e||r.stop(),t.removeStream(r)}for(var o=0,s=t.getRemoteStreams();o<s.length;o++)(h=s[o]).track&&h.stop()}else{for(var l=0,u=this.pc.getSenders();l<u.length;l++)r=u[l],e||r.track&&r.track.stop(),this.pc.removeTrack(r);for(var c=0,d=this.pc.getReceivers();c<d.length;c++){var h;(h=d[c]).track&&h.track.stop()}}this.pc.close()}}catch(p){console.warn("Exception disposing webrtc peer "+p)}},e.prototype.generateOffer=function(){var e=this;return new Promise(function(t,n){var i,r=!0;e.configuration.mediaConstraints&&(i="boolean"!=typeof e.configuration.mediaConstraints.audio||e.configuration.mediaConstraints.audio,r="boolean"!=typeof e.configuration.mediaConstraints.video||e.configuration.mediaConstraints.video);var o={offerToReceiveAudio:"sendonly"!==e.configuration.mode&&i,offerToReceiveVideo:"sendonly"!==e.configuration.mode&&r};console.debug("RTCPeerConnection constraints: "+JSON.stringify(o)),"Safari"===a.name&&-1!==a.ua.indexOf("Safari")?(i&&e.pc.addTransceiver("audio",{direction:e.configuration.mode}),r&&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 i=e.pc.localDescription;i?(console.debug("Local description set",i.sdp),t(i.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 i=e.pc.localDescription;i?(console.debug("Local description set",i.sdp),t(i.sdp)):n("Local description is not defined")}).catch(function(e){return n(e)})})},e.prototype.processOffer=function(e){var t=this;return new Promise(function(n,i){var r={type:"offer",sdp:e};console.debug("SDP offer received, setting remote description"),"closed"===t.pc.signalingState&&i("PeerConnection is closed"),t.pc.setRemoteDescription(r).then(function(){return t.pc.createAnswer()}).then(function(e){return console.debug("Created SDP answer"),t.pc.setLocalDescription(e)}).then(function(){var e=t.pc.localDescription;e?(console.debug("Local description set",e.sdp),n(e.sdp)):i("Local description is not defined")}).catch(function(e){return i(e)})})},e.prototype.processAnswer=function(e,t){var n=this;return new Promise(function(i,r){var o={type:"answer",sdp:e};console.debug("SDP answer received, setting remote description"),"closed"===n.pc.signalingState&&r("RTCPeerConnection is closed"),t&&a.isIonicIos?setTimeout(function(){console.info("setRemoteDescription run after timout for iOS device"),n.pc.setRemoteDescription(o).then(function(){return i()}).catch(function(e){return r(e)})},250):n.pc.setRemoteDescription(o).then(function(){return i()}).catch(function(e){return r(e)})})},e.prototype.addIceCandidate=function(e){var t=this;return new Promise(function(n,i){switch(console.debug("Remote ICE candidate received",e),t.remoteCandidatesQueue.push(e),t.pc.signalingState){case"closed":i(new Error("PeerConnection object is closed"));break;case"stable":t.pc.remoteDescription&&t.pc.addIceCandidate(e).then(function(){return n()}).catch(function(e){return i(e)});break;default:t.iceCandidateList.push(e),n()}})},e}();t.WebRtcPeer=s,t.WebRtcPeerRecvonly=function(e){function t(t){return t.mode="recvonly",e.call(this,t)||this}return i(t,e),t}(s),t.WebRtcPeerSendonly=function(e){function t(t){return t.mode="sendonly",e.call(this,t)||this}return i(t,e),t}(s),t.WebRtcPeerSendrecv=function(e){function t(t){return t.mode="sendrecv",e.call(this,t)||this}return i(t,e),t}(s)},"6+/i":function(e,t,n){var i;!function(t){"use strict";function r(){}var o=r.prototype,a=t.EventEmitter;function s(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,i=this._getEvents();if(e instanceof RegExp)for(n in t={},i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n]);else t=i[e]||(i[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,i=this.getListenersAsObject(e),r="object"==typeof t;for(n in i)i.hasOwnProperty(n)&&-1===s(i[n],t)&&i[n].push(r?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,i,r=this.getListenersAsObject(e);for(i in r)r.hasOwnProperty(i)&&-1!==(n=s(r[i],t))&&r[i].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 i,r,o=e?this.removeListener:this.addListener,a=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):a.call(this,i,r));return this},o.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if(e instanceof RegExp)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},o.removeAllListeners=l("removeEvent"),o.emitEvent=function(e,t){var n,i,r,o,a=this.getListenersAsObject(e);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].slice(0),r=0;r<n.length;r++)!0===(i=n[r]).once&&this.removeListener(e,i.listener),i.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,i.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={})},r.noConflict=function(){return t.EventEmitter=a,r},void 0===(i=(function(){return r}).call(t,n,t,e))||(e.exports=i)}("undefined"!=typeof window?window:this||{})},"74bm":function(e,t,n){"use strict";t.__esModule=!0;var i=n("BwMD"),r=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,a){var s;if(console.info("Executing filter method to stream "+n.stream.streamId),"string"!=typeof t)try{s=JSON.stringify(t)}catch(u){var l="'params' property must be a JSON formatted object";console.error(l),a(l)}else s=t;n.stream.session.openvidu.sendRequest("execFilterMethod",{streamId:n.stream.streamId,method:e,params:s},function(t,l){if(t)console.error("Error executing filter method for Stream "+n.stream.streamId,t),a(401===t.code?new r.OpenViduError(r.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(s)},n.stream.session.emitEvent("streamPropertyChanged",[new i.StreamPropertyChangedEvent(n.stream.session,n.stream,"filter",n.stream.filter,u,"execFilterMethod")]),n.stream.streamManager.emitEvent("streamPropertyChanged",[new i.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(i,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(a,s){a?(console.error("Error adding filter event listener to event "+e+"for Stream "+n.stream.streamId,a),o(401===a.code?new r.OpenViduError(r.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to add a filter event listener"):a)):(n.handlers[e]=t,console.info("Filter event listener to event "+e+" successfully applied on Stream "+n.stream.streamId),i())})})},e.prototype.removeEventListener=function(e){var t=this;return new Promise(function(n,i){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,a){o?(console.error("Error removing filter event listener to event "+e+"for Stream "+t.stream.streamId,o),i(401===o.code?new r.OpenViduError(r.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 i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.ConnectionEvent=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n,i)||this;return a.connection=r,a.reason=o,a}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},AeG9:function(e,t,n){var i=!1;if(Object.defineProperty)try{Object.defineProperty({},"x",{})}catch(f){i=!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,i=function(){},r=function(){return n.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r});var r=n("txJ/").EventEmitter,o=n("HgqT"),a=n("0wxW"),s=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){i?(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,a){var d=this;if(!e)throw new SyntaxError("Packer is not defined");if(!e.pack||!e.unpack)throw new SyntaxError("Packer is invalid");var h=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");a=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");a=n,n=t,t=void 0}if(n instanceof Function){if(null!=a)throw new SyntaxError("There can't be parameters after onRequest");a=n,n=void 0}if(n&&n.send instanceof Function&&a&&!(a instanceof Function))throw new SyntaxError("Only a function can be after transport");t=t||{},r.call(this),a&&this.on("request",a),i?this.peerID=t.peerID:Object.defineProperty(this,"peerID",{value:t.peerID});var p=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)},i||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 s,S=new s,C=new s,E={};function x(e,t){var n=setTimeout(function(){C.remove(e,t)},b);C.set(n,e,t)}function O(t,n,r,o,a){c.call(this,t,n),this.getTransport=function(){return a},this.setTransport=function(e){a=u(e)},i||Object.defineProperty(this,"transport",{get:this.getTransport.bind(this),set:this.setTransport.bind(this)});var s=S.get(r,o);a||d.getTransport()||(i?this.duplicated=Boolean(s):Object.defineProperty(this,"duplicated",{value:Boolean(s)}));var l=h[t];this.pack=e.pack.bind(e,this,r),this.reply=function(t,n,i){if(t instanceof Function||t&&t.send instanceof Function){if(null!=n)throw new SyntaxError("There can't be parameters after callback");i=t,n=null,t=void 0}else if(n instanceof Function||n&&n.send instanceof Function){if(null!=i)throw new SyntaxError("There can't be parameters after callback");i=n,n=null}var a;return i=u(i),s&&clearTimeout(s.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),a=e.pack(a=l?null==l.error&&t?{error:t}:{method:t?l.error:l.response,params:t||n}:{error:t,result:n},r)):a=s?s.message:e.pack({result:null},r),function(e,t,n){var i={message:e,timeout:setTimeout(function(){S.remove(t,n)},y)};S.set(i,t,n)}(a,r,o),(i=i||this.getTransport()||d.getTransport())?i.send(a):a}}function k(e){var t=E[e];if(t){delete E[e];var n=w.pop(t.id,t.dest);n&&(clearTimeout(n.timeout),x(t.id,t.dest))}}o(O,c),this.cancel=function(e){if(e)return k(e);for(var e in E)k(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,i,r,o){if(n instanceof Function){if(null!=i)throw new SyntaxError("There can't be parameters after callback");o=n,r=void 0,i=void 0,n=void 0}else if(i instanceof Function){if(null!=r)throw new SyntaxError("There can't be parameters after callback");o=i,r=void 0,i=void 0}else if(r instanceof Function){if(null!=o)throw new SyntaxError("There can't be parameters after callback");o=r,r=void 0}null!=d.peerID&&((n=n||{}).from=d.peerID),null!=i&&((n=n||{}).dest=i);var a={method:t,params:n};if(o){var s=_++,l=0;function c(e,t){d.cancel(a),o(e,t)}var f={message:a=e.pack(a,s),callback:c,responseMethods:h[t]||{}},m=u(r);function y(e){return f.timeout=setTimeout(S,("ping"===t?v:g)*Math.pow(2,l++)),E[a]={id:s,dest:i},w.set(f,s,i),(e=e||m||d.getTransport())?e.send(a):a}function b(e){e=u(e),console.warn(l+" retry for request message:",a);var t=C.pop(s,i);return clearTimeout(t),y(e)}function S(){if(l<p)return b(r);var e=new Error("Request has timed out");e.request=a,e.retry=b,c(e)}return y(r)}return a=e.pack(a),(r=r||this.getTransport())?r.send(a):a},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 i=t.id,r=t.ack,o=t.method,a=t.params||{},s=a.from,l=a.dest;if(null==d.peerID||s!=d.peerID){if(null==i&&null==r){var h=new c(o,a);if(d.emit("request",h))return;return h}if(o){if(null==l||l==d.peerID){if(v=w.get(r,s)){var p=v.responseMethods;return o==p.error?_(v,a):o==p.response?_(v,null,a):b()}if(y=C.get(r,s))return E(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(r,s)))return(y=C.get(r,s))?E(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(i,s);if(e)return n.send(e.message)}var t=new O(o,a,null!=i?i:r,s,n);if(!d.emit("request",t))return t}function _(e,t,n){e.callback(t,n)}function E(e){console.warn("Response already processed",t),clearTimeout(e),x(r,s)}}}o(d,r),d.RpcNotification=c,e.exports=d;var h=n("SYuc"),p=n("ee8k");(d.clients=h).transports=p,d.packers=a},BwMD:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.StreamPropertyChangedEvent=function(e){function t(t,n,i,r,o,a){var s=e.call(this,!1,t,"streamPropertyChanged")||this;return s.stream=n,s.changedProperty=i,s.newValue=r,s.oldValue=o,s.reason=a,s}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},DPKQ:function(e,t,n){"use strict";t.__esModule=!0;var i=n("74bm"),r=n("bk74"),o=n("5kmN"),a=n("+FKC"),s=n("e8ps"),l=n("HxXY"),u=n("BwMD"),c=n("Tt94"),d=n("6+/i"),h=n("ttXH"),p=n("bDgZ");p.isIonicIos=("iPhone"===p.product||"iPad"===p.product)&&-1===p.ua.indexOf("Safari"),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=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(i){i?console.info("Event '"+e+"' triggered by stream '"+n.streamId+"'",i):console.info("Event '"+e+"' triggered by stream '"+n.streamId+"'"),t(i)}),this},e.prototype.once=function(e,t){var n=this;return this.ee.once(e,function(i){i?console.info("Event '"+e+"' triggered once by stream '"+n.streamId+"'",i):console.info("Event '"+e+"' triggered once by stream '"+n.streamId+"'"),t(i)}),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(r,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(a,s){if(a)console.error("Error applying filter for Stream "+n.streamId,a),o(401===a.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to apply a filter"):a);else{console.info("Filter successfully applied on Stream "+n.streamId);var l=n.filter;n.filter=new i.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")]),r(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(i,r){if(i)console.error("Error removing filter for Stream "+e.streamId,i),n(401===i.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to remove a filter"):i);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&&this.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack;this.webRtcPeer.dispose(e)}this.speechEvent&&(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(){return!!this.outboundStreamOpts&&"screen"===this.outboundStreamOpts.publisherProperties.videoSource},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=h(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 s.PublisherSpeakingEvent(e.session,"publisherStartSpeaking",e.connection,e.streamId)])})),this.publisherStopSpeakingEventEnabled||(this.publisherStopSpeakingEventEnabled=!0,this.speechEvent.on("stopped_speaking",function(){e.session.emitEvent("publisherStopSpeaking",[new s.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 s.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 s.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 i={audio:e.isSendAudio(),video:e.isSendVideo()},r={mediaStream:e.mediaStream,mediaConstraints:i,onicecandidate:e.connection.sendIceCandidate.bind(e.connection),iceServers:e.getIceServersConf(),simulcast:!1};e.webRtcPeer=e.displayMyRemote()?new o.WebRtcPeerSendrecv(r):new o.WebRtcPeerSendonly(r),e.webRtcPeer.generateOffer().then(function(i){!function(i){console.debug("Sending SDP offer to publish as "+e.streamId,i);var r="";e.isSendVideo()&&(r=e.outboundStreamOpts.publisherProperties.videoSource instanceof MediaStreamTrack?"CUSTOM":e.isSendScreen()?"SCREEN":"CAMERA"),e.session.openvidu.sendRequest("publishVideo",{sdpOffer:i,doLoopback:e.displayMyRemote()||!1,hasAudio:e.isSendAudio(),hasVideo:e.isSendVideo(),audioActive:e.audioActive,videoActive:e.videoActive,typeOfVideo:r,frameRate:e.frameRate?e.frameRate:-1,videoDimensions:JSON.stringify(e.videoDimensions),filter:e.outboundStreamOpts.publisherProperties.filter},function(i,r){i?n(401===i.code?new c.OpenViduError(c.OpenViduErrorName.OPENVIDU_PERMISSION_DENIED,"You don't have permissions to publish"):"Error on publishVideo: "+JSON.stringify(i)):(e.webRtcPeer.processAnswer(r.sdpAnswer,!1).then(function(){e.streamId=r.id,e.creationTime=r.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"))})}(i)}).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 i={audio:e.inboundStreamOpts.hasAudio,video:e.inboundStreamOpts.hasVideo};console.debug("'Session.subscribe(Stream)' called. Constraints of generate SDP offer",i);var r={onicecandidate:e.connection.sendIceCandidate.bind(e.connection),mediaConstraints:i,iceServers:e.getIceServersConf(),simulcast:!1};e.webRtcPeer=new o.WebRtcPeerRecvonly(r),e.webRtcPeer.generateOffer().then(function(i){var r;r=i,console.debug("Sending SDP offer to subscribe to "+e.streamId,r),e.session.openvidu.sendRequest("receiveVideoFrom",{sender:e.streamId,sdpOffer:r},function(i,r){i?n(new Error("Error on recvVideoFrom: "+JSON.stringify(i))):(e.session.isFirstIonicIosSubscriber&&(e.session.isFirstIonicIosSubscriber=!1,e.session.iosInterval=setTimeout(function(){e.session.countDownForIonicIosSubscribers=!1},400)),e.webRtcPeer.processAnswer(r.sdpAnswer,e.session.countDownForIonicIosSubscribers).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(p.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 r.Subscriber){if(this.mediaStream.getAudioTracks()[0]){var i=!!this.streamManager.properties.subscribeToAudio;this.mediaStream.getAudioTracks()[0].enabled=i}this.mediaStream.getVideoTracks()[0]&&(i=!!this.streamManager.properties.subscribeToVideo,this.mediaStream.getVideoTracks()[0].enabled=i)}this.ee.emitEvent("mediastream-updated",[]),!this.displayMyRemote()&&this.mediaStream.getAudioTracks()[0]&&this.session.speakingEventsEnabled&&this.enableSpeakingEvents()}},e.prototype.initWebRtcStats=function(){this.webRtcStats=new a.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 i=n("AeG9"),r=n("cUzU");Date.now=Date.now||function(){return+new Date};var o=5e3,a=console;e.exports=function(e){var t,n=this,s=e.ws,l=-1,u=0,c=!0,d=!1,h="DISCONNECTED",p=s.onreconnecting,f=s.onreconnected,m=s.onconnected,g=s.onerror;e.rpc.pull=function(e,t){t.reply(null,"push")},s.onreconnecting=function(){a.debug("--------- ONRECONNECTING -----------"),"RECONNECTING"!==h?(S(),h="RECONNECTING",p&&p()):a.error("Websocket already in RECONNECTING state when receiving a new ONRECONNECTING message. Ignoring it")},s.onreconnected=function(){a.debug("--------- ONRECONNECTED -----------"),"CONNECTED"!==h?(h="CONNECTED",b(),f&&f()):a.error("Websocket already in CONNECTED state when receiving a new ONRECONNECTED message. Ignoring it")},s.onconnected=function(){a.debug("--------- ONCONNECTED -----------"),"CONNECTED"!==h?(h="CONNECTED",c=!0,w(),m&&m()):a.error("Websocket already in CONNECTED state when receiving a new ONCONNECTED message. Ignoring it")},s.onerror=function(e){a.debug("--------- ONERROR -----------"),h="DISCONNECTED",S(),g&&g(e)};var v=new r(s);a.debug("Connecting websocket to URI: "+s.uri);var y=new i(i.packers.JsonRPC,{request_timeout:e.rpc.requestTimeout,ping_request_timeout:e.rpc.heartbeatRequestTimeout},v,function(t){a.debug("Received request: "+JSON.stringify(t));try{var n=e.rpc[t.method];void 0===n?a.error("Method "+t.method+" not registered in client"):n(t.params,t)}catch(i){a.error("Exception processing request: "+JSON.stringify(t)),a.error(i)}});function b(){a.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,(i=++u,function(e,t){e&&(a.debug("Error in ping request #"+i+" ("+e.message+")"),i>l&&(c=!1,b(),a.debug("Server did not respond to ping message #"+i+". Reconnecting... "),v.reconnectWs()))}))}else a.debug("Trying to send ping, but ping is not enabled");var i}function w(){d||(a.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&&a.debug("Request: method:"+e+" params:"+JSON.stringify(t));var i=Date.now();y.encode(e,t,function(r,o){if(r){try{a.error("ERROR:"+r.message+" in Request: method:"+e+" params:"+JSON.stringify(t)+" request:"+r.request),r.data&&a.error("ERROR DATA:"+JSON.stringify(r.data))}catch(s){}r.requestTime=i}n&&(null!=o&&"pong"!==o.value&&a.debug("Response: "+JSON.stringify(o)),n(r,o))})},this.close=function(n,i){a.debug("Closing with code: "+n+" because: "+i),null!=t&&(a.debug("Clearing ping interval"),clearInterval(t)),d=!1,c=!1,e.sendCloseMessage?(a.debug("Sending close message"),this.send("closeSession",null,function(e,t){e&&a.error("Error sending close message: "+JSON.stringify(e)),v.close(n,i)})):v.close(n,i)},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,i,r="screen",o=void 0!==window.InstallTrigger;function a(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);i=e,window.postMessage("get-sourceId","*")}function s(e,t){if(n="",o)return e(null,{mozMediaSource:"window",mediaSource:"window"});var s={mandatory:{chromeMediaSource:r,maxWidth:screen.width>1920?screen.width:1920,maxHeight:screen.height>1080?screen.height:1080},optional:[]};"desktop"!=r||n?("desktop"==r&&(s.mandatory.chromeMediaSourceId=n),e(null,s)):t?function(e){if(!e)throw'"callback" parameter is mandatory.';if(n)return e(n);i=e,window.postMessage("audio-plus-tab","*")}(function(t,n){s.mandatory.chromeMediaSourceId=t,n&&(s.canRequestAudioTrack=!0),e("PermissionDeniedError"==t?t:null,s)}):a(function(t){s.mandatory.chromeMediaSourceId=t,e("PermissionDeniedError"==t?t:null,s)})}window.opera||navigator.userAgent.indexOf(" OPR/"),window.addEventListener("message",function(e){e.origin==window.location.origin&&function(e){if("PermissionDeniedError"==e){if(i)return i("PermissionDeniedError");throw new Error("PermissionDeniedError")}"rtcmulticonnection-extension-loaded"==e&&(r="desktop"),e.sourceId&&i&&i(n=e.sourceId,!0===e.canRequestAudioTrack)}(e.data)}),t.getScreenConstraints=s,t.getScreenConstraintsWithAudio=function(e){s(e,!0)},t.isChromeExtensionAvailable=function(e){if(e){if("desktop"==r)return e(!0);window.postMessage("are-you-there","*"),setTimeout(function(){e("screen"!=r)},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(){r="screen",window.postMessage("are-you-there","*"),setTimeout(function(){t("screen"==r?"installed-disabled":"installed-enabled")},2e3)},n.onerror=function(){t("not-installed")}},t.getSourceId=a},FlKs:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var i=n("JUw6"),r=function(e){this.j=[],this.T=e||null};r.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],i=n[1];if(this.test(e,n[0]))return i}return this.defaultTransition},accepts:function(){return!!this.T},test:function(e,t){return e===t},emit:function(){return this.T}};var o=(0,i.inherits)(r,function(e){this.j=[],this.T=e||null},{test:function(e,t){return e===t||t instanceof RegExp&&t.test(e)}}),a=(0,i.inherits)(r,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=a,t.stateify=function(e,t,n,i){for(var r=0,a=e.length,s=t,l=[],u=void 0;r<a&&(u=s.next(e[r]));)s=u,r++;if(r>=a)return[];for(;r<a-1;)u=new o(i),l.push(u),s.on(e[r],u),s=u,r++;return u=new o(n),l.push(u),s.on(e[a-1],u),l}},HgqT:function(e,t){e.exports="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,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 i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.StreamManagerEvent=function(e){function t(t,n,i){var r=e.call(this,!1,t,n)||this;return r.value=i,r}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},IXxz:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser,i=n.State,r=e.parser.start,o=t.DOMAIN,a=t.LOCALHOST,s=t.NUM,l=t.SLASH,u=t.TLD,c=t.UNDERSCORE,d=t.DOT,h=t.AT;function p(e){this.v=e}e.inherits(n.TOKENS.Base,p,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var f=r.jump(t.AT),m=new i,g=new i(p),v=new i,y=new i;f.on(c,m),m.on(c,m).on(d,m),f.on(o,g).on(a,g).on(u,g).on(s,g),m.on(o,g).on(a,g).on(u,g).on(s,g),g.on(o,g).on(a,g).on(u,g).on(s,g).on(c,g),g.on(l,v).on(d,v).on(h,v),v.on(c,y),y.on(c,y),v.on(o,g).on(a,g).on(u,g).on(s,g),y.on(o,g).on(a,g).on(u,g).on(s,g)}},JTMn:function(e,t,n){"use strict";t.__esModule=!0;var i=n("ryRr"),r=n("74bm"),o=n("bk74"),a=n("8KVD"),s=n("+ig+"),l=n("rUL0"),u=n("ksJj"),c=n("suHS"),d=n("Te8r"),h=n("BwMD"),p=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.countDownForIonicIosSubscribers=!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(i,r){n.processToken(e),n.openvidu.checkSystemRequirements()?(n.options={sessionId:n.sessionId,participantId:e,metadata:t?n.stringClientMetadata(t):""},n.connectAux(e).then(function(){i()}).catch(function(e){r(e)})):r(new p.OpenViduError(p.OpenViduErrorName.BROWSER_NOT_SUPPORTED,"Browser "+g.name+" for "+g.os.family+" is not supported in OpenVidu"))})},e.prototype.disconnect=function(){this.leave(!1,"disconnect")},e.prototype.subscribe=function(e,t,n,i){var r,a={};a=n&&"function"!=typeof n?{insertMode:void 0!==n.insertMode?"string"==typeof n.insertMode?f.VideoInsertMode[n.insertMode]:a.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?r=n:i&&(r=i),console.info("Subscribing to "+e.connection.connectionId),e.subscribe().then(function(){console.info("Subscribed correctly to "+e.connection.connectionId),void 0!==r&&r(void 0)}).catch(function(e){void 0!==r&&r(e)});var s=new o.Subscriber(e,t,a);return s.targetElement&&e.streamManager.createVideoElement(s.targetElement,a.insertMode),s},e.prototype.subscribeAsync=function(e,t,n){var i=this;return new Promise(function(r,o){var a,s=function(e){e?o(e):r(a)};a=n?i.subscribe(e,t,n,s):i.subscribe(e,t,s)})},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,i){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,i){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){i(e)})}).catch(function(e){i(e)}):(t.connection.addStream(e.stream),e.stream.publish().then(function(){n()}).catch(function(e){i(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,i){console.info("Forcing disconnect for connection "+e.connectionId),t.openvidu.sendRequest("forceDisconnect",{connectionId:e.connectionId},function(t,r){t?(console.error("Error forcing disconnect for Connection "+e.connectionId,t),i(401===t.code?new p.OpenViduError(p.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,i){console.info("Forcing unpublish for stream "+e.streamId),t.openvidu.sendRequest("forceUnpublish",{streamId:e.streamId},function(t,r){t?(console.error("Error forcing unpublish for Stream "+e.streamId,t),i(401===t.code?new p.OpenViduError(p.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,i){var r={};if(e.to&&e.to.length>0){var o=[];e.to.forEach(function(e){o.push(e.connectionId)}),r.to=o}else r.to=[];r.data=e.data?e.data:"";var a=e.type?e.type:"signal";a&&"signal:"!==a.substring(0,7)&&(a="signal:"+a),r.type=a,t.openvidu.sendRequest("sendMessage",{message:JSON.stringify(r)},function(e,t){e?i(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 i=this.remoteConnections[n].stream;i&&i.hasAudio&&i.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 i=this.remoteConnections[n].stream;i&&i.hasAudio&&i.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 i=this.remoteConnections[n].stream;i&&i.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 r=new i.Connection(t,e);t.remoteConnections[e.id]=r,t.ee.emitEvent("connectionCreated",[new a.ConnectionEvent(!1,t,"connectionCreated",r,"")])})},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 i=n.stream,r=new d.StreamEvent(!0,t,"streamDestroyed",i,e.reason);t.ee.emitEvent("streamDestroyed",[r]),r.callDefaultBehavior(),delete t.remoteStreamsCreated[i.streamId],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribers=!0)}delete t.remoteConnections[n.connectionId],t.ee.emitEvent("connectionDestroyed",[new a.ConnectionEvent(!1,t,"connectionDestroyed",n,e.reason)])}).catch(function(e){console.error(e)})},e.prototype.onParticipantPublished=function(e){var t,n=this,r=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),r(t)}).catch(function(o){t=new i.Connection(n,e),r(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 i=new d.StreamEvent(!0,t,"streamDestroyed",n.stream,e.reason);t.ee.emitEvent("streamDestroyed",[i]),i.callDefaultBehavior();var r=n.stream.streamId;delete t.remoteStreamsCreated[r],0===Object.keys(t.remoteStreamsCreated).length&&(t.isFirstIonicIosSubscriber=!0,t.countDownForIonicIosSubscribers=!0),n.removeStream(r)}).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 i=n.stream,o=void 0;switch(e.property){case"audioActive":o=i.audioActive,e.newValue="true"===e.newValue,i.audioActive=e.newValue;break;case"videoActive":o=i.videoActive,e.newValue="true"===e.newValue,i.videoActive=e.newValue;break;case"videoDimensions":o=i.videoDimensions,e.newValue=JSON.parse(JSON.parse(e.newValue)),i.videoDimensions=e.newValue;break;case"filter":o=i.filter,e.newValue=Object.keys(e.newValue).length>0?e.newValue:void 0,void 0!==e.newValue?(i.filter=new r.Filter(e.newValue.type,e.newValue.options),i.filter.stream=i,e.newValue.lastExecMethod&&(i.filter.lastExecMethod=e.newValue.lastExecMethod)):delete i.filter,e.newValue=i.filter}t.ee.emitEvent("streamPropertyChanged",[new h.StreamPropertyChangedEvent(t,i,e.property,e.newValue,o,e.reason)]),i.streamManager&&i.streamManager.emitEvent("streamPropertyChanged",[new h.StreamPropertyChangedEvent(i.streamManager,i,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 i=n.stream;i.getWebRtcPeer().addIceCandidate(t).catch(function(t){console.error("Error adding candidate for "+i.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 s.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 i=new u.SessionDisconnectedEvent(this,t);this.ee.emitEvent("sessionDisconnected",[i]),i.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,r){t.openvidu.startWs(function(o){if(o)r(o);else{var s={token:e||"",session:t.sessionId,platform:g.description,metadata:t.options.metadata?t.options.metadata:"",secret:t.openvidu.getSecret(),recorder:t.openvidu.getRecorder()};t.openvidu.sendRequest("joinRoom",s,function(e,o){if(e)r(e);else{t.capabilities={subscribe:!0,publish:"SUBSCRIBER"!==t.openvidu.role,forceUnpublish:"MODERATOR"===t.openvidu.role,forceDisconnect:"MODERATOR"===t.openvidu.role},t.connection=new i.Connection(t),t.connection.connectionId=o.id,t.connection.creationTime=o.createdAt,t.connection.data=o.metadata,t.connection.rpcSessionId=o.sessionId;var s={connections:new Array,streams:new Array};o.value.forEach(function(e){var n=new i.Connection(t,e);t.remoteConnections[n.connectionId]=n,s.connections.push(n),n.stream&&(t.remoteStreamsCreated[n.stream.streamId]=!0,s.streams.push(n.stream))}),t.ee.emitEvent("connectionCreated",[new a.ConnectionEvent(!1,t,"connectionCreated",t.connection,"")]),s.connections.forEach(function(e){t.ee.emitEvent("connectionCreated",[new a.ConnectionEvent(!1,t,"connectionCreated",e,"")])}),s.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(i,r){var o=n.remoteConnections[e];o?i(o):n.connection.connectionId===e?i(n.connection):r(new p.OpenViduError(p.OpenViduErrorName.GENERIC_ERROR,t))})},e.prototype.getRemoteConnection=function(e,t){var n=this;return new Promise(function(i,r){var o=n.remoteConnections[e];o?i(o):r(new p.OpenViduError(p.OpenViduErrorName.GENERIC_ERROR,t))})},e.prototype.processToken=function(e){var t=new URL(e);this.sessionId=t.searchParams.get("sessionId");var n=t.searchParams.get("secret"),i=t.searchParams.get("recorder"),r=t.searchParams.get("turnUsername"),o=t.searchParams.get("turnCredential"),a=t.searchParams.get("role"),s=t.searchParams.get("webrtcStatsInterval");if(n&&(this.openvidu.secret=n),i&&(this.openvidu.recorder=!0),r&&o){var l="turn:"+t.hostname+":3478";this.openvidu.iceServers=[{urls:["stun:"+t.hostname+":3478"]},{urls:[l,l+"?transport=tcp"],username:r,credential:o}],console.log("TURN temp credentials ["+r+":"+o+"]")}a&&(this.openvidu.role=a),s&&(this.openvidu.webrtcStatsInterval=+s),this.openvidu.wsUri="wss://"+t.host+"/openvidu",this.openvidu.httpUri="https://"+t.host},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]:{},i=Object.create(e.prototype);for(var r in n)i[r]=n[r];return i.constructor=t,t.prototype=i,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 i=n("JUw6"),r=s(n("MW5i")),o=s(n("t/6/")),a=s(n("QSjB"));function s(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 a.run(o.run(e))};t.find=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=l(e),i=[],r=0;r<n.length;r++){var o=n[r];!o.isLink||t&&o.type!==t||i.push(o.toObject())}return i},t.inherits=i.inherits,t.options=r,t.parser=a,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 i="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},r={defaultProtocol:"http",events:null,format:a,formatHref:a,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:r.defaultProtocol,this.events=e.hasOwnProperty("events")?e.events:r.events,this.format=e.hasOwnProperty("format")?e.format:r.format,this.formatHref=e.hasOwnProperty("formatHref")?e.formatHref:r.formatHref,this.nl2br=e.hasOwnProperty("nl2br")?e.nl2br:r.nl2br,this.tagName=e.hasOwnProperty("tagName")?e.tagName:r.tagName,this.target=e.hasOwnProperty("target")?e.target:r.target,this.validate=e.hasOwnProperty("validate")?e.validate:r.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||r.attributes,this.className=e.hasOwnProperty("className")?e.className:e.linkClass||r.className;for(var t=e.hasOwnProperty("ignoreTags")?e.ignoreTags:r.ignoreTags,n=0;n<t.length;n++)this.ignoreTags.push(t[n].toUpperCase())}function a(e){return e}t.defaults=r,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,a=this[e];if(!a)return a;switch(void 0===a?"undefined":i(a)){case"function":return a(t,n.type);case"object":return"function"==typeof(o=a.hasOwnProperty(n.type)?a[n.type]:r[e])?o(t,n.type):o}return a},getObject:function(e,t,n){var i=this[e];return"function"==typeof i?i(t,n.type):i}}},P3vI:function(e,t,n){"use strict";t.__esModule=!0;var i=n("HxXY"),r=n("oIG1"),o=n("/dLB"),a=n("6+/i"),s=n("bDgZ");s.isIonicIos=("iPhone"===s.product||"iPad"===s.product)&&-1===s.ua.indexOf("Safari"),t.StreamManager=function(){function e(e,t){var n=this;if(this.videos=[],this.lazyLaunchVideoElementCreatedEvent=!1,this.ee=new a,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:""},"Safari"===s.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 r.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 r.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 r.VideoElementEvent(n.videos[0].video,n,"videoPlaying")])),n.ee.emitEvent("streamPlaying",[new i.StreamManagerEvent(n,"streamPlaying",void 0)])}}return e.prototype.on=function(e,t){var n=this;return this.ee.on(e,function(i){i?console.info("Event '"+e+"' triggered by '"+(n.remote?"Subscriber":"Publisher")+"'",i):console.info("Event '"+e+"' triggered by '"+(n.remote?"Subscriber":"Publisher")+"'"),t(i)}),"videoElementCreated"===e&&this.stream&&this.lazyLaunchVideoElementCreatedEvent&&(this.ee.emitEvent("videoElementCreated",[new r.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 i.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new r.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 r.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 i.StreamManagerEvent(this,"streamPlaying",void 0)]),this.ee.emitEvent("videoPlaying",[new r.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());for(var t=0,n=this.videos;t<n.length;t++)if(n[t].video===e)return 0;for(var i=1,r=0,o=this.stream.session.streamManagers;r<o.length;r++)if(o[r].disassociateVideo(e)){i=-1;break}return this.stream.session.streamManagers.forEach(function(t){t.disassociateVideo(e)}),this.pushNewStreamManagerVideo({video:e,id:e.id}),console.info("New video element associated to ",this),i},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 i=document.createElement("video");this.initializeVideoProperties(i);var a=t||o.VideoInsertMode.APPEND;switch(a){case o.VideoInsertMode.AFTER:n.parentNode.insertBefore(i,n.nextSibling);break;case o.VideoInsertMode.APPEND:n.appendChild(i);break;case o.VideoInsertMode.BEFORE:n.parentNode.insertBefore(i,n);break;case o.VideoInsertMode.PREPEND:n.insertBefore(i,n.childNodes[0]);break;case o.VideoInsertMode.REPLACE:n.parentNode.replaceChild(i,n);break;default:a=o.VideoInsertMode.APPEND,n.appendChild(i)}var s={targetElement:n,video:i,insertMode:a,id:i.id};return this.pushNewStreamManagerVideo(s),this.ee.emitEvent("videoElementCreated",[new r.VideoElementEvent(s.video,this,"videoElementCreated")]),this.lazyLaunchVideoElementCreatedEvent=!!this.firstVideoElement,i},e.prototype.initializeVideoProperties=function(e){this.stream.isLocal()&&this.stream.displayMyRemote()||(e.srcObject=this.stream.getMediaStream()),e.autoplay=!0,e.controls=!1,"Safari"===s.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.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.targetElement&&(t.video.parentNode.removeChild(t.video),e.ee.emitEvent("videoElementDestroyed",[new r.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.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&&null===this.videos[0].video.oncanplay&&this.videos[0].video.addEventListener("canplay",this.canPlayListener)},e.prototype.updateMediaStream=function(e){this.videos.forEach(function(t){if(t.video.srcObject=e,s.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){s.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 i=n("S+k6").__extends;t.__esModule=!0;var r=n("JTMn"),o=n("DPKQ"),a=n("P3vI"),s=n("Te8r"),l=n("BwMD"),u=n("oIG1"),c=n("Tt94"),d=n("bDgZ");d.isIonicIos=("iPhone"===d.product||"iPad"===d.product)&&-1===d.ua.indexOf("Safari"),t.Publisher=function(e){function t(t,n,i){var a=e.call(this,new o.Stream(i.session?i.session:new r.Session(i),{publisherProperties:n,mediaConstraints:{}}),t)||this;return a.accessAllowed=!1,a.isSubscribedToRemote=!1,a.accessDenied=!1,a.properties=n,a.openvidu=i,a.stream.ee.on("local-stream-destroyed",function(e){a.stream.isLocalStreamPublished=!1;var t=new s.StreamEvent(!0,a,"streamDestroyed",a.stream,e);a.emitEvent("streamDestroyed",[t]),t.callDefaultBehavior()}),a}return i(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,i){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,i){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 i=this;return e.prototype.on.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new s.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.on("stream-created-by-publisher",function(){i.emitEvent("streamCreated",[new s.StreamEvent(!1,i,"streamCreated",i.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 i=this;return e.prototype.once.call(this,t,n),"streamCreated"===t&&(this.stream&&this.stream.isLocalStreamPublished?this.emitEvent("streamCreated",[new s.StreamEvent(!1,this,"streamCreated",this.stream,"")]):this.stream.ee.once("stream-created-by-publisher",function(){i.emitEvent("streamCreated",[new s.StreamEvent(!1,i,"streamCreated",i.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 i,r={},o={},a=function(t){e.accessDenied=!0,e.accessAllowed=!1,n(t)},s=function(n){if(e.accessAllowed=!0,e.accessDenied=!1,e.properties.audioSource instanceof MediaStreamTrack&&(n.removeTrack(n.getAudioTracks()[0]),n.addTrack(e.properties.audioSource)),e.properties.videoSource instanceof MediaStreamTrack&&(n.removeTrack(n.getVideoTracks()[0]),n.addTrack(e.properties.videoSource)),n.getAudioTracks()[0]){var i=null!=e.stream.audioActive?e.stream.audioActive:!!e.stream.outboundStreamOpts.publisherProperties.publishAudio;n.getAudioTracks()[0].enabled=i}if(n.getVideoTracks()[0]&&(i=null!=e.stream.videoActive?e.stream.videoActive:!!e.stream.outboundStreamOpts.publisherProperties.publishVideo,n.getVideoTracks()[0].enabled=i),e.videoReference=document.createElement("video"),"Safari"===d.name&&e.videoReference.setAttribute("playsinline","true"),e.videoReference.srcObject=n,e.stream.setMediaStream(n),e.stream.displayMyRemote()||e.stream.updateMediaStreamInVideos(),e.firstVideoElement&&e.createVideoElement(e.firstVideoElement.targetElement,e.properties.insertMode),delete e.firstVideoElement,e.stream.isSendVideo())if(e.stream.isSendScreen())e.videoReference.onloadedmetadata=function(){e.stream.videoDimensions={width:e.videoReference.videoWidth,height:e.videoReference.videoHeight},e.screenShareResizeInterval=setInterval(function(){var t=n.getVideoTracks()[0].getSettings(),i="Chrome"===d.name||"Opera"===d.name?e.videoReference.videoWidth:t.width,r="Chrome"===d.name||"Opera"===d.name?e.videoReference.videoHeight:t.height;if(e.stream.isLocalStreamPublished&&(i!==e.stream.videoDimensions.width||r!==e.stream.videoDimensions.height)){var o={width:e.stream.videoDimensions.width,height:e.stream.videoDimensions.height};e.stream.videoDimensions={width:i||0,height:r||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 r,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.onloadedmetadata=function(){0===e.videoReference.videoWidth?r=setInterval(function(){0!==e.videoReference.videoWidth&&(o(),clearInterval(r))},10):o()}}else{var a=n.getVideoTracks()[0].getSettings(),s=a.width,u=a.height;e.stream.videoDimensions=("iOS"===d.os.family||"Android"===d.os.family)&&window.innerHeight>window.innerWidth?{width:u||0,height:s||0}:{width:s||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(i,1250),e.stream.isSendScreen()&&e.stream.isSendAudio()?(o.audio=n,o.video=!1,i=Date.now(),e.setPermissionDialogTimer(1250),navigator.mediaDevices.getUserMedia(o).then(function(n){e.clearPermissionDialogTimer(i,1250),t.addTrack(n.getAudioTracks()[0]),s(t)}).catch(function(t){var n,o;switch(e.clearPermissionDialogTimer(i,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(),a(new c.OpenViduError(n,o));break;case"notallowederror":n=c.OpenViduErrorName.DEVICE_ACCESS_DENIED,o=t.toString(),a(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 '"+r.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+"'"),a(new c.OpenViduError(n,o))}})):s(t)};if(e.properties.videoSource instanceof MediaStreamTrack&&!e.properties.audioSource||e.properties.audioSource instanceof MediaStreamTrack&&!e.properties.videoSource||e.properties.videoSource instanceof MediaStreamTrack&&e.properties.audioSource instanceof MediaStreamTrack){var h=new MediaStream;return e.properties.videoSource instanceof MediaStreamTrack&&h.addTrack(e.properties.videoSource),e.properties.audioSource instanceof MediaStreamTrack&&h.addTrack(e.properties.audioSource),void s(h)}e.openvidu.generateMediaConstraints(e.properties).then(function(t){if(e.stream.setOutboundStreamOptions({mediaConstraints:r=t,publisherProperties:e.properties}),e.stream.isSendVideo()||e.stream.isSendAudio()){var s=void 0===r.audio||r.audio;o.audio=!e.stream.isSendScreen()&&s,o.video=r.video,i=Date.now(),e.setPermissionDialogTimer(1250),e.stream.isSendScreen()&&navigator.mediaDevices.getDisplayMedia?navigator.mediaDevices.getDisplayMedia({video:!0}).then(function(e){u(e,s)}):navigator.mediaDevices.getUserMedia(o).then(function(e){u(e,s)}).catch(function(t){var n,o;switch(e.clearPermissionDialogTimer(i,1250),"Error"===t.name&&(t.name=t.constructor.name),t.name.toLowerCase()){case"notfounderror":navigator.mediaDevices.getUserMedia({audio:!1,video:r.video}).then(function(e){e.getVideoTracks().forEach(function(e){e.stop()}),n=c.OpenViduErrorName.INPUT_AUDIO_DEVICE_NOT_FOUND,o=t.toString(),a(new c.OpenViduError(n,o))}).catch(function(e){n=c.OpenViduErrorName.INPUT_VIDEO_DEVICE_NOT_FOUND,o=t.toString(),a(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(),a(new c.OpenViduError(n,o));break;case"overconstrainederror":navigator.mediaDevices.getUserMedia({audio:!1,video:r.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 '"+r.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+"'"),a(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 '"+r.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+"'"),a(new c.OpenViduError(n,o))});break;case"aborterror":case"notreadableerror":n=c.OpenViduErrorName.DEVICE_ALREADY_IN_USE,o=t.toString(),a(new c.OpenViduError(n,o));break;default:n=c.OpenViduErrorName.GENERIC_ERROR,o=t.toString(),a(new c.OpenViduError(n,o))}})}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){a(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}(a.StreamManager)},PPcv:function(e,t,n){"use strict";t.__esModule=!0;var i=n("tInm"),r=n("PEz1"),o=n("JTMn"),a=n("BwMD"),s=n("Tt94"),l=n("/dLB"),u=n("+27z"),c=n("EcWD"),d=n("AeG9"),h=n("bDgZ");h.isIonicIos=("iPhone"===h.product||"iPad"===h.product)&&-1===h.ua.indexOf("Safari"),t.OpenVidu=function(){function e(){var e=this;this.publishers=[],this.secret="",this.recorder=!1,this.advancedConfiguration={},this.webrtcStatsInterval=0,console.info("'OpenVidu' initialized"),"iOS"!==h.os.family&&"Android"!==h.os.family||window.addEventListener("orientationchange",function(){e.publishers.forEach(function(t){if(t.stream&&t.stream.hasVideo&&t.stream.streamManager.videos[0])var n=0,i=t.stream.videoDimensions.width,r=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 i=t.stream.getMediaStream().getVideoTracks()[0].getSettings();e({newWidth:-1!==h.name.toLowerCase().indexOf("firefox")?i.width:t.videoReference.videoWidth,newHeight:-1!==h.name.toLowerCase().indexOf("firefox")?i.height:t.videoReference.videoHeight})}}).then(function(e){s(i,r,e.newWidth,e.newHeight)})},75),s=function(i,r,s,l){++n>10&&clearTimeout(o),s===i&&l===r||(t.stream.videoDimensions={width:s||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 a.StreamPropertyChangedEvent(e.session,t.stream,"videoDimensions",t.stream.videoDimensions,{width:i,height:r},"deviceRotated")]),t.emitEvent("streamPropertyChanged",[new a.StreamPropertyChangedEvent(t,t.stream,"videoDimensions",t.stream.videoDimensions,{width:i,height:r},"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 i;i=t&&"function"!=typeof t?{audioSource:void 0!==(i=t).audioSource?i.audioSource:void 0,frameRate:i.videoSource instanceof MediaStreamTrack?void 0:void 0!==i.frameRate?i.frameRate:void 0,insertMode:void 0!==i.insertMode?"string"==typeof i.insertMode?l.VideoInsertMode[i.insertMode]:i.insertMode:l.VideoInsertMode.APPEND,mirror:void 0===i.mirror||i.mirror,publishAudio:void 0===i.publishAudio||i.publishAudio,publishVideo:void 0===i.publishVideo||i.publishVideo,resolution:i.videoSource instanceof MediaStreamTrack?void 0:void 0!==i.resolution?i.resolution:"640x480",videoSource:void 0!==i.videoSource?i.videoSource:void 0,filter:i.filter}:{insertMode:l.VideoInsertMode.APPEND,mirror:!0,publishAudio:!0,publishVideo:!0,resolution:"640x480"};var o,a=new r.Publisher(e,i,this);return t&&"function"==typeof t?o=t:n&&(o=n),a.initialize().then(function(){void 0!==o&&o(void 0),a.emitEvent("accessAllowed",[])}).catch(function(e){void 0!==o&&o(e),a.emitEvent("accessDenied",[e])}),this.publishers.push(a),a},e.prototype.initPublisherAsync=function(e,t){var n=this;return new Promise(function(i,r){var o,a=function(e){e?r(e):i(o)};o=t?n.initPublisher(e,t,a):n.initPublisher(e,a)})},e.prototype.initLocalRecorder=function(e){return new i.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?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?0:1},e.prototype.getDevices=function(){return new Promise(function(e,t){navigator.mediaDevices.enumerateDevices().then(function(t){var 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,i){t.generateMediaConstraints(e).then(function(t){navigator.mediaDevices.getUserMedia(t).then(function(e){n(e)}).catch(function(t){var n=t.toString();i(new s.OpenViduError("screen"!==e.videoSource?s.OpenViduErrorName.DEVICE_ACCESS_DENIED:s.OpenViduErrorName.SCREEN_CAPTURE_DENIED,n))})}).catch(function(e){i(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,i){var r={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 r.audio&&(r.audio={deviceId:{exact:r.audio}}),r.video){if(e.resolution){var o=e.resolution.toLowerCase().split("x"),a=Number(o[0]),l=Number(o[1]);r.video.width.ideal=a,r.video.height.ideal=l}if(e.frameRate&&(r.video.frameRate={ideal:e.frameRate}),e.videoSource&&"string"==typeof e.videoSource)if("screen"===e.videoSource||-1!==h.name.indexOf("Firefox")&&"window"===e.videoSource)if("Chrome"!==h.name&&"Opera"!==h.name&&-1===h.name.indexOf("Firefox")){var d=new s.OpenViduError(s.OpenViduErrorName.SCREEN_SHARING_NOT_SUPPORTED,"You can only screen share in desktop Chrome, Firefox or Opera. Detected browser: "+h.name);console.error(d),i(d)}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 a=new s.OpenViduError(s.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");console.error(a),i(a)}else{var l=t.advancedConfiguration.screenShareChromeExtension.split("/").pop().trim();c.getChromeExtensionStatus(l,function(e){if("installed-disabled"===e){var n=new s.OpenViduError(s.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");console.error(n),i(n)}if("not-installed"===e){var r=new s.OpenViduError(s.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,t.advancedConfiguration.screenShareChromeExtension);console.error(r),i(r)}})}else r.video=o,n(r)});else if(navigator.mediaDevices.getDisplayMedia)n(r);else{var p=-1!==h.name.indexOf("Firefox")?e.videoSource:void 0;u.getScreenId(p,function(e,o,a){if(e){if("not-installed"===e){var l=new s.OpenViduError(s.OpenViduErrorName.SCREEN_EXTENSION_NOT_INSTALLED,t.advancedConfiguration.screenShareChromeExtension?t.advancedConfiguration.screenShareChromeExtension:"https://chrome.google.com/webstore/detail/openvidu-screensharing/lfcgfepafnobdloecchnfaclibenjold");console.error(l),i(l)}else if("installed-disabled"===e){var u=new s.OpenViduError(s.OpenViduErrorName.SCREEN_EXTENSION_DISABLED,"You must enable the screen extension");console.error(u),i(u)}else if("permission-denied"===e){var c=new s.OpenViduError(s.OpenViduErrorName.SCREEN_CAPTURE_DENIED,"You must allow access to one window of your desktop");console.error(c),i(c)}}else r.video=a.video,n(r)})}e.videoSource="screen"}else r.video.deviceId={exact:e.videoSource},n(r);else n(r)}else n(r)})},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 d.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 i=n("PPcv");t.OpenVidu=i.OpenVidu;var r=n("JTMn");t.Session=r.Session;var o=n("PEz1");t.Publisher=o.Publisher;var a=n("bk74");t.Subscriber=a.Subscriber;var s=n("P3vI");t.StreamManager=s.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 h=n("Yn0Z");t.LocalRecorderState=h.LocalRecorderState;var p=n("Tt94");t.OpenViduError=p.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 E=n("BwMD");t.StreamPropertyChangedEvent=E.StreamPropertyChangedEvent;var x=n("+ig+");t.FilterEvent=x.FilterEvent},QSjB:function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var i=n("FlKs"),r=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}(r),a=n("dlaP"),s=function(e){return new i.TokenState(e)},l=s(),u=s(),c=s(),d=s(),h=s(),p=s(),f=s(),m=s(r.URL),g=s(),v=s(r.URL),y=s(r.URL),b=s(),_=s(),w=s(),S=s(),C=s(),E=s(r.URL),x=s(r.URL),O=s(r.URL),k=s(r.URL),T=s(),I=s(),P=s(),A=s(),M=s(),R=s(),N=s(r.EMAIL),D=s(),L=s(r.EMAIL),j=s(r.MAILTOEMAIL),V=s(),F=s(),U=s(),B=s(),z=s(r.NL);l.on(a.NL,z).on(a.PROTOCOL,u).on(a.MAILTO,c).on(a.SLASH,d),u.on(a.SLASH,d),d.on(a.SLASH,h),l.on(a.TLD,p).on(a.DOMAIN,p).on(a.LOCALHOST,m).on(a.NUM,p),h.on(a.TLD,y).on(a.DOMAIN,y).on(a.NUM,y).on(a.LOCALHOST,y),p.on(a.DOT,f),M.on(a.DOT,R),f.on(a.TLD,m).on(a.DOMAIN,p).on(a.NUM,p).on(a.LOCALHOST,p),R.on(a.TLD,N).on(a.DOMAIN,M).on(a.NUM,M).on(a.LOCALHOST,M),m.on(a.DOT,f),N.on(a.DOT,R),m.on(a.COLON,g).on(a.SLASH,y),g.on(a.NUM,v),v.on(a.SLASH,y),N.on(a.COLON,D),D.on(a.NUM,L);var H=[a.DOMAIN,a.AT,a.LOCALHOST,a.NUM,a.PLUS,a.POUND,a.PROTOCOL,a.SLASH,a.TLD,a.UNDERSCORE,a.SYM,a.AMPERSAND],W=[a.COLON,a.DOT,a.QUERY,a.PUNCTUATION,a.CLOSEBRACE,a.CLOSEBRACKET,a.CLOSEANGLEBRACKET,a.CLOSEPAREN,a.OPENBRACE,a.OPENBRACKET,a.OPENANGLEBRACKET,a.OPENPAREN];y.on(a.OPENBRACE,_).on(a.OPENBRACKET,w).on(a.OPENANGLEBRACKET,S).on(a.OPENPAREN,C),b.on(a.OPENBRACE,_).on(a.OPENBRACKET,w).on(a.OPENANGLEBRACKET,S).on(a.OPENPAREN,C),_.on(a.CLOSEBRACE,y),w.on(a.CLOSEBRACKET,y),S.on(a.CLOSEANGLEBRACKET,y),C.on(a.CLOSEPAREN,y),E.on(a.CLOSEBRACE,y),x.on(a.CLOSEBRACKET,y),O.on(a.CLOSEANGLEBRACKET,y),k.on(a.CLOSEPAREN,y),T.on(a.CLOSEBRACE,y),I.on(a.CLOSEBRACKET,y),P.on(a.CLOSEANGLEBRACKET,y),A.on(a.CLOSEPAREN,y),_.on(H,E),w.on(H,x),S.on(H,O),C.on(H,k),_.on(W,T),w.on(W,I),S.on(W,P),C.on(W,A),E.on(H,E),x.on(H,x),O.on(H,O),k.on(H,k),E.on(W,E),x.on(W,x),O.on(W,O),k.on(W,k),T.on(H,E),I.on(H,x),P.on(H,O),A.on(H,k),T.on(W,T),I.on(W,I),P.on(W,P),A.on(W,A),y.on(H,y),b.on(H,y),y.on(W,b),b.on(W,b),c.on(a.TLD,j).on(a.DOMAIN,j).on(a.NUM,j).on(a.LOCALHOST,j),j.on(H,j).on(W,V),V.on(H,j).on(W,V);var G=[a.DOMAIN,a.NUM,a.PLUS,a.POUND,a.QUERY,a.UNDERSCORE,a.SYM,a.AMPERSAND,a.TLD];p.on(G,F).on(a.AT,U),m.on(G,F).on(a.AT,U),f.on(G,F),F.on(G,F).on(a.AT,U).on(a.DOT,B),B.on(G,F),U.on(a.TLD,M).on(a.DOMAIN,M).on(a.LOCALHOST,N),t.State=i.TokenState,t.TOKENS=o,t.run=function(e){for(var t=e.length,n=0,i=[],o=[];n<t;){for(var a=l,s=null,u=null,c=0,d=null,h=-1;n<t&&!(s=a.next(e[n]));)o.push(e[n++]);for(;n<t&&(u=s||a.next(e[n]));)s=null,(a=u).accepts()?(h=0,d=a):h>=0&&h++,n++,c++;if(h<0)for(var p=n-c;p<n;p++)o.push(e[p]);else{o.length>0&&(i.push(new r.TEXT(o)),o=[]),n-=h,c-=h;var f=d.emit();i.push(new f(e.slice(n-c,n)))}}return o.length>0&&i.push(new r.TEXT(o)),i},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 r}),n.d(t,"__assign",function(){return o}),n.d(t,"__rest",function(){return a}),n.d(t,"__decorate",function(){return s}),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 h}),n.d(t,"__values",function(){return p}),n.d(t,"__read",function(){return f}),n.d(t,"__spread",function(){return m}),n.d(t,"__await",function(){return g}),n.d(t,"__asyncGenerator",function(){return v}),n.d(t,"__asyncDelegator",function(){return y}),n.d(t,"__asyncValues",function(){return b}),n.d(t,"__makeTemplateObject",function(){return _}),n.d(t,"__importStar",function(){return w}),n.d(t,"__importDefault",function(){return S});var i=function(e,t){return(i=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 r(e,t){function n(){this.constructor=e}i(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,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&(n[i[r]]=e[i[r]])}return n}function s(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,i){t(n,i,e)}}function u(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,i){return new(n||(n=Promise))(function(r,o){function a(e){try{l(i.next(e))}catch(t){o(t)}}function s(e){try{l(i.throw(e))}catch(t){o(t)}}function l(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(a,s)}l((i=i.apply(e,t||[])).next())})}function d(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function h(e,t){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}function p(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 i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function g(e){return this instanceof g?(this.v=e,this):new g(e)}function v(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){r[e]&&(i[e]=function(t){return new Promise(function(n,i){o.push([e,t,n,i])>1||s(e,t)})})}function s(e,t){try{(n=r[e](t)).value instanceof g?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(i){c(o[0][3],i)}var n}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function y(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:g(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function b(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=p(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function _(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function w(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 S(e){return e&&e.__esModule?e:{default:e}}},SYuc:function(e,t,n){var i=n("EDod");t.JsonRpcClient=i},TDwH:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,n=e.parser.start;function i(e){this.v=e}e.inherits(e.parser.TOKENS.Base,i,{type:"hashtag",isLink:!0});var r=n.jump(t.POUND),o=new e.parser.State(i);r.on(t.DOMAIN,o),r.on(t.TLD,o),r.on(t.LOCALHOST,o)}},Te8r:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ"),o=n("PEz1"),a=n("JTMn");t.StreamEvent=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n,i)||this;return a.stream=r,a.reason=o,a}return i(t,e),t.prototype.callDefaultBehavior=function(){if("streamDestroyed"===this.type){if(this.target instanceof a.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 i=n.options.streams;for(t=i.length-1;t>=0;--t)i[t].id===this.stream.streamId&&i.splice(t,1)}}},t}(r.Event)},Tt94:function(e,t,n){"use strict";t.__esModule=!0,function(e){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"}(t.OpenViduErrorName||(t.OpenViduErrorName={})),t.OpenViduError=function(){return function(e,t){this.name=e,this.message=t}}()},VZ2u:function(e,t,n){var i=n("jrAl"),r=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 a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||r(a)}},"Wfi+":function(e,t,n){var i=n("k3G7"),r=n("VZ2u"),o=r;o.v1=i,o.v4=r,e.exports=o},Yn0Z:function(e,t,n){"use strict";t.__esModule=!0,function(e){e.READY="READY",e.RECORDING="RECORDING",e.PAUSED="PAUSED",e.FINISHED="FINISHED"}(t.LocalRecorderState||(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 i;(function(){"use strict";var r={function:!0,object:!0},o=r[typeof window]&&window||this,a=r[typeof t]&&t&&r[typeof e]&&e&&!e.nodeType&&e&&"object"==typeof global&&global;!a||a.global!==a&&a.window!==a&&a.self!==a||(o=a);var s=Math.pow(2,53)-1,l=/\bOpera/,u=Object.prototype,c=u.hasOwnProperty,d=u.toString;function h(e){return(e=String(e)).charAt(0).toUpperCase()+e.slice(1)}function p(e){return e=y(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:h(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?h(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,i=e?e.length:0;if("number"==typeof i&&i>-1&&i<=s)for(;++n<i;)t(e[n],n);else f(e,t)}(e,function(i,r){n=t(n,i,r,e)}),n}function y(e){return String(e).replace(/^ +| +$/g,"")}var b=function e(t){var n=o,i=t&&"object"==typeof t&&"String"!=m(t);i&&(n=t,t=null);var r=n.navigator||{},a=r.userAgent||"";t||(t=a);var s,u,c,h,b=i?!!r.likeChrome:/\bChrome\b/.test(t)&&!/internal|\n/i.test(d.toString()),_=i?"Object":"ScriptBridgingProxyObject",w=i?"Object":"Environment",S=i&&n.java?"JavaPackage":m(n.java),C=i?"Object":"RuntimeObject",E=/\bJava/.test(S)&&n.java,x=E&&m(n.environment)==w,O=E?"a":"\u03b1",k=E?"b":"\u03b2",T=n.document||{},I=n.operamini||n.opera,P=l.test(P=i&&I?I["[[Class]]"]:m(I))?P:I=null,A=t,M=[],R=null,N=t==a,D=N&&I&&"function"==typeof I.version&&I.version(),L=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)}),j=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)}),V=B([{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"]),F=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,i){return e||(n[V]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(V)]||RegExp("\\b"+g(i)+"(?:\\b|\\w*\\d)","i").exec(t))&&i}),U=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 i=n.pattern||g(n);return!e&&(e=RegExp("\\b"+i+"(?:/[\\d.]+|[ \\w.]*)","i").exec(t))&&(e=function(e,t,n){var i={"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)&&(i=i[/[\d.]+$/.exec(e)])&&(e="Windows "+i),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),p(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,i,n.label||n)),e});function B(e){return v(e,function(e,n){var i=n.pattern||g(n);return!e&&(e=RegExp("\\b"+i+" *\\d+[.\\w_]*","i").exec(t)||RegExp("\\b"+i+" *\\w+-[\\w]*","i").exec(t)||RegExp("\\b"+i+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(t))&&((e=String(n.label&&!RegExp(i,"i").test(n.label)?n.label:e).split("/"))[1]&&!/[\d.]+/.test(e[0])&&(e[0]+=" "+e[1]),n=n.label||n,e=p(e[0].replace(RegExp(i,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),e})}if(L&&(L=[L]),F&&!V&&(V=B([F])),(s=/\bGoogle TV\b/.exec(V))&&(V=s[0]),/\bSimulator\b/i.test(t)&&(V=(V?V+" ":"")+"Simulator"),"Opera Mini"==j&&/\bOPiOS\b/.test(t)&&M.push("running in Turbo/Uncompressed mode"),"IE"==j&&/\blike iPhone OS\b/.test(t)?(F=(s=e(t.replace(/like iPhone OS/,""))).manufacturer,V=s.product):/^iP/.test(V)?(j||(j="Safari"),U="iOS"+((s=/ OS ([\d_]+)/i.exec(t))?" "+s[1].replace(/_/g,"."):"")):"Konqueror"!=j||/buntu/i.test(U)?F&&"Google"!=F&&(/Chrome/.test(j)&&!/\bMobile Safari\b/i.test(t)||/\bVita\b/.test(V))||/\bAndroid\b/.test(U)&&/^Chrome/.test(j)&&/\bVersion\//i.test(t)?(j="Android Browser",U=/\bAndroid\b/.test(U)?U:"Android"):"Silk"==j?(/\bMobi/i.test(t)||(U="Android",M.unshift("desktop mode")),/Accelerated *= *true/i.test(t)&&M.unshift("accelerated")):"PaleMoon"==j&&(s=/\bFirefox\/([\d.]+)\b/.exec(t))?M.push("identifying as Firefox "+s[1]):"Firefox"==j&&(s=/\b(Mobile|Tablet|TV)\b/i.exec(t))?(U||(U="Firefox OS"),V||(V=s[1])):!j||(s=!/\bMinefield\b/i.test(t)&&/\b(?:Firefox|Safari)\b/.exec(j))?(j&&!V&&/[\/,]|^[^(]+?\)/.test(t.slice(t.indexOf(s+"/")+8))&&(j=null),(s=V||F||U)&&(V||F||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(U))&&(j=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(U)?U:s)+" Browser")):"Electron"==j&&(s=(/\bChrome\/([\d.]+)\b/.exec(t)||0)[1])&&M.push("Chromium "+s):U="Kubuntu",D||(D=v(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$))","Version",g(j),"(?:Firefox|Minefield|NetFront)"],function(e,n){return e||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(t)||0)[1]||null})),(s=("iCab"==L&&parseFloat(D)>3?"WebKit":/\bOpera\b/.test(j)&&(/\bOPR\b/.test(t)?"Blink":"Presto"))||/\b(?:Midori|Nook|Safari)\b/i.test(t)&&!/^(?:Trident|EdgeHTML)$/.test(L)&&"WebKit"||!L&&/\bMSIE\b/i.test(t)&&("Mac OS"==U?"Tasman":"Trident")||"WebKit"==L&&/\bPlayStation\b(?! Vita\b)/i.test(j)&&"NetFront")&&(L=[s]),"IE"==j&&(s=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(t)||0)[1])?(j+=" Mobile",U="Windows Phone "+(/\+$/.test(s)?s:s+".x"),M.unshift("desktop mode")):/\bWPDesktop\b/i.test(t)?(j="IE Mobile",U="Windows Phone 8.x",M.unshift("desktop mode"),D||(D=(/\brv:([\d.]+)/.exec(t)||0)[1])):"IE"!=j&&"Trident"==L&&(s=/\brv:([\d.]+)/.exec(t))&&(j&&M.push("identifying as "+j+(D?" "+D:"")),j="IE",D=s[1]),N){if(/^(?:boolean|number|string|undefined)$/.test(h=null!=(c=n)?typeof c.global:"number")||"object"==h&&!c.global)m(s=n.runtime)==_?(j="Adobe AIR",U=s.flash.system.Capabilities.os):m(s=n.phantom)==C?(j="PhantomJS",D=(s=s.version||null)&&s.major+"."+s.minor+"."+s.patch):"number"==typeof T.documentMode&&(s=/\bTrident\/(\d+)/i.exec(t))?((s=+s[1]+4)!=(D=[D,T.documentMode])[1]&&(M.push("IE "+D[1]+" mode"),L&&(L[1]=""),D[1]=s),D="IE"==j?String(D[1].toFixed(1)):D[0]):"number"==typeof T.documentMode&&/^(?:Chrome|Firefox)\b/.test(j)&&(M.push("masking as "+j+" "+D),j="IE",D="11.0",L=["Trident"],U="Windows");else if(E&&(A=(s=E.lang.System).getProperty("os.arch"),U=U||s.getProperty("os.name")+" "+s.getProperty("os.version")),x){try{D=n.require("ringo/engine").version.join("."),j="RingoJS"}catch(H){(s=n.system)&&s.global.system==n.system&&(j="Narwhal",U||(U=s[0].os||null))}j||(j="Rhino")}else"object"==typeof n.process&&!n.process.browser&&(s=n.process)&&("object"==typeof s.versions&&("string"==typeof s.versions.electron?(M.push("Node "+s.versions.node),j="Electron",D=s.versions.electron):"string"==typeof s.versions.nw&&(M.push("Chromium "+D,"Node "+s.versions.node),j="NW.js",D=s.versions.nw)),j||(j="Node.js",A=s.arch,U=s.platform,D=(D=/[\d.]+/.exec(s.version))?D[0]:null));U=U&&p(U)}if(D&&(s=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(D)||/(?:alpha|beta)(?: ?\d)?/i.exec(t+";"+(N&&r.appMinorVersion))||/\bMinefield\b/i.test(t)&&"a")&&(R=/b/i.test(s)?"beta":"alpha",D=D.replace(RegExp(s+"\\+?$"),"")+("beta"==R?k:O)+(/\d+\+?/.exec(s)||"")),"Fennec"==j||"Firefox"==j&&/\b(?:Android|Firefox OS)\b/.test(U))j="Firefox Mobile";else if("Maxthon"==j&&D)D=D.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(V))"Xbox 360"==V&&(U=null),"Xbox 360"==V&&/\bIEMobile\b/.test(t)&&M.unshift("mobile mode");else if(!/^(?:Chrome|IE|Opera)$/.test(j)&&(!j||V||/Browser|Mobi/.test(j))||"Windows CE"!=U&&!/Mobi/i.test(t))if("IE"==j&&N)try{null===n.external&&M.unshift("platform preview")}catch(H){M.unshift("embedded")}else(/\bBlackBerry\b/.test(V)||/\bBB10\b/.test(t))&&(s=(RegExp(V.replace(/ +/g," *")+"/([.\\d]+)","i").exec(t)||0)[1]||D)?(U=((s=[s,/BB10/.test(t)])[1]?(V=null,F="BlackBerry"):"Device Software")+" "+s[0],D=null):this!=f&&"Wii"!=V&&(N&&I||/Opera/.test(j)&&/\b(?:MSIE|Firefox)\b/i.test(t)||"Firefox"==j&&/\bOS X (?:\d+\.){2,}/.test(U)||"IE"==j&&(U&&!/^Win/.test(U)&&D>5.5||/\bWindows XP\b/.test(U)&&D>8||8==D&&!/\bTrident\b/.test(t)))&&!l.test(s=e.call(f,t.replace(l,"")+";"))&&s.name&&(s="ing as "+s.name+((s=s.version)?" "+s:""),l.test(j)?(/\bIE\b/.test(s)&&"Mac OS"==U&&(U=null),s="identify"+s):(s="mask"+s,j=P?p(P.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(s)&&(U=null),N||(D=null)),L=["Presto"],M.push(s));else j+=" Mobile";(s=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(t)||0)[1])&&(s=[parseFloat(s.replace(/\.(\d)$/,".0$1")),s],"Safari"==j&&"+"==s[1].slice(-1)?(j="WebKit Nightly",R="alpha",D=s[1].slice(0,-1)):D!=s[1]&&D!=(s[2]=(/\bSafari\/([\d.]+\+?)/i.exec(t)||0)[1])||(D=null),s[1]=(/\bChrome\/([\d.]+)/i.exec(t)||0)[1],537.36==s[0]&&537.36==s[2]&&parseFloat(s[1])>=28&&"WebKit"==L&&(L=["Blink"]),N&&(b||s[1])?(L&&(L[1]="like Chrome"),s=s[1]||((s=s[0])<530?1:s<532?2:s<532.05?3:s<533?4:s<534.03?5:s<534.07?6:s<534.1?7:s<534.13?8:s<534.16?9:s<534.24?10:s<534.3?11:s<535.01?12:s<535.02?"13+":s<535.07?15:s<535.11?16:s<535.19?17:s<536.05?18:s<536.1?19:s<537.01?20:s<537.11?"21+":s<537.13?23:s<537.18?24:s<537.24?25:s<537.36?26:"Blink"!=L?"27":"28")):(L&&(L[1]="like Safari"),s=(s=s[0])<400?1:s<500?2:s<526?3:s<533?4:s<534?"4+":s<535?5:s<537?6:s<538?7:s<601?8:"8"),L&&(L[1]+=" "+(s+="number"==typeof s?".x":/[.+]/.test(s)?"":"+")),"Safari"==j&&(!D||parseInt(D)>45)&&(D=s)),"Opera"==j&&(s=/\bzbov|zvav$/.exec(U))?(j+=" ",M.unshift("desktop mode"),"zvav"==s?(j+="Mini",D=null):j+="Mobile",U=U.replace(RegExp(" *"+s+"$"),"")):"Safari"==j&&/\bChrome\b/.exec(L&&L[1])&&(M.unshift("desktop mode"),j="Chrome Mobile",D=null,/\bOS X\b/.test(U)?(F="Apple",U="iOS 4.3+"):U=null),D&&0==D.indexOf(s=/[\d.]+$/.exec(U))&&t.indexOf("/"+s+"-")>-1&&(U=y(U.replace(s,""))),L&&!/\b(?:Avant|Nook)\b/.test(j)&&(/Browser|Lunascape|Maxthon/.test(j)||"Safari"!=j&&/^iOS/.test(U)&&/\bSafari\b/.test(L[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|Web)/.test(j)&&L[1])&&(s=L[L.length-1])&&M.push(s),M.length&&(M=["("+M.join("; ")+")"]),F&&V&&V.indexOf(F)<0&&M.push("on "+F),V&&M.push((/^on /.test(M[M.length-1])?"":"on ")+V),U&&(s=/ ([\d.+]+)$/.exec(U),u=s&&"/"==U.charAt(U.length-s[0].length-1),U={architecture:32,family:s&&!u?U.replace(s[0],""):U,version:s?s[1]:null,toString:function(){var e=this.version;return this.family+(e&&!u?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(s=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(A))&&!/\bi686\b/i.test(A)?(U&&(U.architecture=64,U.family=U.family.replace(RegExp(" *"+s),"")),j&&(/\bWOW64\b/i.test(t)||N&&/\w(?:86|32)$/.test(r.cpuClass||r.platform)&&!/\bWin64; x64\b/i.test(t))&&M.unshift("32-bit")):U&&/^OS X/.test(U.family)&&"Chrome"==j&&parseFloat(D)>=39&&(U.architecture=64),t||(t=null);var z={};return z.description=t,z.layout=L&&L[0],z.manufacturer=F,z.name=j,z.prerelease=R,z.product=V,z.ua=t,z.version=j&&D,z.os=U||{architecture:null,family:null,version:null,toString:function(){return"null"}},z.parse=e,z.toString=function(){return this.description||""},z.version&&M.unshift(D),z.name&&M.unshift(j),U&&j&&(U!=String(U).split(" ")[0]||U!=j.split(" ")[0]&&!V)&&M.push(V?"("+U+")":"on "+U),M.length&&(z.description=M.join(" ")),z}();o.platform=b,void 0===(i=(function(){return b}).call(t,n,t,e))||(e.exports=i)}).call(this)}).call(this,n("YuTi")(e))},bGVd:function(e,t,n){e.exports=n("IXxz").default},bk74:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("P3vI");t.Subscriber=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.element=r.targetElement,r.stream=t,r.properties=i,r}return i(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}(r.StreamManager)},cUzU:function(e,t,n){"use strict";global.WebSocket||global;var i=console,r=3e3;e.exports=function(e){var t,n,o=!1,a=e.uri,s=e.useSockJS,l=!1,u=!1;function c(e,t){try{i.debug("WebSocket connected to "+t)}catch(n){i.error(n)}}(n=s?new SockJS(a):new WebSocket(a)).onopen=function(){c(0,a),e.onconnected&&e.onconnected()},n.onerror=function(t){i.error("Could not connect to "+a+" (invoking onerror if defined)",t),e.onerror&&e.onerror(t)};var d=function(){3===n.readyState?o?i.debug("Connection closed by user"):(i.debug("Connection closed unexpectecly. Reconnecting..."),h(2e3,1)):i.debug("Close callback from previous websocket. Ignoring it")};function h(t,n){if(i.debug("reconnectToSameUri (attempt #"+n+", max="+t+")"),1===n){if(l)return void i.warn("Trying to reconnectToNewUri when reconnecting... Ignoring this reconnection.");l=!0,e.onreconnecting&&e.onreconnecting()}u?p(t,n,a):e.newWsUriOnReconnection?e.newWsUriOnReconnection(function(e,o){e?(i.debug(e),setTimeout(function(){h(t,n+1)},r)):p(t,n,o)}):p(t,n,a)}function p(o,u,p){var f;i.debug("Reconnection attempt #"+u),n.close(),a=p||a,(f=s?new SockJS(a):new WebSocket(a)).onopen=function(){i.debug("Reconnected after "+u+" attempts..."),c(0,a),l=!1,t(),e.onreconnected()&&e.onreconnected(),f.onclose=d},f.onerror=function(t){i.warn("Reconnection error: ",t),u===o?e.ondisconnect&&e.ondisconnect():setTimeout(function(){h(o,u+1)},r)},n=f}n.onclose=d,this.close=function(){o=!0,n.close()},this.forceClose=function(e){if(i.debug("Testing: Force WebSocket close"),e){i.debug("Testing: Change wsUri for "+e+" millis to simulate net failure");var t=a;a="wss://21.234.12.34.4:443/",u=!0,setTimeout(function(){i.debug("Testing: Recover good wsUri "+t),a=t,u=!1},e)}n.close()},this.reconnectWs=function(){i.debug("reconnectWs"),h(2e3,1)},this.send=function(e){n.send(e)},this.addEventListener=function(e,i){(t=function(){n.addEventListener(e,i)})()}}},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,i,r=(e||{}).url||e,o={};return"string"==typeof r||r instanceof String?(r=r.trim(),(t=n[n.indexOf(r.slice(0,5))])?(i=(r=r.slice(5)).split("@"),o.username=e.username,o.credential=e.credential,i.length>1&&(r=i[1],i=i[0].split(":"),o.username=i[0],o.credential=(e||{}).credential||i[1]||""),o.url=t+r,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 i=void 0!==t.result,r=void 0!==t.error;if(i&&r)throw new TypeError("Both result and error are defined: "+e);if(!i&&!r)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 i=n("RvMX"),r=n("JUw6"),o=(0,i.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,r.inherits)(o,(0,i.createTokenClass)(),t)}o.prototype={toString:function(){return this.v+""}};var s=a(),l=a("@"),u=a(":"),c=a("."),d=a(),h=a(),p=a("\n"),f=a(),m=a("+"),g=a("#"),v=a(),y=a("mailto:"),b=a("?"),_=a("/"),w=a("_"),S=a(),C=a(),E=a(),x=a("{"),O=a("["),k=a("<"),T=a("("),I=a("}"),P=a("]"),A=a(">"),M=a(")"),R=a("&");t.Base=o,t.DOMAIN=s,t.AT=l,t.COLON=u,t.DOT=c,t.PUNCTUATION=d,t.LOCALHOST=h,t.NL=p,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=E,t.OPENBRACE=x,t.OPENBRACKET=O,t.OPENANGLEBRACKET=k,t.OPENPAREN=T,t.CLOSEBRACE=I,t.CLOSEBRACKET=P,t.CLOSEANGLEBRACKET=A,t.CLOSEPAREN=M,t.AMPERSAND=R},e8ps:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.PublisherSpeakingEvent=function(e){function t(t,n,i,r){var o=e.call(this,!1,t,n)||this;return o.type=n,o.connection=i,o.streamId=r,o}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},ee8k:function(e,t,n){var i=n("cUzU");t.WebSocketWithReconnection=i},gUCu:function(e,t){function n(){var e={};this.forEach=function(t){for(var n in e){var i=e[n];for(var r in i)t(i[r])}},this.get=function(t,n){var i=e[n];if(null!=i)return i[t]},this.remove=function(t,n){var i=e[n];if(null!=i){for(var r in delete i[t],i)return!1;delete e[n]}},this.set=function(t,n,i){if(null==t)return this.remove(n,i);var r=e[i];null==r&&(e[i]=r={}),r[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 i=new Uint8Array(16);e.exports=function(){return n(i),i}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},k3G7:function(e,t,n){var i,r,o=n("jrAl"),a=n("qa4Q"),s=0,l=0;e.exports=function(e,t,n){var u=t&&n||0,c=t||[],d=(e=e||{}).node||i,h=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==h){var p=o();null==d&&(d=i=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==h&&(h=r=16383&(p[6]<<8|p[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=f-s+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(h=h+1&16383),(g<0||f>s)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=f,l=m,r=h;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++]=h>>>8|128,c[u++]=255&h;for(var b=0;b<6;++b)c[u+b]=d[b];return t||a(c)}},kiQV:function(e){e.exports={dependencies:{"@angular/animations":"7.2.10","@angular/cdk":"7.3.5","@angular/common":"7.2.10","@angular/compiler":"7.2.10","@angular/core":"7.2.10","@angular/elements":"7.2.10","@angular/flex-layout":"7.0.0-beta.24","@angular/forms":"7.2.10","@angular/http":"7.2.10","@angular/material":"7.3.5","@angular/platform-browser":"7.2.10","@angular/platform-browser-dynamic":"7.2.10","@angular/router":"7.2.10",concat:"1.0.3","core-js":"2.6.5","document-register-element":"1.13.1","elements-zone-strategy":"7.0.0","fs-extra":"7.0.1",hammerjs:"2.0.8",jquery:"3.3.1","ngx-linkifyjs":"1.3.0","openvidu-browser":"2.9.0",rxjs:"6.4.0","wolfy87-eventemitter":"5.2.6","zone.js":"0.9.0"},devDependencies:{"@angular-devkit/build-angular":"0.13.6","@angular-devkit/build-ng-packagr":"0.13.6","@angular/cli":"7.3.6","@angular/compiler-cli":"7.2.10","@angular/language-service":"7.2.10","@types/jasmine":"3.3.12","@types/jasminewd2":"2.0.6","@types/jquery":"3.3.29","@types/node":"11.11.7","@webcomponents/webcomponentsjs":"2.2.7",codelyzer:"4.5.0","jasmine-core":"3.3.0","jasmine-spec-reporter":"4.2.1",karma:"4.0.1","karma-chrome-launcher":"2.2.0","karma-coverage-istanbul-reporter":"2.0.5","karma-jasmine":"2.0.1","karma-jasmine-html-reporter":"1.4.0","ng-packagr":"4.7.1",protractor:"5.4.2","ts-node":"8.0.3",tsickle:"0.34.3",tslib:"1.9.3",tslint:"5.14.0",typedoc:"0.14.2",typescript:"3.2.4"},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.9.0"}},ksJj:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.SessionDisconnectedEvent=function(e){function t(t,n){var i=e.call(this,!0,t,"sessionDisconnected")||this;return i.reason=n,i}return i(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}(r.Event)},mgp7:function(e,t,n){e.exports=n("/u9M").default},oIG1:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.VideoElementEvent=function(e){function t(t,n,i){var r=e.call(this,!1,n,i)||this;return r.element=t,r}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.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=[],i=0;i<256;++i)n[i]=(i+256).toString(16).substr(1);e.exports=function(e,t){var i=t||0;return[n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],"-",n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]],n[e[i++]]].join("")}},rUL0:function(e,t,n){var i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.RecordingEvent=function(e){function t(t,n,i,r,o){var a=e.call(this,!1,t,n)||this;return a.id=i,r!==i&&(a.name=r),a.reason=o,a}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},ryRr:function(e,t,n){"use strict";t.__esModule=!0;var i=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,JSON.stringify(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},r=new i.Stream(t.session,n);t.addStream(r)}),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 i=n("S+k6").__extends;t.__esModule=!0;var r=n("hzOQ");t.SignalEvent=function(e){function t(t,n,i,r){var o=e.call(this,!1,t,n)||this;return o.type=n,o.data=i,o.from=r,o}return i(t,e),t.prototype.callDefaultBehavior=function(){},t}(r.Event)},"t/6/":function(e,t,n){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var i=n("FlKs"),r=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}(r),a="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("|"),s="0123456789".split(""),l="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v","\xa0","\u1680","\u180e"],c=[],d=function(e){return new i.CharacterState(e)},h=d(),p=d(r.NUM),f=d(r.DOMAIN),m=d(),g=d(r.WS);h.on("@",d(r.AT)).on(".",d(r.DOT)).on("+",d(r.PLUS)).on("#",d(r.POUND)).on("?",d(r.QUERY)).on("/",d(r.SLASH)).on("_",d(r.UNDERSCORE)).on(":",d(r.COLON)).on("{",d(r.OPENBRACE)).on("[",d(r.OPENBRACKET)).on("<",d(r.OPENANGLEBRACKET)).on("(",d(r.OPENPAREN)).on("}",d(r.CLOSEBRACE)).on("]",d(r.CLOSEBRACKET)).on(">",d(r.CLOSEANGLEBRACKET)).on(")",d(r.CLOSEPAREN)).on("&",d(r.AMPERSAND)).on([",",";","!",'"',"'"],d(r.PUNCTUATION)),h.on("\n",d(r.NL)).on(u,g),g.on(u,g);for(var v=0;v<a.length;v++){var y=(0,i.stateify)(a[v],h,r.TLD,r.DOMAIN);c.push.apply(c,y)}var b=(0,i.stateify)("file",h,r.DOMAIN,r.DOMAIN),_=(0,i.stateify)("ftp",h,r.DOMAIN,r.DOMAIN),w=(0,i.stateify)("http",h,r.DOMAIN,r.DOMAIN),S=(0,i.stateify)("mailto",h,r.DOMAIN,r.DOMAIN);c.push.apply(c,b),c.push.apply(c,_),c.push.apply(c,w),c.push.apply(c,S);var C=b.pop(),E=_.pop(),x=w.pop(),O=S.pop(),k=d(r.DOMAIN),T=d(r.PROTOCOL),I=d(r.MAILTO);E.on("s",k).on(":",T),x.on("s",k).on(":",T),c.push(k),C.on(":",T),k.on(":",T),O.on(":",I);var P=(0,i.stateify)("localhost",h,r.LOCALHOST,r.DOMAIN);c.push.apply(c,P),h.on(s,p),p.on("-",m).on(s,p).on(l,f),f.on("-",m).on(l,f);for(var A=0;A<c.length;A++)c[A].on("-",m).on(l,f);m.on("-",m).on(s,f).on(l,f),h.defaultTransition=d(r.SYM);var M=h;t.State=i.CharacterState,t.TOKENS=o,t.run=function(e){for(var t=e.replace(/[A-Z]/g,function(e){return e.toLowerCase()}),n=e.length,i=[],r=0;r<n;){for(var o=h,a=null,s=0,l=null,u=-1;r<n&&(a=o.next(t[r]));)(o=a).accepts()?(u=0,l=o):u>=0&&u++,s++,r++;if(!(u<0)){r-=u,s-=u;var c=l.emit();i.push(new c(e.substr(r-s,s)))}}return i},t.start=M},tInm:function(e,t,n){"use strict";t.__esModule=!0;var i=n("Yn0Z"),r=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=i.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!==i.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 r=void 0;MediaRecorder.isTypeSupported("video/webm;codecs=vp9")?r={mimeType:"video/webm;codecs=vp9"}:MediaRecorder.isTypeSupported("video/webm;codecs=h264")?r={mimeType:"video/webm;codecs=h264"}:MediaRecorder.isTypeSupported("video/webm;codecs=vp8")&&(r={mimeType:"video/webm;codecs=vp8"}),console.log("Using mimeType "+r.mimeType),e.mediaRecorder=new MediaRecorder(e.stream.getMediaStream(),r)}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=i.LocalRecorderState.RECORDING,t()})},e.prototype.stop=function(){var e=this;return new Promise(function(t,n){try{if(e.state===i.LocalRecorderState.READY||e.state===i.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(r){n(r)}})},e.prototype.pause=function(){var e=this;return new Promise(function(t,n){try{e.state!==i.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=i.LocalRecorderState.PAUSED}catch(r){n(r)}})},e.prototype.resume=function(){var e=this;return new Promise(function(t,n){try{if(e.state!==i.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=i.LocalRecorderState.RECORDING}catch(r){n(r)}})},e.prototype.preview=function(e){if(this.state!==i.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"===r.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=i.LocalRecorderState.READY};this.state===i.LocalRecorderState.RECORDING||this.state===i.LocalRecorderState.PAUSED?this.stop().then(function(){return t()}).catch(function(){return t()}):t()},e.prototype.download=function(){if(this.state!==i.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!==i.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(r,o){if(n.state!==i.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsBinary()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var a=new XMLHttpRequest;if(a.open("POST",e,!0),"object"==typeof t)for(var s=0,l=Object.keys(t);s<l.length;s++){var u=l[s];a.setRequestHeader(u,t[u])}a.onreadystatechange=function(){4===a.readyState&&("2"===a.status.toString().charAt(0)?r(a.responseText):o(a.status))},a.send(n.blob)}})},e.prototype.uploadAsMultipartfile=function(e,t){var n=this;return new Promise(function(r,o){if(n.state!==i.LocalRecorderState.FINISHED)o(Error("'LocalRecord.uploadAsMultipartfile()' needs 'LocalRecord.state' to be 'FINISHED' (current value: '"+n.state+"'). Call 'LocalRecorder.stop()' before"));else{var a=new XMLHttpRequest;if(a.open("POST",e,!0),"object"==typeof t)for(var s=0,l=Object.keys(t);s<l.length;s++){var u=l[s];a.setRequestHeader(u,t[u])}var c=new FormData;c.append("file",n.blob,n.id+".webm"),a.onreadystatechange=function(){4===a.readyState&&("2"===a.status.toString().charAt(0)?r(a.responseText):o(a.status))},a.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=i.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 i=3===arguments.length,r=i?arguments[2]:arguments[1];return r._groupName=i?arguments[1]:void 0,(this.callbacks[e]=this.callbacks[e]||[]).push(r),this},t.once=function(e,t,n){var i=this,r=3===arguments.length,o=r?arguments[2]:arguments[1];return this.on(e,r?arguments[1]:void 0,function t(){i.off(e,t),o.apply(this,arguments)}),this},t.releaseGroup=function(e){var t,n,i,r;for(t in this.callbacks=this.callbacks||{},this.callbacks)for(n=0,i=(r=this.callbacks[t]).length;n<i;n++)r[n]._groupName===e&&(r.splice(n,1),n--,i--);return this},t.off=function(e,t){this.callbacks=this.callbacks||{};var n,i=this.callbacks[e];return i?1===arguments.length?(delete this.callbacks[e],this):(n=i.indexOf(t),i.splice(n,1),0===i.length&&delete this.callbacks[e],this):this},t.emit=function(e){this.callbacks=this.callbacks||{};var t,n,i,r=[].slice.call(arguments,1),o=this.callbacks[e],a=this.getWildcardCallbacks(e);if(o)for(t=0,n=(i=o.slice()).length;t<n&&i[t];++t)i[t].apply(this,r);if(a)for(n=a.length,t=0,n=(i=a.slice()).length;t<n&&i[t];++t)i[t].apply(this,[e].concat(r));return this},t.getWildcardCallbacks=function(e){this.callbacks=this.callbacks||{};var t,n,i=[];for(t in this.callbacks)n=t.split("*"),("*"===t||2===n.length&&e.slice(0,n[0].length)===n[0])&&(i=i.concat(this.callbacks[t]));return i}},n.mixin(n)},ttXH:function(e,t,n){var i,r=n("tMSY");"undefined"!=typeof window&&(i=window.AudioContext||window.webkitAudioContext);var o=null;e.exports=function(e,t){var n=new r;if(!i)return n;var a,s,l,u=(t=t||{}).smoothing||.1,c=t.interval||50,d=t.threshold,h=t.play,p=t.history||10,f=!0;o=t.audioContext||o||new i,(l=o.createAnalyser()).fftSize=512,l.smoothingTimeConstant=u,s=new Float32Array(l.frequencyBinCount),e.jquery&&(e=e[0]),e instanceof HTMLAudioElement||e instanceof HTMLVideoElement?(a=o.createMediaElementSource(e),void 0===h&&(h=!0),d=d||-50):(a=o.createMediaStreamSource(e),d=d||-50),a.connect(l),h&&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(),a.disconnect()},n.speakingHistory=[];for(var m=0;m<p;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 i=4,r=t.length;i<r;i++)t[i]>n&&t[i]<0&&(n=t[i]);return n}(l,s);n.emit("volume_change",e,d);var t=0;if(e>d&&!n.speaking){for(var i=n.speakingHistory.length-3;i<n.speakingHistory.length;i++)t+=n.speakingHistory[i];t>=2&&(n.speaking=!0,n.emit("speaking"))}else if(e<d&&n.speaking){for(i=0;i<n.speakingHistory.length;i++)t+=n.speakingHistory[i];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},i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return n},r=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 a,s=10;try{var l={};Object.defineProperty&&Object.defineProperty(l,"x",{value:0}),a=0===l.x}catch(g){a=!1}function u(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function c(e,t,i,r){var o,a,s;if("function"!=typeof i)throw new TypeError('"listener" argument must be a function');if((a=e._events)?(a.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),a=e._events),s=a[t]):(a=e._events=n(null),e._eventsCount=0),s){if("function"==typeof s?s=a[t]=r?[i,s]:[s,i]:r?s.unshift(i):s.push(i),!s.warned&&(o=u(e))&&o>0&&s.length>o){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+' "'+String(t)+'" listeners added. Use emitter.setMaxListeners() to increase limit.');l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,"object"==typeof console&&console.warn&&console.warn("%s: %s",l.name,l.message)}}else s=a[t]=i,++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 h(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=r.call(d,i);return o.listener=n,i.wrapFn=o,o}function p(e,t,n){var i=e._events;if(!i)return[];var r=i[t];return r?"function"==typeof r?n?[r.listener||r]:[r]: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}(r):m(r,r.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),i=0;i<t;++i)n[i]=e[i];return n}a?Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(e){if("number"!=typeof e||e<0||e!=e)throw new TypeError('"defaultMaxListeners" must be a positive number');s=e}}):o.defaultMaxListeners=s,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,i,r,o,a,s="error"===e;if(a=this._events)s=s&&null==a.error;else if(!s)return!1;if(s){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=a[e]))return!1;var u="function"==typeof n;switch(i=arguments.length){case 1:!function(e,t,n){if(t)e.call(n);else for(var i=e.length,r=m(e,i),o=0;o<i;++o)r[o].call(n)}(n,u,this);break;case 2:!function(e,t,n,i){if(t)e.call(n,i);else for(var r=e.length,o=m(e,r),a=0;a<r;++a)o[a].call(n,i)}(n,u,this,arguments[1]);break;case 3:!function(e,t,n,i,r){if(t)e.call(n,i,r);else for(var o=e.length,a=m(e,o),s=0;s<o;++s)a[s].call(n,i,r)}(n,u,this,arguments[1],arguments[2]);break;case 4:!function(e,t,n,i,r,o){if(t)e.call(n,i,r,o);else for(var a=e.length,s=m(e,a),l=0;l<a;++l)s[l].call(n,i,r,o)}(n,u,this,arguments[1],arguments[2],arguments[3]);break;default:for(r=new Array(i-1),o=1;o<i;o++)r[o-1]=arguments[o];!function(e,t,n,i){if(t)e.apply(n,i);else for(var r=e.length,o=m(e,r),a=0;a<r;++a)o[a].apply(n,i)}(n,u,this,r)}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,h(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,h(this,e,t)),this},o.prototype.removeListener=function(e,t){var i,r,o,a,s;if("function"!=typeof t)throw new TypeError('"listener" argument must be a function');if(!(r=this._events))return this;if(!(i=r[e]))return this;if(i===t||i.listener===t)0==--this._eventsCount?this._events=n(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,i.listener||t));else if("function"!=typeof i){for(o=-1,a=i.length-1;a>=0;a--)if(i[a]===t||i[a].listener===t){s=i[a].listener,o=a;break}if(o<0)return this;0===o?i.shift():function(e,t){for(var n=o,i=n+1,r=e.length;i<r;n+=1,i+=1)e[n]=e[i];e.pop()}(i),1===i.length&&(r[e]=i[0]),r.removeListener&&this.emit("removeListener",e,s||t)}return this},o.prototype.removeAllListeners=function(e){var t,r,o;if(!(r=this._events))return this;if(!r.removeListener)return 0===arguments.length?(this._events=n(null),this._eventsCount=0):r[e]&&(0==--this._eventsCount?this._events=n(null):delete r[e]),this;if(0===arguments.length){var a,s=i(r);for(o=0;o<s.length;++o)"removeListener"!==(a=s[o])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=n(null),this._eventsCount=0,this}if("function"==typeof(t=r[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 p(this,e,!0)},o.prototype.rawListeners=function(e){return p(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):[]}},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 i=n("RvMX"),r=n("JUw6"),o=n("dlaP"),a=(0,i.createTokenClass)();a.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 s=(0,r.inherits)(a,(0,i.createTokenClass)(),{type:"email",isLink:!0}),l=(0,r.inherits)(a,(0,i.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),u=(0,r.inherits)(a,(0,i.createTokenClass)(),{type:"text"}),c=(0,r.inherits)(a,(0,i.createTokenClass)(),{type:"nl"}),d=(0,r.inherits)(a,(0,i.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",n=!1,i=!1,r=this.v,a=[],s=0;r[s]instanceof o.PROTOCOL;)n=!0,a.push(r[s].toString().toLowerCase()),s++;for(;r[s]instanceof o.SLASH;)i=!0,a.push(r[s].toString()),s++;for(;(e=r[s])instanceof o.DOMAIN||e instanceof o.TLD;)a.push(r[s].toString().toLowerCase()),s++;for(;s<r.length;s++)a.push(r[s].toString());return a=a.join(""),n||i||(a=t+"://"+a),a},hasProtocol:function(){return this.v[0]instanceof o.PROTOCOL}});t.Base=a,t.MAILTOEMAIL=s,t.EMAIL=l,t.NL=c,t.TEXT=u,t.URL=d},yLV6:function(e,t,n){var i;!function(r,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",h=Math.round,p=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 i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function y(e,t,n){var i="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=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var b=y(function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e},"extend","Use `assign`."),_=y(function(e,t){return b(e,t,!0)},"merge","Use `assign`.");function w(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&l(i,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]||s,t):e}function E(e,t){return e===s?t:e}function x(e,t,n){v(I(t),function(t){e.addEventListener(t,n,!1)})}function O(e,t,n){v(I(t),function(t){e.removeEventListener(t,n,!1)})}function k(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 P(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function A(e){return Array.prototype.slice.call(e,0)}function M(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];P(r,a)<0&&i.push(e[o]),r[o]=a,o++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function R(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<u.length;){if((i=(n=u[o])?n+r:t)in e)return i;o++}return s}var N=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var L="ontouchstart"in r,j=R(r,"PointerEvent")!==s,V=L&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=25,U=1,B=4,z=8,H=1,W=2,G=4,q=8,Y=16,Z=W|G,Q=q|Y,K=Z|Q,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 i=n.pointers.length,r=n.changedPointers.length,o=t&U&&i-r==0,a=t&(B|z)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=te(t)),r>1&&!n.firstMultiple?n.firstMultiple=te(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,u=t.center=ne(i);t.timeStamp=f(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=ae(l,u),t.distance=oe(l,u),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};t.eventType!==U&&o.eventType!==B||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=re(t.deltaX,t.deltaY);var c,d,h=ie(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=h.x,t.overallVelocityY=h.y,t.overallVelocity=p(h.x)>p(h.y)?h.x:h.y,t.scale=a?(c=a.pointers,oe((d=i)[0],d[1],J)/oe(c[0],c[1],J)):1,t.rotation=a?function(e,t){return ae(i[1],i[0],J)+ae(e[1],e[0],J)}(a.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,i,r,o,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=z&&(l>F||a.velocity===s)){var u=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,d=ie(l,u,c);i=d.x,r=d.y,n=p(d.x)>p(d.y)?d.x:d.y,o=re(u,c),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}(n,t);var m=e.element;k(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:h(e.pointers[n].clientX),clientY:h(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:h(e[0].clientX),y:h(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:h(n/t),y:h(i/t)}}function ie(e,t,n){return{x:t/e||0,y:n/e||0}}function re(e,t){return e===t?H:p(e)>=p(t)?e<0?W:G:t<0?q:Y}function oe(e,t,n){n||(n=X);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function ae(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&&x(this.element,this.evEl,this.domHandler),this.evTarget&&x(this.target,this.evTarget,this.domHandler),this.evWin&&x(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(D(this.element),this.evWin,this.domHandler)}};var se={mousedown:U,mousemove:2,mouseup:B},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=se[e.type];t&U&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=B),this.pressed&&(t&B&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var de={pointerdown:U,pointermove:2,pointerup:B,pointercancel:z,pointerout:z},he={2:"touch",3:"pen",4:"mouse",5:"kinect"},pe="pointerdown",fe="pointermove pointerup pointercancel";function me(){this.evEl=pe,this.evWin=fe,$.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(pe="MSPointerDown",fe="MSPointerMove MSPointerUp MSPointerCancel"),w(me,$,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=de[i],o=he[e.pointerType]||e.pointerType,a="touch"==o,s=P(t,e.pointerId,"pointerId");r&U&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):r&(B|z)&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var ge={touchstart:U,touchmove:2,touchend:B,touchcancel:z},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===U&&(this.started=!0),this.started){var n=(function(e,t){var n=A(e.touches),i=A(e.changedTouches);return t&(B|z)&&(n=M(n.concat(i),"identifier",!0)),[n,i]}).call(this,e,t);t&(B|z)&&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:U,touchmove:2,touchend:B,touchcancel:z},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=A(e.touches),i=this.targetIds;if(t&(2|U)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=A(e.changedTouches),s=[],l=this.target;if(o=n.filter(function(e){return k(e.target,l)}),t===U)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),t&(B|z)&&delete i[a[r].identifier],r++;return s.length?[M(o.concat(s),"identifier",!0),s]: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 Ee(){$.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 xe(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)},Ce)}}w(Ee,$,{handler:function(e,t,n){var i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(e,t){e&U?(this.primaryTouch=t.changedPointers[0].identifier,xe.call(this,t)):e&(B|z)&&xe.call(this,t)}).call(this,t,n);else if(i&&(function(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),a=Math.abs(n-r.y);if(o<=25&&a<=25)return!0}return!1}).call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Oe=R(c.style,"touchAction"),ke=Oe!==s,Te=function(){if(!ke)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!t||r.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()),ke&&this.manager.element.style&&Te[e]&&(this.manager.element.style[Oe]=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 i=this.actions,r=T(i,"none")&&!Te.none,o=T(i,"pan-y")&&!Te["pan-y"],a=T(i,"pan-x")&&!Te["pan-x"];if(r&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!a||!o)return r||o&&n&Z||a&&n&Q?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Pe=1,Ae=2,Me=4,Re=8,Ne=Re,De=16;function Le(e){this.options=l({},this.defaults,e||{}),this.id=N++,this.manager=null,this.options.enable=E(this.options.enable,!0),this.state=Pe,this.simultaneous={},this.requireFail=[]}function je(e){return e&De?"cancel":e&Re?"end":e&Me?"move":e&Ae?"start":""}function Ve(e){return e==Y?"down":e==q?"up":e==W?"left":e==G?"right":""}function Fe(e,t){var n=t.manager;return n?n.get(e):e}function Ue(){Le.apply(this,arguments)}function Be(){Ue.apply(this,arguments),this.pX=null,this.pY=null}function ze(){Ue.apply(this,arguments)}function He(){Le.apply(this,arguments),this._timer=null,this._input=null}function We(){Ue.apply(this,arguments)}function Ge(){Ue.apply(this,arguments)}function qe(){Le.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ye(e,t){return(t=t||{}).recognizers=E(t.recognizers,Ye.defaults.preset),new Ze(e,t)}function Ze(e,t){var n;this.options=l({},Ye.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||(j?me:V?Se:L?Ee:ce))(n,ee),this.touchAction=new Ie(this,this.options.touchAction),Qe(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 Qe(e,t){var n,i=e.element;i.style&&(v(e.options.cssProps,function(r,o){n=R(i.style,o),t?(e.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=e.oldCssProps[n]||""}),t||(e.oldCssProps={}))}Le.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=Fe(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return g(e,"dropRecognizeWith",this)?this:(e=Fe(e,this),delete this.simultaneous[e.id],this)},requireFailure:function(e){if(g(e,"requireFailure",this))return this;var t=this.requireFail;return-1===P(t,e=Fe(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(g(e,"dropRequireFailure",this))return this;e=Fe(e,this);var t=P(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 i(n){t.manager.emit(n,e)}n<Re&&i(t.options.event+je(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=Re&&i(t.options.event+je(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|Pe)))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&(Ne|De|32)&&(this.state=Pe),this.state=this.process(t),this.state&(Ae|Me|Re|De)&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},w(Ue,Le,{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,i=t&(Ae|Me),r=this.attrTest(e);return i&&(n&z||!r)?t|De:i||r?n&B?t|Re:t&Ae?t|Me:Ae:32}}),w(Be,Ue,{defaults:{event:"pan",threshold:10,pointers:1,direction:K},getTouchAction:function(){var e=this.options.direction,t=[];return e&Z&&t.push("pan-y"),e&Q&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(t.direction&Z?(r=0===o?H:o<0?W:G,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?H:a<0?q:Y,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return Ue.prototype.attrTest.call(this,e)&&(this.state&Ae||!(this.state&Ae)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Ve(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),w(ze,Ue,{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&Ae)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),w(He,Le,{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,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||e.eventType&(B|z)&&!r)this.reset();else if(e.eventType&U)this.reset(),this._timer=m(function(){this.state=Ne,this.tryEmit()},t.time,this);else if(e.eventType&B)return Ne;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===Ne&&(e&&e.eventType&B?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(We,Ue,{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&Ae)}}),w(Ge,Ue,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Z|Q,pointers:1},getTouchAction:function(){return Be.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(Z|Q)?t=e.overallVelocity:n&Z?t=e.overallVelocityX:n&Q&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&e.eventType&B},emit:function(e){var t=Ve(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),w(qe,Le,{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,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),e.eventType&U&&0===this.count)return this.failTimeout();if(i&&r&&n){if(e.eventType!=B)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||oe(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=Ne,this.tryEmit()},t.interval,this),Ae):Ne}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==Ne&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ye.VERSION="2.0.7",Ye.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[We,{enable:!1}],[ze,{enable:!1},["rotate"]],[Ge,{direction:Z}],[Be,{direction:Z},["swipe"]],[qe],[qe,{event:"doubletap",taps:2},["tap"]],[He]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Ze.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 i=this.recognizers,r=t.curRecognizer;(!r||r&&r.state&Ne)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&n.state&(Ae|Me|Re)&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof Le)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=P(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){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!==s){var n=this.handlers;return v(I(e),function(e){t?n[e]&&n[e].splice(P(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 i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&Qe(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Ye,{INPUT_START:U,INPUT_MOVE:2,INPUT_END:B,INPUT_CANCEL:z,STATE_POSSIBLE:Pe,STATE_BEGAN:Ae,STATE_CHANGED:Me,STATE_ENDED:Re,STATE_RECOGNIZED:Ne,STATE_CANCELLED:De,STATE_FAILED:32,DIRECTION_NONE:H,DIRECTION_LEFT:W,DIRECTION_RIGHT:G,DIRECTION_UP:q,DIRECTION_DOWN:Y,DIRECTION_HORIZONTAL:Z,DIRECTION_VERTICAL:Q,DIRECTION_ALL:K,Manager:Ze,Input:$,TouchAction:Ie,TouchInput:Se,MouseInput:ce,PointerEventInput:me,TouchMouseInput:Ee,SingleTouchInput:be,Recognizer:Le,AttrRecognizer:Ue,Tap:qe,Pan:Be,Swipe:Ge,Pinch:ze,Rotate:We,Press:He,on:x,off:O,each:v,merge:_,extend:b,assign:l,inherit:w,bindFn:S,prefixed:R}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Ye,(i=(function(){return Ye}).call(t,n,t,e))===s||(e.exports=i)}(window,document)},zUnb:function(e,t,n){"use strict";n.r(t);var i=function(e,t){return(i=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 r(e,t){function n(){this.constructor=e}i(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,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function a(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function s(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 i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}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 h(e){return null!==e&&"object"==typeof e}function p(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._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}var t;return e.prototype.unsubscribe=function(){var e,t=!1;if(!this.closed){var n=this._parent,i=this._parents,r=this._unsubscribe,o=this._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var a=-1,s=i?i.length:0;n;)n.remove(this),n=++a<s&&i[a]||null;if(p(r))try{r.call(this)}catch(u){t=!0,e=u instanceof m?v(u.errors):[u]}if(d(o))for(a=-1,s=o.length;++a<s;){var l=o[a];if(h(l))try{l.unsubscribe()}catch(u){t=!0,e=e||[],u instanceof m?e=e.concat(v(u.errors)):e.push(u)}}if(t)throw new m(e)}},e.prototype.add=function(t){var n=t;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 i=n;(n=new e)._subscriptions=[i]}break;default:if(!t)return e.EMPTY;throw new Error("unrecognized teardown "+t+" added to Subscription.")}if(n._addParent(this)){var r=this._subscriptions;r?r.push(n):this._subscriptions=[n]}return n},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},e.prototype._addParent=function(e){var t=this._parent,n=this._parents;return t!==e&&(t?n?-1===n.indexOf(e)&&(n.push(e),!0):(this._parents=[e],!0):(this._parent=e,!0))},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})}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,i,r){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 E(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new E(o,n,i,r)}return o}return r(t,e),t.prototype[S]=function(){return this},t.create=function(e,n,i){var r=new t(e,n,i);return r.syncErrorThrowable=!1,r},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._parent,t=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=t,this},t}(g),E=function(e){function t(t,n,i,r){var o,a=e.call(this)||this;a._parentSubscriber=t;var s=a;return p(n)?o=n:n&&(o=n.next,i=n.error,r=n.complete,n!==w&&(p((s=Object.create(n)).unsubscribe)&&a.add(s.unsubscribe.bind(s)),s.unsubscribe=a.unsubscribe.bind(a))),a._context=s,a._next=o,a._error=i,a._complete=r,a}return r(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(i){return b.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(_(i),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(C),x="function"==typeof Symbol&&Symbol.observable||"@@observable";function O(){}function k(){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)}:O}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 i=this.operator,r=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(r.add(i?i.call(r,this.source):this.source||b.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),b.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},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=P(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[x]=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=P(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function P(e){if(e||(e=b.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function A(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}A.prototype=Object.create(Error.prototype);var M=A,R=function(e){function t(t,n){var i=e.call(this)||this;return i.subject=t,i.subscriber=n,i.closed=!1,i}return r(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),N=function(e){function t(t){var n=e.call(this,t)||this;return n.destination=t,n}return r(t,e),t}(C),D=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 r(t,e),t.prototype[S]=function(){return new N(this)},t.prototype.lift=function(e){var t=new L(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,i=t.slice(),r=0;r<n;r++)i[r].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,i=t.slice(),r=0;r<n;r++)i[r].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(),i=0;i<t;i++)n[i].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 L(e,t)},t}(I),L=function(e){function t(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return r(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}(D);function j(e){return e&&"function"==typeof e.schedule}var V=function(e){function t(t,n,i){var r=e.call(this)||this;return r.parent=t,r.outerValue=n,r.outerIndex=i,r.index=0,r}return r(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),F=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.closed||t.complete()}},U=function(e){return function(t){return e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,_),t}};function B(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var z=B(),H=function(e){return function(t){for(var n=e[z]();;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed)break}return"function"==typeof n.return&&t.add(function(){n.return&&n.return()}),t}},W=function(e){return function(t){var n=e[x]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)}},G=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 Y=function(e){if(e instanceof I)return function(t){return e._isScalar?(t.next(e.value),void t.complete()):e.subscribe(t)};if(e&&"function"==typeof e[x])return W(e);if(G(e))return F(e);if(q(e))return U(e);if(e&&"function"==typeof e[z])return H(e);var t=h(e)?"an invalid object":"'"+e+"'";throw new TypeError("You provided "+t+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function Z(e,t,n,i,r){if(void 0===r&&(r=new V(e,n,i)),!r.closed)return Y(t)(r)}var Q=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.notifyNext=function(e,t,n,i,r){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 K(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 X(e,t))}}var X=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new J(e,this.project,this.thisArg))},e}(),J=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.project=n,r.count=0,r.thisArg=i||r,r}return r(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 ee(e,t){return new I(t?function(n){var i=new g,r=0;return i.add(t.schedule(function(){r!==e.length?(n.next(e[r++]),n.closed||i.add(this.schedule())):n.complete()})),i}:F(e))}function te(e,t){if(!t)return e instanceof I?e:new I(Y(e));if(null!=e){if(function(e){return e&&"function"==typeof e[x]}(e))return function(e,t){return new I(t?function(n){var i=new g;return i.add(t.schedule(function(){var r=e[x]();i.add(r.subscribe({next:function(e){i.add(t.schedule(function(){return n.next(e)}))},error:function(e){i.add(t.schedule(function(){return n.error(e)}))},complete:function(){i.add(t.schedule(function(){return n.complete()}))}}))})),i}:W(e))}(e,t);if(q(e))return function(e,t){return new I(t?function(n){var i=new g;return i.add(t.schedule(function(){return e.then(function(e){i.add(t.schedule(function(){n.next(e),i.add(t.schedule(function(){return n.complete()}))}))},function(e){i.add(t.schedule(function(){return n.error(e)}))})})),i}:U(e))}(e,t);if(G(e))return ee(e,t);if(function(e){return e&&"function"==typeof e[z]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new I(t?function(n){var i,r=new g;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(function(){i=e[z](),r.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}}))})),r}:H(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function ne(e,t,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof t?function(i){return i.pipe(ne(function(n,i){return te(e(n,i)).pipe(K(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new ie(e,n))})}var ie=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 re(e,this.project,this.concurrent))},e}(),re=function(e){function t(t,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var r=e.call(this,t)||this;return r.project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return r(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(i){return void this.destination.error(i)}this.active++,this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var i=new V(this,void 0,void 0);this.destination.add(i),Z(this,e,t,n,i)},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,i,r){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}(Q);function oe(e){return e}function ae(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),ne(oe,e)}function se(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Number.POSITIVE_INFINITY,i=null,r=e[e.length-1];return j(r)?(i=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(n=e.pop())):"number"==typeof r&&(n=e.pop()),null===i&&1===e.length&&e[0]instanceof I?e[0]:ae(n)(ee(e,i))}function le(){return function(e){return e.lift(new ue(e))}}var ue=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var n=this.connectable;n._refCount++;var i=new ce(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r},e}(),ce=function(e){function t(t,n){var i=e.call(this,t)||this;return i.connectable=n,i}return r(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,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},t}(C),de=function(e){function t(t,n){var i=e.call(this)||this;return i.source=t,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return r(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 pe(this.getSubject(),this))),e.closed?(this._connection=null,e=g.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return le()(this)},t}(I).prototype,he={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:de._subscribe},_isComplete:{value:de._isComplete,writable:!0},getSubject:{value:de.getSubject},connect:{value:de.connect},refCount:{value:de.refCount}},pe=function(e){function t(t,n){var i=e.call(this,t)||this;return i.connectable=n,i}return r(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}(N);function fe(){return new D}function me(){return function(e){return le()((t=fe,function(e){var n;n="function"==typeof t?t:function(){return t};var i=Object.create(e,he);return i.source=e,i.subjectFactory=n,i})(e));var t}}function ge(e){for(var t in e)if(e[t]===ge)return t;throw Error("Could not find renamed property on target object.")}function ve(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}var ye=ge({ngInjectableDef:ge}),be=ge({ngBaseDef:ge});function _e(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function we(e){return e&&e.hasOwnProperty(ye)?e[ye]:null}var Se=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==t?_e({providedIn:t.providedIn||"root",factory:t.factory}):void 0}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),Ce="__parameters__",Ee="__prop__metadata__";function xe(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(e){var i=e.apply(void 0,c(t));for(var r in i)this[r]=i[r]}}}function Oe(e,t,n){var i=xe(t);function r(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof r)return i.apply(this,t),this;var o=new((e=r).bind.apply(e,c([void 0],t)));return a.annotation=o,a;function a(e,t,n){for(var i=e.hasOwnProperty(Ce)?e[Ce]:Object.defineProperty(e,Ce,{value:[]})[Ce];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(o),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}function ke(e,t,n,i){var r=xe(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var a=new((e=o).bind.apply(e,c([void 0],t)));return function(e,n){var r=e.constructor,o=r.hasOwnProperty(Ee)?r[Ee]:Object.defineProperty(r,Ee,{value:{}})[Ee];o[n]=o.hasOwnProperty(n)&&o[n]||[],o[n].unshift(a),i&&i.apply(void 0,c([e,n],t))}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}var Te=new Se("AnalyzeForEntryComponents"),Ie="undefined"!=typeof window&&window,Pe="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ae="undefined"!=typeof global&&global||Ie||Pe,Me=Promise.resolve(0),Re=null;function Ne(){if(!Re){var e=Ae.Symbol;if(e&&e.iterator)Re=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Re=i)}}return Re}function De(e){"undefined"==typeof Zone?Me.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function Le(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function je(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(je).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 Ve=ge({__forward_ref__:ge});function Fe(e){return e.__forward_ref__=Fe,e.toString=function(){return je(this())},e}function Ue(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(Ve)&&t.__forward_ref__===Fe?t():e}var Be,ze=function(e){return e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),He=Oe("Inject",function(e){return{token:e}}),We=Oe("Optional"),Ge=Oe("Self"),qe=Oe("SkipSelf"),Ye=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}({}),Ze=void 0;function Qe(e){var t=Ze;return Ze=e,t}function Ke(e,t){return void 0===t&&(t=Ye.Default),(Be||function(e,t){if(void 0===t&&(t=Ye.Default),void 0===Ze)throw new Error("inject() must be called from an injection context");return null===Ze?function(e,t,n){var i=we(e);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&Ye.Optional)return null;throw new Error("Injector: NOT_FOUND ["+je(e)+"]")}(e,0,t):Ze.get(e,t&Ye.Optional?null:void 0,t)})(e,t)}var Xe=/([A-Z])/g;function Je(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function $e(e,t){var n=nt(e),i=nt(t);return n&&i?function(e,t,n){for(var i=e[Ne()](),r=t[Ne()]();;){var o=i.next(),a=r.next();if(o.done&&a.done)return!0;if(o.done||a.done)return!1;if(!n(o.value,a.value))return!1}}(e,t,$e):!(n||!e||"object"!=typeof e&&"function"!=typeof e||i||!t||"object"!=typeof t&&"function"!=typeof t)||Le(e,t)}var et=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}(),tt=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}();function nt(e){return!!it(e)&&(Array.isArray(e)||!(e instanceof Map)&&Ne()in e)}function it(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function rt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}var ot="__source",at=new Object,st=new Se("INJECTOR"),lt=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=at),t===at)throw new Error("NullInjectorError: No provider for "+je(e)+"!");return t},e}(),ut=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?new bt(e,t):new bt(e.providers,e.parent,e.name||null)},e.THROW_IF_NOT_FOUND=at,e.NULL=new lt,e.ngInjectableDef=_e({providedIn:"any",factory:function(){return Ke(st)}}),e.__NG_ELEMENT_ID__=function(){return ct()},e}(),ct=rt,dt=function(e){return e},ht=[],pt=dt,ft=function(){return Array.prototype.slice.call(arguments)},mt=ge({provide:String,useValue:ge}),gt=ut.NULL,vt=/\n/gm,yt="\u0275",bt=function(){function e(e,t,n){void 0===t&&(t=gt),void 0===n&&(n=null),this.parent=t,this.source=n;var i=this._records=new Map;i.set(ut,{token:ut,fn:dt,deps:ht,value:this,useNew:!1}),i.set(st,{token:st,fn:dt,deps:ht,value:this,useNew:!1}),function e(t,n){if(n)if((n=Ue(n))instanceof Array)for(var i=0;i<n.length;i++)e(t,n[i]);else{if("function"==typeof n)throw St("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw St("Unexpected provider",n);var r=Ue(n.provide),o=function(e){var t=function(e){var t=ht,n=e.deps;if(n&&n.length){t=[];for(var i=0;i<n.length;i++){var r=6;if((l=Ue(n[i]))instanceof Array)for(var o=0,a=l;o<a.length;o++){var s=a[o];s instanceof We||s==We?r|=1:s instanceof qe||s==qe?r&=-3:s instanceof Ge||s==Ge?r&=-5:l=s instanceof He?s.token:Ue(s)}t.push({token:l,options:r})}}else if(e.useExisting){var l;t=[{token:l=Ue(e.useExisting),options:6}]}else if(!(n||mt in e))throw St("'deps' required",e);return t}(e),n=dt,i=ht,r=!1,o=Ue(e.provide);if(mt in e)i=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)r=!0,n=Ue(e.useClass);else{if("function"!=typeof o)throw St("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);r=!0,n=o}return{deps:t,fn:n,useNew:r,value:i}}(n);if(!0===n.multi){var a=t.get(r);if(a){if(a.fn!==ft)throw _t(r)}else t.set(r,a={token:n.provide,deps:[],useNew:!1,fn:ft,value:ht});a.deps.push({token:r=n,options:6})}var s=t.get(r);if(s&&s.fn==ft)throw _t(r);t.set(r,o)}}(i,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Ye.Default);var i=this._records.get(e);try{return function e(t,n,i,r,o,a){try{return function(t,n,i,r,o,a){var s,l;if(!n||a&Ye.SkipSelf)a&Ye.Self||(l=r.get(t,o,Ye.Default));else{if((l=n.value)==pt)throw Error(yt+"Circular dependency");if(l===ht){n.value=pt;var u=n.useNew,d=n.fn,h=n.deps,p=ht;if(h.length){p=[];for(var f=0;f<h.length;f++){var m=h[f],g=m.options,v=2&g?i.get(m.token):void 0;p.push(e(m.token,v,i,v||4&g?r:gt,1&g?null:ut.THROW_IF_NOT_FOUND,Ye.Default))}}n.value=l=u?new((s=d).bind.apply(s,c([void 0],p))):d.apply(void 0,p)}}return l}(t,n,i,r,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(t),n&&n.value==pt&&(n.value=ht),s}}(e,i,this._records,this.parent,t,n)}catch(o){var r=o.ngTempTokenPath;throw e[ot]&&r.unshift(e[ot]),o.message=wt("\n"+o.message,r,this.source),o.ngTokenPath=r,o.ngTempTokenPath=null,o}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(je(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function _t(e){return St("Cannot mix multi providers and regular providers",e)}function wt(e,t,n){void 0===n&&(n=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==yt?e.substr(2):e;var i=je(t);if(t instanceof Array)i=t.map(je).join(" -> ");else if("object"==typeof t){var r=[];for(var o in t)if(t.hasOwnProperty(o)){var a=t[o];r.push(o+":"+("string"==typeof a?JSON.stringify(a):je(a)))}i="{"+r.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+i+"]: "+e.replace(vt,"\n ")}function St(e,t){return new Error(wt(e,t))}var Ct=new Se("The presence of this token marks an injector as being the root injector."),Et=function(){return function(){}}(),xt=function(){return function(){}}();function Ot(e){var t=Error("No component factory found for "+je(e)+". Did you add it to @NgModule.entryComponents?");return t[kt]=e,t}var kt="ngComponent",Tt=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){throw Ot(e)},e}(),It=function(){function e(){}return e.NULL=new Tt,e}(),Pt=function(){function e(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(var i=0;i<e.length;i++){var r=e[i];this._factories.set(r.componentType,r)}}return e.prototype.resolveComponentFactory=function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw Ot(e);return new At(t,this._ngModule)},e}(),At=function(e){function t(t,n){var i=e.call(this)||this;return i.factory=t,i.ngModule=n,i.selector=t.selector,i.componentType=t.componentType,i.ngContentSelectors=t.ngContentSelectors,i.inputs=t.inputs,i.outputs=t.outputs,i}return r(t,e),t.prototype.create=function(e,t,n,i){return this.factory.create(e,t,n,i||this.ngModule)},t}(xt),Mt=function(){return function(){}}(),Rt=function(){return function(){}}(),Nt=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return Dt(e)},e}(),Dt=rt,Lt=function(){return function(){}}(),jt=function(){return function(){}}(),Vt=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({}),Ft=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ut()},e}(),Ut=rt,Bt=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}({}),zt=function(){return function(){}}(),Ht=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(".")}}())("7.2.10"),Wt=!0,Gt=!1;function qt(){return Gt=!0,Wt}var Yt=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(i){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 i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling},e}(),Zt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,Qt=/^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 Kt(e){return(e=String(e)).match(Zt)||e.match(Qt)?e:(qt()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Xt(e){var t,n,i={};try{for(var r=l(e.split(",")),o=r.next();!o.done;o=r.next())i[o.value]=!0}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return i}function Jt(){for(var e,t,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r={};try{for(var o=l(n),a=o.next();!a.done;a=o.next()){var s=a.value;for(var u in s)s.hasOwnProperty(u)&&(r[u]=!0)}}catch(c){e={error:c}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return r}var $t,en=Xt("area,br,col,hr,img,wbr"),tn=Xt("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),nn=Xt("rp,rt"),rn=Jt(nn,tn),on=Jt(en,Jt(tn,Xt("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")),Jt(nn,Xt("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")),rn),an=Xt("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sn=Xt("srcset"),ln=Jt(an,sn,Xt("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")),un=Xt("script,style,template"),cn=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 i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t,n=e.nodeName.toLowerCase();if(!on.hasOwnProperty(n))return this.sanitizedSomething=!0,!un.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);for(var i=e.attributes,r=0;r<i.length;r++){var o=i.item(r),a=o.name,s=a.toLowerCase();if(ln.hasOwnProperty(s)){var l=o.value;an[s]&&(l=Kt(l)),sn[s]&&(t=l,l=(t=String(t)).split(",").map(function(e){return Kt(e.trim())}).join(", ")),this.buf.push(" ",a,'="',pn(l),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();on.hasOwnProperty(t)&&!en.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(pn(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}(),dn=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hn=/([^\#-~ |!])/g;function pn(e){return e.replace(/&/g,"&").replace(dn,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(hn,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function fn(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var mn=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;return n.__isAsync=t,n}return r(t,e),t.prototype.emit=function(t){e.prototype.next.call(this,t)},t.prototype.subscribe=function(t,n,i){var r,o=function(e){return null},a=function(){return null};t&&"object"==typeof t?(r=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&&(a=this.__isAsync?function(){setTimeout(function(){return t.complete()})}:function(){t.complete()})):(r=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)}),i&&(a=this.__isAsync?function(){setTimeout(function(){return i()})}:function(){i()}));var s=e.prototype.subscribe.call(this,r,o,a);return t instanceof g&&t.add(s),s},t}(D),gn=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return vn(e,Nt)},e}(),vn=rt,yn=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"),bn=/^url\(([^)]+)\)$/,_n=function(){return function(){}}(),wn=ke("Input",function(e){return{bindingPropertyName:e}},void 0,function(e){return function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=e.constructor;r.hasOwnProperty(be)||function(e){var t=e.constructor,n=t.ngBaseDef,i=t.ngBaseDef={inputs:{},outputs:{},declaredInputs:{}};n&&(ve(i.inputs,n.inputs),ve(i.outputs,n.outputs),ve(i.declaredInputs,n.declaredInputs))}(e),(function(e){return e.inputs||{}}(r.ngBaseDef))[t]=n[0]}}()),Sn=ke("HostBinding",function(e){return{hostPropertyName:e}}),Cn="ngDebugContext",En="ngOriginalError",xn="ngErrorLogger";function On(e){return e[Cn]}function kn(e){return e[En]}function Tn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,c(t))}var In=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e[xn]||Tn}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?On(e)?On(e):this._findContext(kn(e)):null},e.prototype._findOriginalError=function(e){for(var t=kn(e);t&&kn(t);)t=kn(t);return t},e}();function Pn(e){return!!e&&"function"==typeof e.then}function An(e){return!!e&&"function"==typeof e.subscribe}var Mn=new Se("Application Initializer"),Rn=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 i=0;i<this.appInits.length;i++){var r=this.appInits[i]();Pn(r)&&t.push(r)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},e}(),Nn=new Se("AppId");function Dn(){return""+Ln()+Ln()+Ln()}function Ln(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var jn=new Se("Platform Initializer"),Vn=new Se("Platform ID"),Fn=new Se("appBootstrapListener"),Un=function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},e}();function Bn(){throw new Error("Runtime compiler is not loaded")}var zn,Hn,Wn=Bn,Gn=Bn,qn=Bn,Yn=Bn,Zn=function(){function e(){this.compileModuleSync=Wn,this.compileModuleAsync=Gn,this.compileModuleAndAllComponentsSync=qn,this.compileModuleAndAllComponentsAsync=Yn}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},e}(),Qn=function(){return function(){}}();function Kn(){var e=Ae.wtf;return!(!e||!(zn=e.trace)||(Hn=zn.events,0))}var Xn=Kn();function Jn(e,t){return null}var $n=Xn?function(e,t){return void 0===t&&(t=null),Hn.createScope(e,t)}:function(e,t){return Jn},ei=Xn?function(e,t){return zn.leaveScope(e,t),t}:function(e,t){return t},ti=function(){function e(e){var t,n=e.enableLongStackTrace,i=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new mn(!1),this.onMicrotaskEmpty=new mn(!1),this.onStable=new mn(!1),this.onError=new mn(!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)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,n,i,r,o,a){try{return oi(t),e.invokeTask(i,r,o,a)}finally{ai(t)}},onInvoke:function(e,n,i,r,o,a,s){try{return oi(t),e.invoke(i,r,o,a,s)}finally{ai(t)}},onHasTask:function(e,n,i,r){e.hasTask(i,r),n===i&&("microTask"==r.change?(t.hasPendingMicrotasks=r.microTask,ri(t)):"macroTask"==r.change&&(t.hasPendingMacrotasks=r.macroTask))},onHandleError:function(e,n,i,r){return e.handleError(i,r),t.runOutsideAngular(function(){return t.onError.emit(r)}),!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,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,e,ii,ni,ni);try{return r.runTask(o,t,n)}finally{r.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 ni(){}var ii={};function ri(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 oi(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function ai(e){e._nesting--,ri(e)}var si,li=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new mn,this.onMicrotaskEmpty=new mn,this.onStable=new mn,this.onError=new mn}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}(),ui=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(){ti.assertNotInAngularZone(),De(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())De(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 i=this,r=-1;t&&t>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,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}(),ci=function(){function e(){this._applications=new Map,di.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),di.findTestabilityInTree(this,e,t)},a([s("design:paramtypes",[])],e)}(),di=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}()),hi=new Se("AllowMultipleToken"),pi=function(){return function(e,t){this.name=e,this.token=t}}();function fi(e,t,n){void 0===n&&(n=[]);var i="Platform: "+t,r=new Se(i);return function(t){void 0===t&&(t=[]);var o=mi();if(!o||o.injector.get(hi,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var a=n.concat(t).concat({provide:r,useValue:!0});!function(e){if(si&&!si.destroyed&&!si.injector.get(hi,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");si=e.get(gi);var t=e.get(jn,null);t&&t.forEach(function(e){return e()})}(ut.create({providers:a,name:i}))}return function(e){var t=mi();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}(r)}}function mi(){return si&&!si.destroyed?si:null}var gi=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n,i=this,r="noop"===(n=t?t.ngZone:void 0)?new li:("zone.js"===n?void 0:n)||new ti({enableLongStackTrace:qt()}),o=[{provide:ti,useValue:r}];return r.run(function(){var t=ut.create({providers:o,parent:i.injector,name:e.moduleType.name}),n=e.create(t),a=n.injector.get(In,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return bi(i._modules,n)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){a.handleError(e)}})}),function(e,t,r){try{var o=((a=n.injector.get(Rn)).runInitializers(),a.donePromise.then(function(){return i._moduleDoBootstrap(n),n}));return Pn(o)?o.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):o}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var a}(a,r)})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var i=vi({},t);return function(e,t,n){return e.get(Qn).createCompiler([t]).compileModuleAsync(n)}(this.injector,i,e).then(function(e){return n.bootstrapModuleFactory(e,i)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(yi);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+je(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 vi(e,t){return Array.isArray(t)?t.reduce(vi,e):o({},e,t)}var yi=function(){function e(e,t,n,i,r,o){var a=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qt(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new I(function(e){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){e.next(a._stable),e.complete()})}),l=new I(function(e){var t;a._zone.runOutsideAngular(function(){t=a._zone.onStable.subscribe(function(){ti.assertNotInAngularZone(),De(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,e.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){ti.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=se(s,l.pipe(me()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,i=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 xt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=n instanceof At?null:this._injector.get(Mt),o=n.create(ut.NULL,[],t||n.selector,r);o.onDestroy(function(){i._unloadComponent(o)});var a=o.injector.get(ui,null);return a&&o.injector.get(ci).registerApplication(o.location.nativeElement,a),this._loadComponent(o),qt()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},e.prototype.tick=function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=t._tickScope();try{this._runningTick=!0,this._views.forEach(function(e){return e.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(e){return e.checkNoChanges()})}catch(i){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(i)})}finally{this._runningTick=!1,ei(n)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;bi(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Fn,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),bi(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=$n("ApplicationRef#tick()"),e}();function bi(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var _i=function(){function e(){this.dirty=!0,this._results=[],this.changes=new mn,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[Ne()]=function(){return this._results[Ne()]()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=function e(t){return t.reduce(function(t,n){var i=Array.isArray(n)?e(n):n;return t.concat(i)},[])}(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}(),wi=function(){return function(){}}(),Si={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Ci=function(){function e(e,t){this._compiler=e,this._config=t||Si}return e.prototype.load=function(e){return this._compiler instanceof Zn?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,i=u(e.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),n("crnd")(r).then(function(e){return e[o]}).then(function(e){return Ei(e,r,o)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=u(e.split("#"),2),i=t[0],r=t[1],o="NgFactory";return void 0===r&&(r="default",o=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(e){return e[r+o]}).then(function(e){return Ei(e,i,r)})},e}();function Ei(e,t,n){if(!e)throw new Error("Cannot find '"+n+"' in '"+t+"'");return e}var xi=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Oi(e,Nt)},e}(),Oi=rt,ki=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Ti()},e}(),Ti=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Ii=function(){return function(e,t){this.name=e,this.callback=t}}(),Pi=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Ai&&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}(),Ai=function(e){function t(t,n,i){var r=e.call(this,t,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=t,r}return r(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,i=this,r=this.childNodes.indexOf(e);-1!==r&&((n=this.childNodes).splice.apply(n,c([r+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=i}))},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,i){t.childNodes.forEach(function(t){t instanceof Ai&&(n(t)&&i.push(t),e(t,n,i))})}(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return function e(t,n,i){t instanceof Ai&&t.childNodes.forEach(function(t){n(t)&&i.push(t),t instanceof Ai&&e(t,n,i)})}(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}(Pi),Mi=new Map,Ri=function(e){return Mi.get(e)||null};function Ni(e){Mi.set(e.nativeNode,e)}var Di=function(){function e(){}return e.prototype.supports=function(e){return nt(e)},e.prototype.create=function(e){return new ji(e)},e}(),Li=function(e,t){return t},ji=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||Li}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,i=0,r=null;t||n;){var o=!n||t&&t.currentIndex<Bi(n,i,r)?t:n,a=Bi(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)i++;else{r||(r=[]);var l=a-i,u=s-i;if(l!=u){for(var c=0;c<l;c++){var d=c<r.length?r[c]:r[c]=0,h=d+c;u<=h&&h<l&&(r[c]=d+1)}r[o.previousIndex]=u-l}}a!==s&&e(o,a,s)}},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=[]),!nt(e))throw new Error("Error trying to diff '"+je(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,i,r,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,i=e[s]),null!==o&&Le(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),Le(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,s),a=!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 i=e[Ne()](),r=void 0;!(r=i.next()).done;)t(r.value)}(e,function(e){r=t._trackByFn(n,e),null!==o&&Le(o.trackById,r)?(a&&(o=t._verifyReinsertion(o,e,r,n)),Le(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,r,n),a=!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,i){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Le(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Le(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):e=this._addAfter(new Vi(t,n),r,i),e},e.prototype._verifyReinsertion=function(e,t,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),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 i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,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 i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Ui),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 Ui),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}(),Vi=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}}(),Fi=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)&&Le(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}(),Ui=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 Fi,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 Bi(e,t,n){var i=e.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var zi=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||it(e)},e.prototype.create=function(){return new Hi},e}(),Hi=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||it(e)))throw new Error("Error trying to diff '"+je(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,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._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 i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var o=new Wi(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){Le(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}(),Wi=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}}(),Gi=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var i=n.factories.slice();t=t.concat(i)}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 qe,new We]]}},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=_e({providedIn:"root",factory:function(){return new e([new Di])}}),e}(),qi=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var i=n.factories.slice();t=t.concat(i)}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 qe,new We]]}},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=_e({providedIn:"root",factory:function(){return new e([new zi])}}),e}(),Yi=[new zi],Zi=new Gi([new Di]),Qi=new qi(Yi),Ki=fi(null,"core",[{provide:Vn,useValue:"unknown"},{provide:gi,deps:[ut]},{provide:ci,deps:[]},{provide:Un,deps:[]}]),Xi=new Se("LocaleId");function Ji(){return Zi}function $i(){return Qi}function er(e){return e||"en-US"}var tr=function(){return function(e){}}();function nr(e,t,n){var i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function ir(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function rr(e,t){return e.nodes[t]}function or(e,t){return e.nodes[t]}function ar(e,t){return e.nodes[t]}function sr(e,t){return e.nodes[t]}function lr(e,t){return e.nodes[t]}var ur={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0};function cr(e,t,n,i){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return i&&(r+=" 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 dr(n,t),n}(r,e)}function dr(e,t){e[Cn]=t,e[xn]=t.logError.bind(t)}function hr(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}var pr=function(){},fr=new Map;function mr(e){var t=fr.get(e);return t||(t=je(e)+"_"+fr.size,fr.set(e,t)),t}function gr(e,t,n,i){if(et.isWrapped(i)){i=et.unwrap(i);var r=e.def.nodes[t].bindingIndex+n,o=et.unwrap(e.oldValues[r]);e.oldValues[r]=new et(o)}return i}var vr="$$undefined",yr="$$empty";function br(e){return{id:vr,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var _r=0;function wr(e,t,n,i){return!(!(2&e.state)&&Le(e.oldValues[t.bindingIndex+n],i))}function Sr(e,t,n,i){return!!wr(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function Cr(e,t,n,i){var r=e.oldValues[t.bindingIndex+n];if(1&e.state||!$e(r,i)){var o=t.bindings[n].name;throw cr(ur.createDebugContext(e,t.nodeIndex),o+": "+r,o+": "+i,0!=(1&e.state))}}function Er(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function xr(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Or(e,t,n,i){try{return Er(33554432&e.def.nodes[t].flags?or(e,t).componentView:e),ur.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function kr(e){return e.parent?or(e.parent,e.parentNodeDef.nodeIndex):null}function Tr(e){return e.parent?e.parentNodeDef.parent:null}function Ir(e,t){switch(201347067&t.flags){case 1:return or(e,t.nodeIndex).renderElement;case 2:return rr(e,t.nodeIndex).renderText}}function Pr(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Ar(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Mr(e){return 1<<e%32}function Rr(e){var t={},n=0,i={};return e&&e.forEach(function(e){var r=u(e,2),o=r[0],a=r[1];"number"==typeof o?(t[o]=a,n|=Mr(o)):i[o]=a}),{matchedQueries:t,references:i,matchedQueryIds:n}}function Nr(e,t){return e.map(function(e){var n,i,r;return Array.isArray(e)?(r=(n=u(e,2))[0],i=n[1]):(r=0,i=e),i&&("function"==typeof i||"object"==typeof i)&&t&&Object.defineProperty(i,ot,{value:t,configurable:!0}),{flags:r,token:i,tokenKey:mr(i)}})}function Dr(e,t,n){var i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===ze.Native?or(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Lr=new WeakMap;function jr(e){var t=Lr.get(e);return t||((t=e(function(){return pr})).factory=e,Lr.set(e,t)),t}function Vr(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(Ir(e,e.def.lastRenderRootNode))),Fr(e,t,0,e.def.nodes.length-1,n,i,r)}function Fr(e,t,n,i,r,o,a){for(var s=n;s<=i;s++){var l=e.def.nodes[s];11&l.flags&&Br(e,l,t,r,o,a),s+=l.childCount}}function Ur(e,t,n,i,r,o){for(var a=e;a&&!Pr(a);)a=a.parent;for(var s=a.parent,l=Tr(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var d=s.def.nodes[c];d.ngContentIndex===t&&Br(s,d,n,i,r,o),c+=d.childCount}if(!s.parent){var h=e.root.projectableNodes[t];if(h)for(c=0;c<h.length;c++)zr(e,h[c],n,i,r,o)}}function Br(e,t,n,i,r,o){if(8&t.flags)Ur(e,t.ngContent.index,n,i,r,o);else{var a=Ir(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&zr(e,a,n,i,r,o),32&t.bindingFlags&&zr(or(e,t.nodeIndex).componentView,a,n,i,r,o)):zr(e,a,n,i,r,o),16777216&t.flags)for(var s=or(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)Vr(s[l],n,i,r,o);1&t.flags&&!t.element.name&&Fr(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,o)}}function zr(e,t,n,i,r,o){var a=e.renderer;switch(n){case 1:a.appendChild(i,t);break;case 2:a.insertBefore(i,t,r);break;case 3:a.removeChild(i,t);break;case 0:o.push(t)}}var Hr=/^:([^:]+):(.+)$/;function Wr(e){if(":"===e[0]){var t=e.match(Hr);return[t[1],t[2]]}return["",e]}function Gr(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function qr(e,t,n,i,r,o,a,s,l,u,c,d,h,p,f,m,g,v,y,b){switch(e){case 1:return t+Yr(n)+i;case 2:return t+Yr(n)+i+Yr(r)+o;case 3:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s;case 4:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u;case 5:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u+Yr(c)+d;case 6:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u+Yr(c)+d+Yr(h)+p;case 7:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u+Yr(c)+d+Yr(h)+p+Yr(f)+m;case 8:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u+Yr(c)+d+Yr(h)+p+Yr(f)+m+Yr(g)+v;case 9:return t+Yr(n)+i+Yr(r)+o+Yr(a)+s+Yr(l)+u+Yr(c)+d+Yr(h)+p+Yr(f)+m+Yr(g)+v+Yr(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function Yr(e){return null!=e?e.toString():""}function Zr(e,t,n,i,r,o){e|=1;var a=Rr(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:a.matchedQueries,matchedQueryIds:a.matchedQueryIds,references:a.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?jr(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||pr},provider:null,text:null,query:null,ngContent:null}}function Qr(e,t,n,i,r,o,a,s,l,c,d,h){var p;void 0===a&&(a=[]),c||(c=pr);var f=Rr(n),m=f.matchedQueries,g=f.references,v=f.matchedQueryIds,y=null,b=null;o&&(y=(p=u(Wr(o),2))[0],b=p[1]),s=s||[];for(var _=new Array(s.length),w=0;w<s.length;w++){var S=u(s[w],3),C=S[0],E=S[2],x=u(Wr(S[1]),2),O=x[0],k=x[1],T=void 0,I=void 0;switch(15&C){case 4:I=E;break;case 1:case 8:T=E}_[w]={flags:C,ns:O,name:k,nonMinifiedName:k,securityContext:T,suffix:I}}l=l||[];var P=new Array(l.length);for(w=0;w<l.length;w++){var A=u(l[w],2);P[w]={type:0,target:A[0],eventName:A[1],propName:null}}var M=(a=a||[]).map(function(e){var t=u(e,2),n=t[1],i=u(Wr(t[0]),2);return[i[0],i[1],n]});return h=function(e){if(e&&e.id===vr){var t=null!=e.encapsulation&&e.encapsulation!==ze.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c"+_r++:yr}return e&&e.id===yr&&(e=null),e||null}(h),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:i,childCount:r,bindings:_,bindingFlags:Gr(_),outputs:P,element:{ns:y,name:b,attrs:M,template:null,componentProvider:null,componentView:d||null,componentRendererType:h,publicProviders:null,allProviders:null,handleEvent:c||pr},provider:null,text:null,query:null,ngContent:null}}function Kr(e,t,n){var i,r=n.element,o=e.root.selectorOrNode,a=e.renderer;if(e.parent||!o){i=r.name?a.createElement(r.name,r.ns):a.createComment("");var s=Dr(e,t,n);s&&a.appendChild(s,i)}else i=a.selectRootElement(o,!!r.componentRendererType&&r.componentRendererType.encapsulation===ze.ShadowDom);if(r.attrs)for(var l=0;l<r.attrs.length;l++){var c=u(r.attrs[l],3);a.setAttribute(i,c[1],c[2],c[0])}return i}function Xr(e,t,n,i){for(var r=0;r<n.outputs.length;r++){var o=n.outputs[r],a=Jr(e,n.nodeIndex,(d=o.eventName,(c=o.target)?c+":"+d:d)),s=o.target,l=e;"component"===o.target&&(s=null,l=t);var u=l.renderer.listen(s||i,o.eventName,a);e.disposables[n.outputIndex+r]=u}var c,d}function Jr(e,t,n){return function(i){return Or(e,t,n,i)}}function $r(e,t,n,i){if(!Sr(e,t,n,i))return!1;var r=t.bindings[n],o=or(e,t.nodeIndex),a=o.renderElement,s=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,o){var a=t.securityContext,s=a?e.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=e.renderer;null!=o?l.setAttribute(n,r,s,i):l.removeAttribute(n,r,i)}(e,r,a,r.ns,s,i);break;case 2:!function(e,t,n,i){var r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,a,s,i);break;case 4:!function(e,t,n,i,r){var o=e.root.sanitizer.sanitize(Bt.STYLE,r);if(null!=o){o=o.toString();var a=t.suffix;null!=a&&(o+=a)}else o=null;var s=e.renderer;null!=o?s.setStyle(n,i,o):s.removeStyle(n,i)}(e,r,a,s,i);break;case 8:!function(e,t,n,i,r){var o=t.securityContext,a=o?e.root.sanitizer.sanitize(o,r):r;e.renderer.setProperty(n,i,a)}(33554432&t.flags&&32&r.flags?o.componentView:e,r,a,s,i)}return!0}var eo=new Object,to=mr(ut),no=mr(st),io=mr(Mt);function ro(e,t,n,i){return n=Ue(n),{index:-1,deps:Nr(i,je(t)),flags:e,token:t,value:n}}function oo(e,t,n){void 0===n&&(n=ut.THROW_IF_NOT_FOUND);var i,r,o=Qe(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 a=t.tokenKey;switch(a){case to:case no:case io:return e}var s,l=e._def.providersByKey[a];if(l){var u=e._providers[l.index];return void 0===u&&(u=e._providers[l.index]=ao(e,l)),u===eo?void 0:u}if((s=we(t.token))&&(i=e,null!=(r=s).providedIn&&(function(e,t){return e._def.modules.indexOf(r.providedIn)>-1}(i)||"root"===r.providedIn&&i._def.isRoot))){var c=e._providers.length;return e._def.providersByKey[t.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:t.token},e._providers[c]=eo,e._providers[c]=ao(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Qe(o)}}function ao(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(oo(e,n[0]));case 2:return new t(oo(e,n[0]),oo(e,n[1]));case 3:return new t(oo(e,n[0]),oo(e,n[1]),oo(e,n[2]));default:for(var r=new Array(i),o=0;o<i;o++)r[o]=oo(e,n[o]);return new(t.bind.apply(t,c([void 0],r)))}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var i=n.length;switch(i){case 0:return t();case 1:return t(oo(e,n[0]));case 2:return t(oo(e,n[0]),oo(e,n[1]));case 3:return t(oo(e,n[0]),oo(e,n[1]),oo(e,n[2]));default:for(var r=Array(i),o=0;o<i;o++)r[o]=oo(e,n[o]);return t.apply(void 0,c(r))}}(e,t.value,t.deps);break;case 2048:n=oo(e,t.deps[0]);break;case 256:n=t.value}return n===eo||null==n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?eo:n}function so(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var i=n[t];return i.viewContainerParent=null,ho(n,t),ur.dirtyParentQueries(i),uo(i),i}function lo(e,t,n){var i=t?Ir(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);Vr(n,2,r,o,void 0)}function uo(e){Vr(e,3,null,null,void 0)}function co(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ho(e,t){t>=e.length-1?e.pop():e.splice(t,1)}var po=new Object;function fo(e,t,n,i,r,o){return new mo(e,t,n,i,r,o)}var mo=function(e){function t(t,n,i,r,o,a){var s=e.call(this)||this;return s.selector=t,s.componentType=n,s._inputs=r,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=i,s}return r(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,i){if(!i)throw new Error("ngModule should be provided");var r=jr(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,a=ur.createRootView(e,t||[],n,r,i,po),s=ar(a,o).instance;return n&&a.renderer.setAttribute(or(a,0).renderElement,"ng-version",Ht.full),new go(a,new _o(a),s)},t}(xt),go=function(e){function t(t,n,i){var r=e.call(this)||this;return r._view=t,r._viewRef=n,r._component=i,r._elDef=r._view.def.nodes[0],r.hostView=n,r.changeDetectorRef=n,r.instance=i,r}return r(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new Nt(or(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Eo(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}(Et);function vo(e,t,n){return new yo(e,t,n)}var yo=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 Nt(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Eo(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=Tr(e),e=e.parent;return e?new Eo(e,t):new Eo(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=so(this._data,e);ur.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new _o(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 i=e.createEmbeddedView(t||{});return this.insert(i,n),i},e.prototype.createComponent=function(e,t,n,i,r){var o=n||this.parentInjector;r||e instanceof At||(r=o.get(Mt));var a=e.create(o,i,void 0,r);return this.insert(a.hostView,t),a},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,a=e;return o=(n=this._data).viewContainer._embeddedViews,null==(i=t)&&(i=o.length),(r=a._view).viewContainerParent=this._view,co(o,i,r),function(e,t){var n=kr(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,n){if(!(4&n.flags)){t.parent.def.nodeFlags|=4,n.flags|=4;for(var i=n.parent;i;)i.childFlags|=4,i=i.parent}}(0,t.parentNodeDef)}}(n,r),ur.dirtyParentQueries(r),lo(n,i>0?o[i-1]:null,r),a.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,i,r,o,a,s=this._embeddedViews.indexOf(e._view);return r=t,a=(o=(n=this._data).viewContainer._embeddedViews)[i=s],ho(o,i),null==r&&(r=o.length),co(o,r,a),ur.dirtyParentQueries(a),uo(a),lo(n,r>0?o[r-1]:null,a),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=so(this._data,e);t&&ur.destroyView(t)},e.prototype.detach=function(e){var t=so(this._data,e);return t?new _o(t):null},e}();function bo(e){return new _o(e)}var _o=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return Vr(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(){Er(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{ur.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){ur.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)),ur.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,uo(this._view),ur.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 wo(e,t){return new So(e,t)}var So=function(e){function t(t,n){var i=e.call(this)||this;return i._parentView=t,i._def=n,i}return r(t,e),t.prototype.createEmbeddedView=function(e){return new _o(ur.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new Nt(or(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(gn);function Co(e,t){return new Eo(e,t)}var Eo=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=ut.THROW_IF_NOT_FOUND),ur.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:mr(e)},t)},e}();function xo(e,t){var n=e.def.nodes[t];if(1&n.flags){var i=or(e,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return rr(e,n.nodeIndex).renderText;if(20240&n.flags)return ar(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+t)}function Oo(e){return new ko(e.renderer)}var ko=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(Wr(t),2),i=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,i),i},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),i=this.delegate.nextSibling(e),r=0;r<t.length;r++)this.delegate.insertBefore(n,t[r],i)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=this.delegate.parentNode(n);this.delegate.removeChild(i,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 i=u(Wr(t),2),r=i[0],o=i[1];null!=n?this.delegate.setAttribute(e,o,n,r):this.delegate.removeAttribute(e,o,r)},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 To(e,t,n,i){return new Io(e,t,n,i)}var Io=function(){function e(e,t,n,i){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),i=0;i<t.providers.length;i++){var r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=ao(e,r))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=ut.THROW_IF_NOT_FOUND),void 0===n&&(n=Ye.Default);var i=0;return n&Ye.SkipSelf?i|=1:n&Ye.Self&&(i|=4),oo(this,{token:e,tokenKey:mr(e),flags:i},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(It)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+je(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(e,t){for(var n=e._def,i=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var o=e._providers[r];if(o&&o!==eo){var a=o.ngOnDestroy;"function"!=typeof a||i.has(o)||(a.apply(o),i.add(o))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Po=mr(Lt),Ao=mr(Ft),Mo=mr(Nt),Ro=mr(xi),No=mr(gn),Do=mr(ki),Lo=mr(ut),jo=mr(st);function Vo(e,t,n,i,r,o,a,s){var l=[];if(a)for(var c in a){var d=u(a[c],2);l[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var h=[];if(s)for(var p in s)h.push({type:1,propName:p,target:null,eventName:s[p]});return Bo(e,t|=16384,n,i,r,r,o,l,h)}function Fo(e,t,n){return Bo(-1,e|=16,null,0,t,t,n)}function Uo(e,t,n,i,r){return Bo(-1,e,t,0,n,i,r)}function Bo(e,t,n,i,r,o,a,s,l){var u=Rr(n),c=u.matchedQueries,d=u.references,h=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=Ue(o);var p=Nr(a,je(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:h,references:d,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:Gr(s),outputs:l,element:null,provider:{token:r,value:o,deps:p},text:null,query:null,ngContent:null}}function zo(e,t){return qo(e,t)}function Ho(e,t){for(var n=e;n.parent&&!Pr(n);)n=n.parent;return Yo(n.parent,Tr(n),!0,t.provider.value,t.provider.deps)}function Wo(e,t){var n=Yo(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var r=t.outputs[i],o=n[r.propName];if(!An(o))throw new Error("@Output "+r.propName+" not initialized in '"+n.constructor.name+"'.");var a=o.subscribe(Go(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+i]=a.unsubscribe.bind(a)}return n}function Go(e,t,n){return function(i){return Or(e,t,n,i)}}function qo(e,t){var n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return Yo(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){var o=r.length;switch(o){case 0:return i();case 1:return i(Qo(e,t,n,r[0]));case 2:return i(Qo(e,t,n,r[0]),Qo(e,t,n,r[1]));case 3:return i(Qo(e,t,n,r[0]),Qo(e,t,n,r[1]),Qo(e,t,n,r[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=Qo(e,t,n,r[s]);return i.apply(void 0,c(a))}}(e,t.parent,n,i.value,i.deps);case 2048:return Qo(e,t.parent,n,i.deps[0]);case 256:return i.value}}function Yo(e,t,n,i,r){var o=r.length;switch(o){case 0:return new i;case 1:return new i(Qo(e,t,n,r[0]));case 2:return new i(Qo(e,t,n,r[0]),Qo(e,t,n,r[1]));case 3:return new i(Qo(e,t,n,r[0]),Qo(e,t,n,r[1]),Qo(e,t,n,r[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=Qo(e,t,n,r[s]);return new(i.bind.apply(i,c([void 0],a)))}}var Zo={};function Qo(e,t,n,i,r){if(void 0===r&&(r=ut.THROW_IF_NOT_FOUND),8&i.flags)return i.token;var o=e;2&i.flags&&(r=null);var a=i.tokenKey;a===Do&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(a){case Po:return Oo(Ko(s,t,n));case Ao:return Ko(s,t,n).renderer;case Mo:return new Nt(or(s,t.nodeIndex).renderElement);case Ro:return or(s,t.nodeIndex).viewContainer;case No:if(t.element.template)return or(s,t.nodeIndex).template;break;case Do:return bo(Ko(s,t,n));case Lo:case jo:return Co(s,t);default:var l=(n?t.element.allProviders:t.element.publicProviders)[a];if(l){var u=ar(s,l.nodeIndex);return u||(u={instance:qo(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=Pr(s),t=Tr(s),s=s.parent,4&i.flags&&(s=null)}var c=o.root.injector.get(i.token,Zo);return c!==Zo||r===Zo?c:o.root.ngModule.injector.get(i.token,r)}function Ko(e,t,n){var i;if(n)i=or(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!Pr(i);)i=i.parent;return i}function Xo(e,t,n,i,r,o){if(32768&n.flags){var a=or(e,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};var s=et.unwrap(e.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new tt(s,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,o}function Jo(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,i=0,r=0;r<n.length;r++){var o=n[r],a=o.parent;for(!a&&o.flags&t&&ea(e,r,o.flags&t,i++),0==(o.childFlags&t)&&(r+=o.childCount);a&&1&a.flags&&r===a.nodeIndex+a.childCount;)a.directChildFlags&t&&(i=$o(e,a,t,i)),a=a.parent}}function $o(e,t,n,i){for(var r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){var o=e.def.nodes[r];o.flags&n&&ea(e,r,o.flags&n,i++),r+=o.childCount}return i}function ea(e,t,n,i){var r=ar(e,t);if(r){var o=r.instance;o&&(ur.setCurrentNode(e,t),1048576&n&&ir(e,512,i)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&ir(e,768,i)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function ta(e,t,n){var i=[];for(var r in n)i.push({propName:r,bindingType:n[r]});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:Mr(t),bindings:i},ngContent:null}}function na(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Ar(e);){var n=e.parentNodeDef;e=e.parent;for(var i=n.nodeIndex+n.childCount,r=0;r<=i;r++)67108864&(o=e.def.nodes[r]).flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&lr(e,r).setDirty(),!(1&o.flags&&r+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(r+=o.childCount)}if(134217728&e.def.nodeFlags)for(r=0;r<e.def.nodes.length;r++){var o;134217728&(o=e.def.nodes[r]).flags&&536870912&o.flags&&lr(e,r).setDirty(),r+=o.childCount}}function ia(e,t){var n=lr(e,t.nodeIndex);if(n.dirty){var i,r=void 0;if(67108864&t.flags){var o=t.parent.parent;r=ra(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),i=ar(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=ra(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r);for(var a=t.query.bindings,s=!1,l=0;l<a.length;l++){var u=a[l],c=void 0;switch(u.bindingType){case 0:c=n.first;break;case 1:c=n,s=!0}i[u.propName]=c}s&&n.notifyOnChanges()}}function ra(e,t,n,i,r){for(var o=t;o<=n;o++){var a=e.def.nodes[o],s=a.matchedQueries[i.id];if(null!=s&&r.push(oa(e,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&i.filterId)===i.filterId){var l=or(e,o);if((a.childMatchedQueries&i.filterId)===i.filterId&&(ra(e,o+1,o+a.childCount,i,r),o+=a.childCount),16777216&a.flags)for(var u=l.viewContainer._embeddedViews,c=0;c<u.length;c++){var d=u[c],h=kr(d);h&&h===l&&ra(d,0,d.def.nodes.length-1,i,r)}var p=l.template._projectedViews;if(p)for(c=0;c<p.length;c++){var f=p[c];ra(f,0,f.def.nodes.length-1,i,r)}}(a.childMatchedQueries&i.filterId)!==i.filterId&&(o+=a.childCount)}return r}function oa(e,t,n){if(null!=n)switch(n){case 1:return or(e,t.nodeIndex).renderElement;case 0:return new Nt(or(e,t.nodeIndex).renderElement);case 2:return or(e,t.nodeIndex).template;case 3:return or(e,t.nodeIndex).viewContainer;case 4:return ar(e,t.nodeIndex).instance}}function aa(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 sa(e,t,n){var i=Dr(e,t,n);i&&Ur(e,n.ngContent.index,1,i,null,void 0)}function la(e,t){for(var n=Object.keys(t),i=n.length,r=new Array(i),o=0;o<i;o++){var a=n[o];r[t[a]]=a}return ua(64,e,r)}function ua(e,t,n){for(var i=new Array(n.length),r=0;r<n.length;r++){var o=n[r];i[r]={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:i,bindingFlags:Gr(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function ca(e,t,n){for(var i=new Array(n.length-1),r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};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:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function da(e,t,n){var i,r=e.renderer;i=r.createText(n.text.prefix);var o=Dr(e,t,n);return o&&r.appendChild(o,i),{renderText:i}}function ha(e,t){return(null!=e?e.toString():"")+t.suffix}function pa(e,t,n,i){for(var r=0,o=0,a=0,s=0,l=0,u=null,c=null,d=!1,h=!1,p=null,f=0;f<t.length;f++){var m=t[f];if(m.nodeIndex=f,m.parent=u,m.bindingIndex=r,m.outputIndex=o,m.renderParent=c,a|=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,h=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if(ma(u,m,t.length),r+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(p=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[mr(m.provider.token)]=m:(h||(h=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[mr(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)):s|=m.flags,m.childCount>0)u=m,fa(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)&&fa(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||pr,updateRenderer:i||pr,handleEvent:function(e,n,i,r){return t[n].element.handleEvent(e,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:p}}function fa(e){return 0!=(1&e.flags)&&null===e.element.name}function ma(e,t,n){var i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.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 r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+t.nodeIndex+"!")}}function ga(e,t,n,i){var r=ba(e.root,e.renderer,e,t,n);return _a(r,e.component,i),wa(r),r}function va(e,t,n){var i=ba(e,e.renderer,null,null,t);return _a(i,n,n),wa(i),i}function ya(e,t,n,i){var r,o=t.element.componentRendererType;return r=o?e.root.rendererFactory.createRenderer(i,o):e.root.renderer,ba(e.root,r,e,t.element.componentProvider,n)}function ba(e,t,n,i,r){var o=new Array(r.nodes.length),a=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function _a(e,t,n){e.component=t,e.context=n}function wa(e){var t;Pr(e)&&(t=or(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,i=e.nodes,r=0;r<n.nodes.length;r++){var o=n.nodes[r];ur.setCurrentNode(e,r);var a=void 0;switch(201347067&o.flags){case 1:var s=Kr(e,t,o),l=void 0;if(33554432&o.flags){var u=jr(o.element.componentView);l=ur.createComponentView(e,o,u,s)}Xr(e,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?wo(e,o):void 0},16777216&o.flags&&(a.viewContainer=vo(e,o,a));break;case 2:a=da(e,t,o);break;case 512:case 1024:case 2048:case 256:(a=i[r])||4096&o.flags||(a={instance:zo(e,o)});break;case 16:a={instance:Ho(e,o)};break;case 16384:(a=i[r])||(a={instance:Wo(e,o)}),32768&o.flags&&_a(or(e,o.parent.nodeIndex).componentView,a.instance,a.instance);break;case 32:case 64:case 128:a={value:void 0};break;case 67108864:case 134217728:a=new _i;break;case 8:sa(e,t,o),a=void 0}i[r]=a}Pa(e,Ia.CreateViewNodes),Na(e,201326592,268435456,0)}function Sa(e){xa(e),ur.updateDirectives(e,1),Aa(e,Ia.CheckNoChanges),ur.updateRenderer(e,1),Pa(e,Ia.CheckNoChanges),e.state&=-97}function Ca(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,nr(e,0,256),xa(e),ur.updateDirectives(e,0),Aa(e,Ia.CheckAndUpdate),Na(e,67108864,536870912,0);var t=nr(e,256,512);Jo(e,2097152|(t?1048576:0)),ur.updateRenderer(e,0),Pa(e,Ia.CheckAndUpdate),Na(e,134217728,536870912,0),Jo(e,8388608|((t=nr(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,nr(e,768,1024)}function Ea(e,t,n,i,r,o,a,s,l,u,d,h,p){return 0===n?function(e,t,n,i,r,o,a,s,l,u,c,d){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,o,a,s,l,u,c,d){var h=t.bindings.length,p=!1;return h>0&&$r(e,t,0,n)&&(p=!0),h>1&&$r(e,t,1,i)&&(p=!0),h>2&&$r(e,t,2,r)&&(p=!0),h>3&&$r(e,t,3,o)&&(p=!0),h>4&&$r(e,t,4,a)&&(p=!0),h>5&&$r(e,t,5,s)&&(p=!0),h>6&&$r(e,t,6,l)&&(p=!0),h>7&&$r(e,t,7,u)&&(p=!0),h>8&&$r(e,t,8,c)&&(p=!0),h>9&&$r(e,t,9,d)&&(p=!0),p}(e,t,n,i,r,o,a,s,l,u,c,d);case 2:return function(e,t,n,i,r,o,a,s,l,u,c,d){var h=!1,p=t.bindings,f=p.length;if(f>0&&Sr(e,t,0,n)&&(h=!0),f>1&&Sr(e,t,1,i)&&(h=!0),f>2&&Sr(e,t,2,r)&&(h=!0),f>3&&Sr(e,t,3,o)&&(h=!0),f>4&&Sr(e,t,4,a)&&(h=!0),f>5&&Sr(e,t,5,s)&&(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=t.text.prefix;f>0&&(m+=ha(n,p[0])),f>1&&(m+=ha(i,p[1])),f>2&&(m+=ha(r,p[2])),f>3&&(m+=ha(o,p[3])),f>4&&(m+=ha(a,p[4])),f>5&&(m+=ha(s,p[5])),f>6&&(m+=ha(l,p[6])),f>7&&(m+=ha(u,p[7])),f>8&&(m+=ha(c,p[8])),f>9&&(m+=ha(d,p[9]));var g=rr(e,t.nodeIndex).renderText;e.renderer.setValue(g,m)}return h}(e,t,n,i,r,o,a,s,l,u,c,d);case 16384:return function(e,t,n,i,r,o,a,s,l,u,c,d){var h=ar(e,t.nodeIndex),p=h.instance,f=!1,m=void 0,g=t.bindings.length;return g>0&&wr(e,t,0,n)&&(f=!0,m=Xo(e,h,t,0,n,m)),g>1&&wr(e,t,1,i)&&(f=!0,m=Xo(e,h,t,1,i,m)),g>2&&wr(e,t,2,r)&&(f=!0,m=Xo(e,h,t,2,r,m)),g>3&&wr(e,t,3,o)&&(f=!0,m=Xo(e,h,t,3,o,m)),g>4&&wr(e,t,4,a)&&(f=!0,m=Xo(e,h,t,4,a,m)),g>5&&wr(e,t,5,s)&&(f=!0,m=Xo(e,h,t,5,s,m)),g>6&&wr(e,t,6,l)&&(f=!0,m=Xo(e,h,t,6,l,m)),g>7&&wr(e,t,7,u)&&(f=!0,m=Xo(e,h,t,7,u,m)),g>8&&wr(e,t,8,c)&&(f=!0,m=Xo(e,h,t,8,c,m)),g>9&&wr(e,t,9,d)&&(f=!0,m=Xo(e,h,t,9,d,m)),m&&p.ngOnChanges(m),65536&t.flags&&ir(e,256,t.nodeIndex)&&p.ngOnInit(),262144&t.flags&&p.ngDoCheck(),f}(e,t,n,i,r,o,a,s,l,u,c,d);case 32:case 64:case 128:return function(e,t,n,i,r,o,a,s,l,u,c,d){var h=t.bindings,p=!1,f=h.length;if(f>0&&Sr(e,t,0,n)&&(p=!0),f>1&&Sr(e,t,1,i)&&(p=!0),f>2&&Sr(e,t,2,r)&&(p=!0),f>3&&Sr(e,t,3,o)&&(p=!0),f>4&&Sr(e,t,4,a)&&(p=!0),f>5&&Sr(e,t,5,s)&&(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=sr(e,t.nodeIndex),g=void 0;switch(201347067&t.flags){case 32:g=new Array(h.length),f>0&&(g[0]=n),f>1&&(g[1]=i),f>2&&(g[2]=r),f>3&&(g[3]=o),f>4&&(g[4]=a),f>5&&(g[5]=s),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[h[0].name]=n),f>1&&(g[h[1].name]=i),f>2&&(g[h[2].name]=r),f>3&&(g[h[3].name]=o),f>4&&(g[h[4].name]=a),f>5&&(g[h[5].name]=s),f>6&&(g[h[6].name]=l),f>7&&(g[h[7].name]=u),f>8&&(g[h[8].name]=c),f>9&&(g[h[9].name]=d);break;case 128:var v=n;switch(f){case 1:g=v.transform(n);break;case 2:g=v.transform(i);break;case 3:g=v.transform(i,r);break;case 4:g=v.transform(i,r,o);break;case 5:g=v.transform(i,r,o,a);break;case 6:g=v.transform(i,r,o,a,s);break;case 7:g=v.transform(i,r,o,a,s,l);break;case 8:g=v.transform(i,r,o,a,s,l,u);break;case 9:g=v.transform(i,r,o,a,s,l,u,c);break;case 10:g=v.transform(i,r,o,a,s,l,u,c,d)}}m.value=g}return p}(e,t,n,i,r,o,a,s,l,u,c,d);default:throw"unreachable"}}(e,t,i,r,o,a,s,l,u,d,h,p):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var i=!1,r=0;r<n.length;r++)$r(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){for(var i=t.bindings,r=!1,o=0;o<n.length;o++)Sr(e,t,o,n[o])&&(r=!0);if(r){var a="";for(o=0;o<n.length;o++)a+=ha(n[o],i[o]);a=t.text.prefix+a;var s=rr(e,t.nodeIndex).renderText;e.renderer.setValue(s,a)}return r}(e,t,n);case 16384:return function(e,t,n){for(var i=ar(e,t.nodeIndex),r=i.instance,o=!1,a=void 0,s=0;s<n.length;s++)wr(e,t,s,n[s])&&(o=!0,a=Xo(e,i,t,s,n[s],a));return a&&r.ngOnChanges(a),65536&t.flags&&ir(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var i=t.bindings,r=!1,o=0;o<n.length;o++)Sr(e,t,o,n[o])&&(r=!0);if(r){var a=sr(e,t.nodeIndex),s=void 0;switch(201347067&t.flags){case 32:s=n;break;case 64:for(s={},o=0;o<n.length;o++)s[i[o].name]=n[o];break;case 128:var l=n[0],u=n.slice(1);s=l.transform.apply(l,c(u))}a.value=s}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function xa(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var i=t.nodes[n];if(4&i.flags){var r=or(e,n).template._projectedViews;if(r)for(var o=0;o<r.length;o++){var a=r[o];a.state|=32,xr(a,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function Oa(e,t,n,i,r,o,a,s,l,u,c,d,h){return 0===n?function(e,t,n,i,r,o,a,s,l,u,c,d){var h=t.bindings.length;h>0&&Cr(e,t,0,n),h>1&&Cr(e,t,1,i),h>2&&Cr(e,t,2,r),h>3&&Cr(e,t,3,o),h>4&&Cr(e,t,4,a),h>5&&Cr(e,t,5,s),h>6&&Cr(e,t,6,l),h>7&&Cr(e,t,7,u),h>8&&Cr(e,t,8,c),h>9&&Cr(e,t,9,d)}(e,t,i,r,o,a,s,l,u,c,d,h):function(e,t,n){for(var i=0;i<n.length;i++)Cr(e,t,i,n[i])}(e,t,i),!1}function ka(e,t){if(lr(e,t.nodeIndex).dirty)throw cr(ur.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function Ta(e){if(!(128&e.state)){if(Aa(e,Ia.Destroy),Pa(e,Ia.Destroy),Jo(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=kr(e);if(t){var n=t.template._projectedViews;n&&(ho(n,n.indexOf(e)),ur.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var i=e.def.nodes[n];1&i.flags?e.renderer.destroyNode(or(e,n).renderElement):2&i.flags?e.renderer.destroyNode(rr(e,n).renderText):(67108864&i.flags||134217728&i.flags)&&lr(e,n).destroy()}}(e),Pr(e)&&e.renderer.destroy(),e.state|=128}}var Ia=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 Pa(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];33554432&r.flags?Ma(or(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function Aa(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];if(16777216&r.flags)for(var o=or(e,i).viewContainer._embeddedViews,a=0;a<o.length;a++)Ma(o[a],t);else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function Ma(e,t){var n=e.state;switch(t){case Ia.CheckNoChanges:0==(128&n)&&(12==(12&n)?Sa(e):64&n&&Ra(e,Ia.CheckNoChangesProjectedViews));break;case Ia.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?Sa(e):64&n&&Ra(e,t));break;case Ia.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ca(e):64&n&&Ra(e,Ia.CheckAndUpdateProjectedViews));break;case Ia.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ca(e):64&n&&Ra(e,t));break;case Ia.Destroy:Ta(e);break;case Ia.CreateViewNodes:wa(e)}}function Ra(e,t){Aa(e,t),Pa(e,t)}function Na(e,t,n,i){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var r=e.def.nodes.length,o=0;o<r;o++){var a=e.def.nodes[o];if(a.flags&t&&a.flags&n)switch(ur.setCurrentNode(e,a.nodeIndex),i){case 0:ia(e,a);break;case 1:ka(e,a)}a.childFlags&t&&a.childFlags&n||(o+=a.childCount)}}var Da=!1;function La(e,t,n,i,r,o){var a=r.injector.get(jt);return va(Va(e,r,a,t,n),i,o)}function ja(e,t,n,i,r,o){var a=r.injector.get(jt),s=Va(e,r,new gs(a),t,n),l=Za(i);return fs(is.create,va,null,[s,l,o])}function Va(e,t,n,i,r){var o=t.injector.get(zt),a=t.injector.get(In),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function Fa(e,t,n,i){var r=Za(n);return fs(is.create,ga,null,[e,t,r,i])}function Ua(e,t,n,i){return n=Wa.get(t.element.componentProvider.provider.token)||Za(n),fs(is.create,ya,null,[e,t,n,i])}function Ba(e,t,n,i){return To(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===za.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var i=za.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)}),e.modules.forEach(function(e){Ha.forEach(function(i,r){we(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var i=e.providers[t];n&&(i.flags|=4096);var r=za.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=Nr(r.deps),i.value=r.value)}if(Ha.size>0){var o=new Set(e.modules);Ha.forEach(function(t,i){if(o.has(we(i).providedIn)){var r={token:i,flags:t.flags|(n?4096:0),deps:Nr(t.deps),value:t.value,index:e.providers.length};e.providers.push(r),e.providersByKey[mr(i)]=r}})}}(e=e.factory(function(){return pr})),e):e}(i))}var za=new Map,Ha=new Map,Wa=new Map;function Ga(e){var t;za.set(e.token,e),"function"==typeof e.token&&(t=we(e.token))&&"function"==typeof t.providedIn&&Ha.set(e.token,e)}function qa(e,t){var n=jr(t.viewDefFactory),i=jr(n.nodes[0].element.componentView);Wa.set(e,i)}function Ya(){za.clear(),Ha.clear(),Wa.clear()}function Za(e){if(0===za.size)return e;var t=function(e){for(var t=[],n=null,i=0;i<e.nodes.length;i++){var r=e.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&za.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return pr});for(var n=0;n<t.length;n++)i(e,t[n]);return e;function i(e,t){for(var n=t+1;n<e.nodes.length;n++){var i=e.nodes[n];if(1&i.flags)return;if(3840&i.flags){var r=i.provider,o=za.get(r.token);o&&(i.flags=-3841&i.flags|o.flags,r.deps=Nr(o.deps),r.value=o.value)}}}}function Qa(e,t,n,i,r,o,a,s,l,u,c,d,h){var p=e.def.nodes[t];return Ea(e,p,n,i,r,o,a,s,l,u,c,d,h),224&p.flags?sr(e,t).value:void 0}function Ka(e,t,n,i,r,o,a,s,l,u,c,d,h){var p=e.def.nodes[t];return Oa(e,p,n,i,r,o,a,s,l,u,c,d,h),224&p.flags?sr(e,t).value:void 0}function Xa(e){return fs(is.detectChanges,Ca,null,[e])}function Ja(e){return fs(is.checkNoChanges,Sa,null,[e])}function $a(e){return fs(is.destroy,Ta,null,[e])}var es,ts,ns,is=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 rs(e,t){ts=e,ns=t}function os(e,t,n,i){return rs(e,t),fs(is.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function as(e,t){if(128&e.state)throw hr(is[es]);return rs(e,cs(e,0)),e.def.updateDirectives(function(e,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=e.def.nodes[n];return 0===t?ls(e,a,i,r):us(e,a,i,r),16384&a.flags&&rs(e,cs(e,n)),224&a.flags?sr(e,a.nodeIndex).value:void 0},e)}function ss(e,t){if(128&e.state)throw hr(is[es]);return rs(e,ds(e,0)),e.def.updateRenderer(function(e,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=e.def.nodes[n];return 0===t?ls(e,a,i,r):us(e,a,i,r),3&a.flags&&rs(e,ds(e,n)),224&a.flags?sr(e,a.nodeIndex).value:void 0},e)}function ls(e,t,n,i){if(Ea.apply(void 0,c([e,t,n],i))){var r=1===n?i[0]:i;if(16384&t.flags){for(var o={},a=0;a<t.bindings.length;a++){var s=t.bindings[a],l=r[a];8&s.flags&&(o[(p=s.nonMinifiedName,"ng-reflect-"+p.replace(/[$@]/g,"_").replace(Xe,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()}))]=Je(l))}var u=t.parent,d=or(e,u.nodeIndex).renderElement;if(u.element.name)for(var h in o)null!=(l=o[h])?e.renderer.setAttribute(d,h,l):e.renderer.removeAttribute(d,h);else e.renderer.setValue(d,"bindings="+JSON.stringify(o,null,2))}}var p}function us(e,t,n,i){Oa.apply(void 0,c([e,t,n],i))}function cs(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function ds(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}var hs=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,i=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=Tr(i),i=i.parent;this.elDef=n,this.elView=i}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return or(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Co(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){ps(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&&ps(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&&!Pr(e);)e=e.parent;return e.parent?or(e.parent,Tr(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?Ir(this.view,this.nodeDef):Ir(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];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,i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===o?(t=e.error).bind.apply(t,c([e],i)):pr}),a<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,c(i)))},e}();function ps(e,t,n){for(var i in t.references)n[i]=oa(e,t,t.references[i])}function fs(e,t,n,i){var r=es,o=ts,a=ns;try{es=e;var s=t.apply(n,i);return ts=o,ns=a,es=r,s}catch(l){if(On(l)||!ts)throw l;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),dr(e,t),e}(l,ms())}}function ms(){return ts?new hs(ts,ns):null}var gs=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new vs(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}(),vs=function(){function e(e){this.delegate=e,this.debugContextFactory=ms,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){!function(e){Mi.delete(e.nativeNode)}(Ri(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),i=this.createDebugContext(n);if(i){var r=new Ai(n,null,i);r.name=e,Ni(r)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Ni(new Pi(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Ni(new Pi(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=Ri(e),i=Ri(t);n&&i&&n instanceof Ai&&n.addChild(i),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var i=Ri(e),r=Ri(t),o=Ri(n);i&&r&&i instanceof Ai&&i.insertBefore(o,r),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=Ri(e),i=Ri(t);n&&i&&n instanceof Ai&&n.removeChild(i),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),i=ms();return i&&Ni(new Ai(n,null,i)),n},e.prototype.setAttribute=function(e,t,n,i){var r=Ri(e);r&&r instanceof Ai&&(r.attributes[i?i+":"+t:t]=n),this.delegate.setAttribute(e,t,n,i)},e.prototype.removeAttribute=function(e,t,n){var i=Ri(e);i&&i instanceof Ai&&(i.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=Ri(e);n&&n instanceof Ai&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=Ri(e);n&&n instanceof Ai&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,i){var r=Ri(e);r&&r instanceof Ai&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,i)},e.prototype.removeStyle=function(e,t,n){var i=Ri(e);i&&i instanceof Ai&&(i.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var i=Ri(e);i&&i instanceof Ai&&(i.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var i=Ri(e);i&&i.listeners.push(new Ii(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 ys(e,t,n){return new bs(e,t,n)}var bs=function(e){function t(t,n,i){var r=e.call(this)||this;return r.moduleType=t,r._bootstrapComponents=n,r._ngModuleDefFactory=i,r}return r(t,e),t.prototype.create=function(e){!function(){if(!Da){Da=!0;var e=qt()?{setCurrentNode:rs,createRootView:ja,createEmbeddedView:Fa,createComponentView:Ua,createNgModuleRef:Ba,overrideProvider:Ga,overrideComponentView:qa,clearOverrides:Ya,checkAndUpdateView:Xa,checkNoChangesView:Ja,destroyView:$a,createDebugContext:function(e,t){return new hs(e,t)},handleEvent:os,updateDirectives:as,updateRenderer:ss}:{setCurrentNode:function(){},createRootView:La,createEmbeddedView:ga,createComponentView:ya,createNgModuleRef:To,overrideProvider:pr,overrideComponentView:pr,clearOverrides:pr,checkAndUpdateView:Ca,checkNoChangesView:Sa,destroyView:Ta,createDebugContext:function(e,t){return new hs(e,t)},handleEvent:function(e,t,n,i){return e.def.handleEvent(e,t,n,i)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?Qa:Ka,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?Qa:Ka,e)}};ur.setCurrentNode=e.setCurrentNode,ur.createRootView=e.createRootView,ur.createEmbeddedView=e.createEmbeddedView,ur.createComponentView=e.createComponentView,ur.createNgModuleRef=e.createNgModuleRef,ur.overrideProvider=e.overrideProvider,ur.overrideComponentView=e.overrideComponentView,ur.clearOverrides=e.clearOverrides,ur.checkAndUpdateView=e.checkAndUpdateView,ur.checkNoChangesView=e.checkNoChangesView,ur.destroyView=e.destroyView,ur.resolveDep=Qo,ur.createDebugContext=e.createDebugContext,ur.handleEvent=e.handleEvent,ur.updateDirectives=e.updateDirectives,ur.updateRenderer=e.updateRenderer,ur.dirtyParentQueries=na}}();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),i={};for(var r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:i}}(jr(this._ngModuleDefFactory));return ur.createNgModuleRef(this.moduleType,e||ut.NULL,this._bootstrapComponents,t)},t}(Rt),_s=(n("yLV6"),Element.prototype),ws=_s.matches||_s.matchesSelector||_s.mozMatchesSelector||_s.msMatchesSelector||_s.oMatchesSelector||_s.webkitMatchesSelector,Ss={schedule:function(e,t){var n=setTimeout(e,t);return function(){return clearTimeout(n)}},scheduleBeforeRender:function(e){if("undefined"==typeof window)return Ss.schedule(e,0);if(void 0===window.requestAnimationFrame)return Ss.schedule(e,16);var t=window.requestAnimationFrame(e);return function(){return window.cancelAnimationFrame(t)}}};function Cs(e,t,n){var i=n;return function(e){return!!e&&e.nodeType===Node.ELEMENT_NODE}(e)&&t.some(function(t,n){return!("*"===t||!function(t,n){return ws.call(e,n)}(0,t)||(i=n,0))}),i}var Es=function(){function e(e,t){this.component=e,this.injector=t,this.componentFactory=t.get(It).resolveComponentFactory(e)}return e.prototype.create=function(e){return new xs(this.componentFactory,e)},e}(),xs=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=Ss.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,i;(n=t)===(i=this.getInputValue(e))||n!=n&&i!=i||(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=ut.create({providers:[],parent:this.injector}),n=function(t,n){var i=e.childNodes,r=n.map(function(){return[]}),o=-1;n.some(function(e,t){return"*"===e&&(o=t,!0)});for(var a=0,s=i.length;a<s;++a){var l=i[a],u=Cs(l,n,o);-1!==u&&r[u].push(l)}return r}(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(yi).attachView(this.componentRef.hostView)},e.prototype.initializeInputs=function(){var e=this;this.componentFactory.inputs.forEach(function(t){var n=t.propName,i=e.initialInputValues.get(n);i?e.setInputValue(n,i):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(K(function(e){return{name:n,value:e}}))});this.events=se.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=Ss.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 i=this.uninitializedInputs.has(e);this.uninitializedInputs.delete(e);var r=i?void 0:this.getInputValue(e);this.inputChanges[e]=new tt(r,t,i)}}},e.prototype.detectChanges=function(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())},e}(),Os=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ngElementEventsSubscription=null,t}return r(t,e),t}(HTMLElement);function ks(e,t){var n=function(e,n){return t.injector.get(It).resolveComponentFactory(e).inputs}(e),i=t.strategyFactory||new Es(e,t.injector),o=function(e){var t={};return e.forEach(function(e){var n,i=e.propName;t[(n=e.templateName,n.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}))]=i}),t}(n),a=function(e){function n(n){var r=e.call(this)||this;return r.ngElementStrategy=i.create(n||t.injector),r}return r(n,e),n.prototype.attributeChangedCallback=function(e,n,r,a){this.ngElementStrategy||(this.ngElementStrategy=i.create(t.injector)),this.ngElementStrategy.setInputValue(o[e],r)},n.prototype.connectedCallback=function(){var e=this;this.ngElementStrategy||(this.ngElementStrategy=i.create(t.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(function(t){var n=function(t,n,i){if("function"!=typeof CustomEvent){var r=e.ownerDocument.createEvent("CustomEvent");return r.initCustomEvent(n,!1,!1,i),r}return new CustomEvent(n,{bubbles:!1,cancelable:!1,detail:i})}(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}(Os);return n.map(function(e){return e.propName}).forEach(function(e){Object.defineProperty(a.prototype,e,{get:function(){return this.ngElementStrategy.getInputValue(e)},set:function(t){this.ngElementStrategy.setInputValue(e,t)},configurable:!0,enumerable:!0})}),a}var Ts=n("PZzU"),Is=function(){function e(e,t){this.dialogRef=e,this.data=t}return e.prototype.ngOnInit=function(){},e}(),Ps=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"),i=e.getWidth(e.layoutContainer)-e.getCSSNumber(e.layoutContainer,"borderLeft")-e.getCSSNumber(e.layoutContainer,"borderRight"),r=n/i,o=0,a=0,s=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,h=void 0;r>e.getVideoRatio(u[0])?(d=i,s=n-(a=h=Math.floor(n*e.opts.bigPercentage))):(h=n,l=i-(o=d=Math.floor(i*e.opts.bigPercentage))),e.opts.bigFirst?(e.arrange(u,d,h,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate),e.arrange(c,i-o,n-a,o,a,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate)):(e.arrange(c,i-o,n-a,0,0,e.opts.fixedRatio,e.opts.minRatio,e.opts.maxRatio,e.opts.animate),e.arrange(u,d,h,l,s,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate))}else u.length>0&&0===c.length?e.arrange(u,i,n,0,0,e.opts.bigFixedRatio,e.opts.bigMinRatio,e.opts.bigMaxRatio,e.opts.animate):e.arrange(c,i-o,n-a,o,a,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 i=n.style.width;n.style.width=t+"px",n.style.width=i||""}},e.prototype.positionElement=function(e,t,n,i,r,o){var a=this,s={left:t+"px",top:n+"px",width:i+"px",height:r+"px"};this.fixAspectRatio(e,i),o&&$?($(e).stop(),$(e).animate(s,o.duration||200,o.easing||"swing",function(){a.fixAspectRatio(e,i),o.complete&&o.complete.call(a)})):$(e).css(s),this.fixAspectRatio(e,i)},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,i,r,o){for(var a,s,l,u,c,d,h,p=1;p<=n;p++){var f=p,m=Math.ceil(n/f);(h=(d=Math.floor(r/m))/(c=Math.floor(i/f)))>t?d=c*(h=t):h<e&&(c=d/(h=e));var g=c*d*n;(void 0===a||g>a)&&(a=g,o=d,u=c,s=f,l=m)}return{maxArea:a,targetCols:s,targetRows:l,targetHeight:o,targetWidth:u,ratio:o/u}},e.prototype.arrange=function(e,t,n,i,r,o,a,s,l){var u,c,d=e.length;if(o){var h=this.getVideoRatio(e.length>0?e[0]:null);c=this.getBestDimensions(h,h,d,t,n,u)}else c=this.getBestDimensions(a,s,d,t,n,u);for(var p,f=0,m=0,g=[],v=0;v<e.length;v++){v%c.targetCols==0&&g.push(p={children:[],width:0,height:0}),p.children.push(E=e[v]);var y=c.targetWidth;u=c.targetHeight,o&&(y=u/this.getVideoRatio(E)),p.width+=y,p.height=u}var b=0,_=0;for(v=0;v<g.length;v++)(p=g[v]).width>t?(p.height=Math.floor(p.height*(t/p.width)),p.width=t):p.width<t&&(_+=1),b+=p.height;if(b<n&&_>0){var w=n-b;for(b=0,v=0;v<g.length;v++){if((p=g[v]).width<t){var S=w/_;S/p.height>(t-p.width)/p.width&&(S=Math.floor((t-p.width)/p.width*p.height)),p.width+=Math.floor(S/p.height*p.width),p.height+=S,w-=S,_-=1}b+=p.height}}for(m=(n-b)/2,v=0;v<g.length;v++){f=(t-(p=g[v]).width)/2;for(var C=0;C<p.children.length;C++){var E=p.children[C];y=c.targetWidth,u=p.height,o&&(y=Math.floor(u/this.getVideoRatio(E))),E.style.position="absolute";var x=y-this.getCSSNumber(E,"paddingLeft")-this.getCSSNumber(E,"paddingRight")-this.getCSSNumber(E,"marginLeft")-this.getCSSNumber(E,"marginRight")-this.getCSSNumber(E,"borderLeft")-this.getCSSNumber(E,"borderRight"),O=u-this.getCSSNumber(E,"paddingTop")-this.getCSSNumber(E,"paddingBottom")-this.getCSSNumber(E,"marginTop")-this.getCSSNumber(E,"marginBottom")-this.getCSSNumber(E,"borderTop")-this.getCSSNumber(E,"borderBottom");this.positionElement(E,f+i,m+r,x,O,l),f+=y}m+=u}},e.prototype.filterDisplayNone=function(e){return"none"!==e.style.display},e}(),As=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 i=document.getElementById("video-"+t.getStreamManager().stream.streamId);t.videoAvatar.getContext("2d").drawImage(i,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}(),Ms=new I(function(e){return e.complete()});function Rs(e){return e?function(e){return new I(function(t){return e.schedule(function(){return t.complete()})})}(e):Ms}function Ns(e){var t=new I(function(t){t.next(e),t.complete()});return t._isScalar=!0,t.value=e,t}function Ds(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e[e.length-1];switch(j(n)?e.pop():n=void 0,e.length){case 0:return Rs(n);case 1:return n?ee(e,n):Ns(e[0]);default:return ee(e,n)}}function Ls(e,t){return ne(e,t,1)}function js(e,t){return function(n){return n.lift(new Vs(e,t))}}var Vs=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new Fs(e,this.predicate,this.thisArg))},e}(),Fs=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.predicate=n,r.thisArg=i,r.count=0,r}return r(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),Us=function(){return function(){}}(),Bs=new Se("Location Initialized"),zs=function(){return function(){}}(),Hs=new Se("appBaseHref"),Ws=function(){function e(e){var n=this;this._subject=new mn,this._platformStrategy=e;var i=this._platformStrategy.getBaseHref();this._baseHref=t.stripTrailingSlash(Gs(i)),this._platformStrategy.onPopState(function(e){n._subject.emit({url:n.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.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,Gs(e)))},e.prototype.prepareExternalUrl=function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)},e.prototype.go=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",e,t)},e.prototype.replaceState=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",e,t)},e.prototype.forward=function(){this._platformStrategy.forward()},e.prototype.back=function(){this._platformStrategy.back()},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 Gs(e){return e.replace(/\/index.html$/,"")}var qs=function(e){function t(t,n){var i=e.call(this)||this;return i._platformLocation=t,i._baseHref="",null!=n&&(i._baseHref=n),i}return r(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=Ws.joinWithSlash(this._baseHref,e);return t.length>0?"#"+t:t},t.prototype.pushState=function(e,t,n,i){var r=this.prepareExternalUrl(n+Ws.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)},t.prototype.replaceState=function(e,t,n,i){var r=this.prepareExternalUrl(n+Ws.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(zs),Ys=function(e){function t(t,n){var i=e.call(this)||this;if(i._platformLocation=t,null==n&&(n=i._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 i._baseHref=n,i}return r(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 Ws.joinWithSlash(this._baseHref,e)},t.prototype.path=function(e){void 0===e&&(e=!1);var t=this._platformLocation.pathname+Ws.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?""+t+n:t},t.prototype.pushState=function(e,t,n,i){var r=this.prepareExternalUrl(n+Ws.normalizeQueryParams(i));this._platformLocation.pushState(e,t,r)},t.prototype.replaceState=function(e,t,n,i){var r=this.prepareExternalUrl(n+Ws.normalizeQueryParams(i));this._platformLocation.replaceState(e,t,r)},t.prototype.forward=function(){this._platformLocation.forward()},t.prototype.back=function(){this._platformLocation.back()},t}(zs),Zs=void 0,Qs=["en",[["a","p"],["AM","PM"],Zs],[["AM","PM"],Zs,Zs],[["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"]],Zs,[["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"]],Zs,[["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}",Zs,"{1} 'at' {0}",Zs],[".",",",";","%","+","-","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}],Ks={},Xs=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}({}),Js=new Se("UseV4Plurals"),$s=function(){return function(){}}(),el=function(e){function t(t,n){var i=e.call(this)||this;return i.locale=t,i.deprecatedPluralFn=n,i}return r(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=Ks[t];if(n)return n;var i=t.split("-")[0];if(n=Ks[i])return n;if("en"===i)return Qs;throw new Error('Missing locale data for the locale "'+e+'".')}(e)[18]}(t||this.locale)(e)){case Xs.Zero:return"zero";case Xs.One:return"one";case Xs.Two:return"two";case Xs.Few:return"few";case Xs.Many:return"many";default:return"other"}},t}($s);function tl(e,t){var n,i;t=encodeURIComponent(t);try{for(var r=l(e.split(";")),o=r.next();!o.done;o=r.next()){var a=o.value,s=a.indexOf("="),c=u(-1==s?[a,""]:[a.slice(0,s),a.slice(s+1)],2),d=c[1];if(c[0].trim()===t)return decodeURIComponent(d)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null}var nl=function(){function e(e,t,n,i){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return Object.defineProperty(e.prototype,"klass",{set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngClass",{set: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&&(nt(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=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 "+je(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}(),il=function(){function e(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}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}(),rl=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){qt()&&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(i){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,i,r){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new il(null,t._ngForOf,-1,-1),r),a=new ol(e,o);n.push(a)}else null==r?t._viewContainer.remove(i):(o=t._viewContainer.get(i),t._viewContainer.move(o,r),a=new ol(e,o),n.push(a))});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);i=0;for(var r=this._viewContainer.length;i<r;i++){var o=this._viewContainer.get(i);o.context.index=i,o.context.count=r,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}(),ol=function(){return function(e,t){this.record=e,this.view=t}}(),al=function(){function e(e,t){this._viewContainer=e,this._context=new sl,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){ll("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ngIfElse",{set:function(e){ll("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}(),sl=function(){return function(){this.$implicit=null,this.ngIf=null}}();function ll(e,t){if(t&&!t.createEmbeddedView)throw new Error(e+" must be a TemplateRef, but received '"+je(t)+"'.")}var ul=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}(),cl=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}(),dl=function(){function e(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new ul(e,t)}return e.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},e}(),hl=function(){return function(e,t,n){n._addDefault(new ul(e,t))}}(),pl=function(){function e(e,t,n){this._differs=e,this._ngEl=t,this._renderer=n}return Object.defineProperty(e.prototype,"ngStyle",{set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())},enumerable:!0,configurable:!0}),e.prototype.ngDoCheck=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),i=n[0],r=n[1];null!=(t=null!=t&&r?""+t+r:t)?this._renderer.setStyle(this._ngEl.nativeElement,i,t):this._renderer.removeStyle(this._ngEl.nativeElement,i)},e}(),fl=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}(),ml=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}()),gl=new fl,vl=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)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,et.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(Pn(e))return ml;if(An(e))return gl;throw Error("InvalidPipeArgument: '"+e+"' for pipe '"+je(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}(),yl=function(){return function(){}}(),bl=new Se("DocumentToken"),_l="browser",wl="server";function Sl(e){return e===_l}function Cl(e){return e===wl}var El=function(){function e(){}return e.ngInjectableDef=_e({providedIn:"root",factory:function(){return new xl(Ke(bl),window)}}),e}(),xl=function(){function e(e,t){this.document=e,this.window=t,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()){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)}},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,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])},e.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}},e}(),Ol=function(){return function(){}}(),kl=function(){return function(){}}(),Tl=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 i=e.slice(0,n),r=i.toLowerCase(),o=e.slice(n+1).trim();t.maybeSetNormalizedName(i,r),t.headers.has(r)?t.headers.get(r).push(o):t.headers.set(r,[o])}})}:function(){t.headers=new Map,Object.keys(e).forEach(function(n){var i=e[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(t.headers.set(r,i),t.maybeSetNormalizedName(n,r))})}: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 i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,c(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var o=this.headers.get(t);if(!o)return;0===(o=o.filter(function(e){return-1===r.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}(),Il=function(){function e(){}return e.prototype.encodeKey=function(e){return Pl(e)},e.prototype.encodeValue=function(e){return Pl(e)},e.prototype.decodeKey=function(e){return decodeURIComponent(e)},e.prototype.decodeValue=function(e){return decodeURIComponent(e)},e}();function Pl(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 Al=function(){function e(e){void 0===e&&(e={});var t,n,i,r=this;if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new Il,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=e.fromString,n=this.encoder,i=new Map,t.length>0&&t.split("&").forEach(function(e){var t=e.indexOf("="),r=u(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),o=r[0],a=r[1],s=i.get(o)||[];s.push(a),i.set(o,s)}),i)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(function(t){var n=e.fromObject[t];r.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 i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=null)},e}();function Ml(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function Rl(e){return"undefined"!=typeof Blob&&e instanceof Blob}function Nl(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Dl=function(){function e(e,t,n,i){var r;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)||i?(this.body=void 0!==n?n:null,r=i):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new Tl),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=t;else{var a=t.indexOf("?");this.urlWithParams=t+(-1===a?"?":a<t.length-1?"&":"")+o}}else this.params=new Al,this.urlWithParams=t}return e.prototype.serializeBody=function(){return null===this.body?null:Ml(this.body)||Rl(this.body)||Nl(this.body)||"string"==typeof this.body?this.body:this.body instanceof Al?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:Nl(this.body)?null:Rl(this.body)?this.body.type||null:Ml(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Al?"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,i=t.url||this.url,r=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=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,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})},e}(),Ll=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 Tl,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}}(),Vl=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Ll.ResponseHeader,n}return r(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),Fl=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this;return n.type=Ll.Response,n.body=void 0!==t.body?t.body:null,n}return r(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),Ul=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 r(t,e),t}(jl);function Bl(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var zl=function(){function e(e){this.handler=e}return e.prototype.request=function(e,t,n){var i,r=this;if(void 0===n&&(n={}),e instanceof Dl)i=e;else{var o;o=n.headers instanceof Tl?n.headers:new Tl(n.headers);var a=void 0;n.params&&(a=n.params instanceof Al?n.params:new Al({fromObject:n.params})),i=new Dl(e,t,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=Ds(i).pipe(Ls(function(e){return r.handler.handle(e)}));if(e instanceof Dl||"events"===n.observe)return s;var l=s.pipe(js(function(e){return e instanceof Fl}));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(K(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(K(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(K(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(K(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 Al).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,Bl(n,t))},e.prototype.post=function(e,t,n){return void 0===n&&(n={}),this.request("POST",e,Bl(n,t))},e.prototype.put=function(e,t,n){return void 0===n&&(n={}),this.request("PUT",e,Bl(n,t))},e}(),Hl=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}(),Wl=new Se("HTTP_INTERCEPTORS"),Gl=function(){function e(){}return e.prototype.intercept=function(e,t){return t.handle(e)},e}(),ql=/^\)\]\}',?\n/,Yl=function(){return function(){}}(),Zl=function(){function e(){}return e.prototype.build=function(){return new XMLHttpRequest},e}(),Ql=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 i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var o=e.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Tl(i.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}(i)||e.url;return s=new Vl({headers:r,status:t,statusText:n,url:o})},u=function(){var t=l(),r=t.headers,o=t.status,a=t.statusText,s=t.url,u=null;204!==o&&(u=void 0===i.response?i.responseText:i.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(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new Fl({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Ul({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(e){var t=l().url,r=new Ul({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)},d=!1,h=function(t){d||(n.next(l()),d=!0);var r={type:Ll.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},p=function(e){var t={type:Ll.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",u),i.addEventListener("error",c),e.reportProgress&&(i.addEventListener("progress",h),null!==a&&i.upload&&i.upload.addEventListener("progress",p)),i.send(a),n.next({type:Ll.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),e.reportProgress&&(i.removeEventListener("progress",h),null!==a&&i.upload&&i.upload.removeEventListener("progress",p)),i.abort()}})},e}(),Kl=new Se("XSRF_COOKIE_NAME"),Xl=new Se("XSRF_HEADER_NAME"),Jl=function(){return function(){}}(),$l=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=tl(e,this.cookieName),this.lastCookieString=e),this.lastToken},e}(),eu=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 i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)},e}(),tu=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(Wl,[]);this.chain=t.reduceRight(function(e,t){return new Hl(e,t)},this.backend)}return this.chain.handle(e)},e}(),nu=function(){function e(){}var t;return t=e,e.disable=function(){return{ngModule:t,providers:[{provide:eu,useClass:Gl}]}},e.withOptions=function(e){return void 0===e&&(e={}),{ngModule:t,providers:[e.cookieName?{provide:Kl,useValue:e.cookieName}:[],e.headerName?{provide:Xl,useValue:e.headerName}:[]]}},e}(),iu=function(){return function(){}}();function ru(e,t){return new I(t?function(n){return t.schedule(ou,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function ou(e){e.subscriber.error(e.error)}function au(e){return function(t){var n=new su(e),i=t.lift(n);return n.caught=i}}var su=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new lu(e,this.selector,this.caught))},e}(),lu=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.selector=n,r.caught=i,r}return r(t,e),t.prototype.error=function(t){if(!this.isStopped){var n=void 0;try{n=this.selector(t,this.caught)}catch(r){return void e.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var i=new V(this,void 0,void 0);this.add(i),Z(this,n,void 0,void 0,i)}},t}(Q),uu=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 i=this;return new Promise(function(r,o){var a=void 0!==t?t:i.URL_OV,s=void 0!==n?n:i.MY_SECRET;i.createSession(e,a,s).then(function(e){i.createToken(e,a,s).then(function(e){return r(e)}).catch(function(e){return o(e)})}).catch(function(e){return o(e)})})},e.prototype.createSession=function(e,t,n){var i=this;return new Promise(function(r,o){var a=JSON.stringify({customSessionId:e}),s={headers:new Tl({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return i.http.post(t+"/api/sessions",a,s).pipe(au(function(t){return 409===t.status?r(e):o(t),ru(t)})).subscribe(function(e){console.log(e),r(e.id)})})},e.prototype.createToken=function(e,t,n){var i=this;return new Promise(function(r,o){var a=JSON.stringify({session:e}),s={headers:new Tl({Authorization:"Basic "+btoa("OPENVIDUAPP:"+n),"Content-Type":"application/json"})};return i.http.post(t+"/api/tokens",a,s).pipe(au(function(e){return o(e),ru(e)})).subscribe(function(e){console.log(e),r(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=_e({factory:function(){return new e(Ke(zl))},token:e,providedIn:"root"}),e}(),cu=function(){function e(){this.messageList=[],this.closeChat=new mn}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}(),du=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=_e({factory:function(){return new e(Ke(zl))},token:e,providedIn:"root"}),e}(),hu=function(){function e(e,t,n,i){this.openViduSrv=e,this.router=t,this.dialog=n,this.apiSrv=i,this.joinSession=new mn,this.leaveSession=new mn,this.error=new mn,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 Ps,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 Ts.OpenVidu,this.OVScreen=new Ts.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.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;if(2===this.localUsers.length)console.log("TWO USERS - STOP CAM"),this.stopCamera();else if(this.localUsers[0].isScreen()){if(console.log("USER IS SCREEN - START CAM"),this.userCamDeleted){var t=this.localUsers[0].isAudioActive();this.setFirstUserAudio(!1),this.localUsers[0].setLocalConnectionId(this.session.connection.connectionId),this.userCamDeleted.setNickname(this.localUsers[0].getNickname()),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)})}}else 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.startScreenSharing=function(e){var t=this;console.log("STARTsCREENsHARING - "),this.getToken().then(function(n){t.sessionScreen.connect(n,{clientData:t.localUsers[e].getNickname()}).then(function(){t.localUsers[e].getStreamManager().once("accessAllowed",function(){t.localUsers[e].setConnectionId(t.sessionScreen.connection.connectionId),t.session.connection&&t.session.connection.connectionId&&t.localUsers[e].setLocalConnectionId(t.session.connection.connectionId),t.publishSession(t.localUsers[e]).then(function(){t.localUsers[0].setScreenShareActive(!0),t.sendSignalUserChanged(t.localUsers[e]),t.localUsers[0].isVideoActive()||t.stopCamera(),t.joinSession.emit(),t.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){e.localUsers[0].isLocal()&&e.localUsers[1]||e.localUsers[0].isScreen()?t.once("accessAllowed",function(){var n=e.localUsers[0].isLocal()?1:0;e.sessionScreen.unpublish(e.localUsers[n].getStreamManager()),e.localUsers[n].setStreamManager(t),e.sessionScreen.publish(t)}):(console.log("STREAM SHARE - ELSE: posicion 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 i=e.session.subscribe(t.stream,void 0);i.on("streamPlaying",function(t){e.checkSomeoneShareScreen(),i.videos[0].video.parentElement.classList.remove("custom-class")});var r=new As;r.setStreamManager(i),r.setConnectionId(t.stream.connection.connectionId);var o=t.stream.connection.data.split("%")[0];r.setNickname(JSON.parse(o).clientData),r.setType("SCREEN"===t.stream.typeOfVideo?e.SCREEN_TYPE:e.REMOTE_TYPE),e.remoteUsers.push(r),e.localUsers.forEach(function(t){e.sendSignalUserChanged(t)})}})},e.prototype.connectToSession=function(){var e=this;this.token?this.connect(this.token):(this.localUsers.forEach(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),i=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:i.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()},i={data:JSON.stringify(n),type:"userChanged"};t.signal(i)},e.prototype.openDialogError=function(e,t){this.dialog.open(Is,{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 As;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=e.OV.initPublisher(void 0,{publishAudio:e.localUsers[0].isAudioActive(),publishVideo:!0}),n=new As,i=e.localUsers[0].isAudioActive();n.setAudioActive(i),n.setUserAvatar(e.localUsers[0].getAvatar()),n.setConnectionId(e.session.connection.connectionId),n.setLocalConnectionId(e.session.connection.connectionId),n.setNickname(e.localUsers[0].getNickname()),n.setScreenShareActive(!0),n.setStreamManager(t),e.userCamDeleted=n,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,i){(e.isLocal()?t.session:t.sessionScreen).publish(e.getStreamManager()).then(function(){n()}).catch(function(e){return i(e)})})},e}(),pu=function(){function e(){this.joinSession=new mn,this.leaveSession=new mn,this.error=new mn,this.display=!1}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._token=t.token,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!!(this._sessionName&&this.openviduServerUrl&&this.openviduSecret&&this._user||this._token&&this._user)},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}(),fu=function(){function e(e,t){this.strategy=e,this.injector=t,this.ngZone=this.injector.get(ti)}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}(),mu=function(){function e(e,t){this.component=e,this.injector=t,this.ngElement=ks(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 fu(n,this.injector)},e.counter=1,e}(),gu=function(){function e(e){this.injector=e;var t=new mu(pu,this.injector),n=ks(pu,{injector:this.injector,strategyFactory:t});customElements.define("openvidu-webcomponent",n)}return e.prototype.ngDoBootstrap=function(){},e}(),vu=function(){return function(){this.title="OpenVidu-call"}}(),yu=function(){return function(){}}(),bu=function(){return function(){}}(),_u="*";function wu(e,t){return void 0===t&&(t=null),{type:2,steps:e,options:t}}function Su(e){return{type:6,styles:e,offset:null}}function Cu(e){Promise.resolve(null).then(e)}var Eu=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;Cu(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}(),xu=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,i=0,r=0,o=this.players.length;0==o?Cu(function(){return t._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++n==o&&t._onFinish()}),e.onDestroy(function(){++i==o&&t._onDestroy()}),e.onStart(function(){++r==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}(),Ou="!";function ku(){throw Error("Host already has a portal attached")}var Tu=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()&&ku(),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}(),Iu=function(e){function t(t,n,i,r){var o=e.call(this)||this;return o.component=t,o.viewContainerRef=n,o.injector=i,o.componentFactoryResolver=r,o}return r(t,e),t}(Tu),Pu=function(e){function t(t,n,i){var r=e.call(this)||this;return r.templateRef=t,r.viewContainerRef=n,r.context=i,r}return r(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}(Tu),Au=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()&&ku(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),e instanceof Iu?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof Pu?(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}(),Mu=function(e){function t(t,n,i,r){var o=e.call(this)||this;return o.outletElement=t,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=r,o}return r(t,e),t.prototype.attachComponentPortal=function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.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,i=n.createEmbeddedView(e.templateRef,e.context);return i.detectChanges(),i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),i},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}(Au),Ru=function(e){function t(t,n){var i=e.call(this)||this;return i._componentFactoryResolver=t,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new mn,i}return r(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,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),r=n.createComponent(i,n.length,t.injector||n.injector);return e.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r},t.prototype.attachTemplatePortal=function(t){var n=this;t.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return e.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=t,this._attachedRef=i,this.attached.emit(i),i},t}(Au),Nu=function(){return function(){}}(),Du=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}(),Lu=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}function Vu(e){return new I(function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?te(n):Rs()).subscribe(t)})}function Fu(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}Fu.prototype=Object.create(Error.prototype);var Uu=Fu;function Bu(e){return function(t){return 0===e?Rs():t.lift(new zu(e))}}var zu=function(){function e(e){if(this.total=e,this.total<0)throw new Uu}return e.prototype.call=function(e,t){return t.subscribe(new Hu(e,this.total))},e}(),Hu=function(e){function t(t,n){var i=e.call(this,t)||this;return i.total=n,i.count=0,i}return r(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 Wu(){return ae(1)}function Gu(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){var n=e[e.length-1];j(n)?e.pop():n=null;var i=e.length;return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Wu()(Ds.apply(void 0,e))}(1!==i||n?i>0?ee(e,n):Rs(n):Ns(e[0]),t)}}var qu=new Se("cdk-dir-doc",{providedIn:"root",factory:function(){return Ke(bl)}}),Yu=function(){function e(e){if(this.value="ltr",this.change=new mn,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=_e({factory:function(){return new e(Ke(qu,8))},token:e,providedIn:"root"}),e}(),Zu=function(){return function(){}}();function Qu(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 Nt?e.nativeElement:e}function ec(e,t,n,i){return p(n)&&(i=n,n=void 0),i?ec(e,t,n).pipe(K(function(e){return d(e)?i.apply(void 0,e):i(e)})):new I(function(i){!function e(t,n,i,r,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,i,o),a=function(){return s.removeEventListener(n,i,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var l=t;t.on(n,i),a=function(){return l.off(n,i)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,i),a=function(){return u.removeListener(n,i)}}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,i,r,o)}r.add(a)}(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}var tc=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.pending=!1,i}return r(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,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,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,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,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 r(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}(),ic=function(e){function t(n,i){void 0===i&&(i=nc.now);var r=e.call(this,n,function(){return t.delegate&&t.delegate!==r?t.delegate.now():i()})||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return r(t,e),t.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),t.delegate&&t.delegate!==this?t.delegate.schedule(n,i,r):e.prototype.schedule.call(this,n,i,r)},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),rc=1,oc={},ac=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i}return r(t,e),t.prototype.requestAsyncId=function(t,n,i){return void 0===i&&(i=0),null!==i&&i>0?e.prototype.requestAsyncId.call(this,t,n,i):(t.actions.push(this),t.scheduled||(t.scheduled=(r=t.flush.bind(t,null),o=rc++,oc[o]=r,Promise.resolve().then(function(){return function(e){var t=oc[e];t&&t()}(o)}),o)));var r,o},t.prototype.recycleAsyncId=function(t,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,n,i);0===t.actions.length&&(delete oc[n],t.scheduled=void 0)},t}(tc),sc=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}},t}(ic))(ac);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,i){var r=e.call(this,t)||this;return r.keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return r(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(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))},t}(C),dc=new ic(tc),hc=function(){function e(e){this.durationSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new pc(e,this.durationSelector))},e}(),pc=function(e){function t(t,n){var i=e.call(this,t)||this;return i.durationSelector=n,i.hasValue=!1,i}return r(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(i){return this.destination.error(i)}var n=Z(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,i){this.clearThrottle()},t.prototype.notifyComplete=function(){this.clearThrottle()},t}(Q);function fc(e){return!d(e)&&e-parseFloat(e)+1>=0}function mc(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.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 i=-1;return fc(t)?i=Number(t)<1?1:Number(t):j(t)&&(n=t),j(n)||(n=dc),new I(function(t){var r=fc(e)?e:+e-n.now();return n.schedule(mc,r,{index:0,period:i,subscriber:t})})}(e,t)},function(e){return e.lift(new hc(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),i=Z(n,this.notifier);return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n},e}(),bc=function(e){function t(t){var n=e.call(this,t)||this;return n.seenValue=!1,n}return r(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.seenValue=!0,this.complete()},t.prototype.notifyComplete=function(){},t}(Q);function _c(e,t){return"function"==typeof t?function(n){return n.pipe(_c(function(n,i){return te(e(n,i)).pipe(K(function(e,r){return t(n,e,i,r)}))}))}: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 i=e.call(this,t)||this;return i.project=n,i.index=0,i}return r(t,e),t.prototype._next=function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t,e,n)},t.prototype._innerSub=function(e,t,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new V(this,void 0,void 0);this.destination.add(r),this.innerSubscription=Z(this,e,t,n,r)},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,i,r){this.destination.next(t)},t}(Q);wc||(wc={});var Ec,xc,Oc="undefined"!=typeof Intl&&Intl.v8BreakIterator,kc=function(){function e(e){this._platformId=e,this.isBrowser=this._platformId?Sl(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&&!Oc)&&"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=_e({factory:function(){return new e(Ke(Vn,8))},token:e,providedIn:"root"}),e}(),Tc=function(){return function(){}}(),Ic=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Pc(){if(Ec)return Ec;if("object"!=typeof document||!document)return Ec=new Set(Ic);var e=document.createElement("input");return Ec=new Set(Ic.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function Ac(e){return function(){if(null==xc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return xc=!0}}))}finally{xc=xc||!1}return xc}()?e:!!e.capture}var Mc,Rc=function(){var e={NORMAL:0,NEGATED:1,INVERTED:2};return e[e.NORMAL]="NORMAL",e[e.NEGATED]="NEGATED",e[e.INVERTED]="INVERTED",e}();function Nc(){if("object"!=typeof document||!document)return Rc.NORMAL;if(!Mc){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"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),Mc=Rc.NORMAL,0===e.scrollLeft&&(e.scrollLeft=1,Mc=0===e.scrollLeft?Rc.NEGATED:Rc.INVERTED),e.parentNode.removeChild(e)}return Mc}var Dc=function(){function e(e,t,n){void 0===e&&(e=!1),void 0===n&&(n=!0);var i=this;this._multiple=e,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new D,this.onChange=this.changed,t&&t.length&&(e?t.forEach(function(e){return i._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}(),Lc=function(){function e(e,t){this._ngZone=e,this._platform=t,this._scrolled=new D,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 i=e>0?t._scrolled.pipe(gc(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}}):Ds()},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(js(function(e){return!e||n.indexOf(e)>-1}))},e.prototype.getAncestorScrollContainers=function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n},e.prototype._scrollableContainsElement=function(e,t){var n=t.nativeElement,i=e.getElementRef().nativeElement;do{if(n==i)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=_e({factory:function(){return new e(Ke(ti),Ke(kc))},token:e,providedIn:"root"}),e}(),jc=function(){function e(e,t,n,i){var r=this;this.elementRef=e,this.scrollDispatcher=t,this.ngZone=n,this.dir=i,this._destroyed=new D,this._elementScrolled=new I(function(e){return r.ngZone.runOutsideAngular(function(){return ec(r.elementRef.nativeElement,"scroll").pipe(vc(r._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&&Nc()!=Rc.NORMAL?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),Nc()==Rc.INVERTED?e.left=e.right:Nc()==Rc.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&&Nc()==Rc.INVERTED?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&Nc()==Rc.NEGATED?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft},e}(),Vc=function(){return function(){}}(),Fc=function(){function e(e,t){var n=this;this._platform=e,t.runOutsideAngular(function(){n._change=e.isBrowser?se(ec(window,"resize"),ec(window,"orientationchange")):Ds(),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,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,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=_e({factory:function(){return new e(Ke(kc),Ke(ti))},token:e,providedIn:"root"}),e}(),Uc=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,i=t.scrollBehavior||"",r=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=i,n.scrollBehavior=r}},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 Bc(){return Error("Scroll strategy has already been attached.")}var zc=function(){function e(e,t,n,i){var r=this;this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=i,this._scrollSubscription=null,this._detach=function(){r.disable(),r._overlayRef.hasAttached()&&r._ngZone.run(function(){return r._overlayRef.detach()})}}return e.prototype.attach=function(e){if(this._overlayRef)throw Bc();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}(),Hc=function(){function e(){}return e.prototype.enable=function(){},e.prototype.disable=function(){},e.prototype.attach=function(){},e}();function Wc(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 Gc(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 qc=function(){function e(e,t,n,i){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=i,this._scrollSubscription=null}return e.prototype.attach=function(e){if(this._overlayRef)throw Bc();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(),i=n.width,r=n.height;Wc(t,[{width:i,height:r,bottom:r,right:i,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}(),Yc=function(){function e(e,t,n,i){var r=this;this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this.noop=function(){return new Hc},this.close=function(e){return new zc(r._scrollDispatcher,r._ngZone,r._viewportRuler,e)},this.block=function(){return new Uc(r._viewportRuler,r._document)},this.reposition=function(e){return new qc(r._scrollDispatcher,r._viewportRuler,r._ngZone,e)},this._document=i}return e.ngInjectableDef=_e({factory:function(){return new e(Ke(Lc),Ke(Fc),Ke(ti),Ke(bl))},token:e,providedIn:"root"}),e}(),Zc=function(){return function(e){var t=this;this.scrollStrategy=new Hc,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])})}}(),Qc=function(){return function(e,t,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=e.originX,this.originY=e.originY,this.overlayX=t.overlayX,this.overlayY=t.overlayY}}(),Kc=function(){return function(e,t){this.connectionPair=e,this.scrollableViewProperties=t}}();function Xc(e,t){if("top"!==t&&"bottom"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "top", "bottom" or "center".')}function Jc(e,t){if("start"!==t&&"end"!==t&&"center"!==t)throw Error("ConnectedPosition: Invalid "+e+' "'+t+'". Expected "start", "end" or "center".')}var $c=function(){function e(e){var t=this;this._attachedOverlays=[],this._keydownListener=function(e){for(var n=t._attachedOverlays,i=n.length-1;i>-1;i--)if(n[i]._keydownEventSubscriptions>0){n[i]._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,!0),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,!0),this._isAttached=!1)},e.ngInjectableDef=_e({factory:function(){return new e(Ke(bl))},token:e,providedIn:"root"}),e}(),ed=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=_e({factory:function(){return new e(Ke(bl))},token:e,providedIn:"root"}),e}(),td=function(){function e(e,t,n,i,r,o,a,s){var l=this;this._portalOutlet=e,this._host=t,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=o,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new D,this._attachments=new D,this._detachments=new D,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 D,this._keydownEventSubscriptions=0,i.scrollStrategy&&i.scrollStrategy.attach(this),this._positionStrategy=i.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._config.scrollStrategy&&this._config.scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(Bu(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._config.scrollStrategy&&this._config.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._config.scrollStrategy&&this._config.scrollStrategy.disable(),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._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,i=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",i)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}},e.prototype._toggleClasses=function(e,t,n){var i=e.classList;Xu(t).forEach(function(e){n?i.add(e):i.remove(e)})},e.prototype._detachContentWhenStable=function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._ngZone.onStable.asObservable().pipe(vc(se(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}(),nd=function(){function e(e,t,n,i,r){var o=this;this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r,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 D,this._resizeSubscription=g.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=new I(function(e){var t=o._positionChanges.subscribe(e);return o._positionChangeSubscriptions++,function(){t.unsubscribe(),o._positionChangeSubscriptions--}}),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&&!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,i=this._viewportRect,r=[],o=0,a=this._preferredPositions;o<a.length;o++){var s=a[o],l=this._getOriginPoint(t,s),u=this._getOverlayPoint(l,n,s),c=this._getOverlayFit(u,n,i,s);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(s,l);this._canFitWithFlexibleDimensions(c,u,i)?r.push({position:s,origin:l,overlayRect:n,boundingBoxRect:this._calculateBoundingBoxRect(l,s)}):(!e||e.overlayFit.visibleArea<c.visibleArea)&&(e={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:n})}if(r.length){for(var d=null,h=-1,p=0,f=r;p<f.length;p++){var m=f[p],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>h&&(h=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&&id(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){this.scrollables=e},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 i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}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 i;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+i,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}},e.prototype._getOverlayFit=function(e,t,n,i){var r=e.x,o=e.y,a=this._getOffset(i,"x"),s=this._getOffset(i,"y");a&&(r+=a),s&&(o+=s);var l=0-o,u=o+t.height-n.height,c=this._subtractOverflows(t.width,0-r,r+t.width-n.width),d=this._subtractOverflows(t.height,l,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:t.width*t.height===h,fitsInViewportVertically:d===t.height,fitsInViewportHorizontally:c==t.width}},e.prototype._canFitWithFlexibleDimensions=function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth;return(e.fitsInViewportVertically||null!=o&&o<=i)&&(e.fitsInViewportHorizontally||null!=a&&a<=r)}},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 i,r,o=this._viewportRect,a=Math.max(e.x+t.width-o.right,0),s=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:i=t.width<=o.width?u||-a:e.x<this._viewportMargin?o.left-n.left-e.x:0,y:r=t.height<=o.height?l||-s:e.y<this._viewportMargin?o.top-n.top-e.y:0},{x:e.x+i,y:e.y+r}},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._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),i=new Kc(e,n);this._positionChanges.next(i)}this._isInitialRender=!1},e.prototype._setTransformOrigin=function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin=t+" "+i}},e.prototype._calculateBoundingBoxRect=function(e,t){var n,i,r,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===t.overlayY)n=l.height-(i=e.y)+this._viewportMargin;else if("bottom"===t.overlayY)n=l.height-(r=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;i=e.y-c,(n=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-d/2)}if("end"===t.overlayX&&!u||"start"===t.overlayX&&u)s=l.right-e.x+this._viewportMargin,o=e.x-l.left;else if("start"===t.overlayX&&!u||"end"===t.overlayX&&u)a=e.x,o=l.right-e.x;else{c=Math.min(l.right-e.x+l.left,e.x);var h=this._lastBoundingBoxSize.width;a=e.x-c,(o=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.x-h/2)}return{top:i,left:a,bottom:r,right:s,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 i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,o=this._overlayRef.getConfig().maxWidth;i.height=Ju(n.height),i.top=Ju(n.top),i.bottom=Ju(n.bottom),i.width=Ju(n.width),i.left=Ju(n.left),i.right=Ju(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Ju(r)),o&&(i.maxWidth=Ju(o))}this._lastBoundingBoxSize=n,id(this._boundingBox.style,i)},e.prototype._resetBoundingBoxStyles=function(){id(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},e.prototype._resetOverlayElementStyles=function(){id(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},e.prototype._setOverlayElementStyles=function(e,t){var n={};if(this._hasExactPosition()){var i=this._viewportRuler.getViewportScrollPosition();id(n,this._getExactOverlayY(t,e,i)),id(n,this._getExactOverlayX(t,e,i))}else n.position="static";var r="",o=this._getOffset(t,"x"),a=this._getOffset(t,"y");o&&(r+="translateX("+o+"px) "),a&&(r+="translateY("+a+"px)"),n.transform=r.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(n.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(n.maxWidth=""),id(this._pane.style,n)},e.prototype._getExactOverlayY=function(e,t,n){var i={top:null,bottom:null},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return r.y-=o,"bottom"===e.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=Ju(r.y),i},e.prototype._getExactOverlayX=function(e,t,n){var i={left:null,right:null},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=Ju(r.x),i},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:Gc(e,n),isOriginOutsideView:Wc(e,n),isOverlayClipped:Gc(t,n),isOverlayOutsideView:Wc(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){Jc("originX",e.originX),Xc("originY",e.originY),Jc("overlayX",e.overlayX),Xc("overlayY",e.overlayY)})},e.prototype._addPanelClasses=function(e){var t=this;this._pane&&Xu(e).forEach(function(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){return e._pane.classList.remove(t)}),this._appliedPanelClasses=[])},e.prototype._getOriginRect=function(){var e=this._origin;return e instanceof Nt?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 id(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}var rd=function(){function e(e,t,n,i,r,o){this._preferredPositions=[],this._positionStrategy=new nd(n,i,r,o).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,i){var r=new Qc(e,t,n,i);return this._preferredPositions.push(r),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}(),od=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}(),ad=function(){function e(e,t,n,i){this._viewportRuler=e,this._document=t,this._platform=n,this._overlayContainer=i}return e.prototype.global=function(){return new od},e.prototype.connectedTo=function(e,t,n){return new rd(t,n,e,this._viewportRuler,this._document)},e.prototype.flexibleConnectedTo=function(e){return new nd(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)},e.ngInjectableDef=_e({factory:function(){return new e(Ke(Fc),Ke(bl),Ke(kc,8),Ke(ed,8))},token:e,providedIn:"root"}),e}(),sd=0,ld=function(){function e(e,t,n,i,r,o,a,s,l,u){this.scrollStrategies=e,this._overlayContainer=t,this._componentFactoryResolver=n,this._positionBuilder=i,this._keyboardDispatcher=r,this._injector=o,this._ngZone=a,this._document=s,this._directionality=l,this._location=u}return e.prototype.create=function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new Zc(e);return r.direction=r.direction||this._directionality.value,new td(i,t,n,r,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(yi)),new Mu(e,this._componentFactoryResolver,this._appRef,this._injector)},e}(),ud=[{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"}],cd=new Se("cdk-connected-overlay-scroll-strategy"),dd=function(){return function(e){this.elementRef=e}}(),hd=function(){function e(e,t,n,i,r){this._overlay=e,this._dir=r,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 mn,this.positionChange=new mn,this.attach=new mn,this.detach=new mn,this.overlayKeydown=new mn,this._templatePortal=new Pu(t,n),this._scrollStrategyFactory=i,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=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(e){this._lockPosition=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"push",{get:function(){return this._push},set:function(e){this._push=Qu(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=ud),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode===Lu&&e._detachOverlay()})},e.prototype._buildConfig=function(){var e=this._position=this._createPositionStrategy(),t=new Zc({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}});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 fd=function(){return function(){}}(),md=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.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function gd(){throw Error("Attempting to attach dialog content after content is already attached")}var vd=function(e){function t(t,n,i,r,o){var a=e.call(this)||this;return a._elementRef=t,a._focusTrapFactory=n,a._changeDetectorRef=i,a._document=r,a._config=o,a._elementFocusedBeforeDialogWasOpened=null,a._state="enter",a._animationStateChanged=new mn,a._ariaLabelledBy=null,a}return r(t,e),t.prototype.attachComponentPortal=function(e){return this._portalOutlet.hasAttached()&&gd(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(e)},t.prototype.attachTemplatePortal=function(e){return this._portalOutlet.hasAttached()&&gd(),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}(Au),yd=0,bd=function(){function e(e,t,n,i){void 0===i&&(i="mat-dialog-"+yd++);var r=this;this._overlayRef=e,this._containerInstance=t,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new D,this._afterClosed=new D,this._beforeClosed=new D,t._id=i,t._animationStateChanged.pipe(js(function(e){return"done"===e.phaseName&&"enter"===e.toState}),Bu(1)).subscribe(function(){r._afterOpened.next(),r._afterOpened.complete()}),t._animationStateChanged.pipe(js(function(e){return"done"===e.phaseName&&"exit"===e.toState}),Bu(1)).subscribe(function(){return r._overlayRef.dispose()}),e.detachments().subscribe(function(){r._beforeClosed.next(r._result),r._beforeClosed.complete(),r._afterClosed.next(r._result),r._afterClosed.complete(),r.componentInstance=null,r._overlayRef.dispose()}),e.keydownEvents().pipe(js(function(e){return e.keyCode===Lu&&!r.disableClose})).subscribe(function(){return r.close()})}return e.prototype.close=function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(js(function(e){return"start"===e.phaseName}),Bu(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}(),_d=new Se("MatDialogData"),wd=new Se("mat-dialog-default-options"),Sd=new Se("mat-dialog-scroll-strategy");function Cd(e){return function(){return e.scrollStrategies.block()}}var Ed=function(){function e(e,t,n,i,r,o,a){var s=this;this._overlay=e,this._injector=t,this._location=n,this._defaultOptions=i,this._parentDialog=o,this._overlayContainer=a,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new D,this._afterOpenedAtThisLevel=new D,this._ariaHiddenElements=new Map,this.afterAllClosed=Vu(function(){return s.openDialogs.length?s._afterAllClosed:s._afterAllClosed.pipe(Gu(void 0))}),this._scrollStrategy=r}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 md)).id&&this.getDialogById(t.id))throw Error('Dialog with id "'+t.id+'" exists already. The dialog id must be unique.');var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),a},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 Zc({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 Du(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[md,t]])),i=new Iu(vd,t.viewContainerRef,n);return e.attach(i).instance},e.prototype._attachDialogContent=function(e,t,n,i){var r=new bd(n,t,this._location,i.id);if(i.hasBackdrop&&n.backdropClick().subscribe(function(){r.disableClose||r.close()}),e instanceof gn)t.attachTemplatePortal(new Pu(e,null,{$implicit:i.data,dialogRef:r}));else{var o=this._createInjector(i,r,t),a=t.attachComponentPortal(new Iu(e,void 0,o));r.componentInstance=a.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r},e.prototype._createInjector=function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=new WeakMap([[vd,n],[_d,e.data],[bd,t]]);return!e.direction||i&&i.get(Yu,null)||r.set(Yu,{value:e.direction,change:Ds()}),new Du(i||this._injector,r)},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 i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}},e.prototype._closeDialogs=function(e){for(var t=e.length;t--;)e[t].close()},e}(),xd=0,Od=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(){}}(),Td=function(){return function(){}}(),Id=null;function Pd(){return Id}var Ad,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"},Nd={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"};Ae.Node&&(Ad=Ae.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))});var Dd,Ld=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.parse=function(e){throw new Error("parse not implemented")},t.makeCurrent=function(){var e;e=new t,Id||(Id=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 i;(i=e)[t].apply(i,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 Ad.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),i=0;i<t.length;i++)n[i]=t[i];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 i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(e,t),i},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 i=this.getStyle(e,t)||"";return n?i==n:i.length>0},t.prototype.tagName=function(e){return e.tagName},t.prototype.attributeMap=function(e){for(var t=new Map,n=e.attributes,i=0;i<n.length;i++){var r=n.item(i);t.set(r.name,r.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,i){e.setAttributeNS(t,n,i)},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(t){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&&Nd.hasOwnProperty(t)&&(t=Nd[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=jd||(jd=document.querySelector("base"))?jd.getAttribute("href"):null;return null==n?null:(t=n,Dd||(Dd=document.createElement("a")),Dd.setAttribute("href",t),"/"===Dd.pathname.charAt(0)?Dd.pathname:"/"+Dd.pathname)},t.prototype.resetBaseElement=function(){jd=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 tl(document.cookie,e)},t.prototype.setCookie=function(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)},t}(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 i=["Webkit","Moz","O","ms"],r=0;r<i.length;r++)if(null!=t.getStyle(n,i[r]+"AnimationName")){t._animationPrefix="-"+i[r].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(a){t._animationPrefix=null,t._transitionEnd=null}return t}return r(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}())),jd=null,Vd=bl;function Fd(){return!!window.history.pushState}var Ud=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n._init(),n}var n;return r(t,e),t.prototype._init=function(){this.location=Pd().getLocation(),this._history=Pd().getHistory()},t.prototype.getBaseHrefFromDOM=function(){return Pd().getBaseHref(this._doc)},t.prototype.onPopState=function(e){Pd().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)},t.prototype.onHashChange=function(e){Pd().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)},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){Fd()?this._history.pushState(e,t,n):this.location.hash=n},t.prototype.replaceState=function(e,t,n){Fd()?this._history.replaceState(e,t,n):this.location.hash=n},t.prototype.forward=function(){this._history.forward()},t.prototype.back=function(){this._history.back()},a([(n=He(Vd),function(e,t){n(e,t,0)}),s("design:paramtypes",[Object])],t)}(Us),Bd=new Se("TRANSITION_ID"),zd=[{provide:Mn,useFactory:function(e,t,n){return function(){n.get(Rn).donePromise.then(function(){var n=Pd();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:[Bd,Vd,ut],multi:!0}],Hd=function(){function e(){}return e.init=function(){var t;t=new e,di=t},e.prototype.addToWindow=function(e){Ae.getAngularTestability=function(t,n){void 0===n&&(n=!0);var i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},Ae.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ae.getAllAngularRootElements=function(){return e.getAllRootElements()},Ae.frameworkStabilizers||(Ae.frameworkStabilizers=[]),Ae.frameworkStabilizers.push(function(e){var t=Ae.getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})},e.prototype.findTestabilityInTree=function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?Pd().isShadowRoot(t)?this.findTestabilityInTree(e,Pd().getHost(t),!0):this.findTestabilityInTree(e,Pd().parentElement(t),!0):null},e}();function Wd(e,t){"undefined"!=typeof COMPILED&&COMPILED||((Ae.ng=Ae.ng||{})[e]=t)}var Gd={ApplicationRef:yi,NgZone:ti};function qd(e){return Ri(e)}var Yd=new Se("EventManagerPlugins"),Zd=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,i=0;i<n.length;i++){var r=n[i];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event "+e)},e}(),Qd=function(){function e(e){this._doc=e}return e.prototype.addGlobalEventListener=function(e,t,n){var i=Pd().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target "+i+" for event "+t);return this.addEventListener(i,t,n)},e}(),Kd=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}(),Xd=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 r(t,e),t.prototype._addStylesToHost=function(e,t){var n=this;e.forEach(function(e){var i=n._doc.createElement("style");i.textContent=e,n._styleNodes.add(t.appendChild(i))})},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 Pd().remove(e)})},t}(Kd),Jd={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/"},$d=/%COMP%/g,eh="_nghost-%COMP%",th="_ngcontent-%COMP%";function nh(e,t,n){for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?nh(e,r,n):(r=r.replace($d,e),n.push(r))}return n}function ih(e){return function(t){!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var rh=function(){function e(e,t){this.eventManager=e,this.sharedStylesHost=t,this.rendererByCompId=new Map,this.defaultRenderer=new oh(e)}return e.prototype.createRenderer=function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ze.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new uh(this.eventManager,this.sharedStylesHost,t),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ze.Native:case ze.ShadowDom:return new ch(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=nh(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}},e.prototype.begin=function(){},e.prototype.end=function(){},e}(),oh=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(Jd[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,i){if(i){t=i+":"+t;var r=Jd[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)},e.prototype.removeAttribute=function(e,t,n){if(n){var i=Jd[n];i?e.removeAttributeNS(i,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,i){i&Vt.DashCase?e.style.setProperty(t,n,i&Vt.Important?"important":""):e.style[t]=n},e.prototype.removeStyle=function(e,t,n){n&Vt.DashCase?e.style.removeProperty(t):e.style[t]=""},e.prototype.setProperty=function(e,t,n){sh(t,"property"),e[t]=n},e.prototype.setValue=function(e,t){e.nodeValue=t},e.prototype.listen=function(e,t,n){return sh(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,ih(n)):this.eventManager.addEventListener(e,t,ih(n))},e}(),ah="@".charCodeAt(0);function sh(e,t){if(e.charCodeAt(0)===ah)throw new Error("Found the synthetic "+t+" "+e+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var lh,uh=function(e){function t(t,n,i){var r=e.call(this,t)||this;r.component=i;var o=nh(i.id,i.styles,[]);return n.addStyles(o),r.contentAttr=th.replace($d,i.id),r.hostAttr=eh.replace($d,i.id),r}return r(t,e),t.prototype.applyToHost=function(t){e.prototype.setAttribute.call(this,t,this.hostAttr,"")},t.prototype.createElement=function(t,n){var i=e.prototype.createElement.call(this,t,n);return e.prototype.setAttribute.call(this,i,this.contentAttr,""),i},t}(oh),ch=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;o.sharedStylesHost=n,o.hostEl=i,o.component=r,o.shadowRoot=r.encapsulation===ze.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),o.sharedStylesHost.addHost(o.shadowRoot);for(var a=nh(r.id,r.styles,[]),s=0;s<a.length;s++){var l=document.createElement("style");l.textContent=a[s],o.shadowRoot.appendChild(l)}return o}return r(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,i){return e.prototype.insertBefore.call(this,this.nodeOrShadowRoot(t),n,i)},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}(oh),dh="undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e},hh=dh("addEventListener"),ph=dh("removeEventListener"),fh={},mh="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[dh("BLACK_LISTED_EVENTS")]&&(lh={});var gh=function(e){return!!lh&&lh.hasOwnProperty(e)},vh=function(e){var t=fh[e.type];if(t){var n=this[t];if(n){var i=[e];if(1===n.length)return(a=n[0]).zone!==Zone.current?a.zone.run(a.handler,this,i):a.handler.apply(this,i);for(var r=n.slice(),o=0;o<r.length&&!0!==e[mh];o++){var a;(a=r[o]).zone!==Zone.current?a.zone.run(a.handler,this,i):a.handler.apply(this,i)}}}},yh=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.ngZone=n,i&&Cl(i)||r.patchEvent(),r}return r(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[mh]=!0),e&&e.apply(this,arguments)}}},t.prototype.supports=function(e){return!0},t.prototype.addEventListener=function(e,t,n){var i=this,r=n;if(!e[hh]||ti.isInAngularZone()&&!gh(t))e.addEventListener(t,r,!1);else{var o=fh[t];o||(o=fh[t]=dh("ANGULAR"+t+"FALSE"));var a=e[o],s=a&&a.length>0;a||(a=e[o]=[]);var l=gh(t)?Zone.root:Zone.current;if(0===a.length)a.push({zone:l,handler:r});else{for(var u=!1,c=0;c<a.length;c++)if(a[c].handler===r){u=!0;break}u||a.push({zone:l,handler:r})}s||e[hh](t,vh,!1)}return function(){return i.removeEventListener(e,t,r)}},t.prototype.removeEventListener=function(e,t,n){var i=e[ph];if(!i)return e.removeEventListener.apply(e,[t,n,!1]);var r=fh[t],o=r&&e[r];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);for(var a=!1,s=0;s<o.length;s++)if(o[s].handler===n){a=!0,o.splice(s,1);break}a?0===o.length&&i.apply(e,[t,vh,!1]):e.removeEventListener.apply(e,[t,n,!1])},t}(Qd),bh={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},_h=new Se("HammerGestureConfig"),wh=new Se("HammerLoader"),Sh=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}(),Ch=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._config=n,o.console=i,o.loader=r,o}return r(t,e),t.prototype.supports=function(e){return!(!bh.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 i=this,r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){var o=!1,a=function(){o=!0};return this.loader().then(function(){if(!window.Hammer)return i.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(a=function(){});o||(a=i.addEventListener(e,t,n))}).catch(function(){i.console.warn('The "'+t+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var o=i._config.buildHammer(e),a=function(e){r.runGuarded(function(){n(e)})};return o.on(t,a),function(){o.off(t,a),"function"==typeof o.destroy&&o.destroy()}})},t.prototype.isCustomEvent=function(e){return this._config.events.indexOf(e)>-1},t}(Qd),Eh=["alt","control","meta","shift"],xh={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Oh=function(e){function t(t){return e.call(this,t)||this}var n;return r(t,e),n=t,t.prototype.supports=function(e){return null!=n.parseEventName(e)},t.prototype.addEventListener=function(e,t,i){var r=n.parseEventName(t),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Pd().onAndCancel(e,r.domEventName,o)})},t.parseEventName=function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),o="";if(Eh.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")}),o+=r,0!=t.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a},t.getEventFullKey=function(e){var t="",n=Pd().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Eh.forEach(function(i){i!=n&&(0,xh[i])(e)&&(t+=i+".")}),t+=n},t.eventCallback=function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}},t._normalizeKey=function(e){switch(e){case"esc":return"escape";default:return e}},t}(Qd),kh=function(){return function(){}}(),Th=function(e){function t(t){var n=e.call(this)||this;return n._doc=t,n}return r(t,e),t.prototype.sanitize=function(e,t){if(null==t)return null;switch(e){case Bt.NONE:return t;case Bt.HTML:return t instanceof Ph?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){var n=null;try{$t=$t||new Yt(e);var i=t?String(t):"";n=$t.getInertBodyElement(i);var r=5,o=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=o,o=n.innerHTML,n=$t.getInertBodyElement(i)}while(i!==o);var a=new cn,s=a.sanitizeChildren(fn(n)||n);return qt()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=fn(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(t)));case Bt.STYLE:return t instanceof Ah?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";var t=e.match(bn);return t&&Kt(t[1])===t[1]||e.match(yn)&&function(e){for(var t=!0,n=!0,i=0;i<e.length;i++){var r=e.charAt(i);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:(qt()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}(t));case Bt.SCRIPT:if(t instanceof Mh)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case Bt.URL:return t instanceof Nh||t instanceof Rh?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Kt(String(t)));case Bt.RESOURCE_URL:if(t instanceof Nh)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 Ih)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 Ph(e)},t.prototype.bypassSecurityTrustStyle=function(e){return new Ah(e)},t.prototype.bypassSecurityTrustScript=function(e){return new Mh(e)},t.prototype.bypassSecurityTrustUrl=function(e){return new Rh(e)},t.prototype.bypassSecurityTrustResourceUrl=function(e){return new Nh(e)},t}(kh),Ih=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}(),Ph=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(Ih),Ah=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTypeName=function(){return"Style"},t}(Ih),Mh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTypeName=function(){return"Script"},t}(Ih),Rh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTypeName=function(){return"URL"},t}(Ih),Nh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(Ih),Dh=fi(Ki,"browser",[{provide:Vn,useValue:_l},{provide:jn,useValue:function(){Ld.makeCurrent(),Hd.init()},multi:!0},{provide:Us,useClass:Ud,deps:[Vd]},{provide:Vd,useFactory:function(){return document},deps:[]}]);function Lh(){return new In}var jh=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:Nn,useValue:e.appId},{provide:Bd,useExisting:Nn},zd]}},e}();function Vh(e,t,n){return function(i){return i.lift(new Fh(e,t,n))}}"undefined"!=typeof window&&window;var Fh=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 Uh(e,this.nextOrObserver,this.error,this.complete))},e}(),Uh=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._tapNext=O,o._tapError=O,o._tapComplete=O,o._tapError=i||O,o._tapComplete=r||O,p(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||O,o._tapError=n.error||O,o._tapComplete=n.complete||O),o}return r(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 Bh(e,t){return void 0===t&&(t=dc),function(n){return n.lift(new zh(e,t))}}var zh=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new Hh(e,this.dueTime,this.scheduler))},e}(),Hh=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return r(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Wh,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 Wh(e){e.debouncedNext()}function Gh(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var qh=0,Yh=new Map,Zh=null,Qh=function(){function e(e){this._document=e}return e.prototype.describe=function(e,t){this._canBeDescribed(e,t)&&(Yh.has(t)||this._createMessageElement(t),this._isElementDescribedByMessage(e,t)||this._addMessageReference(e,t))},e.prototype.removeDescription=function(e,t){if(this._canBeDescribed(e,t)){this._isElementDescribedByMessage(e,t)&&this._removeMessageReference(e,t);var n=Yh.get(t);n&&0===n.referenceCount&&this._deleteMessageElement(t),Zh&&0===Zh.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");Zh&&this._deleteMessagesContainer(),Yh.clear()},e.prototype._createMessageElement=function(e){var t=this._document.createElement("div");t.setAttribute("id","cdk-describedby-message-"+qh++),t.appendChild(this._document.createTextNode(e)),this._createMessagesContainer(),Zh.appendChild(t),Yh.set(e,{messageElement:t,referenceCount:0})},e.prototype._deleteMessageElement=function(e){var t=Yh.get(e),n=t&&t.messageElement;Zh&&n&&Zh.removeChild(n),Yh.delete(e)},e.prototype._createMessagesContainer=function(){if(!Zh){var e=this._document.getElementById("cdk-describedby-message-container");e&&e.parentNode.removeChild(e),(Zh=this._document.createElement("div")).id="cdk-describedby-message-container",Zh.setAttribute("aria-hidden","true"),Zh.style.display="none",this._document.body.appendChild(Zh)}},e.prototype._deleteMessagesContainer=function(){Zh&&Zh.parentNode&&(Zh.parentNode.removeChild(Zh),Zh=null)},e.prototype._removeCdkDescribedByReferenceIds=function(e){var t=Gh(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,i,r,o=Yh.get(t);i=o.messageElement.id,(r=Gh(n=e,"aria-describedby")).some(function(e){return e.trim()==i.trim()})||(r.push(i.trim()),n.setAttribute("aria-describedby",r.join(" "))),e.setAttribute("cdk-describedby-host",""),o.referenceCount++},e.prototype._removeMessageReference=function(e,t){var n,i,r,o=Yh.get(t);o.referenceCount--,i=o.messageElement.id,r=Gh(n=e,"aria-describedby").filter(function(e){return e!=i.trim()}),n.setAttribute("aria-describedby",r.join(" ")),e.removeAttribute("cdk-describedby-host")},e.prototype._isElementDescribedByMessage=function(e,t){var n=Gh(e,"aria-describedby"),i=Yh.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)},e.prototype._canBeDescribed=function(e,t){return e.nodeType===this._document.ELEMENT_NODE&&null!=t&&!!(""+t).trim()},e.ngInjectableDef=_e({factory:function(){return new e(Ke(bl))},token:e,providedIn:"root"}),e}(),Kh=function(){function e(e){var t=this;this._items=e,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new D,this._typeaheadSubscription=g.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new D,this.change=new D,e instanceof _i&&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(Vh(function(e){return t._pressedLetters.push(e)}),Bh(e),js(function(){return t._pressedLetters.length>0}),K(function(){return t._pressedLetters.join("")})).subscribe(function(e){for(var n=t._getItemsArray(),i=1;i<n.length+1;i++){var r=(t._activeItemIndex+i)%n.length,o=n[r];if(!t._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(e)){t.setActiveItem(r);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,i=["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&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((i||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),i=t[n];this._activeItem=null==i?null:i,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 i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}},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 _i?this._items.toArray():this._items},e}(),Xh=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.setActiveItem=function(t){this.activeItem&&this.activeItem.setInactiveStyles(),e.prototype.setActiveItem.call(this,t),this.activeItem&&this.activeItem.setActiveStyles()},t}(Kh),Jh=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._origin="program",t}return r(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}(Kh),$h=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(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var i=n&&n.nodeName.toLowerCase();if(-1===tp(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===i)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var r=e.nodeName.toLowerCase(),o=tp(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(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")||ep(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)},e.ngInjectableDef=_e({factory:function(){return new e(Ke(kc))},token:e,providedIn:"root"}),e}();function ep(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 tp(e){if(!ep(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var np=function(){function e(e,t,n,i,r){void 0===r&&(r=!1);var o=this;this._element=e,this._checker=t,this._ngZone=n,this._document=i,this._hasAttached=!1,this._startAnchorListener=function(){return o.focusLastTabbableElement()},this._endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,r||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),qt()&&!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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}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 i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}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(Bu(1)).subscribe(e)},e}(),ip=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 np(e,this._checker,this._ngZone,this._document,t)},e.ngInjectableDef=_e({factory:function(){return new e(Ke($h),Ke(ti),Ke(bl))},token:e,providedIn:"root"}),e}(),rp=new Se("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),op=function(){function e(e,t,n){this._ngZone=t,this._document=n,this._liveElement=e||this._createLiveElement()}return e.prototype.announce=function(e){for(var t,n,i=this,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];return 1===r.length&&"number"==typeof r[0]?n=r[0]:(t=r[0],n=r[1]),this.clear(),clearTimeout(this._previousTimeout),this._liveElement.setAttribute("aria-live",t||"polite"),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(i._previousTimeout),i._previousTimeout=setTimeout(function(){i._liveElement.textContent=e,t(),"number"==typeof n&&(i._previousTimeout=setTimeout(function(){return i.clear()},n))},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=_e({factory:function(){return new e(Ke(rp,8),Ke(ti),Ke(bl))},token:e,providedIn:"root"}),e}(),ap=650,sp=Ac({passive:!0,capture:!0}),lp=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},ap)},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 Ds(null);var i=$u(e);if(this._elementInfo.has(i)){var r=this._elementInfo.get(i);return r.checkChildren=t,r.subject.asObservable()}var o={unlisten:function(){},checkChildren:t,subject:new D};this._elementInfo.set(i,o),this._incrementMonitoredElementCount();var a=function(e){return n._onFocus(e,i)},s=function(e){return n._onBlur(e,i)};return this._ngZone.runOutsideAngular(function(){i.addEventListener("focus",a,!0),i.addEventListener("blur",s,!0)}),o.unlisten=function(){i.removeEventListener("focus",a,!0),i.removeEventListener("blur",s,!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 i=$u(e);this._setOriginForCurrentEventQueue(t),"function"==typeof i.focus&&i.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 i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"),this._setClasses(t,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}},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,sp),document.addEventListener("mousedown",e._documentMousedownListener,sp),document.addEventListener("touchstart",e._documentTouchstartListener,sp),window.addEventListener("focus",e._windowFocusListener)})},e.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,sp),document.removeEventListener("mousedown",this._documentMousedownListener,sp),document.removeEventListener("touchstart",this._documentTouchstartListener,sp),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},e.ngInjectableDef=_e({factory:function(){return new e(Ke(ti),Ke(kc))},token:e,providedIn:"root"}),e}(),up=function(){return function(){}}(),cp=new Se("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),dp=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&&qt()&&!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 hp(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=e.apply(this,t)||this;return i._disabled=!1,i}return r(t,e),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Qu(e)},enumerable:!0,configurable:!0}),t}(e)}function pp(e,t){return function(e){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return r.color=t,r}return r(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 fp(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=e.apply(this,t)||this;return i._disableRipple=!1,i}return r(t,e),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(e){this._disableRipple=Qu(e)},enumerable:!0,configurable:!0}),t}(e)}function mp(e,t){return void 0===t&&(t=0),function(e){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=e.apply(this,n)||this;return r._tabIndex=t,r}return r(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 gp(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=e.apply(this,t)||this;return i.errorState=!1,i.stateChanges=new D,i}return r(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 vp=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))},e.ngInjectableDef=_e({factory:function(){return new e},token:e,providedIn:"root"}),e}(),yp=new Se("MAT_HAMMER_OPTIONS"),bp=["longpress","slide","slidestart","slideend","slideright","slideleft"],_p={on:function(){},off:function(){}},wp=function(e){function t(t,n){var i=e.call(this)||this;return i._hammerOptions=t,i.events=bp,n&&n._checkHammerIsAvailable(),i}return r(t,e),t.prototype.buildHammer=function(e){var t="undefined"!=typeof window?window.Hammer:null;if(!t)return _p;var n=new t(e,this._hammerOptions||void 0),i=new t.Pan,r=new t.Swipe,o=new t.Press,a=this._createRecognizer(i,{event:"slide",threshold:0},r),s=this._createRecognizer(o,{event:"longpress",time:500});return i.recognizeWith(r),s.recognizeWith(a),n.add([r,o,i,a,s]),n},t.prototype._createRecognizer=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=new e.constructor(t);return n.push(e),n.forEach(function(e){return r.recognizeWith(e)}),r},t}(Sh),Sp=function(){return function(){}}(),Cp=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}(),Ep=function(){function e(e,t,n){this._renderer=e,this.element=t,this.config=n,this.state=Cp.HIDDEN}return e.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},e}(),xp={enterDuration:450,exitDuration:400},Op=800,kp=Ac({passive:!0}),Tp=function(){function e(e,t,n,i){var r=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=r._lastTouchStartEvent&&Date.now()<r._lastTouchStartEvent+Op;r._target.rippleDisabled||t||n||(r._isPointerDown=!0,r.fadeInRipple(e.clientX,e.clientY,r._target.rippleConfig))},this.onTouchStart=function(e){if(!r._target.rippleDisabled){r._lastTouchStartEvent=Date.now(),r._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)r.fadeInRipple(t[n].clientX,t[n].clientY,r._target.rippleConfig)}},this.onPointerUp=function(){r._isPointerDown&&(r._isPointerDown=!1,r._activeRipples.forEach(function(e){!e.config.persistent&&(e.state===Cp.VISIBLE||e.config.terminateOnPointerUp&&e.state===Cp.FADING_IN)&&e.fadeOut()}))},i.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 i=this;void 0===n&&(n={});var r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=o({},xp,n.animation);n.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var s=n.radius||function(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}(e,t,r),l=e-r.left,u=t-r.top,c=a.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=l-s+"px",d.style.top=u-s+"px",d.style.height=2*s+"px",d.style.width=2*s+"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 h=new Ep(this,d,n);return h.state=Cp.FADING_IN,this._activeRipples.add(h),n.persistent||(this._mostRecentTransientRipple=h),this.runTimeoutOutsideZone(function(){var e=h===i._mostRecentTransientRipple;h.state=Cp.VISIBLE,n.persistent||e&&i._isPointerDown||h.fadeOut()},c),h},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,i=o({},xp,e.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",e.state=Cp.FADING_OUT,this.runTimeoutOutsideZone(function(){e.state=Cp.HIDDEN,n.parentNode.removeChild(n)},i.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,kp)})}),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,kp)})},e}(),Ip=new Se("mat-ripple-global-options"),Pp=function(){function e(e,t,n,i,r){this._elementRef=e,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new Tp(this,t,e,n),"NoopAnimations"===r&&(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}(),Ap=function(){return function(){}}(),Mp=function(){return function(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}(),Rp=function(){return function(){}}(),Np=0,Dp=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._labelId="mat-optgroup-label-"+Np++,t}return r(t,e),t}(hp(function(){return function(){}}())),Lp=0,jp=function(){return function(e,t){void 0===t&&(t=!1),this.source=e,this.isUserInput=t}}(),Vp=new Se("MAT_OPTION_PARENT_COMPONENT"),Fp=function(){function e(e,t,n,i){this._element=e,this._changeDetectorRef=t,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Lp++,this.onSelectionChange=new mn,this._stateChanges=new D}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=Qu(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._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 jp(this,e))},e}();function Up(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),o=0,a=0;a<e+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}var Bp=function(){return function(){}}(),zp=new Se("mat-label-global-options"),Hp=br({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 Wp(e){return pa(0,[(e()(),Zr(0,null,null,0))],null,null)}function Gp(e){return pa(0,[ta(402653184,1,{_portalOutlet:0}),(e()(),Zr(16777216,null,null,1,null,Wp)),Vo(2,212992,[[1,4]],0,Ru,[It,xi],{portal:[0,"portal"]},null)],function(e,t){e(t,2,0,"")},null)}function qp(e){return pa(0,[(e()(),Qr(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 i=!0;return"component:@dialogContainer.start"===t&&(i=!1!==xo(e,1)._onAnimationStart(n)&&i),"component:@dialogContainer.done"===t&&(i=!1!==xo(e,1)._onAnimationDone(n)&&i),i},Gp,Hp)),Vo(1,49152,null,0,vd,[Nt,ip,ki,[2,bl],md],null,null)],null,function(e,t){e(t,0,0,xo(t,1)._id,xo(t,1)._config.role,xo(t,1)._config.ariaLabel?null:xo(t,1)._ariaLabelledBy,xo(t,1)._config.ariaLabel,xo(t,1)._config.ariaDescribedBy||null,xo(t,1)._state)})}var Yp=fo("mat-dialog-container",vd,qp,{},{},[]),Zp={};function Qp(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=null,i=null;return j(e[e.length-1])&&(i=e.pop()),"function"==typeof e[e.length-1]&&(n=e.pop()),1===e.length&&d(e[0])&&(e=e[0]),ee(e,i).lift(new Xp(n))}var Kp,Xp=function(){function e(e){this.resultSelector=e}return e.prototype.call=function(e,t){return t.subscribe(new Jp(e,this.resultSelector))},e}(),Jp=function(e){function t(t,n){var i=e.call(this,t)||this;return i.resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return r(t,e),t.prototype._next=function(e){this.values.push(Zp),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 i=e[n];this.add(Z(this,i,i,n))}}},t.prototype.notifyComplete=function(e){0==(this.active-=1)&&this.destination.complete()},t.prototype.notifyNext=function(e,t,n,i,r){var o=this.values,a=this.toRespond?o[n]===Zp?--this.toRespond:this.toRespond:0;o[n]=t,0===a&&(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}(Q),$p=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(!$p.has(e))try{Kp||((Kp=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Kp)),Kp.sheet&&(Kp.sheet.insertRule("@media "+e+" {.fx-query-test{ }}",0),$p.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)},e.ngInjectableDef=_e({factory:function(){return new e(Ke(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 D}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 Qp(rf(Xu(e)).map(function(e){return t._registerQuery(e).observable})).pipe(Bh(0,sc),K(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,i=this.mediaMatcher.matchMedia(e),r={observable:function e(t,n,i){return i?e(t,n).pipe(K(function(e){return d(e)?i.apply(void 0,e):i(e)})):new I(function(e){var i,r=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1===t.length?t[0]:t)};try{i=t(r)}catch(o){return void e.error(o)}if(p(n))return function(){return n(r,i)}})}(function(e){i.addListener(n=function(n){return t.zone.run(function(){return e(n)})})},function(){return i.removeListener(n)}).pipe(Gu(i),K(function(t){return{query:e,matches:t.matches}}),vc(this._destroySubject)),mql:i};return this._queries.set(e,r),r},e.ngInjectableDef=_e({factory:function(){return new e(Ke(ef),Ke(ti))},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)"},af=20;function sf(e){return Error('Tooltip position "'+e+'" is invalid.')}var lf=new Se("mat-tooltip-scroll-strategy");function uf(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:af})}}var cf=new Se("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),df=function(){function e(e,t,n,i,r,o,a,s,l,u,c,d){var h=this;this._overlay=e,this._elementRef=t,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._ariaDescriber=a,this._focusMonitor=s,this._dir=u,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new D,this._scrollStrategy=l;var p=t.nativeElement,f=p.style,m="undefined"==typeof window||window.Hammer||d;o.IOS||o.ANDROID?m||this._manualListeners.set("touchstart",function(){return h.show()}):this._manualListeners.set("mouseenter",function(){return h.show()}).set("mouseleave",function(){return h.hide()}),this._manualListeners.forEach(function(e,t){return p.addEventListener(t,e)}),"INPUT"!==p.nodeName&&"TEXTAREA"!==p.nodeName||(f.webkitUserSelect=f.userSelect=f.msUserSelect=""),p.draggable&&"none"===f.webkitUserDrag&&(f.webkitUserDrag=""),s.monitor(t).pipe(vc(this._destroyed)).subscribe(function(e){e?"keyboard"===e&&r.run(function(){return h.show()}):r.run(function(){return h.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=Qu(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.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 Iu(hf,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===Lu&&(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._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8),n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);return t.withScrollableContainers(n),t.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:t,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 sf(n);e={originX:"end",originY:"center"}}var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.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 sf(n);e={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}},e.prototype._updateTooltipMessage=function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Bu(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}(),hf=function(){function e(e,t){this._changeDetectorRef=e,this._breakpointObserver=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new D,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}(),pf=function(){return function(){}}(),ff=function(){function e(){}return e.prototype.create=function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)},e.ngInjectableDef=_e({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 i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})},e.prototype._observeElement=function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new D,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,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}},e.ngInjectableDef=_e({factory:function(){return new e(Ke(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 mn,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=Qu(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(Bh(e.debounce)):t).subscribe(e.event)})},e.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},e}(),vf=function(){return function(){}}(),yf=br({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 pa(2,[(e()(),Qr(0,0,null,null,3,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(e,t,n){var i=!0,r=e.component;return"@state.start"===t&&(i=!1!==r._animationStart()&&i),"@state.done"===t&&(i=!1!==r._animationDone(n)&&i),i},null,null)),Vo(1,278528,null,0,nl,[Gi,qi,Nt,Ft],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Fo(131072,vl,[ki]),(e()(),ca(3,null,["",""]))],function(e,t){e(t,1,0,"mat-tooltip",t.component.tooltipClass)},function(e,t){var n,i=t.component;e(t,0,0,null==(n=gr(t,0,0,xo(t,2).transform(i._isHandset)))?null:n.matches,i._visibility),e(t,3,0,i.message)})}function _f(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(e,t,n){var i=!0;return"body:click"===t&&(i=!1!==xo(e,1)._handleBodyInteraction()&&i),i},bf,yf)),Vo(1,180224,null,0,hf,[ki,nf],null,null)],null,function(e,t){e(t,0,0,"visible"===xo(t,1)._visibility?1:null)})}var wf=fo("mat-tooltip-component",hf,_f,{},{},[]),Sf=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return r(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}(D);function Cf(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Cf.prototype=Object.create(Error.prototype);var Ef=Cf;function xf(e){return function(t){return 0===e?Rs():t.lift(new Of(e))}}var Of=function(){function e(e){if(this.total=e,this.total<0)throw new Uu}return e.prototype.call=function(e,t){return t.subscribe(new kf(e,this.total))},e}(),kf=function(e){function t(t,n){var i=e.call(this,t)||this;return i.total=n,i.ring=new Array,i.count=0,i}return r(t,e),t.prototype._next=function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%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,i=this.ring,r=0;r<n;r++){var o=t++%n;e.next(i[o])}e.complete()},t}(C),Tf=function(e){return void 0===e&&(e=If),Vh({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw e()}})};function If(){return new Ef}function Pf(e){return void 0===e&&(e=null),function(t){return t.lift(new Af(e))}}var Af=function(){function e(e){this.defaultValue=e}return e.prototype.call=function(e,t){return t.subscribe(new Mf(e,this.defaultValue))},e}(),Mf=function(e){function t(t,n){var i=e.call(this,t)||this;return i.defaultValue=n,i.isEmpty=!0,i}return r(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 Rf(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?js(function(t,n){return e(t,n,i)}):oe,xf(1),n?Pf(t):Tf(function(){return new Ef}))}}function Nf(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?js(function(t,n){return e(t,n,i)}):oe,Bu(1),n?Pf(t):Tf(function(){return new Ef}))}}var Df=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 Lf(e,this.predicate,this.thisArg,this.source))},e}(),Lf=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return r(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 jf(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new Vf(e,t,n))}}var Vf=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 Ff(e,this.accumulator,this.seed,this.hasSeed))},e}(),Ff=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return r(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(i){this.destination.error(i)}this.seed=t,this.destination.next(t)},t}(C);function Uf(e){return function(t){return t.lift(new Bf(e))}}var Bf=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new zf(e,this.callback))},e}(),zf=function(e){function t(t,n){var i=e.call(this,t)||this;return i.add(new g(n)),i}return r(t,e),t}(C),Hf=function(){return function(e,t){this.id=e,this.url=t}}(),Wf=function(e){function t(t,n,i,r){void 0===i&&(i="imperative"),void 0===r&&(r=null);var o=e.call(this,t,n)||this;return o.navigationTrigger=i,o.restoredState=r,o}return r(t,e),t.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},t}(Hf),Gf=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.urlAfterRedirects=i,r}return r(t,e),t.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},t}(Hf),qf=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.reason=i,r}return r(t,e),t.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},t}(Hf),Yf=function(e){function t(t,n,i){var r=e.call(this,t,n)||this;return r.error=i,r}return r(t,e),t.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},t}(Hf),Zf=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(t,e),t.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Hf),Qf=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(t,e),t.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Hf),Kf=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n)||this;return a.urlAfterRedirects=i,a.state=r,a.shouldActivate=o,a}return r(t,e),t.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},t}(Hf),Xf=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(t,e),t.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Hf),Jf=function(e){function t(t,n,i,r){var o=e.call(this,t,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(t,e),t.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},t}(Hf),$f=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},e}(),em=function(){function e(e){this.route=e}return e.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},e}(),tm=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),nm=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),im=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),rm=function(){function e(e){this.snapshot=e}return e.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},e}(),om=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}(),am=function(){return function(){}}(),sm="primary",lm=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 um(e){return new lm(e)}var cm="ngNavigationCancelingError";function dm(e){var t=Error("NavigationCancelingError: "+e);return t[cm]=!0,t}function hm(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=e[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}var pm=function(){return function(e,t){this.routes=e,this.module=t}}();function fm(e,t){void 0===t&&(t="");for(var n=0;n<e.length;n++){var i=e[n];mm(i,gm(t,i))}}function mm(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!==sm)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&&fm(e.children,t)}function gm(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:e+"/"+t.path:"":e}function vm(e){var t=e.children&&e.children.map(vm),n=t?o({},e,{children:t}):o({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==sm&&(n.component=am),n}function ym(e,t){var n,i=Object.keys(e),r=Object.keys(t);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(e[n=i[o]]!==t[n])return!1;return!0}function bm(e){return Array.prototype.concat.apply([],e)}function _m(e){return e.length>0?e[e.length-1]:null}function wm(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function Sm(e){return An(e)?e:Pn(e)?te(Promise.resolve(e)):Ds(e)}function Cm(e,t,n){return n?function(e,t){return ym(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!km(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!t.children[i])return!1;if(!e(t.children[i],n.children[i]))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,i,r){if(n.segments.length>r.length)return!!km(a=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!km(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!e(n.children[o],i.children[o]))return!1}return!0}var a=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!km(n.segments,a)&&!!n.children[sm]&&t(n.children[sm],i,s)}(t,n,n.segments)}(e.root,t.root)}var Em=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=um(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Am.serialize(this)},e}(),xm=function(){function e(e,t){var n=this;this.segments=e,this.children=t,this.parent=null,wm(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 Mm(this)},e}(),Om=function(){function e(e,t){this.path=e,this.parameters=t}return Object.defineProperty(e.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=um(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return Vm(this)},e}();function km(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}function Tm(e,t){var n=[];return wm(e.children,function(e,i){i===sm&&(n=n.concat(t(e,i)))}),wm(e.children,function(e,i){i!==sm&&(n=n.concat(t(e,i)))}),n}var Im=function(){return function(){}}(),Pm=function(){function e(){}return e.prototype.parse=function(e){var t=new Hm(e);return new Em(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())},e.prototype.serialize=function(e){var t,n;return"/"+function e(t,n){if(!t.hasChildren())return Mm(t);if(n){var i=t.children[sm]?e(t.children[sm],!1):"",r=[];return wm(t.children,function(t,n){n!==sm&&r.push(n+":"+e(t,!1))}),r.length>0?i+"("+r.join("//")+")":i}var o=Tm(t,function(n,i){return i===sm?[e(t.children[sm],!1)]:[i+":"+e(n,!1)]});return Mm(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 Nm(e)+"="+Nm(t)}).join("&"):Nm(e)+"="+Nm(n)})).length?"?"+n.join("&"):"")+("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"")},e}(),Am=new Pm;function Mm(e){return e.segments.map(function(e){return Vm(e)}).join("/")}function Rm(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Nm(e){return Rm(e).replace(/%3B/gi,";")}function Dm(e){return Rm(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Lm(e){return decodeURIComponent(e)}function jm(e){return Lm(e.replace(/\+/g,"%20"))}function Vm(e){return""+Dm(e.path)+(t=e.parameters,Object.keys(t).map(function(e){return";"+Dm(e)+"="+Dm(t[e])}).join(""));var t}var Fm=/^[^\/()?;=#]+/;function Um(e){var t=e.match(Fm);return t?t[0]:""}var Bm=/^[^=?&#]+/,zm=/^[^?&#]+/,Hm=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 xm([],{}):new xm([],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[sm]=new xm(e,t)),n},e.prototype.parseSegment=function(){var e=Um(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(e),new Om(Lm(e),this.parseMatrixParams())},e.prototype.parseMatrixParams=function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e},e.prototype.parseParam=function(e){var t=Um(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Um(this.remaining);i&&this.capture(n=i)}e[Lm(t)]=Lm(n)}},e.prototype.parseQueryParam=function(e){var t,n=(t=this.remaining.match(Bm))?t[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(zm);return t?t[0]:""}(this.remaining);r&&this.capture(i=r)}var o=jm(n),a=jm(i);if(e.hasOwnProperty(o)){var s=e[o];Array.isArray(s)||(e[o]=s=[s]),s.push(a)}else e[o]=a}},e.prototype.parseParens=function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Um(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '"+this.url+"'");var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=sm);var o=this.parseChildren();t[r]=1===Object.keys(o).length?o[sm]:new xm([],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}(),Wm=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=Gm(e,this._root);return t?t.children.map(function(e){return e.value}):[]},e.prototype.firstChild=function(e){var t=Gm(e,this._root);return t&&t.children.length>0?t.children[0].value:null},e.prototype.siblings=function(e){var t=qm(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 qm(e,this._root).map(function(e){return e.value})},e}();function Gm(e,t){var n,i;if(e===t.value)return t;try{for(var r=l(t.children),o=r.next();!o.done;o=r.next()){var a=Gm(e,o.value);if(a)return a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null}function qm(e,t){var n,i;if(e===t.value)return[t];try{for(var r=l(t.children),o=r.next();!o.done;o=r.next()){var a=qm(e,o.value);if(a.length)return a.unshift(t),a}}catch(s){n={error:s}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return[]}var Ym=function(){function e(e,t){this.value=e,this.children=t}return e.prototype.toString=function(){return"TreeNode("+this.value+")"},e}();function Zm(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var Qm=function(e){function t(t,n){var i=e.call(this,t)||this;return i.snapshot=n,tg(i,t),i}return r(t,e),t.prototype.toString=function(){return this.snapshot.toString()},t}(Wm);function Km(e,t){var n=function(e,t){var n=new $m([],{},{},"",{},sm,t,null,e.root,-1,{});return new eg("",new Ym(n,[]))}(e,t),i=new Sf([new Om("",{})]),r=new Sf({}),o=new Sf({}),a=new Sf({}),s=new Sf(""),l=new Xm(i,r,a,s,o,sm,t,n.root);return l.snapshot=n.root,new Qm(new Ym(l,[]),n)}var Xm=function(){function e(e,t,n,i,r,o,a,s){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this._futureSnapshot=s}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(K(function(e){return um(e)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(K(function(e){return um(e)}))),this._queryParamMap},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},e}();function Jm(e,t){void 0===t&&(t="emptyOnly");var n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}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(i))}var $m=function(){function e(e,t,n,i,r,o,a,s,l,u,c){this.url=e,this.params=t,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this.routeConfig=s,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=um(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=um(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}(),eg=function(e){function t(t,n){var i=e.call(this,n)||this;return i.url=t,tg(i,n),i}return r(t,e),t.prototype.toString=function(){return ng(this._root)},t}(Wm);function tg(e,t){t.value._routerState=e,t.children.forEach(function(t){return tg(e,t)})}function ng(e){var t=e.children.length>0?" { "+e.children.map(ng).join(", ")+" } ":"";return""+e.value+t}function ig(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,ym(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),ym(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(!ym(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),ym(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function rg(e,t){var n,i;return ym(e.params,t.params)&&km(n=e.url,i=t.url)&&n.every(function(e,t){return ym(e.parameters,i[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||rg(e.parent,t.parent))}function og(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ag(e,t,n,i,r){var o={};return i&&wm(i,function(e,t){o[t]=Array.isArray(e)?e.map(function(e){return""+e}):""+e}),new Em(n.root===e?t:function e(t,n,i){var r={};return wm(t.children,function(t,o){r[o]=t===n?i:e(t,n,i)}),new xm(t.segments,r)}(n.root,e,t),o,r)}var sg=function(){function e(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&og(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find(function(e){return"object"==typeof e&&null!=e&&e.outlets});if(i&&i!==_m(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}(),lg=function(){return function(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}();function ug(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets[sm]:""+e}function cg(e,t,n){if(e||(e=new xm([],{})),0===e.segments.length&&e.hasChildren())return dg(e,t,n);var i=function(e,t,n){for(var i=0,r=t,o={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(i>=n.length)return o;var a=e.segments[r],s=ug(n[i]),l=i<n.length-1?n[i+1]:null;if(r>0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!mg(s,l,a))return o;i+=2}else{if(!mg(s,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var o=new xm(e.segments.slice(0,i.pathIndex),{});return o.children[sm]=new xm(e.segments.slice(i.pathIndex),e.children),dg(o,0,r)}return i.match&&0===r.length?new xm(e.segments,{}):i.match&&!e.hasChildren()?hg(e,t,n):i.match?dg(e,0,r):hg(e,t,n)}function dg(e,t,n){if(0===n.length)return new xm(e.segments,{});var i=function(e){var t,n;return"object"!=typeof e[0]?((t={})[sm]=e,t):void 0===e[0].outlets?((n={})[sm]=e,n):e[0].outlets}(n),r={};return wm(i,function(n,i){null!==n&&(r[i]=cg(e.children[i],t,n))}),wm(e.children,function(e,t){void 0===i[t]&&(r[t]=e)}),new xm(e.segments,r)}function hg(e,t,n){for(var i=e.segments.slice(0,t),r=0;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){var o=pg(n[r].outlets);return new xm(i,o)}if(0===r&&og(n[0]))i.push(new Om(e.segments[t].path,n[0])),r++;else{var a=ug(n[r]),s=r<n.length-1?n[r+1]:null;a&&s&&og(s)?(i.push(new Om(a,fg(s))),r+=2):(i.push(new Om(a,{})),r++)}}return new xm(i,{})}function pg(e){var t={};return wm(e,function(e,n){null!==e&&(t[n]=hg(new xm([],{}),0,e))}),t}function fg(e){var t={};return wm(e,function(e,n){return t[n]=""+e}),t}function mg(e,t,n){return e==n.path&&ym(t,n.parameters)}var gg=function(){function e(e,t,n,i){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=i}return e.prototype.activate=function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),ig(this.futureState.root),this.activateChildRoutes(t,n,e)},e.prototype.deactivateChildRoutes=function(e,t,n){var i=this,r=Zm(t);e.children.forEach(function(e){var t=e.value.outlet;i.deactivateRoutes(e,r[t],n),delete r[t]}),wm(r,function(e,t){i.deactivateRouteAndItsChildren(e,n)})},e.prototype.deactivateRoutes=function(e,t,n){var i=e.value,r=t?t.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else r&&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 i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:r})}},e.prototype.deactivateRouteAndOutlet=function(e,t){var n=this,i=t.getContext(e.value.outlet);if(i){var r=Zm(e),o=e.value.component?i.children:t;wm(r,function(e,t){return n.deactivateRouteAndItsChildren(e,o)}),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}},e.prototype.activateChildRoutes=function(e,t,n){var i=this,r=Zm(t);e.children.forEach(function(e){i.activateRoutes(e,r[e.value.outlet],n),i.forwardEvent(new rm(e.value.snapshot))}),e.children.length&&this.forwardEvent(new nm(e.value.snapshot))},e.prototype.activateRoutes=function(e,t,n){var i=e.value,r=t?t.value:null;if(ig(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(i.component)if(o=n.getOrCreateContext(i.outlet),this.routeReuseStrategy.shouldAttach(i.snapshot)){var a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(a.contexts),o.attachRef=a.componentRef,o.route=a.route.value,o.outlet&&o.outlet.attach(a.componentRef,a.route.value),vg(a.route)}else{var s=function(e){for(var t=i.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=s?s.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=l,o.outlet&&o.outlet.activateWith(i,l),this.activateChildRoutes(e,null,o.children)}else this.activateChildRoutes(e,null,n)},e}();function vg(e){ig(e.value),e.children.forEach(vg)}function yg(e){return"function"==typeof e}function bg(e){return e instanceof Em}var _g=function(){return function(e){this.segmentGroup=e||null}}(),wg=function(){return function(e){this.urlTree=e}}();function Sg(e){return new I(function(t){return t.error(new _g(e))})}function Cg(e){return new I(function(t){return t.error(new wg(e))})}function Eg(e){return new I(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+e+"'"))})}var xg=function(){function e(e,t,n,i,r){this.configLoader=t,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=e.get(Mt)}return e.prototype.apply=function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,sm).pipe(K(function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)})).pipe(au(function(t){if(t instanceof wg)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof _g)throw e.noMatchError(t);throw t}))},e.prototype.match=function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,sm).pipe(K(function(n){return t.createUrlTree(n,e.queryParams,e.fragment)})).pipe(au(function(e){if(e instanceof _g)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 i,r=e.segments.length>0?new xm([],((i={})[sm]=e,i)):e;return new Em(r,t,n)},e.prototype.expandSegmentGroup=function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(K(function(e){return new xm([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)},e.prototype.expandChildren=function(e,t,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return Ds({});var o=[],a=[],s={};return wm(n,function(n,r){var l,u,c=(l=r,u=n,i.expandSegmentGroup(e,t,u,l)).pipe(K(function(e){return s[r]=e}));r===sm?o.push(c):a.push(c)}),Ds.apply(null,o.concat(a)).pipe(Wu(),Rf(),K(function(){return s}))}(n.children)},e.prototype.expandSegment=function(e,t,n,i,r,o){var a=this;return Ds.apply(void 0,c(n)).pipe(K(function(s){return a.expandSegmentAgainstRoute(e,t,n,s,i,r,o).pipe(au(function(e){if(e instanceof _g)return Ds(null);throw e}))}),Wu(),Nf(function(e){return!!e}),au(function(e,n){if(e instanceof Ef||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,i,r))return Ds(new xm([],{}));throw new _g(t)}throw e}))},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.expandSegmentAgainstRoute=function(e,t,n,i,r,o,a){return Ig(i)!==o?Sg(t):void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o):Sg(t)},e.prototype.expandSegmentAgainstRouteUsingRedirect=function(e,t,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,o)},e.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(e,t,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Cg(o):this.lineralizeSegments(n,o).pipe(ne(function(n){var o=new xm(n,{});return r.expandSegment(e,o,t,n,i,!1)}))},e.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(e,t,n,i,r,o){var a=this,s=Og(t,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return Sg(t);var d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?Cg(d):this.lineralizeSegments(i,d).pipe(ne(function(i){return a.expandSegment(e,t,n,i.concat(r.slice(u)),o,!1)}))},e.prototype.matchSegmentAgainstRoute=function(e,t,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(K(function(e){return n._loadedConfig=e,new xm(i,{})})):Ds(new xm(i,{}));var a=Og(t,n,i),s=a.consumedSegments,u=a.lastChild;if(!a.matched)return Sg(t);var c=i.slice(u);return this.getChildConfig(e,n,i).pipe(ne(function(e){var n=e.module,i=e.routes,a=function(e,t,n,i){return n.length>0&&function(e,t,n){return i.some(function(n){return Tg(e,t,n)&&Ig(n)!==sm})}(e,n)?{segmentGroup:kg(new xm(t,function(e,t){var n,i,r={};r[sm]=t;try{for(var o=l(e),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&Ig(s)!==sm&&(r[Ig(s)]=new xm([],{}))}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return r}(i,new xm(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return i.some(function(n){return Tg(e,t,n)})}(e,n)?{segmentGroup:kg(new xm(e.segments,function(e,t,n,i){var r,a,s={};try{for(var u=l(n),c=u.next();!c.done;c=u.next()){var d=c.value;Tg(e,t,d)&&!i[Ig(d)]&&(s[Ig(d)]=new xm([],{}))}}catch(h){r={error:h}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}return o({},i,s)}(e,n,i,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,c,i),u=a.segmentGroup,d=a.slicedSegments;return 0===d.length&&u.hasChildren()?r.expandChildren(n,i,u).pipe(K(function(e){return new xm(s,e)})):0===i.length&&0===d.length?Ds(new xm(s,{})):r.expandSegment(n,u,i,d,sm,!0).pipe(K(function(e){return new xm(s.concat(e.segments),e.children)}))}))},e.prototype.getChildConfig=function(e,t,n){var i=this;return t.children?Ds(new pm(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Ds(t._loadedConfig):function(e,t,n){var i,r=t.canLoad;return r&&0!==r.length?te(r).pipe(K(function(i){var r,o=e.get(i);if(function(e){return e&&yg(e.canLoad)}(o))r=o.canLoad(t,n);else{if(!yg(o))throw new Error("Invalid CanLoad guard");r=o(t,n)}return Sm(r)})).pipe(Wu(),(i=function(e){return!0===e},function(e){return e.lift(new Df(i,void 0,e))})):Ds(!0)}(e.injector,t,n).pipe(ne(function(n){return n?i.configLoader.load(e.injector,t).pipe(K(function(e){return t._loadedConfig=e,e})):function(e){return new I(function(t){return t.error(dm("Cannot load children because the guard of the route \"path: '"+e.path+"'\" returned false"))})}(t)})):Ds(new pm([],e))},e.prototype.lineralizeSegments=function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Ds(n);if(i.numberOfChildren>1||!i.children[sm])return Eg(e.redirectTo);i=i.children[sm]}},e.prototype.applyRedirectCommands=function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)},e.prototype.applyRedirectCreatreUrlTree=function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Em(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)},e.prototype.createQueryParams=function(e,t){var n={};return wm(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n},e.prototype.createSegmentGroup=function(e,t,n,i){var r=this,o=this.createSegments(e,t.segments,n,i),a={};return wm(t.children,function(t,o){a[o]=r.createSegmentGroup(e,t,n,i)}),new xm(o,a)},e.prototype.createSegments=function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})},e.prototype.findPosParam=function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+e+"'. Cannot find '"+t.path+"'.");return i},e.prototype.findOrReturn=function(e,t){var n,i,r=0;try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===e.path)return t.splice(r),s;r++}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return e},e}();function Og(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 i=(t.matcher||hm)(n,e,t);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function kg(e){if(1===e.numberOfChildren&&e.children[sm]){var t=e.children[sm];return new xm(e.segments.concat(t.segments),t.children)}return e}function Tg(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ig(e){return e.outlet||sm}var Pg=function(){return function(e){this.path=e,this.route=this.path[this.path.length-1]}}(),Ag=function(){return function(e,t){this.component=e,this.route=t}}();function Mg(e,t,n){var i=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(i?i.module.injector:n).get(e)}function Rg(e,t,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=Zm(t);return e.children.forEach(function(e){!function(e,t,n,i,r){void 0===r&&(r={canDeactivateChecks:[],canActivateChecks:[]});var o=e.value,a=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!km(e.url,t.url);case"pathParamsOrQueryParamsChange":return!km(e.url,t.url)||!ym(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!rg(e,t)||!ym(e.queryParams,t.queryParams);case"paramsChange":default:return!rg(e,t)}}(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Pg(i)):(o.data=a.data,o._resolvedData=a._resolvedData),Rg(e,t,o.component?s?s.children:null:n,i,r),l&&r.canDeactivateChecks.push(new Ag(s&&s.outlet&&s.outlet.component||null,a))}else a&&Ng(t,s,r),r.canActivateChecks.push(new Pg(i)),Rg(e,null,o.component?s?s.children:null:n,i,r)}(e,o[e.value.outlet],n,i.concat([e.value]),r),delete o[e.value.outlet]}),wm(o,function(e,t){return Ng(e,n.getContext(t),r)}),r}function Ng(e,t,n){var i=Zm(e),r=e.value;wm(i,function(e,i){Ng(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Ag(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var Dg=Symbol("INITIAL_VALUE");function Lg(){return _c(function(e){return Qp.apply(void 0,c(e.map(function(e){return e.pipe(Bu(1),Gu(Dg))}))).pipe(jf(function(e,t){var n=!1;return t.reduce(function(e,i,r){if(e!==Dg)return e;if(i===Dg&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||bg(i))return i}return e},e)},Dg),js(function(e){return e!==Dg}),K(function(e){return bg(e)?e:!0===e}),Bu(1))})}function jg(e,t){return null!==e&&t&&t(new im(e)),Ds(!0)}function Vg(e,t){return null!==e&&t&&t(new tm(e)),Ds(!0)}function Fg(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;return i&&0!==i.length?Ds(i.map(function(i){return Vu(function(){var r,o=Mg(i,t,n);if(function(e){return e&&yg(e.canActivate)}(o))r=Sm(o.canActivate(t,e));else{if(!yg(o))throw new Error("Invalid CanActivate guard");r=Sm(o(t,e))}return r.pipe(Nf())})})).pipe(Lg()):Ds(!0)}function Ug(e,t,n){var i=t[t.length-1],r=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 Vu(function(){return Ds(t.guards.map(function(r){var o,a=Mg(r,t.node,n);if(function(e){return e&&yg(e.canActivateChild)}(a))o=Sm(a.canActivateChild(i,e));else{if(!yg(a))throw new Error("Invalid CanActivateChild guard");o=Sm(a(i,e))}return o.pipe(Nf())})).pipe(Lg())})});return Ds(r).pipe(Lg())}var Bg=function(){return function(){}}(),zg=function(){function e(e,t,n,i,r,o){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return e.prototype.recognize=function(){try{var e=Gg(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,sm),n=new $m([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},sm,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Ym(n,t),r=new eg(this.url,i);return this.inheritParamsAndData(r._root),Ds(r)}catch(a){return new I(function(e){return e.error(a)})}},e.prototype.inheritParamsAndData=function(e){var t=this,n=e.value,i=Jm(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.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,i=this,r=Tm(t,function(t,n){return i.processSegmentGroup(e,t,n)});return n={},r.forEach(function(e){var t=n[e.value.outlet];if(t){var i=t.url.map(function(e){return e.toString()}).join("/"),r=e.value.url.map(function(e){return e.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[e.value.outlet]=e.value}),r.sort(function(e,t){return e.value.outlet===sm?-1:t.value.outlet===sm?1:e.value.outlet.localeCompare(t.value.outlet)}),r},e.prototype.processSegment=function(e,t,n,i){var r,o;try{for(var a=l(e),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,t,n,i)}catch(c){if(!(c instanceof Bg))throw c}}}catch(d){r={error:d}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}if(this.noLeftoversInUrl(t,n,i))return[];throw new Bg},e.prototype.noLeftoversInUrl=function(e,t,n){return 0===t.length&&!e.children[n]},e.prototype.processSegmentAgainstRoute=function(e,t,n,i){if(e.redirectTo)throw new Bg;if((e.outlet||sm)!==i)throw new Bg;var r,a=[],s=[];if("**"===e.path){var l=n.length>0?_m(n).parameters:{};r=new $m(n,l,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Zg(e),i,e.component,e,Hg(t),Wg(t)+n.length,Qg(e))}else{var u=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Bg;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(t.matcher||hm)(n,e,t);if(!i)throw new Bg;var r={};wm(i.posParams,function(e,t){r[t]=e.path});var a=i.consumed.length>0?o({},r,i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(t,e,n);a=u.consumedSegments,s=n.slice(u.lastChild),r=new $m(a,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,Zg(e),i,e.component,e,Hg(t),Wg(t)+a.length,Qg(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),d=Gg(t,a,s,c,this.relativeLinkResolution),h=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&h.hasChildren()){var f=this.processChildren(c,h);return[new Ym(r,f)]}if(0===c.length&&0===p.length)return[new Ym(r,[])];var m=this.processSegment(c,h,p,sm);return[new Ym(r,m)]},e}();function Hg(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Wg(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 Gg(e,t,n,i,r){if(n.length>0&&function(e,t,n){return i.some(function(n){return qg(e,t,n)&&Yg(n)!==sm})}(e,n)){var a=new xm(t,function(e,t,n,i){var r,o,a={};a[sm]=i,i._sourceSegment=e,i._segmentIndexShift=t.length;try{for(var s=l(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&Yg(c)!==sm){var d=new xm([],{});d._sourceSegment=e,d._segmentIndexShift=t.length,a[Yg(c)]=d}}}catch(h){r={error:h}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}(e,t,i,new xm(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return i.some(function(n){return qg(e,t,n)})}(e,n)){var s=new xm(e.segments,function(e,t,n,i,r,a){var s,u,c={};try{for(var d=l(i),h=d.next();!h.done;h=d.next()){var p=h.value;if(qg(e,n,p)&&!r[Yg(p)]){var f=new xm([],{});f._sourceSegment=e,f._segmentIndexShift="legacy"===a?e.segments.length:t.length,c[Yg(p)]=f}}}catch(m){s={error:m}}finally{try{h&&!h.done&&(u=d.return)&&u.call(d)}finally{if(s)throw s.error}}return o({},r,c)}(e,t,n,i,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}var u=new xm(e.segments,e.children);return u._sourceSegment=e,u._segmentIndexShift=t.length,{segmentGroup:u,slicedSegments:n}}function qg(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Yg(e){return e.outlet||sm}function Zg(e){return e.data||{}}function Qg(e){return e.resolve||{}}function Kg(e,t,n,i){var r=Mg(e,t,i);return Sm(r.resolve?r.resolve(t,n):r(t,n))}function Xg(e){return function(t){return t.pipe(_c(function(t){var n=e(t);return n?te(n).pipe(K(function(){return t})):te([t])}))}}var Jg=function(){return function(){}}(),$g=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}(),ev=new Se("ROUTES"),tv=function(){function e(e,t,n,i){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=i}return e.prototype.load=function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(K(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new pm(bm(r.injector.get(ev)).map(vm),r)}))},e.prototype.loadModuleFactory=function(e){var t=this;return"string"==typeof e?te(this.loader.load(e)):Sm(e()).pipe(ne(function(e){return e instanceof Rt?Ds(e):te(t.compiler.compileModuleAsync(e))}))},e}(),nv=function(){return function(){}}(),iv=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 rv(e){throw e}function ov(e,t,n){return t.parse("/")}function av(e,t){return Ds(null)}var sv=function(){function e(e,t,n,i,r,o,a,s){var l=this;this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=i,this.config=s,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new D,this.errorHandler=rv,this.malformedUriErrorHandler=ov,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:av,afterPreactivation:av},this.urlHandlingStrategy=new iv,this.routeReuseStrategy=new $g,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(Mt),this.console=r.get(Un);var u=r.get(ti);this.isNgZoneEnabled=u instanceof ti,this.resetConfig(s),this.currentUrlTree=new Em(new xm([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tv(o,a,function(e){return l.triggerEvent(new $f(e))},function(e){return l.triggerEvent(new em(e))}),this.routerState=Km(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(js(function(e){return 0!==e.id}),K(function(e){return o({},e,{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),Vh(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 i,r,a,s=!1,u=!1;return Ds(e).pipe(_c(function(e){var i,r,a,s,l=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||l)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Ds(e).pipe(_c(function(e){var i=t.transitions.getValue();return n.next(new Wf(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?Ms:[e]}),_c(function(e){return Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,s=t.config,function(e){return e.pipe(_c(function(e){return function(t,n,i,r,o){return new xg(t,n,i,e.extractedUrl,o).apply()}(i,r,a,0,s).pipe(K(function(t){return o({},e,{urlAfterRedirects:t})}))}))}),Vh(function(e){t.currentNavigation=o({},t.currentNavigation,{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,a){return function(i){return i.pipe(ne(function(i){return function(e,t,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new zg(e,t,n,i,r,o).recognize()}(e,n,i.urlAfterRedirects,(s=i.urlAfterRedirects,t.serializeUrl(s)),r,a).pipe(K(function(e){return o({},i,{targetSnapshot:e})}));var s}))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Vh(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id),t.browserUrlTree=e.urlAfterRedirects)}),Vh(function(e){var i=new Zf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(l&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.extractedUrl,c=e.source,d=e.restoredState,h=e.extras,p=new Wf(e.id,t.serializeUrl(u),c,d);n.next(p);var f=Km(u,t.rootComponentType).snapshot;return Ds(o({},e,{targetSnapshot:f,urlAfterRedirects:u,extras:o({},h,{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,e.resolve(null),Ms}),Xg(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})}),Vh(function(e){var n=new Qf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),K(function(e){return o({},e,{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,Rg(a,i?i._root:null,r,[a.value]))});var n,i,r,a}),function(e,t){return function(n){return n.pipe(ne(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,s=a.canActivateChecks,l=a.canDeactivateChecks;return 0===l.length&&0===s.length?Ds(o({},n,{guardsResult:!0})):function(e,t,n,i){return te(l).pipe(ne(function(e){return function(e,t,n,i,r){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Ds(o.map(function(o){var a,s=Mg(o,t,r);if(function(e){return e&&yg(e.canDeactivate)}(s))a=Sm(s.canDeactivate(e,t,n,i));else{if(!yg(s))throw new Error("Invalid CanDeactivate guard");a=Sm(s(e,t,n,i))}return a.pipe(Nf())})).pipe(Lg()):Ds(!0)}(e.component,e.route,n,t,i)}),Nf(function(e){return!0!==e},!0))}(0,i,r,e).pipe(ne(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return te(s).pipe(Ls(function(t){return te([Vg(t.route.parent,i),jg(t.route,i),Ug(e,t.path,n),Fg(e,t.route,n)]).pipe(Wu(),Nf(function(e){return!0!==e},!0))}),Nf(function(e){return!0!==e},!0))}(i,0,e,t):Ds(n)}),K(function(e){return o({},n,{guardsResult:e})}))}))}}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Vh(function(e){if(bg(e.guardsResult)){var n=dm('Redirecting to "'+t.serializeUrl(e.guardsResult)+'"');throw n.url=e.guardsResult,n}}),Vh(function(e){var n=new Kf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)}),js(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new qf(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0}),Xg(function(e){if(e.guards.canActivateChecks.length)return Ds(e).pipe(Vh(function(e){var n=new Xf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),(n=t.paramsInheritanceStrategy,i=t.ngModule.injector,function(e){return e.pipe(ne(function(e){var t=e.targetSnapshot,r=e.guards.canActivateChecks;return r.length?te(r).pipe(Ls(function(e){return function(e,n,i,r){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Ds({});if(1===r.length){var o=r[0];return Kg(e[o],t,n,i).pipe(K(function(e){var t;return(t={})[o]=e,t}))}var a={};return te(r).pipe(ne(function(r){return Kg(e[r],t,n,i).pipe(K(function(e){return a[r]=e,e}))})).pipe(Rf(),K(function(){return a}))}(e._resolve,e,t,r).pipe(K(function(t){return e._resolvedData=t,e.data=o({},e.data,Jm(e,i).resolve),null}))}(e.route,0,n,i)}),function(e,t){return arguments.length>=2?function(t){return k(jf(e,void 0),xf(1),Pf(void 0))(t)}:function(t){return k(jf(function(t,n,i){return e(t)}),xf(1))(t)}}(function(e,t){return e}),K(function(t){return e})):Ds(e)}))}),Vh(function(e){var n=new Jf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}));var n,i}),Xg(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})}),K(function(e){var n,i,r,a=(r=function e(t,n,i){if(i&&t.shouldReuseRoute(n.value,i.value.snapshot)){(u=i.value)._futureSnapshot=n.value;var r=function(t,n,i){return n.children.map(function(n){var r,o;try{for(var a=l(i.children),s=a.next();!s.done;s=a.next()){var u=s.value;if(t.shouldReuseRoute(u.value.snapshot,n.value))return e(t,n,u)}}catch(c){r={error:c}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}return e(t,n)})}(t,n,i);return new Ym(u,r)}var o=t.retrieve(n.value);if(o){var a=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 i=0;i<t.children.length;++i)e(t.children[i],n.children[i])}(n,a),a}var s,u=new Xm(new Sf((s=n.value).url),new Sf(s.params),new Sf(s.queryParams),new Sf(s.fragment),new Sf(s.data),s.outlet,s.component,s);return r=n.children.map(function(n){return e(t,n)}),new Ym(u,r)}(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(i=e.currentRouterState)?i._root:void 0),new Qm(r,n));return o({},e,{targetRouterState:a})}),Vh(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)}),(i=t.rootContexts,r=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},K(function(e){return new gg(r,e.targetRouterState,e.currentRouterState,a).activate(i),e})),Vh({next:function(){s=!0},complete:function(){s=!0}}),Uf(function(){if(!s&&!u){t.resetUrlToCurrentUrlTree();var i=new qf(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID "+e.id+" is not equal to the current navigation id "+t.navigationId);n.next(i),e.resolve(!1)}t.currentNavigation=null}),au(function(i){if(u=!0,(s=i)&&s[cm]){var r=bg(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new qf(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(o),e.resolve(!1),r&&t.navigateByUrl(i.url)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Yf(e.id,t.serializeUrl(e.extractedUrl),i);n.next(a);try{e.resolve(t.errorHandler(i))}catch(l){e.reject(l)}}var s;return Ms}))}))},e.prototype.resetRootComponentType=function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType},e.prototype.getTransition=function(){return this.transitions.value},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),i="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(function(){e.scheduleNavigation(n,i,r,{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){fm(e),this.config=e.map(vm),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,i=t.queryParams,r=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,l=t.preserveFragment;qt()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,d=l?this.currentUrlTree.fragment:r,h=null;if(s)switch(s){case"merge":h=o({},this.currentUrlTree.queryParams,i);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=i||null}else h=a?this.currentUrlTree.queryParams:i||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,i,r){if(0===n.length)return ag(t.root,t.root,t,i,r);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new sg(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return wm(i.outlets,function(e,t){o[t]="string"==typeof e?e.split("/"):e}),c(e,[{outlets:o}])}if(i.segmentPath)return c(e,[i.segmentPath])}return"string"!=typeof i?c(e,[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):c(e,[i])},[]);return new sg(n,t,i)}(n);if(o.toRoot())return ag(t.root,new xm([],{}),t,i,r);var a=function(e,n,i){if(e.isAbsolute)return new lg(t.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new lg(i.snapshot._urlSegment,!0,0);var r=og(e.commands[0])?0:1;return function(t,n,o){for(var a=i.snapshot._urlSegment,s=i.snapshot._lastPathIndex+r,l=e.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new lg(a,!1,s-l)}()}(o,0,e),s=a.processChildren?dg(a.segmentGroup,a.index,o.commands):cg(a.segmentGroup,a.index,o.commands);return ag(a.segmentGroup,s,t,i,r)}(u,this.currentUrlTree,e,h,d)},e.prototype.navigateByUrl=function(e,t){void 0===t&&(t={skipLocationChange:!1}),qt()&&this.isNgZoneEnabled&&!ti.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=bg(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"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(bg(e))return Cm(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Cm(this.currentUrlTree,n,t)},e.prototype.removeEmptyProps=function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return null!=i&&(t[n]=i),t},{})},e.prototype.processNavigations=function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Gf(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,i){var r=this.getTransition();if(r&&"imperative"!==t&&"imperative"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"hashchange"==t&&"popstate"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(r&&"popstate"==t&&"hashchange"===r.source&&r.rawUrl.toString()===e.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(e,t){o=e,a=t}),l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(e){return Promise.reject(e)})},e.prototype.setBrowserUrl=function(e,t,n,i){var r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",o({},i,{navigationId:n})):this.location.go(r,"",o({},i,{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}(),lv=function(){function e(e,t,n){var i=this;this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(function(e){e instanceof Gf&&i.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){qt()&&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,i){if(0!==e||t||n||i)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var r={skipLocationChange:uv(this.skipLocationChange),replaceUrl:uv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!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:uv(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:uv(this.preserveFragment)})},enumerable:!0,configurable:!0}),a([Sn("attr.target"),wn(),s("design:type",String)],e.prototype,"target",void 0),e}();function uv(e){return""===e||!!e}var cv=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new dv,this.attachRef=null}}(),dv=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 cv,this.contexts.set(e,t)),t},e.prototype.getContext=function(e){return this.contexts.get(e)||null},e}(),hv=function(){function e(e,t,n,i,r){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new mn,this.deactivateEvents=new mn,this.name=i||sm,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),i=this.parentContexts.getOrCreateContext(this.name).children,r=new pv(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},e}(),pv=function(){function e(e,t,n){this.route=e,this.childContexts=t,this.parent=n}return e.prototype.get=function(e,t){return e===Xm?this.route:e===dv?this.childContexts:this.parent.get(e,t)},e}(),fv=function(){return function(){}}(),mv=function(){function e(){}return e.prototype.preload=function(e,t){return t().pipe(au(function(){return Ds(null)}))},e}(),gv=function(){function e(){}return e.prototype.preload=function(e,t){return Ds(null)},e}(),vv=function(){function e(e,t,n,i,r){this.router=e,this.injector=i,this.preloadingStrategy=r,this.loader=new tv(t,n,function(t){return e.triggerEvent(new $f(t))},function(t){return e.triggerEvent(new em(t))})}return e.prototype.setUpPreloading=function(){var e=this;this.subscription=this.router.events.pipe(js(function(e){return e instanceof Gf}),Ls(function(){return e.preload()})).subscribe(function(){})},e.prototype.preload=function(){var e=this.injector.get(Mt);return this.processRoutes(e,this.router.config)},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.processRoutes=function(e,t){var n,i,r=[];try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.loadChildren&&!s.canLoad&&s._loadedConfig){var u=s._loadedConfig;r.push(this.processRoutes(u.module,u.routes))}else s.loadChildren&&!s.canLoad?r.push(this.preloadConfig(e,s)):s.children&&r.push(this.processRoutes(e,s.children))}}catch(c){n={error:c}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return te(r).pipe(ae(),K(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(ne(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})},e}(),yv=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 Wf?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Gf&&(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 om&&(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 om(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}(),bv=new Se("ROUTER_CONFIGURATION"),_v=new Se("ROUTER_FORROOT_GUARD"),wv=[Ws,{provide:Im,useClass:Pm},{provide:sv,useFactory:Tv,deps:[yi,Im,dv,Ws,ut,_n,Zn,ev,bv,[nv,new We],[Jg,new We]]},dv,{provide:Xm,useFactory:Iv,deps:[sv]},{provide:_n,useClass:Ci},vv,gv,mv,{provide:bv,useValue:{enableTracing:!1}}];function Sv(){return new pi("Router",sv)}var Cv=function(){function e(e,t){}var t;return t=e,e.forRoot=function(e,n){return{ngModule:t,providers:[wv,kv(e),{provide:_v,useFactory:Ov,deps:[[sv,new We,new qe]]},{provide:bv,useValue:n||{}},{provide:zs,useFactory:xv,deps:[Us,[new He(Hs),new We],bv]},{provide:yv,useFactory:Ev,deps:[sv,El,bv]},{provide:fv,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:gv},{provide:pi,multi:!0,useFactory:Sv},[Pv,{provide:Mn,multi:!0,useFactory:Av,deps:[Pv]},{provide:Rv,useFactory:Mv,deps:[Pv]},{provide:Fn,multi:!0,useExisting:Rv}]]}},e.forChild=function(e){return{ngModule:t,providers:[kv(e)]}},e}();function Ev(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new yv(e,t,n)}function xv(e,t,n){return void 0===n&&(n={}),n.useHash?new qs(e,t):new Ys(e,t)}function Ov(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function kv(e){return[{provide:Te,multi:!0,useValue:e},{provide:ev,multi:!0,useValue:e}]}function Tv(e,t,n,i,r,o,a,s,l,u,c){void 0===l&&(l={});var d=new sv(null,t,n,i,r,o,a,bm(s));if(u&&(d.urlHandlingStrategy=u),c&&(d.routeReuseStrategy=c),l.errorHandler&&(d.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(d.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var h=Pd();d.events.subscribe(function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.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 Iv(e){return e.routerState.root}var Pv=function(){function e(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new D}return e.prototype.appInitializer=function(){var e=this;return this.injector.get(Bs,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(sv),r=e.injector.get(bv);if(e.isLegacyDisabled(r)||e.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");i.hooks.afterPreactivation=function(){return e.initNavigation?Ds(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()}return n})},e.prototype.bootstrapListener=function(e){var t=this.injector.get(bv),n=this.injector.get(vv),i=this.injector.get(yv),r=this.injector.get(sv),o=this.injector.get(yi);e===o.components[0]&&(this.isLegacyEnabled(t)?r.initialNavigation():this.isLegacyDisabled(t)&&r.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),r.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 Av(e){return e.appInitializer.bind(e)}function Mv(e){return e.bootstrapListener.bind(e)}var Rv=new Se("Router Initializer"),Nv=br({encapsulation:2,styles:[],data:{}});function Dv(e){return pa(0,[(e()(),Qr(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Vo(1,212992,null,0,hv,[dv,xi,It,[8,null],ki],null,null)],function(e,t){e(t,1,0)},null)}function Lv(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"ng-component",[],null,null,null,Dv,Nv)),Vo(1,49152,null,0,am,[],null,null)],null,null)}var jv=fo("ng-component",am,Lv,{},{},[]),Vv=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r._platform=n,r._document=i,r}return r(t,e),t.prototype.ngAfterViewInit=function(){var e=this;qt()&&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}(pp(function(){return function(e){this._elementRef=e}}())),Fv=function(){return function(){}}(),Uv=br({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 Bv(e){return pa(2,[aa(null,0),aa(null,1)],null,null)}var zv=function(){return function(){}}(),Hv=function(){return function(){}}(),Wv=function(){return function(){this.align="start"}}(),Gv=function(){return function(){}}(),qv=function(){return function(){}}(),Yv=br({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 0}@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 Zv(e){return pa(2,[aa(null,0),aa(null,1)],null,null)}function Qv(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&d(t[0])&&(t=t[0]),0===t.length?Ms:e?Qv(t).pipe(K(function(t){return e.apply(void 0,t)})):new I(function(e){return new Kv(e,t)})}var Kv=function(e){function t(t,n){var i=e.call(this,t)||this;i.sources=n,i.completed=0,i.haveValues=0;var r=n.length;i.values=new Array(r);for(var o=0;o<r;o++){var a=Z(i,n[o],null,o);a&&i.add(a)}return i}return r(t,e),t.prototype.notifyNext=function(e,t,n,i,r){this.values[n]=t,r._hasValue||(r._hasValue=!0,this.haveValues++)},t.prototype.notifyComplete=function(e){var t=this.destination,n=this.haveValues,i=this.values,r=i.length;e._hasValue?(this.completed++,this.completed===r&&(n===r&&t.next(i),t.complete())):t.complete()},t}(Q),Xv=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}(),Jv=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(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}(Xv);function $v(e){return null==e||0===e.length}var ey=/^(?=.{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])?)*$/,ty=function(){function e(){}return e.min=function(e){return function(t){if($v(t.value)||$v(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($v(t.value)||$v(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 $v(e.value)?{required:!0}:null},e.requiredTrue=function(e){return!0===e.value?null:{required:!0}},e.email=function(e){return $v(e.value)?null:ey.test(e.value)?null:{email:!0}},e.minLength=function(e){return function(t){if($v(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?(i="","^"!==t.charAt(0)&&(i+="^"),i+=t,"$"!==t.charAt(t.length-1)&&(i+="$"),n=new RegExp(i)):(i=t.toString(),n=t),function(e){if($v(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:i,actualValue:t}}}):e.nullValidator;var n,i},e.nullValidator=function(e){return null},e.compose=function(e){if(!e)return null;var t=e.filter(ny);return 0==t.length?null:function(e){return ry(function(e,n){return t.map(function(t){return t(e)})}(e))}},e.composeAsync=function(e){if(!e)return null;var t=e.filter(ny);return 0==t.length?null:function(e){return Qv(function(e,n){return t.map(function(t){return t(e)})}(e).map(iy)).pipe(K(ry))}},e}();function ny(e){return null!=e}function iy(e){var t=Pn(e)?te(e):e;if(!An(t))throw new Error("Expected validator to return Promise or Observable.");return t}function ry(e){var t=e.reduce(function(e,t){return null!=t?o({},e,t):e},{});return 0===Object.keys(t).length?null:t}var oy=new Se("NgValueAccessor"),ay=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}(),sy=new Se("CompositionEventMode"),ly=function(){function e(e,t,n){var i;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Pd()?Pd().getUserAgent():"",!/android (\d+)/.test(i.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}();function uy(e){return e.validate?function(t){return e.validate(t)}:e}function cy(e){return e.validate?function(t){return e.validate(t)}:e}var dy=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}();function hy(){throw new Error("unimplemented")}var py=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 r(t,e),Object.defineProperty(t.prototype,"validator",{get:function(){return hy()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return hy()},enumerable:!0,configurable:!0}),t}(Xv),fy=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}(),my=function(){function e(e,t,n,i){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this._control=this._injector.get(py),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}(),gy=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}(),vy='\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 });',yy='\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 });',by='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',_y=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 "+vy)},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 '+yy+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+by)},e.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+vy)},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 "+yy)},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 wy(e,t){return c(t.path,[e])}function Sy(e,t){e||Oy(t,"Cannot find control with"),t.valueAccessor||Oy(t,"No value accessor for form control with"),e.validator=ty.compose([e.validator,t.validator]),e.asyncValidator=ty.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&&Cy(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&&Cy(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 Cy(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Ey(e,t){null==e&&Oy(t,"Cannot find control with"),e.validator=ty.compose([e.validator,t.validator]),e.asyncValidator=ty.composeAsync([e.asyncValidator,t.asyncValidator])}function xy(e){return Oy(e,"There is no FormControl instance attached to form control element with")}function Oy(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 ky(e){return null!=e?ty.compose(e.map(uy)):null}function Ty(e){return null!=e?ty.composeAsync(e.map(cy)):null}function Iy(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Le(t,n.currentValue)}var Py=[ay,gy,dy,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=Le}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 i=l(Array.from(this._optionMap.keys())),r=i.next();!r.done;r=i.next()){var o=r.value;if(this._compareWith(this._optionMap.get(o),e))return o}}catch(a){t={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}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=Le}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 i=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(i.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 i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o<r.length;o++){var a=r.item(o),s=t._getOptionValue(a.value);i.push(s)}else for(r=n.options,o=0;o<r.length;o++)(a=r.item(o)).selected&&(s=t._getOptionValue(a.value),i.push(s));t.value=i,e(i)}},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 i=l(Array.from(this._optionMap.keys())),r=i.next();!r.done;r=i.next()){var o=r.value;if(this._compareWith(this._optionMap.get(o)._value,e))return o}}catch(a){t={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}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}(),my];function Ay(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 My(e,t){if(!t)return null;Array.isArray(t)||Oy(e,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return t.forEach(function(t){var o;t.constructor===ly?n=t:(o=t,Py.some(function(e){return o.constructor===e})?(i&&Oy(e,"More than one built-in value accessor matches form control with"),i=t):(r&&Oy(e,"More than one custom value accessor matches form control with"),r=t))}),r||i||n||(Oy(e,"No valid value accessor for form control with"),null)}function Ry(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}function Ny(e,t,n,i){qt()&&"never"!==i&&((null!==i&&"once"!==i||t._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(_y.ngModelWarning(e),t._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}var Dy=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(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 wy(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 ky(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ty(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){},t}(Jv),Ly=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}(),jy=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t}(Ly),Vy=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t}(Ly);function Fy(e){var t=By(e)?e.validators:e;return Array.isArray(t)?ky(t):t||null}function Uy(e,t){var n=By(t)?t.asyncValidators:e;return Array.isArray(n)?Ty(n):n||null}function By(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var zy=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.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={}),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(e),this._onDisabledChange.forEach(function(e){return e(!0)})},e.prototype.enable=function(e){void 0===e&&(e={}),this.status="VALID",this._forEachChild(function(t){t.enable(o({},e,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(e),this._onDisabledChange.forEach(function(e){return e(!1)})},e.prototype._updateAncestors=function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),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=iy(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 mn,this.statusChanges=new mn},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}(),Hy=function(e){function t(t,n,i){void 0===t&&(t=null);var r=e.call(this,Fy(n),Uy(i,n))||this;return r._onChange=[],r._applyFormState(t),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return r(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}(zy),Wy=function(e){function t(t,n,i){var r=e.call(this,Fy(n),Uy(i,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(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(i){n._throwIfControlMissing(i),n.controls[i].setValue(e[i],{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(i){n.controls[i]&&n.controls[i].patchValue(e[i],{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,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(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(i,r){n=n||t.contains(r)&&e(i)}),n},t.prototype._reduceValue=function(){var e=this;return this._reduceChildren({},function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t})},t.prototype._reduceChildren=function(e,t){var n=e;return this._forEachChild(function(e,i){n=t(n,e,i)}),n},t.prototype._allControlsDisabled=function(){var e,t;try{for(var n=l(Object.keys(this.controls)),i=n.next();!i.done;i=n.next())if(this.controls[i.value].enabled)return!1}catch(r){e={error:r}}finally{try{i&&!i.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}(zy),Gy=function(e){function t(t,n,i){var r=e.call(this,Fy(n),Uy(i,n))||this;return r.controls=t,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(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,i){n._throwIfControlMissing(i),n.at(i).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,i){n.at(i)&&n.at(i).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,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t),this._updatePristine(t),this._updateTouched(t)},t.prototype.getRawValue=function(){return this.controls.map(function(e){return e instanceof Hy?e.value:e.getRawValue()})},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),i=n.next();!i.done;i=n.next())if(i.value.enabled)return!1}catch(r){e={error:r}}finally{try{i&&!i.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}(zy),qy=Promise.resolve(null),Yy=function(e){function t(t,n){var i=e.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new mn,i.form=new Wy({},ky(t),Ty(n)),i}return r(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),Sy(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),Ry(t._directives,e)})},t.prototype.addFormGroup=function(e){var t=this;qy.then(function(){var n=t._findContainer(e.path),i=new Wy({});Ey(i,e),n.registerControl(e.name,i),i.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,Ay(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}(Jv),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 '+vy+'\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 "+yy+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+by)},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 "+yy+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+by)},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}(),Qy=new Se("NgFormSelectorWarning"),Ky=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}var n;return r(t,e),n=t,t.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Yy||Zy.modelGroupParentException()},t}(Dy),Xy=Promise.resolve(null),Jy=function(e){function t(t,n,i,r){var o=e.call(this)||this;return o.control=new Hy,o._registered=!1,o.update=new mn,o._parent=t,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=My(o,r),o}return r(t,e),t.prototype.ngOnChanges=function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),Iy(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?wy(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 ky(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ty(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(){Sy(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 Ky)&&this._parent instanceof Dy?Zy.formGroupNameException():this._parent instanceof Ky||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;Xy.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})},t.prototype._updateDisabled=function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;Xy.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})},t}(py),$y=new Se("NgModelWithFormControlWarning"),eb=function(e){function t(t,n,i,r){var o=e.call(this)||this;return o._ngModelWarningConfig=r,o.update=new mn,o._ngModelWarningSent=!1,o._rawValidators=t||[],o._rawAsyncValidators=n||[],o.valueAccessor=My(o,i),o}var n;return r(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){_y.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._isControlChanged(e)&&(Sy(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),Iy(e,this.viewModel)&&(Ny("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 ky(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ty(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}(py),tb=function(e){function t(t,n){var i=e.call(this)||this;return i._validators=t,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new mn,i}return r(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 Sy(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){Ry(this.directives,e)},t.prototype.addFormGroup=function(e){var t=this.form.get(e.path);Ey(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);Ey(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,Ay(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 xy(t)}),t.valueAccessor.registerOnTouched(function(){return xy(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&&Sy(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=ky(this._validators);this.form.validator=ty.compose([this.form.validator,e]);var t=Ty(this._asyncValidators);this.form.asyncValidator=ty.composeAsync([this.form.asyncValidator,t])},t.prototype._checkFormPresent=function(){this.form||_y.missingFormException()},t}(Jv),nb=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}return r(t,e),t.prototype._checkParentType=function(){rb(this._parent)&&_y.groupParentException()},t}(Dy),ib=function(e){function t(t,n,i){var r=e.call(this)||this;return r._parent=t,r._validators=n,r._asyncValidators=i,r}return r(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 wy(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"validator",{get:function(){return ky(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ty(this._asyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){rb(this._parent)&&_y.arrayParentException()},t}(Jv);function rb(e){return!(e instanceof nb||e instanceof tb||e instanceof ib)}var ob=function(e){function t(t,n,i,r,o){var a=e.call(this)||this;return a._ngModelWarningConfig=o,a._added=!1,a.update=new mn,a._ngModelWarningSent=!1,a._parent=t,a._rawValidators=n||[],a._rawAsyncValidators=i||[],a.valueAccessor=My(a,r),a}var n;return r(t,e),n=t,Object.defineProperty(t.prototype,"isDisabled",{set:function(e){_y.disabledAttrWarning()},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(e){this._added||this._setUpControl(),Iy(e,this.viewModel)&&(Ny("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 wy(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 ky(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"asyncValidator",{get:function(){return Ty(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),t.prototype._checkParentType=function(){!(this._parent instanceof nb)&&this._parent instanceof Dy?_y.ngModelGroupException():this._parent instanceof nb||this._parent instanceof tb||this._parent instanceof ib||_y.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}(py),ab=function(){function e(){}return e.prototype.group=function(e,t){void 0===t&&(t=null);var n=this._reduceControls(e),i=null,r=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new Wy(n,{asyncValidators:r,updateOn:o,validators:i})},e.prototype.control=function(e,t,n){return new Hy(e,t,n)},e.prototype.array=function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new Gy(r,t,n)},e.prototype._reduceControls=function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),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}(),sb=function(){return function(){}}(),lb=function(){return function(){}}(),ub=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:Qy,useValue:e.warnOnDeprecatedNgFormSelector}]}},e}(),cb=function(){function e(){}var t;return t=e,e.withConfig=function(e){return{ngModule:t,providers:[{provide:$y,useValue:e.warnOnNgModelWithFormControl}]}},e}(),db=0,hb=function(){return function(){this.id="mat-error-"+db++}}(),pb=function(){return function(){}}();function fb(e){return Error("A hint was already declared for 'align=\""+e+"\"'.")}var mb=function(){return function(){}}(),gb=0,vb=pp(function(){return function(e){this._elementRef=e}}(),"primary"),yb=new Se("MAT_FORM_FIELD_DEFAULT_OPTIONS"),bb=function(e){function t(t,n,i,r,o,a,s,l){var u=e.call(this,t)||this;return u._elementRef=t,u._changeDetectorRef=n,u._dir=r,u._defaults=o,u._platform=a,u._ngZone=s,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new D,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+gb++,u._labelId="mat-form-field-label-"+gb++,u._labelOptions=i||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return r(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._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Qu(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}),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(Gu(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()});var n=this._ngZone;n&&n.runOutsideAngular(function(){n.onStable.asObservable().pipe(vc(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),se(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._updateOutlineGapOnStable(),e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Gu(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Gu(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(Bu(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(i){if("start"===i.align){if(e||n.hintLabel)throw fb("start");e=i}else if("end"===i.align){if(t)throw fb("end");t=i}})},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||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),o=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var a=i.getBoundingClientRect();if(0===a.width&&0===a.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(a),l=this._getStartEnd(e.children[0].getBoundingClientRect()),u=0,c=0,d=e.children;c<d.length;c++)u+=d[c].offsetWidth;t=l-s-5,n=u>0?.75*u+10:0}for(var h=0;h<r.length;h++)r.item(h).style.width=t+"px";for(h=0;h<o.length;h++)o.item(h).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.prototype._updateOutlineGapOnStable=function(){var e=this;this._ngZone?this._outlineGapCalculationNeededOnStable=!0:Promise.resolve().then(function(){return e.updateOutlineGap()})},t}(vb),_b=function(){return function(){}}();function wb(){return"undefined"!=typeof process}function Sb(e){switch(e.length){case 0:return new Eu;case 1:return e[0];default:return new xu(e)}}function Cb(e,t,n,i,r,o){void 0===r&&(r={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(i.forEach(function(e){var n=e.offset,i=n==l,c=i&&u||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,a),s){case Ou:s=r[n];break;case _u:s=o[n];break;default:s=t.normalizeStyleValue(n,i,s,a)}c[i]=s}),i||s.push(c),u=c,l=n}),a.length)throw new Error("Unable to animate due to the following errors:\n - "+a.join("\n - "));return s}function Eb(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&xb(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&xb(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&xb(n,"destroy",e))})}}function xb(e,t,n){var i=n.totalTime,r=Ob(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),o=e._data;return null!=o&&(r._data=o),r}function Ob(e,t,n,i,r,o,a){return void 0===r&&(r=""),void 0===o&&(o=0),{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function kb(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function Tb(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var Ib=function(e,t){return!1},Pb=function(e,t){return!1},Ab=function(e,t,n){return[]},Mb=wb();if(Mb||"undefined"!=typeof Element){if(Ib=function(e,t){return e.contains(t)},Mb||Element.prototype.matches)Pb=function(e,t){return e.matches(t)};else{var Rb=Element.prototype,Nb=Rb.matchesSelector||Rb.mozMatchesSelector||Rb.msMatchesSelector||Rb.oMatchesSelector||Rb.webkitMatchesSelector;Nb&&(Pb=function(e,t){return Nb.apply(e,[t])})}Ab=function(e,t,n){var i=[];if(n)i.push.apply(i,c(e.querySelectorAll(t)));else{var r=e.querySelector(t);r&&i.push(r)}return i}}var Db=null,Lb=!1;function jb(e){Db||(Db=("undefined"!=typeof document?document.body:null)||{},Lb=!!Db.style&&"WebkitAppearance"in Db.style);var t=!0;return Db.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in Db.style)&&Lb&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Db.style),t}var Vb=Pb,Fb=Ib,Ub=Ab;function Bb(e){var t={};return Object.keys(e).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}var zb=function(){function e(){}return e.prototype.validateStyleProperty=function(e){return jb(e)},e.prototype.matchesElement=function(e,t){return Vb(e,t)},e.prototype.containsElement=function(e,t){return Fb(e,t)},e.prototype.query=function(e,t,n){return Ub(e,t,n)},e.prototype.computeStyle=function(e,t,n){return n||""},e.prototype.animate=function(e,t,n,i,r,o,a){return void 0===o&&(o=[]),new Eu(n,i)},e}(),Hb=function(){function e(){}return e.NOOP=new zb,e}(),Wb=1e3;function Gb(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:qb(parseFloat(t[1]),t[2])}function qb(e,t){switch(t){case"s":return e*Wb;default:return e}}function Yb(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'+e+'" is invalid.'),{duration:0,delay:0,easing:""};i=qb(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=qb(parseFloat(s),a[4]));var l=a[5];l&&(o=l)}else i=e;if(!n){var u=!1,c=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<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:i,delay:r,easing:o}}(e,t,n)}function Zb(e,t){return void 0===t&&(t={}),Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function Qb(e,t,n){if(void 0===n&&(n={}),t)for(var i in e)n[i]=e[i];else Zb(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,i=e.style.item(n),e.style.getPropertyValue(i));for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=Kb(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function Jb(e,t,n){e.style&&(Object.keys(t).forEach(function(i){var r=a_(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),wb()&&Xb(e))}function $b(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=a_(t);e.style[n]=""}),wb()&&Xb(e))}function e_(e){return Array.isArray(e)?1==e.length?e[0]:wu(e):e}var t_=new RegExp("{{\\s*(.+?)\\s*}}","g");function n_(e){var t=[];if("string"==typeof e){for(var n=e.toString(),i=void 0;i=t_.exec(n);)t.push(i[1]);t_.lastIndex=0}return t}function i_(e,t,n){var i=e.toString(),r=i.replace(t_,function(e,i){var r=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?e:r}function r_(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 a_(e){return e.replace(o_,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e[1].toUpperCase()})}function s_(e,t){return 0===e||0===t}function l_(e,t,n){var i=Object.keys(n);if(i.length&&t.length){var r=t[0],o=[];if(i.forEach(function(e){r.hasOwnProperty(e)||o.push(e),r[e]=n[e]}),o.length)for(var a=function(){var n=t[s];o.forEach(function(t){n[t]=c_(e,t)})},s=1;s<t.length;s++)a()}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_="*",h_=new Set(["true","1"]),p_=new Set(["false","0"]);function f_(e,t){var n=h_.has(e)||p_.has(e),i=h_.has(t)||p_.has(t);return function(r,o){var a=e==d_||e==r,s=t==d_||t==o;return!a&&n&&"boolean"==typeof r&&(a=r?h_.has(e):p_.has(e)),!s&&i&&"boolean"==typeof o&&(s=o?h_.has(t):p_.has(t)),a&&s}}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,i=t.queryCount=0,r=t.depCount=0,o=[],a=[];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 s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(e){s.name=e,o.push(n.visitState(s,t))}),s.name=l}else if(1==e.type){var u=n.visitTransition(e,t);i+=u.queryCount,r+=u.depCount,a.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:a,queryCount:i,depCount:r,options:null}},e.prototype.visitState=function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};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)||r.add(e)})})}}),r.size){var a=r_(r.values());t.errors.push('state("'+e.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}},e.prototype.visitTransition=function(e,t){t.queryCount=0,t.depCount=0;var n,i,r,o=u_(this,e_(e.animation),t);return{type:1,matchers:(n=e.expr,i=t.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var i=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 i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+e+'" is not supported'),t;var o=r[1],a=r[2],s=r[3];t.push(f_(o,s)),"<"!=a[0]||o==d_&&s==d_||t.push(f_(s,o))}(e,r,i)}):r.push(n),r),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,i=t.currentTime,r=0,o=e.steps.map(function(e){t.currentTime=i;var o=u_(n,e,t);return r=Math.max(r,t.currentTime),o});return t.currentTime=r,{type:3,steps:o,options:__(e.options)}},e.prototype.visitAnimate=function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return w_(Yb(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=w_(0,0,"");return r.dynamic=!0,r.strValue=i,r}return w_((n=n||Yb(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:Su({});if(5==r.type)n=this.visitKeyframes(r,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=Su(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,t);l.isEmptyStep=a,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,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==_u?n.push(e):t.errors.push("The provided style string value "+e+" is not allowed."):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(b_(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var o in t)if(t[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}},e.prototype._validateStyleAst=function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;i&&o>0&&(o-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,l,u=t.collectedStyles[t.currentQuerySelector],c=u[i],d=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(t.errors.push('The CSS property "'+i+'" 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 "'+r+'ms"'),d=!1),o=c.startTime),d&&(u[i]={startTime:o,endTime:r}),t.options&&(a=t.errors,s=t.options.params||{},(l=n_(e[i])).length&&l.forEach(function(e){s.hasOwnProperty(e)||a.push("Unable to resolve the local animation param "+e+" in the given list of values")}))}else t.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')})})},e.prototype.visitKeyframes=function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,l=0,u=e.steps.map(function(e){var i=n._makeStyleAst(e,t),u=null!=i.offset?i.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}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,a=a||c<l,l=c,o.push(c),i});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var c=e.steps.length,d=0;r>0&&r<c?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(d=1/(c-1));var h=c-1,p=t.currentTime,f=t.currentAnimateTimings,m=f.duration;return u.forEach(function(e,r){var a=d>0?r==h?1:d*r:o[r],s=a*m;t.currentTime=p+f.delay+s,f.duration=s,n._validateStyleAst(e,t),e.offset=a,i.styles.push(e)}),i},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,i=e.options||{};t.queryCount++,t.currentQuery=e;var r=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=r[0],a=r[1];t.currentQuerySelector=n.length?n+" "+o:o,kb(t.collectedStyles,t.currentQuerySelector,{});var s=u_(this,e_(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,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"}:Yb(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=Zb(e)).params&&(e.params=(t=e.params)?Zb(t):null):e={},e}function w_(e,t,n){return{duration:e,delay:t,easing:n}}function S_(e,t,n,i,r,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}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}(),E_=new RegExp(":enter","g"),x_=new RegExp(":leave","g");function O_(e,t,n,i,r,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new k_).buildKeyframes(e,t,n,i,r,o,a,s,l,u)}var k_=function(){function e(){}return e.prototype.buildKeyframes=function(e,t,n,i,r,o,a,s,l,u){void 0===u&&(u=[]),l=l||new C_;var c=new I_(e,t,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),u_(this,n,c);var d=c.timelines.filter(function(e){return e.containsAnimation()});if(d.length&&Object.keys(a).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([a],null,c.errors,s)}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 i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=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 i=t.currentTimeline.currentTime,r=null!=n.duration?Gb(n.duration):null,o=null!=n.delay?Gb(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,o);i=Math.max(i,n.duration+n.delay)}),i},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,i=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&((r=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=T_);var a=Gb(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(function(e){return u_(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e},e.prototype.visitGroup=function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?Gb(e.options.delay):0;e.steps.forEach(function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),u_(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e},e.prototype._visitTiming=function(e,t){if(e.dynamic){var n=e.strValue;return Yb(t.params?i_(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),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e},e.prototype.visitStyle=function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e},e.prototype.visitKeyframes=function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach(function(e){o.forwardTime((e.offset||0)*r),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(i+r),t.previousNode=e},e.prototype.visitQuery=function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?Gb(r.delay):0;o&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=T_);var a=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);o&&s.delayNextStep(o),i===t.element&&(l=s.currentTimeline),u_(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e},e.prototype.visitStagger=function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,o=Math.abs(r.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;u_(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},e}(),T_={},I_=function(){function e(e,t,n,i,r,o,a,s){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,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=s||new P_(this._driver,t,0),a.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 i=e,r=this.options;null!=i.duration&&(r.duration=Gb(i.duration)),null!=i.delay&&(r.delay=Gb(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(e){t&&a.hasOwnProperty(e)||(a[e]=i_(o[e],a,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,i){void 0===t&&(t=null);var r=n||this.element,o=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||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 i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new A_(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i},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,i,r,o){var a=[];if(i&&a.push(this.element),e.length>0){e=(e=e.replace(E_,"."+this._enterClassName)).replace(x_,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,c(s))}return r||0!=a.length||o.push('`query("'+t+'")` returned zero elements. (Use `query("'+t+'", { optional: true })` if you wish to allow this.)'),a},e}(),P_=function(){function e(e,t,n,i){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=i,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]||_u,t._currentKeyframe[e]=_u}),this._currentEmptyStepKeyframe=this._currentKeyframe},e.prototype.setStyles=function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var o=i&&i.params||{},a=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=_u}):Qb(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(a).forEach(function(e){var t=i_(a[e],o,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:_u),r._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 i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})},e.prototype.buildKeyframes=function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=Qb(o,!0);Object.keys(s).forEach(function(e){var i=s[e];i==Ou?t.add(e):i==_u&&n.add(e)}),i||(s.offset=a/e.duration),r.push(s)});var o=t.size?r_(t.values()):[],a=n.size?r_(n.values()):[];if(i){var s=r[0],l=Zb(s);s.offset=0,l.offset=1,r=[s,l]}return S_(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)},e}(),A_=function(e){function t(t,n,i,r,o,a,s){void 0===s&&(s=!1);var l=e.call(this,t,n,a.delay)||this;return l.element=n,l.keyframes=i,l.preStyleProps=r,l.postStyleProps=o,l._stretchStartingKeyframe=s,l.timings={duration:a.duration,delay:a.delay,easing:a.easing},l}return r(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,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=Qb(e[0],!1);l.offset=0,o.push(l);var u=Qb(e[0],!1);u.offset=M_(s),o.push(u);for(var c=e.length-1,d=1;d<=c;d++){var h=Qb(e[d],!1);h.offset=M_((n+h.offset*i)/a),o.push(h)}i=a,n=0,r="",e=o}return S_(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)},t}(P_);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(){}}(),N_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.normalizePropertyName=function(e,t){return a_(e)},t.prototype.normalizeStyleValue=function(e,t,n,i){var r="",o=n.toString().trim();if(D_[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&i.push("Please provide a CSS unit value for "+e+":"+n)}return o+r},t}(R_),D_=L_("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(","));function L_(e){var t={};return e.forEach(function(e){return t[e]=!0}),t}function j_(e,t,n,i,r,o,a,s,l,u,c,d,h){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var V_={},F_=function(){function e(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}return e.prototype.match=function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)},e.prototype.buildStyles=function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],o=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):o},e.prototype.build=function(e,t,n,i,r,a,s,l,u,c){var d=[],h=this.ast.options&&this.ast.options.params||V_,p=this.buildStyles(n,s&&s.params||V_,d),f=l&&l.params||V_,m=this.buildStyles(i,f,d),g=new Set,v=new Map,y=new Map,b="void"===i,_={params:o({},h,f)},w=c?[]:O_(e,t,this.ast.animation,r,a,p,m,_,u,d),S=0;if(w.forEach(function(e){S=Math.max(e.duration+e.delay,S)}),d.length)return j_(t,this._triggerName,n,i,b,p,m,[],[],v,y,S,d);w.forEach(function(e){var n=e.element,i=kb(v,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=kb(y,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var C=r_(g.values());return j_(t,this._triggerName,n,i,b,p,m,w,C,v,y,S)},e}(),U_=function(){function e(e,t){this.styles=e,this.defaultParams=t}return e.prototype.buildStyles=function(e,t){var n={},i=Zb(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var o=r[e];o.length>1&&(o=i_(o,i,t)),n[e]=o})}}),n},e}(),B_=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 U_(e.style,e.options&&e.options.params||{})}),z_(this.states,"true","1"),z_(this.states,"false","0"),t.transitions.forEach(function(t){n.transitionFactories.push(new F_(e,t,n.states))}),this.fallbackTransition=new F_(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,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null},e.prototype.matchStyles=function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)},e}();function z_(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var H_=new C_,W_=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=[],i=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]=i},e.prototype._buildPlayer=function(e,t,n){var i=e.element,r=Cb(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)},e.prototype.create=function(e,t,n){var i=this;void 0===n&&(n={});var r,o=[],a=this._animations[e],s=new Map;if(a?(r=O_(this._driver,t,a,"ng-enter","ng-leave",{},{},n,H_,o)).forEach(function(e){var t=kb(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(o.push("The requested animation doesn't exist or has already been destroyed"),r=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,_u)})});var l=Sb(r.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(function(){return i.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,i){var r=Ob(t,"","","");return Eb(this._getPlayer(e),n,r,i),function(){}},e.prototype.command=function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])},e}(),G_=[],q_={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Y_={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Z_="__ng_removed",Q_=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 i=Zb(e);delete i.value,this.options=i}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}(),K_=new Q_("void"),X_=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,ow(t,this._hostClassName)}return e.prototype.listen=function(e,t,n,i){var r,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"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+t+'" is not supported!');var a=kb(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};a.push(s);var l=kb(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(ow(e,"ng-trigger"),ow(e,"ng-trigger-"+t),l[t]=K_),function(){o._engine.afterFlush(function(){var e=a.indexOf(s);e>=0&&a.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,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(t),a=new $_(this.id,t,e),s=this._engine.statesByElement.get(e);s||(ow(e,"ng-trigger"),ow(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],u=new Q_(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[t]=u,l||(l=K_),"void"===u.value||l.value!==u.value){var c=kb(this._engine.playersByElement,e,[]);c.forEach(function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()});var d=o.matchTransition(l.value,u.value,e,u.params),h=!1;if(!d){if(!i)return;d=o.fallbackTransition,h=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:d,fromState:l,toState:u,player:a,isFallbackTransition:h}),h||(ow(e,"ng-animate-queued"),a.onStart(function(){aw(e,"ng-animate-queued")})),a.onDone(function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),c.push(a),a}if(!function(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(l.params,u.params)){var p=[],f=o.matchStyles(l.value,l.params,p),m=o.matchStyles(u.value,u.params,p);p.length?this._engine.reportError(p):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,i){t._elementListeners.set(i,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 i=this;void 0===n&&(n=!1),this._engine.driver.query(e,".ng-trigger",!0).forEach(function(e){if(!e[Z_]){var n=i._engine.fetchNamespacesByElement(e);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):i.clearElementCache(e)}})},e.prototype.triggerLeaveAnimation=function(e,t,n,i){var r=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach(function(t){if(r._triggers[t]){var n=r.trigger(e,t,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&Sb(a).onDone(function(){return r._engine.processLeaveNode(e)}),!0}return!1},e.prototype.prepareLeaveAnimationListeners=function(e){var t=this,n=this._elementListeners.get(e);if(n){var i=new Set;n.forEach(function(n){var r=n.name;if(!i.has(r)){i.add(r);var o=t._triggers[r].fallbackTransition,a=t._engine.statesByElement.get(e)[r]||K_,s=new Q_("void"),l=new $_(t.id,r,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:r,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}})}},e.prototype.removeNode=function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t,!0),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else for(var a=e;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}this.prepareLeaveAnimationListeners(e),r?i.markElementAsRemoved(this.id,e,!1,t):(i.afterFlush(function(){return n.clearElementCache(e)}),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}},e.prototype.insertNode=function(e,t){ow(e,this._hostClassName)},e.prototype.drainQueuedTransitions=function(e){var t=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=t._elementListeners.get(o);a&&a.forEach(function(t){if(t.name==i.triggerName){var n=Ob(o,i.triggerName,i.fromState.value,i.toState.value);n._data=e,Eb(i.player,t.phase,n,t.callback)}}),r.markedForDestroy?t._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r: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}(),J_=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 X_(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 i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||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 i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++},e.prototype.destroy=function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.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 i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t},e.prototype.trigger=function(e,t,n,i){if(ew(t)){var r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1},e.prototype.insertNode=function(e,t,n,i){if(ew(t)){var r=t[Z_];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}i&&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),ow(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),aw(e,"ng-animate-disabled"))},e.prototype.removeNode=function(e,t,n){if(ew(t)){var i=e?this._fetchNamespace(e):null;i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n)}else this._onRemovalComplete(t,n)},e.prototype.markElementAsRemoved=function(e,t,n,i){this.collectedLeaveElements.push(t),t[Z_]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},e.prototype.listen=function(e,t,n,i,r){return ew(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}},e.prototype._buildInstruction=function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)},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 Sb(e.players).onDone(function(){return t()});t()})},e.prototype.processLeaveNode=function(e){var t=this,n=e[Z_];if(n&&n.setForRemoval){if(e[Z_]=q_,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.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 i=0;i<this.collectedEnterElements.length;i++)ow(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,e)}finally{for(i=0;i<r.length;i++)r[i]()}}else for(i=0;i<this.collectedLeaveElements.length;i++)this.processLeaveNode(this.collectedLeaveElements[i]);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?Sb(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,i=new C_,r=[],a=new Map,s=[],l=new Map,u=new Map,d=new Map,h=new Set;this.disabledNodes.forEach(function(e){h.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),i=0;i<t.length;i++)h.add(t[i])});var p=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=iw(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 ow(e,n)})});for(var y=[],b=new Set,_=new Set,w=0;w<this.collectedLeaveElements.length;w++)(V=(j=this.collectedLeaveElements[w])[Z_])&&V.setForRemoval&&(y.push(j),b.add(j),V.hasAnimation?this.driver.query(j,".ng-star-inserted",!0).forEach(function(e){return b.add(e)}):_.add(j));var S=new Map,C=iw(f,Array.from(b));C.forEach(function(e,t){var n="ng-leave"+v++;S.set(t,n),e.forEach(function(e){return ow(e,n)})}),e.push(function(){m.forEach(function(e,t){var n=g.get(t);e.forEach(function(e){return aw(e,n)})}),C.forEach(function(e,t){var n=S.get(t);e.forEach(function(e){return aw(e,n)})}),y.forEach(function(e){n.processLeaveNode(e)})});for(var E=[],x=[],O=this._namespaceList.length-1;O>=0;O--)this._namespaceList[O].drainQueuedTransitions(t).forEach(function(e){var t=e.player,o=e.element;if(E.push(t),n.collectedEnterElements.length){var a=o[Z_];if(a&&a.setForMove)return void t.destroy()}var c=!p||!n.driver.containsElement(p,o),h=S.get(o),f=g.get(o),m=n._buildInstruction(e,i,f,h,c);if(m.errors&&m.errors.length)x.push(m);else{if(c)return t.onStart(function(){return $b(o,m.fromStyles)}),t.onDestroy(function(){return Jb(o,m.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return $b(o,m.fromStyles)}),t.onDestroy(function(){return Jb(o,m.toStyles)}),void r.push(t);m.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(o,m.timelines),s.push({instruction:m,player:t,element:o}),m.queriedElements.forEach(function(e){return kb(l,e,[]).push(t)}),m.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=u.get(t);i||u.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),m.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=d.get(t);i||d.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(x.length){var k=[];x.forEach(function(e){k.push("@"+e.triggerName+" has failed due to:\n"),e.errors.forEach(function(e){return k.push("- "+e+"\n")})}),E.forEach(function(e){return e.destroy()}),this.reportError(k)}var T=new Map,I=new Map;s.forEach(function(e){var t=e.element;i.has(t)&&(I.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,T))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){kb(T,t,[]).push(e),e.destroy()})});var P=y.filter(function(e){return lw(e,u,d)}),A=new Map;nw(A,this.driver,_,d,_u).forEach(function(e){lw(e,u,d)&&P.push(e)});var M=new Map;m.forEach(function(e,t){nw(M,n.driver,new Set(e),u,Ou)}),P.forEach(function(e){var t=A.get(e),n=M.get(e);A.set(e,o({},t,n))});var R=[],N=[],D={};s.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(h.has(t))return o.onDestroy(function(){return Jb(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=D;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 p=n._buildAnimation(o.namespaceId,s,T,a,M,A);if(o.setRealPlayer(p),l===D)R.push(o);else{var f=n.playersByElement.get(l);f&&f.length&&(o.parentPlayer=Sb(f)),r.push(o)}}else $b(t,s.fromStyles),o.onDestroy(function(){return Jb(t,s.toStyles)}),N.push(o),h.has(t)&&r.push(o)}),N.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=Sb(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var L=0;L<y.length;L++){var j,V=(j=y[L])[Z_];if(aw(j,"ng-leave"),!V||!V.hasAnimation){var F=[];if(l.size){var U=l.get(j);U&&U.length&&F.push.apply(F,c(U));for(var B=this.driver.query(j,".ng-animating",!0),z=0;z<B.length;z++){var H=l.get(B[z]);H&&H.length&&F.push.apply(F,c(H))}}var W=F.filter(function(e){return!e.destroyed});W.length?sw(this,j,W):this.processLeaveNode(j)}}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,i=t[Z_];return i&&i.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,i,r){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var l=!r||"void"==r;s.forEach(function(e){e.queued||(l||e.triggerName==i)&&o.push(e)})}}return(n||i)&&(o=o.filter(function(e){return!(n&&n!=e.namespaceId||i&&i!=e.triggerName)})),o},e.prototype._beforeAnimationBuild=function(e,t,n){var i,r,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,u=function(e){var i=e.element,r=i!==o,l=kb(n,i,[]);c._getPreviousPlayers(i,r,a,s,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),h=d.next();!h.done;h=d.next())u(h.value)}catch(p){i={error:p}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(i)throw i.error}}$b(o,t.fromStyles)},e.prototype._buildAnimation=function(e,t,n,i,r,o){var a=this,s=t.triggerName,l=t.element,u=[],c=new Set,d=new Set,h=t.timelines.map(function(t){var h=t.element;c.add(h);var p=h[Z_];if(p&&p.removedBeforeQueried)return new Eu(t.duration,t.delay);var f,m,g=h!==l,v=(f=(n.get(h)||G_).map(function(e){return e.getRealPlayer()}),m=[],function e(t,n){for(var i=0;i<t.length;i++){var r=t[i];r instanceof xu?e(r.players,n):n.push(r)}}(f,m),m).filter(function(e){return!!e.element&&e.element===h}),y=r.get(h),b=o.get(h),_=Cb(0,a._normalizer,0,t.keyframes,y,b),w=a._buildPlayer(t,_,v);if(t.subTimeline&&i&&d.add(h),g){var S=new $_(e,s,h);S.setRealPlayer(w),u.push(S)}return w});u.forEach(function(e){kb(a.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var i;if(e instanceof Map){if(i=e.get(t)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&e.delete(t)}}else(i=e[t])&&(i.length&&(r=i.indexOf(n),i.splice(r,1)),0==i.length&&delete e[t]);return i}(a.playersByQueriedElement,e.element,e)})}),c.forEach(function(e){return ow(e,"ng-animating")});var p=Sb(h);return p.onDestroy(function(){c.forEach(function(e){return aw(e,"ng-animating")}),Jb(l,t.toStyles)}),d.forEach(function(e){kb(i,e,[]).push(p)}),p},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 Eu(e.duration,e.delay)},e}(),$_=function(){function e(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new Eu,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 Eb(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){kb(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 ew(e){return e&&1===e.nodeType}function tw(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function nw(e,t,n,i,r){var o=[];n.forEach(function(e){return o.push(tw(e))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(e){var n=o[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i[Z_]=Y_,a.push(i))}),e.set(i,o)});var s=0;return n.forEach(function(e){return tw(e,o[s++])}),a}function iw(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;return t.forEach(function(e){var t=function e(t){if(!t)return 1;var o=r.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:i.has(a)?1:e(a),r.set(t,o),o}(e);1!==t&&n.get(t).push(e)}),n}var rw="$$classes";function ow(e,t){if(e.classList)e.classList.add(t);else{var n=e[rw];n||(n=e[rw]={}),n[t]=!0}}function aw(e,t){if(e.classList)e.classList.remove(t);else{var n=e[rw];n&&delete n[t]}}function sw(e,t,n){Sb(n).onDone(function(){return e.processLeaveNode(t)})}function lw(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach(function(e){return r.add(e)}):t.set(e,i),n.delete(e),!0}var uw=function(){function e(e,t,n){var i=this;this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new J_(e,t,n),this._timelineEngine=new W_(e,t,n),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return e.prototype.registerTrigger=function(e,t,n,i,r){var o=e+"-"+i,a=this._triggerCache[o];if(!a){var s=[],l=g_(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'+i+'" has failed to build due to the following errors:\n - '+s.join("\n - "));a=function(e,t){return new B_(e,t)}(i,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,i,a)},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,i){this._transitionEngine.insertNode(e,t,n,i)},e.prototype.onRemove=function(e,t,n){this._transitionEngine.removeNode(e,t,n)},e.prototype.disableAnimations=function(e,t){this._transitionEngine.markElementAsDisabled(e,t)},e.prototype.process=function(e,t,n,i){if("@"==n.charAt(0)){var r=u(Tb(n),2);this._timelineEngine.command(r[0],t,r[1],i)}else this._transitionEngine.trigger(e,t,n,i)},e.prototype.listen=function(e,t,n,i,r){if("@"==n.charAt(0)){var o=u(Tb(n),2);return this._timelineEngine.listen(o[0],t,o[1],r)}return this._transitionEngine.listen(e,t,n,i,r)},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 cw(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=hw(t[0]),t.length>1&&(i=hw(t[t.length-1]))):t&&(n=hw(t)),n||i?new dw(e,n,i):null}var dw=function(){function e(t,n,i){this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}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 hw(e){for(var t=null,n=Object.keys(e),i=0;i<n.length;i++){var r=n[i];pw(r)&&((t=t||{})[r]=e[r])}return t}function pw(e){return"display"===e||"position"===e}var fw="animation",mw="animationend",gw=function(){function e(e,t,n,i,r,o,a){var s=this;this._element=e,this._name=t,this._duration=n,this._delay=i,this._easing=r,this._fillMode=o,this._onDoneFn=a,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return s._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=Sw(e=this._element,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t=n+", "+t),ww(e,"",t),_w(this._element,this._eventFn,!1),this._startTime=Date.now()},e.prototype.pause=function(){vw(this._element,this._name,"paused")},e.prototype.resume=function(){vw(this._element,this._name,"running")},e.prototype.setPosition=function(e){var t=yw(this._element,this._name);this._position=e*this._duration,ww(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(),_w(this._element,this._eventFn,!0))},e.prototype.destroy=function(){var e,t,n,i;this._destroyed||(this._destroyed=!0,this.finish(),t=this._name,(i=bw(n=Sw(e=this._element,"").split(","),t))>=0&&(n.splice(i,1),ww(e,"",n.join(","))))},e}();function vw(e,t,n){ww(e,"PlayState",n,yw(e,t))}function yw(e,t){var n=Sw(e,"");return n.indexOf(",")>0?bw(n.split(","),t):bw([n],t)}function bw(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function _w(e,t,n){n?e.removeEventListener(mw,t):e.addEventListener(mw,t)}function ww(e,t,n,i){var r=fw+t;if(null!=i){var o=e.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}e.style[r]=n}function Sw(e,t){return e.style[fw+t]}var Cw="linear",Ew=function(){function e(e,t,n,i,r,o,a,s){this.element=e,this.keyframes=t,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._specialStyles=s,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Cw,this.totalTime=i+r,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 gw(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(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:c_(e.element,i))})}this.currentSnapshot=t},e}(),xw=function(e){function t(t,n){var i=e.call(this)||this;return i.element=t,i._startingStyles={},i.__initialized=!1,i._styles=Bb(n),i}return r(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}(Eu),Ow=function(){function e(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return e.prototype.validateStyleProperty=function(e){return jb(e)},e.prototype.matchesElement=function(e,t){return Vb(e,t)},e.prototype.containsElement=function(e,t){return Fb(e,t)},e.prototype.query=function(e,t,n){return Ub(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 Bb(e)});var i="@keyframes "+t+" {\n",r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+=""+r+100*t+"% {\n",r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+t+": "+n+";\n")}}),i+=r+"}\n"}),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},e.prototype.animate=function(e,t,n,i,r,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter(function(e){return e instanceof Ew}),l={};s_(n,i)&&s.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 h=cw(e,t),p=new Ew(e,t,c,n,i,r,u,h);return p.onDestroy(function(){var e;(e=d).parentNode.removeChild(e)}),p},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,i){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,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}(),Tw=function(){function e(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Iw().toString()),this._cssKeyframesDriver=new Ow}return e.prototype.validateStyleProperty=function(e){return jb(e)},e.prototype.matchesElement=function(e,t){return Vb(e,t)},e.prototype.containsElement=function(e,t){return Fb(e,t)},e.prototype.query=function(e,t,n){return Ub(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,i,r,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,i,r,o);var s={duration:n,delay:i,fill:0==i?"both":"forwards"};r&&(s.easing=r);var l={},u=o.filter(function(e){return e instanceof kw});s_(n,i)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return l[e]=t[e]})});var c=cw(e,t=l_(e,t=t.map(function(e){return Qb(e,!1)}),l));return new kw(e,t,s,c)},e}();function Iw(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var Pw=function(e){function t(t,n){var i=e.call(this)||this;return i._nextAnimationId=0,i._renderer=t.createRenderer(n.body,{id:"0",encapsulation:ze.None,styles:[],data:{animation:[]}}),i}return r(t,e),t.prototype.build=function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?wu(e):e;return Rw(this._renderer,null,t,"register",[n]),new Aw(t,this._renderer)},t}(yu),Aw=function(e){function t(t,n){var i=e.call(this)||this;return i._id=t,i._renderer=n,i}return r(t,e),t.prototype.create=function(e,t){return new Mw(this._id,e,t||{},this._renderer)},t}(bu),Mw=function(){function e(e,t,n,i){this.id=e,this.element=t,this._renderer=i,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 Rw(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 Rw(e,t,n,i,r){return e.setProperty(t,"@@"+n+":"+i,r)}var Nw=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,i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Dw("",i,this.engine),this._rendererCache.set(i,r)),r}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach(function(t){return n.engine.registerTrigger(o,a,e,t.name,t)}),new Lw(this,a,i,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 i=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(e){var t=u(e,2);(0,t[0])(t[1])}),i._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}(),Dw=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){this.engine.onRemove(this.namespaceId,t,this.delegate)},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,i){this.delegate.setAttribute(e,t,n,i)},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,i){this.delegate.setStyle(e,t,n,i)},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}(),Lw=function(e){function t(t,n,i,r){var o=e.call(this,n,i,r)||this;return o.factory=t,o.namespaceId=n,o}return r(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 i,r,o,a=this;if("@"==t.charAt(0)){var s=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=(i=u((r=l,o=r.indexOf("."),[r.substring(0,o),r.substr(o+1)]),2))[0],c=i[1]),this.engine.listen(this.namespaceId,s,l,c,function(e){a.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)},t}(Dw),jw=function(e){function t(t,n,i){return e.call(this,t.body,n,i)||this}return r(t,e),t}(uw);function Vw(){return"function"==typeof Iw()?new Tw:new Ow}function Fw(){return new N_}function Uw(e,t,n){return new Nw(e,t,n)}var Bw=new Se("AnimationModuleType"),zw=function(){return function(){}}(),Hw=br({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::-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::-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:-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-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}.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 Ww(e){return pa(0,[(e()(),Qr(0,0,null,null,8,null,null,null,null,null,null,null)),(e()(),Qr(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(e()(),Qr(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),Qr(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),Qr(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(e()(),Qr(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(e()(),Qr(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(e()(),Qr(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(e()(),Qr(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function Gw(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),aa(null,0)],null,null)}function qw(e){return pa(0,[(e()(),Qr(0,0,null,null,2,null,null,null,null,null,null,null)),aa(null,2),(e()(),ca(2,null,["",""]))],null,function(e,t){e(t,2,0,t.component._control.placeholder)})}function Yw(e){return pa(0,[aa(null,3),(e()(),Zr(0,null,null,0))],null,null)}function Zw(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(e()(),ca(-1,null,["\xa0*"]))],null,null)}function Qw(e){return pa(0,[(e()(),Qr(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 i=!0;return"cdkObserveContent"===t&&(i=!1!==e.component.updateOutlineGap()&&i),i},null,null)),Vo(1,16384,null,0,cl,[],{ngSwitch:[0,"ngSwitch"]},null),Vo(2,1196032,null,0,gf,[mf,Nt,ti],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(e()(),Zr(16777216,null,null,1,null,qw)),Vo(4,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Zr(16777216,null,null,1,null,Yw)),Vo(6,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Zr(16777216,null,null,1,null,Zw)),Vo(8,16384,null,0,al,[xi,gn],{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 Kw(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),aa(null,4)],null,null)}function Xw(e){return pa(0,[(e()(),Qr(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(e()(),Qr(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 Jw(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),aa(null,5)],null,function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function $w(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(e()(),ca(1,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n._hintLabelId),e(t,1,0,n.hintLabel)})}function eS(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,$w)),Vo(2,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),aa(null,6),(e()(),Qr(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),aa(null,7)],function(e,t){e(t,2,0,t.component.hintLabel)},function(e,t){e(t,0,0,t.component._subscriptAnimationState)})}function tS(e){return pa(2,[ta(671088640,1,{underlineRef:0}),ta(402653184,2,{_connectionContainerRef:0}),ta(402653184,3,{_inputContainerRef:0}),ta(671088640,4,{_label:0}),(e()(),Qr(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(e()(),Qr(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i},null,null)),(e()(),Zr(16777216,null,null,1,null,Ww)),Vo(7,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,Gw)),Vo(9,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),aa(null,1),(e()(),Qr(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,Qw)),Vo(14,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,Kw)),Vo(16,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,Xw)),Vo(18,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),Vo(20,16384,null,0,cl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Zr(16777216,null,null,1,null,Jw)),Vo(22,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Zr(16777216,null,null,1,null,eS)),Vo(24,278528,null,0,dl,[xi,gn,cl],{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 nS=Ac({passive:!0}),iS=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 Ms;var n=$u(e),i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new D,o="cdk-text-field-autofilled",a=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 r.next({target:e.target,isAutofilled:!1})})):(n.classList.add(o),t._ngZone.run(function(){return r.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",a,nS),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",a,nS)}}),r.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=_e({factory:function(){return new e(Ke(kc),Ke(ti))},token:e,providedIn:"root"}),e}(),rS=function(){return function(){}}(),oS=["button","checkbox","file","hidden","image","radio","range","reset","submit"],aS=0,sS=function(e){function t(t,n,i,r,o,a,s,l,u){var c=e.call(this,a,r,o,i)||this;c._elementRef=t,c._platform=n,c.ngControl=i,c._autofillMonitor=l,c._uid="mat-input-"+aS++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new D,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 Pc().has(e)});var d=c._elementRef.nativeElement;return c._inputValueAccessor=s||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 r(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=Qu(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=Qu(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()&&Pc().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=Qu(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(oS.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}(gp(function(){return function(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}())),lS=function(){return function(){}}(),uS="accent",cS=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],dS=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;o._focusMonitor=i,o._animationMode=r,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");for(var a=0,s=cS;a<s.length;a++){var l=s[a];o._hasHostAttributes(l)&&t.nativeElement.classList.add(l)}return o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=uS),o}return r(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}(pp(hp(fp(function(){return function(e){this._elementRef=e}}())))),hS=function(){return function(){}}(),pS=br({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-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 fS(e){return pa(2,[ta(402653184,1,{ripple:0}),(e()(),Qr(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),aa(null,0),(e()(),Qr(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)),Vo(4,212992,[[1,4]],0,Pp,[Nt,ti,kc,[2,Ip],[2,Bw]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(e()(),Qr(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,xo(t,4).unbounded)})}var mS=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:["",ty.compose([ty.required])]})},e.prototype.goToVideoCall=function(){if(this.roomForm.valid){var e=this.roomForm.value.roomName.replace(/ /g,"-");this.router.navigate(["/",e])}},e}(),gS=br({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 vS(e){return pa(0,[(e()(),Qr(0,0,null,null,48,"div",[["id","section1"]],null,null,null,null,null)),(e()(),Qr(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,Bv,Uv)),Vo(2,4243456,null,1,Vv,[Nt,kc,bl],null,null),ta(603979776,1,{_toolbarRows:1}),(e()(),Qr(4,0,null,0,3,"a",[],[[1,"target",0],[8,"href",4]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==xo(e,5).onClick(n.button,n.ctrlKey,n.metaKey,n.shiftKey)&&i),i},null,null)),Vo(5,671744,null,0,lv,[sv,Xm,zs],{routerLink:[0,"routerLink"]},null),ua(32,6,new Array(1)),(e()(),Qr(7,0,null,null,0,"img",[["alt","OpenVidu Logo"],["id","header_img"],["src","assets/images/openvidu_logo.png"]],null,null,null,null,null)),(e()(),Qr(8,0,null,0,2,"div",[["id","version"]],null,null,null,null,null)),(e()(),Qr(9,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(10,null,["",""])),(e()(),Qr(11,0,null,null,3,"div",[["id","ov_info"]],null,null,null,null,null)),(e()(),Qr(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()(),Qr(13,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),ca(-1,null,["Videoconference rooms in one click"])),(e()(),Qr(15,0,null,null,33,"div",[["id","card_content"]],null,null,null,null,null)),(e()(),Qr(16,0,null,null,32,"mat-card",[["class","mat-card"],["id","room_card"]],null,null,null,Zv,Yv)),Vo(17,49152,null,0,Gv,[],null,null),(e()(),Qr(18,0,null,0,1,"h3",[],null,null,null,null,null)),(e()(),ca(-1,null,["Create an OpenVidu videoconference"])),(e()(),Qr(20,0,null,0,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(e,t,n){var i=!0,r=e.component;return"submit"===t&&(i=!1!==xo(e,22).onSubmit(n)&&i),"reset"===t&&(i=!1!==xo(e,22).onReset()&&i),"ngSubmit"===t&&(i=!1!==r.goToVideoCall()&&i),i},null,null)),Vo(21,16384,null,0,sb,[],null,null),Vo(22,540672,null,0,tb,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),Uo(2048,null,Jv,null,[tb]),Vo(24,16384,null,0,Vy,[[4,Jv]],null,null),(e()(),Qr(25,0,null,null,19,"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,tS,Hw)),Vo(26,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],{appearance:[0,"appearance"]},null),ta(335544320,2,{_control:0}),ta(335544320,3,{_placeholderChild:0}),ta(335544320,4,{_labelChild:0}),ta(603979776,5,{_errorChildren:1}),ta(603979776,6,{_hintChildren:1}),ta(603979776,7,{_prefixChildren:1}),ta(603979776,8,{_suffixChildren:1}),(e()(),Qr(34,0,null,3,2,"mat-label",[],null,null,null,null,null)),Vo(35,16384,[[4,4]],0,mb,[],null,null),(e()(),ca(-1,null,["Insert your room name"])),(e()(),Qr(37,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 i=!0;return"input"===t&&(i=!1!==xo(e,38)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,38).onTouched()&&i),"compositionstart"===t&&(i=!1!==xo(e,38)._compositionStart()&&i),"compositionend"===t&&(i=!1!==xo(e,38)._compositionEnd(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,43)._focusChanged(!1)&&i),"focus"===t&&(i=!1!==xo(e,43)._focusChanged(!0)&&i),"input"===t&&(i=!1!==xo(e,43)._onInput()&&i),i},null,null)),Vo(38,16384,null,0,ly,[Ft,Nt,[2,sy]],null,null),Uo(1024,null,oy,function(e){return[e]},[ly]),Vo(40,671744,null,0,ob,[[3,Jv],[8,null],[8,null],[6,oy],[2,$y]],{name:[0,"name"]},null),Uo(2048,null,py,null,[ob]),Vo(42,16384,null,0,jy,[[4,py]],null,null),Vo(43,999424,null,0,sS,[Nt,kc,[6,py],[2,Yy],[2,tb],vp,[8,null],iS,ti],{placeholder:[0,"placeholder"]},null),Uo(2048,[[2,4]],pb,null,[sS]),(e()(),Qr(45,0,null,null,3,"div",[],null,null,null,null,null)),(e()(),Qr(46,0,null,null,2,"button",[["color","secondary"],["mat-stroked-button",""],["type","submit"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,fS,pS)),Vo(47,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],{color:[0,"color"]},null),(e()(),ca(-1,0,["Create Room"]))],function(e,t){var n=t.component,i=e(t,6,0,"");e(t,5,0,i),e(t,22,0,n.roomForm),e(t,26,0,"outline"),e(t,40,0,"roomName"),e(t,43,0,"Openvidu_call_room"),e(t,47,0,"secondary")},function(e,t){var n=t.component;e(t,1,0,xo(t,2)._toolbarRows.length>0,0===xo(t,2)._toolbarRows.length),e(t,4,0,xo(t,5).target,xo(t,5).href),e(t,10,0,n.version),e(t,20,0,xo(t,24).ngClassUntouched,xo(t,24).ngClassTouched,xo(t,24).ngClassPristine,xo(t,24).ngClassDirty,xo(t,24).ngClassValid,xo(t,24).ngClassInvalid,xo(t,24).ngClassPending),e(t,25,1,["standard"==xo(t,26).appearance,"fill"==xo(t,26).appearance,"outline"==xo(t,26).appearance,"legacy"==xo(t,26).appearance,xo(t,26)._control.errorState,xo(t,26)._canLabelFloat,xo(t,26)._shouldLabelFloat(),xo(t,26)._hasFloatingLabel(),xo(t,26)._hideControlPlaceholder(),xo(t,26)._control.disabled,xo(t,26)._control.autofilled,xo(t,26)._control.focused,"accent"==xo(t,26).color,"warn"==xo(t,26).color,xo(t,26)._shouldForward("untouched"),xo(t,26)._shouldForward("touched"),xo(t,26)._shouldForward("pristine"),xo(t,26)._shouldForward("dirty"),xo(t,26)._shouldForward("valid"),xo(t,26)._shouldForward("invalid"),xo(t,26)._shouldForward("pending"),!xo(t,26)._animationsEnabled]),e(t,37,1,[xo(t,42).ngClassUntouched,xo(t,42).ngClassTouched,xo(t,42).ngClassPristine,xo(t,42).ngClassDirty,xo(t,42).ngClassValid,xo(t,42).ngClassInvalid,xo(t,42).ngClassPending,xo(t,43)._isServer,xo(t,43).id,xo(t,43).placeholder,xo(t,43).disabled,xo(t,43).required,xo(t,43).readonly&&!xo(t,43)._isNativeSelect||null,xo(t,43)._ariaDescribedby||null,xo(t,43).errorState,xo(t,43).required.toString()]),e(t,46,0,xo(t,47).disabled||null,"NoopAnimations"===xo(t,47)._animationMode)})}function yS(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-dashboard",[],null,null,null,vS,gS)),Vo(1,114688,null,0,mS,[sv,ab],null,null)],function(e,t){e(t,1,0)},null)}var bS=fo("app-dashboard",mS,yS,{},{},[]),_S=function(){function e(){this.nickname="",this.cancel=new mn,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}(),wS=br({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 SS(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"button",[["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.refreshBrowser()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),ca(-1,0,["Refresh"]))],null,function(e,t){e(t,0,0,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode)})}function CS(e){return pa(0,[(e()(),Qr(0,0,null,null,21,"div",[["id","dialogExtension"]],null,null,null,null,null)),(e()(),Qr(1,0,null,null,20,"mat-card",[["class","mat-card"]],null,null,null,Zv,Yv)),Vo(2,49152,null,0,Gv,[],null,null),(e()(),Qr(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Vo(4,16384,null,0,zv,[],null,null),(e()(),Qr(5,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Vo(6,81920,null,0,Od,[[2,bd],Nt,Ed],null,null),(e()(),ca(7,null,["Hello ",""])),(e()(),Qr(8,0,null,null,3,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Vo(9,16384,null,0,kd,[],null,null),(e()(),Qr(10,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),ca(-1,null,["You need install this chrome extension and refresh the browser for can share your screen."])),(e()(),Qr(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)),Vo(13,16384,null,0,Wv,[],{align:[0,"align"]},null),(e()(),Qr(14,0,null,null,2,"button",[["id","cancelButton"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.onNoClick()&&i),i},fS,pS)),Vo(15,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),ca(-1,0,["Cancel"])),(e()(),Qr(17,0,null,null,2,"button",[["cdkFocusInitial",""],["id","installButton"],["mat-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.goToChromePage()&&i),i},fS,pS)),Vo(18,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),ca(-1,0,["Install"])),(e()(),Zr(16777216,null,null,1,null,SS)),Vo(21,16384,null,0,al,[xi,gn],{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,xo(t,6).id),e(t,7,0,n.nickname),e(t,12,0,"end"===xo(t,13).align),e(t,14,0,xo(t,15).disabled||null,"NoopAnimations"===xo(t,15)._animationMode),e(t,17,0,xo(t,18).disabled||null,"NoopAnimations"===xo(t,18)._animationMode)})}var ES=[".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:#ffffffd0;border-radius:20px}#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}(),OS=br({encapsulation:0,styles:[ES],data:{}});function kS(e){return pa(0,[ta(402653184,1,{elementRef:0}),(e()(),Qr(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 TS=100,IS=pp(function(){return function(e){this._elementRef=e}}(),"primary"),PS=new Se("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:TS}}}),AS=function(e){function t(t,n,i,r,o){var a=e.call(this,t,n,i,r,o)||this;return a.mode="indeterminate",a}return r(t,e),t}(function(e){function t(t,n,i,r,o){var a=e.call(this,t)||this;return a._elementRef=t,a._document=i,a.animationMode=r,a.defaults=o,a._value=0,a._fallbackAnimation=!1,a._noopAnimations="NoopAnimations"===a.animationMode&&!!a.defaults&&!a.defaults._forceAnimations,a._diameter=TS,a.mode="determinate",a._fallbackAnimation=n.EDGE||n.TRIDENT,o&&(o.diameter&&(a.diameter=o.diameter),o.strokeWidth&&(a.strokeWidth=o.strokeWidth)),t.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(a._fallbackAnimation?"-fallback":"")+"-animation"),a}return r(t,e),Object.defineProperty(t.prototype,"diameter",{get:function(){return this._diameter},set:function(e){this._diameter=Ku(e),this._fallbackAnimation||t.diameters.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=t.styleTag;e||(e=this._document.createElement("style"),this._document.head.appendChild(e),t.styleTag=e),e&&e.sheet&&e.sheet.insertRule(this._getAnimationText(),0),t.diameters.add(this.diameter)},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 Set([TS]),t.styleTag=null,t}(IS)),MS=function(){return function(){}}(),RS=br({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 NS(e){return pa(0,[(e()(),Qr(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 DS(e){return pa(0,[(e()(),Qr(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 LS(e){return pa(2,[(e()(),Qr(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)),Vo(1,16384,null,0,cl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Zr(16777216,null,null,1,null,NS)),Vo(3,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Zr(16777216,null,null,1,null,DS)),Vo(5,278528,null,0,dl,[xi,gn,cl],{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 jS(e){return Error('Unable to find icon with the name "'+e+'"')}function VS(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+e+'".')}function FS(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+e+'".')}var US=function(){return function(e){e.nodeName?this.svgElement=e:this.url=e}}(),BS=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 US(n))},e.prototype.addSvgIconLiteralInNamespace=function(e,t,n){var i=this._sanitizer.sanitize(Bt.HTML,n);if(!i)throw FS(n);var r=this._createSvgElementForSingleIcon(i);return this._addSvgIconConfig(e,t,new US(r))},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 US(t))},e.prototype.addSvgIconSetLiteralInNamespace=function(e,t){var n=this._sanitizer.sanitize(Bt.HTML,t);if(!n)throw FS(t);var i=this._svgElementFromString(n);return this._addSvgIconSetConfig(e,new US(i))},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(Bt.RESOURCE_URL,e);if(!n)throw VS(e);var i=this._cachedIconsByUrl.get(n);return i?Ds(zS(i)):this._loadSvgIconFromConfig(new US(e)).pipe(Vh(function(e){return t._cachedIconsByUrl.set(n,e)}),K(function(e){return zS(e)}))},e.prototype.getNamedSvgIcon=function(e,t){void 0===t&&(t="");var n=HS(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):ru(jS(n))},e.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},e.prototype._getSvgFromConfig=function(e){return e.svgElement?Ds(zS(e.svgElement)):this._loadSvgIconFromConfig(e).pipe(Vh(function(t){return e.svgElement=t}),K(function(e){return zS(e)}))},e.prototype._getSvgFromIconSetConfigs=function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);return i?Ds(i):Qv(t.filter(function(e){return!e.svgElement}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(au(function(t){var i=n._sanitizer.sanitize(Bt.RESOURCE_URL,e.url);return console.error("Loading icon set URL: "+i+" failed: "+t.message),Ds(null)}))})).pipe(K(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw jS(e);return i}))},e.prototype._extractIconWithNameFromAnySet=function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,e);if(r)return r}}return null},e.prototype._loadSvgIconFromConfig=function(e){var t=this;return this._fetchUrl(e.url).pipe(K(function(e){return t._createSvgElementForSingleIcon(e)}))},e.prototype._loadSvgIconSetFromConfig=function(e){var t=this;return e.svgElement?Ds(e.svgElement):this._fetchUrl(e.url).pipe(K(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("#"+t);if(!n)return null;var i=n.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i));var r=this._svgElementFromString("<svg></svg>");return r.appendChild(i),this._setSvgAttributes(r)},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(Bt.RESOURCE_URL,e);if(!n)throw VS(e);var i=this._inProgressUrlFetches.get(n);if(i)return i;var r=this._httpClient.get(n,{responseType:"text"}).pipe(Uf(function(){return t._inProgressUrlFetches.delete(n)}),me());return this._inProgressUrlFetches.set(n,r),r},e.prototype._addSvgIconConfig=function(e,t,n){return this._svgIconConfigs.set(HS(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=_e({factory:function(){return new e(Ke(zl,8),Ke(kh),Ke(bl,8))},token:e,providedIn:"root"}),e}();function zS(e){return e.cloneNode(!0)}function HS(e,t){return e+":"+t}var WS=pp(function(){return function(e){this._elementRef=e}}()),GS=new Se("mat-icon-location",{providedIn:"root",factory:function(){var e=Ke(bl),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),qS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],YS=qS.map(function(e){return"["+e+"]"}).join(", "),ZS=/^url\(['"]?#(.*?)['"]?\)$/,QS=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._iconRegistry=n,o._location=r,o._inline=!1,i||t.nativeElement.setAttribute("aria-hidden","true"),o}return r(t,e),Object.defineProperty(t.prototype,"inline",{get:function(){return this._inline},set:function(e){this._inline=Qu(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;if(e.svgIcon)if(this.svgIcon){var n=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(n[1],n[0]).pipe(Bu(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){return console.log("Error retrieving icon: "+e.message)})}else 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 i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i)}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(YS),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(e){qS.forEach(function(i){var r=t[e],o=r.getAttribute(i),a=o?o.match(ZS):null;if(a){var s=n.get(r);s||n.set(r,s=[]),s.push({name:i,value:a[1]})}})},r=0;r<t.length;r++)i(r)},t}(WS),KS=function(){return function(){}}(),XS=br({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 JS(e){return pa(2,[aa(null,0)],null,null)}var $S=br({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 eC(e){return pa(0,[(e()(),Qr(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,iC,nC)),Vo(1,49152,null,0,Mp,[[2,Bw]],{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"===xo(t,1).state,"checked"===xo(t,1).state,xo(t,1).disabled,"NoopAnimations"===xo(t,1)._animationMode)})}function tC(e){return pa(2,[(e()(),Zr(16777216,null,null,1,null,eC)),Vo(1,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),aa(null,0),(e()(),Qr(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Vo(5,212992,null,0,Pp,[Nt,ti,kc,[2,Ip],[2,Bw]],{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,xo(t,5).unbounded)})}var nC=br({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 iC(e){return pa(2,[],null,null)}var rC=function(){return function(){}}(),oC=function(){function e(e,t,n,i,r){void 0===e&&(e=!1),void 0===t&&(t="all"),void 0===n&&(n=""),void 0===i&&(i=""),void 0===r&&(r=0),this.matches=e,this.mediaQuery=t,this.mqAlias=n,this.suffix=i,this.priority=r,this.property=""}return e.prototype.clone=function(){return new e(this.matches,this.mediaQuery,this.mqAlias,this.suffix)},e}(),aC=function(){function e(){this.stylesheet=new Map}return e.prototype.addStyleToElement=function(e,t,n){var i=this.stylesheet.get(e);i?i.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),i="";if(n){var r=n.get(t);"number"!=typeof r&&"string"!=typeof r||(i=r+"")}return i},e.ngInjectableDef=_e({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:[]},lC=new Se("Flex Layout token, config options for the library",{providedIn:"root",factory:function(){return sC}}),uC=new Se("FlexLayoutServerLoaded",{providedIn:"root",factory:function(){return!1}}),cC=new Se("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:function(){return null}});function dC(e,t){return e=e?e.clone():new oC,t&&(e.mqAlias=t.alias,e.mediaQuery=t.mediaQuery,e.suffix=t.suffix,e.priority=t.priority),e}var hC=["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 fC=function(){function e(e,t,n,i){this.elementRef=e,this.styleBuilder=t,this.styler=n,this.marshal=i,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new D,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 i=n.split(".").slice(1).join(".");t.setValue(e[n].currentValue,i)}})},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,i=n.shouldCache,r=this.styleCache.get(e);r&&i||(r=n.buildStyles(e,t),i&&this.styleCache.set(e,r)),this.mru=o({},r),this.applyStyleToElement(r),n.sideEffect(e,r,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),i=n[0];if(!n[1]&&t){var r=function(e){var t,n,i=function(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],i=t[1],r=t[2];return hC.find(function(e){return e===n})||(n=hC[0]),"inline"===i&&(i="inline"!==r?r:"",r="inline"),[n,pC(i),!!r]}(e);return void 0===(t=i[1])&&(t=null),void 0===(n=i[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":i[0],"flex-wrap":t||null}}(i);this.styler.applyStyleToElements(r,[e])}return i.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}(),mC=[{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}],gC="(orientation: portrait) and (max-width: 599.99px)",vC="(orientation: portrait) and (min-width: 600px) and (max-width: 839.99px)",yC="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.99px)",bC="(orientation: portrait) and (min-width: 840px)",_C="(orientation: landscape) and (min-width: 1280px)",wC={HANDSET:gC+", (orientation: landscape) and (max-width: 959.99px)",TABLET:vC+" , "+yC,WEB:bC+", "+_C+" ",HANDSET_PORTRAIT:""+gC,TABLET_PORTRAIT:vC+" ",WEB_PORTRAIT:""+bC,HANDSET_LANDSCAPE:"(orientation: landscape) and (max-width: 959.99px)]",TABLET_LANDSCAPE:""+yC,WEB_LANDSCAPE:""+_C},SC=[{alias:"handset",priority:2e3,mediaQuery:wC.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:wC.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:wC.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:wC.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:wC.TABLET},{alias:"tablet.portrait",priority:2100,mediaQuery:wC.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:wC.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:wC.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:wC.WEB_PORTRAIT,overlapping:!0}],CC=/(\.|-|_)/g;function EC(e){var t=e.length>0?e.charAt(0):"",n=e.length>1?e.slice(1):"";return t.toUpperCase()+n}var xC=new Se("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:function(){var e=Ke(cC),t=Ke(lC),n=[].concat.apply([],(e||[]).map(function(e){return Array.isArray(e)?e:[e]}));return function(e,t){void 0===t&&(t=[]);var n,i={};return e.forEach(function(e){i[e.alias]=e}),t.forEach(function(e){i[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 i=0,r=t;i<r.length;i++){var o=r[i];if(null!=o)for(var a in o)o.hasOwnProperty(a)&&(e[a]=o[a])}}(i[e.alias],e):i[e.alias]=e}),(n=Object.keys(i).map(function(e){return i[e]})).forEach(function(e){e.suffix||(e.suffix=e.alias.replace(CC,"|").split("|").map(EC).join(""),e.overlapping=!!e.overlapping)}),n}((t.disableDefaultBps?[]:mC).concat(t.addOrientationBps?SC:[]),n)}});function OC(e,t){return(t&&t.priority||0)-(e&&e.priority||0)}function kC(e,t){return(e.priority||0)-(t.priority||0)}var TC=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=_e({factory:function(){return new e(Ke(xC))},token:e,providedIn:"root"}),e}(),IC=function(){function e(e,t,n){this._zone=e,this._platformId=t,this._document=n,this.source=new Sf(new oC(!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 i=this._observable$.pipe(js(function(n){return!t||e.indexOf(n.mediaQuery)>-1}));return se(new I(function(t){var i=n.registerQuery(e);if(i.length){var r=i.pop();i.forEach(function(e){t.next(e)}),n.source.next(r)}t.complete()}),i)}return this._observable$},e.prototype.registerQuery=function(e){var t=this,n=Array.isArray(e)?e:[e],i=[];return function(e,t){var n=e.filter(function(e){return!PC[e]});if(n.length>0){var i=n.join(", ");try{var r=t.createElement("style");r.setAttribute("type","text/css"),r.styleSheet||r.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 "+i+" {.fx-query-test{ }}\n")),t.head.appendChild(r),n.forEach(function(e){return PC[e]=r})}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 oC(n.matches,e))})}),t.registry.set(e,n)),n.matches&&i.push(new oC(!0,e))}),i},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,Sl(this._platformId))},e.ngInjectableDef=_e({factory:function(){return new e(Ke(ti),Ke(Vn),Ke(bl))},token:e,providedIn:"root"}),e}(),PC={},AC={alias:"print",mediaQuery:"print",priority:1e3},MC=function(){function e(e,t){this.breakpoints=e,this.layoutConfig=t,this.isPrinting=!1,this.queue=new RC,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(OC)},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:""),dC(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(OC))}},e.ngInjectableDef=_e({factory:function(){return new e(Ke(TC),Ke(lC))},token:e,providedIn:"root"}),e}(),RC=function(){function e(){this.printBreakpoints=[]}return e.prototype.addPrintBreakpoints=function(e){var t=this;return e.push(AC),e.sort(OC),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 NC(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 DC=function(){function e(e,t,n,i){this._serverStylesheet=e,this._serverModuleLoaded=t,this._platformId=n,this.layoutConfig=i}return e.prototype.applyStyleToElement=function(e,t,n){void 0===n&&(n=null);var i={};"string"==typeof t&&(i[t]=n,t=i),i=this.layoutConfig.disableVendorPrefixes?t:NC(t),this._applyMultiValueStyleToElement(i,e)},e.prototype.applyStyleToElements=function(e,t){var n=this;void 0===t&&(t=[]);var i=this.layoutConfig.disableVendorPrefixes?e:NC(e);t.forEach(function(e){n._applyMultiValueStyleToElement(i,e)})},e.prototype.getFlowDirection=function(e){var t=this.lookupStyle(e,"flex-direction");return[t||"row",this.lookupInlineStyle(e,"flex-direction")||Cl(this._platformId)&&this._serverModuleLoaded?t:""]},e.prototype.lookupAttributeValue=function(e,t){return e.getAttribute(t)||""},e.prototype.lookupInlineStyle=function(e,t){return Sl(this._platformId)?e.style.getPropertyValue(t):this._getServerStyle(e,t)},e.prototype.lookupStyle=function(e,t,n){void 0===n&&(n=!1);var i="";return e&&((i=this.lookupInlineStyle(e,t))||(Sl(this._platformId)?n||(i=getComputedStyle(e).getPropertyValue(t)):this._serverModuleLoaded&&(i=this._serverStylesheet.getStyleForElement(e,t)))),i?i.trim():""},e.prototype._applyMultiValueStyleToElement=function(e,t){var n=this;Object.keys(e).sort().forEach(function(i){var r=e[i],o=Array.isArray(r)?r:[r];o.sort();for(var a=0,s=o;a<s.length;a++){var l=s[a];l=l?l+"":"",Sl(n._platformId)||!n._serverModuleLoaded?Sl(n._platformId)?t.style.setProperty(i,l):n._setServerStyle(t,i,l):n._serverStylesheet.addStyleToElement(t,i,l)}})},e.prototype._setServerStyle=function(e,t,n){t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var i=this._readStyleAttribute(e);i[t]=n||"",this._writeStyleAttribute(e,i)},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 i=n.split(/;+/g),r=0;r<i.length;r++){var o=i[r].trim();if(o.length>0){var a=o.indexOf(":");if(-1===a)throw new Error("Invalid CSS style: "+o);t[o.substr(0,a).trim()]=o.substr(a+1).trim()}}return t},e.prototype._writeStyleAttribute=function(e,t){var n="";for(var i in t)t[i]&&(n+=i+":"+t[i]+";");e.setAttribute("style",n)},e.ngInjectableDef=_e({factory:function(){return new e(Ke(aC,8),Ke(uC,8),Ke(Vn),Ke(lC))},token:e,providedIn:"root"}),e}(),LC=function(){function e(){this.shouldCache=!0}return e.prototype.sideEffect=function(e,t,n){},e}();function jC(e,t,n){void 0===t&&(t="1"),void 0===n&&(n="1");var i=[t,n,e],r=e.indexOf("calc");if(r>0)i[2]=VC(e.substring(r).trim()),2==(o=e.substr(0,r).trim().split(" ")).length&&(i[0]=o[0],i[1]=o[1]);else if(0==r)i[2]=VC(e.trim());else{var o;i=3===(o=e.split(" ")).length?o:[t,n,e]}return i}function VC(e){return e.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}var FC=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 D,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=dC(e,t)).matches&&-1===this.activatedBreakpoints.indexOf(t)?(this.activatedBreakpoints.push(t),this.activatedBreakpoints.sort(OC),this.updateStyles()):e.matches||-1===this.activatedBreakpoints.indexOf(t)||(this.activatedBreakpoints.splice(this.activatedBreakpoints.indexOf(t),1),this.activatedBreakpoints.sort(OC),this.updateStyles()))},e.prototype.init=function(e,t,n,i,r){void 0===r&&(r=[]),UC(this.updateMap,e,t,n),UC(this.clearMap,e,t,i),this.buildElementKeyMap(e,t),this.watchExtraTriggers(e,t,r)},e.prototype.getValue=function(e,t,n){var i=this.elementMap.get(e);if(i){var r=void 0!==n?i.get(n):this.getActivatedValues(i,t);if(r)return r.get(t)}},e.prototype.hasValue=function(e,t){var n=this.elementMap.get(e);if(n){var i=this.getActivatedValues(n,t);if(i)return void 0!==i.get(t)||!1}return!1},e.prototype.setValue=function(e,t,n,i){var r=this.elementMap.get(e);if(r){var o=(r.get(i)||new Map).set(t,n);r.set(i,o),this.elementMap.set(e,r)}else r=(new Map).set(i,(new Map).set(t,n)),this.elementMap.set(e,r);var a=this.getValue(e,t);void 0!==a&&this.updateElement(e,t,a)},e.prototype.trackValue=function(e,t){return this.subject.asObservable().pipe(js(function(n){return n.element===e&&n.key===t}))},e.prototype.updateStyles=function(){var e=this;this.elementMap.forEach(function(t,n){var i=new Set(e.elementKeyMap.get(n)),r=e.getActivatedValues(t);r&&r.forEach(function(t,r){e.updateElement(n,r,t),i.delete(r)}),i.forEach(function(i){if(r=e.getActivatedValues(t,i)){var o=r.get(i);e.updateElement(n,i,o)}else e.clearElement(n,i)})})},e.prototype.clearElement=function(e,t){var n=this.clearMap.get(e);if(n){var i=n.get(t);i&&(i(),this.subject.next({element:e,key:t,value:""}))}},e.prototype.updateElement=function(e,t,n){var i=this.updateMap.get(e);if(i){var r=i.get(t);r&&(r(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,i=this.elementMap.get(e);if(i){var r=this.getActivatedValues(i,t);r&&(t?this.updateElement(e,t,r.get(t)):r.forEach(function(t,i){return n.updateElement(e,i,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 i=this;if(n&&n.length){var r=this.watcherMap.get(e);if(r||(r=new Map,this.watcherMap.set(e,r)),!r.get(t)){var o=se.apply(void 0,n).subscribe(function(){var n=i.getValue(e,t);i.updateElement(e,t,n)});r.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 i=e.get(this.activatedBreakpoints[n].alias);if(i&&(void 0===t||i.has(t)))return i}var r=e.get("");return void 0===t||r&&r.has(t)?r: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(Vh(this.hook.interceptEvents(this)),js(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))},e.ngInjectableDef=_e({factory:function(){return new e(Ke(IC),Ke(TC),Ke(MC))},token:e,providedIn:"root"}),e}();function UC(e,t,n,i){if(void 0!==i){var r=e.get(t);r||(r=new Map,e.set(t,r)),r.set(n,i)}}var BC="inline",zC=["row","column","row-reverse","column-reverse"];function HC(e){var t=(e=e?e.toLowerCase():"").split(" "),n=t[0],i=t[1],r=t[2];return zC.find(function(e){return e===n})||(n=zC[0]),i===BC&&(i=r!==BC?r:"",r=BC),[n,GC(i),!!r]}function WC(e){return HC(e)[0].indexOf("row")>-1}function GC(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 qC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.buildStyles=function(e){return void 0===(t=(i=HC(e))[1])&&(t=null),void 0===(n=i[2])&&(n=!1),{display:n?"inline-flex":"flex","box-sizing":"border-box","flex-direction":i[0],"flex-wrap":t||null};var t,n,i},t.ngInjectableDef=_e({factory:function(){return new t},token:t,providedIn:"root"}),t}(LC),YC=["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"],ZC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=YC,t}return r(t,e),t}(function(e){function t(t,n,i,r){var o=e.call(this,t,i,n,r)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.DIRECTIVE_KEY="layout",o.styleCache=QC,o.init(),o}return r(t,e),t}(fC)),QC=new Map;function KC(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 i=0,r=t;i<r.length;i++){var o=r[i];if(null!=o)for(var a in o)o.hasOwnProperty(a)&&(e[a]=o[a])}return e}var XC=function(e){function t(t){var n=e.call(this)||this;return n.layoutConfig=t,n}return r(t,e),t.prototype.buildStyles=function(e,t){var n=e.split(" "),i=n[0],r=n[1],o=n.slice(2).join(" "),a=t.direction.indexOf("column")>-1?"column":"row",s=WC(a)?"max-width":"max-height",l=WC(a)?"min-width":"min-height",u=String(o).indexOf("calc")>-1,c=u||"auto"===o,d=String(o).indexOf("%")>-1&&!u,h=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,p=u||h;r="0"==r?0:r;var f=!(i="0"==i?0:i)&&!r,m={},g={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(o||""){case"":o="row"===a?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":i=0,o="auto";break;case"grow":o="100%";break;case"noshrink":r=0,o="auto";break;case"auto":break;case"none":i=0,r=0,o="auto";break;default:p||d||isNaN(o)||(o+="%"),"0%"===o&&(p=!0),"0px"===o&&(o="0%"),m=KC(g,u?{"flex-grow":i,"flex-shrink":r,"flex-basis":p?o:"100%"}:{flex:i+" "+r+" "+(p?o:"100%")})}return m.flex||m["flex-grow"]||(m=KC(g,u?{"flex-grow":i,"flex-shrink":r,"flex-basis":o}:{flex:i+" "+r+" "+o})),"0%"!==o&&"0px"!==o&&"0.000000001px"!==o&&"auto"!==o&&(m[l]=f||p&&i?o:null,m[s]=f||!c&&r?o:null),m[l]||m[s]?t.hasWrap&&(m[u?"flex-basis":"flex"]=m[s]?u?m[s]:i+" "+r+" "+m[s]:u?m[l]:i+" "+r+" "+m[l]):m=KC(g,u?{"flex-grow":i,"flex-shrink":r,"flex-basis":o}:{flex:i+" "+r+" "+o}),KC(m,{"box-sizing":"border-box"})},t.ngInjectableDef=_e({factory:function(){return new t(Ke(lC))},token:t,providedIn:"root"}),t}(LC),JC=["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"],$C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=JC,t}return r(t,e),t}(function(e){function t(t,n,i,r,o){var a=e.call(this,t,r,n,o)||this;return a.elRef=t,a.styleUtils=n,a.layoutConfig=i,a.styleBuilder=r,a.marshal=o,a.DIRECTIVE_KEY="flex",a.direction="",a.wrap=!1,a.flexGrow="1",a.flexShrink="1",a.init(),a.parentElement&&(a.marshal.trackValue(a.parentElement,"layout").pipe(vc(a.destroySubject)).subscribe(a.onLayoutChange.bind(a)),a.marshal.trackValue(a.nativeElement,"layout-align").pipe(vc(a.destroySubject)).subscribe(a.triggerReflow.bind(a))),a}return r(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"),i=this.wrap;n&&i?this.styleCache=nE:n&&!i?this.styleCache=eE:!n&&i?this.styleCache=iE:n||i||(this.styleCache=tE);var r=jC(String(e).replace(";",""),this.flexGrow,this.flexShrink);this.addStyles(r.join(" "),{direction:t,hasWrap:i})},t.prototype.triggerReflow=function(){var e=this.activatedValue;if(void 0!==e){var t=jC(e,this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,t.join(" "))}},t}(fC)),eE=new Map,tE=new Map,nE=new Map,iE=new Map,rE={margin:0,width:"100%",height:"100%","min-width":"100%","min-height":"100%"},oE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.buildStyles=function(e){return rE},t.ngInjectableDef=_e({factory:function(){return new t},token:t,providedIn:"root"}),t}(LC),aE=function(e){function t(t,n,i,r){var o=e.call(this,t,i,n,r)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,o.styleCache=sE,o.addStyles(""),o}return r(t,e),t}(fC),sE=new Map,lE=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.buildStyles=function(e,t){var n={},i=e.split(" "),r=i[1];switch(i[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(r){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 KC(n,{display:t.inline?"inline-flex":"flex","flex-direction":t.layout,"box-sizing":"border-box","max-width":"stretch"===r?WC(t.layout)?null:"100%":null,"max-height":"stretch"===r&&WC(t.layout)?"100%":null})},t.ngInjectableDef=_e({factory:function(){return new t},token:t,providedIn:"root"}),t}(LC),uE=["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"],cE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=uE,t}return r(t,e),t}(function(e){function t(t,n,i,r){var o=e.call(this,t,i,n,r)||this;return o.elRef=t,o.styleUtils=n,o.styleBuilder=i,o.marshal=r,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 r(t,e),t.prototype.updateWithValue=function(e){var t=this.layout||"row",n=this.inline;"row"===t&&n?this.styleCache=mE:"row"!==t||n?"row-reverse"===t&&n?this.styleCache=vE:"row-reverse"!==t||n?"column"===t&&n?this.styleCache=gE:"column"!==t||n?"column-reverse"===t&&n?this.styleCache=yE:"column-reverse"!==t||n||(this.styleCache=fE):this.styleCache=hE:this.styleCache=pE:this.styleCache=dE,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"),zC.find(function(e){return e===t.layout})||(this.layout="row"),this.triggerUpdate()},t}(fC)),dE=new Map,hE=new Map,pE=new Map,fE=new Map,mE=new Map,gE=new Map,vE=new Map,yE=new Map,bE=function(){return function(){}}(),_E=0,wE=0,SE=new Se("mat-select-scroll-strategy");function CE(e){return function(){return e.scrollStrategies.reposition()}}var EE=function(){return function(e,t){this.source=e,this.value=t}}(),xE=function(e){function t(t,n,i,r,o,a,s,l,u,c,d,h,p){var f=e.call(this,o,r,s,l,c)||this;return f._viewportRuler=t,f._changeDetectorRef=n,f._ngZone=i,f._dir=a,f._parentFormField=u,f.ngControl=c,f._liveAnnouncer=p,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(e,t){return e===t},f._uid="mat-select-"+_E++,f._destroy=new D,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new D,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=Vu(function(){return f.options?se.apply(void 0,f.options.map(function(e){return e.onSelectionChange})):f._ngZone.onStable.asObservable().pipe(Bu(1),_c(function(){return f.optionSelectionChanges}))}),f.openedChange=new mn,f._openedStream=f.openedChange.pipe(js(function(e){return e}),K(function(){})),f._closedStream=f.openedChange.pipe(js(function(e){return!e}),K(function(){})),f.selectionChange=new mn,f.valueChange=new mn,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=h,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(d)||0,f.id=f.id,f}return r(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=Qu(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=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Qu(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 Dc(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())})},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(Gu(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(Bu(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,i=this._keyManager;if((13===t||32===t)&&!ju(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var r=this.selected;36===t||35===t?(36===t?i.setFirstItemActive():i.setLastItemActive(),e.preventDefault()):i.onKeydown(e),this._liveAnnouncer&&r!==this.selected&&this._liveAnnouncer.announce(this.selected.viewValue)}},t.prototype._handleOpenKeydown=function(e){var t=e.keyCode,n=40===t||38===t,i=this._keyManager;if(36===t||35===t)e.preventDefault(),36===t?i.setFirstItemActive():i.setLastItemActive();else if(n&&e.altKey)e.preventDefault(),this.close();else if(13!==t&&32!==t||!i.activeItem||ju(e))if(this._multiple&&65===t&&e.ctrlKey){e.preventDefault();var r=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(r?e.select():e.deselect())})}else{var o=i.activeItemIndex;i.onKeydown(e),this._multiple&&n&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==o&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.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(Bu(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(!wE&&this.multiple){var e=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");e&&(wE=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(i){return qt()&&console.warn(i),!1}});return n&&this._selectionModel.select(n),n},t.prototype._initKeyManager=function(){var e=this;this._keyManager=new Xh(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=se(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())}),se.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,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),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 EE(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,i=this._keyManager.activeItemIndex||0,r=Up(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(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,i){return void 0===t?e===n?i:void 0:t},void 0)},t.prototype._calculateOverlayPosition=function(){var e=this._getItemHeight(),t=this._getItemCount(),n=Math.min(t*e,256),i=t*e-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=Up(r,this.options,this.optionGroups);var o=n/2;this._scrollTop=this._calculateOverlayScroll(r,o,i),this._offsetY=this._calculateOverlayOffsetY(r,o,i),this._checkOverlayWithinViewport(i)},t.prototype._calculateOverlayScroll=function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/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(),i=this._isRtl(),r=this.multiple?wE+16:32;if(this.multiple)e=wE;else{var o=this._selectionModel.selected[0]||this.options.first;e=o&&o.group?32:16}i||(e*=-1);var a=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);a>0?e+=a+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()},t.prototype._calculateOverlayOffsetY=function(e,t,n){var i,r=this._getItemHeight(),o=(r-this._triggerRect.height)/2,a=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):t-r/2,Math.round(-1*i-o))},t.prototype._checkOverlayWithinViewport=function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,o=Math.abs(this._offsetY),a=Math.min(this._getItemCount()*t,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,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 i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,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}(fp(mp(hp(gp(function(){return function(e,t,n,i,r){this._elementRef=e,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}()))))),OE=function(){return function(){}}(),kE=br({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 TE(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(e()(),ca(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.placeholder||"\xa0")})}function IE(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(1,null,["",""]))],null,function(e,t){e(t,1,0,t.component.triggerValue||"\xa0")})}function PE(e){return pa(0,[aa(null,0),(e()(),Zr(0,null,null,0))],null,null)}function AE(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),Vo(1,16384,null,0,cl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Zr(16777216,null,null,1,null,IE)),Vo(3,16384,null,0,hl,[xi,gn,cl],null,null),(e()(),Zr(16777216,null,null,1,null,PE)),Vo(5,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(e,t){e(t,1,0,!!t.component.customTrigger),e(t,5,0,!0)},null)}function ME(e){return pa(0,[(e()(),Qr(0,0,null,null,3,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(e()(),Qr(1,0,[[2,0],["panel",1]],null,2,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(e,t,n){var i=!0,r=e.component;return"@transformPanel.done"===t&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===t&&(i=!1!==r._handleKeydown(n)&&i),i},null,null)),Vo(2,278528,null,0,nl,[Gi,qi,Nt,Ft],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),aa(null,1)],function(e,t){var n=t.component;e(t,2,0,qr(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 RE(e){return pa(2,[ta(402653184,1,{trigger:0}),ta(671088640,2,{panel:0}),ta(402653184,3,{overlayDir:0}),(e()(),Qr(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 i=!0;return"click"===t&&(i=!1!==e.component.toggle()&&i),i},null,null)),Vo(4,16384,[["origin",4]],0,dd,[Nt],null,null),(e()(),Qr(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),Vo(6,16384,null,0,cl,[],{ngSwitch:[0,"ngSwitch"]},null),(e()(),Zr(16777216,null,null,1,null,TE)),Vo(8,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Zr(16777216,null,null,1,null,AE)),Vo(10,278528,null,0,dl,[xi,gn,cl],{ngSwitchCase:[0,"ngSwitchCase"]},null),(e()(),Qr(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(e()(),Qr(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,function(e,t,n){var i=!0,r=e.component;return"backdropClick"===t&&(i=!1!==r.close()&&i),"attach"===t&&(i=!1!==r._onAttached()&&i),"detach"===t&&(i=!1!==r.close()&&i),i},ME)),Vo(14,671744,[[3,4]],0,hd,[ld,gn,xi,cd,[2,Yu]],{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,xo(t,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var NE=function(){return function(){}}(),DE=function(e){function t(t,n,i,r,o,a){var s=e.call(this,t)||this;return s._focusMonitor=n,s._changeDetectorRef=i,s._dir=r,s._animationMode=a,s._invert=!1,s._max=100,s._min=0,s._step=1,s._thumbLabel=!1,s._tickInterval=0,s._value=null,s._vertical=!1,s.change=new mn,s.input=new mn,s.valueChange=new mn,s.onTouched=function(){},s._percent=0,s._isSliding=!1,s._isActive=!1,s._tickIntervalPercent=0,s._sliderDimensions=null,s._controlValueAccessorChangeFn=function(){},s._dirChangeSubscription=g.EMPTY,s.tabIndex=parseInt(o)||0,s}return r(t,e),Object.defineProperty(t.prototype,"invert",{get:function(){return this._invert},set:function(e){this._invert=Qu(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=Qu(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=Qu(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),i=Math.round((n-this.min)/this.step)*this.step+this.min;this.value=this._clamp(i,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 NE;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}(mp(pp(hp(function(){return function(e){this._elementRef=e}}()),"accent"))),LE=function(){return function(){}}(),jE=br({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 VE(e){return pa(2,[ta(402653184,1,{_sliderWrapper:0}),(e()(),Qr(1,0,[[1,0],["sliderWrapper",1]],null,16,"div",[["class","mat-slider-wrapper"]],null,null,null,null,null)),(e()(),Qr(2,0,null,null,4,"div",[["class","mat-slider-track-wrapper"]],null,null,null,null,null)),(e()(),Qr(3,0,null,null,1,"div",[["class","mat-slider-track-background"]],null,null,null,null,null)),Vo(4,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),(e()(),Qr(5,0,null,null,1,"div",[["class","mat-slider-track-fill"]],null,null,null,null,null)),Vo(6,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),(e()(),Qr(7,0,null,null,3,"div",[["class","mat-slider-ticks-container"]],null,null,null,null,null)),Vo(8,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),(e()(),Qr(9,0,null,null,1,"div",[["class","mat-slider-ticks"]],null,null,null,null,null)),Vo(10,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),(e()(),Qr(11,0,null,null,6,"div",[["class","mat-slider-thumb-container"]],null,null,null,null,null)),Vo(12,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),(e()(),Qr(13,0,null,null,0,"div",[["class","mat-slider-focus-ring"]],null,null,null,null,null)),(e()(),Qr(14,0,null,null,0,"div",[["class","mat-slider-thumb"]],null,null,null,null,null)),(e()(),Qr(15,0,null,null,2,"div",[["class","mat-slider-thumb-label"]],null,null,null,null,null)),(e()(),Qr(16,0,null,null,1,"span",[["class","mat-slider-thumb-label-text"]],null,null,null,null,null)),(e()(),ca(17,null,["",""]))],function(e,t){var n=t.component;e(t,4,0,n._trackBackgroundStyles),e(t,6,0,n._trackFillStyles),e(t,8,0,n._ticksContainerStyles),e(t,10,0,n._ticksStyles),e(t,12,0,n._thumbContainerStyles)},function(e,t){e(t,17,0,t.component.displayValue)})}var FE=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 UE(e){var t=typeof e;return"object"===t?e.constructor===Array?"array":e.constructor===Set?"set":"object":t}function BE(e){var t=e.split(":"),n=t[0],i=t.slice(1);return new FE(n,i.join(":"))}function zE(e,t){return t.key&&(e[t.key]=t.value),e}var HE=["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"],WE=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputs=HE,t}return r(t,e),t}(function(e){function t(t,n,i,r,o,a,s,l,u){var c=e.call(this,t,null,n,i)||this;c.elementRef=t,c.styler=n,c.marshal=i,c.keyValueDiffers=r,c.renderer=o,c.sanitizer=a,c.ngStyleInstance=s,c.DIRECTIVE_KEY="ngStyle",c.ngStyleInstance||(c.ngStyleInstance=new pl(c.keyValueDiffers,c.elementRef,c.renderer)),c.init();var d=c.nativeElement.getAttribute("style")||"";return c.fallbackStyles=c.buildStyleMap(d),c.isServer=l&&Cl(u),c}return r(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,i=function(e){return n.sanitizer.sanitize(Bt.STYLE,e)||""};if(e)switch(UE(e)){case"string":return GE((void 0===t&&(t=";"),String(e).trim().split(t).map(function(e){return e.trim()}).filter(function(e){return""!==e})),i);case"array":return GE(e,i);case"set":default:return function(e,t){var n=[];return"set"===UE(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(BE).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(zE,{})}(0,t)}(e,i)}return{}},t.prototype.ngDoCheck=function(){this.ngStyleInstance.ngDoCheck()},t}(fC));function GE(e,t){return e.map(BE).filter(function(e){return!!e}).map(function(e){return t&&(e.value=t(e.value)),e}).reduce(zE,{})}var qE=function(){return function(){}}(),YE=function(){function e(){}return e.prototype.isErrorState=function(e,t){return!!(e&&e.invalid&&(e.dirty||e.touched||t&&t.submitted))},e}(),ZE=function(){function e(e,t){this.route=e,this.apiSrv=t,this.join=new mn,this.leaveSession=new mn,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("",[ty.maxLength(25),ty.required]),this.matcher=new YE}return e.prototype.ngOnInit=function(){var e=this;this.OV=new Ts.OpenVidu,this.localUsers.push(new As),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,i=this.microphones.filter(function(t){return t.label===e})[0];this.micValue=i,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 i=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===i?(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 As),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}(),QE=br({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-width:100%;max-height:70%;margin:auto;padding:20px;overflow-y:auto}@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:3px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#6b6b6b}"]],data:{}});function KE(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-dialog-extension",[],null,[[null,"cancel"]],function(e,t,n){var i=!0;return"cancel"===t&&(i=!1!==e.component.toggleDialogExtension()&&i),i},CS,wS)),Vo(1,114688,null,0,_S,[],{nickname:[0,"nickname"]},{cancel:"cancel"})],function(e,t){e(t,1,0,t.component.localUsers[0].getNickname())},null)}function XE(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"ov-video",[["id","ovVideo"]],[[8,"className",0]],null,null,kS,OS)),Vo(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 JE(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"ov-video",[["id","ovVideoScreen"]],null,null,null,kS,OS)),Vo(1,4243456,null,0,xS,[],{streamManager:[0,"streamManager"]},null)],function(e,t){e(t,1,0,t.component.localUsers[1].getStreamManager())},null)}function $E(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"div",[["id","imgText"]],null,null,null,null,null)),(e()(),Qr(1,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(-1,null,["Press Avatar Button"]))],null,null)}function ex(e){return pa(0,[(e()(),Qr(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 tx(e){return pa(0,[(e()(),Qr(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,LS,RS)),Vo(1,49152,null,0,AS,[Nt,kc,[2,bl],[2,Bw],PS],{color:[0,"color"],diameter:[1,"diameter"]},null)],function(e,t){e(t,1,0,"accent",70)},function(e,t){e(t,0,0,xo(t,1)._noopAnimations,xo(t,1).diameter,xo(t,1).diameter)})}function nx(e){return pa(0,[(e()(),Qr(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 ix(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["mic"])),(e()(),Zr(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Microphone Enabled")},function(e,t){e(t,0,0,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function rx(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["mic_off"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function ox(e){return pa(0,[(e()(),Qr(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 i=!0;return"click"===t&&(i=!1!==xo(e,1)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==xo(e,1)._handleKeydown(n)&&i),i},tC,$S)),Vo(1,8568832,[[8,4]],0,Fp,[Nt,ki,[2,Vp],[2,Dp]],{value:[0,"value"]},null),(e()(),ca(2,0,["",""]))],function(e,t){e(t,1,0,t.context.$implicit.label)},function(e,t){e(t,0,0,xo(t,1)._getTabIndex(),xo(t,1).selected,xo(t,1).multiple,xo(t,1).active,xo(t,1).id,xo(t,1).selected.toString(),xo(t,1).disabled.toString(),xo(t,1).disabled),e(t,2,0,t.context.$implicit.label)})}function ax(e){return pa(0,[(e()(),Qr(0,0,null,null,38,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),Vo(1,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(2,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(3,0,null,null,35,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),Vo(4,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(5,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(7,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(8,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(9,0,null,null,5,"button",[["id","micDeviceButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleMic()&&i),i},fS,pS)),Vo(10,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,ix)),Vo(12,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,rx)),Vo(14,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(15,0,null,null,23,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(16,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(17,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(18,0,null,null,20,"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,tS,Hw)),Vo(19,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],null,null),ta(335544320,1,{_control:0}),ta(335544320,2,{_placeholderChild:0}),ta(335544320,3,{_labelChild:0}),ta(603979776,4,{_errorChildren:1}),ta(603979776,5,{_hintChildren:1}),ta(603979776,6,{_prefixChildren:1}),ta(603979776,7,{_suffixChildren:1}),(e()(),Qr(27,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 i=!0,r=e.component;return"keydown"===t&&(i=!1!==xo(e,32)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==xo(e,32)._onFocus()&&i),"blur"===t&&(i=!1!==xo(e,32)._onBlur()&&i),"selectionChange"===t&&(i=!1!==r.micChanged(n.value)&&i),i},RE,kE)),Uo(6144,null,Vp,null,[xE]),Vo(29,671744,null,0,Jy,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},null),Uo(2048,null,py,null,[Jy]),Vo(31,16384,null,0,jy,[[4,py]],null,null),Vo(32,2080768,null,3,xE,[Fc,ki,ti,vp,Nt,[2,Yu],[2,Yy],[2,tb],[2,bb],[6,py],[8,null],SE,op],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),ta(603979776,8,{options:1}),ta(603979776,9,{optionGroups:1}),ta(335544320,10,{customTrigger:0}),Uo(2048,[[1,4]],pb,null,[xE]),(e()(),Zr(16777216,null,1,1,null,ox)),Vo(38,278528,null,0,rl,[xi,gn,Gi],{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,29,0,n.isAudioActive&&n.micValue?n.micValue.label:"None"),e(t,32,0,"Microphone Options"),e(t,38,0,n.microphones)},function(e,t){e(t,9,0,xo(t,10).disabled||null,"NoopAnimations"===xo(t,10)._animationMode),e(t,18,1,["standard"==xo(t,19).appearance,"fill"==xo(t,19).appearance,"outline"==xo(t,19).appearance,"legacy"==xo(t,19).appearance,xo(t,19)._control.errorState,xo(t,19)._canLabelFloat,xo(t,19)._shouldLabelFloat(),xo(t,19)._hasFloatingLabel(),xo(t,19)._hideControlPlaceholder(),xo(t,19)._control.disabled,xo(t,19)._control.autofilled,xo(t,19)._control.focused,"accent"==xo(t,19).color,"warn"==xo(t,19).color,xo(t,19)._shouldForward("untouched"),xo(t,19)._shouldForward("touched"),xo(t,19)._shouldForward("pristine"),xo(t,19)._shouldForward("dirty"),xo(t,19)._shouldForward("valid"),xo(t,19)._shouldForward("invalid"),xo(t,19)._shouldForward("pending"),!xo(t,19)._animationsEnabled]),e(t,27,1,[xo(t,31).ngClassUntouched,xo(t,31).ngClassTouched,xo(t,31).ngClassPristine,xo(t,31).ngClassDirty,xo(t,31).ngClassValid,xo(t,31).ngClassInvalid,xo(t,31).ngClassPending,xo(t,32).id,xo(t,32).tabIndex,xo(t,32)._getAriaLabel(),xo(t,32)._getAriaLabelledby(),xo(t,32).required.toString(),xo(t,32).disabled.toString(),xo(t,32).errorState,xo(t,32).panelOpen?xo(t,32)._optionIds:null,xo(t,32).multiple,xo(t,32)._ariaDescribedby||null,xo(t,32)._getAriaActiveDescendant(),xo(t,32).disabled,xo(t,32).errorState,xo(t,32).required,xo(t,32).empty])})}function sx(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["videocam"])),(e()(),Zr(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Camera Enabled")},function(e,t){e(t,0,0,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function lx(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["videocam_off"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function ux(e){return pa(0,[(e()(),Qr(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 i=!0;return"click"===t&&(i=!1!==xo(e,1)._selectViaInteraction()&&i),"keydown"===t&&(i=!1!==xo(e,1)._handleKeydown(n)&&i),i},tC,$S)),Vo(1,8568832,[[18,4]],0,Fp,[Nt,ki,[2,Vp],[2,Dp]],{value:[0,"value"]},null),(e()(),ca(2,0,["",""]))],function(e,t){e(t,1,0,t.context.$implicit.label)},function(e,t){e(t,0,0,xo(t,1)._getTabIndex(),xo(t,1).selected,xo(t,1).multiple,xo(t,1).active,xo(t,1).id,xo(t,1).selected.toString(),xo(t,1).disabled.toString(),xo(t,1).disabled),e(t,2,0,t.context.$implicit.label)})}function cx(e){return pa(0,[(e()(),Qr(0,0,null,null,38,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),Vo(1,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(2,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(3,0,null,null,35,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),Vo(4,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(5,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(7,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(8,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(9,0,null,null,5,"button",[["id","camDeviceButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleCam()&&i),i},fS,pS)),Vo(10,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,sx)),Vo(12,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,lx)),Vo(14,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(15,0,null,null,23,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(16,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(17,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(18,0,null,null,20,"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,tS,Hw)),Vo(19,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],null,null),ta(335544320,11,{_control:0}),ta(335544320,12,{_placeholderChild:0}),ta(335544320,13,{_labelChild:0}),ta(603979776,14,{_errorChildren:1}),ta(603979776,15,{_hintChildren:1}),ta(603979776,16,{_prefixChildren:1}),ta(603979776,17,{_suffixChildren:1}),(e()(),Qr(27,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 i=!0,r=e.component;return"keydown"===t&&(i=!1!==xo(e,32)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==xo(e,32)._onFocus()&&i),"blur"===t&&(i=!1!==xo(e,32)._onBlur()&&i),"selectionChange"===t&&(i=!1!==r.camChanged(n.value)&&i),i},RE,kE)),Uo(6144,null,Vp,null,[xE]),Vo(29,671744,null,0,Jy,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},null),Uo(2048,null,py,null,[Jy]),Vo(31,16384,null,0,jy,[[4,py]],null,null),Vo(32,2080768,null,3,xE,[Fc,ki,ti,vp,Nt,[2,Yu],[2,Yy],[2,tb],[2,bb],[6,py],[8,null],SE,op],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),ta(603979776,18,{options:1}),ta(603979776,19,{optionGroups:1}),ta(335544320,20,{customTrigger:0}),Uo(2048,[[11,4]],pb,null,[xE]),(e()(),Zr(16777216,null,1,1,null,ux)),Vo(38,278528,null,0,rl,[xi,gn,Gi],{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,29,0,n.isVideoActive&&n.camValue?n.camValue.label:"None"),e(t,32,0,"Camera Options"),e(t,38,0,n.cameras)},function(e,t){e(t,9,0,xo(t,10).disabled||null,"NoopAnimations"===xo(t,10)._animationMode),e(t,18,1,["standard"==xo(t,19).appearance,"fill"==xo(t,19).appearance,"outline"==xo(t,19).appearance,"legacy"==xo(t,19).appearance,xo(t,19)._control.errorState,xo(t,19)._canLabelFloat,xo(t,19)._shouldLabelFloat(),xo(t,19)._hasFloatingLabel(),xo(t,19)._hideControlPlaceholder(),xo(t,19)._control.disabled,xo(t,19)._control.autofilled,xo(t,19)._control.focused,"accent"==xo(t,19).color,"warn"==xo(t,19).color,xo(t,19)._shouldForward("untouched"),xo(t,19)._shouldForward("touched"),xo(t,19)._shouldForward("pristine"),xo(t,19)._shouldForward("dirty"),xo(t,19)._shouldForward("valid"),xo(t,19)._shouldForward("invalid"),xo(t,19)._shouldForward("pending"),!xo(t,19)._animationsEnabled]),e(t,27,1,[xo(t,31).ngClassUntouched,xo(t,31).ngClassTouched,xo(t,31).ngClassPristine,xo(t,31).ngClassDirty,xo(t,31).ngClassValid,xo(t,31).ngClassInvalid,xo(t,31).ngClassPending,xo(t,32).id,xo(t,32).tabIndex,xo(t,32)._getAriaLabel(),xo(t,32)._getAriaLabelledby(),xo(t,32).required.toString(),xo(t,32).disabled.toString(),xo(t,32).errorState,xo(t,32).panelOpen?xo(t,32)._optionIds:null,xo(t,32).multiple,xo(t,32)._ariaDescribedby||null,xo(t,32)._getAriaActiveDescendant(),xo(t,32).disabled,xo(t,32).errorState,xo(t,32).required,xo(t,32).empty])})}function dx(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["screen_share"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function hx(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["stop_screen_share"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function px(e){return pa(0,[(e()(),Qr(0,0,null,null,34,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),Vo(1,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(2,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(3,0,null,null,31,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),Vo(4,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(5,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(6,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(7,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(8,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(9,0,null,null,5,"button",[["id","screenShareButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleScreenShare()&&i),i},fS,pS)),Vo(10,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,dx)),Vo(12,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,hx)),Vo(14,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(15,0,null,null,19,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(16,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(17,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(18,0,null,null,16,"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,tS,Hw)),Vo(19,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],null,null),ta(335544320,21,{_control:0}),ta(335544320,22,{_placeholderChild:0}),ta(335544320,23,{_labelChild:0}),ta(603979776,24,{_errorChildren:1}),ta(603979776,25,{_hintChildren:1}),ta(603979776,26,{_prefixChildren:1}),ta(603979776,27,{_suffixChildren:1}),(e()(),Qr(27,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 i=!0;return"input"===t&&(i=!1!==xo(e,28)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,28).onTouched()&&i),"compositionstart"===t&&(i=!1!==xo(e,28)._compositionStart()&&i),"compositionend"===t&&(i=!1!==xo(e,28)._compositionEnd(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,33)._focusChanged(!1)&&i),"focus"===t&&(i=!1!==xo(e,33)._focusChanged(!0)&&i),"input"===t&&(i=!1!==xo(e,33)._onInput()&&i),i},null,null)),Vo(28,16384,null,0,ly,[Ft,Nt,[2,sy]],null,null),Uo(1024,null,oy,function(e){return[e]},[ly]),Vo(30,671744,null,0,Jy,[[8,null],[8,null],[8,null],[6,oy]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},null),Uo(2048,null,py,null,[Jy]),Vo(32,16384,null,0,jy,[[4,py]],null,null),Vo(33,999424,null,0,sS,[Nt,kc,[6,py],[2,Yy],[2,tb],vp,[8,null],iS,ti],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Uo(2048,[[21,4]],pb,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,30,0,"",n.screenActive),e(t,33,0,"","Screen Pages")},function(e,t){e(t,9,0,xo(t,10).disabled||null,"NoopAnimations"===xo(t,10)._animationMode),e(t,18,1,["standard"==xo(t,19).appearance,"fill"==xo(t,19).appearance,"outline"==xo(t,19).appearance,"legacy"==xo(t,19).appearance,xo(t,19)._control.errorState,xo(t,19)._canLabelFloat,xo(t,19)._shouldLabelFloat(),xo(t,19)._hasFloatingLabel(),xo(t,19)._hideControlPlaceholder(),xo(t,19)._control.disabled,xo(t,19)._control.autofilled,xo(t,19)._control.focused,"accent"==xo(t,19).color,"warn"==xo(t,19).color,xo(t,19)._shouldForward("untouched"),xo(t,19)._shouldForward("touched"),xo(t,19)._shouldForward("pristine"),xo(t,19)._shouldForward("dirty"),xo(t,19)._shouldForward("valid"),xo(t,19)._shouldForward("invalid"),xo(t,19)._shouldForward("pending"),!xo(t,19)._animationsEnabled]),e(t,27,1,[xo(t,32).ngClassUntouched,xo(t,32).ngClassTouched,xo(t,32).ngClassPristine,xo(t,32).ngClassDirty,xo(t,32).ngClassValid,xo(t,32).ngClassInvalid,xo(t,32).ngClassPending,xo(t,33)._isServer,xo(t,33).id,xo(t,33).placeholder,xo(t,33).disabled,xo(t,33).required,xo(t,33).readonly&&!xo(t,33)._isNativeSelect||null,xo(t,33)._ariaDescribedby||null,xo(t,33).errorState,xo(t,33).required.toString()])})}function fx(e){return pa(0,[(e()(),Qr(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Vo(1,16384,[[31,4]],0,hb,[],null,null),(e()(),ca(-1,null,[" Nickname is "])),(e()(),Qr(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),ca(-1,null,["required"]))],null,function(e,t){e(t,0,0,xo(t,1).id)})}function mx(e){return pa(0,[(e()(),Qr(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Vo(1,16384,[[31,4]],0,hb,[],null,null),(e()(),ca(-1,null,[" Nickname is "])),(e()(),Qr(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),ca(-1,null,["too long!"]))],null,function(e,t){e(t,0,0,xo(t,1).id)})}function gx(e){return pa(0,[(e()(),Qr(0,0,null,null,132,"mat-card",[["class","mat-card"]],null,null,null,Zv,Yv)),Vo(1,49152,null,0,Gv,[],null,null),(e()(),Qr(2,0,null,0,12,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Vo(3,16384,null,0,Hv,[],null,null),(e()(),Qr(4,0,null,null,1,"div",[["id","img_content"]],null,null,null,null,null)),(e()(),Qr(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()(),Qr(6,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Vo(7,81920,null,0,Od,[[2,bd],Nt,Ed],null,null),(e()(),ca(-1,null,["Set up your room"])),(e()(),Qr(9,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.close()&&i),i},fS,pS)),Vo(10,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,13).show()&&i),"keydown"===t&&(i=!1!==xo(e,13)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,13)._handleTouchend()&&i),i},JS,XS)),Vo(12,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(13,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["close"])),(e()(),Qr(15,0,null,0,117,"mat-card-content",[["align","center"],["class","mat-card-content"],["id","card-content"]],null,null,null,null,null)),Vo(16,16384,null,0,zv,[],null,null),(e()(),Qr(17,0,null,null,115,"div",[["class",""]],null,null,null,null,null)),(e()(),Qr(18,0,null,null,110,"div",[["class",""],["fxFlexFill",""],["fxLayout","row"],["fxLayout.lt-sm","column"],["fxLayout.sm","column"]],null,null,null,null,null)),Vo(19,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"],"fxLayout.sm":[1,"fxLayout.sm"],"fxLayout.lt-sm":[2,"fxLayout.lt-sm"]},null),Vo(20,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(21,0,null,null,23,"div",[["class","volume-theme"],["fxFlex","45"],["fxFlex.lt-sm","25"],["fxFlex.sm","25"]],null,null,null,null,null)),Vo(22,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"],"fxFlex.sm":[1,"fxFlex.sm"],"fxFlex.lt-sm":[2,"fxFlex.lt-sm"]},null),(e()(),Qr(23,0,null,null,1,"h3",[["id","sessionInfo"]],null,null,null,null,null)),(e()(),ca(24,null,["Session : ",""])),(e()(),Qr(25,0,null,null,10,"div",[["id","videoContainer"]],null,null,null,null,null)),(e()(),Qr(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 i=!0;return"focus"===t&&(i=!1!==xo(e,27)._onFocus()&&i),"blur"===t&&(i=!1!==xo(e,27)._onBlur()&&i),"mousedown"===t&&(i=!1!==xo(e,27)._onMousedown(n)&&i),"keydown"===t&&(i=!1!==xo(e,27)._onKeydown(n)&&i),"keyup"===t&&(i=!1!==xo(e,27)._onKeyup()&&i),"mouseenter"===t&&(i=!1!==xo(e,27)._onMouseenter()&&i),"slide"===t&&(i=!1!==xo(e,27)._onSlide(n)&&i),"slideend"===t&&(i=!1!==xo(e,27)._onSlideEnd()&&i),"slidestart"===t&&(i=!1!==xo(e,27)._onSlideStart(n)&&i),i},VE,jE)),Vo(27,245760,null,0,DE,[Nt,lp,ki,[2,Yu],[8,null],[2,Bw]],{color:[0,"color"],max:[1,"max"],min:[2,"min"],vertical:[3,"vertical"]},null),Uo(1024,null,oy,function(e){return[e]},[DE]),Vo(29,671744,null,0,Jy,[[8,null],[8,null],[8,null],[6,oy]],{model:[0,"model"]},null),Uo(2048,null,py,null,[Jy]),Vo(31,16384,null,0,jy,[[4,py]],null,null),(e()(),Zr(16777216,null,null,1,null,XE)),Vo(33,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,JE)),Vo(35,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(36,0,null,null,8,"div",[["id","photoButton"]],null,null,null,null,null)),(e()(),Qr(37,0,null,null,7,"button",[["id","avatarButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.takePhoto()&&i),i},fS,pS)),Vo(38,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,41).show()&&i),"keydown"===t&&(i=!1!==xo(e,41)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,41)._handleTouchend()&&i),i},JS,XS)),Vo(40,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(41,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["photo_camera"])),(e()(),Qr(43,0,null,0,1,"span",[["style","margin-left: 5px"]],null,null,null,null,null)),(e()(),ca(-1,null,["Capture Avatar"])),(e()(),Qr(45,0,null,null,83,"div",[["class","sec3"],["fxFlex","55"],["fxFlex.lt-sm","65"],["fxFlex.sm","65"]],null,null,null,null,null)),Vo(46,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"],"fxFlex.sm":[1,"fxFlex.sm"],"fxFlex.lt-sm":[2,"fxFlex.lt-sm"]},null),(e()(),Qr(47,0,null,null,31,"div",[["fxFill",""],["fxLayout","row"],["id","avatarSection"]],null,null,null,null,null)),Vo(48,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(49,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(50,0,null,null,28,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),Vo(51,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(52,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(53,0,null,null,4,"div",[["class",""],["fxFlex","30"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(54,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(55,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(56,0,null,null,1,"h3",[["style","margin: auto;"]],null,null,null,null,null)),(e()(),ca(-1,null,["Avatar"])),(e()(),Qr(58,0,null,null,20,"div",[["class",""],["fxFlex","70"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(59,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(60,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(61,0,null,null,8,"div",[["id","avatarContainer"]],[[4,"background",null]],[[null,"mouseover"],[null,"click"],[null,"mouseleave"]],function(e,t,n){var i=!0,r=e.component;return"mouseover"===t&&(i=0!=(r.hover1=!0)&&i),"click"===t&&(i=!1!==r.setAvatar("video")&&i),"mouseleave"===t&&(i=0!=(r.hover1=!1)&&i),i},null,null)),Vo(62,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),la(63,{backgroundColor:0}),Vo(64,933888,null,0,WE,[Nt,DC,FC,qi,Ft,kh,[6,pl],[2,uC],Vn],{ngStyle:[0,"ngStyle"]},null),la(65,{backgroundColor:0}),(e()(),Zr(16777216,null,null,1,null,$E)),Vo(67,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,ex)),Vo(69,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(70,0,null,null,8,"div",[["id","avatarContainer"]],[[4,"background",null]],[[null,"click"],[null,"mouseover"],[null,"mouseleave"]],function(e,t,n){var i=!0,r=e.component;return"click"===t&&(i=!1!==r.setAvatar("random")&&i),"mouseover"===t&&(i=0!=(r.hover2=!0)&&i),"mouseleave"===t&&(i=0!=(r.hover2=!1)&&i),i},null,null)),Vo(71,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),la(72,{backgroundColor:0}),Vo(73,933888,null,0,WE,[Nt,DC,FC,qi,Ft,kh,[6,pl],[2,uC],Vn],{ngStyle:[0,"ngStyle"]},null),la(74,{backgroundColor:0}),(e()(),Zr(16777216,null,null,1,null,tx)),Vo(76,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,nx)),Vo(78,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,ax)),Vo(80,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,cx)),Vo(82,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,px)),Vo(84,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(85,0,null,null,43,"div",[["fxFill",""],["fxLayout","row"],["id","devicesSection"]],null,null,null,null,null)),Vo(86,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(87,671744,null,0,aE,[Nt,DC,oE,FC],null,null),(e()(),Qr(88,0,null,null,40,"div",[["fxFlex",""],["fxLayout",""]],null,null,null,null,null)),Vo(89,671744,null,0,ZC,[Nt,DC,[2,qC],FC],{fxLayout:[0,"fxLayout"]},null),Vo(90,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(91,0,null,null,8,"div",[["class","one"],["fxFlex","20"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(92,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(93,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(94,0,null,null,5,"button",[["id","nicknameButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.generateNickname()&&i),i},fS,pS)),Vo(95,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(96,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 i=!0;return"longpress"===t&&(i=!1!==xo(e,98).show()&&i),"keydown"===t&&(i=!1!==xo(e,98)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,98)._handleTouchend()&&i),i},JS,XS)),Vo(97,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(98,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["person"])),(e()(),Qr(100,0,null,null,28,"div",[["class","two"],["fxFlex","80"],["fxLayoutAlign","center center"]],null,null,null,null,null)),Vo(101,671744,null,0,cE,[Nt,DC,[2,lE],FC],{fxLayoutAlign:[0,"fxLayoutAlign"]},null),Vo(102,671744,null,0,$C,[Nt,DC,lC,XC,FC],{fxFlex:[0,"fxFlex"]},null),(e()(),Qr(103,0,null,null,25,"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 i=!0;return"submit"===t&&(i=!1!==xo(e,105).onSubmit(n)&&i),"reset"===t&&(i=!1!==xo(e,105).onReset()&&i),i},null,null)),Vo(104,16384,null,0,sb,[],null,null),Vo(105,4210688,null,0,Yy,[[8,null],[8,null]],null,null),Uo(2048,null,Jv,null,[Yy]),Vo(107,16384,null,0,Vy,[[4,Jv]],null,null),(e()(),Qr(108,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,tS,Hw)),Vo(109,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],null,null),ta(335544320,28,{_control:0}),ta(335544320,29,{_placeholderChild:0}),ta(335544320,30,{_labelChild:0}),ta(603979776,31,{_errorChildren:1}),ta(603979776,32,{_hintChildren:1}),ta(603979776,33,{_prefixChildren:1}),ta(603979776,34,{_suffixChildren:1}),(e()(),Qr(117,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 i=!0,r=e.component;return"input"===t&&(i=!1!==xo(e,118)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,118).onTouched()&&i),"compositionstart"===t&&(i=!1!==xo(e,118)._compositionStart()&&i),"compositionend"===t&&(i=!1!==xo(e,118)._compositionEnd(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,123)._focusChanged(!1)&&i),"focus"===t&&(i=!1!==xo(e,123)._focusChanged(!0)&&i),"input"===t&&(i=!1!==xo(e,123)._onInput()&&i),"keypress"===t&&(i=!1!==r.eventKeyPress(n)&&i),i},null,null)),Vo(118,16384,null,0,ly,[Ft,Nt,[2,sy]],null,null),Uo(1024,null,oy,function(e){return[e]},[ly]),Vo(120,540672,null,0,eb,[[8,null],[8,null],[6,oy],[2,$y]],{form:[0,"form"]},null),Uo(2048,null,py,null,[eb]),Vo(122,16384,null,0,jy,[[4,py]],null,null),Vo(123,999424,null,0,sS,[Nt,kc,[6,py],[2,Yy],[2,tb],vp,[8,null],iS,ti],{placeholder:[0,"placeholder"],errorStateMatcher:[1,"errorStateMatcher"]},null),Uo(2048,[[28,4]],pb,null,[sS]),(e()(),Zr(16777216,null,5,1,null,fx)),Vo(126,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,5,1,null,mx)),Vo(128,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(129,0,null,null,3,"div",[["id","joinButtonDiv"]],null,null,null,null,null)),(e()(),Qr(130,0,null,null,2,"button",[["id","joinButton"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.accept()&&i),i},fS,pS)),Vo(131,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),ca(-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 i=e(t,63,0,n.videoAvatar&&n.hover1&&"video"!==n.avatarSelected?"lightgreen":"white");e(t,62,0,i);var r=e(t,65,0,n.videoAvatar&&n.hover1&&"video"!==n.avatarSelected?"lightgreen":"white");e(t,64,0,r),e(t,67,0,!n.videoAvatar),e(t,69,0,n.videoAvatar);var o=e(t,72,0,n.randomAvatar&&n.hover2&&"random"!==n.avatarSelected?"lightgreen":"white");e(t,71,0,o);var a=e(t,74,0,n.randomAvatar&&n.hover2&&"random"!==n.avatarSelected?"lightgreen":"white");e(t,73,0,a),e(t,76,0,!n.randomAvatar),e(t,78,0,n.randomAvatar),e(t,80,0,n.ovSettings&&n.ovSettings.toolbarButtons.audio),e(t,82,0,n.ovSettings&&n.ovSettings.toolbarButtons.video),e(t,84,0,n.ovSettings&&n.ovSettings.toolbarButtons.screenShare),e(t,86,0,"row"),e(t,89,0,""),e(t,90,0,""),e(t,92,0,"center center"),e(t,93,0,"20"),e(t,97,0),e(t,98,0,"Nickname"),e(t,101,0,"center center"),e(t,102,0,"80"),e(t,120,0,n.nicknameFormControl),e(t,123,0,"Nickname",n.matcher),e(t,126,0,n.nicknameFormControl.hasError("required")),e(t,128,0,n.nicknameFormControl.hasError("maxlength"))},function(e,t){var n=t.component;e(t,6,0,xo(t,7).id),e(t,9,0,xo(t,10).disabled||null,"NoopAnimations"===xo(t,10)._animationMode),e(t,11,0,xo(t,12).inline,"primary"!==xo(t,12).color&&"accent"!==xo(t,12).color&&"warn"!==xo(t,12).color),e(t,24,0,n.mySessionId),e(t,26,1,[xo(t,27).tabIndex,xo(t,27).disabled,xo(t,27).max,xo(t,27).min,xo(t,27).value,xo(t,27).vertical?"vertical":"horizontal",xo(t,27).disabled,xo(t,27).tickInterval,!xo(t,27).vertical,xo(t,27)._invertAxis,xo(t,27)._isSliding,xo(t,27).thumbLabel,xo(t,27).vertical,xo(t,27)._isMinValue,xo(t,27).disabled||xo(t,27)._isMinValue&&xo(t,27)._thumbGap&&xo(t,27)._invertAxis,"NoopAnimations"===xo(t,27)._animationMode,xo(t,31).ngClassUntouched,xo(t,31).ngClassTouched,xo(t,31).ngClassPristine,xo(t,31).ngClassDirty,xo(t,31).ngClassValid,xo(t,31).ngClassInvalid,xo(t,31).ngClassPending]),e(t,37,0,xo(t,38).disabled||null,"NoopAnimations"===xo(t,38)._animationMode),e(t,39,0,xo(t,40).inline,"primary"!==xo(t,40).color&&"accent"!==xo(t,40).color&&"warn"!==xo(t,40).color),e(t,61,0,"video"===n.avatarSelected?"lightgreen":"transparent"),e(t,70,0,"random"===n.avatarSelected?"lightgreen":"transparent"),e(t,94,0,xo(t,95).disabled||null,"NoopAnimations"===xo(t,95)._animationMode),e(t,96,0,xo(t,97).inline,"primary"!==xo(t,97).color&&"accent"!==xo(t,97).color&&"warn"!==xo(t,97).color),e(t,103,0,xo(t,107).ngClassUntouched,xo(t,107).ngClassTouched,xo(t,107).ngClassPristine,xo(t,107).ngClassDirty,xo(t,107).ngClassValid,xo(t,107).ngClassInvalid,xo(t,107).ngClassPending),e(t,108,1,["standard"==xo(t,109).appearance,"fill"==xo(t,109).appearance,"outline"==xo(t,109).appearance,"legacy"==xo(t,109).appearance,xo(t,109)._control.errorState,xo(t,109)._canLabelFloat,xo(t,109)._shouldLabelFloat(),xo(t,109)._hasFloatingLabel(),xo(t,109)._hideControlPlaceholder(),xo(t,109)._control.disabled,xo(t,109)._control.autofilled,xo(t,109)._control.focused,"accent"==xo(t,109).color,"warn"==xo(t,109).color,xo(t,109)._shouldForward("untouched"),xo(t,109)._shouldForward("touched"),xo(t,109)._shouldForward("pristine"),xo(t,109)._shouldForward("dirty"),xo(t,109)._shouldForward("valid"),xo(t,109)._shouldForward("invalid"),xo(t,109)._shouldForward("pending"),!xo(t,109)._animationsEnabled]),e(t,117,1,[xo(t,122).ngClassUntouched,xo(t,122).ngClassTouched,xo(t,122).ngClassPristine,xo(t,122).ngClassDirty,xo(t,122).ngClassValid,xo(t,122).ngClassInvalid,xo(t,122).ngClassPending,xo(t,123)._isServer,xo(t,123).id,xo(t,123).placeholder,xo(t,123).disabled,xo(t,123).required,xo(t,123).readonly&&!xo(t,123)._isNativeSelect||null,xo(t,123)._ariaDescribedby||null,xo(t,123).errorState,xo(t,123).required.toString()]),e(t,130,0,xo(t,131).disabled||null,"NoopAnimations"===xo(t,131)._animationMode)})}function vx(e){return pa(0,[(e()(),Qr(0,0,null,null,8,"div",[["id","dialogChooseRoom"]],null,null,null,null,null)),Vo(1,278528,null,0,pl,[qi,Nt,Ft],{ngStyle:[0,"ngStyle"]},null),la(2,{display:0}),Vo(3,933888,null,0,WE,[Nt,DC,FC,qi,Ft,kh,[6,pl],[2,uC],Vn],{ngStyle:[0,"ngStyle"]},null),la(4,{display:0}),(e()(),Zr(16777216,null,null,1,null,KE)),Vo(6,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,gx)),Vo(8,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component,i=e(t,2,0,n.ovSettings.autopublish?"none":"block");e(t,1,0,i);var r=e(t,4,0,n.ovSettings.autopublish?"none":"block");e(t,3,0,r),e(t,6,0,n.showDialogExtension),e(t,8,0,n.localUsers[0].getStreamManager())},null)}function yx(e){throw Error("A drawer was already declared for 'position=\""+e+"\"'")}var bx=new Se("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),_x=function(e){function t(t,n,i,r,o){var a=e.call(this,i,r,o)||this;return a._changeDetectorRef=t,a._container=n,a}return r(t,e),t.prototype.ngAfterContentInit=function(){var e=this;this._container._contentMarginChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})},t}(jc),wx=function(){function e(e,t,n,i,r,o){var a=this;this._elementRef=e,this._focusTrapFactory=t,this._focusMonitor=n,this._platform=i,this._ngZone=r,this._doc=o,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new D,this._animationEnd=new D,this._animationState="void",this.openedChange=new mn(!0),this._destroyed=new D,this.onPositionChanged=new mn,this._modeChanged=new D,this._opened=!1,this.openedChange.subscribe(function(e){e?(a._doc&&(a._elementFocusedBeforeDrawerWasOpened=a._doc.activeElement),a._isFocusTrapEnabled&&a._focusTrap&&a._trapFocus()):a._restoreFocus()}),this._ngZone.runOutsideAngular(function(){ec(a._elementRef.nativeElement,"keydown").pipe(js(function(e){return e.keyCode===Lu&&!a.disableClose}),vc(a._destroyed)).subscribe(function(e){return a._ngZone.run(function(){a.close(),e.stopPropagation()})})}),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"))&&a.openedChange.emit(a._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=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(e){this._autoFocus=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(js(function(e){return e}),K(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(js(function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")}),K(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(js(function(e){return!e}),K(function(){}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(js(function(e){return e.fromState!==e.toState&&"void"===e.toState}),K(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._destroyed.next(),this._destroyed.complete()},Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this.toggle(Qu(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(Bu(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}(),Sx=function(){function e(e,t,n,i,r,o,a){void 0===r&&(r=!1);var s=this;this._dir=e,this._element=t,this._ngZone=n,this._changeDetectorRef=i,this._animationMode=o,this.backdropClick=new mn,this._destroyed=new D,this._doCheckSubject=new D,this._contentMargins={left:null,right:null},this._contentMarginChanges=new D,e&&e.change.pipe(vc(this._destroyed)).subscribe(function(){s._validateDrawers(),s._updateContentMargins()}),a&&a.change().pipe(vc(this._destroyed)).subscribe(function(){return s._updateContentMargins()}),this._autosize=r}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=Qu(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:Qu(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(Gu(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(Bh(10),vc(this._destroyed)).subscribe(function(){return e._updateContentMargins()})},e.prototype.ngOnDestroy=function(){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.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(js(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(Bu(1)).subscribe(function(){t._validateDrawers()})})},e.prototype._watchDrawerMode=function(e){var t=this;e&&e._modeChanged.pipe(vc(se(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&&yx("end"),e._end=t):(null!=e._start&&yx("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.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+=i=this._left._width,n-=i)),this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var i;n+=i=this._right._width,t-=i}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}(),Cx=function(e){function t(t,n,i,r,o){return e.call(this,t,n,i,r,o)||this}return r(t,e),t}(_x),Ex=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 r(t,e),Object.defineProperty(t.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=Qu(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}(wx),xx=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(Sx),Ox=function(){return function(){}}(),kx=br({encapsulation:2,styles:[],data:{}});function Tx(e){return pa(2,[aa(null,0)],null,null)}var Ix=br({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 Px(e){return pa(2,[(e()(),Qr(0,0,null,null,1,"div",[["class","mat-drawer-inner-container"]],null,null,null,null,null)),aa(null,0)],null,null)}var Ax=br({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 Mx(e){return pa(0,[(e()(),Qr(0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component._onBackdropClicked()&&i),i},null,null))],null,function(e,t){e(t,0,0,t.component._isShowingBackdrop())})}function Rx(e){return pa(0,[(e()(),Qr(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,Tx,kx)),Vo(1,212992,null,0,jc,[Nt,Lc,ti,[2,Yu]],null,null),Vo(2,1294336,null,0,Cx,[ki,xx,Nt,Lc,ti],null,null),aa(0,2)],function(e,t){e(t,1,0),e(t,2,0)},function(e,t){e(t,0,0,xo(t,2)._container._contentMargins.left,xo(t,2)._container._contentMargins.right)})}function Nx(e){return pa(2,[ta(402653184,1,{_userContent:0}),(e()(),Zr(16777216,null,null,1,null,Mx)),Vo(2,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),aa(null,0),aa(null,1),(e()(),Zr(16777216,null,null,1,null,Rx)),Vo(6,16384,null,0,al,[xi,gn],{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 Dx=n("dP7y"),Lx=n("joaK"),jx=n.n(Lx),Vx=n("bGVd"),Fx=n.n(Vx),Ux=(n("mgp7"),function(){function e(){}return e.prototype.linkify=function(e,t){return e.linkify(t)},e.prototype.find=function(e){return Object(Dx.find)(e)},e.prototype.test=function(e){return"string"==typeof e?Object(Dx.test)(e):Dx.test.apply(Dx,e)},e}()),Bx=new Se("NgxLinkifyjsConfig"),zx={enableHash:!0,enableMention:!0},Hx=function(){function e(e){this.config=e,e.enableHash&&jx()(Dx),e.enableMention&&Fx()(Dx)}return e.forRoot=function(t){return void 0===t&&(t=zx),{ngModule:e,providers:[Ux,{provide:Bx,useValue:t}]}},e}(),Wx=function(){function e(e){this.linkifyService=e}return e.prototype.transform=function(e){return e?this.linkifyService.linkify(e):e},e}(),Gx=br({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 qx(e){return pa(0,[(e()(),Qr(0,0,null,null,9,"div",[["class","message"]],[[2,"right",null],[2,"left",null]],null,null,null,null)),(e()(),Qr(1,0,null,null,0,"img",[["class","user-img"]],[[8,"src",4]],null,null,null,null)),(e()(),Qr(2,0,null,null,7,"div",[["class","msg-detail"]],null,null,null,null,null)),(e()(),Qr(3,0,null,null,2,"div",[["class","msg-info"]],null,null,null,null,null)),(e()(),Qr(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),ca(5,null,["",""])),(e()(),Qr(6,0,null,null,3,"div",[["class","msg-content"]],null,null,null,null,null)),(e()(),Qr(7,0,null,null,0,"span",[["class","triangle"]],null,null,null,null,null)),(e()(),Qr(8,0,null,null,1,"p",[["class","text"]],[[8,"innerHTML",1]],null,null,null,null)),ua(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 i=gr(t,8,0,e(t,9,0,xo(t.parent,0),t.context.$implicit.message));e(t,8,0,i)})}function Yx(e){return pa(0,[Fo(0,Wx,[Ux]),ta(402653184,1,{chatScroll:0}),ta(402653184,2,{chatInput:0}),(e()(),Qr(3,0,null,null,26,"div",[["id","chatContainer"]],null,null,null,null,null)),(e()(),Qr(4,0,null,null,25,"div",[["id","chatComponent"]],[[2,"chatComponentLight",null]],null,null,null,null)),(e()(),Qr(5,0,null,null,8,"div",[["id","chatToolbar"]],null,null,null,null,null)),(e()(),Qr(6,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(-1,null,[" CHAT"])),(e()(),Qr(8,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.close()&&i),i},fS,pS)),Vo(9,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,12).show()&&i),"keydown"===t&&(i=!1!==xo(e,12)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,12)._handleTouchend()&&i),i},JS,XS)),Vo(11,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(12,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["highlight_off"])),(e()(),Qr(14,0,[[1,0],["chatScroll",1]],null,2,"div",[["class","message-wrap"]],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,qx)),Vo(16,278528,null,0,rl,[xi,gn,Gi],{ngForOf:[0,"ngForOf"]},null),(e()(),Qr(17,0,null,null,12,"div",[["id","messageInput"]],null,null,null,null,null)),(e()(),Qr(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 i=!0,r=e.component;return"input"===t&&(i=!1!==xo(e,19)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,19).onTouched()&&i),"compositionstart"===t&&(i=!1!==xo(e,19)._compositionStart()&&i),"compositionend"===t&&(i=!1!==xo(e,19)._compositionEnd(n.target.value)&&i),"keypress"===t&&(i=!1!==r.eventKeyPress(n)&&i),"ngModelChange"===t&&(i=!1!==(r.message=n)&&i),i},null,null)),Vo(19,16384,null,0,ly,[Ft,Nt,[2,sy]],null,null),Uo(1024,null,oy,function(e){return[e]},[ly]),Vo(21,671744,null,0,Jy,[[8,null],[8,null],[8,null],[6,oy]],{model:[0,"model"]},{update:"ngModelChange"}),Uo(2048,null,py,null,[Jy]),Vo(23,16384,null,0,jy,[[4,py]],null,null),(e()(),Qr(24,0,null,null,5,"button",[["id","sendButton"],["mat-mini-fab",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.sendMessage()&&i),i},fS,pS)),Vo(25,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,28).show()&&i),"keydown"===t&&(i=!1!==xo(e,28)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,28)._handleTouchend()&&i),i},JS,XS)),Vo(27,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(28,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-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,xo(t,9).disabled||null,"NoopAnimations"===xo(t,9)._animationMode),e(t,10,0,xo(t,11).inline,"primary"!==xo(t,11).color&&"accent"!==xo(t,11).color&&"warn"!==xo(t,11).color),e(t,18,0,xo(t,23).ngClassUntouched,xo(t,23).ngClassTouched,xo(t,23).ngClassPristine,xo(t,23).ngClassDirty,xo(t,23).ngClassValid,xo(t,23).ngClassInvalid,xo(t,23).ngClassPending),e(t,24,0,xo(t,25).disabled||null,"NoopAnimations"===xo(t,25)._animationMode),e(t,26,0,xo(t,27).inline,"primary"!==xo(t,27).color&&"accent"!==xo(t,27).color&&"warn"!==xo(t,27).color)})}var Zx=0,Qx=function(e){function t(t,n,i,r,o){var a=e.call(this)||this;return a._document=t,a._ngZone=n,a._elementRef=i,a._ariaDescriber=r,a._renderer=o,a._hasContent=!1,a._color="primary",a._overlap=!0,a.position="above after",a.size="medium",a._id=Zx++,a}return r(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=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this._content},set:function(e){this._content=e,this._hasContent=null!=e&&(""+e).trim().length>0,this._updateTextContent()},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=Qu(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.ngOnDestroy=function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer&&this._renderer.destroyNode&&this._renderer.destroyNode(e))},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||this._document).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,this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame?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 i=t.children[n];i.classList.contains(e)&&t.removeChild(i)}},t}(hp(function(){return function(){}}())),Kx=function(){return function(){}}(),Xx=function(){function e(e){this.apiSrv=e,this.fullscreenIcon="fullscreen",this.micButtonClicked=new mn,this.camButtonClicked=new mn,this.screenShareClicked=new mn,this.exitButtonClicked=new mn,this.chatButtonClicked=new mn,this.stopScreenSharingClicked=new mn}return e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,i=window.innerHeight;n!==window.innerWidth&&t!==i&&(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}(),Jx=br({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 $x(e){return pa(0,[(e()(),Qr(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 eO(e){return pa(0,[(e()(),Qr(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 tO(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"div",[["id","titleContent"]],[[2,"titleContentLight",null]],null,null,null,null)),(e()(),Qr(1,0,null,null,1,"span",[["id","session-title"]],null,null,null,null,null)),(e()(),ca(2,null,["",""]))],null,function(e,t){var n=t.component;e(t,0,0,n.lightTheme),e(t,2,0,n.mySessionId)})}function nO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["mic"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function iO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["mic_off"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function rO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["id","navMicButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.micStatusChanged()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,nO)),Vo(3,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,iO)),Vo(5,16384,null,0,al,[xi,gn],{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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode)})}function oO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["videocam"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function aO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["videocam_off"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function sO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["id","navCamButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.camStatusChanged()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,oO)),Vo(3,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,aO)),Vo(5,16384,null,0,al,[xi,gn],{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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode)})}function lO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["id","navScreenButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.screenShare()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,0,xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color)})}function uO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.stopScreenSharing()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["screen_share"]))],function(e,t){e(t,3,0),e(t,4,0,"Stop sharing")},function(e,t){e(t,0,0,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,0,xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color)})}function cO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleFullscreen()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,0,xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color),e(t,5,0,n.fullscreenIcon)})}function dO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["id","navLeaveButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.exitSession()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,0,xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color)})}function hO(e){return pa(0,[(e()(),Qr(0,0,null,null,6,"button",[["id","navChatButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleChat()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),Vo(5,147456,null,0,Qx,[[2,bl],ti,Nt,Qh,Ft],{color:[0,"color"],position:[1,"position"],content:[2,"content"],hidden:[3,"hidden"]},null),(e()(),ca(-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",qr(1,"",n.newMessagesNum,""),0===n.newMessagesNum)},function(e,t){e(t,0,0,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,1,[xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color,xo(t,5).overlap,xo(t,5).isAbove(),!xo(t,5).isAbove(),!xo(t,5).isAfter(),xo(t,5).isAfter(),"small"===xo(t,5).size,"medium"===xo(t,5).size,"large"===xo(t,5).size,xo(t,5).hidden||!xo(t,5)._hasContent,xo(t,5).disabled])})}function pO(e){return pa(0,[(e()(),Qr(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,Bv,Uv)),Vo(1,4243456,null,1,Vv,[Nt,kc,bl],null,null),ta(603979776,1,{_toolbarRows:1}),(e()(),Qr(3,0,null,0,7,"div",[["id","navSessionInfo"]],null,null,null,null,null)),(e()(),Qr(4,0,null,null,4,"a",[],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,$x)),Vo(6,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,eO)),Vo(8,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,tO)),Vo(10,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(11,0,null,0,14,"div",[["align","center"],["id","navButtons"]],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,rO)),Vo(13,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,sO)),Vo(15,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,lO)),Vo(17,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,uO)),Vo(19,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,cO)),Vo(21,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,dO)),Vo(23,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,hO)),Vo(25,16384,null,0,al,[xi,gn],{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,xo(t,1)._toolbarRows.length>0,0===xo(t,1)._toolbarRows.length)})}var fO=["mat-basic-chip"],mO=function(e){function t(t,n,i,r){var o=e.call(this,t)||this;return o._elementRef=t,o._ngZone=n,o._hasFocus=!1,o.chipListSelectable=!0,o._selected=!1,o._selectable=!0,o._removable=!0,o._onFocus=new D,o._onBlur=new D,o.selectionChange=new mn,o.destroyed=new mn,o.removed=new mn,o._addHostClassName(),o._chipRipple=new Tp(o,n,t,i),o._chipRipple.setupTriggerEvents(t.nativeElement),o.rippleConfig=r||{},o}return r(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=Qu(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=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"removable",{get:function(){return this._removable},set:function(e){this._removable=Qu(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaSelected",{get:function(){return this.selectable?this.selected.toString():null},enumerable:!0,configurable:!0}),t.prototype._addHostClassName=function(){for(var e=0,t=fO;e<t.length;e++){var n=t[e];if(this._elementRef.nativeElement.hasAttribute(n)||this._elementRef.nativeElement.tagName.toLowerCase()===n)return void this._elementRef.nativeElement.classList.add(n)}this._elementRef.nativeElement.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(Bu(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}(pp(fp(hp(function(){return function(e){this._elementRef=e}}())),"primary")),gO=new Se("mat-chips-default-options"),vO=gp(function(){return function(e,t,n,i){this._defaultErrorStateMatcher=e,this._parentForm=t,this._parentFormGroup=n,this.ngControl=i}}()),yO=0,bO=function(){return function(e,t){this.source=e,this.value=t}}(),_O=function(e){function t(t,n,i,r,o,a,s){var l=e.call(this,a,r,o,s)||this;return l._elementRef=t,l._changeDetectorRef=n,l._dir=i,l.ngControl=s,l.controlType="mat-chip-list",l._lastDestroyedChipIndex=null,l._destroyed=new D,l._uid="mat-chip-list-"+yO++,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 mn,l.valueChange=new mn,l.ngControl&&(l.ngControl.valueAccessor=l),l}return r(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=Qu(e)},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=Qu(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=Qu(e),this._syncChipsDisabledState()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selectable",{get:function(){return this._selectable},set:function(e){var t=this;this._selectable=Qu(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 se.apply(void 0,this.chips.map(function(e){return e.selectionChange}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipFocusChanges",{get:function(){return se.apply(void 0,this.chips.map(function(e){return e._onFocus}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipBlurChanges",{get:function(){return se.apply(void 0,this.chips.map(function(e){return e._onBlur}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"chipRemoveChanges",{get:function(){return se.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 Jh(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._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()})}),this.chips.changes.pipe(Gu(null),vc(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsDisabledState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})},t.prototype.ngOnInit=function(){this._selectionModel=new Dc(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&&this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}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 i=this._selectValue(e,t);i&&t&&this._keyManager.setActiveItem(i)}},t.prototype._selectValue=function(e,t){var n=this;void 0===t&&(t=!0);var i=this.chips.find(function(t){return null!=t.value&&n._compareWith(t.value,e)});return i&&(t?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i},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 bO(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._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,i=e.chips.toArray().indexOf(t.chip);e._isValidIndex(i)&&n._hasFocus&&(e._lastDestroyedChipIndex=i)})},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._syncChipsDisabledState=function(){var e=this;this.chips&&this.chips.forEach(function(t){t.disabled=e._disabled})},t}(vO),wO=function(){return function(){}}(),SO=br({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 CO(e){return pa(2,[(e()(),Qr(0,0,null,null,1,"div",[["class","mat-chip-list-wrapper"]],null,null,null,null,null)),aa(null,0)],null,null)}var EO=function(){function e(e){this.apiSrv=e,this.fullscreenIcon="fullscreen",this.nicknameFormControl=new Hy("",[ty.maxLength(25),ty.required]),this.matcher=new YE,this.nicknameClicked=new mn,this.micButtonClicked=new mn,this.camButtonClicked=new mn,this.screenShareClicked=new mn,this.stopScreenSharingClicked=new mn,this.exitButtonClicked=new mn,this.chatButtonClicked=new mn}return e.prototype.sizeChange=function(e){var t=window.screen.height,n=window.screen.width,i=window.innerHeight;n!==window.innerWidth&&t!==i&&(this.isFullscreen=!1,this.fullscreenIcon="fullscreen")},e.prototype.ngOnInit=function(){},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(){this.canEditNickname&&(this.toggleNickname=!this.toggleNickname)},e.prototype.eventKeyPress=function(e){e&&13===e.keyCode&&this.nicknameFormControl.valid&&(this.nicknameClicked.emit(this.nicknameFormControl.value),this.toggleNicknameForm(),this.nicknameFormControl.reset())},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}(),xO=br({encapsulation:0,styles:[ES],data:{}});function OO(e){return pa(0,[(e()(),Qr(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 i=!0,r=e.component;return"window:resize"===t&&(i=!1!==xo(e,1).sizeChange(n)&&i),"camButtonClicked"===t&&(i=!1!==r.toggleCam()&&i),"micButtonClicked"===t&&(i=!1!==r.toggleMic()&&i),"exitButtonClicked"===t&&(i=!1!==r.exitSession()&&i),"chatButtonClicked"===t&&(i=!1!==r.toggleChat()&&i),"screenShareClicked"===t&&(i=!1!==r.screenShare()&&i),"stopScreenSharingClicked"===t&&(i=!1!==r.stopScreenSharing()&&i),i},pO,Jx)),Vo(1,114688,null,0,Xx,[du],{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 kO(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(-1,null,["_SCREEN"]))],null,null)}function TO(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"span",[],null,null,null,null,null)),(e()(),ca(-1,null,[" (edit)"]))],null,null)}function IO(e){return pa(0,[(e()(),Qr(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 i=!0,r=e.component;return"click"===t&&(i=!1!==xo(e,1)._handleClick(n)&&i),"keydown"===t&&(i=!1!==xo(e,1)._handleKeydown(n)&&i),"focus"===t&&(i=!1!==xo(e,1).focus()&&i),"blur"===t&&(i=!1!==xo(e,1)._blur()&&i),"click"===t&&(i=!1!==r.toggleNicknameForm()&&i),i},null,null)),Vo(1,147456,[[2,4]],3,mO,[Nt,ti,kc,[2,Ip]],{color:[0,"color"],selected:[1,"selected"]},null),ta(335544320,3,{avatar:0}),ta(335544320,4,{trailingIcon:0}),ta(335544320,5,{removeIcon:0}),(e()(),Qr(5,0,null,null,1,"span",[["id","nickname"]],null,null,null,null,null)),(e()(),ca(6,null,["",""])),(e()(),Zr(16777216,null,null,1,null,kO)),Vo(8,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,TO)),Vo(10,16384,null,0,al,[xi,gn],{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,xo(t,1).disabled?null:-1,xo(t,1).selected,xo(t,1).avatar,xo(t,1).trailingIcon||xo(t,1).removeIcon,xo(t,1).disabled,xo(t,1).disabled||null,xo(t,1).disabled.toString(),xo(t,1).ariaSelected),e(t,6,0,n.user.getNickname())})}function PO(e){return pa(0,[(e()(),Qr(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Vo(1,16384,[[9,4]],0,hb,[],null,null),(e()(),ca(-1,null,[" Nickname is "])),(e()(),Qr(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),ca(-1,null,["required"]))],null,function(e,t){e(t,0,0,xo(t,1).id)})}function AO(e){return pa(0,[(e()(),Qr(0,0,null,null,4,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Vo(1,16384,[[9,4]],0,hb,[],null,null),(e()(),ca(-1,null,[" Nickname is "])),(e()(),Qr(3,0,null,null,1,"strong",[],null,null,null,null,null)),(e()(),ca(-1,null,["too long!"]))],null,function(e,t){e(t,0,0,xo(t,1).id)})}function MO(e){return pa(0,[(e()(),Qr(0,0,null,null,32,"div",[["id","dialogNickname"]],[[2,"fullscreen",null]],null,null,null,null)),(e()(),Qr(1,0,null,null,5,"button",[["id","closeButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleNicknameForm()&&i),i},fS,pS)),Vo(2,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,5).show()&&i),"keydown"===t&&(i=!1!==xo(e,5)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,5)._handleTouchend()&&i),i},JS,XS)),Vo(4,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(5,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["highlight_off"])),(e()(),Qr(7,0,null,null,25,"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 i=!0;return"submit"===t&&(i=!1!==xo(e,9).onSubmit(n)&&i),"reset"===t&&(i=!1!==xo(e,9).onReset()&&i),i},null,null)),Vo(8,16384,null,0,sb,[],null,null),Vo(9,4210688,null,0,Yy,[[8,null],[8,null]],null,null),Uo(2048,null,Jv,null,[Yy]),Vo(11,16384,null,0,Vy,[[4,Jv]],null,null),(e()(),Qr(12,0,null,null,20,"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,tS,Hw)),Vo(13,7520256,null,7,bb,[Nt,ki,[2,zp],[2,Yu],[2,yb],kc,ti,[2,Bw]],{color:[0,"color"]},null),ta(335544320,6,{_control:0}),ta(335544320,7,{_placeholderChild:0}),ta(335544320,8,{_labelChild:0}),ta(603979776,9,{_errorChildren:1}),ta(603979776,10,{_hintChildren:1}),ta(603979776,11,{_prefixChildren:1}),ta(603979776,12,{_suffixChildren:1}),(e()(),Qr(21,0,null,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 i=!0,r=e.component;return"input"===t&&(i=!1!==xo(e,22)._handleInput(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,22).onTouched()&&i),"compositionstart"===t&&(i=!1!==xo(e,22)._compositionStart()&&i),"compositionend"===t&&(i=!1!==xo(e,22)._compositionEnd(n.target.value)&&i),"blur"===t&&(i=!1!==xo(e,27)._focusChanged(!1)&&i),"focus"===t&&(i=!1!==xo(e,27)._focusChanged(!0)&&i),"input"===t&&(i=!1!==xo(e,27)._onInput()&&i),"keypress"===t&&(i=!1!==r.eventKeyPress(n)&&i),i},null,null)),Vo(22,16384,null,0,ly,[Ft,Nt,[2,sy]],null,null),Uo(1024,null,oy,function(e){return[e]},[ly]),Vo(24,540672,null,0,eb,[[8,null],[8,null],[6,oy],[2,$y]],{form:[0,"form"]},null),Uo(2048,null,py,null,[eb]),Vo(26,16384,null,0,jy,[[4,py]],null,null),Vo(27,999424,null,0,sS,[Nt,kc,[6,py],[2,Yy],[2,tb],vp,[8,null],iS,ti],{placeholder:[0,"placeholder"],errorStateMatcher:[1,"errorStateMatcher"]},null),Uo(2048,[[6,4]],pb,null,[sS]),(e()(),Zr(16777216,null,5,1,null,PO)),Vo(30,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,5,1,null,AO)),Vo(32,16384,null,0,al,[xi,gn],{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,24,0,n.nicknameFormControl),e(t,27,0,qr(1,"Nick: ",n.user.getNickname(),""),n.matcher),e(t,30,0,n.nicknameFormControl.hasError("required")),e(t,32,0,n.nicknameFormControl.hasError("maxlength"))},function(e,t){e(t,0,0,t.component.isFullscreen),e(t,1,0,xo(t,2).disabled||null,"NoopAnimations"===xo(t,2)._animationMode),e(t,3,0,xo(t,4).inline,"primary"!==xo(t,4).color&&"accent"!==xo(t,4).color&&"warn"!==xo(t,4).color),e(t,7,0,xo(t,11).ngClassUntouched,xo(t,11).ngClassTouched,xo(t,11).ngClassPristine,xo(t,11).ngClassDirty,xo(t,11).ngClassValid,xo(t,11).ngClassInvalid,xo(t,11).ngClassPending),e(t,12,1,["standard"==xo(t,13).appearance,"fill"==xo(t,13).appearance,"outline"==xo(t,13).appearance,"legacy"==xo(t,13).appearance,xo(t,13)._control.errorState,xo(t,13)._canLabelFloat,xo(t,13)._shouldLabelFloat(),xo(t,13)._hasFloatingLabel(),xo(t,13)._hideControlPlaceholder(),xo(t,13)._control.disabled,xo(t,13)._control.autofilled,xo(t,13)._control.focused,"accent"==xo(t,13).color,"warn"==xo(t,13).color,xo(t,13)._shouldForward("untouched"),xo(t,13)._shouldForward("touched"),xo(t,13)._shouldForward("pristine"),xo(t,13)._shouldForward("dirty"),xo(t,13)._shouldForward("valid"),xo(t,13)._shouldForward("invalid"),xo(t,13)._shouldForward("pending"),!xo(t,13)._animationsEnabled]),e(t,21,1,[xo(t,26).ngClassUntouched,xo(t,26).ngClassTouched,xo(t,26).ngClassPristine,xo(t,26).ngClassDirty,xo(t,26).ngClassValid,xo(t,26).ngClassInvalid,xo(t,26).ngClassPending,xo(t,27)._isServer,xo(t,27).id,xo(t,27).placeholder,xo(t,27).disabled,xo(t,27).required,xo(t,27).readonly&&!xo(t,27)._isNativeSelect||null,xo(t,27)._ariaDescribedby||null,xo(t,27).errorState,xo(t,27).required.toString()])})}function RO(e){return pa(0,[(e()(),Qr(0,0,null,null,3,"div",[["id","statusMic"]],null,null,null,null,null)),(e()(),Qr(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,JS,XS)),Vo(2,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),(e()(),ca(-1,0,["mic_off"]))],function(e,t){e(t,2,0)},function(e,t){e(t,1,0,xo(t,2).inline,"primary"!==xo(t,2).color&&"accent"!==xo(t,2).color&&"warn"!==xo(t,2).color)})}function NO(e){return pa(0,[(e()(),Qr(0,0,null,null,3,"div",[["id","statusCam"]],null,null,null,null,null)),(e()(),Qr(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,JS,XS)),Vo(2,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),(e()(),ca(-1,0,["videocam_off"]))],function(e,t){e(t,2,0)},function(e,t){e(t,1,0,xo(t,2).inline,"primary"!==xo(t,2).color&&"accent"!==xo(t,2).color&&"warn"!==xo(t,2).color)})}function DO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["volume_up"])),(e()(),Zr(0,null,null,0))],function(e,t){e(t,1,0),e(t,2,0,"Mute sound")},function(e,t){e(t,0,0,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function LO(e){return pa(0,[(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,2).show()&&i),"keydown"===t&&(i=!1!==xo(e,2)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,2)._handleTouchend()&&i),i},JS,XS)),Vo(1,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],{color:[0,"color"]},null),Vo(2,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-1,0,["volume_off"])),(e()(),Zr(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,xo(t,1).inline,"primary"!==xo(t,1).color&&"accent"!==xo(t,1).color&&"warn"!==xo(t,1).color)})}function jO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["class","streamButtons"],["id","volumeButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleSound()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Zr(16777216,null,0,1,null,DO)),Vo(3,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,LO)),Vo(5,16384,null,0,al,[xi,gn],{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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode)})}function VO(e){return pa(0,[(e()(),Qr(0,0,null,null,5,"button",[["class","streamButtons"],["id","changeScreenButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.screenShare()&&i),i},fS,pS)),Vo(1,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(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 i=!0;return"longpress"===t&&(i=!1!==xo(e,4).show()&&i),"keydown"===t&&(i=!1!==xo(e,4)._handleKeydown(n)&&i),"touchend"===t&&(i=!1!==xo(e,4)._handleTouchend()&&i),i},JS,XS)),Vo(3,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),Vo(4,147456,null,0,df,[ld,Nt,Lc,xi,ti,kc,Qh,lp,lf,[2,Yu],[2,cf],[2,wh]],{message:[0,"message"]},null),(e()(),ca(-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,xo(t,1).disabled||null,"NoopAnimations"===xo(t,1)._animationMode),e(t,2,0,xo(t,3).inline,"primary"!==xo(t,3).color&&"accent"!==xo(t,3).color&&"warn"!==xo(t,3).color)})}function FO(e){return pa(0,[ta(402653184,1,{htmlVideoElement:0}),(e()(),Qr(1,0,null,null,26,"div",[["class","OT_widget-container"]],[[8,"id",0]],null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,OO)),Vo(3,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(4,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 i=!0;return"focus"===t&&(i=!1!==xo(e,6).focus()&&i),"blur"===t&&(i=!1!==xo(e,6)._blur()&&i),"keydown"===t&&(i=!1!==xo(e,6)._keydown(n)&&i),i},CO,SO)),Uo(6144,null,pb,null,[_O]),Vo(6,1556480,null,1,_O,[Nt,ki,[2,Yu],[2,Yy],[2,tb],vp,[8,null]],null,null),ta(603979776,2,{chips:1}),(e()(),Zr(16777216,null,0,1,null,IO)),Vo(9,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,0,1,null,MO)),Vo(11,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(12,0,null,null,1,"ov-video",[],null,null,null,kS,OS)),Vo(13,4243456,null,0,xS,[],{mutedSound:[0,"mutedSound"],streamManager:[1,"streamManager"]},null),(e()(),Qr(14,0,null,null,4,"div",[["class","statusIcons"]],null,null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,RO)),Vo(16,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,NO)),Vo(18,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(19,0,null,null,4,"button",[["class","streamButtons"],["id","fullscreenButton"],["mat-icon-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(e,t,n){var i=!0;return"click"===t&&(i=!1!==e.component.toggleFullscreen()&&i),i},fS,pS)),Vo(20,180224,null,0,dS,[Nt,kc,lp,[2,Bw]],null,null),(e()(),Qr(21,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,JS,XS)),Vo(22,9158656,null,0,QS,[Nt,BS,[8,null],[2,GS]],null,null),(e()(),ca(23,0,["",""])),(e()(),Zr(16777216,null,null,1,null,jO)),Vo(25,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,VO)),Vo(27,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,3,0,n.isFullscreen),e(t,6,0),e(t,9,0,!n.toggleNickname),e(t,11,0,n.toggleNickname&&n.canEditNickname),e(t,13,0,n.mutedSound,n.user.getStreamManager()),e(t,16,0,!n.user.isAudioActive()),e(t,18,0,!n.user.isVideoActive()),e(t,22,0),e(t,25,0,n.user.isRemote()),e(t,27,0,n.user.isRemote()&&n.canEditNickname)},function(e,t){var n=t.component;e(t,1,0,"container-"+n.user.getStreamManager().stream.streamId),e(t,4,1,[n.isFullscreen,xo(t,6).disabled?null:xo(t,6)._tabIndex,xo(t,6)._ariaDescribedby||null,xo(t,6).required.toString(),xo(t,6).disabled.toString(),xo(t,6).errorState,xo(t,6).multiple,xo(t,6).role,xo(t,6).disabled,xo(t,6).errorState,xo(t,6).required,xo(t,6).ariaOrientation,xo(t,6)._uid]),e(t,19,0,xo(t,20).disabled||null,"NoopAnimations"===xo(t,20)._animationMode),e(t,21,0,xo(t,22).inline,"primary"!==xo(t,22).color&&"accent"!==xo(t,22).color&&"warn"!==xo(t,22).color),e(t,23,0,n.fullscreenIcon)})}var UO=br({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 BO(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-dialog-choose-room",[],null,[[null,"join"],[null,"leaveSession"]],function(e,t,n){var i=!0,r=e.component;return"join"===t&&(i=!1!==r.toggleDialogChooseRoom(n)&&i),"leaveSession"===t&&(i=!1!==r.exitSession()&&i),i},vx,QE)),Vo(1,114688,null,0,ZE,[Xm,du],{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 zO(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-dialog-extension",[],null,[[null,"cancel"]],function(e,t,n){var i=!0;return"cancel"===t&&(i=!1!==e.component.toggleDialogExtension()&&i),i},CS,wS)),Vo(1,114688,null,0,_S,[],{nickname:[0,"nickname"]},{cancel:"cancel"})],function(e,t){e(t,1,0,t.component.localUsers[0].getNickname())},null)}function HO(e){return pa(0,[(e()(),Qr(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],[40,"@transform",0],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"]],[["component","@transform.start"],["component","@transform.done"]],function(e,t,n){var i=!0;return"component:@transform.start"===t&&(i=!1!==xo(e,1)._animationStarted.next(n)&&i),"component:@transform.done"===t&&(i=!1!==xo(e,1)._animationEnd.next(n)&&i),i},Px,Ix)),Vo(1,3325952,[[3,4],[2,4],["sidenav",4]],0,Ex,[Nt,ip,lp,kc,ti,[2,bl]],{position:[0,"position"],mode:[1,"mode"],fixedInViewport:[2,"fixedInViewport"],fixedTopGap:[3,"fixedTopGap"],fixedBottomGap:[4,"fixedBottomGap"]},null),(e()(),Qr(2,0,null,0,1,"chat-component",[],null,[[null,"closeChat"],["document","keydown.escape"]],function(e,t,n){var i=!0,r=e.component;return"document:keydown.escape"===t&&(i=!1!==xo(e,3).onKeydownHandler(n)&&i),"closeChat"===t&&(i=!1!==r.toggleChat()&&i),i},Yx,Gx)),Vo(3,114688,[[1,4],["chatComponent",4]],0,cu,[],{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",qr(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,xo(t,1)._animationState,null,"end"===xo(t,1).position,"over"===xo(t,1).mode,"push"===xo(t,1).mode,"side"===xo(t,1).mode,xo(t,1).fixedInViewport,xo(t,1).fixedInViewport?xo(t,1).fixedTopGap:null,xo(t,1).fixedInViewport?xo(t,1).fixedBottomGap:null)})}function WO(e){return pa(0,[(e()(),Qr(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 i=!0,r=e.component;return"window:resize"===t&&(i=!1!==xo(e,1).sizeChange(n)&&i),"nicknameClicked"===t&&(i=!1!==r.nicknameChanged(n)&&i),"camButtonClicked"===t&&(i=!1!==r.toggleCam()&&i),"micButtonClicked"===t&&(i=!1!==r.toggleMic()&&i),"exitButtonClicked"===t&&(i=!1!==r.exitSession()&&i),"chatButtonClicked"===t&&(i=!1!==r.toggleChat()&&i),"screenShareClicked"===t&&(i=!1!==r.screenShareAndChangeScreen()&&i),"stopScreenSharingClicked"===t&&(i=!1!==r.stopScreenSharing()&&i),i},FO,xO)),Vo(1,114688,[["videoStream",4]],0,EO,[du],{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 GO(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"div",[["class","OT_root OT_publisher custom-class"],["id","localUser"]],null,[[null,"dblclick"]],function(e,t,n){var i=!0;return"dblclick"===t&&(i=!1!==e.component.enlargeElement(n)&&i),i},null,null)),(e()(),Zr(16777216,null,null,1,null,WO)),Vo(2,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.context.$implicit.getStreamManager();e(t,2,0,n)},null)}function qO(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"div",[["class","OT_root OT_publisher custom-class"],["id","remoteUsers"]],null,[[null,"dblclick"]],function(e,t,n){var i=!0;return"dblclick"===t&&(i=!1!==e.component.enlargeElement(n)&&i),i},null,null)),(e()(),Qr(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 i=!0,r=e.component;return"window:resize"===t&&(i=!1!==xo(e,2).sizeChange(n)&&i),"camButtonClicked"===t&&(i=!1!==r.toggleCam()&&i),"micButtonClicked"===t&&(i=!1!==r.toggleMic()&&i),"exitButtonClicked"===t&&(i=!1!==r.exitSession()&&i),"chatButtonClicked"===t&&(i=!1!==r.toggleChat()&&i),"screenShareClicked"===t&&(i=!1!==r.screenShareAndChangeScreen()&&i),"stopScreenSharingClicked"===t&&(i=!1!==r.stopScreenSharing()&&i),i},FO,xO)),Vo(2,114688,[["videoStream",4]],0,EO,[du],{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 YO(e){return pa(0,[(e()(),Qr(0,0,null,null,17,"div",[],null,null,null,null,null)),(e()(),Qr(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 i=!0,r=e.component;return"window:resize"===t&&(i=!1!==xo(e,2).sizeChange(n)&&i),"camButtonClicked"===t&&(i=!1!==r.toggleCam()&&i),"micButtonClicked"===t&&(i=!1!==r.toggleMic()&&i),"screenShareClicked"===t&&(i=!1!==r.screenShareAndChangeScreen()&&i),"stopScreenSharingClicked"===t&&(i=!1!==r.stopScreenSharing()&&i),"exitButtonClicked"===t&&(i=!1!==r.exitSession()&&i),"chatButtonClicked"===t&&(i=!1!==r.toggleChat()&&i),i},pO,Jx)),Vo(2,114688,null,0,Xx,[du],{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()(),Zr(16777216,null,null,1,null,zO)),Vo(4,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(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,Nx,Ax)),Vo(6,1490944,null,2,xx,[[2,Yu],Nt,ti,ki,bx,[2,Bw],[2,Fc]],null,null),ta(603979776,3,{_drawers:1}),ta(335544320,4,{_content:0}),(e()(),Zr(16777216,null,0,1,null,HO)),Vo(10,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Qr(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,Tx,kx)),Vo(12,1294336,[[4,4]],0,Cx,[ki,xx,Nt,Lc,ti],null,null),(e()(),Qr(13,0,null,0,4,"div",[["class","bounds"],["id","layout"]],[[2,"boundsLight",null]],null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,GO)),Vo(15,278528,null,0,rl,[xi,gn,Gi],{ngForOf:[0,"ngForOf"]},null),(e()(),Zr(16777216,null,null,1,null,qO)),Vo(17,278528,null,0,rl,[xi,gn,Gi],{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,xo(t,6)._backdropOverride),e(t,11,0,xo(t,12)._container._contentMargins.left,xo(t,12)._container._contentMargins.right),e(t,13,0,n.lightTheme)})}function ZO(e){return pa(0,[ta(671088640,1,{chatComponent:0}),ta(671088640,2,{chat:0}),(e()(),Qr(2,0,null,null,4,"div",[["id","videoRoomNavBar"]],[[2,"boundsLight",null]],null,null,null,null)),(e()(),Zr(16777216,null,null,1,null,BO)),Vo(4,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null),(e()(),Zr(16777216,null,null,1,null,YO)),Vo(6,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null)],function(e,t){var n=t.component;e(t,4,0,n.showDialogChooseRoom),e(t,6,0,n.localUsers&&n.localUsers[0])},function(e,t){e(t,2,0,t.component.lightTheme)})}function QO(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-video-room",[],null,[["window","beforeunload"],["window","resize"]],function(e,t,n){var i=!0;return"window:beforeunload"===t&&(i=!1!==xo(e,1).beforeunloadHandler()&&i),"window:resize"===t&&(i=!1!==xo(e,1).sizeChange()&&i),i},ZO,UO)),Vo(1,245760,null,0,hu,[uu,sv,Ed,du],null,null)],function(e,t){e(t,1,0)},null)}var KO=fo("app-video-room",hu,QO,{ovSettings:"ovSettings",sessionName:"sessionName",user:"user",openviduServerUrl:"openviduServerUrl",openviduSecret:"openviduSecret",token:"token",theme:"theme",isWebComponent:"isWebComponent"},{joinSession:"joinSession",leaveSession:"leaveSession",error:"error"},[]),XO=br({encapsulation:0,styles:[["h1[_ngcontent-%COMP%]{color:#a30101}"]],data:{}});function JO(e){return pa(0,[(e()(),Qr(0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Vo(1,81920,null,0,Od,[[2,bd],Nt,Ed],null,null),(e()(),ca(2,null,["",""])),(e()(),Qr(3,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),ca(4,null,[" ","\n"]))],function(e,t){e(t,1,0)},function(e,t){var n=t.component;e(t,0,0,xo(t,1).id),e(t,2,0,n.data.message),e(t,4,0,n.data.messageError)})}function $O(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-dialog-error",[],null,null,null,JO,XO)),Vo(1,114688,null,0,Is,[bd,_d],null,null)],function(e,t){e(t,1,0)},null)}var ek=fo("app-dialog-error",Is,$O,{},{},[]),tk=br({encapsulation:0,styles:[["app-web-component[_ngcontent-%COMP%]{z-index:2147483647}"]],data:{}});function nk(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-video-room",[],null,[[null,"leaveSession"],[null,"joinSession"],[null,"error"],["window","beforeunload"],["window","resize"]],function(e,t,n){var i=!0,r=e.component;return"window:beforeunload"===t&&(i=!1!==xo(e,1).beforeunloadHandler()&&i),"window:resize"===t&&(i=!1!==xo(e,1).sizeChange()&&i),"leaveSession"===t&&(i=!1!==r.emitLeaveSessionEvent(n)&&i),"joinSession"===t&&(i=!1!==r.emitJoinSessionEvent(n)&&i),"error"===t&&(i=!1!==r.emitErrorEvent(n)&&i),i},ZO,UO)),Vo(1,245760,[[1,4],["videoRoom",4]],0,hu,[uu,sv,Ed,du],{ovSettings:[0,"ovSettings"],sessionName:[1,"sessionName"],user:[2,"user"],openviduServerUrl:[3,"openviduServerUrl"],openviduSecret:[4,"openviduSecret"],token:[5,"token"],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._token,n.theme,!0)},null)}function ik(e){return pa(0,[ta(671088640,1,{videoRoom:0}),(e()(),Zr(16777216,null,null,1,null,nk)),Vo(2,16384,null,0,al,[xi,gn],{ngIf:[0,"ngIf"]},null)],function(e,t){e(t,2,0,t.component.display)},null)}function rk(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-web-component",[],null,null,null,ik,tk)),Vo(1,114688,null,0,pu,[],null,null)],function(e,t){e(t,1,0)},null)}var ok=fo("app-web-component",pu,rk,{openviduServerUrl:"openviduServerUrl",openviduSecret:"openviduSecret",theme:"theme",ovSettings:"ovSettings",sessionConfig:"sessionConfig"},{joinSession:"joinSession",leaveSession:"leaveSession",error:"error"},[]),ak=br({encapsulation:0,styles:[[""]],data:{}});function sk(e){return pa(0,[(e()(),Qr(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Vo(1,212992,null,0,hv,[dv,xi,It,[8,null],ki],null,null)],function(e,t){e(t,1,0)},null)}function lk(e){return pa(0,[(e()(),Qr(0,0,null,null,1,"app-root",[],null,null,null,sk,ak)),Vo(1,49152,null,0,vu,[],null,null)],null,null)}var uk=fo("app-root",vu,lk,{},{},[]),ck=function(){return function(){}}(),dk=function(){return function(){}}(),hk=function(){return function(){}}(),pk=function(){function e(e,t){Cl(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:lC,useValue:o({},sC,t)},{provide:cC,useValue:n,multi:!0},{provide:uC,useValue:!0}]:[{provide:lC,useValue:o({},sC,t)},{provide:cC,useValue:n,multi:!0}]}},e}(),fk=ys(gu,[vu],function(e){return function(e){for(var t={},n=[],i=!1,r=0;r<e.length;r++){var o=e[r];o.token===Ct&&!0===o.value&&(i=!0),1073741824&o.flags&&n.push(o.token),o.index=r,t[mr(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:i}}([ro(512,It,Pt,[[8,[Yp,wf,jv,bS,KO,ek,ok,uk]],[3,It],Mt]),ro(4608,fy,fy,[]),ro(4608,ab,ab,[]),ro(5120,Xi,er,[[3,Xi]]),ro(4608,$s,el,[Xi,[2,Js]]),ro(5120,Nn,Dn,[]),ro(5120,Gi,Ji,[]),ro(5120,qi,$i,[]),ro(4608,kh,Th,[bl]),ro(6144,zt,null,[kh]),ro(4608,_h,wp,[[2,yp],[2,dp]]),ro(5120,Yd,function(e,t,n,i,r,o,a,s){return[new yh(e,t,n),new Oh(i),new Ch(r,o,a,s)]},[bl,ti,Vn,bl,bl,_h,Un,[2,wh]]),ro(4608,Zd,Zd,[Yd,ti]),ro(135680,Xd,Xd,[bl]),ro(4608,rh,rh,[Zd,Xd]),ro(5120,Hb,Vw,[]),ro(5120,R_,Fw,[]),ro(4608,uw,jw,[bl,Hb,R_]),ro(5120,jt,Uw,[rh,uw,ti]),ro(6144,Kd,null,[Xd]),ro(4608,ui,ui,[ti]),ro(4608,yu,Pw,[jt,Vd]),ro(4608,ff,ff,[]),ro(4608,vp,vp,[]),ro(4608,ld,ld,[Yc,ed,It,ad,$c,ut,ti,bl,Yu,[2,Ws]]),ro(5120,cd,pd,[ld]),ro(5120,Sd,Cd,[ld]),ro(135680,Ed,Ed,[ld,ut,[2,Ws],[2,wd],Sd,[3,Ed],ed]),ro(5120,lf,uf,[ld]),ro(5120,SE,CE,[ld]),ro(5120,Xm,Iv,[sv]),ro(4608,gv,gv,[]),ro(6144,fv,null,[gv]),ro(135680,vv,vv,[sv,_n,Zn,ut,fv]),ro(4608,mv,mv,[]),ro(5120,yv,Ev,[sv,El,bv]),ro(5120,Rv,Mv,[Pv]),ro(5120,Fn,function(e,t,n){return[e,(i=t,r=n,function(){if(Sl(r)){var e=Array.from(i.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 i,r},[Rv,bl,Vn]),ro(4608,Jl,$l,[bl,Vn,Kl]),ro(4608,eu,eu,[Jl,Xl]),ro(5120,Wl,function(e){return[e]},[eu]),ro(4608,Zl,Zl,[]),ro(6144,Yl,null,[Zl]),ro(4608,Ql,Ql,[Yl]),ro(6144,kl,null,[Ql]),ro(4608,Ol,tu,[kl,ut]),ro(4608,zl,zl,[Ol]),ro(4608,Ux,Ux,[]),ro(4608,uu,uu,[zl]),ro(4608,du,du,[zl]),ro(1073742336,lb,lb,[]),ro(1073742336,ub,ub,[]),ro(1073742336,cb,cb,[]),ro(1073742336,yl,yl,[]),ro(1024,In,Lh,[]),ro(1024,pi,function(){return[Sv()]},[]),ro(512,Pv,Pv,[ut]),ro(1024,Mn,function(e,t){return[(n=e,Wd("probe",qd),Wd("coreTokens",o({},Gd,(n||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return qd}),Av(t)];var n},[[2,pi],Pv]),ro(512,Rn,Rn,[[2,Mn]]),ro(131584,yi,yi,[ti,Un,ut,In,It,Rn]),ro(1073742336,tr,tr,[yi]),ro(1073742336,jh,jh,[[3,jh]]),ro(1073742336,zw,zw,[]),ro(1073742336,Zu,Zu,[]),ro(1073742336,dp,dp,[[2,cp],[2,wh]]),ro(1073742336,Tc,Tc,[]),ro(1073742336,Ap,Ap,[]),ro(1073742336,hS,hS,[]),ro(1073742336,qv,qv,[]),ro(1073742336,Fv,Fv,[]),ro(1073742336,KS,KS,[]),ro(1073742336,rS,rS,[]),ro(1073742336,vf,vf,[]),ro(1073742336,_b,_b,[]),ro(1073742336,lS,lS,[]),ro(1073742336,Nu,Nu,[]),ro(1073742336,Vc,Vc,[]),ro(1073742336,fd,fd,[]),ro(1073742336,Td,Td,[]),ro(1073742336,up,up,[]),ro(1073742336,pf,pf,[]),ro(1073742336,Kx,Kx,[]),ro(1073742336,Sp,Sp,[]),ro(1073742336,ck,ck,[]),ro(1073742336,Rp,Rp,[]),ro(1073742336,Bp,Bp,[]),ro(1073742336,OE,OE,[]),ro(1073742336,MS,MS,[]),ro(1073742336,LE,LE,[]),ro(1073742336,Ox,Ox,[]),ro(1024,_v,Ov,[[3,sv]]),ro(512,Im,Pm,[]),ro(512,dv,dv,[]),ro(256,bv,{useHash:!0},[]),ro(1024,zs,xv,[Us,[2,Hs],bv]),ro(512,Ws,Ws,[zs]),ro(512,Zn,Zn,[]),ro(512,_n,Ci,[Zn,[2,wi]]),ro(1024,ev,function(){return[[{path:"",component:mS},{path:":roomName",component:hu}]]},[]),ro(1024,sv,Tv,[yi,Im,dv,Ws,ut,_n,Zn,ev,bv,[2,nv],[2,Jg]]),ro(1073742336,Cv,Cv,[[2,_v],[2,sv]]),ro(1073742336,dk,dk,[]),ro(1073742336,nu,nu,[]),ro(1073742336,iu,iu,[]),ro(1073742336,rC,rC,[]),ro(1073742336,bE,bE,[]),ro(1073742336,qE,qE,[]),ro(1073742336,hk,hk,[]),ro(1073742336,pk,pk,[[2,uC],Vn]),ro(1073742336,wO,wO,[]),ro(256,Bx,{enableHash:!0,enableMention:!0},[]),ro(1073742336,Hx,Hx,[Bx]),ro(1073742336,gu,gu,[ut]),ro(256,Ct,!0,[]),ro(256,Bw,"BrowserAnimations",[]),ro(256,Kl,"XSRF-TOKEN",[]),ro(256,Xl,"X-XSRF-TOKEN",[]),ro(256,gO,{separatorKeyCodes:[13]},[])])});(function(){if(Gt)throw new Error("Cannot enable prod mode after platform setup.");Wt=!1})(),Dh().bootstrapModuleFactory(fk).catch(function(e){return console.log(e)})}},[[0,0]]]); |