text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(t,e,n){t.exports=n("zUnb")},crnd:function(t,e){function n(t){return Promise.resolve().then(function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e})}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="crnd"},yLV6:function(t,e,n){var i;!function(r,o,a,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),h="function",p=Math.round,d=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(x(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(y(t,n[e],n),!0)}function y(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function v(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.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),t.apply(this,arguments)}}l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var _=v(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===s)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),b=v(function(t,e){return _(t,e,!0)},"merge","Use `assign`.");function w(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&l(i,n)}function x(t,e){return function(){return t.apply(e,arguments)}}function C(t,e){return typeof t==h?t.apply(e&&e[0]||s,e):t}function k(t,e){return t===s?e:t}function S(t,e,n){y(O(e),function(e){t.addEventListener(e,n,!1)})}function E(t,e,n){y(O(e),function(e){t.removeEventListener(e,n,!1)})}function T(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function I(t,e){return t.indexOf(e)>-1}function O(t){return t.trim().split(/\s+/g)}function P(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function A(t){return Array.prototype.slice.call(t,0)}function R(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];P(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function D(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if((i=(n=u[o])?n+r:e)in t)return i;o++}return s}var N=1;function M(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var F="ontouchstart"in r,L=D(r,"PointerEvent")!==s,j=F&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),V=25,z=1,H=4,U=8,B=1,q=2,W=4,G=8,K=16,Y=q|W,X=G|K,Q=Y|X,Z=["x","y"],$=["clientX","clientY"];function J(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){C(t.options.enable,[t])&&n.handler(e)},this.init()}function tt(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&z&&i-r==0,a=e&(H|U)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=et(e)),r>1&&!n.firstMultiple?n.firstMultiple=et(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,l=a?a.center:o.center,u=e.center=nt(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=at(l,u),e.distance=ot(l,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==z&&o.eventType!==H||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=rt(e.deltaX,e.deltaY);var c,h,p=it(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=p.x,e.overallVelocityY=p.y,e.overallVelocity=d(p.x)>d(p.y)?p.x:p.y,e.scale=a?(c=a.pointers,ot((h=i)[0],h[1],$)/ot(c[0],c[1],$)):1,e.rotation=a?function(t,e){return at(i[1],i[0],$)+at(t[1],t[0],$)}(a.pointers):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,r,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=U&&(l>V||a.velocity===s)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,h=it(l,u,c);i=h.x,r=h.y,n=d(h.x)>d(h.y)?h.x:h.y,o=rt(u,c),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}(n,e);var m=t.element;T(e.srcEvent.target,m)&&(m=e.srcEvent.target),e.target=m}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function et(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:p(t.pointers[n].clientX),clientY:p(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:nt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function nt(t){var e=t.length;if(1===e)return{x:p(t[0].clientX),y:p(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:p(n/e),y:p(i/e)}}function it(t,e,n){return{x:e/t||0,y:n/t||0}}function rt(t,e){return t===e?B:d(t)>=d(e)?t<0?q:W:e<0?G:K}function ot(t,e,n){n||(n=Z);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function at(t,e,n){return n||(n=Z),180*Math.atan2(e[n[1]]-t[n[1]],e[n[0]]-t[n[0]])/Math.PI}J.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(M(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(M(this.element),this.evWin,this.domHandler)}};var st={mousedown:z,mousemove:2,mouseup:H},lt="mousedown",ut="mousemove mouseup";function ct(){this.evEl=lt,this.evWin=ut,this.pressed=!1,J.apply(this,arguments)}w(ct,J,{handler:function(t){var e=st[t.type];e&z&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=H),this.pressed&&(e&H&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var ht={pointerdown:z,pointermove:2,pointerup:H,pointercancel:U,pointerout:U},pt={2:"touch",3:"pen",4:"mouse",5:"kinect"},dt="pointerdown",ft="pointermove pointerup pointercancel";function mt(){this.evEl=dt,this.evWin=ft,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(dt="MSPointerDown",ft="MSPointerMove MSPointerUp MSPointerCancel"),w(mt,J,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=ht[i],o=pt[t.pointerType]||t.pointerType,a="touch"==o,s=P(e,t.pointerId,"pointerId");r&z&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):r&(H|U)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var gt={touchstart:z,touchmove:2,touchend:H,touchcancel:U},yt="touchstart",vt="touchstart touchmove touchend touchcancel";function _t(){this.evTarget=yt,this.evWin=vt,this.started=!1,J.apply(this,arguments)}w(_t,J,{handler:function(t){var e=gt[t.type];if(e===z&&(this.started=!0),this.started){var n=(function(t,e){var n=A(t.touches),i=A(t.changedTouches);return e&(H|U)&&(n=R(n.concat(i),"identifier",!0)),[n,i]}).call(this,t,e);e&(H|U)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var bt={touchstart:z,touchmove:2,touchend:H,touchcancel:U},wt="touchstart touchmove touchend touchcancel";function xt(){this.evTarget=wt,this.targetIds={},J.apply(this,arguments)}w(xt,J,{handler:function(t){var e=bt[t.type],n=(function(t,e){var n=A(t.touches),i=this.targetIds;if(e&(2|z)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=A(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return T(t.target,l)}),e===z)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]),e&(H|U)&&delete i[a[r].identifier],r++;return s.length?[R(o.concat(s),"identifier",!0),s]:void 0}).call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var Ct=2500;function kt(){J.apply(this,arguments);var t=x(this.handler,this);this.touch=new xt(this.manager,t),this.mouse=new ct(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function St(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},Ct)}}w(kt,J,{handler:function(t,e,n){var i="mouse"==n.pointerType;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)(function(t,e){t&z?(this.primaryTouch=e.changedPointers[0].identifier,St.call(this,e)):t&(H|U)&&St.call(this,e)}).call(this,e,n);else if(i&&(function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),a=Math.abs(n-r.y);if(o<=25&&a<=25)return!0}return!1}).call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Et=D(c.style,"touchAction"),Tt=Et!==s,It=function(){if(!Tt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();function Ot(t,e){this.manager=t,this.set(e)}Ot.prototype={set:function(t){"compute"==t&&(t=this.compute()),Tt&&this.manager.element.style&&It[t]&&(this.manager.element.style[Et]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return y(this.manager.recognizers,function(e){C(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(I(t,"none"))return"none";var e=I(t,"pan-x"),n=I(t,"pan-y");return e&&n?"none":e||n?e?"pan-x":"pan-y":I(t,"manipulation")?"manipulation":"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,r=I(i,"none")&&!It.none,o=I(i,"pan-y")&&!It["pan-y"],a=I(i,"pan-x")&&!It["pan-x"];if(r&&1===t.pointers.length&&t.distance<2&&t.deltaTime<250)return;if(!a||!o)return r||o&&n&Y||a&&n&X?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Pt=1,At=2,Rt=4,Dt=8,Nt=Dt,Mt=16;function Ft(t){this.options=l({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=Pt,this.simultaneous={},this.requireFail=[]}function Lt(t){return t&Mt?"cancel":t&Dt?"end":t&Rt?"move":t&At?"start":""}function jt(t){return t==K?"down":t==G?"up":t==q?"left":t==W?"right":""}function Vt(t,e){var n=e.manager;return n?n.get(t):t}function zt(){Ft.apply(this,arguments)}function Ht(){zt.apply(this,arguments),this.pX=null,this.pY=null}function Ut(){zt.apply(this,arguments)}function Bt(){Ft.apply(this,arguments),this._timer=null,this._input=null}function qt(){zt.apply(this,arguments)}function Wt(){zt.apply(this,arguments)}function Gt(){Ft.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Kt(t,e){return(e=e||{}).recognizers=k(e.recognizers,Kt.defaults.preset),new Yt(t,e)}function Yt(t,e){var n;this.options=l({},Kt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(L?mt:j?xt:F?kt:ct))(n,tt),this.touchAction=new Ot(this,this.options.touchAction),Xt(this,!0),y(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function Xt(t,e){var n,i=t.element;i.style&&(y(t.options.cssProps,function(r,o){n=D(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}Ft.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Vt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)?this:(t=Vt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===P(e,t=Vt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Vt(t,this);var e=P(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<Dt&&i(e.options.event+Lt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=Dt&&i(e.options.event+Lt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Pt)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!C(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(Nt|Mt|32)&&(this.state=Pt),this.state=this.process(e),this.state&(At|Rt|Dt|Mt)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(zt,Ft,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(At|Rt),r=this.attrTest(t);return i&&(n&U||!r)?e|Mt:i||r?n&H?e|Dt:e&At?e|Rt:At:32}}),w(Ht,zt,{defaults:{event:"pan",threshold:10,pointers:1,direction:Q},getTouchAction:function(){var t=this.options.direction,e=[];return t&Y&&e.push("pan-y"),t&X&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&Y?(r=0===o?B:o<0?q:W,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?B:a<0?G:K,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return zt.prototype.attrTest.call(this,t)&&(this.state&At||!(this.state&At)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=jt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(Ut,zt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&At)},emit:function(t){1!==t.scale&&(t.additionalEvent=this.options.event+(t.scale<1?"in":"out")),this._super.emit.call(this,t)}}),w(Bt,Ft,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(H|U)&&!r)this.reset();else if(t.eventType&z)this.reset(),this._timer=m(function(){this.state=Nt,this.tryEmit()},e.time,this);else if(t.eventType&H)return Nt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Nt&&(t&&t.eventType&H?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(qt,zt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&At)}}),w(Wt,zt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|X,pointers:1},getTouchAction:function(){return Ht.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Y|X)?e=t.overallVelocity:n&Y?e=t.overallVelocityX:n&X&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&t.eventType&H},emit:function(t){var e=jt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(Gt,Ft,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&z&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=H)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||ot(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t,0==this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=Nt,this.tryEmit()},e.interval,this),At):Nt}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==Nt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Kt.VERSION="2.0.7",Kt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[qt,{enable:!1}],[Ut,{enable:!1},["rotate"]],[Wt,{direction:Y}],[Ht,{direction:Y},["swipe"]],[Gt],[Gt,{event:"doubletap",taps:2},["tap"]],[Bt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Yt.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&Nt)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(At|Rt|Dt)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Ft)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=P(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return y(O(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return y(O(t),function(t){e?n[t]&&n[t].splice(P(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Xt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Kt,{INPUT_START:z,INPUT_MOVE:2,INPUT_END:H,INPUT_CANCEL:U,STATE_POSSIBLE:Pt,STATE_BEGAN:At,STATE_CHANGED:Rt,STATE_ENDED:Dt,STATE_RECOGNIZED:Nt,STATE_CANCELLED:Mt,STATE_FAILED:32,DIRECTION_NONE:B,DIRECTION_LEFT:q,DIRECTION_RIGHT:W,DIRECTION_UP:G,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:X,DIRECTION_ALL:Q,Manager:Yt,Input:J,TouchAction:Ot,TouchInput:xt,MouseInput:ct,PointerEventInput:mt,TouchMouseInput:kt,SingleTouchInput:_t,Recognizer:Ft,AttrRecognizer:zt,Tap:Gt,Pan:Ht,Swipe:Wt,Pinch:Ut,Rotate:qt,Press:Bt,on:S,off:E,each:y,merge:b,extend:_,assign:l,inherit:w,bindFn:x,prefixed:D}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Kt,(i=(function(){return Kt}).call(e,n,e,t))===s||(t.exports=i)}(window,document)},zUnb:function(t,e,n){"use strict";n.r(e);var i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function r(t,e){function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function a(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function l(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function u(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >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 t=[],e=0;e<arguments.length;e++)t=t.concat(u(arguments[e]));return t}var h=Array.isArray||function(t){return t&&"number"==typeof t.length};function p(t){return null!=t&&"object"==typeof t}function d(t){return"function"==typeof t}var f,m={e:{}};function g(){try{return f.apply(this,arguments)}catch(t){return m.e=t,m}}function y(t){return f=t,g}function v(t){return Error.call(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(t,e){return e+1+") "+t.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t,this}v.prototype=Object.create(Error.prototype);var _=v,b=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}var e;return t.prototype.unsubscribe=function(){var t,e=!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(d(r)&&y(r).call(this)===m&&(e=!0,t=t||(m.e instanceof _?w(m.e.errors):[m.e])),h(o))for(a=-1,s=o.length;++a<s;){var l=o[a];if(p(l)&&y(l.unsubscribe).call(l)===m){e=!0,t=t||[];var u=m.e;u instanceof _?t=t.concat(w(u.errors)):t.push(u)}}if(e)throw new _(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(typeof e){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var i=n;(n=new t)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this._parent,n=this._parents;e&&e!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=((e=new t).closed=!0,e),t}();function w(t){return t.reduce(function(t,e){return t.concat(e instanceof _?e.errors:e)},[])}var x=!1,C={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){x=t},get useDeprecatedSynchronousErrorHandling(){return x}};function k(t){setTimeout(function(){throw t})}var S={closed:!0,next:function(t){},error:function(t){if(C.useDeprecatedSynchronousErrorHandling)throw t;k(t)},complete:function(){}},E="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),T=function(t){function e(n,i,r){var o=t.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,o._parentSubscription=null,arguments.length){case 0:o.destination=S;break;case 1:if(!n){o.destination=S;break}if("object"==typeof n){n instanceof e?(o.syncErrorThrowable=n.syncErrorThrowable,o.destination=n,n.add(o)):(o.syncErrorThrowable=!0,o.destination=new I(o,n));break}default:o.syncErrorThrowable=!0,o.destination=new I(o,n,i,r)}return o}return r(e,t),e.prototype[E]=function(){return this},e.create=function(t,n,i){var r=new e(t,n,i);return r.syncErrorThrowable=!1,r},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this._parent,e=this._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=e,this._parentSubscription=null,this},e}(b),I=function(t){function e(e,n,i,r){var o,a=t.call(this)||this;a._parentSubscriber=e;var s=a;return d(n)?o=n:n&&(o=n.next,i=n.error,r=n.complete,n!==S&&(d((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(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;C.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber,n=C.useDeprecatedSynchronousErrorHandling;if(this._error)n&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)n?(e.syncErrorValue=t,e.syncErrorThrown=!0):k(t),this.unsubscribe();else{if(this.unsubscribe(),n)throw t;k(t)}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};C.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),C.useDeprecatedSynchronousErrorHandling)throw n;k(n)}},e.prototype.__tryOrSetError=function(t,e,n){if(!C.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(i){return C.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=i,t.syncErrorThrown=!0,!0):(k(i),!0)}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(T),O="function"==typeof Symbol&&Symbol.observable||"@@observable";function P(){}function A(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return R(t)}function R(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:P}var D=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var i=this.operator,r=function(t,e,n){if(t){if(t instanceof T)return t;if(t[E])return t[E]()}return t||e||n?new T(t,e,n):new T(S)}(t,e,n);if(i?i.call(r,this.source):r.add(this.source||C.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),C.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){C.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){var e=t.destination;if(t.closed||t.isStopped)return!1;t=e&&e instanceof T?e:null}return!0}(t)?t.error(e):console.warn(e)}},t.prototype.forEach=function(t,e){var n=this;return new(e=N(e))(function(e,i){var r;r=n.subscribe(function(e){try{t(e)}catch(n){i(n),r&&r.unsubscribe()}},i,e)})},t.prototype._subscribe=function(t){var e=this.source;return e&&e.subscribe(t)},t.prototype[O]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 0===t.length?this:R(t)(this)},t.prototype.toPromise=function(t){var e=this;return new(t=N(t))(function(t,n){var i;e.subscribe(function(t){return i=t},function(t){return n(t)},function(){return t(i)})})},t.create=function(e){return new t(e)},t}();function N(t){if(t||(t=C.Promise||Promise),!t)throw new Error("no Promise impl found");return t}function M(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}M.prototype=Object.create(Error.prototype);var F=M,L=function(t){function e(e,n){var i=t.call(this)||this;return i.subject=e,i.subscriber=n,i.closed=!1,i}return r(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(b),j=function(t){function e(e){var n=t.call(this,e)||this;return n.destination=e,n}return r(e,t),e}(T),V=function(t){function e(){var e=t.call(this)||this;return e.observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return r(e,t),e.prototype[E]=function(){return new j(this)},e.prototype.lift=function(t){var e=new z(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new F;if(!this.isStopped)for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].next(t)},e.prototype.error=function(t){if(this.closed)throw new F;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,i=e.slice(),r=0;r<n;r++)i[r].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new F;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),i=0;i<e;i++)n[i].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new F;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new F;return this.hasError?(t.error(this.thrownError),b.EMPTY):this.isStopped?(t.complete(),b.EMPTY):(this.observers.push(t),new L(this,t))},e.prototype.asObservable=function(){var t=new D;return t.source=this,t},e.create=function(t,e){return new z(t,e)},e}(D),z=function(t){function e(e,n){var i=t.call(this)||this;return i.destination=e,i.source=n,i}return r(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):b.EMPTY},e}(V);function H(t){return t&&"function"==typeof t.schedule}var U=function(t){function e(e,n,i){var r=t.call(this)||this;return r.parent=e,r.outerValue=n,r.outerIndex=i,r.index=0,r}return r(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(T),B=function(t){return function(e){for(var n=0,i=t.length;n<i&&!e.closed;n++)e.next(t[n]);e.closed||e.complete()}},q=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,k),e}};function W(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var G=W(),K=function(t){return function(e){for(var n=t[G]();;){var i=n.next();if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},Y=function(t){return function(e){var n=t[O]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},X=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Q(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var Z=function(t){if(t instanceof D)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[O])return Y(t);if(X(t))return B(t);if(Q(t))return q(t);if(t&&"function"==typeof t[G])return K(t);var e=p(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function $(t,e,n,i,r){if(void 0===r&&(r=new U(t,n,i)),!r.closed)return Z(e)(r)}var J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(T);function tt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new et(t,e))}}var et=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new nt(t,this.project,this.thisArg))},t}(),nt=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.project=n,r.count=0,r.thisArg=i||r,r}return r(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(T);function it(t,e){return new D(e?function(n){var i=new b,r=0;return i.add(e.schedule(function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()})),i}:B(t))}function rt(t,e){if(!e)return t instanceof D?t:new D(Z(t));if(null!=t){if(function(t){return t&&"function"==typeof t[O]}(t))return function(t,e){return new D(e?function(n){var i=new b;return i.add(e.schedule(function(){var r=t[O]();i.add(r.subscribe({next:function(t){i.add(e.schedule(function(){return n.next(t)}))},error:function(t){i.add(e.schedule(function(){return n.error(t)}))},complete:function(){i.add(e.schedule(function(){return n.complete()}))}}))})),i}:Y(t))}(t,e);if(Q(t))return function(t,e){return new D(e?function(n){var i=new b;return i.add(e.schedule(function(){return t.then(function(t){i.add(e.schedule(function(){n.next(t),i.add(e.schedule(function(){return n.complete()}))}))},function(t){i.add(e.schedule(function(){return n.error(t)}))})})),i}:q(t))}(t,e);if(X(t))return it(t,e);if(function(t){return t&&"function"==typeof t[G]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new D(e?function(n){var i,r=new b;return r.add(function(){i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(function(){i=t[G](),r.add(e.schedule(function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(o){return void n.error(o)}e?n.complete():(n.next(t),this.schedule())}}))})),r}:K(t))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}function ot(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(ot(function(n,i){return rt(t(n,i)).pipe(tt(function(t,r){return e(n,t,i,r)}))},n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new st(t,n))})}var at,st=function(){function t(t,e){void 0===e&&(e=Number.POSITIVE_INFINITY),this.project=t,this.concurrent=e}return t.prototype.call=function(t,e){return e.subscribe(new lt(t,this.project,this.concurrent))},t}(),lt=function(t){function e(e,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY);var r=t.call(this,e)||this;return r.project=n,r.concurrent=i,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return r(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=new U(this,void 0,void 0);this.destination.add(i),$(this,t,e,n,i)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(J);function ut(t){return t}function ct(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),ot(ut,t)}function ht(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Number.POSITIVE_INFINITY,i=null,r=t[t.length-1];return H(r)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof r&&(n=t.pop()),null===i&&1===t.length&&t[0]instanceof D?t[0]:ct(n)(it(t,i))}function pt(){return function(t){return t.lift(new dt(t))}}Function,(at={})[4]=4,at[1]=1,at[2]=2,at[0]=0,at[3]=3;var dt=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var i=new ft(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r},t}(),ft=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return r(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null},e}(T),mt=function(t){function e(e,n){var i=t.call(this)||this;return i.source=e,i.subjectFactory=n,i._refCount=0,i._isComplete=!1,i}return r(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new b).add(this.source.subscribe(new yt(this.getSubject(),this))),t.closed?(this._connection=null,t=b.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return pt()(this)},e}(D).prototype,gt={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:mt._subscribe},_isComplete:{value:mt._isComplete,writable:!0},getSubject:{value:mt.getSubject},connect:{value:mt.connect},refCount:{value:mt.refCount}},yt=function(t){function e(e,n){var i=t.call(this,e)||this;return i.connectable=n,i}return r(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(j);function vt(){return new V}function _t(t){for(var e in t)if(t[e]===_t)return e;throw Error("Could not find renamed property on target object.")}var bt=_t({ngComponentDef:_t}),wt=_t({ngInjectableDef:_t}),xt=_t({ngInjectorDef:_t}),Ct=_t({ngModuleDef:_t});function kt(t){return{providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function St(t){return t.hasOwnProperty(wt)?t[wt]:null}function Et(t){return t.hasOwnProperty(xt)?t[xt]:null}var Tt=function(){function t(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0!==e?kt({providedIn:e.providedIn||"root",factory:e.factory}):void 0}return t.prototype.toString=function(){return"InjectionToken "+this._desc},t}(),It="__parameters__";function Ot(t,e,n){var i=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(t){var i=t.apply(void 0,c(e));for(var r in i)this[r]=i[r]}}}(e);function r(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this instanceof r)return i.apply(this,e),this;var o=new((t=r).bind.apply(t,c([void 0],e)));return a.annotation=o,a;function a(t,e,n){for(var i=t.hasOwnProperty(It)?t[It]:Object.defineProperty(t,It,{value:[]})[It];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(o),t}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=t,r.annotationCls=r,r}var Pt=new Tt("AnalyzeForEntryComponents"),At="undefined"!=typeof window&&window,Rt="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Dt="undefined"!=typeof global&&global||At||Rt,Nt=Promise.resolve(0),Mt=null;function Ft(){if(!Mt){var t=Dt.Symbol;if(t&&t.iterator)Mt=t.iterator;else for(var e=Object.getOwnPropertyNames(Map.prototype),n=0;n<e.length;++n){var i=e[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Mt=i)}}return Mt}function Lt(t){"undefined"==typeof Zone?Nt.then(function(){t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}function jt(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}function Vt(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Vt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function zt(t){return t.__forward_ref__=zt,t.toString=function(){return Vt(this())},t}function Ht(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")&&t.__forward_ref__===zt?t():t}var Ut=Ot("Inject",function(t){return{token:t}}),Bt=Ot("Optional"),qt=Ot("Self"),Wt=Ot("SkipSelf"),Gt="__source",Kt=new Object,Yt=Kt,Xt=new Tt("INJECTOR"),Qt=function(){function t(){}return t.prototype.get=function(t,e){if(void 0===e&&(e=Kt),e===Kt)throw new Error("NullInjectorError: No provider for "+Vt(t)+"!");return e},t}(),Zt=function(){function t(){}return t.create=function(t,e){return Array.isArray(t)?new ae(t,e):new ae(t.providers,t.parent,t.name||null)},t.THROW_IF_NOT_FOUND=Kt,t.NULL=new Qt,t.ngInjectableDef=kt({providedIn:"any",factory:function(){return pe(Xt)}}),t}(),$t=function(t){return t},Jt=[],te=$t,ee=function(){return Array.prototype.slice.call(arguments)},ne=_t({provide:String,useValue:_t}),ie=Zt.NULL,re=/\n/gm,oe="\u0275",ae=function(){function t(t,e,n){void 0===e&&(e=ie),void 0===n&&(n=null),this.parent=e,this.source=n;var i=this._records=new Map;i.set(Zt,{token:Zt,fn:$t,deps:Jt,value:this,useNew:!1}),i.set(Xt,{token:Xt,fn:$t,deps:Jt,value:this,useNew:!1}),function t(e,n){if(n)if((n=Ht(n))instanceof Array)for(var i=0;i<n.length;i++)t(e,n[i]);else{if("function"==typeof n)throw ue("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ue("Unexpected provider",n);var r=Ht(n.provide),o=function(t){var e=function(t){var e=Jt,n=t.deps;if(n&&n.length){e=[];for(var i=0;i<n.length;i++){var r=6;if((l=Ht(n[i]))instanceof Array)for(var o=0,a=l;o<a.length;o++){var s=a[o];s instanceof Bt||s==Bt?r|=1:s instanceof Wt||s==Wt?r&=-3:s instanceof qt||s==qt?r&=-5:l=s instanceof Ut?s.token:Ht(s)}e.push({token:l,options:r})}}else if(t.useExisting){var l;e=[{token:l=Ht(t.useExisting),options:6}]}else if(!(n||ne in t))throw ue("'deps' required",t);return e}(t),n=$t,i=Jt,r=!1,o=Ht(t.provide);if(ne in t)i=t.useValue;else if(t.useFactory)n=t.useFactory;else if(t.useExisting);else if(t.useClass)r=!0,n=Ht(t.useClass);else{if("function"!=typeof o)throw ue("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",t);r=!0,n=o}return{deps:e,fn:n,useNew:r,value:i}}(n);if(!0===n.multi){var a=e.get(r);if(a){if(a.fn!==ee)throw se(r)}else e.set(r,a={token:n.provide,deps:[],useNew:!1,fn:ee,value:Jt});a.deps.push({token:r=n,options:6})}var s=e.get(r);if(s&&s.fn==ee)throw se(r);e.set(r,o)}}(i,t)}return t.prototype.get=function(t,e,n){void 0===n&&(n=0);var i=this._records.get(t);try{return function t(e,n,i,r,o,a){try{return function(e,n,i,r,o,a){var s,l;if(!n||4&a)2&a||(l=r.get(e,o,0));else{if((l=n.value)==te)throw Error(oe+"Circular dependency");if(l===Jt){n.value=te;var u=n.useNew,h=n.fn,p=n.deps,d=Jt;if(p.length){d=[];for(var f=0;f<p.length;f++){var m=p[f],g=m.options,y=2&g?i.get(m.token):void 0;d.push(t(m.token,y,i,y||4&g?r:ie,1&g?null:Zt.THROW_IF_NOT_FOUND,0))}}n.value=l=u?new((s=h).bind.apply(s,c([void 0],d))):h.apply(void 0,d)}}return l}(e,n,i,r,o,a)}catch(s){throw s instanceof Error||(s=new Error(s)),(s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(e),n&&n.value==te&&(n.value=Jt),s}}(t,i,this._records,this.parent,e,n)}catch(o){var r=o.ngTempTokenPath;throw t[Gt]&&r.unshift(t[Gt]),o.message=le("\n"+o.message,r,this.source),o.ngTokenPath=r,o.ngTempTokenPath=null,o}},t.prototype.toString=function(){var t=[];return this._records.forEach(function(e,n){return t.push(Vt(n))}),"StaticInjector["+t.join(", ")+"]"},t}();function se(t){return ue("Cannot mix multi providers and regular providers",t)}function le(t,e,n){void 0===n&&(n=null),t=t&&"\n"===t.charAt(0)&&t.charAt(1)==oe?t.substr(2):t;var i=Vt(e);if(e instanceof Array)i=e.map(Vt).join(" -> ");else if("object"==typeof e){var r=[];for(var o in e)if(e.hasOwnProperty(o)){var a=e[o];r.push(o+":"+("string"==typeof a?JSON.stringify(a):Vt(a)))}i="{"+r.join(", ")+"}"}return"StaticInjectorError"+(n?"("+n+")":"")+"["+i+"]: "+t.replace(re,"\n  ")}function ue(t,e){return new Error(le(t,e))}var ce=void 0;function he(t){var e=ce;return ce=t,e}function pe(t,e){if(void 0===e&&(e=0),void 0===ce)throw new Error("inject() must be called from an injection context");if(null===ce){var n=St(t);if(n&&"root"==n.providedIn)return void 0===n.value?n.value=n.factory():n.value;if(8&e)return null;throw new Error("Injector: NOT_FOUND ["+Vt(t)+"]")}return ce.get(t,8&e?null:void 0,e)}function de(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,o=0,a=0;a<i.length;a++){var s=i[a];s instanceof Bt||"Optional"===s.ngMetadataName?o|=8:s instanceof Wt||"SkipSelf"===s.ngMetadataName?o|=4:s instanceof qt||"Self"===s.ngMetadataName?o|=2:r=s instanceof Ut?s.token:s}e.push(pe(r,o))}else e.push(pe(i))}return e}Function;var fe=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),me="__ngContext__",ge=17,ye=0,ve=1,_e=2,be=3,we=4,xe=5,Ce=6,ke=7,Se=8,Ee=9,Te=10,Ie=11,Oe=12,Pe=14,Ae=16;function Re(t,e){var n=Me(t),i=Me(e);return n&&i?function(t,e,n){for(var i=t[Ft()](),r=e[Ft()]();;){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}}(t,e,Re):!(n||!t||"object"!=typeof t&&"function"!=typeof t||i||!e||"object"!=typeof e&&"function"!=typeof e)||jt(t,e)}var De=function(){function t(t){this.wrapped=t}return t.wrap=function(e){return new t(e)},t.unwrap=function(e){return t.isWrapped(e)?e.wrapped:e},t.isWrapped=function(e){return e instanceof t},t}(),Ne=function(){function t(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}return t.prototype.isFirstChange=function(){return this.firstChange},t}();function Me(t){return!!Fe(t)&&(Array.isArray(t)||!(t instanceof Map)&&Ft()in t)}function Fe(t){return null!==t&&("function"==typeof t||"object"==typeof t)}var Le=0,je=1,Ve=6;function ze(t){for(;Array.isArray(t);)t=t[xe];return t}function He(t,e){return ze(e[t.index])}function Ue(t,e){var n=e[t];return n.length>=ge?n:n[xe]}function Be(t){return t[me]}function qe(t){var e=Be(t);return e?Array.isArray(e)?e:e.lViewData:null}function We(t,e){t[me]=e}function Ge(t,e,n){t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked))}function Ke(t,e,n){t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked))}function Ye(t,e,n){null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}function Xe(t,e,n){16&t[ve]&&(Qe(t,e.initHooks,e.checkHooks,n),t[ve]&=-17)}function Qe(t,e,n,i){var r=i?e:n;r&&Ze(t,r)}function Ze(t,e){for(var n=0;n<e.length;n+=2)e[n+1].call(t[e[n]])}var $e=9,Je="ngProjectAs";function tn(t){return!!t.listen}var en={createRenderer:function(t,e){return document}},nn=[];function rn(t){for(var e=t[Ce];e&&2===e.type;)e=(t=t[_e])[Ce];return t}function on(t,e,n,i,r){0===t?tn(e)?e.insertBefore(n,i,r):n.insertBefore(i,r,!0):1===t?tn(e)?e.removeChild(n,i):n.removeChild(i):2===t&&e.destroyNode(i)}function an(t){var e=t[ye].childIndex;return-1===e?null:t[e]}function sn(t,e){var n;return t.length>=ge&&(n=t[Ce])&&2===n.type?function(e,n){if(-1===e.index){var i=t[Pe];return i>-1?t[_e][i]:null}return t[_e][e.parent.index]}(n):t[_e]===e?null:t[_e]}function ln(t){if(t.length>=ge){var e=t;!function(t){var e=t[ye].cleanup;if(null!=e){for(var n=0;n<e.length-1;n+=2)"string"==typeof e[n]?(ze(t[e[n+1]]).removeEventListener(e[n],t[Se][e[n+2]],e[n+3]),n+=2):"number"==typeof e[n]?(0,t[Se][e[n]])():e[n].call(t[Se][e[n+1]]);t[Se]=null}}(e),function(t){var e,n=t[ye];null!=n&&null!=(e=n.destroyHooks)&&Ze(t,e)}(e),(i=(n=e)[ye]&&n[ye].pipeDestroyHooks)&&Ze(n,i),-1===e[ye].id&&tn(e[Ie])&&e[Ie].destroy()}var n,i}var un,cn,hn,pn,dn,fn,mn,gn,yn=Promise.resolve(null);function vn(){return cn}var _n=!1,bn=!0,wn=-1;function xn(t,e){var n=gn;return dn=t&&t[ye],mn=t&&1==(1&t[ve]),bn=t&&dn.firstTemplatePass,wn=t&&dn.bindingStartIndex,un=t&&t[Ie],hn=e,pn=!0,gn=t,n&&(n[we]=fn),fn=t&&t[we],n}function Cn(t,e){e||(_n||Qe(gn,dn.viewHooks,dn.viewCheckHooks,mn),gn[ve]&=-6),gn[ve]|=16,gn[ke]=dn.bindingStartIndex,xn(t,null)}function kn(){Sn();var t=bn;dn.firstTemplatePass=bn=!1,_n||Xe(gn,dn,mn),function(t){for(var e=an(gn);null!==e;e=e[be])if(e.length<ge&&-1===e[Le])for(var n=e,i=0;i<n[je].length;i++){var r=n[je][i];In(r,r[ye],r[Ee],2)}}(),function(t){if(null!=t.contentQueries)for(var e=0;e<t.contentQueries.length;e+=2){var n=t.contentQueries[e];t.data[n].contentQueriesRefresh(n-ge,t.contentQueries[e+1])}}(dn),_n||Qe(gn,dn.contentHooks,dn.contentCheckHooks,mn),function(t,e){if(null!=t)for(var n=0;n<t.length;n++)Fn(t[n],e)}(dn.components,t)}function Sn(){if(dn.expandoInstructions){wn=gn[ke]=dn.expandoStartIndex;for(var t=-1,e=-1,n=0;n<dn.expandoInstructions.length;n++){var i=dn.expandoInstructions[n];"number"==typeof i?i<=0?(e=-i,"number"==typeof gn[wn]&&(wn+=$e),t=wn):wn+=i:(gn[ke]=wn,i(t-ge,e),t++)}}}function En(t,e,n,i,r){var o=e.blueprint.slice();return o[ve]=25|i,o[_e]=o[Ae]=gn,o[Ee]=n,o[Te]=gn?gn[Te]:null,o[Ie]=t,o[Oe]=r||null,o}function Tn(t,e,n,i,r){var o=t+ge;gn[o]=n;var a=dn.data[o];return null==a&&(a=dn.data[o]=Mn(e,o,i,r,null),hn&&(!pn||null!=hn.child||null===a.parent&&2!==hn.type?pn||(hn.next=a):hn.child=a)),null==dn.firstChild&&3===e&&(dn.firstChild=a),hn=a,pn=!0,a}function In(t,e,n,i){var r,o=pn,a=hn;if(64&t[ve])jn(t[Ee]);else try{pn=!0,hn=null,r=xn(t,t[Ce]),Rn(),e.template(i,n),2&i?kn():t[ye].firstTemplatePass=bn=!1}finally{Cn(r,1==(1&i)),pn=o,hn=a}}function On(t,e,n){var i=xn(t,t[Ce]);try{cn.begin&&cn.begin(),n?(Rn(),n(Pn(t),e),kn()):(_n||(Xe(gn,dn,mn),Qe(gn,dn.contentHooks,dn.contentCheckHooks,mn)),Sn(),Fn(ge,!1))}finally{cn.end&&cn.end(),Cn(i)}}function Pn(t){return 1&t[ve]?3:2}var An=null;function Rn(){An=null}function Dn(t,e,n,i,r,o,a){var s=ge+n,l=s+i,u=function(t,e){var n=new Array(e).fill(null,0,t).fill(Un,t);return n[Pe]=-1,n[ke]=t,n}(s,l);return u[ye]={id:t,blueprint:u,template:e,viewQuery:a,node:null,data:u.slice(),childIndex:-1,bindingStartIndex:s,expandoStartIndex:l,expandoInstructions:null,firstTemplatePass:!0,initHooks:null,checkHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,pipeDestroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof r?r():r,pipeRegistry:"function"==typeof o?o():o,currentMatches:null,firstChild:null}}function Nn(t,e){cn=t;var n=t.createRenderer(null,null);return"string"==typeof e?tn(n)?n.selectRootElement(e):n.querySelector(e):e}function Mn(t,e,n,i,r){var o=pn?hn:hn&&hn.parent,a=o&&gn&&o!==gn[Ce]?o:null;return{type:t,index:e,injectorIndex:a?a.injectorIndex:-1,flags:0,tagName:n,attrs:i,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:r,next:null,child:null,parent:a,detached:null,stylingTemplate:null,projection:null}}function Fn(t,e){var n=Ue(t,gn);Ln(n)&&6&n[ve]&&(e&&function(t){for(var e=t[ye],n=t.length;n<e.blueprint.length;n++)t[n]=e.blueprint[n]}(n),Hn(n,n[Ee]))}function Ln(t){return 8==(8&t[ve])}function jn(t){for(var e=0;e<t.components.length;e++){var n=t.components[e];On(qe(n),n)}}function Vn(t){Hn(function(t){var e,n=Be(t);if(Array.isArray(n)){var i=function(t,e){var n=t[ye].components;if(n)for(var i=0;i<n.length;i++){var r=n[i];if(Ue(r,t)[Ee]===e)return r}else if(Ue(ge,t)[Ee]===e)return ge;return-1}(n,t);(r=function(t,e,n){return{lViewData:t,nodeIndex:e,native:n,component:void 0,directives:void 0,localRefs:void 0}}(n,i,(e=Ue(i,n))[xe])).component=t,We(t,r),We(r.native,r)}else{var r;e=Ue((r=n).nodeIndex,r.lViewData)}return e}(t),t)}function zn(t){jn(t[Ee])}function Hn(t,e){var n=t[ye],i=xn(t,t[Ce]),r=n.template,o=n.viewQuery;try{Rn(),function(e,n,i){e&&1&t[ve]&&e(1,i)}(o,0,e),r(Pn(t),e),kn(),function(t,e){t&&t(2,e)}(o,e)}finally{Cn(i)}}var Un={},Bn=yn,qn=[0,1];function Wn(t,e,n,i,r,o){var a=function(t,e,n,i){if(We(e,gn),i&&We(i,gn),gn[t]=e,bn){var r=hn.flags;0===r?hn.flags=t<<15|4096&r|1:hn.flags++,dn.data.push(n),dn.blueprint.push(null),n.hostBindings&&dn.expandoInstructions.push((a=n).hostBindings,a.hostVars)}else{var o=n.diPublic;o&&o(n)}var a;return null!=n.attributes&&3==hn.type&&function(t,e){for(var n=tn(un),i=0;i<e.length;){var r=e[i];if(1===r)break;if(r===Je)i+=2;else if(0===r){var o=e[i+1],a=e[i+2],s=e[i+3];n?un.setAttribute(t,a,s,o):t.setAttributeNS(o,a,s),i+=4}else s=e[i+1],n?un.setAttribute(t,r,s):t.setAttribute(r,s),i+=2}}(i,n.attributes),e}(i.length,n.factory(),n,t);return r.components.push(a),e[Ee]=a,o&&o.forEach(function(t){return t(a,n)}),i[ye].firstTemplatePass&&function(t){for(var e=0;e<t;e++)gn.push(Un),dn.blueprint.push(Un),dn.data.push(null)}(n.hostVars),Sn(),a}function Gn(t,e){return{components:[],scheduler:t,clean:Bn,playerHandler:e||null,flags:0}}function Kn(t,e){var n,i,r,o,a=qe(t)[ye],s=a.data.length-1;n=s,r=e.doCheck,o=a,(i=e.onInit)&&(o.initHooks||(o.initHooks=[])).push(n,i),r&&((o.initHooks||(o.initHooks=[])).push(n,r),(o.checkHooks||(o.checkHooks=[])).push(n,r)),function(t,e){if(e.firstTemplatePass)for(var n=t>>15,i=n+(4095&t),r=n;r<i;r++){var o=e.data[r];Ge(o,e,r),Ke(o,e,r),Ye(o,e,r)}}(s<<15|1,a)}var Yn=function(){return function(){}}(),Xn=function(){return function(){}}();function Qn(t){var e=Error("No component factory found for "+Vt(t)+". Did you add it to @NgModule.entryComponents?");return e[$n]=t,e}var Zn,$n="ngComponent",Jn=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){throw Qn(t)},t}(),ti=function(){function t(){}return t.NULL=new Jn,t}(),ei=function(){function t(t,e,n){this._parent=e,this._ngModule=n,this._factories=new Map;for(var i=0;i<t.length;i++){var r=t[i];this._factories.set(r.componentType,r)}}return t.prototype.resolveComponentFactory=function(t){var e=this._factories.get(t);if(!e&&this._parent&&(e=this._parent.resolveComponentFactory(t)),!e)throw Qn(t);return new ni(e,this._ngModule)},t}(),ni=function(t){function e(e,n){var i=t.call(this)||this;return i.factory=e,i.ngModule=n,i.selector=e.selector,i.componentType=e.componentType,i.ngContentSelectors=e.ngContentSelectors,i.inputs=e.inputs,i.outputs=e.outputs,i}return r(e,t),e.prototype.create=function(t,e,n,i){return this.factory.create(t,e,n,i||this.ngModule)},e}(Xn),ii=function(){return function(){}}(),ri=function(){return function(){}}(),oi=function(t){function e(e){var n=t.call(this,e,null,-1)||this;return n._view=e,n}return r(e,t),e.prototype.detectChanges=function(){zn(this._view)},e.prototype.checkNoChanges=function(){!function(t){_n=!0;try{zn(t)}finally{_n=!1}}(this._view)},e}(function(){function t(t,e,n){this._context=e,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._view=t}return Object.defineProperty(t.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 32==(32&this._view[ve])},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var t,e;this._viewContainerRef&&Ln(this._view)&&(this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),this._viewContainerRef=null),tn(e=(t=this._view)[Ie])&&e.destroyNode&&function(e,n,i,r,o){for(var a=t[ye].node,s=-1,l=t,u=a.child;u;){var c=null;if(3===u.type){on(2,i,null,He(u,l),o);var h=l[u.index];m=h,Array.isArray(m)&&"number"==typeof m[Le]&&on(2,i,null,h[Ve],o)}else if(0===u.type){var p=l[u.index];on(2,i,null,p[Ve],o),p[je].length&&(c=(l=p[je][0])[ye].node,o=p[Ve])}else if(1===u.type){var d=rn(l),f=d[Ce].projection[u.projection];nn[++s]=u,nn[++s]=l,f&&(c=(l=d[_e])[ye].data[f.index])}else c=u.child;if(null===c)for(null===u.next&&8192&u.flags&&(l=nn[s--],u=nn[s--]),c=u.next;!c;){if(null===(u=u.parent||l[ye].node)||u===a)return null;0===u.type&&(o=(l=l[_e])[u.index][Ve]),c=2===u.type&&l[be]?(l=l[be])[ye].node:u.next}u=c}var m}(0,0,e),function(t){if(-1===t[ye].childIndex)return ln(t);for(var e=an(t);e;){var n=null;if(e.length>=ge?e[ye].childIndex>-1&&(n=an(e)):e[je].length&&(n=e[je][0]),null==n){for(;e&&!e[be]&&e!==t;)ln(e),e=sn(e,t);ln(e||t),n=e&&e[be]}e=n}}(t),t[ve]|=32},t.prototype.onDestroy=function(t){var e,n;n=t,function(t){return t[Se]||(t[Se]=[])}(e=this._view).push(n),e[ye].firstTemplatePass&&function(t){return t[ye].cleanup||(t[ye].cleanup=[])}(e).push(e[Se].length-1,null)},t.prototype.markForCheck=function(){!function(t){for(var e=t;e&&!(64&e[ve]);)e[ve]|=4,e=e[_e];e[ve]|=4;var n=e[Ee],i=0===n.flags;n.flags|=1,i&&function(t){var e;t.clean==yn&&(t.clean=new Promise(function(t){return e=t}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,jn(t)),2&t.flags){t.flags&=-3;var n=t.playerHandler;n&&n.flushPlayers()}t.clean=yn,e(null)}))}(n)}(this._view)},t.prototype.detach=function(){this._view[ve]&=-9},t.prototype.reattach=function(){this._view[ve]|=8},t.prototype.detectChanges=function(){var t=vn();t.begin&&t.begin(),Vn(this.context),t.end&&t.end()},t.prototype.checkNoChanges=function(){!function(t){_n=!0;try{Vn(t)}finally{_n=!1}}(this.context)},t.prototype.attachToViewContainerRef=function(t){this._viewContainerRef=t},t.prototype.detachFromAppRef=function(){this._appRef=null},t.prototype.attachToAppRef=function(t){this._appRef=t},t.prototype._lookUpContext=function(){return this._context=this._view[_e][this._componentIndex]},t}());function ai(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}var si=ai,li=ai,ui=ai,ci=ai,hi=ai,pi=function(){function t(t){this.nativeElement=t}return t.__NG_ELEMENT_ID__=function(){return si(t)},t}(),di=function(){return function(){}}(),fi=function(){return function(){}}(),mi=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),gi=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return hi()},t}(),yi=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.resolveComponentFactory=function(t){return new xi(t[bt]||null)},e}(ti);function vi(t){var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}var _i=new Tt("ROOT_CONTEXT_TOKEN",{providedIn:"root",factory:function(){return Gn(pe(bi))}}),bi=new Tt("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return"undefined"!=typeof requestAnimationFrame&&"undefined"!=typeof window?requestAnimationFrame.bind(window):setTimeout}}),wi=new Tt("WRAP_RENDERER_FACTORY2"),xi=function(t){function e(e){var n=t.call(this)||this;return n.componentDef=e,n.componentType=e.type,n.selector=e.selectors[0][0],n.ngContentSelectors=[],n}return r(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){return vi(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){return vi(this.componentDef.outputs)},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){var o,a=void 0===n;o=i?i.injector.get(wi,function(t){return t})(i.injector.get(fi)):en;var s,l,u=a?(s=this.selector,tn(l=o.createRenderer(null,this.componentDef)||un)?l.createElement(s,An):null===An?l.createElement(s):l.createElementNS(An,s)):Nn(o,n),c=this.componentDef.onPush?68:66,h=i&&!a?i.injector.get(_i):Gn(requestAnimationFrame.bind(window)),p=o.createRenderer(u,this.componentDef),d=En(p,Dn(-1,null,1,0,null,null,null),h,c);d[Te]=i&&i.injector||null;var f,m,g,y,v=xn(d,null);try{o.begin&&o.begin();var _=function(t,e,n,i,r){pn=!1,hn=null;var o,a=n[ye],s=En(i,(o=e.template).ngPrivateData||(o.ngPrivateData=Dn(-1,o,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery)),null,e.onPush?4:2,r),l=Tn(0,3,t,null,null);return a.firstTemplatePass&&(a.expandoInstructions=qn.slice(),e.diPublic&&e.diPublic(e),l.flags=n.length<<15|4096),s[xe]=n[ge],s[Ce]=l,n[ge]=s}(u,this.componentDef,d,p);if(m=d[ye].data[0+ge],e)for(var b=0,w=m.projection=[],x=0;x<e.length;x++){for(var C=e[x],k=null,S=null,E=0;E<C.length;E++){y=void 0,(y=(g=d)[ye]).firstTemplatePass&&(y.expandoStartIndex++,y.blueprint.push(null),g.push(null));var T=Tn(++b,3,C[E],null,null);S?S.next=T:k=T,S=T}w.push(k)}f=Wn(u,_,this.componentDef,d,h,[Kn]),In(_,_[ye],f,1),_[ve]&=-2}finally{xn(v,null),o.end&&o.end()}var I=new Ci(this.componentType,f,d,t,function(t,e,n){return Zn||(Zn=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(pi)),new Zn(He(e,n))}(0,m,d));return a&&(I.hostView._tViewNode.child=m),I},e}(Xn),Ci=function(t){function e(e,n,i,r,o){var a,s=t.call(this)||this;return s.location=o,s.destroyCbs=[],s.instance=n,s.hostView=s.changeDetectorRef=new oi(i),s.hostView._tViewNode=(-1,null==(a=i)[ye].node&&(a[ye].node=Mn(2,-1,null,null,null)),pn=!0,hn=a[Ce]=a[ye].node),s.injector=r,s.componentType=e,s}return r(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(Yn),ki=new Tt("The presence of this token marks an injector as being the root injector."),Si={},Ei={},Ti=[],Ii=void 0;function Oi(){return void 0===Ii&&(Ii=new Qt),Ii}var Pi=function(){function t(t,e,n){var i=this;this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this.destroyed=!1,Di([t],function(t){return i.processInjectorType(t,new Set)}),e&&Di(e,function(t){return i.processProvider(t)}),this.records.set(Xt,Ri(void 0,this)),this.isRootInjector=this.records.has(ki),this.injectorDefTypes.forEach(function(t){return i.get(t)})}return t.prototype.destroy=function(){this.assertNotDestroyed(),this.destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},t.prototype.get=function(t,e,n){void 0===e&&(e=Yt),void 0===n&&(n=0),this.assertNotDestroyed();var i,r=he(this);try{if(!(4&n)){var o=this.records.get(t);if(void 0===o){var a=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Tt)&&St(t);a&&this.injectableDefInScope(a)&&(o=Ai(t),this.records.set(t,o))}if(void 0!==o)return this.hydrate(t,o)}return 2&n&&Oi(),this.parent.get(t,e)}finally{he(r)}},t.prototype.assertNotDestroyed=function(){if(this.destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(t,e){var n=this,i=Et(t=Ht(t)),r=null==i&&t.ngModule||void 0,o=void 0===r?t:r,a=void 0!==r&&t.providers||Ti;if(void 0!==r&&(i=Et(r)),null!=i){if(e.has(o))throw new Error("Circular dependency: type "+Vt(o)+" ends up importing itself.");if(this.injectorDefTypes.add(o),this.records.set(o,Ri(i.factory)),null!=i.imports){e.add(o);try{Di(i.imports,function(t){return n.processInjectorType(t,e)})}finally{e.delete(o)}}null!=i.providers&&Di(i.providers,function(t){return n.processProvider(t)}),Di(a,function(t){return n.processProvider(t)})}},t.prototype.processProvider=function(t){var e=Ni(t=Ht(t))?t:Ht(t.provide),n=function(t){var e=Ht(t),n=Si,i=void 0;if(Ni(t))return Ai(t);if(e=Ht(t.provide),ne in t)n=t.useValue;else if(t.useExisting)i=function(){return pe(t.useExisting)};else if(t.useFactory)i=function(){return t.useFactory.apply(t,c(de(t.deps||[])))};else{var r=t.useClass||e;if(!t.deps)return Ai(r);i=function(){return new(r.bind.apply(r,c([void 0],de(t.deps))))}}return Ri(i,n)}(t);if(Ni(t)||!0!==t.multi){var i=this.records.get(e);if(i&&void 0!==i.multi)throw new Error("Mixed multi-provider for "+Vt(e))}else{var r=this.records.get(e);if(r){if(void 0===r.multi)throw new Error("Mixed multi-provider for "+e+".")}else(r=Ri(void 0,Si,!0)).factory=function(){return de(r.multi)},this.records.set(e,r);e=t,r.multi.push(t)}this.records.set(e,n)},t.prototype.hydrate=function(t,e){if(e.value===Ei)throw new Error("Circular dep for "+Vt(t));var n;return e.value===Si&&(e.value=Ei,e.value=e.factory()),"object"==typeof e.value&&e.value&&"object"==typeof(n=e.value)&&null!=n&&n.ngOnDestroy&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value},t.prototype.injectableDefInScope=function(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||"root"===t.providedIn&&this.isRootInjector:this.injectorDefTypes.has(t.providedIn))},t}();function Ai(t){var e=St(t);if(null===e){if(t instanceof Tt)throw new Error("Token "+Vt(t)+" is missing an ngInjectableDef definition.");return Ri(function(){return new t})}return Ri(e.factory)}function Ri(t,e,n){return void 0===e&&(e=Si),void 0===n&&(n=!1),{factory:t,value:e,multi:n?[]:void 0}}function Di(t,e){t.forEach(function(t){return Array.isArray(t)?Di(t,e):e(t)})}function Ni(t){return"function"==typeof t}var Mi={provide:ti,useFactory:function(){return new yi},deps:[]},Fi=function(t){function e(e,n){var i=t.call(this)||this;return i._bootstrapComponents=[],i.destroyCbs=[],i._bootstrapComponents=(e[Ct]||null).bootstrap,i.injector=function(t,e,n){return void 0===e&&(e=null),void 0===n&&(n=null),e=e||Oi(),new Pi(t,n,e)}(e,n,[Mi,{provide:ii,useValue:i}]),i.instance=i.injector.get(e),i.componentFactoryResolver=new yi,i}return r(e,t),e.prototype.destroy=function(){this.destroyCbs.forEach(function(t){return t()}),this.destroyCbs=null},e.prototype.onDestroy=function(t){this.destroyCbs.push(t)},e}(ii);!function(t){function e(e){var n=t.call(this)||this;return n.moduleType=e,n}r(e,t),e.prototype.create=function(t){return new Fi(this.moduleType,t)}}(ri);var Li=function(t){function e(e){void 0===e&&(e=!1);var n=t.call(this)||this;return n.__isAsync=e,n}return r(e,t),e.prototype.emit=function(e){t.prototype.next.call(this,e)},e.prototype.subscribe=function(e,n,i){var r,o=function(t){return null},a=function(){return null};e&&"object"==typeof e?(r=this.__isAsync?function(t){setTimeout(function(){return e.next(t)})}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout(function(){return e.error(t)})}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout(function(){return e.complete()})}:function(){e.complete()})):(r=this.__isAsync?function(t){setTimeout(function(){return e(t)})}:function(t){e(t)},n&&(o=this.__isAsync?function(t){setTimeout(function(){return n(t)})}:function(t){n(t)}),i&&(a=this.__isAsync?function(){setTimeout(function(){return i()})}:function(){i()}));var s=t.prototype.subscribe.call(this,r,o,a);return e instanceof b&&e.add(s),s},e}(V),ji=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return li(t,pi)},t}(),Vi=!0,zi=!1;function Hi(){return zi=!0,Vi}var Ui=function(){function t(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.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(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return t.prototype.getInertBodyElement_XHR=function(t){t="<body><remove></remove>"+t+"</body>";try{t=encodeURI(t)}catch(i){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n},t.prototype.getInertBodyElement_DOMParser=function(t){t="<body><remove></remove>"+t+"</body>";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}},t.prototype.getInertBodyElement_InertDocument=function(t){var e=this.inertDocument.createElement("template");return"content"in e?(e.innerHTML=t,e):(this.inertBodyElement.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},t.prototype.stripCustomNsAttrs=function(t){for(var e=t.attributes,n=e.length-1;0<n;n--){var i=e.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||t.removeAttribute(i)}for(var r=t.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling},t}(),Bi=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:\/?#]*(?:[\/?#]|$))/gi,qi=/^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 Wi(t){return(t=String(t)).match(Bi)||t.match(qi)?t:(Hi()&&console.warn("WARNING: sanitizing unsafe URL value "+t+" (see http://g.co/ng/security#xss)"),"unsafe:"+t)}function Gi(t){var e,n,i={};try{for(var r=l(t.split(",")),o=r.next();!o.done;o=r.next())i[o.value]=!0}catch(a){e={error:a}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return i}function Ki(){for(var t,e,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){t={error:c}}finally{try{a&&!a.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}return r}var Yi,Xi=Gi("area,br,col,hr,img,wbr"),Qi=Gi("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Zi=Gi("rp,rt"),$i=Ki(Zi,Qi),Ji=Ki(Xi,Ki(Qi,Gi("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")),Ki(Zi,Gi("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")),$i),tr=Gi("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),er=Gi("srcset"),nr=Ki(tr,er,Gi("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")),ir=function(){function t(){this.sanitizedSomething=!1,this.buf=[]}return t.prototype.sanitizeChildren=function(t){for(var e=t.firstChild;e;)if(e.nodeType===Node.ELEMENT_NODE?this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);var n=this.checkClobberedElement(e,e.nextSibling);if(n){e=n;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")},t.prototype.startElement=function(t){var e=t.nodeName.toLowerCase();if(Ji.hasOwnProperty(e)){this.buf.push("<"),this.buf.push(e);for(var n,i=t.attributes,r=0;r<i.length;r++){var o=i.item(r),a=o.name,s=a.toLowerCase();if(nr.hasOwnProperty(s)){var l=o.value;tr[s]&&(l=Wi(l)),er[s]&&(n=l,l=(n=String(n)).split(",").map(function(t){return Wi(t.trim())}).join(", ")),this.buf.push(" ",a,'="',ar(l),'"')}else this.sanitizedSomething=!0}this.buf.push(">")}else this.sanitizedSomething=!0},t.prototype.endElement=function(t){var e=t.nodeName.toLowerCase();Ji.hasOwnProperty(e)&&!Xi.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(ar(t))},t.prototype.checkClobberedElement=function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e},t}(),rr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,or=/([^\#-~ |!])/g;function ar(t){return t.replace(/&/g,"&amp;").replace(rr,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(or,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function sr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var lr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({}),ur=function(){return function(){}}(),cr=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"),hr=/^url\(([^)]+)\)$/;String,String;var pr=new(function(){return function(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}())("7.0.0"),dr="ngDebugContext",fr="ngOriginalError",mr="ngErrorLogger";function gr(t){return t[dr]}function yr(t){return t[fr]}function vr(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}var _r=function(){function t(){this._console=console}return t.prototype.handleError=function(t){var e=this._findOriginalError(t),n=this._findContext(t),i=function(t){return t[mr]||vr}(t);i(this._console,"ERROR",t),e&&i(this._console,"ORIGINAL ERROR",e),n&&i(this._console,"ERROR CONTEXT",n)},t.prototype._findContext=function(t){return t?gr(t)?gr(t):this._findContext(yr(t)):null},t.prototype._findOriginalError=function(t){for(var e=yr(t);e&&yr(e);)e=yr(e);return e},t}();function br(t){return!!t&&"function"==typeof t.then}function wr(t){return!!t&&"function"==typeof t.subscribe}var xr=new Tt("Application Initializer"),Cr=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();br(r)&&e.push(r)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t}(),kr=new Tt("AppId");function Sr(){return""+Er()+Er()+Er()}function Er(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Tr=new Tt("Platform Initializer"),Ir=new Tt("Platform ID"),Or=new Tt("appBootstrapListener"),Pr=function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t}();function Ar(){throw new Error("Runtime compiler is not loaded")}var Rr,Dr,Nr=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw Ar()},t.prototype.compileModuleAsync=function(t){throw Ar()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw Ar()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw Ar()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.prototype.getModuleId=function(t){},t}(),Mr=function(){return function(){}}();function Fr(){var t=Dt.wtf;return!(!t||!(Rr=t.trace)||(Dr=Rr.events,0))}var Lr=Fr();function jr(t,e){return null}var Vr=Lr?function(t,e){return void 0===e&&(e=null),Dr.createScope(t,e)}:function(t,e){return jr},zr=Lr?function(t,e){return Rr.leaveScope(t,e),e}:function(t,e){return e},Hr=function(){function t(t){var e,n=t.enableLongStackTrace,i=void 0!==n&&n;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Li(!1),this.onMicrotaskEmpty=new Li(!1),this.onStable=new Li(!1),this.onError=new Li(!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)),(e=this)._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,i,r,o,a){try{return Wr(e),t.invokeTask(i,r,o,a)}finally{Gr(e)}},onInvoke:function(t,n,i,r,o,a,s){try{return Wr(e),t.invoke(i,r,o,a,s)}finally{Gr(e)}},onHasTask:function(t,n,i,r){t.hasTask(i,r),n===i&&("microTask"==r.change?(e.hasPendingMicrotasks=r.microTask,qr(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:function(t,n,i,r){return t.handleError(i,r),e.runOutsideAngular(function(){return e.onError.emit(r)}),!1}})}return t.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},t.assertInAngularZone=function(){if(!t.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},t.assertNotInAngularZone=function(){if(t.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},t.prototype.run=function(t,e,n){return this._inner.run(t,e,n)},t.prototype.runTask=function(t,e,n,i){var r=this._inner,o=r.scheduleEventTask("NgZoneEvent: "+i,t,Br,Ur,Ur);try{return r.runTask(o,e,n)}finally{r.cancelTask(o)}},t.prototype.runGuarded=function(t,e,n){return this._inner.runGuarded(t,e,n)},t.prototype.runOutsideAngular=function(t){return this._outer.run(t)},t}();function Ur(){}var Br={};function qr(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(function(){return t.onStable.emit(null)})}finally{t.isStable=!0}}}function Wr(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function Gr(t){t._nesting--,qr(t)}var Kr,Yr=function(){function t(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Li,this.onMicrotaskEmpty=new Li,this.onStable=new Li,this.onError=new Li}return t.prototype.run=function(t){return t()},t.prototype.runGuarded=function(t){return t()},t.prototype.runOutsideAngular=function(t){return t()},t.prototype.runTask=function(t){return t()},t}(),Xr=function(){function t(t){var e=this;this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this._watchAngularEvents(),t.run(function(){e.taskTrackingZone=Zone.current.get("TaskTrackingZone")})}return t.prototype._watchAngularEvents=function(){var t=this;this._ngZone.onUnstable.subscribe({next:function(){t._didWork=!0,t._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){t._ngZone.onStable.subscribe({next:function(){Hr.assertNotInAngularZone(),Lt(function(){t._isZoneStable=!0,t._runCallbacksIfReady()})}})})},t.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},t.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},t.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},t.prototype._runCallbacksIfReady=function(){var t=this;if(this.isStable())Lt(function(){for(;0!==t._callbacks.length;){var e=t._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(t._didWork)}t._didWork=!1});else{var e=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(t){return!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)}),this._didWork=!0}},t.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(t){return{source:t.source,creationLocation:t.creationLocation,data:t.data}}):[]},t.prototype.addCallback=function(t,e,n){var i=this,r=-1;e&&e>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(t){return t.timeoutId!==r}),t(i._didWork,i.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})},t.prototype.whenStable=function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()},t.prototype.getPendingRequestCount=function(){return this._pendingCount},t.prototype.findProviders=function(t,e,n){return[]},t}(),Qr=function(){function t(){this._applications=new Map,Zr.addToWindow(this)}return t.prototype.registerApplication=function(t,e){this._applications.set(t,e)},t.prototype.unregisterApplication=function(t){this._applications.delete(t)},t.prototype.unregisterAllApplications=function(){this._applications.clear()},t.prototype.getTestability=function(t){return this._applications.get(t)||null},t.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},t.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},t.prototype.findTestabilityInTree=function(t,e){return void 0===e&&(e=!0),Zr.findTestabilityInTree(this,t,e)},a([s("design:paramtypes",[])],t)}(),Zr=new(function(){function t(){}return t.prototype.addToWindow=function(t){},t.prototype.findTestabilityInTree=function(t,e,n){return null},t}()),$r=new Tt("AllowMultipleToken"),Jr=function(){return function(t,e){this.name=t,this.token=e}}();function to(t,e,n){void 0===n&&(n=[]);var i="Platform: "+e,r=new Tt(i);return function(e){void 0===e&&(e=[]);var o=eo();if(!o||o.injector.get($r,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var a=n.concat(e).concat({provide:r,useValue:!0});!function(t){if(Kr&&!Kr.destroyed&&!Kr.injector.get($r,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Kr=t.get(no);var e=t.get(Tr,null);e&&e.forEach(function(t){return t()})}(Zt.create({providers:a,name:i}))}return function(t){var e=eo();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(r)}}function eo(){return Kr&&!Kr.destroyed?Kr:null}var no=function(){function t(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return t.prototype.bootstrapModuleFactory=function(t,e){var n,i=this,r="noop"===(n=e?e.ngZone:void 0)?new Yr:("zone.js"===n?void 0:n)||new Hr({enableLongStackTrace:Hi()}),o=[{provide:Hr,useValue:r}];return r.run(function(){var e=Zt.create({providers:o,parent:i.injector,name:t.moduleType.name}),n=t.create(e),a=n.injector.get(_r,null);if(!a)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy(function(){return oo(i._modules,n)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(t){a.handleError(t)}})}),function(t,e,r){try{var o=((a=n.injector.get(Cr)).runInitializers(),a.donePromise.then(function(){return i._moduleDoBootstrap(n),n}));return br(o)?o.catch(function(n){throw e.runOutsideAngular(function(){return t.handleError(n)}),n}):o}catch(s){throw e.runOutsideAngular(function(){return t.handleError(s)}),s}var a}(a,r)})},t.prototype.bootstrapModule=function(t,e){var n=this;void 0===e&&(e=[]);var i=io({},e);return function(t,e,n){return t.get(Mr).createCompiler([e]).compileModuleAsync(n)}(this.injector,i,t).then(function(t){return n.bootstrapModuleFactory(t,i)})},t.prototype._moduleDoBootstrap=function(t){var e=t.injector.get(ro);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(function(t){return e.bootstrap(t)});else{if(!t.instance.ngDoBootstrap)throw new Error("The module "+Vt(t.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');t.instance.ngDoBootstrap(e)}this._modules.push(t)},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},Object.defineProperty(t.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(t){return t.destroy()}),this._destroyListeners.forEach(function(t){return t()}),this._destroyed=!0},Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t}();function io(t,e){return Array.isArray(e)?e.reduce(io,t):o({},t,e)}var ro=function(){function t(t,e,n,i,r,o){var a=this;this._zone=t,this._console=e,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=Hi(),this._zone.onMicrotaskEmpty.subscribe({next:function(){a._zone.run(function(){a.tick()})}});var s=new D(function(t){a._stable=a._zone.isStable&&!a._zone.hasPendingMacrotasks&&!a._zone.hasPendingMicrotasks,a._zone.runOutsideAngular(function(){t.next(a._stable),t.complete()})}),l=new D(function(t){var e;a._zone.runOutsideAngular(function(){e=a._zone.onStable.subscribe(function(){Hr.assertNotInAngularZone(),Lt(function(){a._stable||a._zone.hasPendingMacrotasks||a._zone.hasPendingMicrotasks||(a._stable=!0,t.next(!0))})})});var n=a._zone.onUnstable.subscribe(function(){Hr.assertInAngularZone(),a._stable&&(a._stable=!1,a._zone.runOutsideAngular(function(){t.next(!1)}))});return function(){e.unsubscribe(),n.unsubscribe()}});this.isStable=ht(s,l.pipe(function(t){return pt()((e=vt,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,gt);return i.source=t,i.subjectFactory=n,i})(t));var e}))}var e;return e=t,t.prototype.bootstrap=function(t,e){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=t instanceof Xn?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n instanceof ni?null:this._injector.get(ii),o=n.create(Zt.NULL,[],e||n.selector,r);o.onDestroy(function(){i._unloadComponent(o)});var a=o.injector.get(Xr,null);return a&&o.injector.get(Qr).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Hi()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o},t.prototype.tick=function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var n=e._tickScope();try{this._runningTick=!0,this._views.forEach(function(t){return t.detectChanges()}),this._enforceNoNewChanges&&this._views.forEach(function(t){return t.checkNoChanges()})}catch(i){this._zone.runOutsideAngular(function(){return t._exceptionHandler.handleError(i)})}finally{this._runningTick=!1,zr(n)}},t.prototype.attachView=function(t){var e=t;this._views.push(e),e.attachToAppRef(this)},t.prototype.detachView=function(t){var e=t;oo(this._views,e),e.detachFromAppRef()},t.prototype._loadComponent=function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(Or,[]).concat(this._bootstrapListeners).forEach(function(e){return e(t)})},t.prototype._unloadComponent=function(t){this.detachView(t.hostView),oo(this.components,t)},t.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(t){return t.destroy()})},Object.defineProperty(t.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),t._tickScope=Vr("ApplicationRef#tick()"),t}();function oo(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var ao=function(){return function(){}}(),so=function(){function t(){this.dirty=!0,this._results=[],this.changes=new Li,this.length=0}return t.prototype.map=function(t){return this._results.map(t)},t.prototype.filter=function(t){return this._results.filter(t)},t.prototype.find=function(t){return this._results.find(t)},t.prototype.reduce=function(t,e){return this._results.reduce(t,e)},t.prototype.forEach=function(t){this._results.forEach(t)},t.prototype.some=function(t){return this._results.some(t)},t.prototype.toArray=function(){return this._results.slice()},t.prototype[Ft()]=function(){return this._results[Ft()]()},t.prototype.toString=function(){return this._results.toString()},t.prototype.reset=function(t){this._results=function t(e){return e.reduce(function(e,n){var i=Array.isArray(n)?t(n):n;return e.concat(i)},[])}(t),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},t.prototype.notifyOnChanges=function(){this.changes.emit(this)},t.prototype.setDirty=function(){this.dirty=!0},t.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},t}(),lo=function(){return function(){}}(),uo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},co=function(){function t(t,e){this._compiler=t,this._config=e||uo}return t.prototype.load=function(t){return this._compiler instanceof Nr?this.loadFactory(t):this.loadAndCompile(t)},t.prototype.loadAndCompile=function(t){var e=this,i=u(t.split("#"),2),r=i[0],o=i[1];return void 0===o&&(o="default"),n("crnd")(r).then(function(t){return t[o]}).then(function(t){return ho(t,r,o)}).then(function(t){return e._compiler.compileModuleAsync(t)})},t.prototype.loadFactory=function(t){var e=u(t.split("#"),2),i=e[0],r=e[1],o="NgFactory";return void 0===r&&(r="default",o=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then(function(t){return t[r+o]}).then(function(t){return ho(t,i,r)})},t}();function ho(t,e,n){if(!t)throw new Error("Cannot find '"+n+"' in '"+e+"'");return t}var po,fo=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ci(t,pi)},t}(),mo=function(){function t(){}return t.__NG_ELEMENT_ID__=function(){return ui()},t}(),go=(r(function(){return null!==po&&po.apply(this,arguments)||this},po=mo),function(){return function(t,e){this.name=t,this.callback=e}}()),yo=function(){function t(t,e,n){this.nativeNode=t,this._debugContext=n,this.listeners=[],this.parent=null,e&&e instanceof vo&&e.addChild(this)}return Object.defineProperty(t.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),t}(),vo=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.properties={},r.attributes={},r.classes={},r.styles={},r.childNodes=[],r.nativeElement=e,r}return r(e,t),e.prototype.addChild=function(t){t&&(this.childNodes.push(t),t.parent=this)},e.prototype.removeChild=function(t){var e=this.childNodes.indexOf(t);-1!==e&&(t.parent=null,this.childNodes.splice(e,1))},e.prototype.insertChildrenAfter=function(t,e){var n,i=this,r=this.childNodes.indexOf(t);-1!==r&&((n=this.childNodes).splice.apply(n,c([r+1,0],e)),e.forEach(function(t){t.parent&&t.parent.removeChild(t),t.parent=i}))},e.prototype.insertBefore=function(t,e){var n=this.childNodes.indexOf(t);-1===n?this.addChild(e):(e.parent&&e.parent.removeChild(e),e.parent=this,this.childNodes.splice(n,0,e))},e.prototype.query=function(t){return this.queryAll(t)[0]||null},e.prototype.queryAll=function(t){var e=[];return function t(e,n,i){e.childNodes.forEach(function(e){e instanceof vo&&(n(e)&&i.push(e),t(e,n,i))})}(this,t,e),e},e.prototype.queryAllNodes=function(t){var e=[];return function t(e,n,i){e instanceof vo&&e.childNodes.forEach(function(e){n(e)&&i.push(e),e instanceof vo&&t(e,n,i)})}(this,t,e),e},Object.defineProperty(e.prototype,"children",{get:function(){return this.childNodes.filter(function(t){return t instanceof e})},enumerable:!0,configurable:!0}),e.prototype.triggerEventHandler=function(t,e){this.listeners.forEach(function(n){n.name==t&&n.callback(e)})},e}(yo),_o=new Map;function bo(t){return _o.get(t)||null}function wo(t){_o.set(t.nativeNode,t)}var xo=function(){function t(){}return t.prototype.supports=function(t){return Me(t)},t.prototype.create=function(t){return new ko(t)},t}(),Co=function(t,e){return e},ko=function(){function t(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||Co}return t.prototype.forEachItem=function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)},t.prototype.forEachOperation=function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var o=!n||e&&e.currentIndex<Io(n,i,r)?e:n,a=Io(o,i,r),s=o.currentIndex;if(o===n)i--,n=n._nextRemoved;else if(e=e._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 h=c<r.length?r[c]:r[c]=0,p=h+c;u<=p&&p<l&&(r[c]=h+1)}r[o.previousIndex]=u-l}}a!==s&&t(o,a,s)}},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousItHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachMovedItem=function(t){var e;for(e=this._movesHead;null!==e;e=e._nextMoved)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.forEachIdentityChange=function(t){var e;for(e=this._identityChangesHead;null!==e;e=e._nextIdentityChange)t(e)},t.prototype.diff=function(t){if(null==t&&(t=[]),!Me(t))throw new Error("Error trying to diff '"+Vt(t)+"'. Only arrays and iterables are allowed");return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n,i,r,o=this._itHead,a=!1;if(Array.isArray(t)){this.length=t.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,i=t[s]),null!==o&&jt(o.trackById,r)?(a&&(o=this._verifyReinsertion(o,i,r,s)),jt(o.item,i)||this._addIdentityChange(o,i)):(o=this._mismatch(o,i,r,s),a=!0),o=o._next}else n=0,function(t,e){if(Array.isArray(t))for(var n=0;n<t.length;n++)e(t[n]);else for(var i=t[Ft()](),r=void 0;!(r=i.next()).done;)e(r.value)}(t,function(t){r=e._trackByFn(n,t),null!==o&&jt(o.trackById,r)?(a&&(o=e._verifyReinsertion(o,t,r,n)),jt(o.item,t)||e._addIdentityChange(o,t)):(o=e._mismatch(o,t,r,n),a=!0),o=o._next,n++}),this.length=n;return this._truncate(o),this.collection=t,this.isDirty},Object.defineProperty(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),t.prototype._reset=function(){if(this.isDirty){var t=void 0,e=void 0;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},t.prototype._mismatch=function(t,e,n,i){var r;return null===t?r=this._itTail:(r=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(jt(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,r,i)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(jt(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,r,i)):t=this._addAfter(new So(e,n),r,i),t},t.prototype._verifyReinsertion=function(t,e,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?t=this._reinsertAfter(r,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),t},t.prototype._truncate=function(t){for(;null!==t;){var e=t._next;this._addToRemovals(this._unlink(t)),t=e}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)},t.prototype._reinsertAfter=function(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);var i=t._prevRemoved,r=t._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._moveAfter=function(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t},t.prototype._addAfter=function(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t},t.prototype._insertAfter=function(t,e,n){var i=null===e?this._itHead:e._next;return t._next=i,t._prev=e,null===i?this._itTail=t:i._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new To),this._linkedRecords.put(t),t.currentIndex=n,t},t.prototype._remove=function(t){return this._addToRemovals(this._unlink(t))},t.prototype._unlink=function(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);var e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t},t.prototype._addToMoves=function(t,e){return t.previousIndex===e?t:(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t,t)},t.prototype._addToRemovals=function(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new To),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t},t.prototype._addIdentityChange=function(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t},t}(),So=function(){return function(t,e){this.item=t,this.trackById=e,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}}(),Eo=function(){function t(){this._head=null,this._tail=null}return t.prototype.add=function(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)},t.prototype.get=function(t,e){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&jt(n.trackById,t))return n;return null},t.prototype.remove=function(t){var e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head},t}(),To=function(){function t(){this.map=new Map}return t.prototype.put=function(t){var e=t.trackById,n=this.map.get(e);n||(n=new Eo,this.map.set(e,n)),n.add(t)},t.prototype.get=function(t,e){var n=this.map.get(t);return n?n.get(t,e):null},t.prototype.remove=function(t){var e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t},Object.defineProperty(t.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),t.prototype.clear=function(){this.map.clear()},t}();function Io(t,e,n){var i=t.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+e+r}var Oo=function(){function t(){}return t.prototype.supports=function(t){return t instanceof Map||Fe(t)},t.prototype.create=function(){return new Po},t}(),Po=function(){function t(){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(t.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),t.prototype.forEachItem=function(t){var e;for(e=this._mapHead;null!==e;e=e._next)t(e)},t.prototype.forEachPreviousItem=function(t){var e;for(e=this._previousMapHead;null!==e;e=e._nextPrevious)t(e)},t.prototype.forEachChangedItem=function(t){var e;for(e=this._changesHead;null!==e;e=e._nextChanged)t(e)},t.prototype.forEachAddedItem=function(t){var e;for(e=this._additionsHead;null!==e;e=e._nextAdded)t(e)},t.prototype.forEachRemovedItem=function(t){var e;for(e=this._removalsHead;null!==e;e=e._nextRemoved)t(e)},t.prototype.diff=function(t){if(t){if(!(t instanceof Map||Fe(t)))throw new Error("Error trying to diff '"+Vt(t)+"'. Only maps and objects are allowed")}else t=new Map;return this.check(t)?this:null},t.prototype.onDestroy=function(){},t.prototype.check=function(t){var e=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(t,function(t,i){if(n&&n.key===i)e._maybeAddToChanges(n,t),e._appendAfter=n,n=n._next;else{var r=e._getOrCreateRecordForKey(i,t);n=e._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},t.prototype._insertBeforeOrAppend=function(t,e){if(t){var n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null},t.prototype._getOrCreateRecordForKey=function(t,e){if(this._records.has(t)){var n=this._records.get(t);this._maybeAddToChanges(n,e);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 Ao(t);return this._records.set(t,o),o.currentValue=e,this._addToAdditions(o),o},t.prototype._reset=function(){if(this.isDirty){var t=void 0;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},t.prototype._maybeAddToChanges=function(t,e){jt(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))},t.prototype._addToAdditions=function(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)},t.prototype._addToChanges=function(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)},t.prototype._forEach=function(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(function(n){return e(t[n],n)})},t}(),Ao=function(){return function(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Ro=function(){function t(t){this.factories=t}return t.create=function(e,n){if(null!=n){var i=n.factories.slice();e=e.concat(i)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Wt,new Bt]]}},t.prototype.find=function(t){var e,n=this.factories.find(function(e){return e.supports(t)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'")},t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new t([new xo])}}),t}(),Do=function(){function t(t){this.factories=t}return t.create=function(e,n){if(n){var i=n.factories.slice();e=e.concat(i)}return new t(e)},t.extend=function(e){return{provide:t,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new Wt,new Bt]]}},t.prototype.find=function(t){var e=this.factories.find(function(e){return e.supports(t)});if(e)return e;throw new Error("Cannot find a differ supporting object '"+t+"'")},t}(),No=[new Oo],Mo=new Ro([new xo]),Fo=new Do(No),Lo=to(null,"core",[{provide:Ir,useValue:"unknown"},{provide:no,deps:[Zt]},{provide:Qr,deps:[]},{provide:Pr,deps:[]}]),jo=new Tt("LocaleId");function Vo(){return Mo}function zo(){return Fo}function Ho(t){return t||"en-US"}var Uo=function(){return function(t){}}();function Bo(t,e,n){var i=t.state,r=1792&i;return r===e?(t.state=-1793&i|n,t.initIndex=-1,!0):r===n}function qo(t,e,n){return(1792&t.state)===e&&t.initIndex<=n&&(t.initIndex=n+1,!0)}function Wo(t,e){return t.nodes[e]}function Go(t,e){return t.nodes[e]}function Ko(t,e){return t.nodes[e]}function Yo(t,e){return t.nodes[e]}function Xo(t,e){return t.nodes[e]}var Qo={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 Zo(t,e,n,i){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+e+"'. 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(t,e){var n=new Error(t);return $o(n,e),n}(r,t)}function $o(t,e){t[dr]=e,t[mr]=e.logError.bind(e)}function Jo(t){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+t)}var ta=function(){},ea=new Map;function na(t){var e=ea.get(t);return e||(e=Vt(t)+"_"+ea.size,ea.set(t,e)),e}function ia(t,e,n,i){if(De.isWrapped(i)){i=De.unwrap(i);var r=t.def.nodes[e].bindingIndex+n,o=De.unwrap(t.oldValues[r]);t.oldValues[r]=new De(o)}return i}var ra="$$undefined",oa="$$empty";function aa(t){return{id:ra,styles:t.styles,encapsulation:t.encapsulation,data:t.data}}var sa=0;function la(t,e,n,i){return!(!(2&t.state)&&jt(t.oldValues[e.bindingIndex+n],i))}function ua(t,e,n,i){return!!la(t,e,n,i)&&(t.oldValues[e.bindingIndex+n]=i,!0)}function ca(t,e,n,i){var r=t.oldValues[e.bindingIndex+n];if(1&t.state||!Re(r,i)){var o=e.bindings[n].name;throw Zo(Qo.createDebugContext(t,e.nodeIndex),o+": "+r,o+": "+i,0!=(1&t.state))}}function ha(t){for(var e=t;e;)2&e.def.flags&&(e.state|=8),e=e.viewContainerParent||e.parent}function pa(t,e){for(var n=t;n&&n!==e;)n.state|=64,n=n.viewContainerParent||n.parent}function da(t,e,n,i){try{return ha(33554432&t.def.nodes[e].flags?Go(t,e).componentView:t),Qo.handleEvent(t,e,n,i)}catch(r){t.root.errorHandler.handleError(r)}}function fa(t){return t.parent?Go(t.parent,t.parentNodeDef.nodeIndex):null}function ma(t){return t.parent?t.parentNodeDef.parent:null}function ga(t,e){switch(201347067&e.flags){case 1:return Go(t,e.nodeIndex).renderElement;case 2:return Wo(t,e.nodeIndex).renderText}}function ya(t){return!!t.parent&&!!(32768&t.parentNodeDef.flags)}function va(t){return!(!t.parent||32768&t.parentNodeDef.flags)}function _a(t){return 1<<t%32}function ba(t){var e={},n=0,i={};return t&&t.forEach(function(t){var r=u(t,2),o=r[0],a=r[1];"number"==typeof o?(e[o]=a,n|=_a(o)):i[o]=a}),{matchedQueries:e,references:i,matchedQueryIds:n}}function wa(t,e){return t.map(function(t){var n,i,r;return Array.isArray(t)?(r=(n=u(t,2))[0],i=n[1]):(r=0,i=t),i&&("function"==typeof i||"object"==typeof i)&&e&&Object.defineProperty(i,Gt,{value:e,configurable:!0}),{flags:r,token:i,tokenKey:na(i)}})}function xa(t,e,n){var i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&i.element.componentRendererType.encapsulation===fe.Native?Go(t,n.renderParent.nodeIndex).renderElement:void 0:e}var Ca=new WeakMap;function ka(t){var e=Ca.get(t);return e||((e=t(function(){return ta})).factory=t,Ca.set(t,e)),e}function Sa(t,e,n,i,r){3===e&&(n=t.renderer.parentNode(ga(t,t.def.lastRenderRootNode))),Ea(t,e,0,t.def.nodes.length-1,n,i,r)}function Ea(t,e,n,i,r,o,a){for(var s=n;s<=i;s++){var l=t.def.nodes[s];11&l.flags&&Ia(t,l,e,r,o,a),s+=l.childCount}}function Ta(t,e,n,i,r,o){for(var a=t;a&&!ya(a);)a=a.parent;for(var s=a.parent,l=ma(a),u=l.nodeIndex+l.childCount,c=l.nodeIndex+1;c<=u;c++){var h=s.def.nodes[c];h.ngContentIndex===e&&Ia(s,h,n,i,r,o),c+=h.childCount}if(!s.parent){var p=t.root.projectableNodes[e];if(p)for(c=0;c<p.length;c++)Oa(t,p[c],n,i,r,o)}}function Ia(t,e,n,i,r,o){if(8&e.flags)Ta(t,e.ngContent.index,n,i,r,o);else{var a=ga(t,e);if(3===n&&33554432&e.flags&&48&e.bindingFlags?(16&e.bindingFlags&&Oa(t,a,n,i,r,o),32&e.bindingFlags&&Oa(Go(t,e.nodeIndex).componentView,a,n,i,r,o)):Oa(t,a,n,i,r,o),16777216&e.flags)for(var s=Go(t,e.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)Sa(s[l],n,i,r,o);1&e.flags&&!e.element.name&&Ea(t,n,e.nodeIndex+1,e.nodeIndex+e.childCount,i,r,o)}}function Oa(t,e,n,i,r,o){var a=t.renderer;switch(n){case 1:a.appendChild(i,e);break;case 2:a.insertBefore(i,e,r);break;case 3:a.removeChild(i,e);break;case 0:o.push(e)}}var Pa=/^:([^:]+):(.+)$/;function Aa(t){if(":"===t[0]){var e=t.match(Pa);return[e[1],e[2]]}return["",t]}function Ra(t){for(var e=0,n=0;n<t.length;n++)e|=t[n].flags;return e}function Da(t,e,n,i,r,o){t|=1;var a=ba(e);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:t,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?ka(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||ta},provider:null,text:null,query:null,ngContent:null}}function Na(t,e,n,i,r,o,a,s,l,c,h,p){var d;void 0===a&&(a=[]),c||(c=ta);var f=ba(n),m=f.matchedQueries,g=f.references,y=f.matchedQueryIds,v=null,_=null;o&&(v=(d=u(Aa(o),2))[0],_=d[1]),s=s||[];for(var b=new Array(s.length),w=0;w<s.length;w++){var x=u(s[w],3),C=x[0],k=x[2],S=u(Aa(x[1]),2),E=S[0],T=S[1],I=void 0,O=void 0;switch(15&C){case 4:O=k;break;case 1:case 8:I=k}b[w]={flags:C,ns:E,name:T,nonMinifiedName:T,securityContext:I,suffix:O}}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 R=(a=a||[]).map(function(t){var e=u(t,2),n=e[1],i=u(Aa(e[0]),2);return[i[0],i[1],n]});return p=function(t){if(t&&t.id===ra){var e=null!=t.encapsulation&&t.encapsulation!==fe.None||t.styles.length||Object.keys(t.data).length;t.id=e?"c"+sa++:oa}return t&&t.id===oa&&(t=null),t||null}(p),h&&(e|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:y,references:g,ngContentIndex:i,childCount:r,bindings:b,bindingFlags:Ra(b),outputs:P,element:{ns:v,name:_,attrs:R,template:null,componentProvider:null,componentView:h||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||ta},provider:null,text:null,query:null,ngContent:null}}function Ma(t,e,n){var i,r=n.element,o=t.root.selectorOrNode,a=t.renderer;if(t.parent||!o){i=r.name?a.createElement(r.name,r.ns):a.createComment("");var s=xa(t,e,n);s&&a.appendChild(s,i)}else i=a.selectRootElement(o,!!r.componentRendererType&&r.componentRendererType.encapsulation===fe.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 Fa(t,e,n,i){for(var r=0;r<n.outputs.length;r++){var o=n.outputs[r],a=La(t,n.nodeIndex,(h=o.eventName,(c=o.target)?c+":"+h:h)),s=o.target,l=t;"component"===o.target&&(s=null,l=e);var u=l.renderer.listen(s||i,o.eventName,a);t.disposables[n.outputIndex+r]=u}var c,h}function La(t,e,n){return function(i){return da(t,e,n,i)}}function ja(t,e,n,i){if(!ua(t,e,n,i))return!1;var r=e.bindings[n],o=Go(t,e.nodeIndex),a=o.renderElement,s=r.name;switch(15&r.flags){case 1:!function(t,e,n,i,r,o){var a=e.securityContext,s=a?t.root.sanitizer.sanitize(a,o):o;s=null!=s?s.toString():null;var l=t.renderer;null!=o?l.setAttribute(n,r,s,i):l.removeAttribute(n,r,i)}(t,r,a,r.ns,s,i);break;case 2:!function(t,e,n,i){var r=t.renderer;i?r.addClass(e,n):r.removeClass(e,n)}(t,a,s,i);break;case 4:!function(t,e,n,i,r){var o=t.root.sanitizer.sanitize(lr.STYLE,r);if(null!=o){o=o.toString();var a=e.suffix;null!=a&&(o+=a)}else o=null;var s=t.renderer;null!=o?s.setStyle(n,i,o):s.removeStyle(n,i)}(t,r,a,s,i);break;case 8:!function(t,e,n,i,r){var o=e.securityContext,a=o?t.root.sanitizer.sanitize(o,r):r;t.renderer.setProperty(n,i,a)}(33554432&e.flags&&32&r.flags?o.componentView:t,r,a,s,i)}return!0}var Va=new Object,za=na(Zt),Ha=na(Xt),Ua=na(ii);function Ba(t,e,n,i){return n=Ht(n),{index:-1,deps:wa(i,Vt(e)),flags:t,token:e,value:n}}function qa(t,e,n){void 0===n&&(n=Zt.THROW_IF_NOT_FOUND);var i,r,o=he(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var a=e.tokenKey;switch(a){case za:case Ha:case Ua:return t}var s,l=t._def.providersByKey[a];if(l){var u=t._providers[l.index];return void 0===u&&(u=t._providers[l.index]=Wa(t,l)),u===Va?void 0:u}if((s=St(e.token))&&(i=t,null!=(r=s).providedIn&&(function(t,e){return t._def.modules.indexOf(r.providedIn)>-1}(i)||"root"===r.providedIn&&i._def.isRoot))){var c=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:s.factory,deps:[],index:c,token:e.token},t._providers[c]=Va,t._providers[c]=Wa(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{he(o)}}function Wa(t,e){var n;switch(201347067&e.flags){case 512:n=function(t,e,n){var i=n.length;switch(i){case 0:return new e;case 1:return new e(qa(t,n[0]));case 2:return new e(qa(t,n[0]),qa(t,n[1]));case 3:return new e(qa(t,n[0]),qa(t,n[1]),qa(t,n[2]));default:for(var r=new Array(i),o=0;o<i;o++)r[o]=qa(t,n[o]);return new(e.bind.apply(e,c([void 0],r)))}}(t,e.value,e.deps);break;case 1024:n=function(t,e,n){var i=n.length;switch(i){case 0:return e();case 1:return e(qa(t,n[0]));case 2:return e(qa(t,n[0]),qa(t,n[1]));case 3:return e(qa(t,n[0]),qa(t,n[1]),qa(t,n[2]));default:for(var r=Array(i),o=0;o<i;o++)r[o]=qa(t,n[o]);return e.apply(void 0,c(r))}}(t,e.value,e.deps);break;case 2048:n=qa(t,e.deps[0]);break;case 256:n=e.value}return n===Va||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?Va:n}function Ga(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var i=n[e];return i.viewContainerParent=null,Qa(n,e),Qo.dirtyParentQueries(i),Ya(i),i}function Ka(t,e,n){var i=e?ga(e,e.def.lastRenderRootNode):t.renderElement,r=n.renderer.parentNode(i),o=n.renderer.nextSibling(i);Sa(n,2,r,o,void 0)}function Ya(t){Sa(t,3,null,null,void 0)}function Xa(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function Qa(t,e){e>=t.length-1?t.pop():t.splice(e,1)}var Za=new Object;function $a(t,e,n,i,r,o){return new Ja(t,e,n,i,r,o)}var Ja=function(t){function e(e,n,i,r,o,a){var s=t.call(this)||this;return s.selector=e,s.componentType=n,s._inputs=r,s._outputs=o,s.ngContentSelectors=a,s.viewDefFactory=i,s}return r(e,t),Object.defineProperty(e.prototype,"inputs",{get:function(){var t=[],e=this._inputs;for(var n in e)t.push({propName:n,templateName:e[n]});return t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"outputs",{get:function(){var t=[];for(var e in this._outputs)t.push({propName:e,templateName:this._outputs[e]});return t},enumerable:!0,configurable:!0}),e.prototype.create=function(t,e,n,i){if(!i)throw new Error("ngModule should be provided");var r=ka(this.viewDefFactory),o=r.nodes[0].element.componentProvider.nodeIndex,a=Qo.createRootView(t,e||[],n,r,i,Za),s=Ko(a,o).instance;return n&&a.renderer.setAttribute(Go(a,0).renderElement,"ng-version",pr.full),new ts(a,new rs(a),s)},e}(Xn),ts=function(t){function e(e,n,i){var r=t.call(this)||this;return r._view=e,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(e,t),Object.defineProperty(e.prototype,"location",{get:function(){return new pi(Go(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new ls(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this._viewRef.destroy()},e.prototype.onDestroy=function(t){this._viewRef.onDestroy(t)},e}(Yn);function es(t,e,n){return new ns(t,e,n)}var ns=function(){function t(t,e,n){this._view=t,this._elDef=e,this._data=n,this._embeddedViews=[]}return Object.defineProperty(t.prototype,"element",{get:function(){return new pi(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new ls(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parentInjector",{get:function(){for(var t=this._view,e=this._elDef.parent;!e&&t;)e=ma(t),t=t.parent;return t?new ls(t,e):new ls(this._view,null)},enumerable:!0,configurable:!0}),t.prototype.clear=function(){for(var t=this._embeddedViews.length-1;t>=0;t--){var e=Ga(this._data,t);Qo.destroyView(e)}},t.prototype.get=function(t){var e=this._embeddedViews[t];if(e){var n=new rs(e);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(t.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),t.prototype.createEmbeddedView=function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i},t.prototype.createComponent=function(t,e,n,i,r){var o=n||this.parentInjector;r||t instanceof ni||(r=o.get(ii));var a=t.create(o,i,void 0,r);return this.insert(a.hostView,e),a},t.prototype.insert=function(t,e){if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,o,a=t;return o=(n=this._data).viewContainer._embeddedViews,null==(i=e)&&(i=o.length),(r=a._view).viewContainerParent=this._view,Xa(o,i,r),function(t,e){var n=fa(e);if(n&&n!==t&&!(16&e.state)){e.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(e),function(t,n){if(!(4&n.flags)){e.parent.def.nodeFlags|=4,n.flags|=4;for(var i=n.parent;i;)i.childFlags|=4,i=i.parent}}(0,e.parentNodeDef)}}(n,r),Qo.dirtyParentQueries(r),Ka(n,i>0?o[i-1]:null,r),a.attachToViewContainerRef(this),t},t.prototype.move=function(t,e){if(t.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,o,a,s=this._embeddedViews.indexOf(t._view);return r=e,a=(o=(n=this._data).viewContainer._embeddedViews)[i=s],Qa(o,i),null==r&&(r=o.length),Xa(o,r,a),Qo.dirtyParentQueries(a),Ya(a),Ka(n,r>0?o[r-1]:null,a),t},t.prototype.indexOf=function(t){return this._embeddedViews.indexOf(t._view)},t.prototype.remove=function(t){var e=Ga(this._data,t);e&&Qo.destroyView(e)},t.prototype.detach=function(t){var e=Ga(this._data,t);return e?new rs(e):null},t}();function is(t){return new rs(t)}var rs=function(){function t(t){this._view=t,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(t.prototype,"rootNodes",{get:function(){return Sa(this._view,0,void 0,void 0,t=[]),t;var t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),t.prototype.markForCheck=function(){ha(this._view)},t.prototype.detach=function(){this._view.state&=-5},t.prototype.detectChanges=function(){var t=this._view.root.rendererFactory;t.begin&&t.begin();try{Qo.checkAndUpdateView(this._view)}finally{t.end&&t.end()}},t.prototype.checkNoChanges=function(){Qo.checkNoChangesView(this._view)},t.prototype.reattach=function(){this._view.state|=4},t.prototype.onDestroy=function(t){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(t)},t.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Qo.destroyView(this._view)},t.prototype.detachFromAppRef=function(){this._appRef=null,Ya(this._view),Qo.dirtyParentQueries(this._view)},t.prototype.attachToAppRef=function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t},t.prototype.attachToViewContainerRef=function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t},t}();function os(t,e){return new as(t,e)}var as=function(t){function e(e,n){var i=t.call(this)||this;return i._parentView=e,i._def=n,i}return r(e,t),e.prototype.createEmbeddedView=function(t){return new rs(Qo.createEmbeddedView(this._parentView,this._def,this._def.element.template,t))},Object.defineProperty(e.prototype,"elementRef",{get:function(){return new pi(Go(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),e}(ji);function ss(t,e){return new ls(t,e)}var ls=function(){function t(t,e){this.view=t,this.elDef=e}return t.prototype.get=function(t,e){return void 0===e&&(e=Zt.THROW_IF_NOT_FOUND),Qo.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:t,tokenKey:na(t)},e)},t}();function us(t,e){var n=t.def.nodes[e];if(1&n.flags){var i=Go(t,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return Wo(t,n.nodeIndex).renderText;if(20240&n.flags)return Ko(t,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+e)}function cs(t){return new hs(t.renderer)}var hs=function(){function t(t){this.delegate=t}return t.prototype.selectRootElement=function(t){return this.delegate.selectRootElement(t)},t.prototype.createElement=function(t,e){var n=u(Aa(e),2),i=this.delegate.createElement(n[1],n[0]);return t&&this.delegate.appendChild(t,i),i},t.prototype.createViewRoot=function(t){return t},t.prototype.createTemplateAnchor=function(t){var e=this.delegate.createComment("");return t&&this.delegate.appendChild(t,e),e},t.prototype.createText=function(t,e){var n=this.delegate.createText(e);return t&&this.delegate.appendChild(t,n),n},t.prototype.projectNodes=function(t,e){for(var n=0;n<e.length;n++)this.delegate.appendChild(t,e[n])},t.prototype.attachViewAfter=function(t,e){for(var n=this.delegate.parentNode(t),i=this.delegate.nextSibling(t),r=0;r<e.length;r++)this.delegate.insertBefore(n,e[r],i)},t.prototype.detachView=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=this.delegate.parentNode(n);this.delegate.removeChild(i,n)}},t.prototype.destroyView=function(t,e){for(var n=0;n<e.length;n++)this.delegate.destroyNode(e[n])},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.listenGlobal=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.setElementProperty=function(t,e,n){this.delegate.setProperty(t,e,n)},t.prototype.setElementAttribute=function(t,e,n){var i=u(Aa(e),2),r=i[0],o=i[1];null!=n?this.delegate.setAttribute(t,o,n,r):this.delegate.removeAttribute(t,o,r)},t.prototype.setBindingDebugInfo=function(t,e,n){},t.prototype.setElementClass=function(t,e,n){n?this.delegate.addClass(t,e):this.delegate.removeClass(t,e)},t.prototype.setElementStyle=function(t,e,n){null!=n?this.delegate.setStyle(t,e,n):this.delegate.removeStyle(t,e)},t.prototype.invokeElementMethod=function(t,e,n){t[e].apply(t,n)},t.prototype.setText=function(t,e){this.delegate.setValue(t,e)},t.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},t}();function ps(t,e,n,i){return new ds(t,e,n,i)}var ds=function(){function t(t,e,n,i){this._moduleType=t,this._parent=e,this._bootstrapComponents=n,this._def=i,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(t){for(var e=t._def,n=t._providers=new Array(e.providers.length),i=0;i<e.providers.length;i++){var r=e.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=Wa(t,r))}}(this)}return t.prototype.get=function(t,e,n){void 0===e&&(e=Zt.THROW_IF_NOT_FOUND),void 0===n&&(n=0);var i=0;return 4&n?i|=1:2&n&&(i|=4),qa(this,{token:t,tokenKey:na(t),flags:i},e)},Object.defineProperty(t.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(ti)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Vt(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(t,e){for(var n=t._def,i=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var o=t._providers[r];if(o&&o!==Va){var a=o.ngOnDestroy;"function"!=typeof a||i.has(o)||(a.apply(o),i.add(o))}}}(this),this._destroyListeners.forEach(function(t){return t()})},t.prototype.onDestroy=function(t){this._destroyListeners.push(t)},t}(),fs=na(di),ms=na(gi),gs=na(pi),ys=na(fo),vs=na(ji),_s=na(mo),bs=na(Zt),ws=na(Xt);function xs(t,e,n,i,r,o,a,s){var l=[];if(a)for(var c in a){var h=u(a[c],2);l[h[0]]={flags:8,name:c,nonMinifiedName:h[1],ns:null,securityContext:null,suffix:null}}var p=[];if(s)for(var d in s)p.push({type:1,propName:d,target:null,eventName:s[d]});return Ss(t,e|=16384,n,i,r,r,o,l,p)}function Cs(t,e,n){return Ss(-1,t|=16,null,0,e,e,n)}function ks(t,e,n,i,r){return Ss(-1,t,e,0,n,i,r)}function Ss(t,e,n,i,r,o,a,s,l){var u=ba(n),c=u.matchedQueries,h=u.references,p=u.matchedQueryIds;l||(l=[]),s||(s=[]),o=Ht(o);var d=wa(a,Vt(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:h,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:Ra(s),outputs:l,element:null,provider:{token:r,value:o,deps:d},text:null,query:null,ngContent:null}}function Es(t,e){return Ps(t,e)}function Ts(t,e){for(var n=t;n.parent&&!ya(n);)n=n.parent;return As(n.parent,ma(n),!0,e.provider.value,e.provider.deps)}function Is(t,e){var n=As(t,e.parent,(32768&e.flags)>0,e.provider.value,e.provider.deps);if(e.outputs.length)for(var i=0;i<e.outputs.length;i++){var r=e.outputs[i],o=n[r.propName];if(!wr(o))throw new Error("@Output "+r.propName+" not initialized in '"+n.constructor.name+"'.");var a=o.subscribe(Os(t,e.parent.nodeIndex,r.eventName));t.disposables[e.outputIndex+i]=a.unsubscribe.bind(a)}return n}function Os(t,e,n){return function(i){return da(t,e,n,i)}}function Ps(t,e){var n=(8192&e.flags)>0,i=e.provider;switch(201347067&e.flags){case 512:return As(t,e.parent,n,i.value,i.deps);case 1024:return function(t,e,n,i,r){var o=r.length;switch(o){case 0:return i();case 1:return i(Ds(t,e,n,r[0]));case 2:return i(Ds(t,e,n,r[0]),Ds(t,e,n,r[1]));case 3:return i(Ds(t,e,n,r[0]),Ds(t,e,n,r[1]),Ds(t,e,n,r[2]));default:for(var a=Array(o),s=0;s<o;s++)a[s]=Ds(t,e,n,r[s]);return i.apply(void 0,c(a))}}(t,e.parent,n,i.value,i.deps);case 2048:return Ds(t,e.parent,n,i.deps[0]);case 256:return i.value}}function As(t,e,n,i,r){var o=r.length;switch(o){case 0:return new i;case 1:return new i(Ds(t,e,n,r[0]));case 2:return new i(Ds(t,e,n,r[0]),Ds(t,e,n,r[1]));case 3:return new i(Ds(t,e,n,r[0]),Ds(t,e,n,r[1]),Ds(t,e,n,r[2]));default:for(var a=new Array(o),s=0;s<o;s++)a[s]=Ds(t,e,n,r[s]);return new(i.bind.apply(i,c([void 0],a)))}}var Rs={};function Ds(t,e,n,i,r){if(void 0===r&&(r=Zt.THROW_IF_NOT_FOUND),8&i.flags)return i.token;var o=t;2&i.flags&&(r=null);var a=i.tokenKey;a===_s&&(n=!(!e||!e.element.componentView)),e&&1&i.flags&&(n=!1,e=e.parent);for(var s=t;s;){if(e)switch(a){case fs:return cs(Ns(s,e,n));case ms:return Ns(s,e,n).renderer;case gs:return new pi(Go(s,e.nodeIndex).renderElement);case ys:return Go(s,e.nodeIndex).viewContainer;case vs:if(e.element.template)return Go(s,e.nodeIndex).template;break;case _s:return is(Ns(s,e,n));case bs:case ws:return ss(s,e);default:var l=(n?e.element.allProviders:e.element.publicProviders)[a];if(l){var u=Ko(s,l.nodeIndex);return u||(u={instance:Ps(s,l)},s.nodes[l.nodeIndex]=u),u.instance}}n=ya(s),e=ma(s),s=s.parent,4&i.flags&&(s=null)}var c=o.root.injector.get(i.token,Rs);return c!==Rs||r===Rs?c:o.root.ngModule.injector.get(i.token,r)}function Ns(t,e,n){var i;if(n)i=Go(t,e.nodeIndex).componentView;else for(i=t;i.parent&&!ya(i);)i=i.parent;return i}function Ms(t,e,n,i,r,o){if(32768&n.flags){var a=Go(t,n.parent.nodeIndex).componentView;2&a.def.flags&&(a.state|=8)}if(e.instance[n.bindings[i].name]=r,524288&n.flags){o=o||{};var s=De.unwrap(t.oldValues[n.bindingIndex+i]);o[n.bindings[i].nonMinifiedName]=new Ne(s,r,0!=(2&t.state))}return t.oldValues[n.bindingIndex+i]=r,o}function Fs(t,e){if(t.def.nodeFlags&e)for(var n=t.def.nodes,i=0,r=0;r<n.length;r++){var o=n[r],a=o.parent;for(!a&&o.flags&e&&js(t,r,o.flags&e,i++),0==(o.childFlags&e)&&(r+=o.childCount);a&&1&a.flags&&r===a.nodeIndex+a.childCount;)a.directChildFlags&e&&(i=Ls(t,a,e,i)),a=a.parent}}function Ls(t,e,n,i){for(var r=e.nodeIndex+1;r<=e.nodeIndex+e.childCount;r++){var o=t.def.nodes[r];o.flags&n&&js(t,r,o.flags&n,i++),r+=o.childCount}return i}function js(t,e,n,i){var r=Ko(t,e);if(r){var o=r.instance;o&&(Qo.setCurrentNode(t,e),1048576&n&&qo(t,512,i)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&qo(t,768,i)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}function Vs(t,e,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:t,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:e,filterId:_a(e),bindings:i},ngContent:null}}function zs(t){for(var e=t.def.nodeMatchedQueries;t.parent&&va(t);){var n=t.parentNodeDef;t=t.parent;for(var i=n.nodeIndex+n.childCount,r=0;r<=i;r++)67108864&(o=t.def.nodes[r]).flags&&536870912&o.flags&&(o.query.filterId&e)===o.query.filterId&&Xo(t,r).setDirty(),!(1&o.flags&&r+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(r+=o.childCount)}if(134217728&t.def.nodeFlags)for(r=0;r<t.def.nodes.length;r++){var o;134217728&(o=t.def.nodes[r]).flags&&536870912&o.flags&&Xo(t,r).setDirty(),r+=o.childCount}}function Hs(t,e){var n=Xo(t,e.nodeIndex);if(n.dirty){var i,r=void 0;if(67108864&e.flags){var o=e.parent.parent;r=Us(t,o.nodeIndex,o.nodeIndex+o.childCount,e.query,[]),i=Ko(t,e.parent.nodeIndex).instance}else 134217728&e.flags&&(r=Us(t,0,t.def.nodes.length-1,e.query,[]),i=t.component);n.reset(r);for(var a=e.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 Us(t,e,n,i,r){for(var o=e;o<=n;o++){var a=t.def.nodes[o],s=a.matchedQueries[i.id];if(null!=s&&r.push(Bs(t,a,s)),1&a.flags&&a.element.template&&(a.element.template.nodeMatchedQueries&i.filterId)===i.filterId){var l=Go(t,o);if((a.childMatchedQueries&i.filterId)===i.filterId&&(Us(t,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 h=u[c],p=fa(h);p&&p===l&&Us(h,0,h.def.nodes.length-1,i,r)}var d=l.template._projectedViews;if(d)for(c=0;c<d.length;c++){var f=d[c];Us(f,0,f.def.nodes.length-1,i,r)}}(a.childMatchedQueries&i.filterId)!==i.filterId&&(o+=a.childCount)}return r}function Bs(t,e,n){if(null!=n)switch(n){case 1:return Go(t,e.nodeIndex).renderElement;case 0:return new pi(Go(t,e.nodeIndex).renderElement);case 2:return Go(t,e.nodeIndex).template;case 3:return Go(t,e.nodeIndex).viewContainer;case 4:return Ko(t,e.nodeIndex).instance}}function qs(t,e){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:t,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:e}}}function Ws(t,e,n){var i=xa(t,e,n);i&&Ta(t,n.ngContent.index,1,i,null,void 0)}function Gs(t,e,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:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:Ra(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Ks(t,e,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:t,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Ys(t,e,n){var i,r=t.renderer;i=r.createText(n.text.prefix);var o=xa(t,e,n);return o&&r.appendChild(o,i),{renderText:i}}function Xs(t,e){return(null!=t?t.toString():"")+e.suffix}function Qs(t,e,n,i){for(var r=0,o=0,a=0,s=0,l=0,u=null,c=null,h=!1,p=!1,d=null,f=0;f<e.length;f++){var m=e[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,h=!1,p=!1,m.element.template&&(l|=m.element.template.nodeMatchedQueries)}if($s(u,m,e.length),r+=m.bindings.length,o+=m.outputs.length,!c&&3&m.flags&&(d=m),20224&m.flags){h||(h=!0,u.element.publicProviders=Object.create(u.element.publicProviders),u.element.allProviders=u.element.publicProviders);var y=0!=(32768&m.flags);0==(8192&m.flags)||y?u.element.publicProviders[na(m.provider.token)]=m:(p||(p=!0,u.element.allProviders=Object.create(u.element.publicProviders)),u.element.allProviders[na(m.provider.token)]=m),y&&(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,Zs(m)||(c=m);else for(;u&&f===u.nodeIndex+u.childCount;){var v=u.parent;v&&(v.childFlags|=u.childFlags,v.childMatchedQueries|=u.childMatchedQueries),c=(u=v)&&Zs(u)?u.renderParent:u}}return{factory:null,nodeFlags:a,rootNodeFlags:s,nodeMatchedQueries:l,flags:t,nodes:e,updateDirectives:n||ta,updateRenderer:i||ta,handleEvent:function(t,n,i,r){return e[n].element.handleEvent(t,i,r)},bindingCount:r,outputCount:o,lastRenderRootNode:d}}function Zs(t){return 0!=(1&t.flags)&&null===t.element.name}function $s(t,e,n){var i=e.element&&e.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 "+e.nodeIndex+"!")}if(20224&e.flags&&0==(1&(t?t.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+e.nodeIndex+"!");if(e.query){if(67108864&e.flags&&(!t||0==(16384&t.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+e.nodeIndex+"!");if(134217728&e.flags&&t)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+e.nodeIndex+"!")}if(e.childCount){var r=t?t.nodeIndex+t.childCount:n-1;if(e.nodeIndex<=r&&e.nodeIndex+e.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+e.nodeIndex+"!")}}function Js(t,e,n,i){var r=nl(t.root,t.renderer,t,e,n);return il(r,t.component,i),rl(r),r}function tl(t,e,n){var i=nl(t,t.renderer,null,null,e);return il(i,n,n),rl(i),i}function el(t,e,n,i){var r,o=e.element.componentRendererType;return r=o?t.root.rendererFactory.createRenderer(i,o):t.root.renderer,nl(t.root,r,t,e.element.componentProvider,n)}function nl(t,e,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:t,renderer:e,oldValues:new Array(r.bindingCount),disposables:a,initIndex:-1}}function il(t,e,n){t.component=e,t.context=n}function rl(t){var e;ya(t)&&(e=Go(t.parent,t.parentNodeDef.parent.nodeIndex).renderElement);for(var n=t.def,i=t.nodes,r=0;r<n.nodes.length;r++){var o=n.nodes[r];Qo.setCurrentNode(t,r);var a=void 0;switch(201347067&o.flags){case 1:var s=Ma(t,e,o),l=void 0;if(33554432&o.flags){var u=ka(o.element.componentView);l=Qo.createComponentView(t,o,u,s)}Fa(t,l,o,s),a={renderElement:s,componentView:l,viewContainer:null,template:o.element.template?os(t,o):void 0},16777216&o.flags&&(a.viewContainer=es(t,o,a));break;case 2:a=Ys(t,e,o);break;case 512:case 1024:case 2048:case 256:(a=i[r])||4096&o.flags||(a={instance:Es(t,o)});break;case 16:a={instance:Ts(t,o)};break;case 16384:(a=i[r])||(a={instance:Is(t,o)}),32768&o.flags&&il(Go(t,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 so;break;case 8:Ws(t,e,o),a=void 0}i[r]=a}dl(t,pl.CreateViewNodes),yl(t,201326592,268435456,0)}function ol(t){ll(t),Qo.updateDirectives(t,1),fl(t,pl.CheckNoChanges),Qo.updateRenderer(t,1),dl(t,pl.CheckNoChanges),t.state&=-97}function al(t){1&t.state?(t.state&=-2,t.state|=2):t.state&=-3,Bo(t,0,256),ll(t),Qo.updateDirectives(t,0),fl(t,pl.CheckAndUpdate),yl(t,67108864,536870912,0);var e=Bo(t,256,512);Fs(t,2097152|(e?1048576:0)),Qo.updateRenderer(t,0),dl(t,pl.CheckAndUpdate),yl(t,134217728,536870912,0),Fs(t,8388608|((e=Bo(t,512,768))?4194304:0)),2&t.def.flags&&(t.state&=-9),t.state&=-97,Bo(t,768,1024)}function sl(t,e,n,i,r,o,a,s,l,u,h,p,d){return 0===n?function(t,e,n,i,r,o,a,s,l,u,c,h){switch(201347067&e.flags){case 1:return function(t,e,n,i,r,o,a,s,l,u,c,h){var p=e.bindings.length,d=!1;return p>0&&ja(t,e,0,n)&&(d=!0),p>1&&ja(t,e,1,i)&&(d=!0),p>2&&ja(t,e,2,r)&&(d=!0),p>3&&ja(t,e,3,o)&&(d=!0),p>4&&ja(t,e,4,a)&&(d=!0),p>5&&ja(t,e,5,s)&&(d=!0),p>6&&ja(t,e,6,l)&&(d=!0),p>7&&ja(t,e,7,u)&&(d=!0),p>8&&ja(t,e,8,c)&&(d=!0),p>9&&ja(t,e,9,h)&&(d=!0),d}(t,e,n,i,r,o,a,s,l,u,c,h);case 2:return function(t,e,n,i,r,o,a,s,l,u,c,h){var p=!1,d=e.bindings,f=d.length;if(f>0&&ua(t,e,0,n)&&(p=!0),f>1&&ua(t,e,1,i)&&(p=!0),f>2&&ua(t,e,2,r)&&(p=!0),f>3&&ua(t,e,3,o)&&(p=!0),f>4&&ua(t,e,4,a)&&(p=!0),f>5&&ua(t,e,5,s)&&(p=!0),f>6&&ua(t,e,6,l)&&(p=!0),f>7&&ua(t,e,7,u)&&(p=!0),f>8&&ua(t,e,8,c)&&(p=!0),f>9&&ua(t,e,9,h)&&(p=!0),p){var m=e.text.prefix;f>0&&(m+=Xs(n,d[0])),f>1&&(m+=Xs(i,d[1])),f>2&&(m+=Xs(r,d[2])),f>3&&(m+=Xs(o,d[3])),f>4&&(m+=Xs(a,d[4])),f>5&&(m+=Xs(s,d[5])),f>6&&(m+=Xs(l,d[6])),f>7&&(m+=Xs(u,d[7])),f>8&&(m+=Xs(c,d[8])),f>9&&(m+=Xs(h,d[9]));var g=Wo(t,e.nodeIndex).renderText;t.renderer.setValue(g,m)}return p}(t,e,n,i,r,o,a,s,l,u,c,h);case 16384:return function(t,e,n,i,r,o,a,s,l,u,c,h){var p=Ko(t,e.nodeIndex),d=p.instance,f=!1,m=void 0,g=e.bindings.length;return g>0&&la(t,e,0,n)&&(f=!0,m=Ms(t,p,e,0,n,m)),g>1&&la(t,e,1,i)&&(f=!0,m=Ms(t,p,e,1,i,m)),g>2&&la(t,e,2,r)&&(f=!0,m=Ms(t,p,e,2,r,m)),g>3&&la(t,e,3,o)&&(f=!0,m=Ms(t,p,e,3,o,m)),g>4&&la(t,e,4,a)&&(f=!0,m=Ms(t,p,e,4,a,m)),g>5&&la(t,e,5,s)&&(f=!0,m=Ms(t,p,e,5,s,m)),g>6&&la(t,e,6,l)&&(f=!0,m=Ms(t,p,e,6,l,m)),g>7&&la(t,e,7,u)&&(f=!0,m=Ms(t,p,e,7,u,m)),g>8&&la(t,e,8,c)&&(f=!0,m=Ms(t,p,e,8,c,m)),g>9&&la(t,e,9,h)&&(f=!0,m=Ms(t,p,e,9,h,m)),m&&d.ngOnChanges(m),65536&e.flags&&qo(t,256,e.nodeIndex)&&d.ngOnInit(),262144&e.flags&&d.ngDoCheck(),f}(t,e,n,i,r,o,a,s,l,u,c,h);case 32:case 64:case 128:return function(t,e,n,i,r,o,a,s,l,u,c,h){var p=e.bindings,d=!1,f=p.length;if(f>0&&ua(t,e,0,n)&&(d=!0),f>1&&ua(t,e,1,i)&&(d=!0),f>2&&ua(t,e,2,r)&&(d=!0),f>3&&ua(t,e,3,o)&&(d=!0),f>4&&ua(t,e,4,a)&&(d=!0),f>5&&ua(t,e,5,s)&&(d=!0),f>6&&ua(t,e,6,l)&&(d=!0),f>7&&ua(t,e,7,u)&&(d=!0),f>8&&ua(t,e,8,c)&&(d=!0),f>9&&ua(t,e,9,h)&&(d=!0),d){var m=Yo(t,e.nodeIndex),g=void 0;switch(201347067&e.flags){case 32:g=new Array(p.length),f>0&&(g[0]=n),f>1&&(g[1]=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]=h);break;case 64:g={},f>0&&(g[p[0].name]=n),f>1&&(g[p[1].name]=i),f>2&&(g[p[2].name]=r),f>3&&(g[p[3].name]=o),f>4&&(g[p[4].name]=a),f>5&&(g[p[5].name]=s),f>6&&(g[p[6].name]=l),f>7&&(g[p[7].name]=u),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=h);break;case 128:var y=n;switch(f){case 1:g=y.transform(n);break;case 2:g=y.transform(i);break;case 3:g=y.transform(i,r);break;case 4:g=y.transform(i,r,o);break;case 5:g=y.transform(i,r,o,a);break;case 6:g=y.transform(i,r,o,a,s);break;case 7:g=y.transform(i,r,o,a,s,l);break;case 8:g=y.transform(i,r,o,a,s,l,u);break;case 9:g=y.transform(i,r,o,a,s,l,u,c);break;case 10:g=y.transform(i,r,o,a,s,l,u,c,h)}}m.value=g}return d}(t,e,n,i,r,o,a,s,l,u,c,h);default:throw"unreachable"}}(t,e,i,r,o,a,s,l,u,h,p,d):function(t,e,n){switch(201347067&e.flags){case 1:return function(t,e,n){for(var i=!1,r=0;r<n.length;r++)ja(t,e,r,n[r])&&(i=!0);return i}(t,e,n);case 2:return function(t,e,n){for(var i=e.bindings,r=!1,o=0;o<n.length;o++)ua(t,e,o,n[o])&&(r=!0);if(r){var a="";for(o=0;o<n.length;o++)a+=Xs(n[o],i[o]);a=e.text.prefix+a;var s=Wo(t,e.nodeIndex).renderText;t.renderer.setValue(s,a)}return r}(t,e,n);case 16384:return function(t,e,n){for(var i=Ko(t,e.nodeIndex),r=i.instance,o=!1,a=void 0,s=0;s<n.length;s++)la(t,e,s,n[s])&&(o=!0,a=Ms(t,i,e,s,n[s],a));return a&&r.ngOnChanges(a),65536&e.flags&&qo(t,256,e.nodeIndex)&&r.ngOnInit(),262144&e.flags&&r.ngDoCheck(),o}(t,e,n);case 32:case 64:case 128:return function(t,e,n){for(var i=e.bindings,r=!1,o=0;o<n.length;o++)ua(t,e,o,n[o])&&(r=!0);if(r){var a=Yo(t,e.nodeIndex),s=void 0;switch(201347067&e.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}(t,e,n);default:throw"unreachable"}}(t,e,i)}function ll(t){var e=t.def;if(4&e.nodeFlags)for(var n=0;n<e.nodes.length;n++){var i=e.nodes[n];if(4&i.flags){var r=Go(t,n).template._projectedViews;if(r)for(var o=0;o<r.length;o++){var a=r[o];a.state|=32,pa(a,t)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function ul(t,e,n,i,r,o,a,s,l,u,c,h,p){return 0===n?function(t,e,n,i,r,o,a,s,l,u,c,h){var p=e.bindings.length;p>0&&ca(t,e,0,n),p>1&&ca(t,e,1,i),p>2&&ca(t,e,2,r),p>3&&ca(t,e,3,o),p>4&&ca(t,e,4,a),p>5&&ca(t,e,5,s),p>6&&ca(t,e,6,l),p>7&&ca(t,e,7,u),p>8&&ca(t,e,8,c),p>9&&ca(t,e,9,h)}(t,e,i,r,o,a,s,l,u,c,h,p):function(t,e,n){for(var i=0;i<n.length;i++)ca(t,e,i,n[i])}(t,e,i),!1}function cl(t,e){if(Xo(t,e.nodeIndex).dirty)throw Zo(Qo.createDebugContext(t,e.nodeIndex),"Query "+e.query.id+" not dirty","Query "+e.query.id+" dirty",0!=(1&t.state))}function hl(t){if(!(128&t.state)){if(fl(t,pl.Destroy),dl(t,pl.Destroy),Fs(t,131072),t.disposables)for(var e=0;e<t.disposables.length;e++)t.disposables[e]();!function(t){if(16&t.state){var e=fa(t);if(e){var n=e.template._projectedViews;n&&(Qa(n,n.indexOf(t)),Qo.dirtyParentQueries(t))}}}(t),t.renderer.destroyNode&&function(t){for(var e=t.def.nodes.length,n=0;n<e;n++){var i=t.def.nodes[n];1&i.flags?t.renderer.destroyNode(Go(t,n).renderElement):2&i.flags?t.renderer.destroyNode(Wo(t,n).renderText):(67108864&i.flags||134217728&i.flags)&&Xo(t,n).destroy()}}(t),ya(t)&&t.renderer.destroy(),t.state|=128}}var pl=function(t){return t[t.CreateViewNodes=0]="CreateViewNodes",t[t.CheckNoChanges=1]="CheckNoChanges",t[t.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",t[t.CheckAndUpdate=3]="CheckAndUpdate",t[t.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",t[t.Destroy=5]="Destroy",t}({});function dl(t,e){var n=t.def;if(33554432&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];33554432&r.flags?ml(Go(t,i).componentView,e):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function fl(t,e){var n=t.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=Go(t,i).viewContainer._embeddedViews,a=0;a<o.length;a++)ml(o[a],e);else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function ml(t,e){var n=t.state;switch(e){case pl.CheckNoChanges:0==(128&n)&&(12==(12&n)?ol(t):64&n&&gl(t,pl.CheckNoChangesProjectedViews));break;case pl.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?ol(t):64&n&&gl(t,e));break;case pl.CheckAndUpdate:0==(128&n)&&(12==(12&n)?al(t):64&n&&gl(t,pl.CheckAndUpdateProjectedViews));break;case pl.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?al(t):64&n&&gl(t,e));break;case pl.Destroy:hl(t);break;case pl.CreateViewNodes:rl(t)}}function gl(t,e){fl(t,e),dl(t,e)}function yl(t,e,n,i){if(t.def.nodeFlags&e&&t.def.nodeFlags&n)for(var r=t.def.nodes.length,o=0;o<r;o++){var a=t.def.nodes[o];if(a.flags&e&&a.flags&n)switch(Qo.setCurrentNode(t,a.nodeIndex),i){case 0:Hs(t,a);break;case 1:cl(t,a)}a.childFlags&e&&a.childFlags&n||(o+=a.childCount)}}var vl=!1;function _l(t,e,n,i,r,o){var a=r.injector.get(fi);return tl(wl(t,r,a,e,n),i,o)}function bl(t,e,n,i,r,o){var a=r.injector.get(fi),s=wl(t,r,new eu(a),e,n),l=Al(i);return Jl(zl.create,tl,null,[s,l,o])}function wl(t,e,n,i,r){var o=e.injector.get(ur),a=e.injector.get(_r),s=n.createRenderer(null,null);return{ngModule:e,injector:t,projectableNodes:i,selectorOrNode:r,sanitizer:o,rendererFactory:n,renderer:s,errorHandler:a}}function xl(t,e,n,i){var r=Al(n);return Jl(zl.create,Js,null,[t,e,r,i])}function Cl(t,e,n,i){return n=Tl.get(e.element.componentProvider.provider.token)||Al(n),Jl(zl.create,el,null,[t,e,n,i])}function kl(t,e,n,i){return ps(t,e,n,function(t){var e=function(t){var e=!1,n=!1;return 0===Sl.size?{hasOverrides:e,hasDeprecatedOverrides:n}:(t.providers.forEach(function(t){var i=Sl.get(t.token);3840&t.flags&&i&&(e=!0,n=n||i.deprecatedBehavior)}),t.modules.forEach(function(t){El.forEach(function(i,r){St(r).providedIn===t&&(e=!0,n=n||i.deprecatedBehavior)})}),{hasOverrides:e,hasDeprecatedOverrides:n})}(t),n=e.hasDeprecatedOverrides;return e.hasOverrides?(function(t){for(var e=0;e<t.providers.length;e++){var i=t.providers[e];n&&(i.flags|=4096);var r=Sl.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=wa(r.deps),i.value=r.value)}if(El.size>0){var o=new Set(t.modules);El.forEach(function(e,i){if(o.has(St(i).providedIn)){var r={token:i,flags:e.flags|(n?4096:0),deps:wa(e.deps),value:e.value,index:t.providers.length};t.providers.push(r),t.providersByKey[na(i)]=r}})}}(t=t.factory(function(){return ta})),t):t}(i))}var Sl=new Map,El=new Map,Tl=new Map;function Il(t){var e;Sl.set(t.token,t),"function"==typeof t.token&&(e=St(t.token))&&"function"==typeof e.providedIn&&El.set(t.token,t)}function Ol(t,e){var n=ka(e.viewDefFactory),i=ka(n.nodes[0].element.componentView);Tl.set(t,i)}function Pl(){Sl.clear(),El.clear(),Tl.clear()}function Al(t){if(0===Sl.size)return t;var e=function(t){for(var e=[],n=null,i=0;i<t.nodes.length;i++){var r=t.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&Sl.has(r.provider.token)&&(e.push(n.nodeIndex),n=null)}return e}(t);if(0===e.length)return t;t=t.factory(function(){return ta});for(var n=0;n<e.length;n++)i(t,e[n]);return t;function i(t,e){for(var n=e+1;n<t.nodes.length;n++){var i=t.nodes[n];if(1&i.flags)return;if(3840&i.flags){var r=i.provider,o=Sl.get(r.token);o&&(i.flags=-3841&i.flags|o.flags,r.deps=wa(o.deps),r.value=o.value)}}}}function Rl(t,e,n,i,r,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return sl(t,d,n,i,r,o,a,s,l,u,c,h,p),224&d.flags?Yo(t,e).value:void 0}function Dl(t,e,n,i,r,o,a,s,l,u,c,h,p){var d=t.def.nodes[e];return ul(t,d,n,i,r,o,a,s,l,u,c,h,p),224&d.flags?Yo(t,e).value:void 0}function Nl(t){return Jl(zl.detectChanges,al,null,[t])}function Ml(t){return Jl(zl.checkNoChanges,ol,null,[t])}function Fl(t){return Jl(zl.destroy,hl,null,[t])}var Ll,jl,Vl,zl=function(t){return t[t.create=0]="create",t[t.detectChanges=1]="detectChanges",t[t.checkNoChanges=2]="checkNoChanges",t[t.destroy=3]="destroy",t[t.handleEvent=4]="handleEvent",t}({});function Hl(t,e){jl=t,Vl=e}function Ul(t,e,n,i){return Hl(t,e),Jl(zl.handleEvent,t.def.handleEvent,null,[t,e,n,i])}function Bl(t,e){if(128&t.state)throw Jo(zl[Ll]);return Hl(t,Xl(t,0)),t.def.updateDirectives(function(t,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Wl(t,a,i,r):Gl(t,a,i,r),16384&a.flags&&Hl(t,Xl(t,n)),224&a.flags?Yo(t,a.nodeIndex).value:void 0},t)}function ql(t,e){if(128&t.state)throw Jo(zl[Ll]);return Hl(t,Ql(t,0)),t.def.updateRenderer(function(t,n,i){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];var a=t.def.nodes[n];return 0===e?Wl(t,a,i,r):Gl(t,a,i,r),3&a.flags&&Hl(t,Ql(t,n)),224&a.flags?Yo(t,a.nodeIndex).value:void 0},t)}function Wl(t,e,n,i){if(sl.apply(void 0,c([t,e,n],i))){var r=1===n?i[0]:i;if(16384&e.flags){for(var o={},a=0;a<e.bindings.length;a++){var s=e.bindings[a],l=r[a];8&s.flags&&(o[(d=s.nonMinifiedName,f=void 0,f=d.replace(/[$@]/g,"_"),"ng-reflect-"+(d=f.replace(Kl,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return"-"+t[1].toLowerCase()})))]=Yl(l))}var u=e.parent,h=Go(t,u.nodeIndex).renderElement;if(u.element.name)for(var p in o)null!=(l=o[p])?t.renderer.setAttribute(h,p,l):t.renderer.removeAttribute(h,p);else t.renderer.setValue(h,"bindings="+JSON.stringify(o,null,2))}}var d,f}function Gl(t,e,n,i){ul.apply(void 0,c([t,e,n],i))}var Kl=/([A-Z])/g;function Yl(t){try{return null!=t?t.toString().slice(0,30):t}catch(e){return"[ERROR] Exception while trying to serialize the value"}}function Xl(t,e){for(var n=e;n<t.def.nodes.length;n++){var i=t.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function Ql(t,e){for(var n=e;n<t.def.nodes.length;n++){var i=t.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}var Zl=function(){function t(t,e){this.view=t,this.nodeIndex=e,null==e&&(this.nodeIndex=e=0),this.nodeDef=t.def.nodes[e];for(var n=this.nodeDef,i=t;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&i;)n=ma(i),i=i.parent;this.elDef=n,this.elView=i}return Object.defineProperty(t.prototype,"elOrCompView",{get:function(){return Go(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return ss(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"providerTokens",{get:function(){var t=[];if(this.elDef)for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&t.push(n.provider.token),e+=n.childCount}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"references",{get:function(){var t={};if(this.elDef){$l(this.elView,this.elDef,t);for(var e=this.elDef.nodeIndex+1;e<=this.elDef.nodeIndex+this.elDef.childCount;e++){var n=this.elView.def.nodes[e];20224&n.flags&&$l(this.elView,n,t),e+=n.childCount}}return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentRenderElement",{get:function(){var t=function(t){for(;t&&!ya(t);)t=t.parent;return t.parent?Go(t.parent,ma(t).nodeIndex):null}(this.elOrCompView);return t?t.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?ga(this.view,this.nodeDef):ga(this.elView,this.elDef)},enumerable:!0,configurable:!0}),t.prototype.logError=function(t){for(var e,n,i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];2&this.nodeDef.flags?(e=this.view.def,n=this.nodeDef.nodeIndex):(e=this.elView.def,n=this.elDef.nodeIndex);var o=function(t,e){for(var n=-1,i=0;i<=e;i++)3&t.nodes[i].flags&&n++;return n}(e,n),a=-1;e.factory(function(){var e;return++a===o?(e=t.error).bind.apply(e,c([t],i)):ta}),a<o&&(t.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),t.error.apply(t,c(i)))},t}();function $l(t,e,n){for(var i in e.references)n[i]=Bs(t,e,e.references[i])}function Jl(t,e,n,i){var r=Ll,o=jl,a=Vl;try{Ll=t;var s=e.apply(n,i);return jl=o,Vl=a,Ll=r,s}catch(l){if(gr(l)||!jl)throw l;throw function(t,e){return t instanceof Error||(t=new Error(t.toString())),$o(t,e),t}(l,tu())}}function tu(){return jl?new Zl(jl,Vl):null}var eu=function(){function t(t){this.delegate=t}return t.prototype.createRenderer=function(t,e){return new nu(this.delegate.createRenderer(t,e))},t.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},t.prototype.end=function(){this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},t}(),nu=function(){function t(t){this.delegate=t,this.debugContextFactory=tu,this.data=this.delegate.data}return t.prototype.createDebugContext=function(t){return this.debugContextFactory(t)},t.prototype.destroyNode=function(t){!function(t){_o.delete(t.nativeNode)}(bo(t)),this.delegate.destroyNode&&this.delegate.destroyNode(t)},t.prototype.destroy=function(){this.delegate.destroy()},t.prototype.createElement=function(t,e){var n=this.delegate.createElement(t,e),i=this.createDebugContext(n);if(i){var r=new vo(n,null,i);r.name=t,wo(r)}return n},t.prototype.createComment=function(t){var e=this.delegate.createComment(t),n=this.createDebugContext(e);return n&&wo(new yo(e,null,n)),e},t.prototype.createText=function(t){var e=this.delegate.createText(t),n=this.createDebugContext(e);return n&&wo(new yo(e,null,n)),e},t.prototype.appendChild=function(t,e){var n=bo(t),i=bo(e);n&&i&&n instanceof vo&&n.addChild(i),this.delegate.appendChild(t,e)},t.prototype.insertBefore=function(t,e,n){var i=bo(t),r=bo(e),o=bo(n);i&&r&&i instanceof vo&&i.insertBefore(o,r),this.delegate.insertBefore(t,e,n)},t.prototype.removeChild=function(t,e){var n=bo(t),i=bo(e);n&&i&&n instanceof vo&&n.removeChild(i),this.delegate.removeChild(t,e)},t.prototype.selectRootElement=function(t,e){var n=this.delegate.selectRootElement(t,e),i=tu()||null;return i&&wo(new vo(n,null,i)),n},t.prototype.setAttribute=function(t,e,n,i){var r=bo(t);r&&r instanceof vo&&(r.attributes[i?i+":"+e:e]=n),this.delegate.setAttribute(t,e,n,i)},t.prototype.removeAttribute=function(t,e,n){var i=bo(t);i&&i instanceof vo&&(i.attributes[n?n+":"+e:e]=null),this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){var n=bo(t);n&&n instanceof vo&&(n.classes[e]=!0),this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){var n=bo(t);n&&n instanceof vo&&(n.classes[e]=!1),this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,i){var r=bo(t);r&&r instanceof vo&&(r.styles[e]=n),this.delegate.setStyle(t,e,n,i)},t.prototype.removeStyle=function(t,e,n){var i=bo(t);i&&i instanceof vo&&(i.styles[e]=null),this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){var i=bo(t);i&&i instanceof vo&&(i.properties[e]=n),this.delegate.setProperty(t,e,n)},t.prototype.listen=function(t,e,n){if("string"!=typeof t){var i=bo(t);i&&i.listeners.push(new go(e,n))}return this.delegate.listen(t,e,n)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setValue=function(t,e){return this.delegate.setValue(t,e)},t}();function iu(t,e,n){return new ru(t,e,n)}var ru=function(t){function e(e,n,i){var r=t.call(this)||this;return r.moduleType=e,r._bootstrapComponents=n,r._ngModuleDefFactory=i,r}return r(e,t),e.prototype.create=function(t){!function(){if(!vl){vl=!0;var t=Hi()?{setCurrentNode:Hl,createRootView:bl,createEmbeddedView:xl,createComponentView:Cl,createNgModuleRef:kl,overrideProvider:Il,overrideComponentView:Ol,clearOverrides:Pl,checkAndUpdateView:Nl,checkNoChangesView:Ml,destroyView:Fl,createDebugContext:function(t,e){return new Zl(t,e)},handleEvent:Ul,updateDirectives:Bl,updateRenderer:ql}:{setCurrentNode:function(){},createRootView:_l,createEmbeddedView:Js,createComponentView:el,createNgModuleRef:ps,overrideProvider:ta,overrideComponentView:ta,clearOverrides:ta,checkAndUpdateView:al,checkNoChangesView:ol,destroyView:hl,createDebugContext:function(t,e){return new Zl(t,e)},handleEvent:function(t,e,n,i){return t.def.handleEvent(t,e,n,i)},updateDirectives:function(t,e){return t.def.updateDirectives(0===e?Rl:Dl,t)},updateRenderer:function(t,e){return t.def.updateRenderer(0===e?Rl:Dl,t)}};Qo.setCurrentNode=t.setCurrentNode,Qo.createRootView=t.createRootView,Qo.createEmbeddedView=t.createEmbeddedView,Qo.createComponentView=t.createComponentView,Qo.createNgModuleRef=t.createNgModuleRef,Qo.overrideProvider=t.overrideProvider,Qo.overrideComponentView=t.overrideComponentView,Qo.clearOverrides=t.clearOverrides,Qo.checkAndUpdateView=t.checkAndUpdateView,Qo.checkNoChangesView=t.checkNoChangesView,Qo.destroyView=t.destroyView,Qo.resolveDep=Ds,Qo.createDebugContext=t.createDebugContext,Qo.handleEvent=t.handleEvent,Qo.updateDirectives=t.updateDirectives,Qo.updateRenderer=t.updateRenderer,Qo.dirtyParentQueries=zs}}();var e=function(t){var e=Array.from(t.providers),n=Array.from(t.modules),i={};for(var r in t.providersByKey)i[r]=t.providersByKey[r];return{factory:t.factory,isRoot:t.isRoot,providers:e,modules:n,providersByKey:i}}(ka(this._ngModuleDefFactory));return Qo.createNgModuleRef(this.moduleType,t||Zt.NULL,this._bootstrapComponents,e)},e}(ri);n("yLV6");var ou=function(){return function(){}}(),au=new D(function(t){return t.complete()});function su(t){return t?function(t){return new D(function(e){return t.schedule(function(){return e.complete()})})}(t):au}function lu(t){var e=new D(function(e){e.next(t),e.complete()});return e._isScalar=!0,e.value=t,e}function uu(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=t[t.length-1];switch(H(n)?t.pop():n=void 0,t.length){case 0:return su(n);case 1:return n?it(t,n):lu(t[0]);default:return it(t,n)}}function cu(t,e){return ot(t,e,1)}function hu(t,e){return function(n){return n.lift(new pu(t,e))}}var pu=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new du(t,this.predicate,this.thisArg))},t}(),du=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.predicate=n,r.thisArg=i,r.count=0,r}return r(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)},e}(T),fu=function(){return function(){}}(),mu=new Tt("Location Initialized"),gu=function(){return function(){}}(),yu=new Tt("appBaseHref"),vu=function(){function t(t){var n=this;this._subject=new Li,this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._baseHref=e.stripTrailingSlash(_u(i)),this._platformStrategy.onPopState(function(t){n._subject.emit({url:n.path(!0),pop:!0,state:t.state,type:t.type})})}var e;return e=t,t.prototype.path=function(t){return void 0===t&&(t=!1),this.normalize(this._platformStrategy.path(t))},t.prototype.isCurrentPathEqualTo=function(t,n){return void 0===n&&(n=""),this.path()==this.normalize(t+e.normalizeQueryParams(n))},t.prototype.normalize=function(t){return e.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,_u(t)))},t.prototype.prepareExternalUrl=function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)},t.prototype.go=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.pushState(n,"",t,e)},t.prototype.replaceState=function(t,e,n){void 0===e&&(e=""),void 0===n&&(n=null),this._platformStrategy.replaceState(n,"",t,e)},t.prototype.forward=function(){this._platformStrategy.forward()},t.prototype.back=function(){this._platformStrategy.back()},t.prototype.subscribe=function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})},t.normalizeQueryParams=function(t){return t&&"?"!==t[0]?"?"+t:t},t.joinWithSlash=function(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e},t.stripTrailingSlash=function(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)},t}();function _u(t){return t.replace(/\/index.html$/,"")}var bu=function(t){function e(e,n){var i=t.call(this)||this;return i._platformLocation=e,i._baseHref="",null!=n&&(i._baseHref=n),i}return r(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e},e.prototype.prepareExternalUrl=function(t){var e=vu.joinWithSlash(this._baseHref,t);return e.length>0?"#"+e:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+vu.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+vu.normalizeQueryParams(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(gu),wu=function(t){function e(e,n){var i=t.call(this)||this;if(i._platformLocation=e,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(e,t),e.prototype.onPopState=function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)},e.prototype.getBaseHref=function(){return this._baseHref},e.prototype.prepareExternalUrl=function(t){return vu.joinWithSlash(this._baseHref,t)},e.prototype.path=function(t){void 0===t&&(t=!1);var e=this._platformLocation.pathname+vu.normalizeQueryParams(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?""+e+n:e},e.prototype.pushState=function(t,e,n,i){var r=this.prepareExternalUrl(n+vu.normalizeQueryParams(i));this._platformLocation.pushState(t,e,r)},e.prototype.replaceState=function(t,e,n,i){var r=this.prepareExternalUrl(n+vu.normalizeQueryParams(i));this._platformLocation.replaceState(t,e,r)},e.prototype.forward=function(){this._platformLocation.forward()},e.prototype.back=function(){this._platformLocation.back()},e}(gu),xu=void 0,Cu=["en",[["a","p"],["AM","PM"],xu],[["AM","PM"],xu,xu],[["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"]],xu,[["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"]],xu,[["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}",xu,"{1} 'at' {0}",xu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],ku={},Su=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Eu=new Tt("UseV4Plurals"),Tu=function(){return function(){}}(),Iu=function(t){function e(e,n){var i=t.call(this)||this;return i.locale=e,i.deprecatedPluralFn=n,i}return r(e,t),e.prototype.getPluralCategory=function(t,e){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(e||this.locale,t):function(t){return function(t){var e=t.toLowerCase().replace(/_/g,"-"),n=ku[e];if(n)return n;var i=e.split("-")[0];if(n=ku[i])return n;if("en"===i)return Cu;throw new Error('Missing locale data for the locale "'+t+'".')}(t)[18]}(e||this.locale)(t)){case Su.Zero:return"zero";case Su.One:return"one";case Su.Two:return"two";case Su.Few:return"few";case Su.Many:return"many";default:return"other"}},e}(Tu);function Ou(t,e){var n,i;e=encodeURIComponent(e);try{for(var r=l(t.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),h=c[1];if(c[0].trim()===e)return decodeURIComponent(h)}}catch(p){n={error:p}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return null}var Pu=function(){function t(t,e,n,i){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=i,this._initialClasses=[]}return Object.defineProperty(t.prototype,"klass",{set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClass",{set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Me(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}},t.prototype._applyKeyValueChanges=function(t){var e=this;t.forEachAddedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachChangedItem(function(t){return e._toggleClass(t.key,t.currentValue)}),t.forEachRemovedItem(function(t){t.previousValue&&e._toggleClass(t.key,!1)})},t.prototype._applyIterableChanges=function(t){var e=this;t.forEachAddedItem(function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Vt(t.item));e._toggleClass(t.item,!0)}),t.forEachRemovedItem(function(t){return e._toggleClass(t.item,!1)})},t.prototype._applyClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!0)}):Object.keys(t).forEach(function(n){return e._toggleClass(n,!!t[n])}))},t.prototype._removeClasses=function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach(function(t){return e._toggleClass(t,!1)}):Object.keys(t).forEach(function(t){return e._toggleClass(t,!1)}))},t.prototype._toggleClass=function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach(function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)})},t}(),Au=function(){function t(t,e,n,i){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=i}return Object.defineProperty(t.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),t}(),Ru=function(){function t(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(t.prototype,"ngForOf",{set:function(t){this._ngForOf=t,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(t){Hi()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(t)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngForTemplate",{set:function(t){t&&(this._template=t)},enumerable:!0,configurable:!0}),t.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '"+t+"' of type '"+((e=t).name||typeof e)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}},t.prototype._applyChanges=function(t){var e=this,n=[];t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var o=e._viewContainer.createEmbeddedView(e._template,new Au(null,e._ngForOf,-1,-1),r),a=new Du(t,o);n.push(a)}else null==r?e._viewContainer.remove(i):(o=e._viewContainer.get(i),e._viewContainer.move(o,r),a=new Du(t,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}t.forEachIdentityChange(function(t){e._viewContainer.get(t.currentIndex).context.$implicit=t.item})},t.prototype._perViewChange=function(t,e){t.context.$implicit=e.item},t.ngTemplateContextGuard=function(t,e){return!0},t}(),Du=function(){return function(t,e){this.record=t,this.view=e}}(),Nu=function(){function t(t,e){this._viewContainer=t,this._context=new Mu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}return Object.defineProperty(t.prototype,"ngIf",{set:function(t){this._context.$implicit=this._context.ngIf=t,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfThen",{set:function(t){Fu("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngIfElse",{set:function(t){Fu("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),t.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)))},t.ngTemplateGuard_ngIf=function(t,e){return!0},t}(),Mu=function(){return function(){this.$implicit=null,this.ngIf=null}}();function Fu(t,e){if(e&&!e.createEmbeddedView)throw new Error(t+" must be a TemplateRef, but received '"+Vt(e)+"'.")}var Lu=function(){function t(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}return t.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},t.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},t.prototype.enforceState=function(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()},t}(),ju=function(){function t(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(t.prototype,"ngSwitch",{set:function(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),t.prototype._addCase=function(){return this._caseCount++},t.prototype._addDefault=function(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)},t.prototype._matchCase=function(t){var e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e},t.prototype._updateDefaultCases=function(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(var e=0;e<this._defaultViews.length;e++)this._defaultViews[e].enforceState(t)}},t}(),Vu=function(){function t(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new Lu(t,e)}return t.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},t}(),zu=function(){return function(t,e,n){n._addDefault(new Lu(t,e))}}(),Hu=function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.subscribe({next:e,error:function(t){throw t}})},t.prototype.dispose=function(t){t.unsubscribe()},t.prototype.onDestroy=function(t){t.unsubscribe()},t}(),Uu=new(function(){function t(){}return t.prototype.createSubscription=function(t,e){return t.then(e,function(t){throw t})},t.prototype.dispose=function(t){},t.prototype.onDestroy=function(t){},t}()),Bu=new Hu,qu=function(){function t(t){this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var e;return e=t,t.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},t.prototype.transform=function(t){return this._obj?t!==this._obj?(this._dispose(),this.transform(t)):this._latestValue===this._latestReturnedValue?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,De.wrap(this._latestValue)):(t&&this._subscribe(t),this._latestReturnedValue=this._latestValue,this._latestValue)},t.prototype._subscribe=function(t){var e=this;this._obj=t,this._strategy=this._selectStrategy(t),this._subscription=this._strategy.createSubscription(t,function(n){return e._updateLatestValue(t,n)})},t.prototype._selectStrategy=function(t){if(br(t))return Uu;if(wr(t))return Bu;throw Error("InvalidPipeArgument: '"+t+"' for pipe '"+Vt(e)+"'")},t.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},t.prototype._updateLatestValue=function(t,e){t===this._obj&&(this._latestValue=e,this._ref.markForCheck())},t}(),Wu=function(){return function(){}}(),Gu=new Tt("DocumentToken"),Ku="browser",Yu="server",Xu=function(){function t(){}return t.ngInjectableDef=kt({providedIn:"root",factory:function(){return new Qu(pe(Gu),window)}}),t}(),Qu=function(){function t(t,e){this.document=t,this.window=e,this.offset=function(){return[0,0]}}return t.prototype.setOffset=function(t){this.offset=Array.isArray(t)?function(){return t}:t},t.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},t.prototype.scrollToPosition=function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])},t.prototype.scrollToAnchor=function(t){if(this.supportScrollRestoration()){var e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='"+t+"']");if(n)return void this.scrollToElement(n)}},t.prototype.setHistoryScrollRestoration=function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}},t.prototype.scrollToElement=function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])},t.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}},t}(),Zu=function(){return function(){}}(),$u=function(){return function(){}}(),Ju=function(){function t(t){var e=this;this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){e.headers=new Map,t.split("\n").forEach(function(t){var n=t.indexOf(":");if(n>0){var i=t.slice(0,n),r=i.toLowerCase(),o=t.slice(n+1).trim();e.maybeSetNormalizedName(i,r),e.headers.has(r)?e.headers.get(r).push(o):e.headers.set(r,[o])}})}:function(){e.headers=new Map,Object.keys(t).forEach(function(n){var i=t[n],r=n.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(e.headers.set(r,i),e.maybeSetNormalizedName(n,r))})}:this.headers=new Map}return t.prototype.has=function(t){return this.init(),this.headers.has(t.toLowerCase())},t.prototype.get=function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null},t.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},t.prototype.getAll=function(t){return this.init(),this.headers.get(t.toLowerCase())||null},t.prototype.append=function(t,e){return this.clone({name:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({name:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({name:t,value:e,op:"d"})},t.prototype.maybeSetNormalizedName=function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)},t.prototype.init=function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(t){return e.applyUpdate(t)}),this.lazyUpdate=null))},t.prototype.copyFrom=function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach(function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))})},t.prototype.clone=function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n},t.prototype.applyUpdate=function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,c(n)),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var o=this.headers.get(e);if(!o)return;0===(o=o.filter(function(t){return-1===r.indexOf(t)})).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}else this.headers.delete(e),this.normalizedNames.delete(e)}},t.prototype.forEach=function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return t(e.normalizedNames.get(n),e.headers.get(n))})},t}(),tc=function(){function t(){}return t.prototype.encodeKey=function(t){return ec(t)},t.prototype.encodeValue=function(t){return ec(t)},t.prototype.decodeKey=function(t){return decodeURIComponent(t)},t.prototype.decodeValue=function(t){return decodeURIComponent(t)},t}();function ec(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var nc=function(){function t(t){void 0===t&&(t={});var e,n,i,r=this;if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new tc,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(e=t.fromString,n=this.encoder,i=new Map,e.length>0&&e.split("&").forEach(function(t){var e=t.indexOf("="),r=u(-1==e?[n.decodeKey(t),""]:[n.decodeKey(t.slice(0,e)),n.decodeValue(t.slice(e+1))],2),o=r[0],a=r[1],s=i.get(o)||[];s.push(a),i.set(o,s)}),i)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(e){var n=t.fromObject[e];r.map.set(e,Array.isArray(n)?n:[n])})):this.map=null}return t.prototype.has=function(t){return this.init(),this.map.has(t)},t.prototype.get=function(t){this.init();var e=this.map.get(t);return e?e[0]:null},t.prototype.getAll=function(t){return this.init(),this.map.get(t)||null},t.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},t.prototype.append=function(t,e){return this.clone({param:t,value:e,op:"a"})},t.prototype.set=function(t,e){return this.clone({param:t,value:e,op:"s"})},t.prototype.delete=function(t,e){return this.clone({param:t,value:e,op:"d"})},t.prototype.toString=function(){var t=this;return this.init(),this.keys().map(function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map(function(e){return n+"="+t.encoder.encodeValue(e)}).join("&")}).join("&")},t.prototype.clone=function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n},t.prototype.init=function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(e){return t.map.set(e,t.cloneFrom.map.get(e))}),this.updates.forEach(function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}}),this.cloneFrom=null)},t}();function ic(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function rc(t){return"undefined"!=typeof Blob&&t instanceof Blob}function oc(t){return"undefined"!=typeof FormData&&t instanceof FormData}var ac=function(){function t(t,e,n,i){var r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||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 Ju),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=e;else{var a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":a<e.length-1?"&":"")+o}}else this.params=new nc,this.urlWithParams=e}return t.prototype.serializeBody=function(){return null===this.body?null:ic(this.body)||rc(this.body)||oc(this.body)||"string"==typeof this.body?this.body:this.body instanceof nc?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},t.prototype.detectContentTypeHeader=function(){return null===this.body?null:oc(this.body)?null:rc(this.body)?this.body.type||null:ic(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof nc?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},t.prototype.clone=function(e){void 0===e&&(e={});var n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,o=void 0!==e.body?e.body:this.body,a=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(function(t,n){return t.set(n,e.setHeaders[n])},l)),e.setParams&&(u=Object.keys(e.setParams).reduce(function(t,n){return t.set(n,e.setParams[n])},u)),new t(n,i,o,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:a})},t}(),sc=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),lc=function(){return function(t,e,n){void 0===e&&(e=200),void 0===n&&(n="OK"),this.headers=t.headers||new Ju,this.status=void 0!==t.status?t.status:e,this.statusText=t.statusText||n,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}(),uc=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=sc.ResponseHeader,n}return r(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(lc),cc=function(t){function e(e){void 0===e&&(e={});var n=t.call(this,e)||this;return n.type=sc.Response,n.body=void 0!==e.body?e.body:null,n}return r(e,t),e.prototype.clone=function(t){return void 0===t&&(t={}),new e({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})},e}(lc),hc=function(t){function e(e){var n=t.call(this,e,0,"Unknown Error")||this;return n.name="HttpErrorResponse",n.ok=!1,n.message=n.status>=200&&n.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for "+(e.url||"(unknown url)")+": "+e.status+" "+e.statusText,n.error=e.error||null,n}return r(e,t),e}(lc);function pc(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var dc=function(){function t(t){this.handler=t}return t.prototype.request=function(t,e,n){var i,r=this;if(void 0===n&&(n={}),t instanceof ac)i=t;else{var o;o=n.headers instanceof Ju?n.headers:new Ju(n.headers);var a=void 0;n.params&&(a=n.params instanceof nc?n.params:new nc({fromObject:n.params})),i=new ac(t,e,void 0!==n.body?n.body:null,{headers:o,params:a,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}var s=uu(i).pipe(cu(function(t){return r.handler.handle(t)}));if(t instanceof ac||"events"===n.observe)return s;var l=s.pipe(hu(function(t){return t instanceof cc}));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return l.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body}));case"blob":return l.pipe(tt(function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body}));case"text":return l.pipe(tt(function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body}));case"json":default:return l.pipe(tt(function(t){return t.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type "+n.observe+"}")}},t.prototype.delete=function(t,e){return void 0===e&&(e={}),this.request("DELETE",t,e)},t.prototype.get=function(t,e){return void 0===e&&(e={}),this.request("GET",t,e)},t.prototype.head=function(t,e){return void 0===e&&(e={}),this.request("HEAD",t,e)},t.prototype.jsonp=function(t,e){return this.request("JSONP",t,{params:(new nc).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},t.prototype.options=function(t,e){return void 0===e&&(e={}),this.request("OPTIONS",t,e)},t.prototype.patch=function(t,e,n){return void 0===n&&(n={}),this.request("PATCH",t,pc(n,e))},t.prototype.post=function(t,e,n){return void 0===n&&(n={}),this.request("POST",t,pc(n,e))},t.prototype.put=function(t,e,n){return void 0===n&&(n={}),this.request("PUT",t,pc(n,e))},t}(),fc=function(){function t(t,e){this.next=t,this.interceptor=e}return t.prototype.handle=function(t){return this.interceptor.intercept(t,this.next)},t}(),mc=new Tt("HTTP_INTERCEPTORS"),gc=function(){function t(){}return t.prototype.intercept=function(t,e){return e.handle(t)},t}(),yc=/^\)\]\}',?\n/,vc=function(){return function(){}}(),_c=function(){function t(){}return t.prototype.build=function(){return new XMLHttpRequest},t}(),bc=function(){function t(t){this.xhrFactory=t}return t.prototype.handle=function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new D(function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach(function(t,e){return i.setRequestHeader(t,e.join(","))}),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var o=t.responseType.toLowerCase();i.responseType="json"!==o?o:"text"}var a=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new Ju(i.getAllResponseHeaders()),o=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new uc({headers:r,status:e,statusText:n,url:o})},u=function(){var e=l(),r=e.headers,o=e.status,a=e.statusText,s=e.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"===t.responseType&&"string"==typeof u){var h=u;u=u.replace(yc,"");try{u=""!==u?JSON.parse(u):null}catch(p){u=h,c&&(c=!1,u={error:p,text:u})}}c?(n.next(new cc({body:u,headers:r,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new hc({error:u,headers:r,status:o,statusText:a,url:s||void 0}))},c=function(t){var e=new hc({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error"});n.error(e)},h=!1,p=function(e){h||(n.next(l()),h=!0);var r={type:sc.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=function(t){var e={type:sc.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",p),null!==a&&i.upload&&i.upload.addEventListener("progress",d)),i.send(a),n.next({type:sc.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",p),null!==a&&i.upload&&i.upload.removeEventListener("progress",d)),i.abort()}})},t}(),wc=new Tt("XSRF_COOKIE_NAME"),xc=new Tt("XSRF_HEADER_NAME"),Cc=function(){return function(){}}(),kc=function(){function t(t,e,n){this.doc=t,this.platform=e,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return t.prototype.getToken=function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ou(t,this.cookieName),this.lastCookieString=t),this.lastToken},t}(),Sc=function(){function t(t,e){this.tokenService=t,this.headerName=e}return t.prototype.intercept=function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)},t}(),Ec=function(){function t(t,e){this.backend=t,this.injector=e,this.chain=null}return t.prototype.handle=function(t){if(null===this.chain){var e=this.injector.get(mc,[]);this.chain=e.reduceRight(function(t,e){return new fc(t,e)},this.backend)}return this.chain.handle(t)},t}(),Tc=function(){function t(){}var e;return e=t,t.disable=function(){return{ngModule:e,providers:[{provide:Sc,useClass:gc}]}},t.withOptions=function(t){return void 0===t&&(t={}),{ngModule:e,providers:[t.cookieName?{provide:wc,useValue:t.cookieName}:[],t.headerName?{provide:xc,useValue:t.headerName}:[]]}},t}(),Ic=function(){return function(){}}(),Oc=null;function Pc(){return Oc}var Ac,Rc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Dc={"\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"},Nc={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"};Dt.Node&&(Ac=Dt.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))});var Mc,Fc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.parse=function(t){throw new Error("parse not implemented")},e.makeCurrent=function(){var t;t=new e,Oc||(Oc=t)},e.prototype.hasProperty=function(t,e){return e in t},e.prototype.setProperty=function(t,e,n){t[e]=n},e.prototype.getProperty=function(t,e){return t[e]},e.prototype.invoke=function(t,e,n){var i;(i=t)[e].apply(i,c(n))},e.prototype.logError=function(t){window.console&&(console.error?console.error(t):console.log(t))},e.prototype.log=function(t){window.console&&window.console.log&&window.console.log(t)},e.prototype.logGroup=function(t){window.console&&window.console.group&&window.console.group(t)},e.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(e.prototype,"attrToPropMap",{get:function(){return Rc},enumerable:!0,configurable:!0}),e.prototype.contains=function(t,e){return Ac.call(t,e)},e.prototype.querySelector=function(t,e){return t.querySelector(e)},e.prototype.querySelectorAll=function(t,e){return t.querySelectorAll(e)},e.prototype.on=function(t,e,n){t.addEventListener(e,n,!1)},e.prototype.onAndCancel=function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}},e.prototype.dispatchEvent=function(t,e){t.dispatchEvent(e)},e.prototype.createMouseEvent=function(t){var e=this.getDefaultDocument().createEvent("MouseEvent");return e.initEvent(t,!0,!0),e},e.prototype.createEvent=function(t){var e=this.getDefaultDocument().createEvent("Event");return e.initEvent(t,!0,!0),e},e.prototype.preventDefault=function(t){t.preventDefault(),t.returnValue=!1},e.prototype.isPrevented=function(t){return t.defaultPrevented||null!=t.returnValue&&!t.returnValue},e.prototype.getInnerHTML=function(t){return t.innerHTML},e.prototype.getTemplateContent=function(t){return"content"in t&&this.isTemplateElement(t)?t.content:null},e.prototype.getOuterHTML=function(t){return t.outerHTML},e.prototype.nodeName=function(t){return t.nodeName},e.prototype.nodeValue=function(t){return t.nodeValue},e.prototype.type=function(t){return t.type},e.prototype.content=function(t){return this.hasProperty(t,"content")?t.content:t},e.prototype.firstChild=function(t){return t.firstChild},e.prototype.nextSibling=function(t){return t.nextSibling},e.prototype.parentElement=function(t){return t.parentNode},e.prototype.childNodes=function(t){return t.childNodes},e.prototype.childNodesAsList=function(t){for(var e=t.childNodes,n=new Array(e.length),i=0;i<e.length;i++)n[i]=e[i];return n},e.prototype.clearNodes=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},e.prototype.appendChild=function(t,e){t.appendChild(e)},e.prototype.removeChild=function(t,e){t.removeChild(e)},e.prototype.replaceChild=function(t,e,n){t.replaceChild(e,n)},e.prototype.remove=function(t){return t.parentNode&&t.parentNode.removeChild(t),t},e.prototype.insertBefore=function(t,e,n){t.insertBefore(n,e)},e.prototype.insertAllBefore=function(t,e,n){n.forEach(function(n){return t.insertBefore(n,e)})},e.prototype.insertAfter=function(t,e,n){t.insertBefore(n,e.nextSibling)},e.prototype.setInnerHTML=function(t,e){t.innerHTML=e},e.prototype.getText=function(t){return t.textContent},e.prototype.setText=function(t,e){t.textContent=e},e.prototype.getValue=function(t){return t.value},e.prototype.setValue=function(t,e){t.value=e},e.prototype.getChecked=function(t){return t.checked},e.prototype.setChecked=function(t,e){t.checked=e},e.prototype.createComment=function(t){return this.getDefaultDocument().createComment(t)},e.prototype.createTemplate=function(t){var e=this.getDefaultDocument().createElement("template");return e.innerHTML=t,e},e.prototype.createElement=function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)},e.prototype.createElementNS=function(t,e,n){return(n=n||this.getDefaultDocument()).createElementNS(t,e)},e.prototype.createTextNode=function(t,e){return(e=e||this.getDefaultDocument()).createTextNode(t)},e.prototype.createScriptTag=function(t,e,n){var i=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return i.setAttribute(t,e),i},e.prototype.createStyleElement=function(t,e){var n=(e=e||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(t,e)),n},e.prototype.createShadowRoot=function(t){return t.createShadowRoot()},e.prototype.getShadowRoot=function(t){return t.shadowRoot},e.prototype.getHost=function(t){return t.host},e.prototype.clone=function(t){return t.cloneNode(!0)},e.prototype.getElementsByClassName=function(t,e){return t.getElementsByClassName(e)},e.prototype.getElementsByTagName=function(t,e){return t.getElementsByTagName(e)},e.prototype.classList=function(t){return Array.prototype.slice.call(t.classList,0)},e.prototype.addClass=function(t,e){t.classList.add(e)},e.prototype.removeClass=function(t,e){t.classList.remove(e)},e.prototype.hasClass=function(t,e){return t.classList.contains(e)},e.prototype.setStyle=function(t,e,n){t.style[e]=n},e.prototype.removeStyle=function(t,e){t.style[e]=""},e.prototype.getStyle=function(t,e){return t.style[e]},e.prototype.hasStyle=function(t,e,n){var i=this.getStyle(t,e)||"";return n?i==n:i.length>0},e.prototype.tagName=function(t){return t.tagName},e.prototype.attributeMap=function(t){for(var e=new Map,n=t.attributes,i=0;i<n.length;i++){var r=n.item(i);e.set(r.name,r.value)}return e},e.prototype.hasAttribute=function(t,e){return t.hasAttribute(e)},e.prototype.hasAttributeNS=function(t,e,n){return t.hasAttributeNS(e,n)},e.prototype.getAttribute=function(t,e){return t.getAttribute(e)},e.prototype.getAttributeNS=function(t,e,n){return t.getAttributeNS(e,n)},e.prototype.setAttribute=function(t,e,n){t.setAttribute(e,n)},e.prototype.setAttributeNS=function(t,e,n,i){t.setAttributeNS(e,n,i)},e.prototype.removeAttribute=function(t,e){t.removeAttribute(e)},e.prototype.removeAttributeNS=function(t,e,n){t.removeAttributeNS(e,n)},e.prototype.templateAwareRoot=function(t){return this.isTemplateElement(t)?this.content(t):t},e.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},e.prototype.getDefaultDocument=function(){return document},e.prototype.getBoundingClientRect=function(t){try{return t.getBoundingClientRect()}catch(e){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},e.prototype.getTitle=function(t){return t.title},e.prototype.setTitle=function(t,e){t.title=e||""},e.prototype.elementMatches=function(t,e){return!!this.isElementNode(t)&&(t.matches&&t.matches(e)||t.msMatchesSelector&&t.msMatchesSelector(e)||t.webkitMatchesSelector&&t.webkitMatchesSelector(e))},e.prototype.isTemplateElement=function(t){return this.isElementNode(t)&&"TEMPLATE"===t.nodeName},e.prototype.isTextNode=function(t){return t.nodeType===Node.TEXT_NODE},e.prototype.isCommentNode=function(t){return t.nodeType===Node.COMMENT_NODE},e.prototype.isElementNode=function(t){return t.nodeType===Node.ELEMENT_NODE},e.prototype.hasShadowRoot=function(t){return null!=t.shadowRoot&&t instanceof HTMLElement},e.prototype.isShadowRoot=function(t){return t instanceof DocumentFragment},e.prototype.importIntoDoc=function(t){return document.importNode(this.templateAwareRoot(t),!0)},e.prototype.adoptNode=function(t){return document.adoptNode(t)},e.prototype.getHref=function(t){return t.getAttribute("href")},e.prototype.getEventKey=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Nc.hasOwnProperty(e)&&(e=Nc[e]))}return Dc[e]||e},e.prototype.getGlobalEventTarget=function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null},e.prototype.getHistory=function(){return window.history},e.prototype.getLocation=function(){return window.location},e.prototype.getBaseHref=function(t){var e,n=Lc||(Lc=document.querySelector("base"))?Lc.getAttribute("href"):null;return null==n?null:(e=n,Mc||(Mc=document.createElement("a")),Mc.setAttribute("href",e),"/"===Mc.pathname.charAt(0)?Mc.pathname:"/"+Mc.pathname)},e.prototype.resetBaseElement=function(){Lc=null},e.prototype.getUserAgent=function(){return window.navigator.userAgent},e.prototype.setData=function(t,e,n){this.setAttribute(t,"data-"+e,n)},e.prototype.getData=function(t,e){return this.getAttribute(t,"data-"+e)},e.prototype.getComputedStyle=function(t){return getComputedStyle(t)},e.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},e.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},e.prototype.supportsCookies=function(){return!0},e.prototype.getCookie=function(t){return Ou(document.cookie,t)},e.prototype.setCookie=function(t,e){document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)},e}(function(t){function e(){var e=t.call(this)||this;e._animationPrefix=null,e._transitionEnd=null;try{var n=e.createElement("div",document);if(null!=e.getStyle(n,"animationName"))e._animationPrefix="";else for(var i=["Webkit","Moz","O","ms"],r=0;r<i.length;r++)if(null!=e.getStyle(n,i[r]+"AnimationName")){e._animationPrefix="-"+i[r].toLowerCase()+"-";break}var o={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(o).forEach(function(t){null!=e.getStyle(n,t)&&(e._transitionEnd=o[t])})}catch(a){e._animationPrefix=null,e._transitionEnd=null}return e}return r(e,t),e.prototype.getDistributedNodes=function(t){return t.getDistributedNodes()},e.prototype.resolveAndSetHref=function(t,e,n){t.href=null==n?e:e+"/../"+n},e.prototype.supportsDOMEvents=function(){return!0},e.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},e.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},e.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},e.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},e}(function(){function t(){this.resourceLoaderType=null}return Object.defineProperty(t.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}())),Lc=null,jc=Gu;function Vc(){return!!window.history.pushState}var zc=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._init(),n}var n;return r(e,t),e.prototype._init=function(){this.location=Pc().getLocation(),this._history=Pc().getHistory()},e.prototype.getBaseHrefFromDOM=function(){return Pc().getBaseHref(this._doc)},e.prototype.onPopState=function(t){Pc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)},e.prototype.onHashChange=function(t){Pc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)},Object.defineProperty(e.prototype,"pathname",{get:function(){return this.location.pathname},set:function(t){this.location.pathname=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),e.prototype.pushState=function(t,e,n){Vc()?this._history.pushState(t,e,n):this.location.hash=n},e.prototype.replaceState=function(t,e,n){Vc()?this._history.replaceState(t,e,n):this.location.hash=n},e.prototype.forward=function(){this._history.forward()},e.prototype.back=function(){this._history.back()},a([(n=Ut(jc),function(t,e){n(t,e,0)}),s("design:paramtypes",[Object])],e)}(fu),Hc=new Tt("TRANSITION_ID"),Uc=[{provide:xr,useFactory:function(t,e,n){return function(){n.get(Cr).donePromise.then(function(){var n=Pc();Array.prototype.slice.apply(n.querySelectorAll(e,"style[ng-transition]")).filter(function(e){return n.getAttribute(e,"ng-transition")===t}).forEach(function(t){return n.remove(t)})})}},deps:[Hc,jc,Zt],multi:!0}],Bc=function(){function t(){}return t.init=function(){var e;e=new t,Zr=e},t.prototype.addToWindow=function(t){Dt.getAngularTestability=function(e,n){void 0===n&&(n=!0);var i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Dt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Dt.getAllAngularRootElements=function(){return t.getAllRootElements()},Dt.frameworkStabilizers||(Dt.frameworkStabilizers=[]),Dt.frameworkStabilizers.push(function(t){var e=Dt.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach(function(t){t.whenStable(r)})})},t.prototype.findTestabilityInTree=function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?Pc().isShadowRoot(e)?this.findTestabilityInTree(t,Pc().getHost(e),!0):this.findTestabilityInTree(t,Pc().parentElement(e),!0):null},t}();function qc(t,e){"undefined"!=typeof COMPILED&&COMPILED||((Dt.ng=Dt.ng||{})[t]=e)}var Wc={ApplicationRef:ro,NgZone:Hr};function Gc(t){return bo(t)}var Kc=new Tt("EventManagerPlugins"),Yc=function(){function t(t,e){var n=this;this._zone=e,this._eventNameToPlugin=new Map,t.forEach(function(t){return t.manager=n}),this._plugins=t.slice().reverse()}return t.prototype.addEventListener=function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)},t.prototype.addGlobalEventListener=function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)},t.prototype.getZone=function(){return this._zone},t.prototype._findPluginFor=function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(t))return this._eventNameToPlugin.set(t,r),r}throw new Error("No event manager plugin found for event "+t)},t}(),Xc=function(){function t(t){this._doc=t}return t.prototype.addGlobalEventListener=function(t,e,n){var i=Pc().getGlobalEventTarget(this._doc,t);if(!i)throw new Error("Unsupported event target "+i+" for event "+e);return this.addEventListener(i,e,n)},t}(),Qc=function(){function t(){this._stylesSet=new Set}return t.prototype.addStyles=function(t){var e=this,n=new Set;t.forEach(function(t){e._stylesSet.has(t)||(e._stylesSet.add(t),n.add(t))}),this.onStylesAdded(n)},t.prototype.onStylesAdded=function(t){},t.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},t}(),Zc=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n._hostNodes=new Set,n._styleNodes=new Set,n._hostNodes.add(e.head),n}return r(e,t),e.prototype._addStylesToHost=function(t,e){var n=this;t.forEach(function(t){var i=n._doc.createElement("style");i.textContent=t,n._styleNodes.add(e.appendChild(i))})},e.prototype.addHost=function(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)},e.prototype.removeHost=function(t){this._hostNodes.delete(t)},e.prototype.onStylesAdded=function(t){var e=this;this._hostNodes.forEach(function(n){return e._addStylesToHost(t,n)})},e.prototype.ngOnDestroy=function(){this._styleNodes.forEach(function(t){return Pc().remove(t)})},e}(Qc),$c={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/"},Jc=/%COMP%/g,th="_nghost-%COMP%",eh="_ngcontent-%COMP%";function nh(t,e,n){for(var i=0;i<e.length;i++){var r=e[i];Array.isArray(r)?nh(t,r,n):(r=r.replace(Jc,t),n.push(r))}return n}function ih(t){return function(e){!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}var rh=function(){function t(t,e){this.eventManager=t,this.sharedStylesHost=e,this.rendererByCompId=new Map,this.defaultRenderer=new oh(t)}return t.prototype.createRenderer=function(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case fe.Emulated:var n=this.rendererByCompId.get(e.id);return n||(n=new uh(this.eventManager,this.sharedStylesHost,e),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n;case fe.Native:case fe.ShadowDom:return new ch(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){var i=nh(e.id,e.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}},t.prototype.begin=function(){},t.prototype.end=function(){},t}(),oh=function(){function t(t){this.eventManager=t,this.data=Object.create(null)}return t.prototype.destroy=function(){},t.prototype.createElement=function(t,e){return e?document.createElementNS($c[e],t):document.createElement(t)},t.prototype.createComment=function(t){return document.createComment(t)},t.prototype.createText=function(t){return document.createTextNode(t)},t.prototype.appendChild=function(t,e){t.appendChild(e)},t.prototype.insertBefore=function(t,e,n){t&&t.insertBefore(e,n)},t.prototype.removeChild=function(t,e){t&&t.removeChild(e)},t.prototype.selectRootElement=function(t,e){var n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error('The selector "'+t+'" did not match any elements');return e||(n.textContent=""),n},t.prototype.parentNode=function(t){return t.parentNode},t.prototype.nextSibling=function(t){return t.nextSibling},t.prototype.setAttribute=function(t,e,n,i){if(i){e=i+":"+e;var r=$c[i];r?t.setAttributeNS(r,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)},t.prototype.removeAttribute=function(t,e,n){if(n){var i=$c[n];i?t.removeAttributeNS(i,e):t.removeAttribute(n+":"+e)}else t.removeAttribute(e)},t.prototype.addClass=function(t,e){t.classList.add(e)},t.prototype.removeClass=function(t,e){t.classList.remove(e)},t.prototype.setStyle=function(t,e,n,i){i&mi.DashCase?t.style.setProperty(e,n,i&mi.Important?"important":""):t.style[e]=n},t.prototype.removeStyle=function(t,e,n){n&mi.DashCase?t.style.removeProperty(e):t.style[e]=""},t.prototype.setProperty=function(t,e,n){sh(e,"property"),t[e]=n},t.prototype.setValue=function(t,e){t.nodeValue=e},t.prototype.listen=function(t,e,n){return sh(e,"listener"),"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,ih(n)):this.eventManager.addEventListener(t,e,ih(n))},t}(),ah="@".charCodeAt(0);function sh(t,e){if(t.charCodeAt(0)===ah)throw new Error("Found the synthetic "+e+" "+t+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var lh,uh=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.component=i;var o=nh(i.id,i.styles,[]);return n.addStyles(o),r.contentAttr=eh.replace(Jc,i.id),r.hostAttr=th.replace(Jc,i.id),r}return r(e,t),e.prototype.applyToHost=function(e){t.prototype.setAttribute.call(this,e,this.hostAttr,"")},e.prototype.createElement=function(e,n){var i=t.prototype.createElement.call(this,e,n);return t.prototype.setAttribute.call(this,i,this.contentAttr,""),i},e}(oh),ch=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;o.sharedStylesHost=n,o.hostEl=i,o.component=r,o.shadowRoot=r.encapsulation===fe.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(e,t),e.prototype.nodeOrShadowRoot=function(t){return t===this.hostEl?this.shadowRoot:t},e.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},e.prototype.appendChild=function(e,n){return t.prototype.appendChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.insertBefore=function(e,n,i){return t.prototype.insertBefore.call(this,this.nodeOrShadowRoot(e),n,i)},e.prototype.removeChild=function(e,n){return t.prototype.removeChild.call(this,this.nodeOrShadowRoot(e),n)},e.prototype.parentNode=function(e){return this.nodeOrShadowRoot(t.prototype.parentNode.call(this,this.nodeOrShadowRoot(e)))},e}(oh),hh="undefined"!=typeof Zone&&Zone.__symbol__||function(t){return"__zone_symbol__"+t},ph=hh("addEventListener"),dh=hh("removeEventListener"),fh={},mh="__zone_symbol__propagationStopped";"undefined"!=typeof Zone&&Zone[hh("BLACK_LISTED_EVENTS")]&&(lh={});var gh=function(t){return!!lh&&lh.hasOwnProperty(t)},yh=function(t){var e=fh[t.type];if(e){var n=this[e];if(n){var i=[t];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!==t[mh];o++){var a;(a=r[o]).zone!==Zone.current?a.zone.run(a.handler,this,i):a.handler.apply(this,i)}}}},vh=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.ngZone=n,i&&function(t){return t===Yu}(i)||r.patchEvent(),r}return r(e,t),e.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var t=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[mh]=!0),t&&t.apply(this,arguments)}}},e.prototype.supports=function(t){return!0},e.prototype.addEventListener=function(t,e,n){var i=this,r=n;if(!t[ph]||Hr.isInAngularZone()&&!gh(e))t.addEventListener(e,r,!1);else{var o=fh[e];o||(o=fh[e]=hh("ANGULAR"+e+"FALSE"));var a=t[o],s=a&&a.length>0;a||(a=t[o]=[]);var l=gh(e)?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||t[ph](e,yh,!1)}return function(){return i.removeEventListener(t,e,r)}},e.prototype.removeEventListener=function(t,e,n){var i=t[dh];if(!i)return t.removeEventListener.apply(t,[e,n,!1]);var r=fh[e],o=r&&t[r];if(!o)return t.removeEventListener.apply(t,[e,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(t,[e,yh,!1]):t.removeEventListener.apply(t,[e,n,!1])},e}(Xc),_h={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},bh=new Tt("HammerGestureConfig"),wh=new Tt("HammerLoader"),xh=function(){function t(){this.events=[],this.overrides={}}return t.prototype.buildHammer=function(t){var e=new Hammer(t,this.options);for(var n in e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0}),this.overrides)e.get(n).set(this.overrides[n]);return e},t}(),Ch=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._config=n,o.console=i,o.loader=r,o}return r(e,t),e.prototype.supports=function(t){return!(!_h.hasOwnProperty(t.toLowerCase())&&!this.isCustomEvent(t)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+t+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},e.prototype.addEventListener=function(t,e,n){var i=this,r=this.manager.getZone();if(e=e.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(t,e,n))}).catch(function(){i.console.warn('The "'+e+'" event cannot be bound because the custom Hammer.JS loader failed.'),a=function(){}}),function(){a()}}return r.runOutsideAngular(function(){var o=i._config.buildHammer(t),a=function(t){r.runGuarded(function(){n(t)})};return o.on(e,a),function(){o.off(e,a),"function"==typeof o.destroy&&o.destroy()}})},e.prototype.isCustomEvent=function(t){return this._config.events.indexOf(t)>-1},e}(Xc),kh=["alt","control","meta","shift"],Sh={alt:function(t){return t.altKey},control:function(t){return t.ctrlKey},meta:function(t){return t.metaKey},shift:function(t){return t.shiftKey}},Eh=function(t){function e(e){return t.call(this,e)||this}var n;return r(e,t),n=e,e.prototype.supports=function(t){return null!=n.parseEventName(t)},e.prototype.addEventListener=function(t,e,i){var r=n.parseEventName(e),o=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Pc().onAndCancel(t,r.domEventName,o)})},e.parseEventName=function(t){var e=t.toLowerCase().split("."),i=e.shift();if(0===e.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(e.pop()),o="";if(kh.forEach(function(t){var n=e.indexOf(t);n>-1&&(e.splice(n,1),o+=t+".")}),o+=r,0!=e.length||0===r.length)return null;var a={};return a.domEventName=i,a.fullKey=o,a},e.getEventFullKey=function(t){var e="",n=Pc().getEventKey(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),kh.forEach(function(i){i!=n&&(0,Sh[i])(t)&&(e+=i+".")}),e+=n},e.eventCallback=function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded(function(){return e(r)})}},e._normalizeKey=function(t){switch(t){case"esc":return"escape";default:return t}},e}(Xc),Th=function(){return function(){}}(),Ih=function(t){function e(e){var n=t.call(this)||this;return n._doc=e,n}return r(e,t),e.prototype.sanitize=function(t,e){if(null==e)return null;switch(t){case lr.NONE:return e;case lr.HTML:return e instanceof Ph?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"HTML"),function(t,e){var n=null;try{Yi=Yi||new Ui(t);var i=e?String(e):"";n=Yi.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=Yi.getInertBodyElement(i)}while(i!==o);var a=new ir,s=a.sanitizeChildren(sr(n)||n);return Hi()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),s}finally{if(n)for(var l=sr(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e)));case lr.STYLE:return e instanceof Ah?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"Style"),function(t){if(!(t=String(t).trim()))return"";var e=t.match(hr);return e&&Wi(e[1])===e[1]||t.match(cr)&&function(t){for(var e=!0,n=!0,i=0;i<t.length;i++){var r=t.charAt(i);"'"===r&&n?e=!e:'"'===r&&e&&(n=!n)}return e&&n}(t)?t:(Hi()&&console.warn("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}(e));case lr.SCRIPT:if(e instanceof Rh)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"Script"),new Error("unsafe value used in a script context");case lr.URL:return e instanceof Nh||e instanceof Dh?e.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(e,"URL"),Wi(String(e)));case lr.RESOURCE_URL:if(e instanceof Nh)return e.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(e,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+t+" (see http://g.co/ng/security#xss)")}},e.prototype.checkNotSafeValue=function(t,e){if(t instanceof Oh)throw new Error("Required a safe "+e+", got a "+t.getTypeName()+" (see http://g.co/ng/security#xss)")},e.prototype.bypassSecurityTrustHtml=function(t){return new Ph(t)},e.prototype.bypassSecurityTrustStyle=function(t){return new Ah(t)},e.prototype.bypassSecurityTrustScript=function(t){return new Rh(t)},e.prototype.bypassSecurityTrustUrl=function(t){return new Dh(t)},e.prototype.bypassSecurityTrustResourceUrl=function(t){return new Nh(t)},e}(Th),Oh=function(){function t(t){this.changingThisBreaksApplicationSecurity=t}return t.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},t}(),Ph=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"HTML"},e}(Oh),Ah=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Style"},e}(Oh),Rh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"Script"},e}(Oh),Dh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"URL"},e}(Oh),Nh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.getTypeName=function(){return"ResourceURL"},e}(Oh),Mh=to(Lo,"browser",[{provide:Ir,useValue:Ku},{provide:Tr,useValue:function(){Fc.makeCurrent(),Bc.init()},multi:!0},{provide:fu,useClass:zc,deps:[jc]},{provide:jc,useFactory:function(){return document},deps:[]}]);function Fh(){return new _r}var Lh=function(){function t(t){if(t)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 e;return e=t,t.withServerTransition=function(t){return{ngModule:e,providers:[{provide:kr,useValue:t.appId},{provide:Hc,useExisting:kr},Uc]}},t}();"undefined"!=typeof window&&window;var jh=function(){function t(t,e){this.http=t,this.domSanitizer=e,this.imageURLS=new Array(5)}return t.prototype.getDashInfo=function(){var t={headers:new Ju({"Content-Type":"application/json"})};return this.http.get("http://173.255.245.197:5353/dash/",t)},t.prototype.setDashImages=function(t){this.dashObjects=t;for(var e=0,n=t.dash;e<n.length;e++){var i=n[e];this.imageURLS[t.dash.indexOf(i)]="data:image/jpeg;base64,"+i.image}},t.prototype.getImageURL=function(t){return this.domSanitizer.bypassSecurityTrustUrl(this.imageURLS[t])},t.ngInjectableDef=kt({factory:function(){return new t(pe(dc),pe(Th))},token:t,providedIn:"root"}),t}(),Vh=function(){function t(t,e){this.dashService=t,this.router=e,this.title="android-clarity-frontend",this.showDash=!1}return t.prototype.ngOnInit=function(){var t=this;this.dashService.getDashInfo().subscribe(function(e){console.log("dash GET successful",e),t.dashService.setDashImages(e),t.showDash=!0},function(t){console.log("Error",t)})},t.prototype.getSafeUrl=function(t){return this.dashService.getImageURL(t)},t.prototype.expandDash=function(t){this.router.navigateByUrl("/dash/"+t)},t}(),zh=function(t){function e(e){var n=t.call(this)||this;return n._value=e,n}return r(e,t),Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),e.prototype._subscribe=function(e){var n=t.prototype._subscribe.call(this,e);return n&&!n.closed&&e.next(this._value),n},e.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new F;return this._value},e.prototype.next=function(e){t.prototype.next.call(this,this._value=e)},e}(V);function Hh(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Hh.prototype=Object.create(Error.prototype);var Uh=Hh;function Bh(){return ct(1)}function qh(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}qh.prototype=Object.create(Error.prototype);var Wh=qh;function Gh(t){return function(e){return 0===t?su():e.lift(new Kh(t))}}var Kh=function(){function t(t){if(this.total=t,this.total<0)throw new Wh}return t.prototype.call=function(t,e){return e.subscribe(new Yh(t,this.total))},t}(),Yh=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.ring=new Array,i.count=0,i}return r(e,t),e.prototype._next=function(t){var e=this.ring,n=this.total,i=this.count++;e.length<n?e.push(t):e[i%n]=t},e.prototype._complete=function(){var t=this.destination,e=this.count;if(e>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var o=e++%n;t.next(i[o])}t.complete()},e}(T);function Xh(t,e,n){return function(i){return i.lift(new Qh(t,e,n))}}var Qh=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new Zh(t,this.nextOrObserver,this.error,this.complete))},t}(),Zh=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o._tapNext=P,o._tapError=P,o._tapComplete=P,o._tapError=i||P,o._tapComplete=r||P,d(n)?(o._context=o,o._tapNext=n):n&&(o._context=n,o._tapNext=n.next||P,o._tapError=n.error||P,o._tapComplete=n.complete||P),o}return r(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(T),$h=function(t){return void 0===t&&(t=Jh),Xh({hasValue:!1,next:function(){this.hasValue=!0},complete:function(){if(!this.hasValue)throw t()}})};function Jh(){return new Uh}function tp(t){return void 0===t&&(t=null),function(e){return e.lift(new ep(t))}}var ep=function(){function t(t){this.defaultValue=t}return t.prototype.call=function(t,e){return e.subscribe(new np(t,this.defaultValue))},t}(),np=function(t){function e(e,n){var i=t.call(this,e)||this;return i.defaultValue=n,i.isEmpty=!0,i}return r(e,t),e.prototype._next=function(t){this.isEmpty=!1,this.destination.next(t)},e.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},e}(T);function ip(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?hu(function(e,n){return t(e,n,i)}):ut,Gh(1),n?tp(e):$h(function(){return new Uh}))}}function rp(t,e){return function(n){return n.lift(new op(t,e,n))}}var op=function(){function t(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}return t.prototype.call=function(t,e){return e.subscribe(new ap(t,this.predicate,this.thisArg,this.source))},t}(),ap=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=i,o.source=r,o.index=0,o.thisArg=i||o,o}return r(e,t),e.prototype.notifyComplete=function(t){this.destination.next(t),this.destination.complete()},e.prototype._next=function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)},e.prototype._complete=function(){this.notifyComplete(!0)},e}(T);function sp(t){return function(e){var n=new lp(t),i=e.lift(n);return n.caught=i}}var lp=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new up(t,this.selector,this.caught))},t}(),up=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.selector=n,r.caught=i,r}return r(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(r){return void t.prototype.error.call(this,r)}this._unsubscribeAndRecycle();var i=new U(this,void 0,void 0);this.add(i),$(this,n,void 0,void 0,i)}},e}(J);function cp(t){return function(e){return 0===t?su():e.lift(new hp(t))}}var hp=function(){function t(t){if(this.total=t,this.total<0)throw new Wh}return t.prototype.call=function(t,e){return e.subscribe(new pp(t,this.total))},t}(),pp=function(t){function e(e,n){var i=t.call(this,e)||this;return i.total=n,i.count=0,i}return r(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(T);function dp(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?hu(function(e,n){return t(e,n,i)}):ut,cp(1),n?tp(e):$h(function(){return new Uh}))}}function fp(t,e){return"function"==typeof e?function(n){return n.pipe(fp(function(n,i){return rt(t(n,i)).pipe(tt(function(t,r){return e(n,t,i,r)}))}))}:function(e){return e.lift(new mp(t))}}var mp=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new gp(t,this.project))},t}(),gp=function(t){function e(e,n){var i=t.call(this,e)||this;return i.project=n,i.index=0,i}return r(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new U(this,void 0,void 0);this.destination.add(r),this.innerSubscription=$(this,t,e,n,r)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this),this.unsubscribe()},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,i,r){this.destination.next(e)},e}(J);function yp(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new vp(t,e,n))}}var vp=function(){function t(t,e,n){void 0===n&&(n=!1),this.accumulator=t,this.seed=e,this.hasSeed=n}return t.prototype.call=function(t,e){return e.subscribe(new _p(t,this.accumulator,this.seed,this.hasSeed))},t}(),_p=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;return o.accumulator=n,o._seed=i,o.hasSeed=r,o.index=0,o}return r(e,t),Object.defineProperty(e.prototype,"seed",{get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t},enumerable:!0,configurable:!0}),e.prototype._next=function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)},e}(T),bp=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new wp(t,this.callback))},t}(),wp=function(t){function e(e,n){var i=t.call(this,e)||this;return i.add(new b(n)),i}return r(e,t),e}(T),xp=function(){return function(t,e){this.id=t,this.url=e}}(),Cp=function(t){function e(e,n,i,r){void 0===i&&(i="imperative"),void 0===r&&(r=null);var o=t.call(this,e,n)||this;return o.navigationTrigger=i,o.restoredState=r,o}return r(e,t),e.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},e}(xp),kp=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.urlAfterRedirects=i,r}return r(e,t),e.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},e}(xp),Sp=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.reason=i,r}return r(e,t),e.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},e}(xp),Ep=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r.error=i,r}return r(e,t),e.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},e}(xp),Tp=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(e,t),e.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(xp),Ip=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(e,t),e.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(xp),Op=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n)||this;return a.urlAfterRedirects=i,a.state=r,a.shouldActivate=o,a}return r(e,t),e.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},e}(xp),Pp=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(e,t),e.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(xp),Ap=function(t){function e(e,n,i,r){var o=t.call(this,e,n)||this;return o.urlAfterRedirects=i,o.state=r,o}return r(e,t),e.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},e}(xp),Rp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},t}(),Dp=function(){function t(t){this.route=t}return t.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},t}(),Np=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Mp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Fp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),Lp=function(){function t(t){this.snapshot=t}return t.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},t}(),jp=function(){function t(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}return t.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},t}(),Vp=function(){return function(){}}(),zp="primary",Hp=function(){function t(t){this.params=t||{}}return t.prototype.has=function(t){return this.params.hasOwnProperty(t)},t.prototype.get=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null},t.prototype.getAll=function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]},Object.defineProperty(t.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),t}();function Up(t){return new Hp(t)}function Bp(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length<t.length))return null;for(var r={},o=0;o<i.length;o++){var a=i[o],s=t[o];if(a.startsWith(":"))r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:t.slice(0,i.length),posParams:r}}var qp=function(){return function(t,e){this.routes=t,this.module=e}}();function Wp(t,e){void 0===e&&(e="");for(var n=0;n<t.length;n++){var i=t[n];Gp(i,Kp(e,i))}}function Gp(t,e){if(!t)throw new Error("\n      Invalid configuration of route '"+e+"': 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(t))throw new Error("Invalid configuration of route '"+e+"': Array cannot be specified");if(!t.component&&!t.children&&!t.loadChildren&&t.outlet&&t.outlet!==zp)throw new Error("Invalid configuration of route '"+e+"': a componentless route without children or loadChildren cannot have a named outlet set");if(t.redirectTo&&t.children)throw new Error("Invalid configuration of route '"+e+"': redirectTo and children cannot be used together");if(t.redirectTo&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': redirectTo and loadChildren cannot be used together");if(t.children&&t.loadChildren)throw new Error("Invalid configuration of route '"+e+"': children and loadChildren cannot be used together");if(t.redirectTo&&t.component)throw new Error("Invalid configuration of route '"+e+"': redirectTo and component cannot be used together");if(t.path&&t.matcher)throw new Error("Invalid configuration of route '"+e+"': path and matcher cannot be used together");if(void 0===t.redirectTo&&!t.component&&!t.children&&!t.loadChildren)throw new Error("Invalid configuration of route '"+e+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===t.path&&void 0===t.matcher)throw new Error("Invalid configuration of route '"+e+"': routes must have either a path or a matcher specified");if("string"==typeof t.path&&"/"===t.path.charAt(0))throw new Error("Invalid configuration of route '"+e+"': path cannot start with a slash");if(""===t.path&&void 0!==t.redirectTo&&void 0===t.pathMatch)throw new Error("Invalid configuration of route '{path: \""+e+'", redirectTo: "'+t.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==t.pathMatch&&"full"!==t.pathMatch&&"prefix"!==t.pathMatch)throw new Error("Invalid configuration of route '"+e+"': pathMatch can only be set to 'prefix' or 'full'");t.children&&Wp(t.children,e)}function Kp(t,e){return e?t||e.path?t&&!e.path?t+"/":!t&&e.path?e.path:t+"/"+e.path:"":t}function Yp(t){var e=t.children&&t.children.map(Yp),n=e?o({},t,{children:e}):o({},t);return!n.component&&(e||n.loadChildren)&&n.outlet&&n.outlet!==zp&&(n.component=Vp),n}function Xp(t,e){var n,i=Object.keys(t),r=Object.keys(e);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++)if(t[n=i[o]]!==e[n])return!1;return!0}function Qp(t){return Array.prototype.concat.apply([],t)}function Zp(t){return t.length>0?t[t.length-1]:null}function $p(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Jp(t){return t.pipe(ct(),rp(function(t){return!0===t}))}function td(t){return wr(t)?t:br(t)?rt(Promise.resolve(t)):uu(t)}function ed(t,e,n){return n?function(t,e){return Xp(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!od(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(function(n){return e[n]===t[n]})}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!od(a=n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!od(n.segments,r))return!1;for(var o in i.children){if(!n.children[o])return!1;if(!t(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!!od(n.segments,a)&&!!n.children[zp]&&e(n.children[zp],i,s)}(e,n,n.segments)}(t.root,e.root)}var nd=function(){function t(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}return Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Up(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return ud.serialize(this)},t}(),id=function(){function t(t,e){var n=this;this.segments=t,this.children=e,this.parent=null,$p(e,function(t,e){return t.parent=n})}return t.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(t.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return cd(this)},t}(),rd=function(){function t(t,e){this.path=t,this.parameters=e}return Object.defineProperty(t.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=Up(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return gd(this)},t}();function od(t,e){return t.length===e.length&&t.every(function(t,n){return t.path===e[n].path})}function ad(t,e){var n=[];return $p(t.children,function(t,i){i===zp&&(n=n.concat(e(t,i)))}),$p(t.children,function(t,i){i!==zp&&(n=n.concat(e(t,i)))}),n}var sd=function(){return function(){}}(),ld=function(){function t(){}return t.prototype.parse=function(t){var e=new wd(t);return new nd(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())},t.prototype.serialize=function(t){var e,n;return"/"+function t(e,n){if(!e.hasChildren())return cd(e);if(n){var i=e.children[zp]?t(e.children[zp],!1):"",r=[];return $p(e.children,function(e,n){n!==zp&&r.push(n+":"+t(e,!1))}),r.length>0?i+"("+r.join("//")+")":i}var o=ad(e,function(n,i){return i===zp?[t(e.children[zp],!1)]:[i+":"+t(n,!1)]});return cd(e)+"/("+o.join("//")+")"}(t.root,!0)+(e=t.queryParams,(n=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(e){return pd(t)+"="+pd(e)}).join("&"):pd(t)+"="+pd(n)})).length?"?"+n.join("&"):"")+("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"")},t}(),ud=new ld;function cd(t){return t.segments.map(function(t){return gd(t)}).join("/")}function hd(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function pd(t){return hd(t).replace(/%3B/gi,";")}function dd(t){return hd(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function fd(t){return decodeURIComponent(t)}function md(t){return fd(t.replace(/\+/g,"%20"))}function gd(t){return""+dd(t.path)+(e=t.parameters,Object.keys(e).map(function(t){return";"+dd(t)+"="+dd(e[t])}).join(""));var e}var yd=/^[^\/()?;=#]+/;function vd(t){var e=t.match(yd);return e?e[0]:""}var _d=/^[^=?&#]+/,bd=/^[^?&#]+/,wd=function(){function t(t){this.url=t,this.remaining=t}return t.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new id([],{}):new id([],this.parseChildren())},t.prototype.parseQueryParams=function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t},t.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},t.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n[zp]=new id(t,e)),n},t.prototype.parseSegment=function(){var t=vd(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(t),new rd(fd(t),this.parseMatrixParams())},t.prototype.parseMatrixParams=function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t},t.prototype.parseParam=function(t){var e=vd(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=vd(this.remaining);i&&this.capture(n=i)}t[fd(e)]=fd(n)}},t.prototype.parseQueryParam=function(t){var e,n=(e=this.remaining.match(_d))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(bd);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var o=md(n),a=md(i);if(t.hasOwnProperty(o)){var s=t[o];Array.isArray(s)||(t[o]=s=[s]),s.push(a)}else t[o]=a}},t.prototype.parseParens=function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=vd(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(":")):t&&(r=zp);var o=this.parseChildren();e[r]=1===Object.keys(o).length?o[zp]:new id([],o),this.consumeOptional("//")}return e},t.prototype.peekStartsWith=function(t){return this.remaining.startsWith(t)},t.prototype.consumeOptional=function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)},t.prototype.capture=function(t){if(!this.consumeOptional(t))throw new Error('Expected "'+t+'".')},t}(),xd=function(){function t(t){this._root=t}return Object.defineProperty(t.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),t.prototype.parent=function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null},t.prototype.children=function(t){var e=Cd(t,this._root);return e?e.children.map(function(t){return t.value}):[]},t.prototype.firstChild=function(t){var e=Cd(t,this._root);return e&&e.children.length>0?e.children[0].value:null},t.prototype.siblings=function(t){var e=kd(t,this._root);return e.length<2?[]:e[e.length-2].children.map(function(t){return t.value}).filter(function(e){return e!==t})},t.prototype.pathFromRoot=function(t){return kd(t,this._root).map(function(t){return t.value})},t}();function Cd(t,e){var n,i;if(t===e.value)return e;try{for(var r=l(e.children),o=r.next();!o.done;o=r.next()){var a=Cd(t,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 kd(t,e){var n,i;if(t===e.value)return[e];try{for(var r=l(e.children),o=r.next();!o.done;o=r.next()){var a=kd(t,o.value);if(a.length)return a.unshift(e),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 Sd=function(){function t(t,e){this.value=t,this.children=e}return t.prototype.toString=function(){return"TreeNode("+this.value+")"},t}();function Ed(t){var e={};return t&&t.children.forEach(function(t){return e[t.value.outlet]=t}),e}var Td=function(t){function e(e,n){var i=t.call(this,e)||this;return i.snapshot=n,Dd(i,e),i}return r(e,t),e.prototype.toString=function(){return this.snapshot.toString()},e}(xd);function Id(t,e){var n=function(t,e){var n=new Ad([],{},{},"",{},zp,e,null,t.root,-1,{});return new Rd("",new Sd(n,[]))}(t,e),i=new zh([new rd("",{})]),r=new zh({}),o=new zh({}),a=new zh({}),s=new zh(""),l=new Od(i,r,a,s,o,zp,e,n.root);return l.snapshot=n.root,new Td(new Sd(l,[]),n)}var Od=function(){function t(t,e,n,i,r,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=i,this.data=r,this.outlet=o,this.component=a,this._futureSnapshot=s}return Object.defineProperty(t.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(tt(function(t){return Up(t)}))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(tt(function(t){return Up(t)}))),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},t}();function Pd(t,e){void 0===e&&(e="emptyOnly");var n=t.pathFromRoot,i=0;if("always"!==e)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(t){return t.reduce(function(t,e){return{params:o({},t.params,e.params),data:o({},t.data,e.data),resolve:o({},t.resolve,e._resolvedData)}},{params:{},data:{},resolve:{}})}(n.slice(i))}var Ad=function(){function t(t,e,n,i,r,o,a,s,l,u,c){this.url=t,this.params=e,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(t.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=Up(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=Up(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),t.prototype.toString=function(){return"Route(url:'"+this.url.map(function(t){return t.toString()}).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},t}(),Rd=function(t){function e(e,n){var i=t.call(this,n)||this;return i.url=e,Dd(i,n),i}return r(e,t),e.prototype.toString=function(){return Nd(this._root)},e}(xd);function Dd(t,e){e.value._routerState=t,e.children.forEach(function(e){return Dd(t,e)})}function Nd(t){var e=t.children.length>0?" { "+t.children.map(Nd).join(", ")+" } ":"";return""+t.value+e}function Md(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Xp(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Xp(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;++n)if(!Xp(t[n],e[n]))return!1;return!0}(e.url,n.url)||t.url.next(n.url),Xp(e.data,n.data)||t.data.next(n.data)}else t.snapshot=t._futureSnapshot,t.data.next(t._futureSnapshot.data)}function Fd(t,e){var n,i;return Xp(t.params,e.params)&&od(n=t.url,i=e.url)&&n.every(function(t,e){return Xp(t.parameters,i[e].parameters)})&&!(!t.parent!=!e.parent)&&(!t.parent||Fd(t.parent,e.parent))}function Ld(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function jd(t,e,n,i,r){var o={};return i&&$p(i,function(t,e){o[e]=Array.isArray(t)?t.map(function(t){return""+t}):""+t}),new nd(n.root===t?e:function t(e,n,i){var r={};return $p(e.children,function(e,o){r[o]=e===n?i:t(e,n,i)}),new id(e.segments,r)}(n.root,t,e),o,r)}var Vd=function(){function t(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&Ld(n[0]))throw new Error("Root segment cannot have matrix parameters");var i=n.find(function(t){return"object"==typeof t&&null!=t&&t.outlets});if(i&&i!==Zp(n))throw new Error("{outlets:{}} has to be the last command")}return t.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},t}(),zd=function(){return function(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}();function Hd(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets[zp]:""+t}function Ud(t,e,n){if(t||(t=new id([],{})),0===t.segments.length&&t.hasChildren())return Bd(t,e,n);var i=function(t,e,n){for(var i=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};r<t.segments.length;){if(i>=n.length)return o;var a=t.segments[r],s=Hd(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(!Kd(s,l,a))return o;i+=2}else{if(!Kd(s,{},a))return o;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<t.segments.length){var o=new id(t.segments.slice(0,i.pathIndex),{});return o.children[zp]=new id(t.segments.slice(i.pathIndex),t.children),Bd(o,0,r)}return i.match&&0===r.length?new id(t.segments,{}):i.match&&!t.hasChildren()?qd(t,e,n):i.match?Bd(t,0,r):qd(t,e,n)}function Bd(t,e,n){if(0===n.length)return new id(t.segments,{});var i=function(t){var e,n;return"object"!=typeof t[0]?((e={})[zp]=t,e):void 0===t[0].outlets?((n={})[zp]=t,n):t[0].outlets}(n),r={};return $p(i,function(n,i){null!==n&&(r[i]=Ud(t.children[i],e,n))}),$p(t.children,function(t,e){void 0===i[e]&&(r[e]=t)}),new id(t.segments,r)}function qd(t,e,n){for(var i=t.segments.slice(0,e),r=0;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){var o=Wd(n[r].outlets);return new id(i,o)}if(0===r&&Ld(n[0]))i.push(new rd(t.segments[e].path,n[0])),r++;else{var a=Hd(n[r]),s=r<n.length-1?n[r+1]:null;a&&s&&Ld(s)?(i.push(new rd(a,Gd(s))),r+=2):(i.push(new rd(a,{})),r++)}}return new id(i,{})}function Wd(t){var e={};return $p(t,function(t,n){null!==t&&(e[n]=qd(new id([],{}),0,t))}),e}function Gd(t){var e={};return $p(t,function(t,n){return e[n]=""+t}),e}function Kd(t,e,n){return t==n.path&&Xp(e,n.parameters)}var Yd=function(){function t(t,e,n,i){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=i}return t.prototype.activate=function(t){var e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),Md(this.futureState.root),this.activateChildRoutes(e,n,t)},t.prototype.deactivateChildRoutes=function(t,e,n){var i=this,r=Ed(e);t.children.forEach(function(t){var e=t.value.outlet;i.deactivateRoutes(t,r[e],n),delete r[e]}),$p(r,function(t,e){i.deactivateRouteAndItsChildren(t,n)})},t.prototype.deactivateRoutes=function(t,e,n){var i=t.value,r=e?e.value:null;if(i===r)if(i.component){var o=n.getContext(i.outlet);o&&this.deactivateChildRoutes(t,e,o.children)}else this.deactivateChildRoutes(t,e,n);else r&&this.deactivateRouteAndItsChildren(e,n)},t.prototype.deactivateRouteAndItsChildren=function(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)},t.prototype.detachAndStoreRouteSubtree=function(t,e){var n=e.getContext(t.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:i,route:t,contexts:r})}},t.prototype.deactivateRouteAndOutlet=function(t,e){var n=this,i=e.getContext(t.value.outlet);if(i){var r=Ed(t),o=t.value.component?i.children:e;$p(r,function(t,e){return n.deactivateRouteAndItsChildren(t,o)}),i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated())}},t.prototype.activateChildRoutes=function(t,e,n){var i=this,r=Ed(e);t.children.forEach(function(t){i.activateRoutes(t,r[t.value.outlet],n),i.forwardEvent(new Lp(t.value.snapshot))}),t.children.length&&this.forwardEvent(new Mp(t.value.snapshot))},t.prototype.activateRoutes=function(t,e,n){var i=t.value,r=e?e.value:null;if(Md(i),i===r)if(i.component){var o=n.getOrCreateContext(i.outlet);this.activateChildRoutes(t,e,o.children)}else this.activateChildRoutes(t,e,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),Xd(a.route)}else{var s=function(t){for(var e=i.snapshot.parent;e;e=e.parent){var n=e.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(t,null,o.children)}else this.activateChildRoutes(t,null,n)},t}();function Xd(t){Md(t.value),t.children.forEach(Xd)}var Qd=function(){return function(t){this.segmentGroup=t||null}}(),Zd=function(){return function(t){this.urlTree=t}}();function $d(t){return new D(function(e){return e.error(new Qd(t))})}function Jd(t){return new D(function(e){return e.error(new Zd(t))})}function tf(t){return new D(function(e){return e.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+t+"'"))})}var ef=function(){function t(t,e,n,i,r){this.configLoader=e,this.urlSerializer=n,this.urlTree=i,this.config=r,this.allowRedirects=!0,this.ngModule=t.get(ii)}return t.prototype.apply=function(){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,zp).pipe(tt(function(e){return t.createUrlTree(e,t.urlTree.queryParams,t.urlTree.fragment)})).pipe(sp(function(e){if(e instanceof Zd)return t.allowRedirects=!1,t.match(e.urlTree);if(e instanceof Qd)throw t.noMatchError(e);throw e}))},t.prototype.match=function(t){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,zp).pipe(tt(function(n){return e.createUrlTree(n,t.queryParams,t.fragment)})).pipe(sp(function(t){if(t instanceof Qd)throw e.noMatchError(t);throw t}))},t.prototype.noMatchError=function(t){return new Error("Cannot match any routes. URL Segment: '"+t.segmentGroup+"'")},t.prototype.createUrlTree=function(t,e,n){var i,r=t.segments.length>0?new id([],((i={})[zp]=t,i)):t;return new nd(r,e,n)},t.prototype.expandSegmentGroup=function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(tt(function(t){return new id([],t)})):this.expandSegment(t,n,e,n.segments,i,!0)},t.prototype.expandChildren=function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return uu({});var o=[],a=[],s={};return $p(n,function(n,r){var l,u,c=(l=r,u=n,i.expandSegmentGroup(t,e,u,l)).pipe(tt(function(t){return s[r]=t}));r===zp?o.push(c):a.push(c)}),uu.apply(null,o.concat(a)).pipe(Bh(),ip(),tt(function(){return s}))}(n.children)},t.prototype.expandSegment=function(t,e,n,i,r,o){var a=this;return uu.apply(void 0,c(n)).pipe(tt(function(s){return a.expandSegmentAgainstRoute(t,e,n,s,i,r,o).pipe(sp(function(t){if(t instanceof Qd)return uu(null);throw t}))}),Bh(),dp(function(t){return!!t}),sp(function(t,n){if(t instanceof Uh||"EmptyError"===t.name){if(a.noLeftoversInUrl(e,i,r))return uu(new id([],{}));throw new Qd(e)}throw t}))},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.expandSegmentAgainstRoute=function(t,e,n,i,r,o,a){return af(i)!==o?$d(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o):$d(e)},t.prototype.expandSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,o)},t.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(t,e,n,i){var r=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Jd(o):this.lineralizeSegments(n,o).pipe(ot(function(n){var o=new id(n,{});return r.expandSegment(t,o,e,n,i,!1)}))},t.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(t,e,n,i,r,o){var a=this,s=nf(e,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return $d(e);var h=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?Jd(h):this.lineralizeSegments(i,h).pipe(ot(function(i){return a.expandSegment(t,e,n,i.concat(r.slice(u)),o,!1)}))},t.prototype.matchSegmentAgainstRoute=function(t,e,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(tt(function(t){return n._loadedConfig=t,new id(i,{})})):uu(new id(i,{}));var a=nf(e,n,i),s=a.consumedSegments,u=a.lastChild;if(!a.matched)return $d(e);var c=i.slice(u);return this.getChildConfig(t,n,i).pipe(ot(function(t){var n=t.module,i=t.routes,a=function(t,e,n,i){return n.length>0&&function(t,e,n){return i.some(function(n){return of(t,e,n)&&af(n)!==zp})}(t,n)?{segmentGroup:rf(new id(e,function(t,e){var n,i,r={};r[zp]=e;try{for(var o=l(t),a=o.next();!a.done;a=o.next()){var s=a.value;""===s.path&&af(s)!==zp&&(r[af(s)]=new id([],{}))}}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 id(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return i.some(function(n){return of(t,e,n)})}(t,n)?{segmentGroup:rf(new id(t.segments,function(t,e,n,i){var r,a,s={};try{for(var u=l(n),c=u.next();!c.done;c=u.next()){var h=c.value;of(t,e,h)&&!i[af(h)]&&(s[af(h)]=new id([],{}))}}catch(p){r={error:p}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(r)throw r.error}}return o({},i,s)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,s,c,i),u=a.segmentGroup,h=a.slicedSegments;return 0===h.length&&u.hasChildren()?r.expandChildren(n,i,u).pipe(tt(function(t){return new id(s,t)})):0===i.length&&0===h.length?uu(new id(s,{})):r.expandSegment(n,u,i,h,zp,!0).pipe(tt(function(t){return new id(s.concat(t.segments),t.children)}))}))},t.prototype.getChildConfig=function(t,e,n){var i=this;return e.children?uu(new qp(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?uu(e._loadedConfig):function(t,e,n){var i=e.canLoad;return i&&0!==i.length?Jp(rt(i).pipe(tt(function(i){var r=t.get(i);return td(r.canLoad?r.canLoad(e,n):r(e,n))}))):uu(!0)}(t.injector,e,n).pipe(ot(function(n){return n?i.configLoader.load(t.injector,e).pipe(tt(function(t){return e._loadedConfig=t,t})):function(t){return new D(function(e){return e.error(((n=Error("NavigationCancelingError: Cannot load children because the guard of the route \"path: '"+t.path+"'\" returned false")).ngNavigationCancelingError=!0,n));var n})}(e)})):uu(new qp([],t))},t.prototype.lineralizeSegments=function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return uu(n);if(i.numberOfChildren>1||!i.children[zp])return tf(t.redirectTo);i=i.children[zp]}},t.prototype.applyRedirectCommands=function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)},t.prototype.applyRedirectCreatreUrlTree=function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new nd(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)},t.prototype.createQueryParams=function(t,e){var n={};return $p(t,function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t}),n},t.prototype.createSegmentGroup=function(t,e,n,i){var r=this,o=this.createSegments(t,e.segments,n,i),a={};return $p(e.children,function(e,o){a[o]=r.createSegmentGroup(t,e,n,i)}),new id(o,a)},t.prototype.createSegments=function(t,e,n,i){var r=this;return e.map(function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)})},t.prototype.findPosParam=function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '"+t+"'. Cannot find '"+e.path+"'.");return i},t.prototype.findOrReturn=function(t,e){var n,i,r=0;try{for(var o=l(e),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.path===t.path)return e.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 t},t}();function nf(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||Bp)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function rf(t){if(1===t.numberOfChildren&&t.children[zp]){var e=t.children[zp];return new id(t.segments.concat(e.segments),e.children)}return t}function of(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function af(t){return t.outlet||zp}var sf=function(){return function(t){this.path=t,this.route=this.path[this.path.length-1]}}(),lf=function(){return function(t,e){this.component=t,this.route=e}}();function uf(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function cf(t,e,n){var i=Ed(t),r=t.value;$p(i,function(t,i){cf(t,r.component?e?e.children.getContext(i):null:e,n)}),n.canDeactivateChecks.push(new lf(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var hf=function(){return function(){}}(),pf=function(){function t(t,e,n,i,r,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=i,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=o}return t.prototype.recognize=function(){try{var t=mf(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,zp),n=new Ad([],Object.freeze({}),Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,{},zp,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Sd(n,e),r=new Rd(this.url,i);return this.inheritParamsAndData(r._root),uu(r)}catch(a){return new D(function(t){return t.error(a)})}},t.prototype.inheritParamsAndData=function(t){var e=this,n=t.value,i=Pd(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach(function(t){return e.inheritParamsAndData(t)})},t.prototype.processSegmentGroup=function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)},t.prototype.processChildren=function(t,e){var n,i=this,r=ad(e,function(e,n){return i.processSegmentGroup(t,e,n)});return n={},r.forEach(function(t){var e=n[t.value.outlet];if(e){var i=e.url.map(function(t){return t.toString()}).join("/"),r=t.value.url.map(function(t){return t.toString()}).join("/");throw new Error("Two segments cannot have the same outlet name: '"+i+"' and '"+r+"'.")}n[t.value.outlet]=t.value}),r.sort(function(t,e){return t.value.outlet===zp?-1:e.value.outlet===zp?1:t.value.outlet.localeCompare(e.value.outlet)}),r},t.prototype.processSegment=function(t,e,n,i){var r,o;try{for(var a=l(t),s=a.next();!s.done;s=a.next()){var u=s.value;try{return this.processSegmentAgainstRoute(u,e,n,i)}catch(c){if(!(c instanceof hf))throw c}}}catch(h){r={error:h}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}if(this.noLeftoversInUrl(e,n,i))return[];throw new hf},t.prototype.noLeftoversInUrl=function(t,e,n){return 0===e.length&&!t.children[n]},t.prototype.processSegmentAgainstRoute=function(t,e,n,i){if(t.redirectTo)throw new hf;if((t.outlet||zp)!==i)throw new hf;var r,a=[],s=[];if("**"===t.path){var l=n.length>0?Zp(n).parameters:{};r=new Ad(n,l,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,vf(t),i,t.component,t,df(e),ff(e)+n.length,_f(t))}else{var u=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new hf;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||Bp)(n,t,e);if(!i)throw new hf;var r={};$p(i.posParams,function(t,e){r[e]=t.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}}(e,t,n);a=u.consumedSegments,s=n.slice(u.lastChild),r=new Ad(a,u.parameters,Object.freeze(o({},this.urlTree.queryParams)),this.urlTree.fragment,vf(t),i,t.component,t,df(e),ff(e)+a.length,_f(t))}var c=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),h=mf(e,a,s,c,this.relativeLinkResolution),p=h.segmentGroup,d=h.slicedSegments;if(0===d.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new Sd(r,f)]}if(0===c.length&&0===d.length)return[new Sd(r,[])];var m=this.processSegment(c,p,d,zp);return[new Sd(r,m)]},t}();function df(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function ff(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function mf(t,e,n,i,r){if(n.length>0&&function(t,e,n){return i.some(function(n){return gf(t,e,n)&&yf(n)!==zp})}(t,n)){var a=new id(e,function(t,e,n,i){var r,o,a={};a[zp]=i,i._sourceSegment=t,i._segmentIndexShift=e.length;try{for(var s=l(n),u=s.next();!u.done;u=s.next()){var c=u.value;if(""===c.path&&yf(c)!==zp){var h=new id([],{});h._sourceSegment=t,h._segmentIndexShift=e.length,a[yf(c)]=h}}}catch(p){r={error:p}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}return a}(t,e,i,new id(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return i.some(function(n){return gf(t,e,n)})}(t,n)){var s=new id(t.segments,function(t,e,n,i,r,a){var s,u,c={};try{for(var h=l(i),p=h.next();!p.done;p=h.next()){var d=p.value;if(gf(t,n,d)&&!r[yf(d)]){var f=new id([],{});f._sourceSegment=t,f._segmentIndexShift="legacy"===a?t.segments.length:e.length,c[yf(d)]=f}}}catch(m){s={error:m}}finally{try{p&&!p.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}return o({},r,c)}(t,e,n,i,t.children,r));return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}var u=new id(t.segments,t.children);return u._sourceSegment=t,u._segmentIndexShift=e.length,{segmentGroup:u,slicedSegments:n}}function gf(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function yf(t){return t.outlet||zp}function vf(t){return t.data||{}}function _f(t){return t.resolve||{}}function bf(t,e,n,i){var r=uf(t,e,i);return td(r.resolve?r.resolve(e,n):r(e,n))}function wf(t){return function(e){return e.pipe(fp(function(e){var n=t(e);return n?rt(n).pipe(tt(function(){return e})):rt([e])}))}}var xf=function(){return function(){}}(),Cf=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return t.routeConfig===e.routeConfig},t}(),kf=new Tt("ROUTES"),Sf=function(){function t(t,e,n,i){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=i}return t.prototype.load=function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(tt(function(i){n.onLoadEndListener&&n.onLoadEndListener(e);var r=i.create(t);return new qp(Qp(r.injector.get(kf)).map(Yp),r)}))},t.prototype.loadModuleFactory=function(t){var e=this;return"string"==typeof t?rt(this.loader.load(t)):td(t()).pipe(ot(function(t){return t instanceof ri?uu(t):rt(e.compiler.compileModuleAsync(t))}))},t}(),Ef=function(){return function(){}}(),Tf=function(){function t(){}return t.prototype.shouldProcessUrl=function(t){return!0},t.prototype.extract=function(t){return t},t.prototype.merge=function(t,e){return t},t}();function If(t){throw t}function Of(t,e,n){return e.parse("/")}function Pf(t,e){return uu(null)}var Af=function(){function t(t,e,n,i,r,o,a,s){var l=this;this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=i,this.config=s,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new V,this.errorHandler=If,this.malformedUriErrorHandler=Of,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pf,afterPreactivation:Pf},this.urlHandlingStrategy=new Tf,this.routeReuseStrategy=new Cf,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=r.get(ii),this.console=r.get(Pr);var u=r.get(Hr);this.isNgZoneEnabled=u instanceof Hr,this.resetConfig(s),this.currentUrlTree=new nd(new id([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.configLoader=new Sf(o,a,function(t){return l.triggerEvent(new Rp(t))},function(t){return l.triggerEvent(new Dp(t))}),this.routerState=Id(this.currentUrlTree,this.rootComponentType),this.transitions=new zh({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",state: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 t.prototype.setupNavigations=function(t){var e=this,n=this.events;return t.pipe(hu(function(t){return 0!==t.id}),tt(function(t){return o({},t,{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})}),fp(function(t){var i,r,a,s,u=!1,c=!1;return uu(t).pipe(fp(function(t){var i,r,a,s,l=!e.navigated||t.extractedUrl.toString()!==e.currentUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return uu(t).pipe(Xh(function(t){return"eager"===e.urlUpdateStrategy&&!t.extras.skipLocationChange&&e.setBrowserUrl(t.rawUrl,!!t.extras.replaceUrl,t.id)}),fp(function(t){var i=e.transitions.getValue();return n.next(new Cp(t.id,e.serializeUrl(t.extractedUrl),t.source,t.state)),i!==e.transitions.getValue()?au:[t]}),fp(function(t){return Promise.resolve(t)}),(i=e.ngModule.injector,r=e.configLoader,a=e.urlSerializer,s=e.config,function(t){return t.pipe(fp(function(t){return function(e,n,i,r,o){return new ef(e,n,i,t.extractedUrl,o).apply()}(i,r,a,0,s).pipe(tt(function(e){return o({},t,{urlAfterRedirects:e})}))}))}),function(t,n,i,r){return function(i){return i.pipe(ot(function(i){return function(t,e,n,i,r,o){return void 0===r&&(r="emptyOnly"),void 0===o&&(o="legacy"),new pf(t,e,n,i,r,o).recognize()}(t,n,i.urlAfterRedirects,(a=i.urlAfterRedirects,e.serializeUrl(a)),r).pipe(tt(function(t){return o({},i,{targetSnapshot:t})}));var a}))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy),Xh(function(t){var i=new Tp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)}));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.extractedUrl,c=t.source,h=t.state,p=t.extras,d=new Cp(t.id,e.serializeUrl(u),c,h);n.next(d);var f=Id(u,e.rootComponentType).snapshot;return uu(o({},t,{targetSnapshot:f,urlAfterRedirects:u,extras:o({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,t.resolve(null),au}),wf(function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Xh(function(t){var n=new Ip(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),tt(function(t){return o({},t,{guards:(n=t.targetSnapshot,i=t.currentSnapshot,r=e.rootContexts,a=n._root,function t(e,n,i,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=Ed(n);return e.children.forEach(function(e){!function(e,n,i,r,o){void 0===o&&(o={canDeactivateChecks:[],canActivateChecks:[]});var a=e.value,s=n?n.value:null,l=i?i.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(t,e,n){switch(n){case"always":return!0;case"paramsOrQueryParamsChange":return!Fd(t,e)||!Xp(t.queryParams,e.queryParams);case"paramsChange":default:return!Fd(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new sf(r)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:i,r,o),u&&o.canDeactivateChecks.push(new lf(l.outlet.component,s))}else s&&cf(n,l,o),o.canActivateChecks.push(new sf(r)),t(e,null,a.component?l?l.children:null:i,r,o)}(e,a[e.value.outlet],i,r.concat([e.value]),o),delete a[e.value.outlet]}),$p(a,function(t,e){return cf(t,i.getContext(e),o)}),o}(a,i?i._root:null,r,[a.value]))});var n,i,r,a}),function(t,e){return function(n){return n.pipe(ot(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?uu(o({},n,{guardsResult:!0})):function(t,e,n,i){return rt(l).pipe(ot(function(t){return function(t,e,n,i,r){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return o&&0!==o.length?rt(o).pipe(ot(function(o){var a=uf(o,e,r);return td(a.canDeactivate?a.canDeactivate(t,e,n,i):a(t,e,n,i)).pipe(dp())})).pipe(rp(function(t){return!0===t})):uu(!0)}(t.component,t.route,n,e,i)}),rp(function(t){return!0===t}))}(0,i,r,t).pipe(ot(function(n){return n?function(t,e,n,i){return rt(s).pipe(cu(function(e){return Jp(rt([function(t,e){return null!==t&&e&&e(new Np(t)),uu(!0)}(e.route.parent,i),function(t,e){return null!==t&&e&&e(new Fp(t)),uu(!0)}(e.route,i),function(t,e,n){var i=e[e.length-1];return Jp(rt(e.slice(0,e.length-1).reverse().map(function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)}).filter(function(t){return null!==t})).pipe(tt(function(e){return Jp(rt(e.guards).pipe(tt(function(r){var o=uf(r,e.node,n);return td(o.canActivateChild?o.canActivateChild(i,t):o(i,t)).pipe(dp())})))})))}(t,e.path,n),function(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?Jp(rt(i).pipe(tt(function(i){var r=uf(i,e,n);return td(r.canActivate?r.canActivate(e,t):r(e,t)).pipe(dp())}))):uu(!0)}(t,e.route,n)]))}),rp(function(t){return!0===t}))}(i,0,t,e):uu(!1)}),tt(function(t){return o({},n,{guardsResult:t})}))}))}}(e.ngModule.injector,function(t){return e.triggerEvent(t)}),Xh(function(t){var n=new Op(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)}),hu(function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new Sp(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0}),wf(function(t){if(t.guards.canActivateChecks.length)return uu(t).pipe(Xh(function(t){var n=new Pp(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}),(n=e.paramsInheritanceStrategy,i=e.ngModule.injector,function(t){return t.pipe(ot(function(t){var e=t.targetSnapshot,r=t.guards.canActivateChecks;return r.length?rt(r).pipe(cu(function(t){return function(t,n,i,r){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return uu({});if(1===r.length){var o=r[0];return bf(t[o],e,n,i).pipe(tt(function(t){var e;return(e={})[o]=t,e}))}var a={};return rt(r).pipe(ot(function(r){return bf(t[r],e,n,i).pipe(tt(function(t){return a[r]=t,t}))})).pipe(ip(),tt(function(){return a}))}(t._resolve,t,e,r).pipe(tt(function(e){return t._resolvedData=e,t.data=o({},t.data,Pd(t,i).resolve),null}))}(t.route,0,n,i)}),function(t,e){return arguments.length>=2?function(e){return A(yp(t,void 0),Gh(1),tp(void 0))(e)}:function(e){return A(yp(function(e,n,i){return t(e)}),Gh(1))(e)}}(function(t,e){return t}),tt(function(e){return t})):uu(t)}))}),Xh(function(t){var n=new Ap(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)}));var n,i}),wf(function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),tt(function(t){var n,i,r,a=(r=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){(u=i.value)._futureSnapshot=n.value;var r=function(e,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(e.shouldReuseRoute(u.value.snapshot,n.value))return t(e,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 t(e,n)})}(e,n,i);return new Sd(u,r)}var o=e.retrieve(n.value);if(o){var a=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;i<e.children.length;++i)t(e.children[i],n.children[i])}(n,a),a}var s,u=new Od(new zh((s=n.value).url),new zh(s.params),new zh(s.queryParams),new zh(s.fragment),new zh(s.data),s.outlet,s.component,s);return r=n.children.map(function(n){return t(e,n)}),new Sd(u,r)}(e.routeReuseStrategy,(n=t.targetSnapshot)._root,(i=t.currentRouterState)?i._root:void 0),new Td(r,n));return o({},t,{targetRouterState:a})}),Xh(function(t){e.currentUrlTree=t.urlAfterRedirects,e.rawUrlTree=e.urlHandlingStrategy.merge(e.currentUrlTree,t.rawUrl),e.routerState=t.targetRouterState,"deferred"!==e.urlUpdateStrategy||t.extras.skipLocationChange||e.setBrowserUrl(e.rawUrlTree,!!t.extras.replaceUrl,t.id)}),(i=e.rootContexts,r=e.routeReuseStrategy,a=function(t){return e.triggerEvent(t)},tt(function(t){return new Yd(r,t.targetRouterState,t.currentRouterState,a).activate(i),t})),Xh({next:function(){u=!0},complete:function(){u=!0}}),(s=function(){if(!u&&!c){e.resetUrlToCurrentUrlTree();var i=new Sp(t.id,e.serializeUrl(t.extractedUrl),"Navigation ID "+t.id+" is not equal to the current navigation id "+e.navigationId);n.next(i),t.resolve(!1)}},function(t){return t.lift(new bp(s))}),sp(function(i){if(c=!0,(a=i)&&a.ngNavigationCancelingError){e.navigated=!0,e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var r=new Sp(t.id,e.serializeUrl(t.extractedUrl),i.message);n.next(r),t.resolve(!1)}else{e.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);var o=new Ep(t.id,e.serializeUrl(t.extractedUrl),i);n.next(o);try{t.resolve(e.errorHandler(i))}catch(s){t.reject(s)}}var a;return au}))}))},t.prototype.resetRootComponentType=function(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType},t.prototype.getTransition=function(){return this.transitions.value},t.prototype.setTransition=function(t){this.transitions.next(o({},this.getTransition(),t))},t.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},t.prototype.setUpLocationChangeListener=function(){var t=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(e){var n=t.parseUrl(e.url),i="popstate"===e.type?"popstate":"hashchange",r=e.state&&e.state.navigationId?{navigationId:e.state.navigationId}:null;setTimeout(function(){t.scheduleNavigation(n,i,r,{replaceUrl:!0})},0)}))},Object.defineProperty(t.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),t.prototype.triggerEvent=function(t){this.events.next(t)},t.prototype.resetConfig=function(t){Wp(t),this.config=t.map(Yp),this.navigated=!1,this.lastSuccessfulId=-1},t.prototype.ngOnDestroy=function(){this.dispose()},t.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},t.prototype.createUrlTree=function(t,e){void 0===e&&(e={});var n=e.relativeTo,i=e.queryParams,r=e.fragment,a=e.preserveQueryParams,s=e.queryParamsHandling,l=e.preserveFragment;Hi()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,h=l?this.currentUrlTree.fragment:r,p=null;if(s)switch(s){case"merge":p=o({},this.currentUrlTree.queryParams,i);break;case"preserve":p=this.currentUrlTree.queryParams;break;default:p=i||null}else p=a?this.currentUrlTree.queryParams:i||null;return null!==p&&(p=this.removeEmptyProps(p)),function(t,e,n,i,r){if(0===n.length)return jd(e.root,e.root,e,i,r);var o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Vd(!0,0,t);var e=0,n=!1,i=t.reduce(function(t,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return $p(i.outlets,function(t,e){o[e]="string"==typeof t?t.split("/"):t}),c(t,[{outlets:o}])}if(i.segmentPath)return c(t,[i.segmentPath])}return"string"!=typeof i?c(t,[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?e++:""!=i&&t.push(i))}),t):c(t,[i])},[]);return new Vd(n,e,i)}(n);if(o.toRoot())return jd(e.root,new id([],{}),e,i,r);var a=function(t,n,i){if(t.isAbsolute)return new zd(e.root,!0,0);if(-1===i.snapshot._lastPathIndex)return new zd(i.snapshot._urlSegment,!0,0);var r=Ld(t.commands[0])?0:1;return function(e,n,o){for(var a=i.snapshot._urlSegment,s=i.snapshot._lastPathIndex+r,l=t.numberOfDoubleDots;l>s;){if(l-=s,!(a=a.parent))throw new Error("Invalid number of '../'");s=a.segments.length}return new zd(a,!1,s-l)}()}(o,0,t),s=a.processChildren?Bd(a.segmentGroup,a.index,o.commands):Ud(a.segmentGroup,a.index,o.commands);return jd(a.segmentGroup,s,e,i,r)}(u,this.currentUrlTree,t,p,h)},t.prototype.navigateByUrl=function(t,e){void 0===e&&(e={skipLocationChange:!1}),Hi()&&this.isNgZoneEnabled&&!Hr.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=t instanceof nd?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)},t.prototype.navigate=function(t,e){return void 0===e&&(e={skipLocationChange:!1}),function(t){for(var e=0;e<t.length;e++){var n=t[e];if(null==n)throw new Error("The requested path contains "+n+" segment at index "+e)}}(t),this.navigateByUrl(this.createUrlTree(t,e),e)},t.prototype.serializeUrl=function(t){return this.urlSerializer.serialize(t)},t.prototype.parseUrl=function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e},t.prototype.isActive=function(t,e){if(t instanceof nd)return ed(this.currentUrlTree,t,e);var n=this.parseUrl(t);return ed(this.currentUrlTree,n,e)},t.prototype.removeEmptyProps=function(t){return Object.keys(t).reduce(function(e,n){var i=t[n];return null!=i&&(e[n]=i),e},{})},t.prototype.processNavigations=function(){var t=this;this.navigations.subscribe(function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new kp(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),e.resolve(!0)},function(e){t.console.warn("Unhandled Navigation Error: ")})},t.prototype.scheduleNavigation=function(t,e,n,i){var r=this.getTransition();if(r&&"imperative"!==e&&"imperative"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"hashchange"==e&&"popstate"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(r&&"popstate"==e&&"hashchange"===r.source&&r.rawUrl.toString()===t.toString())return Promise.resolve(!0);var o=null,a=null,s=new Promise(function(t,e){o=t,a=e}),l=++this.navigationId;return this.setTransition({id:l,source:e,state:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(t){return Promise.reject(t)})},t.prototype.setBrowserUrl=function(t,e,n){var i=this.urlSerializer.serialize(t);this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",{navigationId:n}):this.location.go(i,"",{navigationId:n})},t.prototype.resetStateAndUrl=function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()},t.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},t}(),Rf=function(){function t(t,e,n,i,r){this.router=t,this.route=e,this.commands=[],null==n&&i.setAttribute(r.nativeElement,"tabindex","0")}return Object.defineProperty(t.prototype,"routerLink",{set:function(t){this.commands=null!=t?Array.isArray(t)?t:[t]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"preserveQueryParams",{set:function(t){Hi()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=t},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){var t={skipLocationChange:Df(this.skipLocationChange),replaceUrl:Df(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,t),!0},Object.defineProperty(t.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Df(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Df(this.preserveFragment)})},enumerable:!0,configurable:!0}),t}();function Df(t){return""===t||!!t}var Nf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new Mf,this.attachRef=null}}(),Mf=function(){function t(){this.contexts=new Map}return t.prototype.onChildOutletCreated=function(t,e){var n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)},t.prototype.onChildOutletDestroyed=function(t){var e=this.getContext(t);e&&(e.outlet=null)},t.prototype.onOutletDeactivated=function(){var t=this.contexts;return this.contexts=new Map,t},t.prototype.onOutletReAttached=function(t){this.contexts=t},t.prototype.getOrCreateContext=function(t){var e=this.getContext(t);return e||(e=new Nf,this.contexts.set(t,e)),e},t.prototype.getContext=function(t){return this.contexts.get(t)||null},t}(),Ff=function(){function t(t,e,n,i,r){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new Li,this.deactivateEvents=new Li,this.name=i||zp,t.onChildOutletCreated(this.name,this)}return t.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},t.prototype.ngOnInit=function(){if(!this.activated){var t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}},Object.defineProperty(t.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),t.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var t=this.activated;return this.activated=null,this._activatedRoute=null,t},t.prototype.attach=function(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)},t.prototype.deactivate=function(){if(this.activated){var t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}},t.prototype.activateWith=function(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;var n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Lf(t,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},t}(),Lf=function(){function t(t,e,n){this.route=t,this.childContexts=e,this.parent=n}return t.prototype.get=function(t,e){return t===Od?this.route:t===Mf?this.childContexts:this.parent.get(t,e)},t}(),jf=function(){return function(){}}(),Vf=function(){function t(){}return t.prototype.preload=function(t,e){return e().pipe(sp(function(){return uu(null)}))},t}(),zf=function(){function t(){}return t.prototype.preload=function(t,e){return uu(null)},t}(),Hf=function(){function t(t,e,n,i,r){this.router=t,this.injector=i,this.preloadingStrategy=r,this.loader=new Sf(e,n,function(e){return t.triggerEvent(new Rp(e))},function(e){return t.triggerEvent(new Dp(e))})}return t.prototype.setUpPreloading=function(){var t=this;this.subscription=this.router.events.pipe(hu(function(t){return t instanceof kp}),cu(function(){return t.preload()})).subscribe(function(){})},t.prototype.preload=function(){var t=this.injector.get(ii);return this.processRoutes(t,this.router.config)},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.processRoutes=function(t,e){var n,i,r=[];try{for(var o=l(e),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(t,s)):s.children&&r.push(this.processRoutes(t,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 rt(r).pipe(ct(),tt(function(t){}))},t.prototype.preloadConfig=function(t,e){var n=this;return this.preloadingStrategy.preload(e,function(){return n.loader.load(t.injector,e).pipe(ot(function(t){return e._loadedConfig=t,n.processRoutes(t.module,t.routes)}))})},t}(),Uf=function(){function t(t,e,n){void 0===n&&(n={}),this.router=t,this.viewportScroller=e,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 t.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},t.prototype.createScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof Cp?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof kp&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))})},t.prototype.consumeScrollEvents=function(){var t=this;return this.router.events.subscribe(function(e){e instanceof jp&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))})},t.prototype.scheduleScrollEvent=function(t,e){this.router.triggerEvent(new jp(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))},t.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},t}(),Bf=new Tt("ROUTER_CONFIGURATION"),qf=new Tt("ROUTER_FORROOT_GUARD"),Wf=[vu,{provide:sd,useClass:ld},{provide:Af,useFactory:$f,deps:[ro,sd,Mf,vu,Zt,ao,Nr,kf,Bf,[Ef,new Bt],[xf,new Bt]]},Mf,{provide:Od,useFactory:Jf,deps:[Af]},{provide:ao,useClass:co},Hf,zf,Vf,{provide:Bf,useValue:{enableTracing:!1}}];function Gf(){return new Jr("Router",Af)}var Kf=function(){function t(t,e){}var e;return e=t,t.forRoot=function(t,n){return{ngModule:e,providers:[Wf,Zf(t),{provide:qf,useFactory:Qf,deps:[[Af,new Bt,new Wt]]},{provide:Bf,useValue:n||{}},{provide:gu,useFactory:Xf,deps:[fu,[new Ut(yu),new Bt],Bf]},{provide:Uf,useFactory:Yf,deps:[Af,Xu,Bf]},{provide:jf,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:zf},{provide:Jr,multi:!0,useFactory:Gf},[tm,{provide:xr,multi:!0,useFactory:em,deps:[tm]},{provide:im,useFactory:nm,deps:[tm]},{provide:Or,multi:!0,useExisting:im}]]}},t.forChild=function(t){return{ngModule:e,providers:[Zf(t)]}},t}();function Yf(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Uf(t,e,n)}function Xf(t,e,n){return void 0===n&&(n={}),n.useHash?new bu(t,e):new wu(t,e)}function Qf(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Zf(t){return[{provide:Pt,multi:!0,useValue:t},{provide:kf,multi:!0,useValue:t}]}function $f(t,e,n,i,r,o,a,s,l,u,c){void 0===l&&(l={});var h=new Af(null,e,n,i,r,o,a,Qp(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var p=Pc();h.events.subscribe(function(t){p.logGroup("Router Event: "+t.constructor.name),p.log(t.toString()),p.log(t),p.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h}function Jf(t){return t.routerState.root}var tm=function(){function t(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new V}return t.prototype.appInitializer=function(){var t=this;return this.injector.get(mu,Promise.resolve(null)).then(function(){var e=null,n=new Promise(function(t){return e=t}),i=t.injector.get(Af),r=t.injector.get(Bf);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '"+r.initialNavigation+"'");i.hooks.afterPreactivation=function(){return t.initNavigation?uu(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()}return n})},t.prototype.bootstrapListener=function(t){var e=this.injector.get(Bf),n=this.injector.get(Hf),i=this.injector.get(Uf),r=this.injector.get(Af),o=this.injector.get(ro);t===o.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),r.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},t.prototype.isLegacyEnabled=function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation},t.prototype.isLegacyDisabled=function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation},t}();function em(t){return t.appInitializer.bind(t)}function nm(t){return t.bootstrapListener.bind(t)}var im=new Tt("Router Initializer"),rm=aa({encapsulation:2,styles:[],data:{}});function om(t){return Qs(0,[(t()(),Na(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),xs(1,212992,null,0,Ff,[Mf,fo,ti,[8,null],mo],null,null)],function(t,e){t(e,1,0)},null)}function am(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"ng-component",[],null,null,null,om,rm)),xs(1,49152,null,0,Vp,[],null,null)],null,null)}var sm=$a("ng-component",Vp,am,{},{},[]),lm=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),um=aa({encapsulation:0,styles:[[""]],data:{}});function cm(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ks(-1,null,[" api works!\n"]))],null,null)}function hm(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-api",[],null,null,null,cm,um)),xs(1,114688,null,0,lm,[],null,null)],function(t,e){t(e,1,0)},null)}var pm=$a("app-api",lm,hm,{},{},[]);function dm(t){return null!=t&&""+t!="false"}function fm(t,e){return void 0===e&&(e=0),function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function mm(t){return Array.isArray(t)?t:[t]}function gm(t){return null==t?"":"string"==typeof t?t:t+"px"}var ym,vm,_m="undefined"!=typeof Intl&&Intl.v8BreakIterator,bm=function(){function t(t){this._platformId=t,this.isBrowser=this._platformId?this._platformId===Ku:"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&&!_m)&&"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 t.ngInjectableDef=kt({factory:function(){return new t(pe(Ir,8))},token:t,providedIn:"root"}),t}(),wm=function(){return function(){}}(),xm=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Cm(){if(ym)return ym;if("object"!=typeof document||!document)return ym=new Set(xm);var t=document.createElement("input");return ym=new Set(xm.filter(function(e){return t.setAttribute("type",e),t.type===e}))}function km(){if(null==vm&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return vm=!0}}))}finally{vm=vm||!1}return vm}var Sm=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i.pending=!1,i}return r(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){if(void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(function(t){function e(e,n){return t.call(this)||this}return r(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(b)),Em=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),Tm=function(t){function e(n,i){void 0===i&&(i=Em.now);var r=t.call(this,n,function(){return e.delegate&&e.delegate!==r?e.delegate.now():i()})||this;return r.actions=[],r.active=!1,r.scheduled=void 0,r}return r(e,t),e.prototype.schedule=function(n,i,r){return void 0===i&&(i=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,i,r):t.prototype.schedule.call(this,n,i,r)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(Em),Im=new Tm(Sm);function Om(t,e){return void 0===e&&(e=Im),function(n){return n.lift(new Pm(t,e))}}var Pm=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new Am(t,this.dueTime,this.scheduler))},t}(),Am=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.dueTime=n,r.scheduler=i,r.debouncedSubscription=null,r.lastValue=null,r.hasValue=!1,r}return r(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Rm,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(T);function Rm(t){t.debouncedNext()}function Dm(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Nm=0,Mm=new Map,Fm=null,Lm=function(){function t(t){this._document=t}return t.prototype.describe=function(t,e){this._canBeDescribed(t,e)&&(Mm.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))},t.prototype.removeDescription=function(t,e){if(this._canBeDescribed(t,e)){this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e);var n=Mm.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e),Fm&&0===Fm.childNodes.length&&this._deleteMessagesContainer()}},t.prototype.ngOnDestroy=function(){for(var t=this._document.querySelectorAll("[cdk-describedby-host]"),e=0;e<t.length;e++)this._removeCdkDescribedByReferenceIds(t[e]),t[e].removeAttribute("cdk-describedby-host");Fm&&this._deleteMessagesContainer(),Mm.clear()},t.prototype._createMessageElement=function(t){var e=this._document.createElement("div");e.setAttribute("id","cdk-describedby-message-"+Nm++),e.appendChild(this._document.createTextNode(t)),this._createMessagesContainer(),Fm.appendChild(e),Mm.set(t,{messageElement:e,referenceCount:0})},t.prototype._deleteMessageElement=function(t){var e=Mm.get(t),n=e&&e.messageElement;Fm&&n&&Fm.removeChild(n),Mm.delete(t)},t.prototype._createMessagesContainer=function(){if(!Fm){var t=this._document.getElementById("cdk-describedby-message-container");t&&t.parentNode.removeChild(t),(Fm=this._document.createElement("div")).id="cdk-describedby-message-container",Fm.setAttribute("aria-hidden","true"),Fm.style.display="none",this._document.body.appendChild(Fm)}},t.prototype._deleteMessagesContainer=function(){Fm&&Fm.parentNode&&(Fm.parentNode.removeChild(Fm),Fm=null)},t.prototype._removeCdkDescribedByReferenceIds=function(t){var e=Dm(t,"aria-describedby").filter(function(t){return 0!=t.indexOf("cdk-describedby-message")});t.setAttribute("aria-describedby",e.join(" "))},t.prototype._addMessageReference=function(t,e){var n,i,r,o=Mm.get(e);i=o.messageElement.id,(r=Dm(n=t,"aria-describedby")).some(function(t){return t.trim()==i.trim()})||(r.push(i.trim()),n.setAttribute("aria-describedby",r.join(" "))),t.setAttribute("cdk-describedby-host",""),o.referenceCount++},t.prototype._removeMessageReference=function(t,e){var n,i,r,o=Mm.get(e);o.referenceCount--,i=o.messageElement.id,r=Dm(n=t,"aria-describedby").filter(function(t){return t!=i.trim()}),n.setAttribute("aria-describedby",r.join(" ")),t.removeAttribute("cdk-describedby-host")},t.prototype._isElementDescribedByMessage=function(t,e){var n=Dm(t,"aria-describedby"),i=Mm.get(e),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)},t.prototype._canBeDescribed=function(t,e){return t.nodeType===this._document.ELEMENT_NODE&&null!=e&&!!(""+e).trim()},t.ngInjectableDef=kt({factory:function(){return new t(pe(Gu))},token:t,providedIn:"root"}),t}(),jm=function(){function t(t){var e=this;this._items=t,this._activeItemIndex=-1,this._wrap=!1,this._letterKeyStream=new V,this._typeaheadSubscription=b.EMPTY,this._vertical=!0,this._skipPredicateFn=function(t){return t.disabled},this._pressedLetters=[],this.tabOut=new V,this.change=new V,t instanceof so&&t.changes.subscribe(function(t){if(e._activeItem){var n=t.toArray().indexOf(e._activeItem);n>-1&&n!==e._activeItemIndex&&(e._activeItemIndex=n)}})}return t.prototype.skipPredicate=function(t){return this._skipPredicateFn=t,this},t.prototype.withWrap=function(t){return void 0===t&&(t=!0),this._wrap=t,this},t.prototype.withVerticalOrientation=function(t){return void 0===t&&(t=!0),this._vertical=t,this},t.prototype.withHorizontalOrientation=function(t){return this._horizontal=t,this},t.prototype.withTypeAhead=function(t){var e=this;if(void 0===t&&(t=200),this._items.length&&this._items.some(function(t){return"function"!=typeof t.getLabel}))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Xh(function(t){return e._pressedLetters.push(t)}),Om(t),hu(function(){return e._pressedLetters.length>0}),tt(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i<n.length+1;i++){var r=(e._activeItemIndex+i)%n.length,o=n[r];if(!e._skipPredicateFn(o)&&0===o.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(r);break}}e._pressedLetters=[]}),this},t.prototype.setActiveItem=function(t){var e=this._activeItemIndex;this.updateActiveItem(t),this._activeItemIndex!==e&&this.change.next(this._activeItemIndex)},t.prototype.onKeydown=function(t){var e=t.keyCode;switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical){this.setNextItemActive();break}return;case 38:if(this._vertical){this.setPreviousItemActive();break}return;case 39:if("ltr"===this._horizontal){this.setNextItemActive();break}if("rtl"===this._horizontal){this.setPreviousItemActive();break}return;case 37:if("ltr"===this._horizontal){this.setPreviousItemActive();break}if("rtl"===this._horizontal){this.setNextItemActive();break}return;default:return void(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e)))}this._pressedLetters=[],t.preventDefault()},Object.defineProperty(t.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),t.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},t.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},t.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},t.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},t.prototype.updateActiveItem=function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t);this._activeItemIndex=n,this._activeItem=e[n]},t.prototype.updateActiveItemIndex=function(t){this.updateActiveItem(t)},t.prototype._setActiveItemByDelta=function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)},t.prototype._setActiveInWrapMode=function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}},t.prototype._setActiveInDefaultMode=function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)},t.prototype._setActiveItemByIndex=function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}},t.prototype._getItemsArray=function(){return this._items instanceof so?this._items.toArray():this._items},t}(),Vm=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setActiveItem=function(e){this.activeItem&&this.activeItem.setInactiveStyles(),t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.setActiveStyles()},e}(jm),zm=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._origin="program",e}return r(e,t),e.prototype.setFocusOrigin=function(t){return this._origin=t,this},e.prototype.setActiveItem=function(e){t.prototype.setActiveItem.call(this,e),this.activeItem&&this.activeItem.focus(this._origin)},e}(jm),Hm=function(){function t(t,e){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._unregisterGlobalListeners=function(){},this._monitoredElementCount=0}return t.prototype.monitor=function(t,e){var n=this;if(void 0===e&&(e=!1),!this._platform.isBrowser)return uu(null);var i=this._getNativeElement(t);if(this._elementInfo.has(i)){var r=this._elementInfo.get(i);return r.checkChildren=e,r.subject.asObservable()}var o={unlisten:function(){},checkChildren:e,subject:new V};this._elementInfo.set(i,o),this._incrementMonitoredElementCount();var a=function(t){return n._onFocus(t,i)},s=function(t){return n._onBlur(t,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()},t.prototype.stopMonitoring=function(t){var e=this._getNativeElement(t),n=this._elementInfo.get(e);n&&(n.unlisten(),n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._decrementMonitoredElementCount())},t.prototype.focusVia=function(t,e,n){var i=this._getNativeElement(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n)},t.prototype.ngOnDestroy=function(){var t=this;this._elementInfo.forEach(function(e,n){return t.stopMonitoring(n)})},t.prototype._registerGlobalListeners=function(){var t=this;if(this._platform.isBrowser){var e=function(){t._lastTouchTarget=null,t._setOriginForCurrentEventQueue("keyboard")},n=function(){t._lastTouchTarget||t._setOriginForCurrentEventQueue("mouse")},i=function(e){null!=t._touchTimeoutId&&clearTimeout(t._touchTimeoutId),t._lastTouchTarget=e.target,t._touchTimeoutId=setTimeout(function(){return t._lastTouchTarget=null},650)},r=function(){t._windowFocused=!0,t._windowFocusTimeoutId=setTimeout(function(){return t._windowFocused=!1})};this._ngZone.runOutsideAngular(function(){document.addEventListener("keydown",e,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("touchstart",i,!km()||{passive:!0,capture:!0}),window.addEventListener("focus",r)}),this._unregisterGlobalListeners=function(){document.removeEventListener("keydown",e,!0),document.removeEventListener("mousedown",n,!0),document.removeEventListener("touchstart",i,!km()||{passive:!0,capture:!0}),window.removeEventListener("focus",r),clearTimeout(t._windowFocusTimeoutId),clearTimeout(t._touchTimeoutId),clearTimeout(t._originTimeoutId)}}},t.prototype._toggleClass=function(t,e,n){n?t.classList.add(e):t.classList.remove(e)},t.prototype._setClasses=function(t,e){this._elementInfo.get(t)&&(this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e))},t.prototype._setOriginForCurrentEventQueue=function(t){var e=this;this._ngZone.runOutsideAngular(function(){e._origin=t,e._originTimeoutId=setTimeout(function(){return e._origin=null},1)})},t.prototype._wasCausedByTouch=function(t){var e=t.target;return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))},t.prototype._onFocus=function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===t.target)){var i=this._origin;i||(i=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"),this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}},t.prototype._onBlur=function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))},t.prototype._emitOrigin=function(t,e){this._ngZone.run(function(){return t.next(e)})},t.prototype._incrementMonitoredElementCount=function(){1==++this._monitoredElementCount&&this._registerGlobalListeners()},t.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(this._unregisterGlobalListeners(),this._unregisterGlobalListeners=function(){})},t.prototype._getNativeElement=function(t){return t instanceof pi?t.nativeElement:t},t.ngInjectableDef=kt({factory:function(){return new t(pe(Hr),pe(bm))},token:t,providedIn:"root"}),t}(),Um=function(){function t(t,e){var n=this;this._elementRef=t,this._focusMonitor=e,this.cdkFocusChange=new Li,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return n.cdkFocusChange.emit(t)})}return t.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},t}(),Bm=function(){return function(){}}(),qm=new Tt("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Wm=function(){function t(t,e){this._sanityChecksEnabled=t,this._hammerLoader=e,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 t.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&Hi()&&!this._isTestEnv()},t.prototype._isTestEnv=function(){var t=this._window;return t&&(t.__karma__||t.jasmine)},t.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.")},t.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var t=this._document.createElement("div");t.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(t);var e=getComputedStyle(t);e&&"none"!==e.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(t)}},t.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)},t}();function Gm(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.apply(this,e)||this;return i._disabled=!1,i}return r(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=dm(t)},enumerable:!0,configurable:!0}),e}(t)}function Km(t,e){return function(t){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return r.color=e,r}return r(n,t),Object.defineProperty(n.prototype,"color",{get:function(){return this._color},set:function(t){var n=t||e;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}(t)}function Ym(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.apply(this,e)||this;return i._disableRipple=!1,i}return r(e,t),Object.defineProperty(e.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(t){this._disableRipple=dm(t)},enumerable:!0,configurable:!0}),e}(t)}function Xm(t,e){return void 0===e&&(e=0),function(t){function n(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r=t.apply(this,n)||this;return r._tabIndex=e,r}return r(n,t),Object.defineProperty(n.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(t){this._tabIndex=null!=t?t:e},enumerable:!0,configurable:!0}),n}(t)}function Qm(t){return function(t){function e(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=t.apply(this,e)||this;return i.errorState=!1,i.stateChanges=new V,i}return r(e,t),e.prototype.updateErrorState=function(){var t=this.errorState,e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);e!==t&&(this.errorState=e,this.stateChanges.next())},e}(t)}var Zm=function(){function t(){}return t.prototype.isErrorState=function(t,e){return!!(t&&t.invalid&&(t.touched||e&&e.submitted))},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),$m=new Tt("MAT_HAMMER_OPTIONS"),Jm=["longpress","slide","slidestart","slideend","slideright","slideleft"],tg={on:function(){},off:function(){}},eg=function(t){function e(e,n){var i=t.call(this)||this;return i._hammerOptions=e,i.events=Jm,n&&n._checkHammerIsAvailable(),i}return r(e,t),e.prototype.buildHammer=function(t){var e="undefined"!=typeof window?window.Hammer:null;if(!e)return tg;var n=new e(t,this._hammerOptions||void 0),i=new e.Pan,r=new e.Swipe,o=new e.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},e.prototype._createRecognizer=function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var r=new t.constructor(e);return n.push(t),n.forEach(function(t){return r.recognizeWith(t)}),r},e}(xh),ng=function(){function t(t,e){var n=this;this._lines=t,this._element=e,this._setLineClass(this._lines.length),this._lines.changes.subscribe(function(){n._setLineClass(n._lines.length)})}return t.prototype._setLineClass=function(t){this._resetClasses(),2===t||3===t?this._setClass("mat-"+t+"-line",!0):t>3&&this._setClass("mat-multi-line",!0)},t.prototype._resetClasses=function(){this._setClass("mat-2-line",!1),this._setClass("mat-3-line",!1),this._setClass("mat-multi-line",!1)},t.prototype._setClass=function(t,e){e?this._element.nativeElement.classList.add(t):this._element.nativeElement.classList.remove(t)},t}(),ig=function(){return function(){}}(),rg=function(){var t={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return t[t.FADING_IN]="FADING_IN",t[t.VISIBLE]="VISIBLE",t[t.FADING_OUT]="FADING_OUT",t[t.HIDDEN]="HIDDEN",t}(),og=function(){function t(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=rg.HIDDEN}return t.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},t}(),ag={enterDuration:450,exitDuration:400},sg=800,lg=function(){function t(t,e,n,i){var r=this;this._target=t,this._ngZone=e,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._eventOptions=!!km()&&{passive:!0},this.onMousedown=function(t){var e=function(t){return 0===t.buttons}(t),n=r._lastTouchStartEvent&&Date.now()<r._lastTouchStartEvent+sg;r._target.rippleDisabled||e||n||(r._isPointerDown=!0,r.fadeInRipple(t.clientX,t.clientY,r._target.rippleConfig))},this.onTouchStart=function(t){if(!r._target.rippleDisabled){r._lastTouchStartEvent=Date.now(),r._isPointerDown=!0;for(var e=t.changedTouches,n=0;n<e.length;n++)r.fadeInRipple(e[n].clientX,e[n].clientY,r._target.rippleConfig)}},this.onPointerUp=function(){r._isPointerDown&&(r._isPointerDown=!1,r._activeRipples.forEach(function(t){!t.config.persistent&&(t.state===rg.VISIBLE||t.config.terminateOnPointerUp&&t.state===rg.FADING_IN)&&t.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 t.prototype.fadeInRipple=function(t,e,n){var i=this;void 0===n&&(n={});var r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=o({},ag,n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var s=n.radius||function(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}(t,e,r),l=t-r.left,u=e-r.top,c=a.enterDuration,h=document.createElement("div");h.classList.add("mat-ripple-element"),h.style.left=l-s+"px",h.style.top=u-s+"px",h.style.height=2*s+"px",h.style.width=2*s+"px",h.style.backgroundColor=n.color||null,h.style.transitionDuration=c+"ms",this._containerElement.appendChild(h),window.getComputedStyle(h).getPropertyValue("opacity"),h.style.transform="scale(1)";var p=new og(this,h,n);return p.state=rg.FADING_IN,this._activeRipples.add(p),n.persistent||(this._mostRecentTransientRipple=p),this.runTimeoutOutsideZone(function(){var t=p===i._mostRecentTransientRipple;p.state=rg.VISIBLE,n.persistent||t&&i._isPointerDown||p.fadeOut()},c),p},t.prototype.fadeOutRipple=function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=o({},ag,t.config.animation);n.style.transitionDuration=i.exitDuration+"ms",n.style.opacity="0",t.state=rg.FADING_OUT,this.runTimeoutOutsideZone(function(){t.state=rg.HIDDEN,n.parentNode.removeChild(n)},i.exitDuration)}},t.prototype.fadeOutAll=function(){this._activeRipples.forEach(function(t){return t.fadeOut()})},t.prototype.setupTriggerEvents=function(t){var e=this;t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular(function(){e._triggerEvents.forEach(function(n,i){return t.addEventListener(i,n,e._eventOptions)})}),this._triggerElement=t)},t.prototype.runTimeoutOutsideZone=function(t,e){void 0===e&&(e=0),this._ngZone.runOutsideAngular(function(){return setTimeout(t,e)})},t.prototype._removeTriggerEvents=function(){var t=this;this._triggerElement&&this._triggerEvents.forEach(function(e,n){t._triggerElement.removeEventListener(n,e,t._eventOptions)})},t}(),ug=new Tt("mat-ripple-global-options"),cg=function(){function t(t,e,n,i,r){this._elementRef=t,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new lg(this,e,t,n),"NoopAnimations"===r&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},t.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},t.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(t.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(t.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),t.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},t.prototype.launch=function(t,e,n){return void 0===e&&(e=0),"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,o({},this.rippleConfig,n)):this._rippleRenderer.fadeInRipple(0,0,o({},this.rippleConfig,t))},t}(),hg=function(){return function(){}}(),pg=function(){return function(t){this._animationMode=t,this.state="unchecked",this.disabled=!1}}(),dg=function(){return function(){}}(),fg=0,mg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._labelId="mat-optgroup-label-"+fg++,e}return r(e,t),e}(Gm(function(){return function(){}}())),gg=0,yg=function(){return function(t,e){void 0===e&&(e=!1),this.source=t,this.isUserInput=e}}(),vg=new Tt("MAT_OPTION_PARENT_COMPONENT"),_g=function(){function t(t,e,n,i){this._element=t,this._changeDetectorRef=e,this._parent=n,this.group=i,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+gg++,this.onSelectionChange=new Li,this._stateChanges=new V}return Object.defineProperty(t.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),t.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},t.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},t.prototype.focus=function(){var t=this._getHostElement();"function"==typeof t.focus&&t.focus()},t.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},t.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},t.prototype.getLabel=function(){return this.viewValue},t.prototype._handleKeydown=function(t){13!==t.keyCode&&32!==t.keyCode||(this._selectViaInteraction(),t.preventDefault())},t.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},t.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},t.prototype._getHostElement=function(){return this._element.nativeElement},t.prototype.ngAfterViewChecked=function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}},t.prototype.ngOnDestroy=function(){this._stateChanges.complete()},t.prototype._emitSelectionChangeEvent=function(t){void 0===t&&(t=!1),this.onSelectionChange.emit(new yg(this,t))},t}();function bg(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),o=0,a=0;a<t+1;a++)i[a].group&&i[a].group===r[o]&&o++;return o}return 0}var wg=function(){return function(){}}(),xg=new Tt("mat-label-global-options"),Cg="accent",kg=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],Sg=function(t){function e(e,n,i,r){var o=t.call(this,e)||this;o._platform=n,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=kg;a<s.length;a++){var l=s[a];o._hasHostAttributes(l)&&e.nativeElement.classList.add(l)}return o._focusMonitor.monitor(o._elementRef,!0),o.isRoundButton&&(o.color=Cg),o}return r(e,t),e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},e.prototype.focus=function(){this._getHostElement().focus()},e.prototype._getHostElement=function(){return this._elementRef.nativeElement},e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._hasHostAttributes=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return e.some(function(e){return t._getHostElement().hasAttribute(e)})},e}(Km(Gm(Ym(function(){return function(t){this._elementRef=t}}())))),Eg=function(){return function(){}}(),Tg=new Tt("cdk-dir-doc",{providedIn:"root",factory:function(){return pe(Gu)}}),Ig=function(){function t(t){if(this.value="ltr",this.change=new Li,t){var e=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===e||"rtl"===e?e:"ltr"}}return t.prototype.ngOnDestroy=function(){this.change.complete()},t.ngInjectableDef=kt({factory:function(){return new t(pe(Tg,8))},token:t,providedIn:"root"}),t}(),Og=function(){return function(){}}(),Pg=function(){return function(){}}(),Ag=function(){return function(){}}(),Rg="*";function Dg(t,e){return void 0===e&&(e=null),{type:2,steps:t,options:e}}function Ng(t){return{type:6,styles:t,offset:null}}function Mg(t){Promise.resolve(null).then(t)}var Fg=function(){function t(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+e}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.init=function(){},t.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},t.prototype.triggerMicrotask=function(){var t=this;Mg(function(){return t._onFinish()})},t.prototype._onStart=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.pause=function(){},t.prototype.restart=function(){},t.prototype.finish=function(){this._onFinish()},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){},t.prototype.setPosition=function(t){},t.prototype.getPosition=function(){return 0},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Lg=function(){function t(t){var e=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var n=0,i=0,r=0,o=this.players.length;0==o?Mg(function(){return e._onFinish()}):this.players.forEach(function(t){t.onDone(function(){++n==o&&e._onFinish()}),t.onDestroy(function(){++i==o&&e._onDestroy()}),t.onStart(function(){++r==o&&e._onStart()})}),this.totalTime=this.players.reduce(function(t,e){return Math.max(t,e.totalTime)},0)}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this.players.forEach(function(t){return t.init()})},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})},t.prototype.pause=function(){this.players.forEach(function(t){return t.pause()})},t.prototype.restart=function(){this.players.forEach(function(t){return t.restart()})},t.prototype.finish=function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})},t.prototype.destroy=function(){this._onDestroy()},t.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.reset=function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype.setPosition=function(t){var e=t*this.totalTime;this.players.forEach(function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})},t.prototype.getPosition=function(){var t=0;return this.players.forEach(function(e){var n=e.getPosition();t=Math.min(n,t)}),t},t.prototype.beforeDestroy=function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),jg="!";function Vg(){return"undefined"!=typeof process}function zg(t){switch(t.length){case 0:return new Fg;case 1:return t[0];default:return new Lg(t)}}function Hg(t,e,n,i,r,o){void 0===r&&(r={}),void 0===o&&(o={});var a=[],s=[],l=-1,u=null;if(i.forEach(function(t){var n=t.offset,i=n==l,c=i&&u||{};Object.keys(t).forEach(function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,a),s){case jg:s=r[n];break;case Rg:s=o[n];break;default:s=e.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 Ug(t,e,n,i){switch(e){case"start":t.onStart(function(){return i(n&&Bg(n,"start",t))});break;case"done":t.onDone(function(){return i(n&&Bg(n,"done",t))});break;case"destroy":t.onDestroy(function(){return i(n&&Bg(n,"destroy",t))})}}function Bg(t,e,n){var i=n.totalTime,r=qg(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),o=t._data;return null!=o&&(r._data=o),r}function qg(t,e,n,i,r,o,a){return void 0===r&&(r=""),void 0===o&&(o=0),{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Wg(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function Gg(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var Kg=function(t,e){return!1},Yg=function(t,e){return!1},Xg=function(t,e,n){return[]},Qg=Vg();if(Qg||"undefined"!=typeof Element){if(Kg=function(t,e){return t.contains(e)},Qg||Element.prototype.matches)Yg=function(t,e){return t.matches(e)};else{var Zg=Element.prototype,$g=Zg.matchesSelector||Zg.mozMatchesSelector||Zg.msMatchesSelector||Zg.oMatchesSelector||Zg.webkitMatchesSelector;$g&&(Yg=function(t,e){return $g.apply(t,[e])})}Xg=function(t,e,n){var i=[];if(n)i.push.apply(i,c(t.querySelectorAll(e)));else{var r=t.querySelector(e);r&&i.push(r)}return i}}var Jg=null,ty=!1;function ey(t){Jg||(Jg=("undefined"!=typeof document?document.body:null)||{},ty=!!Jg.style&&"WebkitAppearance"in Jg.style);var e=!0;return Jg.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in Jg.style)&&ty&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in Jg.style),e}var ny=Yg,iy=Kg,ry=Xg;function oy(t){var e={};return Object.keys(t).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]}),e}var ay=function(){function t(){}return t.prototype.validateStyleProperty=function(t){return ey(t)},t.prototype.matchesElement=function(t,e){return ny(t,e)},t.prototype.containsElement=function(t,e){return iy(t,e)},t.prototype.query=function(t,e,n){return ry(t,e,n)},t.prototype.computeStyle=function(t,e,n){return n||""},t.prototype.animate=function(t,e,n,i,r,o,a){return void 0===o&&(o=[]),new Fg(n,i)},t}(),sy=function(){function t(){}return t.NOOP=new ay,t}(),ly=1e3;function uy(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:cy(parseFloat(e[1]),e[2])}function cy(t,e){switch(e){case"s":return t*ly;default:return t}}function hy(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,o="";if("string"==typeof t){var a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return e.push('The provided timing value "'+t+'" is invalid.'),{duration:0,delay:0,easing:""};i=cy(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(r=cy(Math.floor(parseFloat(s)),a[4]));var l=a[5];l&&(o=l)}else i=t;if(!n){var u=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'+t+'" is invalid.')}return{duration:i,delay:r,easing:o}}(t,e,n)}function py(t,e){return void 0===e&&(e={}),Object.keys(t).forEach(function(n){e[n]=t[n]}),e}function dy(t,e,n){if(void 0===n&&(n={}),e)for(var i in t)n[i]=t[i];else py(t,n);return n}function fy(t,e,n){return n?e+":"+n+";":""}function my(t){for(var e="",n=0;n<t.style.length;n++)e+=fy(0,i=t.style.item(n),t.style.getPropertyValue(i));for(var i in t.style)t.style.hasOwnProperty(i)&&!i.startsWith("_")&&(e+=fy(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.style[i]));t.setAttribute("style",e)}function gy(t,e){t.style&&(Object.keys(e).forEach(function(n){var i=ky(n);t.style[i]=e[n]}),Vg()&&my(t))}function yy(t,e){t.style&&(Object.keys(e).forEach(function(e){var n=ky(e);t.style[n]=""}),Vg()&&my(t))}function vy(t){return Array.isArray(t)?1==t.length?t[0]:Dg(t):t}var _y=new RegExp("{{\\s*(.+?)\\s*}}","g");function by(t){var e=[];if("string"==typeof t){for(var n=t.toString(),i=void 0;i=_y.exec(n);)e.push(i[1]);_y.lastIndex=0}return e}function wy(t,e,n){var i=t.toString(),r=i.replace(_y,function(t,i){var r=e[i];return e.hasOwnProperty(i)||(n.push("Please provide a value for the animation param "+i),r=""),r.toString()});return r==i?t:r}function xy(t){for(var e=[],n=t.next();!n.done;)e.push(n.value),n=t.next();return e}var Cy=/-+([a-z0-9])/g;function ky(t){return t.replace(Cy,function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return t[1].toUpperCase()})}function Sy(t,e){return 0===t||0===e}function Ey(t,e,n){var i=Object.keys(n);if(i.length&&e.length){var r=e[0],o=[];if(i.forEach(function(t){r.hasOwnProperty(t)||o.push(t),r[t]=n[t]}),o.length)for(var a=function(){var n=e[s];o.forEach(function(e){n[e]=Iy(t,e)})},s=1;s<e.length;s++)a()}return e}function Ty(t,e,n){switch(e.type){case 7:return t.visitTrigger(e,n);case 0:return t.visitState(e,n);case 1:return t.visitTransition(e,n);case 2:return t.visitSequence(e,n);case 3:return t.visitGroup(e,n);case 4:return t.visitAnimate(e,n);case 5:return t.visitKeyframes(e,n);case 6:return t.visitStyle(e,n);case 8:return t.visitReference(e,n);case 9:return t.visitAnimateChild(e,n);case 10:return t.visitAnimateRef(e,n);case 11:return t.visitQuery(e,n);case 12:return t.visitStagger(e,n);default:throw new Error("Unable to resolve animation metadata node #"+e.type)}}function Iy(t,e){return window.getComputedStyle(t)[e]}var Oy="*",Py=new Set(["true","1"]),Ay=new Set(["false","0"]);function Ry(t,e){var n=Py.has(t)||Ay.has(t),i=Py.has(e)||Ay.has(e);return function(r,o){var a=t==Oy||t==r,s=e==Oy||e==o;return!a&&n&&"boolean"==typeof r&&(a=r?Py.has(t):Ay.has(t)),!s&&i&&"boolean"==typeof o&&(s=o?Py.has(e):Ay.has(e)),a&&s}}var Dy=new RegExp("s*:selfs*,?","g");function Ny(t,e,n){return new My(t).build(e,n)}var My=function(){function t(t){this._driver=t}return t.prototype.build=function(t,e){var n=new Fy(e);return this._resetContextStyleTimingState(n),Ty(this,vy(t),n)},t.prototype._resetContextStyleTimingState=function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0},t.prototype.visitTrigger=function(t,e){var n=this,i=e.queryCount=0,r=e.depCount=0,o=[],a=[];return"@"==t.name.charAt(0)&&e.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(t){if(n._resetContextStyleTimingState(e),0==t.type){var s=t,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(t){s.name=t,o.push(n.visitState(s,e))}),s.name=l}else if(1==t.type){var u=n.visitTransition(t,e);i+=u.queryCount,r+=u.depCount,a.push(u)}else e.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:o,transitions:a,queryCount:i,depCount:r,options:null}},t.prototype.visitState=function(t,e){var n=this.visitStyle(t.styles,e),i=t.options&&t.options.params||null;if(n.containsDynamicStyles){var r=new Set,o=i||{};if(n.styles.forEach(function(t){if(Ly(t)){var e=t;Object.keys(e).forEach(function(t){by(e[t]).forEach(function(t){o.hasOwnProperty(t)||r.add(t)})})}}),r.size){var a=xy(r.values());e.errors.push('state("'+t.name+'", ...) must define default values for all the following style substitutions: '+a.join(", "))}}return{type:0,name:t.name,style:n,options:i?{params:i}:null}},t.prototype.visitTransition=function(t,e){e.queryCount=0,e.depCount=0;var n,i,r,o=Ty(this,vy(t.animation),e);return{type:1,matchers:(n=t.expr,i=e.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(t){return function(t,e,n){if(":"==t[0]){var i=function(t,e){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e)<parseFloat(t)};default:return e.push('The transition alias value "'+t+'" is not supported'),"* => *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'+t+'" is not supported'),e;var o=r[1],a=r[2],s=r[3];e.push(Ry(o,s)),"<"!=a[0]||o==Oy&&s==Oy||e.push(Ry(s,o))}(t,r,i)}):r.push(n),r),animation:o,queryCount:e.queryCount,depCount:e.depCount,options:jy(t.options)}},t.prototype.visitSequence=function(t,e){var n=this;return{type:2,steps:t.steps.map(function(t){return Ty(n,t,e)}),options:jy(t.options)}},t.prototype.visitGroup=function(t,e){var n=this,i=e.currentTime,r=0,o=t.steps.map(function(t){e.currentTime=i;var o=Ty(n,t,e);return r=Math.max(r,e.currentTime),o});return e.currentTime=r,{type:3,steps:o,options:jy(t.options)}},t.prototype.visitAnimate=function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Vy(hy(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some(function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)})){var r=Vy(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Vy((n=n||hy(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Ng({});if(5==r.type)n=this.visitKeyframes(r,e);else{var o=t.styles,a=!1;if(!o){a=!0;var s={};i.easing&&(s.easing=i.easing),o=Ng(s)}e.currentTime+=i.duration+i.delay;var l=this.visitStyle(o,e);l.isEmptyStep=a,n=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}},t.prototype.visitStyle=function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n},t.prototype._makeStyleAst=function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach(function(t){"string"==typeof t?t==Rg?n.push(t):e.errors.push("The provided style string value "+t+" is not allowed."):n.push(t)}):n.push(t.styles);var i=!1,r=null;return n.forEach(function(t){if(Ly(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var o in e)if(e[o].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}},t.prototype._validateStyleAst=function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,o=e.currentTime;i&&o>0&&(o-=i.duration+i.delay),t.styles.forEach(function(t){"string"!=typeof t&&Object.keys(t).forEach(function(i){if(n._driver.validateStyleProperty(i)){var a,s,l,u=e.collectedStyles[e.currentQuerySelector],c=u[i],h=!0;c&&(o!=r&&o>=c.startTime&&r<=c.endTime&&(e.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"'),h=!1),o=c.startTime),h&&(u[i]={startTime:o,endTime:r}),e.options&&(a=e.errors,s=e.options.params||{},(l=by(t[i])).length&&l.forEach(function(t){s.hasOwnProperty(t)||a.push("Unable to resolve the local animation param "+t+" in the given list of values")}))}else e.errors.push('The provided animation property "'+i+'" is not a supported CSS property for animations')})})},t.prototype.visitKeyframes=function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,o=[],a=!1,s=!1,l=0,u=t.steps.map(function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach(function(t){if(Ly(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}});else if(Ly(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(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&&e.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&e.errors.push("Please ensure that all keyframe offsets are in order");var c=t.steps.length,h=0;r>0&&r<c?e.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(h=1/(c-1));var p=c-1,d=e.currentTime,f=e.currentAnimateTimings,m=f.duration;return u.forEach(function(t,r){var a=h>0?r==p?1:h*r:o[r],s=a*m;e.currentTime=d+f.delay+s,f.duration=s,n._validateStyleAst(t,e),t.offset=a,i.styles.push(t)}),i},t.prototype.visitReference=function(t,e){return{type:8,animation:Ty(this,vy(t.animation),e),options:jy(t.options)}},t.prototype.visitAnimateChild=function(t,e){return e.depCount++,{type:9,options:jy(t.options)}},t.prototype.visitAnimateRef=function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:jy(t.options)}},t.prototype.visitQuery=function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=u(function(t){var e=!!t.split(/\s*,\s*/).find(function(t){return":self"==t});return e&&(t=t.replace(Dy,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,function(t){return".ng-trigger-"+t.substr(1)}).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),o=r[0],a=r[1];e.currentQuerySelector=n.length?n+" "+o:o,Wg(e.collectedStyles,e.currentQuerySelector,{});var s=Ty(this,vy(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:a,animation:s,originalSelector:t.selector,options:jy(t.options)}},t.prototype.visitStagger=function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:hy(t.timings,e.errors,!0);return{type:12,animation:Ty(this,vy(t.animation),e),timings:n,options:null}},t}(),Fy=function(){return function(t){this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function Ly(t){return!Array.isArray(t)&&"object"==typeof t}function jy(t){var e;return t?(t=py(t)).params&&(t.params=(e=t.params)?py(e):null):t={},t}function Vy(t,e,n){return{duration:t,delay:e,easing:n}}function zy(t,e,n,i,r,o,a,s){return void 0===a&&(a=null),void 0===s&&(s=!1),{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var Hy=function(){function t(){this._map=new Map}return t.prototype.consume=function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e},t.prototype.append=function(t,e){var n=this._map.get(t);n||this._map.set(t,n=[]),n.push.apply(n,c(e))},t.prototype.has=function(t){return this._map.has(t)},t.prototype.clear=function(){this._map.clear()},t}(),Uy=new RegExp(":enter","g"),By=new RegExp(":leave","g");function qy(t,e,n,i,r,o,a,s,l,u){return void 0===o&&(o={}),void 0===a&&(a={}),void 0===u&&(u=[]),(new Wy).buildKeyframes(t,e,n,i,r,o,a,s,l,u)}var Wy=function(){function t(){}return t.prototype.buildKeyframes=function(t,e,n,i,r,o,a,s,l,u){void 0===u&&(u=[]),l=l||new Hy;var c=new Ky(t,e,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([o],null,c.errors,s),Ty(this,n,c);var h=c.timelines.filter(function(t){return t.containsAnimation()});if(h.length&&Object.keys(a).length){var p=h[h.length-1];p.allowOnlyTimelineStyles()||p.setStyles([a],null,c.errors,s)}return h.length?h.map(function(t){return t.buildKeyframes()}):[zy(e,[],[],[],0,0,"",!1)]},t.prototype.visitTrigger=function(t,e){},t.prototype.visitState=function(t,e){},t.prototype.visitTransition=function(t,e){},t.prototype.visitAnimateChild=function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,o=this._visitSubInstructions(n,i,i.options);r!=o&&e.transformIntoNewTimeline(o)}e.previousNode=t},t.prototype.visitAnimateRef=function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t},t.prototype._visitSubInstructions=function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?uy(n.duration):null,o=null!=n.delay?uy(n.delay):null;return 0!==r&&t.forEach(function(t){var n=e.appendInstructionToTimeline(t,r,o);i=Math.max(i,n.duration+n.delay)}),i},t.prototype.visitReference=function(t,e){e.updateOptions(t.options,!0),Ty(this,t.animation,e),e.previousNode=t},t.prototype.visitSequence=function(t,e){var n=this,i=e.subContextCount,r=e,o=t.options;if(o&&(o.params||o.delay)&&((r=e.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Gy);var a=uy(o.delay);r.delayNextStep(a)}t.steps.length&&(t.steps.forEach(function(t){return Ty(n,t,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t},t.prototype.visitGroup=function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,o=t.options&&t.options.delay?uy(t.options.delay):0;t.steps.forEach(function(a){var s=e.createSubContext(t.options);o&&s.delayNextStep(o),Ty(n,a,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)}),e.transformIntoNewTimeline(r),e.previousNode=t},t.prototype._visitTiming=function(t,e){if(t.dynamic){var n=t.strValue;return hy(e.params?wy(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}},t.prototype.visitAnimate=function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t},t.prototype.visitStyle=function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t},t.prototype.visitKeyframes=function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,o=e.createSubContext().currentTimeline;o.easing=n.easing,t.styles.forEach(function(t){o.forwardTime((t.offset||0)*r),o.setStyles(t.styles,t.easing,e.errors,e.options),o.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(o),e.transformIntoNewTimeline(i+r),e.previousNode=t},t.prototype.visitQuery=function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},o=r.delay?uy(r.delay):0;o&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Gy);var a=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);o&&s.delayNextStep(o),i===e.element&&(l=s.currentTimeline),Ty(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(a),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t},t.prototype.visitStagger=function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,o=Math.abs(r.duration),a=o*(e.currentQueryTotal-1),s=o*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Ty(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)},t}(),Gy={},Ky=function(){function t(t,e,n,i,r,o,a,s){this._driver=t,this.element=e,this.subInstructions=n,this._enterClassName=i,this._leaveClassName=r,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Gy,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=s||new Yy(this._driver,e,0),a.push(this.currentTimeline)}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.updateOptions=function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=uy(i.duration)),null!=i.delay&&(r.delay=uy(i.delay));var o=i.params;if(o){var a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(function(t){e&&a.hasOwnProperty(t)||(a[t]=wy(o[t],a,n.errors))})}}},t.prototype._copyOptions=function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach(function(t){n[t]=e[t]})}}return t},t.prototype.createSubContext=function(e,n,i){void 0===e&&(e=null);var r=n||this.element,o=new t(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(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o},t.prototype.transformIntoNewTimeline=function(t){return this.previousNode=Gy,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline},t.prototype.appendInstructionToTimeline=function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new Xy(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i},t.prototype.incrementTime=function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)},t.prototype.delayNextStep=function(t){t>0&&this.currentTimeline.delayNextStep(t)},t.prototype.invokeQuery=function(t,e,n,i,r,o){var a=[];if(i&&a.push(this.element),t.length>0){t=(t=t.replace(Uy,"."+this._enterClassName)).replace(By,"."+this._leaveClassName);var s=this._driver.query(this.element,t,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("'+e+'")` returned zero elements. (Use `query("'+e+'", { optional: true })` if you wish to allow this.)'),a},t}(),Yy=function(){function t(t,e,n,i){this._driver=t,this.element=e,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(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}return t.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},t.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(t.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),t.prototype.delayNextStep=function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t},t.prototype.fork=function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)},t.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},t.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},t.prototype.forwardTime=function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()},t.prototype._updateStyle=function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}},t.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},t.prototype.applyEmptyStep=function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(t){e._backFill[t]=e._globalTimelineStyles[t]||Rg,e._currentKeyframe[t]=Rg}),this._currentEmptyStepKeyframe=this._currentKeyframe},t.prototype.setStyles=function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var o=i&&i.params||{},a=function(t,e){var n,i={};return t.forEach(function(t){"*"===t?(n=n||Object.keys(e)).forEach(function(t){i[t]=Rg}):dy(t,!1,i)}),i}(t,this._globalTimelineStyles);Object.keys(a).forEach(function(t){var e=wy(a[t],o,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:Rg),r._updateStyle(t,e)})},t.prototype.applyStylesToKeyframe=function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach(function(n){t._currentKeyframe[n]=e[n]}),Object.keys(this._localTimelineStyles).forEach(function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])}))},t.prototype.snapshotCurrentStyles=function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)})},t.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(t.prototype,"properties",{get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t},enumerable:!0,configurable:!0}),t.prototype.mergeTimelineCollectedStyles=function(t){var e=this;Object.keys(t._styleSummary).forEach(function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)})},t.prototype.buildKeyframes=function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(o,a){var s=dy(o,!0);Object.keys(s).forEach(function(t){var i=s[t];i==jg?e.add(t):i==Rg&&n.add(t)}),i||(s.offset=a/t.duration),r.push(s)});var o=e.size?xy(e.values()):[],a=n.size?xy(n.values()):[];if(i){var s=r[0],l=py(s);s.offset=0,l.offset=1,r=[s,l]}return zy(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)},t}(),Xy=function(t){function e(e,n,i,r,o,a,s){void 0===s&&(s=!1);var l=t.call(this,e,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(e,t),e.prototype.containsAnimation=function(){return this.keyframes.length>1},e.prototype.buildKeyframes=function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=i+n,s=n/a,l=dy(t[0],!1);l.offset=0,o.push(l);var u=dy(t[0],!1);u.offset=Qy(s),o.push(u);for(var c=t.length-1,h=1;h<=c;h++){var p=dy(t[h],!1);p.offset=Qy((n+p.offset*i)/a),o.push(p)}i=a,n=0,r="",t=o}return zy(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)},e}(Yy);function Qy(t,e){void 0===e&&(e=3);var n=Math.pow(10,e-1);return Math.round(t*n)/n}var Zy=function(){return function(){}}(),$y=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.normalizePropertyName=function(t,e){return ky(t)},e.prototype.normalizeStyleValue=function(t,e,n,i){var r="",o=n.toString().trim();if(Jy[e]&&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 "+t+":"+n)}return o+r},e}(Zy),Jy=tv("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 tv(t){var e={};return t.forEach(function(t){return e[t]=!0}),e}function ev(t,e,n,i,r,o,a,s,l,u,c,h,p){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:o,toState:i,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:h,errors:p}}var nv={},iv=function(){function t(t,e,n){this._triggerName=t,this.ast=e,this._stateStyles=n}return t.prototype.match=function(t,e,n,i){return function(t,e,n,i,r){return t.some(function(t){return t(e,n,i,r)})}(this.ast.matchers,t,e,n,i)},t.prototype.buildStyles=function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],o=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):o},t.prototype.build=function(t,e,n,i,r,a,s,l,u,c){var h=[],p=this.ast.options&&this.ast.options.params||nv,d=this.buildStyles(n,s&&s.params||nv,h),f=l&&l.params||nv,m=this.buildStyles(i,f,h),g=new Set,y=new Map,v=new Map,_="void"===i,b={params:o({},p,f)},w=c?[]:qy(t,e,this.ast.animation,r,a,d,m,b,u,h),x=0;if(w.forEach(function(t){x=Math.max(t.duration+t.delay,x)}),h.length)return ev(e,this._triggerName,n,i,_,d,m,[],[],y,v,x,h);w.forEach(function(t){var n=t.element,i=Wg(y,n,{});t.preStyleProps.forEach(function(t){return i[t]=!0});var r=Wg(v,n,{});t.postStyleProps.forEach(function(t){return r[t]=!0}),n!==e&&g.add(n)});var C=xy(g.values());return ev(e,this._triggerName,n,i,_,d,m,w,C,y,v,x)},t}(),rv=function(){function t(t,e){this.styles=t,this.defaultParams=e}return t.prototype.buildStyles=function(t,e){var n={},i=py(this.defaultParams);return Object.keys(t).forEach(function(e){var n=t[e];null!=n&&(i[e]=n)}),this.styles.styles.forEach(function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach(function(t){var o=r[t];o.length>1&&(o=wy(o,i,e)),n[t]=o})}}),n},t}(),ov=function(){function t(t,e){var n=this;this.name=t,this.ast=e,this.transitionFactories=[],this.states={},e.states.forEach(function(t){n.states[t.name]=new rv(t.style,t.options&&t.options.params||{})}),av(this.states,"true","1"),av(this.states,"false","0"),e.transitions.forEach(function(e){n.transitionFactories.push(new iv(t,e,n.states))}),this.fallbackTransition=new iv(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(t.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),t.prototype.matchTransition=function(t,e,n,i){return this.transitionFactories.find(function(r){return r.match(t,e,n,i)})||null},t.prototype.matchStyles=function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)},t}();function av(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var sv=new Hy,lv=function(){function t(t,e,n){this.bodyNode=t,this._driver=e,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return t.prototype.register=function(t,e){var n=[],i=Ny(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[t]=i},t.prototype._buildPlayer=function(t,e,n){var i=t.element,r=Hg(0,this._normalizer,0,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)},t.prototype.create=function(t,e,n){var i=this;void 0===n&&(n={});var r,o=[],a=this._animations[t],s=new Map;if(a?(r=qy(this._driver,e,a,"ng-enter","ng-leave",{},{},n,sv,o)).forEach(function(t){var e=Wg(s,t.element,{});t.postStyleProps.forEach(function(t){return e[t]=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(t,e){Object.keys(t).forEach(function(n){t[n]=i._driver.computeStyle(e,n,Rg)})});var l=zg(r.map(function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)}));return this._playersById[t]=l,l.onDestroy(function(){return i.destroy(t)}),this.players.push(l),l},t.prototype.destroy=function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)},t.prototype._getPlayer=function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by "+t);return e},t.prototype.listen=function(t,e,n,i){var r=qg(e,"","","");return Ug(this._getPlayer(t),n,r,i),function(){}},t.prototype.command=function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);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(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])},t}(),uv=[],cv={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hv={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},pv="__ng_removed",dv=function(){function t(t,e){void 0===e&&(e=""),this.namespaceId=e;var n=t&&t.hasOwnProperty("value");if(this.value=function(t){return null!=t?t:null}(n?t.value:t),n){var i=py(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(t.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),t.prototype.absorbOptions=function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach(function(t){null==n[t]&&(n[t]=e[t])})}},t}(),fv=new dv("void"),mv=function(){function t(t,e,n){this.id=t,this.hostElement=e,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Cv(e,this._hostClassName)}return t.prototype.listen=function(t,e,n,i){var r,o=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'+n+'" because the animation trigger "'+e+"\" doesn't exist!");if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'+e+'" because the provided event is undefined!');if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'+n+'" for the animation trigger "'+e+'" is not supported!');var a=Wg(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};a.push(s);var l=Wg(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Cv(t,"ng-trigger"),Cv(t,"ng-trigger-"+e),l[e]=fv),function(){o._engine.afterFlush(function(){var t=a.indexOf(s);t>=0&&a.splice(t,1),o._triggers[e]||delete l[e]})}},t.prototype.register=function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)},t.prototype._getTrigger=function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'+t+'" has not been registered!');return e},t.prototype.trigger=function(t,e,n,i){var r=this;void 0===i&&(i=!0);var o=this._getTrigger(e),a=new yv(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Cv(t,"ng-trigger"),Cv(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new dv(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=fv),"void"===u.value||l.value!==u.value){var c=Wg(this._engine.playersByElement,t,[]);c.forEach(function(t){t.namespaceId==r.id&&t.triggerName==e&&t.queued&&t.destroy()});var h=o.matchTransition(l.value,u.value,t,u.params),p=!1;if(!h){if(!i)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:h,fromState:l,toState:u,player:a,isFallbackTransition:p}),p||(Cv(t,"ng-animate-queued"),a.onStart(function(){kv(t,"ng-animate-queued")})),a.onDone(function(){var e=r.players.indexOf(a);e>=0&&r.players.splice(e,1);var n=r._engine.playersByElement.get(t);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}}),this.players.push(a),c.push(a),a}if(!function(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var o=n[r];if(!e.hasOwnProperty(o)||t[o]!==e[o])return!1}return!0}(l.params,u.params)){var d=[],f=o.matchStyles(l.value,l.params,d),m=o.matchStyles(u.value,u.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush(function(){yy(t,f),gy(t,m)})}},t.prototype.deregister=function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(e,n){delete e[t]}),this._elementListeners.forEach(function(n,i){e._elementListeners.set(i,n.filter(function(e){return e.name!=t}))})},t.prototype.clearElementCache=function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach(function(t){return t.destroy()}),this._engine.playersByElement.delete(t))},t.prototype._signalRemovalForInnerTriggers=function(t,e,n){var i=this;void 0===n&&(n=!1),this._engine.driver.query(t,".ng-trigger",!0).forEach(function(t){if(!t[pv]){var n=i._engine.fetchNamespacesByElement(t);n.size?n.forEach(function(n){return n.triggerLeaveAnimation(t,e,!1,!0)}):i.clearElementCache(t)}})},t.prototype.triggerLeaveAnimation=function(t,e,n,i){var r=this,o=this._engine.statesByElement.get(t);if(o){var a=[];if(Object.keys(o).forEach(function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&a.push(n)}}),a.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&zg(a).onDone(function(){return r._engine.processLeaveNode(t)}),!0}return!1},t.prototype.prepareLeaveAnimationListeners=function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach(function(n){var r=n.name;if(!i.has(r)){i.add(r);var o=e._triggers[r].fallbackTransition,a=e._engine.statesByElement.get(t)[r]||fv,s=new dv("void"),l=new yv(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:o,fromState:a,toState:s,player:l,isFallbackTransition:!0})}})}},t.prototype.removeNode=function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e,!0),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var o=i.players.length?i.playersByQueriedElement.get(t):[];if(o&&o.length)r=!0;else for(var a=t;a=a.parentNode;)if(i.statesByElement.get(a)){r=!0;break}}this.prepareLeaveAnimationListeners(t),r?i.markElementAsRemoved(this.id,t,!1,e):(i.afterFlush(function(){return n.clearElementCache(t)}),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}},t.prototype.insertNode=function(t,e){Cv(t,this._hostClassName)},t.prototype.drainQueuedTransitions=function(t){var e=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var o=i.element,a=e._elementListeners.get(o);a&&a.forEach(function(e){if(e.name==i.triggerName){var n=qg(o,i.triggerName,i.fromState.value,i.toState.value);n._data=t,Ug(i.player,e.phase,n,e.callback)}}),r.markedForDestroy?e._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1})},t.prototype.destroy=function(t){this.players.forEach(function(t){return t.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)},t.prototype.elementContainsData=function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find(function(e){return e.element===t})||e},t}(),gv=function(){function t(t,e,n){this.bodyNode=t,this.driver=e,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(t,e){}}return t.prototype._onRemovalComplete=function(t,e){this.onRemovalComplete(t,e)},Object.defineProperty(t.prototype,"queuedPlayers",{get:function(){var t=[];return this._namespaceList.forEach(function(e){e.players.forEach(function(e){e.queued&&t.push(e)})}),t},enumerable:!0,configurable:!0}),t.prototype.createNamespace=function(t,e){var n=new mv(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n},t.prototype._balanceNamespaceList=function(t,e){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,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t},t.prototype.register=function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n},t.prototype.registerTrigger=function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++},t.prototype.destroy=function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(e)})}},t.prototype._fetchNamespace=function(t){return this._namespaceLookup[t]},t.prototype.fetchNamespacesByElement=function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=n[i[r]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&e.add(a)}}return e},t.prototype.trigger=function(t,e,n,i){if(vv(e)){var r=this._fetchNamespace(t);if(r)return r.trigger(e,n,i),!0}return!1},t.prototype.insertNode=function(t,e,n,i){if(vv(e)){var r=e[pv];if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var o=this.collectedLeaveElements.indexOf(e);o>=0&&this.collectedLeaveElements.splice(o,1)}if(t){var a=this._fetchNamespace(t);a&&a.insertNode(e,n)}i&&this.collectEnterElement(e)}},t.prototype.collectEnterElement=function(t){this.collectedEnterElements.push(t)},t.prototype.markElementAsDisabled=function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Cv(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),kv(t,"ng-animate-disabled"))},t.prototype.removeNode=function(t,e,n){if(vv(e)){var i=t?this._fetchNamespace(t):null;i?i.removeNode(e,n):this.markElementAsRemoved(t,e,!1,n)}else this._onRemovalComplete(e,n)},t.prototype.markElementAsRemoved=function(t,e,n,i){this.collectedLeaveElements.push(e),e[pv]={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}},t.prototype.listen=function(t,e,n,i,r){return vv(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}},t.prototype._buildInstruction=function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)},t.prototype.destroyInnerAnimations=function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach(function(t){return e.destroyActiveAnimationsForElement(t)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach(function(t){return e.finishActiveQueriedAnimationOnElement(t)})},t.prototype.destroyActiveAnimationsForElement=function(t){var e=this.playersByElement.get(t);e&&e.forEach(function(t){t.queued?t.markedForDestroy=!0:t.destroy()})},t.prototype.finishActiveQueriedAnimationOnElement=function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach(function(t){return t.finish()})},t.prototype.whenRenderingDone=function(){var t=this;return new Promise(function(e){if(t.players.length)return zg(t.players).onDone(function(){return e()});e()})},t.prototype.processLeaveNode=function(t){var e=this,n=t[pv];if(n&&n.setForRemoval){if(t[pv]=cv,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach(function(n){e.markElementAsDisabled(t,!1)})},t.prototype.flush=function(t){var e=this;void 0===t&&(t=-1);var n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++)Cv(this.collectedEnterElements[i],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var r=[];try{n=this._flushAnimations(r,t)}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(t){return t()}),this._flushFns=[],this._whenQuietFns.length){var o=this._whenQuietFns;this._whenQuietFns=[],n.length?zg(n).onDone(function(){o.forEach(function(t){return t()})}):o.forEach(function(t){return t()})}},t.prototype.reportError=function(t){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+t.join("\n"))},t.prototype._flushAnimations=function(t,e){var n=this,i=new Hy,r=[],a=new Map,s=[],l=new Map,u=new Map,h=new Map,p=new Set;this.disabledNodes.forEach(function(t){p.add(t);for(var e=n.driver.query(t,".ng-animate-queued",!0),i=0;i<e.length;i++)p.add(e[i])});var d=this.bodyNode,f=Array.from(this.statesByElement.keys()),m=wv(f,this.collectedEnterElements),g=new Map,y=0;m.forEach(function(t,e){var n="ng-enter"+y++;g.set(e,n),t.forEach(function(t){return Cv(t,n)})});for(var v=[],_=new Set,b=new Set,w=0;w<this.collectedLeaveElements.length;w++)(j=(L=this.collectedLeaveElements[w])[pv])&&j.setForRemoval&&(v.push(L),_.add(L),j.hasAnimation?this.driver.query(L,".ng-star-inserted",!0).forEach(function(t){return _.add(t)}):b.add(L));var x=new Map,C=wv(f,Array.from(_));C.forEach(function(t,e){var n="ng-leave"+y++;x.set(e,n),t.forEach(function(t){return Cv(t,n)})}),t.push(function(){m.forEach(function(t,e){var n=g.get(e);t.forEach(function(t){return kv(t,n)})}),C.forEach(function(t,e){var n=x.get(e);t.forEach(function(t){return kv(t,n)})}),v.forEach(function(t){n.processLeaveNode(t)})});for(var k=[],S=[],E=this._namespaceList.length-1;E>=0;E--)this._namespaceList[E].drainQueuedTransitions(e).forEach(function(t){var e=t.player,o=t.element;if(k.push(e),n.collectedEnterElements.length){var a=o[pv];if(a&&a.setForMove)return void e.destroy()}var c=!d||!n.driver.containsElement(d,o),p=x.get(o),f=g.get(o),m=n._buildInstruction(t,i,f,p,c);if(m.errors&&m.errors.length)S.push(m);else{if(c)return e.onStart(function(){return yy(o,m.fromStyles)}),e.onDestroy(function(){return gy(o,m.toStyles)}),void r.push(e);if(t.isFallbackTransition)return e.onStart(function(){return yy(o,m.fromStyles)}),e.onDestroy(function(){return gy(o,m.toStyles)}),void r.push(e);m.timelines.forEach(function(t){return t.stretchStartingKeyframe=!0}),i.append(o,m.timelines),s.push({instruction:m,player:e,element:o}),m.queriedElements.forEach(function(t){return Wg(l,t,[]).push(e)}),m.preStyleProps.forEach(function(t,e){var n=Object.keys(t);if(n.length){var i=u.get(e);i||u.set(e,i=new Set),n.forEach(function(t){return i.add(t)})}}),m.postStyleProps.forEach(function(t,e){var n=Object.keys(t),i=h.get(e);i||h.set(e,i=new Set),n.forEach(function(t){return i.add(t)})})}});if(S.length){var T=[];S.forEach(function(t){T.push("@"+t.triggerName+" has failed due to:\n"),t.errors.forEach(function(t){return T.push("- "+t+"\n")})}),k.forEach(function(t){return t.destroy()}),this.reportError(T)}var I=new Map,O=new Map;s.forEach(function(t){var e=t.element;i.has(e)&&(O.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,I))}),r.forEach(function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach(function(t){Wg(I,e,[]).push(t),t.destroy()})});var P=v.filter(function(t){return Ev(t,u,h)}),A=new Map;bv(A,this.driver,b,h,Rg).forEach(function(t){Ev(t,u,h)&&P.push(t)});var R=new Map;m.forEach(function(t,e){bv(R,n.driver,new Set(t),u,jg)}),P.forEach(function(t){var e=A.get(t),n=R.get(t);A.set(t,o({},e,n))});var D=[],N=[],M={};s.forEach(function(t){var e=t.element,o=t.player,s=t.instruction;if(i.has(e)){if(p.has(e))return o.onDestroy(function(){return gy(e,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=M;if(O.size>1){for(var u=e,c=[];u=u.parentNode;){var h=O.get(u);if(h){l=h;break}c.push(u)}c.forEach(function(t){return O.set(t,l)})}var d=n._buildAnimation(o.namespaceId,s,I,a,R,A);if(o.setRealPlayer(d),l===M)D.push(o);else{var f=n.playersByElement.get(l);f&&f.length&&(o.parentPlayer=zg(f)),r.push(o)}}else yy(e,s.fromStyles),o.onDestroy(function(){return gy(e,s.toStyles)}),N.push(o),p.has(e)&&r.push(o)}),N.forEach(function(t){var e=a.get(t.element);if(e&&e.length){var n=zg(e);t.setRealPlayer(n)}}),r.forEach(function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()});for(var F=0;F<v.length;F++){var L,j=(L=v[F])[pv];if(kv(L,"ng-leave"),!j||!j.hasAnimation){var V=[];if(l.size){var z=l.get(L);z&&z.length&&V.push.apply(V,c(z));for(var H=this.driver.query(L,".ng-animating",!0),U=0;U<H.length;U++){var B=l.get(H[U]);B&&B.length&&V.push.apply(V,c(B))}}var q=V.filter(function(t){return!t.destroyed});q.length?Sv(this,L,q):this.processLeaveNode(L)}}return v.length=0,D.forEach(function(t){n.players.push(t),t.onDone(function(){t.destroy();var e=n.players.indexOf(t);n.players.splice(e,1)}),t.play()}),D},t.prototype.elementContainsData=function(t,e){var n=!1,i=e[pv];return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(e)&&(n=!0),this.playersByQueriedElement.has(e)&&(n=!0),this.statesByElement.has(e)&&(n=!0),this._fetchNamespace(t).elementContainsData(e)||n},t.prototype.afterFlush=function(t){this._flushFns.push(t)},t.prototype.afterFlushAnimationsDone=function(t){this._whenQuietFns.push(t)},t.prototype._getPreviousPlayers=function(t,e,n,i,r){var o=[];if(e){var a=this.playersByQueriedElement.get(t);a&&(o=a)}else{var s=this.playersByElement.get(t);if(s){var l=!r||"void"==r;s.forEach(function(t){t.queued||(l||t.triggerName==i)&&o.push(t)})}}return(n||i)&&(o=o.filter(function(t){return!(n&&n!=t.namespaceId||i&&i!=t.triggerName)})),o},t.prototype._beforeAnimationBuild=function(t,e,n){var i,r,o=e.element,a=e.isRemovalTransition?void 0:t,s=e.isRemovalTransition?void 0:e.triggerName,u=function(t){var i=t.element,r=i!==o,l=Wg(n,i,[]);c._getPreviousPlayers(i,r,a,s,e.toState).forEach(function(t){var e=t.getRealPlayer();e.beforeDestroy&&e.beforeDestroy(),t.destroy(),l.push(t)})},c=this;try{for(var h=l(e.timelines),p=h.next();!p.done;p=h.next())u(p.value)}catch(d){i={error:d}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(i)throw i.error}}yy(o,e.fromStyles)},t.prototype._buildAnimation=function(t,e,n,i,r,o){var a=this,s=e.triggerName,l=e.element,u=[],c=new Set,h=new Set,p=e.timelines.map(function(e){var p=e.element;c.add(p);var d=p[pv];if(d&&d.removedBeforeQueried)return new Fg(e.duration,e.delay);var f,m,g=p!==l,y=(f=(n.get(p)||uv).map(function(t){return t.getRealPlayer()}),m=[],function t(e,n){for(var i=0;i<e.length;i++){var r=e[i];r instanceof Lg?t(r.players,n):n.push(r)}}(f,m),m).filter(function(t){return!!t.element&&t.element===p}),v=r.get(p),_=o.get(p),b=Hg(0,a._normalizer,0,e.keyframes,v,_),w=a._buildPlayer(e,b,y);if(e.subTimeline&&i&&h.add(p),g){var x=new yv(t,s,p);x.setRealPlayer(w),u.push(x)}return w});u.forEach(function(t){Wg(a.playersByQueriedElement,t.element,[]).push(t),t.onDone(function(){return function(t,e,n){var i;if(t instanceof Map){if(i=t.get(e)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&t.delete(e)}}else(i=t[e])&&(i.length&&(r=i.indexOf(n),i.splice(r,1)),0==i.length&&delete t[e]);return i}(a.playersByQueriedElement,t.element,t)})}),c.forEach(function(t){return Cv(t,"ng-animating")});var d=zg(p);return d.onDestroy(function(){c.forEach(function(t){return kv(t,"ng-animating")}),gy(l,e.toStyles)}),h.forEach(function(t){Wg(i,t,[]).push(d)}),d},t.prototype._buildPlayer=function(t,e,n){return e.length>0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Fg(t.duration,t.delay)},t}(),yv=function(){function t(t,e,n){this.namespaceId=t,this.triggerName=e,this.element=n,this._player=new Fg,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return t.prototype.setRealPlayer=function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(n){e._queuedCallbacks[n].forEach(function(e){return Ug(t,n,void 0,e)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)},t.prototype.getRealPlayer=function(){return this._player},t.prototype.overrideTotalTime=function(t){this.totalTime=t},t.prototype.syncPlayerEvents=function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart(function(){return n.triggerCallback("start")}),t.onDone(function(){return e.finish()}),t.onDestroy(function(){return e.destroy()})},t.prototype._queueEvent=function(t,e){Wg(this._queuedCallbacks,t,[]).push(e)},t.prototype.onDone=function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)},t.prototype.onStart=function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)},t.prototype.onDestroy=function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)},t.prototype.init=function(){this._player.init()},t.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},t.prototype.play=function(){!this.queued&&this._player.play()},t.prototype.pause=function(){!this.queued&&this._player.pause()},t.prototype.restart=function(){!this.queued&&this._player.restart()},t.prototype.finish=function(){this._player.finish()},t.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},t.prototype.reset=function(){!this.queued&&this._player.reset()},t.prototype.setPosition=function(t){this.queued||this._player.setPosition(t)},t.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},t.prototype.triggerCallback=function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)},t}();function vv(t){return t&&1===t.nodeType}function _v(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function bv(t,e,n,i,r){var o=[];n.forEach(function(t){return o.push(_v(t))});var a=[];i.forEach(function(n,i){var o={};n.forEach(function(t){var n=o[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i[pv]=hv,a.push(i))}),t.set(i,o)});var s=0;return n.forEach(function(t){return _v(t,o[s++])}),a}function wv(t,e){var n=new Map;if(t.forEach(function(t){return n.set(t,[])}),0==e.length)return n;var i=new Set(e),r=new Map;return e.forEach(function(t){var e=function t(e){if(!e)return 1;var o=r.get(e);if(o)return o;var a=e.parentNode;return o=n.has(a)?a:i.has(a)?1:t(a),r.set(e,o),o}(t);1!==e&&n.get(e).push(t)}),n}var xv="$$classes";function Cv(t,e){if(t.classList)t.classList.add(e);else{var n=t[xv];n||(n=t[xv]={}),n[e]=!0}}function kv(t,e){if(t.classList)t.classList.remove(e);else{var n=t[xv];n&&delete n[e]}}function Sv(t,e,n){zg(n).onDone(function(){return t.processLeaveNode(e)})}function Ev(t,e,n){var i=n.get(t);if(!i)return!1;var r=e.get(t);return r?i.forEach(function(t){return r.add(t)}):e.set(t,i),n.delete(t),!0}var Tv=function(){function t(t,e,n){var i=this;this.bodyNode=t,this._driver=e,this._triggerCache={},this.onRemovalComplete=function(t,e){},this._transitionEngine=new gv(t,e,n),this._timelineEngine=new lv(t,e,n),this._transitionEngine.onRemovalComplete=function(t,e){return i.onRemovalComplete(t,e)}}return t.prototype.registerTrigger=function(t,e,n,i,r){var o=t+"-"+i,a=this._triggerCache[o];if(!a){var s=[],l=Ny(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(t,e){return new ov(t,e)}(i,l),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(e,i,a)},t.prototype.register=function(t,e){this._transitionEngine.register(t,e)},t.prototype.destroy=function(t,e){this._transitionEngine.destroy(t,e)},t.prototype.onInsert=function(t,e,n,i){this._transitionEngine.insertNode(t,e,n,i)},t.prototype.onRemove=function(t,e,n){this._transitionEngine.removeNode(t,e,n)},t.prototype.disableAnimations=function(t,e){this._transitionEngine.markElementAsDisabled(t,e)},t.prototype.process=function(t,e,n,i){if("@"==n.charAt(0)){var r=u(Gg(n),2);this._timelineEngine.command(r[0],e,r[1],i)}else this._transitionEngine.trigger(t,e,n,i)},t.prototype.listen=function(t,e,n,i,r){if("@"==n.charAt(0)){var o=u(Gg(n),2);return this._timelineEngine.listen(o[0],e,o[1],r)}return this._transitionEngine.listen(t,e,n,i,r)},t.prototype.flush=function(t){void 0===t&&(t=-1),this._transitionEngine.flush(t)},Object.defineProperty(t.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),t.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},t}(),Iv="animation",Ov="animationend",Pv=function(){function t(t,e,n,i,r,o,a){var s=this;this._element=t,this._name=e,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(t){return s._handleCallback(t)}}return t.prototype.apply=function(){var t,e,n;e=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(n=Fv(t=this._element,"").trim()).length&&(function(t,e){for(var n=0;n<t.length;n++)","===t.charAt(n)&&0}(n),e=n+", "+e),Mv(t,"",e),Nv(this._element,this._eventFn,!1),this._startTime=Date.now()},t.prototype.pause=function(){Av(this._element,this._name,"paused")},t.prototype.resume=function(){Av(this._element,this._name,"running")},t.prototype.setPosition=function(t){var e=Rv(this._element,this._name);this._position=t*this._duration,Mv(this._element,"Delay","-"+this._position+"ms",e)},t.prototype.getPosition=function(){return this._position},t.prototype._handleCallback=function(t){var e=t._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(t.elapsedTime.toFixed(3));t.animationName==this._name&&Math.max(e-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()},t.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),Nv(this._element,this._eventFn,!0))},t.prototype.destroy=function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=Dv(n=Fv(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),Mv(t,"",n.join(","))))},t}();function Av(t,e,n){Mv(t,"PlayState",n,Rv(t,e))}function Rv(t,e){var n=Fv(t,"");return n.indexOf(",")>0?Dv(n.split(","),e):Dv([n],e)}function Dv(t,e){for(var n=0;n<t.length;n++)if(t[n].indexOf(e)>=0)return n;return-1}function Nv(t,e,n){n?t.removeEventListener(Ov,e):t.addEventListener(Ov,e)}function Mv(t,e,n,i){var r=Iv+e;if(null!=i){var o=t.style[r];if(o.length){var a=o.split(",");a[i]=n,n=a.join(",")}}t.style[r]=n}function Fv(t,e){return t.style[Iv+e]}var Lv="linear",jv=function(){function t(t,e,n,i,r,o,a){this.element=t,this.keyframes=e,this.animationName=n,this._duration=i,this._delay=r,this._finalStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||Lv,this.totalTime=i+r,this._buildStyler()}return t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype._flushDoneFns=function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]},t.prototype._flushStartFns=function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]},t.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._flushDoneFns())},t.prototype.setPosition=function(t){this._styler.setPosition(t)},t.prototype.getPosition=function(){return this._styler.getPosition()},t.prototype.hasStarted=function(){return this._state>=2},t.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},t.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2),this._styler.resume()},t.prototype.pause=function(){this.init(),this._styler.pause()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},t.prototype._buildStyler=function(){var t=this;this._styler=new Pv(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t.prototype.beforeDestroy=function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:Iy(t.element,i))})}this.currentSnapshot=e},t}(),Vv=function(t){function e(e,n){var i=t.call(this)||this;return i.element=e,i._startingStyles={},i.__initialized=!1,i._styles=oy(n),i}return r(e,t),e.prototype.init=function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),t.prototype.init.call(this))},e.prototype.play=function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),t.prototype.play.call(this))},e.prototype.destroy=function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,t.prototype.destroy.call(this))},e}(Fg),zv=function(){function t(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return t.prototype.validateStyleProperty=function(t){return ey(t)},t.prototype.matchesElement=function(t,e){return ny(t,e)},t.prototype.containsElement=function(t,e){return iy(t,e)},t.prototype.query=function(t,e,n){return ry(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.buildKeyframeElement=function(t,e,n){n=n.map(function(t){return oy(t)});var i="@keyframes "+e+" {\n",r="";n.forEach(function(t){r=" ";var e=parseFloat(t.offset);i+=""+r+100*e+"% {\n",r+=" ",Object.keys(t).forEach(function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+=r+"animation-timing-function: "+n+";\n"));default:return void(i+=""+r+e+": "+n+";\n")}}),i+=r+"}\n"}),i+="}\n";var o=document.createElement("style");return o.innerHTML=i,o},t.prototype.animate=function(t,e,n,i,r,o,a){void 0===o&&(o=[]),a&&this._notifyFaultyScrubber();var s=o.filter(function(t){return t instanceof jv}),l={};Sy(n,i)&&s.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})});var u=function(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach(function(t){Object.keys(t).forEach(function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])})}),e}(e=Ey(t,e,l));if(0==n)return new Vv(t,u);var c="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(h);var p=new jv(t,e,c,n,i,r,u);return p.onDestroy(function(){var t;(t=h).parentNode.removeChild(t)}),p},t.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n","  visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},t}(),Hv=function(){function t(t,e,n){this.element=t,this.keyframes=e,this.options=n,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return t.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])},t.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},t.prototype._buildPlayer=function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}},t.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},t.prototype._triggerWebAnimation=function(t,e,n){return t.animate(e,n)},t.prototype.onStart=function(t){this._onStartFns.push(t)},t.prototype.onDone=function(t){this._onDoneFns.push(t)},t.prototype.onDestroy=function(t){this._onDestroyFns.push(t)},t.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0),this.domPlayer.play()},t.prototype.pause=function(){this.init(),this.domPlayer.pause()},t.prototype.finish=function(){this.init(),this._onFinish(),this.domPlayer.finish()},t.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},t.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},t.prototype.restart=function(){this.reset(),this.play()},t.prototype.hasStarted=function(){return this._started},t.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])},t.prototype.setPosition=function(t){this.domPlayer.currentTime=t*this.time},t.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(t.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),t.prototype.beforeDestroy=function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:Iy(t.element,n))}),this.currentSnapshot=e},t.prototype.triggerCallback=function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach(function(t){return t()}),e.length=0},t}(),Uv=function(){function t(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Bv().toString()),this._cssKeyframesDriver=new zv}return t.prototype.validateStyleProperty=function(t){return ey(t)},t.prototype.matchesElement=function(t,e){return ny(t,e)},t.prototype.containsElement=function(t,e){return iy(t,e)},t.prototype.query=function(t,e,n){return ry(t,e,n)},t.prototype.computeStyle=function(t,e,n){return window.getComputedStyle(t)[e]},t.prototype.overrideWebAnimationsSupport=function(t){this._isNativeImpl=t},t.prototype.animate=function(t,e,n,i,r,o,a){if(void 0===o&&(o=[]),!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(t,e,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(t){return t instanceof Hv});return Sy(n,i)&&u.forEach(function(t){var e=t.currentSnapshot;Object.keys(e).forEach(function(t){return l[t]=e[t]})}),e=Ey(t,e=e.map(function(t){return dy(t,!1)}),l),new Hv(t,e,s)},t}();function Bv(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var qv=function(t){function e(e,n){var i=t.call(this)||this;return i._nextAnimationId=0,i._renderer=e.createRenderer(n.body,{id:"0",encapsulation:fe.None,styles:[],data:{animation:[]}}),i}return r(e,t),e.prototype.build=function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Dg(t):t;return Kv(this._renderer,null,e,"register",[n]),new Wv(e,this._renderer)},e}(Pg),Wv=function(t){function e(e,n){var i=t.call(this)||this;return i._id=e,i._renderer=n,i}return r(e,t),e.prototype.create=function(t,e){return new Gv(this._id,t,e||{},this._renderer)},e}(Ag),Gv=function(){function t(t,e,n,i){this.id=t,this.element=e,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return t.prototype._listen=function(t,e){return this._renderer.listen(this.element,"@@"+this.id+":"+t,e)},t.prototype._command=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Kv(this._renderer,this.element,this.id,t,e)},t.prototype.onDone=function(t){this._listen("done",t)},t.prototype.onStart=function(t){this._listen("start",t)},t.prototype.onDestroy=function(t){this._listen("destroy",t)},t.prototype.init=function(){this._command("init")},t.prototype.hasStarted=function(){return this._started},t.prototype.play=function(){this._command("play"),this._started=!0},t.prototype.pause=function(){this._command("pause")},t.prototype.restart=function(){this._command("restart")},t.prototype.finish=function(){this._command("finish")},t.prototype.destroy=function(){this._command("destroy")},t.prototype.reset=function(){this._command("reset")},t.prototype.setPosition=function(t){this._command("setPosition",t)},t.prototype.getPosition=function(){return 0},t}();function Kv(t,e,n,i,r){return t.setProperty(e,"@@"+n+":"+i,r)}var Yv=function(){function t(t,e,n){this.delegate=t,this.engine=e,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),e.onRemovalComplete=function(t,e){e&&e.parentNode(t)&&e.removeChild(t.parentNode,t)}}return t.prototype.createRenderer=function(t,e){var n=this,i=this.delegate.createRenderer(t,e);if(!(t&&e&&e.data&&e.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Xv("",i,this.engine),this._rendererCache.set(i,r)),r}var o=e.id,a=e.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,t),e.data.animation.forEach(function(e){return n.engine.registerTrigger(o,a,t,e.name,e)}),new Qv(this,a,i,this.engine)},t.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},t.prototype._scheduleCountTask=function(){var t=this;this.promise.then(function(){t._microtaskId++})},t.prototype.scheduleListenerCallback=function(t,e,n){var i=this;t>=0&&t<this._microtaskId?this._zone.run(function(){return e(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){i._zone.run(function(){i._animationCallbacksBuffer.forEach(function(t){var e=u(t,2);(0,e[0])(e[1])}),i._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([e,n]))},t.prototype.end=function(){var t=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){t._scheduleCountTask(),t.engine.flush(t._microtaskId)}),this.delegate.end&&this.delegate.end()},t.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},t}(),Xv=function(){function t(t,e,n){this.namespaceId=t,this.delegate=e,this.engine=n,this.destroyNode=this.delegate.destroyNode?function(t){return e.destroyNode(t)}:null}return Object.defineProperty(t.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},t.prototype.createElement=function(t,e){return this.delegate.createElement(t,e)},t.prototype.createComment=function(t){return this.delegate.createComment(t)},t.prototype.createText=function(t){return this.delegate.createText(t)},t.prototype.appendChild=function(t,e){this.delegate.appendChild(t,e),this.engine.onInsert(this.namespaceId,e,t,!1)},t.prototype.insertBefore=function(t,e,n){this.delegate.insertBefore(t,e,n),this.engine.onInsert(this.namespaceId,e,t,!0)},t.prototype.removeChild=function(t,e){this.engine.onRemove(this.namespaceId,e,this.delegate)},t.prototype.selectRootElement=function(t,e){return this.delegate.selectRootElement(t,e)},t.prototype.parentNode=function(t){return this.delegate.parentNode(t)},t.prototype.nextSibling=function(t){return this.delegate.nextSibling(t)},t.prototype.setAttribute=function(t,e,n,i){this.delegate.setAttribute(t,e,n,i)},t.prototype.removeAttribute=function(t,e,n){this.delegate.removeAttribute(t,e,n)},t.prototype.addClass=function(t,e){this.delegate.addClass(t,e)},t.prototype.removeClass=function(t,e){this.delegate.removeClass(t,e)},t.prototype.setStyle=function(t,e,n,i){this.delegate.setStyle(t,e,n,i)},t.prototype.removeStyle=function(t,e,n){this.delegate.removeStyle(t,e,n)},t.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)&&"@.disabled"==e?this.disableAnimations(t,!!n):this.delegate.setProperty(t,e,n)},t.prototype.setValue=function(t,e){this.delegate.setValue(t,e)},t.prototype.listen=function(t,e,n){return this.delegate.listen(t,e,n)},t.prototype.disableAnimations=function(t,e){this.engine.disableAnimations(t,e)},t}(),Qv=function(t){function e(e,n,i,r){var o=t.call(this,n,i,r)||this;return o.factory=e,o.namespaceId=n,o}return r(e,t),e.prototype.setProperty=function(t,e,n){"@"==e.charAt(0)?"."==e.charAt(1)&&"@.disabled"==e?this.disableAnimations(t,n=void 0===n||!!n):this.engine.process(this.namespaceId,t,e.substr(1),n):this.delegate.setProperty(t,e,n)},e.prototype.listen=function(t,e,n){var i,r,o,a=this;if("@"==e.charAt(0)){var s=function(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(t),l=e.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(t){a.factory.scheduleListenerCallback(t._data||-1,n,t)})}return this.delegate.listen(t,e,n)},e}(Xv),Zv=function(t){function e(e,n,i){return t.call(this,e.body,n,i)||this}return r(e,t),e}(Tv);function $v(){return"function"==typeof Bv()?new Uv:new zv}function Jv(){return new $y}function t_(t,e,n){return new Yv(t,e,n)}var e_=new Tt("AnimationModuleType"),n_=function(){return function(){}}(),i_=aa({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-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{border-radius:inherit;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 screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}}.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 screen and (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function r_(t){return Qs(2,[Vs(402653184,1,{ripple:0}),(t()(),Na(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),qs(null,0),(t()(),Na(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)),xs(4,212992,[[1,4]],0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(t()(),Na(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n.isIconButton,n._isRippleDisabled(),n._getHostElement())},function(t,e){var n=e.component;t(e,3,0,n.isRoundButton||n.isIconButton,us(e,4).unbounded)})}function o_(t,e,n,i){return d(n)&&(i=n,n=void 0),i?o_(t,e,n).pipe(tt(function(t){return h(t)?i.apply(void 0,t):i(t)})):new D(function(i){!function t(e,n,i,r,o){var a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,o),a=function(){return s.removeEventListener(n,i,o)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,i),a=function(){return l.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),a=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c<h;c++)t(e[c],n,i,r,o)}r.add(a)}(t,e,function(t){i.next(arguments.length>1?Array.prototype.slice.call(arguments):t)},i,n)})}function a_(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return function(e){var n=t[t.length-1];H(n)?t.pop():n=null;var i=t.length;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return 1===t.length||2===t.length&&H(t[1])?rt(t[0]):Bh()(uu.apply(void 0,t))}(1!==i||n?i>0?it(t,n):su(n):lu(t[0]),e)}}Object;var s_=function(){return function(){}}();function l_(t){return Error("A hint was already declared for 'align=\""+t+"\"'.")}var u_=0,c_=Km(function(){return function(t){this._elementRef=t}}(),"primary"),h_=new Tt("MAT_FORM_FIELD_DEFAULT_OPTIONS"),p_=function(t){function e(e,n,i,r,o,a,s,l){var u=t.call(this,e)||this;return u._elementRef=e,u._changeDetectorRef=n,u._dir=r,u._defaults=o,u._platform=a,u._ngZone=s,u._outlineGapCalculationNeeded=!1,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-"+u_++,u._labelId="mat-form-field-label-"+u_++,u._labelOptions=i||{},u.floatLabel=u._labelOptions.float||"auto",u._animationsEnabled="NoopAnimations"!==l,u.appearance=o&&o.appearance?o.appearance:"legacy",u}return r(e,t),Object.defineProperty(e.prototype,"appearance",{get:function(){return this._appearance},set:function(t){var e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&this._updateOutlineGapOnStable()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(t){this._hideRequiredMarker=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(t){this._hintLabel=t,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(t){t!==this._floatLabel&&(this._floatLabel=t||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),e.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},e.prototype.ngAfterContentInit=function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+e.controlType),e.stateChanges.pipe(a_(null)).subscribe(function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.subscribe(function(){return t._changeDetectorRef.markForCheck()}),ht(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){t._updateOutlineGapOnStable(),t._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(a_(null)).subscribe(function(){t._processHints(),t._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(a_(null)).subscribe(function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})},e.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeeded&&this.updateOutlineGap()},e.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},e.prototype._shouldForward=function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]},e.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},e.prototype._hasLabel=function(){return!!this._labelChild},e.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},e.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},e.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},e.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},e.prototype._animateAndLockLabel=function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,o_(this._label.nativeElement,"transitionend").pipe(cp(1)).subscribe(function(){t._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())},e.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},e.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},e.prototype._validateHints=function(){var t=this;if(this._hintChildren){var e=void 0,n=void 0;this._hintChildren.forEach(function(i){if("start"===i.align){if(e||t.hintLabel)throw l_("start");e=i}else if("end"===i.align){if(n)throw l_("end");n=i}})}},e.prototype._syncDescribedByIds=function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find(function(t){return"start"===t.align}):null,n=this._hintChildren?this._hintChildren.find(function(t){return"end"===t.align}):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map(function(t){return t.id}));this._control.setDescribedByIds(t)}},e.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},e.prototype.updateOutlineGap=function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&(!this._platform||this._platform.isBrowser))if(document.documentElement.contains(this._elementRef.nativeElement)){var e=0,n=0,i=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-start"),r=this._connectionContainerRef.nativeElement.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){for(var o=this._getStartEnd(this._connectionContainerRef.nativeElement.getBoundingClientRect()),a=this._getStartEnd(t.children[0].getBoundingClientRect()),s=0,l=0,u=t.children;l<u.length;l++)s+=u[l].offsetWidth;e=a-o-5,n=s>0?.75*s+10:0}for(var c=0;c<i.length;c++)i.item(c).style.width=e+"px";for(c=0;c<r.length;c++)r.item(c).style.width=n+"px";this._outlineGapCalculationNeeded=!1}else this._outlineGapCalculationNeeded=!0},e.prototype._getStartEnd=function(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left},e.prototype._updateOutlineGapOnStable=function(){var t=this;this._ngZone?this._ngZone.onStable.pipe(cp(1)).subscribe(function(){return t.updateOutlineGap()}):Promise.resolve().then(function(){return t.updateOutlineGap()})},e}(c_),d_=function(){return function(){}}(),f_=function(){function t(){}return t.prototype.create=function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)},t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),m_=function(){function t(t){this._mutationObserverFactory=t,this._observedElements=new Map}return t.prototype.ngOnDestroy=function(){var t=this;this._observedElements.forEach(function(e,n){return t._cleanupObserver(n)})},t.prototype.observe=function(t){var e=this,n=t instanceof pi?t.nativeElement:t;return D.create(function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}})},t.prototype._observeElement=function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new V,n=this._mutationObserverFactory.create(function(t){return e.next(t)});n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream},t.prototype._unobserveElement=function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))},t.prototype._cleanupObserver=function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}},t.ngInjectableDef=kt({factory:function(){return new t(pe(f_))},token:t,providedIn:"root"}),t}(),g_=function(){function t(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new Li,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=dm(t),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"debounce",{get:function(){return this._debounce},set:function(t){this._debounce=fm(t),this._subscribe()},enumerable:!0,configurable:!0}),t.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},t.prototype.ngOnDestroy=function(){this._unsubscribe()},t.prototype._subscribe=function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){t._currentSubscription=(t.debounce?e.pipe(Om(t.debounce)):e).subscribe(t.event)})},t.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},t}(),y_=function(){return function(){}}(),v_=aa({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 screen and (-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}.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 screen and (-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 screen and (-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-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 screen and (-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 screen and (-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 screen and (-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 screen and (-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 screen and (-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 screen and (-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}",".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{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder{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}[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-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}"],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 __(t){return Qs(0,[(t()(),Na(0,0,null,null,8,null,null,null,null,null,null,null)),(t()(),Na(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(t()(),Na(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Na(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Na(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(t()(),Na(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(t()(),Na(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(t()(),Na(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(t()(),Na(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function b_(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),qs(null,0)],null,null)}function w_(t){return Qs(0,[(t()(),Na(0,0,null,null,2,null,null,null,null,null,null,null)),qs(null,2),(t()(),Ks(2,null,["",""]))],null,function(t,e){t(e,2,0,e.component._control.placeholder)})}function x_(t){return Qs(0,[qs(null,3),(t()(),Da(0,null,null,0))],null,null)}function C_(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(t()(),Ks(-1,null,["\xa0*"]))],null,null)}function k_(t){return Qs(0,[(t()(),Na(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component.updateOutlineGap()&&i),i},null,null)),xs(1,16384,null,0,ju,[],{ngSwitch:[0,"ngSwitch"]},null),xs(2,1196032,null,0,g_,[m_,pi,Hr],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(t()(),Da(16777216,null,null,1,null,w_)),xs(4,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Da(16777216,null,null,1,null,x_)),xs(6,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Da(16777216,null,null,1,null,C_)),xs(8,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,n._hasLabel()),t(e,2,0,"outline"!=n.appearance),t(e,4,0,!1),t(e,6,0,!0),t(e,8,0,!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)},function(t,e){var n=e.component;t(e,0,0,n._labelId,n._control.id,n._control.id,n._control.empty&&!n._shouldAlwaysFloat,n._control.empty&&!n._shouldAlwaysFloat,"accent"==n.color,"warn"==n.color)})}function S_(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),qs(null,4)],null,null)}function E_(t){return Qs(0,[(t()(),Na(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,1,0,"accent"==n.color,"warn"==n.color)})}function T_(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),qs(null,5)],null,function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function I_(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(t()(),Ks(1,null,["",""]))],null,function(t,e){var n=e.component;t(e,0,0,n._hintLabelId),t(e,1,0,n.hintLabel)})}function O_(t){return Qs(0,[(t()(),Na(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(t()(),Da(16777216,null,null,1,null,I_)),xs(2,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),qs(null,6),(t()(),Na(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),qs(null,7)],function(t,e){t(e,2,0,e.component.hintLabel)},function(t,e){t(e,0,0,e.component._subscriptAnimationState)})}function P_(t){return Qs(2,[Vs(671088640,1,{underlineRef:0}),Vs(402653184,2,{_connectionContainerRef:0}),Vs(402653184,3,{_inputContainerRef:0}),Vs(671088640,4,{_label:0}),(t()(),Na(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(t()(),Na(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==(r._control.onContainerClick&&r._control.onContainerClick(n))&&i),i},null,null)),(t()(),Da(16777216,null,null,1,null,__)),xs(7,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,b_)),xs(9,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),qs(null,1),(t()(),Na(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,null,k_)),xs(14,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,S_)),xs(16,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,E_)),xs(18,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),xs(20,16384,null,0,ju,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Da(16777216,null,null,1,null,T_)),xs(22,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Da(16777216,null,null,1,null,O_)),xs(24,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){var n=e.component;t(e,7,0,"outline"==n.appearance),t(e,9,0,n._prefixChildren.length),t(e,14,0,n._hasFloatingLabel()),t(e,16,0,n._suffixChildren.length),t(e,18,0,"outline"!=n.appearance),t(e,20,0,n._getDisplayedMessages()),t(e,22,0,"error"),t(e,24,0,"hint")},null)}var A_=function(){function t(t,e,n){void 0===t&&(t=!1),void 0===n&&(n=!0);var i=this;this._multiple=t,this._emitChanges=n,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new V,this.onChange=this.changed,e&&e.length&&(t?e.forEach(function(t){return i._markSelected(t)}):this._markSelected(e[0]),this._selectedToEmit.length=0)}return Object.defineProperty(t.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),t.prototype.select=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._verifyValueAssignment(e),e.forEach(function(e){return t._markSelected(e)}),this._emitChangeEvent()},t.prototype.deselect=function(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this._verifyValueAssignment(e),e.forEach(function(e){return t._unmarkSelected(e)}),this._emitChangeEvent()},t.prototype.toggle=function(t){this.isSelected(t)?this.deselect(t):this.select(t)},t.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},t.prototype.isSelected=function(t){return this._selection.has(t)},t.prototype.isEmpty=function(){return 0===this._selection.size},t.prototype.hasValue=function(){return!this.isEmpty()},t.prototype.sort=function(t){this._multiple&&this.selected&&this._selected.sort(t)},t.prototype.isMultipleSelection=function(){return this._multiple},t.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=[])},t.prototype._markSelected=function(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))},t.prototype._unmarkSelected=function(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))},t.prototype._unmarkAll=function(){var t=this;this.isEmpty()||this._selection.forEach(function(e){return t._unmarkSelected(e)})},t.prototype._verifyValueAssignment=function(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},t}(),R_=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new D_(t,this.compare,this.keySelector))},t}(),D_=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.keySelector=i,r.hasKey=!1,"function"==typeof n&&(r.compare=n),r}return r(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=y(this.keySelector)(t))===m)return this.destination.error(m.e);var n=!1;if(this.hasKey){if((n=y(this.compare)(this.key,e))===m)return this.destination.error(m.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(T),N_=function(){function t(t){this.durationSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new M_(t,this.durationSelector))},t}(),M_=function(t){function e(e,n){var i=t.call(this,e)||this;return i.durationSelector=n,i.hasValue=!1,i}return r(e,t),e.prototype._next=function(t){if(this.value=t,this.hasValue=!0,!this.throttled){var e=y(this.durationSelector)(t);if(e===m)this.destination.error(m.e);else{var n=$(this,e);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},e.prototype.clearThrottle=function(){var t=this.value,e=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),e&&(this.value=null,this.hasValue=!1,this.destination.next(t))},e.prototype.notifyNext=function(t,e,n,i){this.clearThrottle()},e.prototype.notifyComplete=function(){this.clearThrottle()},e}(J);function F_(t){return!h(t)&&t-parseFloat(t)+1>=0}function L_(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function j_(t,e){return void 0===e&&(e=Im),n=function(){return function(t,e,n){void 0===t&&(t=0);var i=-1;return F_(e)?i=Number(e)<1?1:Number(e):H(e)&&(n=e),H(n)||(n=Im),new D(function(e){var r=F_(t)?t:+t-n.now();return n.schedule(L_,r,{index:0,period:i,subscriber:e})})}(t,e)},function(t){return t.lift(new N_(n))};var n}function V_(t){return function(e){return e.lift(new z_(t))}}var z_=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new H_(t),i=$(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n},t}(),H_=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}(J),U_=function(){function t(t,e){this._ngZone=t,this._platform=e,this._scrolled=new V,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return t.prototype.register=function(t){var e=this,n=t.elementScrolled().subscribe(function(){return e._scrolled.next(t)});this.scrollContainers.set(t,n)},t.prototype.deregister=function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))},t.prototype.scrolled=function(t){var e=this;return void 0===t&&(t=20),this._platform.isBrowser?D.create(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(j_(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):uu()},t.prototype.ngOnDestroy=function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(e,n){return t.deregister(n)}),this._scrolled.complete()},t.prototype.ancestorScrolled=function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(hu(function(t){return!t||n.indexOf(t)>-1}))},t.prototype.getAncestorScrollContainers=function(t){var e=this,n=[];return this.scrollContainers.forEach(function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)}),n},t.prototype._scrollableContainsElement=function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1},t.prototype._addGlobalListener=function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return o_(window.document,"scroll").subscribe(function(){return t._scrolled.next()})})},t.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},t.ngInjectableDef=kt({factory:function(){return new t(pe(Hr),pe(bm))},token:t,providedIn:"root"}),t}(),B_=function(){return function(){}}(),q_=function(){function t(t,e){var n=this;this._platform=t,e.runOutsideAngular(function(){n._change=t.isBrowser?ht(o_(window,"resize"),o_(window,"orientationchange")):uu(),n._invalidateCache=n.change().subscribe(function(){return n._updateViewportSize()})})}return t.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},t.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t},t.prototype.getViewportRect=function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}},t.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=document.documentElement,e=t.getBoundingClientRect();return{top:-e.top||document.body.scrollTop||window.scrollY||t.scrollTop||0,left:-e.left||document.body.scrollLeft||window.scrollX||t.scrollLeft||0}},t.prototype.change=function(t){return void 0===t&&(t=20),t>0?this._change.pipe(j_(t)):this._change},t.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},t.ngInjectableDef=kt({factory:function(){return new t(pe(bm),pe(Hr))},token:t,providedIn:"root"}),t}();function W_(){throw Error("Host already has a portal attached")}var G_=function(){function t(){}return t.prototype.attach=function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&W_(),this._attachedHost=t,t.attach(this)},t.prototype.detach=function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())},Object.defineProperty(t.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),t.prototype.setAttachedHost=function(t){this._attachedHost=t},t}(),K_=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.component=e,o.viewContainerRef=n,o.injector=i,o.componentFactoryResolver=r,o}return r(e,t),e}(G_),Y_=function(t){function e(e,n,i){var r=t.call(this)||this;return r.templateRef=e,r.viewContainerRef=n,r.context=i,r}return r(e,t),Object.defineProperty(e.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),e.prototype.attach=function(e,n){return void 0===n&&(n=this.context),this.context=n,t.prototype.attach.call(this,e)},e.prototype.detach=function(){return this.context=void 0,t.prototype.detach.call(this)},e}(G_),X_=function(){function t(){this._isDisposed=!1}return t.prototype.hasAttached=function(){return!!this._attachedPortal},t.prototype.attach=function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&W_(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof K_?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Y_?(this._attachedPortal=t,this.attachTemplatePortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},t.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},t.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},t.prototype.setDisposeFn=function(t){this._disposeFn=t},t.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},t}(),Q_=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.outletElement=e,o._componentFactoryResolver=n,o._appRef=i,o._defaultInjector=r,o}return r(e,t),e.prototype.attachComponentPortal=function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(function(){return e.destroy()})):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn(function(){n._appRef.detachView(e.hostView),e.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(e)),e},e.prototype.attachTemplatePortal=function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach(function(t){return e.outletElement.appendChild(t)}),this.setDisposeFn(function(){var t=n.indexOf(i);-1!==t&&n.remove(t)}),i},e.prototype.dispose=function(){t.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},e.prototype._getComponentRootNode=function(t){return t.hostView.rootNodes[0]},e}(X_),Z_=function(t){function e(e,n){var i=t.call(this)||this;return i._componentFactoryResolver=e,i._viewContainerRef=n,i._isInitialized=!1,i.attached=new Li,i}return r(e,t),Object.defineProperty(e.prototype,"portal",{get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&t.prototype.detach.call(this),e&&t.prototype.attach.call(this,e),this._attachedPortal=e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this._isInitialized=!0},e.prototype.ngOnDestroy=function(){t.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},e.prototype.attachComponentPortal=function(e){e.setAttachedHost(this);var n=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=this._componentFactoryResolver.resolveComponentFactory(e.component),r=n.createComponent(i,n.length,e.injector||n.injector);return t.prototype.setDisposeFn.call(this,function(){return r.destroy()}),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r},e.prototype.attachTemplatePortal=function(e){var n=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return t.prototype.setDisposeFn.call(this,function(){return n._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i},e}(X_),$_=function(){return function(){}}(),J_=function(){function t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}return t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=gm(-this._previousScrollPosition.left),t.style.top=gm(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var t=this._document.documentElement,e=t.style,n=this._document.body.style,i=e.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,e.left=this._previousHTMLStyles.left,e.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),e.scrollBehavior=n.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),e.scrollBehavior=i,n.scrollBehavior=r}},t.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var t=this._document.body,e=this._viewportRuler.getViewportSize();return t.scrollHeight>e.height||t.scrollWidth>e.width},t}();function tb(){return Error("Scroll strategy has already been attached.")}var eb=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._ngZone=e,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 t.prototype.attach=function(t){if(this._overlayRef)throw tb();this._overlayRef=t},t.prototype.enable=function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),nb=function(){function t(){}return t.prototype.enable=function(){},t.prototype.disable=function(){},t.prototype.attach=function(){},t}();function ib(t,e){return e.some(function(e){return t.bottom<e.top||t.top>e.bottom||t.right<e.left||t.left>e.right})}function rb(t,e){return e.some(function(e){return t.top<e.top||t.bottom>e.bottom||t.left<e.left||t.right>e.right})}var ob=function(){function t(t,e,n,i){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this._config=i,this._scrollSubscription=null}return t.prototype.attach=function(t){if(this._overlayRef)throw tb();this._overlayRef=t},t.prototype.enable=function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;ib(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),ab=function(){function t(t,e,n,i){var r=this;this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=n,this.noop=function(){return new nb},this.close=function(t){return new eb(r._scrollDispatcher,r._ngZone,r._viewportRuler,t)},this.block=function(){return new J_(r._viewportRuler,r._document)},this.reposition=function(t){return new ob(r._scrollDispatcher,r._viewportRuler,r._ngZone,t)},this._document=i}return t.ngInjectableDef=kt({factory:function(){return new t(pe(U_),pe(q_),pe(Hr),pe(Gu))},token:t,providedIn:"root"}),t}(),sb=function(){return function(t){var e=this;this.scrollStrategy=new nb,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t&&Object.keys(t).forEach(function(n){void 0!==t[n]&&(e[n]=t[n])})}}(),lb=function(){return function(t,e,n,i,r){this.offsetX=n,this.offsetY=i,this.panelClass=r,this.originX=t.originX,this.originY=t.originY,this.overlayX=e.overlayX,this.overlayY=e.overlayY}}(),ub=function(){return function(t,e){this.connectionPair=t,this.scrollableViewProperties=e}}();function cb(t,e){if("top"!==e&&"bottom"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "top", "bottom" or "center".')}function hb(t,e){if("start"!==e&&"end"!==e&&"center"!==e)throw Error("ConnectedPosition: Invalid "+t+' "'+e+'". Expected "start", "end" or "center".')}var pb=function(){function t(t){var e=this;this._attachedOverlays=[],this._keydownListener=function(t){for(var n=e._attachedOverlays,i=n.length-1;i>-1;i--)if(n[i]._keydownEventSubscriptions>0){n[i]._keydownEvents.next(t);break}},this._document=t}return t.prototype.ngOnDestroy=function(){this._detach()},t.prototype.add=function(t){this.remove(t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener,!0),this._isAttached=!0),this._attachedOverlays.push(t)},t.prototype.remove=function(t){var e=this._attachedOverlays.indexOf(t);e>-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this._detach()},t.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener,!0),this._isAttached=!1)},t.ngInjectableDef=kt({factory:function(){return new t(pe(Gu))},token:t,providedIn:"root"}),t}(),db=function(){function t(t){this._document=t}return t.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},t.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},t.prototype._createContainer=function(){var t=this._document.createElement("div");t.classList.add("cdk-overlay-container"),this._document.body.appendChild(t),this._containerElement=t},t.ngInjectableDef=kt({factory:function(){return new t(pe(Gu))},token:t,providedIn:"root"}),t}(),fb=function(){function t(t,e,n,i,r,o,a,s){var l=this;this._portalOutlet=t,this._host=e,this._pane=n,this._config=i,this._ngZone=r,this._keyboardDispatcher=o,this._document=a,this._location=s,this._backdropElement=null,this._backdropClick=new V,this._attachments=new V,this._detachments=new V,this._locationChanges=b.EMPTY,this._keydownEventsObservable=D.create(function(t){var e=l._keydownEvents.subscribe(t);return l._keydownEventSubscriptions++,function(){e.unsubscribe(),l._keydownEventSubscriptions--}}),this._keydownEvents=new V,this._keydownEventSubscriptions=0,i.scrollStrategy&&i.scrollStrategy.attach(this),this._positionStrategy=i.positionStrategy}return Object.defineProperty(t.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this,n=this._portalOutlet.attach(t);return this._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(cp(1)).subscribe(function(){e.hasAttached()&&e.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe(function(){return e.dispose()})),n},t.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 t=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),t}},t.prototype.dispose=function(){var t=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,t&&this._detachments.next(),this._detachments.complete()},t.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},t.prototype.backdropClick=function(){return this._backdropClick.asObservable()},t.prototype.attachments=function(){return this._attachments.asObservable()},t.prototype.detachments=function(){return this._detachments.asObservable()},t.prototype.keydownEvents=function(){return this._keydownEventsObservable},t.prototype.getConfig=function(){return this._config},t.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},t.prototype.updatePositionStrategy=function(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))},t.prototype.updateSize=function(t){this._config=o({},this._config,t),this._updateElementSize()},t.prototype.setDirection=function(t){this._config=o({},this._config,{direction:t}),this._updateElementDirection()},t.prototype.getDirection=function(){var t=this._config.direction;return t?"string"==typeof t?t:t.value:"ltr"},t.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},t.prototype._updateElementSize=function(){var t=this._pane.style;t.width=gm(this._config.width),t.height=gm(this._config.height),t.minWidth=gm(this._config.minWidth),t.minHeight=gm(this._config.minHeight),t.maxWidth=gm(this._config.maxWidth),t.maxHeight=gm(this._config.maxHeight)},t.prototype._togglePointerEvents=function(t){this._pane.style.pointerEvents=t?"auto":"none"},t.prototype._attachBackdrop=function(){var t=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",function(e){return t._backdropClick.next(e)}),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){t._backdropElement&&t._backdropElement.classList.add("cdk-overlay-backdrop-showing")})}):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},t.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},t.prototype.detachBackdrop=function(){var t=this,e=this._backdropElement;if(e){var n=void 0,i=function(){e&&e.parentNode&&e.parentNode.removeChild(e),t._backdropElement==e&&(t._backdropElement=null),clearTimeout(n)};e.classList.remove("cdk-overlay-backdrop-showing"),this._config.backdropClass&&this._toggleClasses(e,this._config.backdropClass,!1),this._ngZone.runOutsideAngular(function(){e.addEventListener("transitionend",i)}),e.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}},t.prototype._toggleClasses=function(t,e,n){var i=t.classList;mm(e).forEach(function(t){n?i.add(t):i.remove(t)})},t.prototype._detachContentWhenStable=function(){var t=this;this._ngZone.runOutsideAngular(function(){var e=t._ngZone.onStable.asObservable().pipe(V_(ht(t._attachments,t._detachments))).subscribe(function(){t._pane&&t._host&&0!==t._pane.children.length||(t._pane&&t._config.panelClass&&t._toggleClasses(t._pane,t._config.panelClass,!1),t._host&&t._host.parentElement&&(t._previousHostParent=t._host.parentElement,t._previousHostParent.removeChild(t._host)),e.unsubscribe())})})},t}(),mb=function(){function t(t,e,n,i,r){var o=this;this._viewportRuler=e,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 V,this._resizeSubscription=b.EMPTY,this._offsetX=0,this._offsetY=0,this._positionChangeSubscriptions=0,this._appliedPanelClasses=[],this.positionChanges=D.create(function(t){var e=o._positionChanges.subscribe(t);return o._positionChangeSubscriptions++,function(){e.unsubscribe(),o._positionChangeSubscriptions--}}),this.setOrigin(t)}return Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){var e=this;if(this._overlayRef&&t!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),t.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){e._isInitialRender=!0,e.apply()})},t.prototype.apply=function(){if(!(this._isDisposed||this._platform&&!this._platform.isBrowser))if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var t,e=this._originRect,n=this._overlayRect,i=this._viewportRect,r=[],o=0,a=this._preferredPositions;o<a.length;o++){var s=a[o],l=this._getOriginPoint(e,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)}):(!t||t.overlayFit.visibleArea<c.visibleArea)&&(t={overlayFit:c,overlayPoint:u,originPoint:l,position:s,overlayRect:n})}if(r.length){for(var h=null,p=-1,d=0,f=r;d<f.length;d++){var m=f[d],g=m.boundingBoxRect.width*m.boundingBoxRect.height*(m.position.weight||1);g>p&&(p=g,h=m)}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}},t.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},t.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&gb(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)},t.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._origin.getBoundingClientRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}},t.prototype.withScrollableContainers=function(t){this.scrollables=t},t.prototype.withPositions=function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},t.prototype.withViewportMargin=function(t){return this._viewportMargin=t,this},t.prototype.withFlexibleDimensions=function(t){return void 0===t&&(t=!0),this._hasFlexibleDimensions=t,this},t.prototype.withGrowAfterOpen=function(t){return void 0===t&&(t=!0),this._growAfterOpen=t,this},t.prototype.withPush=function(t){return void 0===t&&(t=!0),this._canPush=t,this},t.prototype.withLockedPosition=function(t){return void 0===t&&(t=!0),this._positionLocked=t,this},t.prototype.setOrigin=function(t){return this._origin=t instanceof pi?t.nativeElement:t,this},t.prototype.withDefaultOffsetX=function(t){return this._offsetX=t,this},t.prototype.withDefaultOffsetY=function(t){return this._offsetY=t,this},t.prototype.withTransformOriginOn=function(t){return this._transformOriginSelector=t,this},t.prototype._getOriginPoint=function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}},t.prototype._getOverlayPoint=function(t,e,n){var i;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}},t.prototype._getOverlayFit=function(t,e,n,i){var r=t.x,o=t.y,a=this._getOffset(i,"x"),s=this._getOffset(i,"y");a&&(r+=a),s&&(o+=s);var l=0-o,u=o+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),h=this._subtractOverflows(e.height,l,u),p=c*h;return{visibleArea:p,isCompletelyWithinViewport:e.width*e.height===p,fitsInViewportVertically:h===e.height,fitsInViewportHorizontally:c==e.width}},t.prototype._canFitWithFlexibleDimensions=function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,o=this._overlayRef.getConfig().minHeight,a=this._overlayRef.getConfig().minWidth;return(t.fitsInViewportVertically||null!=o&&o<=i)&&(t.fitsInViewportHorizontally||null!=a&&a<=r)}},t.prototype._pushOverlayOnScreen=function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,o=this._viewportRect,a=Math.max(t.x+e.width-o.right,0),s=Math.max(t.y+e.height-o.bottom,0),l=Math.max(o.top-n.top-t.y,0),u=Math.max(o.left-n.left-t.x,0);return this._previousPushAmount={x:i=e.width<o.width?u||-a:t.x<this._viewportMargin?o.left-n.left-t.x:0,y:r=e.height<o.height?l||-s:t.y<this._viewportMargin?o.top-n.top-t.y:0},{x:t.x+i,y:t.y+r}},t.prototype._applyPosition=function(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._lastPosition=t,this._positionChangeSubscriptions>0){var n=this._getScrollVisibility(),i=new ub(t,n);this._positionChanges.next(i)}this._isInitialRender=!1},t.prototype._setTransformOrigin=function(t){if(this._transformOriginSelector){var e,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=t.overlayY;e="center"===t.overlayX?"center":this._isRtl()?"start"===t.overlayX?"right":"left":"start"===t.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin=e+" "+i}},t.prototype._calculateBoundingBoxRect=function(t,e){var n,i,r,o,a,s,l=this._viewportRect,u=this._isRtl();if("top"===e.overlayY)i=t.y,n=l.bottom-t.y;else if("bottom"===e.overlayY)n=l.height-(r=l.height-t.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(l.bottom-t.y+l.top,t.y),h=this._lastBoundingBoxSize.height;i=t.y-c,(n=2*c)>h&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-h/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.right-t.x+this._viewportMargin,o=t.x-l.left;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)a=t.x,o=l.right-t.x;else{c=Math.min(l.right-t.x+l.left,t.x);var p=this._lastBoundingBoxSize.width;a=t.x-c,(o=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(a=t.x-p/2)}return{top:i,left:a,bottom:r,right:s,width:o,height:n}},t.prototype._setBoundingBoxStyles=function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var 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=gm(n.height),i.top=gm(n.top),i.bottom=gm(n.bottom),i.width=gm(n.width),i.left=gm(n.left),i.right=gm(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=gm(r)),o&&(i.maxWidth=gm(o))}this._lastBoundingBoxSize=n,gb(this._boundingBox.style,i)},t.prototype._resetBoundingBoxStyles=function(){gb(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},t.prototype._resetOverlayElementStyles=function(){gb(this._pane.style,{top:"",left:"",bottom:"",right:"",position:""})},t.prototype._setOverlayElementStyles=function(t,e){var n={};if(this._hasExactPosition()){var i=this._viewportRuler.getViewportScrollPosition();gb(n,this._getExactOverlayY(e,t,i)),gb(n,this._getExactOverlayX(e,t,i))}else n.position="static";var r="",o=this._getOffset(e,"x"),a=this._getOffset(e,"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=""),gb(this._pane.style,n)},t.prototype._getExactOverlayY=function(t,e,n){var i={top:null,bottom:null},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var o=this._overlayContainer?this._overlayContainer.getContainerElement().getBoundingClientRect().top:0;return r.y-=o,"bottom"===t.overlayY?i.bottom=this._document.documentElement.clientHeight-(r.y+this._overlayRect.height)+"px":i.top=gm(r.y),i},t.prototype._getExactOverlayX=function(t,e,n){var i={left:null,right:null},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right=this._document.documentElement.clientWidth-(r.x+this._overlayRect.width)+"px":i.left=gm(r.x),i},t.prototype._getScrollVisibility=function(){var t=this._origin.getBoundingClientRect(),e=this._pane.getBoundingClientRect(),n=this.scrollables.map(function(t){return t.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:rb(t,n),isOriginOutsideView:ib(t,n),isOverlayClipped:rb(e,n),isOverlayOutsideView:ib(e,n)}},t.prototype._subtractOverflows=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce(function(t,e){return t-Math.max(e,0)},t)},t.prototype._getNarrowedViewportRect=function(){var t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+t-this._viewportMargin,bottom:n.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}},t.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},t.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},t.prototype._getOffset=function(t,e){return"x"===e?null==t.offsetX?this._offsetX:t.offsetX:null==t.offsetY?this._offsetY:t.offsetY},t.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach(function(t){hb("originX",t.originX),cb("originY",t.originY),hb("overlayX",t.overlayX),cb("overlayY",t.overlayY)})},t.prototype._addPanelClasses=function(t){var e=this;this._pane&&mm(t).forEach(function(t){-1===e._appliedPanelClasses.indexOf(t)&&(e._appliedPanelClasses.push(t),e._pane.classList.add(t))})},t.prototype._clearPanelClasses=function(){var t=this;this._pane&&(this._appliedPanelClasses.forEach(function(e){return t._pane.classList.remove(e)}),this._appliedPanelClasses=[])},t}();function gb(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var yb=function(){function t(t,e,n,i,r,o){this._preferredPositions=[],this._positionStrategy=new mb(n,i,r,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,e)}return Object.defineProperty(t.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),t.prototype.attach=function(t){this._overlayRef=t,this._positionStrategy.attach(t),this._direction&&(t.setDirection(this._direction),this._direction=null)},t.prototype.dispose=function(){this._positionStrategy.dispose()},t.prototype.detach=function(){this._positionStrategy.detach()},t.prototype.apply=function(){this._positionStrategy.apply()},t.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},t.prototype.withScrollableContainers=function(t){this._positionStrategy.withScrollableContainers(t)},t.prototype.withFallbackPosition=function(t,e,n,i){var r=new lb(t,e,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.withDirection=function(t){return this._overlayRef?this._overlayRef.setDirection(t):this._direction=t,this},t.prototype.withOffsetX=function(t){return this._positionStrategy.withDefaultOffsetX(t),this},t.prototype.withOffsetY=function(t){return this._positionStrategy.withDefaultOffsetY(t),this},t.prototype.withLockedPosition=function(t){return this._positionStrategy.withLockedPosition(t),this},t.prototype.withPositions=function(t){return this._preferredPositions=t.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},t.prototype.setOrigin=function(t){return this._positionStrategy.setOrigin(t),this},t}(),vb=function(){function t(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return t.prototype.attach=function(t){var e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},t.prototype.top=function(t){return void 0===t&&(t=""),this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this},t.prototype.left=function(t){return void 0===t&&(t=""),this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this},t.prototype.bottom=function(t){return void 0===t&&(t=""),this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this},t.prototype.right=function(t){return void 0===t&&(t=""),this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this},t.prototype.width=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this},t.prototype.height=function(t){return void 0===t&&(t=""),this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this},t.prototype.centerHorizontally=function(t){return void 0===t&&(t=""),this.left(t),this._justifyContent="center",this},t.prototype.centerVertically=function(t){return void 0===t&&(t=""),this.top(t),this._alignItems="center",this},t.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig();t.position=this._cssPosition,t.marginLeft="100%"===n.width?"0":this._leftOffset,t.marginTop="100%"===n.height?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,"100%"===n.width?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems="100%"===n.height?"flex-start":this._alignItems}},t.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},t}(),_b=function(){function t(t,e,n,i){this._viewportRuler=t,this._document=e,this._platform=n,this._overlayContainer=i}return t.prototype.global=function(){return new vb},t.prototype.connectedTo=function(t,e,n){return new yb(e,n,t,this._viewportRuler,this._document)},t.prototype.flexibleConnectedTo=function(t){return new mb(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)},t.ngInjectableDef=kt({factory:function(){return new t(pe(q_),pe(Gu),pe(bm,8),pe(db,8))},token:t,providedIn:"root"}),t}(),bb=0,wb=function(){function t(t,e,n,i,r,o,a,s,l,u){this.scrollStrategies=t,this._overlayContainer=e,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 t.prototype.create=function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new sb(t);return r.direction=r.direction||this._directionality.value,new fb(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location)},t.prototype.position=function(){return this._positionBuilder},t.prototype._createPaneElement=function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-"+bb++,e.classList.add("cdk-overlay-pane"),t.appendChild(e),e},t.prototype._createHostElement=function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t},t.prototype._createPortalOutlet=function(t){return this._appRef||(this._appRef=this._injector.get(ro)),new Q_(t,this._componentFactoryResolver,this._appRef,this._injector)},t}(),xb=[{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"}],Cb=new Tt("cdk-connected-overlay-scroll-strategy"),kb=function(){return function(t){this.elementRef=t}}(),Sb=function(){function t(t,e,n,i,r){this._overlay=t,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=b.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Li,this.positionChange=new Li,this.attach=new Li,this.detach=new Li,this.overlayKeydown=new Li,this._templatePortal=new Y_(e,n),this._scrollStrategyFactory=i,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(t.prototype,"offsetX",{get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"offsetY",{get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(t){this._lockPosition=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"push",{get:function(){return this._push},set:function(t){this._push=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this._destroyOverlay()},t.prototype.ngOnChanges=function(t){this._position&&(this._updatePositionStrategy(this._position),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())},t.prototype._createOverlay=function(){var t=this;this.positions&&this.positions.length||(this.positions=xb),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe(function(e){t.overlayKeydown.next(e),27===e.keyCode&&t._detachOverlay()})},t.prototype._buildConfig=function(){var t=this._position=this._createPositionStrategy(),e=new sb({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e},t.prototype._updatePositionStrategy=function(t){var e=this,n=this.positions.map(function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY}});return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},t.prototype._createPositionStrategy=function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe(function(e){return t.positionChange.emit(e)}),e},t.prototype._attachOverlay=function(){var t=this;this._overlayRef?this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}):this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop&&(this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(e){t.backdropClick.emit(e)}))},t.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},t.prototype._destroyOverlay=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},t}();function Eb(t){return function(){return t.scrollStrategies.reposition()}}var Tb=function(){return function(){}}(),Ib=0,Ob=0,Pb=new Tt("mat-select-scroll-strategy");function Ab(t){return function(){return t.scrollStrategies.reposition()}}var Rb=function(){return function(t,e){this.source=t,this.value=e}}(),Db=function(t){function e(e,n,i,r,o,a,s,l,u,c,h,p){var d,f=t.call(this,o,r,s,l,c)||this;return f._viewportRuler=e,f._changeDetectorRef=n,f._ngZone=i,f._dir=a,f._parentFormField=u,f.ngControl=c,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(t,e){return t===e},f._uid="mat-select-"+Ib++,f._destroy=new V,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new V,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=(d=function(){return f.options?ht.apply(void 0,f.options.map(function(t){return t.onSelectionChange})):f._ngZone.onStable.asObservable().pipe(cp(1),fp(function(){return f.optionSelectionChanges}))},new D(function(t){var e;try{e=d()}catch(n){return void t.error(n)}return(e?rt(e):su()).subscribe(t)})),f.openedChange=new Li,f._openedStream=f.openedChange.pipe(hu(function(t){return t}),tt(function(){})),f._closedStream=f.openedChange.pipe(hu(function(t){return!t}),tt(function(){})),f.selectionChange=new Li,f.valueChange=new Li,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=p,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(h)||0,f.id=f.id,f}return r(e,t),Object.defineProperty(e.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=dm(t),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"multiple",{get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"compareWith",{get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._selectionModel=new A_(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(function(t){return t.lift(new R_(void 0,void 0))},V_(this._destroy)).subscribe(function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})},e.prototype.ngAfterContentInit=function(){var t=this;this._initKeyManager(),this._selectionModel.onChange.pipe(V_(this._destroy)).subscribe(function(t){t.added.forEach(function(t){return t.select()}),t.removed.forEach(function(t){return t.deselect()})}),this.options.changes.pipe(a_(null),V_(this._destroy)).subscribe(function(){t._resetOptions(),t._initializeSelection()})},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},e.prototype.ngOnChanges=function(t){t.disabled&&this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},e.prototype.toggle=function(){this.panelOpen?this.close():this.open()},e.prototype.open=function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(cp(1)).subscribe(function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize=t._triggerFontSize+"px")}))},e.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},e.prototype.writeValue=function(t){this.options&&this._setSelectionByValue(t)},e.prototype.registerOnChange=function(t){this._onChange=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(e.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map(function(t){return t.viewValue});return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),e.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},e.prototype._handleKeydown=function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))},e.prototype._handleClosedKeydown=function(t){var e=t.keyCode,n=this._keyManager;13===e||32===e||(this.multiple||t.altKey)&&(40===e||38===e||37===e||39===e)?(t.preventDefault(),this.open()):this.multiple||(36===e||35===e?(36===e?n.setFirstItemActive():n.setLastItemActive(),t.preventDefault()):n.onKeydown(t))},e.prototype._handleOpenKeydown=function(t){var e=t.keyCode,n=40===e||38===e,i=this._keyManager;if(36===e||35===e)t.preventDefault(),36===e?i.setFirstItemActive():i.setLastItemActive();else if(n&&t.altKey)t.preventDefault(),this.close();else if(13!==e&&32!==e||!i.activeItem)if(this._multiple&&65===e&&t.ctrlKey){t.preventDefault();var r=this.options.some(function(t){return!t.disabled&&!t.selected});this.options.forEach(function(t){t.disabled||(r?t.select():t.deselect())})}else{var o=i.activeItemIndex;i.onKeydown(t),this._multiple&&n&&t.shiftKey&&i.activeItem&&i.activeItemIndex!==o&&i.activeItem._selectViaInteraction()}else t.preventDefault(),i.activeItem._selectViaInteraction()},e.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},e.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},e.prototype._onAttached=function(){var t=this;this.overlayDir.positionChange.pipe(cp(1)).subscribe(function(){t._setPseudoCheckboxPaddingSize(),t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop})},e.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},e.prototype._setPseudoCheckboxPaddingSize=function(){if(!Ob&&this.multiple){var t=this.panel.nativeElement.querySelector(".mat-pseudo-checkbox");t&&(Ob=24+t.offsetWidth)}},Object.defineProperty(e.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),e.prototype._initializeSelection=function(){var t=this;Promise.resolve().then(function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value)})},e.prototype._setSelectionByValue=function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach(function(t){return e._selectValue(t)}),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n&&this._keyManager.setActiveItem(n)}this._changeDetectorRef.markForCheck()},e.prototype._selectValue=function(t){var e=this,n=this.options.find(function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return Hi()&&console.warn(i),!1}});return n&&this._selectionModel.select(n),n},e.prototype._initKeyManager=function(){var t=this;this._keyManager=new Vm(this.options).withTypeAhead().withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._keyManager.tabOut.pipe(V_(this._destroy)).subscribe(function(){t.focus(),t.close()}),this._keyManager.change.pipe(V_(this._destroy)).subscribe(function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()})},e.prototype._resetOptions=function(){var t=this,e=ht(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(V_(e)).subscribe(function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())}),ht.apply(void 0,this.options.map(function(t){return t._stateChanges})).pipe(V_(e)).subscribe(function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()}),this._setOptionIds()},e.prototype._onSelect=function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()},e.prototype._sortValues=function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort(function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)}),this.stateChanges.next()}},e.prototype._propagateChanges=function(t){var e;e=this.multiple?this.selected.map(function(t){return t.value}):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new Rb(this,e)),this._changeDetectorRef.markForCheck()},e.prototype._setOptionIds=function(){this._optionIds=this.options.map(function(t){return t.id}).join(" ")},e.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},e.prototype._scrollActiveOptionIntoView=function(){var t,e,n,i=this._keyManager.activeItemIndex||0,r=bg(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(t=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?n:n+t>e+256?Math.max(0,n-256+t):e},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._getOptionIndex=function(t){return this.options.reduce(function(e,n,i){return void 0===e?t===n?i:void 0:e},void 0)},e.prototype._calculateOverlayPosition=function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=bg(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)},e.prototype._calculateOverlayScroll=function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)},e.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},e.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},e.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},e.prototype._calculateOverlayOffsetX=function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?Ob+16:32;if(this.multiple)t=Ob;else{var o=this._selectionModel.selected[0]||this.options.first;t=o&&o.group?32:16}i||(t*=-1);var a=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);a>0?t+=a+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()},e.prototype._calculateOverlayOffsetY=function(t,e,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?t*r:this._scrollTop===n?(t-(this._getItemCount()-a))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-o))},e.prototype._checkOverlayWithinViewport=function(t){var e=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()*e,256)-o-this._triggerRect.height;a>r?this._adjustPanelUp(a,r):o>i?this._adjustPanelDown(o,i,t):this._transformOrigin=this._getOriginBasedOnOption()},e.prototype._adjustPanelUp=function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},e.prototype._adjustPanelDown=function(t,e,n){var i=Math.round(t-e);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")},e.prototype._getOriginBasedOnOption=function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-e+t/2)+"px 0px"},e.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},e.prototype._getItemHeight=function(){return 3*this._triggerFontSize},e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),e}(Ym(Xm(Gm(Qm(function(){return function(t,e,n,i,r){this._elementRef=t,this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}}()))))),Nb=function(){return function(){}}(),Mb=function(t){function e(e,n){var i=t.call(this,e)||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=$(i,n[o],null,o);a&&i.add(a)}return i}return r(e,t),e.prototype.notifyNext=function(t,e,n,i,r){this.values[n]=e,r._hasValue||(r._hasValue=!0,this.haveValues++)},e.prototype.notifyComplete=function(t){var e=this.destination,n=this.haveValues,i=this.values,r=i.length;t._hasValue?(this.completed++,this.completed===r&&(n===r&&e.next(i),e.complete())):e.complete()},e}(J),Fb=function(){function t(){}return Object.defineProperty(t.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),t.prototype.reset=function(t){void 0===t&&(t=void 0),this.control&&this.control.reset(t)},t.prototype.hasError=function(t,e){return!!this.control&&this.control.hasError(t,e)},t.prototype.getError=function(t,e){return this.control?this.control.getError(t,e):null},t}(),Lb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),Object.defineProperty(e.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),e}(Fb);function jb(t){return null==t||0===t.length}var Vb=new Tt("NgValidators"),zb=/^(?=.{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])?)*$/,Hb=function(){function t(){}return t.min=function(t){return function(e){if(jb(e.value)||jb(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null}},t.max=function(t){return function(e){if(jb(e.value)||jb(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}},t.required=function(t){return jb(t.value)?{required:!0}:null},t.requiredTrue=function(t){return!0===t.value?null:{required:!0}},t.email=function(t){return jb(t.value)?null:zb.test(t.value)?null:{email:!0}},t.minLength=function(t){return function(e){if(jb(e.value))return null;var n=e.value?e.value.length:0;return n<t?{minlength:{requiredLength:t,actualLength:n}}:null}},t.maxLength=function(t){return function(e){var n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}},t.pattern=function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(jb(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i},t.nullValidator=function(t){return null},t.compose=function(t){if(!t)return null;var e=t.filter(Ub);return 0==e.length?null:function(t){return qb(function(t,n){return e.map(function(e){return e(t)})}(t))}},t.composeAsync=function(t){if(!t)return null;var e=t.filter(Ub);return 0==e.length?null:function(t){return function t(){for(var e,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&h(n[0])&&(n=n[0]),0===n.length?au:e?t(n).pipe(tt(function(t){return e.apply(void 0,t)})):new D(function(t){return new Mb(t,n)})}(function(t,n){return e.map(function(e){return e(t)})}(t).map(Bb)).pipe(tt(qb))}},t}();function Ub(t){return null!=t}function Bb(t){var e=br(t)?rt(t):t;if(!wr(e))throw new Error("Expected validator to return Promise or Observable.");return e}function qb(t){var e=t.reduce(function(t,e){return null!=e?o({},t,e):t},{});return 0===Object.keys(e).length?null:e}var Wb=new Tt("NgValueAccessor"),Gb=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),Kb=new Tt("CompositionEventMode"),Yb=function(){function t(t,e,n){var i;this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Pc()?Pc().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._handleInput=function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)},t.prototype._compositionStart=function(){this._composing=!0},t.prototype._compositionEnd=function(t){this._composing=!1,this._compositionMode&&this.onChange(t)},t}();function Xb(t){return t.validate?function(e){return t.validate(e)}:t}function Qb(t){return t.validate?function(e){return t.validate(e)}:t}var Zb=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}();function $b(){throw new Error("unimplemented")}var Jb=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return r(e,t),Object.defineProperty(e.prototype,"validator",{get:function(){return $b()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return $b()},enumerable:!0,configurable:!0}),e}(Fb),tw=function(){function t(){this._accessors=[]}return t.prototype.add=function(t,e){this._accessors.push([t,e])},t.prototype.remove=function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)},t.prototype.select=function(t){var e=this;this._accessors.forEach(function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)})},t.prototype._isSameGroup=function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name},t}(),ew=function(){function t(t,e,n,i){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return t.prototype.ngOnInit=function(){this._control=this._injector.get(Jb),this._checkName(),this._registry.add(this._control,this)},t.prototype.ngOnDestroy=function(){this._registry.remove(this)},t.prototype.writeValue=function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},t.prototype.registerOnChange=function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}},t.prototype.fireUncheck=function(t){this.writeValue(t)},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},t.prototype._throwNameError=function(){throw new Error('\n      If you define both a name and a formControlName attribute on your radio button, their values\n      must match. Ex: <input type="radio" formControlName="food" name="food">\n    ')},t}(),nw=function(){function t(t,e){this._renderer=t,this._elementRef=e,this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.writeValue=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))},t.prototype.registerOnChange=function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t}(),iw='\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    });',rw='\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    });',ow='\n    <form>\n       <div ngModelGroup="person">\n          <input [(ngModel)]="person.name" name="firstName">\n       </div>\n    </form>',aw=function(){function t(){}return t.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive.  You'll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+iw)},t.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n       that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n       Option 1:  Update the parent to be formGroupName (reactive form strategy)\n\n        '+rw+"\n\n        Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n        "+ow)},t.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n       Example:\n\n       "+iw)},t.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive.  You'll want to add a formGroup\n      directive and pass it an existing FormGroup instance (you can create one in your class).\n\n      Example:\n\n      "+rw)},t.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive.  You\'ll want to add a formGroup\n       directive and pass it an existing FormGroup instance (you can create one in your class).\n\n        Example:\n\n        \n    <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    });')},t.disabledAttrWarning=function(){console.warn("\n      It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n      when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n      you. We recommend using this approach to avoid 'changed after checked' errors.\n       \n      Example: \n      form = new FormGroup({\n        first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n        last: new FormControl('Drew', Validators.required)\n      });\n    ")},t.ngModelWarning=function(t){console.warn("\n    It looks like you're using ngModel on the same form field as "+t+". \n    Support for using the ngModel input property and ngModelChange event with \n    reactive form directives has been deprecated in Angular v6 and will be removed \n    in Angular v7.\n    \n    For more information on this, see our API docs here:\n    https://angular.io/api/forms/"+("formControl"===t?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n    ")},t}();function sw(t,e){return c(e.path,[t])}function lw(t,e){t||pw(e,"Cannot find control with"),e.valueAccessor||pw(e,"No value accessor for form control with"),t.validator=Hb.compose([t.validator,e.validator]),t.asyncValidator=Hb.composeAsync([t.asyncValidator,e.asyncValidator]),e.valueAccessor.writeValue(t.value),function(t,e){e.valueAccessor.registerOnChange(function(n){t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&uw(t,e)})}(t,e),function(t,e){t.registerOnChange(function(t,n){e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(function(){t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&uw(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(function(t){e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})}),e._rawAsyncValidators.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(function(){return t.updateValueAndValidity()})})}function uw(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function cw(t,e){null==t&&pw(e,"Cannot find control with"),t.validator=Hb.compose([t.validator,e.validator]),t.asyncValidator=Hb.composeAsync([t.asyncValidator,e.asyncValidator])}function hw(t){return pw(t,"There is no FormControl instance attached to form control element with")}function pw(t,e){var n;throw n=t.path.length>1?"path: '"+t.path.join(" -> ")+"'":t.path[0]?"name: '"+t.path+"'":"unspecified name attribute",new Error(e+" "+n)}function dw(t){return null!=t?Hb.compose(t.map(Xb)):null}function fw(t){return null!=t?Hb.composeAsync(t.map(Qb)):null}var mw=[Gb,nw,Zb,function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=jt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),(t+": "+e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(){return(this._idCounter++).toString()},t.prototype._getOptionId=function(t){var e,n;try{for(var 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),t))return o}}catch(a){e={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t},t}(),function(){function t(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=jt}return Object.defineProperty(t.prototype,"compareWith",{set:function(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){var e,n=this;if(this.value=t,Array.isArray(t)){var i=t.map(function(t){return n._getOptionId(t)});e=function(t,e){t._setSelected(i.indexOf(e.toString())>-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)},t.prototype.registerOnChange=function(t){var e=this;this.onChange=function(n){var i=[];if(n.hasOwnProperty("selectedOptions"))for(var r=n.selectedOptions,o=0;o<r.length;o++){var a=r.item(o),s=e._getOptionValue(a.value);i.push(s)}else for(r=n.options,o=0;o<r.length;o++)(a=r.item(o)).selected&&(s=e._getOptionValue(a.value),i.push(s));e.value=i,t(i)}},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)},t.prototype._registerOption=function(t){var e=(this._idCounter++).toString();return this._optionMap.set(e,t),e},t.prototype._getOptionId=function(t){var e,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,t))return o}}catch(a){e={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return null},t.prototype._getOptionValue=function(t){var e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e)._value:t},t}(),ew];function gw(t,e){t._syncPendingControls(),e.forEach(function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function yw(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var vw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(e.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return sw(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return dw(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return fw(this._asyncValidators)},enumerable:!0,configurable:!0}),e.prototype._checkParentType=function(){},e}(Lb),_w=function(t){function e(e){return t.call(this,e)||this}return r(e,t),e}(function(){function t(t){this._cd=t}return Object.defineProperty(t.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),t}());function bw(t){var e=xw(t)?t.validators:t;return Array.isArray(e)?dw(e):e||null}function ww(t,e){var n=xw(e)?e.asyncValidators:t;return Array.isArray(n)?fw(n):n||null}function xw(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var Cw=function(){function t(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(t.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),t.prototype.setValidators=function(t){this.validator=bw(t)},t.prototype.setAsyncValidators=function(t){this.asyncValidator=ww(t)},t.prototype.clearValidators=function(){this.validator=null},t.prototype.clearAsyncValidators=function(){this.asyncValidator=null},t.prototype.markAsTouched=function(t){void 0===t&&(t={}),this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)},t.prototype.markAsUntouched=function(t){void 0===t&&(t={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(t){t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype.markAsDirty=function(t){void 0===t&&(t={}),this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)},t.prototype.markAsPristine=function(t){void 0===t&&(t={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(t){t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype.markAsPending=function(t){void 0===t&&(t={}),this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)},t.prototype.disable=function(t){void 0===t&&(t={}),this.status="DISABLED",this.errors=null,this._forEachChild(function(e){e.disable(o({},t,{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!0)})},t.prototype.enable=function(t){void 0===t&&(t={}),this.status="VALID",this._forEachChild(function(e){e.enable(o({},t,{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(t),this._onDisabledChange.forEach(function(t){return t(!1)})},t.prototype._updateAncestors=function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),this._parent._updatePristine(),this._parent._updateTouched())},t.prototype.setParent=function(t){this._parent=t},t.prototype.updateValueAndValidity=function(t){void 0===t&&(t={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)},t.prototype._updateTreeValidity=function(t){void 0===t&&(t={emitEvent:!0}),this._forEachChild(function(e){return e._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})},t.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},t.prototype._runValidator=function(){return this.validator?this.validator(this):null},t.prototype._runAsyncValidator=function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=Bb(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){return e.setErrors(n,{emitEvent:t})})}},t.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},t.prototype.setErrors=function(t,e){void 0===e&&(e={}),this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)},t.prototype.get=function(t){return function(t,e,n){return null==e?null:(e instanceof Array||(e=e.split(".")),e instanceof Array&&0===e.length?null:e.reduce(function(t,e){return t instanceof Sw?t.controls.hasOwnProperty(e)?t.controls[e]:null:t instanceof Ew&&t.at(e)||null},t))}(this,t)},t.prototype.getError=function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null},t.prototype.hasError=function(t,e){return!!this.getError(t,e)},Object.defineProperty(t.prototype,"root",{get:function(){for(var t=this;t._parent;)t=t._parent;return t},enumerable:!0,configurable:!0}),t.prototype._updateControlsErrors=function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)},t.prototype._initObservables=function(){this.valueChanges=new Li,this.statusChanges=new Li},t.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},t.prototype._anyControlsHaveStatus=function(t){return this._anyControls(function(e){return e.status===t})},t.prototype._anyControlsDirty=function(){return this._anyControls(function(t){return t.dirty})},t.prototype._anyControlsTouched=function(){return this._anyControls(function(t){return t.touched})},t.prototype._updatePristine=function(t){void 0===t&&(t={}),this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)},t.prototype._updateTouched=function(t){void 0===t&&(t={}),this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)},t.prototype._isBoxedValue=function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t},t.prototype._registerOnCollectionChange=function(t){this._onCollectionChange=t},t.prototype._setUpdateStrategy=function(t){xw(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)},t}(),kw=function(t){function e(e,n,i){void 0===e&&(e=null);var r=t.call(this,bw(n),ww(i,n))||this;return r._onChange=[],r._applyFormState(e),r._setUpdateStrategy(n),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r._initObservables(),r}return r(e,t),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(function(t){return t(n.value,!1!==e.emitViewToModelChange)}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){void 0===e&&(e={}),this.setValue(t,e)},e.prototype.reset=function(t,e){void 0===t&&(t=null),void 0===e&&(e={}),this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1},e.prototype._updateValue=function(){},e.prototype._anyControls=function(t){return!1},e.prototype._allControlsDisabled=function(){return this.disabled},e.prototype.registerOnChange=function(t){this._onChange.push(t)},e.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},e.prototype.registerOnDisabledChange=function(t){this._onDisabledChange.push(t)},e.prototype._forEachChild=function(t){},e.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},e.prototype._applyFormState=function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t},e}(Cw),Sw=function(t){function e(e,n,i){var r=t.call(this,bw(n),ww(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,t),e.prototype.registerControl=function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)},e.prototype.addControl=function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.removeControl=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.contains=function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled},e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),Object.keys(t).forEach(function(i){n._throwIfControlMissing(i),n.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),Object.keys(t).forEach(function(i){n.controls[i]&&n.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t={}),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this._reduceChildren({},function(t,e,n){return t[n]=e instanceof kw?e.value:e.getRawValue(),t})},e.prototype._syncPendingControls=function(){var t=this._reduceChildren(!1,function(t,e){return!!e._syncPendingControls()||t});return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[t])throw new Error("Cannot find form control with name: "+t+".")},e.prototype._forEachChild=function(t){var e=this;Object.keys(this.controls).forEach(function(n){return t(e.controls[n],n)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)})},e.prototype._updateValue=function(){this.value=this._reduceValue()},e.prototype._anyControls=function(t){var e=this,n=!1;return this._forEachChild(function(i,r){n=n||e.contains(r)&&t(i)}),n},e.prototype._reduceValue=function(){var t=this;return this._reduceChildren({},function(e,n,i){return(n.enabled||t.disabled)&&(e[i]=n.value),e})},e.prototype._reduceChildren=function(t,e){var n=t;return this._forEachChild(function(t,i){n=e(n,t,i)}),n},e.prototype._allControlsDisabled=function(){var t,e;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){t={error:r}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return Object.keys(this.controls).length>0||this.disabled},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '"+n+"'.")})},e}(Cw),Ew=function(t){function e(e,n,i){var r=t.call(this,bw(n),ww(i,n))||this;return r.controls=e,r._initObservables(),r._setUpdateStrategy(n),r._setUpControls(),r.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),r}return r(e,t),e.prototype.at=function(t){return this.controls[t]},e.prototype.push=function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()},e.prototype.insert=function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()},e.prototype.removeAt=function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),this.updateValueAndValidity()},e.prototype.setControl=function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(function(){}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(e.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),e.prototype.setValue=function(t,e){var n=this;void 0===e&&(e={}),this._checkAllValuesPresent(t),t.forEach(function(t,i){n._throwIfControlMissing(i),n.at(i).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.patchValue=function(t,e){var n=this;void 0===e&&(e={}),t.forEach(function(t,i){n.at(i)&&n.at(i).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)},e.prototype.reset=function(t,e){void 0===t&&(t=[]),void 0===e&&(e={}),this._forEachChild(function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e),this._updatePristine(e),this._updateTouched(e)},e.prototype.getRawValue=function(){return this.controls.map(function(t){return t instanceof kw?t.value:t.getRawValue()})},e.prototype._syncPendingControls=function(){var t=this.controls.reduce(function(t,e){return!!e._syncPendingControls()||t},!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t},e.prototype._throwIfControlMissing=function(t){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet.  If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)},e.prototype._forEachChild=function(t){this.controls.forEach(function(e,n){t(e,n)})},e.prototype._updateValue=function(){var t=this;this.value=this.controls.filter(function(e){return e.enabled||t.disabled}).map(function(t){return t.value})},e.prototype._anyControls=function(t){return this.controls.some(function(e){return e.enabled&&t(e)})},e.prototype._setUpControls=function(){var t=this;this._forEachChild(function(e){return t._registerControl(e)})},e.prototype._checkAllValuesPresent=function(t){this._forEachChild(function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: "+n+".")})},e.prototype._allControlsDisabled=function(){var t,e;try{for(var n=l(this.controls),i=n.next();!i.done;i=n.next())if(i.value.enabled)return!1}catch(r){t={error:r}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return this.controls.length>0||this.disabled},e.prototype._registerControl=function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)},e}(Cw),Tw=Promise.resolve(null),Iw=function(t){function e(e,n){var i=t.call(this)||this;return i.submitted=!1,i._directives=[],i.ngSubmit=new Li,i.form=new Sw({},dw(e),fw(n)),i}return r(e,t),e.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this;Tw.then(function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),lw(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)})},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){var e=this;Tw.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),yw(e._directives,t)})},e.prototype.addFormGroup=function(t){var e=this;Tw.then(function(){var n=e._findContainer(t.path),i=new Sw({});cw(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})})},e.prototype.removeFormGroup=function(t){var e=this;Tw.then(function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)})},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){var n=this;Tw.then(function(){n.form.get(t.path).setValue(e)})},e.prototype.setValue=function(t){this.control.setValue(t)},e.prototype.onSubmit=function(t){return this.submitted=!0,gw(this.form,this._directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},e.prototype._findContainer=function(t){return t.pop(),t.length?this.form.get(t):this.form},e}(Lb),Ow=function(){function t(){}return t.modelParentException=function(){throw new Error('\n      ngModel cannot be used to register form controls with a parent formGroup directive.  Try using\n      formGroup\'s partner directive "formControlName" instead.  Example:\n\n      '+iw+'\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  ')},t.formGroupNameException=function(){throw new Error("\n      ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n      Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n      "+rw+"\n\n      Option 2:  Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n      "+ow)},t.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n      control must be defined as \'standalone\' in ngModelOptions.\n\n      Example 1: <input [(ngModel)]="person.firstName" name="first">\n      Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},t.modelGroupParentException=function(){throw new Error("\n      ngModelGroup cannot be used with a parent formGroup directive.\n\n      Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n      "+rw+"\n\n      Option 2:  Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n      "+ow)},t.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    ")},t}(),Pw=new Tt("NgFormSelectorWarning"),Aw=function(t){function e(e,n,i){var r=t.call(this)||this;return r._parent=e,r._validators=n,r._asyncValidators=i,r}var n;return r(e,t),n=e,e.prototype._checkParentType=function(){this._parent instanceof n||this._parent instanceof Iw||Ow.modelGroupParentException()},e}(vw),Rw=Promise.resolve(null),Dw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.control=new kw,o._registered=!1,o.update=new Li,o._parent=e,o._rawValidators=n||[],o._rawAsyncValidators=i||[],o.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||pw(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach(function(e){var o;e.constructor===Yb?n=e:(o=e,mw.some(function(t){return o.constructor===t})?(i&&pw(t,"More than one built-in value accessor matches form control with"),i=e):(r&&pw(t,"More than one custom value accessor matches form control with"),r=e))}),r||i||n||(pw(t,"No valid value accessor for form control with"),null)}(o,r),o}return r(e,t),e.prototype.ngOnChanges=function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!jt(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},e.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(e.prototype,"path",{get:function(){return this._parent?sw(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validator",{get:function(){return dw(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"asyncValidator",{get:function(){return fw(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),e.prototype.viewToModelUpdate=function(t){this.viewModel=t,this.update.emit(t)},e.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},e.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},e.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},e.prototype._setUpStandalone=function(){lw(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},e.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},e.prototype._checkParentType=function(){!(this._parent instanceof Aw)&&this._parent instanceof vw?Ow.formGroupNameException():this._parent instanceof Aw||this._parent instanceof Iw||Ow.modelParentException()},e.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ow.missingNameException()},e.prototype._updateValue=function(t){var e=this;Rw.then(function(){e.control.setValue(t,{emitViewToModelChange:!1})})},e.prototype._updateDisabled=function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;Rw.then(function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()})},e}(Jb),Nw=function(t){function e(e,n){var i=t.call(this)||this;return i._validators=e,i._asyncValidators=n,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new Li,i}return r(e,t),e.prototype.ngOnChanges=function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(e.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),e.prototype.addControl=function(t){var e=this.form.get(t.path);return lw(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e},e.prototype.getControl=function(t){return this.form.get(t.path)},e.prototype.removeControl=function(t){yw(this.directives,t)},e.prototype.addFormGroup=function(t){var e=this.form.get(t.path);cw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormGroup=function(t){},e.prototype.getFormGroup=function(t){return this.form.get(t.path)},e.prototype.addFormArray=function(t){var e=this.form.get(t.path);cw(e,t),e.updateValueAndValidity({emitEvent:!1})},e.prototype.removeFormArray=function(t){},e.prototype.getFormArray=function(t){return this.form.get(t.path)},e.prototype.updateModel=function(t,e){this.form.get(t.path).setValue(e)},e.prototype.onSubmit=function(t){return this.submitted=!0,gw(this.form,this.directives),this.ngSubmit.emit(t),!1},e.prototype.onReset=function(){this.resetForm()},e.prototype.resetForm=function(t){void 0===t&&(t=void 0),this.form.reset(t),this.submitted=!1},e.prototype._updateDomValue=function(){var t=this;this.directives.forEach(function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange(function(){return hw(e)}),e.valueAccessor.registerOnTouched(function(){return hw(e)}),e._rawValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(e.control,e),n&&lw(n,e),e.control=n)}),this.form._updateTreeValidity({emitEvent:!1})},e.prototype._updateRegistrations=function(){var t=this;this.form._registerOnCollectionChange(function(){return t._updateDomValue()}),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){}),this._oldForm=this.form},e.prototype._updateValidators=function(){var t=dw(this._validators);this.form.validator=Hb.compose([this.form.validator,t]);var e=fw(this._asyncValidators);this.form.asyncValidator=Hb.composeAsync([this.form.asyncValidator,e])},e.prototype._checkFormPresent=function(){this.form||aw.missingFormException()},e}(Lb),Mw=function(){return function(){}}(),Fw=function(){function t(){}var e;return e=t,t.withConfig=function(t){return{ngModule:e,providers:[{provide:Pw,useValue:t.warnOnDeprecatedNgFormSelector}]}},t}(),Lw=aa({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-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{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 screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.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 jw(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(t()(),Ks(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.placeholder||"\xa0")})}function Vw(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"span",[],null,null,null,null,null)),(t()(),Ks(1,null,["",""]))],null,function(t,e){t(e,1,0,e.component.triggerValue||"\xa0")})}function zw(t){return Qs(0,[qs(null,0),(t()(),Da(0,null,null,0))],null,null)}function Hw(t){return Qs(0,[(t()(),Na(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),xs(1,16384,null,0,ju,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Da(16777216,null,null,1,null,Vw)),xs(3,16384,null,0,zu,[fo,ji,ju],null,null),(t()(),Da(16777216,null,null,1,null,zw)),xs(5,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,!!e.component.customTrigger),t(e,5,0,!0)},null)}function Uw(t){return Qs(0,[(t()(),Na(0,0,[[2,0],["panel",1]],null,2,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],function(t,e,n){var i=!0,r=t.component;return"@transformPanel.done"===e&&(i=!1!==r._panelDoneAnimatingStream.next(n.toState)&&i),"keydown"===e&&(i=!1!==r._handleKeydown(n)&&i),i},null,null)),xs(1,278528,null,0,Pu,[Ro,Do,pi,gi],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),qs(null,1)],function(t,e){var n,i,r=e.component;t(e,1,0,("mat-select-panel ",n=r._getPanelTheme(),"mat-select-panel "+(null!=(i=n)?i.toString():"")),r.panelClass)},function(t,e){var n=e.component;t(e,0,0,n.multiple?"showing-multiple":"showing",n._transformOrigin,n._triggerFontSize)})}function Bw(t){return Qs(2,[Vs(402653184,1,{trigger:0}),Vs(671088640,2,{panel:0}),Vs(402653184,3,{overlayDir:0}),(t()(),Na(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.toggle()&&i),i},null,null)),xs(4,16384,[["origin",4]],0,kb,[pi],null,null),(t()(),Na(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),xs(6,16384,null,0,ju,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Da(16777216,null,null,1,null,jw)),xs(8,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Da(16777216,null,null,1,null,Hw)),xs(10,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Na(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(t()(),Na(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,function(t,e,n){var i=!0,r=t.component;return"backdropClick"===e&&(i=!1!==r.close()&&i),"attach"===e&&(i=!1!==r._onAttached()&&i),"detach"===e&&(i=!1!==r.close()&&i),i},Uw)),xs(14,671744,[[3,4]],0,Sb,[wb,ji,fo,Cb,[2,Ig]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],function(t,e){var n=e.component;t(e,6,0,n.empty),t(e,8,0,!0),t(e,10,0,!1),t(e,14,0,us(e,4),n._positions,n._offsetY,null==n._triggerRect?null:n._triggerRect.width,"cdk-overlay-transparent-backdrop",n._scrollStrategy,n.panelOpen,"","")},null)}var qw=aa({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media screen and (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media screen and (-ms-high-contrast:active){.mat-option .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 Ww(t){return Qs(0,[(t()(),Na(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,Yw,Kw)),xs(1,49152,null,0,pg,[[2,e_]],{state:[0,"state"],disabled:[1,"disabled"]},null)],function(t,e){var n=e.component;t(e,1,0,n.selected?"checked":"",n.disabled)},function(t,e){t(e,0,0,"indeterminate"===us(e,1).state,"checked"===us(e,1).state,us(e,1).disabled,"NoopAnimations"===us(e,1)._animationMode)})}function Gw(t){return Qs(2,[(t()(),Da(16777216,null,null,1,null,Ww)),xs(1,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),qs(null,0),(t()(),Na(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),xs(5,212992,null,0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],function(t,e){var n=e.component;t(e,1,0,n.multiple),t(e,5,0,n.disabled||n.disableRipple,n._getHostElement())},function(t,e){t(e,4,0,us(e,5).unbounded)})}var Kw=aa({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-disabled.mat-pseudo-checkbox-indeterminate{opacity:.5}.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}"],data:{}});function Yw(t){return Qs(2,[],null,null)}var Xw,Qw={},Zw=function(){function t(t){this.resultSelector=t}return t.prototype.call=function(t,e){return e.subscribe(new $w(t,this.resultSelector))},t}(),$w=function(t){function e(e,n){var i=t.call(this,e)||this;return i.resultSelector=n,i.active=0,i.values=[],i.observables=[],i}return r(e,t),e.prototype._next=function(t){this.values.push(Qw),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var i=t[n];this.add($(this,i,i,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,i,r){var o=this.values,a=this.toRespond?o[n]===Qw?--this.toRespond:this.toRespond:0;o[n]=e,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))},e.prototype._tryResultSelector=function(t){var e;try{e=this.resultSelector.apply(this,t)}catch(n){return void this.destination.error(n)}this.destination.next(e)},e}(J),Jw=1,tx={},ex=function(t){function e(e,n){var i=t.call(this,e,n)||this;return i.scheduler=e,i.work=n,i}return r(e,t),e.prototype.requestAsyncId=function(e,n,i){return void 0===i&&(i=0),null!==i&&i>0?t.prototype.requestAsyncId.call(this,e,n,i):(e.actions.push(this),e.scheduled||(e.scheduled=(r=e.flush.bind(e,null),o=Jw++,tx[o]=r,Promise.resolve().then(function(){return function(t){var e=tx[t];e&&e()}(o)}),o)));var r,o},e.prototype.recycleAsyncId=function(e,n,i){if(void 0===i&&(i=0),null!==i&&i>0||null===i&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,i);0===e.actions.length&&(delete tx[n],e.scheduled=void 0)},e}(Sm),nx=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i<r&&(t=n.shift()));if(this.active=!1,e){for(;++i<r&&(t=n.shift());)t.unsubscribe();throw e}},e}(Tm))(ex),ix=function(){return function(){}}(),rx=new Set,ox=function(){function t(t){this.platform=t,this._matchMedia=this.platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ax}return t.prototype.matchMedia=function(t){return this.platform.WEBKIT&&function(t){if(!rx.has(t))try{Xw||((Xw=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Xw)),Xw.sheet&&(Xw.sheet.insertRule("@media "+t+" {.fx-query-test{ }}",0),rx.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)},t.ngInjectableDef=kt({factory:function(){return new t(pe(bm))},token:t,providedIn:"root"}),t}();function ax(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var sx=function(){function t(t,e){this.mediaMatcher=t,this.zone=e,this._queries=new Map,this._destroySubject=new V}return t.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},t.prototype.isMatched=function(t){var e=this;return lx(mm(t)).some(function(t){return e._registerQuery(t).mql.matches})},t.prototype.observe=function(t){var e=this;return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=null,i=null;return H(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&h(t[0])&&(t=t[0]),it(t,i).lift(new Zw(n))}(lx(mm(t)).map(function(t){return e._registerQuery(t).observable})).pipe(Om(0,nx),tt(function(t){var e={matches:!1,breakpoints:{}};return t.forEach(function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches}),e}))},t.prototype._registerQuery=function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n,i=this.mediaMatcher.matchMedia(t),r={observable:function t(e,n,i){return i?t(e,n).pipe(tt(function(t){return h(t)?i.apply(void 0,t):i(t)})):new D(function(t){var i,r=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.next(1===e.length?e[0]:e)};try{i=e(r)}catch(o){return void t.error(o)}if(d(n))return function(){return n(r,i)}})}(function(t){i.addListener(n=function(n){return e.zone.run(function(){return t(n)})})},function(){return i.removeListener(n)}).pipe(V_(this._destroySubject),a_(i),tt(function(e){return{query:t,matches:e.matches}})),mql:i};return this._queries.set(t,r),r},t.ngInjectableDef=kt({factory:function(){return new t(pe(ox),pe(Hr))},token:t,providedIn:"root"}),t}();function lx(t){return t.map(function(t){return t.split(",")}).reduce(function(t,e){return t.concat(e)}).map(function(t){return t.trim()})}var ux={XSmall:"(max-width: 599px)",Small:"(min-width: 600px) and (max-width: 959px)",Medium:"(min-width: 960px) and (max-width: 1279px)",Large:"(min-width: 1280px) and (max-width: 1919px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599px) and (orientation: portrait), (max-width: 959px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"},cx=20;function hx(t){return Error('Tooltip position "'+t+'" is invalid.')}var px=new Tt("mat-tooltip-scroll-strategy");function dx(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:cx})}}var fx=new Tt("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),mx=function(){function t(t,e,n,i,r,o,a,s,l,u,c){var h=this;this._overlay=t,this._elementRef=e,this._scrollDispatcher=n,this._viewContainerRef=i,this._ngZone=r,this._platform=o,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 V,this._scrollStrategy=l;var p=e.nativeElement,d=p.style;o.IOS||o.ANDROID||this._manualListeners.set("mouseenter",function(){return h.show()}).set("mouseleave",function(){return h.hide()}).forEach(function(t,e){return p.addEventListener(e,t)}),"INPUT"!==p.nodeName&&"TEXTAREA"!==p.nodeName||(d.webkitUserSelect=d.userSelect=d.msUserSelect=""),p.draggable&&"none"===d.webkitUserDrag&&(d.webkitUserDrag=""),s.monitor(e).pipe(V_(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&r.run(function(){return h.show()}):r.run(function(){return h.hide(0)})})}return Object.defineProperty(t.prototype,"position",{get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=dm(t),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this._message},set:function(t){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?(""+t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){var t=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._platform.IOS||(this._manualListeners.forEach(function(e,n){return t._elementRef.nativeElement.removeEventListener(n,e)}),this._manualListeners.clear()),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},t.prototype.show=function(t){var e=this;if(void 0===t&&(t=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 K_(gx,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(V_(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}},t.prototype.hide=function(t){void 0===t&&(t=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(t)},t.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},t.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},t.prototype._handleKeydown=function(t){this._isTooltipVisible()&&27===t.keyCode&&(t.stopPropagation(),this.hide(0))},t.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},t.prototype._createOverlay=function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8),n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef);return e.withScrollableContainers(n),e.positionChanges.pipe(V_(this._destroyed)).subscribe(function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run(function(){return t.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(V_(this._destroyed)).subscribe(function(){return t._detach()}),this._overlayRef},t.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},t.prototype._updatePosition=function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([o({},e.main,n.main),o({},e.fallback,n.fallback)])},t.prototype._getOrigin=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw hx(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}},t.prototype._getOverlayPosition=function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw hx(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}},t.prototype._updateTooltipMessage=function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(cp(1),V_(this._destroyed)).subscribe(function(){t._tooltipInstance&&t._overlayRef.updatePosition()}))},t.prototype._setTooltipClass=function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())},t.prototype._invertPosition=function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}},t}(),gx=function(){function t(t,e){this._changeDetectorRef=t,this._breakpointObserver=e,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new V,this._isHandset=this._breakpointObserver.observe(ux.Handset)}return t.prototype.show=function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()},t)},t.prototype.hide=function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()},t)},t.prototype.afterHidden=function(){return this._onHide.asObservable()},t.prototype.isVisible=function(){return"visible"===this._visibility},t.prototype._animationStart=function(){this._closeOnInteraction=!1},t.prototype._animationDone=function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)},t.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},t.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},t}(),yx=function(){return function(){}}(),vx=new Tt("mat-checkbox-click-action"),_x=0,bx=0,wx=function(){var t={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return t[t.Init]="Init",t[t.Checked]="Checked",t[t.Unchecked]="Unchecked",t[t.Indeterminate]="Indeterminate",t}(),xx=function(){return function(){}}(),Cx=function(t){function e(e,n,i,r,o,a,s){var l=t.call(this,e)||this;return l._changeDetectorRef=n,l._focusMonitor=i,l._ngZone=r,l._clickAction=a,l._animationMode=s,l.ariaLabel="",l.ariaLabelledby=null,l._uniqueId="mat-checkbox-"+ ++_x,l.id=l._uniqueId,l.labelPosition="after",l.name=null,l.change=new Li,l.indeterminateChange=new Li,l._onTouched=function(){},l._currentAnimationClass="",l._currentCheckState=wx.Init,l._controlValueAccessorChangeFn=function(){},l._checked=!1,l._disabled=!1,l._indeterminate=!1,l.tabIndex=parseInt(o)||0,l._focusMonitor.monitor(e,!0).subscribe(function(t){t||Promise.resolve().then(function(){return l._onTouched()})}),l}return r(e,t),Object.defineProperty(e.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=dm(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewChecked=function(){this._calculateRippleRadius()},e.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){t!=this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=t,e&&(this._transitionCheckState(this._indeterminate?wx.Indeterminate:this.checked?wx.Checked:wx.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),e.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},e.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},e.prototype.writeValue=function(t){this.checked=!!t},e.prototype.registerOnChange=function(t){this._controlValueAccessorChangeFn=t},e.prototype.registerOnTouched=function(t){this._onTouched=t},e.prototype.setDisabledState=function(t){this.disabled=t},e.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},e.prototype._transitionCheckState=function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}},e.prototype._emitChangeEvent=function(){var t=new xx;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)},e.prototype.toggle=function(){this.checked=!this.checked},e.prototype._onInputClick=function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?wx.Checked:wx.Unchecked),this._emitChangeEvent())},e.prototype.focus=function(){this._focusMonitor.focusVia(this._inputElement,"keyboard")},e.prototype._onInteractionEvent=function(t){t.stopPropagation()},e.prototype._getAnimationClassForCheckStateTransition=function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case wx.Init:if(e===wx.Checked)n="unchecked-checked";else{if(e!=wx.Indeterminate)return"";n="unchecked-indeterminate"}break;case wx.Unchecked:n=e===wx.Checked?"unchecked-checked":"unchecked-indeterminate";break;case wx.Checked:n=e===wx.Unchecked?"checked-unchecked":"checked-indeterminate";break;case wx.Indeterminate:n=e===wx.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n},e.prototype._calculateRippleRadius=function(){if(!bx){var t=this._elementRef.nativeElement.querySelector(".mat-checkbox-ripple").clientWidth||0;bx=t/2}this.ripple.radius=bx},e}(Xm(Km(Ym(Gm(function(){return function(t){this._elementRef=t}}())),"accent"))),kx=function(){return function(){}}(),Sx=aa({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media screen and (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-indeterminate.mat-checkbox-disabled .mat-checkbox-inner-container{opacity:.5}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function Ex(t){return Qs(2,[Vs(402653184,1,{_inputElement:0}),Vs(402653184,2,{ripple:0}),(t()(),Na(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(t()(),Na(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(t()(),Na(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"change"===e&&(i=!1!==r._onInteractionEvent(n)&&i),"click"===e&&(i=!1!==r._onInputClick(n)&&i),i},null,null)),(t()(),Na(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),xs(6,212992,[[2,4]],0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),function(t,e){for(var n=Object.keys(e),i=n.length,r=new Array(i),o=0;o<i;o++){var a=n[o];r[e[a]]=a}return Gs(64,7,r)}(0,{enterDuration:0}),(t()(),Na(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(t()(),Na(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(t()(),Na(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(t()(),Na(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(t()(),Na(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(t()(),Na(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(t()(),Na(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onLabelTextChange()&&i),i},null,null)),xs(15,1196032,null,0,g_,[m_,pi,Hr],null,{event:"cdkObserveContent"}),(t()(),Na(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(t()(),Ks(-1,null,["\xa0"])),qs(null,0)],function(t,e){var n=e.component,i=t(e,7,0,150);t(e,6,0,!0,20,i,n._isRippleDisabled(),us(e,2))},function(t,e){var n=e.component;t(e,2,0,n.inputId),t(e,3,0,!us(e,14).textContent||!us(e,14).textContent.trim()),t(e,4,1,[n.inputId,n.required,n.checked,n.value,n.disabled,n.name,n.tabIndex,n.indeterminate,n.ariaLabel||null,n.ariaLabelledby,n._getAriaChecked()]),t(e,5,0,us(e,6).unbounded)})}var Tx=function(){function t(t){this.http=t}return t.prototype.ngOnInit=function(){},t.prototype.setBase64=function(t,e){this.base64=""+t,this.src=e},t.prototype.setNumberCaptions=function(t,e){this.low=e,this.high=t},t.prototype.setPrivacy=function(t){this.isPrivate=t},t.prototype.getNumHighCaptions=function(){return this.high},t.prototype.getNumLowCaptions=function(){return this.low},t.prototype.getBase64=function(){return this.base64},t.prototype.getImageSrc=function(){return this.src},t.prototype.getHighCaptions=function(){var t={headers:new Ju({"Content-Type":"application/json"})};return this.http.post("http://173.255.245.197:5353/inference/",{model_level:"high",signature_name:"captions",examples:[{image:{image:this.base64}}],private:this.isPrivate},t)},t.prototype.getLowCaptions=function(){var t={headers:new Ju({"Content-Type":"application/json"})};return this.http.post("http://173.255.245.197:5353/inference/",{model_level:"low",signature_name:"captions",examples:[{image:{image:this.base64}}],private:this.isPrivate},t)},t.ngInjectableDef=kt({factory:function(){return new t(pe(dc))},token:t,providedIn:"root"}),t}(),Ix=function(){function t(t,e,n,i){this.captionsService=t,this.route=e,this.location=n,this.router=i,this.highCaptions=0,this.lowCaptions=0,this.checked=!1}return t.prototype.ngOnInit=function(){},t.prototype.onFileUpload=function(t){var e=this;this.selecetdFile=t.target.files[0];var n=new FileReader;n.onload=function(){var t=new Image;t.src=window.URL.createObjectURL(e.selecetdFile),t.onload=function(){var i=t.naturalWidth,r=t.naturalHeight;window.URL.revokeObjectURL(t.src),(i<900||i>1500)&&(r<1620||r>2220)&&alert("not optimal image size may affect accuracy of results"),e.temp=n.result,e.imagePreview=""+e.temp,e.imagePreview=e.imagePreview.replace(/^data:image\/[a-z]+;base64,/,"")}},n.readAsDataURL(this.selecetdFile)},t.prototype.setImage=function(){this.captionsService.setBase64(this.imagePreview,this.temp)},t.prototype.setPrivacy=function(){this.captionsService.setPrivacy(this.checked)},t.prototype.setNumberCaptions=function(t,e){this.highCaptions=Number(t),this.lowCaptions=Number(e),this.captionsService.setNumberCaptions(this.highCaptions,this.lowCaptions)},t}(),Ox=aa({encapsulation:0,styles:[[".select-pad[_ngcontent-%COMP%]{padding-top:140px;padding-bottom:199px}.select[_ngcontent-%COMP%]{width:40px;left:10%}.desc[_ngcontent-%COMP%]{float:right}.want-pad[_ngcontent-%COMP%]{padding-top:80px;padding-bottom:40px}.white-button[_ngcontent-%COMP%]{color:#fff;border-color:#fff;font-size:20px}.green-button[_ngcontent-%COMP%]{color:#115740;border-color:#115740;font-size:20px}.green-select[_ngcontent-%COMP%]{font-color:#115740;color:#115740;border-color:#115740}.info-icon-high[_ngcontent-%COMP%]{float:right;padding-right:20%;width:3%;padding-top:4%;padding-left:1%}.info-icon-low[_ngcontent-%COMP%]{float:right;padding-right:21%;width:3%;padding-top:4%;padding-left:1%}"]],data:{}});function Px(t){return Qs(0,[(t()(),Na(0,0,null,null,9,"div",[["class","main-look select-pad"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,3,"div",[["class","small-pad"]],null,null,null,null,null)),(t()(),Ks(-1,null,["Upload a screenshot and let Android Clarity caption its functionality! "])),(t()(),Na(3,0,null,null,0,"br",[],null,null,null,null,null)),(t()(),Ks(-1,null,[" Make sure the image is a 1200x1920 jpeg."])),(t()(),Na(5,0,null,null,4,"div",[["class","small-pad"]],null,null,null,null,null)),(t()(),Na(6,0,[["fileInput",1]],null,0,"input",[["accept","image/jpeg"],["style","display: none"],["type","file"]],null,[[null,"change"]],function(t,e,n){var i=!0;return"change"===e&&(i=!1!==t.component.onFileUpload(n)&&i),i},null,null)),(t()(),Na(7,0,null,null,2,"button",[["class","white-button"],["id","select_file_upload_button"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,6).click()&&i),i},r_,i_)),xs(8,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),(t()(),Ks(-1,0,["select file"]))],null,function(t,e){t(e,7,0,us(e,8).disabled||null,"NoopAnimations"===us(e,8)._animationMode)})}function Ax(t){return Qs(0,[(t()(),Na(0,0,null,null,4,"div",[["style","text-align:center;"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,3,"button",[["class","green-button"],["id","generate_captions_button"],["mat-stroked-button",""],["routerLink","/captions"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==us(t,3).onClick()&&i),"click"===e&&(r.setImage(),r.setNumberCaptions(r.high,r.low),i=!1!==r.setPrivacy()&&i),i},r_,i_)),xs(2,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),xs(3,16384,null,0,Rf,[Af,Od,[8,null],gi,pi],{routerLink:[0,"routerLink"]},null),(t()(),Ks(-1,0,[" generate "]))],function(t,e){t(e,3,0,"/captions")},function(t,e){t(e,1,0,us(e,2).disabled||null,"NoopAnimations"===us(e,2)._animationMode)})}function Rx(t){return Qs(0,[(t()(),Na(0,0,null,null,82,"div",[["class","small-pad"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,81,"div",[["class","white-elem main-frame"]],null,null,null,null,null)),(t()(),Na(2,0,null,null,80,"div",[["class","row"]],null,null,null,null,null)),(t()(),Na(3,0,null,null,1,"div",[["class","column-small"]],null,null,null,null,null)),(t()(),Na(4,0,null,null,0,"img",[["class","black-shadow screenshot"],["style","float:right;"]],[[8,"src",4]],null,null,null,null)),(t()(),Na(5,0,null,null,75,"div",[["class","column-large"]],null,null,null,null,null)),(t()(),Na(6,0,null,null,1,"div",[["class","wm-green-font want-pad"]],null,null,null,null,null)),(t()(),Ks(-1,null,["I want..."])),(t()(),Na(8,0,null,null,32,"div",[],null,null,null,null,null)),(t()(),Na(9,0,null,null,27,"mat-form-field",[["class","select mat-form-field"],["id","high_level_count_form"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(10,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,1,{_control:0}),Vs(335544320,2,{_placeholderChild:0}),Vs(335544320,3,{_labelChild:0}),Vs(603979776,4,{_errorChildren:1}),Vs(603979776,5,{_hintChildren:1}),Vs(603979776,6,{_prefixChildren:1}),Vs(603979776,7,{_suffixChildren:1}),(t()(),Na(18,0,null,1,18,"mat-select",[["class","select mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==us(t,19)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==us(t,19)._onFocus()&&i),"blur"===e&&(i=!1!==us(t,19)._onBlur()&&i),"valueChange"===e&&(i=!1!==(r.high=n)&&i),i},Bw,Lw)),xs(19,2080768,null,3,Db,[q_,mo,Hr,Zm,pi,[2,Ig],[2,Iw],[2,Nw],[2,p_],[8,null],[8,null],Pb],{value:[0,"value"]},{valueChange:"valueChange"}),Vs(603979776,8,{options:1}),Vs(603979776,9,{optionGroups:1}),Vs(335544320,10,{customTrigger:0}),ks(2048,[[1,4]],s_,null,[Db]),ks(2048,null,vg,null,[Db]),(t()(),Na(25,0,null,1,2,"mat-option",[["class","mat-option"],["id","high_option_0"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,26)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,26)._handleKeydown(n)&&i),i},Gw,qw)),xs(26,8568832,[[8,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["0"])),(t()(),Na(28,0,null,1,2,"mat-option",[["class","mat-option"],["id","high_option_1"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,29)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,29)._handleKeydown(n)&&i),i},Gw,qw)),xs(29,8568832,[[8,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["1"])),(t()(),Na(31,0,null,1,2,"mat-option",[["class","mat-option"],["id","high_option_2"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,32)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,32)._handleKeydown(n)&&i),i},Gw,qw)),xs(32,8568832,[[8,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["2"])),(t()(),Na(34,0,null,1,2,"mat-option",[["class","mat-option"],["id","high_option_3"],["role","option"],["value","3"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,35)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,35)._handleKeydown(n)&&i),i},Gw,qw)),xs(35,8568832,[[8,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["3"])),(t()(),Na(37,16777216,null,null,1,"img",[["class","info-icon-high"],["matTooltip","high-level help"],["src","/assets/info-icon.png"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==us(t,38).show()&&i),"keydown"===e&&(i=!1!==us(t,38)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==us(t,38)._handleTouchend()&&i),i},null,null)),xs(38,147456,null,0,mx,[wb,pi,U_,fo,Hr,bm,Lm,Hm,px,[2,Ig],[2,fx]],{message:[0,"message"]},null),(t()(),Na(39,0,null,null,1,"p",[["class","wm-green-font desc"]],null,null,null,null,null)),(t()(),Ks(-1,null,["high-level description(s)"])),(t()(),Na(41,0,null,null,39,"div",[["class","large-pad"]],null,null,null,null,null)),(t()(),Na(42,0,null,null,27,"mat-form-field",[["class","select mat-form-field"],["id","low_level_count_form"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(43,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,11,{_control:0}),Vs(335544320,12,{_placeholderChild:0}),Vs(335544320,13,{_labelChild:0}),Vs(603979776,14,{_errorChildren:1}),Vs(603979776,15,{_hintChildren:1}),Vs(603979776,16,{_prefixChildren:1}),Vs(603979776,17,{_suffixChildren:1}),(t()(),Na(51,0,null,1,18,"mat-select",[["class","select mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"valueChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(t,e,n){var i=!0,r=t.component;return"keydown"===e&&(i=!1!==us(t,52)._handleKeydown(n)&&i),"focus"===e&&(i=!1!==us(t,52)._onFocus()&&i),"blur"===e&&(i=!1!==us(t,52)._onBlur()&&i),"valueChange"===e&&(i=!1!==(r.low=n)&&i),i},Bw,Lw)),xs(52,2080768,null,3,Db,[q_,mo,Hr,Zm,pi,[2,Ig],[2,Iw],[2,Nw],[2,p_],[8,null],[8,null],Pb],{value:[0,"value"]},{valueChange:"valueChange"}),Vs(603979776,18,{options:1}),Vs(603979776,19,{optionGroups:1}),Vs(335544320,20,{customTrigger:0}),ks(2048,[[11,4]],s_,null,[Db]),ks(2048,null,vg,null,[Db]),(t()(),Na(58,0,null,1,2,"mat-option",[["class","mat-option"],["id","low_option_0"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,59)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,59)._handleKeydown(n)&&i),i},Gw,qw)),xs(59,8568832,[[18,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["0"])),(t()(),Na(61,0,null,1,2,"mat-option",[["class","mat-option"],["id","low_option_1"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,62)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,62)._handleKeydown(n)&&i),i},Gw,qw)),xs(62,8568832,[[18,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["1"])),(t()(),Na(64,0,null,1,2,"mat-option",[["class","mat-option"],["id","low_option_2"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,65)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,65)._handleKeydown(n)&&i),i},Gw,qw)),xs(65,8568832,[[18,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["2"])),(t()(),Na(67,0,null,1,2,"mat-option",[["class","mat-option"],["id","low_option_3"],["role","option"],["value","3"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,68)._selectViaInteraction()&&i),"keydown"===e&&(i=!1!==us(t,68)._handleKeydown(n)&&i),i},Gw,qw)),xs(68,8568832,[[18,4]],0,_g,[pi,mo,[2,vg],[2,mg]],{value:[0,"value"],id:[1,"id"]},null),(t()(),Ks(-1,0,["3"])),(t()(),Na(70,16777216,null,null,1,"img",[["class","info-icon-low"],["matTooltip","low-level help"],["src","/assets/info-icon.png"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],function(t,e,n){var i=!0;return"longpress"===e&&(i=!1!==us(t,71).show()&&i),"keydown"===e&&(i=!1!==us(t,71)._handleKeydown(n)&&i),"touchend"===e&&(i=!1!==us(t,71)._handleTouchend()&&i),i},null,null)),xs(71,147456,null,0,mx,[wb,pi,U_,fo,Hr,bm,Lm,Hm,px,[2,Ig],[2,fx]],{message:[0,"message"]},null),(t()(),Na(72,0,null,null,1,"p",[["class","wm-green-font desc"]],null,null,null,null,null)),(t()(),Ks(-1,null,["low-level description(s)"])),(t()(),Na(74,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(t,e,n){var i=!0;return"ngModelChange"===e&&(i=!1!==(t.component.checked=n)&&i),i},Ex,Sx)),xs(75,8568832,null,0,Cx,[pi,mo,Hm,Hr,[8,null],[2,vx],[2,e_]],null,null),ks(1024,null,Wb,function(t){return[t]},[Cx]),xs(77,671744,null,0,Dw,[[8,null],[8,null],[8,null],[6,Wb]],{model:[0,"model"]},{update:"ngModelChange"}),ks(2048,null,Jb,null,[Dw]),xs(79,16384,null,0,_w,[[4,Jb]],null,null),(t()(),Ks(-1,0,["I do not want my image or responses to be public"])),(t()(),Da(16777216,null,null,1,null,Ax)),xs(82,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,19,0,n.high),t(e,26,0,"0","high_option_0"),t(e,29,0,"1","high_option_1"),t(e,32,0,"2","high_option_2"),t(e,35,0,"3","high_option_3"),t(e,38,0,"high-level help"),t(e,52,0,n.low),t(e,59,0,"0","low_option_0"),t(e,62,0,"1","low_option_1"),t(e,65,0,"2","low_option_2"),t(e,68,0,"3","low_option_3"),t(e,71,0,"low-level help"),t(e,77,0,n.checked),t(e,82,0,n.high>0||n.low>0)},function(t,e){t(e,4,0,e.component.temp),t(e,9,1,["standard"==us(e,10).appearance,"fill"==us(e,10).appearance,"outline"==us(e,10).appearance,"legacy"==us(e,10).appearance,us(e,10)._control.errorState,us(e,10)._canLabelFloat,us(e,10)._shouldLabelFloat(),us(e,10)._hideControlPlaceholder(),us(e,10)._control.disabled,us(e,10)._control.autofilled,us(e,10)._control.focused,"accent"==us(e,10).color,"warn"==us(e,10).color,us(e,10)._shouldForward("untouched"),us(e,10)._shouldForward("touched"),us(e,10)._shouldForward("pristine"),us(e,10)._shouldForward("dirty"),us(e,10)._shouldForward("valid"),us(e,10)._shouldForward("invalid"),us(e,10)._shouldForward("pending"),!us(e,10)._animationsEnabled]),t(e,18,1,[us(e,19).id,us(e,19).tabIndex,us(e,19)._getAriaLabel(),us(e,19)._getAriaLabelledby(),us(e,19).required.toString(),us(e,19).disabled.toString(),us(e,19).errorState,us(e,19).panelOpen?us(e,19)._optionIds:null,us(e,19).multiple,us(e,19)._ariaDescribedby||null,us(e,19)._getAriaActiveDescendant(),us(e,19).disabled,us(e,19).errorState,us(e,19).required,us(e,19).empty]),t(e,25,0,us(e,26)._getTabIndex(),us(e,26).selected,us(e,26).multiple,us(e,26).active,us(e,26).id,us(e,26).selected.toString(),us(e,26).disabled.toString(),us(e,26).disabled),t(e,28,0,us(e,29)._getTabIndex(),us(e,29).selected,us(e,29).multiple,us(e,29).active,us(e,29).id,us(e,29).selected.toString(),us(e,29).disabled.toString(),us(e,29).disabled),t(e,31,0,us(e,32)._getTabIndex(),us(e,32).selected,us(e,32).multiple,us(e,32).active,us(e,32).id,us(e,32).selected.toString(),us(e,32).disabled.toString(),us(e,32).disabled),t(e,34,0,us(e,35)._getTabIndex(),us(e,35).selected,us(e,35).multiple,us(e,35).active,us(e,35).id,us(e,35).selected.toString(),us(e,35).disabled.toString(),us(e,35).disabled),t(e,42,1,["standard"==us(e,43).appearance,"fill"==us(e,43).appearance,"outline"==us(e,43).appearance,"legacy"==us(e,43).appearance,us(e,43)._control.errorState,us(e,43)._canLabelFloat,us(e,43)._shouldLabelFloat(),us(e,43)._hideControlPlaceholder(),us(e,43)._control.disabled,us(e,43)._control.autofilled,us(e,43)._control.focused,"accent"==us(e,43).color,"warn"==us(e,43).color,us(e,43)._shouldForward("untouched"),us(e,43)._shouldForward("touched"),us(e,43)._shouldForward("pristine"),us(e,43)._shouldForward("dirty"),us(e,43)._shouldForward("valid"),us(e,43)._shouldForward("invalid"),us(e,43)._shouldForward("pending"),!us(e,43)._animationsEnabled]),t(e,51,1,[us(e,52).id,us(e,52).tabIndex,us(e,52)._getAriaLabel(),us(e,52)._getAriaLabelledby(),us(e,52).required.toString(),us(e,52).disabled.toString(),us(e,52).errorState,us(e,52).panelOpen?us(e,52)._optionIds:null,us(e,52).multiple,us(e,52)._ariaDescribedby||null,us(e,52)._getAriaActiveDescendant(),us(e,52).disabled,us(e,52).errorState,us(e,52).required,us(e,52).empty]),t(e,58,0,us(e,59)._getTabIndex(),us(e,59).selected,us(e,59).multiple,us(e,59).active,us(e,59).id,us(e,59).selected.toString(),us(e,59).disabled.toString(),us(e,59).disabled),t(e,61,0,us(e,62)._getTabIndex(),us(e,62).selected,us(e,62).multiple,us(e,62).active,us(e,62).id,us(e,62).selected.toString(),us(e,62).disabled.toString(),us(e,62).disabled),t(e,64,0,us(e,65)._getTabIndex(),us(e,65).selected,us(e,65).multiple,us(e,65).active,us(e,65).id,us(e,65).selected.toString(),us(e,65).disabled.toString(),us(e,65).disabled),t(e,67,0,us(e,68)._getTabIndex(),us(e,68).selected,us(e,68).multiple,us(e,68).active,us(e,68).id,us(e,68).selected.toString(),us(e,68).disabled.toString(),us(e,68).disabled),t(e,74,1,[us(e,75).id,null,us(e,75).indeterminate,us(e,75).checked,us(e,75).disabled,"before"==us(e,75).labelPosition,"NoopAnimations"===us(e,75)._animationMode,us(e,79).ngClassUntouched,us(e,79).ngClassTouched,us(e,79).ngClassPristine,us(e,79).ngClassDirty,us(e,79).ngClassValid,us(e,79).ngClassInvalid,us(e,79).ngClassPending])})}function Dx(t){return Qs(0,[(t()(),Da(16777216,null,null,1,null,Px)),xs(1,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,Rx)),xs(3,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,1,0,!n.imagePreview),t(e,3,0,n.imagePreview)},null)}function Nx(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-upload",[],null,null,null,Dx,Ox)),xs(1,114688,null,0,Ix,[Tx,Od,vu,Af],null,null)],function(t,e){t(e,1,0)},null)}var Mx=$a("app-upload",Ix,Nx,{},{},[]),Fx=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Lx=aa({encapsulation:0,styles:[[""]],data:{}});function jx(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ks(-1,null,[" about works!\n"]))],null,null)}function Vx(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-about",[],null,null,null,jx,Lx)),xs(1,114688,null,0,Fx,[],null,null)],function(t,e){t(e,1,0)},null)}var zx=$a("app-about",Fx,Vx,{},{},[]),Hx=function(){function t(){}return t.prototype.ngOnInit=function(){},t}(),Ux=aa({encapsulation:0,styles:[[""]],data:{}});function Bx(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"p",[],null,null,null,null,null)),(t()(),Ks(-1,null,[" team works!\n"]))],null,null)}function qx(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-team",[],null,null,null,Bx,Ux)),xs(1,114688,null,0,Hx,[],null,null)],function(t,e){t(e,1,0)},null)}var Wx=$a("app-team",Hx,qx,{},{},[]),Gx=new Tt("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),Kx=function(){function t(t,e,n){this._elementRef=t,this._ngZone=e,this._inkBarPositioner=n}return t.prototype.alignToElement=function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e._setStyles(t)})}):this._setStyles(t)},t.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},t.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},t.prototype._setStyles=function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width},t}(),Yx=function(t){function e(e){var n=t.call(this)||this;return n._viewContainerRef=e,n.textLabel="",n._contentPortal=null,n._stateChanges=new V,n.position=null,n.origin=null,n.isActive=!1,n}return r(e,t),Object.defineProperty(e.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),e.prototype.ngOnChanges=function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()},e.prototype.ngOnDestroy=function(){this._stateChanges.complete()},e.prototype.ngOnInit=function(){this._contentPortal=new Y_(this._explicitContent||this._implicitContent,this._viewContainerRef)},e}(Gm(function(){return function(){}}())),Xx=function(t){function e(e,n,i){var r=t.call(this,e,n)||this;return r._host=i,r._centeringSub=b.EMPTY,r._leavingSub=b.EMPTY,r}return r(e,t),e.prototype.ngOnInit=function(){var e=this;t.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(a_(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})},e.prototype.ngOnDestroy=function(){t.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},e}(Z_),Qx=function(){function t(t,e,n){var i=this;this._elementRef=t,this._dir=e,this._dirChangeSubscription=b.EMPTY,this._onCentering=new Li,this._beforeCentering=new Li,this._afterLeavingCenter=new Li,this._onCentered=new Li(!0),this._dir&&n&&(this._dirChangeSubscription=this._dir.change.subscribe(function(t){i._computePositionAnimationState(t),n.markForCheck()}))}return Object.defineProperty(t.prototype,"position",{set:function(t){this._positionIndex=t,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},t.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe()},t.prototype._onTranslateTabStarted=function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},t.prototype._onTranslateTabComplete=function(t){this._isCenterPosition(t.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(t.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()},t.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},t.prototype._isCenterPosition=function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t},t.prototype._computePositionAnimationState=function(t){void 0===t&&(t=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"},t.prototype._computePositionFromOrigin=function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"},t}(),Zx=function(t){function e(e){var n=t.call(this)||this;return n.elementRef=e,n}return r(e,t),e.prototype.focus=function(){this.elementRef.nativeElement.focus()},e.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},e.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},e}(Gm(function(){return function(){}}())),$x=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._elementRef=e,a._changeDetectorRef=n,a._viewportRuler=i,a._dir=r,a._ngZone=o,a._scrollDistance=0,a._selectedIndexChanged=!1,a._destroyed=new V,a._showPaginationControls=!1,a._disableScrollAfter=!0,a._disableScrollBefore=!0,a._selectedIndex=0,a.selectFocusedIndex=new Li,a.indexFocused=new Li,a}return r(e,t),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){t=fm(t),this._selectedIndexChanged=this._selectedIndex!=t,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t)},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._labelWrappers.length&&(this._updatePagination(),this._tabLabelCount=this._labelWrappers.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},e.prototype._handleKeydown=function(t){switch(t.keyCode){case 36:this._keyManager.setFirstItemActive(),t.preventDefault();break;case 35:this._keyManager.setLastItemActive(),t.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),t.preventDefault();break;default:this._keyManager.onKeydown(t)}},e.prototype.ngAfterContentInit=function(){var t=this,e=this._dir?this._dir.change:uu(null),n=this._viewportRuler.change(150),i=function(){t._updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new zm(this._labelWrappers).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),ht(e,n).pipe(V_(this._destroyed)).subscribe(function(){i(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())}),this._keyManager.change.pipe(V_(this._destroyed)).subscribe(function(e){t.indexFocused.emit(e),t._setTabFocus(e)})},e.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},e.prototype._onContentChanges=function(){var t=this,e=function(){t._updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()};this._ngZone?this._ngZone.run(e):e()},e.prototype._updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(e.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)},enumerable:!0,configurable:!0}),e.prototype._isValidIndex=function(t){if(!this._labelWrappers)return!0;var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;return!!e&&!e.disabled},e.prototype._setTabFocus=function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._labelWrappers&&this._labelWrappers.length){this._labelWrappers.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}},e.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},e.prototype._updateTabScrollPosition=function(){var t=this.scrollDistance,e="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX("+e+"px)"},Object.defineProperty(e.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(t){this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),t)),this._scrollDistanceChanged=!0,this._checkScrollingControls()},enumerable:!0,configurable:!0}),e.prototype._scrollHeader=function(t){this.scrollDistance+=("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3},e.prototype._scrollToLabel=function(t){var e=this._labelWrappers?this._labelWrappers.toArray()[t]:null;if(e){var n,i,r=this._tabListContainer.nativeElement.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=e.getOffsetLeft())+e.getOffsetWidth():n=(i=this._tabList.nativeElement.offsetWidth-e.getOffsetLeft())-e.getOffsetWidth();var o=this.scrollDistance,a=this.scrollDistance+r;n<o?this.scrollDistance-=o-n+60:i>a&&(this.scrollDistance+=i-a+60)}},e.prototype._checkPaginationEnabled=function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t},e.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},e.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},e.prototype._alignInkBarToSelectedTab=function(){var t=this._labelWrappers&&this._labelWrappers.length?this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement:null;this._inkBar.alignToElement(t)},e}(Ym(function(){return function(){}}())),Jx=0,tC=function(){return function(){}}(),eC=function(t){function e(e,n){var i=t.call(this,e)||this;return i._changeDetectorRef=n,i._indexToSelect=0,i._tabBodyWrapperHeight=0,i._tabsSubscription=b.EMPTY,i._tabLabelSubscription=b.EMPTY,i._dynamicHeight=!1,i._selectedIndex=null,i.headerPosition="above",i.selectedIndexChange=new Li,i.focusChange=new Li,i.animationDone=new Li,i.selectedTabChange=new Li(!0),i._groupId=Jx++,i}return r(e,t),Object.defineProperty(e.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=fm(t,null)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-"+this.backgroundColor),t&&e.classList.add("mat-background-"+t),this._backgroundColor=t},enumerable:!0,configurable:!0}),e.prototype.ngAfterContentChecked=function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then(function(){t._tabs.forEach(function(t,n){return t.isActive=n===e}),n||t.selectedIndexChange.emit(e)})}this._tabs.forEach(function(n,i){n.position=i-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())},e.prototype.ngAfterContentInit=function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()})},e.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},e.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},e.prototype._focusChanged=function(t){this.focusChange.emit(this._createChangeEvent(t))},e.prototype._createChangeEvent=function(t){var e=new tC;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e},e.prototype._subscribeToTabLabels=function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=ht.apply(void 0,this._tabs.map(function(t){return t._stateChanges})).subscribe(function(){return t._changeDetectorRef.markForCheck()})},e.prototype._clampTabIndex=function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))},e.prototype._getTabLabelId=function(t){return"mat-tab-label-"+this._groupId+"-"+t},e.prototype._getTabContentId=function(t){return"mat-tab-content-"+this._groupId+"-"+t},e.prototype._setTabBodyWrapperHeight=function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}},e.prototype._removeTabBodyWrapperHeight=function(){this._tabBodyWrapperHeight=this._tabBodyWrapper.nativeElement.clientHeight,this._tabBodyWrapper.nativeElement.style.height="",this.animationDone.emit()},e.prototype._handleClick=function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)},e.prototype._getTabIndex=function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1},e}(Km(Ym(function(){return function(t){this._elementRef=t}}()),"primary")),nC=function(){return function(){}}(),iC=aa({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function rC(t){return Qs(0,[(t()(),Da(0,null,null,0))],null,null)}function oC(t){return Qs(0,[(t()(),Da(16777216,null,null,1,null,rC)),xs(1,212992,null,0,Z_,[ti,fo],{portal:[0,"portal"]},null),(t()(),Da(0,null,null,0))],function(t,e){t(e,1,0,e.parent.context.$implicit.templateLabel)},null)}function aC(t){return Qs(0,[(t()(),Ks(0,null,["",""]))],null,function(t,e){t(e,0,0,e.parent.context.$implicit.textLabel)})}function sC(t){return Qs(0,[(t()(),Na(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._handleClick(t.context.$implicit,us(t.parent,3),t.context.index)&&i),i},null,null)),xs(1,212992,null,0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{disabled:[0,"disabled"]},null),xs(2,147456,null,0,Um,[pi,Hm],null,null),xs(3,16384,[[3,4]],0,Zx,[pi],{disabled:[0,"disabled"]},null),(t()(),Na(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,null,oC)),xs(6,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,aC)),xs(8,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){t(e,1,0,e.context.$implicit.disabled||e.component.disableRipple),t(e,3,0,e.context.$implicit.disabled),t(e,6,0,e.context.$implicit.templateLabel),t(e,8,0,!e.context.$implicit.templateLabel)},function(t,e){var n=e.component;t(e,0,1,[n._getTabLabelId(e.context.index),n._getTabIndex(e.context.$implicit,e.context.index),e.context.index+1,n._tabs.length,n._getTabContentId(e.context.index),n.selectedIndex==e.context.index,e.context.$implicit.ariaLabel||null,!e.context.$implicit.ariaLabel&&e.context.$implicit.ariaLabelledby?e.context.$implicit.ariaLabelledby:null,n.selectedIndex==e.context.index,us(e,1).unbounded,us(e,3).disabled,!!us(e,3).disabled])})}function lC(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],function(t,e,n){var i=!0,r=t.component;return"_onCentered"===e&&(i=!1!==r._removeTabBodyWrapperHeight()&&i),"_onCentering"===e&&(i=!1!==r._setTabBodyWrapperHeight(n)&&i),i},pC,cC)),xs(1,245760,null,0,Qx,[pi,[2,Ig],mo],{_content:[0,"_content"],origin:[1,"origin"],position:[2,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],function(t,e){t(e,1,0,e.context.$implicit.content,e.context.$implicit.origin,e.context.$implicit.position)},function(t,e){var n=e.component;t(e,0,0,n._getTabContentId(e.context.index),n._getTabLabelId(e.context.index),n.selectedIndex==e.context.index)})}function uC(t){return Qs(2,[Vs(402653184,1,{_tabBodyWrapper:0}),Vs(402653184,2,{_tabHeader:0}),(t()(),Na(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],function(t,e,n){var i=!0,r=t.component;return"indexFocused"===e&&(i=!1!==r._focusChanged(n)&&i),"selectFocusedIndex"===e&&(i=!1!==(r.selectedIndex=n)&&i),i},fC,dC)),xs(3,3325952,[[2,4],["tabHeader",4]],1,$x,[pi,mo,q_,[2,Ig],Hr],{disableRipple:[0,"disableRipple"],selectedIndex:[1,"selectedIndex"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),Vs(603979776,3,{_labelWrappers:1}),(t()(),Da(16777216,null,0,1,null,sC)),xs(6,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null),(t()(),Na(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,null,lC)),xs(9,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null)],function(t,e){var n=e.component;t(e,3,0,n.disableRipple,n.selectedIndex),t(e,6,0,n._tabs),t(e,9,0,n._tabs)},function(t,e){t(e,2,0,us(e,3)._showPaginationControls,"rtl"==us(e,3)._getLayoutDirection())})}var cC=aa({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"500ms cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function hC(t){return Qs(0,[(t()(),Da(0,null,null,0))],null,null)}function pC(t){return Qs(2,[Vs(402653184,1,{_portalHost:0}),(t()(),Na(1,0,[["content",1]],null,2,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],function(t,e,n){var i=!0,r=t.component;return"@translateTab.start"===e&&(i=!1!==r._onTranslateTabStarted(n)&&i),"@translateTab.done"===e&&(i=!1!==r._onTranslateTabComplete(n)&&i),i},null,null)),(t()(),Da(16777216,null,null,1,null,hC)),xs(3,212992,null,0,Xx,[ti,fo,Qx],null,null)],function(t,e){t(e,3,0)},function(t,e){t(e,1,0,e.component._position)})}var dC=aa({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media screen and (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media screen and (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media screen and (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media screen and (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}"],data:{}});function fC(t){return Qs(2,[Vs(402653184,1,{_inkBar:0}),Vs(402653184,2,{_tabListContainer:0}),Vs(402653184,3,{_tabList:0}),(t()(),Na(3,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._scrollHeader("before")&&i),i},null,null)),xs(4,212992,null,0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{disabled:[0,"disabled"]},null),(t()(),Na(5,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(t()(),Na(6,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],function(t,e,n){var i=!0;return"keydown"===e&&(i=!1!==t.component._handleKeydown(n)&&i),i},null,null)),(t()(),Na(7,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],null,[[null,"cdkObserveContent"]],function(t,e,n){var i=!0;return"cdkObserveContent"===e&&(i=!1!==t.component._onContentChanges()&&i),i},null,null)),xs(8,1196032,null,0,g_,[m_,pi,Hr],null,{event:"cdkObserveContent"}),(t()(),Na(9,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),qs(null,0),(t()(),Na(11,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],null,null,null,null,null)),xs(12,16384,[[1,4]],0,Kx,[pi,Hr,Gx],null,null),(t()(),Na(13,0,null,null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component._scrollHeader("after")&&i),i},null,null)),xs(14,212992,null,0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{disabled:[0,"disabled"]},null),(t()(),Na(15,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],function(t,e){var n=e.component;t(e,4,0,n._disableScrollBefore||n.disableRipple),t(e,14,0,n._disableScrollAfter||n.disableRipple)},function(t,e){var n=e.component;t(e,3,0,n._disableScrollBefore,us(e,4).unbounded),t(e,13,0,n._disableScrollAfter,us(e,14).unbounded)})}var mC=aa({encapsulation:2,styles:[],data:{}});function gC(t){return Qs(0,[qs(null,0),(t()(),Da(0,null,null,0))],null,null)}function yC(t){return Qs(2,[Vs(402653184,1,{_implicitContent:0}),(t()(),Da(0,[[1,2]],null,0,null,gC))],null,null)}var vC=100,_C=Km(function(){return function(t){this._elementRef=t}}(),"primary"),bC=new Tt("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:vC}}}),wC=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i,r,o)||this;return a.mode="indeterminate",a}return r(e,t),e}(function(t){function e(e,n,i,r,o){var a=t.call(this,e)||this;return a._elementRef=e,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=vC,a.mode="determinate",a._fallbackAnimation=n.EDGE||n.TRIDENT,o&&(o.diameter&&(a.diameter=o.diameter),o.strokeWidth&&(a.strokeWidth=o.strokeWidth)),e.nativeElement.classList.add("mat-progress-spinner-indeterminate"+(a._fallbackAnimation?"-fallback":"")+"-animation"),a}return r(e,t),Object.defineProperty(e.prototype,"diameter",{get:function(){return this._diameter},set:function(t){this._diameter=fm(t),this._fallbackAnimation||e.diameters.has(this._diameter)||this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(t){this._strokeWidth=fm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(t){this._value=Math.max(0,Math.min(100,fm(t)))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_viewBox",{get:function(){var t=2*this._circleRadius+this.strokeWidth;return"0 0 "+t+" "+t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),e.prototype._attachStyleNode=function(){var t=e.styleTag;t||(t=this._document.createElement("style"),this._document.head.appendChild(t),e.styleTag=t),t&&t.sheet&&t.sheet.insertRule(this._getAnimationText(),0),e.diameters.add(this.diameter)},e.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},e.diameters=new Set([vC]),e.styleTag=null,e}(_C)),xC=function(){return function(){}}(),CC=aa({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 kC(t){return Qs(0,[(t()(),Na(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,"mat-progress-spinner-stroke-rotate-"+n.diameter,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function SC(t){return Qs(0,[(t()(),Na(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,function(t,e){var n=e.component;t(e,0,0,n._circleRadius,n._strokeDashOffset,n._strokeCircumference,n._circleStrokeWidth)})}function EC(t){return Qs(2,[(t()(),Na(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)),xs(1,16384,null,0,ju,[],{ngSwitch:[0,"ngSwitch"]},null),(t()(),Da(16777216,null,null,1,null,kC)),xs(3,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null),(t()(),Da(16777216,null,null,1,null,SC)),xs(5,278528,null,0,Vu,[fo,ji,ju],{ngSwitchCase:[0,"ngSwitchCase"]},null)],function(t,e){t(e,1,0,"indeterminate"===e.component.mode),t(e,3,0,!0),t(e,5,0,!1)},function(t,e){var n=e.component;t(e,0,0,n.diameter,n.diameter,n._viewBox)})}var TC=Ym(function(){return function(){}}()),IC=Ym(function(){return function(){}}()),OC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(TC),PC=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(TC),AC=function(t){function e(e,n){var i=t.call(this)||this;i._element=e,i._navList=n,i._isNavList=!1,i._isNavList=!!n;var r=i._getHostElement();return r.nodeName&&"button"===r.nodeName.toLowerCase()&&!r.hasAttribute("type")&&r.setAttribute("type","button"),i}return r(e,t),e.prototype.ngAfterContentInit=function(){new ng(this._lines,this._element)},e.prototype._isRippleDisabled=function(){return!this._isNavList||this.disableRipple||this._navList.disableRipple},e.prototype._getHostElement=function(){return this._element.nativeElement},e}(IC),RC=function(){return function(){}}(),DC=function(){function t(){this._vertical=!1,this._inset=!1}return Object.defineProperty(t.prototype,"vertical",{get:function(){return this._vertical},set:function(t){this._vertical=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inset",{get:function(){return this._inset},set:function(t){this._inset=dm(t)},enumerable:!0,configurable:!0}),t}(),NC=function(){return function(){}}(),MC=aa({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}.mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{margin:0}.mat-list,.mat-nav-list,.mat-selection-list{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list .mat-subheader,.mat-nav-list .mat-subheader,.mat-selection-list .mat-subheader{height:48px;line-height:16px}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child,.mat-selection-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-list .mat-list-option,.mat-nav-list .mat-list-item,.mat-nav-list .mat-list-option,.mat-selection-list .mat-list-item,.mat-selection-list .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list .mat-list-item .mat-list-item-content,.mat-list .mat-list-option .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-option .mat-list-item-content,.mat-selection-list .mat-list-item .mat-list-item-content,.mat-selection-list .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list .mat-list-item .mat-list-item-content-reverse,.mat-list .mat-list-option .mat-list-item-content-reverse,.mat-nav-list .mat-list-item .mat-list-item-content-reverse,.mat-nav-list .mat-list-option .mat-list-item-content-reverse,.mat-selection-list .mat-list-item .mat-list-item-content-reverse,.mat-selection-list .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list .mat-list-item .mat-list-item-ripple,.mat-list .mat-list-option .mat-list-item-ripple,.mat-nav-list .mat-list-item .mat-list-item-ripple,.mat-nav-list .mat-list-option .mat-list-item-ripple,.mat-selection-list .mat-list-item .mat-list-item-ripple,.mat-selection-list .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list .mat-list-item.mat-list-item-with-avatar,.mat-list .mat-list-option.mat-list-item-with-avatar,.mat-nav-list .mat-list-item.mat-list-item-with-avatar,.mat-nav-list .mat-list-option.mat-list-item-with-avatar,.mat-selection-list .mat-list-item.mat-list-item-with-avatar,.mat-selection-list .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list .mat-list-item.mat-2-line,.mat-list .mat-list-option.mat-2-line,.mat-nav-list .mat-list-item.mat-2-line,.mat-nav-list .mat-list-option.mat-2-line,.mat-selection-list .mat-list-item.mat-2-line,.mat-selection-list .mat-list-option.mat-2-line{height:72px}.mat-list .mat-list-item.mat-3-line,.mat-list .mat-list-option.mat-3-line,.mat-nav-list .mat-list-item.mat-3-line,.mat-nav-list .mat-list-option.mat-3-line,.mat-selection-list .mat-list-item.mat-3-line,.mat-selection-list .mat-list-option.mat-3-line{height:88px}.mat-list .mat-list-item.mat-multi-line,.mat-list .mat-list-option.mat-multi-line,.mat-nav-list .mat-list-item.mat-multi-line,.mat-nav-list .mat-list-option.mat-multi-line,.mat-selection-list .mat-list-item.mat-multi-line,.mat-selection-list .mat-list-option.mat-multi-line{height:auto}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list .mat-list-item .mat-list-text,.mat-list .mat-list-option .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-option .mat-list-text,.mat-selection-list .mat-list-item .mat-list-text,.mat-selection-list .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list .mat-list-item .mat-list-text>*,.mat-list .mat-list-option .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-option .mat-list-text>*,.mat-selection-list .mat-list-item .mat-list-text>*,.mat-selection-list .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-list .mat-list-option .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-option .mat-list-text:empty,.mat-selection-list .mat-list-item .mat-list-text:empty,.mat-selection-list .mat-list-option .mat-list-text:empty{display:none}.mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list .mat-list-item .mat-list-avatar,.mat-list .mat-list-option .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-option .mat-list-avatar,.mat-selection-list .mat-list-item .mat-list-avatar,.mat-selection-list .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list .mat-list-item .mat-list-icon,.mat-list .mat-list-option .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-option .mat-list-icon,.mat-selection-list .mat-list-item .mat-list-icon,.mat-selection-list .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list .mat-list-item .mat-divider,.mat-list .mat-list-option .mat-divider,.mat-nav-list .mat-list-item .mat-divider,.mat-nav-list .mat-list-option .mat-divider,.mat-selection-list .mat-list-item .mat-divider,.mat-selection-list .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list .mat-list-item .mat-divider,[dir=rtl] .mat-list .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list .mat-list-item .mat-divider.mat-divider-inset,.mat-list .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list[dense],.mat-nav-list[dense],.mat-selection-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader,.mat-selection-list[dense] .mat-subheader{height:40px;line-height:8px}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child,.mat-selection-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-list[dense] .mat-list-option,.mat-nav-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-option,.mat-selection-list[dense] .mat-list-item,.mat-selection-list[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-list[dense] .mat-list-option .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-option .mat-list-item-content,.mat-selection-list[dense] .mat-list-item .mat-list-item-content,.mat-selection-list[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-nav-list[dense] .mat-list-option .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-item .mat-list-item-content-reverse,.mat-selection-list[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list[dense] .mat-list-item .mat-list-item-ripple,.mat-list[dense] .mat-list-option .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-item .mat-list-item-ripple,.mat-nav-list[dense] .mat-list-option .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-item .mat-list-item-ripple,.mat-selection-list[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list[dense] .mat-list-item.mat-2-line,.mat-list[dense] .mat-list-option.mat-2-line,.mat-nav-list[dense] .mat-list-item.mat-2-line,.mat-nav-list[dense] .mat-list-option.mat-2-line,.mat-selection-list[dense] .mat-list-item.mat-2-line,.mat-selection-list[dense] .mat-list-option.mat-2-line{height:60px}.mat-list[dense] .mat-list-item.mat-3-line,.mat-list[dense] .mat-list-option.mat-3-line,.mat-nav-list[dense] .mat-list-item.mat-3-line,.mat-nav-list[dense] .mat-list-option.mat-3-line,.mat-selection-list[dense] .mat-list-item.mat-3-line,.mat-selection-list[dense] .mat-list-option.mat-3-line{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line,.mat-list[dense] .mat-list-option.mat-multi-line,.mat-nav-list[dense] .mat-list-item.mat-multi-line,.mat-nav-list[dense] .mat-list-option.mat-multi-line,.mat-selection-list[dense] .mat-list-item.mat-multi-line,.mat-selection-list[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-selection-list[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-list[dense] .mat-list-option .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-option .mat-list-text,.mat-selection-list[dense] .mat-list-item .mat-list-text,.mat-selection-list[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-list[dense] .mat-list-option .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-option .mat-list-text>*,.mat-selection-list[dense] .mat-list-item .mat-list-text>*,.mat-selection-list[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-list[dense] .mat-list-option .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-option .mat-list-text:empty,.mat-selection-list[dense] .mat-list-item .mat-list-text:empty,.mat-selection-list[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-nav-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-selection-list[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-nav-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-selection-list[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-list[dense] .mat-list-option .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-option .mat-list-avatar,.mat-selection-list[dense] .mat-list-item .mat-list-avatar,.mat-selection-list[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-list[dense] .mat-list-option .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-option .mat-list-icon,.mat-selection-list[dense] .mat-list-item .mat-list-icon,.mat-selection-list[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list[dense] .mat-list-item .mat-divider,.mat-list[dense] .mat-list-option .mat-divider,.mat-nav-list[dense] .mat-list-item .mat-divider,.mat-nav-list[dense] .mat-list-option .mat-divider,.mat-selection-list[dense] .mat-list-item .mat-divider,.mat-selection-list[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-nav-list[dense] .mat-list-option .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-selection-list[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-nav-list[dense] .mat-list-option .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-selection-list[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (hover:none){.mat-list-option:hover,.mat-nav-list .mat-list-item:hover{background:0 0}}"],data:{}});function FC(t){return Qs(2,[qs(null,0)],null,null)}var LC=aa({encapsulation:2,styles:[],data:{}});function jC(t){return Qs(2,[(t()(),Na(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),xs(2,212992,null,0,cg,[pi,Hr,bm,[2,ug],[2,e_]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),qs(null,0),(t()(),Na(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),qs(null,1),qs(null,2)],function(t,e){var n=e.component;t(e,2,0,n._isRippleDisabled(),n._getHostElement())},function(t,e){t(e,1,0,us(e,2).unbounded)})}var VC=function(){function t(){}return t.prototype.transform=function(t,e){return void 0===t&&(t=0),e[t]||t+1},t}(),zC=(zt(function(){return zC}),zt(function(){return zC}),function(){function t(t){this.changeDetectorRef=t,this.contexts=[],this.max=5,this.readOnly=!1,this.theme="default",this.showText=!1,this.titles=[],this.required=!1,this.hover=new Li,this.leave=new Li,this.rateChange=new Li(!0),this.onChange=function(t){},this.onTouched=function(){}}return t.prototype.ngOnChanges=function(t){t.rate&&this.update(this.rate)},t.prototype.ngOnInit=function(){var t=this;this.contexts=Array.from({length:this.max},function(e,n){return{selected:!1,fraction:!1,click:function(e){return t.handleClick(e,n+1)},enter:function(){return t.handleEnter(n+1)}}}),this.updateState(this.rate)},t.prototype.update=function(t,e){void 0===e&&(e=!0),this.readOnly||this.disabled||this.rate===t||(this.rate=t,this.rateChange.emit(this.rate)),e&&(this.onChange(this.rate),this.onTouched()),this.updateState(this.rate)},t.prototype.reset=function(){this.leave.emit(this.nextRate),this.updateState(this.rate)},t.prototype.updateState=function(t){var e=this;this.nextRate=t-1,this.contexts=Array.from({length:this.max},function(n,i){return{selected:i+1<=t,fraction:(i+1===Math.round(t)&&t%1)>=.5,click:function(t){return e.handleClick(t,i)},enter:function(){return e.handleEnter(i)}}})},t.prototype.handleClick=function(t,e){t.preventDefault(),t.stopPropagation(),this.update(e+1)},t.prototype.handleEnter=function(t){this.disabled||this.readOnly||(this.contexts.map(function(e,n){e.active=n<=t,e.fraction=!1,e.selected=!1}),this.nextRate=t,this.hover.emit(t))},t.prototype.writeValue=function(t){this.update(t,!1),this.changeDetectorRef.markForCheck()},t.prototype.validate=function(t){return this.required&&!t.value?{required:!0}:null},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t}()),HC=aa({encapsulation:0,styles:["*[_ngcontent-%COMP%]{box-sizing:border-box}.br[_ngcontent-%COMP%]{position:relative;margin:15px 0}.br-units[_ngcontent-%COMP%]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.br-unit[_ngcontent-%COMP%]{cursor:pointer;-webkit-font-smoothing:antialiased;text-rendering:auto}.br-disabled[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%], .br-readonly[_ngcontent-%COMP%]   .br-unit[_ngcontent-%COMP%]{cursor:default}"],data:{}});function UC(t){return Qs(0,[(t()(),Na(0,0,null,null,0,"div",[["class","br-unit"]],[[2,"br-fraction",null],[2,"br-selected",null],[2,"br-active",null]],[[null,"click"],[null,"mouseenter"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.context.$implicit.click(n)&&i),"mouseenter"===e&&(i=!1!==t.context.$implicit.enter()&&i),i},null,null))],null,function(t,e){t(e,0,0,e.context.$implicit.fraction,e.context.$implicit.selected,e.context.$implicit.active)})}function BC(t){return Qs(0,[(t()(),Na(0,0,null,null,2,"div",[["class","br-text"]],null,null,null,null,null)),(t()(),Ks(1,null,["",""])),Gs(128,2,new Array(3))],null,function(t,e){var n=e.component,i=ia(e,1,0,t(e,2,0,us(e.parent,0),n.nextRate,n.titles));t(e,1,0,i)})}function qC(t){return Qs(2,[Cs(0,VC,[]),(t()(),Na(1,0,null,null,5,"div",[],[[8,"className",0],[2,"br-readonly",null],[2,"br-disabled",null]],null,null,null,null)),(t()(),Na(2,0,null,null,2,"div",[["class","br-units"]],null,[[null,"mouseleave"]],function(t,e,n){var i=!0;return"mouseleave"===e&&(i=!1!==t.component.reset()&&i),i},null,null)),(t()(),Da(16777216,null,null,1,null,UC)),xs(4,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null),(t()(),Da(16777216,null,null,1,null,BC)),xs(6,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,4,0,n.contexts),t(e,6,0,n.showText)},function(t,e){var n=e.component;t(e,1,0,"br br-"+n.theme,n.readOnly,n.disabled)})}var WC=aa({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],data:{}});function GC(t){return Qs(2,[],null,null)}var KC=!!km()&&{passive:!0},YC=function(){function t(t,e){this._platform=t,this._ngZone=e,this._monitoredElements=new Map}return t.prototype.monitor=function(t){var e=this;if(!this._platform.isBrowser)return au;var n=t instanceof pi?t.nativeElement:t,i=this._monitoredElements.get(n);if(i)return i.subject.asObservable();var r=new V,o="cdk-text-field-autofilled",a=function(t){"cdk-text-field-autofill-start"!==t.animationName||n.classList.contains(o)?"cdk-text-field-autofill-end"===t.animationName&&n.classList.contains(o)&&(n.classList.remove(o),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!1})})):(n.classList.add(o),e._ngZone.run(function(){return r.next({target:t.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",a,KC),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",a,KC)}}),r.asObservable()},t.prototype.stopMonitoring=function(t){var e=t instanceof pi?t.nativeElement:t,n=this._monitoredElements.get(e);n&&(n.unlisten(),n.subject.complete(),e.classList.remove("cdk-text-field-autofill-monitored"),e.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(e))},t.prototype.ngOnDestroy=function(){var t=this;this._monitoredElements.forEach(function(e,n){return t.stopMonitoring(n)})},t.ngInjectableDef=kt({factory:function(){return new t(pe(bm),pe(Hr))},token:t,providedIn:"root"}),t}(),XC=function(){return function(){}}(),QC=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ZC=0,$C=function(t){function e(e,n,i,r,o,a,s,l,u){var c=t.call(this,a,r,o,i)||this;c._elementRef=e,c._platform=n,c.ngControl=i,c._autofillMonitor=l,c._uid="mat-input-"+ZC++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new V,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(t){return Cm().has(t)});var h=c._elementRef.nativeElement;return c._inputValueAccessor=s||h,c._previousNativeValue=c.value,c.id=c.id,n.IOS&&u.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))})}),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===h.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=h.multiple?"mat-native-select-multiple":"mat-native-select"),c}return r(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=dm(t),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._id},set:function(t){this._id=t||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"required",{get:function(){return this._required},set:function(t){this._required=dm(t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea()&&Cm().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonly",{get:function(){return this._readonly},set:function(t){this._readonly=dm(t)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()})},e.prototype.ngOnChanges=function(){this.stateChanges.next()},e.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},e.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},e.prototype.focus=function(){this._elementRef.nativeElement.focus()},e.prototype._focusChanged=function(t){t===this.focused||this.readonly||(this.focused=t,this.stateChanges.next())},e.prototype._onInput=function(){},e.prototype._dirtyCheckNativeValue=function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())},e.prototype._validateType=function(){if(QC.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},e.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},e.prototype._isBadInput=function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput},e.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(e.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement;return t.multiple||!this.empty||!!t.options[0].label||this.focused}return this.focused||!this.empty},enumerable:!0,configurable:!0}),e.prototype.setDescribedByIds=function(t){this._ariaDescribedby=t.join(" ")},e.prototype.onContainerClick=function(){this.focused||this.focus()},e}(Qm(function(){return function(t,e,n,i){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=n,this.ngControl=i}}())),JC=function(){return function(){}}(),tk=function(){function t(t){this.http=t}return t.prototype.putHighFeedback=function(t,e,n,i,r){var o={headers:new Ju({"Content-Type":"application/json"})};return this.http.put("http://173.255.245.197:5353/feedback/",{session_id:t,ratings:[{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:r[0]},{rating:r[1]},{rating:r[2]}],ideal_caption:n,overall_feedback:i},o)},t.prototype.putLowFeedback=function(t,e,n,i,r){var o={headers:new Ju({"Content-Type":"application/json"})};return this.http.put("http://173.255.245.197:5353/feedback/",{session_id:t,ratings:[{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:1},{rating:r[0]},{rating:r[0]},{rating:r[0]}],ideal_caption:n,overall_feedback:i},o)},t.ngInjectableDef=kt({factory:function(){return new t(pe(dc))},token:t,providedIn:"root"}),t}(),ek=function(){function t(t,e){this.captionsService=t,this.feedbackService=e,this.highCaptions=[],this.lowCaptions=[],this.highStars=[0,0,0],this.lowStars=[0,0,0]}return t.prototype.ngOnInit=function(){var t=this;this.captionsService.getNumHighCaptions()>0&&this.captionsService.getHighCaptions().subscribe(function(e){console.log("POST Request high is successful",e),t.highSessionId=e.session_id;for(var n=0,i=e.captions;n<i.length;n++){var r=i[n];if(""!=r.caption&&(t.highCaptions.push(r.caption),t.highCaptions.length==t.captionsService.getNumHighCaptions()))break}},function(t){console.log("Error",t)}),this.captionsService.getNumLowCaptions()>0&&this.captionsService.getLowCaptions().subscribe(function(e){console.log("POST Request low is successful",e),t.lowSessionId=e.session_id;for(var n=0,i=e.captions;n<i.length;n++){var r=i[n];if(""!=r.caption&&(t.lowCaptions.push(r.caption),t.lowCaptions.length==t.captionsService.getNumLowCaptions()))break}},function(t){console.log("Error",t)}),this.screenshot=this.captionsService.getImageSrc()},t.prototype.onTryAnother=function(){},t.prototype.fillOutFeedback=function(){this.idealLowCap||(this.idealLowCap="no user input"),this.idealHighCap||(this.idealHighCap="no user input"),this.genHighFb||(this.genHighFb="no user input"),this.genLowFb||(this.genLowFb="no user input")},t.prototype.isStars=function(t){for(var e=0,n=t;e<n.length;e++)if(0!=n[e])return!0;return!1},t.prototype.onSubmitFeedback=function(){this.fillOutFeedback(),this.captionsService.getNumHighCaptions()>0&&this.feedbackService.putHighFeedback(this.highSessionId,this.highCaptions,this.idealHighCap,this.genHighFb,this.highStars).subscribe(function(t){console.log("high PUT request successful",t)},function(t){console.log("Error",t)}),this.captionsService.getNumLowCaptions()>0&&this.feedbackService.putLowFeedback(this.lowSessionId,this.lowCaptions,this.idealLowCap,this.genLowFb,this.lowStars).subscribe(function(t){console.log("low PUT request successful",t)},function(t){console.log("Error",t)})},t}(),nk=aa({encapsulation:0,styles:[[".mat-list .mat-list-item .mat-line{word-wrap:break-word;white-space:pre-wrap}.container[_ngcontent-%COMP%]{top:90%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.stars[_ngcontent-%COMP%]{padding-bottom:15px;padding-left:10px}.preview[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto}.tabs[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.top-pad[_ngcontent-%COMP%]{padding-top:30px}.fill-space[_ngcontent-%COMP%]{flex:1 1 auto}"]],data:{}});function ik(t){return Qs(0,[(t()(),Na(0,16777216,null,null,6,"mat-tab",[["label","your captions are being generated..."]],null,null,null,yC,mC)),xs(1,770048,[[1,4]],2,Yx,[fo],{textLabel:[0,"textLabel"]},null),Vs(335544320,2,{templateLabel:0}),Vs(335544320,3,{_explicitContent:0}),(t()(),Na(4,0,null,0,2,"div",[],null,null,null,null,null)),(t()(),Na(5,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:0 auto; margin-top:100px;margin-bottom:100px;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,EC,CC)),xs(6,49152,null,0,wC,[pi,bm,[2,Gu],[2,e_],bC],null,null),(t()(),Da(0,null,null,0))],function(t,e){t(e,1,0,"your captions are being generated...")},function(t,e){t(e,5,0,us(e,6)._noopAnimations,us(e,6).diameter,us(e,6).diameter)})}function rk(t){return Qs(0,[(t()(),Na(0,0,null,null,14,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(1,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,6,{_lines:1}),Vs(335544320,7,{_avatar:0}),Vs(335544320,8,{_icon:0}),(t()(),Na(5,0,null,2,1,"span",[["style","text-align:left"]],null,null,null,null,null)),(t()(),Ks(6,null,["",""])),(t()(),Na(7,0,null,2,0,"span",[["class","fill-space"]],null,null,null,null,null)),(t()(),Na(8,0,null,2,4,"span",[],null,null,null,null,null)),(t()(),Na(9,0,null,null,3,"bar-rating",[["class","stars"],["style","float:right;"]],null,[[null,"rateChange"]],function(t,e,n){var i=!0,r=t.component;return"rateChange"===e&&(i=!1!==(r.highStars[r.highCaptions.indexOf(t.context.$implicit)+(3-r.highCaptions.length)]=n)&&i),i},qC,HC)),ks(5120,null,Wb,function(t){return[t]},[zC]),ks(5120,null,Vb,function(t){return[t]},[zC]),xs(12,638976,null,0,zC,[mo],{rate:[0,"rate"],max:[1,"max"]},{rateChange:"rateChange"}),(t()(),Na(13,0,null,2,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,GC,WC)),xs(14,49152,null,0,DC,[],null,null)],function(t,e){var n=e.component;t(e,12,0,n.highStars[n.highCaptions.indexOf(e.context.$implicit)+(3-n.highCaptions.length)],5)},function(t,e){t(e,0,0,us(e,1)._avatar||us(e,1)._icon,us(e,1)._avatar||us(e,1)._icon),t(e,6,0,e.context.$implicit),t(e,13,0,us(e,14).vertical?"vertical":"horizontal",us(e,14).vertical,!us(e,14).vertical,us(e,14).inset)})}function ok(t){return Qs(0,[(t()(),Na(0,16777216,null,null,51,"mat-tab",[["id","high_level_tab"],["label","High-Level"]],null,null,null,yC,mC)),xs(1,770048,[[1,4]],2,Yx,[fo],{textLabel:[0,"textLabel"]},null),Vs(335544320,4,{templateLabel:0}),Vs(335544320,5,{_explicitContent:0}),(t()(),Na(4,0,null,0,47,"mat-list",[["class","mat-list"],["style","padding-top:30px;"]],null,null,null,FC,MC)),xs(5,49152,null,0,PC,[],null,null),(t()(),Da(16777216,null,0,1,null,rk)),xs(7,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null),(t()(),Na(8,0,null,0,21,"mat-list-item",[["class","mat-list-item"],["style","padding-top:20px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(9,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,9,{_lines:1}),Vs(335544320,10,{_avatar:0}),Vs(335544320,11,{_icon:0}),(t()(),Na(13,0,null,2,16,"mat-form-field",[["class","container mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(14,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,12,{_control:0}),Vs(335544320,13,{_placeholderChild:0}),Vs(335544320,14,{_labelChild:0}),Vs(603979776,15,{_errorChildren:1}),Vs(603979776,16,{_hintChildren:1}),Vs(603979776,17,{_prefixChildren:1}),Vs(603979776,18,{_suffixChildren:1}),(t()(),Na(22,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","high_level_caption_suggestion"],["matInput",""],["name","idealHigh"],["placeholder","I would caption this screenshot..."]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==us(t,23)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,23).onTouched()&&i),"compositionstart"===e&&(i=!1!==us(t,23)._compositionStart()&&i),"compositionend"===e&&(i=!1!==us(t,23)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==us(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==us(t,28)._onInput()&&i),"ngModelChange"===e&&(i=!1!==(r.idealHighCap=n)&&i),i},null,null)),xs(23,16384,null,0,Yb,[gi,pi,[2,Kb]],null,null),ks(1024,null,Wb,function(t){return[t]},[Yb]),xs(25,671744,null,0,Dw,[[8,null],[8,null],[8,null],[6,Wb]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ks(2048,null,Jb,null,[Dw]),xs(27,16384,null,0,_w,[[4,Jb]],null,null),xs(28,999424,null,0,$C,[pi,bm,[6,Jb],[2,Iw],[2,Nw],Zm,[8,null],YC,Hr],{id:[0,"id"],placeholder:[1,"placeholder"]},null),ks(2048,[[12,4]],s_,null,[$C]),(t()(),Na(30,0,null,0,21,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(31,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,19,{_lines:1}),Vs(335544320,20,{_avatar:0}),Vs(335544320,21,{_icon:0}),(t()(),Na(35,0,null,2,16,"mat-form-field",[["class","container mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(36,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,22,{_control:0}),Vs(335544320,23,{_placeholderChild:0}),Vs(335544320,24,{_labelChild:0}),Vs(603979776,25,{_errorChildren:1}),Vs(603979776,26,{_hintChildren:1}),Vs(603979776,27,{_prefixChildren:1}),Vs(603979776,28,{_suffixChildren:1}),(t()(),Na(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","genHigh"],["placeholder","These captions could be better in this way..."]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==us(t,45)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,45).onTouched()&&i),"compositionstart"===e&&(i=!1!==us(t,45)._compositionStart()&&i),"compositionend"===e&&(i=!1!==us(t,45)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,50)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==us(t,50)._focusChanged(!0)&&i),"input"===e&&(i=!1!==us(t,50)._onInput()&&i),"ngModelChange"===e&&(i=!1!==(r.genHighFb=n)&&i),i},null,null)),xs(45,16384,null,0,Yb,[gi,pi,[2,Kb]],null,null),ks(1024,null,Wb,function(t){return[t]},[Yb]),xs(47,671744,null,0,Dw,[[8,null],[8,null],[8,null],[6,Wb]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ks(2048,null,Jb,null,[Dw]),xs(49,16384,null,0,_w,[[4,Jb]],null,null),xs(50,999424,null,0,$C,[pi,bm,[6,Jb],[2,Iw],[2,Nw],Zm,[8,null],YC,Hr],{placeholder:[0,"placeholder"]},null),ks(2048,[[22,4]],s_,null,[$C]),(t()(),Da(0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,"High-Level"),t(e,7,0,n.highCaptions),t(e,25,0,"idealHigh",n.idealHighCap),t(e,28,0,"high_level_caption_suggestion","I would caption this screenshot..."),t(e,47,0,"genHigh",n.genHighFb),t(e,50,0,"These captions could be better in this way...")},function(t,e){t(e,8,0,us(e,9)._avatar||us(e,9)._icon,us(e,9)._avatar||us(e,9)._icon),t(e,13,1,["standard"==us(e,14).appearance,"fill"==us(e,14).appearance,"outline"==us(e,14).appearance,"legacy"==us(e,14).appearance,us(e,14)._control.errorState,us(e,14)._canLabelFloat,us(e,14)._shouldLabelFloat(),us(e,14)._hideControlPlaceholder(),us(e,14)._control.disabled,us(e,14)._control.autofilled,us(e,14)._control.focused,"accent"==us(e,14).color,"warn"==us(e,14).color,us(e,14)._shouldForward("untouched"),us(e,14)._shouldForward("touched"),us(e,14)._shouldForward("pristine"),us(e,14)._shouldForward("dirty"),us(e,14)._shouldForward("valid"),us(e,14)._shouldForward("invalid"),us(e,14)._shouldForward("pending"),!us(e,14)._animationsEnabled]),t(e,22,1,[us(e,27).ngClassUntouched,us(e,27).ngClassTouched,us(e,27).ngClassPristine,us(e,27).ngClassDirty,us(e,27).ngClassValid,us(e,27).ngClassInvalid,us(e,27).ngClassPending,us(e,28)._isServer,us(e,28).id,us(e,28).placeholder,us(e,28).disabled,us(e,28).required,us(e,28).readonly&&!us(e,28)._isNativeSelect||null,us(e,28)._ariaDescribedby||null,us(e,28).errorState,us(e,28).required.toString()]),t(e,30,0,us(e,31)._avatar||us(e,31)._icon,us(e,31)._avatar||us(e,31)._icon),t(e,35,1,["standard"==us(e,36).appearance,"fill"==us(e,36).appearance,"outline"==us(e,36).appearance,"legacy"==us(e,36).appearance,us(e,36)._control.errorState,us(e,36)._canLabelFloat,us(e,36)._shouldLabelFloat(),us(e,36)._hideControlPlaceholder(),us(e,36)._control.disabled,us(e,36)._control.autofilled,us(e,36)._control.focused,"accent"==us(e,36).color,"warn"==us(e,36).color,us(e,36)._shouldForward("untouched"),us(e,36)._shouldForward("touched"),us(e,36)._shouldForward("pristine"),us(e,36)._shouldForward("dirty"),us(e,36)._shouldForward("valid"),us(e,36)._shouldForward("invalid"),us(e,36)._shouldForward("pending"),!us(e,36)._animationsEnabled]),t(e,44,1,[us(e,49).ngClassUntouched,us(e,49).ngClassTouched,us(e,49).ngClassPristine,us(e,49).ngClassDirty,us(e,49).ngClassValid,us(e,49).ngClassInvalid,us(e,49).ngClassPending,us(e,50)._isServer,us(e,50).id,us(e,50).placeholder,us(e,50).disabled,us(e,50).required,us(e,50).readonly&&!us(e,50)._isNativeSelect||null,us(e,50)._ariaDescribedby||null,us(e,50).errorState,us(e,50).required.toString()])})}function ak(t){return Qs(0,[(t()(),Na(0,0,null,null,14,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(1,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,31,{_lines:1}),Vs(335544320,32,{_avatar:0}),Vs(335544320,33,{_icon:0}),(t()(),Na(5,0,null,2,1,"span",[["style","text-align:left"]],null,null,null,null,null)),(t()(),Ks(6,null,["",""])),(t()(),Na(7,0,null,2,0,"span",[["class","fill-space"]],null,null,null,null,null)),(t()(),Na(8,0,null,2,4,"span",[],null,null,null,null,null)),(t()(),Na(9,0,null,null,3,"bar-rating",[["class","stars"]],null,[[null,"rateChange"]],function(t,e,n){var i=!0,r=t.component;return"rateChange"===e&&(i=!1!==(r.lowStars[r.lowCaptions.indexOf(t.context.$implicit)+(3-r.lowCaptions.length)]=n)&&i),i},qC,HC)),ks(5120,null,Wb,function(t){return[t]},[zC]),ks(5120,null,Vb,function(t){return[t]},[zC]),xs(12,638976,null,0,zC,[mo],{rate:[0,"rate"],max:[1,"max"]},{rateChange:"rateChange"}),(t()(),Na(13,0,null,2,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,GC,WC)),xs(14,49152,null,0,DC,[],null,null)],function(t,e){var n=e.component;t(e,12,0,n.lowStars[n.lowCaptions.indexOf(e.context.$implicit)+(3-n.lowCaptions.length)],5)},function(t,e){t(e,0,0,us(e,1)._avatar||us(e,1)._icon,us(e,1)._avatar||us(e,1)._icon),t(e,6,0,e.context.$implicit),t(e,13,0,us(e,14).vertical?"vertical":"horizontal",us(e,14).vertical,!us(e,14).vertical,us(e,14).inset)})}function sk(t){return Qs(0,[(t()(),Na(0,16777216,null,null,51,"mat-tab",[["id","low_level_tab"],["label","Low-Level"]],null,null,null,yC,mC)),xs(1,770048,[[1,4]],2,Yx,[fo],{textLabel:[0,"textLabel"]},null),Vs(335544320,29,{templateLabel:0}),Vs(335544320,30,{_explicitContent:0}),(t()(),Na(4,0,null,0,47,"mat-list",[["class","mat-list"],["style","padding-top:30px;"]],null,null,null,FC,MC)),xs(5,49152,null,0,PC,[],null,null),(t()(),Da(16777216,null,0,1,null,ak)),xs(7,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null),(t()(),Na(8,0,null,0,21,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(9,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,34,{_lines:1}),Vs(335544320,35,{_avatar:0}),Vs(335544320,36,{_icon:0}),(t()(),Na(13,0,null,2,16,"mat-form-field",[["class","container mat-form-field"],["style","padding-top:20px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(14,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,37,{_control:0}),Vs(335544320,38,{_placeholderChild:0}),Vs(335544320,39,{_labelChild:0}),Vs(603979776,40,{_errorChildren:1}),Vs(603979776,41,{_hintChildren:1}),Vs(603979776,42,{_prefixChildren:1}),Vs(603979776,43,{_suffixChildren:1}),(t()(),Na(22,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","low_level_caption_suggestion"],["matInput",""],["name","idealLow"],["placeholder","I would caption this screenshot..."]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==us(t,23)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,23).onTouched()&&i),"compositionstart"===e&&(i=!1!==us(t,23)._compositionStart()&&i),"compositionend"===e&&(i=!1!==us(t,23)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,28)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==us(t,28)._focusChanged(!0)&&i),"input"===e&&(i=!1!==us(t,28)._onInput()&&i),"ngModelChange"===e&&(i=!1!==(r.idealLowCap=n)&&i),i},null,null)),xs(23,16384,null,0,Yb,[gi,pi,[2,Kb]],null,null),ks(1024,null,Wb,function(t){return[t]},[Yb]),xs(25,671744,null,0,Dw,[[8,null],[8,null],[8,null],[6,Wb]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ks(2048,null,Jb,null,[Dw]),xs(27,16384,null,0,_w,[[4,Jb]],null,null),xs(28,999424,null,0,$C,[pi,bm,[6,Jb],[2,Iw],[2,Nw],Zm,[8,null],YC,Hr],{id:[0,"id"],placeholder:[1,"placeholder"]},null),ks(2048,[[37,4]],s_,null,[$C]),(t()(),Na(30,0,null,0,21,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(31,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,44,{_lines:1}),Vs(335544320,45,{_avatar:0}),Vs(335544320,46,{_icon:0}),(t()(),Na(35,0,null,2,16,"mat-form-field",[["class","container mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,P_,v_)),xs(36,7389184,null,7,p_,[pi,mo,[2,xg],[2,Ig],[2,h_],bm,Hr,[2,e_]],null,null),Vs(335544320,47,{_control:0}),Vs(335544320,48,{_placeholderChild:0}),Vs(335544320,49,{_labelChild:0}),Vs(603979776,50,{_errorChildren:1}),Vs(603979776,51,{_hintChildren:1}),Vs(603979776,52,{_prefixChildren:1}),Vs(603979776,53,{_suffixChildren:1}),(t()(),Na(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","genLow"],["placeholder","These captions could be better in this way..."]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(t,e,n){var i=!0,r=t.component;return"input"===e&&(i=!1!==us(t,45)._handleInput(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,45).onTouched()&&i),"compositionstart"===e&&(i=!1!==us(t,45)._compositionStart()&&i),"compositionend"===e&&(i=!1!==us(t,45)._compositionEnd(n.target.value)&&i),"blur"===e&&(i=!1!==us(t,50)._focusChanged(!1)&&i),"focus"===e&&(i=!1!==us(t,50)._focusChanged(!0)&&i),"input"===e&&(i=!1!==us(t,50)._onInput()&&i),"ngModelChange"===e&&(i=!1!==(r.genLowFb=n)&&i),i},null,null)),xs(45,16384,null,0,Yb,[gi,pi,[2,Kb]],null,null),ks(1024,null,Wb,function(t){return[t]},[Yb]),xs(47,671744,null,0,Dw,[[8,null],[8,null],[8,null],[6,Wb]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),ks(2048,null,Jb,null,[Dw]),xs(49,16384,null,0,_w,[[4,Jb]],null,null),xs(50,999424,null,0,$C,[pi,bm,[6,Jb],[2,Iw],[2,Nw],Zm,[8,null],YC,Hr],{placeholder:[0,"placeholder"]},null),ks(2048,[[47,4]],s_,null,[$C]),(t()(),Da(0,null,null,0))],function(t,e){var n=e.component;t(e,1,0,"Low-Level"),t(e,7,0,n.lowCaptions),t(e,25,0,"idealLow",n.idealLowCap),t(e,28,0,"low_level_caption_suggestion","I would caption this screenshot..."),t(e,47,0,"genLow",n.genLowFb),t(e,50,0,"These captions could be better in this way...")},function(t,e){t(e,8,0,us(e,9)._avatar||us(e,9)._icon,us(e,9)._avatar||us(e,9)._icon),t(e,13,1,["standard"==us(e,14).appearance,"fill"==us(e,14).appearance,"outline"==us(e,14).appearance,"legacy"==us(e,14).appearance,us(e,14)._control.errorState,us(e,14)._canLabelFloat,us(e,14)._shouldLabelFloat(),us(e,14)._hideControlPlaceholder(),us(e,14)._control.disabled,us(e,14)._control.autofilled,us(e,14)._control.focused,"accent"==us(e,14).color,"warn"==us(e,14).color,us(e,14)._shouldForward("untouched"),us(e,14)._shouldForward("touched"),us(e,14)._shouldForward("pristine"),us(e,14)._shouldForward("dirty"),us(e,14)._shouldForward("valid"),us(e,14)._shouldForward("invalid"),us(e,14)._shouldForward("pending"),!us(e,14)._animationsEnabled]),t(e,22,1,[us(e,27).ngClassUntouched,us(e,27).ngClassTouched,us(e,27).ngClassPristine,us(e,27).ngClassDirty,us(e,27).ngClassValid,us(e,27).ngClassInvalid,us(e,27).ngClassPending,us(e,28)._isServer,us(e,28).id,us(e,28).placeholder,us(e,28).disabled,us(e,28).required,us(e,28).readonly&&!us(e,28)._isNativeSelect||null,us(e,28)._ariaDescribedby||null,us(e,28).errorState,us(e,28).required.toString()]),t(e,30,0,us(e,31)._avatar||us(e,31)._icon,us(e,31)._avatar||us(e,31)._icon),t(e,35,1,["standard"==us(e,36).appearance,"fill"==us(e,36).appearance,"outline"==us(e,36).appearance,"legacy"==us(e,36).appearance,us(e,36)._control.errorState,us(e,36)._canLabelFloat,us(e,36)._shouldLabelFloat(),us(e,36)._hideControlPlaceholder(),us(e,36)._control.disabled,us(e,36)._control.autofilled,us(e,36)._control.focused,"accent"==us(e,36).color,"warn"==us(e,36).color,us(e,36)._shouldForward("untouched"),us(e,36)._shouldForward("touched"),us(e,36)._shouldForward("pristine"),us(e,36)._shouldForward("dirty"),us(e,36)._shouldForward("valid"),us(e,36)._shouldForward("invalid"),us(e,36)._shouldForward("pending"),!us(e,36)._animationsEnabled]),t(e,44,1,[us(e,49).ngClassUntouched,us(e,49).ngClassTouched,us(e,49).ngClassPristine,us(e,49).ngClassDirty,us(e,49).ngClassValid,us(e,49).ngClassInvalid,us(e,49).ngClassPending,us(e,50)._isServer,us(e,50).id,us(e,50).placeholder,us(e,50).disabled,us(e,50).required,us(e,50).readonly&&!us(e,50)._isNativeSelect||null,us(e,50)._ariaDescribedby||null,us(e,50).errorState,us(e,50).required.toString()])})}function lk(t){return Qs(0,[(t()(),Na(0,0,null,null,22,"div",[["class","small-pad"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,21,"div",[["class","white-elem main-frame"]],null,null,null,null,null)),(t()(),Na(2,0,null,null,20,"div",[["class","row"]],null,null,null,null,null)),(t()(),Na(3,0,null,null,1,"div",[["class","column-small"]],null,null,null,null,null)),(t()(),Na(4,0,null,null,0,"img",[["class","black-shadow screenshot preview"]],[[8,"src",4]],null,null,null,null)),(t()(),Na(5,0,null,null,17,"div",[["class","column-large"]],null,null,null,null,null)),(t()(),Na(6,0,null,null,8,"mat-tab-group",[["class","tabs mat-tab-group"],["mat-align-tabs","center"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,uC,iC)),xs(7,3325952,null,1,eC,[pi,mo],null,null),Vs(603979776,1,{_tabs:1}),(t()(),Da(16777216,null,null,1,null,ik)),xs(10,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,ok)),xs(12,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Da(16777216,null,null,1,null,sk)),xs(14,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(15,0,null,null,7,"div",[["class","top-pad"]],null,null,null,null,null)),(t()(),Na(16,0,null,null,3,"button",[["class","green-button"],["id","try_another_button"],["mat-stroked-button",""],["routerLink","/upload"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==us(t,18).onClick()&&i),"click"===e&&(i=!1!==r.onTryAnother()&&i),i},r_,i_)),xs(17,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),xs(18,16384,null,0,Rf,[Af,Od,[8,null],gi,pi],{routerLink:[0,"routerLink"]},null),(t()(),Ks(-1,0,[" try another "])),(t()(),Na(20,0,null,null,2,"button",[["class","green-button"],["id","submit_feedback_button"],["mat-stroked-button",""]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.onSubmitFeedback()&&i),i},r_,i_)),xs(21,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),(t()(),Ks(-1,0,[" submit feedback "]))],function(t,e){var n=e.component;t(e,10,0,0==n.highCaptions.length&&0==n.lowCaptions.length),t(e,12,0,n.highCaptions.length>0),t(e,14,0,n.lowCaptions.length>0),t(e,18,0,"/upload")},function(t,e){t(e,4,0,e.component.screenshot),t(e,6,0,us(e,7).dynamicHeight,"below"===us(e,7).headerPosition),t(e,16,0,us(e,17).disabled||null,"NoopAnimations"===us(e,17)._animationMode),t(e,20,0,us(e,21).disabled||null,"NoopAnimations"===us(e,21)._animationMode)})}function uk(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-captions",[],null,null,null,lk,nk)),xs(1,114688,null,0,ek,[Tx,tk],null,null)],function(t,e){t(e,1,0)},null)}var ck=$a("app-captions",ek,uk,{},{},[]),hk=function(){function t(t,e,n,i){this.dashService=t,this.route=e,this.location=n,this.router=i}return t.prototype.ngOnInit=function(){var t=this;this.route.params.subscribe(function(e){t.dashIndex=e.index,t.initialiseState()}),this.initialiseState()},t.prototype.initialiseState=function(){this.dashIndex=+this.route.snapshot.paramMap.get("index"),this.setCaps(),this.imageURL=this.dashService.getImageURL(this.dashIndex),this.modelLevel=this.dashService.dashObjects.dash[this.dashIndex].model_level},t.prototype.setCaps=function(){this.captions=[],this.ratings=[];for(var t=0,e=this.dashService.dashObjects.dash[this.dashIndex].captions;t<e.length;t++){var n=e[t];""!=n.caption&&(this.captions.push(n.caption),this.ratings.push(n.rating))}},t.prototype.updateIndex=function(t){-1==t&&(t=4),5==t&&(t=0),this.router.navigateByUrl("/dash/"+t)},t}(),pk=aa({encapsulation:0,styles:[[".mat-list .mat-list-item .mat-line{word-wrap:break-word;white-space:pre-wrap}.container[_ngcontent-%COMP%]{top:90%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:100%}.stars[_ngcontent-%COMP%]{padding-bottom:15px;padding-left:10px}.preview[_ngcontent-%COMP%]{display:block;margin-left:auto;margin-right:auto}.tabs[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.top-pad[_ngcontent-%COMP%]{padding-top:30px}.fill-space[_ngcontent-%COMP%]{flex:1 1 auto}.dash-button[_ngcontent-%COMP%]{background-color:#115740;border:none;color:#fff;padding:13px 20px;text-align:center;text-decoration:none;display:inline-block;font-size:30px;border-radius:50%;margin:10px}.left[_ngcontent-%COMP%]{margin-left:10px;margin-top:50%}.right[_ngcontent-%COMP%]{margin-right:10px;margin-top:50%}"]],data:{}});function dk(t){return Qs(0,[(t()(),Na(0,0,null,null,0,"img",[["class","black-shadow screenshot preview"]],[[8,"src",4]],null,null,null,null))],null,function(t,e){t(e,0,0,e.component.imageURL)})}function fk(t){return Qs(0,[(t()(),Na(0,0,null,null,2,"div",[["label","fetching the captions..."]],null,null,null,null,null)),(t()(),Na(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:0 auto; margin-top:100px;margin-bottom:100px;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,EC,CC)),xs(2,49152,null,0,wC,[pi,bm,[2,Gu],[2,e_],bC],null,null)],null,function(t,e){t(e,1,0,us(e,2)._noopAnimations,us(e,2).diameter,us(e,2).diameter)})}function mk(t){return Qs(0,[(t()(),Na(0,0,null,null,3,"bar-rating",[["class","stars"],["style","float:right;"]],null,null,null,qC,HC)),ks(5120,null,Wb,function(t){return[t]},[zC]),ks(5120,null,Vb,function(t){return[t]},[zC]),xs(3,638976,null,0,zC,[mo],{rate:[0,"rate"],max:[1,"max"],readOnly:[2,"readOnly"]},null)],function(t,e){var n=e.component;t(e,3,0,n.ratings[n.captions.indexOf(e.parent.context.$implicit)],5,!0)},null)}function gk(t){return Qs(0,[(t()(),Na(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,jC,LC)),xs(1,1097728,null,3,AC,[pi,[2,OC]],null,null),Vs(603979776,1,{_lines:1}),Vs(335544320,2,{_avatar:0}),Vs(335544320,3,{_icon:0}),(t()(),Na(5,0,null,2,1,"span",[["style","text-align:left"]],null,null,null,null,null)),(t()(),Ks(6,null,["",""])),(t()(),Na(7,0,null,2,0,"span",[["class","fill-space"]],null,null,null,null,null)),(t()(),Na(8,0,null,2,2,"span",[],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,null,mk)),xs(10,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(11,0,null,2,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,GC,WC)),xs(12,49152,null,0,DC,[],null,null)],function(t,e){var n=e.component;t(e,10,0,n.ratings[n.captions.indexOf(e.context.$implicit)]>0)},function(t,e){t(e,0,0,us(e,1)._avatar||us(e,1)._icon,us(e,1)._avatar||us(e,1)._icon),t(e,6,0,e.context.$implicit),t(e,11,0,us(e,12).vertical?"vertical":"horizontal",us(e,12).vertical,!us(e,12).vertical,us(e,12).inset)})}function yk(t){return Qs(0,[(t()(),Na(0,0,null,null,19,"div",[["class","small-pad"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,18,"div",[["class","white-elem main-frame"]],null,null,null,null,null)),(t()(),Na(2,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(t()(),Na(3,0,null,null,2,"div",[["class","column-small"]],null,null,null,null,null)),(t()(),Da(16777216,null,null,1,null,dk)),xs(5,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(6,0,null,null,13,"div",[["class","column-large"]],null,null,null,null,null)),(t()(),Na(7,0,null,null,1,"h1",[["style","color: #115740;"]],null,null,null,null,null)),(t()(),Ks(8,null,[""," captions"])),(t()(),Da(16777216,null,null,1,null,fk)),xs(10,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null),(t()(),Na(11,0,null,null,3,"mat-list",[["class","mat-list"],["style","padding-top:30px;"]],null,null,null,FC,MC)),xs(12,49152,null,0,PC,[],null,null),(t()(),Da(16777216,null,0,1,null,gk)),xs(14,278528,null,0,Ru,[fo,ji,Ro],{ngForOf:[0,"ngForOf"]},null),(t()(),Na(15,0,null,null,4,"div",[["class","top-pad"]],null,null,null,null,null)),(t()(),Na(16,0,null,null,1,"button",[["class","dash-button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.updateIndex(r.dashIndex-1)&&i),i},null,null)),(t()(),Ks(-1,null,["<"])),(t()(),Na(18,0,null,null,1,"button",[["class","dash-button"]],null,[[null,"click"]],function(t,e,n){var i=!0,r=t.component;return"click"===e&&(i=!1!==r.updateIndex(r.dashIndex+1)&&i),i},null,null)),(t()(),Ks(-1,null,[">"]))],function(t,e){var n=e.component;t(e,5,0,n.imageURL),t(e,10,0,null==n.captions),t(e,14,0,n.captions)},function(t,e){t(e,8,0,e.component.modelLevel)})}function vk(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-dash",[],null,null,null,yk,pk)),xs(1,114688,null,0,hk,[jh,Od,vu,Af],null,null)],function(t,e){t(e,1,0)},null)}var _k=$a("app-dash",hk,vk,{},{},[]),bk=aa({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 screen and (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{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 wk(t){return Qs(2,[(t()(),Na(0,0,null,null,3,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],function(t,e,n){var i=!0,r=t.component;return"@state.start"===e&&(i=!1!==r._animationStart()&&i),"@state.done"===e&&(i=!1!==r._animationDone(n)&&i),i},null,null)),xs(1,278528,null,0,Pu,[Ro,Do,pi,gi],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Cs(131072,qu,[mo]),(t()(),Ks(3,null,["",""]))],function(t,e){t(e,1,0,"mat-tooltip",e.component.tooltipClass)},function(t,e){var n,i=e.component;t(e,0,0,null==(n=ia(e,0,0,us(e,2).transform(i._isHandset)))?null:n.matches,i._visibility),t(e,3,0,i.message)})}function xk(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],function(t,e,n){var i=!0;return"body:click"===e&&(i=!1!==us(t,1)._handleBodyInteraction()&&i),i},wk,bk)),xs(1,49152,null,0,gx,[mo,sx],null,null)],null,function(t,e){t(e,0,0,"visible"===us(e,1)._visibility?1:null)})}var Ck=$a("mat-tooltip-component",gx,xk,{},{},[]),kk=new Tt("MAT_GRID_LIST"),Sk=function(){function t(t,e){this._element=t,this._gridList=e,this._rowspan=1,this._colspan=1}return Object.defineProperty(t.prototype,"rowspan",{get:function(){return this._rowspan},set:function(t){this._rowspan=Math.round(fm(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"colspan",{get:function(){return this._colspan},set:function(t){this._colspan=Math.round(fm(t))},enumerable:!0,configurable:!0}),t.prototype._setStyle=function(t,e){this._element.nativeElement.style[t]=e},t}(),Ek=function(){function t(){this.columnIndex=0,this.rowIndex=0}return Object.defineProperty(t.prototype,"rowCount",{get:function(){return this.rowIndex+1},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowspan",{get:function(){var t=Math.max.apply(Math,this.tracker);return t>1?this.rowCount+t-1:this.rowCount},enumerable:!0,configurable:!0}),t.prototype.update=function(t,e){var n=this;this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(t),this.tracker.fill(0,0,this.tracker.length),this.positions=e.map(function(t){return n._trackTile(t)})},t.prototype._trackTile=function(t){var e=this._findMatchingGap(t.colspan);return this._markTilePosition(e,t),this.columnIndex=e+t.colspan,new Tk(this.rowIndex,e)},t.prototype._findMatchingGap=function(t){if(t>this.tracker.length)throw Error("mat-grid-list: tile with colspan "+t+' is wider than grid with cols="'+this.tracker.length+'".');var e=-1,n=-1;do{this.columnIndex+t>this.tracker.length?(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e)):-1!=(e=this.tracker.indexOf(0,this.columnIndex))?(n=this._findGapEndIndex(e),this.columnIndex=e+1):(this._nextRow(),e=this.tracker.indexOf(0,this.columnIndex),n=this._findGapEndIndex(e))}while(n-e<t||0==n);return Math.max(e,0)},t.prototype._nextRow=function(){this.columnIndex=0,this.rowIndex++;for(var t=0;t<this.tracker.length;t++)this.tracker[t]=Math.max(0,this.tracker[t]-1)},t.prototype._findGapEndIndex=function(t){for(var e=t+1;e<this.tracker.length;e++)if(0!=this.tracker[e])return e;return this.tracker.length},t.prototype._markTilePosition=function(t,e){for(var n=0;n<e.colspan;n++)this.tracker[t+n]=e.rowspan},t}(),Tk=function(){return function(t,e){this.row=t,this.col=e}}(),Ik=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/,Ok=function(){function t(){this._rows=0,this._rowspan=0}return t.prototype.init=function(t,e,n,i){this._gutterSize=Nk(t),this._rows=e.rowCount,this._rowspan=e.rowspan,this._cols=n,this._direction=i},t.prototype.getBaseTileSize=function(t,e){return"("+t+"% - ("+this._gutterSize+" * "+e+"))"},t.prototype.getTilePosition=function(t,e){return 0===e?"0":Dk("("+t+" + "+this._gutterSize+") * "+e)},t.prototype.getTileSize=function(t,e){return"("+t+" * "+e+") + ("+(e-1)+" * "+this._gutterSize+")"},t.prototype.setStyle=function(t,e,n){var i=100/this._cols,r=(this._cols-1)/this._cols;this.setColStyles(t,n,i,r),this.setRowStyles(t,e,i,r)},t.prototype.setColStyles=function(t,e,n,i){var r=this.getBaseTileSize(n,i);t._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(r,e)),t._setStyle("width",Dk(this.getTileSize(r,t.colspan)))},t.prototype.getGutterSpan=function(){return this._gutterSize+" * ("+this._rowspan+" - 1)"},t.prototype.getTileSpan=function(t){return this._rowspan+" * "+this.getTileSize(t,1)},t.prototype.getComputedHeight=function(){return null},t}(),Pk=function(t){function e(e){var n=t.call(this)||this;return n.fixedRowHeight=e,n}return r(e,t),e.prototype.init=function(e,n,i,r){if(t.prototype.init.call(this,e,n,i,r),this.fixedRowHeight=Nk(this.fixedRowHeight),!Ik.test(this.fixedRowHeight))throw Error('Invalid value "'+this.fixedRowHeight+'" set as rowHeight.')},e.prototype.setRowStyles=function(t,e){t._setStyle("top",this.getTilePosition(this.fixedRowHeight,e)),t._setStyle("height",Dk(this.getTileSize(this.fixedRowHeight,t.rowspan)))},e.prototype.getComputedHeight=function(){return["height",Dk(this.getTileSpan(this.fixedRowHeight)+" + "+this.getGutterSpan())]},e.prototype.reset=function(t){t._setListStyle(["height",null]),t._tiles&&t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})},e}(Ok),Ak=function(t){function e(e){var n=t.call(this)||this;return n._parseRatio(e),n}return r(e,t),e.prototype.setRowStyles=function(t,e,n,i){this.baseTileHeight=this.getBaseTileSize(n/this.rowHeightRatio,i),t._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,e)),t._setStyle("paddingTop",Dk(this.getTileSize(this.baseTileHeight,t.rowspan)))},e.prototype.getComputedHeight=function(){return["paddingBottom",Dk(this.getTileSpan(this.baseTileHeight)+" + "+this.getGutterSpan())]},e.prototype.reset=function(t){t._setListStyle(["paddingBottom",null]),t._tiles.forEach(function(t){t._setStyle("marginTop",null),t._setStyle("paddingTop",null)})},e.prototype._parseRatio=function(t){var e=t.split(":");if(2!==e.length)throw Error('mat-grid-list: invalid ratio given for row-height: "'+t+'"');this.rowHeightRatio=parseFloat(e[0])/parseFloat(e[1])},e}(Ok),Rk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.setRowStyles=function(t,e){var n=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);t._setStyle("top",this.getTilePosition(n,e)),t._setStyle("height",Dk(this.getTileSize(n,t.rowspan)))},e.prototype.reset=function(t){t._tiles&&t._tiles.forEach(function(t){t._setStyle("top",null),t._setStyle("height",null)})},e}(Ok);function Dk(t){return"calc("+t+")"}function Nk(t){return t.match(/px|em|rem/)?t:t+"px"}var Mk=function(){function t(t,e){this._element=t,this._dir=e,this._gutter="1px"}return Object.defineProperty(t.prototype,"cols",{get:function(){return this._cols},set:function(t){this._cols=Math.max(1,Math.round(fm(t)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return this._gutter},set:function(t){this._gutter=""+(t||"")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{set:function(t){var e=""+(t||"");e!==this._rowHeight&&(this._rowHeight=e,this._setTileStyler(this._rowHeight))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this._checkCols(),this._checkRowHeight()},t.prototype.ngAfterContentChecked=function(){this._layoutTiles()},t.prototype._checkCols=function(){if(!this.cols)throw Error('mat-grid-list: must pass in number of columns. Example: <mat-grid-list cols="3">')},t.prototype._checkRowHeight=function(){this._rowHeight||this._setTileStyler("1:1")},t.prototype._setTileStyler=function(t){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===t?new Rk:t&&t.indexOf(":")>-1?new Ak(t):new Pk(t)},t.prototype._layoutTiles=function(){var t=this;this._tileCoordinator||(this._tileCoordinator=new Ek);var e=this._tileCoordinator,n=this._tiles.filter(function(e){return!e._gridList||e._gridList===t}),i=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,n),this._tileStyler.init(this.gutterSize,e,this.cols,i),n.forEach(function(n,i){var r=e.positions[i];t._tileStyler.setStyle(n,r.row,r.col)}),this._setListStyle(this._tileStyler.getComputedHeight())},t.prototype._setListStyle=function(t){t&&(this._element.nativeElement.style[t[0]]=t[1])},t}(),Fk=function(){return function(){}}(),Lk=aa({encapsulation:2,styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"],data:{}});function jk(t){return Qs(2,[(t()(),Na(0,0,null,null,1,"div",[],null,null,null,null,null)),qs(null,0)],null,null)}var Vk=aa({encapsulation:2,styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}"],data:{}});function zk(t){return Qs(2,[(t()(),Na(0,0,null,null,1,"figure",[["class","mat-figure"]],null,null,null,null,null)),qs(null,0)],null,null)}var Hk=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r._platform=n,r._document=i,r}return r(e,t),e.prototype.ngAfterViewInit=function(){var t=this;Hi()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return t._checkToolbarMixedModes()}))},e.prototype._checkToolbarMixedModes=function(){var t=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter(function(t){return!(t.classList&&t.classList.contains("mat-toolbar-row"))}).filter(function(e){return e.nodeType!==(t._document?t._document.COMMENT_NODE:8)}).some(function(t){return!(!t.textContent||!t.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.")}()},e}(Km(function(){return function(t){this._elementRef=t}}())),Uk=function(){return function(){}}(),Bk=aa({encapsulation:2,styles:["@media screen and (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function qk(t){return Qs(2,[qs(null,0),qs(null,1)],null,null)}var Wk=aa({encapsulation:0,styles:[[".toolbar[_ngcontent-%COMP%]{height:47px}#toolbar-padding[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}#toolbar-icon[_ngcontent-%COMP%]{padding-top:10px;padding-left:10px}#icon[_ngcontent-%COMP%]{width:70px}#wm-icon[_ngcontent-%COMP%]{height:40px;padding-top:5px}.toolbar-button[_ngcontent-%COMP%]{padding-left:40px;padding-top:2px}.fill-space[_ngcontent-%COMP%]{flex:1 1 auto}.bottom-dash[_ngcontent-%COMP%]{transition:all 1s}.hide[_ngcontent-%COMP%]{opacity:0;left:-100%}.show[_ngcontent-%COMP%]{opacity:1;left:0}.dashImg[_ngcontent-%COMP%]:hover > .overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;background-color:#000;opacity:.5;border-radius:30px}"]],data:{}});function Gk(t){return Qs(0,[(t()(),Na(0,0,null,null,22,"div",[["class","large-pad"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,1,"div",[["class","main-look"],["style","padding-bottom: 110px;"]],null,null,null,null,null)),(t()(),Ks(-1,null,[" See what others are uploading \u2193 "])),(t()(),Na(3,0,null,null,19,"div",[["class","white-elem"]],null,null,null,null,null)),(t()(),Na(4,0,null,null,18,"mat-grid-list",[["class","mat-grid-list"],["cols","5"],["rowHeight","400px"]],null,null,null,jk,Lk)),xs(5,2211840,null,1,Mk,[pi,[2,Ig]],{cols:[0,"cols"],rowHeight:[1,"rowHeight"]},null),Vs(603979776,2,{_tiles:1}),ks(2048,null,kk,null,[Mk]),(t()(),Na(8,0,null,0,2,"mat-grid-tile",[["class","mat-grid-tile"]],null,null,null,zk,Vk)),xs(9,49152,[[2,4]],0,Sk,[pi,[2,kk]],null,null),(t()(),Na(10,0,null,0,0,"img",[["class","dash-sc"]],[[8,"src",4]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.expandDash(0)&&i),i},null,null)),(t()(),Na(11,0,null,0,2,"mat-grid-tile",[["class","mat-grid-tile"]],null,null,null,zk,Vk)),xs(12,49152,[[2,4]],0,Sk,[pi,[2,kk]],null,null),(t()(),Na(13,0,null,0,0,"img",[["class","dash-sc"]],[[8,"src",4]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.expandDash(1)&&i),i},null,null)),(t()(),Na(14,0,null,0,2,"mat-grid-tile",[["class","mat-grid-tile"]],null,null,null,zk,Vk)),xs(15,49152,[[2,4]],0,Sk,[pi,[2,kk]],null,null),(t()(),Na(16,0,null,0,0,"img",[["class","dash-sc"]],[[8,"src",4]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.expandDash(2)&&i),i},null,null)),(t()(),Na(17,0,null,0,2,"mat-grid-tile",[["class","mat-grid-tile"]],null,null,null,zk,Vk)),xs(18,49152,[[2,4]],0,Sk,[pi,[2,kk]],null,null),(t()(),Na(19,0,null,0,0,"img",[["class","dash-sc"]],[[8,"src",4]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.expandDash(3)&&i),i},null,null)),(t()(),Na(20,0,null,0,2,"mat-grid-tile",[["class","mat-grid-tile"]],null,null,null,zk,Vk)),xs(21,49152,[[2,4]],0,Sk,[pi,[2,kk]],null,null),(t()(),Na(22,0,null,0,0,"img",[["class","dash-sc"]],[[8,"src",4]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==t.component.expandDash(4)&&i),i},null,null))],function(t,e){t(e,5,0,"5","400px")},function(t,e){var n=e.component;t(e,10,0,n.getSafeUrl(0)),t(e,13,0,n.getSafeUrl(1)),t(e,16,0,n.getSafeUrl(2)),t(e,19,0,n.getSafeUrl(3)),t(e,22,0,n.getSafeUrl(4))})}function Kk(t){return Qs(0,[(t()(),Na(0,0,null,null,20,"div",[["id","toolbar-padding"]],null,null,null,null,null)),(t()(),Na(1,0,null,null,19,"mat-toolbar",[["class","white-elem toolbar mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,qk,Bk)),xs(2,4243456,null,1,Hk,[pi,bm,Gu],null,null),Vs(603979776,1,{_toolbarRows:1}),(t()(),Na(4,0,null,0,1,"div",[["id","toolbar-icon"]],null,null,null,null,null)),(t()(),Na(5,0,null,null,0,"img",[["id","icon"],["src","./assets/icon.png"]],null,null,null,null,null)),(t()(),Na(6,0,null,0,3,"button",[["class","toolbar-button wm-green-font"],["id","toolbar_upload_button"],["mat-button",""],["routerLink","/upload"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,8).onClick()&&i),i},r_,i_)),xs(7,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),xs(8,16384,null,0,Rf,[Af,Od,[8,null],gi,pi],{routerLink:[0,"routerLink"]},null),(t()(),Ks(-1,0,["Upload"])),(t()(),Na(10,0,null,0,3,"button",[["class","toolbar-button wm-green-font"],["id","toolbar_api_button"],["mat-button",""],["routerLink","/api"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,12).onClick()&&i),i},r_,i_)),xs(11,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),xs(12,16384,null,0,Rf,[Af,Od,[8,null],gi,pi],{routerLink:[0,"routerLink"]},null),(t()(),Ks(-1,0,["API"])),(t()(),Na(14,0,null,0,3,"button",[["class","toolbar-button wm-green-font"],["id","toolbar_about_button"],["mat-button",""],["routerLink","/team"]],[[8,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],function(t,e,n){var i=!0;return"click"===e&&(i=!1!==us(t,16).onClick()&&i),i},r_,i_)),xs(15,180224,null,0,Sg,[pi,bm,Hm,[2,e_]],null,null),xs(16,16384,null,0,Rf,[Af,Od,[8,null],gi,pi],{routerLink:[0,"routerLink"]},null),(t()(),Ks(-1,0,["Team"])),(t()(),Na(18,0,null,0,0,"span",[["class","fill-space"]],null,null,null,null,null)),(t()(),Na(19,0,null,0,1,"span",[],null,null,null,null,null)),(t()(),Na(20,0,null,null,0,"img",[["id","wm-icon"],["src","./assets/wm.png"]],null,null,null,null,null)),(t()(),Na(21,0,null,null,2,"div",[],null,null,null,null,null)),(t()(),Na(22,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),xs(23,212992,null,0,Ff,[Mf,fo,ti,[8,null],mo],null,null),(t()(),Da(16777216,null,null,1,null,Gk)),xs(25,16384,null,0,Nu,[fo,ji],{ngIf:[0,"ngIf"]},null)],function(t,e){var n=e.component;t(e,8,0,"/upload"),t(e,12,0,"/api"),t(e,16,0,"/team"),t(e,23,0),t(e,25,0,n.showDash)},function(t,e){t(e,1,0,us(e,2)._toolbarRows.length>0,0===us(e,2)._toolbarRows.length),t(e,6,0,us(e,7).disabled||null,"NoopAnimations"===us(e,7)._animationMode),t(e,10,0,us(e,11).disabled||null,"NoopAnimations"===us(e,11)._animationMode),t(e,14,0,us(e,15).disabled||null,"NoopAnimations"===us(e,15)._animationMode)})}function Yk(t){return Qs(0,[(t()(),Na(0,0,null,null,1,"app-root",[],null,null,null,Kk,Wk)),xs(1,114688,null,0,Vh,[jh,Af],null,null)],function(t,e){t(e,1,0)},null)}var Xk=$a("app-root",Vh,Yk,{},{},[]),Qk=function(){return function(){}}(),Zk=function(){function t(){this.changes=new V,this.optionalLabel="Optional"}return t.ngInjectableDef=kt({factory:function(){return new t},token:t,providedIn:"root"}),t}(),$k=function(){return function(){}}(),Jk=function(){return function(){}}(),tS=function(){return function(){}}(),eS=function(){return function(){}}(),nS=function(){return function(){}}(),iS=function(){return function(){}}(),rS=function(){return function(){}}(),oS=function(){return function(){}}(),aS=iu(ou,[Vh],function(t){return function(t){for(var e={},n=[],i=!1,r=0;r<t.length;r++){var o=t[r];o.token===ki&&!0===o.value&&(i=!0),1073741824&o.flags&&n.push(o.token),o.index=r,e[na(o.token)]=o}return{factory:null,providersByKey:e,providers:t,modules:n,isRoot:i}}([Ba(512,ti,ei,[[8,[sm,pm,Mx,zx,Wx,ck,_k,Ck,Xk]],[3,ti],ii]),Ba(5120,jo,Ho,[[3,jo]]),Ba(4608,Tu,Iu,[jo,[2,Eu]]),Ba(5120,kr,Sr,[]),Ba(5120,Ro,Vo,[]),Ba(5120,Do,zo,[]),Ba(4608,Th,Ih,[Gu]),Ba(6144,ur,null,[Th]),Ba(4608,bh,eg,[[2,$m],[2,Wm]]),Ba(5120,Kc,function(t,e,n,i,r,o,a,s){return[new vh(t,e,n),new Eh(i),new Ch(r,o,a,s)]},[Gu,Hr,Ir,Gu,Gu,bh,Pr,[2,wh]]),Ba(4608,Yc,Yc,[Kc,Hr]),Ba(135680,Zc,Zc,[Gu]),Ba(4608,rh,rh,[Yc,Zc]),Ba(5120,sy,$v,[]),Ba(5120,Zy,Jv,[]),Ba(4608,Tv,Zv,[Gu,sy,Zy]),Ba(5120,fi,t_,[rh,Tv,Hr]),Ba(6144,Qc,null,[Zc]),Ba(4608,Xr,Xr,[Hr]),Ba(4608,Pg,qv,[fi,jc]),Ba(4608,wb,wb,[ab,db,ti,_b,pb,Zt,Hr,Gu,Ig,[2,vu]]),Ba(5120,Cb,Eb,[wb]),Ba(4608,f_,f_,[]),Ba(5120,Pb,Ab,[wb]),Ba(5120,Od,Jf,[Af]),Ba(4608,zf,zf,[]),Ba(6144,jf,null,[zf]),Ba(135680,Hf,Hf,[Af,ao,Nr,Zt,jf]),Ba(4608,Vf,Vf,[]),Ba(5120,Uf,Yf,[Af,Xu,Bf]),Ba(5120,im,nm,[tm]),Ba(5120,Or,function(t){return[t]},[im]),Ba(4608,Zk,Zk,[]),Ba(4608,Zm,Zm,[]),Ba(5120,px,dx,[wb]),Ba(4608,tw,tw,[]),Ba(4608,Cc,kc,[Gu,Ir,wc]),Ba(4608,Sc,Sc,[Cc,xc]),Ba(5120,mc,function(t){return[t]},[Sc]),Ba(4608,_c,_c,[]),Ba(6144,vc,null,[_c]),Ba(4608,bc,bc,[vc]),Ba(6144,$u,null,[bc]),Ba(4608,Zu,Ec,[$u,Zt]),Ba(4608,dc,dc,[Zu]),Ba(1073742336,Wu,Wu,[]),Ba(1024,_r,Fh,[]),Ba(1024,Jr,function(){return[Gf()]},[]),Ba(512,tm,tm,[Zt]),Ba(1024,xr,function(t,e){return[(n=t,qc("probe",Gc),qc("coreTokens",o({},Wc,(n||[]).reduce(function(t,e){return t[e.name]=e.token,t},{}))),function(){return Gc}),em(e)];var n},[[2,Jr],tm]),Ba(512,Cr,Cr,[[2,xr]]),Ba(131584,ro,ro,[Hr,Pr,Zt,_r,ti,Cr]),Ba(1073742336,Uo,Uo,[ro]),Ba(1073742336,Lh,Lh,[[3,Lh]]),Ba(1073742336,n_,n_,[]),Ba(1073742336,ix,ix,[]),Ba(1073742336,Og,Og,[]),Ba(1073742336,Wm,Wm,[[2,qm],[2,wh]]),Ba(1073742336,Uk,Uk,[]),Ba(1073742336,wm,wm,[]),Ba(1073742336,hg,hg,[]),Ba(1073742336,Eg,Eg,[]),Ba(1073742336,B_,B_,[]),Ba(1073742336,Jk,Jk,[]),Ba(1073742336,tS,tS,[]),Ba(1073742336,ig,ig,[]),Ba(1073742336,dg,dg,[]),Ba(1073742336,NC,NC,[]),Ba(1073742336,RC,RC,[]),Ba(1073742336,eS,eS,[]),Ba(1073742336,Fk,Fk,[]),Ba(1073742336,$_,$_,[]),Ba(1073742336,Tb,Tb,[]),Ba(1073742336,wg,wg,[]),Ba(1073742336,y_,y_,[]),Ba(1073742336,d_,d_,[]),Ba(1073742336,Nb,Nb,[]),Ba(1024,qf,Qf,[[3,Af]]),Ba(512,sd,ld,[]),Ba(512,Mf,Mf,[]),Ba(256,Bf,{onSameUrlNavigation:"reload"},[]),Ba(1024,gu,Xf,[fu,[2,yu],Bf]),Ba(512,vu,vu,[gu]),Ba(512,Nr,Nr,[]),Ba(512,ao,co,[Nr,[2,lo]]),Ba(1024,kf,function(){return[[{path:"",redirectTo:"/upload",pathMatch:"full"},{path:"api",component:lm},{path:"upload",component:Ix,runGuardsAndResolvers:"always"},{path:"about",component:Fx},{path:"team",component:Hx},{path:"captions",component:ek},{path:"dash/:index",component:hk,runGuardsAndResolvers:"paramsChange"}]]},[]),Ba(1024,Af,$f,[ro,sd,Mf,vu,Zt,ao,Nr,kf,Bf,[2,Ef],[2,xf]]),Ba(1073742336,Kf,Kf,[[2,qf],[2,Af]]),Ba(1073742336,nS,nS,[]),Ba(1073742336,Qk,Qk,[]),Ba(1073742336,$k,$k,[]),Ba(1073742336,iS,iS,[]),Ba(1073742336,rS,rS,[]),Ba(1073742336,Bm,Bm,[]),Ba(1073742336,yx,yx,[]),Ba(1073742336,nC,nC,[]),Ba(1073742336,Mw,Mw,[]),Ba(1073742336,Fw,Fw,[]),Ba(1073742336,oS,oS,[]),Ba(1073742336,XC,XC,[]),Ba(1073742336,JC,JC,[]),Ba(1073742336,xC,xC,[]),Ba(1073742336,kx,kx,[]),Ba(1073742336,Tc,Tc,[]),Ba(1073742336,Ic,Ic,[]),Ba(1073742336,ou,ou,[]),Ba(256,ki,!0,[]),Ba(256,e_,"BrowserAnimations",[]),Ba(256,wc,"XSRF-TOKEN",[]),Ba(256,xc,"X-XSRF-TOKEN",[])])});(function(){if(zi)throw new Error("Cannot enable prod mode after platform setup.");Vi=!1})(),Mh().bootstrapModuleFactory(aS).catch(function(t){return console.error(t)})}},[[0,0]]]);