
!function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,a){for(var s,c,u=0,l=[];u<o.length;u++)c=o[u],i[c]&&l.push.apply(l,i[c]),i[c]=0;for(s in a)t[s]=a[s];for(n&&n(o,a);l.length;)l.shift().call(null,e);if(a[0])return r[0]=0,e(0)};var r={},i={0:0};return e.e=function(t,n){if(0===i[t])return n.call(null,e);if(void 0!==i[t])i[t].push(n);else{i[t]=[n];var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=e.p+""+t+"."+({1:"app",2:"map",3:"mobile",4:"run"}[t]||t)+".min.js",r.appendChild(o)}},e.m=t,e.c=r,e.p="",e(0)}({0:function(t,e,n){n(2),n(192),n(9),n(194),n(8),n(196),n(198),n(200),t.exports=n(203)},2:function(t,e,n){n(201),t.exports=angular},8:function(t,e,n){n(189),t.exports="ngAnimate"},9:function(t,e,n){n(190),t.exports="ngAria"},10:function(t,e,n){var r;(function(t,i,o){(function(a){function s(t){return t&&t.Object===Object?t:null}function c(t){for(var e=[],n=0,r=t.length;n<r;n++)e.push(t[n]);return e}function u(t){return function(){try{return t.apply(this,arguments)}catch(t){return re.e=t,re}}}function l(t){throw t}function d(t,e){if(oe&&e.stack&&"object"==typeof t&&null!==t&&t.stack&&t.stack.indexOf(ue)===-1){for(var n=[],r=e;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(t.stack);var i=n.join("\n"+ue+"\n");t.stack=h(i)}}function h(t){for(var e=t.split("\n"),n=[],r=0,i=e.length;r<i;r++){var o=e[r];p(o)||m(o)||!o||n.push(o)}return n.join("\n")}function p(t){var e=v(t);if(!e)return!1;var n=e[0],r=e[1];return n===se&&r>=ce&&r<=Fa}function m(t){return t.indexOf("(module.js:")!==-1||t.indexOf("(node.js:")!==-1}function f(){if(oe)try{throw new Error}catch(r){var t=r.stack.split("\n"),e=t[0].indexOf("@")>0?t[1]:t[2],n=v(e);if(!n)return;return se=n[0],n[1]}}function v(t){var e=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(t);if(e)return[e[1],Number(e[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(t);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(t);return r?[r[1],Number(r[2])]:void 0}function g(t,e,n,r,i,o){var s=Xe(t),c=s.length,u=Xe(e),l=u.length;if(c!==l&&!r)return!1;for(var d,h=c;h--;)if(d=s[h],!(r?d in e:Ye.call(e,d)))return!1;for(var p=r;++h<c;){d=s[h];var m,f=t[d],v=e[d];if(!(m===a?n(f,v,r,i,o):m))return!1;p||(p="constructor"===d)}if(!p){var g=t.constructor,b=e.constructor;if(g!==b&&"constructor"in t&&"constructor"in e&&!("function"==typeof g&&g instanceof g&&"function"==typeof b&&b instanceof b))return!1}return!0}function b(t,e,n){switch(n){case _e:case xe:return+t===+e;case Me:return t.name===e.name&&t.message===e.message;case ke:return t!==+t?e!==+e:t===+e;case Ne:case Oe:return t===e+""}return!1}function $(t){return!!t&&"object"==typeof t}function y(t){return"number"==typeof t&&t>-1&&t%1===0&&t<=Ge}function E(t){return $(t)&&y(t.length)&&!!ze[Ke.call(t)]}function w(t,e){for(var n=-1,r=t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function C(t,e,n,r,i,o){var s=-1,c=t.length,u=e.length;if(c!==u&&!(r&&u>c))return!1;for(;++s<c;){var l,d=t[s],h=e[s];if(l!==a){if(l)continue;return!1}if(r){if(!w(e,function(t){return d===t||n(d,t,r,i,o)}))return!1}else if(d!==h&&!n(d,h,r,i,o))return!1}return!0}function _(t,e,n,r,i,o){var a=Qe(t),s=Qe(e),c=Ce,u=Ce;a||(c=Ke.call(t),c===we?c=Se:c!==Se&&(a=E(t))),s||(u=Ke.call(e),u===we&&(u=Se));var l=c===Se&&!Ze(t),d=u===Se&&!Ze(e),h=c===u;if(h&&!a&&!l)return b(t,e,c);if(!r){var p=l&&Ye.call(t,"__wrapped__"),m=d&&Ye.call(e,"__wrapped__");if(p||m)return n(p?t.value():t,m?e.value():e,r,i,o)}if(!h)return!1;i||(i=[]),o||(o=[]);for(var f=i.length;f--;)if(i[f]===t)return o[f]===e;i.push(t),o.push(e);var v=(a?C:g)(t,e,n,r,i,o);return i.pop(),o.pop(),v}function x(t,e,n,r,i){return t===e||(null==t||null==e||!st(t)&&!$(e)?t!==t&&e!==e:_(t,e,x,n,r,i))}function M(t,e){for(var n=new Array(t),r=0;r<t;r++)n[r]=e();return n}function A(t,e){this.id=t,this.value=e}function T(t,e){this.scheduler=t,this.disposable=e,this.isDisposed=!1}function k(t,e){e.isDisposed||(e.isDisposed=!0,e.disposable.dispose())}function S(t){this._s=t,this.isDisposed=!1}function N(t){this._s=t}function D(t){this._s=t,this._l=t.length,this._i=0}function O(t){this._a=t}function I(t){this._a=t,this._l=L(t),this._i=0}function H(t){return"number"==typeof t&&Yt.isFinite(t)}function P(t){var e,n=t[ve];if(!n&&"string"==typeof t)return e=new N(t),e[ve]();if(!n&&t.length!==a)return e=new O(t),e[ve]();if(!n)throw new TypeError("Object is not iterable");return t[ve]()}function R(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}function L(t){var e=+t.length;return isNaN(e)?0:0!==e&&H(e)?(e=R(e)*Math.floor(Math.abs(e)),e<=0?0:e>br?br:e):e}function F(t,e){return wn(t)||(t=kn),new yr(e,t)}function j(t,e){this.observer=t,this.parent=e}function q(t,e){return t.amb(e)}function V(){return!1}function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}function V(){return!1}function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}function V(){return!1}function U(){return[]}function V(){return!1}function U(){return[]}function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}function z(t){return function(e){return t.subscribe(e)}}function W(t){return t.toArray()}function Y(t){return t.length>0}function K(t){return{"@@iterator":function(){return{next:function(){return{done:!1,value:t}}}}}}function K(t){return{"@@iterator":function(){return{next:function(){return{done:!1,value:t}}}}}}function G(t,e,n){var r=ye(e,n,3);return t.map(function(e,n){var i=r(e,n,t);return ee(i)&&(i=lr(i)),($e(i)||be(i))&&(i=$r(i)),i}).concatAll()}function X(t,e,n){for(var r=0,i=t.length;r<i;r++)if(n(t[r],e))return r;return-1}function Z(t){this.comparer=t,this.set=[]}function Q(t,e){return function(n){for(var r=n,i=0;i<e;i++){var o=r[t[i]];if("undefined"==typeof o)return a;r=o}return r}}function J(t){if(0===t.length)throw new le;return t[0]}function tt(t,e,n,r){var i=ye(e,n,3);return new Sa(function(e){return t.subscribe(new mo(e,t,i,r))},t)}function et(t){return t?Zn.isObservable(t)?t:ee(t)?Zn.fromPromise(t):at(t)||ot(t)?Co.call(this,t):ne(t)?it.call(this,t):$e(t)||be(t)?nt.call(this,t):st(t)?rt.call(this,t):t:t}function nt(t){return Zn.from(t).concatMap(function(t){return Zn.isObservable(t)||st(t)?et.call(null,t):Kt.Observable.just(t)}).toArray()}function rt(t){function e(t,e){n[e]=a,i.push(t.map(function(t){n[e]=t}))}for(var n=new t.constructor,r=Object.keys(t),i=[],o=0,s=r.length;o<s;o++){var c=r[o],u=et.call(this,t[c]);u&&Zn.isObservable(u)?e(u,c):n[c]=t[c]}return Zn.forkJoin.apply(Zn,i).map(function(){return n})}function it(t){var e=this;return new Sa(function(n){t.call(e,function(){var t=arguments[0],e=arguments[1];if(t)return n.onError(t);if(arguments.length>2){for(var r=[],i=1,o=arguments.length;i<o;i++)r.push(arguments[i]);e=r}n.onNext(e),n.onCompleted()})})}function ot(t){return ne(t.next)&&ne(t.throw)}function at(t){var e=t.constructor;return!!e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||ot(e.prototype))}function st(t){return Object==t.constructor}function ct(t,e,n,r){var i=new Ha;return r.push(ut(i,e,n)),t.apply(e,r),i.asObservable()}function ut(t,e,n){return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if(ne(n)){if(i=ie(n).apply(e,i),i===re)return t.onError(i.e);t.onNext(i)}else i.length<=1?t.onNext(i[0]):t.onNext(i);t.onCompleted()}}function lt(t,e,n,r){var i=new Ha;return r.push(dt(i,e,n)),t.apply(e,r),i.asObservable()}function dt(t,e,n){return function(){var r=arguments[0];if(r)return t.onError(r);for(var i=arguments.length,o=[],a=1;a<i;a++)o[a-1]=arguments[a];if(ne(n)){var o=ie(n).apply(e,o);if(o===re)return t.onError(o.e);t.onNext(o)}else o.length<=1?t.onNext(o[0]):t.onNext(o);t.onCompleted()}}function ht(t){return Yt.StaticNodeList?t instanceof Yt.StaticNodeList||t instanceof Yt.NodeList:"[object NodeList]"===Object.prototype.toString.call(t)}function pt(t,e,n){this._e=t,this._n=e,this._fn=n,this._e.addEventListener(this._n,this._fn,!1),this.isDisposed=!1}function mt(t,e,n){var r=new an,i=Object.prototype.toString.call(t);if(ht(t)||"[object HTMLCollection]"===i)for(var o=0,a=t.length;o<a;o++)r.add(mt(t.item(o),e,n));else t&&r.add(new pt(t,e,n));return r}function ft(t,e,n){return new Sa(function(r){function i(t,e){if(u[e]=t,a[e]=!0,s||(s=a.every(Xt))){if(o)return r.onError(o);var i=ie(n).apply(null,u);if(i===re)return r.onError(i.e);r.onNext(i)}c&&u[1]&&r.onCompleted()}var o,a=[!1,!1],s=!1,c=!1,u=new Array(2);return new vn(t.subscribe(function(t){i(t,0)},function(t){u[1]?r.onError(t):o=t},function(){c=!0,u[1]&&r.onCompleted()}),e.subscribe(function(t){i(t,1)},function(t){r.onError(t)},function(){c=!0,i(!0,1)}))},t)}function W(t){return t.toArray()}function vt(t,e){return t.groupJoin(this,e,vr,function(t,e){return e})}function gt(t){var e=this;return new Sa(function(n){var r=new Ia,i=new an,o=new bn(i);return n.onNext(nn(r,o)),i.add(e.subscribe(function(t){r.onNext(t)},function(t){r.onError(t),n.onError(t)},function(){r.onCompleted(),n.onCompleted()})),ee(t)&&(t=lr(t)),i.add(t.subscribe(function(t){r.onCompleted(),r=new Ia,n.onNext(nn(r,o))},function(t){r.onError(t),n.onError(t)},function(){r.onCompleted(),n.onCompleted()})),o},e)}function bt(t){var e=this;return new Sa(function(n){function r(){var e;try{e=t()}catch(t){return void n.onError(t)}ee(e)&&(e=lr(e));var o=new mn;i.setDisposable(o),o.setDisposable(e.take(1).subscribe(Gt,function(t){s.onError(t),n.onError(t)},function(){s.onCompleted(),s=new Ia,n.onNext(nn(s,a)),r()}))}var i=new fn,o=new an(i),a=new bn(o),s=new Ia;return n.onNext(nn(s,a)),o.add(e.subscribe(function(t){s.onNext(t)},function(t){s.onError(t),n.onError(t)},function(){s.onCompleted(),n.onCompleted()})),r(),a},e)}function $t(t,e){return new jo(t,e)}function B(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e}function yt(t){this.patterns=t}function Et(t,e){this.expression=t,this.selector=e}function wt(t){return function(e){t.onError(e)}}function Ct(t,e){return function(){var n=ie(t.selector).apply(t,arguments);return n===re?e.onError(n.e):void e.onNext(n)}}function _t(t,e,n){var r=t.get(e);if(!r){var i=new Ko(e,n);return t.set(e,i),i}return r}function xt(t,e,n){this.joinObserverArray=t,this.onNext=e,this.onCompleted=n,this.joinObservers=new Yo;for(var r=0,i=this.joinObserverArray.length;r<i;r++){var o=this.joinObserverArray[r];this.joinObservers.set(o,o)}}function Mt(t,e){return new Go(t,e)}function At(t,e,n){return new Sa(function(r){var i=t,o=En(e);return n.scheduleRecursiveFuture(0,i,function(t,e){if(o>0){var a=n.now();i=new Date(i.getTime()+o),i.getTime()<=a&&(i=new Date(a+o))}r.onNext(t),e(t+1,new Date(i))})})}function Tt(t,e,n){return t===e?new Sa(function(t){return n.schedulePeriodic(0,e,function(e){return t.onNext(e),e+1})}):pr(function(){return At(new Date(n.now()+t),e,n)})}function kt(t,e,n){return new Sa(function(r){var i,o=!1,a=new fn,s=null,c=[],u=!1;return i=t.materialize().timestamp(n).subscribe(function(t){var i,l;"E"===t.value.kind?(c=[],c.push(t),s=t.value.error,l=!u):(c.push({value:t.value,timestamp:t.timestamp+e}),l=!o,o=!0),l&&(null!==s?r.onError(s):(i=new mn,a.setDisposable(i),i.setDisposable(n.scheduleRecursiveFuture(null,e,function(t,e){var i,a,l,d;if(null===s){u=!0;do l=null,c.length>0&&c[0].timestamp-n.now()<=0&&(l=c.shift().value),null!==l&&l.accept(r);while(null!==l);d=!1,a=0,c.length>0?(d=!0,a=Math.max(0,c[0].timestamp-n.now())):o=!1,i=s,u=!1,null!==i?r.onError(i):d&&e(null,a)}}))))}),new vn(i,a)},t)}function St(t,e,n){return pr(function(){return kt(t,e-n.now(),n)})}function Nt(t,e,n){var r,i;return ne(e)?i=e:(r=e,i=n),new Sa(function(e){function n(){c.setDisposable(t.subscribe(function(t){var n=ie(i)(t);if(n===re)return e.onError(n.e);var r=new mn;a.add(r),r.setDisposable(n.subscribe(function(){e.onNext(t),a.remove(r),o()},function(t){e.onError(t)},function(){e.onNext(t),a.remove(r),o()}))},function(t){e.onError(t)},function(){s=!0,c.dispose(),o()}))}function o(){s&&0===a.length&&e.onCompleted()}var a=new an,s=!1,c=new fn;return r?c.setDisposable(r.subscribe(n,function(t){e.onError(t)},n)):n(),new vn(c,a)},t)}function Dt(t,e){return new Sa(function(n){var r,i=!1,o=new fn,a=0,s=t.subscribe(function(t){var s=ie(e)(t);if(s===re)return n.onError(s.e);ee(s)&&(s=lr(s)),i=!0,r=t,a++;var c=a,u=new mn;o.setDisposable(u),u.setDisposable(s.subscribe(function(){i&&a===c&&n.onNext(r),i=!1,u.dispose()},function(t){n.onError(t)},function(){i&&a===c&&n.onNext(r),i=!1,u.dispose()}))},function(t){o.dispose(),n.onError(t),i=!1,a++},function(){o.dispose(),i&&n.onNext(r),n.onCompleted(),i=!1,a++});return new vn(s,o)},t)}function W(t){return t.toArray()}function W(t){return t.toArray()}function Ot(t,e,n,r){return ne(e)&&(r=n,n=e,e=xr()),Zn.isObservable(r)||(r=Nr(new aa)),new Sa(function(i){function o(t){function e(){return d=n===l}var n=l,o=new mn;c.setDisposable(o),o.setDisposable(t.subscribe(function(){e()&&s.setDisposable(r.subscribe(i)),o.dispose()},function(t){e()&&i.onError(t)},function(){e()&&s.setDisposable(r.subscribe(i))}))}function a(){var t=!d;return t&&l++,t}var s=new fn,c=new fn,u=new mn;s.setDisposable(u);var l=0,d=!1;return o(e),u.setDisposable(t.subscribe(function(t){if(a()){i.onNext(t);var e=ie(n)(t);if(e===re)return i.onError(e.e);o(ee(e)?lr(e):e)}},function(t){a()&&i.onError(t)},function(){a()&&i.onCompleted()})),new vn(s,c)},t)}function It(t,e,n,r){return wn(n)&&(r=n,n=Nr(new aa)),n instanceof Error&&(n=Nr(n)),wn(r)||(r=In),Zn.isObservable(n)||(n=Nr(new aa)),new Sa(function(i){function o(){var t=a;l.setDisposable(r.scheduleFuture(null,e,function(){u=a===t,u&&(ee(n)&&(n=lr(n)),c.setDisposable(n.subscribe(i)))}))}var a=0,s=new mn,c=new fn,u=!1,l=new fn;return c.setDisposable(s),o(),s.setDisposable(t.subscribe(function(t){u||(a++,i.onNext(t),o())},function(t){u||(a++,i.onError(t))},function(){u||(a++,i.onCompleted())})),new vn(c,l)},t)}function Ht(t){return{"@@transducer/init":function(){return t},"@@transducer/step":function(t,e){return t.onNext(e)},"@@transducer/result":function(t){return t.onCompleted()}}}function Pt(t){this.predicate=t}function Rt(t){this.predicate=t}function Lt(t,e){var n=this;this.scheduler=t,this.messages=e,this.subscriptions=[],this.observers=[];for(var r=0,i=this.messages.length;r<i;r++){var o=this.messages[r],a=o.value;!function(e){t.scheduleAbsolute(null,o.time,function(){for(var t=n.observers.slice(0),r=0,i=t.length;r<i;r++)e.accept(t[r]);return ln})}(a)}}var Ft={function:!0,object:!0},jt=Ft[typeof e]&&e&&!e.nodeType?e:null,qt=Ft[typeof t]&&t&&!t.nodeType?t:null,Vt=s(jt&&qt&&"object"==typeof i&&i),Bt=s(Ft[typeof self]&&self),Ut=s(Ft[typeof window]&&window),zt=qt&&qt.exports===jt?jt:null,Wt=s(Ft[typeof this]&&this),Yt=Vt||Ut!==(Wt&&Wt.window)&&Ut||Bt||Wt||Function("return this")(),Kt={internals:{},config:{Promise:Yt.Promise},helpers:{}},Gt=Kt.helpers.noop=function(){},Xt=Kt.helpers.identity=function(t){return t},Zt=Kt.helpers.defaultNow=Date.now,Qt=Kt.helpers.defaultComparer=function(t,e){return Je(t,e)},Jt=Kt.helpers.defaultSubComparer=function(t,e){return t>e?1:t<e?-1:0},te=(Kt.helpers.defaultKeySerializer=function(t){return t.toString()},Kt.helpers.defaultError=function(t){throw t}),ee=Kt.helpers.isPromise=function(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then},ne=Kt.helpers.isFunction=function(){var t=function(t){return"function"==typeof t||!1};return t(/x/)&&(t=function(t){return"function"==typeof t&&"[object Function]"==toString.call(t)}),t}(),re={e:{}},ie=Kt.internals.tryCatch=function(t){if(!ne(t))throw new TypeError("fn must be a function");return u(t)};Kt.config.longStackSupport=!1;var oe=!1,ae=ie(function(){throw new Error})();oe=!!ae.e&&!!ae.e.stack;var se,ce=f(),ue="From previous event:",le=Kt.EmptyError=function(){this.message="Sequence contains no elements.",Error.call(this)};le.prototype=Object.create(Error.prototype),le.prototype.name="EmptyError";var de=Kt.ObjectDisposedError=function(){this.message="Object has been disposed",Error.call(this)};de.prototype=Object.create(Error.prototype),de.prototype.name="ObjectDisposedError";var he=Kt.ArgumentOutOfRangeError=function(){this.message="Argument out of range",Error.call(this)};he.prototype=Object.create(Error.prototype),he.prototype.name="ArgumentOutOfRangeError";var pe=Kt.NotSupportedError=function(t){this.message=t||"This operation is not supported",Error.call(this)};pe.prototype=Object.create(Error.prototype),pe.prototype.name="NotSupportedError";var me=Kt.NotImplementedError=function(t){this.message=t||"This operation is not implemented",Error.call(this)};me.prototype=Object.create(Error.prototype),me.prototype.name="NotImplementedError";var fe=Kt.helpers.notImplemented=function(){throw new me},ve=(Kt.helpers.notSupported=function(){throw new pe},"function"==typeof Symbol&&Symbol.iterator||"_es6shim_iterator_");Yt.Set&&"function"==typeof(new Yt.Set)["@@iterator"]&&(ve="@@iterator");var ge=Kt.doneEnumerator={done:!0,value:a},be=Kt.helpers.isIterable=function(t){return t&&t[ve]!==a},$e=Kt.helpers.isArrayLike=function(t){return t&&t.length!==a};Kt.helpers.iterator=ve;var ye=Kt.internals.bindCallback=function(t,e,n){if("undefined"==typeof e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}},Ee=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],we=(Ee.length,"[object Arguments]"),Ce="[object Array]",_e="[object Boolean]",xe="[object Date]",Me="[object Error]",Ae="[object Function]",Te="[object Map]",ke="[object Number]",Se="[object Object]",Ne="[object RegExp]",De="[object Set]",Oe="[object String]",Ie="[object WeakMap]",He="[object ArrayBuffer]",Pe="[object Float32Array]",Re="[object Float64Array]",Le="[object Int8Array]",Fe="[object Int16Array]",je="[object Int32Array]",qe="[object Uint8Array]",Ve="[object Uint8ClampedArray]",Be="[object Uint16Array]",Ue="[object Uint32Array]",ze={};ze[Pe]=ze[Re]=ze[Le]=ze[Fe]=ze[je]=ze[qe]=ze[Ve]=ze[Be]=ze[Ue]=!0,ze[we]=ze[Ce]=ze[He]=ze[_e]=ze[xe]=ze[Me]=ze[Ae]=ze[Te]=ze[ke]=ze[Se]=ze[Ne]=ze[De]=ze[Oe]=ze[Ie]=!1;var We=Object.prototype,Ye=We.hasOwnProperty,Ke=We.toString,Ge=Math.pow(2,53)-1,Xe=Object.keys||function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError("Object.keys called on non-object");var o,a,s=[];for(o in i)t.call(i,o)&&s.push(o);if(e)for(a=0;a<r;a++)t.call(i,n[a])&&s.push(n[a]);return s}}(),st=Kt.internals.isObject=function(t){var e=typeof t;return!!t&&("object"===e||"function"===e)},Ze=function(){try{Object({toString:0}+"")}catch(t){return function(){return!1}}return function(t){return"function"!=typeof t.toString&&"string"==typeof(t+"")}}(),Qe=Array.isArray||function(t){return $(t)&&y(t.length)&&Ke.call(t)===Ce},Je=Kt.internals.isEqual=function(t,e){return x(t,e)},tn=({}.hasOwnProperty,Array.prototype.slice,Kt.internals.inherits=function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}),en=Kt.internals.addProperties=function(t){for(var e=[],n=1,r=arguments.length;n<r;n++)e.push(arguments[n]);for(var i=0,o=e.length;i<o;i++){var a=e[i];for(var s in a)t[s]=a[s]}},nn=Kt.internals.addRef=function(t,e){return new Sa(function(n){return new vn(e.getDisposable(),t.subscribe(n))})};A.prototype.compareTo=function(t){var e=this.value.compareTo(t.value);return 0===e&&(e=this.id-t.id),e};var rn=Kt.internals.PriorityQueue=function(t){this.items=new Array(t),this.length=0},on=rn.prototype;on.isHigherPriority=function(t,e){return this.items[t].compareTo(this.items[e])<0},on.percolate=function(t){if(!(t>=this.length||t<0)){var e=t-1>>1;if(!(e<0||e===t)&&this.isHigherPriority(t,e)){var n=this.items[t];this.items[t]=this.items[e],this.items[e]=n,this.percolate(e)}}},on.heapify=function(t){if(+t||(t=0),!(t>=this.length||t<0)){var e=2*t+1,n=2*t+2,r=t;if(e<this.length&&this.isHigherPriority(e,r)&&(r=e),n<this.length&&this.isHigherPriority(n,r)&&(r=n),r!==t){var i=this.items[t];this.items[t]=this.items[r],this.items[r]=i,this.heapify(r)}}},on.peek=function(){return this.items[0].value},on.removeAt=function(t){this.items[t]=this.items[--this.length],this.items[this.length]=a,this.heapify()},on.dequeue=function(){var t=this.peek();return this.removeAt(0),t},on.enqueue=function(t){var e=this.length++;this.items[e]=new A(rn.count++,t),this.percolate(e)},on.remove=function(t){for(var e=0;e<this.length;e++)if(this.items[e].value===t)return this.removeAt(e),!0;return!1},rn.count=0;var an=Kt.CompositeDisposable=function(){var t,e,n=[];if(Array.isArray(arguments[0]))n=arguments[0];else for(e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];this.disposables=n,this.isDisposed=!1,this.length=n.length},sn=an.prototype;sn.add=function(t){this.isDisposed?t.dispose():(this.disposables.push(t),this.length++)},sn.remove=function(t){var e=!1;if(!this.isDisposed){var n=this.disposables.indexOf(t);n!==-1&&(e=!0,this.disposables.splice(n,1),this.length--,t.dispose())}return e},sn.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var t=this.disposables.length,e=new Array(t),n=0;n<t;n++)e[n]=this.disposables[n];for(this.disposables=[],this.length=0,n=0;n<t;n++)e[n].dispose()}};var cn=Kt.Disposable=function(t){this.isDisposed=!1,this.action=t||Gt};cn.prototype.dispose=function(){this.isDisposed||(this.action(),this.isDisposed=!0)};var un=cn.create=function(t){return new cn(t)},ln=cn.empty={dispose:Gt},dn=cn.isDisposable=function(t){return t&&ne(t.dispose)},hn=cn.checkDisposed=function(t){if(t.isDisposed)throw new de},pn=cn._fixup=function(t){return dn(t)?t:ln},mn=Kt.SingleAssignmentDisposable=function(){this.isDisposed=!1,this.current=null};mn.prototype.getDisposable=function(){return this.current},mn.prototype.setDisposable=function(t){if(this.current)throw new Error("Disposable has already been assigned");var e=this.isDisposed;!e&&(this.current=t),e&&t&&t.dispose()},mn.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var t=this.current;this.current=null,t&&t.dispose()}};var fn=Kt.SerialDisposable=function(){this.isDisposed=!1,this.current=null};fn.prototype.getDisposable=function(){return this.current},fn.prototype.setDisposable=function(t){var e=this.isDisposed;if(!e){var n=this.current;this.current=t}n&&n.dispose(),e&&t&&t.dispose()},fn.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var t=this.current;this.current=null}t&&t.dispose()};var vn=Kt.BinaryDisposable=function(t,e){this._first=t,this._second=e,this.isDisposed=!1};vn.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var t=this._first;this._first=null,t&&t.dispose();var e=this._second;this._second=null,e&&e.dispose()}};var gn=Kt.NAryDisposable=function(t){this._disposables=t,this.isDisposed=!1};gn.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;for(var t=0,e=this._disposables.length;t<e;t++)this._disposables[t].dispose();this._disposables.length=0}};var bn=Kt.RefCountDisposable=function(){function t(t){this.disposable=t,this.disposable.count++,this.isInnerDisposed=!1}function e(t){this.underlyingDisposable=t,this.isDisposed=!1,this.isPrimaryDisposed=!1,this.count=0}return t.prototype.dispose=function(){this.disposable.isDisposed||this.isInnerDisposed||(this.isInnerDisposed=!0,this.disposable.count--,0===this.disposable.count&&this.disposable.isPrimaryDisposed&&(this.disposable.isDisposed=!0,this.disposable.underlyingDisposable.dispose()))},e.prototype.dispose=function(){this.isDisposed||this.isPrimaryDisposed||(this.isPrimaryDisposed=!0,0===this.count&&(this.isDisposed=!0,this.underlyingDisposable.dispose()))},e.prototype.getDisposable=function(){return this.isDisposed?ln:new t(this)},e}();T.prototype.dispose=function(){this.scheduler.schedule(this,k)};var $n=Kt.internals.ScheduledItem=function(t,e,n,r,i){this.scheduler=t,this.state=e,this.action=n,this.dueTime=r,this.comparer=i||Jt,this.disposable=new mn};$n.prototype.invoke=function(){this.disposable.setDisposable(this.invokeCore())},$n.prototype.compareTo=function(t){return this.comparer(this.dueTime,t.dueTime)},$n.prototype.isCancelled=function(){return this.disposable.isDisposed},$n.prototype.invokeCore=function(){return pn(this.action(this.scheduler,this.state))};var yn=Kt.Scheduler=function(){function t(){}t.isScheduler=function(e){return e instanceof t};var e=t.prototype;return e.schedule=function(t,e){throw new me},e.scheduleFuture=function(e,n,r){var i=n;return i instanceof Date&&(i-=this.now()),i=t.normalize(i),0===i?this.schedule(e,r):this._scheduleFuture(e,i,r)},e._scheduleFuture=function(t,e,n){throw new me},t.now=Zt,t.prototype.now=Zt,t.normalize=function(t){return t<0&&(t=0),t},t}(),En=yn.normalize,wn=yn.isScheduler;!function(t){function e(t,e){function n(e){function r(t,e){return a?o.remove(c):s=!0,i(e,n),ln}var a=!1,s=!1,c=t.schedule(e,r);s||(o.add(c),a=!0)}var r=e[0],i=e[1],o=new an;return i(r,n),o}function n(t,e){function n(e,r){function a(t,e){return s?o.remove(u):c=!0,i(e,n),ln}var s=!1,c=!1,u=t.scheduleFuture(e,r,a);c||(o.add(u),s=!0)}var r=e[0],i=e[1],o=new an;return i(r,n),o}t.scheduleRecursive=function(t,n){return this.schedule([t,n],e)},t.scheduleRecursiveFuture=function(t,e,r){return this.scheduleFuture([t,r],e,n)}}(yn.prototype),function(t){t.schedulePeriodic=function(t,e,n){if("undefined"==typeof Yt.setInterval)throw new pe;e=En(e);var r=t,i=Yt.setInterval(function(){r=n(r)},e);return un(function(){Yt.clearInterval(i)})}}(yn.prototype),function(t){t.catchError=t.catch=function(t){return new Hn(this,t)}}(yn.prototype);var Cn,_n,xn=Kt.internals.SchedulePeriodicRecursive=function(){function t(t){return function(e,n){n(0,t._period);var r=ie(t._action)(t._state);r===re&&(t._cancel.dispose(),l(r.e)),t._state=r}}function e(t,e,n,r){this._scheduler=t,this._state=e,this._period=n,this._action=r}return e.prototype.start=function(){var e=new mn;return this._cancel=e,e.setDisposable(this._scheduler.scheduleRecursiveFuture(0,this._period,t(this))),e},e}(),Mn=function(t){function e(){t.call(this)}return tn(e,t),e.prototype.schedule=function(t,e){return pn(e(this,t))},e}(yn),An=yn.immediate=new Mn,Tn=function(t){function e(){for(;r.length>0;){var t=r.dequeue();!t.isCancelled()&&t.invoke()}}function n(){t.call(this)}var r;return tn(n,t),n.prototype.schedule=function(t,n){var i=new $n(this,t,n,this.now());if(r)r.enqueue(i);else{r=new rn(4),r.enqueue(i);var o=ie(e)();r=null,o===re&&l(o.e)}return i.disposable},n.prototype.scheduleRequired=function(){return!r},n}(yn),kn=yn.currentThread=new Tn,Sn=function(){var t,e=Gt;if(Yt.setTimeout)t=Yt.setTimeout,e=Yt.clearTimeout;else{if(!Yt.WScript)throw new pe;t=function(t,e){Yt.WScript.Sleep(e),t()}}return{setTimeout:t,clearTimeout:e}}(),Nn=Sn.setTimeout,Dn=Sn.clearTimeout;!function(){function t(e){if(i)Nn(function(){t(e)},0);else{var n=r[e];if(n){i=!0;var o=ie(n)();_n(e),i=!1,o===re&&l(o.e)}}}function e(){if(!Yt.postMessage||Yt.importScripts)return!1;var t=!1,e=Yt.onmessage;return Yt.onmessage=function(){t=!0},Yt.postMessage("","*"),Yt.onmessage=e,t}var n=1,r={},i=!1;_n=function(t){delete r[t]};var a=new RegExp("^"+String(toString).replace(/[.*+?^${}()|[\]\\]/g,"\\$&").replace(/toString| for [^\]]+/g,".*?")+"$"),s="function"==typeof(s=Vt&&zt&&Vt.setImmediate)&&!a.test(s)&&s;if(ne(s))Cn=function(e){var i=n++;return r[i]=e,s(function(){t(i)}),i};else if("undefined"!=typeof o&&"[object process]"==={}.toString.call(o))Cn=function(e){var i=n++;return r[i]=e,o.nextTick(function(){t(i)}),i};else if(e()){var c="ms.rx.schedule"+Math.random(),u=function(e){"string"==typeof e.data&&e.data.substring(0,c.length)===c&&t(e.data.substring(c.length))};Yt.addEventListener("message",u,!1),Cn=function(t){var e=n++;return r[e]=t,Yt.postMessage(c+e,"*"),e}}else if(Yt.MessageChannel){var d=new Yt.MessageChannel;d.port1.onmessage=function(e){t(e.data)},Cn=function(t){var e=n++;return r[e]=t,d.port2.postMessage(e),e}}else Cn="document"in Yt&&"onreadystatechange"in Yt.document.createElement("script")?function(e){var i=Yt.document.createElement("script"),o=n++;return r[o]=e,i.onreadystatechange=function(){t(o),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},Yt.document.documentElement.appendChild(i),o}:function(e){var i=n++;return r[i]=e,Nn(function(){t(i)},0),i}}();var On=function(t){function e(){t.call(this)}function n(t,e,n,r){return function(){t.setDisposable(cn._fixup(e(n,r)))}}function r(t){this._id=t,this.isDisposed=!1}function i(t){this._id=t,this.isDisposed=!1}function o(t,e,n){return function(){e(t,n)}}return tn(e,t),r.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,_n(this._id))},i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,Dn(this._id))},e.prototype.schedule=function(t,e){var i=new mn,o=Cn(n(i,e,this,t));return new vn(i,new r(o))},e.prototype._scheduleFuture=function(t,e,r){if(0===e)return this.schedule(t,r);var o=new mn,a=Nn(n(o,r,this,t),e);return new vn(o,new i(a))},e.prototype.scheduleLongRunning=function(t,e){var n=un(Gt);return Cn(o(t,e,n)),n},e}(yn),In=yn.default=yn.async=new On,Hn=function(t){function e(e,n){this._scheduler=e,this._handler=n,this._recursiveOriginal=null,this._recursiveWrapper=null,t.call(this)}return tn(e,t),e.prototype.schedule=function(t,e){return this._scheduler.schedule(t,this._wrap(e))},e.prototype._scheduleFuture=function(t,e,n){return this._scheduler.schedule(t,e,this._wrap(n))},e.prototype.now=function(){return this._scheduler.now()},e.prototype._clone=function(t){return new e(t,this._handler)},e.prototype._wrap=function(t){var e=this;return function(n,r){var i=ie(t)(e._getRecursiveWrapper(n),r);return i===re?(e._handler(i.e)||l(i.e),ln):pn(i)}},e.prototype._getRecursiveWrapper=function(t){if(this._recursiveOriginal!==t){this._recursiveOriginal=t;var e=this._clone(t);e._recursiveOriginal=t,e._recursiveWrapper=e,this._recursiveWrapper=e}return this._recursiveWrapper},e.prototype.schedulePeriodic=function(t,e,n){var r=this,i=!1,o=new mn;return o.setDisposable(this._scheduler.schedulePeriodic(t,e,function(t){if(i)return null;var e=ie(n)(t);return e===re?(i=!0,r._handler(e.e)||l(e.e),o.dispose(),null):e})),o},e}(yn),Pn=Kt.Notification=function(){function t(){}return t.prototype._accept=function(t,e,n){throw new me},t.prototype._acceptObserver=function(t,e,n){throw new me},t.prototype.accept=function(t,e,n){return t&&"object"==typeof t?this._acceptObserver(t):this._accept(t,e,n)},t.prototype.toObservable=function(t){var e=this;return wn(t)||(t=An),new Sa(function(n){return t.schedule(e,function(t,e){e._acceptObserver(n),"N"===e.kind&&n.onCompleted()})})},t}(),Rn=function(t){function e(t){this.value=t,this.kind="N"}return tn(e,t),e.prototype._accept=function(t){return t(this.value)},e.prototype._acceptObserver=function(t){return t.onNext(this.value)},e.prototype.toString=function(){return"OnNext("+this.value+")"},e}(Pn),Ln=function(t){function e(t){this.error=t,this.kind="E"}return tn(e,t),e.prototype._accept=function(t,e){return e(this.error)},e.prototype._acceptObserver=function(t){return t.onError(this.error)},e.prototype.toString=function(){return"OnError("+this.error+")"},e}(Pn),Fn=function(t){function e(){this.kind="C"}return tn(e,t),e.prototype._accept=function(t,e,n){return n()},e.prototype._acceptObserver=function(t){return t.onCompleted()},e.prototype.toString=function(){return"OnCompleted()"},e}(Pn),jn=Pn.createOnNext=function(t){return new Rn(t)},qn=Pn.createOnError=function(t){return new Ln(t)},Vn=Pn.createOnCompleted=function(){
return new Fn},Bn=Kt.Observer=function(){};Bn.prototype.toNotifier=function(){var t=this;return function(e){return e.accept(t)}},Bn.prototype.asObserver=function(){var t=this;return new Yn(function(e){t.onNext(e)},function(e){t.onError(e)},function(){t.onCompleted()})},Bn.prototype.checked=function(){return new Kn(this)};var Un=Bn.create=function(t,e,n){return t||(t=Gt),e||(e=te),n||(n=Gt),new Yn(t,e,n)};Bn.fromNotifier=function(t,e){var n=ye(t,e,1);return new Yn(function(t){return n(jn(t))},function(t){return n(qn(t))},function(){return n(Vn())})},Bn.prototype.notifyOn=function(t){return new Xn(t,this)},Bn.prototype.makeSafe=function(t){return new AnonymousSafeObserver(this._onNext,this._onError,this._onCompleted,t)};var zn,Wn=Kt.internals.AbstractObserver=function(t){function e(){this.isStopped=!1}return tn(e,t),e.prototype.next=fe,e.prototype.error=fe,e.prototype.completed=fe,e.prototype.onNext=function(t){!this.isStopped&&this.next(t)},e.prototype.onError=function(t){this.isStopped||(this.isStopped=!0,this.error(t))},e.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.completed())},e.prototype.dispose=function(){this.isStopped=!0},e.prototype.fail=function(t){return!this.isStopped&&(this.isStopped=!0,this.error(t),!0)},e}(Bn),Yn=Kt.AnonymousObserver=function(t){function e(e,n,r){t.call(this),this._onNext=e,this._onError=n,this._onCompleted=r}return tn(e,t),e.prototype.next=function(t){this._onNext(t)},e.prototype.error=function(t){this._onError(t)},e.prototype.completed=function(){this._onCompleted()},e}(Wn),Kn=function(t){function e(e){t.call(this),this._observer=e,this._state=0}tn(e,t);var n=e.prototype;return n.onNext=function(t){this.checkAccess();var e=ie(this._observer.onNext).call(this._observer,t);this._state=0,e===re&&l(e.e)},n.onError=function(t){this.checkAccess();var e=ie(this._observer.onError).call(this._observer,t);this._state=2,e===re&&l(e.e)},n.onCompleted=function(){this.checkAccess();var t=ie(this._observer.onCompleted).call(this._observer);this._state=2,t===re&&l(t.e)},n.checkAccess=function(){if(1===this._state)throw new Error("Re-entrancy detected");if(2===this._state)throw new Error("Observer completed");0===this._state&&(this._state=1)},e}(Bn),Gn=Kt.internals.ScheduledObserver=function(t){function e(e,n){t.call(this),this.scheduler=e,this.observer=n,this.isAcquired=!1,this.hasFaulted=!1,this.queue=[],this.disposable=new fn}function n(t,e){return function(){t.onNext(e)}}function r(t,e){return function(){t.onError(e)}}function i(t){return function(){t.onCompleted()}}function o(t,e){var n;if(!(t.queue.length>0))return void(t.isAcquired=!1);n=t.queue.shift();var r=ie(n)();return r===re?(t.queue=[],t.hasFaulted=!0,l(r.e)):void e(t)}return tn(e,t),e.prototype.next=function(t){this.queue.push(n(this.observer,t))},e.prototype.error=function(t){this.queue.push(r(this.observer,t))},e.prototype.completed=function(){this.queue.push(i(this.observer))},e.prototype.ensureActive=function(){var t=!1;!this.hasFaulted&&this.queue.length>0&&(t=!this.isAcquired,this.isAcquired=!0),t&&this.disposable.setDisposable(this.scheduler.scheduleRecursive(this,o))},e.prototype.dispose=function(){t.prototype.dispose.call(this),this.disposable.dispose()},e}(Wn),Xn=function(t){function e(e,n,r){t.call(this,e,n),this._cancel=r}return tn(e,t),e.prototype.next=function(e){t.prototype.next.call(this,e),this.ensureActive()},e.prototype.error=function(e){t.prototype.error.call(this,e),this.ensureActive()},e.prototype.completed=function(){t.prototype.completed.call(this),this.ensureActive()},e.prototype.dispose=function(){t.prototype.dispose.call(this),this._cancel&&this._cancel.dispose(),this._cancel=null},e}(Gn),Zn=Kt.Observable=function(){function t(t,e){return function(n){var r=n.onError;return n.onError=function(e){d(e,t),r.call(n,e)},e.call(t,n)}}function e(){if(Kt.config.longStackSupport&&oe){var e=this._subscribe,n=ie(l)(new Error).e;this.stack=n.stack.substring(n.stack.indexOf("\n")+1),this._subscribe=t(this,e)}}return zn=e.prototype,e.isObservable=function(t){return t&&ne(t.subscribe)},zn.subscribe=zn.forEach=function(t,e,n){return this._subscribe("object"==typeof t?t:Un(t,e,n))},zn.subscribeOnNext=function(t,e){return this._subscribe(Un("undefined"!=typeof e?function(n){t.call(e,n)}:t))},zn.subscribeOnError=function(t,e){return this._subscribe(Un(null,"undefined"!=typeof e?function(n){t.call(e,n)}:t))},zn.subscribeOnCompleted=function(t,e){return this._subscribe(Un(null,null,"undefined"!=typeof e?function(){t.call(e)}:t))},e}(),Qn=Kt.ObservableBase=function(t){function e(t){return t&&ne(t.dispose)?t:ne(t)?un(t):ln}function n(t,n){var r=n[0],i=n[1],o=ie(i.subscribeCore).call(i,r);o!==re||r.fail(re.e)||l(re.e),r.setDisposable(e(o))}function r(){t.call(this)}return tn(r,t),r.prototype._subscribe=function(t){var e=new Na(t),r=[e,this];return kn.scheduleRequired()?kn.schedule(r,n):n(null,r),e},r.prototype.subscribeCore=fe,r}(Zn),Jn=Kt.FlatMapObservable=function(t){function e(e,n,r,i){this.resultSelector=ne(r)?r:null,this.selector=ye(ne(n)?n:function(){return n},i,3),this.source=e,t.call(this)}function n(t,e,n,r){this.i=0,this.selector=e,this.resultSelector=n,this.source=r,this.o=t,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t,this.selector,this.resultSelector,this))},tn(n,Wn),n.prototype._wrapResult=function(t,e,n){return this.resultSelector?t.map(function(t,r){return this.resultSelector(e,t,n,r)},this):t},n.prototype.next=function(t){var e=this.i++,n=ie(this.selector)(t,e,this.source);return n===re?this.o.onError(n.e):(ee(n)&&(n=lr(n)),($e(n)||be(n))&&(n=Zn.from(n)),void this.o.onNext(this._wrapResult(n,t,e)))},n.prototype.error=function(t){this.o.onError(t)},n.prototype.completed=function(){this.o.onCompleted()},e}(Qn),tr=Kt.internals.Enumerable=function(){};S.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.isDisposed=!0)};var er=function(t){function e(e){this.sources=e,t.call(this)}function n(t,e){if(!t.isDisposed){var n=ie(t.e.next).call(t.e);if(n===re)return t.o.onError(n.e);if(n.done)return t.o.onCompleted();var i=n.value;ee(i)&&(i=lr(i));var o=new mn;t.subscription.setDisposable(o),o.setDisposable(i.subscribe(new r(t,e)))}}function r(t,e){this._state=t,this._recurse=e,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn,r={isDisposed:!1,o:t,subscription:e,e:this.sources[ve]()},i=kn.scheduleRecursive(r,n);return new gn([e,i,new S(r)])},tn(r,Wn),r.prototype.next=function(t){this._state.o.onNext(t)},r.prototype.error=function(t){this._state.o.onError(t)},r.prototype.completed=function(){this._recurse(this._state)},e}(Qn);tr.prototype.concat=function(){return new er(this)};var nr=function(t){function e(e){this.sources=e,t.call(this)}function n(t,e){if(!t.isDisposed){var n=ie(t.e.next).call(t.e);if(n===re)return t.o.onError(n.e);if(n.done)return null!==t.lastError?t.o.onError(t.lastError):t.o.onCompleted();var i=n.value;ee(i)&&(i=lr(i));var o=new mn;t.subscription.setDisposable(o),o.setDisposable(i.subscribe(new r(t,e)))}}function r(t,e){this._state=t,this._recurse=e,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn,r={isDisposed:!1,e:this.sources[ve](),subscription:e,lastError:null,o:t},i=kn.scheduleRecursive(r,n);return new gn([e,i,new S(r)])},tn(r,Wn),r.prototype.next=function(t){this._state.o.onNext(t)},r.prototype.error=function(t){this._state.lastError=t,this._recurse(this._state)},r.prototype.completed=function(){this._state.o.onCompleted()},e}(Qn);tr.prototype.catchError=function(){return new nr(this)};var rr=function(t){function e(t,e){this.v=t,this.c=null==e?-1:e}function n(t){this.v=t.v,this.l=t.c}return tn(e,t),e.prototype[ve]=function(){return new n(this)},n.prototype.next=function(){return 0===this.l?ge:(this.l>0&&this.l--,{done:!1,value:this.v})},e}(tr),ir=tr.repeat=function(t,e){return new rr(t,e)},or=function(t){function e(t,e,n){this.s=t,this.fn=e?ye(e,n,3):null}function n(t){this.i=-1,this.s=t.s,this.l=this.s.length,this.fn=t.fn}return tn(e,t),e.prototype[ve]=function(){return new n(this)},n.prototype.next=function(){return++this.i<this.l?{done:!1,value:this.fn?this.fn(this.s[this.i],this.i,this.s):this.s[this.i]}:ge},e}(tr),ar=tr.of=function(t,e,n){return new or(t,e,n)},sr=function(t){function e(e,n){this.source=e,this._s=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Xn(this._s,t))},e}(Qn);zn.observeOn=function(t){return new sr(this,t)};var cr=function(t){function e(e,n){this.source=e,this._s=n,t.call(this)}function n(t,e){var n=e[0],r=e[1],i=e[2];r.setDisposable(new T(t,n.subscribe(i)))}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new mn,r=new fn;return r.setDisposable(e),e.setDisposable(this._s.schedule([this.source,r,t],n)),r},e}(Qn);zn.subscribeOn=function(t){return new cr(this,t)};var ur=function(t){function e(e,n){this._p=e,this._s=n,t.call(this)}function n(t,e){var n=e[0],r=e[1];n.onNext(r),n.onCompleted()}function r(t,e){var n=e[0],r=e[1];n.onError(r)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new mn,i=this,o=this._p;return ne(o)&&(o=ie(o)(),o===re)?(t.onError(o.e),e):(o.then(function(r){e.setDisposable(i._s.schedule([t,r],n))},function(n){e.setDisposable(i._s.schedule([t,n],r))}),e)},e}(Qn),lr=Zn.fromPromise=function(t,e){return e||(e=In),new ur(t,e)};zn.toPromise=function(t){if(t||(t=Kt.config.Promise),!t)throw new pe("Promise type not provided nor in Rx.config.Promise");var e=this;return new t(function(t,n){var r;e.subscribe(function(t){r=t},n,function(){t(r)})})};var dr=function(t){function e(e){this.source=e,t.call(this)}function n(t){this.o=t,this.a=[],Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t))},tn(n,Wn),n.prototype.next=function(t){this.a.push(t)},n.prototype.error=function(t){this.o.onError(t)},n.prototype.completed=function(){this.o.onNext(this.a),this.o.onCompleted()},e}(Qn);zn.toArray=function(){return new dr(this)},Zn.create=function(t,e){return new Sa(t,e)};var hr=function(t){function e(e){this._f=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=ie(this._f)();return e===re?Nr(e.e).subscribe(t):(ee(e)&&(e=lr(e)),e.subscribe(t))},e}(Qn),pr=Zn.defer=function(t){return new hr(t)},mr=function(t){function e(e){this.scheduler=e,t.call(this)}function n(t,e){this.observer=t,this.scheduler=e}function r(t,e){return e.onCompleted(),ln}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new n(t,this.scheduler);return e.run()},n.prototype.run=function(){var t=this.observer;return this.scheduler===An?r(null,t):this.scheduler.schedule(t,r)},e}(Qn),fr=new mr(An),vr=Zn.empty=function(t){return wn(t)||(t=An),t===An?fr:new mr(t)},gr=function(t){function e(e,n,r){this._iterable=e,this._fn=n,this._scheduler=r,t.call(this)}function n(t,e,n){return function(r,i){var o=ie(e.next).call(e);if(o===re)return t.onError(o.e);if(o.done)return t.onCompleted();var a=o.value;return ne(n)&&(a=ie(n)(a,r),a===re)?t.onError(a.e):(t.onNext(a),void i(r+1))}}return tn(e,t),e.prototype.subscribeCore=function(t){var e=Object(this._iterable),r=P(e);return this._scheduler.scheduleRecursive(0,n(t,r,this._fn))},e}(Qn),br=Math.pow(2,53)-1;N.prototype[ve]=function(){return new D(this._s)},D.prototype[ve]=function(){return this},D.prototype.next=function(){return this._i<this._l?{done:!1,value:this._s.charAt(this._i++)}:ge},O.prototype[ve]=function(){return new I(this._a)},I.prototype[ve]=function(){return this},I.prototype.next=function(){return this._i<this._l?{done:!1,value:this._a[this._i++]}:ge};var $r=Zn.from=function(t,e,n,r){if(null==t)throw new Error("iterable cannot be null.");if(e&&!ne(e))throw new Error("mapFn when provided must be a function");if(e)var i=ye(e,n,2);return wn(r)||(r=kn),new gr(t,i,r)},yr=function(t){function e(e,n){this._args=e,this._scheduler=n,t.call(this)}function n(t,e){var n=e.length;return function(r,i){r<n?(t.onNext(e[r]),i(r+1)):t.onCompleted()}}return tn(e,t),e.prototype.subscribeCore=function(t){return this._scheduler.scheduleRecursive(0,n(t,this._args))},e}(Qn),Er=Zn.fromArray=function(t,e){return wn(e)||(e=kn),new yr(t,e)},wr=function(t){function e(e,n,r,i,o){this._initialState=e,this._cndFn=n,this._itrFn=r,this._resFn=i,this._s=o,t.call(this)}function n(t,e){if(t.first)t.first=!1;else if(t.newState=ie(t.self._itrFn)(t.newState),t.newState===re)return t.o.onError(t.newState.e);var n=ie(t.self._cndFn)(t.newState);if(n===re)return t.o.onError(n.e);if(n){var r=ie(t.self._resFn)(t.newState);if(r===re)return t.o.onError(r.e);t.o.onNext(r),e(t)}else t.o.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){var e={o:t,self:this,first:!0,newState:this._initialState};return this._s.scheduleRecursive(e,n)},e}(Qn);Zn.generate=function(t,e,n,r,i){return wn(i)||(i=kn),new wr(t,e,n,r,i)},Zn.of=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return new yr(e,kn)},Zn.ofWithScheduler=function(t){for(var e=arguments.length,n=new Array(e-1),r=1;r<e;r++)n[r-1]=arguments[r];return new yr(n,t)},Zn.ofArrayChanges=function(t){if(!Array.isArray(t))throw new TypeError("Array.observe only accepts arrays.");if("function"!=typeof Array.observe&&"function"!=typeof Array.unobserve)throw new TypeError("Array.observe is not supported on your platform");return new Sa(function(e){function n(t){for(var n=0,r=t.length;n<r;n++)e.onNext(t[n])}return Array.observe(t,n),function(){Array.unobserve(t,n)}})},Zn.ofObjectChanges=function(t){if(null==t)throw new TypeError("object must not be null or undefined.");if("function"!=typeof Object.observe&&"function"!=typeof Object.unobserve)throw new TypeError("Object.observe is not supported on your platform");return new Sa(function(e){function n(t){for(var n=0,r=t.length;n<r;n++)e.onNext(t[n])}return Object.observe(t,n),function(){Object.unobserve(t,n)}})};var Cr=function(t){function e(){t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return ln},e}(Qn),_r=new Cr,xr=Zn.never=function(){return _r},Mr=function(t){function e(e,n){this._o=e,this._keys=Object.keys(e),this._scheduler=n,t.call(this)}function n(t,e,n){return function(r,i){if(r<n.length){var o=n[r];t.onNext([o,e[o]]),i(r+1)}else t.onCompleted()}}return tn(e,t),e.prototype.subscribeCore=function(t){return this._scheduler.scheduleRecursive(0,n(t,this._o,this._keys))},e}(Qn);Zn.pairs=function(t,e){return e||(e=kn),new Mr(t,e)};var Ar=function(t){function e(e,n,r){this.start=e,this.rangeCount=n,this.scheduler=r,t.call(this)}function n(t,e,n){return function(r,i){r<e?(n.onNext(t+r),i(r+1)):n.onCompleted()}}return tn(e,t),e.prototype.subscribeCore=function(t){return this.scheduler.scheduleRecursive(0,n(this.start,this.rangeCount,t))},e}(Qn);Zn.range=function(t,e,n){return wn(n)||(n=kn),new Ar(t,e,n)};var Tr=function(t){function e(e,n,r){this.value=e,this.repeatCount=null==n?-1:n,this.scheduler=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new j(t,this);return e.run()},e}(Qn);j.prototype.run=function(){function t(t,r){return(t===-1||t>0)&&(e.onNext(n),t>0&&t--),0===t?e.onCompleted():void r(t)}var e=this.observer,n=this.parent.value;return this.parent.scheduler.scheduleRecursive(this.parent.repeatCount,t)},Zn.repeat=function(t,e,n){return wn(n)||(n=kn),new Tr(t,e,n)};var kr=function(t){function e(e,n){this._value=e,this._scheduler=n,t.call(this)}function n(t,e){var n=e[0],r=e[1];return r.onNext(n),r.onCompleted(),ln}return tn(e,t),e.prototype.subscribeCore=function(t){var e=[this._value,t];return this._scheduler===An?n(null,e):this._scheduler.schedule(e,n)},e}(Qn),Sr=(Zn.return=Zn.just=function(t,e){return wn(e)||(e=An),new kr(t,e)},function(t){function e(e,n){this._error=e,this._scheduler=n,t.call(this)}function n(t,e){var n=e[0],r=e[1];return r.onError(n),ln}return tn(e,t),e.prototype.subscribeCore=function(t){var e=[this._error,t];return this._scheduler===An?n(null,e):this._scheduler.schedule(e,n)},e}(Qn)),Nr=Zn.throw=function(t,e){return wn(e)||(e=An),new Sr(t,e)},Dr=function(t){function e(e,n){this._resFn=e,this._obsFn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=ln,n=ie(this._resFn)();if(n===re)return new vn(Nr(n.e).subscribe(t),e);n&&(e=n);var r=ie(this._obsFn)(n);return r===re?new vn(Nr(r.e).subscribe(t),e):new vn(r.subscribe(t),e)},e}(Qn);Zn.using=function(t,e){return new Dr(t,e)},zn.amb=function(t){var e=this;return new Sa(function(n){function r(){o||(o=a,u.dispose())}function i(){o||(o=s,c.dispose())}var o,a="L",s="R",c=new mn,u=new mn;ee(t)&&(t=lr(t));var l=Un(function(t){r(),o===a&&n.onNext(t)},function(t){r(),o===a&&n.onError(t)},function(){r(),o===a&&n.onCompleted()}),d=Un(function(t){i(),o===s&&n.onNext(t)},function(t){i(),o===s&&n.onError(t)},function(){i(),o===s&&n.onCompleted()});return c.setDisposable(e.subscribe(l)),u.setDisposable(t.subscribe(d)),new vn(c,u)})},Zn.amb=function(){var t,e=xr();if(Array.isArray(arguments[0]))t=arguments[0];else{var n=arguments.length;t=new Array(t);for(var r=0;r<n;r++)t[r]=arguments[r]}for(var r=0,n=t.length;r<n;r++)e=q(e,t[r]);return e};var Or=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new mn,n=new fn;return n.setDisposable(e),e.setDisposable(this.source.subscribe(new Ir(t,n,this._fn))),n},e}(Qn),Ir=function(t){function e(e,n,r){this._o=e,this._s=n,this._fn=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._o.onNext(t)},e.prototype.completed=function(){return this._o.onCompleted()},e.prototype.error=function(t){var e=ie(this._fn)(t);if(e===re)return this._o.onError(e.e);ee(e)&&(e=lr(e));var n=new mn;this._s.setDisposable(n),n.setDisposable(e.subscribe(this._o))},e}(Wn);zn.catch=function(t){return ne(t)?new Or(this,t):Hr([this,t])};var Hr=Zn.catch=function(){var t;if(Array.isArray(arguments[0]))t=arguments[0];else{var e=arguments.length;t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}return ar(t).catchError()};zn.combineLatest=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Array.isArray(e[0])?e[0].unshift(this):e.unshift(this),Lr.apply(this,e)};var Pr=function(t){function e(e,n){this._params=e,this._cb=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){for(var e=this._params.length,n=new Array(e),r={hasValue:M(e,V),hasValueAll:!1,isDone:M(e,V),values:new Array(e)},i=0;i<e;i++){var o=this._params[i],a=new mn;n[i]=a,ee(o)&&(o=lr(o)),a.setDisposable(o.subscribe(new Rr(t,i,this._cb,r)))}return new gn(n)},e}(Qn),Rr=function(t){function e(e,n,r,i){this._o=e,this._i=n,this._cb=r,this._state=i,t.call(this)}function n(t){return function(e,n){return n!==t}}return tn(e,t),e.prototype.next=function(t){if(this._state.values[this._i]=t,this._state.hasValue[this._i]=!0,this._state.hasValueAll||(this._state.hasValueAll=this._state.hasValue.every(Xt))){var e=ie(this._cb).apply(null,this._state.values);if(e===re)return this._o.onError(e.e);this._o.onNext(e)}else this._state.isDone.filter(n(this._i)).every(Xt)&&this._o.onCompleted()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._state.isDone[this._i]=!0,this._state.isDone.every(Xt)&&this._o.onCompleted()},e}(Wn),Lr=Zn.combineLatest=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ne(e[t-1])?e.pop():B;return Array.isArray(e[0])&&(e=e[0]),new Pr(e,r)};zn.concat=function(){for(var t=[],e=0,n=arguments.length;e<n;e++)t.push(arguments[e]);return t.unshift(this),qr.apply(null,t)};var Fr=function(t){function e(e,n){this._s=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._s.o.onNext(t)},e.prototype.error=function(t){this._s.o.onError(t)},e.prototype.completed=function(){this._s.i++,this._fn(this._s)},e}(Wn),jr=function(t){function e(e){this._sources=e,t.call(this)}function n(t,e){if(!t.disposable.isDisposed){if(t.i===t.sources.length)return t.o.onCompleted();var n=t.sources[t.i];ee(n)&&(n=lr(n));var r=new mn;t.subscription.setDisposable(r),r.setDisposable(n.subscribe(new Fr(t,e)))}}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn,r=un(Gt),i={o:t,i:0,subscription:e,disposable:r,sources:this._sources},o=An.scheduleRecursive(i,n);return new gn([e,r,o])},e}(Qn),qr=Zn.concat=function(){var t;if(Array.isArray(arguments[0]))t=arguments[0];else{t=new Array(arguments.length);for(var e=0,n=arguments.length;e<n;e++)t[e]=arguments[e]}return new jr(t)};zn.concatAll=function(){return this.merge(1)};var Vr=function(t){function e(e,n){this.source=e,this.maxConcurrent=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new an;return e.add(this.source.subscribe(new Br(t,this.maxConcurrent,e))),e},e}(Qn),Br=function(t){function e(e,n,r){this.o=e,this.max=n,this.g=r,this.done=!1,this.q=[],this.activeCount=0,t.call(this)}function n(e,n){this.parent=e,this.sad=n,t.call(this)}return tn(e,t),e.prototype.handleSubscribe=function(t){var e=new mn;this.g.add(e),ee(t)&&(t=lr(t)),e.setDisposable(t.subscribe(new n(this,e)))},e.prototype.next=function(t){this.activeCount<this.max?(this.activeCount++,this.handleSubscribe(t)):this.q.push(t)},e.prototype.error=function(t){this.o.onError(t)},e.prototype.completed=function(){this.done=!0,0===this.activeCount&&this.o.onCompleted()},tn(n,t),n.prototype.next=function(t){this.parent.o.onNext(t)},n.prototype.error=function(t){this.parent.o.onError(t)},n.prototype.completed=function(){this.parent.g.remove(this.sad),this.parent.q.length>0?this.parent.handleSubscribe(this.parent.q.shift()):(this.parent.activeCount--,this.parent.done&&0===this.parent.activeCount&&this.parent.o.onCompleted())},e}(Wn);zn.merge=function(t){return"number"!=typeof t?Ur(this,t):new Vr(this,t)};var Ur=Zn.merge=function(){var t,e,n=[],r=arguments.length;if(arguments[0])if(wn(arguments[0]))for(t=arguments[0],e=1;e<r;e++)n.push(arguments[e]);else for(t=An,e=0;e<r;e++)n.push(arguments[e]);else for(t=An,e=1;e<r;e++)n.push(arguments[e]);return Array.isArray(n[0])&&(n=n[0]),F(t,n).mergeAll()},zr=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new an,n=new mn;return e.add(n),n.setDisposable(this.source.subscribe(new Wr(t,e))),e},e}(Qn),Wr=function(t){function e(e,n){this.o=e,this.g=n,this.done=!1,t.call(this)}function n(e,n){this.parent=e,this.sad=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=new mn;this.g.add(e),ee(t)&&(t=lr(t)),e.setDisposable(t.subscribe(new n(this,e)))},e.prototype.error=function(t){this.o.onError(t)},e.prototype.completed=function(){this.done=!0,1===this.g.length&&this.o.onCompleted()},tn(n,t),n.prototype.next=function(t){this.parent.o.onNext(t)},n.prototype.error=function(t){this.parent.o.onError(t)},n.prototype.completed=function(){this.parent.g.remove(this.sad),this.parent.done&&1===this.parent.g.length&&this.parent.o.onCompleted()},e}(Wn);zn.mergeAll=function(){return new zr(this)};var Yr=Kt.CompositeError=function(t){this.innerErrors=t,this.message="This contains multiple errors. Check the innerErrors",Error.call(this)};Yr.prototype=Object.create(Error.prototype),Yr.prototype.name="CompositeError";var Kr=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new an,n=new mn,r={isStopped:!1,errors:[],o:t};return e.add(n),n.setDisposable(this.source.subscribe(new Gr(e,r))),e},e}(Qn),Gr=function(t){function e(e,n){this._group=e,this._state=n,t.call(this)}function n(t,e){0===e.length?t.onCompleted():1===e.length?t.onError(e[0]):t.onError(new Yr(e))}function r(e,n,r){this._inner=e,this._group=n,this._state=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=new mn;this._group.add(e),ee(t)&&(t=lr(t)),e.setDisposable(t.subscribe(new r(e,this._group,this._state)))},e.prototype.error=function(t){this._state.errors.push(t),this._state.isStopped=!0,1===this._group.length&&n(this._state.o,this._state.errors)},e.prototype.completed=function(){this._state.isStopped=!0,1===this._group.length&&n(this._state.o,this._state.errors)},tn(r,t),r.prototype.next=function(t){this._state.o.onNext(t)},r.prototype.error=function(t){this._state.errors.push(t),this._group.remove(this._inner),this._state.isStopped&&1===this._group.length&&n(this._state.o,this._state.errors)},r.prototype.completed=function(){this._group.remove(this._inner),this._state.isStopped&&1===this._group.length&&n(this._state.o,this._state.errors)},e}(Wn);Zn.mergeDelayError=function(){var t;if(Array.isArray(arguments[0]))t=arguments[0];else{var e=arguments.length;t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}var r=F(null,t);return new Kr(r)},zn.onErrorResumeNext=function(t){if(!t)throw new Error("Second observable is required");return Qr([this,t])};var Xr=function(t){function e(e){this.sources=e,t.call(this)}function n(t,e){if(t.pos<t.sources.length){var n=t.sources[t.pos++];ee(n)&&(n=lr(n));var r=new mn;t.subscription.setDisposable(r),r.setDisposable(n.subscribe(new Zr(t,e)))}else t.o.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn,r={pos:0,subscription:e,o:t,sources:this.sources},i=An.scheduleRecursive(r,n);return new vn(e,i)},e}(Qn),Zr=function(t){function e(e,n){this._state=e,this._recurse=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._state.o.onNext(t)},e.prototype.error=function(){this._recurse(this._state)},e.prototype.completed=function(){this._recurse(this._state)},e}(Wn),Qr=Zn.onErrorResumeNext=function(){var t=[];if(Array.isArray(arguments[0]))t=arguments[0];else{var e=arguments.length;t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}return new Xr(t)},Jr=function(t){function e(e,n){this._s=e,this._o=ee(n)?lr(n):n,this._open=!1,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new mn;e.setDisposable(this._s.subscribe(new ti(t,this))),ee(this._o)&&(this._o=lr(this._o));var n=new mn;return n.setDisposable(this._o.subscribe(new ei(t,this,n))),new vn(e,n)},e}(Qn),ti=function(t){function e(e,n){this._o=e,this._p=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._p._open&&this._o.onNext(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.onCompleted=function(){this._p._open&&this._o.onCompleted()},e}(Wn),ei=function(t){function e(e,n,r){this._o=e,this._p=n,this._r=r,t.call(this)}return tn(e,t),e.prototype.next=function(){this._p._open=!0,this._r.dispose()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.onCompleted=function(){this._r.dispose()},e}(Wn);zn.skipUntil=function(t){return new Jr(this,t)};var ni=function(t){function e(e){this.source=e,t.call(this)}function n(t,e){this.o=t,this.inner=e,this.stopped=!1,this.latest=0,this.hasLatest=!1,Wn.call(this)}function r(t,e){this.parent=t,this.id=e,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn,r=this.source.subscribe(new n(t,e));return new vn(r,e)},tn(n,Wn),n.prototype.next=function(t){var e=new mn,n=++this.latest;this.hasLatest=!0,this.inner.setDisposable(e),ee(t)&&(t=lr(t)),e.setDisposable(t.subscribe(new r(this,n)))},n.prototype.error=function(t){this.o.onError(t)},n.prototype.completed=function(){this.stopped=!0,!this.hasLatest&&this.o.onCompleted()},tn(r,Wn),r.prototype.next=function(t){this.parent.latest===this.id&&this.parent.o.onNext(t)},r.prototype.error=function(t){this.parent.latest===this.id&&this.parent.o.onError(t)},r.prototype.completed=function(){this.parent.latest===this.id&&(this.parent.hasLatest=!1,this.parent.stopped&&this.parent.o.onCompleted())},e}(Qn);zn.switch=zn.switchLatest=function(){return new ni(this)};var ri=function(t){function e(e,n){this.source=e,this.other=ee(n)?lr(n):n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return new vn(this.source.subscribe(t),this.other.subscribe(new ii(t)))},e}(Qn),ii=function(t){function e(e){this._o=e,t.call(this)}return tn(e,t),e.prototype.next=function(){this._o.onCompleted()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.onCompleted=Gt,e}(Wn);zn.takeUntil=function(t){return new ri(this,t)};var oi=function(t){function e(e,n,r){this._s=e,this._ss=n,this._cb=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){for(var e=this._ss.length,n={hasValue:M(e,V),hasValueAll:!1,values:new Array(e)},r=this._ss.length,i=new Array(r+1),o=0;o<r;o++){var a=this._ss[o],s=new mn;ee(a)&&(a=lr(a)),s.setDisposable(a.subscribe(new ai(t,o,n))),i[o]=s}var c=new mn;return c.setDisposable(this._s.subscribe(new si(t,this._cb,n))),i[r]=c,new gn(i)},e}(Qn),ai=function(t){function e(e,n,r){this._o=e,this._i=n,this._state=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._state.values[this._i]=t,this._state.hasValue[this._i]=!0,this._state.hasValueAll=this._state.hasValue.every(Xt)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=Gt,e}(Wn),si=function(t){function e(e,n,r){this._o=e,this._cb=n,this._state=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=[t].concat(this._state.values);if(this._state.hasValueAll){var n=ie(this._cb).apply(null,e);return n===re?this._o.onError(n.e):void this._o.onNext(n)}},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.withLatestFrom=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ne(e[t-1])?e.pop():B;return Array.isArray(e[0])&&(e=e[0]),new oi(this,e,r)};var ci=function(t){function e(e,n){this._s=e,this._cb=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){for(var e=this._s.length,n=new Array(e),r=M(e,V),i=M(e,U),o=0;o<e;o++){var a=this._s[o],s=new mn;n[o]=s,ee(a)&&(a=lr(a)),s.setDisposable(a.subscribe(new ui(t,o,this,i,r)))}return new gn(n)},e}(Qn),ui=function(t){function e(e,n,r,i,o){this._o=e,this._i=n,this._p=r,this._q=i,this._d=o,t.call(this)}function n(t){return t.length>0}function r(t){return t.shift()}function i(t){return function(e,n){return n!==t}}return tn(e,t),e.prototype.next=function(t){if(this._q[this._i].push(t),this._q.every(n)){var e=this._q.map(r),o=ie(this._p._cb).apply(null,e);if(o===re)return this._o.onError(o.e);this._o.onNext(o)}else this._d.filter(i(this._i)).every(Xt)&&this._o.onCompleted()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._d[this._i]=!0,this._d.every(Xt)&&this._o.onCompleted()},e}(Wn);zn.zip=function(){if(0===arguments.length)throw new Error("invalid arguments");for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ne(e[t-1])?e.pop():B;Array.isArray(e[0])&&(e=e[0]);var i=this;return e.unshift(i),new ci(e,r)},Zn.zip=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];Array.isArray(e[0])&&(e=ne(e[1])?e[0].concat(e[1]):e[0]);var r=e.shift();return r.zip.apply(r,e)};var li=function(t){function e(e,n){this.sources=e,this._cb=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){for(var e=this.sources,n=e.length,r=new Array(n),i={q:M(n,U),done:M(n,V),cb:this._cb,o:t},o=0;o<n;o++)!function(t){var n=e[t],o=new mn;($e(n)||be(n))&&(n=$r(n)),r[t]=o,o.setDisposable(n.subscribe(new di(i,t)))}(o);return new gn(r)},e}(Qn),di=function(t){function e(e,n){this._s=e,this._i=n,t.call(this)}function n(t){return t.length>0}function r(t){return t.shift()}function i(t){return function(e,n){return n!==t}}return tn(e,t),e.prototype.next=function(t){if(this._s.q[this._i].push(t),this._s.q.every(n)){var e=this._s.q.map(r),o=ie(this._s.cb).apply(null,e);if(o===re)return this._s.o.onError(o.e);this._s.o.onNext(o)}else this._s.done.filter(i(this._i)).every(Xt)&&this._s.o.onCompleted()},e.prototype.error=function(t){this._s.o.onError(t)},e.prototype.completed=function(){this._s.done[this._i]=!0,this._s.done.every(Xt)&&this._s.o.onCompleted()},e}(Wn);zn.zipIterable=function(){if(0===arguments.length)throw new Error("invalid arguments");
for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ne(e[t-1])?e.pop():B,i=this;return e.unshift(i),new li(e,r)},zn.asObservable=function(){return new Sa(z(this),this)},zn.bufferWithCount=zn.bufferCount=function(t,e){return"number"!=typeof e&&(e=t),this.windowWithCount(t,e).flatMap(W).filter(Y)};var hi=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new pi(t))},e}(Qn),pi=function(t){function e(e){this._o=e,t.call(this)}return tn(e,t),e.prototype.next=function(t){t.accept(this._o)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.dematerialize=function(){return new hi(this)};var mi=function(t){function e(e,n,r){this.source=e,this.keyFn=n,this.comparer=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new fi(t,this.keyFn,this.comparer))},e}(Qn),fi=function(t){function e(e,n,r){this.o=e,this.keyFn=n,this.comparer=r,this.hasCurrentKey=!1,this.currentKey=null,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e,n=t;return ne(this.keyFn)&&(n=ie(this.keyFn)(t),n===re)?this.o.onError(n.e):this.hasCurrentKey&&(e=ie(this.comparer)(this.currentKey,n),e===re)?this.o.onError(e.e):void(this.hasCurrentKey&&e||(this.hasCurrentKey=!0,this.currentKey=n,this.o.onNext(t)))},e.prototype.error=function(t){this.o.onError(t)},e.prototype.completed=function(){this.o.onCompleted()},e}(Wn);zn.distinctUntilChanged=function(t,e){return e||(e=Qt),new mi(this,t,e)};var vi=function(t){function e(e,n,r,i){this.source=e,this._oN=n,this._oE=r,this._oC=i,t.call(this)}function n(t,e){this.o=t,this.t=!e._oN||ne(e._oN)?Un(e._oN||Gt,e._oE||Gt,e._oC||Gt):e._oN,this.isStopped=!1,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t,this))},tn(n,Wn),n.prototype.next=function(t){var e=ie(this.t.onNext).call(this.t,t);e===re&&this.o.onError(e.e),this.o.onNext(t)},n.prototype.error=function(t){var e=ie(this.t.onError).call(this.t,t);return e===re?this.o.onError(e.e):void this.o.onError(t)},n.prototype.completed=function(){var t=ie(this.t.onCompleted).call(this.t);return t===re?this.o.onError(t.e):void this.o.onCompleted()},e}(Qn);zn.do=zn.tap=zn.doAction=function(t,e,n){return new vi(this,t,e,n)},zn.doOnNext=zn.tapOnNext=function(t,e){return this.tap("undefined"!=typeof e?function(n){t.call(e,n)}:t)},zn.doOnError=zn.tapOnError=function(t,e){return this.tap(Gt,"undefined"!=typeof e?function(n){t.call(e,n)}:t)},zn.doOnCompleted=zn.tapOnCompleted=function(t,e){return this.tap(Gt,null,"undefined"!=typeof e?function(){t.call(e)}:t)};var gi=function(t){function e(e,n,r){this.source=e,this._fn=ye(n,r,0),t.call(this)}function n(t,e){this.isDisposed=!1,this._s=t,this._fn=e}return tn(e,t),e.prototype.subscribeCore=function(t){var e=ie(this.source.subscribe).call(this.source,t);return e===re&&(this._fn(),l(e.e)),new n(e,this._fn)},n.prototype.dispose=function(){if(!this.isDisposed){var t=ie(this._s.dispose).call(this._s);this._fn(),t===re&&l(t.e)}},e}(Qn);zn.finally=function(t,e){return new gi(this,t,e)};var bi=function(t){function e(e){this.source=e,t.call(this)}function n(t){this.o=t,this.isStopped=!1}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t))},n.prototype.onNext=Gt,n.prototype.onError=function(t){this.isStopped||(this.isStopped=!0,this.o.onError(t))},n.prototype.onCompleted=function(){this.isStopped||(this.isStopped=!0,this.o.onCompleted())},n.prototype.dispose=function(){this.isStopped=!0},n.prototype.fail=function(t){return!this.isStopped&&(this.isStopped=!0,this.observer.onError(t),!0)},e}(Qn);zn.ignoreElements=function(){return new bi(this)};var $i=function(t){function e(e,n){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new yi(t))},e}(Qn),yi=function(t){function e(e){this._o=e,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._o.onNext(jn(t))},e.prototype.error=function(t){this._o.onNext(qn(t)),this._o.onCompleted()},e.prototype.completed=function(){this._o.onNext(Vn()),this._o.onCompleted()},e}(Wn);zn.materialize=function(){return new $i(this)},zn.repeat=function(t){return ir(this,t).concat()},zn.retry=function(t){return ir(this,t).catchError()};var Ei=function(t){function e(t){return{isDisposed:!1,dispose:function(){this.isDisposed||(this.isDisposed=!0,t.isDisposed=!0)}}}function n(e,n){this.source=e,this._notifier=n,t.call(this)}return tn(n,t),n.prototype.subscribeCore=function(t){var n,r=new Ia,i=new Ia,o=this._notifier(r),a=o.subscribe(i),s=this.source["@@iterator"](),c={isDisposed:!1},u=new fn,l=kn.scheduleRecursive(null,function(e,o){if(!c.isDisposed){var a=s.next();if(a.done)return void(n?t.onError(n):t.onCompleted());var l=a.value;ee(l)&&(l=lr(l));var d=new mn,h=new mn;u.setDisposable(new vn(h,d)),d.setDisposable(l.subscribe(function(e){t.onNext(e)},function(e){h.setDisposable(i.subscribe(o,function(e){t.onError(e)},function(){t.onCompleted()})),r.onNext(e),d.dispose()},function(){t.onCompleted()}))}});return new gn([a,u,l,e(c)])},n}(Qn);zn.retryWhen=function(t){return new Ei(K(this),t)};var wi=function(t){function e(t){return{isDisposed:!1,dispose:function(){this.isDisposed||(this.isDisposed=!0,t.isDisposed=!0)}}}function n(e,n){this.source=e,this._notifier=n,t.call(this)}return tn(n,t),n.prototype.subscribeCore=function(t){var n,r=new Ia,i=new Ia,o=this._notifier(r),a=o.subscribe(i),s=this.source["@@iterator"](),c={isDisposed:!1},u=new fn,l=kn.scheduleRecursive(null,function(e,o){if(!c.isDisposed){var a=s.next();if(a.done)return void(n?t.onError(n):t.onCompleted());var l=a.value;ee(l)&&(l=lr(l));var d=new mn,h=new mn;u.setDisposable(new vn(h,d)),d.setDisposable(l.subscribe(function(e){t.onNext(e)},function(e){t.onError(e)},function(){h.setDisposable(i.subscribe(o,function(e){t.onError(e)},function(){t.onCompleted()})),r.onNext(null),d.dispose()}))}});return new gn([a,u,l,e(c)])},n}(Qn);zn.repeatWhen=function(t){return new wi(K(this),t)};var Ci=function(t){function e(e,n,r,i){this.source=e,this.accumulator=n,this.hasSeed=r,this.seed=i,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new _i(t,this))},e}(Qn),_i=function(t){function e(e,n){this._o=e,this._p=n,this._fn=n.accumulator,this._hs=n.hasSeed,this._s=n.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){return!this._hv&&(this._hv=!0),this._ha?this._a=ie(this._fn)(this._a,t,this._i,this._p):(this._a=this._hs?ie(this._fn)(this._s,t,this._i,this._p):t,this._ha=!0),this._a===re?this._o.onError(this._a.e):(this._o.onNext(this._a),void this._i++)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){!this._hv&&this._hs&&this._o.onNext(this._s),this._o.onCompleted()},e}(Wn);zn.scan=function(){var t,e=!1,n=arguments[0];return 2===arguments.length&&(e=!0,t=arguments[1]),new Ci(this,n,e,t)};var xi=function(t){function e(e,n){this.source=e,this._c=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Mi(t,this._c))},e}(Qn),Mi=function(t){function e(e,n){this._o=e,this._c=n,this._q=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){this._q.push(t),this._q.length>this._c&&this._o.onNext(this._q.shift())},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.skipLast=function(t){if(t<0)throw new he;return new xi(this,t)},zn.startWith=function(){var t,e=0;arguments.length&&wn(arguments[0])?(t=arguments[0],e=1):t=An;for(var n=[],r=e,i=arguments.length;r<i;r++)n.push(arguments[r]);return qr.apply(null,[Er(n,t),this])};var Ai=function(t){function e(e,n){this._o=e,this._c=n,this._q=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){this._q.push(t),this._q.length>this._c&&this._q.shift()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){for(;this._q.length>0;)this._o.onNext(this._q.shift());this._o.onCompleted()},e}(Wn);zn.takeLast=function(t){if(t<0)throw new he;var e=this;return new Sa(function(n){return e.subscribe(new Ai(n,t))},e)};var Ti=function(t){function e(e,n){this._o=e,this._c=n,this._q=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){this._q.push(t),this._q.length>this._c&&this._q.shift()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._q),this._o.onCompleted()},e}(Wn);zn.takeLastBuffer=function(t){if(t<0)throw new he;var e=this;return new Sa(function(n){return e.subscribe(new Ti(n,t))},e)},zn.windowWithCount=zn.windowCount=function(t,e){var n=this;if(+t||(t=0),Math.abs(t)===1/0&&(t=0),t<=0)throw new he;if(null==e&&(e=t),+e||(e=0),Math.abs(e)===1/0&&(e=0),e<=0)throw new he;return new Sa(function(r){function i(){var t=new Ia;c.push(t),r.onNext(nn(t,a))}var o=new mn,a=new bn(o),s=0,c=[];return i(),o.setDisposable(n.subscribe(function(n){for(var r=0,o=c.length;r<o;r++)c[r].onNext(n);var a=s-t+1;a>=0&&a%e===0&&c.shift().onCompleted(),++s%e===0&&i()},function(t){for(;c.length>0;)c.shift().onError(t);r.onError(t)},function(){for(;c.length>0;)c.shift().onCompleted();r.onCompleted()})),a},n)},zn.selectConcat=zn.concatMap=function(t,e,n){return ne(t)&&ne(e)?this.concatMap(function(n,r){var i=t(n,r);return ee(i)&&(i=lr(i)),($e(i)||be(i))&&(i=$r(i)),i.map(function(t,i){return e(n,t,r,i)})}):ne(t)?G(this,t,n):G(this,function(){return t})},zn.concatMapObserver=zn.selectConcatObserver=function(t,e,n,r){var i=this,o=ye(t,r,2),a=ye(e,r,1),s=ye(n,r,0);return new Sa(function(t){var e=0;return i.subscribe(function(n){var r;try{r=o(n,e++)}catch(e){return void t.onError(e)}ee(r)&&(r=lr(r)),t.onNext(r)},function(e){var n;try{n=a(e)}catch(e){return void t.onError(e)}ee(n)&&(n=lr(n)),t.onNext(n),t.onCompleted()},function(){var e;try{e=s()}catch(e){return void t.onError(e)}ee(e)&&(e=lr(e)),t.onNext(e),t.onCompleted()})},this).concatAll()};var ki=function(t){function e(e,n){this._o=e,this._d=n,this._f=!1,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._f=!0,this._o.onNext(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){!this._f&&this._o.onNext(this._d),this._o.onCompleted()},e}(Wn);zn.defaultIfEmpty=function(t){var e=this;return t===a&&(t=null),new Sa(function(n){return e.subscribe(new ki(n,t))},e)},Z.prototype.push=function(t){var e=X(this.set,t,this.comparer)===-1;return e&&this.set.push(t),e};var Si=function(t){function e(e,n,r){this.source=e,this._keyFn=n,this._cmpFn=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Ni(t,this._keyFn,this._cmpFn))},e}(Qn),Ni=function(t){function e(e,n,r){this._o=e,this._keyFn=n,this._h=new Z(r),t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=t;return ne(this._keyFn)&&(e=ie(this._keyFn)(t),e===re)?this._o.onError(e.e):void(this._h.push(e)&&this._o.onNext(t))},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.distinct=function(t,e){return e||(e=Qt),new Si(this,t,e)},zn.groupBy=function(t,e){return this.groupByUntil(t,e,xr)},zn.groupByUntil=function(t,e,n){var r=this;return new Sa(function(i){var o=new Yo,s=new an,c=new bn(s),u=function(t){return function(e){e.onError(t)}};return s.add(r.subscribe(function(r){var l=ie(t)(r);if(l===re)return o.forEach(u(l.e)),i.onError(l.e);var d=!1,h=o.get(l);if(h===a&&(h=new Ia,o.set(l,h),d=!0),d){var p=new Oa(l,h,c),m=new Oa(l,h),f=ie(n)(m);if(f===re)return o.forEach(u(f.e)),i.onError(f.e);i.onNext(p);var v=new mn;s.add(v),v.setDisposable(f.take(1).subscribe(Gt,function(t){o.forEach(u(t)),i.onError(t)},function(){o.delete(l)&&h.onCompleted(),s.remove(v)}))}var g=r;return ne(e)&&(g=ie(e)(r),g===re)?(o.forEach(u(g.e)),i.onError(g.e)):void h.onNext(g)},function(t){o.forEach(u(t)),i.onError(t)},function(){o.forEach(function(t){t.onCompleted()}),i.onCompleted()})),c},r)};var Di=function(t){function e(e,n,r){this.source=e,this.selector=ye(n,r,3),t.call(this)}function n(t,e){return function(n,r,i){return t.call(this,e.selector(n,r,i),r,i)}}function r(t,e,n){this.o=t,this.selector=e,this.source=n,this.i=0,Wn.call(this)}return tn(e,t),e.prototype.internalMap=function(t,r){return new e(this.source,n(t,this),r)},e.prototype.subscribeCore=function(t){return this.source.subscribe(new r(t,this.selector,this))},tn(r,Wn),r.prototype.next=function(t){var e=ie(this.selector)(t,this.i++,this.source);return e===re?this.o.onError(e.e):void this.o.onNext(e)},r.prototype.error=function(t){this.o.onError(t)},r.prototype.completed=function(){this.o.onCompleted()},e}(Qn);zn.map=zn.select=function(t,e){var n="function"==typeof t?t:function(){return t};return this instanceof Di?this.internalMap(n,e):new Di(this,n,e)},zn.pluck=function(){var t=arguments.length,e=new Array(t);if(0===t)throw new Error("List of properties cannot be empty.");for(var n=0;n<t;n++)e[n]=arguments[n];return this.map(Q(e,t))},zn.flatMap=zn.selectMany=zn.mergeMap=function(t,e,n){return new Jn(this,t,e,n).mergeAll()},zn.flatMapObserver=zn.selectManyObserver=function(t,e,n,r){var i=this;return new Sa(function(o){var a=0;return i.subscribe(function(e){var n;try{n=t.call(r,e,a++)}catch(t){return void o.onError(t)}ee(n)&&(n=lr(n)),o.onNext(n)},function(t){var n;try{n=e.call(r,t)}catch(t){return void o.onError(t)}ee(n)&&(n=lr(n)),o.onNext(n),o.onCompleted()},function(){var t;try{t=n.call(r)}catch(t){return void o.onError(t)}ee(t)&&(t=lr(t)),o.onNext(t),o.onCompleted()})},i).mergeAll()},zn.flatMapLatest=zn.switchMap=function(t,e,n){return new Jn(this,t,e,n).switchLatest()};var Oi=function(t){function e(e,n){this.source=e,this._count=n,t.call(this)}function n(t,e){this._o=t,this._r=e,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t,this._count))},tn(n,Wn),n.prototype.next=function(t){this._r<=0?this._o.onNext(t):this._r--},n.prototype.error=function(t){this._o.onError(t)},n.prototype.completed=function(){this._o.onCompleted()},e}(Qn);zn.skip=function(t){if(t<0)throw new he;return new Oi(this,t)};var Ii=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Hi(t,this))},e}(Qn),Hi=function(t){function e(e,n){this._o=e,this._p=n,this._i=0,this._r=!1,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(!this._r){var e=ie(this._p._fn)(t,this._i++,this._p);if(e===re)return this._o.onError(e.e);this._r=!e}this._r&&this._o.onNext(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.skipWhile=function(t,e){var n=ye(t,e,3);return new Ii(this,n)};var Pi=function(t){function e(e,n){this.source=e,this._count=n,t.call(this)}function n(t,e){this._o=t,this._c=e,this._r=e,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new n(t,this._count))},tn(n,Wn),n.prototype.next=function(t){this._r-- >0&&(this._o.onNext(t),this._r<=0&&this._o.onCompleted())},n.prototype.error=function(t){this._o.onError(t)},n.prototype.completed=function(){this._o.onCompleted()},e}(Qn);zn.take=function(t,e){if(t<0)throw new he;return 0===t?vr(e):new Pi(this,t)};var Ri=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Li(t,this))},e}(Qn),Li=function(t){function e(e,n){this._o=e,this._p=n,this._i=0,this._r=!0,t.call(this)}return tn(e,t),e.prototype.next=function(t){return this._r&&(this._r=ie(this._p._fn)(t,this._i++,this._p),this._r===re)?this._o.onError(this._r.e):void(this._r?this._o.onNext(t):this._o.onCompleted())},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.takeWhile=function(t,e){var n=ye(t,e,3);return new Ri(this,n)};var Fi=function(t){function e(e,n,r){this.source=e,this.predicate=ye(n,r,3),t.call(this)}function n(t,e){return function(n,r,i){return e.predicate(n,r,i)&&t.call(this,n,r,i)}}function r(t,e,n){this.o=t,this.predicate=e,this.source=n,this.i=0,Wn.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new r(t,this.predicate,this))},e.prototype.internalFilter=function(t,r){return new e(this.source,n(t,this),r)},tn(r,Wn),r.prototype.next=function(t){var e=ie(this.predicate)(t,this.i++,this.source);return e===re?this.o.onError(e.e):void(e&&this.o.onNext(t))},r.prototype.error=function(t){this.o.onError(t)},r.prototype.completed=function(){this.o.onCompleted()},e}(Qn);zn.filter=zn.where=function(t,e){return this instanceof Fi?this.internalFilter(t,e):new Fi(this,t,e)};var ji=function(t){function e(e,n,r){this.source=e,this._k=n,this._c=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new qi(t,this._k,this._c))},e}(Qn),qi=function(t){function e(e,n,r){this._o=e,this._k=n,this._c=r,this._v=null,this._hv=!1,this._l=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._k)(t);if(e===re)return this._o.onError(e.e);var n=0;if(this._hv){if(n=ie(this._c)(e,this._v),n===re)return this._o.onError(n.e)}else this._hv=!0,this._v=e;n>0&&(this._v=e,this._l=[]),n>=0&&this._l.push(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._l),this._o.onCompleted()},e}(Wn),Vi=function(t){function e(e,n,r,i){this.source=e,this.accumulator=n,this.hasSeed=r,this.seed=i,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Bi(t,this))},e}(Qn),Bi=function(t){function e(e,n){this._o=e,this._p=n,this._fn=n.accumulator,this._hs=n.hasSeed,this._s=n.seed,this._ha=!1,this._a=null,this._hv=!1,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){return!this._hv&&(this._hv=!0),this._ha?this._a=ie(this._fn)(this._a,t,this._i,this._p):(this._a=this._hs?ie(this._fn)(this._s,t,this._i,this._p):t,this._ha=!0),this._a===re?this._o.onError(this._a.e):void this._i++},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._hv&&this._o.onNext(this._a),!this._hv&&this._hs&&this._o.onNext(this._s),!this._hv&&!this._hs&&this._o.onError(new le),this._o.onCompleted()},e}(Wn);zn.reduce=function(){var t,e=!1,n=arguments[0];return 2===arguments.length&&(e=!0,t=arguments[1]),new Vi(this,n,e,t)};var Ui=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new zi(t,this._fn,this.source))},e}(Qn),zi=function(t){function e(e,n,r){this._o=e,this._fn=n,this._s=r,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._fn)(t,this._i++,this._s);return e===re?this._o.onError(e.e):void(Boolean(e)&&(this._o.onNext(!0),this._o.onCompleted()))},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(Wn);zn.some=function(t,e){var n=ye(t,e,3);return new Ui(this,n)};var Wi=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Yi(t))},e}(Qn),Yi=function(t){function e(e){this._o=e,t.call(this)}return tn(e,t),e.prototype.next=function(){this._o.onNext(!1),this._o.onCompleted()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(Wn);zn.isEmpty=function(){return new Wi(this)};var Ki=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Gi(t,this._fn,this.source))},e}(Qn),Gi=function(t){function e(e,n,r){this._o=e,this._fn=n,this._s=r,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._fn)(t,this._i++,this._s);return e===re?this._o.onError(e.e):void(Boolean(e)||(this._o.onNext(!1),this._o.onCompleted()))},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(!0),this._o.onCompleted()},e}(Wn);zn.every=function(t,e){var n=ye(t,e,3);return new Ki(this,n)};var Xi=function(t){function e(e,n,r){var i=+r||0;Math.abs(i)===1/0&&(i=0),this.source=e,this._elem=n,this._n=i,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this._n<0?(t.onNext(!1),t.onCompleted(),ln):this.source.subscribe(new Zi(t,this._elem,this._n))},e}(Qn),Zi=function(t){function e(e,n,r){this._o=e,this._elem=n,this._n=r,this._i=0,t.call(this)}function n(t,e){return 0===t&&0===e||t===e||isNaN(t)&&isNaN(e)}return tn(e,t),e.prototype.next=function(t){this._i++>=this._n&&n(t,this._elem)&&(this._o.onNext(!0),this._o.onCompleted())},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(!1),this._o.onCompleted()},e}(Wn);zn.includes=function(t,e){return new Xi(this,t,e)};var Qi=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Ji(t,this._fn,this.source))},e}(Qn),Ji=function(t){function e(e,n,r){this._o=e,this._fn=n,this._s=r,this._i=0,this._c=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(this._fn){var e=ie(this._fn)(t,this._i++,this._s);if(e===re)return this._o.onError(e.e);Boolean(e)&&this._c++}else this._c++},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(Wn);zn.count=function(t,e){var n=ye(t,e,3);return new Qi(this,n)};var to=function(t){function e(e,n,r){this.source=e,this._e=n,this._n=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this._n<0?(t.onNext(-1),t.onCompleted(),ln):this.source.subscribe(new eo(t,this._e,this._n))},e}(Qn),eo=function(t){function e(e,n,r){this._o=e,this._e=n,this._n=r,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._i>=this._n&&t===this._e&&(this._o.onNext(this._i),this._o.onCompleted()),this._i++},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(-1),this._o.onCompleted()},e}(Wn);zn.indexOf=function(t,e){var n=+e||0;return Math.abs(n)===1/0&&(n=0),new to(this,t,n)};var no=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new ro(t,this._fn,this.source))},e}(Qn),ro=function(t){function e(e,n,r){this._o=e,this._fn=n,this._s=r,this._i=0,this._c=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(this._fn){var e=ie(this._fn)(t,this._i++,this._s);if(e===re)return this._o.onError(e.e);this._c+=e}else this._c+=t},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._c),this._o.onCompleted()},e}(Wn);zn.sum=function(t,e){var n=ye(t,e,3);return new no(this,n)},zn.minBy=function(t,e){return e||(e=Jt),new ji(this,t,function(t,n){return e(t,n)*-1})},zn.min=function(t){return this.minBy(Xt,t).map(J)},zn.maxBy=function(t,e){return e||(e=Jt),new ji(this,t,e)},zn.max=function(t){return this.maxBy(Xt,t).map(J)};var io=function(t){function e(e,n){this.source=e,this._fn=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new oo(t,this._fn,this.source))},e}(Qn),oo=function(t){function e(e,n,r){this._o=e,this._fn=n,this._s=r,this._c=0,this._t=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(this._fn){var e=ie(this._fn)(t,this._c++,this._s);if(e===re)return this._o.onError(e.e);this._t+=e}else this._c++,this._t+=t},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){return 0===this._c?this._o.onError(new le):(this._o.onNext(this._t/this._c),void this._o.onCompleted())},e}(Wn);zn.average=function(t,e){var n,r=this;return ne(t)&&(n=ye(t,e,3)),new io(r,n)},zn.sequenceEqual=function(t,e){var n=this;return e||(e=Qt),new Sa(function(r){var i=!1,o=!1,a=[],s=[],c=n.subscribe(function(t){if(s.length>0){var n=s.shift(),i=ie(e)(n,t);if(i===re)return r.onError(i.e);i||(r.onNext(!1),r.onCompleted())}else o?(r.onNext(!1),r.onCompleted()):a.push(t)},function(t){r.onError(t)},function(){i=!0,0===a.length&&(s.length>0?(r.onNext(!1),r.onCompleted()):o&&(r.onNext(!0),r.onCompleted()))});($e(t)||be(t))&&(t=$r(t)),ee(t)&&(t=lr(t));var u=t.subscribe(function(t){if(a.length>0){var n=a.shift(),o=ie(e)(n,t);if(o===re)return r.onError(o.e);o||(r.onNext(!1),r.onCompleted())}else i?(r.onNext(!1),r.onCompleted()):s.push(t)},function(t){r.onError(t)},function(){o=!0,0===s.length&&(a.length>0?(r.onNext(!1),r.onCompleted()):i&&(r.onNext(!0),r.onCompleted()))});return new vn(c,u)},n)};var ao=function(t){function e(e,n,r){this.source=e,this._i=n,this._d=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new so(t,this._i,this._d))},e}(Qn),so=function(t){function e(e,n,r){this._o=e,this._i=n,this._d=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){0===this._i--&&(this._o.onNext(t),this._o.onCompleted())},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._d===a?this._o.onError(new he):(this._o.onNext(this._d),this._o.onCompleted())},e}(Wn);zn.elementAt=function(t,e){if(t<0)throw new he;return new ao(this,t,e)};var co=function(t){function e(e,n,r){this._o=e,this._obj=n,this._s=r,this._i=0,this._hv=!1,this._v=null,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=!1;if(this._obj.predicate){var n=ie(this._obj.predicate)(t,this._i++,this._s);if(n===re)return this._o.onError(n.e);Boolean(n)&&(e=!0)}else this._obj.predicate||(e=!0);if(e){if(this._hv)return this._o.onError(new Error("Sequence contains more than one matching element"));this._hv=!0,this._v=t}},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===a?this._o.onError(new le):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(Wn);zn.single=function(t,e){var n={},r=this;if(n="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},ne(n.predicate)){var i=n.predicate;n.predicate=ye(i,n.thisArg,3)}return new Sa(function(t){return r.subscribe(new co(t,n,r))},r)};var uo=function(t){function e(e,n){this.source=e,this._obj=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new lo(t,this._obj,this.source))},e}(Qn),lo=function(t){function e(e,n,r){this._o=e,this._obj=n,this._s=r,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(this._obj.predicate){var e=ie(this._obj.predicate)(t,this._i++,this._s);if(e===re)return this._o.onError(e.e);Boolean(e)&&(this._o.onNext(t),this._o.onCompleted())}else this._obj.predicate||(this._o.onNext(t),this._o.onCompleted())},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._obj.defaultValue===a?this._o.onError(new le):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(Wn);zn.first=function(){var t={};if(t="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},ne(t.predicate)){var e=t.predicate;t.predicate=ye(e,t.thisArg,3)}return new uo(this,t)};var ho=function(t){function e(e,n){this.source=e,this._obj=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new po(t,this._obj,this.source))},e}(Qn),po=function(t){function e(e,n,r){this._o=e,this._obj=n,this._s=r,this._i=0,this._hv=!1,this._v=null,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=!1;if(this._obj.predicate){var n=ie(this._obj.predicate)(t,this._i++,this._s);if(n===re)return this._o.onError(n.e);Boolean(n)&&(e=!0)}else this._obj.predicate||(e=!0);e&&(this._hv=!0,this._v=t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._hv?(this._o.onNext(this._v),this._o.onCompleted()):this._obj.defaultValue===a?this._o.onError(new le):(this._o.onNext(this._obj.defaultValue),this._o.onCompleted())},e}(Wn);zn.last=function(){var t={};if(t="object"==typeof arguments[0]?arguments[0]:{predicate:arguments[0],thisArg:arguments[1],defaultValue:arguments[2]},ne(t.predicate)){var e=t.predicate;t.predicate=ye(e,t.thisArg,3)}return new ho(this,t)};var mo=function(t){function e(e,n,r,i){this._o=e,this._s=n,this._cb=r,this._y=i,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._cb)(t,this._i,this._s);return e===re?this._o.onError(e.e):void(e?(this._o.onNext(this._y?this._i:t),this._o.onCompleted()):this._i++)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._y&&this._o.onNext(-1),this._o.onCompleted()},e}(Wn);zn.find=function(t,e){return tt(this,t,e,!1)},zn.findIndex=function(t,e){return tt(this,t,e,!0)};var fo=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new vo(t))},e}(Qn),vo=function(t){function e(e){this._o=e,this._s=new Yt.Set,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._s.add(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._s),this._o.onCompleted()},e}(Wn);zn.toSet=function(){if("undefined"==typeof Yt.Set)throw new TypeError;return new fo(this)};var go=function(t){function e(e,n,r){this.source=e,this._k=n,this._e=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new bo(t,this._k,this._e))},e}(Qn),bo=function(t){function e(e,n,r){this._o=e,this._k=n,this._e=r,this._m=new Yt.Map,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._k)(t);if(e===re)return this._o.onError(e.e);var n=t;return this._e&&(n=ie(this._e)(t),n===re)?this._o.onError(n.e):void this._m.set(e,n)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onNext(this._m),this._o.onCompleted()},e}(Wn);zn.toMap=function(t,e){if("undefined"==typeof Yt.Map)throw new TypeError;return new go(this,t,e)};var $o=function(t){function e(e,n,r){this.source=e,this._b=n,this._e=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new yo(t,this._b,this._e))},e}(Qn),yo=function(t){function e(e,n,r){this._o=e,this._b=n,this._e=r,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._i>=this._b&&(this._e===this._i?this._o.onCompleted():this._o.onNext(t)),this._i++},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.slice=function(t,e){var n=t||0;if(n<0)throw new Kt.ArgumentOutOfRangeError;if("number"==typeof e&&e<n)throw new Kt.ArgumentOutOfRangeError;return new $o(this,n,e)};var Eo=function(t){function e(e,n,r){this.source=e,this._e=n,this._n=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this._n<0?(t.onNext(-1),t.onCompleted(),ln):this.source.subscribe(new wo(t,this._e,this._n))},e}(Qn),wo=function(t){function e(e,n,r){this._o=e,this._e=n,this._n=r,this._v=0,this._hv=!1,this._i=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._i>=this._n&&t===this._e&&(this._hv=!0,this._v=this._i),this._i++},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._hv?this._o.onNext(this._v):this._o.onNext(-1),this._o.onCompleted()},e}(Wn);zn.lastIndexOf=function(t,e){var n=+e||0;return Math.abs(n)===1/0&&(n=0),new Eo(this,t,n)},Zn.wrap=function(t){function e(){return Zn.spawn.call(this,t.apply(this,arguments))}return e.__generatorFunction__=t,e};var Co=Zn.spawn=function(){for(var t=arguments[0],e=this,n=[],r=1,i=arguments.length;r<i;r++)n.push(arguments[r]);
return new Sa(function(r){function i(e){var n=ie(t.next).call(t,e);return n===re?r.onError(n.e):void a(n)}function o(e){var n=ie(t.next).call(t,e);return n===re?r.onError(n.e):void a(n)}function a(t){if(t.done)return r.onNext(t.value),void r.onCompleted();var n=et.call(e,t.value),a=null,c=!1;Zn.isObservable(n)?s.add(n.subscribe(function(t){c=!0,a=t},o,function(){c&&i(a)})):o(new TypeError("type not supported"))}var s=new an;return ne(t)&&(t=t.apply(e,n)),t&&ne(t.next)?(i(),s):(r.onNext(t),r.onCompleted())})};Zn.start=function(t,e,n){return _o(t,e,n)()};var _o=Zn.toAsync=function(t,e,n){return wn(n)||(n=In),function(){var r=arguments,i=new Ha;return n.schedule(null,function(){var n;try{n=t.apply(e,r)}catch(t){return void i.onError(t)}i.onNext(n),i.onCompleted()}),i.asObservable()}};Zn.fromCallback=function(t,e,n){return function(){"undefined"==typeof e&&(e=this);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return ct(t,e,n,i)}},Zn.fromNodeCallback=function(t,e,n){return function(){"undefined"==typeof e&&(e=this);for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return lt(t,e,n,i)}},pt.prototype.dispose=function(){this.isDisposed||(this._e.removeEventListener(this._n,this._fn,!1),this.isDisposed=!0)},Kt.config.useNativeEvents=!1;var xo=function(t){function e(e,n,r){this._el=e,this._n=n,this._fn=r,t.call(this)}function n(t,e){return function(){var n=arguments[0];return ne(e)&&(n=ie(e).apply(null,arguments),n===re)?t.onError(n.e):void t.onNext(n)}}return tn(e,t),e.prototype.subscribeCore=function(t){return mt(this._el,this._n,n(t,this._fn))},e}(Qn);Zn.fromEvent=function(t,e,n){return t.addListener?Ao(function(n){t.addListener(e,n)},function(n){t.removeListener(e,n)},n):Kt.config.useNativeEvents||"function"!=typeof t.on||"function"!=typeof t.off?new xo(t,e,n).publish().refCount():Ao(function(n){t.on(e,n)},function(n){t.off(e,n)},n)};var Mo=function(t){function e(e,n,r){this._add=e,this._del=n,this._fn=r,t.call(this)}function n(t,e){return function(){var n=arguments[0];return ne(e)&&(n=ie(e).apply(null,arguments),n===re)?t.onError(n.e):void t.onNext(n)}}function r(t,e,n){this._del=t,this._fn=e,this._ret=n,this.isDisposed=!1}return tn(e,t),e.prototype.subscribeCore=function(t){var e=n(t,this._fn),i=this._add(e);return new r(this._del,e,i)},r.prototype.dispose=function(){this.isDisposed||(ne(this._del)&&this._del(this._fn,this._ret),this.isDisposed=!0)},e}(Qn),Ao=Zn.fromEventPattern=function(t,e,n){return new Mo(t,e,n).publish().refCount()};Zn.startAsync=function(t){var e=ie(t)();return e===re?Nr(e.e):lr(e)};var To=function(t){function e(e,n){this.source=e,this.controller=new Ia,this.paused=!0,n&&n.subscribe?this.pauser=this.controller.merge(n):this.pauser=this.controller,t.call(this)}return tn(e,t),e.prototype._subscribe=function(t){var e=this.source.publish(),n=e.subscribe(t),r=ln,i=this.pauser.startWith(!this.paused).distinctUntilChanged().subscribe(function(t){t?r=e.connect():(r.dispose(),r=ln)});return new gn([n,r,i])},e.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},e.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},e}(Zn);zn.pausable=function(t){return new To(this,t)};var ko=function(t){function e(e,n){this.source=e,this.controller=new Ia,this.paused=!0,n&&n.subscribe?this.pauser=this.controller.merge(n):this.pauser=this.controller,t.call(this)}return tn(e,t),e.prototype._subscribe=function(t){function e(){for(;r.length>0;)t.onNext(r.shift())}var n,r=[],i=ft(this.source,this.pauser.startWith(!this.paused).distinctUntilChanged(),function(t,e){return{data:t,shouldFire:e}}).subscribe(function(i){n!==a&&i.shouldFire!==n?(n=i.shouldFire,i.shouldFire&&e()):(n=i.shouldFire,i.shouldFire?t.onNext(i.data):r.push(i.data))},function(n){e(),t.onError(n)},function(){e(),t.onCompleted()});return i},e.prototype.pause=function(){this.paused=!0,this.controller.onNext(!1)},e.prototype.resume=function(){this.paused=!1,this.controller.onNext(!0)},e}(Zn);zn.pausableBuffered=function(t){return new ko(this,t)};var So=function(t){function e(e,n,r){t.call(this),this.subject=new No(n,r),this.source=e.multicast(this.subject).refCount()}return tn(e,t),e.prototype._subscribe=function(t){return this.source.subscribe(t)},e.prototype.request=function(t){return this.subject.request(null==t?-1:t)},e}(Zn),No=function(t){function e(e,n){null==e&&(e=!0),t.call(this),this.subject=new Ia,this.enableQueue=e,this.queue=e?[]:null,this.requestedCount=0,this.requestedDisposable=null,this.error=null,this.hasFailed=!1,this.hasCompleted=!1,this.scheduler=n||kn}return tn(e,t),en(e.prototype,Bn,{_subscribe:function(t){return this.subject.subscribe(t)},onCompleted:function(){this.hasCompleted=!0,this.enableQueue&&0!==this.queue.length?this.queue.push(Pn.createOnCompleted()):(this.subject.onCompleted(),this.disposeCurrentRequest())},onError:function(t){this.hasFailed=!0,this.error=t,this.enableQueue&&0!==this.queue.length?this.queue.push(Pn.createOnError(t)):(this.subject.onError(t),this.disposeCurrentRequest())},onNext:function(t){this.requestedCount<=0?this.enableQueue&&this.queue.push(Pn.createOnNext(t)):(0===this.requestedCount--&&this.disposeCurrentRequest(),this.subject.onNext(t))},_processRequest:function(t){if(this.enableQueue)for(;this.queue.length>0&&(t>0||"N"!==this.queue[0].kind);){var e=this.queue.shift();e.accept(this.subject),"N"===e.kind?t--:(this.disposeCurrentRequest(),this.queue=[])}return t},request:function(t){this.disposeCurrentRequest();var e=this;return this.requestedDisposable=this.scheduler.schedule(t,function(t,n){var r=e._processRequest(n),i=e.hasCompleted||e.hasFailed;if(!i&&r>0)return e.requestedCount=r,un(function(){e.requestedCount=0})}),this.requestedDisposable},disposeCurrentRequest:function(){this.requestedDisposable&&(this.requestedDisposable.dispose(),this.requestedDisposable=null)}}),e}(Zn);zn.controlled=function(t,e){return t&&wn(t)&&(e=t,t=!0),null==t&&(t=!0),new So(this,t,e)};var Do=function(t){function e(e){t.call(this),this.source=e}function n(t,e){return e.source.request(1)}tn(e,t),e.prototype._subscribe=function(t){return this.subscription=this.source.subscribe(new r(t,this,this.subscription)),new vn(this.subscription,In.schedule(this,n))};var r=function(t){function e(e,n,r){t.call(this),this.observer=e,this.observable=n,this.cancel=r,this.scheduleDisposable=null}function n(t,e){return e.observable.source.request(1)}return tn(e,t),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(t){this.observer.onError(t),this.dispose()},e.prototype.next=function(t){this.observer.onNext(t),this.scheduleDisposable=In.schedule(this,n)},e.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),t.prototype.dispose.call(this)},e}(Wn);return e}(Zn);So.prototype.stopAndWait=function(){return new Do(this)};var Oo=function(t){function e(e,n){t.call(this),this.source=e,this.windowSize=n}function n(t,e){return e.source.request(e.windowSize)}tn(e,t),e.prototype._subscribe=function(t){return this.subscription=this.source.subscribe(new r(t,this,this.subscription)),new vn(this.subscription,In.schedule(this,n))};var r=function(t){function e(e,n,r){this.observer=e,this.observable=n,this.cancel=r,this.received=0,this.scheduleDisposable=null,t.call(this)}function n(t,e){return e.observable.source.request(e.observable.windowSize)}return tn(e,t),e.prototype.completed=function(){this.observer.onCompleted(),this.dispose()},e.prototype.error=function(t){this.observer.onError(t),this.dispose()},e.prototype.next=function(t){this.observer.onNext(t),this.received=++this.received%this.observable.windowSize,0===this.received&&(this.scheduleDisposable=In.schedule(this,n))},e.prototype.dispose=function(){this.observer=null,this.cancel&&(this.cancel.dispose(),this.cancel=null),this.scheduleDisposable&&(this.scheduleDisposable.dispose(),this.scheduleDisposable=null),t.prototype.dispose.call(this)},e}(Wn);return e}(Zn);So.prototype.windowed=function(t){return new Oo(this,t)},zn.pipe=function(t){function e(){n.resume()}var n=this.pausableBuffered();return t.addListener("drain",e),n.subscribe(function(e){!t.write(e)&&n.pause()},function(e){t.emit("error",e)},function(){!t._isStdio&&t.end(),t.removeListener("drain",e)}),n.resume(),t};var Io=function(t){function e(e,n,r){this.source=e,this._fn1=n,this._fn2=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=this.source.multicast(this._fn1());return new vn(this._fn2(e).subscribe(t),e.connect())},e}(Qn);zn.multicast=function(t,e){return ne(t)?new Io(this,t,e):new Ro(this,t)},zn.publish=function(t){return t&&ne(t)?this.multicast(function(){return new Ia},t):this.multicast(new Ia)},zn.share=function(){return this.publish().refCount()},zn.publishLast=function(t){return t&&ne(t)?this.multicast(function(){return new Ha},t):this.multicast(new Ha)},zn.publishValue=function(t,e){return 2===arguments.length?this.multicast(function(){return new Pa(e)},t):this.multicast(new Pa(t))},zn.shareValue=function(t){return this.publishValue(t).refCount()},zn.replay=function(t,e,n,r){return t&&ne(t)?this.multicast(function(){return new Ra(e,n,r)},t):this.multicast(new Ra(e,n,r))},zn.shareReplay=function(t,e,n){return this.replay(null,t,e,n).refCount()};var Ho=function(t,e){this._s=t,this._o=e};Ho.prototype.dispose=function(){if(!this._s.isDisposed&&null!==this._o){var t=this._s.observers.indexOf(this._o);this._s.observers.splice(t,1),this._o=null}};var Po=function(t){function e(e){this.source=e,this._count=0,this._connectableSubscription=null,t.call(this)}function n(t,e){this._p=t,this._s=e,this.isDisposed=!1}return tn(e,t),e.prototype.subscribeCore=function(t){var e=this.source.subscribe(t);return 1===++this._count&&(this._connectableSubscription=this.source.connect()),new n(this,e)},n.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._s.dispose(),0===--this._p._count&&this._p._connectableSubscription.dispose())},e}(Qn),Ro=Kt.ConnectableObservable=function(t){function e(e,n){this.source=e,this._connection=null,this._source=e.asObservable(),this._subject=n,t.call(this)}function n(t,e){this._p=t,this._s=e}return tn(e,t),n.prototype.dispose=function(){this._s&&(this._s.dispose(),this._s=null,this._p._connection=null)},e.prototype.connect=function(){if(!this._connection){if(this._subject.isStopped)return ln;var t=this._source.subscribe(this._subject);this._connection=new n(this,t)}return this._connection},e.prototype._subscribe=function(t){return this._subject.subscribe(t)},e.prototype.refCount=function(){return new Po(this)},e}(Zn);zn.singleInstance=function(){function t(){return r||(r=!0,e=n.finally(function(){r=!1}).publish().refCount()),e}var e,n=this,r=!1;return new Sa(function(e){return t().subscribe(e)})},zn.join=function(t,e,n,r){var i=this;return new Sa(function(o){var a=new an,s=!1,c=!1,u=0,l=0,d=new Yo,h=new Yo,p=function(t){o.onError(t)};return a.add(i.subscribe(function(t){var n=u++,i=new mn;d.set(n,t),a.add(i);var c=ie(e)(t);return c===re?o.onError(c.e):(i.setDisposable(c.take(1).subscribe(Gt,p,function(){d.delete(n)&&0===d.size&&s&&o.onCompleted(),a.remove(i)})),void h.forEach(function(e){var n=ie(r)(t,e);return n===re?o.onError(n.e):void o.onNext(n)}))},p,function(){s=!0,(c||0===d.size)&&o.onCompleted()})),a.add(t.subscribe(function(t){var e=l++,i=new mn;h.set(e,t),a.add(i);var s=ie(n)(t);return s===re?o.onError(s.e):(i.setDisposable(s.take(1).subscribe(Gt,p,function(){h.delete(e)&&0===h.size&&c&&o.onCompleted(),a.remove(i)})),void d.forEach(function(e){var n=ie(r)(e,t);return n===re?o.onError(n.e):void o.onNext(n)}))},p,function(){c=!0,(s||0===h.size)&&o.onCompleted()})),a},i)},zn.groupJoin=function(t,e,n,r){var i=this;return new Sa(function(o){function a(t){}var s=new an,c=new bn(s),u=new Yo,l=new Yo,d=0,h=0,a=function(t){return function(e){e.onError(t)}};return s.add(i.subscribe(function(t){var n=new Ia,i=d++;u.set(i,n);var h=ie(r)(t,nn(n,c));if(h===re)return u.forEach(a(h.e)),o.onError(h.e);o.onNext(h),l.forEach(function(t){n.onNext(t)});var p=new mn;s.add(p);var m=ie(e)(t);return m===re?(u.forEach(a(m.e)),o.onError(m.e)):void p.setDisposable(m.take(1).subscribe(Gt,function(t){u.forEach(a(t)),o.onError(t)},function(){u.delete(i)&&n.onCompleted(),s.remove(p)}))},function(t){u.forEach(a(t)),o.onError(t)},function(){o.onCompleted()})),s.add(t.subscribe(function(t){var e=h++;l.set(e,t);var r=new mn;s.add(r);var i=ie(n)(t);return i===re?(u.forEach(a(i.e)),o.onError(i.e)):(r.setDisposable(i.take(1).subscribe(Gt,function(t){u.forEach(a(t)),o.onError(t)},function(){l.delete(e),s.remove(r)})),void u.forEach(function(e){e.onNext(t)}))},function(t){u.forEach(a(t)),o.onError(t)})),c},i)},zn.buffer=function(){return this.window.apply(this,arguments).flatMap(W)},zn.window=function(t,e){return 1===arguments.length&&"function"!=typeof arguments[0]?gt.call(this,t):"function"==typeof t?bt.call(this,t):vt.call(this,t,e)};var Lo=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new Fo(t))},e}(Qn),Fo=function(t){function e(e){this._o=e,this._p=null,this._hp=!1,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._hp?this._o.onNext([this._p,t]):this._hp=!0,this._p=t},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.pairwise=function(){return new Lo(this)},zn.partition=function(t,e){var n=ye(t,e,3);return[this.filter(t,e),this.filter(function(t,e,r){return!n(t,e,r)})]};var jo=function(t){function e(t,e){this.c=t,this.s=e}return tn(e,t),e.prototype[ve]=function(){var t=this;return{next:function(){return t.c()?{done:!1,value:t.s}:{done:!0,value:void 0}}}},e}(tr);zn.letBind=zn.let=function(t){return t(this)},Zn.if=function(t,e,n){return pr(function(){return n||(n=vr()),ee(e)&&(e=lr(e)),ee(n)&&(n=lr(n)),"function"==typeof n.now&&(n=vr(n)),t()?e:n})},Zn.for=Zn.forIn=function(t,e,n){return ar(t,e,n).concat()};var qo=Zn.while=Zn.whileDo=function(t,e){return ee(e)&&(e=lr(e)),$t(t,e).concat()};zn.doWhile=function(t){return qr([this,qo(t,this)])},Zn.case=function(t,e,n){return pr(function(){ee(n)&&(n=lr(n)),n||(n=vr()),wn(n)&&(n=vr(n));var r=e[t()];return ee(r)&&(r=lr(r)),r||n})};var Vo=function(t){function e(e,n,r){this.source=e,this._fn=n,this._scheduler=r,t.call(this)}function n(t,e){var n,r=t[0],i=t[1];if(!(r.q.length>0))return void(r.isAcquired=!1);n=r.q.shift();var o=new mn;r.d.add(o),o.setDisposable(n.subscribe(new Bo(r,i,o))),e([r,i])}return tn(e,t),e.prototype._ensureActive=function(t){var e=!1;t.q.length>0&&(e=!t.isAcquired,t.isAcquired=!0),e&&t.m.setDisposable(this._scheduler.scheduleRecursive([t,this],n))},e.prototype.subscribeCore=function(t){var e=new fn,n=new an(e),r={q:[],m:e,d:n,activeCount:0,isAcquired:!1,o:t};return r.q.push(this.source),r.activeCount++,this._ensureActive(r),n},e}(Qn),Bo=function(t){function e(e,n,r){this._s=e,this._p=n,this._m1=r,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._s.o.onNext(t);var e=ie(this._p._fn)(t);return e===re?this._s.o.onError(e.e):(this._s.q.push(e),this._s.activeCount++,void this._p._ensureActive(this._s))},e.prototype.error=function(t){this._s.o.onError(t)},e.prototype.completed=function(){this._s.d.remove(this._m1),this._s.activeCount--,0===this._s.activeCount&&this._s.o.onCompleted()},e}(Wn);zn.expand=function(t,e){return wn(e)||(e=kn),new Vo(this,t,e)};var Uo=function(t){function e(e,n){this._sources=e,this._cb=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){if(0===this._sources.length)return t.onCompleted(),ln;for(var e=this._sources.length,n={finished:!1,hasResults:new Array(e),hasCompleted:new Array(e),results:new Array(e)},r=new an,i=0,o=this._sources.length;i<o;i++){var a=this._sources[i];ee(a)&&(a=lr(a)),r.add(a.subscribe(new zo(t,n,i,this._cb,r)))}return r},e}(Qn),zo=function(t){function e(e,n,r,i,o){this._o=e,this._s=n,this._i=r,this._cb=i,this._subs=o,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._s.finished||(this._s.hasResults[this._i]=!0,this._s.results[this._i]=t)},e.prototype.error=function(t){this._s.finished=!0,this._o.onError(t),this._subs.dispose()},e.prototype.completed=function(){if(!this._s.finished){if(!this._s.hasResults[this._i])return this._o.onCompleted();this._s.hasCompleted[this._i]=!0;for(var t=0;t<this._s.results.length;t++)if(!this._s.hasCompleted[t])return;this._s.finished=!0;var e=ie(this._cb).apply(null,this._s.results);if(e===re)return this._o.onError(e.e);this._o.onNext(e),this._o.onCompleted()}},e}(Wn);Zn.forkJoin=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=ne(e[t-1])?e.pop():B;return Array.isArray(e[0])&&(e=e[0]),new Uo(e,r)},zn.forkJoin=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Array.isArray(e[0])?e[0].unshift(this):e.unshift(this),Zn.forkJoin.apply(null,e)},zn.manySelect=zn.extend=function(t,e){wn(e)||(e=Kt.Scheduler.immediate);var n=this;return pr(function(){var r;return n.map(function(t){var e=new Wo(t);return r&&r.onNext(t),r=e,e}).tap(Gt,function(t){r&&r.onError(t)},function(){r&&r.onCompleted()}).observeOn(e).map(t)},n)};var Wo=function(t){function e(e){t.call(this),this.head=e,this.tail=new Ha}return tn(e,t),en(e.prototype,Bn,{_subscribe:function(t){var e=new an;return e.add(kn.schedule(this,function(n,r){t.onNext(r.head),e.add(r.tail.mergeAll().subscribe(t))})),e},onCompleted:function(){this.onNext(Zn.empty())},onError:function(t){this.onNext(Zn.throw(t))},onNext:function(t){this.tail.onNext(t),this.tail.onCompleted()}}),e}(Zn),Yo=Yt.Map||function(){function t(){this.size=0,this._values=[],this._keys=[]}return t.prototype.delete=function(t){var e=this._keys.indexOf(t);return e!==-1&&(this._values.splice(e,1),this._keys.splice(e,1),this.size--,!0)},t.prototype.get=function(t){var e=this._keys.indexOf(t);return e===-1?a:this._values[e]},t.prototype.set=function(t,e){var n=this._keys.indexOf(t);return n===-1?(this._keys.push(t),this._values.push(e),this.size++):this._values[n]=e,this},t.prototype.forEach=function(t,e){for(var n=0;n<this.size;n++)t.call(e,this._values[n],this._keys[n])},t}();yt.prototype.and=function(t){return new yt(this.patterns.concat(t))},yt.prototype.thenDo=function(t){return new Et(this,t)},Et.prototype.activate=function(t,e,n){for(var r=[],i=wt(e),o=0,a=this.expression.patterns.length;o<a;o++)r.push(_t(t,this.expression.patterns[o],i));var s=new xt(r,Ct(this,e),function(){for(var t=0,e=r.length;t<e;t++)r[t].removeActivePlan(s);n(s)});for(o=0,a=r.length;o<a;o++)r[o].addActivePlan(s);return s},xt.prototype.dequeue=function(){this.joinObservers.forEach(function(t){t.queue.shift()})},xt.prototype.match=function(){var t,e,n=!0;for(t=0,e=this.joinObserverArray.length;t<e;t++)if(0===this.joinObserverArray[t].queue.length){n=!1;break}if(n){var r=[],i=!1;for(t=0,e=this.joinObserverArray.length;t<e;t++)r.push(this.joinObserverArray[t].queue[0]),"C"===this.joinObserverArray[t].queue[0].kind&&(i=!0);if(i)this.onCompleted();else{this.dequeue();var o=[];for(t=0,e=r.length;t<r.length;t++)o.push(r[t].value);this.onNext.apply(this,o)}}};var Ko=function(t){function e(e,n){t.call(this),this.source=e,this.onError=n,this.queue=[],this.activePlans=[],this.subscription=new mn,this.isDisposed=!1}tn(e,t);var n=e.prototype;return n.next=function(t){if(!this.isDisposed){if("E"===t.kind)return this.onError(t.error);this.queue.push(t);for(var e=this.activePlans.slice(0),n=0,r=e.length;n<r;n++)e[n].match()}},n.error=Gt,n.completed=Gt,n.addActivePlan=function(t){this.activePlans.push(t)},n.subscribe=function(){this.subscription.setDisposable(this.source.materialize().subscribe(this))},n.removeActivePlan=function(t){this.activePlans.splice(this.activePlans.indexOf(t),1),0===this.activePlans.length&&this.dispose()},n.dispose=function(){t.prototype.dispose.call(this),this.isDisposed||(this.isDisposed=!0,this.subscription.dispose())},e}(Wn);zn.and=function(t){return new yt([this,t])},zn.thenDo=function(t){return new yt([this]).thenDo(t)},Zn.when=function(){var t,e=arguments.length;if(Array.isArray(arguments[0]))t=arguments[0];else{t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}return new Sa(function(e){var n=[],r=new Yo,i=Un(function(t){e.onNext(t)},function(t){r.forEach(function(e){e.onError(t)}),e.onError(t)},function(t){e.onCompleted()});try{for(var o=0,a=t.length;o<a;o++)n.push(t[o].activate(r,i,function(t){var r=n.indexOf(t);n.splice(r,1),0===n.length&&e.onCompleted()}))}catch(t){return Nr(t).subscribe(e)}var s=new an;return r.forEach(function(t){t.subscribe(),s.add(t)}),s})};var Go=function(t){function e(e,n){this._dt=e,this._s=n,t.call(this)}function n(t,e){e.onNext(0),e.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){return this._s.scheduleFuture(t,this._dt,n)},e}(Qn),Xo=Zn.interval=function(t,e){return Tt(t,t,wn(e)?e:In)};Zn.timer=function(t,e,n){var r;return wn(n)||(n=In),null!=e&&"number"==typeof e?r=e:wn(e)&&(n=e),(t instanceof Date||"number"==typeof t)&&r===a?Mt(t,n):t instanceof Date&&r!==a?At(t,e,n):Tt(t,r,n)};zn.delay=function(){var t=arguments[0];if("number"==typeof t||t instanceof Date){var e=t,n=arguments[1];return wn(n)||(n=In),e instanceof Date?St(this,e,n):kt(this,e,n)}if(Zn.isObservable(t)||ne(t))return Nt(this,t,arguments[1]);throw new Error("Invalid arguments")};var Zo=function(t){function e(e,n,r){wn(r)||(r=In),this.source=e,this._dt=n,this._s=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn;return new vn(this.source.subscribe(new Qo(t,this._dt,this._s,e)),e)},e}(Qn),Qo=function(t){function e(e,n,r,i){this._o=e,this._d=n,this._scheduler=r,this._c=i,this._v=null,this._hv=!1,this._id=0,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._hv=!0,this._v=t;var e=++this._id,n=new mn;this._c.setDisposable(n),n.setDisposable(this._scheduler.scheduleFuture(this,this._d,function(n,r){r._hv&&r._id===e&&r._o.onNext(t),r._hv=!1}))},e.prototype.error=function(t){this._c.dispose(),this._o.onError(t),this._hv=!1,this._id++},e.prototype.completed=function(){this._c.dispose(),this._hv&&this._o.onNext(this._v),this._o.onCompleted(),this._hv=!1,this._id++},e}(Wn);zn.debounce=function(){if(ne(arguments[0]))return Dt(this,arguments[0]);if("number"==typeof arguments[0])return new Zo(this,arguments[0],arguments[1]);throw new Error("Invalid arguments")},zn.windowWithTime=zn.windowTime=function(t,e,n){var r,i=this;return null==e&&(r=t),wn(n)||(n=In),"number"==typeof e?r=e:wn(e)&&(r=t,n=e),new Sa(function(e){function o(){var t=new mn,i=!1,a=!1;d.setDisposable(t),u===c?(i=!0,a=!0):u<c?i=!0:a=!0;var p=i?u:c,m=p-h;h=p,i&&(u+=r),a&&(c+=r),t.setDisposable(n.scheduleFuture(null,m,function(){if(a){var t=new Ia;l.push(t),e.onNext(nn(t,s))}i&&l.shift().onCompleted(),o()}))}var a,s,c=r,u=t,l=[],d=new fn,h=0;return a=new an(d),s=new bn(a),l.push(new Ia),e.onNext(nn(l[0],s)),o(),a.add(i.subscribe(function(t){for(var e=0,n=l.length;e<n;e++)l[e].onNext(t)},function(t){for(var n=0,r=l.length;n<r;n++)l[n].onError(t);e.onError(t)},function(){for(var t=0,n=l.length;t<n;t++)l[t].onCompleted();e.onCompleted()})),s},i)},zn.windowWithTimeOrCount=zn.windowTimeOrCount=function(t,e,n){var r=this;return wn(n)||(n=In),new Sa(function(i){function o(e){var r=new mn;a.setDisposable(r),r.setDisposable(n.scheduleFuture(null,t,function(){if(e===l){u=0;var t=++l;d.onCompleted(),d=new Ia,i.onNext(nn(d,c)),o(t)}}))}var a=new fn,s=new an(a),c=new bn(s),u=0,l=0,d=new Ia;return i.onNext(nn(d,c)),o(0),s.add(r.subscribe(function(t){var n=0,r=!1;d.onNext(t),++u===e&&(r=!0,u=0,n=++l,d.onCompleted(),d=new Ia,i.onNext(nn(d,c))),r&&o(n)},function(t){d.onError(t),i.onError(t)},function(){d.onCompleted(),i.onCompleted()})),c},r)},zn.bufferWithTime=zn.bufferTime=function(t,e,n){return this.windowWithTime(t,e,n).flatMap(W)},zn.bufferWithTimeOrCount=zn.bufferTimeOrCount=function(t,e,n){return this.windowWithTimeOrCount(t,e,n).flatMap(W)};var Jo=function(t){function e(e,n){this.source=e,this._s=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new ta(t,this._s))},e}(Qn),ta=function(t){function e(e,n){this._o=e,this._s=n,this._l=n.now(),t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=this._s.now(),n=e-this._l;this._l=e,this._o.onNext({value:t,interval:n})},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.timeInterval=function(t){return wn(t)||(t=In),new Jo(this,t)};var ea=function(t){function e(e,n){this.source=e,this._s=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new na(t,this._s))},e}(Qn),na=function(t){function e(e,n){this._o=e,this._s=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._o.onNext({value:t,timestamp:this._s.now()})},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.timestamp=function(t){return wn(t)||(t=In),new ea(this,t)};var ra=function(t){function e(e,n){this.source=e,this._sampler=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e={o:t,atEnd:!1,value:null,hasValue:!1,sourceSubscription:new mn};return e.sourceSubscription.setDisposable(this.source.subscribe(new oa(e))),new vn(e.sourceSubscription,this._sampler.subscribe(new ia(e)))},e}(Qn),ia=function(t){function e(e){this._s=e,t.call(this)}return tn(e,t),e.prototype._handleMessage=function(){this._s.hasValue&&(this._s.hasValue=!1,this._s.o.onNext(this._s.value)),this._s.atEnd&&this._s.o.onCompleted()},e.prototype.next=function(){this._handleMessage()},e.prototype.error=function(t){this._s.onError(t)},e.prototype.completed=function(){this._handleMessage()},e}(Wn),oa=function(t){function e(e){this._s=e,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._s.hasValue=!0,this._s.value=t},e.prototype.error=function(t){this._s.o.onError(t)},e.prototype.completed=function(){this._s.atEnd=!0,this._s.sourceSubscription.dispose()},e}(Wn);zn.sample=function(t,e){return wn(e)||(e=In),"number"==typeof t?new ra(this,Xo(t,e)):new ra(this,t)};var aa=Kt.TimeoutError=function(t){this.message=t||"Timeout has occurred",this.name="TimeoutError",Error.call(this)};aa.prototype=Object.create(Error.prototype),zn.timeout=function(){var t=arguments[0];if(t instanceof Date||"number"==typeof t)return It(this,t,arguments[1],arguments[2]);if(Zn.isObservable(t)||ne(t))return Ot(this,t,arguments[1],arguments[2]);throw new Error("Invalid arguments")};var sa=function(t){function e(e,n,r,i,o,a){this._state=e,this._cndFn=n,this._itrFn=r,this._resFn=i,this._timeFn=o,this._s=a,t.call(this)}function n(t,e){if(t.hasResult&&t.o.onNext(t.result),t.first)t.first=!1;else if(t.newState=ie(t.self._itrFn)(t.newState),t.newState===re)return t.o.onError(t.newState.e);if(t.hasResult=ie(t.self._cndFn)(t.newState),t.hasResult===re)return t.o.onError(t.hasResult.e);if(t.hasResult){if(t.result=ie(t.self._resFn)(t.newState),t.result===re)return t.o.onError(t.result.e);var n=ie(t.self._timeFn)(t.newState);if(n===re)return t.o.onError(n.e);e(t,n)}else t.o.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){var e={o:t,self:this,newState:this._state,first:!0,hasResult:!1};return this._s.scheduleRecursiveFuture(e,new Date(this._s.now()),n)},e}(Qn);Zn.generateWithAbsoluteTime=function(t,e,n,r,i,o){return wn(o)||(o=In),new sa(t,e,n,r,i,o)};var ca=function(t){function e(e,n,r,i,o,a){this._state=e,this._cndFn=n,this._itrFn=r,this._resFn=i,this._timeFn=o,this._s=a,t.call(this)}function n(t,e){if(t.hasResult&&t.o.onNext(t.result),t.first)t.first=!1;else if(t.newState=ie(t.self._itrFn)(t.newState),t.newState===re)return t.o.onError(t.newState.e);if(t.hasResult=ie(t.self._cndFn)(t.newState),t.hasResult===re)return t.o.onError(t.hasResult.e);if(t.hasResult){if(t.result=ie(t.self._resFn)(t.newState),t.result===re)return t.o.onError(t.result.e);var n=ie(t.self._timeFn)(t.newState);if(n===re)return t.o.onError(n.e);e(t,n)}else t.o.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){var e={o:t,self:this,newState:this._state,first:!0,hasResult:!1};return this._s.scheduleRecursiveFuture(e,0,n)},e}(Qn);Zn.generateWithRelativeTime=function(t,e,n,r,i,o){return wn(o)||(o=In),new ca(t,e,n,r,i,o)};var ua=function(t){function e(e,n,r){this.source=e,this._dt=n,this._s=r,t.call(this)}function n(t,e){var n=e[0],r=e[1],i=e[2];i.setDisposable(n.subscribe(r))}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new fn;return e.setDisposable(this._s.scheduleFuture([this.source,t,e],this._dt,n)),e},e}(Qn);zn.delaySubscription=function(t,e){return wn(e)||(e=In),new ua(this,t,e)};var la=function(t){function e(e,n,r){this.source=e,this._d=n,this._s=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new da(t,this))},e}(Qn),da=function(t){function e(e,n){this._o=e,this._s=n._s,this._d=n._d,this._q=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=this._s.now();for(this._q.push({interval:e,value:t});this._q.length>0&&e-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){for(var t=this._s.now();this._q.length>0&&t-this._q[0].interval>=this._d;)this._o.onNext(this._q.shift().value);this._o.onCompleted()},e}(Wn);zn.skipLastWithTime=function(t,e){return wn(e)||(e=In),new la(this,t,e)};var ha=function(t){function e(e,n,r){this.source=e,this._d=n,this._s=r,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return this.source.subscribe(new pa(t,this._d,this._s))},e}(Qn),pa=function(t){function e(e,n,r){this._o=e,this._d=n,this._s=r,this._q=[],t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=this._s.now();for(this._q.push({interval:e,value:t});this._q.length>0&&e-this._q[0].interval>=this._d;)this._q.shift()},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){for(var t=this._s.now();this._q.length>0;){var e=this._q.shift();t-e.interval<=this._d&&this._o.onNext(e.value)}this._o.onCompleted()},e}(Wn);zn.takeLastWithTime=function(t,e){return wn(e)||(e=In),new ha(this,t,e)},zn.takeLastBufferWithTime=function(t,e){var n=this;return wn(e)||(e=In),new Sa(function(r){var i=[];return n.subscribe(function(n){var r=e.now();for(i.push({interval:r,value:n});i.length>0&&r-i[0].interval>=t;)i.shift()},function(t){r.onError(t)},function(){for(var n=e.now(),o=[];i.length>0;){var a=i.shift();n-a.interval<=t&&o.push(a.value)}r.onNext(o),r.onCompleted()})},n)};var ma=function(t){function e(e,n,r){this.source=e,this._d=n,this._s=r,t.call(this)}function n(t,e){e.onCompleted()}return tn(e,t),e.prototype.subscribeCore=function(t){return new vn(this._s.scheduleFuture(t,this._d,n),this.source.subscribe(t))},e}(Qn);zn.takeWithTime=function(t,e){return wn(e)||(e=In),new ma(this,t,e)};var fa=function(t){function e(e,n,r){this.source=e,this._d=n,this._s=r,this._open=!1,t.call(this)}function n(t,e){e._open=!0}return tn(e,t),e.prototype.subscribeCore=function(t){return new vn(this._s.scheduleFuture(this,this._d,n),this.source.subscribe(new va(t,this)))},e}(Qn),va=function(t){function e(e,n){this._o=e,this._p=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){this._p._open&&this._o.onNext(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.skipWithTime=function(t,e){return wn(e)||(e=In),new fa(this,t,e)};var ga=function(t){function e(e,n,r){this.source=e,this._st=n,this._s=r,t.call(this)}function n(t,e){e._open=!0}return tn(e,t),e.prototype.subscribeCore=function(t){return this._open=!1,new vn(this._s.scheduleFuture(this,this._st,n),this.source.subscribe(new ba(t,this)))},e}(Qn),ba=function(t){function e(e,n){this._o=e,this._p=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){
this._p._open&&this._o.onNext(t)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._o.onCompleted()},e}(Wn);zn.skipUntilWithTime=function(t,e){return wn(e)||(e=In),new ga(this,t,e)},zn.takeUntilWithTime=function(t,e){wn(e)||(e=In);var n=this;return new Sa(function(r){return new vn(e.scheduleFuture(r,t,function(t,e){e.onCompleted()}),n.subscribe(r))},n)},zn.throttle=function(t,e){wn(e)||(e=In);var n=+t||0;if(n<=0)throw new RangeError("windowDuration cannot be less or equal zero.");var r=this;return new Sa(function(t){var i=0;return r.subscribe(function(r){var o=e.now();(0===i||o-i>=n)&&(i=o,t.onNext(r))},function(e){t.onError(e)},function(){t.onCompleted()})},r)};var $a=function(t){function e(e,n){this._o=e,this._xform=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){var e=ie(this._xform["@@transducer/step"]).call(this._xform,this._o,t);e===re&&this._o.onError(e.e)},e.prototype.error=function(t){this._o.onError(t)},e.prototype.completed=function(){this._xform["@@transducer/result"](this._o)},e}(Wn);zn.transduce=function(t){var e=this;return new Sa(function(n){var r=t(Ht(n));return e.subscribe(new $a(n,r))},e)};var ya=function(t){function e(e){this.source=e,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){var e=new mn,n=new an,r={hasCurrent:!1,isStopped:!1,o:t,g:n};return n.add(e),e.setDisposable(this.source.subscribe(new Ea(r))),n},e}(Qn),Ea=function(t){function e(e){this._s=e,t.call(this)}function n(e,n){this._s=e,this._i=n,t.call(this)}return tn(e,t),e.prototype.next=function(t){if(!this._s.hasCurrent){this._s.hasCurrent=!0,ee(t)&&(t=lr(t));var e=new mn;this._s.g.add(e),e.setDisposable(t.subscribe(new n(this._s,e)))}},e.prototype.error=function(t){this._s.o.onError(t)},e.prototype.completed=function(){this._s.isStopped=!0,!this._s.hasCurrent&&1===this._s.g.length&&this._s.o.onCompleted()},tn(n,t),n.prototype.next=function(t){this._s.o.onNext(t)},n.prototype.error=function(t){this._s.o.onError(t)},n.prototype.completed=function(){this._s.g.remove(this._i),this._s.hasCurrent=!1,this._s.isStopped&&1===this._s.g.length&&this._s.o.onCompleted()},e}(Wn);zn.switchFirst=function(){return new ya(this)},zn.flatMapFirst=zn.exhaustMap=function(t,e,n){return new Jn(this,t,e,n).switchFirst()},zn.flatMapWithMaxConcurrent=zn.flatMapMaxConcurrent=function(t,e,n,r){return new Jn(this,e,n,r).merge(t)};var wa=Kt.VirtualTimeScheduler=function(t){function e(e,n){this.clock=e,this.comparer=n,this.isEnabled=!1,this.queue=new rn(1024),t.call(this)}tn(e,t);var n=e.prototype;return n.now=function(){return this.toAbsoluteTime(this.clock)},n.schedule=function(t,e){return this.scheduleAbsolute(t,this.clock,e)},n.scheduleFuture=function(t,e,n){var r=e instanceof Date?this.toRelativeTime(e-this.now()):this.toRelativeTime(e);return this.scheduleRelative(t,r,n)},n.add=fe,n.toAbsoluteTime=fe,n.toRelativeTime=fe,n.schedulePeriodic=function(t,e,n){var r=new xn(this,t,e,n);return r.start()},n.scheduleRelative=function(t,e,n){var r=this.add(this.clock,e);return this.scheduleAbsolute(t,r,n)},n.start=function(){if(!this.isEnabled){this.isEnabled=!0;do{var t=this.getNext();null!==t?(this.comparer(t.dueTime,this.clock)>0&&(this.clock=t.dueTime),t.invoke()):this.isEnabled=!1}while(this.isEnabled)}},n.stop=function(){this.isEnabled=!1},n.advanceTo=function(t){var e=this.comparer(this.clock,t);if(this.comparer(this.clock,t)>0)throw new he;if(0!==e&&!this.isEnabled){this.isEnabled=!0;do{var n=this.getNext();null!==n&&this.comparer(n.dueTime,t)<=0?(this.comparer(n.dueTime,this.clock)>0&&(this.clock=n.dueTime),n.invoke()):this.isEnabled=!1}while(this.isEnabled);this.clock=t}},n.advanceBy=function(t){var e=this.add(this.clock,t),n=this.comparer(this.clock,e);if(n>0)throw new he;0!==n&&this.advanceTo(e)},n.sleep=function(t){var e=this.add(this.clock,t);if(this.comparer(this.clock,e)>=0)throw new he;this.clock=e},n.getNext=function(){for(;this.queue.length>0;){var t=this.queue.peek();if(!t.isCancelled())return t;this.queue.dequeue()}return null},n.scheduleAbsolute=function(t,e,n){function r(t,e){return i.queue.remove(o),n(t,e)}var i=this,o=new $n(this,t,r,e,this.comparer);return this.queue.enqueue(o),o.disposable},e}(yn);Kt.HistoricalScheduler=function(t){function e(e,n){var r=null==e?0:e,i=n||Jt;t.call(this,r,i)}tn(e,t);var n=e.prototype;return n.add=function(t,e){return t+e},n.toAbsoluteTime=function(t){return new Date(t).getTime()},n.toRelativeTime=function(t){return t},e}(Kt.VirtualTimeScheduler),Pt.prototype.equals=function(t){return t===this||null!=t&&("N"===t.kind&&this.predicate(t.value))},Rt.prototype.equals=function(t){return t===this||null!=t&&("E"===t.kind&&this.predicate(t.error))};var Ca=Kt.ReactiveTest={created:100,subscribed:200,disposed:1e3,onNext:function(t,e){return"function"==typeof e?new _a(t,new Pt(e)):new _a(t,Pn.createOnNext(e))},onError:function(t,e){return"function"==typeof e?new _a(t,new Rt(e)):new _a(t,Pn.createOnError(e))},onCompleted:function(t){return new _a(t,Pn.createOnCompleted())},subscribe:function(t,e){return new xa(t,e)}},_a=Kt.Recorded=function(t,e,n){this.time=t,this.value=e,this.comparer=n||Qt};_a.prototype.equals=function(t){return this.time===t.time&&this.comparer(this.value,t.value)},_a.prototype.toString=function(){return this.value.toString()+"@"+this.time};var xa=Kt.Subscription=function(t,e){this.subscribe=t,this.unsubscribe=e||Number.MAX_VALUE};xa.prototype.equals=function(t){return this.subscribe===t.subscribe&&this.unsubscribe===t.unsubscribe},xa.prototype.toString=function(){return"("+this.subscribe+", "+(this.unsubscribe===Number.MAX_VALUE?"Infinite":this.unsubscribe)+")"};var Ma=Kt.MockDisposable=function(t){this.scheduler=t,this.disposes=[],this.disposes.push(this.scheduler.clock)};Ma.prototype.dispose=function(){this.disposes.push(this.scheduler.clock)};var Aa=function(t){function e(e){t.call(this),this.scheduler=e,this.messages=[]}tn(e,t);var n=e.prototype;return n.onNext=function(t){this.messages.push(new _a(this.scheduler.clock,Pn.createOnNext(t)))},n.onError=function(t){this.messages.push(new _a(this.scheduler.clock,Pn.createOnError(t)))},n.onCompleted=function(){this.messages.push(new _a(this.scheduler.clock,Pn.createOnCompleted()))},e}(Bn);Lt.prototype.then=function(t,e){var n=this;this.subscriptions.push(new xa(this.scheduler.clock));var r,i=this.subscriptions.length-1,o=Kt.Observer.create(function(e){var s=t(e);if(s&&"function"==typeof s.then)r=s;else{var c=n.scheduler.clock;r=new Lt(n.scheduler,[Kt.ReactiveTest.onNext(c,a),Kt.ReactiveTest.onCompleted(c)])}var u=n.observers.indexOf(o);n.observers.splice(u,1),n.subscriptions[i]=new xa(n.subscriptions[i].subscribe,n.scheduler.clock)},function(t){e(t);var r=n.observers.indexOf(o);n.observers.splice(r,1),n.subscriptions[i]=new xa(n.subscriptions[i].subscribe,n.scheduler.clock)});return this.observers.push(o),r||new Lt(this.scheduler,this.messages)};var Ta=function(t){function e(e,n){t.call(this);var r,i,o=this;this.scheduler=e,this.messages=n,this.subscriptions=[],this.observers=[];for(var a=0,s=this.messages.length;a<s;a++)r=this.messages[a],i=r.value,function(t){e.scheduleAbsolute(null,r.time,function(){for(var e=o.observers.slice(0),n=0,r=e.length;n<r;n++)t.accept(e[n]);return ln})}(i)}return tn(e,t),e.prototype._subscribe=function(t){var e=this;this.observers.push(t),this.subscriptions.push(new xa(this.scheduler.clock));var n=this.subscriptions.length-1;return un(function(){var r=e.observers.indexOf(t);e.observers.splice(r,1),e.subscriptions[n]=new xa(e.subscriptions[n].subscribe,e.scheduler.clock)})},e}(Zn),ka=function(t){function e(e,n){t.call(this),this.scheduler=e,this.messages=n,this.subscriptions=[]}return tn(e,t),e.prototype._subscribe=function(t){var e,n,r=this;this.subscriptions.push(new xa(this.scheduler.clock));for(var i=this.subscriptions.length-1,o=new an,a=0,s=this.messages.length;a<s;a++)e=this.messages[a],n=e.value,function(n){o.add(r.scheduler.scheduleRelative(null,e.time,function(){return n.accept(t),ln}))}(n);return un(function(){r.subscriptions[i]=new xa(r.subscriptions[i].subscribe,r.scheduler.clock),o.dispose()})},e}(Zn);Kt.TestScheduler=function(t){function e(t,e){return t>e?1:t<e?-1:0}function n(){t.call(this,0,e)}return tn(n,t),n.prototype.scheduleAbsolute=function(e,n,r){return n<=this.clock&&(n=this.clock+1),t.prototype.scheduleAbsolute.call(this,e,n,r)},n.prototype.add=function(t,e){return t+e},n.prototype.toAbsoluteTime=function(t){return new Date(t).getTime()},n.prototype.toRelativeTime=function(t){return t},n.prototype.startScheduler=function(t,e){e||(e={}),null==e.created&&(e.created=Ca.created),null==e.subscribed&&(e.subscribed=Ca.subscribed),null==e.disposed&&(e.disposed=Ca.disposed);var n,r,i=this.createObserver();return this.scheduleAbsolute(null,e.created,function(){return n=t(),ln}),this.scheduleAbsolute(null,e.subscribed,function(){return r=n.subscribe(i),ln}),this.scheduleAbsolute(null,e.disposed,function(){return r.dispose(),ln}),this.start(),i},n.prototype.createHotObservable=function(){var t,e=arguments.length;if(Array.isArray(arguments[0]))t=arguments[0];else{t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}return new Ta(this,t)},n.prototype.createColdObservable=function(){var t,e=arguments.length;if(Array.isArray(arguments[0]))t=arguments[0];else{t=new Array(e);for(var n=0;n<e;n++)t[n]=arguments[n]}return new ka(this,t)},n.prototype.createResolvedPromise=function(t,e){return new Lt(this,[Kt.ReactiveTest.onNext(t,e),Kt.ReactiveTest.onCompleted(t)])},n.prototype.createRejectedPromise=function(t,e){return new Lt(this,[Kt.ReactiveTest.onError(t,e)])},n.prototype.createObserver=function(){return new Aa(this)},n}(wa);var Sa=Kt.AnonymousObservable=function(t){function e(t){return t&&ne(t.dispose)?t:ne(t)?un(t):ln}function n(t,n){var r=n[0],i=n[1],o=ie(i.__subscribe).call(i,r);o!==re||r.fail(re.e)||l(re.e),r.setDisposable(e(o))}function r(e,n){this.source=n,this.__subscribe=e,t.call(this)}return tn(r,t),r.prototype._subscribe=function(t){var e=new Na(t),r=[e,this];return kn.scheduleRequired()?kn.schedule(r,n):n(null,r),e},r}(Zn),Na=function(t){function e(e){t.call(this),this.observer=e,this.m=new mn}tn(e,t);var n=e.prototype;return n.next=function(t){var e=ie(this.observer.onNext).call(this.observer,t);e===re&&(this.dispose(),l(e.e))},n.error=function(t){var e=ie(this.observer.onError).call(this.observer,t);this.dispose(),e===re&&l(e.e)},n.completed=function(){var t=ie(this.observer.onCompleted).call(this.observer);this.dispose(),t===re&&l(t.e)},n.setDisposable=function(t){this.m.setDisposable(t)},n.getDisposable=function(){return this.m.getDisposable()},n.dispose=function(){t.prototype.dispose.call(this),this.m.dispose()},e}(Wn),Da=function(t){function e(e,n){this._m=e,this._u=n,t.call(this)}return tn(e,t),e.prototype.subscribeCore=function(t){return new vn(this._m.getDisposable(),this._u.subscribe(t))},e}(Qn),Oa=function(t){function e(e,n,r){t.call(this),this.key=e,this.underlyingObservable=r?new Da(r,n):n}return tn(e,t),e.prototype._subscribe=function(t){return this.underlyingObservable.subscribe(t)},e}(Zn),Ia=Kt.Subject=function(t){function e(){t.call(this),this.isDisposed=!1,this.isStopped=!1,this.observers=[],this.hasError=!1}return tn(e,t),en(e.prototype,Bn.prototype,{_subscribe:function(t){return hn(this),this.isStopped?this.hasError?(t.onError(this.error),ln):(t.onCompleted(),ln):(this.observers.push(t),new Ho(this,t))},hasObservers:function(){return hn(this),this.observers.length>0},onCompleted:function(){if(hn(this),!this.isStopped){this.isStopped=!0;for(var t=0,e=c(this.observers),n=e.length;t<n;t++)e[t].onCompleted();this.observers.length=0}},onError:function(t){if(hn(this),!this.isStopped){this.isStopped=!0,this.error=t,this.hasError=!0;for(var e=0,n=c(this.observers),r=n.length;e<r;e++)n[e].onError(t);this.observers.length=0}},onNext:function(t){if(hn(this),!this.isStopped)for(var e=0,n=c(this.observers),r=n.length;e<r;e++)n[e].onNext(t)},dispose:function(){this.isDisposed=!0,this.observers=null}}),e.create=function(t,e){return new La(t,e)},e}(Zn),Ha=Kt.AsyncSubject=function(t){function e(){t.call(this),this.isDisposed=!1,this.isStopped=!1,this.hasValue=!1,this.observers=[],this.hasError=!1}return tn(e,t),en(e.prototype,Bn.prototype,{_subscribe:function(t){return hn(this),this.isStopped?(this.hasError?t.onError(this.error):this.hasValue?(t.onNext(this.value),t.onCompleted()):t.onCompleted(),ln):(this.observers.push(t),new Ho(this,t))},hasObservers:function(){return hn(this),this.observers.length>0},onCompleted:function(){var t,e;if(hn(this),!this.isStopped){this.isStopped=!0;var n=c(this.observers),e=n.length;if(this.hasValue)for(t=0;t<e;t++){var r=n[t];r.onNext(this.value),r.onCompleted()}else for(t=0;t<e;t++)n[t].onCompleted();this.observers.length=0}},onError:function(t){if(hn(this),!this.isStopped){this.isStopped=!0,this.hasError=!0,this.error=t;for(var e=0,n=c(this.observers),r=n.length;e<r;e++)n[e].onError(t);this.observers.length=0}},onNext:function(t){hn(this),this.isStopped||(this.value=t,this.hasValue=!0)},dispose:function(){this.isDisposed=!0,this.observers=null,this.error=null,this.value=null}}),e}(Zn),Pa=Kt.BehaviorSubject=function(t){function e(e){t.call(this),this.value=e,this.observers=[],this.isDisposed=!1,this.isStopped=!1,this.hasError=!1}return tn(e,t),en(e.prototype,Bn.prototype,{_subscribe:function(t){return hn(this),this.isStopped?(this.hasError?t.onError(this.error):t.onCompleted(),ln):(this.observers.push(t),t.onNext(this.value),new Ho(this,t))},getValue:function(){return hn(this),this.hasError&&l(this.error),this.value},hasObservers:function(){return hn(this),this.observers.length>0},onCompleted:function(){if(hn(this),!this.isStopped){this.isStopped=!0;for(var t=0,e=c(this.observers),n=e.length;t<n;t++)e[t].onCompleted();this.observers.length=0}},onError:function(t){if(hn(this),!this.isStopped){this.isStopped=!0,this.hasError=!0,this.error=t;for(var e=0,n=c(this.observers),r=n.length;e<r;e++)n[e].onError(t);this.observers.length=0}},onNext:function(t){if(hn(this),!this.isStopped){this.value=t;for(var e=0,n=c(this.observers),r=n.length;e<r;e++)n[e].onNext(t)}},dispose:function(){this.isDisposed=!0,this.observers=null,this.value=null,this.error=null}}),e}(Zn),Ra=Kt.ReplaySubject=function(t){function e(t,e){return un(function(){e.dispose(),!t.isDisposed&&t.observers.splice(t.observers.indexOf(e),1)})}function n(e,n,i){this.bufferSize=null==e?r:e,this.windowSize=null==n?r:n,this.scheduler=i||kn,this.q=[],this.observers=[],this.isStopped=!1,this.isDisposed=!1,this.hasError=!1,this.error=null,t.call(this)}var r=Math.pow(2,53)-1;return tn(n,t),en(n.prototype,Bn.prototype,{_subscribe:function(t){hn(this);var n=new Gn(this.scheduler,t),r=e(this,n);this._trim(this.scheduler.now()),this.observers.push(n);for(var i=0,o=this.q.length;i<o;i++)n.onNext(this.q[i].value);return this.hasError?n.onError(this.error):this.isStopped&&n.onCompleted(),n.ensureActive(),r},hasObservers:function(){return hn(this),this.observers.length>0},_trim:function(t){for(;this.q.length>this.bufferSize;)this.q.shift();for(;this.q.length>0&&t-this.q[0].interval>this.windowSize;)this.q.shift()},onNext:function(t){if(hn(this),!this.isStopped){var e=this.scheduler.now();this.q.push({interval:e,value:t}),this._trim(e);for(var n=0,r=c(this.observers),i=r.length;n<i;n++){var o=r[n];o.onNext(t),o.ensureActive()}}},onError:function(t){if(hn(this),!this.isStopped){this.isStopped=!0,this.error=t,this.hasError=!0;var e=this.scheduler.now();this._trim(e);for(var n=0,r=c(this.observers),i=r.length;n<i;n++){var o=r[n];o.onError(t),o.ensureActive()}this.observers.length=0}},onCompleted:function(){if(hn(this),!this.isStopped){this.isStopped=!0;var t=this.scheduler.now();this._trim(t);for(var e=0,n=c(this.observers),r=n.length;e<r;e++){var i=n[e];i.onCompleted(),i.ensureActive()}this.observers.length=0}},dispose:function(){this.isDisposed=!0,this.observers=null}}),n}(Zn),La=Kt.AnonymousSubject=function(t){function e(e,n){this.observer=e,this.observable=n,t.call(this)}return tn(e,t),en(e.prototype,Bn.prototype,{_subscribe:function(t){return this.observable.subscribe(t)},onCompleted:function(){this.observer.onCompleted()},onError:function(t){this.observer.onError(t)},onNext:function(t){this.observer.onNext(t)}}),e}(Zn);Kt.Pauser=function(t){function e(){t.call(this)}return tn(e,t),e.prototype.pause=function(){this.onNext(!1)},e.prototype.resume=function(){this.onNext(!0)},e}(Ia),Yt.Rx=Kt,r=function(){return Kt}.call(e,n,e,t),!(r!==a&&(t.exports=r));var Fa=f()}).call(this)}).call(e,n(11)(t),function(){return this}(),n(202))},11:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},189:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(t,e,n){if(!t)throw ft("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function r(t,e){return t||e?t?e?(G(t)&&(t=t.join(" ")),G(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function i(t){var e={};return t&&(t.to||t.from)&&(e.to=t.to,e.from=t.from),e}function o(t,e,n){var r="";return t=G(t)?t:t&&tt(t)&&t.length?t.split(/\s+/):[],K(t,function(t,i){t&&t.length>0&&(r+=i>0?" ":"",r+=n?e+t:t+e)}),r}function a(t,e){var n=t.indexOf(e);e>=0&&t.splice(n,1)}function s(t){if(t instanceof nt)switch(t.length){case 0:return t;case 1:if(t[0].nodeType===R)return t;break;default:return nt(c(t))}if(t.nodeType===R)return nt(t)}function c(t){if(!t[0])return t;for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===R)return n}}function u(t,e,n){K(e,function(e){t.addClass(e,n)})}function l(t,e,n){K(e,function(e){t.removeClass(e,n)})}function d(t){return function(e,n){n.addClass&&(u(t,e,n.addClass),n.addClass=null),n.removeClass&&(l(t,e,n.removeClass),n.removeClass=null)}}function h(t){if(t=t||{},!t.$$prepared){var e=t.domOperation||rt;t.domOperation=function(){t.$$domOperationFired=!0,e(),e=rt},t.$$prepared=!0}return t}function p(t,e){m(t,e),f(t,e)}function m(t,e){e.from&&(t.css(e.from),e.from=null)}function f(t,e){e.to&&(t.css(e.to),e.to=null)}function v(t,e,n){var r=e.options||{},i=n.options||{},o=(r.addClass||"")+" "+(i.addClass||""),a=(r.removeClass||"")+" "+(i.removeClass||""),s=g(t.attr("class"),o,a);i.preparationClasses&&(r.preparationClasses=_(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var c=r.domOperation!==rt?r.domOperation:null;return Y(r,i),c&&(r.domOperation=c),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,e.addClass=r.addClass,e.removeClass=r.removeClass,r}function g(t,e,n){function r(t){tt(t)&&(t=t.split(" "));var e={};return K(t,function(t){t.length&&(e[t]=!0)}),e}var i=1,o=-1,a={};t=r(t),e=r(e),K(e,function(t,e){a[e]=i}),n=r(n),K(n,function(t,e){a[e]=a[e]===i?null:o});var s={addClass:"",removeClass:""};return K(a,function(e,n){var r,a;e===i?(r="addClass",a=!t[n]||t[n+F]):e===o&&(r="removeClass",a=t[n]||t[n+L]),a&&(s[r].length&&(s[r]+=" "),s[r]+=n)}),s}function b(t){return t instanceof nt?t[0]:t}function $(t,e,n){var r="";e&&(r=o(e,j,!0)),n.addClass&&(r=_(r,o(n.addClass,L))),n.removeClass&&(r=_(r,o(n.removeClass,F))),r.length&&(n.preparationClasses=r,t.addClass(r))}function y(t,e){e.preparationClasses&&(t.removeClass(e.preparationClasses),e.preparationClasses=null),e.activeClasses&&(t.removeClass(e.activeClasses),e.activeClasses=null)}function E(t,e){var n=e?"-"+e+"s":"";return C(t,[pt,n]),[pt,n]}function w(t,e){var n=e?"paused":"",r=H+ut;return C(t,[r,n]),[r,n]}function C(t,e){var n=e[0],r=e[1];t.style[n]=r}function _(t,e){return t?e?t+" "+e:t:e}function x(t){return[ht,t+"s"]}function M(t,e){var n=e?dt:pt;return[n,t+"s"]}function A(t,e,n){var r=Object.create(null),i=t.getComputedStyle(e)||{};return K(n,function(t,e){var n=i[t];if(n){var o=n.charAt(0);("-"===o||"+"===o||o>=0)&&(n=T(n)),0===n&&(n=null),r[e]=n}}),r}function T(t){var e=0,n=t.split(/\s*,\s*/);return K(n,function(t){"s"===t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,e=e?Math.max(t,e):t}),e}function k(t){return 0===t||null!=t}function S(t,e){var n=O,r=t+"s";return e?n+=it:r+=" linear all",[n,r]}function N(){var t=Object.create(null);return{flush:function(){t=Object.create(null)},count:function(e){var n=t[e];return n?n.total:0},get:function(e){var n=t[e];return n&&n.value},put:function(e,n){t[e]?t[e].total++:t[e]={total:1,value:n}}}}function D(t,e,n){K(n,function(n){t[n]=X(t[n])?t[n]:e.style.getPropertyValue(n)})}var O,I,H,P,R=1,L="-add",F="-remove",j="ng-",q="-active",V="-prepare",B="ng-animate",U="$$ngAnimateChildren",z="";void 0===t.ontransitionend&&void 0!==t.onwebkittransitionend?(z="-webkit-",O="WebkitTransition",I="webkitTransitionEnd transitionend"):(O="transition",I="transitionend"),void 0===t.onanimationend&&void 0!==t.onwebkitanimationend?(z="-webkit-",H="WebkitAnimation",P="webkitAnimationEnd animationend"):(H="animation",P="animationend");var W,Y,K,G,X,Z,Q,J,tt,et,nt,rt,it="Duration",ot="Property",at="Delay",st="TimingFunction",ct="IterationCount",ut="PlayState",lt=9999,dt=H+at,ht=H+it,pt=O+at,mt=O+it,ft=e.$$minErr("ng"),vt=["$$rAF",function(t){function e(t){r=r.concat(t),n()}function n(){if(r.length){for(var e=r.shift(),o=0;o<e.length;o++)e[o]();i||t(function(){i||n()})}}var r,i;return r=e.queue=[],e.waitUntilQuiet=function(e){i&&i(),i=t(function(){i=null,e(),n()})},e}],gt=["$interpolate",function(t){return{link:function(e,n,r){function i(t){t="on"===t||"true"===t,n.data(U,t)}var o=r.ngAnimateChildren;tt(o)&&0===o.length?n.data(U,!0):(i(t(o)(e)),r.$observe("ngAnimateChildren",i))}}}],bt="$$animateCss",$t=1e3,yt=3,Et=1.5,wt={transitionDuration:mt,transitionDelay:pt,transitionProperty:O+ot,animationDuration:ht,animationDelay:dt,animationIterationCount:H+ct},Ct={transitionDuration:mt,transitionDelay:pt,animationDuration:ht,animationDelay:dt},_t=["$animateProvider",function(t){var e=N(),n=N();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(t,r,s,c,u,l,v,g){function $(t,e){var n="$$ngAnimateParentKey",r=t.parentNode,i=r[n]||(r[n]=++V);return i+"-"+t.getAttribute("class")+"-"+e}function y(n,r,i,o){var a=e.get(i);return a||(a=A(t,n,o),"infinite"===a.animationIterationCount&&(a.animationIterationCount=1)),e.put(i,a),a}function _(i,a,s,c){var u;if(e.count(s)>0&&(u=n.get(s),!u)){var l=o(a,"-stagger");r.addClass(i,l),u=A(t,i,c),u.animationDuration=Math.max(u.animationDuration,0),u.transitionDuration=Math.max(u.transitionDuration,0),r.removeClass(i,l),n.put(s,u)}return u||{}}function T(t){B.push(t),v.waitUntilQuiet(function(){e.flush(),n.flush();for(var t=u(),r=0;r<B.length;r++)B[r](t);B.length=0})}function N(t,e,n){var r=y(t,e,n,wt),i=r.animationDelay,o=r.transitionDelay;return r.maxDelay=i&&o?Math.max(i,o):i||o,r.maxDuration=Math.max(r.animationDuration*r.animationIterationCount,r.transitionDuration),r}var R=d(r),V=0,B=[];return function(t,n){function u(){v()}function d(){v(!0)}function v(e){if(!(X||Q&&Z)){X=!0,Z=!1,U.$$skipPreparationClasses||r.removeClass(t,wt),r.removeClass(t,xt),w(Y,!1),E(Y,!1),K(ut,function(t){Y.style[t[0]]=""}),R(t,U),p(t,U),Object.keys(z).length&&K(z,function(t,e){t?Y.style.setProperty(e,t):Y.style.removeProperty(e)}),U.onDone&&U.onDone(),pt&&pt.length&&t.off(pt.join(" "),V);var n=t.data(bt);n&&(c.cancel(n[0].timer),t.removeData(bt)),J&&J.complete(!e)}}function y(t){Ft.blockTransition&&E(Y,t),Ft.blockKeyframeAnimation&&w(Y,!!t)}function A(){return J=new s({end:u,cancel:d}),T(rt),v(),{$$willAnimate:!1,start:function(){return J},end:u}}function V(t){t.stopPropagation();var e=t.originalEvent||t,n=e.$manualTimeStamp||Date.now(),r=parseFloat(e.elapsedTime.toFixed(yt));Math.max(n-ct,0)>=nt&&r>=it&&(Q=!0,v())}function B(){function e(){if(!X){if(y(!1),K(ut,function(t){var e=t[0],n=t[1];Y.style[e]=n}),R(t,U),r.addClass(t,xt),Ft.recalculateTimingStyles){if(_t=Y.getAttribute("class")+" "+wt,Tt=$(Y,_t),Rt=N(Y,_t,Tt),Lt=Rt.maxDelay,et=Math.max(Lt,0),it=Rt.maxDuration,0===it)return void v();Ft.hasTransitions=Rt.transitionDuration>0,Ft.hasAnimations=Rt.animationDuration>0}if(Ft.applyAnimationDelay&&(Lt="boolean"!=typeof U.delay&&k(U.delay)?parseFloat(U.delay):Lt,et=Math.max(Lt,0),Rt.animationDelay=Lt,jt=M(Lt,!0),ut.push(jt),Y.style[jt[0]]=jt[1]),nt=et*$t,at=it*$t,U.easing){var e,i=U.easing;Ft.hasTransitions&&(e=O+st,ut.push([e,i]),Y.style[e]=i),Ft.hasAnimations&&(e=H+st,ut.push([e,i]),Y.style[e]=i)}Rt.transitionDuration&&pt.push(I),Rt.animationDuration&&pt.push(P),ct=Date.now();var o=nt+Et*at,a=ct+o,s=t.data(bt)||[],u=!0;if(s.length){var l=s[0];u=a>l.expectedEndTime,u?c.cancel(l.timer):s.push(v)}if(u){var d=c(n,o,!1);s[0]={timer:d,expectedEndTime:a},s.push(v),t.data(bt,s)}pt.length&&t.on(pt.join(" "),V),U.to&&(U.cleanupStyles&&D(z,Y,Object.keys(U.to)),f(t,U))}}function n(){var e=t.data(bt);if(e){for(var n=1;n<e.length;n++)e[n]();t.removeData(bt)}}if(!X){if(!Y.parentNode)return void v();var i=function(t){if(Q)Z&&t&&(Z=!1,v());else if(Z=!t,Rt.animationDuration){var e=w(Y,Z);Z?ut.push(e):a(ut,e)}},o=Ht>0&&(Rt.transitionDuration&&0===kt.transitionDuration||Rt.animationDuration&&0===kt.animationDuration)&&Math.max(kt.animationDelay,kt.transitionDelay);o?c(e,Math.floor(o*Ht*$t),!1):e(),tt.resume=function(){i(!0)},tt.pause=function(){i(!1)}}}var U=n||{};U.$$prepared||(U=h(W(U)));var z={},Y=b(t);if(!Y||!Y.parentNode||!g.enabled())return A();var X,Z,Q,J,tt,et,nt,it,at,ct,ut=[],dt=t.attr("class"),ht=i(U),pt=[];if(0===U.duration||!l.animations&&!l.transitions)return A();var mt=U.event&&G(U.event)?U.event.join(" "):U.event,ft=mt&&U.structural,vt="",gt="";ft?vt=o(mt,j,!0):mt&&(vt=mt),U.addClass&&(gt+=o(U.addClass,L)),U.removeClass&&(gt.length&&(gt+=" "),gt+=o(U.removeClass,F)),U.applyClassesEarly&&gt.length&&R(t,U);var wt=[vt,gt].join(" ").trim(),_t=dt+" "+wt,xt=o(wt,q),Mt=ht.to&&Object.keys(ht.to).length>0,At=(U.keyframeStyle||"").length>0;if(!At&&!Mt&&!wt)return A();var Tt,kt;if(U.stagger>0){var St=parseFloat(U.stagger);kt={transitionDelay:St,animationDelay:St,transitionDuration:0,animationDuration:0}}else Tt=$(Y,_t),kt=_(Y,wt,Tt,Ct);U.$$skipPreparationClasses||r.addClass(t,wt);var Nt;if(U.transitionStyle){var Dt=[O,U.transitionStyle];C(Y,Dt),ut.push(Dt)}if(U.duration>=0){Nt=Y.style[O].length>0;var Ot=S(U.duration,Nt);C(Y,Ot),ut.push(Ot)}if(U.keyframeStyle){var It=[H,U.keyframeStyle];C(Y,It),ut.push(It)}var Ht=kt?U.staggerIndex>=0?U.staggerIndex:e.count(Tt):0,Pt=0===Ht;Pt&&!U.skipBlocking&&E(Y,lt);var Rt=N(Y,_t,Tt),Lt=Rt.maxDelay;et=Math.max(Lt,0),it=Rt.maxDuration;var Ft={};if(Ft.hasTransitions=Rt.transitionDuration>0,Ft.hasAnimations=Rt.animationDuration>0,Ft.hasTransitionAll=Ft.hasTransitions&&"all"===Rt.transitionProperty,Ft.applyTransitionDuration=Mt&&(Ft.hasTransitions&&!Ft.hasTransitionAll||Ft.hasAnimations&&!Ft.hasTransitions),Ft.applyAnimationDuration=U.duration&&Ft.hasAnimations,Ft.applyTransitionDelay=k(U.delay)&&(Ft.applyTransitionDuration||Ft.hasTransitions),Ft.applyAnimationDelay=k(U.delay)&&Ft.hasAnimations,Ft.recalculateTimingStyles=gt.length>0,(Ft.applyTransitionDuration||Ft.applyAnimationDuration)&&(it=U.duration?parseFloat(U.duration):it,Ft.applyTransitionDuration&&(Ft.hasTransitions=!0,Rt.transitionDuration=it,Nt=Y.style[O+ot].length>0,ut.push(S(it,Nt))),Ft.applyAnimationDuration&&(Ft.hasAnimations=!0,Rt.animationDuration=it,ut.push(x(it)))),0===it&&!Ft.recalculateTimingStyles)return A();if(null!=U.delay){var jt;"boolean"!=typeof U.delay&&(jt=parseFloat(U.delay),et=Math.max(jt,0)),Ft.applyTransitionDelay&&ut.push(M(jt)),Ft.applyAnimationDelay&&ut.push(M(jt,!0))}return null==U.duration&&Rt.transitionDuration>0&&(Ft.recalculateTimingStyles=Ft.recalculateTimingStyles||Pt),nt=et*$t,at=it*$t,U.skipBlocking||(Ft.blockTransition=Rt.transitionDuration>0,Ft.blockKeyframeAnimation=Rt.animationDuration>0&&kt.animationDelay>0&&0===kt.animationDuration),U.from&&(U.cleanupStyles&&D(z,Y,Object.keys(U.from)),m(t,U)),Ft.blockTransition||Ft.blockKeyframeAnimation?y(it):U.skipBlocking||E(Y,!1),{$$willAnimate:!0,end:u,start:function(){if(!X)return tt={end:u,cancel:d,resume:null,pause:null},J=new s(tt),T(B),J}}}}]}],xt=["$$animationProvider",function(t){function e(t){return t.parentNode&&11===t.parentNode.nodeType}t.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(t,a,s,c,u,l,d){function h(t){return t.replace(/\bng-\S+\b/g,"")}function p(t,e){return tt(t)&&(t=t.split(" ")),tt(e)&&(e=e.split(" ")),t.filter(function(t){return e.indexOf(t)===-1}).join(" ")}function m(e,a,c){function u(t){var e={},n=b(t).getBoundingClientRect();return K(["width","height","top","left"],function(t){var r=n[t];switch(t){case"top":r+=g.scrollTop;break;case"left":r+=g.scrollLeft}e[t]=Math.floor(r)+"px"}),e}function l(){var e=t(v,{addClass:i,delay:!0,from:u(a)});return e.$$willAnimate?e:null}function d(t){return t.attr("class")||""}function m(){var e=h(d(c)),n=p(e,$),r=p($,e),a=t(v,{to:u(c),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function f(){v.remove(),a.removeClass(n),c.removeClass(n)}var v=nt(b(a).cloneNode(!0)),$=h(d(v));a.addClass(n),c.addClass(n),v.addClass(r),y.append(v);var E,w=l();if(!w&&(E=m(),!E))return f();var C=w||E;return{start:function(){function t(){n&&n.end()}var e,n=C.start();return n.done(function(){return n=null,!E&&(E=m())?(n=E.start(),n.done(function(){n=null,f(),e.complete()}),n):(f(),void e.complete())}),e=new s({end:t,cancel:t})}}}function f(t,e,n,r){var i=v(t,rt),o=v(e,rt),a=[];if(K(r,function(t){var e=t.out,r=t.in,i=m(n,e,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function t(){K(e,function(t){t.end()})}var e=[];i&&e.push(i.start()),o&&e.push(o.start()),K(a,function(t){e.push(t.start())});var n=new s({end:t,cancel:t});return s.all(e,function(t){n.complete(t)}),n}}}function v(e){var n=e.element,r=e.options||{};e.structural&&(r.event=e.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===e.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=_(r.event,r.preparationClasses));var i=t(n,r);return i.$$willAnimate?i:null}if(!u.animations&&!u.transitions)return rt;var g=d[0].body,$=b(c),y=nt(e($)||g.contains($)?$:g);return function(t){return t.from&&t.to?f(t.from,t.to,t.classes,t.anchors):v(t)}}]}],Mt=["$animateProvider",function(t){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(e,n,r){function i(n){n=G(n)?n:n.split(" ");for(var r=[],i={},o=0;o<n.length;o++){var a=n[o],s=t.$$registeredAnimations[a];s&&!i[a]&&(r.push(e.get(s)),i[a]=!0)}return r}var o=d(r);return function(t,e,r,a){function s(){a.domOperation(),o(t,a)}function c(){m=!0,s(),p(t,a)}function u(t,e,r,i,o){var a;switch(r){case"animate":a=[e,i.from,i.to,o];break;case"setClass":a=[e,g,b,o];break;case"addClass":a=[e,g,o];break;case"removeClass":a=[e,b,o];break;default:a=[e,o]}a.push(i);var s=t.apply(t,a);if(s)if(Q(s.start)&&(s=s.start()),s instanceof n)s.done(o);else if(Q(s))return s;return rt}function l(t,e,r,i,o){var a=[];return K(i,function(i){var s=i[o];s&&a.push(function(){var i,o,a=!1,c=function(t){a||(a=!0,(o||rt)(t),i.complete(!t))};return i=new n({end:function(){c()},cancel:function(){c(!0)}}),o=u(s,t,e,r,function(t){var e=t===!1;c(e)}),i})}),a}function d(t,e,r,i,o){var a=l(t,e,r,i,o);if(0===a.length){var s,c;"beforeSetClass"===o?(s=l(t,"removeClass",r,i,"beforeRemoveClass"),c=l(t,"addClass",r,i,"beforeAddClass")):"setClass"===o&&(s=l(t,"removeClass",r,i,"removeClass"),c=l(t,"addClass",r,i,"addClass")),s&&(a=a.concat(s)),c&&(a=a.concat(c))}if(0!==a.length)return function(t){var e=[];return a.length&&K(a,function(t){e.push(t())}),e.length?n.all(e,t):t(),function(t){K(e,function(e){t?e.cancel():e.end()})}}}var m=!1;3===arguments.length&&J(r)&&(a=r,r=null),a=h(a),r||(r=t.attr("class")||"",a.addClass&&(r+=" "+a.addClass),a.removeClass&&(r+=" "+a.removeClass));var f,v,g=a.addClass,b=a.removeClass,$=i(r);if($.length){var y,E;"leave"===e?(E="leave",y="afterLeave"):(E="before"+e.charAt(0).toUpperCase()+e.substr(1),y=e),"enter"!==e&&"move"!==e&&(f=d(t,e,a,$,E)),v=d(t,e,a,$,y)}if(f||v){var w;return{$$willAnimate:!0,end:function(){return w?w.end():(c(),w=new n,w.complete(!0)),w},start:function(){function t(t){c(t),w.complete(t)}function e(e){m||((r||rt)(e),t(e))}if(w)return w;w=new n;var r,i=[];return f&&i.push(function(t){r=f(t)}),i.length?i.push(function(t){s(),t(!0)}):s(),v&&i.push(function(t){r=v(t)}),w.setHost({end:function(){e()},cancel:function(){e(!0)}}),n.chain(i,t),w}}}}}]}],At=["$$animationProvider",function(t){t.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(t,e){function n(e){var n=e.element,r=e.event,i=e.options,o=e.classes;return t(n,r,o,i)}return function(t){if(t.from&&t.to){var r=n(t.from),i=n(t.to);if(!r&&!i)return;return{start:function(){function t(){return function(){K(o,function(t){t.end()})}}function n(t){a.complete(t)}var o=[];r&&o.push(r.start()),i&&o.push(i.start()),e.all(o,n);var a=new e({end:t(),cancel:t()});return a}}}return n(t)}}]}],Tt="data-ng-animate",kt="$ngAnimatePin",St=["$animateProvider",function(e){function r(t){if(!t)return null;var e=t.split(m),n=Object.create(null);return K(e,function(t){n[t]=!0}),n}function i(t,e){if(t&&e){var n=r(e);return t.split(m).some(function(t){return n[t]})}}function o(t,e,n){return f[t].some(function(t){return t(e,n)})}function a(t,e){var n=(t.addClass||"").length>0,r=(t.removeClass||"").length>0;return e?n&&r:n||r}var u=1,l=2,m=" ",f=this.rules={skip:[],cancel:[],join:[]};f.join.push(function(t,e){return!t.structural&&a(t)}),f.skip.push(function(t,e){return!t.structural&&!a(t)}),f.skip.push(function(t,e){return"leave"===e.event&&t.structural}),f.skip.push(function(t,e){return e.structural&&e.state===l&&!t.structural}),f.cancel.push(function(t,e){return e.structural&&t.structural}),f.cancel.push(function(t,e){return e.state===l&&t.structural}),f.cancel.push(function(t,e){if(e.structural)return!1;var n=t.addClass,r=t.removeClass,o=e.addClass,a=e.removeClass;return!(et(n)&&et(r)||et(o)&&et(a))&&(i(n,a)||i(r,o))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$Map","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,m,f,g,E,w,C,_,x,M){function A(){var t=!1;return function(e){t?e():i.$$postDigest(function(){t=!0,e()})}}function T(t,e){return v(t,e,{})}function k(t,e,n){var r=[],i=V[n];return i&&K(i,function(i){rt.call(i.node,e)?r.push(i.callback):"leave"===n&&rt.call(i.node,t)&&r.push(i.callback)}),r}function S(t,e,n){var r=c(e);return t.filter(function(t){var e=t.node===r&&(!n||t.callback===n);return!e})}function N(t,e){"close"!==t||e.parentNode||it.off(e)}function D(t,e,n){function c(t,e,n,i){x(function(){var t=k(C,g,e);t.length?r(function(){K(t,function(t){t(f,n,i)}),N(n,g)}):N(n,g)}),t.progress(e,n,i)}function d(t){y(f,m),Q(f,m),p(f,m),m.domOperation(),_.complete(!t)}var m=W(n),f=s(t),g=b(f),C=g&&g.parentNode;m=h(m);var _=new w,x=A();if(G(m.addClass)&&(m.addClass=m.addClass.join(" ")),m.addClass&&!tt(m.addClass)&&(m.addClass=null),G(m.removeClass)&&(m.removeClass=m.removeClass.join(" ")),m.removeClass&&!tt(m.removeClass)&&(m.removeClass=null),m.from&&!J(m.from)&&(m.from=null),m.to&&!J(m.to)&&(m.to=null),!g)return d(),_;var S=[g.getAttribute("class"),m.addClass,m.removeClass].join(" ");if(!z(S))return d(),_;var D=["enter","move","leave"].indexOf(e)>=0,R=M(),q=!j||R||F.get(g),V=!q&&L.get(g)||{},B=!!V.state;if(q||B&&V.state===u||(q=!H(g,C,e)),q)return R&&c(_,e,"start"),d(),R&&c(_,e,"close"),_;D&&O(g);var U={structural:D,element:f,event:e,addClass:m.addClass,removeClass:m.removeClass,close:d,options:m,runner:_};if(B){var Y=o("skip",U,V);if(Y)return V.state===l?(d(),_):(v(f,V,U),V.runner);var X=o("cancel",U,V);if(X)if(V.state===l)V.runner.end();else{if(!V.structural)return v(f,V,U),V.runner;V.close()}else{var Z=o("join",U,V);if(Z){if(V.state!==l)return $(f,D?e:null,m),e=U.event=V.event,m=v(f,V,U),V.runner;T(f,U)}}}else T(f,U);var et=U.structural;if(et||(et="animate"===U.event&&Object.keys(U.options.to||{}).length>0||a(U)),!et)return d(),I(g),_;var nt=(V.counter||0)+1;return U.counter=nt,P(g,u,U),i.$$postDigest(function(){f=s(t);var n=L.get(g),r=!n;n=n||{};var i=f.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==nt||!o)return r&&(Q(f,m),p(f,m)),(r||D&&n.event!==e)&&(m.domOperation(),_.end()),void(o||I(g));e=!n.structural&&a(n,!0)?"setClass":n.event,P(g,l);var u=E(f,e,n.options);_.setHost(u),c(_,e,"start",{}),u.done(function(t){d(!t);var n=L.get(g);n&&n.counter===nt&&I(g),c(_,e,"close",{})})}),_}function O(t){var e=t.querySelectorAll("["+Tt+"]");K(e,function(t){var e=parseInt(t.getAttribute(Tt),10),n=L.get(t);if(n)switch(e){case l:n.runner.end();case u:L.delete(t)}})}function I(t){t.removeAttribute(Tt),L.delete(t)}function H(t,e,n){var r,i=f[0].body,o=b(m),a=t===i||"HTML"===t.nodeName,s=t===o,c=!1,u=F.get(t),l=nt.data(t,kt);for(l&&(e=b(l));e&&(s||(s=e===o),e.nodeType===R);){var d=L.get(e)||{};if(!c){var h=F.get(e);if(h===!0&&u!==!1){u=!0;break}h===!1&&(u=!1),c=d.structural}if(et(r)||r===!0){var p=nt.data(e,U);X(p)&&(r=p)}if(c&&r===!1)break;if(a||(a=e===i),a&&s)break;e=s||!(l=nt.data(e,kt))?e.parentNode:b(l)}var v=(!c||r)&&u!==!0;return v&&s&&a}function P(t,e,n){n=n||{},n.state=e,t.setAttribute(Tt,e);var r=L.get(t),i=r?Y(r,n):n;L.set(t,i)}var L=new g,F=new g,j=null,q=i.$watch(function(){return 0===C.totalPendingRequests},function(t){t&&(q(),i.$$postDigest(function(){i.$$postDigest(function(){null===j&&(j=!0)})}))}),V=Object.create(null),B=e.classNameFilter(),z=B?function(t){return B.test(t)}:function(){return!0},Q=d(_),rt=t.Node.prototype.contains||function(t){return this===t||!!(16&this.compareDocumentPosition(t))},it={on:function(t,e,n){var r=c(e);V[t]=V[t]||[],V[t].push({node:r,callback:n}),nt(e).on("$destroy",function(){var i=L.get(r);i||it.off(t,e,n)})},off:function(t,e,n){if(1!==arguments.length||tt(arguments[0])){var r=V[t];r&&(V[t]=1===arguments.length?null:S(r,e,n))}else{e=arguments[0];for(var i in V)V[i]=S(V[i],e)}},pin:function(t,e){n(Z(t),"element","not an element"),n(Z(e),"parentElement","not an element"),t.data(kt,e)},push:function(t,e,n,r){return n=n||{},n.domOperation=r,D(t,e,n)},enabled:function(t,e){var n=arguments.length;if(0===n)e=!!j;else{var r=Z(t);if(r){var i=b(t);1===n?e=!F.get(i):F.set(i,!e)}else e=j=!!t}return e}};return it}]}],Nt=["$animateProvider",function(t){function e(t,e){t.data(s,e)}function n(t){t.removeData(s)}function i(t){return t.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$Map","$$rAFScheduler",function(t,s,c,u,l,m){function f(t){function e(t){if(t.processed)return t;t.processed=!0;var n=t.domNode,r=n.parentNode;o.set(n,t);for(var a;r;){if(a=o.get(r)){a.processed||(a=e(a));break}r=r.parentNode}return(a||i).children.push(t),t}function n(t){var e,n=[],r=[];for(e=0;e<t.children.length;e++)r.push(t.children[e]);var i=r.length,o=0,a=[];for(e=0;e<r.length;e++){var s=r[e];i<=0&&(i=o,o=0,n.push(a),a=[]),a.push(s.fn),s.children.forEach(function(t){o++,r.push(t)}),i--}return a.length&&n.push(a),n}var r,i={children:[]},o=new l;for(r=0;r<t.length;r++){var a=t[r];o.set(a.domNode,t[r]={domNode:a.domNode,fn:a.fn,children:[]})}for(r=0;r<t.length;r++)e(t[r]);return n(i)}var v=[],g=d(t);return function(l,d,$){function y(t){var e="["+o+"]",n=t.hasAttribute(o)?[t]:t.querySelectorAll(e),r=[];return K(n,function(t){var e=t.getAttribute(o);e&&e.length&&r.push(t)}),r}function E(t){var e=[],n={};K(t,function(t,r){var i=t.element,a=b(i),s=t.event,c=["enter","move"].indexOf(s)>=0,u=t.structural?y(a):[];if(u.length){var l=c?"to":"from";K(u,function(t){var e=t.getAttribute(o);n[e]=n[e]||{},n[e][l]={animationID:r,element:nt(t)}})}else e.push(t)});var r={},i={};return K(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var c=a?a.animationID:s.animationID,u=c.toString();return void(r[u]||(r[u]=!0,e.push(t[c])))}var l=t[a.animationID],d=t[s.animationID],h=a.animationID.toString();if(!i[h]){var p=i[h]={structural:!0,beforeStart:function(){l.beforeStart(),d.beforeStart()},close:function(){l.close(),d.close()},classes:w(l.classes,d.classes),from:l,to:d,anchors:[]};p.classes.length?e.push(p):(e.push(l),e.push(d))}i[h].anchors.push({out:a.element,in:s.element})}),e}function w(t,e){t=t.split(" "),e=e.split(" ");for(var n=[],r=0;r<t.length;r++){var i=t[r];if("ng-"!==i.substring(0,3))for(var o=0;o<e.length;o++)if(i===e[o]){n.push(i);break}}return n.join(" ")}function C(t){for(var e=a.length-1;e>=0;e--){var n=a[e],r=c.get(n),i=r(t);if(i)return i}}function _(){l.addClass(B),N&&t.addClass(l,N),D&&(t.removeClass(l,D),D=null)}function x(t,e){function n(t){var n=i(t);n&&n.setHost(e)}t.from&&t.to?(n(t.from.element),n(t.to.element)):n(t.element)}function M(){var t=i(l);!t||"leave"===d&&$.$$domOperationFired||t.end()}function A(e){l.off("$destroy",M),n(l),g(l,$),p(l,$),$.domOperation(),N&&t.removeClass(l,N),l.removeClass(B),k.complete(!e)}$=h($);var T=["enter","move","leave"].indexOf(d)>=0,k=new u({end:function(){A()},cancel:function(){A(!0)}});if(!a.length)return A(),k;e(l,k);var S=r(l.attr("class"),r($.addClass,$.removeClass)),N=$.tempClasses;N&&(S+=" "+N,$.tempClasses=null);var D;return T&&(D="ng-"+d+V,t.addClass(l,D)),v.push({element:l,classes:S,event:d,structural:T,options:$,beforeStart:_,close:A}),l.on("$destroy",M),v.length>1?k:(s.$$postDigest(function(){var t=[];K(v,function(e){i(e.element)?t.push(e):e.close()}),v.length=0;var e=E(t),n=[];K(e,function(t){n.push({domNode:b(t.from?t.from.element:t.element),fn:function(){t.beforeStart();var e,n=t.close,r=t.anchors?t.from.element||t.to.element:t.element;if(i(r)){var o=C(t);o&&(e=o.start)}if(e){var a=e();a.done(function(t){n(!t)}),x(t,a)}else n()}})}),m(f(n))}),k)}}]}],Dt=["$animate","$rootScope",function(t,e){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(e,n,r,i,o){var a,s;e.$watchCollection(r.ngAnimateSwap||r.for,function(r){a&&t.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=e.$new(),o(s,function(e){a=e,t.enter(e,null,n)}))})}}}];e.module("ngAnimate",[],function(){rt=e.noop,W=e.copy,Y=e.extend,nt=e.element,K=e.forEach,G=e.isArray,tt=e.isString,J=e.isObject,et=e.isUndefined,X=e.isDefined,Q=e.isFunction,Z=e.isElement}).info({angularVersion:"1.6.4"}).directive("ngAnimateSwap",Dt).directive("ngAnimateChildren",gt).factory("$$rAFScheduler",vt).provider("$$animateQueue",St).provider("$$animation",Nt).provider("$animateCss",_t).provider("$$animateCssDriver",xt).provider("$$animateJs",Mt).provider("$$animateJsDriver",At)}(window,window.angular)},190:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(){function t(t,e,r,i){return function(a,s,c){var u=c.$normalize(e);!n[u]||o(s,r)||c[u]||a.$watch(c[t],function(t){t=i?!t:!!t,s.attr(e,t)})}}var n={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeydown:!0,bindRoleForClick:!0};this.config=function(t){n=e.extend(n,t)},this.$get=function(){return{config:function(t){return n[t]},$$watchExpr:t}}}var r=e.module("ngAria",["ng"]).info({angularVersion:"1.6.4"}).provider("$aria",n),i=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"],o=function(t,e){if(e.indexOf(t[0].nodeName)!==-1)return!0};r.directive("ngShow",["$aria",function(t){return t.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(t){return t.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(t){return t.$$watchExpr("ngValue","aria-checked",i,!1)}]).directive("ngChecked",["$aria",function(t){return t.$$watchExpr("ngChecked","aria-checked",i,!1)}]).directive("ngReadonly",["$aria",function(t){return t.$$watchExpr("ngReadonly","aria-readonly",i,!1)}]).directive("ngRequired",["$aria",function(t){return t.$$watchExpr("ngRequired","aria-required",i,!1)}]).directive("ngModel",["$aria",function(t){function e(e,n,r,a){return t.config(n)&&!r.attr(e)&&(a||!o(r,i))}function n(t,e){return!e.attr("role")&&e.attr("type")===t&&!o(e,i)}function r(t,e){var n=t.type,r=t.role;return"checkbox"===(n||r)||"menuitemcheckbox"===r?"checkbox":"radio"===(n||r)||"menuitemradio"===r?"radio":"range"===n||"progressbar"===r||"slider"===r?"range":""}return{restrict:"A",require:"ngModel",priority:200,compile:function(i,o){var a=r(o,i);return{post:function(r,i,o,s){function c(){return s.$modelValue}function u(t){var e=o.value==s.$viewValue;i.attr("aria-checked",e)}function l(){i.attr("aria-checked",!s.$isEmpty(s.$viewValue))}var d=e("tabindex","tabindex",i,!1);switch(a){case"radio":case"checkbox":n(a,i)&&i.attr("role",a),e("aria-checked","ariaChecked",i,!1)&&r.$watch(c,"radio"===a?u:l),d&&i.attr("tabindex",0);break;case"range":if(n(a,i)&&i.attr("role","slider"),t.config("ariaValue")){var h=!i.attr("aria-valuemin")&&(o.hasOwnProperty("min")||o.hasOwnProperty("ngMin")),p=!i.attr("aria-valuemax")&&(o.hasOwnProperty("max")||o.hasOwnProperty("ngMax")),m=!i.attr("aria-valuenow");h&&o.$observe("min",function(t){i.attr("aria-valuemin",t)}),p&&o.$observe("max",function(t){i.attr("aria-valuemax",t)}),m&&r.$watch(c,function(t){i.attr("aria-valuenow",t)})}d&&i.attr("tabindex",0)}!o.hasOwnProperty("ngRequired")&&s.$validators.required&&e("aria-required","ariaRequired",i,!1)&&o.$observe("required",function(){i.attr("aria-required",!!o.required)}),e("aria-invalid","ariaInvalid",i,!0)&&r.$watch(function(){return s.$invalid},function(t){i.attr("aria-invalid",!!t)})}}}}}]).directive("ngDisabled",["$aria",function(t){return t.$$watchExpr("ngDisabled","aria-disabled",i,!1)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(t,e,n,r){e.attr("aria-live")||e.attr("aria-live","assertive")}}}).directive("ngClick",["$aria","$parse",function(t,e){return{restrict:"A",compile:function(n,r){var a=e(r.ngClick);return function(e,n,r){o(n,i)||(t.config("bindRoleForClick")&&!n.attr("role")&&n.attr("role","button"),t.config("tabindex")&&!n.attr("tabindex")&&n.attr("tabindex",0),!t.config("bindKeydown")||r.ngKeydown||r.ngKeypress||r.ngKeyup||n.on("keydown",function(t){function n(){a(e,{$event:t})}var r=t.which||t.keyCode;32!==r&&13!==r||e.$apply(n)}))}}}}]).directive("ngDblclick",["$aria",function(t){return function(e,n,r){!t.config("tabindex")||n.attr("tabindex")||o(n,i)||n.attr("tabindex",0)}}])}(window,window.angular)},191:function(t,e){/*!
	 * AngularJS Material Design
	 * https://github.com/angular/material
	 * @license MIT
	 * v1.1.4
	 */
!function(t,e,n){"use strict";!function(){e.module("ngMaterial",["ng","ngAnimate","ngAria","material.core","material.core.interaction","material.core.gestures","material.core.layout","material.core.meta","material.core.theming.palette","material.core.theming","material.core.animate","material.components.autocomplete","material.components.backdrop","material.components.bottomSheet","material.components.button","material.components.card","material.components.checkbox","material.components.chips","material.components.colors","material.components.content","material.components.datepicker","material.components.dialog","material.components.divider","material.components.fabActions","material.components.fabShared","material.components.fabSpeedDial","material.components.fabToolbar","material.components.gridList","material.components.icon","material.components.input","material.components.list","material.components.menu","material.components.menuBar","material.components.navBar","material.components.progressCircular","material.components.panel","material.components.progressLinear","material.components.radioButton","material.components.showHide","material.components.sidenav","material.components.select","material.components.slider","material.components.sticky","material.components.subheader","material.components.switch","material.components.swipe","material.components.tabs","material.components.toast","material.components.toolbar","material.components.tooltip","material.components.truncate","material.components.virtualRepeat","material.components.whiteframe"])}(),function(){function t(t,e){if(e.has("$swipe")){var n="You are using the ngTouch module. \nAngularJS Material already has mobile click, tap, and swipe support... \nngTouch is not supported with AngularJS Material!";t.warn(n)}}function n(t,e){t.decorator("$$rAF",["$delegate",r]),t.decorator("$q",["$delegate",i]),e.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("deep-orange").backgroundPalette("grey")}function r(t){return t.throttle=function(e){var n,r,i,o;return function(){n=arguments,o=this,i=e,r||(r=!0,t(function(){i.apply(o,Array.prototype.slice.call(n)),r=!1}))}},t}function i(t){return t.resolve||(t.resolve=t.when),t}t.$inject=["$log","$injector"],n.$inject=["$provide","$mdThemingProvider"],r.$inject=["$delegate"],i.$inject=["$delegate"],e.module("material.core",["ngAnimate","material.core.animate","material.core.layout","material.core.interaction","material.core.gestures","material.core.theming"]).config(n).run(t)}(),function(){function t(t){function n(n,r,i){function o(t){e.isUndefined(t)&&(t=!0),r.toggleClass("md-autofocus",!!t)}var a=i.mdAutoFocus||i.mdAutofocus||i.mdSidenavFocus;o(t(a)(n)),a&&n.$watch(a,o)}return{restrict:"A",link:{pre:n}}}t.$inject=["$parse"],e.module("material.core").directive("mdAutofocus",t).directive("mdAutoFocus",t).directive("mdSidenavFocus",t)}(),function(){function t(){function t(t){var e="#"===t[0]?t.substr(1):t,n=e.length/3,r=e.substr(0,n),i=e.substr(n,n),o=e.substr(2*n);return 1===n&&(r+=r,i+=i,o+=o),"rgba("+parseInt(r,16)+","+parseInt(i,16)+","+parseInt(o,16)+",0.1)"}function e(t){t=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);var e=t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):"";return e.toUpperCase()}function n(t){return t.replace(")",", 0.1)").replace("(","a(")}function r(t){return t?t.replace("rgba","rgb").replace(/,[^\),]+\)/,")"):"rgb(0,0,0)"}return{rgbaToHex:e,hexToRgba:t,rgbToRgba:n,rgbaToRgb:r}}e.module("material.core").factory("$mdColorUtil",t)}(),function(){function t(){function t(t){var e=a+"-"+t,i=r(e),s=i.charAt(0).toLowerCase()+i.substring(1);return n(o,t)?t:n(o,i)?i:n(o,s)?s:t}function n(t,n){return e.isDefined(t.style[n])}function r(t){return t.replace(c,function(t,e,n,r){return r?n.toUpperCase():n})}function i(t){var e,n,r=/^(Moz|webkit|ms)(?=[A-Z])/;for(e in t.style)if(n=r.exec(e))return n[0]}var o=document.createElement("div"),a=i(o),s=/webkit/i.test(a),c=/([:\-_]+(.))/g,u={isInputKey:function(t){return t.keyCode>=31&&t.keyCode<=90},isNumPadKey:function(t){return 3===t.location&&t.keyCode>=97&&t.keyCode<=105},isMetaKey:function(t){return t.keyCode>=91&&t.keyCode<=93},isFnLockKey:function(t){return t.keyCode>=112&&t.keyCode<=145},isNavigationKey:function(t){var e=u.KEY_CODE,n=[e.SPACE,e.ENTER,e.UP_ARROW,e.DOWN_ARROW];return n.indexOf(t.keyCode)!=-1},hasModifierKey:function(t){return t.ctrlKey||t.metaKey||t.altKey},ELEMENT_MAX_PIXELS:1533917,BEFORE_NG_ARIA:210,KEY_CODE:{COMMA:188,SEMICOLON:186,ENTER:13,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,TAB:9,BACKSPACE:8,DELETE:46},CSS:{TRANSITIONEND:"transitionend"+(s?" webkitTransitionEnd":""),ANIMATIONEND:"animationend"+(s?" webkitAnimationEnd":""),TRANSFORM:t("transform"),TRANSFORM_ORIGIN:t("transformOrigin"),TRANSITION:t("transition"),TRANSITION_DURATION:t("transitionDuration"),ANIMATION_PLAY_STATE:t("animationPlayState"),ANIMATION_DURATION:t("animationDuration"),ANIMATION_NAME:t("animationName"),ANIMATION_TIMING:t("animationTimingFunction"),ANIMATION_DIRECTION:t("animationDirection")},MEDIA:{xs:"(max-width: 599px)","gt-xs":"(min-width: 600px)",sm:"(min-width: 600px) and (max-width: 959px)","gt-sm":"(min-width: 960px)",md:"(min-width: 960px) and (max-width: 1279px)","gt-md":"(min-width: 1280px)",lg:"(min-width: 1280px) and (max-width: 1919px)","gt-lg":"(min-width: 1920px)",xl:"(min-width: 1920px)",landscape:"(orientation: landscape)",portrait:"(orientation: portrait)",print:"print"},MEDIA_PRIORITY:["xl","gt-lg","lg","gt-md","md","gt-sm","sm","gt-xs","xs","landscape","portrait","print"]};return u}e.module("material.core").factory("$mdConstant",t)}(),function(){function t(t,n){function r(){return[].concat(b)}function i(){return b.length}function o(t){return b.length&&t>-1&&t<b.length}function a(t){return!!t&&o(h(t)+1)}function s(t){return!!t&&o(h(t)-1)}function c(t){return o(t)?b[t]:null}function u(t,e){return b.filter(function(n){return n[t]===e})}function l(t,n){return t?(e.isNumber(n)||(n=b.length),b.splice(n,0,t),h(t)):-1}function d(t){p(t)&&b.splice(h(t),1)}function h(t){return b.indexOf(t)}function p(t){return t&&h(t)>-1}function m(){return b.length?b[0]:null}function f(){return b.length?b[b.length-1]:null}function v(t,r,i,a){i=i||g;for(var s=h(r);;){if(!o(s))return null;var c=s+(t?-1:1),u=null;if(o(c)?u=b[c]:n&&(u=t?f():m(),c=h(u)),null===u||c===a)return null;if(i(u))return u;e.isUndefined(a)&&(a=c),s=c}}var g=function(){return!0};t&&!e.isArray(t)&&(t=Array.prototype.slice.call(t)),n=!!n;var b=t||[];return{items:r,count:i,inRange:o,contains:p,indexOf:h,itemAt:c,findBy:u,add:l,remove:d,first:m,last:f,next:e.bind(null,v,!1),previous:e.bind(null,v,!0),hasPrevious:s,hasNext:a}}e.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.iterator=t,e}])}])}(),function(){function t(t,n,r){function i(t){var n=h[t];e.isUndefined(n)&&(n=h[t]=o(t));var r=m[n];return e.isUndefined(r)&&(r=a(n)),r}function o(e){return t.MEDIA[e]||("("!==e.charAt(0)?"("+e+")":e)}function a(t){var e=p[t];return e||(e=p[t]=r.matchMedia(t)),e.addListener(s),m[e.media]=!!e.matches}function s(t){n.$evalAsync(function(){m[t.media]=!!t.matches})}function c(t){return p[t]}function u(e,n){for(var r=0;r<t.MEDIA_PRIORITY.length;r++){var i=t.MEDIA_PRIORITY[r];if(p[h[i]].matches){var o=d(e,n+"-"+i);if(e[o])return e[o]}}return e[d(e,n)]}function l(n,r,i){var o=[];return n.forEach(function(n){var a=d(r,n);e.isDefined(r[a])&&o.push(r.$observe(a,e.bind(void 0,i,null)));for(var s in t.MEDIA)a=d(r,n+"-"+s),e.isDefined(r[a])&&o.push(r.$observe(a,e.bind(void 0,i,s)))}),function(){o.forEach(function(t){t()})}}function d(t,e){return f[e]||(f[e]=t.$normalize(e))}var h={},p={},m={},f={};return i.getResponsiveAttribute=u,i.getQuery=c,i.watchResponsiveAttributes=l,i}t.$inject=["$mdConstant","$rootScope","$window"],e.module("material.core").factory("$mdMedia",t)}(),function(){function t(t,n){function r(t){return t=e.isArray(t)?t:[t],t.forEach(function(e){c.forEach(function(n){t.push(n+"-"+e)})}),t}function i(t){return t=e.isArray(t)?t:[t],r(t).map(function(t){return"["+t+"]"}).join(",")}function o(t,e){if(t=s(t),!t)return!1;for(var n=r(e),i=0;i<n.length;i++)if(t.hasAttribute(n[i]))return!0;return!1}function a(t,e){t=s(t),t&&r(e).forEach(function(e){t.removeAttribute(e)})}function s(t){if(t=t[0]||t,t.nodeType)return t}var c=["data","x"];return t?n?i(t):r(t):{buildList:r,buildSelector:i,hasAttribute:o,removeAttribute:a}}e.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.prefixer=t,e}])}])}(),function(){function r(r,o,a,s,c,u,l,d,h,p){function m(t){return t?f(t)||v(t)?t:t+"px":"0"}function f(t){return String(t).indexOf("px")>-1}function v(t){return String(t).indexOf("%")>-1}function g(t){return t[0]||t}var b=u.startSymbol(),$=u.endSymbol(),y="{{"===b&&"}}"===$,E=function(t,n,r){var i=!1;if(t&&t.length){var o=h.getComputedStyle(t[0]);i=e.isDefined(o[n])&&(!r||o[n]==r)}return i},w={dom:{},now:t.performance&&t.performance.now?e.bind(t.performance,t.performance.now):Date.now||function(){return(new Date).getTime()},getModelOption:function(t,e){if(t.$options){var n=t.$options;return n.getOption?n.getOption(e):n[e]}},bidi:function(t,n,i,o){var a=!("rtl"==r[0].dir||"rtl"==r[0].body.dir);if(0==arguments.length)return a?"ltr":"rtl";var s=e.element(t);a&&e.isDefined(i)?s.css(n,m(i)):!a&&e.isDefined(o)&&s.css(n,m(o))},bidiProperty:function(t,n,i,o){var a=!("rtl"==r[0].dir||"rtl"==r[0].body.dir),s=e.element(t);a&&e.isDefined(n)?(s.css(n,m(o)),s.css(i,"")):!a&&e.isDefined(i)&&(s.css(i,m(o)),s.css(n,""))},clientRect:function(t,e,n){var r=g(t);e=g(e||r.offsetParent||document.body);var i=r.getBoundingClientRect(),o=n?e.getBoundingClientRect():{left:0,top:0,width:0,height:0};return{left:i.left-o.left,top:i.top-o.top,width:i.width,height:i.height}},offsetRect:function(t,e){return w.clientRect(t,e,!0)},nodesToArray:function(t){t=t||[];for(var e=[],n=0;n<t.length;++n)e.push(t.item(n));return e},getViewportTop:function(){return t.scrollY||t.pageYOffset||0},findFocusTarget:function(t,n){function r(t,n){var r,i=t[0].querySelectorAll(n);return i&&i.length&&i.length&&e.forEach(i,function(t){t=e.element(t);var n=t.hasClass("md-autofocus");n&&(r=t)}),r}var i,o=this.prefixer("md-autofocus",!0);return i=r(t,n||o),i||n==o||(i=r(t,this.prefixer("md-auto-focus",!0)),i||(i=r(t,o))),i},disableScrollAround:function(t,n,i){function o(t){function n(t){t.preventDefault()}t=e.element(t||s);var r;return i.disableScrollMask?r=t:(r=e.element('<div class="md-scroll-mask">  <div class="md-scroll-mask-bar"></div></div>'),t.append(r)),r.on("wheel",n),r.on("touchmove",n),function(){r.off("wheel"),r.off("touchmove"),i.disableScrollMask||r[0].parentNode.removeChild(r[0])}}function a(){var t=r[0].documentElement,n=t.style.cssText||"",i=s.style.cssText||"",o=w.getViewportTop(),a=s.clientWidth,c=s.scrollHeight>s.clientHeight+1;return c&&e.element(s).css({position:"fixed",width:"100%",top:-o+"px"}),s.clientWidth<a&&(s.style.overflow="hidden"),c&&(t.style.overflowY="scroll"),function(){s.style.cssText=i,t.style.cssText=n,s.scrollTop=o}}if(i=i||{},w.disableScrollAround._count=Math.max(0,w.disableScrollAround._count||0),w.disableScrollAround._count++,w.disableScrollAround._restoreScroll)return w.disableScrollAround._restoreScroll;var s=r[0].body,c=a(),u=o(n);return w.disableScrollAround._restoreScroll=function(){--w.disableScrollAround._count<=0&&(c(),u(),delete w.disableScrollAround._restoreScroll)}},enableScrolling:function(){var t=this.disableScrollAround._restoreScroll;t&&t()},floatingScrollbars:function(){if(this.floatingScrollbars.cached===n){var t=e.element("<div><div></div></div>").css({width:"100%","z-index":-1,position:"absolute",height:"35px","overflow-y":"scroll"});t.children().css("height","60px"),r[0].body.appendChild(t[0]),this.floatingScrollbars.cached=t[0].offsetWidth==t[0].childNodes[0].offsetWidth,t.remove()}return this.floatingScrollbars.cached},forceFocus:function(e){var n=e[0]||e;document.addEventListener("click",function t(e){e.target===n&&e.$focus&&(n.focus(),e.stopImmediatePropagation(),e.preventDefault(),n.removeEventListener("click",t))},!0);var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!1,!0,t,{},0,0,0,0,!1,!1,!1,!1,0,null),r.$material=!0,r.$focus=!0,n.dispatchEvent(r)},createBackdrop:function(t,e){return a(w.supplant('<md-backdrop class="{0}">',[e]))(t)},supplant:function(t,e,n){return n=n||/\{([^\{\}]*)\}/g,t.replace(n,function(t,n){var r=n.split("."),i=e;try{for(var o in r)r.hasOwnProperty(o)&&(i=i[r[o]])}catch(e){i=t}return"string"==typeof i||"number"==typeof i?i:t})},fakeNgModel:function(){return{$fake:!0,$setTouched:e.noop,$setViewValue:function(t){this.$viewValue=t,this.$render(t),this.$viewChangeListeners.forEach(function(t){t()})},$isEmpty:function(t){return 0===(""+t).length},$parsers:[],$formatters:[],$viewChangeListeners:[],$render:e.noop}},debounce:function(t,e,r,i){var a;return function(){var s=r,c=Array.prototype.slice.call(arguments);o.cancel(a),a=o(function(){a=n,t.apply(s,c)},e||10,i)}},throttle:function(t,e){var n;return function(){var r=this,i=arguments,o=w.now();(!n||o-n>e)&&(t.apply(r,i),n=o)}},time:function(t){var e=w.now();return t(),w.now()-e},valueOnUse:function(t,e,n){var r=null,i=Array.prototype.slice.call(arguments),o=i.length>3?i.slice(3):[];Object.defineProperty(t,e,{get:function(){return null===r&&(r=n.apply(t,o)),r}})},nextUid:function(){return""+i++},disconnectScope:function(t){if(t&&t.$root!==t&&!t.$$destroyed){var e=t.$parent;t.$$disconnected=!0,e.$$childHead===t&&(e.$$childHead=t.$$nextSibling),e.$$childTail===t&&(e.$$childTail=t.$$prevSibling),t.$$prevSibling&&(t.$$prevSibling.$$nextSibling=t.$$nextSibling),t.$$nextSibling&&(t.$$nextSibling.$$prevSibling=t.$$prevSibling),t.$$nextSibling=t.$$prevSibling=null}},reconnectScope:function(t){if(t&&t.$root!==t&&t.$$disconnected){var e=t,n=e.$parent;e.$$disconnected=!1,e.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=e,n.$$childTail=e):n.$$childHead=n.$$childTail=e}},getClosest:function(t,n,r){if(e.isString(n)){var i=n.toUpperCase();n=function(t){return t.nodeName.toUpperCase()===i}}if(t instanceof e.element&&(t=t[0]),r&&(t=t.parentNode),!t)return null;do if(n(t))return t;while(t=t.parentNode);return null},elementContains:function(n,r){var i=t.Node&&t.Node.prototype&&Node.prototype.contains,o=i?e.bind(n,n.contains):e.bind(n,function(t){return n===r||!!(16&this.compareDocumentPosition(t))});return o(r)},extractElementByName:function(t,n,r,i){function o(t){return a(t)||(r?s(t):null)}function a(t){if(t)for(var e=0,r=t.length;e<r;e++)if(t[e].nodeName.toLowerCase()===n)return t[e];return null}function s(t){var e;if(t)for(var n=0,r=t.length;n<r;n++){var i=t[n];if(!e)for(var a=0,s=i.childNodes.length;a<s;a++)e=e||o([i.childNodes[a]])}return e}var c=o(t);return!c&&i&&l.warn(w.supplant("Unable to find node '{0}' in element '{1}'.",[n,t[0].outerHTML])),e.element(c||t)},initOptionalProperties:function(t,n,r){r=r||{},e.forEach(t.$$isolateBindings,function(i,o){if(i.optional&&e.isUndefined(t[o])){var a=e.isDefined(n[i.attrName]);t[o]=e.isDefined(r[o])?r[o]:a}})},nextTick:function(t,e,n){function r(){var t=i.queue,e=i.digest;i.queue=[],i.timeout=null,i.digest=!1,t.forEach(function(t){var e=t.scope&&t.scope.$$destroyed;e||t.callback()}),e&&s.$digest()}var i=w.nextTick,a=i.timeout,c=i.queue||[];return c.push({scope:n,callback:t}),null==e&&(e=!0),i.digest=i.digest||e,i.queue=c,a||(i.timeout=o(r,0,!1))},processTemplate:function(t){return y?t:t&&e.isString(t)?t.replace(/\{\{/g,b).replace(/}}/g,$):t},getParentWithPointerEvents:function(t){for(var e=t.parent();E(e,"pointer-events","none");)e=e.parent();return e},getNearestContentElement:function(t){for(var e=t.parent()[0];e&&e!==d[0]&&e!==document.body&&"MD-CONTENT"!==e.nodeName.toUpperCase();)e=e.parentNode;return e},checkStickySupport:function(){var t,n=e.element("<div>");r[0].body.appendChild(n[0]);for(var i=["sticky","-webkit-sticky"],o=0;o<i.length;++o)if(n.css({position:i[o],top:0,"z-index":2}),n.css("position")==i[o]){t=i[o];break}return n.remove(),t},parseAttributeBoolean:function(t,e){return""===t||!!t&&(e===!1||"false"!==t&&"0"!==t)},hasComputedStyle:E,isParentFormSubmitted:function(t){var n=w.getClosest(t,"form"),r=n?e.element(n).controller("form"):null;return!!r&&r.$submitted},animateScrollTo:function(t,e,n){function r(){var n=i();t.scrollTop=n,(c?n<e:n>e)&&p(r)}function i(){var t=n||1e3,e=w.now()-u;return o(e,a,s,t)}function o(t,e,n,r){if(t>r)return e+n;var i=(t/=r)*t,o=i*t;return e+n*(-2*o+3*i)}var a=t.scrollTop,s=e-a,c=a<e,u=w.now();p(r)},uniq:function(t){if(t)return t.filter(function(t,e,n){return n.indexOf(t)===e})}};return w.dom.animator=c(w),w}r.$inject=["$document","$timeout","$compile","$rootScope","$$mdAnimate","$interpolate","$log","$rootElement","$window","$$rAF"];var i=0;e.module("material.core").factory("$mdUtil",r),e.element.prototype.focus=e.element.prototype.focus||function(){return this.length&&this[0].focus(),this},e.element.prototype.blur=e.element.prototype.blur||function(){return this.length&&this[0].blur(),this}}(),function(){function t(t,e,n,r,i){this.$q=t,this.$templateRequest=e,this.$injector=n,this.$compile=r,this.$controller=i}t.$inject=["$q","$templateRequest","$injector","$compile","$controller"],e.module("material.core").service("$mdCompiler",t),t.prototype.compile=function(t){return t.contentElement?this._prepareContentElement(t):this._compileTemplate(t)},t.prototype._prepareContentElement=function(t){var e=this._fetchContentElement(t);return this.$q.resolve({element:e.element,cleanup:e.restore,locals:{},link:function(){return e.element}})},t.prototype._compileTemplate=function(t){var n=this,r=t.templateUrl,i=t.template||"",o=e.extend({},t.resolve),a=e.extend({},t.locals),s=t.transformTemplate||e.identity;return e.forEach(o,function(t,r){e.isString(t)?o[r]=n.$injector.get(t):o[r]=n.$injector.invoke(t)}),e.extend(o,a),r?o.$$ngTemplate=this.$templateRequest(r):o.$$ngTemplate=this.$q.when(i),this.$q.all(o).then(function(r){var i=s(r.$$ngTemplate,t),o=t.element||e.element("<div>").html(i.trim()).contents();return n._compileElement(r,o,t)})},t.prototype._compileElement=function(t,n,r){function i(i){if(t.$scope=i,r.controller){var c=e.extend(t,{$element:n}),u=o.$controller(r.controller,c,!0,r.controllerAs);r.bindToController&&e.extend(u.instance,t);var l=u();n.data("$ngControllerController",l),n.children().data("$ngControllerController",l),s.controller=l}return a(i)}var o=this,a=this.$compile(n),s={element:n,cleanup:n.remove.bind(n),locals:t,link:i};return s},t.prototype._fetchContentElement=function(t){function n(t){var e=t.parentNode,n=t.nextElementSibling;return function(){n?e.insertBefore(t,n):e.appendChild(t)}}var r=t.contentElement,i=null;return e.isString(r)?(r=document.querySelector(r),i=n(r)):(r=r[0]||r,i=document.contains(r)?n(r):function(){r.parentNode&&r.parentNode.removeChild(r)}),{element:e.element(r),restore:i}}}(),function(){function t(){function t(){e.showWarnings=!1}var e={showWarnings:!0};return{disableWarnings:t,$get:["$$rAF","$log","$window","$interpolate",function(t,r,i,o){return n.apply(e,arguments)}]}}function n(t,n,r,i){function o(t,r,i){var o=e.element(t)[0]||t;!o||o.hasAttribute(r)&&0!==o.getAttribute(r).length||l(o,r)||(i=e.isString(i)?i.trim():"",i.length?t.attr(r,i):p&&n.warn('ARIA: Attribute "',r,'", required for accessibility, is missing on node:',o))}function a(e,n,r){t(function(){o(e,n,r())})}function s(t,e){var n=u(t)||"",r=n.indexOf(i.startSymbol())>-1;r?a(t,e,function(){return u(t)}):o(t,e,n)}function c(t,e){var n=u(t),r=n.indexOf(i.startSymbol())>-1;r||n||o(t,e,n)}function u(t){function e(e){for(;e.parentNode&&(e=e.parentNode)!==t;)if(e.getAttribute&&"true"===e.getAttribute("aria-hidden"))return!0}t=t[0]||t;for(var n,r=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1),i="";n=r.nextNode();)e(n)||(i+=n.textContent);return i.trim()||""}function l(t,e){function n(t){var e=t.currentStyle?t.currentStyle:r.getComputedStyle(t);return"none"===e.display}var i=t.hasChildNodes(),o=!1;if(i)for(var a=t.childNodes,s=0;s<a.length;s++){var c=a[s];1===c.nodeType&&c.hasAttribute(e)&&(n(c)||(o=!0))}return o}function d(t){var n=e.element(t)[0]||t;return!!n.hasAttribute&&(n.hasAttribute("aria-label")||n.hasAttribute("aria-labelledby")||n.hasAttribute("aria-describedby"))}function h(t,n){function r(t){if(!d(t))return!1;if(t.hasAttribute("role"))switch(t.getAttribute("role").toLowerCase()){case"command":case"definition":case"directory":case"grid":case"list":case"listitem":case"log":case"marquee":case"menu":case"menubar":case"note":case"presentation":case"separator":case"scrollbar":case"status":case"tablist":return!1}switch(t.tagName.toLowerCase()){case"abbr":case"acronym":case"address":case"applet":case"audio":case"b":case"bdi":case"bdo":case"big":case"blockquote":case"br":case"canvas":case"caption":case"center":case"cite":case"code":case"col":case"data":case"dd":case"del":case"dfn":case"dir":case"div":case"dl":case"em":case"embed":case"fieldset":case"figcaption":case"font":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"hgroup":case"html":case"i":case"ins":case"isindex":case"kbd":case"keygen":case"label":case"legend":case"li":case"map":case"mark":case"menu":case"object":case"ol":case"output":case"pre":case"presentation":case"q":case"rt":case"ruby":case"samp":case"small":case"source":case"span":case"status":case"strike":case"strong":case"sub":case"sup":case"svg":case"tbody":case"td":case"th":case"thead":case"time":case"tr":case"track":case"tt":case"ul":case"var":return!1}return!0}n=n||1;var i=e.element(t)[0]||t;return!!i.parentNode&&(!!r(i.parentNode)||(n--,!!n&&h(i.parentNode,n)))}var p=this.showWarnings;return{expect:o,expectAsync:a,expectWithText:s,expectWithoutText:c,getText:u,hasAriaLabel:d,parentHasAriaLabel:h}}n.$inject=["$$rAF","$log","$window","$interpolate"],e.module("material.core").provider("$mdAria",t)}(),function(){function n(t,n){this.$timeout=t,this.$mdUtil=n,this.bodyElement=e.element(document.body),this.isBuffering=!1,this.bufferTimeout=null,this.lastInteractionType=null,this.lastInteractionTime=null,this.inputEventMap={keydown:"keyboard",mousedown:"mouse",mouseenter:"mouse",touchstart:"touch",pointerdown:"pointer",MSPointerDown:"pointer"},this.iePointerMap={2:"touch",3:"touch",4:"mouse"},this.initializeEvents()}n.$inject=["$timeout","$mdUtil"],e.module("material.core.interaction",[]).service("$mdInteraction",n),n.prototype.initializeEvents=function(){var e="MSPointerEvent"in t?"MSPointerDown":"PointerEvent"in t?"pointerdown":null;this.bodyElement.on("keydown mousedown",this.onInputEvent.bind(this)),"ontouchstart"in document.documentElement&&this.bodyElement.on("touchstart",this.onBufferInputEvent.bind(this)),e&&this.bodyElement.on(e,this.onInputEvent.bind(this))},n.prototype.onInputEvent=function(t){if(!this.isBuffering){var e=this.inputEventMap[t.type];"pointer"===e&&(e=this.iePointerMap[t.pointerType]||t.pointerType),this.lastInteractionType=e,this.lastInteractionTime=this.$mdUtil.now()}},n.prototype.onBufferInputEvent=function(t){this.$timeout.cancel(this.bufferTimeout),this.onInputEvent(t),this.isBuffering=!0,this.bufferTimeout=this.$timeout(function(){this.isBuffering=!1}.bind(this),650,!1)},n.prototype.getLastInteractionType=function(){return this.lastInteractionType},n.prototype.isUserInvoked=function(t){var n=e.isNumber(t)?t:15;return this.lastInteractionTime>=this.$mdUtil.now()-n}}(),function(){function n(){}function r(n,r,i){function o(t){return function(e,n){n.distance<this.state.options.maxDistance&&this.dispatchEvent(e,t,n)}}function a(t,e,n){var r=m[e.replace(/^\$md./,"")];if(!r)throw new Error("Failed to register element with handler "+e+". Available handlers: "+Object.keys(m).join(", "));return r.registerElement(t,n)}function c(t,r){var i=new n(t);return e.extend(i,r),m[t]=i,b}function u(){for(var t=document.createElement("div"),n=["","webkit","Moz","MS","ms","o"],r=0;r<n.length;r++){var i=n[r],o=i?i+"TouchAction":"touchAction";if(e.isDefined(t.style[o]))return o}}var d=navigator.userAgent||navigator.vendor||t.opera,h=d.match(/ipad|iphone|ipod/i),p=d.match(/android/i),v=u(),g="undefined"!=typeof t.jQuery&&e.element===t.jQuery,b={handler:c,register:a,isHijackingClicks:(h||p)&&!g&&!f};if(b.isHijackingClicks){var $=6;b.handler("click",{options:{maxDistance:$},onEnd:o("click")}),b.handler("focus",{options:{maxDistance:$},onEnd:function(t,e){function n(t){var e=["INPUT","SELECT","BUTTON","TEXTAREA","VIDEO","AUDIO"];return"-1"!=t.getAttribute("tabindex")&&!t.hasAttribute("DISABLED")&&(t.hasAttribute("tabindex")||t.hasAttribute("href")||t.isContentEditable||e.indexOf(t.nodeName)!=-1)}e.distance<this.state.options.maxDistance&&n(t.target)&&(this.dispatchEvent(t,"focus",e),t.target.focus())}}),b.handler("mouseup",{options:{maxDistance:$},onEnd:o("mouseup")}),b.handler("mousedown",{onStart:function(t){this.dispatchEvent(t,"mousedown")}})}return b.handler("press",{onStart:function(t,e){this.dispatchEvent(t,"$md.pressdown")},onEnd:function(t,e){this.dispatchEvent(t,"$md.pressup")}}).handler("hold",{options:{maxDistance:6,delay:500},onCancel:function(){i.cancel(this.state.timeout)},onStart:function(t,n){return this.state.registeredParent?(this.state.pos={x:n.x,y:n.y},void(this.state.timeout=i(e.bind(this,function(){this.dispatchEvent(t,"$md.hold"),this.cancel()}),this.state.options.delay,!1))):this.cancel()},onMove:function(t,e){v||"touchmove"!==t.type||t.preventDefault();var n=this.state.pos.x-e.x,r=this.state.pos.y-e.y;Math.sqrt(n*n+r*r)>this.options.maxDistance&&this.cancel()},onEnd:function(){this.onCancel()}}).handler("drag",{options:{minDistance:6,horizontal:!0,cancelMultiplier:1.5},onSetup:function(t,e){v&&(this.oldTouchAction=t[0].style[v],t[0].style[v]=e.horizontal?"pan-y":"pan-x")},onCleanup:function(t){this.oldTouchAction&&(t[0].style[v]=this.oldTouchAction)},onStart:function(t){this.state.registeredParent||this.cancel()},onMove:function(t,e){var n,r;v||"touchmove"!==t.type||t.preventDefault(),this.state.dragPointer?this.dispatchDragMove(t):(this.state.options.horizontal?(n=Math.abs(e.distanceX)>this.state.options.minDistance,r=Math.abs(e.distanceY)>this.state.options.minDistance*this.state.options.cancelMultiplier):(n=Math.abs(e.distanceY)>this.state.options.minDistance,r=Math.abs(e.distanceX)>this.state.options.minDistance*this.state.options.cancelMultiplier),n?(this.state.dragPointer=s(t),l(t,this.state.dragPointer),this.dispatchEvent(t,"$md.dragstart",this.state.dragPointer)):r&&this.cancel())},dispatchDragMove:r.throttle(function(t){this.state.isRunning&&(l(t,this.state.dragPointer),this.dispatchEvent(t,"$md.drag",this.state.dragPointer))}),onEnd:function(t,e){this.state.dragPointer&&(l(t,this.state.dragPointer),this.dispatchEvent(t,"$md.dragend",this.state.dragPointer))}}).handler("swipe",{options:{minVelocity:.65,minDistance:10},onEnd:function(t,e){var n;Math.abs(e.velocityX)>this.state.options.minVelocity&&Math.abs(e.distanceX)>this.state.options.minDistance?(n="left"==e.directionX?"$md.swipeleft":"$md.swiperight",this.dispatchEvent(t,n)):Math.abs(e.velocityY)>this.state.options.minVelocity&&Math.abs(e.distanceY)>this.state.options.minDistance&&(n="up"==e.directionY?"$md.swipeup":"$md.swipedown",this.dispatchEvent(t,n))}})}function i(t){this.name=t,this.state={}}function o(){function n(t,n,r){r=r||h;var i=new e.element.Event(n);i.$material=!0,i.pointer=r,i.srcEvent=t,e.extend(i,{clientX:r.x,clientY:r.y,screenX:r.x,screenY:r.y,pageX:r.x,pageY:r.y,ctrlKey:t.ctrlKey,altKey:t.altKey,shiftKey:t.shiftKey,metaKey:t.metaKey}),e.element(r.target).trigger(i)}function r(e,n,r){r=r||h;var i;"click"===n||"mouseup"==n||"mousedown"==n?(i=document.createEvent("MouseEvents"),i.initMouseEvent(n,!0,!0,t,e.detail,r.x,r.y,r.x,r.y,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget||null)):(i=document.createEvent("CustomEvent"),i.initCustomEvent(n,!0,!0,{})),i.$material=!0,i.pointer=r,i.srcEvent=e,r.target.dispatchEvent(i)}var o="undefined"!=typeof t.jQuery&&e.element===t.jQuery;return i.prototype={options:{},dispatchEvent:o?n:r,onSetup:e.noop,onCleanup:e.noop,onStart:e.noop,onMove:e.noop,onEnd:e.noop,onCancel:e.noop,start:function(t,n){if(!this.state.isRunning){var r=this.getNearestParent(t.target),i=r&&r.$mdGesture[this.name]||{};this.state={isRunning:!0,options:e.extend({},this.options,i),registeredParent:r},this.onStart(t,n)}},move:function(t,e){this.state.isRunning&&this.onMove(t,e)},end:function(t,e){this.state.isRunning&&(this.onEnd(t,e),this.state.isRunning=!1)},cancel:function(t,e){this.onCancel(t,e),this.state={}},getNearestParent:function(t){for(var e=t;e;){if((e.$mdGesture||{})[this.name])return e;e=e.parentNode}return null},registerElement:function(t,e){function n(){delete t[0].$mdGesture[r.name],t.off("$destroy",n),r.onCleanup(t,e||{})}var r=this;return t[0].$mdGesture=t[0].$mdGesture||{},t[0].$mdGesture[this.name]=e||{},t.on("$destroy",n),r.onSetup(t,e||{}),n}},i}function a(t,n){function r(t){var e=!t.clientX&&!t.clientY;e||t.$material||t.isIonicTap||u(t)||(t.preventDefault(),t.stopPropagation())}function i(t){var e=0===t.clientX&&0===t.clientY,n=t.target&&"submit"===t.target.type;e||t.$material||t.isIonicTap||u(t)||n?(v=null,"label"==t.target.tagName.toLowerCase()&&(v={x:t.x,y:t.y})):(t.preventDefault(),t.stopPropagation(),v=null)}function o(t,e){var r;for(var i in m)r=m[i],r instanceof n&&("start"===t&&r.cancel(),r[t](e,h))}function a(t){if(!h){var e=+Date.now();p&&!c(t,p)&&e-p.endTime<1500||(h=s(t),o("start",t))}}function d(t){h&&c(t,h)&&(l(t,h),o("move",t))}function f(t){h&&c(t,h)&&(l(t,h),h.endTime=+Date.now(),o("end",t),p=h,h=null)}document.contains||(document.contains=function(t){return document.body.contains(t)}),!g&&t.isHijackingClicks&&(document.addEventListener("click",i,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("mousedown",r,!0),document.addEventListener("focus",r,!0),g=!0);var b="mousedown touchstart pointerdown",$="mousemove touchmove pointermove",y="mouseup mouseleave touchend touchcancel pointerup pointercancel";e.element(document).on(b,a).on($,d).on(y,f).on("$$mdGestureReset",function(){p=h=null})}function s(t){var e=d(t),n={startTime:+Date.now(),target:t.target,type:t.type.charAt(0)};return n.startX=n.x=e.pageX,n.startY=n.y=e.pageY,n}function c(t,e){return t&&e&&t.type.charAt(0)===e.type}function u(t){return v&&v.x==t.x&&v.y==t.y}function l(t,e){var n=d(t),r=e.x=n.pageX,i=e.y=n.pageY;e.distanceX=r-e.startX,e.distanceY=i-e.startY,e.distance=Math.sqrt(e.distanceX*e.distanceX+e.distanceY*e.distanceY),e.directionX=e.distanceX>0?"right":e.distanceX<0?"left":"",e.directionY=e.distanceY>0?"down":e.distanceY<0?"up":"",e.duration=+Date.now()-e.startTime,e.velocityX=e.distanceX/e.duration,e.velocityY=e.distanceY/e.duration}function d(t){return t=t.originalEvent||t,t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t}r.$inject=["$$MdGestureHandler","$$rAF","$timeout"],a.$inject=["$mdGesture","$$MdGestureHandler"];var h,p,m={},f=!1,v=null,g=!1;e.module("material.core.gestures",[]).provider("$mdGesture",n).factory("$$MdGestureHandler",o).run(a),n.prototype={skipClickHijack:function(){return f=!0},$get:["$$MdGestureHandler","$$rAF","$timeout",function(t,e,n){return new r(t,e,n)}]}}(),function(){function t(){function t(t){function n(t){return c.optionsFactory=t.options,c.methods=(t.methods||[]).concat(a),u}function r(t,e){return s[t]=e,u}function i(e,n){if(n=n||{},n.methods=n.methods||[],n.options=n.options||function(){return{}},/^cancel|hide|show$/.test(e))throw new Error("Preset '"+e+"' in "+t+" is reserved!");if(n.methods.indexOf("_options")>-1)throw new Error("Method '_options' in "+t+" is reserved!");return c.presets[e]={methods:n.methods.concat(a),
optionsFactory:n.options,argOption:n.argOption},u}function o(n,r){function i(t){return t=t||{},t._options&&(t=t._options),d.show(e.extend({},l,t))}function o(t){return d.destroy(t)}function a(e,n){var i={};return i[t]=h,r.invoke(e||function(){return n},{},i)}var u,l,d=n(),h={hide:d.hide,cancel:d.cancel,show:i,destroy:o};return u=c.methods||[],l=a(c.optionsFactory,{}),e.forEach(s,function(t,e){h[e]=t}),e.forEach(c.presets,function(t,n){function r(t){this._options=e.extend({},i,t)}var i=a(t.optionsFactory,{}),o=(t.methods||[]).concat(u);if(e.extend(i,{$type:n}),e.forEach(o,function(t){r.prototype[t]=function(e){return this._options[t]=e,this}}),t.argOption){var s="show"+n.charAt(0).toUpperCase()+n.slice(1);h[s]=function(t){var e=h[n](t);return h.show(e)}}h[n]=function(n){return arguments.length&&t.argOption&&!e.isObject(n)&&!e.isArray(n)?(new r)[t.argOption](n):new r(n)}}),h}o.$inject=["$$interimElement","$injector"];var a=["onHide","onShow","onRemove"],s={},c={presets:{}},u={setDefaults:n,addPreset:i,addMethod:r,$get:o};return u.addPreset("build",{methods:["controller","controllerAs","resolve","multiple","template","templateUrl","themable","transformTemplate","parent","contentElement"]}),u}function r(t,r,i,o,a,s,c,u,l,d,h){return function(){function p(t){t=t||{};var e=new b(t||{}),n=t.multiple?r.resolve():r.all(E);t.multiple||(n=n.then(function(){var t=w.concat(C.map($.cancel));return r.all(t)}));var i=n.then(function(){return e.show().catch(function(t){return t}).finally(function(){E.splice(E.indexOf(i),1),C.push(e)})});return E.push(i),e.deferred.promise.catch(function(t){return t instanceof Error&&h(t),t}),e.deferred.promise}function m(t,e){function i(n){var r=n.remove(t,!1,e||{}).catch(function(t){return t}).finally(function(){w.splice(w.indexOf(r),1)});return C.splice(C.indexOf(n),1),w.push(r),n.deferred.promise}return e=e||{},e.closeAll?r.all(C.slice().reverse().map(i)):e.closeTo!==n?r.all(C.slice(e.closeTo).map(i)):i(C[C.length-1])}function f(t,n){var i=C.pop();if(!i)return r.when(t);var o=i.remove(t,!0,n||{}).catch(function(t){return t}).finally(function(){w.splice(w.indexOf(o),1)});return w.push(o),i.deferred.promise.catch(e.noop)}function v(t){return function(){var e=arguments;return C.length?t.apply($,e):E.length?E[0].finally(function(){return t.apply($,e)}):r.when("No interim elements currently showing up.")}}function g(t){var n=t?null:C.shift(),i=e.element(t).length&&e.element(t)[0].parentNode;if(i){var o=C.filter(function(t){return t.options.element[0]===i});o.length&&(n=o[0],C.splice(C.indexOf(n),1))}return n?n.remove(y,!1,{$destroy:!0}):r.when(y)}function b(d){function h(){return r(function(t,e){function n(t){w.deferred.reject(t),e(t)}d.onCompiling&&d.onCompiling(d),f(d).then(function(e){C=v(e,d),d.cleanupElement=e.cleanup,_=y(C,d,e.controller).then(t,n)}).catch(n)})}function p(t,n,i){function o(t){w.deferred.resolve(t)}function a(t){w.deferred.reject(t)}return C?(d=e.extend(d||{},i||{}),d.cancelAutoHide&&d.cancelAutoHide(),d.element.triggerHandler("$mdInterimElementRemove"),d.$destroy===!0?E(d.element,d).then(function(){n&&a(t)||o(t)}):(r.when(_).finally(function(){E(d.element,d).then(function(){n?a(t):o(t)},a)}),w.deferred.promise)):r.when(!1)}function m(t){return t=t||{},t.template&&(t.template=c.processTemplate(t.template)),e.extend({preserveScope:!1,cancelAutoHide:e.noop,scope:t.scope||i.$new(t.isolateScope),onShow:function(t,e,n){return s.enter(e,n.parent)},onRemove:function(t,e){return e&&s.leave(e)||r.when()}},t)}function f(t){var e=t.skipCompile?null:u.compile(t);return e||r(function(e){e({locals:{},link:function(){return t.element}})})}function v(t,n){e.extend(t.locals,n);var r=t.link(n.scope);return n.element=r,n.parent=g(r,n),n.themable&&l(r),r}function g(n,r){var i=r.parent;if(i=e.isFunction(i)?i(r.scope,n,r):e.isString(i)?e.element(t[0].querySelector(i)):e.element(i),!(i||{}).length){var o;return a[0]&&a[0].querySelector&&(o=a[0].querySelector(":not(svg) > body")),o||(o=a[0]),"#comment"==o.nodeName&&(o=t[0].body),e.element(o)}return i}function b(){var t,r=e.noop;d.hideDelay&&(t=o($.hide,d.hideDelay),r=function(){o.cancel(t)}),d.cancelAutoHide=function(){r(),d.cancelAutoHide=n}}function y(t,n,i){var o=n.onShowing||e.noop,a=n.onComplete||e.noop;try{o(n.scope,t,n,i)}catch(t){return r.reject(t)}return r(function(e,o){try{r.when(n.onShow(n.scope,t,n,i)).then(function(){a(n.scope,t,n),b(),e(t)},o)}catch(t){o(t.message)}})}function E(t,n){var i=n.onRemoving||e.noop;return r(function(e,o){try{var a=r.when(n.onRemove(n.scope,t,n)||!0);i(t,a),n.$destroy?(e(t),!n.preserveScope&&n.scope&&a.then(function(){n.scope.$destroy()})):a.then(function(){!n.preserveScope&&n.scope&&n.scope.$destroy(),e(t)},o)}catch(t){o(t.message)}})}var w,C,_=r.when(!0);return d=m(d),w={options:d,deferred:r.defer(),show:h,remove:p}}var $,y=!1,E=[],w=[],C=[];return $={show:p,hide:v(m),cancel:v(f),destroy:g,$injector_:d}}}return r.$inject=["$document","$q","$rootScope","$timeout","$rootElement","$animate","$mdUtil","$mdCompiler","$mdTheming","$injector","$exceptionHandler"],t.$get=r,t}e.module("material.core").provider("$$interimElement",t)}(),function(){!function(){function t(t){function s(t){return t.replace(d,"").replace(h,function(t,e,n,r){return r?n.toUpperCase():n})}var d=/^((?:x|data)[\:\-_])/i,h=/([\:\-\_]+(.))/g,p=["","xs","gt-xs","sm","gt-sm","md","gt-md","lg","gt-lg","xl","print"],m=["layout","flex","flex-order","flex-offset","layout-align"],f=["show","hide","layout-padding","layout-margin"];e.forEach(p,function(n){e.forEach(m,function(e){var r=n?e+"-"+n:e;t.directive(s(r),o(r))}),e.forEach(f,function(e){var r=n?e+"-"+n:e;t.directive(s(r),a(r))})}),t.provider("$$mdLayout",function(){return{$get:e.noop,validateAttributeValue:l,validateAttributeUsage:u,disableLayouts:function(t){x.enabled=t!==!0}}}).directive("mdLayoutCss",r).directive("ngCloak",i("ng-cloak")).directive("layoutWrap",a("layout-wrap")).directive("layoutNowrap",a("layout-nowrap")).directive("layoutNoWrap",a("layout-no-wrap")).directive("layoutFill",a("layout-fill")).directive("layoutLtMd",c("layout-lt-md",!0)).directive("layoutLtLg",c("layout-lt-lg",!0)).directive("flexLtMd",c("flex-lt-md",!0)).directive("flexLtLg",c("flex-lt-lg",!0)).directive("layoutAlignLtMd",c("layout-align-lt-md")).directive("layoutAlignLtLg",c("layout-align-lt-lg")).directive("flexOrderLtMd",c("flex-order-lt-md")).directive("flexOrderLtLg",c("flex-order-lt-lg")).directive("offsetLtMd",c("flex-offset-lt-md")).directive("offsetLtLg",c("flex-offset-lt-lg")).directive("hideLtMd",c("hide-lt-md")).directive("hideLtLg",c("hide-lt-lg")).directive("showLtMd",c("show-lt-md")).directive("showLtLg",c("show-lt-lg")).config(n)}function n(){var t=!!document.querySelector("[md-layouts-disabled]");x.enabled=!t}function r(){return x.enabled=!1,{restrict:"A",priority:"900"}}function i(t){return["$timeout",function(n){return{restrict:"A",priority:-10,compile:function(r){return x.enabled?(r.addClass(t),function(e,r){n(function(){r.removeClass(t)},10,!1)}):e.noop}}}]}function o(t){function n(e,n,r){var i=s(n,t,r),o=r.$observe(r.$normalize(t),i);i(p(t,r,"")),e.$on("$destroy",function(){o()})}return["$mdUtil","$interpolate","$log",function(r,i,o){return v=r,g=i,b=o,{restrict:"A",compile:function(r,i){var o;return x.enabled&&(u(t,i,r,b),l(t,p(t,i,""),d(r,t,i)),o=n),o||e.noop}}}]}function a(t){function n(e,n){n.addClass(t)}return["$mdUtil","$interpolate","$log",function(r,i,o){return v=r,g=i,b=o,{restrict:"A",compile:function(r,i){var o;return x.enabled&&(l(t,p(t,i,""),d(r,t,i)),n(null,r),o=n),o||e.noop}}}]}function s(t,n){var r;return function(i){var o=l(n,i||"");e.isDefined(o)&&(r&&t.removeClass(r),r=o?n+"-"+o.trim().replace(y,"-"):n,t.addClass(r))}}function c(t){var n=t.split("-");return["$log",function(r){return r.warn(t+"has been deprecated. Please use a `"+n[0]+"-gt-<xxx>` variant."),e.noop}]}function u(t,e,n,r){var i,o,a,s=n[0].nodeName.toLowerCase();switch(t.replace($,"")){case"flex":"md-button"!=s&&"fieldset"!=s||(o="<"+s+" "+t+"></"+s+">",a="https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers",i="Markup '{0}' may not work as expected in IE Browsers. Consult '{1}' for details.",r.warn(v.supplant(i,[o,a])))}}function l(t,n,r){var i;if(!h(n)){switch(t.replace($,"")){case"layout":m(n,w)||(n=w[0]);break;case"flex":m(n,E)||isNaN(n)&&(n="");break;case"flex-offset":case"flex-order":n&&!isNaN(+n)||(n="0");break;case"layout-align":var o=f(n);n=v.supplant("{main}-{cross}",o);break;case"layout-padding":case"layout-margin":case"layout-fill":case"layout-wrap":case"layout-nowrap":case"layout-nowrap":n=""}n!=i&&(r||e.noop)(n)}return n?n.trim():""}function d(t,e,n){return function(t){h(t)||(n[n.$normalize(e)]=t)}}function h(t){return(t||"").indexOf(g.startSymbol())>-1}function p(t,e,n){var r=e.$normalize(t);return e[r]?e[r].trim().replace(y,"-"):n||null}function m(t,e,n){t=n&&t?t.replace(y,n):t;var r=!1;return t&&e.forEach(function(e){e=n?e.replace(y,n):e,r=r||e===t}),r}function f(t){var e,n={main:"start",cross:"stretch"};return t=t||"",0!==t.indexOf("-")&&0!==t.indexOf(" ")||(t="none"+t),e=t.toLowerCase().trim().replace(y,"-").split("-"),e.length&&"space"===e[0]&&(e=[e[0]+"-"+e[1],e[2]]),e.length>0&&(n.main=e[0]||n.main),e.length>1&&(n.cross=e[1]||n.cross),C.indexOf(n.main)<0&&(n.main="start"),_.indexOf(n.cross)<0&&(n.cross="stretch"),n}var v,g,b,$=/(-gt)?-(sm|md|lg|print)/g,y=/\s+/g,E=["grow","initial","auto","none","noshrink","nogrow"],w=["row","column"],C=["","start","center","end","stretch","space-around","space-between"],_=["","start","center","end","stretch"],x={enabled:!0,breakpoints:[]};t(e.module("material.core.layout",["ng"]))}()}(),function(){function t(t){this._$timeout=t,this._liveElement=this._createLiveElement(),this._announceTimeout=100}t.$inject=["$timeout"],e.module("material.core").service("$mdLiveAnnouncer",t),t.prototype.announce=function(t,e){e||(e="polite");var n=this;n._liveElement.textContent="",n._liveElement.setAttribute("aria-live",e),n._$timeout(function(){n._liveElement.textContent=t},n._announceTimeout,!1)},t.prototype._createLiveElement=function(){var t=document.createElement("div");return t.classList.add("md-visually-hidden"),t.setAttribute("role","status"),t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live","polite"),document.body.appendChild(t),t}}(),function(){e.module("material.core.meta",[]).provider("$$mdMeta",function(){function t(t){if(o[t])return!0;var n=document.getElementsByName(t)[0];return!!n&&(o[t]=e.element(n),!0)}function n(n,r){if(t(n),o[n])o[n].attr("content",r);else{var a=e.element('<meta name="'+n+'" content="'+r+'"/>');i.append(a),o[n]=a}return function(){o[n].attr("content",""),o[n].remove(),delete o[n]}}function r(e){if(!t(e))throw Error("$$mdMeta: could not find a meta tag with the name '"+e+"'");return o[e].attr("content")}var i=e.element(document.head),o={},a={setMeta:n,getMeta:r};return e.extend({},a,{$get:function(){return a}})})}(),function(){function t(t,r){function i(t){return t&&""!==t}var o,a=[],s={};return o={notFoundError:function(e,n){t.error((n||"")+"No instance found for handle",e)},getInstances:function(){return a},get:function(t){if(!i(t))return null;var e,n,r;for(e=0,n=a.length;e<n;e++)if(r=a[e],r.$$mdHandle===t)return r;return null},register:function(t,n){function r(){var e=a.indexOf(t);e!==-1&&a.splice(e,1)}function i(){var e=s[n];e&&(e.forEach(function(e){e.resolve(t)}),delete s[n])}return n?(t.$$mdHandle=n,a.push(t),i(),r):e.noop},when:function(t){if(i(t)){var e=r.defer(),a=o.get(t);return a?e.resolve(a):(s[t]===n&&(s[t]=[]),s[t].push(e)),e.promise}return r.reject("Invalid `md-component-id` value.")}}}t.$inject=["$log","$q"],e.module("material.core").factory("$mdComponentRegistry",t)}(),function(){!function(){function t(t){function n(t){return t.hasClass("md-icon-button")?{isMenuItem:t.hasClass("md-menu-item"),fitRipple:!0,center:!0}:{isMenuItem:t.hasClass("md-menu-item"),dimBackground:!0}}return{attach:function(r,i,o){return o=e.extend(n(i),o),t.attach(r,i,o)}}}t.$inject=["$mdInkRipple"],e.module("material.core").factory("$mdButtonInkRipple",t)}()}(),function(){!function(){function t(t){function n(n,r,i){return t.attach(n,r,e.extend({center:!0,dimBackground:!1,fitRipple:!0},i))}return{attach:n}}t.$inject=["$mdInkRipple"],e.module("material.core").factory("$mdCheckboxInkRipple",t)}()}(),function(){!function(){function t(t){function n(n,r,i){return t.attach(n,r,e.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},i))}return{attach:n}}t.$inject=["$mdInkRipple"],e.module("material.core").factory("$mdListInkRipple",t)}()}(),function(){function t(t,n){return{controller:e.noop,link:function(e,r,i){i.hasOwnProperty("mdInkRippleCheckbox")?n.attach(e,r):t.attach(e,r)}}}function n(){function t(){n=!0}var n=!1;return{disableInkRipple:t,$get:["$injector",function(t){function i(i,o,a){return n||o.controller("mdNoInk")?e.noop:t.instantiate(r,{$scope:i,$element:o,rippleOptions:a})}return{attach:i}}]}}function r(t,n,r,i,o,a,s){this.$window=i,this.$timeout=o,this.$mdUtil=a,this.$mdColorUtil=s,this.$scope=t,this.$element=n,this.options=r,this.mousedown=!1,this.ripples=[],this.timeout=null,this.lastRipple=null,a.valueOnUse(this,"container",this.createContainer),this.$element.addClass("md-ink-ripple"),(n.controller("mdInkRipple")||{}).createRipple=e.bind(this,this.createRipple),(n.controller("mdInkRipple")||{}).setColor=e.bind(this,this.color),this.bindEvents()}function i(t,n){(t.mousedown||t.lastRipple)&&(t.mousedown=!1,t.$mdUtil.nextTick(e.bind(t,n),!1))}function o(){return{controller:e.noop}}r.$inject=["$scope","$element","rippleOptions","$window","$timeout","$mdUtil","$mdColorUtil"],t.$inject=["$mdButtonInkRipple","$mdCheckboxInkRipple"],e.module("material.core").provider("$mdInkRipple",n).directive("mdInkRipple",t).directive("mdNoInk",o).directive("mdNoBar",o).directive("mdNoStretch",o);var a=450;r.prototype.color=function(t){function n(){var t=r.options&&r.options.colorElement?r.options.colorElement:[],e=t.length?t[0]:r.$element[0];return e?r.$window.getComputedStyle(e).color:"rgb(0,0,0)"}var r=this;return e.isDefined(t)&&(r._color=r._parseColor(t)),r._color||r._parseColor(r.inkRipple())||r._parseColor(n())},r.prototype.calculateColor=function(){return this.color()},r.prototype._parseColor=function(t,e){e=e||1;var n=this.$mdColorUtil;if(t)return 0===t.indexOf("rgba")?t.replace(/\d?\.?\d*\s*\)\s*$/,(.1*e).toString()+")"):0===t.indexOf("rgb")?n.rgbToRgba(t):0===t.indexOf("#")?n.hexToRgba(t):void 0},r.prototype.bindEvents=function(){this.$element.on("mousedown",e.bind(this,this.handleMousedown)),this.$element.on("mouseup touchend",e.bind(this,this.handleMouseup)),this.$element.on("mouseleave",e.bind(this,this.handleMouseup)),this.$element.on("touchmove",e.bind(this,this.handleTouchmove))},r.prototype.handleMousedown=function(t){if(!this.mousedown)if(t.hasOwnProperty("originalEvent")&&(t=t.originalEvent),this.mousedown=!0,this.options.center)this.createRipple(this.container.prop("clientWidth")/2,this.container.prop("clientWidth")/2);else if(t.srcElement!==this.$element[0]){var e=this.$element[0].getBoundingClientRect(),n=t.clientX-e.left,r=t.clientY-e.top;this.createRipple(n,r)}else this.createRipple(t.offsetX,t.offsetY)},r.prototype.handleMouseup=function(){i(this,this.clearRipples)},r.prototype.handleTouchmove=function(){i(this,this.deleteRipples)},r.prototype.deleteRipples=function(){for(var t=0;t<this.ripples.length;t++)this.ripples[t].remove()},r.prototype.clearRipples=function(){for(var t=0;t<this.ripples.length;t++)this.fadeInComplete(this.ripples[t])},r.prototype.createContainer=function(){var t=e.element('<div class="md-ripple-container"></div>');return this.$element.append(t),t},r.prototype.clearTimeout=function(){this.timeout&&(this.$timeout.cancel(this.timeout),this.timeout=null)},r.prototype.isRippleAllowed=function(){var t=this.$element[0];do{if(!t.tagName||"BODY"===t.tagName)break;if(t&&e.isFunction(t.hasAttribute)){if(t.hasAttribute("disabled"))return!1;if("false"===this.inkRipple()||"0"===this.inkRipple())return!1}}while(t=t.parentNode);return!0},r.prototype.inkRipple=function(){return this.$element.attr("md-ink-ripple")},r.prototype.createRipple=function(t,n){function r(t,e,n){return t?Math.max(e,n):Math.sqrt(Math.pow(e,2)+Math.pow(n,2))}if(this.isRippleAllowed()){var i=this,o=i.$mdColorUtil,s=e.element('<div class="md-ripple"></div>'),c=this.$element.prop("clientWidth"),u=this.$element.prop("clientHeight"),l=2*Math.max(Math.abs(c-t),t),d=2*Math.max(Math.abs(u-n),n),h=r(this.options.fitRipple,l,d),p=this.calculateColor();s.css({left:t+"px",top:n+"px",background:"black",width:h+"px",height:h+"px",backgroundColor:o.rgbaToRgb(p),borderColor:o.rgbaToRgb(p)}),this.lastRipple=s,this.clearTimeout(),this.timeout=this.$timeout(function(){i.clearTimeout(),i.mousedown||i.fadeInComplete(s)},.35*a,!1),this.options.dimBackground&&this.container.css({backgroundColor:p}),this.container.append(s),this.ripples.push(s),s.addClass("md-ripple-placed"),this.$mdUtil.nextTick(function(){s.addClass("md-ripple-scaled md-ripple-active"),i.$timeout(function(){i.clearRipples()},a,!1)},!1)}},r.prototype.fadeInComplete=function(t){this.lastRipple===t?this.timeout||this.mousedown||this.removeRipple(t):this.removeRipple(t)},r.prototype.removeRipple=function(t){var e=this,n=this.ripples.indexOf(t);n<0||(this.ripples.splice(this.ripples.indexOf(t),1),t.removeClass("md-ripple-active"),t.addClass("md-ripple-remove"),0===this.ripples.length&&this.container.css({backgroundColor:""}),this.$timeout(function(){e.fadeOutComplete(t)},a,!1))},r.prototype.fadeOutComplete=function(t){t.remove(),this.lastRipple=null}}(),function(){!function(){function t(t){function n(n,r,i){return t.attach(n,r,e.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},i))}return{attach:n}}t.$inject=["$mdInkRipple"],e.module("material.core").factory("$mdTabInkRipple",t)}()}(),function(){e.module("material.core.theming.palette",[]).constant("$mdColorPalette",{red:{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100",contrastStrongLightColors:"400 500 600 700 A200 A400 A700"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"500 600 A200 A400 A700"},purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400 A700"},"deep-purple":{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400"},blue:{50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100",contrastStrongLightColors:"500 600 700 A200 A400 A700"},"light-blue":{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A700",contrastStrongLightColors:"600 700 800 A700"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},green:{50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},"light-green":{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00",contrastDefaultColor:"dark",contrastLightColors:"900",contrastStrongLightColors:"900"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600",contrastDefaultColor:"dark"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00",contrastDefaultColor:"dark"},orange:{50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00",contrastDefaultColor:"dark",contrastLightColors:"800 900",contrastStrongLightColors:"800 900"},"deep-orange":{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100 A200",contrastStrongLightColors:"500 600 700 800 900 A400 A700"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100 A200",contrastStrongLightColors:"300 400"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#ffffff",A200:"#000000",A400:"#303030",A700:"#616161",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A200 A400 A700"},"blue-grey":{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100 A200",contrastStrongLightColors:"400 500 700"}})}(),function(){!function(t){function e(t){var e=!!document.querySelector("[md-themes-disabled]");t.disableTheming(e)}function r(e,r){function i(t,e){return e=e||{},p[t]=a(t,e),m}function o(e,n){return a(e,t.extend({},p[e]||{},n))}function a(t,e){var n=M.filter(function(t){return!e[t]});if(n.length)throw new Error("Missing colors %1 in palette %2!".replace("%1",n.join(", ")).replace("%2",t));return e}function c(e,n){if($[e])return $[e];n=n||"default";var r="string"==typeof n?$[n]:n,i=new l(e);return r&&t.forEach(r.colors,function(e,n){i.colors[n]={name:e.name,hues:t.extend({},e.hues)}}),$[e]=i,i}function l(e){function n(e){if(e=0===arguments.length||!!e,e!==r.isDark){r.isDark=e,r.foregroundPalette=r.isDark?v:f,r.foregroundShadow=r.isDark?g:b;var n=r.isDark?x:_,i=r.isDark?_:x;return t.forEach(n,function(t,e){var n=r.colors[e],o=i[e];if(n)for(var a in n.hues)n.hues[a]===o[a]&&(n.hues[a]=t[a])}),r}}var r=this;r.name=e,r.colors={},r.dark=n,n(!1),w.forEach(function(e){var n=(r.isDark?x:_)[e];r[e+"Palette"]=function(i,o){var a=r.colors[e]={name:i,hues:t.extend({},n,o)};return Object.keys(a.hues).forEach(function(t){if(!n[t])throw new Error("Invalid hue name '%1' in theme %2's %3 color %4. Available hue names: %4".replace("%1",t).replace("%2",r.name).replace("%3",i).replace("%4",Object.keys(n).join(", ")))}),Object.keys(a.hues).map(function(t){return a.hues[t]}).forEach(function(t){if(M.indexOf(t)==-1)throw new Error("Invalid hue value '%1' in theme %2's %3 color %4. Available hue values: %5".replace("%1",t).replace("%2",r.name).replace("%3",e).replace("%4",i).replace("%5",M.join(", ")))}),r},r[e+"Color"]=function(){var t=Array.prototype.slice.call(arguments);return console.warn("$mdThemingProviderTheme."+e+"Color() has been deprecated. Use $mdThemingProviderTheme."+e+"Palette() instead."),r[e+"Palette"].apply(r,t)}})}function d(e,r,i,o){function a(t){return t===n||""===t||l.THEMES[t]!==n}function s(t,e){function n(){return s&&s.$mdTheme||("default"==E?"":E)}function i(e){if(e){a(e)||o.warn("Attempted to use unregistered theme '"+e+"'. Register it with $mdThemingProvider.theme().");var n=t.data("$mdThemeName");n&&t.removeClass("md-"+n+"-theme"),t.addClass("md-"+e+"-theme"),t.data("$mdThemeName",e),s&&t.data("$mdThemeController",s)}}var s=e.controller("mdTheme")||t.data("$mdThemeController");if(i(n()),s)var c=y||s.$shouldWatch||r.parseAttributeBoolean(t.attr("md-theme-watch")),u=s.registerChanges(function(e){i(e),c?t.on("$destroy",u):u()})}var l=function(t,r){r===n&&(r=t,t=n),t===n&&(t=e),l.inherit(r,r)};return Object.defineProperty(l,"THEMES",{get:function(){return t.extend({},$)}}),Object.defineProperty(l,"PALETTES",{get:function(){return t.extend({},p)}}),Object.defineProperty(l,"ALWAYS_WATCH",{get:function(){return y}}),l.inherit=s,l.registered=a,l.defaultTheme=function(){return E},l.generateTheme=function(t){u($[t],t,A.nonce)},l.defineTheme=function(t,e){e=e||{};var n=c(t);return e.primary&&n.primaryPalette(e.primary),e.accent&&n.accentPalette(e.accent),e.warn&&n.warnPalette(e.warn),e.background&&n.backgroundPalette(e.background),e.dark&&n.dark(),this.generateTheme(t),i.resolve(t)},l.setBrowserColor=T,l}d.$inject=["$rootScope","$mdUtil","$q","$log"],p={};var m,$={},y=!1,E="default";t.extend(p,e);var C=function(t){var e=r.setMeta("theme-color",t),n=r.setMeta("msapplication-navbutton-color",t);return function(){e(),n()}},T=function(e){e=t.isObject(e)?e:{};var n=e.theme||"default",r=e.hue||"800",i=p[e.palette]||p[$[n].colors[e.palette||"primary"].name],o=t.isObject(i[r])?i[r].hex:i[r];return C(o)};return m={definePalette:i,extendPalette:o,theme:c,configuration:function(){return t.extend({},A,{defaultTheme:E,alwaysWatchTheme:y,registeredStyles:[].concat(A.registeredStyles)})},disableTheming:function(e){A.disableTheming=t.isUndefined(e)||!!e},registerStyles:function(t){A.registeredStyles.push(t)},setNonce:function(t){A.nonce=t},generateThemesOnDemand:function(t){A.generateOnDemand=t},setDefaultTheme:function(t){E=t},alwaysWatchTheme:function(t){y=t},enableBrowserColor:T,$get:d,_LIGHT_DEFAULT_HUES:_,_DARK_DEFAULT_HUES:x,_PALETTES:p,_THEMES:$,_parseRules:s,_rgba:h}}function i(e,n,r,i,o,a){return{priority:101,link:{pre:function(s,c,u){var l=[],d=n.startSymbol(),h=n.endSymbol(),p=u.mdTheme.trim(),m=p.substr(0,d.length)===d&&p.lastIndexOf(h)===p.length-h.length,f="::",v=u.mdTheme.split(d).join("").split(h).join("").trim().substr(0,f.length)===f,g={registerChanges:function(e,n){return n&&(e=t.bind(n,e)),l.push(e),function(){var t=l.indexOf(e);t>-1&&l.splice(t,1)}},$setTheme:function(t){e.registered(t)||a.warn("attempted to use unregistered theme '"+t+"'"),g.$mdTheme=t;for(var n=l.length;n--;)l[n](t)},$shouldWatch:i.parseAttributeBoolean(c.attr("md-theme-watch"))||e.ALWAYS_WATCH||m&&!v};c.data("$mdThemeController",g);var b=function(){var t=n(u.mdTheme)(s);return r(t)(s)||t},$=function(e){return"string"==typeof e?g.$setTheme(e):void o.when(t.isFunction(e)?e():e).then(function(t){g.$setTheme(t)})};$(b());var y=s.$watch(b,function(t){t&&($(t),g.$shouldWatch||y())})}}}}function o(){return A.disableTheming=!0,{restrict:"A",priority:"900"}}function a(t){return t}function s(e,n,r){l(e,n),r=r.replace(/THEME_NAME/g,e.name);var i=[],o=e.colors[n],a=new RegExp("\\.md-"+e.name+"-theme","g"),s=new RegExp("('|\")?{{\\s*("+n+")-(color|contrast)-?(\\d\\.?\\d*)?\\s*}}(\"|')?","g"),c=/'?"?\{\{\s*([a-zA-Z]+)-(A?\d+|hue\-[0-3]|shadow|default)-?(\d\.?\d*)?(contrast)?\s*\}\}'?"?/g,u=p[o.name];return r=r.replace(c,function(t,n,r,i,o){return"foreground"===n?"shadow"==r?e.foregroundShadow:e.foregroundPalette[r]||e.foregroundPalette[1]:(0!==r.indexOf("hue")&&"default"!==r||(r=e.colors[n].hues[r]),h((p[e.colors[n].name][r]||"")[o?"contrast":"value"],i))}),t.forEach(o.hues,function(t,n){var o=r.replace(s,function(e,n,r,i,o){return h(u[t]["color"===i?"value":"contrast"],o)});if("default"!==n&&(o=o.replace(a,".md-"+e.name+"-theme.md-"+n)),"default"==e.name){var c=/((?:\s|>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)*)\.md-default-theme((?:\s|>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)*)/g;o=o.replace(c,function(t,e,n){return t+", "+e+n})}i.push(o)}),i}function c(e,n){function r(e,n){var r=e.contrastDefaultColor,i=e.contrastLightColors||[],o=e.contrastStrongLightColors||[],a=e.contrastDarkColors||[];"string"==typeof i&&(i=i.split(" ")),"string"==typeof o&&(o=o.split(" ")),"string"==typeof a&&(a=a.split(" ")),delete e.contrastDefaultColor,delete e.contrastLightColors,delete e.contrastStrongLightColors,delete e.contrastDarkColors,t.forEach(e,function(n,s){function c(){return"light"===r?a.indexOf(s)>-1?$:o.indexOf(s)>-1?E:y:i.indexOf(s)>-1?o.indexOf(s)>-1?E:y:$}if(!t.isObject(n)){var u=d(n);if(!u)throw new Error("Color %1, in palette %2's hue %3, is invalid. Hex or rgb(a) color expected.".replace("%1",n).replace("%2",e.name).replace("%3",s));e[s]={hex:e[s],value:u,contrast:c()}}})}var i=document.head,o=i?i.firstElementChild:null,a=!A.disableTheming&&e.has("$MD_THEME_CSS")?e.get("$MD_THEME_CSS"):"";if(a+=A.registeredStyles.join(""),o&&0!==a.length){t.forEach(p,r);var s=a.split(/\}(?!(\}|'|"|;))/).filter(function(t){return t&&t.trim().length}).map(function(t){return t.trim()+"}"}),c=new RegExp("md-("+w.join("|")+")","g");w.forEach(function(t){T[t]=""}),s.forEach(function(t){for(var e,n=(t.match(c),0);e=w[n];n++)if(t.indexOf(".md-"+e)>-1)return T[e]+=t;for(n=0;e=w[n];n++)if(t.indexOf(e)>-1)return T[e]+=t;return T[C]+=t}),A.generateOnDemand||t.forEach(n.THEMES,function(t){m[t.name]||"default"!==n.defaultTheme()&&"default"===t.name||u(t,t.name,A.nonce)})}}function u(t,e,n){var r=document.head,i=r?r.firstElementChild:null;m[e]||(w.forEach(function(e){for(var o=s(t,e,T[e]);o.length;){var a=o.shift();if(a){var c=document.createElement("style");c.setAttribute("md-theme-style",""),n&&c.setAttribute("nonce",n),c.appendChild(document.createTextNode(a)),r.insertBefore(c,i)}}}),m[t.name]=!0)}function l(t,e){if(!p[(t.colors[e]||{}).name])throw new Error("You supplied an invalid color palette for theme %1's %2 palette. Available palettes: %3".replace("%1",t.name).replace("%2",e).replace("%3",Object.keys(p).join(", ")))}function d(e){if(t.isArray(e)&&3==e.length)return e;
if(/^rgb/.test(e))return e.replace(/(^\s*rgba?\(|\)\s*$)/g,"").split(",").map(function(t,e){return 3==e?parseFloat(t,10):parseInt(t,10)});if("#"==e.charAt(0)&&(e=e.substring(1)),/^([a-fA-F0-9]{3}){1,2}$/g.test(e)){var n=e.length/3,r=e.substr(0,n),i=e.substr(n,n),o=e.substr(2*n);return 1===n&&(r+=r,i+=i,o+=o),[parseInt(r,16),parseInt(i,16),parseInt(o,16)]}}function h(e,n){return e?(4==e.length&&(e=t.copy(e),n?e.pop():n=e.pop()),n&&("number"==typeof n||"string"==typeof n&&n.length)?"rgba("+e.join(",")+","+n+")":"rgb("+e.join(",")+")"):"rgb('0,0,0')"}e.$inject=["$mdThemingProvider"],i.$inject=["$mdTheming","$interpolate","$parse","$mdUtil","$q","$log"],a.$inject=["$mdTheming"],r.$inject=["$mdColorPalette","$$mdMetaProvider"],c.$inject=["$injector","$mdTheming"],t.module("material.core.theming",["material.core.theming.palette","material.core.meta"]).directive("mdTheme",i).directive("mdThemable",a).directive("mdThemesDisabled",o).provider("$mdTheming",r).config(e).run(c);var p,m={},f={name:"dark",1:"rgba(0,0,0,0.87)",2:"rgba(0,0,0,0.54)",3:"rgba(0,0,0,0.38)",4:"rgba(0,0,0,0.12)"},v={name:"light",1:"rgba(255,255,255,1.0)",2:"rgba(255,255,255,0.7)",3:"rgba(255,255,255,0.5)",4:"rgba(255,255,255,0.12)"},g="1px 1px 0px rgba(0,0,0,0.4), -1px -1px 0px rgba(0,0,0,0.4)",b="",$=d("rgba(0,0,0,0.87)"),y=d("rgba(255,255,255,0.87)"),E=d("rgb(255,255,255)"),w=["primary","accent","warn","background"],C="primary",_={accent:{default:"A200","hue-1":"A100","hue-2":"A400","hue-3":"A700"},background:{default:"50","hue-1":"A100","hue-2":"100","hue-3":"300"}},x={background:{default:"A400","hue-1":"800","hue-2":"900","hue-3":"A200"}};w.forEach(function(t){var e={default:"500","hue-1":"300","hue-2":"800","hue-3":"A100"};_[t]||(_[t]=e),x[t]||(x[t]=e)});var M=["50","100","200","300","400","500","600","700","800","900","A100","A200","A400","A700"],A={disableTheming:!1,generateOnDemand:!1,registeredStyles:[],nonce:null},T={}}(t.angular)}(),function(){function n(n,r,i,o,a){var s;return s={translate3d:function(t,e,n,r){function i(n){return a(t,{to:n||e,addClass:r.transitionOutClass,removeClass:r.transitionInClass,duration:r.duration}).start()}return a(t,{from:e,to:n,addClass:r.transitionInClass,removeClass:r.transitionOutClass,duration:r.duration}).start().then(function(){return i})},waitTransitionEnd:function(e,n){var a=3e3;return r(function(r,s){function c(t){t&&t.target!==e[0]||(t&&i.cancel(l),e.off(o.CSS.TRANSITIONEND,c),r())}function u(n){return n=n||t.getComputedStyle(e[0]),"0s"==n.transitionDuration||!n.transition&&!n.transitionProperty}n=n||{},u(n.cachedTransitionStyles)&&(a=0);var l=i(c,n.timeout||a);e.on(o.CSS.TRANSITIONEND,c)})},calculateTransformValues:function(t,e){function n(){var e=t?t.parent():null,n=e?e.parent():null;return n?s.clientRect(n):null}var r=e.element,i=e.bounds;if(r||i){var o=r?s.clientRect(r)||n():s.copyRect(i),a=s.copyRect(t[0].getBoundingClientRect()),c=s.centerPointFor(a),u=s.centerPointFor(o);return{centerX:u.x-c.x,centerY:u.y-c.y,scaleX:Math.round(100*Math.min(.5,o.width/a.width))/100,scaleY:Math.round(100*Math.min(.5,o.height/a.height))/100}}return{centerX:0,centerY:0,scaleX:.5,scaleY:.5}},calculateZoomToOrigin:function(t,r){var i="translate3d( {centerX}px, {centerY}px, 0 ) scale( {scaleX}, {scaleY} )",o=e.bind(null,n.supplant,i);return o(s.calculateTransformValues(t,r))},calculateSlideToOrigin:function(t,r){var i="translate3d( {centerX}px, {centerY}px, 0 )",o=e.bind(null,n.supplant,i);return o(s.calculateTransformValues(t,r))},toCss:function(t){function n(t,n,i){e.forEach(n.split(" "),function(t){r[t]=i})}var r={},i="left top right bottom width height x y min-width min-height max-width max-height";return e.forEach(t,function(t,a){if(!e.isUndefined(t))if(i.indexOf(a)>=0)r[a]=t+"px";else switch(a){case"transition":n(a,o.CSS.TRANSITION,t);break;case"transform":n(a,o.CSS.TRANSFORM,t);break;case"transformOrigin":n(a,o.CSS.TRANSFORM_ORIGIN,t);break;case"font-size":r["font-size"]=t}}),r},toTransformCss:function(t,n,r){var i={};return e.forEach(o.CSS.TRANSFORM.split(" "),function(e){i[e]=t}),n&&(r=r||"all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important",i.transition=r),i},copyRect:function(t,n){return t?(n=n||{},e.forEach("left top right bottom width height".split(" "),function(e){n[e]=Math.round(t[e])}),n.width=n.width||n.right-n.left,n.height=n.height||n.bottom-n.top,n):null},clientRect:function(t){var n=e.element(t)[0].getBoundingClientRect(),r=function(t){return t&&t.width>0&&t.height>0};return r(n)?s.copyRect(n):null},centerPointFor:function(t){return t?{x:Math.round(t.left+t.width/2),y:Math.round(t.top+t.height/2)}:{x:0,y:0}}}}e.module("material.core").factory("$$mdAnimate",["$q","$timeout","$mdConstant","$animateCss",function(t,e,r,i){return function(o){return n(o,t,e,r,i)}}])}(),function(){e.version.minor>=4?e.module("material.core.animate",[]):!function(){function t(t){return t.replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()})}var n=e.forEach,r=e.isDefined(document.documentElement.style.WebkitAppearance),i=r?"-webkit-":"",o=(r?"webkitTransitionEnd ":"")+"transitionend",a=(r?"webkitAnimationEnd ":"")+"animationend",s=["$document",function(t){return function(){return t[0].body.clientWidth+1}}],c=["$$rAF",function(t){return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}],u=["$q","$$rAFMutex",function(t,r){function i(t){this.setHost(t),this._doneCallbacks=[],this._runInAnimationFrame=r(),this._state=0}var o=0,a=1,s=2;return i.prototype={setHost:function(t){this.host=t||{}},done:function(t){this._state===s?t():this._doneCallbacks.push(t)},progress:e.noop,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){e===!1?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(t){var e=this;e._state===o&&(e._state=a,e._runInAnimationFrame(function(){e._resolve(t)}))},_resolve:function(t){this._state!==s&&(n(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=s)}},i.all=function(t,e){function r(n){o=o&&n,++i===t.length&&e(o)}var i=0,o=!0;n(t,function(t){t.done(r)})},i}];e.module("material.core.animate",[]).factory("$$forceReflow",s).factory("$$AnimateRunner",u).factory("$$rAFMutex",c).factory("$animateCss",["$window","$$rAF","$$AnimateRunner","$$forceReflow","$$jqLite","$timeout","$animate",function(e,s,c,u,l,d,h){function p(r,s){var u=[],l=E(r),p=l&&h.enabled(),v=!1,C=!1;p&&(s.transitionStyle&&u.push([i+"transition",s.transitionStyle]),s.keyframeStyle&&u.push([i+"animation",s.keyframeStyle]),s.delay&&u.push([i+"transition-delay",s.delay+"s"]),s.duration&&u.push([i+"transition-duration",s.duration+"s"]),v=s.keyframeStyle||s.to&&(s.duration>0||s.transitionStyle),C=!!s.addClass||!!s.removeClass,w(r,!0));var _=p&&(v||C);$(r,s);var x,M,A=!1;return{close:e.close,start:function(){function e(){if(!A)return A=!0,x&&M&&r.off(x,M),m(r,s),b(r,s),n(u,function(e){l.style[t(e[0])]=""}),h.complete(!0),h}var h=new c;return g(function(){if(w(r,!1),!_)return e();n(u,function(e){var n=e[0],r=e[1];l.style[t(n)]=r}),m(r,s);var c=f(r);if(0===c.duration)return e();var h=[];s.easing&&(c.transitionDuration&&h.push([i+"transition-timing-function",s.easing]),c.animationDuration&&h.push([i+"animation-timing-function",s.easing])),s.delay&&c.animationDelay&&h.push([i+"animation-delay",s.delay+"s"]),s.duration&&c.animationDuration&&h.push([i+"animation-duration",s.duration+"s"]),n(h,function(e){var n=e[0],r=e[1];l.style[t(n)]=r,u.push(e)});var p=c.delay,v=1e3*p,g=c.duration,b=1e3*g,$=Date.now();x=[],c.transitionDuration&&x.push(o),c.animationDuration&&x.push(a),x=x.join(" "),M=function(t){t.stopPropagation();var n=t.originalEvent||t,r=n.timeStamp||Date.now(),i=parseFloat(n.elapsedTime.toFixed(3));Math.max(r-$,0)>=v&&i>=g&&e()},r.on(x,M),y(r,s),d(e,v+1.5*b,!1)}),h}}}function m(t,e){e.addClass&&(l.addClass(t,e.addClass),e.addClass=null),e.removeClass&&(l.removeClass(t,e.removeClass),e.removeClass=null)}function f(t){function n(t){return r?"Webkit"+t.charAt(0).toUpperCase()+t.substr(1):t}var i=E(t),o=e.getComputedStyle(i),a=v(o[n("transitionDuration")]),s=v(o[n("animationDuration")]),c=v(o[n("transitionDelay")]),u=v(o[n("animationDelay")]);s*=parseInt(o[n("animationIterationCount")],10)||1;var l=Math.max(s,a),d=Math.max(u,c);return{duration:l,delay:d,animationDuration:s,transitionDuration:a,animationDelay:u,transitionDelay:c}}function v(t){var e=0,r=(t||"").split(/\s*,\s*/);return n(r,function(t){"s"==t.charAt(t.length-1)&&(t=t.substring(0,t.length-1)),t=parseFloat(t)||0,e=e?Math.max(t,e):t}),e}function g(t){C&&C(),_.push(t),C=s(function(){C=null;for(var t=u(),e=0;e<_.length;e++)_[e](t);_.length=0})}function b(t,e){$(t,e),y(t,e)}function $(t,e){e.from&&(t.css(e.from),e.from=null)}function y(t,e){e.to&&(t.css(e.to),e.to=null)}function E(t){for(var e=0;e<t.length;e++)if(1===t[e].nodeType)return t[e]}function w(e,n){var r=E(e),o=t(i+"transition-delay");r.style[o]=n?"-9999s":""}var C,_=[];return p}])}()}(),function(){e.module("material.components.autocomplete",["material.core","material.components.icon","material.components.virtualRepeat"])}(),function(){e.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$mdUtil","$animate","$rootElement","$window","$log","$$rAF","$document",function(t,n,r,i,o,a,s,c){function u(u,d,h){function p(){var t=parseInt(m.height,10)+Math.abs(parseInt(m.top,10));d.css("height",t+"px")}r.pin&&r.pin(d,i);var m;s(function(){if(m=o.getComputedStyle(c[0].body),"fixed"===m.position){var r=n.debounce(function(){m=o.getComputedStyle(c[0].body),p()},60,null,!1);p(),e.element(o).on("resize",r),u.$on("$destroy",function(){e.element(o).off("resize",r)})}var i=d.parent();if(i.length){"BODY"===i[0].nodeName&&d.css("position","fixed");var s=o.getComputedStyle(i[0]);"static"===s.position&&a.warn(l),t.inherit(d,i)}})}var l="<md-backdrop> may not work properly in a scrolled, static-positioned parent container.";return{restrict:"E",link:u}}])}(),function(){function t(t){return{restrict:"E",link:function(e,n){n.addClass("_md"),e.$on("$destroy",function(){t.destroy()})}}}function n(t){function n(t,n,o,a,s,c,u,l){function d(r,i,u,d){if(i=o.extractElementByName(i,"md-bottom-sheet"),i.attr("tabindex","-1"),i.hasClass("ng-cloak")){var h="$mdBottomSheet: using `<md-bottom-sheet ng-cloak >` will affect the bottom-sheet opening animations.";l.warn(h,i[0])}u.disableBackdrop||(m=o.createBackdrop(r,"md-bottom-sheet-backdrop md-opaque"),m[0].tabIndex=-1,u.clickOutsideToClose&&m.on("click",function(){o.nextTick(s.cancel,!0)}),a.inherit(m,u.parent),t.enter(m,u.parent,null));var f=new p(i,u.parent);return u.bottomSheet=f,a.inherit(f.element,u.parent),u.disableParentScroll&&(u.restoreScroll=o.disableScrollAround(f.element,u.parent)),t.enter(f.element,u.parent,m).then(function(){var t=o.findFocusTarget(i)||e.element(i[0].querySelector("button")||i[0].querySelector("a")||i[0].querySelector(o.prefixer("ng-click",!0)))||m;u.escapeToClose&&(u.rootElementKeyupCallback=function(t){t.keyCode===n.KEY_CODE.ESCAPE&&o.nextTick(s.cancel,!0)},c.on("keyup",u.rootElementKeyupCallback),t&&t.focus())})}function h(e,n,r){var i=r.bottomSheet;return r.disableBackdrop||t.leave(m),t.leave(i.element).then(function(){r.disableParentScroll&&(r.restoreScroll(),delete r.restoreScroll),i.cleanup()})}function p(t,e){function a(e){t.css(n.CSS.TRANSITION_DURATION,"0ms")}function c(e){var r=e.pointer.distanceY;r<5&&(r=Math.max(-i,r/2)),t.css(n.CSS.TRANSFORM,"translate3d(0,"+(i+r)+"px,0)")}function l(e){if(e.pointer.distanceY>0&&(e.pointer.distanceY>20||Math.abs(e.pointer.velocityY)>r)){var i=t.prop("offsetHeight")-e.pointer.distanceY,a=Math.min(i/e.pointer.velocityY*.75,500);t.css(n.CSS.TRANSITION_DURATION,a+"ms"),o.nextTick(s.cancel,!0)}else t.css(n.CSS.TRANSITION_DURATION,""),t.css(n.CSS.TRANSFORM,"")}var d=u.register(e,"drag",{horizontal:!1});return e.on("$md.dragstart",a).on("$md.drag",c).on("$md.dragend",l),{element:t,cleanup:function(){d(),e.off("$md.dragstart",a),e.off("$md.drag",c),e.off("$md.dragend",l)}}}var m;return{themable:!0,onShow:d,onRemove:h,disableBackdrop:!1,escapeToClose:!0,clickOutsideToClose:!0,disableParentScroll:!0}}n.$inject=["$animate","$mdConstant","$mdUtil","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture","$log"];var r=.5,i=80;return t("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","clickOutsideToClose"],options:n})}t.$inject=["$mdBottomSheet"],n.$inject=["$$interimElementProvider"],e.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",t).provider("$mdBottomSheet",n)}(),function(){function t(t){return{restrict:"E",link:function(e,n){t(n)}}}function n(t,n,r,i){function o(t){return e.isDefined(t.href)||e.isDefined(t.ngHref)||e.isDefined(t.ngLink)||e.isDefined(t.uiSref)}function a(t,e){if(o(e))return'<a class="md-button" ng-transclude></a>';var n="undefined"==typeof e.type?"button":e.type;return'<button class="md-button" type="'+n+'" ng-transclude></button>'}function s(a,s,c){n(s),t.attach(a,s),r.expectWithoutText(s,"aria-label"),o(c)&&e.isDefined(c.ngDisabled)&&a.$watch(c.ngDisabled,function(t){s.attr("tabindex",t?-1:0)}),s.on("click",function(t){c.disabled===!0&&(t.preventDefault(),t.stopImmediatePropagation())}),s.hasClass("md-no-focus")||(s.on("focus",function(){i.isUserInvoked()&&"keyboard"!==i.getLastInteractionType()||s.addClass("md-focused")}),s.on("blur",function(){s.removeClass("md-focused")}))}return{restrict:"EA",replace:!0,transclude:!0,template:a,link:s}}n.$inject=["$mdButtonInkRipple","$mdTheming","$mdAria","$mdInteraction"],t.$inject=["$mdTheming"],e.module("material.components.button",["material.core"]).directive("mdButton",n).directive("a",t)}(),function(){function t(t){return{restrict:"E",link:function(e,n,r){n.addClass("_md"),t(n)}}}t.$inject=["$mdTheming"],e.module("material.components.card",["material.core"]).directive("mdCard",t)}(),function(){function t(t,n,r,i,o,a){function s(s,c){function u(s,c,u,l){function d(t,e,n){u[t]&&s.$watch(u[t],function(t){n[t]&&c.attr(e,n[t])})}function h(t){var e=t.which||t.keyCode;e!==r.KEY_CODE.SPACE&&e!==r.KEY_CODE.ENTER||(t.preventDefault(),c.addClass("md-focused"),p(t))}function p(t){c[0].hasAttribute("disabled")||s.skipToggle||s.$apply(function(){var e=u.ngChecked&&u.ngClick?u.checked:!b.$viewValue;b.$setViewValue(e,t&&t.type),b.$render()})}function m(){c.toggleClass("md-checked",!!b.$viewValue&&!v)}function f(t){v=t!==!1,v&&c.attr("aria-checked","mixed"),c.toggleClass("md-indeterminate",v)}var v,g=l[0],b=l[1]||o.fakeNgModel(),$=l[2];if(g){var y=g.isErrorGetter||function(){return b.$invalid&&(b.$touched||$&&$.$submitted)};g.input=c,s.$watch(y,g.setInvalid)}i(c),c.children().on("focus",function(){c.focus()}),o.parseAttributeBoolean(u.mdIndeterminate)&&(f(),s.$watch(u.mdIndeterminate,f)),u.ngChecked&&s.$watch(s.$eval.bind(s,u.ngChecked),function(t){b.$setViewValue(t),b.$render()}),d("ngDisabled","tabindex",{true:"-1",false:u.tabindex}),n.expectWithText(c,"aria-label"),t.link.pre(s,{on:e.noop,0:{}},u,[b]),c.on("click",p).on("keypress",h).on("focus",function(){"keyboard"===a.getLastInteractionType()&&c.addClass("md-focused")}).on("blur",function(){c.removeClass("md-focused")}),b.$render=m}return c.$set("tabindex",c.tabindex||"0"),c.$set("type","checkbox"),c.$set("role",c.type),{pre:function(t,e){e.on("click",function(t){this.hasAttribute("disabled")&&t.stopImmediatePropagation()})},post:u}}return t=t[0],{restrict:"E",transclude:!0,require:["^?mdInputContainer","?ngModel","?^form"],priority:r.BEFORE_NG_ARIA,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-icon"></div></div><div ng-transclude class="md-label"></div>',compile:s}}t.$inject=["inputDirective","$mdAria","$mdConstant","$mdTheming","$mdUtil","$mdInteraction"],e.module("material.components.checkbox",["material.core"]).directive("mdCheckbox",t)}(),function(){e.module("material.components.chips",["material.core","material.components.autocomplete"])}(),function(){!function(){function t(t,n,r){function o(t,e){try{e&&t.css(c(e))}catch(t){r.error(t.message)}}function a(t){var e=l(t);return s(e)}function s(e,r){r=r||!1;var i=t.PALETTES[e.palette][e.hue];return i=r?i.contrast:i.value,n.supplant("rgba({0}, {1}, {2}, {3})",[i[0],i[1],i[2],i[3]||e.opacity])}function c(t){var n={},r=t.hasOwnProperty("color");return e.forEach(t,function(t,e){var i=l(t),o=e.indexOf("background")>-1;n[e]=s(i),o&&!r&&(n.color=s(i,!0))}),n}function u(n){return e.isDefined(t.THEMES[n.split("-")[0]])}function l(n){var r=n.split("-"),i=e.isDefined(t.THEMES[r[0]]),o=i?r.splice(0,1)[0]:t.defaultTheme();return{theme:o,palette:d(r,o),hue:h(r,o),opacity:r[2]||1}}function d(e,r){var o=e.length>1&&i.indexOf(e[1])!==-1,a=e[0].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if(o&&(a=e[0]+"-"+e.splice(1,1)),i.indexOf(a)===-1){var s=t.THEMES[r].colors[a];if(!s)throw new Error(n.supplant("mdColors: couldn't find '{palette}' in the palettes.",{palette:a}));a=s.name}return a}function h(e,r){var i=t.THEMES[r].colors;if("hue"===e[1]){var o=parseInt(e.splice(2,1)[0],10);if(o<1||o>3)throw new Error(n.supplant("mdColors: 'hue-{hueNumber}' is not a valid hue, can be only 'hue-1', 'hue-2' and 'hue-3'",{hueNumber:o}));if(e[1]="hue-"+o,!(e[0]in i))throw new Error(n.supplant("mdColors: 'hue-x' can only be used with [{availableThemes}], but was used with '{usedTheme}'",{availableThemes:Object.keys(i).join(", "),usedTheme:e[0]}));return i[e[0]].hues[e[1]]}return e[1]||i[e[0]in i?e[0]:"primary"].hues.default}return i=i||Object.keys(t.PALETTES),{applyThemeColors:o,getThemeColor:a,hasTheme:u}}function n(t,n,i,o){return{restrict:"A",require:["^?mdTheme"],compile:function(a,s){function c(){var t=s.mdColors,i=t.indexOf("::")>-1,o=!!i||r.test(s.mdColors);s.mdColors=t.replace("::","");var a=e.isDefined(s.mdColorsWatch);return!i&&!o&&(!a||n.parseAttributeBoolean(s.mdColorsWatch))}var u=c();return function(n,r,a,s){var c=s[0],l={},d=function(e){"string"!=typeof e&&(e=""),a.mdColors||(a.mdColors="{}");var r=o(a.mdColors)(n);return c&&Object.keys(r).forEach(function(n){var i=r[n];t.hasTheme(i)||(r[n]=(e||c.$mdTheme)+"-"+i)}),h(r),r},h=function(t){if(!e.equals(t,l)){var n=Object.keys(l);l.background&&!n.color&&n.push("color"),n.forEach(function(t){r.css(t,"")})}l=t},p=e.noop;c&&(p=c.registerChanges(function(e){t.applyThemeColors(r,d(e))})),n.$on("$destroy",function(){p()});try{u?n.$watch(d,e.bind(this,t.applyThemeColors,r),!0):t.applyThemeColors(r,d())}catch(t){i.error(t.message)}}}}}n.$inject=["$mdColors","$mdUtil","$log","$parse"],t.$inject=["$mdTheming","$mdUtil","$log"];var r=/^{((\s|,)*?["'a-zA-Z-]+?\s*?:\s*?('|")[a-zA-Z0-9-.]*('|"))+\s*}$/,i=null;e.module("material.components.colors",["material.core"]).directive("mdColors",n).service("$mdColors",t)}()}(),function(){function t(t){function e(t,e){this.$scope=t,this.$element=e}return{restrict:"E",controller:["$scope","$element",e],link:function(e,r){r.addClass("_md"),t(r),e.$broadcast("$mdContentLoaded",r),n(r[0])}}}function n(t){e.element(t).on("$md.pressdown",function(e){"t"===e.pointer.type&&(e.$materialScrollFixed||(e.$materialScrollFixed=!0,0===t.scrollTop?t.scrollTop=1:t.scrollHeight===t.scrollTop+t.offsetHeight&&(t.scrollTop-=1)))})}t.$inject=["$mdTheming"],e.module("material.components.content",["material.core"]).directive("mdContent",t)}(),function(){e.module("material.components.datepicker",["material.core","material.components.icon","material.components.virtualRepeat"])}(),function(){function t(t,n,r){return{restrict:"E",link:function(i,o){o.addClass("_md"),n(o),t(function(){function t(){o.toggleClass("md-content-overflow",a.scrollHeight>a.clientHeight)}var n,a=o[0].querySelector("md-dialog-content");a&&(n=a.getElementsByTagName("img"),t(),e.element(n).on("load",t)),i.$on("$destroy",function(){r.destroy(o)})})}}}function r(t){function r(t,e){return{template:['<md-dialog md-theme="{{ dialog.theme || dialog.defaultTheme }}" aria-label="{{ dialog.ariaLabel }}" ng-class="dialog.css">','  <md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">','    <h2 class="md-title">{{ dialog.title }}</h2>','    <div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body" ','        ng-bind-html="::dialog.mdHtmlContent"></div>','    <div ng-if="::!dialog.mdHtmlContent" class="md-dialog-content-body">',"      <p>{{::dialog.mdTextContent}}</p>","    </div>",'    <md-input-container md-no-float ng-if="::dialog.$type == \'prompt\'" class="md-prompt-input-container">','      <input ng-keypress="dialog.keypress($event)" md-autofocus ng-model="dialog.result"              placeholder="{{::dialog.placeholder}}">',"    </md-input-container>","  </md-dialog-content>","  <md-dialog-actions>",'    <md-button ng-if="dialog.$type === \'confirm\' || dialog.$type === \'prompt\'"               ng-click="dialog.abort()" class="md-primary md-cancel-button">',"      {{ dialog.cancel }}","    </md-button>",'    <md-button ng-click="dialog.hide()" class="md-primary md-confirm-button" md-autofocus="dialog.$type===\'alert\'">',"      {{ dialog.ok }}","    </md-button>","  </md-dialog-actions>","</md-dialog>"].join("").replace(/\s\s+/g,""),controller:function(){var n="prompt"==this.$type;n&&this.initialValue&&(this.result=this.initialValue),this.hide=function(){t.hide(!n||this.result)},this.abort=function(){t.cancel()},this.keypress=function(n){n.keyCode===e.KEY_CODE.ENTER&&t.hide(this.result)}},controllerAs:"dialog",bindToController:!0}}function i(t,r,i,s,c,u,l,d,h,p,m,f,v){function g(t){t.defaultTheme=m.defaultTheme(),E(t)}function b(t,e,n,r){if(r){var i=r.htmlContent||n.htmlContent||"",o=r.textContent||n.textContent||r.content||n.content||"";if(i&&!p.has("$sanitize"))throw Error("The ngSanitize module must be loaded in order to use htmlContent.");if(i&&o)throw Error("md-dialog cannot have both `htmlContent` and `textContent`");r.mdHtmlContent=i,r.mdTextContent=o}}function $(t,n,r,o){function a(){n[0].querySelector(".md-actions")&&h.warn("Using a class of md-actions is deprecated, please use <md-dialog-actions>.")}function s(){function t(){return n[0].querySelector(".dialog-close, md-dialog-actions button:last-child")}if(r.focusOnOpen){var e=i.findFocusTarget(n)||t()||c;e.focus()}}e.element(u[0].body).addClass("md-dialog-is-showing");var c=n.find("md-dialog");if(c.hasClass("ng-cloak")){var l="$mdDialog: using `<md-dialog ng-cloak>` will affect the dialog opening animations.";h.warn(l,n[0])}return w(r),x(c,r),_(t,n,r),C(n,r),T(n,r).then(function(){M(n,r),a(),s()})}function y(t,n,r){function i(){return k(n,r)}function s(){e.element(u[0].body).removeClass("md-dialog-is-showing"),r.contentElement&&r.reverseContainerStretch(),r.cleanupElement(),r.$destroy||"keyboard"!==r.originInteraction||r.origin.focus()}return r.deactivateListeners(),r.unlockScreenReader(),r.hideBackdrop(r.$destroy),o&&o.parentNode&&o.parentNode.removeChild(o),a&&a.parentNode&&a.parentNode.removeChild(a),r.$destroy?s():i().then(s)}function E(t){var n;t.targetEvent&&t.targetEvent.target&&(n=e.element(t.targetEvent.target));var r=n&&n.controller("mdTheme");if(r){t.themeWatch=r.$shouldWatch;var i=t.theme||r.$mdTheme;i&&(t.scope.theme=i);var o=r.registerChanges(function(e){t.scope.theme=e,t.themeWatch||o()})}}function w(t){function r(t,r){var i=e.element(t||{});if(i&&i.length){var o={top:0,left:0,height:0,width:0},a=e.isFunction(i[0].getBoundingClientRect);return e.extend(r||{},{element:a?i:n,bounds:a?i[0].getBoundingClientRect():e.extend({},o,i[0]),focus:e.bind(i,i.focus)})}}function i(t,n){return e.isString(t)&&(t=u[0].querySelector(t)),e.element(t||n)}t.origin=e.extend({element:null,bounds:null,focus:e.noop},t.origin||{}),t.parent=i(t.parent,d),t.closeTo=r(i(t.closeTo)),t.openFrom=r(i(t.openFrom)),t.targetEvent&&(t.origin=r(t.targetEvent.target,t.origin),t.originInteraction=v.getLastInteractionType())}function C(n,r){var o=e.element(l),a=i.debounce(function(){A(n,r)},60),c=[],u=function(){var e="alert"==r.$type?t.hide:t.cancel;i.nextTick(e,!0)};if(r.escapeToClose){var d=r.parent,h=function(t){t.keyCode===s.KEY_CODE.ESCAPE&&(t.stopPropagation(),t.preventDefault(),u())};n.on("keydown",h),d.on("keydown",h),c.push(function(){n.off("keydown",h),d.off("keydown",h)})}if(o.on("resize",a),c.push(function(){o.off("resize",a)}),r.clickOutsideToClose){var p,m=n,f=function(t){p=t.target},v=function(t){p===m[0]&&t.target===m[0]&&(t.stopPropagation(),t.preventDefault(),u())};m.on("mousedown",f),m.on("mouseup",v),c.push(function(){m.off("mousedown",f),m.off("mouseup",v)})}r.deactivateListeners=function(){c.forEach(function(t){t()}),r.deactivateListeners=null}}function _(t,e,n){n.disableParentScroll&&(n.restoreScroll=i.disableScrollAround(e,n.parent)),n.hasBackdrop&&(n.backdrop=i.createBackdrop(t,"md-dialog-backdrop md-opaque"),c.enter(n.backdrop,n.parent)),n.hideBackdrop=function(t){n.backdrop&&(t?n.backdrop.remove():c.leave(n.backdrop)),n.disableParentScroll&&(n.restoreScroll&&n.restoreScroll(),delete n.restoreScroll),n.hideBackdrop=null}}function x(t,e){var n="alert"===e.$type?"alertdialog":"dialog",s=t.find("md-dialog-content"),c=t.attr("id"),u="dialogContent_"+(c||i.nextUid());t.attr({role:n,tabIndex:"-1"}),0===s.length&&(s=t,c&&(u=c)),s.attr("id",u),t.attr("aria-describedby",u),e.ariaLabel?r.expect(t,"aria-label",e.ariaLabel):r.expectAsync(t,"aria-label",function(){var t=s.text().split(/\s+/);return t.length>3&&(t=t.slice(0,3).concat("...")),t.join(" ")}),o=document.createElement("div"),o.classList.add("md-dialog-focus-trap"),o.tabIndex=0,a=o.cloneNode(!1);var l=function(){t.focus()};o.addEventListener("focus",l),a.addEventListener("focus",l),t[0].parentNode.insertBefore(o,t[0]),t.after(a)}function M(t,e){function n(t){for(;t.parentNode;){if(t===document.body)return;for(var e=t.parentNode.children,i=0;i<e.length;i++)t===e[i]||S(e[i],["SCRIPT","STYLE"])||e[i].setAttribute("aria-hidden",r);n(t=t.parentNode)}}var r=!0;n(t[0]),e.unlockScreenReader=function(){r=!1,n(t[0]),e.unlockScreenReader=null}}function A(t,e){var n="fixed"==l.getComputedStyle(u[0].body).position,r=e.backdrop?l.getComputedStyle(e.backdrop[0]):null,i=r?Math.min(u[0].body.clientHeight,Math.ceil(Math.abs(parseInt(r.height,10)))):0,o={top:t.css("top"),height:t.css("height")},a=Math.abs(e.parent[0].getBoundingClientRect().top);return t.css({top:(n?a:0)+"px",height:i?i+"px":"100%"}),function(){t.css(o)}}function T(t,e){e.parent.append(t),e.reverseContainerStretch=A(t,e);var n=t.find("md-dialog"),r=i.dom.animator,o=r.calculateZoomToOrigin,a={transitionInClass:"md-transition-in",transitionOutClass:"md-transition-out"},s=r.toTransformCss(o(n,e.openFrom||e.origin)),c=r.toTransformCss("");return n.toggleClass("md-dialog-fullscreen",!!e.fullscreen),r.translate3d(n,s,c,a).then(function(t){return e.reverseAnimate=function(){return delete e.reverseAnimate,e.closeTo?(a={transitionInClass:"md-transition-out",transitionOutClass:"md-transition-in"},s=c,c=r.toTransformCss(o(n,e.closeTo)),r.translate3d(n,s,c,a)):t(c=r.toTransformCss(o(n,e.origin)))},e.clearAnimate=function(){return delete e.clearAnimate,n.removeClass([a.transitionOutClass,a.transitionInClass].join(" ")),r.translate3d(n,c,r.toTransformCss(""),{})},!0})}function k(t,e){return e.reverseAnimate().then(function(){e.contentElement&&e.clearAnimate()})}function S(t,e){if(e.indexOf(t.nodeName)!==-1)return!0}return{hasBackdrop:!0,isolateScope:!0,onCompiling:g,onShow:$,onShowing:b,onRemove:y,clickOutsideToClose:!1,escapeToClose:!0,targetEvent:null,closeTo:null,openFrom:null,focusOnOpen:!0,disableParentScroll:!0,autoWrap:!0,fullscreen:!1,transformTemplate:function(t,e){function n(t){return e.autoWrap&&!/<\/md-dialog>/g.test(t)?"<md-dialog>"+(t||"")+"</md-dialog>":t||""}var r=f.startSymbol(),i=f.endSymbol(),o=r+(e.themeWatch?"":"::")+"theme"+i;return'<div class="md-dialog-container" tabindex="-1" md-theme="'+o+'">'+n(t)+"</div>"}}}r.$inject=["$mdDialog","$mdConstant"],i.$inject=["$mdDialog","$mdAria","$mdUtil","$mdConstant","$animate","$document","$window","$rootElement","$log","$injector","$mdTheming","$interpolate","$mdInteraction"];var o,a;return t("$mdDialog").setDefaults({methods:["disableParentScroll","hasBackdrop","clickOutsideToClose","escapeToClose","targetEvent","closeTo","openFrom","parent","fullscreen","multiple"],options:i}).addPreset("alert",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","theme","css"],options:r}).addPreset("confirm",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","cancel","theme","css"],options:r}).addPreset("prompt",{methods:["title","htmlContent","textContent","initialValue","content","placeholder","ariaLabel","ok","cancel","theme","css"],options:r})}t.$inject=["$$rAF","$mdTheming","$mdDialog"],r.$inject=["$$interimElementProvider"],e.module("material.components.dialog",["material.core","material.components.backdrop"]).directive("mdDialog",t).provider("$mdDialog",r)}(),function(){function t(t){return{restrict:"E",link:t}}t.$inject=["$mdTheming"],e.module("material.components.divider",["material.core"]).directive("mdDivider",t)}(),function(){!function(){function t(t){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(e,n){var r=e.children(),i=t.prefixer().hasAttribute(r,"ng-repeat");i?r.addClass("md-fab-action-item"):r.wrap('<div class="md-fab-action-item">')}}}t.$inject=["$mdUtil"],e.module("material.components.fabActions",["material.core"]).directive("mdFabActions",t)}()}(),function(){!function(){function t(t,n,r,i,o,a){function s(){S.direction=S.direction||"down",S.isOpen=S.isOpen||!1,l(),n.addClass("md-animations-waiting")}function c(){var r=["click","focusin","focusout"];e.forEach(r,function(t){n.on(t,u)}),t.$on("$destroy",function(){e.forEach(r,function(t){n.off(t,u)}),m()})}function u(t){"click"==t.type&&A(t),"focusout"!=t.type||D||(D=a(function(){S.close()},100,!1)),"focusin"==t.type&&D&&(a.cancel(D),D=null)}function l(){S.currentActionIndex=-1}function d(){t.$watch("vm.direction",function(t,e){r.removeClass(n,"md-"+e),r.addClass(n,"md-"+t),l()});var e,i;t.$watch("vm.isOpen",function(t){l(),e&&i||(e=T(),i=k()),t?p():m();var o=t?"md-is-open":"",a=t?"":"md-is-open";e.attr("aria-haspopup",!0),e.attr("aria-expanded",t),i.attr("aria-hidden",!t),r.setClass(n,o,a)})}function h(){n[0].scrollHeight>0?r.addClass(n,"_md-animations-ready").then(function(){n.removeClass("md-animations-waiting")}):N<10&&(a(h,100),N+=1)}function p(){n.on("keydown",v),i.nextTick(function(){e.element(document).on("click touchend",f)})}function m(){n.off("keydown",v),e.element(document).off("click touchend",f)}function f(t){if(t.target){var e=i.getClosest(t.target,"md-fab-trigger"),n=i.getClosest(t.target,"md-fab-actions");e||n||S.close()}}function v(t){switch(t.which){case o.KEY_CODE.ESCAPE:return S.close(),t.preventDefault(),!1;case o.KEY_CODE.LEFT_ARROW:return E(t),!1;case o.KEY_CODE.UP_ARROW:return w(t),!1;case o.KEY_CODE.RIGHT_ARROW:return C(t),!1;case o.KEY_CODE.DOWN_ARROW:return _(t),!1}}function g(t){$(t,-1)}function b(t){$(t,1)}function $(t,n){var r=y();S.currentActionIndex=S.currentActionIndex+n,S.currentActionIndex=Math.min(r.length-1,S.currentActionIndex),S.currentActionIndex=Math.max(0,S.currentActionIndex);var i=e.element(r[S.currentActionIndex]).children()[0];e.element(i).attr("tabindex",0),i.focus(),t.preventDefault(),t.stopImmediatePropagation()}function y(){var t=k()[0].querySelectorAll(".md-fab-action-item");return e.forEach(t,function(t){e.element(e.element(t).children()[0]).attr("tabindex",-1)}),t}function E(t){"left"===S.direction?b(t):g(t)}function w(t){"down"===S.direction?g(t):b(t)}function C(t){"left"===S.direction?g(t):b(t);
}function _(t){"up"===S.direction?g(t):b(t)}function x(t){return i.getClosest(t,"md-fab-trigger")}function M(t){return i.getClosest(t,"md-fab-actions")}function A(t){x(t.target)&&S.toggle(),M(t.target)&&S.close()}function T(){return n.find("md-fab-trigger")}function k(){return n.find("md-fab-actions")}var S=this,N=0;S.open=function(){t.$evalAsync("vm.isOpen = true")},S.close=function(){t.$evalAsync("vm.isOpen = false"),n.find("md-fab-trigger")[0].focus()},S.toggle=function(){t.$evalAsync("vm.isOpen = !vm.isOpen")},S.$onInit=function(){s(),c(),d(),h()},1===e.version.major&&e.version.minor<=4&&this.$onInit();var D}t.$inject=["$scope","$element","$animate","$mdUtil","$mdConstant","$timeout"],e.module("material.components.fabShared",["material.core"]).controller("MdFabController",t)}()}(),function(){!function(){function n(){function t(t,e){e.prepend('<div class="_md-css-variables"></div>')}return{restrict:"E",scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:t}}function r(n){function r(t){n(t,o,!1)}function i(n){if(!n.hasClass("md-animations-waiting")||n.hasClass("_md-animations-ready")){var r=n[0],i=n.controller("mdFabSpeedDial"),o=r.querySelectorAll(".md-fab-action-item"),a=r.querySelector("md-fab-trigger"),s=r.querySelector("._md-css-variables"),c=parseInt(t.getComputedStyle(s).zIndex);e.forEach(o,function(t,e){var n=t.style;n.transform=n.webkitTransform="",n.transitionDelay="",n.opacity=1,n.zIndex=o.length-e+c}),a.style.zIndex=c+o.length+1,i.isOpen||e.forEach(o,function(t,e){var n,r,o=t.style,s=(a.clientHeight-t.clientHeight)/2,c=(a.clientWidth-t.clientWidth)/2;switch(i.direction){case"up":n=t.scrollHeight*(e+1)+s,r="Y";break;case"down":n=-(t.scrollHeight*(e+1)+s),r="Y";break;case"left":n=t.scrollWidth*(e+1)+c,r="X";break;case"right":n=-(t.scrollWidth*(e+1)+c),r="X"}var u="translate"+r+"("+n+"px)";o.transform=o.webkitTransform=u})}}return{addClass:function(t,e,n){t.hasClass("md-fling")?(i(t),r(n)):n()},removeClass:function(t,e,n){i(t),r(n)}}}function i(n){function r(t){n(t,o,!1)}function i(n){var r=n[0],i=n.controller("mdFabSpeedDial"),o=r.querySelectorAll(".md-fab-action-item"),s=r.querySelector("._md-css-variables"),c=parseInt(t.getComputedStyle(s).zIndex);e.forEach(o,function(t,e){var n=t.style,r=e*a;n.opacity=i.isOpen?1:0,n.transform=n.webkitTransform=i.isOpen?"scale(1)":"scale(0)",n.transitionDelay=(i.isOpen?r:o.length-r)+"ms",n.zIndex=o.length-e+c})}var a=65;return{addClass:function(t,e,n){i(t),r(n)},removeClass:function(t,e,n){i(t),r(n)}}}r.$inject=["$timeout"],i.$inject=["$timeout"];var o=300;e.module("material.components.fabSpeedDial",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabSpeedDial",n).animation(".md-fling",r).animation(".md-scale",i).service("mdFabSpeedDialFlingAnimation",r).service("mdFabSpeedDialScaleAnimation",i)}()}(),function(){!function(){function n(){function t(t,e,n){e.addClass("md-fab-toolbar"),e.find("md-fab-trigger").find("button").prepend('<div class="md-fab-toolbar-background"></div>')}return{restrict:"E",transclude:!0,template:'<div class="md-fab-toolbar-wrapper">  <div class="md-fab-toolbar-content" ng-transclude></div></div>',scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:t}}function r(){function n(n,r,i){if(r){var o=n[0],a=n.controller("mdFabToolbar"),s=o.querySelector(".md-fab-toolbar-background"),c=o.querySelector("md-fab-trigger button"),u=o.querySelector("md-toolbar"),l=o.querySelector("md-fab-trigger button md-icon"),d=n.find("md-fab-actions").children();if(c&&s){var h=t.getComputedStyle(c).getPropertyValue("background-color"),p=o.offsetWidth,m=(o.offsetHeight,2*(p/c.offsetWidth));s.style.backgroundColor=h,s.style.borderRadius=p+"px",a.isOpen?(u.style.pointerEvents="inherit",s.style.width=c.offsetWidth+"px",s.style.height=c.offsetHeight+"px",s.style.transform="scale("+m+")",s.style.transitionDelay="0ms",l&&(l.style.transitionDelay=".3s"),e.forEach(d,function(t,e){t.style.transitionDelay=25*(d.length-e)+"ms"})):(u.style.pointerEvents="none",s.style.transform="scale(1)",s.style.top="0",n.hasClass("md-right")&&(s.style.left="0",s.style.right=null),n.hasClass("md-left")&&(s.style.right="0",s.style.left=null),s.style.transitionDelay="200ms",l&&(l.style.transitionDelay="0ms"),e.forEach(d,function(t,e){t.style.transitionDelay=200+25*e+"ms"}))}}}return{addClass:function(t,e,r){n(t,e,r),r()},removeClass:function(t,e,r){n(t,e,r),r()}}}e.module("material.components.fabToolbar",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabToolbar",n).animation(".md-fab-toolbar",r).service("mdFabToolbarAnimation",r)}()}(),function(){function t(t,r,i,o){function a(n,a,s,c){function u(){for(var t in r.MEDIA)o(t),o.getQuery(r.MEDIA[t]).addListener(C);return o.watchResponsiveAttributes(["md-cols","md-row-height","md-gutter"],s,d)}function l(){c.layoutDelegate=e.noop,_();for(var t in r.MEDIA)o.getQuery(r.MEDIA[t]).removeListener(C)}function d(t){null==t?c.invalidateLayout():o(t)&&c.invalidateLayout()}function h(t){var r=v(),o={tileSpans:g(r),colCount:b(),rowMode:E(),rowHeight:y(),gutter:$()};if(t||!e.equals(o,x)){var s=i(o.colCount,o.tileSpans,r).map(function(t,n){return{grid:{element:a,style:f(o.colCount,n,o.gutter,o.rowMode,o.rowHeight)},tiles:t.map(function(t,i){return{element:e.element(r[i]),style:m(t.position,t.spans,o.colCount,n,o.gutter,o.rowMode,o.rowHeight)}})}}).reflow().performance();n.mdOnLayout({$event:{performance:s}}),x=o}}function p(t){return M+t+A}function m(t,e,n,r,i,o,a){var s=1/n*100,c=(n-1)/n,u=T({share:s,gutterShare:c,gutter:i}),l="rtl"!=document.dir&&"rtl"!=document.body.dir,d=l?{left:k({unit:u,offset:t.col,gutter:i}),width:S({unit:u,span:e.col,gutter:i}),paddingTop:"",marginTop:"",top:"",height:""}:{right:k({unit:u,offset:t.col,gutter:i}),width:S({unit:u,span:e.col,gutter:i}),paddingTop:"",marginTop:"",top:"",height:""};switch(o){case"fixed":d.top=k({unit:a,offset:t.row,gutter:i}),d.height=S({unit:a,span:e.row,gutter:i});break;case"ratio":var h=s/a,p=T({share:h,gutterShare:c,gutter:i});d.paddingTop=S({unit:p,span:e.row,gutter:i}),d.marginTop=k({unit:p,offset:t.row,gutter:i});break;case"fit":var m=(r-1)/r,h=1/r*100,p=T({share:h,gutterShare:m,gutter:i});d.top=k({unit:p,offset:t.row,gutter:i}),d.height=S({unit:p,span:e.row,gutter:i})}return d}function f(t,e,n,r,i){var o={};switch(r){case"fixed":o.height=S({unit:i,span:e,gutter:n}),o.paddingBottom="";break;case"ratio":var a=1===t?0:(t-1)/t,s=1/t*100,c=s*(1/i),u=T({share:c,gutterShare:a,gutter:n});o.height="",o.paddingBottom=S({unit:u,span:e,gutter:n});break;case"fit":}return o}function v(){return[].filter.call(a.children(),function(t){return"MD-GRID-TILE"==t.tagName&&!t.$$mdDestroyed})}function g(t){return[].map.call(t,function(t){var n=e.element(t).controller("mdGridTile");return{row:parseInt(o.getResponsiveAttribute(n.$attrs,"md-rowspan"),10)||1,col:parseInt(o.getResponsiveAttribute(n.$attrs,"md-colspan"),10)||1}})}function b(){var t=parseInt(o.getResponsiveAttribute(s,"md-cols"),10);if(isNaN(t))throw"md-grid-list: md-cols attribute was not found, or contained a non-numeric value";return t}function $(){return w(o.getResponsiveAttribute(s,"md-gutter")||1)}function y(){var t=o.getResponsiveAttribute(s,"md-row-height");if(!t)throw"md-grid-list: md-row-height attribute was not found";switch(E()){case"fixed":return w(t);case"ratio":var e=t.split(":");return parseFloat(e[0])/parseFloat(e[1]);case"fit":return 0}}function E(){var t=o.getResponsiveAttribute(s,"md-row-height");if(!t)throw"md-grid-list: md-row-height attribute was not found";return"fit"==t?"fit":t.indexOf(":")!==-1?"ratio":"fixed"}function w(t){return/\D$/.test(t)?t:t+"px"}a.addClass("_md"),a.attr("role","list"),c.layoutDelegate=h;var C=e.bind(c,c.invalidateLayout),_=u();n.$on("$destroy",l);var x,M=t.startSymbol(),A=t.endSymbol(),T=t(p("share")+"% - ("+p("gutter")+" * "+p("gutterShare")+")"),k=t("calc(("+p("unit")+" + "+p("gutter")+") * "+p("offset")+")"),S=t("calc(("+p("unit")+") * "+p("span")+" + ("+p("span")+" - 1) * "+p("gutter")+")")}return{restrict:"E",controller:n,scope:{mdOnLayout:"&"},link:a}}function n(t){this.layoutInvalidated=!1,this.tilesInvalidated=!1,this.$timeout_=t.nextTick,this.layoutDelegate=e.noop}function r(t){function n(e,n){var r,a,s,c,u,l;return c=t.time(function(){a=i(e,n)}),r={layoutInfo:function(){return a},map:function(e){return u=t.time(function(){var t=r.layoutInfo();s=e(t.positioning,t.rowCount)}),r},reflow:function(e){return l=t.time(function(){var t=e||o;t(s.grid,s.tiles)}),r},performance:function(){return{tileCount:n.length,layoutTime:c,mapTime:u,reflowTime:l,totalTime:c+u+l}}}}function r(t,e){t.element.css(t.style),e.forEach(function(t){t.element.css(t.style)})}function i(t,e){function n(e,n){if(e.col>t)throw"md-grid-list: Tile at position "+n+" has a colspan ("+e.col+") that exceeds the column count ("+t+")";for(var a=0,l=0;l-a<e.col;)s>=t?r():(a=u.indexOf(0,s),a!==-1&&(l=o(a+1))!==-1?s=l+1:(a=l=0,r()));return i(a,e.col,e.row),s=a+e.col,{col:a,row:c}}function r(){s=0,c++,i(0,t,-1)}function i(t,e,n){for(var r=t;r<t+e;r++)u[r]=Math.max(u[r]+n,0)}function o(t){var e;for(e=t;e<u.length;e++)if(0!==u[e])return e;if(e===u.length)return e}function a(){for(var e=[],n=0;n<t;n++)e.push(0);return e}var s=0,c=0,u=a();return{positioning:e.map(function(t,e){return{spans:t,position:n(t,e)}}),rowCount:c+Math.max.apply(Math,u)}}var o=r;return n.animateWith=function(t){o=e.isFunction(t)?t:r},n}function i(t){function n(n,r,i,o){r.attr("role","listitem");var a=t.watchResponsiveAttributes(["md-colspan","md-rowspan"],i,e.bind(o,o.invalidateLayout));o.invalidateTiles(),n.$on("$destroy",function(){r[0].$$mdDestroyed=!0,a(),o.invalidateLayout()}),e.isDefined(n.$parent.$index)&&n.$watch(function(){return n.$parent.$index},function(t,e){t!==e&&o.invalidateTiles()})}return{restrict:"E",require:"^mdGridList",template:"<figure ng-transclude></figure>",transclude:!0,scope:{},controller:["$attrs",function(t){this.$attrs=t}],link:n}}function o(){return{template:"<figcaption ng-transclude></figcaption>",transclude:!0}}n.$inject=["$mdUtil"],r.$inject=["$mdUtil"],t.$inject=["$interpolate","$mdConstant","$mdGridLayout","$mdMedia"],i.$inject=["$mdMedia"],e.module("material.components.gridList",["material.core"]).directive("mdGridList",t).directive("mdGridTile",i).directive("mdGridTileFooter",o).directive("mdGridTileHeader",o).factory("$mdGridLayout",r),n.prototype={invalidateTiles:function(){this.tilesInvalidated=!0,this.invalidateLayout()},invalidateLayout:function(){this.layoutInvalidated||(this.layoutInvalidated=!0,this.$timeout_(e.bind(this,this.layout)))},layout:function(){try{this.layoutDelegate(this.tilesInvalidated)}finally{this.layoutInvalidated=!1,this.tilesInvalidated=!1}}}}(),function(){e.module("material.components.icon",["material.core"])}(),function(){function n(t,e){function n(e){var n=e[0].querySelector(o),r=e[0].querySelector(a);return n&&e.addClass("md-icon-left"),r&&e.addClass("md-icon-right"),function(e,n){t(n)}}function r(t,n,r,i){var o=this;o.isErrorGetter=r.mdIsError&&e(r.mdIsError),o.delegateClick=function(){o.input.focus()},o.element=n,o.setFocused=function(t){n.toggleClass("md-input-focused",!!t)},o.setHasValue=function(t){n.toggleClass("md-input-has-value",!!t)},o.setHasPlaceholder=function(t){n.toggleClass("md-input-has-placeholder",!!t)},o.setInvalid=function(t){t?i.addClass(n,"md-input-invalid"):i.removeClass(n,"md-input-invalid")},t.$watch(function(){return o.label&&o.input},function(t){t&&!o.label.attr("for")&&o.label.attr("for",o.input.attr("id"))})}r.$inject=["$scope","$element","$attrs","$animate"];var i=["INPUT","TEXTAREA","SELECT","MD-SELECT"],o=i.reduce(function(t,e){return t.concat(["md-icon ~ "+e,".md-icon ~ "+e])},[]).join(","),a=i.reduce(function(t,e){return t.concat([e+" ~ md-icon",e+" ~ .md-icon"])},[]).join(",");return{restrict:"E",compile:n,controller:r}}function r(){return{restrict:"E",require:"^?mdInputContainer",link:function(t,e,n,r){!r||n.mdNoFloat||e.hasClass("md-container-ignore")||(r.label=e,t.$on("$destroy",function(){r.label=null}))}}}function i(t,n,r,i,o){function a(a,s,c,u){function l(t){return m.setHasValue(!v.$isEmpty(t)),t}function d(){m.label&&c.$observe("required",function(t){m.label.toggleClass("md-required",t&&!$)})}function h(){m.setHasValue(s.val().length>0||(s[0].validity||{}).badInput)}function p(){function r(){s.attr("rows",1).css("height","auto").addClass("md-no-flex");var t=u();if(!y){var e=s[0].style.padding||"";y=s.css("padding",0).prop("offsetHeight"),s[0].style.padding=e}if(g&&y&&(t=Math.max(t,y*g)),b&&y){var n=y*b;n<t?(s.attr("md-no-autogrow",""),t=n):s.removeAttr("md-no-autogrow")}y&&s.attr("rows",Math.round(t/y)),s.css("height",t+"px").removeClass("md-no-flex")}function u(){var t=E.offsetHeight,e=E.scrollHeight-t;return t+Math.max(e,0)}function l(e){return t.nextTick(r),e}function d(){if(p&&(p=!1,e.element(n).off("resize",r),$&&$(),s.attr("md-no-autogrow","").off("input",r),f)){var t=v.$formatters.indexOf(l);t>-1&&v.$formatters.splice(t,1)}}function h(){function t(t){t.preventDefault(),l=!0,h=t.clientY,p=parseFloat(s.css("height"))||s.prop("offsetHeight")}function n(t){l&&(t.preventDefault(),d(),f.addClass("md-input-resized"))}function r(t){l&&s.css("height",p+t.pointer.distanceY+"px")}function i(t){l&&(l=!1,f.removeClass("md-input-resized"))}if(!c.hasOwnProperty("mdNoResize")){var u=e.element('<div class="md-resize-handle"></div>'),l=!1,h=null,p=0,f=m.element,v=o.register(u,"drag",{horizontal:!1});s.wrap('<div class="md-resize-wrapper">').after(u),u.on("mousedown",t),f.on("$md.dragstart",n).on("$md.drag",r).on("$md.dragend",i),a.$on("$destroy",function(){u.off("mousedown",t).remove(),f.off("$md.dragstart",n).off("$md.drag",r).off("$md.dragend",i),v(),u=null,f=null,v=null})}}var p=!c.hasOwnProperty("mdNoAutogrow");if(h(),p){var g=c.hasOwnProperty("rows")?parseInt(c.rows):NaN,b=c.hasOwnProperty("maxRows")?parseInt(c.maxRows):NaN,$=a.$on("md-resize-textarea",r),y=null,E=s[0];if(i(function(){t.nextTick(r)},10,!1),s.on("input",r),f&&v.$formatters.push(l),g||s.attr("rows",1),e.element(n).on("resize",r),a.$on("$destroy",d),c.hasOwnProperty("mdDetectHidden")){var w=function(){var t=!1;return function(){var e=0===E.offsetHeight;e===!1&&t===!0&&r(),t=e}}();a.$watch(function(){return t.nextTick(w,!1),!0})}}}var m=u[0],f=!!u[1],v=u[1]||t.fakeNgModel(),g=u[2],b=e.isDefined(c.readonly),$=t.parseAttributeBoolean(c.mdNoAsterisk),y=s[0].tagName.toLowerCase();if(m){if("hidden"===c.type)return void s.attr("aria-hidden","true");if(m.input){if(m.input[0].contains(s[0]))return;throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!")}m.input=s,d();var E=e.element('<div class="md-errors-spacer">');s.after(E),m.label||r.expect(s,"aria-label",c.placeholder),s.addClass("md-input"),s.attr("id")||s.attr("id","input_"+t.nextUid()),"input"===y&&"number"===c.type&&c.min&&c.max&&!c.step?s.attr("step","any"):"textarea"===y&&p(),f||h();var w=m.isErrorGetter||function(){return v.$invalid&&(v.$touched||g&&g.$submitted)};a.$watch(w,m.setInvalid),c.ngValue&&c.$observe("value",h),v.$parsers.push(l),v.$formatters.push(l),s.on("input",h),b||s.on("focus",function(e){t.nextTick(function(){m.setFocused(!0)})}).on("blur",function(e){t.nextTick(function(){m.setFocused(!1),h()})}),a.$on("$destroy",function(){m.setFocused(!1),m.setHasValue(!1),m.input=null})}}return{restrict:"E",require:["^?mdInputContainer","?ngModel","?^form"],link:a}}function o(t,n){function r(r,i,o,a){function s(t){return u.parent?(u.text(String(i.val()||t||"").length+" / "+c),t):t}var c,u,l,d=a[0],h=a[1];n.nextTick(function(){l=e.element(h.element[0].querySelector(".md-errors-spacer")),u=e.element('<div class="md-char-counter">'),l.append(u),o.$set("ngTrim","false"),r.$watch(o.mdMaxlength,function(n){c=n,e.isNumber(n)&&n>0?(u.parent().length||t.enter(u,l),s()):t.leave(u)}),d.$validators["md-maxlength"]=function(t,n){return!e.isNumber(c)||c<0||(s(),(t||i.val()||n||"").length<=c)}})}return{restrict:"A",require:["ngModel","^mdInputContainer"],link:r}}function a(t){function n(n,r,i,o){if(o){var a=o.element.find("label"),s=o.element.attr("md-no-float");if(a&&a.length||""===s||n.$eval(s))return void o.setHasPlaceholder(!0);if("MD-SELECT"!=r[0].nodeName){var c=e.element('<label ng-click="delegateClick()" tabindex="-1">'+i.placeholder+"</label>");i.$set("placeholder",null),o.element.addClass("md-icon-float").prepend(c),t(c)(n)}}}return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:{pre:n}}}function s(t){function e(e,n,r){function i(){a=!0,t(function(){n[0].select(),a=!1},1,!1)}function o(t){a&&t.preventDefault()}if("INPUT"===n[0].nodeName||"TEXTAREA"===n[0].nodeName){var a=!1;n.on("focus",i).on("mouseup",o),e.$on("$destroy",function(){n.off("focus",i).off("mouseup",o)})}}return{restrict:"A",link:e}}function c(){function t(t,n,r,i){i&&(n.toggleClass("md-input-messages-animation",!0),n.toggleClass("md-auto-hide",!0),("false"==r.mdAutoHide||e(r))&&n.toggleClass("md-auto-hide",!1))}function e(t){return x.some(function(e){return t[e]})}return{restrict:"EA",link:t,require:"^^?mdInputContainer"}}function u(t){function e(e){function n(){for(var t=e[0];t=t.parentNode;)if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!0;return!1}function r(e){return!!t.getClosest(e,"md-input-container")}function i(t){t.toggleClass("md-input-message-animation",!0)}if(r(e))i(e);else if(n())return function(t,n){r(n)&&i(e)}}return{restrict:"EA",compile:e,priority:100}}function l(t,e,n,r){return $(t,e,n,r),{addClass:function(t,e,n){p(t,n)}}}function d(t,e,n,r){return $(t,e,n,r),{enter:function(t,e){p(t,e)},leave:function(t,e){m(t,e)},addClass:function(t,e,n){"ng-hide"==e?m(t,n):n()},removeClass:function(t,e,n){"ng-hide"==e?p(t,n):n()}}}function h(t,e,n,r){return $(t,e,n,r),{enter:function(t,e){var n=f(t);n.start().done(e)},leave:function(t,e){var n=v(t);n.start().done(e)}}}function p(t,n){var r,i=[],o=b(t),a=o.children();return 0==o.length||0==a.length?(_.warn("mdInput messages show animation called on invalid messages element: ",t),void n()):(e.forEach(a,function(t){r=f(e.element(t)),i.push(r.start())}),void E.all(i,n))}function m(t,n){var r,i=[],o=b(t),a=o.children();return 0==o.length||0==a.length?(_.warn("mdInput messages hide animation called on invalid messages element: ",t),void n()):(e.forEach(a,function(t){r=v(e.element(t)),i.push(r.start())}),void E.all(i,n))}function f(e){var n=parseInt(t.getComputedStyle(e[0]).height),r=parseInt(t.getComputedStyle(e[0]).marginTop),i=b(e),o=g(e),a=r>-n;return a||i.hasClass("md-auto-hide")&&!o.hasClass("md-input-invalid")?w(e,{}):w(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-n+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function v(e){var n=e[0].offsetHeight,r=t.getComputedStyle(e[0]);return 0===parseInt(r.opacity)?w(e,{}):w(e,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-n+"px"},duration:.3})}function g(t){var e=t.controller("mdInputContainer");return e.element}function b(t){return t.hasClass("md-input-messages-animation")?t:t.hasClass("md-input-message-animation")?e.element(C.getClosest(t,function(t){return t.classList.contains("md-input-messages-animation")})):e.element(t[0].querySelector(".md-input-messages-animation"))}function $(t,e,n,r){E=t,w=e,C=n,_=r}n.$inject=["$mdTheming","$parse"],i.$inject=["$mdUtil","$window","$mdAria","$timeout","$mdGesture"],o.$inject=["$animate","$mdUtil"],a.$inject=["$compile"],u.$inject=["$mdUtil"],s.$inject=["$timeout"],l.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"],d.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"],h.$inject=["$$AnimateRunner","$animateCss","$mdUtil","$log"];var y=e.module("material.components.input",["material.core"]).directive("mdInputContainer",n).directive("label",r).directive("input",i).directive("textarea",i).directive("mdMaxlength",o).directive("placeholder",a).directive("ngMessages",c).directive("ngMessage",u).directive("ngMessageExp",u).directive("mdSelectOnFocus",s).animation(".md-input-invalid",l).animation(".md-input-messages-animation",d).animation(".md-input-message-animation",h);t._mdMocksIncluded&&y.service("$$mdInput",function(){return{messages:{show:p,hide:m,getElement:b}}}).service("mdInputInvalidAnimation",l).service("mdInputMessagesAnimation",d).service("mdInputMessageAnimation",h);var E,w,C,_,x=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"]}(),function(){function t(t){return{restrict:"E",compile:function(e){return e[0].setAttribute("role","list"),t}}}function n(t,n,r,i){var o=["md-checkbox","md-switch","md-menu"];return{restrict:"E",controller:"MdListController",compile:function(a,s){function c(){for(var t,e,n=["md-switch","md-checkbox"],r=0;e=n[r];++r)if((t=a.find(e)[0])&&!t.hasAttribute("aria-label")){var i=a.find("p")[0];if(!i)return;t.setAttribute("aria-label","Toggle "+i.textContent)}}function u(){var t=e.element($),n=t.parent().hasClass("md-secondary-container")||$.parentNode.firstElementChild!==$,r="left";n&&(r="right"),t.attr("md-position-mode")||t.attr("md-position-mode",r+" target");var i=t.children().eq(0);v(i[0])||i.attr("ng-click","$mdMenu.open($event)"),i.attr("aria-label")||i.attr("aria-label","Open List Menu")}function l(n){if("div"==n)E=e.element('<div class="md-no-style md-list-item-inner">'),E.append(a.contents()),a.addClass("md-proxy-focus");else{E=e.element('<div class="md-button md-no-style">   <div class="md-list-item-inner"></div></div>');var r=e.element('<md-button class="md-no-style"></md-button>');p(a[0],r[0]),r.attr("aria-label")||r.attr("aria-label",t.getText(a)),a.hasClass("md-no-focus")&&r.addClass("md-no-focus"),E.prepend(r),E.children().eq(1).append(a.contents()),a.addClass("_md-button-wrap")}a[0].setAttribute("tabindex","-1"),a.append(E)}function d(){var t=e.element('<div class="md-secondary-container">');e.forEach(y,function(e){h(e,t)}),E.append(t)}function h(n,r){if(n&&!f(n)&&n.hasAttribute("ng-click")){t.expect(n,"aria-label");var i=e.element('<md-button class="md-secondary md-icon-button">');p(n,i[0],["ng-if","ng-hide","ng-show"]),n.setAttribute("tabindex","-1"),i.append(n),n=i[0]}n&&(!v(n)||!s.ngClick&&m(n))&&e.element(n).removeClass("md-secondary"),a.addClass("md-with-secondary"),r.append(n)}function p(t,n,i){var o=r.prefixer(["ng-if","ng-click","ng-dblclick","aria-label","ng-disabled","ui-sref","href","ng-href","target","ng-attr-ui-sref","ui-sref-opts"]);i&&(o=o.concat(r.prefixer(i))),e.forEach(o,function(e){t.hasAttribute(e)&&(n.setAttribute(e,t.getAttribute(e)),t.removeAttribute(e))})}function m(t){return o.indexOf(t.nodeName.toLowerCase())!=-1}function f(t){var e=t.nodeName.toUpperCase();return"MD-BUTTON"==e||"BUTTON"==e}function v(t){for(var e=t.attributes,n=0;n<e.length;n++)if("ngClick"===s.$normalize(e[n].name))return!0;return!1}function g(t,a,s,c){function u(){p&&p.children&&!g&&!b&&e.forEach(o,function(t){e.forEach(p.querySelectorAll(t+":not(.md-secondary)"),function(t){h.push(t)})})}function l(){(1==h.length||g)&&(a.addClass("md-clickable"),g||c.attachRipple(t,e.element(a[0].querySelector(".md-no-style"))))}function d(t){var e=["md-slider"];if(!t.path)return e.indexOf(t.target.tagName.toLowerCase())!==-1;for(var n=t.path.indexOf(a.children()[0]),r=0;r<n;r++)if(e.indexOf(t.path[r].tagName.toLowerCase())!==-1)return!0}a.addClass("_md");var h=[],p=a[0].firstElementChild,m=a.hasClass("_md-button-wrap"),f=m?p.firstElementChild:p,g=f&&v(f),b=a.hasClass("md-no-proxy");u(),l(),h.length&&e.forEach(h,function(n){n=e.element(n),t.mouseActive=!1,n.on("mousedown",function(){t.mouseActive=!0,i(function(){t.mouseActive=!1},100)}).on("focus",function(){t.mouseActive===!1&&a.addClass("md-focused"),n.on("blur",function t(){a.removeClass("md-focused"),n.off("blur",t)})})});var $=function(t){if("INPUT"!=t.target.nodeName&&"TEXTAREA"!=t.target.nodeName&&!t.target.isContentEditable){var e=t.which||t.keyCode;e==n.KEY_CODE.SPACE&&f&&(f.click(),t.preventDefault(),t.stopPropagation())}};g||h.length||f&&f.addEventListener("keypress",$),a.off("click"),a.off("keypress"),1==h.length&&f&&a.children().eq(0).on("click",function(t){if(!d(t)){var n=r.getClosest(t.target,"BUTTON");!n&&f.contains(t.target)&&e.forEach(h,function(n){t.target===n||n.contains(t.target)||("MD-MENU"===n.nodeName&&(n=n.children[0]),e.element(n).triggerHandler("click"))})}}),t.$on("$destroy",function(){f&&f.removeEventListener("keypress",$)})}var b,$,y=a[0].querySelectorAll(".md-secondary"),E=a;if(a[0].setAttribute("role","listitem"),s.ngClick||s.ngDblclick||s.ngHref||s.href||s.uiSref||s.ngAttrUiSref)l("button");else if(!a.hasClass("md-no-proxy")){for(var w,C=0;w=o[C];++C)if($=a[0].querySelector(w)){b=!0;break}b?l("div"):a.addClass("md-no-proxy")}return d(),c(),b&&"MD-MENU"===$.nodeName&&u(),g}}}function r(t,e,n){function r(t,e){var r={};n.attach(t,e,r)}var i=this;i.attachRipple=r}r.$inject=["$scope","$element","$mdListInkRipple"],t.$inject=["$mdTheming"],n.$inject=["$mdAria","$mdConstant","$mdUtil","$timeout"],e.module("material.components.list",["material.core"]).controller("MdListController",r).directive("mdList",t).directive("mdListItem",n)}(),function(){e.module("material.components.menu",["material.core","material.components.backdrop"])}(),function(){e.module("material.components.menuBar",["material.core","material.components.icon","material.components.menu"])}(),function(){function t(t,n){return{restrict:"E",transclude:!0,controller:r,controllerAs:"ctrl",bindToController:!0,scope:{mdSelectedNavItem:"=?",mdNoInkBar:"=?",navBarAriaLabel:"@?"},template:'<div class="md-nav-bar"><nav role="navigation"><ul class="_md-nav-bar-list" ng-transclude role="listbox"tabindex="0"ng-focus="ctrl.onFocus()"ng-keydown="ctrl.onKeydown($event)"aria-label="{{ctrl.navBarAriaLabel}}"></ul></nav><md-nav-ink-bar ng-hide="ctrl.mdNoInkBar"></md-nav-ink-bar></div>',link:function(r,i,o,a){n(i),a.navBarAriaLabel||t.expectAsync(i,"aria-label",e.noop)}}}function r(t,e,n,r){this._$timeout=n,this._$scope=e,this._$mdConstant=r,this.mdSelectedNavItem,this.navBarAriaLabel,this._navBarEl=t[0],this._inkbar;var i=this,o=this._$scope.$watch(function(){return i._navBarEl.querySelectorAll("._md-nav-button").length},function(t){t>0&&(i._initTabs(),o())})}function i(t,n){return{restrict:"E",require:["mdNavItem","^mdNavBar"],controller:o,bindToController:!0,controllerAs:"ctrl",replace:!0,transclude:!0,template:function(t,e){var n,r,i,o=e.mdNavClick,a=e.mdNavHref,s=e.mdNavSref,c=e.srefOpts;if((o?1:0)+(a?1:0)+(s?1:0)>1)throw Error("Must not specify more than one of the md-nav-click, md-nav-href, or md-nav-sref attributes per nav-item directive.");return o?n='ng-click="ctrl.mdNavClick()"':a?n='ng-href="{{ctrl.mdNavHref}}"':s&&(n='ui-sref="{{ctrl.mdNavSref}}"'),r=c?'ui-sref-opts="{{ctrl.srefOpts}}" ':"",n&&(i='<md-button class="_md-nav-button md-accent" ng-class="ctrl.getNgClassMap()" ng-blur="ctrl.setFocused(false)" tabindex="-1" '+r+n+'><span ng-transclude class="_md-nav-button-text"></span></md-button>'),'<li class="md-nav-item" role="option" aria-selected="{{ctrl.isSelected()}}">'+(i||"")+"</li>"},scope:{mdNavClick:"&?",mdNavHref:"@?",mdNavSref:"@?",srefOpts:"=?",name:"@"},link:function(r,i,o,a){n(function(){var n=a[0],o=a[1],s=e.element(i[0].querySelector("._md-nav-button"));n.name||(n.name=e.element(i[0].querySelector("._md-nav-button-text")).text().trim()),s.on("click",function(){o.mdSelectedNavItem=n.name,r.$apply()}),t.expectWithText(i,"aria-label")})}}}function o(t){this._$element=t,this.mdNavClick,this.mdNavHref,this.mdNavSref,this.srefOpts,this.name,this._selected=!1,this._focused=!1}r.$inject=["$element","$scope","$timeout","$mdConstant"],i.$inject=["$mdAria","$$rAF"],o.$inject=["$element"],t.$inject=["$mdAria","$mdTheming"],e.module("material.components.navBar",["material.core"]).controller("MdNavBarController",r).directive("mdNavBar",t).controller("MdNavItemController",o).directive("mdNavItem",i),r.prototype._initTabs=function(){this._inkbar=e.element(this._navBarEl.querySelector("md-nav-ink-bar"));var t=this;this._$timeout(function(){t._updateTabs(t.mdSelectedNavItem,n)}),this._$scope.$watch("ctrl.mdSelectedNavItem",function(e,n){t._$timeout(function(){t._updateTabs(e,n)})})},r.prototype._updateTabs=function(t,e){var n=this,r=this._getTabs();if(r){var i=-1,o=-1,a=this._getTabByName(t),s=this._getTabByName(e);s&&(s.setSelected(!1),i=r.indexOf(s)),a&&(a.setSelected(!0),o=r.indexOf(a)),this._$timeout(function(){n._updateInkBarStyles(a,o,i)})}},r.prototype._updateInkBarStyles=function(t,e,n){if(this._inkbar.toggleClass("_md-left",e<n).toggleClass("_md-right",e>n),this._inkbar.css({display:e<0?"none":""}),t){var r=t.getButtonEl(),i=r.offsetLeft;this._inkbar.css({left:i+"px",width:r.offsetWidth+"px"})}},r.prototype._getTabs=function(){var t=Array.prototype.slice.call(this._navBarEl.querySelectorAll(".md-nav-item")).map(function(t){return e.element(t).controller("mdNavItem")});return t.indexOf(n)?t:null},r.prototype._getTabByName=function(t){return this._findTab(function(e){return e.getName()==t})},r.prototype._getSelectedTab=function(){return this._findTab(function(t){return t.isSelected()})},r.prototype.getFocusedTab=function(){return this._findTab(function(t){return t.hasFocus()})},r.prototype._findTab=function(t){for(var e=this._getTabs(),n=0;n<e.length;n++)if(t(e[n]))return e[n];return null},r.prototype.onFocus=function(){var t=this._getSelectedTab();t&&t.setFocused(!0)},r.prototype._moveFocus=function(t,e){t.setFocused(!1),e.setFocused(!0)},r.prototype.onKeydown=function(t){var e=this._$mdConstant.KEY_CODE,n=this._getTabs(),r=this.getFocusedTab();if(r){var i=n.indexOf(r);switch(t.keyCode){case e.UP_ARROW:case e.LEFT_ARROW:i>0&&this._moveFocus(r,n[i-1]);break;case e.DOWN_ARROW:case e.RIGHT_ARROW:i<n.length-1&&this._moveFocus(r,n[i+1]);break;case e.SPACE:case e.ENTER:this._$timeout(function(){r.getButtonEl().click()})}}},o.prototype.getNgClassMap=function(){return{"md-active":this._selected,"md-primary":this._selected,"md-unselected":!this._selected,"md-focused":this._focused}},o.prototype.getName=function(){return this.name},o.prototype.getButtonEl=function(){return this._$element[0].querySelector("._md-nav-button")},o.prototype.setSelected=function(t){this._selected=t},o.prototype.isSelected=function(){return this._selected},o.prototype.setFocused=function(t){this._focused=t,t&&this.getButtonEl().focus()},o.prototype.hasFocus=function(){return this._focused}}(),function(){e.module("material.components.progressCircular",["material.core"])}(),function(){function t(){return{definePreset:r,getAllPresets:i,clearPresets:o,$get:a()}}function r(t,e){if(!t||!e)throw new Error("mdPanelProvider: The panel preset definition is malformed. The name and preset object are required.");if(v.hasOwnProperty(t))throw new Error("mdPanelProvider: The panel preset you have requested has already been defined.");delete e.id,delete e.position,delete e.animation,v[t]=e}function i(){return e.copy(v)}function o(){v={}}function a(){return["$rootElement","$rootScope","$injector","$window",function(t,e,n,r){return new s(v,t,e,n,r)}]}function s(t,n,r,i,o){this._defaultConfigOptions={bindToController:!0,clickOutsideToClose:!1,disableParentScroll:!1,escapeToClose:!1,focusOnOpen:!0,fullscreen:!1,hasBackdrop:!1,propagateContainerEvents:!1,transformTemplate:e.bind(this,this._wrapTemplate),trapFocus:!1,zIndex:p},this._config={},this._presets=t,this._$rootElement=n,this._$rootScope=r,this._$injector=i,this._$window=o,this._$mdUtil=this._$injector.get("$mdUtil"),this._trackedPanels={},this._groups=Object.create(null),this.animation=l.animation,this.xPosition=u.xPosition,this.yPosition=u.yPosition,this.interceptorTypes=c.interceptorTypes,this.closeReasons=c.closeReasons,this.absPosition=u.absPosition}function c(t,e){this._$q=e.get("$q"),this._$mdCompiler=e.get("$mdCompiler"),this._$mdConstant=e.get("$mdConstant"),this._$mdUtil=e.get("$mdUtil"),
this._$mdTheming=e.get("$mdTheming"),this._$rootScope=e.get("$rootScope"),this._$animate=e.get("$animate"),this._$mdPanel=e.get("$mdPanel"),this._$log=e.get("$log"),this._$window=e.get("$window"),this._$$rAF=e.get("$$rAF"),this.id=t.id,this.config=t,this.panelContainer,this.panelEl,this.isAttached=!1,this._removeListeners=[],this._topFocusTrap,this._bottomFocusTrap,this._backdropRef,this._restoreScroll=null,this._interceptors=Object.create(null),this._compilerCleanup=null,this._restoreCache={styles:"",classes:""}}function u(t){this._$window=t.get("$window"),this._isRTL="rtl"===t.get("$mdUtil").bidi(),this._$mdConstant=t.get("$mdConstant"),this._absolute=!1,this._relativeToEl,this._top="",this._bottom="",this._left="",this._right="",this._translateX=[],this._translateY=[],this._positions=[],this._actualPosition}function l(t){this._$mdUtil=t.get("$mdUtil"),this._openFrom,this._closeTo,this._animationClass="",this._openDuration,this._closeDuration,this._rawDuration}function d(t){var n=e.isString(t)?document.querySelector(t):t;return e.element(n)}function h(t,e){var n=getComputedStyle(t[0]||t)[e],r=n.indexOf("("),i=n.lastIndexOf(")"),o={x:0,y:0};if(r>-1&&i>-1){var a=n.substring(r+1,i).split(", ").slice(-2);o.x=parseInt(a[0]),o.y=parseInt(a[1])}return o}s.$inject=["presets","$rootElement","$rootScope","$injector","$window"],e.module("material.components.panel",["material.core","material.components.backdrop"]).provider("$mdPanel",t);var p=80,m="_md-panel-hidden",f=e.element('<div class="_md-panel-focus-trap" tabindex="0"></div>'),v={};s.prototype.create=function(t,n){if("string"==typeof t?t=this._getPresetByName(t):"object"!=typeof t||!e.isUndefined(n)&&n||(n=t,t={}),t=t||{},n=n||{},e.isDefined(n.id)&&this._trackedPanels[n.id]){var r=this._trackedPanels[n.id];return e.extend(r.config,n),r}this._config=e.extend({id:n.id||"panel_"+this._$mdUtil.nextUid(),scope:this._$rootScope.$new(!0),attachTo:this._$rootElement},this._defaultConfigOptions,n,t);var i=new c(this._config,this._$injector);return this._trackedPanels[n.id]=i,this._config.groupName&&(e.isString(this._config.groupName)&&(this._config.groupName=[this._config.groupName]),e.forEach(this._config.groupName,function(t){i.addToGroup(t)})),this._config.scope.$on("$destroy",e.bind(i,i.detach)),i},s.prototype.open=function(t,e){var n=this.create(t,e);return n.open().then(function(){return n})},s.prototype._getPresetByName=function(t){if(!this._presets[t])throw new Error("mdPanel: The panel preset configuration that you requested does not exist. Use the $mdPanelProvider to create a preset before requesting one.");return this._presets[t]},s.prototype.newPanelPosition=function(){return new u(this._$injector)},s.prototype.newPanelAnimation=function(){return new l(this._$injector)},s.prototype.newPanelGroup=function(t,e){if(!this._groups[t]){e=e||{};var n={panels:[],openPanels:[],maxOpen:e.maxOpen>0?e.maxOpen:1/0};this._groups[t]=n}return this._groups[t]},s.prototype.setGroupMaxOpen=function(t,e){if(!this._groups[t])throw new Error("mdPanel: Group does not exist yet. Call newPanelGroup().");this._groups[t].maxOpen=e},s.prototype._openCountExceedsMaxOpen=function(t){if(this._groups[t]){var e=this._groups[t];return e.maxOpen>0&&e.openPanels.length>e.maxOpen}return!1},s.prototype._closeFirstOpenedPanel=function(t){this._groups[t].openPanels[0].close()},s.prototype._wrapTemplate=function(t){var e=t||"";return'<div class="md-panel-outer-wrapper">  <div class="md-panel _md-panel-offscreen">'+e+"</div></div>"},s.prototype._wrapContentElement=function(t){var n=e.element('<div class="md-panel-outer-wrapper">');return t.addClass("md-panel _md-panel-offscreen"),n.append(t),n},c.interceptorTypes={CLOSE:"onClose"},c.prototype.open=function(){var t=this;return this._$q(function(n,r){var i=t._done(n,t),o=t._simpleBind(t.show,t),a=function(){t.config.groupName&&e.forEach(t.config.groupName,function(e){t._$mdPanel._openCountExceedsMaxOpen(e)&&t._$mdPanel._closeFirstOpenedPanel(e)})};t.attach().then(o).then(a).then(i).catch(r)})},c.prototype.close=function(t){var n=this;return this._$q(function(r,i){n._callInterceptors(c.interceptorTypes.CLOSE).then(function(){var o=n._done(r,n),a=n._simpleBind(n.detach,n),s=n.config.onCloseSuccess||e.noop;s=e.bind(n,s,n,t),n.hide().then(a).then(o).then(s).catch(i)},i)})},c.prototype.attach=function(){if(this.isAttached&&this.panelEl)return this._$q.when(this);var t=this;return this._$q(function(n,r){var i=t._done(n,t),o=t.config.onDomAdded||e.noop,a=function(e){return t.isAttached=!0,t._addEventListeners(),e};t._$q.all([t._createBackdrop(),t._createPanel().then(a).catch(r)]).then(o).then(i).catch(r)})},c.prototype.detach=function(){if(!this.isAttached)return this._$q.when(this);var t=this,n=t.config.onDomRemoved||e.noop,r=function(){return t._removeEventListeners(),t._topFocusTrap&&t._topFocusTrap.parentNode&&t._topFocusTrap.parentNode.removeChild(t._topFocusTrap),t._bottomFocusTrap&&t._bottomFocusTrap.parentNode&&t._bottomFocusTrap.parentNode.removeChild(t._bottomFocusTrap),t._restoreCache.classes&&(t.panelEl[0].className=t._restoreCache.classes),t.panelEl[0].style.cssText=t._restoreCache.styles||"",t._compilerCleanup(),t.panelContainer.remove(),t.isAttached=!1,t._$q.when(t)};return this._restoreScroll&&(this._restoreScroll(),this._restoreScroll=null),this._$q(function(e,i){var o=t._done(e,t);t._$q.all([r(),!t._backdropRef||t._backdropRef.detach()]).then(n).then(o).catch(i)})},c.prototype.destroy=function(){var t=this;this.config.groupName&&e.forEach(this.config.groupName,function(e){t.removeFromGroup(e)}),this.config.scope.$destroy(),this.config.locals=null,this._interceptors=null},c.prototype.show=function(){if(!this.panelContainer)return this._$q(function(t,e){e("mdPanel: Panel does not exist yet. Call open() or attach().")});if(!this.panelContainer.hasClass(m))return this._$q.when(this);var t=this,n=function(){return t.panelContainer.removeClass(m),t._animateOpen()};return this._$q(function(r,i){var o=t._done(r,t),a=t.config.onOpenComplete||e.noop,s=function(){t.config.groupName&&e.forEach(t.config.groupName,function(e){t._$mdPanel._groups[e].openPanels.push(t)})};t._$q.all([t._backdropRef?t._backdropRef.show():t,n().then(function(){t._focusOnOpen()},i)]).then(a).then(s).then(o).catch(i)})},c.prototype.hide=function(){if(!this.panelContainer)return this._$q(function(t,e){e("mdPanel: Panel does not exist yet. Call open() or attach().")});if(this.panelContainer.hasClass(m))return this._$q.when(this);var t=this;return this._$q(function(n,r){var i=t._done(n,t),o=t.config.onRemoving||e.noop,a=function(){t.panelContainer.addClass(m)},s=function(){if(t.config.groupName){var n;e.forEach(t.config.groupName,function(e){e=t._$mdPanel._groups[e],n=e.openPanels.indexOf(t),n>-1&&e.openPanels.splice(n,1)})}},c=function(){var e=t.config.origin;e&&d(e).focus()};t._$q.all([t._backdropRef?t._backdropRef.hide():t,t._animateClose().then(o).then(a).then(s).then(c).catch(r)]).then(i,r)})},c.prototype.addClass=function(t,e){if(this._$log.warn("mdPanel: The addClass method is in the process of being deprecated. Full deprecation is scheduled for the AngularJS Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("mdPanel: Panel does not exist yet. Call open() or attach().");e||this.panelContainer.hasClass(t)?e&&!this.panelEl.hasClass(t)&&this.panelEl.addClass(t):this.panelContainer.addClass(t)},c.prototype.removeClass=function(t,e){if(this._$log.warn("mdPanel: The removeClass method is in the process of being deprecated. Full deprecation is scheduled for the AngularJS Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("mdPanel: Panel does not exist yet. Call open() or attach().");!e&&this.panelContainer.hasClass(t)?this.panelContainer.removeClass(t):e&&this.panelEl.hasClass(t)&&this.panelEl.removeClass(t)},c.prototype.toggleClass=function(t,e){if(this._$log.warn("mdPanel: The toggleClass method is in the process of being deprecated. Full deprecation is scheduled for the AngularJS Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("mdPanel: Panel does not exist yet. Call open() or attach().");e?this.panelEl.toggleClass(t):this.panelContainer.toggleClass(t)},c.prototype._compile=function(){var t=this;return t._$mdCompiler.compile(t.config).then(function(n){var r=t.config;if(r.contentElement){var i=n.element;t._restoreCache.styles=i[0].style.cssText,t._restoreCache.classes=i[0].className,t.panelContainer=t._$mdPanel._wrapContentElement(i),t.panelEl=i}else t.panelContainer=n.link(r.scope),t.panelEl=e.element(t.panelContainer[0].querySelector(".md-panel"));return t._compilerCleanup=n.cleanup,d(t.config.attachTo).append(t.panelContainer),t})},c.prototype._createPanel=function(){var t=this;return this._$q(function(e,n){t.config.locals||(t.config.locals={}),t.config.locals.mdPanelRef=t,t._compile().then(function(){t.config.disableParentScroll&&(t._restoreScroll=t._$mdUtil.disableScrollAround(null,t.panelContainer,{disableScrollMask:!0})),t.config.panelClass&&t.panelEl.addClass(t.config.panelClass),t.config.propagateContainerEvents&&t.panelContainer.css("pointer-events","none"),t._$animate.pin&&t._$animate.pin(t.panelContainer,d(t.config.attachTo)),t._configureTrapFocus(),t._addStyles().then(function(){e(t)},n)},n)})},c.prototype._addStyles=function(){var t=this;return this._$q(function(e){t.panelContainer.css("z-index",t.config.zIndex),t.panelEl.css("z-index",t.config.zIndex+1);var n=function(){t._setTheming(),t.panelEl.removeClass("_md-panel-offscreen"),t.panelContainer.addClass(m),e(t)};if(t.config.fullscreen)return t.panelEl.addClass("_md-panel-fullscreen"),void n();var r=t.config.position;return r?void t._$rootScope.$$postDigest(function(){t._updatePosition(!0),t._setTheming(),e(t)}):void n()})},c.prototype._setTheming=function(){this._$mdTheming(this.panelEl),this._$mdTheming(this.panelContainer)},c.prototype.updatePosition=function(t){if(!this.panelContainer)throw new Error("mdPanel: Panel does not exist yet. Call open() or attach().");this.config.position=t,this._updatePosition()},c.prototype._updatePosition=function(t){var e=this.config.position;e&&(e._setPanelPosition(this.panelEl),t&&(this.panelEl.removeClass("_md-panel-offscreen"),this.panelContainer.addClass(m)),this.panelEl.css(u.absPosition.TOP,e.getTop()),this.panelEl.css(u.absPosition.BOTTOM,e.getBottom()),this.panelEl.css(u.absPosition.LEFT,e.getLeft()),this.panelEl.css(u.absPosition.RIGHT,e.getRight()))},c.prototype._focusOnOpen=function(){if(this.config.focusOnOpen){var t=this;this._$rootScope.$$postDigest(function(){var e=t._$mdUtil.findFocusTarget(t.panelEl)||t.panelEl;e.focus()})}},c.prototype._createBackdrop=function(){if(this.config.hasBackdrop){if(!this._backdropRef){var t=this._$mdPanel.newPanelAnimation().openFrom(this.config.attachTo).withAnimation({open:"_md-opaque-enter",close:"_md-opaque-leave"});this.config.animation&&t.duration(this.config.animation._rawDuration);var e={animation:t,attachTo:this.config.attachTo,focusOnOpen:!1,panelClass:"_md-panel-backdrop",zIndex:this.config.zIndex-1};this._backdropRef=this._$mdPanel.create(e)}if(!this._backdropRef.isAttached)return this._backdropRef.attach()}},c.prototype._addEventListeners=function(){this._configureEscapeToClose(),this._configureClickOutsideToClose(),this._configureScrollListener()},c.prototype._removeEventListeners=function(){this._removeListeners&&this._removeListeners.forEach(function(t){t()}),this._removeListeners=[]},c.prototype._configureEscapeToClose=function(){if(this.config.escapeToClose){var t=d(this.config.attachTo),e=this,n=function(t){t.keyCode===e._$mdConstant.KEY_CODE.ESCAPE&&(t.stopPropagation(),t.preventDefault(),e.close(c.closeReasons.ESCAPE))};this.panelContainer.on("keydown",n),t.on("keydown",n),this._removeListeners.push(function(){e.panelContainer.off("keydown",n),t.off("keydown",n)})}},c.prototype._configureClickOutsideToClose=function(){if(this.config.clickOutsideToClose){var t,n=this.config.propagateContainerEvents?e.element(document.body):this.panelContainer,r=function(e){t=e.target},i=this,o=function(e){i.config.propagateContainerEvents?t===i.panelEl[0]||i.panelEl[0].contains(t)||i.close():t===n[0]&&e.target===n[0]&&(e.stopPropagation(),e.preventDefault(),i.close(c.closeReasons.CLICK_OUTSIDE))};n.on("mousedown",r),n.on("mouseup",o),this._removeListeners.push(function(){n.off("mousedown",r),n.off("mouseup",o)})}},c.prototype._configureScrollListener=function(){if(!this.config.disableParentScroll){var t=e.bind(this,this._updatePosition),n=this._$$rAF.throttle(t),r=this,i=function(){n()};this._$window.addEventListener("scroll",i,!0),this._removeListeners.push(function(){r._$window.removeEventListener("scroll",i,!0)})}},c.prototype._configureTrapFocus=function(){if(this.panelEl.attr("tabIndex","-1"),this.config.trapFocus){var t=this.panelEl;this._topFocusTrap=f.clone()[0],this._bottomFocusTrap=f.clone()[0];var e=function(){t.focus()};this._topFocusTrap.addEventListener("focus",e),this._bottomFocusTrap.addEventListener("focus",e),this._removeListeners.push(this._simpleBind(function(){this._topFocusTrap.removeEventListener("focus",e),this._bottomFocusTrap.removeEventListener("focus",e)},this)),t[0].parentNode.insertBefore(this._topFocusTrap,t[0]),t.after(this._bottomFocusTrap)}},c.prototype.updateAnimation=function(t){this.config.animation=t,this._backdropRef&&this._backdropRef.config.animation.duration(t._rawDuration)},c.prototype._animateOpen=function(){this.panelContainer.addClass("md-panel-is-showing");var t=this.config.animation;if(!t)return this.panelContainer.addClass("_md-panel-shown"),this._$q.when(this);var e=this;return this._$q(function(n){var r=e._done(n,e),i=function(){e._$log.warn("mdPanel: MdPanel Animations failed. Showing panel without animating."),r()};t.animateOpen(e.panelEl).then(r,i)})},c.prototype._animateClose=function(){var t=this.config.animation;if(!t)return this.panelContainer.removeClass("md-panel-is-showing"),this.panelContainer.removeClass("_md-panel-shown"),this._$q.when(this);var e=this;return this._$q(function(n){var r=function(){e.panelContainer.removeClass("md-panel-is-showing"),n(e)},i=function(){e._$log.warn("mdPanel: MdPanel Animations failed. Hiding panel without animating."),r()};t.animateClose(e.panelEl).then(r,i)})},c.prototype.registerInterceptor=function(t,n){var r=null;if(e.isString(t)?e.isFunction(n)||(r="Interceptor callback must be a function, instead got "+typeof n):r="Interceptor type must be a string, instead got "+typeof t,r)throw new Error("MdPanel: "+r);var i=this._interceptors[t]=this._interceptors[t]||[];return i.indexOf(n)===-1&&i.push(n),this},c.prototype.removeInterceptor=function(t,e){var n=this._interceptors[t]?this._interceptors[t].indexOf(e):-1;return n>-1&&this._interceptors[t].splice(n,1),this},c.prototype.removeAllInterceptors=function(t){return t?this._interceptors[t]=[]:this._interceptors=Object.create(null),this},c.prototype._callInterceptors=function(t){var n=this,r=n._$q,i=n._interceptors&&n._interceptors[t]||[];return i.reduceRight(function(t,i){var o=i&&e.isFunction(i.then),a=o?i:null;return t.then(function(){if(!a)try{a=i(n)}catch(t){a=r.reject(t)}return a})},r.resolve(n))},c.prototype._simpleBind=function(t,e){return function(n){return t.apply(e,n)}},c.prototype._done=function(t,e){return function(){t(e)}},c.prototype.addToGroup=function(t){this._$mdPanel._groups[t]||this._$mdPanel.newPanelGroup(t);var e=this._$mdPanel._groups[t],n=e.panels.indexOf(this);n<0&&e.panels.push(this)},c.prototype.removeFromGroup=function(t){if(!this._$mdPanel._groups[t])throw new Error("mdPanel: The group "+t+" does not exist.");var e=this._$mdPanel._groups[t],n=e.panels.indexOf(this);n>-1&&e.panels.splice(n,1)},c.closeReasons={CLICK_OUTSIDE:"clickOutsideToClose",ESCAPE:"escapeToClose"},u.xPosition={CENTER:"center",ALIGN_START:"align-start",ALIGN_END:"align-end",OFFSET_START:"offset-start",OFFSET_END:"offset-end"},u.yPosition={CENTER:"center",ALIGN_TOPS:"align-tops",ALIGN_BOTTOMS:"align-bottoms",ABOVE:"above",BELOW:"below"},u.absPosition={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},u.viewportMargin=8,u.prototype.absolute=function(){return this._absolute=!0,this},u.prototype._setPosition=function(t,n){if(t===u.absPosition.RIGHT||t===u.absPosition.LEFT)this._left=this._right="";else{if(t!==u.absPosition.BOTTOM&&t!==u.absPosition.TOP){var r=Object.keys(u.absPosition).join().toLowerCase();throw new Error("mdPanel: Position must be one of "+r+".")}this._top=this._bottom=""}return this["_"+t]=e.isString(n)?n:"0",this},u.prototype.top=function(t){return this._setPosition(u.absPosition.TOP,t)},u.prototype.bottom=function(t){return this._setPosition(u.absPosition.BOTTOM,t)},u.prototype.start=function(t){var e=this._isRTL?u.absPosition.RIGHT:u.absPosition.LEFT;return this._setPosition(e,t)},u.prototype.end=function(t){var e=this._isRTL?u.absPosition.LEFT:u.absPosition.RIGHT;return this._setPosition(e,t)},u.prototype.left=function(t){return this._setPosition(u.absPosition.LEFT,t)},u.prototype.right=function(t){return this._setPosition(u.absPosition.RIGHT,t)},u.prototype.centerHorizontally=function(){return this._left="50%",this._right="",this._translateX=["-50%"],this},u.prototype.centerVertically=function(){return this._top="50%",this._bottom="",this._translateY=["-50%"],this},u.prototype.center=function(){return this.centerHorizontally().centerVertically()},u.prototype.relativeTo=function(t){return this._absolute=!1,this._relativeToEl=d(t),this},u.prototype.addPanelPosition=function(t,e){if(!this._relativeToEl)throw new Error("mdPanel: addPanelPosition can only be used with relative positioning. Set relativeTo first.");return this._validateXPosition(t),this._validateYPosition(e),this._positions.push({x:t,y:e}),this},u.prototype._validateYPosition=function(t){if(null!=t){for(var e,n=Object.keys(u.yPosition),r=[],i=0;e=n[i];i++){var o=u.yPosition[e];if(r.push(o),o===t)return}throw new Error("mdPanel: Panel y position only accepts the following values:\n"+r.join(" | "))}},u.prototype._validateXPosition=function(t){if(null!=t){for(var e,n=Object.keys(u.xPosition),r=[],i=0;e=n[i];i++){var o=u.xPosition[e];if(r.push(o),o===t)return}throw new Error("mdPanel: Panel x Position only accepts the following values:\n"+r.join(" | "))}},u.prototype.withOffsetX=function(t){return this._translateX.push(t),this},u.prototype.withOffsetY=function(t){return this._translateY.push(t),this},u.prototype.getTop=function(){return this._top},u.prototype.getBottom=function(){return this._bottom},u.prototype.getLeft=function(){return this._left},u.prototype.getRight=function(){return this._right},u.prototype.getTransform=function(){var t=this._reduceTranslateValues("translateX",this._translateX),e=this._reduceTranslateValues("translateY",this._translateY);return(t+" "+e).trim()},u.prototype._setTransform=function(t){return t.css(this._$mdConstant.CSS.TRANSFORM,this.getTransform())},u.prototype._isOnscreen=function(t){var e=parseInt(this.getLeft()),n=parseInt(this.getTop());if(this._translateX.length||this._translateY.length){var r=this._$mdConstant.CSS.TRANSFORM,i=h(t,r);e+=i.x,n+=i.y}var o=e+t[0].offsetWidth,a=n+t[0].offsetHeight;return e>=0&&n>=0&&a<=this._$window.innerHeight&&o<=this._$window.innerWidth},u.prototype.getActualPosition=function(){return this._actualPosition},u.prototype._reduceTranslateValues=function(t,n){return n.map(function(n){var r=e.isFunction(n)?n(this):n;return t+"("+r+")"},this).join(" ")},u.prototype._setPanelPosition=function(t){if(t.removeClass("_md-panel-position-adjusted"),this._absolute)return void this._setTransform(t);if(this._actualPosition)return this._calculatePanelPosition(t,this._actualPosition),this._setTransform(t),void this._constrainToViewport(t);for(var e=0;e<this._positions.length;e++)if(this._actualPosition=this._positions[e],this._calculatePanelPosition(t,this._actualPosition),this._setTransform(t),this._isOnscreen(t))return;this._constrainToViewport(t)},u.prototype._constrainToViewport=function(t){var e=u.viewportMargin,n=this._top,r=this._left;if(this.getTop()){var i=parseInt(this.getTop()),o=t[0].offsetHeight+i,a=this._$window.innerHeight;i<e?this._top=e+"px":o>a&&(this._top=i-(o-a+e)+"px")}if(this.getLeft()){var s=parseInt(this.getLeft()),c=t[0].offsetWidth+s,l=this._$window.innerWidth;s<e?this._left=e+"px":c>l&&(this._left=s-(c-l+e)+"px")}t.toggleClass("_md-panel-position-adjusted",this._top!==n||this._left!==r)},u.prototype._reverseXPosition=function(t){if(t!==u.xPosition.CENTER){var e="start",n="end";return t.indexOf(e)>-1?t.replace(e,n):t.replace(n,e)}},u.prototype._bidi=function(t){return this._isRTL?this._reverseXPosition(t):t},u.prototype._calculatePanelPosition=function(t,e){var n=t[0].getBoundingClientRect(),r=n.width,i=n.height,o=this._relativeToEl[0].getBoundingClientRect(),a=o.left,s=o.right,c=o.width;switch(this._bidi(e.x)){case u.xPosition.OFFSET_START:this._left=a-r+"px";break;case u.xPosition.ALIGN_END:this._left=s-r+"px";break;case u.xPosition.CENTER:var l=a+.5*c-.5*r;this._left=l+"px";break;case u.xPosition.ALIGN_START:this._left=a+"px";break;case u.xPosition.OFFSET_END:this._left=s+"px"}var d=o.top,h=o.bottom,p=o.height;switch(e.y){case u.yPosition.ABOVE:this._top=d-i+"px";break;case u.yPosition.ALIGN_BOTTOMS:this._top=h-i+"px";break;case u.yPosition.CENTER:var m=d+.5*p-.5*i;this._top=m+"px";break;case u.yPosition.ALIGN_TOPS:this._top=d+"px";break;case u.yPosition.BELOW:this._top=h+"px"}},l.animation={SLIDE:"md-panel-animate-slide",SCALE:"md-panel-animate-scale",FADE:"md-panel-animate-fade"},l.prototype.openFrom=function(t){return t=t.target?t.target:t,this._openFrom=this._getPanelAnimationTarget(t),this._closeTo||(this._closeTo=this._openFrom),this},l.prototype.closeTo=function(t){return this._closeTo=this._getPanelAnimationTarget(t),this},l.prototype.duration=function(t){function n(t){if(e.isNumber(t))return t/1e3}return t&&(e.isNumber(t)?this._openDuration=this._closeDuration=n(t):e.isObject(t)&&(this._openDuration=n(t.open),this._closeDuration=n(t.close))),this._rawDuration=t,this},l.prototype._getPanelAnimationTarget=function(t){return e.isDefined(t.top)||e.isDefined(t.left)?{element:n,bounds:{top:t.top||0,left:t.left||0}}:this._getBoundingClientRect(d(t))},l.prototype.withAnimation=function(t){return this._animationClass=t,this},l.prototype.animateOpen=function(t){var n=this._$mdUtil.dom.animator;this._fixBounds(t);var r={},i=t[0].style.transform||"",o=n.toTransformCss(i),a=n.toTransformCss(i);switch(this._animationClass){case l.animation.SLIDE:t.css("opacity","1"),r={transitionInClass:"_md-panel-animate-enter"};var s=n.calculateSlideToOrigin(t,this._openFrom)||"";o=n.toTransformCss(s+" "+i);break;case l.animation.SCALE:r={transitionInClass:"_md-panel-animate-enter"};var c=n.calculateZoomToOrigin(t,this._openFrom)||"";o=n.toTransformCss(c+" "+i);break;case l.animation.FADE:r={transitionInClass:"_md-panel-animate-enter"};break;default:r=e.isString(this._animationClass)?{transitionInClass:this._animationClass}:{transitionInClass:this._animationClass.open,transitionOutClass:this._animationClass.close}}return r.duration=this._openDuration,n.translate3d(t,o,a,r)},l.prototype.animateClose=function(t){var n=this._$mdUtil.dom.animator,r={},i=t[0].style.transform||"",o=n.toTransformCss(i),a=n.toTransformCss(i);switch(this._animationClass){case l.animation.SLIDE:t.css("opacity","1"),r={transitionInClass:"_md-panel-animate-leave"};var s=n.calculateSlideToOrigin(t,this._closeTo)||"";a=n.toTransformCss(s+" "+i);break;case l.animation.SCALE:r={transitionInClass:"_md-panel-animate-scale-out _md-panel-animate-leave"};var c=n.calculateZoomToOrigin(t,this._closeTo)||"";a=n.toTransformCss(c+" "+i);break;case l.animation.FADE:r={transitionInClass:"_md-panel-animate-fade-out _md-panel-animate-leave"};break;default:r=e.isString(this._animationClass)?{transitionOutClass:this._animationClass}:{transitionInClass:this._animationClass.close,transitionOutClass:this._animationClass.open}}return r.duration=this._closeDuration,n.translate3d(t,o,a,r)},l.prototype._fixBounds=function(t){var e=t[0].offsetWidth,n=t[0].offsetHeight;this._openFrom&&null==this._openFrom.bounds.height&&(this._openFrom.bounds.height=n),this._openFrom&&null==this._openFrom.bounds.width&&(this._openFrom.bounds.width=e),this._closeTo&&null==this._closeTo.bounds.height&&(this._closeTo.bounds.height=n),this._closeTo&&null==this._closeTo.bounds.width&&(this._closeTo.bounds.width=e)},l.prototype._getBoundingClientRect=function(t){if(t instanceof e.element)return{element:t,bounds:t[0].getBoundingClientRect()}}}(),function(){function t(t,n,r){function i(t,e,n){return t.attr("aria-valuemin",0),t.attr("aria-valuemax",100),t.attr("role","progressbar"),o}function o(r,i,o){function h(){o.$observe("value",function(t){var e=a(t);i.attr("aria-valuenow",e),m()!=l&&f(y,e)}),o.$observe("mdBufferValue",function(t){f($,a(t))}),o.$observe("disabled",function(t){g=t===!0||t===!1?!!t:e.isDefined(t),i.toggleClass(d,g),E.toggleClass(v,!g)}),o.$observe("mdMode",function(t){switch(v&&E.removeClass(v),t){case l:case u:case s:case c:E.addClass(v="md-mode-"+t);break;default:E.addClass(v="md-mode-"+c)}})}function p(){if(e.isUndefined(o.mdMode)){var t=e.isDefined(o.value),n=t?s:c;i.attr("md-mode",n),o.mdMode=n}}function m(){var t=(o.mdMode||"").trim();if(t)switch(t){case s:case c:case u:case l:break;default:t=c}return t}function f(t,r){if(!g&&m()){var i=n.supplant("translateX({0}%) scale({1},1)",[(r-100)/2,r/100]),o=b({transform:i});e.element(t).css(o)}}t(i);var v,g=o.hasOwnProperty("disabled"),b=n.dom.animator.toCss,$=e.element(i[0].querySelector(".md-bar1")),y=e.element(i[0].querySelector(".md-bar2")),E=e.element(i[0].querySelector(".md-container"));i.attr("md-mode",m()).toggleClass(d,g),p(),h()}function a(t){return Math.max(0,Math.min(t||0,100))}var s="determinate",c="indeterminate",u="buffer",l="query",d="_md-progress-linear-disabled";return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:i}}t.$inject=["$mdTheming","$mdUtil","$log"],e.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",t)}(),function(){function t(t,n,r,i){function o(o,a,s,c){function u(){a.hasClass("md-focused")||a.addClass("md-focused")}function l(r){var i=r.which||r.keyCode;if(i==n.KEY_CODE.ENTER||r.currentTarget==r.target)switch(i){case n.KEY_CODE.LEFT_ARROW:case n.KEY_CODE.UP_ARROW:r.preventDefault(),d.selectPrevious(),u();break;case n.KEY_CODE.RIGHT_ARROW:case n.KEY_CODE.DOWN_ARROW:r.preventDefault(),d.selectNext(),u();break;case n.KEY_CODE.ENTER:var o=e.element(t.getClosest(a[0],"form"));o.length>0&&o.triggerHandler("submit")}}a.addClass("_md"),r(a);var d=c[0],h=c[1]||t.fakeNgModel();d.init(h),o.mouseActive=!1,a.attr({role:"radiogroup",tabIndex:a.attr("tabindex")||"0"}).on("keydown",l).on("mousedown",function(t){o.mouseActive=!0,i(function(){o.mouseActive=!1},100)}).on("focus",function(){o.mouseActive===!1&&d.$element.addClass("md-focused")}).on("blur",function(){d.$element.removeClass("md-focused")})}function a(t){this._radioButtonRenderFns=[],this.$element=t}function s(){return{init:function(t){this._ngModelCtrl=t,this._ngModelCtrl.$render=e.bind(this,this.render)},add:function(t){this._radioButtonRenderFns.push(t)},remove:function(t){var e=this._radioButtonRenderFns.indexOf(t);e!==-1&&this._radioButtonRenderFns.splice(e,1)},render:function(){this._radioButtonRenderFns.forEach(function(t){t()})},setViewValue:function(t,e){this._ngModelCtrl.$setViewValue(t,e),this.render()},getViewValue:function(){return this._ngModelCtrl.$viewValue},selectNext:function(){return c(this.$element,1)},selectPrevious:function(){return c(this.$element,-1)},setActiveDescendant:function(t){this.$element.attr("aria-activedescendant",t)},isDisabled:function(){return this.$element[0].hasAttribute("disabled")}}}function c(n,r){var i=t.iterator(n[0].querySelectorAll("md-radio-button"),!0);if(i.count()){var o=function(t){return!e.element(t).attr("disabled")},a=n[0].querySelector("md-radio-button.md-checked"),s=i[r<0?"previous":"next"](a,o)||i.first();e.element(s).triggerHandler("click")}}return a.prototype=s(),{restrict:"E",controller:["$element",a],require:["mdRadioGroup","?ngModel"],link:{pre:o}}}function n(t,e,n){function r(r,o,a,s){function c(){if(!s)throw"RadioButton: No RadioGroupController could be found.";s.add(l),a.$observe("value",l),o.on("click",u).on("$destroy",function(){s.remove(l)})}function u(t){o[0].hasAttribute("disabled")||s.isDisabled()||r.$apply(function(){s.setViewValue(a.value,t&&t.type)})}function l(){var t=s.getViewValue()==a.value;t!==h&&("md-radio-group"!==o[0].parentNode.nodeName.toLowerCase()&&o.parent().toggleClass(i,t),t&&s.setActiveDescendant(o.attr("id")),h=t,o.attr("aria-checked",t).toggleClass(i,t))}function d(n,r){n.attr({id:a.id||"radio_"+e.nextUid(),role:"radio","aria-checked":"false"}),t.expectWithText(n,"aria-label")}var h;n(o),d(o,r),a.ngValue?e.nextTick(c,!1):c()}var i="md-checked";return{restrict:"E",require:"^mdRadioGroup",transclude:!0,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-off"></div><div class="md-on"></div></div><div ng-transclude class="md-label"></div>',link:r}}t.$inject=["$mdUtil","$mdConstant","$mdTheming","$timeout"],n.$inject=["$mdAria","$mdUtil","$mdTheming"],e.module("material.components.radioButton",["material.core"]).directive("mdRadioGroup",t).directive("mdRadioButton",n)}(),function(){function t(t,e){return["$mdUtil","$window",function(n,r){return{restrict:"A",multiElement:!0,link:function(i,o,a){var s=i.$on("$md-resize-enable",function(){s();var c=o[0],u=c.nodeType===r.Node.ELEMENT_NODE?r.getComputedStyle(c):{};i.$watch(a[t],function(t){if(!!t===e){n.nextTick(function(){i.$broadcast("$md-resize")});var r={cachedTransitionStyles:u};n.dom.animator.waitTransitionEnd(o,r).then(function(){i.$broadcast("$md-resize")})}})})}}}]}e.module("material.components.showHide",["material.core"]).directive("ngShow",t("ngShow",!0)).directive("ngHide",t("ngHide",!1))}(),function(){function t(t,r,i,o){function a(t,n){var o=function(){return!1},a=function(){return i.when(r.supplant(u,[n||""]))};return e.extend({isLockedOpen:o,isOpen:o,toggle:a,open:a,close:a,onClose:e.noop,then:function(t){return c(n).then(t||e.noop)}},t)}function s(e,i){var a=t.get(e);return a||i?a:(o.error(r.supplant(u,[e||""])),n)}function c(e){return t.when(e).catch(o.error)}var u="SideNav '{0}' is not available! Did you use md-component-id='{0}'?",l={find:s,waitFor:c};return function(t,n){if(e.isUndefined(t))return l;var r=n===!0,i=l.find(t,r);return!i&&r?l.waitFor(t):!i&&e.isUndefined(n)?a(l,t):i}}function r(){return{restrict:"A",require:"^mdSidenav",link:function(t,e,n,r){}}}function i(t,r,i,o,a,s,c,u,l,d,h,p,m){function f(c,f,v,g){function b(t,e){c.isLockedOpen=t,t===e?f.toggleClass("md-locked-open",!!t):s[t?"addClass":"removeClass"](f,"md-locked-open"),M&&M.toggleClass("md-locked-open",!!t)}function $(t){var e=r.findFocusTarget(f)||r.findFocusTarget(f,"[md-sidenav-focus]")||f,n=f.parent();n[t?"on":"off"]("keydown",C),M&&M[t?"on":"off"]("click",_);var i=y(n,t);return t&&(S=h[0].activeElement,A=a.getLastInteractionType()),E(t),N=d.all([t&&M?s.enter(M,n):M?s.leave(M):d.when(!0),s[t?"removeClass":"addClass"](f,"md-closed")]).then(function(){c.isOpen&&(m(function(){O.triggerHandler("resize")}),e&&e.focus()),i&&i()})}function y(t,e){var n=f[0],r=t[0].scrollTop;if(e&&r){T={top:n.style.top,bottom:n.style.bottom,height:n.style.height};var i={top:r+"px",bottom:"auto",height:t[0].clientHeight+"px"};f.css(i),M.css(i)}if(!e&&T)return function(){n.style.top=T.top,n.style.bottom=T.bottom,
n.style.height=T.height,M[0].style.top=null,M[0].style.bottom=null,M[0].style.height=null,T=null}}function E(t){t&&!x?(x=k.css("overflow"),k.css("overflow","hidden")):e.isDefined(x)&&(k.css("overflow",x),x=n)}function w(t){return c.isOpen==t?d.when(!0):(c.isOpen&&g.onCloseCb&&g.onCloseCb(),d(function(e){c.isOpen=t,r.nextTick(function(){N.then(function(t){!c.isOpen&&S&&"keyboard"===A&&(S.focus(),S=null),e(t)})})}))}function C(t){var e=t.keyCode===i.KEY_CODE.ESCAPE;return e?_(t):d.when(!0)}function _(t){return t.preventDefault(),g.close()}var x,M,A,T,k=null,S=null,N=d.when(!0),D=u(v.mdIsLockedOpen),O=e.element(p),I=function(){return D(c.$parent,{$media:function(e){return l.warn("$media is deprecated for is-locked-open. Use $mdMedia instead."),t(e)},$mdMedia:t})};v.mdDisableScrollTarget&&(k=h[0].querySelector(v.mdDisableScrollTarget),k?k=e.element(k):l.warn(r.supplant('mdSidenav: couldn\'t find element matching selector "{selector}". Falling back to parent.',{selector:v.mdDisableScrollTarget}))),k||(k=f.parent()),v.hasOwnProperty("mdDisableBackdrop")||(M=r.createBackdrop(c,"md-sidenav-backdrop md-opaque ng-enter")),f.addClass("_md"),o(f),M&&o.inherit(M,f),f.on("$destroy",function(){M&&M.remove(),g.destroy()}),c.$on("$destroy",function(){M&&M.remove()}),c.$watch(I,b),c.$watch("isOpen",$),g.$toggleOpen=w}return{restrict:"E",scope:{isOpen:"=?mdIsOpen"},controller:"$mdSidenavController",compile:function(t){return t.addClass("md-closed").attr("tabIndex","-1"),f}}}function o(t,e,n,r,i){var o=this;o.isOpen=function(){return!!t.isOpen},o.isLockedOpen=function(){return!!t.isLockedOpen},o.onClose=function(t){return o.onCloseCb=t,o},o.open=function(){return o.$toggleOpen(!0)},o.close=function(){return o.$toggleOpen(!1)},o.toggle=function(){return o.$toggleOpen(!t.isOpen)},o.$toggleOpen=function(e){return r.when(t.isOpen=e)};var a=e.mdComponentId,s=a&&a.indexOf(i.startSymbol())>-1,c=s?i(a)(t.$parent):a;o.destroy=n.register(o,c),s&&e.$observe("mdComponentId",function(t){t&&t!==o.$$mdHandle&&(o.destroy(),o.destroy=n.register(o,t))})}t.$inject=["$mdComponentRegistry","$mdUtil","$q","$log"],i.$inject=["$mdMedia","$mdUtil","$mdConstant","$mdTheming","$mdInteraction","$animate","$compile","$parse","$log","$q","$document","$window","$$rAF"],o.$inject=["$scope","$attrs","$mdComponentRegistry","$q","$interpolate"],e.module("material.components.sidenav",["material.core","material.components.backdrop"]).factory("$mdSidenav",t).directive("mdSidenav",i).directive("mdSidenavFocus",r).controller("$mdSidenavController",o)}(),function(){function r(t,r,i,o,a,s,c,l){function d(l,d){var h=e.element("<md-select-value><span></span></md-select-value>");if(h.append('<span class="md-select-icon" aria-hidden="true"></span>'),h.addClass("md-select-value"),h[0].hasAttribute("id")||h.attr("id","select_value_label_"+r.nextUid()),l.find("md-content").length||l.append(e.element("<md-content>").append(l.contents())),d.mdOnOpen&&(l.find("md-content").prepend(e.element('<div> <md-progress-circular md-mode="indeterminate" ng-if="$$loadingAsyncDone === false" md-diameter="25px"></md-progress-circular></div>')),l.find("md-option").attr("ng-show","$$loadingAsyncDone")),d.name){var p=e.element('<select class="md-visually-hidden">');p.attr({name:d.name,"aria-hidden":"true",tabindex:"-1"});var m=l.find("md-option");e.forEach(m,function(t){var n=e.element("<option>"+t.innerHTML+"</option>");t.hasAttribute("ng-value")?n.attr("ng-value",t.getAttribute("ng-value")):t.hasAttribute("value")&&n.attr("value",t.getAttribute("value")),p.append(n)}),p.append('<option ng-value="'+d.ngModel+'" selected></option>'),l.parent().append(p)}var f=r.parseAttributeBoolean(d.multiple),v=f?"multiple":"",g='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';return g=r.supplant(g,[v,l.html()]),l.empty().append(h),l.append(g),d.tabindex||d.$set("tabindex",0),function(l,d,h,p){function m(){var t=d.attr("aria-label")||d.attr("placeholder");!t&&x&&x.label&&(t=x.label.text()),C=t,a.expect(d,"aria-label",t)}function v(){O&&(H=H||O.find("md-select-menu").controller("mdSelectMenu"),M.setLabelText(H.selectedLabels()))}function g(){if(C){var t=H.selectedLabels({mode:"aria"});d.attr("aria-label",t.length?C+": "+t:C)}}function b(){x&&x.setHasValue(H.selectedLabels().length>0||(d[0].validity||{}).badInput)}function $(){if(O=e.element(d[0].querySelector(".md-select-menu-container")),I=l,h.mdContainerClass){var t=O[0].getAttribute("class")+" "+h.mdContainerClass;O[0].setAttribute("class",t)}H=O.find("md-select-menu").controller("mdSelectMenu"),H.init(A,h.ngModel),d.on("$destroy",function(){O.remove()})}function y(t){if(i.isNavigationKey(t))t.preventDefault(),E(t);else if(u(t,i)){t.preventDefault();var n=H.optNodeForKeyboardSearch(t);if(!n||n.hasAttribute("disabled"))return;var r=e.element(n).controller("mdOption");H.isMultiple||H.deselect(Object.keys(H.selected)[0]),H.select(r.hashKey,r.value),H.refreshViewValue()}}function E(){I._mdSelectIsOpen=!0,d.attr("aria-expanded","true"),t.show({scope:I,preserveScope:!0,skipCompile:!0,element:O,target:d[0],selectCtrl:M,preserveElement:!0,hasBackdrop:!0,loadingAsync:!!h.mdOnOpen&&(l.$eval(h.mdOnOpen)||!0)}).finally(function(){I._mdSelectIsOpen=!1,d.focus(),d.attr("aria-expanded","false"),A.$setTouched()})}var w,C,_=!0,x=p[0],M=p[1],A=p[2],T=p[3],k=d.find("md-select-value"),S=e.isDefined(h.readonly),N=r.parseAttributeBoolean(h.mdNoAsterisk);if(N&&d.addClass("md-no-asterisk"),x){var D=x.isErrorGetter||function(){return A.$invalid&&(A.$touched||T&&T.$submitted)};if(x.input&&d.find("md-select-header").find("input")[0]!==x.input[0])throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");x.input=d,x.label||a.expect(d,"aria-label",d.attr("placeholder")),l.$watch(D,x.setInvalid)}var O,I,H;$(),o(d),T&&e.isDefined(h.multiple)&&r.nextTick(function(){var t=A.$modelValue||A.$viewValue;t&&T.$setPristine()});var P=A.$render;A.$render=function(){P(),v(),g(),b()},h.$observe("placeholder",A.$render),x&&x.label&&h.$observe("required",function(t){x.label.toggleClass("md-required",t&&!N)}),M.setLabelText=function(t){M.setIsPlaceholder(!t);var e=!1;if(h.mdSelectedText&&h.mdSelectedHtml)throw Error("md-select cannot have both `md-selected-text` and `md-selected-html`");if(h.mdSelectedText||h.mdSelectedHtml)t=s(h.mdSelectedText||h.mdSelectedHtml)(l),e=!0;else if(!t){var n=h.placeholder||(x&&x.label?x.label.text():"");t=n||"",e=!0}var r=k.children().eq(0);h.mdSelectedHtml?r.html(c.getTrustedHtml(t)):e?r.text(t):r.html(t)},M.setIsPlaceholder=function(t){t?(k.addClass("md-select-placeholder"),x&&x.label&&x.label.addClass("md-placeholder")):(k.removeClass("md-select-placeholder"),x&&x.label&&x.label.removeClass("md-placeholder"))},S||(d.on("focus",function(t){x&&x.setFocused(!0)}),d.on("blur",function(t){_&&(_=!1,I._mdSelectIsOpen&&t.stopImmediatePropagation()),I._mdSelectIsOpen||(x&&x.setFocused(!1),b())})),M.triggerClose=function(){s(h.mdOnClose)(l)},l.$$postDigest(function(){m(),v(),g()}),l.$watch(function(){return H.selectedLabels()},v);var R;h.$observe("ngMultiple",function(t){R&&R();var e=s(t);R=l.$watch(function(){return e(l)},function(t,e){t===n&&e===n||(t?d.attr("multiple","multiple"):d.removeAttr("multiple"),d.attr("aria-multiselectable",t?"true":"false"),O&&(H.setMultiple(t),P=A.$render,A.$render=function(){P(),v(),g(),b()},A.$render()))})}),h.$observe("disabled",function(t){e.isString(t)&&(t=!0),w!==n&&w===t||(w=t,t?d.attr({"aria-disabled":"true"}).removeAttr("tabindex").off("click",E).off("keydown",y):d.attr({tabindex:h.tabindex,"aria-disabled":"false"}).on("click",E).on("keydown",y))}),h.hasOwnProperty("disabled")||h.hasOwnProperty("ngDisabled")||(d.attr({"aria-disabled":"false"}),d.on("click",E),d.on("keydown",y));var L={role:"listbox","aria-expanded":"false","aria-multiselectable":f&&!h.ngMultiple?"true":"false"};d[0].hasAttribute("id")||(L.id="select_"+r.nextUid());var F="select_container_"+r.nextUid();O.attr("id",F),L["aria-owns"]=F,d.attr(L),l.$on("$destroy",function(){t.destroy().finally(function(){x&&(x.setFocused(!1),x.setHasValue(!1),x.input=null),A.$setTouched()})})}}var h=i.KEY_CODE;[h.SPACE,h.ENTER,h.UP_ARROW,h.DOWN_ARROW];return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:d,controller:function(){}}}function i(t,r,i,o){function a(t,n,i,a){function s(t){13!=t.keyCode&&32!=t.keyCode||c(t)}function c(n){var i=r.getClosest(n.target,"md-option"),o=i&&e.element(i).data("$mdOptionController");if(i&&o){if(i.hasAttribute("disabled"))return n.stopImmediatePropagation(),!1;var a=u.hashGetter(o.value),s=e.isDefined(u.selected[a]);t.$apply(function(){u.isMultiple?s?u.deselect(a):u.select(a,o.value):s||(u.deselect(Object.keys(u.selected)[0]),u.select(a,o.value)),u.refreshViewValue()})}}var u=a[0];n.addClass("_md"),o(n),n.on("click",c),n.on("keypress",s)}function s(o,a,s){function c(){var t=l.ngModel.$modelValue||l.ngModel.$viewValue||[];if(e.isArray(t)){var n=Object.keys(l.selected),r=t.map(l.hashGetter),i=n.filter(function(t){return r.indexOf(t)===-1});i.forEach(l.deselect),r.forEach(function(e,n){l.select(e,t[n])})}}function u(){var t=l.ngModel.$viewValue||l.ngModel.$modelValue;Object.keys(l.selected).forEach(l.deselect),l.select(l.hashGetter(t),t)}var l=this;l.isMultiple=e.isDefined(a.multiple),l.selected={},l.options={},o.$watchCollection(function(){return l.options},function(){l.ngModel.$render()});var h,p;l.setMultiple=function(t){function n(t,n){return e.isArray(t||n||[])}var r=l.ngModel;p=p||r.$isEmpty,l.isMultiple=t,h&&h(),l.isMultiple?(r.$validators["md-multiple"]=n,r.$render=c,o.$watchCollection(l.modelBinding,function(t){n(t)&&c(t),l.ngModel.$setPristine()}),r.$isEmpty=function(t){return!t||0===t.length}):(delete r.$validators["md-multiple"],r.$render=u)};var m,f,v,g="",b=300;l.optNodeForKeyboardSearch=function(t){m&&clearTimeout(m),m=setTimeout(function(){m=n,g="",v=n,f=n},b);var r=t.keyCode-(i.isNumPadKey(t)?48:0);g+=String.fromCharCode(r);var o=new RegExp("^"+g,"i");f||(f=s.find("md-option"),v=new Array(f.length),e.forEach(f,function(t,e){v[e]=t.textContent.trim()}));for(var a=0;a<v.length;++a)if(o.test(v[a]))return f[a]},l.init=function(n,i){l.ngModel=n,l.modelBinding=i,l.ngModel.$isEmpty=function(t){return!l.options[l.hashGetter(t)]};var a=r.getModelOption(n,"trackBy");if(a){var s={},c=t(a);l.hashGetter=function(t,e){return s.$value=t,c(e||o,s)}}else l.hashGetter=function(t){return e.isObject(t)?"object_"+(t.$$mdSelectId||(t.$$mdSelectId=++d)):t};l.setMultiple(l.isMultiple)},l.selectedLabels=function(t){t=t||{};var e=t.mode||"html",n=r.nodesToArray(s[0].querySelectorAll("md-option[selected]"));if(n.length){var i;return"html"==e?i=function(t){if(t.hasAttribute("md-option-empty"))return"";var e=t.innerHTML,n=t.querySelector(".md-ripple-container");n&&(e=e.replace(n.outerHTML,""));var r=t.querySelector(".md-container");return r&&(e=e.replace(r.outerHTML,"")),e}:"aria"==e&&(i=function(t){return t.hasAttribute("aria-label")?t.getAttribute("aria-label"):t.textContent}),r.uniq(n.map(i)).join(", ")}return""},l.select=function(t,e){var n=l.options[t];n&&n.setSelected(!0),l.selected[t]=e},l.deselect=function(t){var e=l.options[t];e&&e.setSelected(!1),delete l.selected[t]},l.addOption=function(t,n){if(e.isDefined(l.options[t]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+n.value+'" found.');l.options[t]=n,e.isDefined(l.selected[t])&&(l.select(t,n.value),e.isDefined(l.ngModel.$modelValue)&&l.hashGetter(l.ngModel.$modelValue)===t&&l.ngModel.$validate(),l.refreshViewValue())},l.removeOption=function(t){delete l.options[t]},l.refreshViewValue=function(){var t,n=[];for(var i in l.selected)(t=l.options[i])?n.push(t.value):n.push(l.selected[i]);var o=r.getModelOption(l.ngModel,"trackBy"),a=l.isMultiple?n:n[0],s=l.ngModel.$modelValue;(o?e.equals(s,a):s+""===a)||(l.ngModel.$setViewValue(a),l.ngModel.$render())}}return s.$inject=["$scope","$attrs","$element"],{restrict:"E",require:["mdSelectMenu"],scope:!1,controller:s,link:{pre:a}}}function o(t,n,r){function i(t,n){return t.append(e.element('<div class="md-text">').append(t.contents())),t.attr("tabindex",n.tabindex||"0"),o(n)||t.attr("md-option-empty",""),a}function o(t){var e=t.value,n=t.ngValue;return e||n}function a(i,o,a,s){function c(t,e,n){if(!d.hashGetter)return void(n||i.$$postDigest(function(){c(t,e,!0)}));var r=d.hashGetter(e,i),o=d.hashGetter(t,i);l.hashKey=o,l.value=t,d.removeOption(r,l),d.addOption(o,l)}function u(){var t={role:"option","aria-selected":"false"};o[0].hasAttribute("id")||(t.id="select_option_"+n.nextUid()),o.attr(t)}var l=s[0],d=s[1];r(o),d.isMultiple&&(o.addClass("md-checkbox-enabled"),o.prepend(h.clone())),e.isDefined(a.ngValue)?i.$watch(a.ngValue,c):e.isDefined(a.value)?c(a.value):i.$watch(function(){return o.text().trim()},c),a.$observe("disabled",function(t){t?o.attr("tabindex","-1"):o.attr("tabindex","0")}),i.$$postDigest(function(){a.$observe("selected",function(t){e.isDefined(t)&&("string"==typeof t&&(t=!0),t?(d.isMultiple||d.deselect(Object.keys(d.selected)[0]),d.select(l.hashKey,l.value)):d.deselect(l.hashKey),d.refreshViewValue())})}),t.attach(i,o),u(),i.$on("$destroy",function(){d.removeOption(l.hashKey,l)})}function s(t){this.selected=!1,this.setSelected=function(e){e&&!this.selected?t.attr({selected:"selected","aria-selected":"true"}):!e&&this.selected&&(t.removeAttr("selected"),t.attr("aria-selected","false")),this.selected=e}}return s.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:s,compile:i}}function a(){function t(t,n){function r(){return t.parent().find("md-select-header").length}function i(){var r=t.find("label");r.length||(r=e.element("<label>"),t.prepend(r)),r.addClass("md-container-ignore"),n.label&&r.text(n.label)}r()||i()}return{restrict:"E",compile:t}}function s(){return{restrict:"E"}}function c(r){function i(r,i,d,h,p,m,f,v,g){function b(t,e,n){function r(){return f(e,{addClass:"md-leave"}).start()}function i(){e.removeClass("md-active"),e.attr("aria-hidden","true"),e[0].style.display="none",y(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}return n=n||{},n.cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),n.$destroy===!0?i():r().then(i)}function $(t,o,a){function s(t,e,n){return n.parent.append(e),p(function(t,n){try{f(e,{removeClass:"md-leave",duration:0}).start().then(c).then(t)}catch(t){n(t)}})}function c(){return p(function(e){if(a.isRemoved)return p.reject(!1);var n=E(t,o,a);n.container.element.css(C.toCss(n.container.styles)),n.dropDown.element.css(C.toCss(n.dropDown.styles)),m(function(){o.addClass("md-active"),n.dropDown.element.css(C.toCss({transform:""})),b(a.focusedNode),e()})})}function l(t,e,n){return n.disableParentScroll&&!d.getClosest(n.target,"MD-DIALOG")?n.restoreScroll=d.disableScrollAround(n.element,n.parent):n.disableParentScroll=!1,n.hasBackdrop&&(n.backdrop=d.createBackdrop(t,"md-select-backdrop md-click-catcher"),v.enter(n.backdrop,g[0].body,null,{duration:0})),function(){n.backdrop&&n.backdrop.remove(),n.disableParentScroll&&n.restoreScroll(),delete n.restoreScroll}}function b(t){t&&!t.hasAttribute("disabled")&&t.focus()}function $(t,n){var r=o.find("md-select-menu");if(!n.target)throw new Error(d.supplant(w,[n.target]));e.extend(n,{isRemoved:!1,target:e.element(n.target),parent:e.element(n.parent),selectEl:r,contentEl:o.find("md-content"),optionNodes:r[0].getElementsByTagName("md-option")})}function y(){var n=function(t,e,n){return function(){if(!n.isRemoved){var r=E(t,e,n),i=r.container,o=r.dropDown;i.element.css(C.toCss(i.styles)),o.element.css(C.toCss(o.styles))}}}(t,o,a),r=e.element(h);return r.on("resize",n),r.on("orientationchange",n),function(){r.off("resize",n),r.off("orientationchange",n)}}function x(){a.loadingAsync&&!a.isRemoved&&(t.$$loadingAsyncDone=!1,p.when(a.loadingAsync).then(function(){t.$$loadingAsyncDone=!0,delete a.loadingAsync}).then(function(){m(c)}))}function M(){function t(t){t.preventDefault(),t.stopPropagation(),a.restoreFocus=!1,d.nextTick(r.hide,!0)}function e(t){switch(t.preventDefault(),t.stopPropagation(),t.keyCode){case _.UP_ARROW:return l();case _.DOWN_ARROW:return c();case _.SPACE:case _.ENTER:var e=d.getClosest(t.target,"md-option");e&&(p.triggerHandler({type:"click",target:e}),t.preventDefault()),h(t);break;case _.TAB:case _.ESCAPE:t.stopPropagation(),t.preventDefault(),a.restoreFocus=!0,d.nextTick(r.hide,!0);break;default:if(u(t,i)){var n=p.controller("mdSelectMenu").optNodeForKeyboardSearch(t);a.focusedNode=n||a.focusedNode,n&&n.focus()}}}function s(t){var e,r=d.nodesToArray(a.optionNodes),i=r.indexOf(a.focusedNode);do i===-1?i=0:"next"===t&&i<r.length-1?i++:"prev"===t&&i>0&&i--,e=r[i],e.hasAttribute("disabled")&&(e=n);while(!e&&i<r.length-1&&i>0);e&&e.focus(),a.focusedNode=e}function c(){s("next")}function l(){s("prev")}function h(t){function e(){var e=!1;if(t&&t.currentTarget.children.length>0){var n=t.currentTarget.children[0],r=n.scrollHeight>n.clientHeight;if(r&&n.children.length>0){var i=t.pageX-t.currentTarget.getBoundingClientRect().left;i>n.querySelector("md-option").offsetWidth&&(e=!0)}}return e}if(!(t&&"click"==t.type&&t.currentTarget!=p[0]||e())){var n=d.getClosest(t.target,"md-option");n&&n.hasAttribute&&!n.hasAttribute("disabled")&&(t.preventDefault(),t.stopPropagation(),m.isMultiple||(a.restoreFocus=!0,d.nextTick(function(){r.hide(m.ngModel.$viewValue)},!0)))}}if(!a.isRemoved){var p=a.selectEl,m=p.controller("mdSelectMenu")||{};return o.addClass("md-clickable"),a.backdrop&&a.backdrop.on("click",t),p.on("keydown",e),p.on("click",h),function(){a.backdrop&&a.backdrop.off("click",t),p.off("keydown",e),p.off("click",h),o.removeClass("md-clickable"),a.isRemoved=!0}}}return x(),$(t,a),a.hideBackdrop=l(t,o,a),s(t,o,a).then(function(t){return o.attr("aria-hidden","false"),a.alreadyOpen=!0,a.cleanupInteraction=M(),a.cleanupResizing=y(),t},a.hideBackdrop)}function y(t){var e=t.selectCtrl;if(e){var n=t.selectEl.controller("mdSelectMenu");e.setLabelText(n?n.selectedLabels():""),e.triggerClose()}}function E(n,r,i){var u,p=r[0],m=i.target[0].children[0],f=g[0].body,v=i.selectEl[0],b=i.contentEl[0],$=f.getBoundingClientRect(),y=m.getBoundingClientRect(),E=!1,w={left:$.left+l,top:l,bottom:$.height-l,right:$.width-l-(d.floatingScrollbars()?16:0)},C={top:y.top-w.top,left:y.left-w.left,right:w.right-(y.left+y.width),bottom:w.bottom-(y.top+y.height)},_=$.width-2*l,x=v.querySelector("md-option[selected]"),M=v.getElementsByTagName("md-option"),A=v.getElementsByTagName("md-optgroup"),T=c(r,b),k=o(i.loadingAsync);u=k?b.firstElementChild||b:x?x:A.length?A[0]:M.length?M[0]:b.firstElementChild||b,b.offsetWidth>_?b.style["max-width"]=_+"px":b.style.maxWidth=null,E&&(b.style["min-width"]=y.width+"px"),T&&v.classList.add("md-overflow");var S=u;"MD-OPTGROUP"===(S.tagName||"").toUpperCase()&&(S=M[0]||b.firstElementChild||b,u=S),i.focusedNode=S,p.style.display="block";var N=v.getBoundingClientRect(),D=s(u);if(u){var O=h.getComputedStyle(u);D.paddingLeft=parseInt(O.paddingLeft,10)||0,D.paddingRight=parseInt(O.paddingRight,10)||0}if(T){var I=b.offsetHeight/2;b.scrollTop=D.top+D.height/2-I,C.top<I?b.scrollTop=Math.min(D.top,b.scrollTop+I-C.top):C.bottom<I&&(b.scrollTop=Math.max(D.top+D.height-N.height,b.scrollTop-I+C.bottom))}var H,P,R,L,F;E?(H=y.left,P=y.top+y.height,R="50% 0",P+N.height>w.bottom&&(P=y.top-N.height,R="50% 100%")):(H=y.left+D.left-D.paddingLeft+2,P=Math.floor(y.top+y.height/2-D.height/2-D.top+b.scrollTop)+2,R=D.left+y.width/2+"px "+(D.top+D.height/2-b.scrollTop)+"px 0px",L=Math.min(y.width+D.paddingLeft+D.paddingRight,_),F=t.getComputedStyle(m)["font-size"]);var j=p.getBoundingClientRect(),q=Math.round(100*Math.min(y.width/N.width,1))/100,V=Math.round(100*Math.min(y.height/N.height,1))/100;return{container:{element:e.element(p),styles:{left:Math.floor(a(w.left,H,w.right-j.width)),top:Math.floor(a(w.top,P,w.bottom-j.height)),"min-width":L,"font-size":F}},dropDown:{element:e.element(v),styles:{transformOrigin:R,transform:i.alreadyOpen?"":d.supplant("scale({0},{1})",[q,V])}}}}var w="$mdSelect.show() expected a target element in options.target but got '{0}'!",C=d.dom.animator,_=i.KEY_CODE;return{parent:"body",themable:!0,onShow:$,onRemove:b,hasBackdrop:!0,disableParentScroll:!0}}function o(t){return t&&e.isFunction(t.then)}function a(t,e,n){return Math.max(t,Math.min(e,n))}function s(t){return t?{left:t.offsetLeft,top:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}:{left:0,top:0,width:0,height:0}}function c(t,e){var n=!1;try{var r=t[0].style.display;t[0].style.display="block",n=e.scrollHeight>e.offsetHeight,t[0].style.display=r}finally{}return n}return i.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],r("$mdSelect").setDefaults({methods:["target"],options:i})}function u(t,e){var n=String.fromCharCode(t.keyCode),r=t.keyCode<=31;return n&&n.length&&!r&&!e.isMetaKey(t)&&!e.isFnLockKey(t)&&!e.hasModifierKey(t)}r.$inject=["$mdSelect","$mdUtil","$mdConstant","$mdTheming","$mdAria","$parse","$sce","$injector"],i.$inject=["$parse","$mdUtil","$mdConstant","$mdTheming"],o.$inject=["$mdButtonInkRipple","$mdUtil","$mdTheming"],c.$inject=["$$interimElementProvider"];var l=8,d=0,h=e.element('<div class="md-container"><div class="md-icon"></div></div>');e.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",r).directive("mdSelectMenu",i).directive("mdOption",o).directive("mdOptgroup",a).directive("mdSelectHeader",s).provider("$mdSelect",c)}(),function(){function t(){return{controller:function(){},compile:function(t){var r=t.find("md-slider");if(r){var i=r.attr("md-vertical");return i!==n&&t.attr("md-vertical",""),r.attr("flex")||r.attr("flex",""),function(t,n,r,i){function o(t){n.children().attr("disabled",t),n.find("input").attr("disabled",t)}n.addClass("_md");var a=e.noop;r.disabled?o(!0):r.ngDisabled&&(a=t.$watch(r.ngDisabled,function(t){o(t)})),t.$on("$destroy",function(){a()});var s;i.fitInputWidthToTextLength=function(t){var e=n[0].querySelector("md-input-container");if(e){var r=getComputedStyle(e),i=parseInt(r.minWidth),o=2*parseInt(r.padding);s=s||parseInt(r.maxWidth);var a=Math.max(s,i+o+i/2*t);e.style.maxWidth=a+"px"}}}}}}}function r(t,n,r,i,o,a,s,c,u,l){function d(t,n){var i=e.element(t[0].getElementsByClassName("md-slider-wrapper")),o=n.tabindex||0;return i.attr("tabindex",o),(n.disabled||n.ngDisabled)&&i.attr("tabindex",-1),i.attr("role","slider"),r.expect(t,"aria-label"),h}function h(r,d,h,p){function m(){w(),k()}function f(t){ct=parseFloat(t),d.attr("aria-valuemin",t),m()}function v(t){ut=parseFloat(t),d.attr("aria-valuemax",t),m()}function g(t){lt=parseFloat(t)}function b(t){dt=S(parseInt(t),0,6)}function $(){d.attr("aria-disabled",!!Y())}function y(){if(it&&!Y()&&!e.isUndefined(lt)){if(lt<=0){var t="Slider step value must be greater than zero when in discrete mode";throw u.error(t),new Error(t)}var r=Math.floor((ut-ct)/lt);ht||(ht=e.element("<canvas>").css("position","absolute"),J.append(ht),pt=ht[0].getContext("2d"));var i=C();!i||i.height||i.width||(w(),i=mt),ht[0].width=i.width,ht[0].height=i.height;for(var o,a=0;a<=r;a++){var s=n.getComputedStyle(J[0]);pt.fillStyle=s.color||"black",o=Math.floor((rt?i.height:i.width)*(a/r)),pt.fillRect(rt?0:o-1,rt?o-1:0,rt?i.width:2,rt?2:i.height)}}}function E(){if(ht&&pt){var t=C();pt.clearRect(0,0,t.width,t.height)}}function w(){mt=Z[0].getBoundingClientRect()}function C(){return et(),mt}function _(t){if(!Y()){var e;(rt?t.keyCode===o.KEY_CODE.DOWN_ARROW:t.keyCode===o.KEY_CODE.LEFT_ARROW)?e=-lt:(rt?t.keyCode===o.KEY_CODE.UP_ARROW:t.keyCode===o.KEY_CODE.RIGHT_ARROW)&&(e=lt),e=ot?-e:e,e&&((t.metaKey||t.ctrlKey||t.altKey)&&(e*=4),t.preventDefault(),t.stopPropagation(),r.$evalAsync(function(){T(z.$viewValue+e)}))}}function x(){y(),r.mouseActive=!0,tt.removeClass("md-focused"),l(function(){r.mouseActive=!1},100)}function M(){r.mouseActive===!1&&tt.addClass("md-focused")}function A(){tt.removeClass("md-focused"),d.removeClass("md-active"),E()}function T(t){z.$setViewValue(S(N(t)))}function k(){isNaN(z.$viewValue)&&(z.$viewValue=z.$modelValue),z.$viewValue=S(z.$viewValue);var t=U(z.$viewValue);r.modelValue=z.$viewValue,d.attr("aria-valuenow",z.$viewValue),D(t),G.text(z.$viewValue)}function S(t,n,r){if(e.isNumber(t))return n=e.isNumber(n)?n:ct,r=e.isNumber(r)?r:ut,Math.max(n,Math.min(r,t))}function N(t){if(e.isNumber(t)){var n=Math.round((t-ct)/lt)*lt+ct;return n=Math.round(n*Math.pow(10,dt))/Math.pow(10,dt),W&&W.fitInputWidthToTextLength&&i.debounce(function(){W.fitInputWidthToTextLength(n.toString().length)},100)(),n}}function D(t){t=q(t);var e=100*t+"%",n=ot?100*(1-t)+"%":e;rt?X.css("bottom",e):i.bidiProperty(X,"left","right",e),Q.css(rt?"height":"width",n),d.toggleClass(ot?"md-max":"md-min",0===t),d.toggleClass(ot?"md-min":"md-max",1===t)}function O(t){if(!Y()){d.addClass("md-active"),d[0].focus(),w();var e=B(V(rt?t.pointer.y:t.pointer.x)),n=S(N(e));r.$apply(function(){T(n),D(U(n))})}}function I(t){if(!Y()){d.removeClass("md-dragging");var e=B(V(rt?t.pointer.y:t.pointer.x)),n=S(N(e));r.$apply(function(){T(n),k()})}}function H(t){Y()||(ft=!0,t.stopPropagation(),d.addClass("md-dragging"),L(t))}function P(t){ft&&(t.stopPropagation(),L(t))}function R(t){ft&&(t.stopPropagation(),ft=!1)}function L(t){it?j(rt?t.pointer.y:t.pointer.x):F(rt?t.pointer.y:t.pointer.x)}function F(t){r.$evalAsync(function(){T(B(V(t)))})}function j(t){var e=B(V(t)),n=S(N(e));D(V(t)),G.text(n)}function q(t){return Math.max(0,Math.min(t||0,1))}function V(t){var e=rt?mt.top:mt.left,n=rt?mt.height:mt.width,r=(t-e)/n;return rt||"rtl"!==i.bidi()||(r=1-r),Math.max(0,Math.min(1,rt?1-r:r))}function B(t){var e=ot?1-t:t;return ct+e*(ut-ct)}function U(t){var e=(t-ct)/(ut-ct);return ot?1-e:e}a(d);var z=p[0]||{$setViewValue:function(t){this.$viewValue=t,this.$viewChangeListeners.forEach(function(t){t()})},$parsers:[],$formatters:[],$viewChangeListeners:[]},W=p[1],Y=(e.element(i.getClosest(d,"_md-slider-container",!0)),h.ngDisabled?e.bind(null,c(h.ngDisabled),r.$parent):function(){return d[0].hasAttribute("disabled")}),K=e.element(d[0].querySelector(".md-thumb")),G=e.element(d[0].querySelector(".md-thumb-text")),X=K.parent(),Z=e.element(d[0].querySelector(".md-track-container")),Q=e.element(d[0].querySelector(".md-track-fill")),J=e.element(d[0].querySelector(".md-track-ticks")),tt=e.element(d[0].getElementsByClassName("md-slider-wrapper")),et=(e.element(d[0].getElementsByClassName("md-slider-content")),i.throttle(w,5e3)),nt=3,rt=e.isDefined(h.mdVertical),it=e.isDefined(h.mdDiscrete),ot=e.isDefined(h.mdInvert);e.isDefined(h.min)?h.$observe("min",f):f(0),e.isDefined(h.max)?h.$observe("max",v):v(100),e.isDefined(h.step)?h.$observe("step",g):g(1),e.isDefined(h.round)?h.$observe("round",b):b(nt);var at=e.noop;h.ngDisabled&&(at=r.$parent.$watch(h.ngDisabled,$)),s.register(tt,"drag",{horizontal:!rt}),r.mouseActive=!1,tt.on("keydown",_).on("mousedown",x).on("focus",M).on("blur",A).on("$md.pressdown",O).on("$md.pressup",I).on("$md.dragstart",H).on("$md.drag",P).on("$md.dragend",R),setTimeout(m,0);var st=t.throttle(m);e.element(n).on("resize",st),r.$on("$destroy",function(){e.element(n).off("resize",st)}),z.$render=k,z.$viewChangeListeners.push(k),z.$formatters.push(S),z.$formatters.push(N);var ct,ut,lt,dt,ht,pt,mt={};w();var ft=!1}return{scope:{},require:["?ngModel","?^mdSliderContainer"],template:'<div class="md-slider-wrapper"><div class="md-slider-content"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div></div>',compile:d}}r.$inject=["$$rAF","$window","$mdAria","$mdUtil","$mdConstant","$mdTheming","$mdGesture","$parse","$log","$timeout"],e.module("material.components.slider",["material.core"]).directive("mdSlider",r).directive("mdSliderContainer",t)}(),function(){function t(t,e,r,i){function o(i){function o(t,e){e.addClass("md-sticky-clone");var n={element:t,clone:e};return f.items.push(n),r.nextTick(function(){p.prepend(n.clone)}),m(),function(){f.items.forEach(function(e,n){e.element[0]===t[0]&&(f.items.splice(n,1),e.clone.remove())}),m()}}function s(){f.items.forEach(c),f.items=f.items.sort(function(t,e){return t.top<e.top?-1:1});for(var t,e=p.prop("scrollTop"),n=f.items.length-1;n>=0;n--)if(e>f.items[n].top){t=f.items[n];break}l(t)}function c(t){var e=t.element[0];for(t.top=0,t.left=0,t.right=0;e&&e!==p[0];)t.top+=e.offsetTop,t.left+=e.offsetLeft,e.offsetParent&&(t.right+=e.offsetParent.offsetWidth-e.offsetWidth-e.offsetLeft),e=e.offsetParent;t.height=t.element.prop("offsetHeight");var i=r.floatingScrollbars()?"0":n;r.bidi(t.clone,"margin-left",t.left,i),r.bidi(t.clone,"margin-right",i,t.right)}function u(){var t=p.prop("scrollTop"),e=t>(u.prevScrollTop||0);if(u.prevScrollTop=t,0===t)return void l(null);if(e){if(f.next&&f.next.top<=t)return void l(f.next);if(f.current&&f.next&&f.next.top-t<=f.next.height)return void h(f.current,t+(f.next.top-f.next.height-t))}if(!e){if(f.current&&f.prev&&t<f.current.top)return void l(f.prev);if(f.next&&f.current&&t>=f.next.top-f.current.height)return void h(f.current,t+(f.next.top-t-f.current.height))}f.current&&h(f.current,t)}function l(t){if(f.current!==t){f.current&&(h(f.current,null),d(f.current,null)),t&&d(t,"active"),f.current=t;var e=f.items.indexOf(t);f.next=f.items[e+1],f.prev=f.items[e-1],d(f.next,"next"),d(f.prev,"prev")}}function d(t,e){t&&t.state!==e&&(t.state&&(t.clone.attr("sticky-prev-state",t.state),t.element.attr("sticky-prev-state",t.state)),t.clone.attr("sticky-state",e),t.element.attr("sticky-state",e),t.state=e)}function h(e,i){e&&(null===i||i===n?e.translateY&&(e.translateY=null,e.clone.css(t.CSS.TRANSFORM,"")):(e.translateY=i,r.bidi(e.clone,t.CSS.TRANSFORM,"translate3d("+e.left+"px,"+i+"px,0)","translateY("+i+"px)")))}var p=i.$element,m=e.throttle(s);a(p),p.on("$scrollstart",m),p.on("$scroll",u);var f;return f={prev:null,current:null,next:null,items:[],add:o,refreshElements:s}}function a(t){function n(){+r.now()-o>a?(i=!1,t.triggerHandler("$scrollend")):(t.triggerHandler("$scroll"),e.throttle(n))}var i,o,a=200;t.on("scroll touchmove",function(){i||(i=!0,e.throttle(n),t.triggerHandler("$scrollstart")),t.triggerHandler("$scroll"),o=+r.now()})}var s=r.checkStickySupport();return function(t,e,n){var r=e.controller("mdContent");if(r)if(s)e.css({position:s,top:0,"z-index":2});else{var a=r.$element.data("$$sticky");a||(a=o(r),r.$element.data("$$sticky",a));var c=n||i(e.clone())(t),u=a.add(e,c);t.$on("$destroy",u)}}}t.$inject=["$mdConstant","$$rAF","$mdUtil","$compile"],e.module("material.components.sticky",["material.core","material.components.content"]).factory("$mdSticky",t)}(),function(){function t(t,n,r,i,o){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader _md">  <div class="md-subheader-inner">    <div class="md-subheader-content"></div>  </div></div>',link:function(a,s,c,u,l){function d(t){return e.element(t[0].querySelector(".md-subheader-content"))}r(s),s.addClass("_md"),i.prefixer().removeAttribute(s,"ng-repeat");var h=s[0].outerHTML;c.$set("role","heading"),o.expect(s,"aria-level","2"),l(a,function(t){d(s).append(t)}),s.hasClass("md-no-sticky")||l(a,function(e){var r=n('<div class="md-subheader-wrapper" aria-hidden="true">'+h+"</div>")(a);i.nextTick(function(){d(r).append(e)}),t(a,s,r)})}}}t.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil","$mdAria"],e.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",t)}(),function(){function t(t,n,r,i,o,a,s){function c(t,c){var l=u.compile(t,c).post;return t.addClass("md-dragging"),function(t,c,u,d){function h(e){g&&g(t)||(e.stopPropagation(),
c.addClass("md-dragging"),E={width:b.prop("offsetWidth")})}function p(t){if(E){t.stopPropagation(),t.srcEvent&&t.srcEvent.preventDefault();var e=t.pointer.distanceX/E.width,n=v.$viewValue?1+e:e;n=Math.max(0,Math.min(1,n)),b.css(r.CSS.TRANSFORM,"translate3d("+100*n+"%,0,0)"),E.translate=n}}function m(e){if(E){e.stopPropagation(),c.removeClass("md-dragging"),b.css(r.CSS.TRANSFORM,"");var n=v.$viewValue?E.translate<.5:E.translate>.5;n&&f(!v.$viewValue),E=null,t.skipToggle=!0,s(function(){t.skipToggle=!1},1)}}function f(e){t.$apply(function(){v.$setViewValue(e),v.$render()})}var v=(d[0],d[1]||n.fakeNgModel()),g=(d[2],null);null!=u.disabled?g=function(){return!0}:u.ngDisabled&&(g=i(u.ngDisabled));var b=e.element(c[0].querySelector(".md-thumb-container")),$=e.element(c[0].querySelector(".md-container")),y=e.element(c[0].querySelector(".md-label"));o(function(){c.removeClass("md-dragging")}),l(t,c,u,d),g&&t.$watch(g,function(t){c.attr("tabindex",t?-1:0)}),u.$observe("mdInvert",function(t){var e=n.parseAttributeBoolean(t);e?c.prepend(y):c.prepend($),c.toggleClass("md-inverted",e)}),a.register($,"drag"),$.on("$md.dragstart",h).on("$md.drag",p).on("$md.dragend",m);var E}}var u=t[0];return{restrict:"E",priority:r.BEFORE_NG_ARIA,transclude:!0,template:'<div class="md-container"><div class="md-bar"></div><div class="md-thumb-container"><div class="md-thumb" md-ink-ripple md-ink-ripple-checkbox></div></div></div><div ng-transclude class="md-label"></div>',require:["^?mdInputContainer","?ngModel","?^form"],compile:c}}t.$inject=["mdCheckboxDirective","$mdUtil","$mdConstant","$parse","$$rAF","$mdGesture","$timeout"],e.module("material.components.switch",["material.core","material.components.checkbox"]).directive("mdSwitch",t)}(),function(){function t(t){function e(t){function e(e,i,o){i.css("touch-action",o.mdSwipeTouchAction||"none");var a=t(o[n]);i.on(r,function(t){e.$applyAsync(function(){a(e,{$event:t})})})}return{restrict:"A",link:e}}e.$inject=["$parse"];var n="md"+t,r="$md."+t.toLowerCase();return e}e.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",t("SwipeLeft")).directive("mdSwipeRight",t("SwipeRight")).directive("mdSwipeUp",t("SwipeUp")).directive("mdSwipeDown",t("SwipeDown"))}(),function(){e.module("material.components.tabs",["material.core","material.components.icon"])}(),function(){function t(t){return{restrict:"E",link:function(e,n){n.addClass("_md"),e.$on("$destroy",function(){t.destroy()})}}}function n(t){function n(t){i=t}function r(t,n,r,o){function a(e,a,s){i=s.textContent||s.content;var l=!o("gt-sm");return a=r.extractElementByName(a,"md-toast",!0),s.element=a,s.onSwipe=function(t,e){var i=t.type.replace("$md.",""),o=i.replace("swipe","");"down"===o&&s.position.indexOf("top")!=-1&&!l||"up"===o&&(s.position.indexOf("bottom")!=-1||l)||("left"!==o&&"right"!==o||!l)&&(a.addClass("md-"+i),r.nextTick(n.cancel))},s.openClass=c(s.position),a.addClass(s.toastClass),s.parent.addClass(s.openClass),r.hasComputedStyle(s.parent,"position","static")&&s.parent.css("position","relative"),a.on(u,s.onSwipe),a.addClass(l?"md-bottom":s.position.split(" ").map(function(t){return"md-"+t}).join(" ")),s.parent&&s.parent.addClass("md-toast-animating"),t.enter(a,s.parent).then(function(){s.parent&&s.parent.removeClass("md-toast-animating")})}function s(e,n,i){return n.off(u,i.onSwipe),i.parent&&i.parent.addClass("md-toast-animating"),i.openClass&&i.parent.removeClass(i.openClass),(1==i.$destroy?n.remove():t.leave(n)).then(function(){i.parent&&i.parent.removeClass("md-toast-animating"),r.hasComputedStyle(i.parent,"position","static")&&i.parent.css("position","")})}function c(t){return o("gt-xs")?"md-toast-open-"+(t.indexOf("top")>-1?"top":"bottom"):"md-toast-open-bottom"}var u="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:a,onRemove:s,toastClass:"",position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(t,n){var r=n.autoWrap&&t&&!/md-toast-content/g.test(t);if(r){var i=document.createElement("md-template");i.innerHTML=t;for(var o=0;o<i.children.length;o++)if("MD-TOAST"===i.children[o].nodeName){var a=e.element('<div class="md-toast-content">');a.append(e.element(i.children[o].childNodes)),i.children[o].appendChild(a[0])}return i.innerHTML}return t||""}}}r.$inject=["$animate","$mdToast","$mdUtil","$mdMedia"];var i,o="ok",a=t("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent","position","toastClass"],options:r}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","highlightAction","highlightClass","theme","parent"],options:["$mdToast","$mdTheming",function(t,e){return{template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}">  <div class="md-toast-content">    <span class="md-toast-text" role="alert" aria-relevant="all" aria-atomic="true">      {{ toast.content }}    </span>    <md-button class="md-action" ng-if="toast.action" ng-click="toast.resolve()"         ng-class="highlightClasses">      {{ toast.action }}    </md-button>  </div></md-toast>',controller:["$scope",function(e){var n=this;n.highlightAction&&(e.highlightClasses=["md-highlight",n.highlightClass]),e.$watch(function(){return i},function(){n.content=i}),this.resolve=function(){t.hide(o)}}],theme:e.defaultTheme(),controllerAs:"toast",bindToController:!0}}]}).addMethod("updateTextContent",n).addMethod("updateContent",n);return a}t.$inject=["$mdToast"],n.$inject=["$$interimElementProvider"],e.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",t).provider("$mdToast",n)}(),function(){function t(t,n,r,i,o){var a=e.bind(null,r.supplant,"translate3d(0,{0}px,0)");return{template:"",restrict:"E",link:function(s,c,u){function l(){function i(t){var e=c.parent().find("md-content");!f&&e.length&&l(null,e),t=s.$eval(t),t===!1?v():v=h()}function l(t,e){e&&c.parent()[0]===e.parent()[0]&&(f&&f.off("scroll",y),f=e,v=h())}function d(t){var e=t?t.target.scrollTop:b;E(),g=Math.min(m/$,Math.max(0,g+e-b)),c.css(n.CSS.TRANSFORM,a([-g*$])),f.css(n.CSS.TRANSFORM,a([(m-g)*$])),b=e,r.nextTick(function(){var t=c.hasClass("md-whiteframe-z1");t&&!g?o.removeClass(c,"md-whiteframe-z1"):!t&&g&&o.addClass(c,"md-whiteframe-z1")})}function h(){return f?(f.on("scroll",y),f.attr("scroll-shrink","true"),r.nextTick(p,!1),function(){f.off("scroll",y),f.attr("scroll-shrink","false"),p()}):e.noop}function p(){m=c.prop("offsetHeight");var t=-m*$+"px";f.css({"margin-top":t,"margin-bottom":t}),d()}var m,f,v=e.noop,g=0,b=0,$=u.mdShrinkSpeedFactor||.5,y=t.throttle(d),E=r.debounce(p,5e3);s.$on("$mdContentLoaded",l),u.$observe("mdScrollShrink",i),u.ngShow&&s.$watch(u.ngShow,p),u.ngHide&&s.$watch(u.ngHide,p),s.$on("$destroy",v)}c.addClass("_md"),i(c),r.nextTick(function(){c.addClass("_md-toolbar-transitions")},!1),e.isDefined(u.mdScrollShrink)&&l()}}}t.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming","$animate"],e.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",t)}(),function(){function n(t,n,r,i,o,a,s,c){function u(u,v,g){function b(){u.mdZIndex=u.mdZIndex||h,u.mdDelay=u.mdDelay||p,f[u.mdDirection]||(u.mdDirection=m)}function $(t){var e=t||o(v.text().trim())(u.$parent);(!I.attr("aria-label")&&!I.attr("aria-labelledby")||I.attr("md-labeled-by-tooltip"))&&(I.attr("aria-label",e),I.attr("md-labeled-by-tooltip")||I.attr("md-labeled-by-tooltip",O))}function y(){b(),S&&S.panelEl&&S.panelEl.removeClass(A),A="md-origin-"+u.mdDirection,T=f[u.mdDirection],k=s.newPanelPosition().relativeTo(I).addPanelPosition(T.x,T.y),S&&S.panelEl&&(S.panelEl.addClass(A),S.updatePosition(k))}function E(){function e(t){return t.some(function(t){return"disabled"===t.attributeName&&I[0].disabled}),!1}function r(){C(!1)}function o(){R=document.activeElement===I[0]}function s(t){"focus"===t.type&&R?R=!1:u.mdVisible||(I.on(d,h),C(!0),"touchstart"===t.type&&I.one("touchend",function(){a.nextTick(function(){i.one("touchend",h)},!1)}))}function h(){N=u.hasOwnProperty("mdAutohide")?u.mdAutohide:g.hasOwnProperty("mdAutohide"),(N||P||i[0].activeElement!==I[0])&&(D&&(t.cancel(D),C.queued=!1,D=null),I.off(d,h),I.triggerHandler("blur"),C(!1)),P=!1}function p(){P=!0}function m(){c.deregister("scroll",r,!0),c.deregister("blur",o),c.deregister("resize",H),I.off(l,s).off(d,h).off("mousedown",p),h(),f&&f.disconnect()}if(I[0]&&"MutationObserver"in n){var f=new MutationObserver(function(t){e(t)&&a.nextTick(function(){C(!1)})});f.observe(I[0],{attributes:!0})}R=!1,c.register("scroll",r,!0),c.register("blur",o),c.register("resize",H),u.$on("$destroy",m),I.on("mousedown",p),I.on(l,s)}function w(){function t(){u.$destroy()}if(v[0]&&"MutationObserver"in n){var e=new MutationObserver(function(t){t.forEach(function(t){"md-visible"!==t.attributeName||u.visibleWatcher||(u.visibleWatcher=u.$watch("mdVisible",_))})});e.observe(v[0],{attributes:!0}),g.hasOwnProperty("mdVisible")&&(u.visibleWatcher=u.$watch("mdVisible",_))}else u.visibleWatcher=u.$watch("mdVisible",_);u.$watch("mdDirection",y),v.one("$destroy",t),I.one("$destroy",t),u.$on("$destroy",function(){C(!1),S&&S.destroy(),e&&e.disconnect(),v.remove()}),v.text().indexOf(o.startSymbol())>-1&&u.$watch(function(){return v.text().trim()},$)}function C(e){C.queued&&C.value===!!e||!C.queued&&u.mdVisible===!!e||(C.value=!!e,C.queued||(e?(C.queued=!0,D=t(function(){u.mdVisible=C.value,C.queued=!1,D=null,u.visibleWatcher||_(u.mdVisible)},u.mdDelay)):a.nextTick(function(){u.mdVisible=!1,u.visibleWatcher||_(!1)})))}function _(t){t?x():M()}function x(){if(!v[0].textContent.trim())throw new Error("Text for the tooltip has not been provided. Please include text within the mdTooltip element.");if(!S){var t=e.element(document.body),n=s.newPanelAnimation().openFrom(I).closeTo(I).withAnimation({open:"md-show",close:"md-hide"}),r={id:O,attachTo:t,contentElement:v,propagateContainerEvents:!0,panelClass:"md-tooltip "+A,animation:n,position:k,zIndex:u.mdZIndex,focusOnOpen:!1};S=s.create(r)}S.open().then(function(){S.panelEl.attr("role","tooltip")})}function M(){S&&S.close()}var A,T,k,S,N,D,O="md-tooltip-"+a.nextUid(),I=a.getParentWithPointerEvents(v),H=r.throttle(y),P=!1,R=null;b(),$(),v.detach(),y(),E(),w()}var l="focus touchstart mouseenter",d="blur touchcancel mouseleave",h=100,p=0,m="bottom",f={top:{x:s.xPosition.CENTER,y:s.yPosition.ABOVE},right:{x:s.xPosition.OFFSET_END,y:s.yPosition.CENTER},bottom:{x:s.xPosition.CENTER,y:s.yPosition.BELOW},left:{x:s.xPosition.OFFSET_START,y:s.yPosition.CENTER}};return{restrict:"E",priority:210,scope:{mdZIndex:"=?mdZIndex",mdDelay:"=?mdDelay",mdVisible:"=?mdVisible",mdAutohide:"=?mdAutohide",mdDirection:"@?mdDirection"},link:u}}function r(){function n(t){o[t.type]&&o[t.type].forEach(function(e){e.call(this,t)},this)}function r(e,r,i){var s=o[e]=o[e]||[];s.length||(i?t.addEventListener(e,n,!0):a.on(e,n)),s.indexOf(r)===-1&&s.push(r)}function i(e,r,i){var s=o[e],c=s?s.indexOf(r):-1;c>-1&&(s.splice(c,1),0===s.length&&(i?t.removeEventListener(e,n,!0):a.off(e,n)))}var o={},a=e.element(t);return{register:r,deregister:i}}n.$inject=["$timeout","$window","$$rAF","$document","$interpolate","$mdUtil","$mdPanel","$$mdTooltipRegistry"],e.module("material.components.tooltip",["material.core","material.components.panel"]).directive("mdTooltip",n).service("$$mdTooltipRegistry",r)}(),function(){function t(){return{restrict:"AE",controller:n,controllerAs:"$ctrl",bindToController:!0}}function n(t){t.addClass("md-truncate")}n.$inject=["$element"],e.module("material.components.truncate",["material.core"]).directive("mdTruncate",t)}(),function(){function t(){return{controller:r,template:n,compile:function(t,e){t.addClass("md-virtual-repeat-container").addClass(e.hasOwnProperty("mdOrientHorizontal")?"md-orient-horizontal":"md-orient-vertical")}}}function n(t){return'<div class="md-virtual-repeat-scroller"><div class="md-virtual-repeat-sizer"></div><div class="md-virtual-repeat-offsetter">'+t[0].innerHTML+"</div></div>"}function r(t,n,r,i,o,a,s,c,u){this.$rootScope=o,this.$scope=s,this.$element=c,this.$attrs=u,this.size=0,this.scrollSize=0,this.scrollOffset=0,this.horizontal=this.$attrs.hasOwnProperty("mdOrientHorizontal"),this.repeater=null,this.autoShrink=this.$attrs.hasOwnProperty("mdAutoShrink"),this.autoShrinkMin=parseInt(this.$attrs.mdAutoShrinkMin,10)||0,this.originalSize=null,this.offsetSize=parseInt(this.$attrs.mdOffsetSize,10)||0,this.oldElementSize=null,this.maxElementPixels=r.ELEMENT_MAX_PIXELS,this.$attrs.mdTopIndex?(this.bindTopIndex=i(this.$attrs.mdTopIndex),this.topIndex=this.bindTopIndex(this.$scope),e.isDefined(this.topIndex)||(this.topIndex=0,this.bindTopIndex.assign(this.$scope,0)),this.$scope.$watch(this.bindTopIndex,e.bind(this,function(t){t!==this.topIndex&&this.scrollToIndex(t)}))):this.topIndex=0,this.scroller=c[0].querySelector(".md-virtual-repeat-scroller"),this.sizer=this.scroller.querySelector(".md-virtual-repeat-sizer"),this.offsetter=this.scroller.querySelector(".md-virtual-repeat-offsetter");var l=e.bind(this,this.updateSize);t(e.bind(this,function(){l();var t=n.debounce(l,10,null,!1),r=e.element(a);this.size||t(),r.on("resize",t),s.$on("$destroy",function(){r.off("resize",t)}),s.$emit("$md-resize-enable"),s.$on("$md-resize",l)}))}function i(t){return{controller:o,priority:1e3,require:["mdVirtualRepeat","^^mdVirtualRepeatContainer"],restrict:"A",terminal:!0,transclude:"element",compile:function(e,n){var r=n.mdVirtualRepeat,i=r.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)\s*$/),o=i[1],a=t(i[2]),s=n.mdExtraName&&t(n.mdExtraName);return function(t,e,n,r,i){r[0].link_(r[1],i,o,a,s)}}}}function o(t,n,r,i,o,a,s,c){this.$scope=t,this.$element=n,this.$attrs=r,this.$browser=i,this.$document=o,this.$rootScope=a,this.$$rAF=s,this.onDemand=c.parseAttributeBoolean(r.mdOnDemand),this.browserCheckUrlChange=i.$$checkUrlChange,this.newStartIndex=0,this.newEndIndex=0,this.newVisibleEnd=0,this.startIndex=0,this.endIndex=0,this.itemSize=t.$eval(r.mdItemSize)||null,this.isFirstRender=!0,this.isVirtualRepeatUpdating_=!1,this.itemsLength=0,this.unwatchItemSize_=e.noop,this.blocks={},this.pooledBlocks=[],t.$on("$destroy",e.bind(this,this.cleanupBlocks_))}function a(t){if(!e.isFunction(t.getItemAtIndex)||!e.isFunction(t.getLength))throw Error("When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement functions getItemAtIndex() and getLength() ");this.model=t}r.$inject=["$$rAF","$mdUtil","$mdConstant","$parse","$rootScope","$window","$scope","$element","$attrs"],o.$inject=["$scope","$element","$attrs","$browser","$document","$rootScope","$$rAF","$mdUtil"],i.$inject=["$parse"],e.module("material.components.virtualRepeat",["material.core","material.components.showHide"]).directive("mdVirtualRepeatContainer",t).directive("mdVirtualRepeat",i);var s=3;r.prototype.register=function(t){this.repeater=t,e.element(this.scroller).on("scroll wheel touchmove touchend",e.bind(this,this.handleScroll_))},r.prototype.isHorizontal=function(){return this.horizontal},r.prototype.getSize=function(){return this.size},r.prototype.setSize_=function(t){var e=this.getDimensionName_();this.size=t,this.$element[0].style[e]=t+"px"},r.prototype.unsetSize_=function(){this.$element[0].style[this.getDimensionName_()]=this.oldElementSize,this.oldElementSize=null},r.prototype.updateSize=function(){this.originalSize||(this.size=this.isHorizontal()?this.$element[0].clientWidth:this.$element[0].clientHeight,this.handleScroll_(),this.repeater&&this.repeater.containerUpdated())},r.prototype.getScrollSize=function(){return this.scrollSize},r.prototype.getDimensionName_=function(){return this.isHorizontal()?"width":"height"},r.prototype.sizeScroller_=function(t){var e=this.getDimensionName_(),n=this.isHorizontal()?"height":"width";if(this.sizer.innerHTML="",t<this.maxElementPixels)this.sizer.style[e]=t+"px";else{this.sizer.style[e]="auto",this.sizer.style[n]="auto";var r=Math.floor(t/this.maxElementPixels),i=document.createElement("div");i.style[e]=this.maxElementPixels+"px",i.style[n]="1px";for(var o=0;o<r;o++)this.sizer.appendChild(i.cloneNode(!1));i.style[e]=t-r*this.maxElementPixels+"px",this.sizer.appendChild(i)}},r.prototype.autoShrink_=function(t){var e=Math.max(t,this.autoShrinkMin*this.repeater.getItemSize());if(this.autoShrink&&e!==this.size){null===this.oldElementSize&&(this.oldElementSize=this.$element[0].style[this.getDimensionName_()]);var n=this.originalSize||this.size;if(!n||e<n)this.originalSize||(this.originalSize=this.size),this.setSize_(e);else if(null!==this.originalSize){this.unsetSize_();var r=this.originalSize;this.originalSize=null,r||this.updateSize(),this.setSize_(r||this.size)}this.repeater.containerUpdated()}},r.prototype.setScrollSize=function(t){var e=t+this.offsetSize;this.scrollSize!==e&&(this.sizeScroller_(e),this.autoShrink_(e),this.scrollSize=e)},r.prototype.getScrollOffset=function(){return this.scrollOffset},r.prototype.scrollTo=function(t){this.scroller[this.isHorizontal()?"scrollLeft":"scrollTop"]=t,this.handleScroll_()},r.prototype.scrollToIndex=function(t){var e=this.repeater.getItemSize(),n=this.repeater.itemsLength;t>n&&(t=n-1),this.scrollTo(e*t)},r.prototype.resetScroll=function(){this.scrollTo(0)},r.prototype.handleScroll_=function(){var t="rtl"!=document.dir&&"rtl"!=document.body.dir;t||this.maxSize||(this.scroller.scrollLeft=this.scrollSize,this.maxSize=this.scroller.scrollLeft);var e=this.isHorizontal()?t?this.scroller.scrollLeft:this.maxSize-this.scroller.scrollLeft:this.scroller.scrollTop;if(!(e===this.scrollOffset||e>this.scrollSize-this.size)){var n=this.repeater.getItemSize();if(n){var r=Math.max(0,Math.floor(e/n)-s),i=(this.isHorizontal()?"translateX(":"translateY(")+(!this.isHorizontal()||t?r*n:-(r*n))+"px)";if(this.scrollOffset=e,this.offsetter.style.webkitTransform=i,this.offsetter.style.transform=i,this.bindTopIndex){var o=Math.floor(e/n);o!==this.topIndex&&o<this.repeater.getItemCount()&&(this.topIndex=o,this.bindTopIndex.assign(this.$scope,o),this.$rootScope.$$phase||this.$scope.$digest())}this.repeater.containerUpdated()}}},o.Block,o.prototype.link_=function(t,n,r,i,o){this.container=t,this.transclude=n,this.repeatName=r,this.rawRepeatListExpression=i,this.extraName=o,this.sized=!1,this.repeatListExpression=e.bind(this,this.repeatListExpression_),this.container.register(this)},o.prototype.cleanupBlocks_=function(){e.forEach(this.pooledBlocks,function(t){t.element.remove()})},o.prototype.readItemSize_=function(){if(!this.itemSize){this.items=this.repeatListExpression(this.$scope),this.parentNode=this.$element[0].parentNode;var t=this.getBlock_(0);t.element[0].parentNode||this.parentNode.appendChild(t.element[0]),this.itemSize=t.element[0][this.container.isHorizontal()?"offsetWidth":"offsetHeight"]||null,this.blocks[0]=t,this.poolBlock_(0),this.itemSize&&this.containerUpdated()}},o.prototype.repeatListExpression_=function(t){var e=this.rawRepeatListExpression(t);if(this.onDemand&&e){var n=new a(e);return n.$$includeIndexes(this.newStartIndex,this.newVisibleEnd),n}return e},o.prototype.containerUpdated=function(){return this.itemSize?(this.sized||(this.items=this.repeatListExpression(this.$scope)),this.sized||(this.unwatchItemSize_(),this.sized=!0,this.$scope.$watchCollection(this.repeatListExpression,e.bind(this,function(t,e){this.isVirtualRepeatUpdating_||this.virtualRepeatUpdate_(t,e)}))),this.updateIndexes_(),void((this.newStartIndex!==this.startIndex||this.newEndIndex!==this.endIndex||this.container.getScrollOffset()>this.container.getScrollSize())&&(this.items instanceof a&&this.items.$$includeIndexes(this.newStartIndex,this.newEndIndex),this.virtualRepeatUpdate_(this.items,this.items)))):(this.unwatchItemSize_&&this.unwatchItemSize_!==e.noop&&this.unwatchItemSize_(),this.unwatchItemSize_=this.$scope.$watchCollection(this.repeatListExpression,e.bind(this,function(t){t&&t.length&&this.readItemSize_()})),void(this.$rootScope.$$phase||this.$scope.$digest()))},o.prototype.getItemSize=function(){return this.itemSize},o.prototype.getItemCount=function(){return this.itemsLength},o.prototype.virtualRepeatUpdate_=function(t,n){this.isVirtualRepeatUpdating_=!0;var r=t&&t.length||0,i=!1;if(this.items&&r<this.items.length&&0!==this.container.getScrollOffset()){this.items=t;var o=this.container.getScrollOffset();this.container.resetScroll(),this.container.scrollTo(o)}r!==this.itemsLength&&(i=!0,this.itemsLength=r),this.items=t,(t!==n||i)&&this.updateIndexes_(),this.parentNode=this.$element[0].parentNode,i&&this.container.setScrollSize(r*this.itemSize);var a,s=!1;this.isFirstRender&&(s=!0,this.isFirstRender=!1,a=this.$attrs.mdStartIndex?this.$scope.$eval(this.$attrs.mdStartIndex):this.container.topIndex,this.container.scrollToIndex(a)),Object.keys(this.blocks).forEach(function(t){var e=parseInt(t,10);(e<this.newStartIndex||e>=this.newEndIndex)&&this.poolBlock_(e)},this),this.$browser.$$checkUrlChange=e.noop;var c,u,l=[],d=[];for(c=this.newStartIndex;c<this.newEndIndex&&null==this.blocks[c];c++)u=this.getBlock_(c),this.updateBlock_(u,c),l.push(u);for(;null!=this.blocks[c];c++)this.updateBlock_(this.blocks[c],c);for(var h=c-1;c<this.newEndIndex;c++)u=this.getBlock_(c),this.updateBlock_(u,c),d.push(u);l.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(l),this.$element[0].nextSibling),d.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(d),this.blocks[h]&&this.blocks[h].element[0].nextSibling),s&&this.container.scrollToIndex(a),this.$browser.$$checkUrlChange=this.browserCheckUrlChange,this.startIndex=this.newStartIndex,this.endIndex=this.newEndIndex,this.isVirtualRepeatUpdating_=!1},o.prototype.getBlock_=function(t){if(this.pooledBlocks.length)return this.pooledBlocks.pop();var n;return this.transclude(e.bind(this,function(e,r){n={element:e,new:!0,scope:r},this.updateScope_(r,t),this.parentNode.appendChild(e[0])})),n},o.prototype.updateBlock_=function(t,e){this.blocks[e]=t,(t.new||t.scope.$index!==e||t.scope[this.repeatName]!==this.items[e])&&(t.new=!1,this.updateScope_(t.scope,e),this.$rootScope.$$phase||t.scope.$digest())},o.prototype.updateScope_=function(t,e){t.$index=e,t[this.repeatName]=this.items&&this.items[e],this.extraName&&(t[this.extraName(this.$scope)]=this.items[e])},o.prototype.poolBlock_=function(t){this.pooledBlocks.push(this.blocks[t]),this.parentNode.removeChild(this.blocks[t].element[0]),delete this.blocks[t]},o.prototype.domFragmentFromBlocks_=function(t){var e=this.$document[0].createDocumentFragment();return t.forEach(function(t){e.appendChild(t.element[0])}),e},o.prototype.updateIndexes_=function(){var t=this.items?this.items.length:0,e=Math.ceil(this.container.getSize()/this.itemSize);this.newStartIndex=Math.max(0,Math.min(t-e,Math.floor(this.container.getScrollOffset()/this.itemSize))),this.newVisibleEnd=this.newStartIndex+e+s,this.newEndIndex=Math.min(t,this.newVisibleEnd),this.newStartIndex=Math.max(0,this.newStartIndex-s)},a.prototype.$$includeIndexes=function(t,e){for(var n=t;n<e;n++)this.hasOwnProperty(n)||(this[n]=this.model.getItemAtIndex(n));this.length=this.model.getLength()}}(),function(){function t(t){function e(e,a,s){var c="";s.$observe("mdWhiteframe",function(e){e=parseInt(e,10)||o,e!=n&&(e>i||e<r)&&(t.warn("md-whiteframe attribute value is invalid. It should be a number between "+r+" and "+i,a[0]),e=o);var u=e==n?"":"md-whiteframe-"+e+"dp";s.$updateClass(u,c),c=u})}var n=-1,r=1,i=24,o=4;return{link:e}}t.$inject=["$log"],e.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",t)}(),function(){function t(t,s,c,u,l,d,h,p,m,f,v,g){function b(){c.initOptionalProperties(t,m,{searchText:"",selectedItem:null,clearButton:!1}),l(s),C(),c.nextTick(function(){M(),E(),t.autofocus&&s.on("focus",w)})}function $(){t.requireMatch&&Dt&&Dt.$setValidity("md-require-match",!!t.selectedItem||!t.searchText)}function y(){function e(){var t=0,e=s.find("md-input-container");if(e.length){var n=e.find("input");t=e.prop("offsetHeight"),t-=n.prop("offsetTop"),t-=n.prop("offsetHeight"),t+=e.prop("offsetTop")}return t}function n(){var t=xt.scrollContainer.getBoundingClientRect(),e={};t.right>p.right-o&&(e.left=d.right-t.width+"px"),xt.$.scrollContainer.css(e)}if(!xt)return c.nextTick(y,!1,t);var u,l=(t.dropdownItems||i)*r,d=xt.wrap.getBoundingClientRect(),h=xt.snap.getBoundingClientRect(),p=xt.root.getBoundingClientRect(),f=h.bottom-p.top,v=p.bottom-h.top,g=d.left-p.left,b=d.width,$=e(),E=t.dropdownPosition;if(E||(E=f>v&&p.height-f-o<l?"top":"bottom"),m.mdFloatingLabel&&(g+=a,b-=2*a),u={left:g+"px",minWidth:b+"px",maxWidth:Math.max(d.right-p.left,p.right-d.left)-o+"px"},"top"===E)u.top="auto",u.bottom=v+"px",u.maxHeight=Math.min(l,d.top-p.top-o)+"px";else{var w=p.bottom-d.bottom-o+c.getViewportTop();u.top=f-$+"px",u.bottom="auto",u.maxHeight=Math.min(l,w)+"px"}xt.$.scrollContainer.css(u),c.nextTick(n,!1)}function E(){xt.$.root.length&&(l(xt.$.scrollContainer),xt.$.scrollContainer.detach(),xt.$.root.append(xt.$.scrollContainer),h.pin&&h.pin(xt.$.scrollContainer,p))}function w(){xt.input.focus()}function C(){var n=parseInt(t.delay,10)||0;m.$observe("disabled",function(t){wt.isDisabled=c.parseAttributeBoolean(t,!1)}),m.$observe("required",function(t){wt.isRequired=c.parseAttributeBoolean(t,!1)}),m.$observe("readonly",function(t){wt.isReadonly=c.parseAttributeBoolean(t,!1)}),t.$watch("searchText",n?c.debounce(j,n):j),t.$watch("selectedItem",I),e.element(d).on("resize",Ot),t.$on("$destroy",_)}function _(){if(wt.hidden||c.enableScrolling(),e.element(d).off("resize",Ot),xt){var t=["ul","scroller","scrollContainer","input"];e.forEach(t,function(t){xt.$[t].remove()})}}function x(){wt.hidden||y()}function M(){var t=A();xt={main:s[0],scrollContainer:s[0].querySelector(".md-virtual-repeat-container"),scroller:s[0].querySelector(".md-virtual-repeat-scroller"),ul:s.find("ul")[0],input:s.find("input")[0],wrap:t.wrap,snap:t.snap,root:document.body},xt.li=xt.ul.getElementsByTagName("li"),xt.$=T(xt),Dt=xt.$.input.controller("ngModel")}function A(){var t,n;for(t=s;t.length&&(n=t.attr("md-autocomplete-snap"),!e.isDefined(n));t=t.parent());if(t.length)return{snap:t[0],wrap:"width"===n.toLowerCase()?t[0]:s.find("md-autocomplete-wrap")[0]};var r=s.find("md-autocomplete-wrap")[0];return{snap:r,wrap:r}}function T(t){var n={};for(var r in t)t.hasOwnProperty(r)&&(n[r]=e.element(t[r]));return n}function k(t,n){!t&&n?(y(),ht(!0,It.Count|It.Selected),xt&&(c.disableScrollAround(xt.ul),Nt=S(e.element(xt.wrap)))):t&&!n&&(c.enableScrolling(),Nt&&(Nt(),Nt=null))}function S(t){function e(t){t.preventDefault()}return t.on("wheel",e),t.on("touchmove",e),function(){t.off("wheel",e),t.off("touchmove",e)}}function N(){At=!0}function D(){kt||wt.hidden||xt.input.focus(),At=!1,wt.hidden=X()}function O(){xt.input.focus()}function I(n,r){$(),n?W(n).then(function(e){t.searchText=e,R(n,r)}):r&&t.searchText&&W(r).then(function(n){e.isString(t.searchText)&&n.toString().toLowerCase()===t.searchText.toLowerCase()&&(t.searchText="")}),n!==r&&H()}function H(){e.isFunction(t.itemChange)&&t.itemChange(Y(t.selectedItem))}function P(){e.isFunction(t.textChange)&&t.textChange()}function R(t,e){Tt.forEach(function(n){n(t,e)})}function L(t){Tt.indexOf(t)==-1&&Tt.push(t)}function F(t){var e=Tt.indexOf(t);e!=-1&&Tt.splice(e,1)}function j(e,n){wt.index=K(),e!==n&&($(),W(t.selectedItem).then(function(r){e!==r&&(t.selectedItem=null,e!==n&&P(),ot()?bt():(wt.matches=[],G(!1),ht(!1,It.Count)))}))}function q(t){kt=!1,At||(wt.hidden=X(),Et("ngBlur",{$event:t}))}function V(t){t&&(At=!1,kt=!1),xt.input.blur()}function B(t){kt=!0,Z()&&ot()&&bt(),wt.hidden=X(),Et("ngFocus",{$event:t})}function U(e){switch(e.keyCode){case u.KEY_CODE.DOWN_ARROW:if(wt.loading)return;e.stopPropagation(),e.preventDefault(),wt.index=Math.min(wt.index+1,wt.matches.length-1),mt(),ht(!1,It.Selected);break;case u.KEY_CODE.UP_ARROW:if(wt.loading)return;e.stopPropagation(),e.preventDefault(),wt.index=wt.index<0?wt.matches.length-1:Math.max(0,wt.index-1),mt(),ht(!1,It.Selected);break;case u.KEY_CODE.TAB:if(D(),wt.hidden||wt.loading||wt.index<0||wt.matches.length<1)return;st(wt.index);break;case u.KEY_CODE.ENTER:if(wt.hidden||wt.loading||wt.index<0||wt.matches.length<1)return;if(nt())return;e.stopPropagation(),e.preventDefault(),st(wt.index);break;case u.KEY_CODE.ESCAPE:if(e.preventDefault(),!Q())return;e.stopPropagation(),ut(),t.searchText&&J("clear")&&lt(),wt.hidden=!0,J("blur")&&V(!0)}}function z(){return e.isNumber(t.minLength)?t.minLength:1}function W(n){function r(e){return e&&t.itemText?t.itemText(Y(e)):null}return f.when(r(n)||n).then(function(t){return t&&!e.isString(t)&&v.warn("md-autocomplete: Could not resolve display value to a string. Please check the `md-item-text` attribute."),t})}function Y(t){if(!t)return n;var e={};return wt.itemName&&(e[wt.itemName]=t),e}function K(){return t.autoselect?0:-1}function G(t){wt.loading!=t&&(wt.loading=t),wt.hidden=X()}function X(){return!Z()||!tt()}function Z(){return!(wt.loading&&!et())&&(!nt()&&!!kt)}function Q(){return J("blur")||!wt.hidden||wt.loading||J("clear")&&t.searchText}function J(e){return!t.escapeOptions||t.escapeOptions.toLowerCase().indexOf(e)!==-1}function tt(){return ot()&&et()||gt()}function et(){return!!wt.matches.length}function nt(){return!!wt.scope.selectedItem}function rt(){return wt.loading&&!nt()}function it(){return W(wt.matches[wt.index])}function ot(){return(t.searchText||"").length>=z()}function at(t,e,n){Object.defineProperty(wt,t,{get:function(){return n},set:function(t){var r=n;n=t,e(t,r)}})}function st(e){c.nextTick(function(){W(wt.matches[e]).then(function(t){var e=xt.$.input.controller("ngModel");e.$setViewValue(t),e.$render()}).finally(function(){t.selectedItem=wt.matches[e],G(!1)})},!1)}function ct(){ut(),lt()}function ut(){wt.index=0,wt.matches=[]}function lt(){G(!0),t.searchText="";var e=document.createEvent("CustomEvent");e.initCustomEvent("change",!0,!0,{value:""}),xt.input.dispatchEvent(e),xt.input.blur(),t.searchText="",xt.input.focus()}function dt(n){function r(e){e&&(e=f.when(e),St++,G(!0),c.nextTick(function(){e.then(i).finally(function(){0===--St&&G(!1)})},!0,t))}function i(e){Mt[a]=e,(n||"")===(t.searchText||"")&&$t(e)}var o=t.$parent.$eval(_t),a=n.toLowerCase(),s=e.isArray(o),u=!!o.then;s?i(o):u&&r(o)}function ht(t,e){var n=t?"polite":"assertive",r=[];e&It.Selected&&wt.index!==-1&&r.push(it()),e&It.Count&&r.push(f.resolve(pt())),f.all(r).then(function(t){g.announce(t.join(" "),n)})}function pt(){switch(wt.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+wt.matches.length+" matches available."}}function mt(){if(xt.li[0]){var t=xt.li[0].offsetHeight,e=t*wt.index,n=e+t,r=xt.scroller.clientHeight,i=xt.scroller.scrollTop;e<i?vt(e):n>i+r&&vt(n-r)}}function ft(){return 0!==St}function vt(t){xt.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(t)}function gt(){var t=(wt.scope.searchText||"").length;return wt.hasNotFound&&!et()&&(!wt.loading||ft())&&t>=z()&&(kt||At)&&!nt()}function bt(){var e=t.searchText||"",n=e.toLowerCase();!t.noCache&&Mt[n]?$t(Mt[n]):dt(e),wt.hidden=X()}function $t(e){wt.matches=e,wt.hidden=X(),wt.loading&&G(!1),t.selectOnMatch&&yt(),y(),ht(!0,It.Count)}function yt(){var e=t.searchText,n=wt.matches,r=n[0];1===n.length&&W(r).then(function(n){var r=e==n;t.matchInsensitive&&!r&&(r=e.toLowerCase()==n.toLowerCase()),r&&st(0)})}function Et(e,n){m[e]&&t.$parent.$eval(m[e],n||{})}var wt=this,Ct=t.itemsExpr.split(/ in /i),_t=Ct[1],xt=null,Mt={},At=!1,Tt=[],kt=!1,St=0,Nt=null,Dt=null,Ot=c.debounce(x);at("hidden",k,!0),wt.scope=t,wt.parent=t.$parent,wt.itemName=Ct[0],wt.matches=[],wt.loading=!1,wt.hidden=!0,wt.index=null,wt.id=c.nextUid(),wt.isDisabled=null,wt.isRequired=null,wt.isReadonly=null,wt.hasNotFound=!1,wt.keydown=U,wt.blur=q,wt.focus=B,wt.clear=ct,wt.select=st,wt.listEnter=N,wt.listLeave=D,wt.mouseUp=O,wt.getCurrentDisplayValue=it,wt.registerSelectedItemWatcher=L,wt.unregisterSelectedItemWatcher=F,wt.notFoundVisible=gt,
wt.loadingIsVisible=rt,wt.positionDropdown=y;var It={Count:1,Selected:2};return b()}t.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q","$log","$mdLiveAnnouncer"],e.module("material.components.autocomplete").controller("MdAutocompleteCtrl",t);var r=48,i=5,o=8,a=2}(),function(){function t(t){return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",requireMatch:"=?mdRequireMatch",selectOnMatch:"=?mdSelectOnMatch",matchInsensitive:"=?mdMatchCaseInsensitive",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId",escapeOptions:"@?mdEscapeOptions",dropdownItems:"=?mdDropdownItems",dropdownPosition:"@?mdDropdownPosition",clearButton:"=?mdClearButton"},compile:function(t,n){var r=["md-select-on-focus","md-no-asterisk","ng-trim","ng-pattern"],i=t.find("input");return r.forEach(function(t){var e=n[n.$normalize(t)];null!==e&&i.attr(t,e)}),function(t,n,r,i){i.hasNotFound=!!n.attr("md-has-not-found"),e.isDefined(r.mdClearButton)||t.floatingLabel||(t.clearButton=!0)}},template:function(e,n){function r(){var t=e.find("md-item-template").detach(),n=t.length?t.html():e.html();return t.length||e.empty(),"<md-autocomplete-parent-scope md-autocomplete-replace>"+n+"</md-autocomplete-parent-scope>"}function i(){var t=e.find("md-not-found").detach(),n=t.length?t.html():"";return n?'<li ng-if="$mdAutocompleteCtrl.notFoundVisible()"\t                         md-autocomplete-parent-scope>'+n+"</li>":""}function o(){return n.mdFloatingLabel?'\t            <md-input-container ng-if="floatingLabel">\t              <label>{{floatingLabel}}</label>\t              <input type="search"\t                  '+(null!=l?'tabindex="'+l+'"':"")+'\t                  id="{{ inputId || \'fl-input-\' + $mdAutocompleteCtrl.id }}"\t                  name="{{inputName}}"\t                  autocomplete="off"\t                  ng-required="$mdAutocompleteCtrl.isRequired"\t                  ng-readonly="$mdAutocompleteCtrl.isReadonly"\t                  ng-minlength="inputMinlength"\t                  ng-maxlength="inputMaxlength"\t                  ng-disabled="$mdAutocompleteCtrl.isDisabled"\t                  ng-model="$mdAutocompleteCtrl.scope.searchText"\t                  ng-model-options="{ allowInvalid: true }"\t                  ng-keydown="$mdAutocompleteCtrl.keydown($event)"\t                  ng-blur="$mdAutocompleteCtrl.blur($event)"\t                  ng-focus="$mdAutocompleteCtrl.focus($event)"\t                  aria-owns="ul-{{$mdAutocompleteCtrl.id}}"\t                  aria-label="{{floatingLabel}}"\t                  aria-autocomplete="list"\t                  role="combobox"\t                  aria-haspopup="true"\t                  aria-activedescendant=""\t                  aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/>\t              <div md-autocomplete-parent-scope md-autocomplete-replace>'+u+"</div>\t            </md-input-container>":'\t            <input type="search"\t                '+(null!=l?'tabindex="'+l+'"':"")+'\t                id="{{ inputId || \'input-\' + $mdAutocompleteCtrl.id }}"\t                name="{{inputName}}"\t                ng-if="!floatingLabel"\t                autocomplete="off"\t                ng-required="$mdAutocompleteCtrl.isRequired"\t                ng-disabled="$mdAutocompleteCtrl.isDisabled"\t                ng-readonly="$mdAutocompleteCtrl.isReadonly"\t                ng-minlength="inputMinlength"\t                ng-maxlength="inputMaxlength"\t                ng-model="$mdAutocompleteCtrl.scope.searchText"\t                ng-keydown="$mdAutocompleteCtrl.keydown($event)"\t                ng-blur="$mdAutocompleteCtrl.blur($event)"\t                ng-focus="$mdAutocompleteCtrl.focus($event)"\t                placeholder="{{placeholder}}"\t                aria-owns="ul-{{$mdAutocompleteCtrl.id}}"\t                aria-label="{{placeholder}}"\t                aria-autocomplete="list"\t                role="combobox"\t                aria-haspopup="true"\t                aria-activedescendant=""\t                aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/>'}function a(){return'<button type="button" aria-label="Clear Input" tabindex="-1" ng-if="clearButton && $mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear($event)"><md-icon md-svg-src="'+t.mdClose+'"></md-icon></button>'}var s=i(),c=r(),u=e.html(),l=n.tabindex;return s&&e.attr("md-has-not-found",!0),e.attr("tabindex","-1"),"\t        <md-autocomplete-wrap\t            ng-class=\"{ 'md-whiteframe-z1': !floatingLabel, \t                        'md-menu-showing': !$mdAutocompleteCtrl.hidden, \t                        'md-show-clear-button': !!clearButton }\">\t          "+o()+"\t          "+a()+'\t          <md-progress-linear\t              class="'+(n.mdFloatingLabel?"md-inline":"")+'"\t              ng-if="$mdAutocompleteCtrl.loadingIsVisible()"\t              md-mode="indeterminate"></md-progress-linear>\t          <md-virtual-repeat-container\t              md-auto-shrink\t              md-auto-shrink-min="1"\t              ng-mouseenter="$mdAutocompleteCtrl.listEnter()"\t              ng-mouseleave="$mdAutocompleteCtrl.listLeave()"\t              ng-mouseup="$mdAutocompleteCtrl.mouseUp()"\t              ng-hide="$mdAutocompleteCtrl.hidden"\t              class="md-autocomplete-suggestions-container md-whiteframe-z1"\t              ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }"\t              role="presentation">\t            <ul class="md-autocomplete-suggestions"\t                ng-class="::menuClass"\t                id="ul-{{$mdAutocompleteCtrl.id}}">\t              <li md-virtual-repeat="item in $mdAutocompleteCtrl.matches"\t                  ng-class="{ selected: $index === $mdAutocompleteCtrl.index }"\t                  ng-click="$mdAutocompleteCtrl.select($index)"\t                  md-extra-name="$mdAutocompleteCtrl.itemName">\t                  '+c+"\t                  </li>"+s+"\t            </ul>\t          </md-virtual-repeat-container>\t        </md-autocomplete-wrap>"}}}t.$inject=["$$mdSvgRegistry"],e.module("material.components.autocomplete").directive("mdAutocomplete",t)}(),function(){function t(t,e){function n(t,n,r){return function(t,n,i){function o(n,r){c[r]=t[n],t.$watch(n,function(t){e.nextTick(function(){c[r]=t})})}function a(){var e=!1,n=!1;t.$watch(function(){n||e||(e=!0,t.$$postDigest(function(){n||c.$digest(),e=n=!1}))}),c.$watch(function(){n=!0})}var s=t.$mdAutocompleteCtrl,c=s.parent.$new(),u=s.itemName;o("$index","$index"),o("item",u),a(),r(c,function(t){n.after(t)})}}return{restrict:"AE",compile:n,terminal:!0,transclude:"element"}}t.$inject=["$compile","$mdUtil"],e.module("material.components.autocomplete").directive("mdAutocompleteParentScope",t)}(),function(){function t(t,e,n){this.$scope=t,this.$element=e,this.$attrs=n,this.regex=null}t.$inject=["$scope","$element","$attrs"],e.module("material.components.autocomplete").controller("MdHighlightCtrl",t),t.prototype.init=function(t,e){this.flags=this.$attrs.mdHighlightFlags||"",this.unregisterFn=this.$scope.$watch(function(n){return{term:t(n),contentText:e(n)}}.bind(this),this.onRender.bind(this),!0),this.$element.on("$destroy",this.unregisterFn)},t.prototype.onRender=function(t,e){var n=t.contentText;null!==this.regex&&t.term===e.term||(this.regex=this.createRegex(t.term,this.flags)),t.term?this.applyRegex(n):this.$element.text(n)},t.prototype.applyRegex=function(t){var n=this.resolveTokens(t);this.$element.empty(),n.forEach(function(t){if(t.isMatch){var n=e.element('<span class="highlight">').text(t.text);this.$element.append(n)}else this.$element.append(document.createTextNode(t))}.bind(this))},t.prototype.resolveTokens=function(t){function e(e,r){var i=t.slice(e,r);i&&n.push(i)}var n=[],r=0;return t.replace(this.regex,function(t,i){e(r,i),n.push({text:t,isMatch:!0}),r=i+t.length}),e(r),n},t.prototype.createRegex=function(t,e){var n="",r="",i=this.sanitizeRegex(t);return e.indexOf("^")>=0&&(n="^"),e.indexOf("$")>=0&&(r="$"),new RegExp(n+i+r,e.replace(/[$\^]/g,""))},t.prototype.sanitizeRegex=function(t){return t&&t.toString().replace(/[\\\^\$\*\+\?\.\(\)\|\{}\[\]]/g,"\\$&")}}(),function(){function t(t,e){return{terminal:!0,controller:"MdHighlightCtrl",compile:function(n,r){var i=e(r.mdHighlightText),o=t(n.html());return function(t,e,n,r){r.init(i,o)}}}}t.$inject=["$interpolate","$parse"],e.module("material.components.autocomplete").directive("mdHighlightText",t)}(),function(){function r(t,e,r,i,o){this.$scope=t,this.$element=e,this.$mdConstant=r,this.$timeout=i,this.$mdUtil=o,this.isEditting=!1,this.parentController=n,this.enableChipEdit=!1}r.$inject=["$scope","$element","$mdConstant","$timeout","$mdUtil"],e.module("material.components.chips").controller("MdChipCtrl",r),r.prototype.init=function(t){this.parentController=t,this.enableChipEdit=this.parentController.enableChipEdit,this.enableChipEdit&&(this.$element.on("keydown",this.chipKeyDown.bind(this)),this.$element.on("mousedown",this.chipMouseDown.bind(this)),this.getChipContent().addClass("_md-chip-content-edit-is-enabled"))},r.prototype.getChipContent=function(){var t=this.$element[0].getElementsByClassName("md-chip-content");return e.element(t[0])},r.prototype.getContentElement=function(){return e.element(this.getChipContent().children()[0])},r.prototype.getChipIndex=function(){return parseInt(this.$element.attr("index"))},r.prototype.goOutOfEditMode=function(){if(this.isEditting){this.isEditting=!1,this.$element.removeClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="false";var t=this.getChipIndex(),e=this.getContentElement().text();e?(this.parentController.updateChipContents(t,this.getContentElement().text()),this.$mdUtil.nextTick(function(){this.parentController.selectedChip===t&&this.parentController.focusChip(t)}.bind(this))):this.parentController.removeChipAndFocusInput(t)}},r.prototype.selectNodeContents=function(e){var n,r;document.body.createTextRange?(n=document.body.createTextRange(),n.moveToElementText(e),n.select()):t.getSelection&&(r=t.getSelection(),n=document.createRange(),n.selectNodeContents(e),r.removeAllRanges(),r.addRange(n))},r.prototype.goInEditMode=function(){this.isEditting=!0,this.$element.addClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="true",this.getChipContent().on("blur",function(){this.goOutOfEditMode()}.bind(this)),this.selectNodeContents(this.getChipContent()[0])},r.prototype.chipKeyDown=function(t){this.isEditting||t.keyCode!==this.$mdConstant.KEY_CODE.ENTER&&t.keyCode!==this.$mdConstant.KEY_CODE.SPACE?this.isEditting&&t.keyCode===this.$mdConstant.KEY_CODE.ENTER&&(t.preventDefault(),this.goOutOfEditMode()):(t.preventDefault(),this.goInEditMode())},r.prototype.chipMouseDown=function(){this.getChipIndex()==this.parentController.selectedChip&&this.enableChipEdit&&!this.isEditting&&this.goInEditMode()}}(),function(){function t(t,r,i,o){function a(n,r,a,c){var u=c.shift(),l=c.shift(),d=e.element(r[0].querySelector(".md-chip-content"));t(r),u&&(l.init(u),d.append(i(s)(n)),d.on("blur",function(){u.resetSelectedChip(),u.$scope.$applyAsync()})),o(function(){u&&u.shouldFocusLastChip&&u.focusLastChipThenInput()})}var s=r.processTemplate(n);return{restrict:"E",require:["^?mdChips","mdChip"],link:a,controller:"MdChipCtrl"}}t.$inject=["$mdTheming","$mdUtil","$compile","$timeout"],e.module("material.components.chips").directive("mdChip",t);var n='\t    <span ng-if="!$mdChipsCtrl.readonly" class="md-visually-hidden">\t      {{$mdChipsCtrl.deleteHint}}\t    </span>'}(),function(){function t(t){function e(e,n,r,i){n.on("click",function(t){e.$apply(function(){i.removeChip(e.$$replacedScope.$index)})}),t(function(){n.attr({tabindex:-1,"aria-hidden":!0}),n.find("button").attr("tabindex","-1")})}return{restrict:"A",require:"^mdChips",scope:!1,link:e}}t.$inject=["$timeout"],e.module("material.components.chips").directive("mdChipRemove",t)}(),function(){function t(t){function e(e,n,r){var i=e.$parent.$mdChipsCtrl,o=i.parent.$new(!1,i.parent);o.$$replacedScope=e,o.$chip=e.$chip,o.$index=e.$index,o.$mdChipsCtrl=i;var a=i.$scope.$eval(r.mdChipTransclude);n.html(a),t(n.contents())(o)}return{restrict:"EA",terminal:!0,link:e,scope:!1}}t.$inject=["$compile"],e.module("material.components.chips").directive("mdChipTransclude",t)}(),function(){function t(t,e,r,i,o,a,s){this.$timeout=a,this.$mdConstant=r,this.$scope=t,this.parent=t.$parent,this.$mdUtil=s,this.$log=i,this.$element=o,this.$attrs=e,this.ngModelCtrl=null,this.userInputNgModelCtrl=null,this.autocompleteCtrl=null,this.userInputElement=null,this.items=[],this.selectedChip=-1,this.enableChipEdit=s.parseAttributeBoolean(e.mdEnableChipEdit),this.addOnBlur=s.parseAttributeBoolean(e.mdAddOnBlur),this.inputAriaLabel="Chips input.",this.containerHint="Chips container. Use arrow keys to select chips.",this.deleteHint="Press delete to remove this chip.",this.deleteButtonLabel="Remove",this.chipBuffer="",this.useTransformChip=!1,this.useOnAdd=!1,this.useOnRemove=!1,this.wrapperId="",this.contentIds=[],this.ariaTabIndex=null,this.chipAppendDelay=n,this.init()}t.$inject=["$scope","$attrs","$mdConstant","$log","$element","$timeout","$mdUtil"];var n=300;e.module("material.components.chips").controller("MdChipsCtrl",t),t.prototype.init=function(){var t=this;t.wrapperId="_md-chips-wrapper-"+t.$mdUtil.nextUid(),t.$scope.$watchCollection("$mdChipsCtrl.items",function(){t.setupInputAria(),t.setupWrapperAria()}),t.$attrs.$observe("mdChipAppendDelay",function(e){t.chipAppendDelay=parseInt(e)||n})},t.prototype.setupInputAria=function(){var t=this.$element.find("input");t&&(t.attr("role","textbox"),t.attr("aria-multiline",!0))},t.prototype.setupWrapperAria=function(){var t=this,e=this.$element.find("md-chips-wrap");this.items&&this.items.length?(e.attr("role","listbox"),this.contentIds=this.items.map(function(){return t.wrapperId+"-chip-"+t.$mdUtil.nextUid()}),e.attr("aria-owns",this.contentIds.join(" "))):(e.removeAttr("role"),e.removeAttr("aria-owns"))},t.prototype.inputKeydown=function(t){var e=this.getChipBuffer();if(!(this.autocompleteCtrl&&t.isDefaultPrevented&&t.isDefaultPrevented())){if(t.keyCode===this.$mdConstant.KEY_CODE.BACKSPACE){if(0!==this.getCursorPosition(t.target))return;return t.preventDefault(),t.stopPropagation(),void(this.items.length&&this.selectAndFocusChipSafe(this.items.length-1))}if((!this.separatorKeys||this.separatorKeys.length<1)&&(this.separatorKeys=[this.$mdConstant.KEY_CODE.ENTER]),this.separatorKeys.indexOf(t.keyCode)!==-1){if(this.autocompleteCtrl&&this.requireMatch||!e)return;if(t.preventDefault(),this.hasMaxChipsReached())return;return this.appendChip(e.trim()),this.resetChipBuffer(),!1}}},t.prototype.getCursorPosition=function(t){try{if(t.selectionStart===t.selectionEnd)return t.selectionStart}catch(e){if(!t.value)return 0}},t.prototype.updateChipContents=function(t,e){t>=0&&t<this.items.length&&(this.items[t]=e,this.ngModelCtrl.$setDirty())},t.prototype.isEditingChip=function(){return!!this.$element[0].querySelector("._md-chip-editing")},t.prototype.isRemovable=function(){return!!this.ngModelCtrl&&(this.readonly?this.removable:!e.isDefined(this.removable)||this.removable)},t.prototype.chipKeydown=function(t){if(!this.getChipBuffer()&&!this.isEditingChip())switch(t.keyCode){case this.$mdConstant.KEY_CODE.BACKSPACE:case this.$mdConstant.KEY_CODE.DELETE:if(this.selectedChip<0)return;if(t.preventDefault(),!this.isRemovable())return;this.removeAndSelectAdjacentChip(this.selectedChip);break;case this.$mdConstant.KEY_CODE.LEFT_ARROW:t.preventDefault(),(this.selectedChip<0||this.readonly&&0==this.selectedChip)&&(this.selectedChip=this.items.length),this.items.length&&this.selectAndFocusChipSafe(this.selectedChip-1);break;case this.$mdConstant.KEY_CODE.RIGHT_ARROW:t.preventDefault(),this.selectAndFocusChipSafe(this.selectedChip+1);break;case this.$mdConstant.KEY_CODE.ESCAPE:case this.$mdConstant.KEY_CODE.TAB:if(this.selectedChip<0)return;t.preventDefault(),this.onFocus()}},t.prototype.getPlaceholder=function(){var t=this.items&&this.items.length&&(""==this.secondaryPlaceholder||this.secondaryPlaceholder);return t?this.secondaryPlaceholder:this.placeholder},t.prototype.removeAndSelectAdjacentChip=function(t){var e=this,n=e.getAdjacentChipIndex(t);this.$element[0].querySelector("md-chips-wrap"),this.$element[0].querySelector('md-chip[index="'+t+'"]');e.removeChip(t),e.$timeout(function(){e.$timeout(function(){e.selectAndFocusChipSafe(n)})})},t.prototype.resetSelectedChip=function(){this.selectedChip=-1,this.ariaTabIndex=null},t.prototype.getAdjacentChipIndex=function(t){var e=this.items.length-1;return 0==e?-1:t==e?t-1:t},t.prototype.appendChip=function(t){if(this.shouldFocusLastChip=!0,this.useTransformChip&&this.transformChip){var n=this.transformChip({$chip:t});e.isDefined(n)&&(t=n)}if(e.isObject(t)){var r=this.items.some(function(n){return e.equals(t,n)});if(r)return}if(!(null==t||this.items.indexOf(t)+1)){var i=this.items.push(t),o=i-1;this.ngModelCtrl.$setDirty(),this.validateModel(),this.useOnAdd&&this.onAdd&&this.onAdd({$chip:t,$index:o})}},t.prototype.useTransformChipExpression=function(){this.useTransformChip=!0},t.prototype.useOnAddExpression=function(){this.useOnAdd=!0},t.prototype.useOnRemoveExpression=function(){this.useOnRemove=!0},t.prototype.useOnSelectExpression=function(){this.useOnSelect=!0},t.prototype.getChipBuffer=function(){var t=this.userInputElement?this.userInputNgModelCtrl?this.userInputNgModelCtrl.$viewValue:this.userInputElement[0].value:this.chipBuffer;return e.isString(t)?t:""},t.prototype.resetChipBuffer=function(){this.userInputElement?this.userInputNgModelCtrl?(this.userInputNgModelCtrl.$setViewValue(""),this.userInputNgModelCtrl.$render()):this.userInputElement[0].value="":this.chipBuffer=""},t.prototype.hasMaxChipsReached=function(){return e.isString(this.maxChips)&&(this.maxChips=parseInt(this.maxChips,10)||0),this.maxChips>0&&this.items.length>=this.maxChips},t.prototype.validateModel=function(){this.ngModelCtrl.$setValidity("md-max-chips",!this.hasMaxChipsReached())},t.prototype.removeChip=function(t){var e=this.items.splice(t,1);this.ngModelCtrl.$setDirty(),this.validateModel(),e&&e.length&&this.useOnRemove&&this.onRemove&&this.onRemove({$chip:e[0],$index:t})},t.prototype.removeChipAndFocusInput=function(t){this.removeChip(t),this.autocompleteCtrl?(this.autocompleteCtrl.hidden=!0,this.$mdUtil.nextTick(this.onFocus.bind(this))):this.onFocus()},t.prototype.selectAndFocusChipSafe=function(t){if(!this.items.length||t===-1)return this.focusInput();if(t>=this.items.length){if(!this.readonly)return this.onFocus();t=0}t=Math.max(t,0),t=Math.min(t,this.items.length-1),this.selectChip(t),this.focusChip(t)},t.prototype.focusLastChipThenInput=function(){var t=this;t.shouldFocusLastChip=!1,t.focusChip(this.items.length-1),t.$timeout(function(){t.focusInput()},t.chipAppendDelay)},t.prototype.focusInput=function(){this.selectChip(-1),this.onFocus()},t.prototype.selectChip=function(t){t>=-1&&t<=this.items.length?(this.selectedChip=t,this.useOnSelect&&this.onSelect&&this.onSelect({$chip:this.items[t]})):this.$log.warn("Selected Chip index out of bounds; ignoring.")},t.prototype.selectAndFocusChip=function(t){this.selectChip(t),t!=-1&&this.focusChip(t)},t.prototype.focusChip=function(t){var e=this.$element[0].querySelector('md-chip[index="'+t+'"] .md-chip-content');this.ariaTabIndex=t,e.focus()},t.prototype.configureNgModel=function(t){this.ngModelCtrl=t;var e=this;t.$render=function(){e.items=e.ngModelCtrl.$viewValue}},t.prototype.onFocus=function(){var t=this.$element[0].querySelector("input");t&&t.focus(),this.resetSelectedChip()},t.prototype.onInputFocus=function(){this.inputHasFocus=!0,this.setupInputAria(),this.resetSelectedChip()},t.prototype.onInputBlur=function(){this.inputHasFocus=!1,this.shouldAddOnBlur()&&(this.appendChip(this.getChipBuffer().trim()),this.resetChipBuffer())},t.prototype.configureUserInput=function(t){this.userInputElement=t;var n=t.controller("ngModel");n!=this.ngModelCtrl&&(this.userInputNgModelCtrl=n);var r=this.$scope,i=this,o=function(t,n){r.$evalAsync(e.bind(i,n,t))};t.attr({tabindex:0}).on("keydown",function(t){o(t,i.inputKeydown)}).on("focus",function(t){o(t,i.onInputFocus)}).on("blur",function(t){o(t,i.onInputBlur)})},t.prototype.configureAutocomplete=function(t){t&&(this.autocompleteCtrl=t,t.registerSelectedItemWatcher(e.bind(this,function(t){if(t){if(this.hasMaxChipsReached())return;this.appendChip(t),this.resetChipBuffer()}})),this.$element.find("input").on("focus",e.bind(this,this.onInputFocus)).on("blur",e.bind(this,this.onInputBlur)))},t.prototype.shouldAddOnBlur=function(){this.validateModel();var t=this.getChipBuffer().trim(),e=this.ngModelCtrl.$valid,n=this.autocompleteCtrl&&!this.autocompleteCtrl.hidden;return this.userInputNgModelCtrl&&(e=e&&this.userInputNgModelCtrl.$valid),this.addOnBlur&&!this.requireMatch&&t&&e&&!n},t.prototype.hasFocus=function(){return this.inputHasFocus||this.selectedChip>=0},t.prototype.contentIdFor=function(t){return this.contentIds[t]}}(),function(){function t(t,e,a,s,c,u){function l(n,r){function i(t){if(r.ngModel){var e=o[0].querySelector(t);return e&&e.outerHTML}}var o=r.$mdUserTemplate;r.$mdUserTemplate=null;var l=i("md-chips>md-chip-template"),d=e.prefixer().buildList("md-chip-remove").map(function(t){return"md-chips>*["+t+"]"}).join(","),p=i(d)||h.remove,m=l||h.default,f=i("md-chips>md-autocomplete")||i("md-chips>input")||h.input,v=o.find("md-chip");return o[0].querySelector("md-chip-template>*[md-chip-remove]")&&s.warn("invalid placement of md-chip-remove within md-chip-template."),function(n,i,o,s){e.initOptionalProperties(n,r),t(i);var d=s[0];if(l&&(d.enableChipEdit=!1),d.chipContentsTemplate=m,d.chipRemoveTemplate=p,d.chipInputTemplate=f,d.mdCloseIcon=u.mdClose,i.attr({tabindex:-1}).on("focus",function(){d.onFocus()}),r.ngModel&&(d.configureNgModel(i.controller("ngModel")),o.mdTransformChip&&d.useTransformChipExpression(),o.mdOnAppend&&d.useOnAppendExpression(),o.mdOnAdd&&d.useOnAddExpression(),o.mdOnRemove&&d.useOnRemoveExpression(),o.mdOnSelect&&d.useOnSelectExpression(),f!=h.input&&n.$watch("$mdChipsCtrl.readonly",function(t){t||e.nextTick(function(){if(0===f.indexOf("<md-autocomplete")){var t=i.find("md-autocomplete");d.configureAutocomplete(t.controller("mdAutocomplete"))}d.configureUserInput(i.find("input"))})}),e.nextTick(function(){var t=i.find("input");t&&t.toggleClass("md-input",!0)})),v.length>0){var g=a(v.clone())(n.$parent);c(function(){i.find("md-chips-wrap").prepend(g)})}}}function d(){return{chips:e.processTemplate(n),input:e.processTemplate(r),default:e.processTemplate(i),remove:e.processTemplate(o)}}var h=d();return{template:function(t,e){return e.$mdUserTemplate=t.clone(),h.chips},require:["mdChips"],restrict:"E",controller:"MdChipsCtrl",controllerAs:"$mdChipsCtrl",bindToController:!0,compile:l,scope:{readonly:"=readonly",removable:"=mdRemovable",placeholder:"@",secondaryPlaceholder:"@",maxChips:"@mdMaxChips",transformChip:"&mdTransformChip",onAppend:"&mdOnAppend",onAdd:"&mdOnAdd",onRemove:"&mdOnRemove",onSelect:"&mdOnSelect",inputAriaLabel:"@",containerHint:"@",deleteHint:"@",deleteButtonLabel:"@",separatorKeys:"=?mdSeparatorKeys",requireMatch:"=?mdRequireMatch",chipAppendDelayString:"@?mdChipAppendDelay"}}}t.$inject=["$mdTheming","$mdUtil","$compile","$log","$timeout","$$mdSvgRegistry"],e.module("material.components.chips").directive("mdChips",t);var n='\t      <md-chips-wrap\t          id="{{$mdChipsCtrl.wrapperId}}"\t          tabindex="{{$mdChipsCtrl.readonly ? 0 : -1}}"\t          ng-keydown="$mdChipsCtrl.chipKeydown($event)"\t          ng-class="{ \'md-focused\': $mdChipsCtrl.hasFocus(), \t                      \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly,\t                      \'md-removable\': $mdChipsCtrl.isRemovable() }"\t          aria-setsize="{{$mdChipsCtrl.items.length}}"\t          class="md-chips">\t        <span ng-if="$mdChipsCtrl.readonly" class="md-visually-hidden">\t          {{$mdChipsCtrl.containerHint}}\t        </span>\t        <md-chip ng-repeat="$chip in $mdChipsCtrl.items"\t            index="{{$index}}"\t            ng-class="{\'md-focused\': $mdChipsCtrl.selectedChip == $index, \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly}">\t          <div class="md-chip-content"\t              tabindex="{{$mdChipsCtrl.ariaTabIndex == $index ? 0 : -1}}"\t              id="{{$mdChipsCtrl.contentIdFor($index)}}"\t              role="option"\t              aria-selected="{{$mdChipsCtrl.selectedChip == $index}}" \t              aria-posinset="{{$index}}"\t              ng-click="!$mdChipsCtrl.readonly && $mdChipsCtrl.focusChip($index)"\t              ng-focus="!$mdChipsCtrl.readonly && $mdChipsCtrl.selectChip($index)"\t              md-chip-transclude="$mdChipsCtrl.chipContentsTemplate"></div>\t          <div ng-if="$mdChipsCtrl.isRemovable()"\t               class="md-chip-remove-container"\t               tabindex="-1"\t               md-chip-transclude="$mdChipsCtrl.chipRemoveTemplate"></div>\t        </md-chip>\t        <div class="md-chip-input-container" ng-if="!$mdChipsCtrl.readonly && $mdChipsCtrl.ngModelCtrl">\t          <div md-chip-transclude="$mdChipsCtrl.chipInputTemplate"></div>\t        </div>\t      </md-chips-wrap>',r='\t        <input\t            class="md-input"\t            tabindex="0"\t            aria-label="{{$mdChipsCtrl.inputAriaLabel}}" \t            placeholder="{{$mdChipsCtrl.getPlaceholder()}}"\t            ng-model="$mdChipsCtrl.chipBuffer"\t            ng-focus="$mdChipsCtrl.onInputFocus()"\t            ng-blur="$mdChipsCtrl.onInputBlur()"\t            ng-keydown="$mdChipsCtrl.inputKeydown($event)">',i="\t      <span>{{$chip}}</span>",o='\t      <button\t          class="md-chip-remove"\t          ng-if="$mdChipsCtrl.isRemovable()"\t          ng-click="$mdChipsCtrl.removeChipAndFocusInput($$replacedScope.$index)"\t          type="button"\t          tabindex="-1">\t        <md-icon md-svg-src="{{ $mdChipsCtrl.mdCloseIcon }}"></md-icon>\t        <span class="md-visually-hidden">\t          {{$mdChipsCtrl.deleteButtonLabel}}\t        </span>\t      </button>'}(),function(){function t(){this.selectedItem=null,this.searchText=""}e.module("material.components.chips").controller("MdContactChipsCtrl",t),t.prototype.queryContact=function(t){return this.contactQuery({$query:t})},t.prototype.itemName=function(t){return t[this.contactName]}}(),function(){function t(t,e){function r(n,r){return function(n,i,o,a){var s=a;e.initOptionalProperties(n,r),t(i),i.attr("tabindex","-1"),o.$observe("mdChipAppendDelay",function(t){s.chipAppendDelay=t})}}return{template:function(t,e){return n},restrict:"E",controller:"MdContactChipsCtrl",controllerAs:"$mdContactChipsCtrl",bindToController:!0,compile:r,scope:{contactQuery:"&mdContacts",placeholder:"@",secondaryPlaceholder:"@",contactName:"@mdContactName",contactImage:"@mdContactImage",contactEmail:"@mdContactEmail",contacts:"=ngModel",requireMatch:"=?mdRequireMatch",minLength:"=?mdMinLength",highlightFlags:"@?mdHighlightFlags",chipAppendDelay:"@?mdChipAppendDelay"}}}t.$inject=["$mdTheming","$mdUtil"],e.module("material.components.chips").directive("mdContactChips",t);var n='\t      <md-chips class="md-contact-chips"\t          ng-model="$mdContactChipsCtrl.contacts"\t          md-require-match="$mdContactChipsCtrl.requireMatch"\t          md-chip-append-delay="{{$mdContactChipsCtrl.chipAppendDelay}}" \t          md-autocomplete-snap>\t          <md-autocomplete\t              md-menu-class="md-contact-chips-suggestions"\t              md-selected-item="$mdContactChipsCtrl.selectedItem"\t              md-search-text="$mdContactChipsCtrl.searchText"\t              md-items="item in $mdContactChipsCtrl.queryContact($mdContactChipsCtrl.searchText)"\t              md-item-text="$mdContactChipsCtrl.itemName(item)"\t              md-no-cache="true"\t              md-min-length="$mdContactChipsCtrl.minLength"\t              md-autoselect\t              placeholder="{{$mdContactChipsCtrl.contacts.length == 0 ?\t                  $mdContactChipsCtrl.placeholder : $mdContactChipsCtrl.secondaryPlaceholder}}">\t            <div class="md-contact-suggestion">\t              <img \t                  ng-src="{{item[$mdContactChipsCtrl.contactImage]}}"\t                  alt="{{item[$mdContactChipsCtrl.contactName]}}"\t                  ng-if="item[$mdContactChipsCtrl.contactImage]" />\t              <span class="md-contact-name" md-highlight-text="$mdContactChipsCtrl.searchText"\t                    md-highlight-flags="{{$mdContactChipsCtrl.highlightFlags}}">\t                {{item[$mdContactChipsCtrl.contactName]}}\t              </span>\t              <span class="md-contact-email" >{{item[$mdContactChipsCtrl.contactEmail]}}</span>\t            </div>\t          </md-autocomplete>\t          <md-chip-template>\t            <div class="md-contact-avatar">\t              <img \t                  ng-src="{{$chip[$mdContactChipsCtrl.contactImage]}}"\t                  alt="{{$chip[$mdContactChipsCtrl.contactName]}}"\t                  ng-if="$chip[$mdContactChipsCtrl.contactImage]" />\t            </div>\t            <div class="md-contact-name">\t              {{$chip[$mdContactChipsCtrl.contactName]}}\t            </div>\t          </md-chip-template>\t      </md-chips>'}(),function(){!function(){function t(){return{template:function(t,e){var n=e.hasOwnProperty("ngIf")?"":'ng-if="calendarCtrl.isInitialized"',r='<div ng-switch="calendarCtrl.currentView" '+n+'><md-calendar-year ng-switch-when="year"></md-calendar-year><md-calendar-month ng-switch-default></md-calendar-month></div>';return r},scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",dateFilter:"=mdDateFilter",_currentView:"@mdCurrentView"},require:["ngModel","mdCalendar"],controller:n,controllerAs:"calendarCtrl",bindToController:!0,link:function(t,e,n,r){var i=r[0],o=r[1];o.configureNgModel(i)}}}function n(t,n,r,o,a,s,c,u,l){s(t),this.$element=t,this.$scope=n,this.dateUtil=r,this.$mdUtil=o,this.keyCode=a.KEY_CODE,this.$$rAF=c,this.$mdDateLocale=l,this.today=this.dateUtil.createDateAtMidnight(),this.ngModelCtrl=null,this.SELECTED_DATE_CLASS="md-calendar-selected-date",this.TODAY_CLASS="md-calendar-date-today",this.FOCUSED_DATE_CLASS="md-focus",this.id=i++,this.displayDate=null,this.selectedDate=null,this.firstRenderableDate=null,this.lastRenderableDate=null,this.isInitialized=!1,this.width=0,this.scrollbarWidth=0,u.tabindex||t.attr("tabindex","-1");var d,h=e.bind(this,this.handleKeyEvent);d=t.parent().hasClass("md-datepicker-calendar")?e.element(document.body):t,d.on("keydown",h),n.$on("$destroy",function(){d.off("keydown",h)}),1===e.version.major&&e.version.minor<=4&&this.$onInit()}n.$inject=["$element","$scope","$$mdDateUtil","$mdUtil","$mdConstant","$mdTheming","$$rAF","$attrs","$mdDateLocale"],e.module("material.components.datepicker").directive("mdCalendar",t);var r=340,i=0;n.prototype.$onInit=function(){this.currentView=this._currentView||"month";var t=this.$mdDateLocale;this.minDate&&this.minDate>t.firstRenderableDate?this.firstRenderableDate=this.minDate:this.firstRenderableDate=t.firstRenderableDate,this.maxDate&&this.maxDate<t.lastRenderableDate?this.lastRenderableDate=this.maxDate:this.lastRenderableDate=t.lastRenderableDate},n.prototype.configureNgModel=function(t){var e=this;e.ngModelCtrl=t,e.$mdUtil.nextTick(function(){e.isInitialized=!0}),t.$render=function(){var t=this.$viewValue;
e.$scope.$broadcast("md-calendar-parent-changed",t),e.selectedDate||(e.selectedDate=t),e.displayDate||(e.displayDate=e.selectedDate||e.today)}},n.prototype.setNgModelValue=function(t){var e=this.dateUtil.createDateAtMidnight(t);return this.focus(e),this.$scope.$emit("md-calendar-change",e),this.ngModelCtrl.$setViewValue(e),this.ngModelCtrl.$render(),e},n.prototype.setCurrentView=function(t,n){var r=this;r.$mdUtil.nextTick(function(){r.currentView=t,n&&(r.displayDate=e.isDate(n)?n:new Date(n))})},n.prototype.focus=function(t){if(this.dateUtil.isValidDate(t)){var e=this.$element[0].querySelector(".md-focus");e&&e.classList.remove(this.FOCUSED_DATE_CLASS);var n=this.getDateId(t,this.currentView),r=document.getElementById(n);r&&(r.classList.add(this.FOCUSED_DATE_CLASS),r.focus(),this.displayDate=t)}else{var i=this.$element[0].querySelector("[ng-switch]");i&&i.focus()}},n.prototype.getActionFromKeyEvent=function(t){var e=this.keyCode;switch(t.which){case e.ENTER:return"select";case e.RIGHT_ARROW:return"move-right";case e.LEFT_ARROW:return"move-left";case e.DOWN_ARROW:return t.metaKey?"move-page-down":"move-row-down";case e.UP_ARROW:return t.metaKey?"move-page-up":"move-row-up";case e.PAGE_DOWN:return"move-page-down";case e.PAGE_UP:return"move-page-up";case e.HOME:return"start";case e.END:return"end";default:return null}},n.prototype.handleKeyEvent=function(t){var e=this;this.$scope.$apply(function(){if(t.which==e.keyCode.ESCAPE||t.which==e.keyCode.TAB)return e.$scope.$emit("md-calendar-close"),void(t.which==e.keyCode.TAB&&t.preventDefault());var n=e.getActionFromKeyEvent(t);n&&(t.preventDefault(),t.stopPropagation(),e.$scope.$broadcast("md-calendar-parent-action",n))})},n.prototype.hideVerticalScrollbar=function(t){function e(){var e=n.width||r,i=n.scrollbarWidth,a=t.calendarScroller;o.style.width=e+"px",a.style.width=e+i+"px",a.style.paddingRight=i+"px"}var n=this,i=t.$element[0],o=i.querySelector(".md-calendar-scroll-mask");n.width>0?e():n.$$rAF(function(){var r=t.calendarScroller;n.scrollbarWidth=r.offsetWidth-r.clientWidth,n.width=i.querySelector("table").offsetWidth,e()})},n.prototype.getDateId=function(t,e){if(!e)throw new Error("A namespace for the date id has to be specified.");return["md",this.id,e,t.getFullYear(),t.getMonth(),t.getDate()].join("-")},n.prototype.updateVirtualRepeat=function(){var t=this.$scope,e=t.$on("$md-resize-enable",function(){t.$$phase||t.$apply(),e()})}}()}(),function(){!function(){function t(){return{template:'<table aria-hidden="true" class="md-calendar-day-header"><thead></thead></table><div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container" md-offset-size="'+(i-r)+'"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-month-body role="rowgroup" md-virtual-repeat="i in monthCtrl.items" md-month-offset="$index" class="md-calendar-month" md-start-index="monthCtrl.getSelectedMonthIndex()" md-item-size="'+r+'"><tr aria-hidden="true" style="height:'+r+'px;"></tr></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarMonth"],controller:n,controllerAs:"monthCtrl",bindToController:!0,link:function(t,e,n,r){var i=r[0],o=r[1];o.initialize(i)}}}function n(t,e,n,r,i,o){this.$element=t,this.$scope=e,this.$animate=n,this.$q=r,this.dateUtil=i,this.dateLocale=o,this.calendarScroller=t[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var a=this;this.cellClickHandler=function(){var t=i.getTimestampFromNode(this);a.$scope.$apply(function(){a.calendarCtrl.setNgModelValue(t)})},this.headerClickHandler=function(){a.calendarCtrl.setCurrentView("year",i.getTimestampFromNode(this))}}n.$inject=["$element","$scope","$animate","$q","$$mdDateUtil","$mdDateLocale"],e.module("material.components.datepicker").directive("mdCalendarMonth",t);var r=265,i=45;n.prototype.initialize=function(t){this.items={length:this.dateUtil.getMonthDistance(t.firstRenderableDate,t.lastRenderableDate)+2},this.calendarCtrl=t,this.attachScopeListeners(),t.updateVirtualRepeat(),t.ngModelCtrl&&t.ngModelCtrl.$render()},n.prototype.getSelectedMonthIndex=function(){var t=this.calendarCtrl;return this.dateUtil.getMonthDistance(t.firstRenderableDate,t.displayDate||t.selectedDate||t.today)},n.prototype.changeSelectedDate=function(t){var e=this,n=e.calendarCtrl,r=n.selectedDate;n.selectedDate=t,this.changeDisplayDate(t).then(function(){var e=n.SELECTED_DATE_CLASS,i="month";if(r){var o=document.getElementById(n.getDateId(r,i));o&&(o.classList.remove(e),o.setAttribute("aria-selected","false"))}if(t){var a=document.getElementById(n.getDateId(t,i));a&&(a.classList.add(e),a.setAttribute("aria-selected","true"))}})},n.prototype.changeDisplayDate=function(t){if(!this.isInitialized)return this.buildWeekHeader(),this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(!this.dateUtil.isValidDate(t)||this.isMonthTransitionInProgress)return this.$q.when();this.isMonthTransitionInProgress=!0;var e=this.animateDateChange(t);this.calendarCtrl.displayDate=t;var n=this;return e.then(function(){n.isMonthTransitionInProgress=!1}),e},n.prototype.animateDateChange=function(t){if(this.dateUtil.isValidDate(t)){var e=this.dateUtil.getMonthDistance(this.calendarCtrl.firstRenderableDate,t);this.calendarScroller.scrollTop=e*r}return this.$q.when()},n.prototype.buildWeekHeader=function(){for(var t=this.dateLocale.firstDayOfWeek,e=this.dateLocale.shortDays,n=document.createElement("tr"),r=0;r<7;r++){var i=document.createElement("th");i.textContent=e[(r+t)%7],n.appendChild(i)}this.$element.find("thead").append(n)},n.prototype.attachScopeListeners=function(){var t=this;t.$scope.$on("md-calendar-parent-changed",function(e,n){t.changeSelectedDate(n)}),t.$scope.$on("md-calendar-parent-action",e.bind(this,this.handleKeyEvent))},n.prototype.handleKeyEvent=function(t,e){var n=this.calendarCtrl,r=n.displayDate;if("select"===e)n.setNgModelValue(r);else{var i=null,o=this.dateUtil;switch(e){case"move-right":i=o.incrementDays(r,1);break;case"move-left":i=o.incrementDays(r,-1);break;case"move-page-down":i=o.incrementMonths(r,1);break;case"move-page-up":i=o.incrementMonths(r,-1);break;case"move-row-down":i=o.incrementDays(r,7);break;case"move-row-up":i=o.incrementDays(r,-7);break;case"start":i=o.getFirstDateOfMonth(r);break;case"end":i=o.getLastDateOfMonth(r)}i&&(i=this.dateUtil.clampDate(i,n.minDate,n.maxDate),this.changeDisplayDate(i).then(function(){n.focus(i)}))}}}()}(),function(){!function(){function t(t,r){var i=t('<md-icon md-svg-src="'+r.mdTabsArrow+'"></md-icon>')({})[0];return{require:["^^mdCalendar","^^mdCalendarMonth","mdCalendarMonthBody"],scope:{offset:"=mdMonthOffset"},controller:n,controllerAs:"mdMonthBodyCtrl",bindToController:!0,link:function(t,n,r,o){var a=o[0],s=o[1],c=o[2];c.calendarCtrl=a,c.monthCtrl=s,c.arrowIcon=i.cloneNode(!0),t.$watch(function(){return c.offset},function(t){e.isNumber(t)&&c.generateContent()})}}}function n(t,e,n){this.$element=t,this.dateUtil=e,this.dateLocale=n,this.monthCtrl=null,this.calendarCtrl=null,this.offset=null,this.focusAfterAppend=null}t.$inject=["$compile","$$mdSvgRegistry"],n.$inject=["$element","$$mdDateUtil","$mdDateLocale"],e.module("material.components.datepicker").directive("mdCalendarMonthBody",t),n.prototype.generateContent=function(){var t=this.dateUtil.incrementMonths(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForMonth(t)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},n.prototype.buildDateCell=function(t){var e=this.monthCtrl,n=this.calendarCtrl,r=document.createElement("td");if(r.tabIndex=-1,r.classList.add("md-calendar-date"),r.setAttribute("role","gridcell"),t){r.setAttribute("tabindex","-1"),r.setAttribute("aria-label",this.dateLocale.longDateFormatter(t)),r.id=n.getDateId(t,"month"),r.setAttribute("data-timestamp",t.getTime()),this.dateUtil.isSameDay(t,n.today)&&r.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameDay(t,n.selectedDate)&&(r.classList.add(n.SELECTED_DATE_CLASS),r.setAttribute("aria-selected","true"));var i=this.dateLocale.dates[t.getDate()];if(this.isDateEnabled(t)){var o=document.createElement("span");o.classList.add("md-calendar-date-selection-indicator"),o.textContent=i,r.appendChild(o),r.addEventListener("click",e.cellClickHandler),n.displayDate&&this.dateUtil.isSameDay(t,n.displayDate)&&(this.focusAfterAppend=r)}else r.classList.add("md-calendar-date-disabled"),r.textContent=i}return r},n.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.calendarCtrl.minDate,this.calendarCtrl.maxDate)&&(!e.isFunction(this.calendarCtrl.dateFilter)||this.calendarCtrl.dateFilter(t))},n.prototype.buildDateRow=function(t){var e=document.createElement("tr");return e.setAttribute("role","row"),e.setAttribute("aria-label",this.dateLocale.weekNumberFormatter(t)),e},n.prototype.buildCalendarForMonth=function(t){var e=this.dateUtil.isValidDate(t)?t:new Date,n=this.dateUtil.getFirstDateOfMonth(e),r=this.getLocaleDay_(n),i=this.dateUtil.getNumberOfDaysInMonth(e),o=document.createDocumentFragment(),a=1,s=this.buildDateRow(a);o.appendChild(s);var c=this.offset===this.monthCtrl.items.length-1,u=0,l=document.createElement("td"),d=document.createElement("span");if(d.textContent=this.dateLocale.monthHeaderFormatter(e),l.appendChild(d),l.classList.add("md-calendar-month-label"),this.calendarCtrl.maxDate&&n>this.calendarCtrl.maxDate?l.classList.add("md-calendar-month-label-disabled"):(l.addEventListener("click",this.monthCtrl.headerClickHandler),l.setAttribute("data-timestamp",n.getTime()),l.setAttribute("aria-label",this.dateLocale.monthFormatter(e)),l.appendChild(this.arrowIcon.cloneNode(!0))),r<=2){l.setAttribute("colspan","7");var h=this.buildDateRow();if(h.appendChild(l),o.insertBefore(h,s),c)return o}else u=3,l.setAttribute("colspan","3"),s.appendChild(l);for(var p=u;p<r;p++)s.appendChild(this.buildDateCell());for(var m=r,f=n,v=1;v<=i;v++){if(7===m){if(c)return o;m=0,a++,s=this.buildDateRow(a),o.appendChild(s)}f.setDate(v);var g=this.buildDateCell(f);s.appendChild(g),m++}for(;s.childNodes.length<7;)s.appendChild(this.buildDateCell());for(;o.childNodes.length<6;){for(var b=this.buildDateRow(),$=0;$<7;$++)b.appendChild(this.buildDateCell());o.appendChild(b)}return o},n.prototype.getLocaleDay_=function(t){return(t.getDay()+(7-this.dateLocale.firstDayOfWeek))%7}}()}(),function(){!function(){function t(){return{template:'<div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-year-body role="rowgroup" md-virtual-repeat="i in yearCtrl.items" md-year-offset="$index" class="md-calendar-year" md-start-index="yearCtrl.getFocusedYearIndex()" md-item-size="'+r+'"><tr aria-hidden="true" style="height:'+r+'px;"></tr></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarYear"],controller:n,controllerAs:"yearCtrl",bindToController:!0,link:function(t,e,n,r){var i=r[0],o=r[1];o.initialize(i)}}}function n(t,e,n,r,i){this.$element=t,this.$scope=e,this.$animate=n,this.$q=r,this.dateUtil=i,this.calendarScroller=t[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var o=this;this.cellClickHandler=function(){o.calendarCtrl.setCurrentView("month",i.getTimestampFromNode(this))}}n.$inject=["$element","$scope","$animate","$q","$$mdDateUtil"],e.module("material.components.datepicker").directive("mdCalendarYear",t);var r=88;n.prototype.initialize=function(t){this.items={length:this.dateUtil.getYearDistance(t.firstRenderableDate,t.lastRenderableDate)+1},this.calendarCtrl=t,this.attachScopeListeners(),t.updateVirtualRepeat(),t.ngModelCtrl&&t.ngModelCtrl.$render()},n.prototype.getFocusedYearIndex=function(){var t=this.calendarCtrl;return this.dateUtil.getYearDistance(t.firstRenderableDate,t.displayDate||t.selectedDate||t.today)},n.prototype.changeDate=function(t){if(!this.isInitialized)return this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(this.dateUtil.isValidDate(t)&&!this.isMonthTransitionInProgress){var e=this,n=this.animateDateChange(t);return e.isMonthTransitionInProgress=!0,e.calendarCtrl.displayDate=t,n.then(function(){e.isMonthTransitionInProgress=!1})}},n.prototype.animateDateChange=function(t){if(this.dateUtil.isValidDate(t)){var e=this.dateUtil.getYearDistance(this.calendarCtrl.firstRenderableDate,t);this.calendarScroller.scrollTop=e*r}return this.$q.when()},n.prototype.handleKeyEvent=function(t,e){var n=this.calendarCtrl,r=n.displayDate;if("select"===e)this.changeDate(r).then(function(){n.setCurrentView("month",r),n.focus(r)});else{var i=null,o=this.dateUtil;switch(e){case"move-right":i=o.incrementMonths(r,1);break;case"move-left":i=o.incrementMonths(r,-1);break;case"move-row-down":i=o.incrementMonths(r,6);break;case"move-row-up":i=o.incrementMonths(r,-6)}if(i){var a=n.minDate?o.getFirstDateOfMonth(n.minDate):null,s=n.maxDate?o.getFirstDateOfMonth(n.maxDate):null;i=o.getFirstDateOfMonth(this.dateUtil.clampDate(i,a,s)),this.changeDate(i).then(function(){n.focus(i)})}}},n.prototype.attachScopeListeners=function(){var t=this;t.$scope.$on("md-calendar-parent-changed",function(e,n){t.changeDate(n)}),t.$scope.$on("md-calendar-parent-action",e.bind(t,t.handleKeyEvent))}}()}(),function(){!function(){function t(){return{require:["^^mdCalendar","^^mdCalendarYear","mdCalendarYearBody"],scope:{offset:"=mdYearOffset"},controller:n,controllerAs:"mdYearBodyCtrl",bindToController:!0,link:function(t,n,r,i){var o=i[0],a=i[1],s=i[2];s.calendarCtrl=o,s.yearCtrl=a,t.$watch(function(){return s.offset},function(t){e.isNumber(t)&&s.generateContent()})}}}function n(t,e,n){this.$element=t,this.dateUtil=e,this.dateLocale=n,this.calendarCtrl=null,this.yearCtrl=null,this.offset=null,this.focusAfterAppend=null}n.$inject=["$element","$$mdDateUtil","$mdDateLocale"],e.module("material.components.datepicker").directive("mdCalendarYearBody",t),n.prototype.generateContent=function(){var t=this.dateUtil.incrementYears(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForYear(t)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},n.prototype.buildMonthCell=function(t,e){var n=this.calendarCtrl,r=this.yearCtrl,i=this.buildBlankCell(),o=new Date(t,e,1);i.setAttribute("aria-label",this.dateLocale.monthFormatter(o)),i.id=n.getDateId(o,"year"),i.setAttribute("data-timestamp",o.getTime()),this.dateUtil.isSameMonthAndYear(o,n.today)&&i.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameMonthAndYear(o,n.selectedDate)&&(i.classList.add(n.SELECTED_DATE_CLASS),i.setAttribute("aria-selected","true"));var a=this.dateLocale.shortMonths[e];if(this.dateUtil.isMonthWithinRange(o,n.minDate,n.maxDate)){var s=document.createElement("span");s.classList.add("md-calendar-date-selection-indicator"),s.textContent=a,i.appendChild(s),i.addEventListener("click",r.cellClickHandler),n.displayDate&&this.dateUtil.isSameMonthAndYear(o,n.displayDate)&&(this.focusAfterAppend=i)}else i.classList.add("md-calendar-date-disabled"),i.textContent=a;return i},n.prototype.buildBlankCell=function(){var t=document.createElement("td");return t.tabIndex=-1,t.classList.add("md-calendar-date"),t.setAttribute("role","gridcell"),t.setAttribute("tabindex","-1"),t},n.prototype.buildCalendarForYear=function(t){var e,n=t.getFullYear(),r=document.createDocumentFragment(),i=document.createElement("tr"),o=document.createElement("td");for(o.className="md-calendar-month-label",o.textContent=n,i.appendChild(o),e=0;e<6;e++)i.appendChild(this.buildMonthCell(n,e));r.appendChild(i);var a=document.createElement("tr");for(a.appendChild(this.buildBlankCell()),e=6;e<12;e++)a.appendChild(this.buildMonthCell(n,e));return r.appendChild(a),r}}()}(),function(){!function(){e.module("material.components.datepicker").config(["$provide",function(t){function e(){this.months=null,this.shortMonths=null,this.days=null,this.shortDays=null,this.dates=null,this.firstDayOfWeek=0,this.formatDate=null,this.parseDate=null,this.monthHeaderFormatter=null,this.weekNumberFormatter=null,this.longDateFormatter=null,this.msgCalendar="",this.msgOpenCalendar=""}e.prototype.$get=function(t,e){function n(t,n){if(!t)return"";var r=t.toLocaleTimeString(),i=t;return 0!==t.getHours()||r.indexOf("11:")===-1&&r.indexOf("23:")===-1||(i=new Date(t.getFullYear(),t.getMonth(),t.getDate(),1,0,0)),e("date")(i,"M/d/yyyy",n)}function r(t){return new Date(t)}function i(t){t=t.trim();var e=/^(([a-zA-Z]{3,}|[0-9]{1,4})([ \.,]+|[\/\-])){2}([a-zA-Z]{3,}|[0-9]{1,4})$/;return e.test(t)}function o(t){return v.shortMonths[t.getMonth()]+" "+t.getFullYear()}function a(t){return v.months[t.getMonth()]+" "+t.getFullYear()}function s(t){return"Week "+t}function c(t){return[v.days[t.getDay()],v.months[t.getMonth()],v.dates[t.getDate()],t.getFullYear()].join(" ")}for(var u=t.DATETIME_FORMATS.SHORTDAY.map(function(t){return t.substring(0,1)}),l=Array(32),d=1;d<=31;d++)l[d]=d;var h="Calendar",p="Open calendar",m=new Date(1880,0,1),f=new Date(m.getFullYear()+250,0,1),v={months:this.months||t.DATETIME_FORMATS.MONTH,shortMonths:this.shortMonths||t.DATETIME_FORMATS.SHORTMONTH,days:this.days||t.DATETIME_FORMATS.DAY,shortDays:this.shortDays||u,dates:this.dates||l,firstDayOfWeek:this.firstDayOfWeek||0,formatDate:this.formatDate||n,parseDate:this.parseDate||r,isDateComplete:this.isDateComplete||i,monthHeaderFormatter:this.monthHeaderFormatter||o,monthFormatter:this.monthFormatter||a,weekNumberFormatter:this.weekNumberFormatter||s,longDateFormatter:this.longDateFormatter||c,msgCalendar:this.msgCalendar||h,msgOpenCalendar:this.msgOpenCalendar||p,firstRenderableDate:this.firstRenderableDate||m,lastRenderableDate:this.lastRenderableDate||f};return v},e.prototype.$get.$inject=["$locale","$filter"],t.provider("$mdDateLocale",new e)}])}()}(),function(){!function(){e.module("material.components.datepicker").factory("$$mdDateUtil",function(){function t(t){return new Date(t.getFullYear(),t.getMonth(),1)}function n(t){return new Date(t.getFullYear(),t.getMonth()+1,0).getDate()}function r(t){return new Date(t.getFullYear(),t.getMonth()+1,1)}function i(t){return new Date(t.getFullYear(),t.getMonth()-1,1)}function o(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}function a(t,e){return t.getDate()==e.getDate()&&o(t,e)}function s(t,e){var n=r(t);return o(n,e)}function c(t,e){var n=i(t);return o(e,n)}function u(t,e){return g((t.getTime()+e.getTime())/2)}function l(e){var n=t(e);return Math.floor((n.getDay()+e.getDate()-1)/7)}function d(t,e){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+e)}function h(t,e){var r=new Date(t.getFullYear(),t.getMonth()+e,1),i=n(r);return i<t.getDate()?r.setDate(i):r.setDate(t.getDate()),r}function p(t,e){return 12*(e.getFullYear()-t.getFullYear())+(e.getMonth()-t.getMonth())}function m(t){return new Date(t.getFullYear(),t.getMonth(),n(t))}function f(t){return t&&t.getTime&&!isNaN(t.getTime())}function v(t){f(t)&&t.setHours(0,0,0,0)}function g(t){var n;return n=e.isUndefined(t)?new Date:new Date(t),v(n),n}function b(t,e,n){var r=g(t),i=f(e)?g(e):null,o=f(n)?g(n):null;return(!i||i<=r)&&(!o||o>=r)}function $(t,e){return h(t,12*e)}function y(t,e){return e.getFullYear()-t.getFullYear()}function E(t,e,n){var r=t;return e&&t<e&&(r=new Date(e.getTime())),n&&t>n&&(r=new Date(n.getTime())),r}function w(t){if(t&&t.hasAttribute("data-timestamp"))return Number(t.getAttribute("data-timestamp"))}function C(t,e,n){var r=t.getMonth(),i=t.getFullYear();return(!e||e.getFullYear()<i||e.getMonth()<=r)&&(!n||n.getFullYear()>i||n.getMonth()>=r)}return{getFirstDateOfMonth:t,getNumberOfDaysInMonth:n,getDateInNextMonth:r,getDateInPreviousMonth:i,isInNextMonth:s,isInPreviousMonth:c,getDateMidpoint:u,isSameMonthAndYear:o,getWeekOfMonth:l,incrementDays:d,incrementMonths:h,getLastDateOfMonth:m,isSameDay:a,getMonthDistance:p,isValidDate:f,setDateTimeToMidnight:v,createDateAtMidnight:g,isDateWithinRange:b,incrementYears:$,getYearDistance:y,clampDate:E,getTimestampFromNode:w,isMonthWithinRange:C}})}()}(),function(){!function(){function n(t,n,i,o){return{template:function(e,n){var r=n.mdHideIcons,i=n.ariaLabel||n.mdPlaceholder,o="all"===r||"calendar"===r?"":'<md-button class="md-datepicker-button md-icon-button" type="button" tabindex="-1" aria-hidden="true" ng-click="ctrl.openCalendarPane($event)"><md-icon class="md-datepicker-calendar-icon" aria-label="md-calendar" md-svg-src="'+t.mdCalendar+'"></md-icon></md-button>',a="";return"all"!==r&&"triangle"!==r&&(a='<md-button type="button" md-no-ink class="md-datepicker-triangle-button md-icon-button" ng-click="ctrl.openCalendarPane($event)" aria-label="{{::ctrl.locale.msgOpenCalendar}}"><div class="md-datepicker-expand-triangle"></div></md-button>',e.addClass(u)),o+'<div class="md-datepicker-input-container" ng-class="{\'md-datepicker-focused\': ctrl.isFocused}"><input '+(i?'aria-label="'+i+'" ':"")+'class="md-datepicker-input" aria-haspopup="true" aria-expanded="{{ctrl.isCalendarOpen}}" ng-focus="ctrl.setFocused(true)" ng-blur="ctrl.setFocused(false)"> '+a+'</div><div class="md-datepicker-calendar-pane md-whiteframe-z1" id="{{::ctrl.calendarPaneId}}"><div class="md-datepicker-input-mask"><div class="md-datepicker-input-mask-opaque"></div></div><div class="md-datepicker-calendar"><md-calendar role="dialog" aria-label="{{::ctrl.locale.msgCalendar}}" md-current-view="{{::ctrl.currentView}}"md-min-date="ctrl.minDate"md-max-date="ctrl.maxDate"md-date-filter="ctrl.dateFilter"ng-model="ctrl.date" ng-if="ctrl.isCalendarOpen"></md-calendar></div></div>'},require:["ngModel","mdDatepicker","?^mdInputContainer","?^form"],scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",placeholder:"@mdPlaceholder",currentView:"@mdCurrentView",dateFilter:"=mdDateFilter",isOpen:"=?mdIsOpen",debounceInterval:"=mdDebounceInterval",dateLocale:"=mdDateLocale"},controller:r,controllerAs:"ctrl",bindToController:!0,link:function(t,r,a,u){var l=u[0],d=u[1],h=u[2],p=u[3],m=n.parseAttributeBoolean(a.mdNoAsterisk);if(d.configureNgModel(l,h,o),h){var f=r[0].querySelector(".md-errors-spacer");f&&r.after(e.element("<div>").append(f)),h.setHasPlaceholder(a.mdPlaceholder),h.input=r,h.element.addClass(s).toggleClass(c,"calendar"!==a.mdHideIcons&&"all"!==a.mdHideIcons),h.label?m||a.$observe("required",function(t){h.label.toggleClass("md-required",!!t)}):i.expect(r,"aria-label",a.mdPlaceholder),t.$watch(h.isErrorGetter||function(){return l.$invalid&&(l.$touched||p&&p.$submitted)},h.setInvalid)}else if(p)var v=t.$watch(function(){return p.$submitted},function(t){t&&(d.updateErrorState(),v())})}}}function r(n,r,i,o,a,s,c,u,l,d,h){this.$window=o,this.dateUtil=l,this.$mdConstant=a,this.$mdUtil=c,this.$$rAF=d,this.$mdDateLocale=u,this.documentElement=e.element(document.documentElement),this.ngModelCtrl=null,this.inputElement=r[0].querySelector("input"),this.ngInputElement=e.element(this.inputElement),this.inputContainer=r[0].querySelector(".md-datepicker-input-container"),this.calendarPane=r[0].querySelector(".md-datepicker-calendar-pane"),this.calendarButton=r[0].querySelector(".md-datepicker-button"),this.inputMask=e.element(r[0].querySelector(".md-datepicker-input-mask-opaque")),this.$element=r,this.$attrs=i,this.$scope=n,this.date=null,this.isFocused=!1,this.isDisabled,this.setDisabled(r[0].disabled||e.isString(i.disabled)),this.isCalendarOpen=!1,this.openOnFocus=i.hasOwnProperty("mdOpenOnFocus"),this.mdInputContainer=null,this.calendarPaneOpenedFrom=null,this.calendarPaneId="md-date-pane-"+c.nextUid(),this.bodyClickHandler=e.bind(this,this.handleBodyClick),this.windowEventName=p.test(navigator.userAgent||navigator.vendor||t.opera)?"orientationchange":"resize",this.windowEventHandler=c.debounce(e.bind(this,this.closeCalendarPane),100),this.windowBlurHandler=e.bind(this,this.handleWindowBlur),this.ngDateFilter=h("date"),this.leftMargin=20,this.topMargin=null,i.tabindex?(this.ngInputElement.attr("tabindex",i.tabindex),i.$set("tabindex",null)):i.$set("tabindex","-1"),i.$set("aria-owns",this.calendarPaneId),s(r),s(e.element(this.calendarPane));var m=this;n.$on("$destroy",function(){m.detachCalendarPane()}),i.mdIsOpen&&n.$watch("ctrl.isOpen",function(t){t?m.openCalendarPane({target:m.inputElement}):m.closeCalendarPane()}),1===e.version.major&&e.version.minor<=4&&this.$onInit()}r.$inject=["$scope","$element","$attrs","$window","$mdConstant","$mdTheming","$mdUtil","$mdDateLocale","$$mdDateUtil","$$rAF","$filter"],n.$inject=["$$mdSvgRegistry","$mdUtil","$mdAria","inputDirective"],e.module("material.components.datepicker").directive("mdDatepicker",n);var i=3,o="md-datepicker-invalid",a="md-datepicker-open",s="_md-datepicker-floating-label",c="_md-datepicker-has-calendar-icon",u="_md-datepicker-has-triangle-icon",l=500,d=368,h=360,p=/ipad|iphone|ipod|android/i;r.prototype.$onInit=function(){this.locale=this.dateLocale?e.extend({},this.$mdDateLocale,this.dateLocale):this.$mdDateLocale,this.installPropertyInterceptors(),this.attachChangeListeners(),this.attachInteractionListeners()},r.prototype.configureNgModel=function(t,n,r){this.ngModelCtrl=t,this.mdInputContainer=n,this.$attrs.$set("type","date"),r[0].link.pre(this.$scope,{on:e.noop,val:e.noop,0:{}},this.$attrs,[t]);var i=this;i.ngModelCtrl.$formatters.push(function(t){var n=e.isDefined(t)?Date.parse(t):null;if(!isNaN(n)&&e.isNumber(n)&&(t=new Date(n)),t&&!(t instanceof Date))throw Error("The ng-model for md-datepicker must be a Date instance or a value that can be parsed into a date. Currently the model is of type: "+typeof t);return i.onExternalChange(t),t}),t.$viewChangeListeners.unshift(e.bind(this,this.updateErrorState));var o=i.$mdUtil.getModelOption(t,"updateOn");o&&this.ngInputElement.on(o,e.bind(this.$element,this.$element.triggerHandler,o))},r.prototype.attachChangeListeners=function(){var t=this;t.$scope.$on("md-calendar-change",function(e,n){t.setModelValue(n),t.onExternalChange(n),t.closeCalendarPane()}),t.ngInputElement.on("input",e.bind(t,t.resizeInputElement));var n=e.isDefined(this.debounceInterval)?this.debounceInterval:l;t.ngInputElement.on("input",t.$mdUtil.debounce(t.handleInputEvent,n,t))},r.prototype.attachInteractionListeners=function(){var t=this,n=this.$scope,r=this.$mdConstant.KEY_CODE;t.ngInputElement.on("keydown",function(e){e.altKey&&e.keyCode==r.DOWN_ARROW&&(t.openCalendarPane(e),n.$digest())}),t.openOnFocus&&(t.ngInputElement.on("focus",e.bind(t,t.openCalendarPane)),e.element(t.$window).on("blur",t.windowBlurHandler),n.$on("$destroy",function(){e.element(t.$window).off("blur",t.windowBlurHandler)})),n.$on("md-calendar-close",function(){t.closeCalendarPane()})},r.prototype.installPropertyInterceptors=function(){var t=this;if(this.$attrs.ngDisabled){var e=this.$scope.$parent;e&&e.$watch(this.$attrs.ngDisabled,function(e){t.setDisabled(e)})}Object.defineProperty(this,"placeholder",{get:function(){return t.inputElement.placeholder},set:function(e){t.inputElement.placeholder=e||""}})},r.prototype.setDisabled=function(t){this.isDisabled=t,this.inputElement.disabled=t,this.calendarButton&&(this.calendarButton.disabled=t)},r.prototype.updateErrorState=function(t){var n=t||this.date;if(this.clearErrorState(),this.dateUtil.isValidDate(n)){if(n=this.dateUtil.createDateAtMidnight(n),this.dateUtil.isValidDate(this.minDate)){var r=this.dateUtil.createDateAtMidnight(this.minDate);this.ngModelCtrl.$setValidity("mindate",n>=r)}if(this.dateUtil.isValidDate(this.maxDate)){var i=this.dateUtil.createDateAtMidnight(this.maxDate);this.ngModelCtrl.$setValidity("maxdate",n<=i)}e.isFunction(this.dateFilter)&&this.ngModelCtrl.$setValidity("filtered",this.dateFilter(n))}else this.ngModelCtrl.$setValidity("valid",null==n);e.element(this.inputContainer).toggleClass(o,!this.ngModelCtrl.$valid)},r.prototype.clearErrorState=function(){this.inputContainer.classList.remove(o),["mindate","maxdate","filtered","valid"].forEach(function(t){this.ngModelCtrl.$setValidity(t,!0)},this)},r.prototype.resizeInputElement=function(){this.inputElement.size=this.inputElement.value.length+i},r.prototype.handleInputEvent=function(){var t=this.inputElement.value,e=t?this.locale.parseDate(t):null;this.dateUtil.setDateTimeToMidnight(e);var n=""==t||this.dateUtil.isValidDate(e)&&this.locale.isDateComplete(t)&&this.isDateEnabled(e);n&&(this.setModelValue(e),this.date=e),this.updateErrorState(e)},r.prototype.isDateEnabled=function(t){return this.dateUtil.isDateWithinRange(t,this.minDate,this.maxDate)&&(!e.isFunction(this.dateFilter)||this.dateFilter(t))},r.prototype.attachCalendarPane=function(){var t=this.calendarPane,n=document.body;t.style.transform="",this.$element.addClass(a),this.mdInputContainer&&this.mdInputContainer.element.addClass(a),e.element(n).addClass("md-datepicker-is-showing");var r=this.inputContainer.getBoundingClientRect(),i=n.getBoundingClientRect();(!this.topMargin||this.topMargin<0)&&(this.topMargin=(this.inputMask.parent().prop("clientHeight")-this.ngInputElement.prop("clientHeight"))/2);var o=r.top-i.top-this.topMargin,s=r.left-i.left-this.leftMargin,c=i.top<0&&0==document.body.scrollTop?-i.top:document.body.scrollTop,u=i.left<0&&0==document.body.scrollLeft?-i.left:document.body.scrollLeft,l=c+this.$window.innerHeight,p=u+this.$window.innerWidth;if(this.inputMask.css({position:"absolute",left:this.leftMargin+"px",top:this.topMargin+"px",width:r.width-1+"px",height:r.height-2+"px"}),s+h>p){if(p-h>0)s=p-h;else{s=u;var m=this.$window.innerWidth/h;t.style.transform="scale("+m+")"}t.classList.add("md-datepicker-pos-adjusted")}o+d>l&&l-d>c&&(o=l-d,t.classList.add("md-datepicker-pos-adjusted")),t.style.left=s+"px",t.style.top=o+"px",document.body.appendChild(t),this.$$rAF(function(){t.classList.add("md-pane-open")})},r.prototype.detachCalendarPane=function(){this.$element.removeClass(a),this.mdInputContainer&&this.mdInputContainer.element.removeClass(a),e.element(document.body).removeClass("md-datepicker-is-showing"),this.calendarPane.classList.remove("md-pane-open"),this.calendarPane.classList.remove("md-datepicker-pos-adjusted"),this.isCalendarOpen&&this.$mdUtil.enableScrolling(),this.calendarPane.parentNode&&this.calendarPane.parentNode.removeChild(this.calendarPane)},r.prototype.openCalendarPane=function(e){if(!this.isCalendarOpen&&!this.isDisabled&&!this.inputFocusedOnWindowBlur){this.isCalendarOpen=this.isOpen=!0,this.calendarPaneOpenedFrom=e.target,this.$mdUtil.disableScrollAround(this.calendarPane),this.attachCalendarPane(),this.focusCalendar(),this.evalAttr("ngFocus");var n=this;this.$mdUtil.nextTick(function(){n.documentElement.on("click touchstart",n.bodyClickHandler)},!1),t.addEventListener(this.windowEventName,this.windowEventHandler)}},r.prototype.closeCalendarPane=function(){function e(){n.isCalendarOpen=n.isOpen=!1}if(this.isCalendarOpen){var n=this;n.detachCalendarPane(),n.ngModelCtrl.$setTouched(),n.evalAttr("ngBlur"),n.documentElement.off("click touchstart",n.bodyClickHandler),t.removeEventListener(n.windowEventName,n.windowEventHandler),n.calendarPaneOpenedFrom.focus(),n.calendarPaneOpenedFrom=null,n.openOnFocus?n.$mdUtil.nextTick(e):e()}},r.prototype.getCalendarCtrl=function(){return e.element(this.calendarPane.querySelector("md-calendar")).controller("mdCalendar")},r.prototype.focusCalendar=function(){var t=this;this.$mdUtil.nextTick(function(){t.getCalendarCtrl().focus()},!1)},r.prototype.setFocused=function(t){t||this.ngModelCtrl.$setTouched(),this.openOnFocus||this.evalAttr(t?"ngFocus":"ngBlur"),this.isFocused=t},r.prototype.handleBodyClick=function(t){if(this.isCalendarOpen){var e=this.$mdUtil.getClosest(t.target,"md-calendar");
e||this.closeCalendarPane(),this.$scope.$digest()}},r.prototype.handleWindowBlur=function(){this.inputFocusedOnWindowBlur=document.activeElement===this.inputElement},r.prototype.evalAttr=function(t){this.$attrs[t]&&this.$scope.$parent.$eval(this.$attrs[t])},r.prototype.setModelValue=function(t){var e=this.$mdUtil.getModelOption(this.ngModelCtrl,"timezone");this.ngModelCtrl.$setViewValue(this.ngDateFilter(t,"yyyy-MM-dd",e))},r.prototype.onExternalChange=function(t){var e=this.$mdUtil.getModelOption(this.ngModelCtrl,"timezone");this.date=t,this.inputElement.value=this.locale.formatDate(t,e),this.mdInputContainer&&this.mdInputContainer.setHasValue(!!t),this.resizeInputElement(),this.updateErrorState()}}()}(),function(){function t(t,e,n,r){function i(r,i,o){function a(){o.mdSvgIcon||o.mdSvgSrc||(o.mdFontIcon&&i.addClass("md-font "+o.mdFontIcon),i.addClass(u))}function s(){if(!o.mdSvgIcon&&!o.mdSvgSrc){o.mdFontIcon&&(i.removeClass(c),i.addClass(o.mdFontIcon),c=o.mdFontIcon);var e=t.fontSet(o.mdFontSet);u!==e&&(i.removeClass(u),i.addClass(e),u=e)}}e(i);var c=o.mdFontIcon,u=t.fontSet(o.mdFontSet);a(),o.$observe("mdFontIcon",s),o.$observe("mdFontSet",s);var l=(i[0].getAttribute(o.$attr.mdSvgSrc),o.$normalize(o.$attr.mdSvgIcon||o.$attr.mdSvgSrc||""));if(o.role||(n.expect(i,"role","img"),o.role="img"),"img"===o.role&&!o.ariaHidden&&!n.hasAriaLabel(i)){var d;o.alt?n.expect(i,"aria-label",o.alt):n.parentHasAriaLabel(i,2)?n.expect(i,"aria-hidden","true"):(d=o.mdFontIcon||o.mdSvgIcon||i.text())?n.expect(i,"aria-label",d):n.expect(i,"aria-hidden","true")}l&&o.$observe(l,function(e){i.empty(),e&&t(e).then(function(t){i.empty(),i.append(t)})})}return{restrict:"E",link:i}}e.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria","$sce",t])}(),function(){function n(){}function r(t,e){this.url=t,this.viewBoxSize=e||o.defaultViewBoxSize}function i(n,r,i,o,a,s){function c(t){if(t=t||"",e.isString(t)||(t=s.getTrustedUrl(t)),$[t])return i.when(l($[t]));if(E.test(t)||w.test(t))return m(t).then(d(t));t.indexOf(":")==-1&&(t="$default:"+t);var r=n[t]?h:p;return r(t).then(d(t))}function u(t){var r=e.isUndefined(t)||!(t&&t.length);if(r)return n.defaultFontSet;var i=t;return e.forEach(n.fontSets,function(e){e.alias==t&&(i=e.fontSet||i)}),i}function l(t){var n=t.clone(),r="_cache"+a.nextUid();return n.id&&(n.id+=r),e.forEach(n.querySelectorAll("[id]"),function(t){t.id+=r}),n}function d(t){return function(e){return $[t]=f(e)?e:new v(e,n[t]),$[t].clone()}}function h(t){var e=n[t];return m(e.url).then(function(t){return new v(t,e)})}function p(t){function e(e){var n=t.slice(t.lastIndexOf(":")+1),i=e.querySelector("#"+n);return i?new v(i,s):r(t)}function r(t){var e="icon "+t+" not found";return o.warn(e),i.reject(e||t)}var a=t.substring(0,t.lastIndexOf(":"))||"$default",s=n[a];return s?m(s.url).then(e):r(t)}function m(n){function a(n){var r=w.exec(n),o=/base64/i.test(n),a=o?t.atob(r[2]):r[2];return i.when(e.element(a)[0])}function s(t){return i(function(n,i){var a=function(t){var n=e.isString(t)?t:t.message||t.data||t.statusText;o.warn(n),i(t)},s=function(r){y[t]||(y[t]=e.element("<div>").append(r)[0].querySelector("svg")),n(y[t])};r(t,!0).then(s,a)})}return w.test(n)?a(n):s(n)}function f(t){return e.isDefined(t.element)&&e.isDefined(t.config)}function v(t,n){t&&"svg"!=t.tagName&&(t=e.element('<svg xmlns="http://www.w3.org/2000/svg">').append(t.cloneNode(!0))[0]),t.getAttribute("xmlns")||t.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=t,this.config=n,this.prepare()}function g(){var t=this.config?this.config.viewBoxSize:n.defaultViewBoxSize;e.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+t+" "+t,focusable:!1},function(t,e){this.element.setAttribute(e,t)},this)}function b(){return this.element.cloneNode(!0)}var $={},y={},E=/[-\w@:%\+.~#?&\/\/=]{2,}\.[a-z]{2,4}\b(\/[-\w@:%\+.~#?&\/\/=]*)?/i,w=/^data:image\/svg\+xml[\s*;\w\-\=]*?(base64)?,(.*)$/i;return v.prototype={clone:b,prepare:g},c.fontSet=u,c}i.$inject=["config","$templateRequest","$q","$log","$mdUtil","$sce"],e.module("material.components.icon").constant("$$mdSvgRegistry",{mdTabsArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4=",mdClose:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xOSA2LjQxbC0xLjQxLTEuNDEtNS41OSA1LjU5LTUuNTktNS41OS0xLjQxIDEuNDEgNS41OSA1LjU5LTUuNTkgNS41OSAxLjQxIDEuNDEgNS41OS01LjU5IDUuNTkgNS41OSAxLjQxLTEuNDEtNS41OS01LjU5eiIvPjwvZz48L3N2Zz4=",mdCancel:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xMiAyYy01LjUzIDAtMTAgNC40Ny0xMCAxMHM0LjQ3IDEwIDEwIDEwIDEwLTQuNDcgMTAtMTAtNC40Ny0xMC0xMC0xMHptNSAxMy41OWwtMS40MSAxLjQxLTMuNTktMy41OS0zLjU5IDMuNTktMS40MS0xLjQxIDMuNTktMy41OS0zLjU5LTMuNTkgMS40MS0xLjQxIDMuNTkgMy41OSAzLjU5LTMuNTkgMS40MSAxLjQxLTMuNTkgMy41OSAzLjU5IDMuNTl6Ii8+PC9nPjwvc3ZnPg==",mdMenu:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0zLDZIMjFWOEgzVjZNMywxMUgyMVYxM0gzVjExTTMsMTZIMjFWMThIM1YxNloiIC8+PC9zdmc+",mdToggleArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDggNDgiPjxwYXRoIGQ9Ik0yNCAxNmwtMTIgMTIgMi44MyAyLjgzIDkuMTctOS4xNyA5LjE3IDkuMTcgMi44My0yLjgzeiIvPjxwYXRoIGQ9Ik0wIDBoNDh2NDhoLTQ4eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",mdCalendar:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgM2gtMVYxaC0ydjJIOFYxSDZ2Mkg1Yy0xLjExIDAtMS45OS45LTEuOTkgMkwzIDE5YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMTZINVY4aDE0djExek03IDEwaDV2NUg3eiIvPjwvc3ZnPg==",mdChecked:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik05IDE2LjE3TDQuODMgMTJsLTEuNDIgMS40MUw5IDE5IDIxIDdsLTEuNDEtMS40MXoiLz48L2c+PC9zdmc+"}).provider("$mdIcon",n);var o={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};n.prototype={icon:function(t,e,n){return t.indexOf(":")==-1&&(t="$default:"+t),o[t]=new r(e,n),this},iconSet:function(t,e,n){return o[t]=new r(e,n),this},defaultIconSet:function(t,e){var n="$default";return o[n]||(o[n]=new r(t,e)),o[n].viewBoxSize=e||o.defaultViewBoxSize,this},defaultViewBoxSize:function(t){return o.defaultViewBoxSize=t,this},fontSet:function(t,e){return o.fontSets.push({alias:t,fontSet:e||t}),this},defaultFontSet:function(t){return o.defaultFontSet=t?t:"",this},defaultIconSize:function(t){return o.defaultIconSize=t,this},$get:["$templateRequest","$q","$log","$mdUtil","$sce",function(t,e,n,r,a){return i(o,t,e,n,r,a)}]}}(),function(){function t(t,r,i,o,a,s,c,u,l){var d,h,p=a.prefixer(),m=this;this.nestLevel=parseInt(r.mdNestLevel,10)||0,this.init=function(n,r){r=r||{},d=n,h=i[0].querySelector(p.buildSelector(["ng-click","ng-mouseenter"])),h.setAttribute("aria-expanded","false"),this.isInMenuBar=r.isInMenuBar,this.nestedMenus=a.nodesToArray(d[0].querySelectorAll(".md-nested-menu")),d.on("$mdInterimElementRemove",function(){m.isOpen=!1,a.nextTick(function(){m.onIsOpenChanged(m.isOpen)})}),a.nextTick(function(){m.onIsOpenChanged(m.isOpen)});var s="menu_container_"+a.nextUid();d.attr("id",s),e.element(h).attr({"aria-owns":s,"aria-haspopup":"true"}),o.$on("$destroy",e.bind(this,function(){this.disableHoverListener(),t.destroy()})),d.on("$destroy",function(){t.destroy()})};var f,v,g=[];this.enableHoverListener=function(){g.push(c.$on("$mdMenuOpen",function(t,e){d[0].contains(e[0])&&(m.currentlyOpenMenu=e.controller("mdMenu"),m.isAlreadyOpening=!1,m.currentlyOpenMenu.registerContainerProxy(m.triggerContainerProxy.bind(m)))})),g.push(c.$on("$mdMenuClose",function(t,e){d[0].contains(e[0])&&(m.currentlyOpenMenu=n)})),v=e.element(a.nodesToArray(d[0].children[0].children)),v.on("mouseenter",m.handleMenuItemHover),v.on("mouseleave",m.handleMenuItemMouseLeave)},this.disableHoverListener=function(){for(;g.length;)g.shift()();v&&v.off("mouseenter",m.handleMenuItemHover),v&&v.off("mouseleave",m.handleMenuItemMouseLeave)},this.handleMenuItemHover=function(t){if(!m.isAlreadyOpening){var n=t.target.querySelector("md-menu")||a.getClosest(t.target,"MD-MENU");f=s(function(){if(n&&(n=e.element(n).controller("mdMenu")),m.currentlyOpenMenu&&m.currentlyOpenMenu!=n){var t=m.nestLevel+1;m.currentlyOpenMenu.close(!0,{closeTo:t}),m.isAlreadyOpening=!!n,n&&n.open()}else n&&!n.isOpen&&n.open&&(m.isAlreadyOpening=!!n,n&&n.open())},n?100:250);var r=t.currentTarget.querySelector(".md-button:not([disabled])");r&&r.focus()}},this.handleMenuItemMouseLeave=function(){f&&(s.cancel(f),f=n)},this.open=function(e){e&&e.stopPropagation(),e&&e.preventDefault(),m.isOpen||(m.enableHoverListener(),m.isOpen=!0,a.nextTick(function(){m.onIsOpenChanged(m.isOpen)}),h=h||(e?e.target:i[0]),h.setAttribute("aria-expanded","true"),o.$emit("$mdMenuOpen",i),t.show({scope:o,mdMenuCtrl:m,nestLevel:m.nestLevel,element:d,target:h,preserveElement:!0,parent:"body"}).finally(function(){h.setAttribute("aria-expanded","false"),m.disableHoverListener()}))},this.onIsOpenChanged=function(t){t?(d.attr("aria-hidden","false"),i[0].classList.add("md-open"),e.forEach(m.nestedMenus,function(t){t.classList.remove("md-open")})):(d.attr("aria-hidden","true"),i[0].classList.remove("md-open")),o.$mdMenuIsOpen=m.isOpen},this.focusMenuContainer=function(){var t=d[0].querySelector(p.buildSelector(["md-menu-focus-target","md-autofocus"]));t||(t=d[0].querySelector(".md-button:not([disabled])")),t.focus()},this.registerContainerProxy=function(t){this.containerProxy=t},this.triggerContainerProxy=function(t){this.containerProxy&&this.containerProxy(t)},this.destroy=function(){return m.isOpen?t.destroy():u.when(!1)},this.close=function(n,r){if(m.isOpen){m.isOpen=!1,a.nextTick(function(){m.onIsOpenChanged(m.isOpen)});var s=e.extend({},r,{skipFocus:n});if(o.$emit("$mdMenuClose",i,s),t.hide(null,r),!n){var c=m.restoreFocusTo||i.find("button")[0];c instanceof e.element&&(c=c[0]),c&&c.focus()}}},this.positionMode=function(){var t=(r.mdPositionMode||"target").split(" ");return 1==t.length&&t.push(t[0]),{left:t[0],top:t[1]}},this.offsets=function(){var t=(r.mdOffset||"0 0").split(" ").map(parseFloat);if(2==t.length)return{left:t[0],top:t[1]};if(1==t.length)return{top:t[0],left:t[0]};throw Error("Invalid offsets specified. Please follow format <x, y> or <n>")},o.$mdMenu={open:this.open,close:this.close},o.$mdOpenMenu=e.bind(this,function(){return l.warn("mdMenu: The $mdOpenMenu method is deprecated. Please use `$mdMenu.open`."),this.open.apply(this,arguments)})}t.$inject=["$mdMenu","$attrs","$element","$scope","$mdUtil","$timeout","$rootScope","$q","$log"],e.module("material.components.menu").controller("mdMenuCtrl",t)}(),function(){function t(t){function n(n){n.addClass("md-menu");var o=n.children()[0],a=n.children()[1],s=t.prefixer();s.hasAttribute(o,"ng-click")||(o=o.querySelector(s.buildSelector(["ng-click","ng-mouseenter"]))||o);var c="MD-BUTTON"===o.nodeName||"BUTTON"===o.nodeName;if(o&&c&&!o.hasAttribute("type")&&o.setAttribute("type","button"),!o)throw Error(i+"Expected the menu to have a trigger element.");if(!a||"MD-MENU-CONTENT"!==a.nodeName)throw Error(i+"Expected the menu to contain a `md-menu-content` element.");o&&o.setAttribute("aria-haspopup","true");var u=n[0].querySelectorAll("md-menu"),l=parseInt(n[0].getAttribute("md-nest-level"),10)||0;return u&&e.forEach(t.nodesToArray(u),function(t){t.hasAttribute("md-position-mode")||t.setAttribute("md-position-mode","cascade"),t.classList.add("_md-nested-menu"),t.setAttribute("md-nest-level",l+1)}),r}function r(t,n,r,i){var o=i[0],a=!!i[1],s=e.element('<div class="_md md-open-menu-container md-whiteframe-z2"></div>'),c=n.children()[1];n.addClass("_md"),c.hasAttribute("role")||c.setAttribute("role","menu"),s.append(c),n.on("$destroy",function(){s.remove()}),n.append(s),s[0].style.display="none",o.init(s,{isInMenuBar:a})}var i="Invalid HTML for md-menu: ";return{restrict:"E",require:["mdMenu","?^mdMenuBar"],controller:"mdMenuCtrl",scope:!0,compile:n}}t.$inject=["$mdUtil"],e.module("material.components.menu").directive("mdMenu",t)}(),function(){function t(t){function r(t,r,a,s,c,u,l,d,h,p){function m(n,r,i){return i.nestLevel?e.noop:(i.disableParentScroll&&!t.getClosest(i.target,"MD-DIALOG")?i.restoreScroll=t.disableScrollAround(i.element,i.parent):i.disableParentScroll=!1,i.hasBackdrop&&(i.backdrop=t.createBackdrop(n,"md-menu-backdrop md-click-catcher"),h.enter(i.backdrop,s[0].body)),function(){i.backdrop&&i.backdrop.remove(),i.disableParentScroll&&i.restoreScroll()})}function f(t,e,n){function r(){return d(e,{addClass:"md-leave"}).start()}function i(){e.removeClass("md-active"),$(e,n),n.alreadyOpen=!1}return n.cleanupInteraction(),n.cleanupBackdrop(),n.cleanupResizing(),n.hideBackdrop(),e.removeClass("md-clickable"),n.$destroy===!0?i():r().then(i)}function v(n,i,o){function s(){return o.parent.append(i),i[0].style.display="",u(function(t){var e=y(i,o);i.removeClass("md-leave"),d(i,{addClass:"md-active",from:w.toCss(e),to:w.toCss({transform:""})}).start().then(t)})}function h(){if(!o.target)throw Error("$mdMenu.show() expected a target to animate from in options.target");e.extend(o,{alreadyOpen:!1,isRemoved:!1,target:e.element(o.target),parent:e.element(o.parent),menuContentEl:e.element(i[0].querySelector("md-menu-content"))})}function f(){var t=function(t,e){return l.throttle(function(){if(!o.isRemoved){var n=y(t,e);t.css(w.toCss(n))}})}(i,o);return c.addEventListener("resize",t),c.addEventListener("orientationchange",t),function(){c.removeEventListener("resize",t),c.removeEventListener("orientationchange",t)}}function v(){return o.backdrop?(o.backdrop.on("click",b),function(){o.backdrop.off("click",b)}):e.noop}function b(t){t.preventDefault(),t.stopPropagation(),n.$apply(function(){o.mdMenuCtrl.close(!0,{closeAll:!0})})}function $(){function r(e){var n;switch(e.keyCode){case a.KEY_CODE.ESCAPE:o.mdMenuCtrl.close(!1,{closeAll:!0}),n=!0;break;case a.KEY_CODE.UP_ARROW:g(e,o.menuContentEl,o,-1)||o.nestLevel||o.mdMenuCtrl.triggerContainerProxy(e),n=!0;break;case a.KEY_CODE.DOWN_ARROW:g(e,o.menuContentEl,o,1)||o.nestLevel||o.mdMenuCtrl.triggerContainerProxy(e),n=!0;break;case a.KEY_CODE.LEFT_ARROW:o.nestLevel?o.mdMenuCtrl.close():o.mdMenuCtrl.triggerContainerProxy(e),n=!0;break;case a.KEY_CODE.RIGHT_ARROW:var r=t.getClosest(e.target,"MD-MENU");r&&r!=o.parent[0]?e.target.click():o.mdMenuCtrl.triggerContainerProxy(e),n=!0}n&&(e.preventDefault(),e.stopImmediatePropagation())}function i(e){function r(){n.$apply(function(){o.mdMenuCtrl.close(!0,{closeAll:!0})})}function i(t,e){if(!t)return!1;for(var n,r=0;n=e[r];++r)if(E.hasAttribute(t,n))return!0;return!1}var a=e.target;do{if(a==o.menuContentEl[0])return;if((i(a,["ng-click","ng-href","ui-sref"])||"BUTTON"==a.nodeName||"MD-BUTTON"==a.nodeName)&&!i(a,["md-prevent-menu-close"])){var s=t.getClosest(a,"MD-MENU");a.hasAttribute("disabled")||s&&s!=o.parent[0]||r();break}}while(a=a.parentNode)}if(!o.menuContentEl[0])return e.noop;o.menuContentEl.on("keydown",r),o.menuContentEl[0].addEventListener("click",i,!0);var s=o.menuContentEl[0].querySelector(E.buildSelector(["md-menu-focus-target","md-autofocus"]));if(!s)for(var c=o.menuContentEl[0].children.length,u=0;u<c;u++){var l=o.menuContentEl[0].children[u];if(s=l.querySelector(".md-button:not([disabled])"))break;if(l.firstElementChild&&!l.firstElementChild.disabled){s=l.firstElementChild;break}}return s&&s.focus(),function(){o.menuContentEl.off("keydown",r),o.menuContentEl[0].removeEventListener("click",i,!0)}}return h(o),o.menuContentEl[0]?r.inherit(o.menuContentEl,o.target):p.warn("$mdMenu: Menu elements should always contain a `md-menu-content` element,otherwise interactivity features will not work properly.",i),o.cleanupResizing=f(),o.hideBackdrop=m(n,i,o),s().then(function(t){return o.alreadyOpen=!0,o.cleanupInteraction=$(),o.cleanupBackdrop=v(),i.addClass("md-clickable"),t})}function g(e,n,r,i){for(var o,a=t.getClosest(e.target,"MD-MENU-ITEM"),s=t.nodesToArray(n[0].children),c=s.indexOf(a),u=c+i;u>=0&&u<s.length;u+=i){var l=s[u].querySelector(".md-button");if(o=b(l))break}return o}function b(t){if(t&&t.getAttribute("tabindex")!=-1)return t.focus(),s[0].activeElement==t}function $(t,e){e.preserveElement?i(t).style.display="none":i(t).parentNode===i(e.parent)&&i(e.parent).removeChild(i(t))}function y(e,r){function i(t){t.top=Math.max(Math.min(t.top,b.bottom-l.offsetHeight),b.top),t.left=Math.max(Math.min(t.left,b.right-l.offsetWidth),b.left)}function a(){for(var t=0;t<d.children.length;++t)if("none"!=c.getComputedStyle(d.children[t]).display)return d.children[t]}var u,l=e[0],d=e[0].firstElementChild,h=d.getBoundingClientRect(),p=s[0].body,m=p.getBoundingClientRect(),f=c.getComputedStyle(d),v=r.target[0].querySelector(E.buildSelector("md-menu-origin"))||r.target[0],g=v.getBoundingClientRect(),b={left:m.left+o,top:Math.max(m.top,0)+o,bottom:Math.max(m.bottom,Math.max(m.top,0)+m.height)-o,right:m.right-o},$={top:0,left:0,right:0,bottom:0},y={top:0,left:0,right:0,bottom:0},w=r.mdMenuCtrl.positionMode();"target"!=w.top&&"target"!=w.left&&"target-right"!=w.left||(u=a(),u&&(u=u.firstElementChild||u,u=u.querySelector(E.buildSelector("md-menu-align-target"))||u,$=u.getBoundingClientRect(),y={top:parseFloat(l.style.top||0),left:parseFloat(l.style.left||0)}));var C={},_="top ";switch(w.top){case"target":C.top=y.top+g.top-$.top;break;case"cascade":C.top=g.top-parseFloat(f.paddingTop)-v.style.top;break;case"bottom":C.top=g.top+g.height;break;default:throw new Error('Invalid target mode "'+w.top+'" specified for md-menu on Y axis.')}var x="rtl"==t.bidi();switch(w.left){case"target":C.left=y.left+g.left-$.left,_+=x?"right":"left";break;case"target-left":C.left=g.left,_+="left";break;case"target-right":C.left=g.right-h.width+(h.right-$.right),_+="right";break;case"cascade":var M=x?g.left-h.width<b.left:g.right+h.width<b.right;C.left=M?g.right-v.style.left:g.left-v.style.left-h.width,_+=M?"left":"right";break;case"right":x?(C.left=g.right-g.width,_+="left"):(C.left=g.right-h.width,_+="right");break;case"left":x?(C.left=g.right-h.width,_+="right"):(C.left=g.left,_+="left");break;default:throw new Error('Invalid target mode "'+w.left+'" specified for md-menu on X axis.')}var A=r.mdMenuCtrl.offsets();C.top+=A.top,C.left+=A.left,i(C);var T=Math.round(100*Math.min(g.width/l.offsetWidth,1))/100,k=Math.round(100*Math.min(g.height/l.offsetHeight,1))/100;return{top:Math.round(C.top),left:Math.round(C.left),transform:r.alreadyOpen?n:t.supplant("scale({0},{1})",[T,k]),transformOrigin:_}}var E=t.prefixer(),w=t.dom.animator;return{parent:"body",onShow:v,onRemove:f,hasBackdrop:!0,disableParentScroll:!0,skipCompile:!0,preserveScope:!0,multiple:!0,themable:!0}}function i(t){return t instanceof e.element&&(t=t[0]),t}r.$inject=["$mdUtil","$mdTheming","$mdConstant","$document","$window","$q","$$rAF","$animateCss","$animate","$log"];var o=8;return t("$mdMenu").setDefaults({methods:["target"],options:r})}t.$inject=["$$interimElementProvider"],e.module("material.components.menu").provider("$mdMenu",t)}(),function(){function t(t,n,i,o,a,s,c,u){this.$element=i,this.$attrs=o,this.$mdConstant=a,this.$mdUtil=c,this.$document=s,this.$scope=t,this.$rootScope=n,this.$timeout=u;var l=this;e.forEach(r,function(t){l[t]=e.bind(l,l[t])})}t.$inject=["$scope","$rootScope","$element","$attrs","$mdConstant","$document","$mdUtil","$timeout"],e.module("material.components.menuBar").controller("MenuBarController",t);var r=["handleKeyDown","handleMenuHover","scheduleOpenHoveredMenu","cancelScheduledOpen"];t.prototype.init=function(){var t=this.$element,e=this.$mdUtil,r=this.$scope,i=this,o=[];t.on("keydown",this.handleKeyDown),this.parentToolbar=e.getClosest(t,"MD-TOOLBAR"),o.push(this.$rootScope.$on("$mdMenuOpen",function(e,n){i.getMenus().indexOf(n[0])!=-1&&(t[0].classList.add("md-open"),n[0].classList.add("md-open"),i.currentlyOpenMenu=n.controller("mdMenu"),i.currentlyOpenMenu.registerContainerProxy(i.handleKeyDown),i.enableOpenOnHover())})),o.push(this.$rootScope.$on("$mdMenuClose",function(r,o,a){var s=i.getMenus();if(s.indexOf(o[0])!=-1&&(t[0].classList.remove("md-open"),o[0].classList.remove("md-open")),t[0].contains(o[0])){for(var c=o[0];c&&s.indexOf(c)==-1;)c=e.getClosest(c,"MD-MENU",!0);c&&(a.skipFocus||c.querySelector("button:not([disabled])").focus(),i.currentlyOpenMenu=n,i.disableOpenOnHover(),i.setKeyboardMode(!0))}})),r.$on("$destroy",function(){for(i.disableOpenOnHover();o.length;)o.shift()()}),this.setKeyboardMode(!0)},t.prototype.setKeyboardMode=function(t){t?this.$element[0].classList.add("md-keyboard-mode"):this.$element[0].classList.remove("md-keyboard-mode")},t.prototype.enableOpenOnHover=function(){if(!this.openOnHoverEnabled){var t=this;t.openOnHoverEnabled=!0,t.parentToolbar&&(t.parentToolbar.classList.add("md-has-open-menu"),t.$mdUtil.nextTick(function(){e.element(t.parentToolbar).on("click",t.handleParentClick)},!1)),e.element(t.getMenus()).on("mouseenter",t.handleMenuHover)}},t.prototype.handleMenuHover=function(t){this.setKeyboardMode(!1),this.openOnHoverEnabled&&this.scheduleOpenHoveredMenu(t)},t.prototype.disableOpenOnHover=function(){this.openOnHoverEnabled&&(this.openOnHoverEnabled=!1,this.parentToolbar&&(this.parentToolbar.classList.remove("md-has-open-menu"),e.element(this.parentToolbar).off("click",this.handleParentClick)),e.element(this.getMenus()).off("mouseenter",this.handleMenuHover))},t.prototype.scheduleOpenHoveredMenu=function(t){var n=e.element(t.currentTarget),r=n.controller("mdMenu");this.setKeyboardMode(!1),this.scheduleOpenMenu(r)},t.prototype.scheduleOpenMenu=function(t){var e=this,r=this.$timeout;t!=e.currentlyOpenMenu&&(r.cancel(e.pendingMenuOpen),e.pendingMenuOpen=r(function(){e.pendingMenuOpen=n,e.currentlyOpenMenu&&e.currentlyOpenMenu.close(!0,{closeAll:!0}),t.open()},200,!1))},t.prototype.handleKeyDown=function(t){var n=this.$mdConstant.KEY_CODE,r=this.currentlyOpenMenu,i=r&&r.isOpen;this.setKeyboardMode(!0);var o,a,s;switch(t.keyCode){case n.DOWN_ARROW:r?r.focusMenuContainer():this.openFocusedMenu(),o=!0;break;case n.UP_ARROW:r&&r.close(),o=!0;break;case n.LEFT_ARROW:a=this.focusMenu(-1),i&&(s=e.element(a).controller("mdMenu"),this.scheduleOpenMenu(s)),o=!0;break;case n.RIGHT_ARROW:a=this.focusMenu(1),i&&(s=e.element(a).controller("mdMenu"),this.scheduleOpenMenu(s)),o=!0}o&&(t&&t.preventDefault&&t.preventDefault(),t&&t.stopImmediatePropagation&&t.stopImmediatePropagation())},t.prototype.focusMenu=function(t){var e=this.getMenus(),n=this.getFocusedMenuIndex();n==-1&&(n=this.getOpenMenuIndex());var r=!1;if(n==-1?(n=0,r=!0):(t<0&&n>0||t>0&&n<e.length-t)&&(n+=t,r=!0),r)return e[n].querySelector("button").focus(),e[n]},t.prototype.openFocusedMenu=function(){var t=this.getFocusedMenu();t&&e.element(t).controller("mdMenu").open()},t.prototype.getMenus=function(){var t=this.$element;return this.$mdUtil.nodesToArray(t[0].children).filter(function(t){return"MD-MENU"==t.nodeName})},t.prototype.getFocusedMenu=function(){return this.getMenus()[this.getFocusedMenuIndex()]},t.prototype.getFocusedMenuIndex=function(){var t=this.$mdUtil,e=t.getClosest(this.$document[0].activeElement,"MD-MENU");if(!e)return-1;var n=this.getMenus().indexOf(e);return n},t.prototype.getOpenMenuIndex=function(){for(var t=this.getMenus(),e=0;e<t.length;++e)if(t[e].classList.contains("md-open"))return e;return-1},t.prototype.handleParentClick=function(t){var n=this.querySelector("md-menu.md-open");n&&!n.contains(t.target)&&e.element(n).controller("mdMenu").close(!0,{closeAll:!0})}}(),function(){function t(t,n){return{restrict:"E",require:"mdMenuBar",controller:"MenuBarController",compile:function(r,i){return i.ariaRole||r[0].setAttribute("role","menubar"),e.forEach(r[0].children,function(n){if("MD-MENU"==n.nodeName){n.hasAttribute("md-position-mode")||(n.setAttribute("md-position-mode","left bottom"),n.querySelector("button, a, md-button").setAttribute("role","menuitem"));var r=t.nodesToArray(n.querySelectorAll("md-menu-content"));e.forEach(r,function(t){t.classList.add("md-menu-bar-menu"),t.classList.add("md-dense"),t.hasAttribute("width")||t.setAttribute("width",5)})}}),r.find("md-menu-item").addClass("md-in-menu-bar"),function(t,e,r,i){e.addClass("_md"),n(t,e),i.init()}}}}t.$inject=["$mdUtil","$mdTheming"],e.module("material.components.menuBar").directive("mdMenuBar",t)}(),function(){function t(){return{restrict:"E",compile:function(t,e){e.role||t[0].setAttribute("role","separator")}}}e.module("material.components.menuBar").directive("mdMenuDivider",t)}(),function(){function t(t,e,n){this.$element=e,this.$attrs=n,this.$scope=t}t.$inject=["$scope","$element","$attrs"],e.module("material.components.menuBar").controller("MenuItemController",t),t.prototype.init=function(t){var e=this.$element,n=this.$attrs;this.ngModel=t,"checkbox"!=n.type&&"radio"!=n.type||(this.mode=n.type,this.iconEl=e[0].children[0],this.buttonEl=e[0].children[1],t&&this.initClickListeners())},t.prototype.clearNgAria=function(){var t=this.$element[0],n=["role","tabindex","aria-invalid","aria-checked"];e.forEach(n,function(e){t.removeAttribute(e)})},t.prototype.initClickListeners=function(){function t(){if("radio"==s){var t=a.ngValue?o.$eval(a.ngValue):a.value;return i.$modelValue==t}return i.$modelValue}function n(t){t?u.off("click",l):u.on("click",l)}var r=this,i=this.ngModel,o=this.$scope,a=this.$attrs,s=(this.$element,this.mode);this.handleClick=e.bind(this,this.handleClick);var c=this.iconEl,u=e.element(this.buttonEl),l=this.handleClick;a.$observe("disabled",n),n(a.disabled),i.$render=function(){r.clearNgAria(),t()?(c.style.display="",u.attr("aria-checked","true")):(c.style.display="none",u.attr("aria-checked","false"))},o.$$postDigest(i.$render)},t.prototype.handleClick=function(t){var e,n=this.mode,r=this.ngModel,i=this.$attrs;"checkbox"==n?e=!r.$modelValue:"radio"==n&&(e=i.ngValue?this.$scope.$eval(i.ngValue):i.value),r.$setViewValue(e),r.$render()}}(),function(){function t(t,n,r){return{controller:"MenuItemController",require:["mdMenuItem","?ngModel"],priority:n.BEFORE_NG_ARIA,compile:function(n,i){function o(t,r,i){i=i||n,i instanceof e.element&&(i=i[0]),i.hasAttribute(t)||i.setAttribute(t,r)}function a(r){var i=t.prefixer(r);e.forEach(i,function(t){if(n[0].hasAttribute(t)){var e=n[0].getAttribute(t);l[0].setAttribute(t,e),n[0].removeAttribute(t)}})}var s=i.type,c="md-in-menu-bar";if("checkbox"!=s&&"radio"!=s||!n.hasClass(c))o("role","menuitem",n[0].querySelector("md-button, button, a"));else{var u=n[0].textContent,l=e.element('<md-button type="button"></md-button>'),d='<md-icon md-svg-src="'+r.mdChecked+'"></md-icon>';l.html(u),l.attr("tabindex","0"),n.html(""),n.append(e.element(d)),n.append(l),n.addClass("md-indent").removeClass(c),o("role","checkbox"==s?"menuitemcheckbox":"menuitemradio",l),a("ng-disabled")}return function(t,e,n,r){var i=r[0],o=r[1];i.init(o)}}}}t.$inject=["$mdUtil","$mdConstant","$$mdSvgRegistry"],e.module("material.components.menuBar").directive("mdMenuItem",t)}(),function(){function t(t,n,r,i,o,a){function s(a,s,$){function y(e,r,o,s,c,l){function m(t){T.attr("stroke-dashoffset",u(b,$,t,C)),T.attr("transform","rotate("+w+" "+b/2+" "+b/2+")")}var f=++D,v=i.now(),g=r-e,b=d(a.mdDiameter),$=h(b),y=o||n.easeFn,E=s||n.duration,w=-90*(c||0),C=l||100;r===e?m(r):_=p(function n(){var r=t.Math.max(0,t.Math.min(i.now()-v,E));m(y(r,e,g,E)),f===D&&r<E&&(_=p(n))})}function E(){y(k,S,n.easeFnIndeterminate,n.durationIndeterminate,N,75),N=++N%4}function w(){x||(x=o(E,n.durationIndeterminate,0,!1),E(),s.addClass(b).removeAttr("aria-valuenow"))}function C(){x&&(o.cancel(x),x=null,s.removeClass(b))}var _,x,M=s[0],A=e.element(M.querySelector("svg")),T=e.element(M.querySelector("path")),k=n.startIndeterminate,S=n.endIndeterminate,N=0,D=0;r(s),s.toggleClass(g,$.hasOwnProperty("disabled")),a.mdMode===v&&w(),a.$on("$destroy",function(){C(),_&&m(_)}),a.$watchGroup(["value","mdMode",function(){var t=M.disabled;return t===!0||t===!1?t:e.isDefined(s.attr("disabled"))}],function(t,e){var n=t[1],r=t[2],i=e[2];if(r!==i&&s.toggleClass(g,!!r),r)C();else if(n!==f&&n!==v&&(n=v,$.$set("mdMode",n)),n===v)w();else{var o=l(t[0]);C(),s.attr("aria-valuenow",o),y(l(e[0]),o)}}),a.$watch("mdDiameter",function(e){var n=d(e),r=h(n),i=l(a.value),o=n/2+"px",p={width:n+"px",height:n+"px"};A[0].setAttribute("viewBox","0 0 "+n+" "+n),A.css(p).css("transform-origin",o+" "+o+" "+o),s.css(p),T.attr("stroke-width",r),T.attr("stroke-linecap","square"),a.mdMode==v?(T.attr("d",c(n,r,!0)),T.attr("stroke-dasharray",(n-r)*t.Math.PI*.75),T.attr("stroke-dashoffset",u(n,r,1,75))):(T.attr("d",c(n,r,!1)),T.attr("stroke-dasharray",(n-r)*t.Math.PI),T.attr("stroke-dashoffset",u(n,r,0,100)),y(i,i))})}function c(t,e,n){var r=t/2,i=e/2,o=r+","+i,a=i+","+r,s=r-i;return"M"+o+"A"+s+","+s+" 0 1 1 "+a+(n?"":"A"+s+","+s+" 0 0 1 "+o)}function u(e,n,r,i){return(e-n)*t.Math.PI*(3*(i||100)/100-r/100)}function l(e){return t.Math.max(0,t.Math.min(e||0,100))}function d(t){var e=n.progressSize;if(t){var r=parseFloat(t);return t.lastIndexOf("%")===t.length-1&&(r=r/100*e),r}return e}function h(t){return n.strokeWidth/100*t}var p=t.requestAnimationFrame||t.webkitRequestAnimationFrame||e.noop,m=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame||e.noop,f="determinate",v="indeterminate",g="_md-progress-circular-disabled",b="md-mode-indeterminate";return{restrict:"E",scope:{value:"@",mdDiameter:"@",mdMode:"@"},template:'<svg xmlns="http://www.w3.org/2000/svg"><path fill="none"/></svg>',compile:function(t,n){if(t.attr({"aria-valuemin":0,"aria-valuemax":100,role:"progressbar"}),e.isUndefined(n.mdMode)){var r=n.hasOwnProperty("value")?f:v;n.$set("mdMode",r)}else n.$set("mdMode",n.mdMode.trim());return s}}}t.$inject=["$window","$mdProgressCircular","$mdTheming","$mdUtil","$interval","$log"],e.module("material.components.progressCircular").directive("mdProgressCircular",t)}(),function(){function t(){function t(t,e,n,r){return n*t/r+e}function n(t,e,n,r){var i=(t/=r)*t,o=i*t;return e+n*(6*o*i+-15*i*i+10*o)}var r={progressSize:50,strokeWidth:10,duration:100,easeFn:t,durationIndeterminate:1333,startIndeterminate:1,endIndeterminate:149,easeFnIndeterminate:n,easingPresets:{linearEase:t,materialEase:n}};return{configure:function(t){return r=e.extend(r,t||{})},$get:function(){return r}}}e.module("material.components.progressCircular").provider("$mdProgressCircular",t)}(),function(){function t(){function t(t,r,i,o){if(o){var a=o.getTabElementIndex(r),s=n(r,"md-tab-body").remove(),c=n(r,"md-tab-label").remove(),u=o.insertTab({scope:t,parent:t.$parent,index:a,element:r,template:s.html(),label:c.html()},a);t.select=t.select||e.noop,t.deselect=t.deselect||e.noop,t.$watch("active",function(t){t&&o.select(u.getIndex(),!0)}),t.$watch("disabled",function(){o.refreshIndex()}),t.$watch(function(){return o.getTabElementIndex(r)},function(t){u.index=t,o.updateTabOrder()}),t.$on("$destroy",function(){o.removeTab(u)})}}function n(t,n){for(var r=t[0].children,i=0,o=r.length;i<o;i++){var a=r[i];if(a.tagName===n.toUpperCase())return e.element(a)}return e.element()}return{require:"^?mdTabs",terminal:!0,compile:function(r,i){var o=n(r,"md-tab-label"),a=n(r,"md-tab-body");if(0===o.length&&(o=e.element("<md-tab-label></md-tab-label>"),i.label?o.text(i.label):o.append(r.contents()),0===a.length)){var s=r.contents().detach();a=e.element("<md-tab-body></md-tab-body>"),a.append(s)}return r.append(o),a.html()&&r.append(a),t},scope:{active:"=?mdActive",disabled:"=?ngDisabled",select:"&?mdOnSelect",deselect:"&?mdOnDeselect"}}}e.module("material.components.tabs").directive("mdTab",t)}(),function(){function t(){return{require:"^?mdTabs",link:function(t,e,n,r){r&&r.attachRipple(t,e)}}}e.module("material.components.tabs").directive("mdTabItem",t);
}(),function(){function t(){return{terminal:!0}}e.module("material.components.tabs").directive("mdTabLabel",t)}(),function(){function t(t){return{restrict:"A",compile:function(e,n){var r=t(n.mdTabScroll,null,!0);return function(t,e){e.on("mousewheel",function(e){t.$apply(function(){r(t,{$event:e})})})}}}}t.$inject=["$parse"],e.module("material.components.tabs").directive("mdTabScroll",t)}(),function(){function t(t,r,i,o,a,s,c,u,l,d,h){function p(){b("stretchTabs",E),G("focusIndex",A,ht.selectedIndex||0),G("offsetLeft",M,0),G("hasContent",x,!1),G("maxTabWidth",C,Q()),G("shouldPaginate",_,!1),$("noInkBar",R),$("dynamicHeight",L),$("noPagination"),$("swipeContent"),$("noDisconnect"),$("autoselect"),$("noSelectClick"),$("centerTabs",w,!1),$("enableDisconnect"),ht.scope=t,ht.parent=t.$parent,ht.tabs=[],ht.lastSelectedIndex=null,ht.hasFocus=!1,ht.styleTabItemFocus=!1,ht.shouldCenterTabs=W(),ht.tabContentPrefix="tab-content-",m()}function m(){ht.selectedIndex=ht.selectedIndex||0,f(),g(),v(),d(r),s.nextTick(function(){mt=q(),at(),nt(),st(),ht.tabs[ht.selectedIndex]&&ht.tabs[ht.selectedIndex].scope.select(),gt=!0,X()})}function f(){var t=u.$mdTabsTemplate,n=e.element(r[0].querySelector("md-tab-data"));n.html(t),l(n.contents())(ht.parent),delete u.$mdTabsTemplate}function v(){e.element(i).on("resize",P),t.$on("$destroy",y)}function g(){t.$watch("$mdTabsCtrl.selectedIndex",T)}function b(t,e){var n=u.$normalize("md-"+t);e&&G(t,e),u.$observe(n,function(e){ht[t]=e})}function $(t,e){function n(e){ht[t]="false"!==e}var r=u.$normalize("md-"+t);e&&G(t,e),u.hasOwnProperty(r)&&n(u[r]),u.$observe(r,n)}function y(){vt=!0,e.element(i).off("resize",P)}function E(t){var n=q();e.element(n.wrapper).toggleClass("md-stretch-tabs",z()),st()}function w(t){ht.shouldCenterTabs=W()}function C(t,n){if(t!==n){var r=q();e.forEach(r.tabs,function(e){e.style.maxWidth=t+"px"}),s.nextTick(ht.updateInkBarStyles)}}function _(t,e){t!==e&&(ht.maxTabWidth=Q(),ht.shouldCenterTabs=W(),s.nextTick(function(){ht.maxTabWidth=Q(),nt(ht.selectedIndex)}))}function x(t){r[t?"removeClass":"addClass"]("md-no-tab-content")}function M(n){var r=q(),i=ht.shouldCenterTabs?"":"-"+n+"px";e.element(r.paging).css(o.CSS.TRANSFORM,"translate3d("+i+", 0, 0)"),t.$broadcast("$mdTabsPaginationChanged")}function A(t,e){t!==e&&q().tabs[t]&&(nt(),et())}function T(e,n){e!==n&&(ht.selectedIndex=K(e),ht.lastSelectedIndex=n,ht.updateInkBarStyles(),at(),nt(e),t.$broadcast("$mdTabsChanged"),ht.tabs[n]&&ht.tabs[n].scope.deselect(),ht.tabs[e]&&ht.tabs[e].scope.select())}function k(t){var e=r[0].getElementsByTagName("md-tab");return Array.prototype.indexOf.call(e,t[0])}function S(){S.watcher||(S.watcher=t.$watch(function(){s.nextTick(function(){S.watcher&&r.prop("offsetParent")&&(S.watcher(),S.watcher=null,P())},!1)}))}function N(t){switch(t.keyCode){case o.KEY_CODE.LEFT_ARROW:t.preventDefault(),tt(-1,!0);break;case o.KEY_CODE.RIGHT_ARROW:t.preventDefault(),tt(1,!0);break;case o.KEY_CODE.SPACE:case o.KEY_CODE.ENTER:t.preventDefault(),pt||D(ht.focusIndex)}}function D(t,e){pt||(ht.focusIndex=ht.selectedIndex=t),e&&ht.noSelectClick||s.nextTick(function(){ht.tabs[t].element.triggerHandler("click")},!1)}function O(t){ht.shouldPaginate&&(t.preventDefault(),ht.offsetLeft=ut(ht.offsetLeft-t.wheelDelta))}function I(){var t,e,n=q(),r=n.canvas.clientWidth,i=r+ht.offsetLeft;for(t=0;t<n.tabs.length&&(e=n.tabs[t],!(e.offsetLeft+e.offsetWidth>i));t++);r>e.offsetWidth?ht.offsetLeft=ut(e.offsetLeft):ht.offsetLeft=ut(e.offsetLeft+(e.offsetWidth-r+1))}function H(){var t,e,n=q();for(t=0;t<n.tabs.length&&(e=n.tabs[t],!(e.offsetLeft+e.offsetWidth>=ht.offsetLeft));t++);n.canvas.clientWidth>e.offsetWidth?ht.offsetLeft=ut(e.offsetLeft+e.offsetWidth-n.canvas.clientWidth):ht.offsetLeft=ut(e.offsetLeft)}function P(){ht.lastSelectedIndex=ht.selectedIndex,ht.offsetLeft=ut(ht.offsetLeft),s.nextTick(function(){ht.updateInkBarStyles(),X()})}function R(t){e.element(q().inkBar).toggleClass("ng-hide",t)}function L(t){r.toggleClass("md-dynamic-height",t)}function F(t){if(!vt){var e=ht.selectedIndex,n=ht.tabs.splice(t.getIndex(),1)[0];ot(),ht.selectedIndex===e&&(n.scope.deselect(),ht.tabs[ht.selectedIndex]&&ht.tabs[ht.selectedIndex].scope.select()),s.nextTick(function(){X(),ht.offsetLeft=ut(ht.offsetLeft)})}}function j(t,n){var r=gt,i={getIndex:function(){return ht.tabs.indexOf(o)},isActive:function(){return this.getIndex()===ht.selectedIndex},isLeft:function(){return this.getIndex()<ht.selectedIndex},isRight:function(){return this.getIndex()>ht.selectedIndex},shouldRender:function(){return!ht.noDisconnect||this.isActive()},hasFocus:function(){return ht.styleTabItemFocus&&ht.hasFocus&&this.getIndex()===ht.focusIndex},id:s.nextUid(),hasContent:!(!t.template||!t.template.trim())},o=e.extend(i,t);return e.isDefined(n)?ht.tabs.splice(n,0,o):ht.tabs.push(o),rt(),it(),s.nextTick(function(){X(),dt(o),r&&ht.autoselect&&s.nextTick(function(){s.nextTick(function(){D(ht.tabs.indexOf(o))})})}),o}function q(){var t={},e=r[0];return t.wrapper=e.querySelector("md-tabs-wrapper"),t.canvas=t.wrapper.querySelector("md-tabs-canvas"),t.paging=t.canvas.querySelector("md-pagination-wrapper"),t.inkBar=t.paging.querySelector("md-ink-bar"),t.contents=e.querySelectorAll("md-tabs-content-wrapper > md-tab-content"),t.tabs=t.paging.querySelectorAll("md-tab-item"),t.dummies=t.canvas.querySelectorAll("md-dummy-tab"),t}function V(){return ht.offsetLeft>0}function B(){var t=q(),e=t.tabs[t.tabs.length-1];return e&&e.offsetLeft+e.offsetWidth>t.canvas.clientWidth+ht.offsetLeft}function U(){var t=ht.tabs[ht.focusIndex];return t&&t.id?"tab-item-"+t.id:null}function z(){switch(ht.stretchTabs){case"always":return!0;case"never":return!1;default:return!ht.shouldPaginate&&i.matchMedia("(max-width: 600px)").matches}}function W(){return ht.centerTabs&&!ht.shouldPaginate}function Y(){if(ht.noPagination||!gt)return!1;var t=r.prop("clientWidth");return e.forEach(q().dummies,function(e){t-=e.offsetWidth}),t<0}function K(t){if(t===-1)return-1;var e,n,r=Math.max(ht.tabs.length-t,t);for(e=0;e<=r;e++){if(n=ht.tabs[t+e],n&&n.scope.disabled!==!0)return n.getIndex();if(n=ht.tabs[t-e],n&&n.scope.disabled!==!0)return n.getIndex()}return t}function G(t,e,n){Object.defineProperty(ht,t,{get:function(){return n},set:function(t){var r=n;n=t,e&&e(t,r)}})}function X(){ht.maxTabWidth=Q(),ht.shouldPaginate=Y()}function Z(t){var n=0;return e.forEach(t,function(t){n+=Math.max(t.offsetWidth,t.getBoundingClientRect().width)}),Math.ceil(n)}function Q(){return r.prop("clientWidth")}function J(){var t=ht.tabs[ht.selectedIndex],e=ht.tabs[ht.focusIndex];ht.tabs=ht.tabs.sort(function(t,e){return t.index-e.index}),ht.selectedIndex=ht.tabs.indexOf(t),ht.focusIndex=ht.tabs.indexOf(e)}function tt(t,e){var n,r=e?"focusIndex":"selectedIndex",i=ht[r];for(n=i+t;ht.tabs[n]&&ht.tabs[n].scope.disabled;n+=t);ht.tabs[n]&&(ht[r]=n)}function et(){ht.styleTabItemFocus="keyboard"===h.getLastInteractionType(),q().dummies[ht.focusIndex].focus()}function nt(t){var n=q();if(e.isNumber(t)||(t=ht.focusIndex),n.tabs[t]&&!ht.shouldCenterTabs){var r=n.tabs[t],i=r.offsetLeft,o=r.offsetWidth+i;ht.offsetLeft=Math.max(ht.offsetLeft,ut(o-n.canvas.clientWidth+64)),ht.offsetLeft=Math.min(ht.offsetLeft,ut(i))}}function rt(){ft.forEach(function(t){s.nextTick(t)}),ft=[]}function it(){for(var t=!1,e=0;e<ht.tabs.length;e++)if(ht.tabs[e].hasContent){t=!0;break}ht.hasContent=t}function ot(){ht.selectedIndex=K(ht.selectedIndex),ht.focusIndex=K(ht.focusIndex)}function at(){if(!ht.dynamicHeight)return r.css("height","");if(!ht.tabs.length)return ft.push(at);var t=q(),e=t.contents[ht.selectedIndex],i=e?e.offsetHeight:0,o=t.wrapper.offsetHeight,a=i+o,u=r.prop("clientHeight");if(u!==a){"bottom"===r.attr("md-align-tabs")&&(u-=o,a-=o,r.attr("md-border-bottom")!==n&&++u),pt=!0;var l={height:u+"px"},d={height:a+"px"};r.css(l),c(r,{from:l,to:d,easing:"cubic-bezier(0.35, 0, 0.25, 1)",duration:.5}).start().done(function(){r.css({transition:"none",height:""}),s.nextTick(function(){r.css("transition","")}),pt=!1})}}function st(){var t=q();if(!t.tabs[ht.selectedIndex])return void e.element(t.inkBar).css({left:"auto",right:"auto"});if(!ht.tabs.length)return ft.push(ht.updateInkBarStyles);if(!r.prop("offsetParent"))return S();var n=ht.selectedIndex,i=t.paging.offsetWidth,o=t.tabs[n],a=o.offsetLeft,c=i-a-o.offsetWidth;if(ht.shouldCenterTabs){var u=Z(t.tabs);i>u&&s.nextTick(st,!1)}ct(),e.element(t.inkBar).css({left:a+"px",right:c+"px"})}function ct(){var t=q(),n=ht.selectedIndex,r=ht.lastSelectedIndex,i=e.element(t.inkBar);e.isNumber(r)&&i.toggleClass("md-left",n<r).toggleClass("md-right",n>r)}function ut(t){var e=q();if(!e.tabs.length||!ht.shouldPaginate)return 0;var n=e.tabs[e.tabs.length-1],r=n.offsetLeft+n.offsetWidth;return t=Math.max(0,t),t=Math.min(r-e.canvas.clientWidth,t)}function lt(t,n){var r=q(),i={colorElement:e.element(r.inkBar)};a.attach(t,n,i)}function dt(t){if(t.hasContent){var n=r[0].querySelectorAll('[md-tab-id="'+t.id+'"]');e.element(n).attr("aria-controls",ht.tabContentPrefix+t.id)}}var ht=this,pt=!1,mt=q(),ft=[],vt=!1,gt=!1;ht.$onInit=p,ht.updatePagination=s.debounce(X,100),ht.redirectFocus=et,ht.attachRipple=lt,ht.insertTab=j,ht.removeTab=F,ht.select=D,ht.scroll=O,ht.nextPage=I,ht.previousPage=H,ht.keydown=N,ht.canPageForward=B,ht.canPageBack=V,ht.refreshIndex=ot,ht.incrementIndex=tt,ht.getTabElementIndex=k,ht.updateInkBarStyles=s.debounce(st,100),ht.updateTabOrder=s.debounce(J,100),ht.getFocusedTabId=U,1===e.version.major&&e.version.minor<=4&&this.$onInit()}t.$inject=["$scope","$element","$window","$mdConstant","$mdTabInkRipple","$mdUtil","$animateCss","$attrs","$compile","$mdTheming","$mdInteraction"],e.module("material.components.tabs").controller("MdTabsController",t)}(),function(){function t(t){return{scope:{selectedIndex:"=?mdSelected"},template:function(e,n){return n.$mdTabsTemplate=e.html(),'<md-tabs-wrapper> <md-tab-data></md-tab-data> <md-prev-button tabindex="-1" role="button" aria-label="Previous Page" aria-disabled="{{!$mdTabsCtrl.canPageBack()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageBack() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.previousPage()"> <md-icon md-svg-src="'+t.mdTabsArrow+'"></md-icon> </md-prev-button> <md-next-button tabindex="-1" role="button" aria-label="Next Page" aria-disabled="{{!$mdTabsCtrl.canPageForward()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageForward() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.nextPage()"> <md-icon md-svg-src="'+t.mdTabsArrow+'"></md-icon> </md-next-button> <md-tabs-canvas tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" aria-activedescendant="{{$mdTabsCtrl.getFocusedTabId()}}" ng-focus="$mdTabsCtrl.redirectFocus()" ng-class="{ \'md-paginated\': $mdTabsCtrl.shouldPaginate, \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" ng-keydown="$mdTabsCtrl.keydown($event)" role="tablist"> <md-pagination-wrapper ng-class="{ \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" md-tab-scroll="$mdTabsCtrl.scroll($event)"> <md-tab-item tabindex="-1" class="md-tab" ng-repeat="tab in $mdTabsCtrl.tabs" role="tab" md-tab-id="{{::tab.id}}"aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-click="$mdTabsCtrl.select(tab.getIndex())" ng-class="{ \'md-active\':    tab.isActive(), \'md-focused\':   tab.hasFocus(), \'md-disabled\':  tab.scope.disabled }" ng-disabled="tab.scope.disabled" md-swipe-left="$mdTabsCtrl.nextPage()" md-swipe-touch-action="pan-y" md-swipe-right="$mdTabsCtrl.previousPage()" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-tab-item> <md-ink-bar></md-ink-bar> </md-pagination-wrapper> <md-tabs-dummy-wrapper class="md-visually-hidden md-dummy-wrapper"> <md-dummy-tab class="md-tab" tabindex="-1" id="tab-item-{{::tab.id}}" md-tab-id="{{::tab.id}}"aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-focus="$mdTabsCtrl.hasFocus = true" ng-blur="$mdTabsCtrl.hasFocus = false" ng-repeat="tab in $mdTabsCtrl.tabs" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-dummy-tab> </md-tabs-dummy-wrapper> </md-tabs-canvas> </md-tabs-wrapper> <md-tabs-content-wrapper ng-show="$mdTabsCtrl.hasContent && $mdTabsCtrl.selectedIndex >= 0" class="_md"> <md-tab-content id="{{:: $mdTabsCtrl.tabContentPrefix + tab.id}}" class="_md" role="tabpanel" aria-labelledby="tab-item-{{::tab.id}}" md-swipe-left="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(1)" md-swipe-right="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(-1)" md-swipe-touch-action="pan-y" ng-if="tab.hasContent" ng-repeat="(index, tab) in $mdTabsCtrl.tabs" ng-class="{ \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null, \'md-active\':        tab.isActive(), \'md-left\':          tab.isLeft(), \'md-right\':         tab.isRight(), \'md-no-scroll\':     $mdTabsCtrl.dynamicHeight }"> <div md-tabs-template="::tab.template" md-connected-if="tab.isActive()" md-scope="::tab.parent" ng-if="$mdTabsCtrl.enableDisconnect || tab.shouldRender()"></div> </md-tab-content> </md-tabs-content-wrapper>'},controller:"MdTabsController",controllerAs:"$mdTabsCtrl",bindToController:!0}}t.$inject=["$$mdSvgRegistry"],e.module("material.components.tabs").directive("mdTabs",t)}(),function(){function t(t,e){return{require:"^?mdTabs",link:function(n,r,i,o){if(o){var a,s,c=function(){o.updatePagination(),o.updateInkBarStyles()};if("MutationObserver"in e){var u={childList:!0,subtree:!0,characterData:!0};a=new MutationObserver(c),a.observe(r[0],u),s=a.disconnect.bind(a)}else{var l=t.debounce(c,15,null,!1);r.on("DOMSubtreeModified",l),s=r.off.bind(r,"DOMSubtreeModified",l)}n.$on("$destroy",function(){s()})}}}}t.$inject=["$mdUtil","$window"],e.module("material.components.tabs").directive("mdTabsDummyWrapper",t)}(),function(){function t(t,e){function n(n,r,i,o){function a(){n.$watch("connected",function(t){t===!1?s():c()}),n.$on("$destroy",c)}function s(){o.enableDisconnect&&e.disconnectScope(u)}function c(){o.enableDisconnect&&e.reconnectScope(u)}if(o){var u=o.enableDisconnect?n.compileScope.$new():n.compileScope;return r.html(n.template),t(r.contents())(u),e.nextTick(a)}}return{restrict:"A",link:n,scope:{template:"=mdTabsTemplate",connected:"=?mdConnectedIf",compileScope:"=mdScope"},require:"^?mdTabs"}}t.$inject=["$compile","$mdUtil"],e.module("material.components.tabs").directive("mdTabsTemplate",t)}(),function(){e.module("material.core").constant("$MD_THEME_CSS",'md-autocomplete.md-THEME_NAME-theme{background:"{{background-A100}}"}md-autocomplete.md-THEME_NAME-theme[disabled]:not([md-floating-label]){background:"{{background-100}}"}md-autocomplete.md-THEME_NAME-theme button md-icon path{fill:"{{background-600}}"}md-autocomplete.md-THEME_NAME-theme button:after{background:"{{background-600-0.3}}"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme{background:"{{background-A100}}"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li{color:"{{background-900}}"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight{color:"{{background-600}}"}.md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected,.md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover{background:"{{background-200}}"}md-backdrop{background-color:"{{background-900-0.0}}"}md-backdrop.md-opaque.md-THEME_NAME-theme{background-color:"{{background-900-1.0}}"}md-bottom-sheet.md-THEME_NAME-theme{background-color:"{{background-50}}";border-top-color:"{{background-300}}"}md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item{color:"{{foreground-1}}"}md-bottom-sheet.md-THEME_NAME-theme .md-subheader{background-color:"{{background-50}}";color:"{{foreground-1}}"}.md-button.md-THEME_NAME-theme:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme:not([disabled]):hover{background-color:"{{background-500-0.2}}"}.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover{background-color:transparent}.md-button.md-THEME_NAME-theme.md-fab md-icon{color:"{{accent-contrast}}"}.md-button.md-THEME_NAME-theme.md-primary{color:"{{primary-color}}"}.md-button.md-THEME_NAME-theme.md-primary.md-fab,.md-button.md-THEME_NAME-theme.md-primary.md-raised{color:"{{primary-contrast}}";background-color:"{{primary-color}}"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon{color:"{{primary-contrast}}"}.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover{background-color:"{{primary-600}}"}.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon{color:"{{primary-color}}"}.md-button.md-THEME_NAME-theme.md-fab{background-color:"{{accent-color}}";color:"{{accent-contrast}}"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon{color:"{{accent-contrast}}"}.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover{background-color:"{{accent-A700}}"}.md-button.md-THEME_NAME-theme.md-raised{color:"{{background-900}}";background-color:"{{background-50}}"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]) md-icon{color:"{{background-900}}"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover{background-color:"{{background-50}}"}.md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused{background-color:"{{background-200}}"}.md-button.md-THEME_NAME-theme.md-warn{color:"{{warn-color}}"}.md-button.md-THEME_NAME-theme.md-warn.md-fab,.md-button.md-THEME_NAME-theme.md-warn.md-raised{color:"{{warn-contrast}}";background-color:"{{warn-color}}"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon{color:"{{warn-contrast}}"}.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover{background-color:"{{warn-600}}"}.md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon{color:"{{warn-color}}"}.md-button.md-THEME_NAME-theme.md-accent{color:"{{accent-color}}"}.md-button.md-THEME_NAME-theme.md-accent.md-fab,.md-button.md-THEME_NAME-theme.md-accent.md-raised{color:"{{accent-contrast}}";background-color:"{{accent-color}}"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon{color:"{{accent-contrast}}"}.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused,.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover{background-color:"{{accent-A700}}"}.md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon{color:"{{accent-color}}"}.md-button.md-THEME_NAME-theme.md-accent[disabled],.md-button.md-THEME_NAME-theme.md-fab[disabled],.md-button.md-THEME_NAME-theme.md-raised[disabled],.md-button.md-THEME_NAME-theme.md-warn[disabled],.md-button.md-THEME_NAME-theme[disabled]{color:"{{foreground-3}}";cursor:default}.md-button.md-THEME_NAME-theme.md-accent[disabled] md-icon,.md-button.md-THEME_NAME-theme.md-fab[disabled] md-icon,.md-button.md-THEME_NAME-theme.md-raised[disabled] md-icon,.md-button.md-THEME_NAME-theme.md-warn[disabled] md-icon,.md-button.md-THEME_NAME-theme[disabled] md-icon{color:"{{foreground-3}}"}.md-button.md-THEME_NAME-theme.md-fab[disabled],.md-button.md-THEME_NAME-theme.md-raised[disabled]{background-color:"{{foreground-4}}"}.md-button.md-THEME_NAME-theme[disabled]{background-color:transparent}._md a.md-THEME_NAME-theme:not(.md-button).md-primary{color:"{{primary-color}}"}._md a.md-THEME_NAME-theme:not(.md-button).md-primary:hover{color:"{{primary-700}}"}._md a.md-THEME_NAME-theme:not(.md-button).md-accent{color:"{{accent-color}}"}._md a.md-THEME_NAME-theme:not(.md-button).md-accent:hover{color:"{{accent-A700}}"}._md a.md-THEME_NAME-theme:not(.md-button).md-warn{color:"{{warn-color}}"}._md a.md-THEME_NAME-theme:not(.md-button).md-warn:hover{color:"{{warn-700}}"}md-card.md-THEME_NAME-theme{color:"{{foreground-1}}";background-color:"{{background-hue-1}}";border-radius:2px}md-card.md-THEME_NAME-theme .md-card-image{border-radius:2px 2px 0 0}md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon{color:"{{background-color}}";background-color:"{{foreground-3}}"}md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead,md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead{color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme .md-ripple{color:"{{accent-A700}}"}md-checkbox.md-THEME_NAME-theme.md-checked .md-ripple{color:"{{background-600}}"}md-checkbox.md-THEME_NAME-theme.md-checked.md-focused .md-container:before{background-color:"{{accent-color-0.26}}"}md-checkbox.md-THEME_NAME-theme .md-ink-ripple{color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme.md-checked .md-ink-ripple{color:"{{accent-color-0.87}}"}md-checkbox.md-THEME_NAME-theme:not(.md-checked) .md-icon{border-color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme.md-checked .md-icon{background-color:"{{accent-color-0.87}}"}md-checkbox.md-THEME_NAME-theme.md-checked .md-icon:after{border-color:"{{accent-contrast-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ripple{color:"{{primary-600}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ripple{color:"{{background-600}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ink-ripple{color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple{color:"{{primary-color-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary:not(.md-checked) .md-icon{border-color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon{background-color:"{{primary-color-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked.md-focused .md-container:before{background-color:"{{primary-color-0.26}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon:after{border-color:"{{primary-contrast-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-indeterminate[disabled] .md-container{color:"{{foreground-3}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ripple{color:"{{warn-600}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ink-ripple{color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple{color:"{{warn-color-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn:not(.md-checked) .md-icon{border-color:"{{foreground-2}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon{background-color:"{{warn-color-0.87}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked.md-focused:not([disabled]) .md-container:before{background-color:"{{warn-color-0.26}}"}md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon:after{border-color:"{{background-200}}"}md-checkbox.md-THEME_NAME-theme[disabled]:not(.md-checked) .md-icon{border-color:"{{foreground-3}}"}md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon{background-color:"{{foreground-3}}"}md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon:after{border-color:"{{background-200}}"}md-checkbox.md-THEME_NAME-theme[disabled] .md-icon:after{border-color:"{{foreground-3}}"}md-checkbox.md-THEME_NAME-theme[disabled] .md-label{color:"{{foreground-3}}"}md-chips.md-THEME_NAME-theme .md-chips{box-shadow:0 1px "{{foreground-4}}"}md-chips.md-THEME_NAME-theme .md-chips.md-focused{box-shadow:0 2px "{{primary-color}}"}md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input{color:"{{foreground-1}}"}md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-moz-placeholder,md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-moz-placeholder{color:"{{foreground-3}}"}md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-ms-input-placeholder{color:"{{foreground-3}}"}md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-webkit-input-placeholder{color:"{{foreground-3}}"}md-chips.md-THEME_NAME-theme md-chip{background:"{{background-300}}";color:"{{background-800}}"}md-chips.md-THEME_NAME-theme md-chip md-icon{color:"{{background-700}}"}md-chips.md-THEME_NAME-theme md-chip.md-focused{background:"{{primary-color}}";color:"{{primary-contrast}}"}md-chips.md-THEME_NAME-theme md-chip.md-focused md-icon{color:"{{primary-contrast}}"}md-chips.md-THEME_NAME-theme md-chip._md-chip-editing{background:transparent;color:"{{background-800}}"}md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path{fill:"{{background-500}}"}.md-contact-suggestion span.md-contact-email{color:"{{background-400}}"}md-content.md-THEME_NAME-theme{color:"{{foreground-1}}";background-color:"{{background-default}}"}.md-calendar.md-THEME_NAME-theme{background:"{{background-A100}}";color:"{{background-A200-0.87}}"}.md-calendar.md-THEME_NAME-theme tr:last-child td{border-bottom-color:"{{background-200}}"}.md-THEME_NAME-theme .md-calendar-day-header{background:"{{background-300}}";color:"{{background-A200-0.87}}"}.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today .md-calendar-date-selection-indicator{border:1px solid "{{primary-500}}"}.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today.md-calendar-date-disabled{color:"{{primary-500-0.6}}"}.md-calendar-date.md-focus .md-THEME_NAME-theme .md-calendar-date-selection-indicator,.md-THEME_NAME-theme .md-calendar-date-selection-indicator:hover{background:"{{background-300}}"}.md-THEME_NAME-theme .md-calendar-date.md-calendar-selected-date .md-calendar-date-selection-indicator,.md-THEME_NAME-theme .md-calendar-date.md-focus.md-calendar-selected-date .md-calendar-date-selection-indicator{background:"{{primary-500}}";color:"{{primary-500-contrast}}";border-color:transparent}.md-THEME_NAME-theme .md-calendar-date-disabled,.md-THEME_NAME-theme .md-calendar-month-label-disabled{color:"{{background-A200-0.435}}"}.md-THEME_NAME-theme .md-datepicker-input{color:"{{foreground-1}}"}.md-THEME_NAME-theme .md-datepicker-input:-moz-placeholder,.md-THEME_NAME-theme .md-datepicker-input::-moz-placeholder{color:"{{foreground-3}}"}.md-THEME_NAME-theme .md-datepicker-input:-ms-input-placeholder{color:"{{foreground-3}}"}.md-THEME_NAME-theme .md-datepicker-input::-webkit-input-placeholder{color:"{{foreground-3}}"}.md-THEME_NAME-theme .md-datepicker-input-container{border-bottom-color:"{{foreground-4}}"}.md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused{border-bottom-color:"{{primary-color}}"}.md-accent .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused{border-bottom-color:"{{accent-color}}"}.md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-invalid,.md-warn .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused{border-bottom-color:"{{warn-A700}}"}.md-THEME_NAME-theme .md-datepicker-calendar-pane{border-color:"{{background-hue-1}}"}.md-THEME_NAME-theme .md-datepicker-triangle-button .md-datepicker-expand-triangle{border-top-color:"{{foreground-2}}"}.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon{color:"{{primary-color}}"}.md-accent .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon,.md-THEME_NAME-theme .md-datepicker-open.md-accent .md-datepicker-calendar-icon{color:"{{accent-color}}"}.md-THEME_NAME-theme .md-datepicker-open.md-warn .md-datepicker-calendar-icon,.md-warn .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon{color:"{{warn-A700}}"}.md-THEME_NAME-theme .md-datepicker-calendar{background:"{{background-A100}}"}.md-THEME_NAME-theme .md-datepicker-input-mask-opaque{box-shadow:0 0 0 9999px "{{background-hue-1}}"}.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-input-container{background:"{{background-hue-1}}"}md-dialog.md-THEME_NAME-theme{border-radius:4px;background-color:"{{background-hue-1}}";color:"{{foreground-1}}"}md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions,md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions,md-divider.md-THEME_NAME-theme{border-top-color:"{{foreground-4}}"}.layout-gt-lg-row>md-divider.md-THEME_NAME-theme,.layout-gt-md-row>md-divider.md-THEME_NAME-theme,.layout-gt-sm-row>md-divider.md-THEME_NAME-theme,.layout-gt-xs-row>md-divider.md-THEME_NAME-theme,.layout-lg-row>md-divider.md-THEME_NAME-theme,.layout-md-row>md-divider.md-THEME_NAME-theme,.layout-row>md-divider.md-THEME_NAME-theme,.layout-sm-row>md-divider.md-THEME_NAME-theme,.layout-xl-row>md-divider.md-THEME_NAME-theme,.layout-xs-row>md-divider.md-THEME_NAME-theme{border-right-color:"{{foreground-4}}"}md-icon.md-THEME_NAME-theme{color:"{{foreground-2}}"}md-icon.md-THEME_NAME-theme.md-primary{color:"{{primary-color}}"}md-icon.md-THEME_NAME-theme.md-accent{color:"{{accent-color}}"}md-icon.md-THEME_NAME-theme.md-warn{color:"{{warn-color}}"}md-input-container.md-THEME_NAME-theme .md-input{color:"{{foreground-1}}";border-color:"{{foreground-4}}"}md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder,md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme>md-icon{color:"{{foreground-1}}"}md-input-container.md-THEME_NAME-theme .md-placeholder,md-input-container.md-THEME_NAME-theme label{color:"{{foreground-3}}"}md-input-container.md-THEME_NAME-theme label.md-required:after{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-focused):not(.md-input-invalid) label.md-required:after{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme .md-input-message-animation,md-input-container.md-THEME_NAME-theme .md-input-messages-animation{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme .md-input-message-animation .md-char-counter,md-input-container.md-THEME_NAME-theme .md-input-messages-animation .md-char-counter{color:"{{foreground-1}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-moz-placeholder,md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-moz-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input:-ms-input-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme.md-input-focused .md-input::-webkit-input-placeholder{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label{color:"{{foreground-2}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-resized .md-input{border-color:"{{primary-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon{color:"{{primary-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input{border-color:"{{accent-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent md-icon{color:"{{accent-color}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input{border-color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn md-icon{color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input{border-color:"{{warn-A700}}"}md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input-message-animation,md-input-container.md-THEME_NAME-theme.md-input-invalid label{color:"{{warn-A700}}"}[disabled] md-input-container.md-THEME_NAME-theme .md-input,md-input-container.md-THEME_NAME-theme .md-input[disabled]{border-bottom-color:transparent;color:"{{foreground-3}}";background-image:linear-gradient(90deg,"{{foreground-3}}" 0,"{{foreground-3}}" 33%,transparent 0);background-image:-ms-linear-gradient(left,transparent 0,"{{foreground-3}}" 100%)}md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h4,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h4{color:"{{foreground-1}}"}md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text p,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text p{color:"{{foreground-2}}"}md-list.md-THEME_NAME-theme .md-proxy-focus.md-focused div.md-no-style{background-color:"{{background-100}}"}md-list.md-THEME_NAME-theme md-list-item .md-avatar-icon{background-color:"{{foreground-3}}";color:"{{background-color}}"}md-list.md-THEME_NAME-theme md-list-item>md-icon{color:"{{foreground-2}}"}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight{color:"{{primary-color}}"}md-list.md-THEME_NAME-theme md-list-item>md-icon.md-highlight.md-accent{color:"{{accent-color}}"}md-menu-content.md-THEME_NAME-theme{background-color:"{{background-A100}}"}md-menu-content.md-THEME_NAME-theme md-menu-item{color:"{{background-A200-0.87}}"}md-menu-content.md-THEME_NAME-theme md-menu-item md-icon{color:"{{background-A200-0.54}}"}md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled],md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled] md-icon{color:"{{background-A200-0.25}}"}md-menu-content.md-THEME_NAME-theme md-menu-divider{background-color:"{{background-A200-0.11}}"}md-menu-bar.md-THEME_NAME-theme>button.md-button{color:"{{foreground-2}}";border-radius:2px}md-menu-bar.md-THEME_NAME-theme md-menu.md-open>button,md-menu-bar.md-THEME_NAME-theme md-menu>button:focus{outline:none;background:"{{background-200}}"}md-menu-bar.md-THEME_NAME-theme.md-open:not(.md-keyboard-mode) md-menu:hover>button{background-color:"{{ background-500-0.2}}"}md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:focus,md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:hover{background:transparent}md-menu-content.md-THEME_NAME-theme .md-menu>.md-button:after{color:"{{background-A200-0.54}}"}md-menu-content.md-THEME_NAME-theme .md-menu.md-open>.md-button{background-color:"{{ background-500-0.2}}"}md-toolbar.md-THEME_NAME-theme.md-menu-toolbar{background-color:"{{background-A100}}";color:"{{background-A200}}"}md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler{background-color:"{{primary-color}}";color:"{{background-A100-0.87}}"}md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler md-icon{color:"{{background-A100-0.87}}"}md-nav-bar.md-THEME_NAME-theme .md-nav-bar{background-color:transparent;border-color:"{{foreground-4}}"}md-nav-bar.md-THEME_NAME-theme .md-button._md-nav-button.md-unselected{color:"{{foreground-2}}"}md-nav-bar.md-THEME_NAME-theme md-nav-ink-bar{color:"{{accent-color}}";background:"{{accent-color}}"}md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar{background-color:"{{accent-color}}"}md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar .md-button._md-nav-button{color:"{{accent-A100}}"}md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar .md-button._md-nav-button.md-active,md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{accent-contrast}}"}md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{accent-contrast-0.1}}"}md-nav-bar.md-THEME_NAME-theme.md-accent>.md-nav-bar md-nav-ink-bar{color:"{{primary-600-1}}";background:"{{primary-600-1}}"}md-nav-bar.md-THEME_NAME-theme.md-warn>.md-nav-bar{background-color:"{{warn-color}}"}md-nav-bar.md-THEME_NAME-theme.md-warn>.md-nav-bar .md-button._md-nav-button{color:"{{warn-100}}"}md-nav-bar.md-THEME_NAME-theme.md-warn>.md-nav-bar .md-button._md-nav-button.md-active,md-nav-bar.md-THEME_NAME-theme.md-warn>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{warn-contrast}}"}md-nav-bar.md-THEME_NAME-theme.md-warn>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{warn-contrast-0.1}}"}md-nav-bar.md-THEME_NAME-theme.md-primary>.md-nav-bar{background-color:"{{primary-color}}"}md-nav-bar.md-THEME_NAME-theme.md-primary>.md-nav-bar .md-button._md-nav-button{color:"{{primary-100}}"}md-nav-bar.md-THEME_NAME-theme.md-primary>.md-nav-bar .md-button._md-nav-button.md-active,md-nav-bar.md-THEME_NAME-theme.md-primary>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{primary-contrast}}"}md-nav-bar.md-THEME_NAME-theme.md-primary>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{primary-contrast-0.1}}"}md-toolbar>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar{background-color:"{{primary-color}}"}md-toolbar>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button{color:"{{primary-100}}"}md-toolbar>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-active,md-toolbar>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{primary-contrast}}"}md-toolbar>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{primary-contrast-0.1}}"}md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar{background-color:"{{accent-color}}"}md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button{color:"{{accent-A100}}"}md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-active,md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{accent-contrast}}"}md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{accent-contrast-0.1}}"}md-toolbar.md-accent>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar md-nav-ink-bar{color:"{{primary-600-1}}";background:"{{primary-600-1}}"}md-toolbar.md-warn>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar{background-color:"{{warn-color}}"}md-toolbar.md-warn>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button{color:"{{warn-100}}"}md-toolbar.md-warn>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-active,md-toolbar.md-warn>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{color:"{{warn-contrast}}"}md-toolbar.md-warn>md-nav-bar.md-THEME_NAME-theme>.md-nav-bar .md-button._md-nav-button.md-focused{background:"{{warn-contrast-0.1}}"}md-progress-circular.md-THEME_NAME-theme path{stroke:"{{primary-color}}"}md-progress-circular.md-THEME_NAME-theme.md-warn path{stroke:"{{warn-color}}"}md-progress-circular.md-THEME_NAME-theme.md-accent path{stroke:"{{accent-color}}"}._md-panel-backdrop.md-THEME_NAME-theme{background-color:"{{background-900-1.0}}"}md-progress-linear.md-THEME_NAME-theme .md-container{background-color:"{{primary-100}}"}md-progress-linear.md-THEME_NAME-theme .md-bar{background-color:"{{primary-color}}"}md-progress-linear.md-THEME_NAME-theme.md-warn .md-container{background-color:"{{warn-100}}"}md-progress-linear.md-THEME_NAME-theme.md-warn .md-bar{background-color:"{{warn-color}}"}md-progress-linear.md-THEME_NAME-theme.md-accent .md-container{background-color:"{{accent-100}}"}md-progress-linear.md-THEME_NAME-theme.md-accent .md-bar{background-color:"{{accent-color}}"}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-bar1{background-color:"{{warn-100}}"}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-dashed:before{background:radial-gradient("{{warn-100}}" 0,"{{warn-100}}" 16%,transparent 42%)}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-bar1{background-color:"{{accent-100}}"}md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-dashed:before{background:radial-gradient("{{accent-100}}" 0,"{{accent-100}}" 16%,transparent 42%)}md-radio-button.md-THEME_NAME-theme .md-off{border-color:"{{foreground-2}}"}md-radio-button.md-THEME_NAME-theme .md-on{background-color:"{{accent-color-0.87}}"}md-radio-button.md-THEME_NAME-theme.md-checked .md-off{border-color:"{{accent-color-0.87}}"}md-radio-button.md-THEME_NAME-theme.md-checked .md-ink-ripple{color:"{{accent-color-0.87}}"}md-radio-button.md-THEME_NAME-theme .md-container .md-ripple{color:"{{accent-A700}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-on,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on{background-color:"{{primary-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off{border-color:"{{primary-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple{color:"{{primary-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple{color:"{{primary-600}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-on,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on{background-color:"{{warn-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off{border-color:"{{warn-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple{color:"{{warn-color-0.87}}"}md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple,md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple{color:"{{warn-600}}"}md-radio-button.md-THEME_NAME-theme[disabled],md-radio-group.md-THEME_NAME-theme[disabled]{color:"{{foreground-3}}"}md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-off,md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-on,md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-off,md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-on{border-color:"{{foreground-3}}"}md-radio-group.md-THEME_NAME-theme .md-checked .md-ink-ripple{color:"{{accent-color-0.26}}"}md-radio-group.md-THEME_NAME-theme .md-checked:not([disabled]).md-primary .md-ink-ripple,md-radio-group.md-THEME_NAME-theme.md-primary .md-checked:not([disabled]) .md-ink-ripple{color:"{{primary-color-0.26}}"}md-radio-group.md-THEME_NAME-theme .md-checked.md-primary .md-ink-ripple{color:"{{warn-color-0.26}}"}md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked .md-container:before{background-color:"{{accent-color-0.26}}"}md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-primary .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-primary .md-checked .md-container:before{background-color:"{{primary-color-0.26}}"}md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-warn .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-warn .md-checked .md-container:before{background-color:"{{warn-color-0.26}}"}md-sidenav.md-THEME_NAME-theme,md-sidenav.md-THEME_NAME-theme md-content{background-color:"{{background-hue-1}}"}md-input-container md-select.md-THEME_NAME-theme .md-select-value span:first-child:after{color:"{{warn-A700}}"}md-input-container:not(.md-input-focused):not(.md-input-invalid) md-select.md-THEME_NAME-theme .md-select-value span:first-child:after{color:"{{foreground-3}}"}md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value,md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder{color:"{{primary-color}}"}md-input-container.md-input-invalid md-select.md-THEME_NAME-theme .md-select-value{color:"{{warn-A700}}"!important;border-bottom-color:"{{warn-A700}}"!important}md-input-container.md-input-invalid md-select.md-THEME_NAME-theme.md-no-underline .md-select-value{border-bottom-color:transparent!important}md-select.md-THEME_NAME-theme[disabled] .md-select-value{border-bottom-color:transparent;background-image:linear-gradient(90deg,"{{foreground-3}}" 0,"{{foreground-3}}" 33%,transparent 0);background-image:-ms-linear-gradient(left,transparent 0,"{{foreground-3}}" 100%)}md-select.md-THEME_NAME-theme .md-select-value{border-bottom-color:"{{foreground-4}}"}md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder{color:"{{foreground-3}}"}md-select.md-THEME_NAME-theme .md-select-value span:first-child:after{color:"{{warn-A700}}"}md-select.md-THEME_NAME-theme.md-no-underline .md-select-value{border-bottom-color:transparent!important}md-select.md-THEME_NAME-theme.ng-invalid.ng-touched .md-select-value{color:"{{warn-A700}}"!important;border-bottom-color:"{{warn-A700}}"!important}md-select.md-THEME_NAME-theme.ng-invalid.ng-touched.md-no-underline .md-select-value{border-bottom-color:transparent!important}md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value{border-bottom-color:"{{primary-color}}";color:"{{ foreground-1 }}"}md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value.md-select-placeholder{color:"{{ foreground-1 }}"}md-select.md-THEME_NAME-theme:not([disabled]):focus.md-no-underline .md-select-value{border-bottom-color:transparent!important}md-select.md-THEME_NAME-theme:not([disabled]):focus.md-accent .md-select-value{border-bottom-color:"{{accent-color}}"}md-select.md-THEME_NAME-theme:not([disabled]):focus.md-warn .md-select-value{border-bottom-color:"{{warn-color}}"}md-select.md-THEME_NAME-theme[disabled] .md-select-icon,md-select.md-THEME_NAME-theme[disabled] .md-select-value,md-select.md-THEME_NAME-theme[disabled] .md-select-value.md-select-placeholder{color:"{{foreground-3}}"}md-select.md-THEME_NAME-theme .md-select-icon{color:"{{foreground-2}}"}md-select-menu.md-THEME_NAME-theme md-content{background:"{{background-A100}}"}md-select-menu.md-THEME_NAME-theme md-content md-optgroup{color:"{{background-600-0.87}}"}md-select-menu.md-THEME_NAME-theme md-content md-option{color:"{{background-900-0.87}}"}md-select-menu.md-THEME_NAME-theme md-content md-option[disabled] .md-text{color:"{{background-400-0.87}}"}md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):focus,md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):hover{background:"{{background-200}}"}md-select-menu.md-THEME_NAME-theme md-content md-option[selected]{color:"{{primary-500}}"}md-select-menu.md-THEME_NAME-theme md-content md-option[selected]:focus{color:"{{primary-600}}"}md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent{color:"{{accent-color}}"}md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent:focus{color:"{{accent-A700}}"}.md-checkbox-enabled.md-THEME_NAME-theme .md-ripple{color:"{{primary-600}}"}.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ripple{color:"{{background-600}}"}.md-checkbox-enabled.md-THEME_NAME-theme .md-ink-ripple{color:"{{foreground-2}}"}.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ink-ripple{color:"{{primary-color-0.87}}"}.md-checkbox-enabled.md-THEME_NAME-theme:not(.md-checked) .md-icon{border-color:"{{foreground-2}}"}.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon{background-color:"{{primary-color-0.87}}"}.md-checkbox-enabled.md-THEME_NAME-theme[selected].md-focused .md-container:before{background-color:"{{primary-color-0.26}}"}.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon:after{border-color:"{{primary-contrast-0.87}}"}.md-checkbox-enabled.md-THEME_NAME-theme .md-indeterminate[disabled] .md-container{color:"{{foreground-3}}"}.md-checkbox-enabled.md-THEME_NAME-theme md-option .md-text{color:"{{background-900-0.87}}"}md-slider.md-THEME_NAME-theme .md-track{background-color:"{{foreground-3}}"}md-slider.md-THEME_NAME-theme .md-track-ticks{color:"{{background-contrast}}"}md-slider.md-THEME_NAME-theme .md-focus-ring{background-color:"{{accent-A200-0.2}}"}md-slider.md-THEME_NAME-theme .md-disabled-thumb{border-color:"{{background-color}}";background-color:"{{background-color}}"}md-slider.md-THEME_NAME-theme.md-min .md-thumb:after{background-color:"{{background-color}}";border-color:"{{foreground-3}}"}md-slider.md-THEME_NAME-theme.md-min .md-focus-ring{background-color:"{{foreground-3-0.38}}"}md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-thumb:after{background-color:"{{background-contrast}}";border-color:transparent}md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign{background-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign:after{border-top-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme.md-min[md-discrete][md-vertical] .md-sign:after{border-top-color:transparent;border-left-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme .md-track.md-track-fill{background-color:"{{accent-color}}"}md-slider.md-THEME_NAME-theme .md-thumb:after{border-color:"{{accent-color}}";background-color:"{{accent-color}}"}md-slider.md-THEME_NAME-theme .md-sign{background-color:"{{accent-color}}"}md-slider.md-THEME_NAME-theme .md-sign:after{border-top-color:"{{accent-color}}"}md-slider.md-THEME_NAME-theme[md-vertical] .md-sign:after{border-top-color:transparent;border-left-color:"{{accent-color}}"}md-slider.md-THEME_NAME-theme .md-thumb-text{color:"{{accent-contrast}}"}md-slider.md-THEME_NAME-theme.md-warn .md-focus-ring{background-color:"{{warn-200-0.38}}"}md-slider.md-THEME_NAME-theme.md-warn .md-track.md-track-fill{background-color:"{{warn-color}}"}md-slider.md-THEME_NAME-theme.md-warn .md-thumb:after{border-color:"{{warn-color}}";background-color:"{{warn-color}}"}md-slider.md-THEME_NAME-theme.md-warn .md-sign{background-color:"{{warn-color}}"}md-slider.md-THEME_NAME-theme.md-warn .md-sign:after{border-top-color:"{{warn-color}}"}md-slider.md-THEME_NAME-theme.md-warn[md-vertical] .md-sign:after{border-top-color:transparent;border-left-color:"{{warn-color}}"}md-slider.md-THEME_NAME-theme.md-warn .md-thumb-text{color:"{{warn-contrast}}"}md-slider.md-THEME_NAME-theme.md-primary .md-focus-ring{background-color:"{{primary-200-0.38}}"}md-slider.md-THEME_NAME-theme.md-primary .md-track.md-track-fill{background-color:"{{primary-color}}"}md-slider.md-THEME_NAME-theme.md-primary .md-thumb:after{border-color:"{{primary-color}}";background-color:"{{primary-color}}"}md-slider.md-THEME_NAME-theme.md-primary .md-sign{background-color:"{{primary-color}}"}md-slider.md-THEME_NAME-theme.md-primary .md-sign:after{border-top-color:"{{primary-color}}"}md-slider.md-THEME_NAME-theme.md-primary[md-vertical] .md-sign:after{border-top-color:transparent;border-left-color:"{{primary-color}}"}md-slider.md-THEME_NAME-theme.md-primary .md-thumb-text{color:"{{primary-contrast}}"}md-slider.md-THEME_NAME-theme[disabled] .md-thumb:after{border-color:transparent}md-slider.md-THEME_NAME-theme[disabled]:not(.md-min) .md-thumb:after,md-slider.md-THEME_NAME-theme[disabled][md-discrete] .md-thumb:after{background-color:"{{foreground-3}}";border-color:transparent}md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign{background-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign:after{border-top-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme[disabled][readonly][md-vertical] .md-sign:after{border-top-color:transparent;border-left-color:"{{background-400}}"}md-slider.md-THEME_NAME-theme[disabled][readonly] .md-disabled-thumb{border-color:transparent;background-color:transparent}md-slider-container[disabled]>:first-child:not(md-slider),md-slider-container[disabled]>:last-child:not(md-slider){color:"{{foreground-3}}"}.md-subheader.md-THEME_NAME-theme{color:"{{ foreground-2-0.23 }}";background-color:"{{background-default}}"}.md-subheader.md-THEME_NAME-theme.md-primary{color:"{{primary-color}}"}.md-subheader.md-THEME_NAME-theme.md-accent{color:"{{accent-color}}"}.md-subheader.md-THEME_NAME-theme.md-warn{color:"{{warn-color}}"}md-switch.md-THEME_NAME-theme .md-ink-ripple{color:"{{background-500}}"}md-switch.md-THEME_NAME-theme .md-thumb{background-color:"{{background-50}}"}md-switch.md-THEME_NAME-theme .md-bar{background-color:"{{background-500}}"}md-switch.md-THEME_NAME-theme.md-checked .md-ink-ripple{color:"{{accent-color}}"}md-switch.md-THEME_NAME-theme.md-checked .md-thumb{background-color:"{{accent-color}}"}md-switch.md-THEME_NAME-theme.md-checked .md-bar{background-color:"{{accent-color-0.5}}"}md-switch.md-THEME_NAME-theme.md-checked.md-focused .md-thumb:before{background-color:"{{accent-color-0.26}}"}md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-ink-ripple{color:"{{primary-color}}"}md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-thumb{background-color:"{{primary-color}}"}md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-bar{background-color:"{{primary-color-0.5}}"}md-switch.md-THEME_NAME-theme.md-checked.md-primary.md-focused .md-thumb:before{background-color:"{{primary-color-0.26}}"}md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-ink-ripple{color:"{{warn-color}}"}md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-thumb{background-color:"{{warn-color}}"}md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-bar{background-color:"{{warn-color-0.5}}"}md-switch.md-THEME_NAME-theme.md-checked.md-warn.md-focused .md-thumb:before{background-color:"{{warn-color-0.26}}"}md-switch.md-THEME_NAME-theme[disabled] .md-thumb{background-color:"{{background-400}}"}md-switch.md-THEME_NAME-theme[disabled] .md-bar{background-color:"{{foreground-4}}"}md-tabs.md-THEME_NAME-theme md-tabs-wrapper{background-color:transparent;border-color:"{{foreground-4}}"}md-tabs.md-THEME_NAME-theme .md-paginator md-icon{color:"{{primary-color}}"}md-tabs.md-THEME_NAME-theme md-ink-bar{color:"{{accent-color}}";background:"{{accent-color}}"}md-tabs.md-THEME_NAME-theme .md-tab{color:"{{foreground-2}}"}md-tabs.md-THEME_NAME-theme .md-tab[disabled],md-tabs.md-THEME_NAME-theme .md-tab[disabled] md-icon{color:"{{foreground-3}}"}md-tabs.md-THEME_NAME-theme .md-tab.md-active,md-tabs.md-THEME_NAME-theme .md-tab.md-active md-icon,md-tabs.md-THEME_NAME-theme .md-tab.md-focused,md-tabs.md-THEME_NAME-theme .md-tab.md-focused md-icon{color:"{{primary-color}}"}md-tabs.md-THEME_NAME-theme .md-tab.md-focused{background:"{{primary-color-0.1}}"}md-tabs.md-THEME_NAME-theme .md-tab .md-ripple-container{color:"{{accent-A100}}"}md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper{background-color:"{{accent-color}}"}md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{accent-A100}}"}md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{accent-contrast}}"}md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{accent-contrast-0.1}}"}md-tabs.md-THEME_NAME-theme.md-accent>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-ink-bar{color:"{{primary-600-1}}";background:"{{primary-600-1}}"}md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper{background-color:"{{primary-color}}"}md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{primary-100}}"}md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{primary-contrast}}"}md-tabs.md-THEME_NAME-theme.md-primary>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{primary-contrast-0.1}}"}md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper{background-color:"{{warn-color}}"}md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{warn-100}}"}md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{warn-contrast}}"}md-tabs.md-THEME_NAME-theme.md-warn>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{warn-contrast-0.1}}"}md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper{background-color:"{{primary-color}}"}md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{primary-100}}"}md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{primary-contrast}}"}md-toolbar>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{primary-contrast-0.1}}"}md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper{background-color:"{{accent-color}}"}md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{accent-A100}}"}md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{accent-contrast}}"}md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{accent-contrast-0.1}}"}md-toolbar.md-accent>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-ink-bar{color:"{{primary-600-1}}";background:"{{primary-600-1}}"}md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper{background-color:"{{warn-color}}"}md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]),md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]) md-icon{color:"{{warn-100}}"}md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active,md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-active md-icon,md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused,md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused md-icon{color:"{{warn-contrast}}"}md-toolbar.md-warn>md-tabs.md-THEME_NAME-theme>md-tabs-wrapper>md-tabs-canvas>md-pagination-wrapper>md-tab-item:not([disabled]).md-focused{background:"{{warn-contrast-0.1}}"}md-toast.md-THEME_NAME-theme .md-toast-content{background-color:#323232;color:"{{background-50}}"}md-toast.md-THEME_NAME-theme .md-toast-content .md-button{color:"{{background-50}}"}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight{color:"{{accent-color}}"}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-primary{color:"{{primary-color}}"}md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn{color:"{{warn-color}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar){background-color:"{{primary-color}}";color:"{{primary-contrast}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon{color:"{{primary-contrast}}";fill:"{{primary-contrast}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) .md-button[disabled] md-icon{color:"{{primary-contrast-0.26}}";fill:"{{primary-contrast-0.26}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent{background-color:"{{accent-color}}";color:"{{accent-contrast}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-ink-ripple{color:"{{accent-contrast}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent md-icon{color:"{{accent-contrast}}";fill:"{{accent-contrast}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-button[disabled] md-icon{color:"{{accent-contrast-0.26}}";fill:"{{accent-contrast-0.26}}"}md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn{background-color:"{{warn-color}}";color:"{{warn-contrast}}"}.md-panel.md-tooltip.md-THEME_NAME-theme{color:"{{background-700-contrast}}";background-color:"{{background-700}}"}body.md-THEME_NAME-theme,html.md-THEME_NAME-theme{color:"{{foreground-1}}";background-color:"{{background-color}}"}');
}()}(window,window.angular),window.ngMaterial={version:{full:"1.1.4"}}},192:function(t,e,n){n(2),n(8),n(9),n(191),t.exports="ngMaterial"},193:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(){function t(t,e){if(t)return i(t)?t.indexOf(e)>=0:t.hasOwnProperty(e)}return["$animate",function(e){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(n,r,o,a,s){var c,u=r[0],l=o.ngMessage||o.when,d=o.ngMessageExp||o.whenExp,h=function(t){c=t?i(t)?t:t.split(/[\s,]+/):null,a.reRender()};d?(h(n.$eval(d)),n.$watchCollection(d,h)):h(l);var p,m;a.register(u,m={test:function(e){return t(c,e)},attach:function(){p||s(function(t,n){e.enter(t,null,r),p=t;var i=p.$$attachId=a.getAttachId();p.on("$destroy",function(){p&&p.$$attachId===i&&(a.deregister(u),m.detach()),n.$destroy()})})},detach:function(){if(p){var t=p;p=null,e.leave(t)}}})}}}]}var r,i,o,a;e.module("ngMessages",[],function(){r=e.forEach,i=e.isArray,o=e.isString,a=e.element}).info({angularVersion:"1.6.4"}).directive("ngMessages",["$animate",function(t){function e(t,e){return o(e)&&0===e.length||n(t.$eval(e))}function n(t){return o(t)?t.length:!!t}var i="ng-active",a="ng-inactive";return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(o,s,c){function u(t,e){for(var n=e,r=[];n&&n!==t;){var i=n.$$ngMessageNode;if(i&&i.length)return g[i];n.childNodes.length&&r.indexOf(n)===-1?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}function l(t,e,n){var r=g[n];if(h.head){var i=u(t,e);i?(r.next=i.next,i.next=r):(r.next=h.head,h.head=r)}else h.head=r}function d(t,e,n){var r=g[n],i=u(t,e);i?i.next=r.next:h.head=r.next}var h=this,p=0,m=0;this.getAttachId=function(){return m++};var f,v,g=this.messages={};this.render=function(u){u=u||{},f=!1,v=u;for(var l=e(s,c.ngMessagesMultiple)||e(s,c.multiple),d=[],p={},m=h.head,g=!1,b=0;null!=m;){b++;var $=m.message,y=!1;g||r(u,function(t,e){if(!y&&n(t)&&$.test(e)){if(p[e])return;p[e]=!0,y=!0,$.attach()}}),y?g=!l:d.push($),m=m.next}r(d,function(t){t.detach()}),d.length!==b?t.setClass(o,i,a):t.setClass(o,a,i)},s.$watchCollection(c.ngMessages||c.for,h.render),o.on("$destroy",function(){r(g,function(t){t.message.detach()})}),this.reRender=function(){f||(f=!0,s.$evalAsync(function(){f&&v&&h.render(v)}))},this.register=function(t,e){var n=p.toString();g[n]={message:e},l(o[0],t,n),t.$$ngMessageNode=n,p++,h.reRender()},this.deregister=function(t){var e=t.$$ngMessageNode;delete t.$$ngMessageNode,d(o[0],t,e),delete g[e],h.reRender()}}]}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(t,e,n){function r(t,r){var i=n.$$createComment?n.$$createComment("ngMessagesInclude",r):e[0].createComment(" ngMessagesInclude: "+r+" "),o=a(i);t.after(o),t.remove()}return{restrict:"AE",require:"^^ngMessages",link:function(e,i,a){var s=a.ngMessagesInclude||a.src;t(s).then(function(t){e.$$destroyed||(o(t)&&!t.trim()?r(i,s):n(t)(e,function(t){i.after(t),r(i,s)}))})}}}]).directive("ngMessage",n()).directive("ngMessageExp",n())}(window,window.angular)},194:function(t,e,n){n(193),t.exports="ngMessages"},195:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(t){return null!=t&&""!==t&&"hasOwnProperty"!==t&&a.test("."+t)}function r(t,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a<s&&e.isDefined(t);a++){var c=i[a];t=null!==t?t[c]:void 0}return t}function i(t,n){n=n||{},e.forEach(n,function(t,e){delete n[e]});for(var r in t)!t.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=t[r]);return n}var o=e.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;e.module("ngResource",["ng"]).info({angularVersion:"1.6.4"}).provider("$resource",function(){var t=/^https?:\/\/\[[^\]]*][^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,c,u){function l(t,e){this.template=t,this.defaults=m({},n.defaults,e),this.urlParams={}}function d(t,e,y,E){function w(t,n){var i={};return n=m({},e,n),p(n,function(e,n){b(e)&&(e=e(t)),i[n]=e&&e.charAt&&"@"===e.charAt(0)?r(t,e.substr(1)):e}),i}function C(t){return t.resource}function _(t){i(t||{},this)}var x=new l(t,E);return y=m({},n.defaults.actions,y),_.prototype.toJSON=function(){var t=m({},this);return delete t.$promise,delete t.$resolved,delete t.$cancelRequest,t},p(y,function(t,e){var n=t.hasBody===!0||t.hasBody!==!1&&/^(POST|PUT|PATCH)$/i.test(t.method),r=t.timeout,l=g(t.cancellable)?t.cancellable:x.defaults.cancellable;r&&!$(r)&&(s.debug("ngResource:\n  Only numeric values are allowed as `timeout`.\n  Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete t.timeout,r=null),_[e]=function(s,d,g,$){function y(t){L.catch(h),k.resolve(t)}var E,M,A,T={};switch(arguments.length){case 4:A=$,M=g;case 3:case 2:if(!b(d)){T=s,E=d,M=g;break}if(b(s)){M=s,A=d;break}M=d,A=g;case 1:b(s)?M=s:n?E=s:T=s;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var k,S,N=this instanceof _,D=N?E:t.isArray?[]:new _(E),O={},I=t.interceptor&&t.interceptor.response||C,H=t.interceptor&&t.interceptor.responseError||void 0,P=!!A,R=!!H;p(t,function(t,e){switch(e){default:O[e]=f(t);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!N&&l&&(k=c.defer(),O.timeout=k.promise,r&&(S=u(k.resolve,r))),n&&(O.data=E),x.setUrlParams(O,m({},w(E,t.params||{}),T),t.url);var L=a(O).then(function(n){var r=n.data;if(r){if(v(r)!==!!t.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",e,t.isArray?"array":"object",v(r)?"array":"object",O.method,O.url);if(t.isArray)D.length=0,p(r,function(t){"object"==typeof t?D.push(new _(t)):D.push(t)});else{var a=D.$promise;i(r,D),D.$promise=a}}return n.resource=D,n});return L=L.finally(function(){D.$resolved=!0,!N&&l&&(D.$cancelRequest=h,u.cancel(S),k=S=O.timeout=null)}),L=L.then(function(t){var e=I(t);return(M||h)(e,t.headers,t.status,t.statusText),e},P||R?function(t){return P&&!R&&L.catch(h),P&&A(t),R?H(t):c.reject(t)}:void 0),N?L:(D.$promise=L,D.$resolved=!1,l&&(D.$cancelRequest=y),D)},_.prototype["$"+e]=function(t,n,r){b(t)&&(r=n,n=t,t={});var i=_[e].call(this,t,this,n,r);return i.$promise||i}}),_.bind=function(n){var r=m({},e,n);return d(t,r,y,E)},_}var h=e.noop,p=e.forEach,m=e.extend,f=e.copy,v=e.isArray,g=e.isDefined,b=e.isFunction,$=e.isNumber,y=e.$$encodeUriQuery,E=e.$$encodeUriSegment;return l.prototype={setUrlParams:function(e,n,r){var i,a,s=this,c=r||s.template,u="",l=s.urlParams=Object.create(null);p(c.split(/\W/),function(t){if("hasOwnProperty"===t)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(t)&&t&&new RegExp("(^|[^\\\\]):"+t+"(\\W|$)").test(c)&&(l[t]={isQueryParamValue:new RegExp("\\?.*=:"+t+"(?:\\W|$)").test(c)})}),c=c.replace(/\\:/g,":"),c=c.replace(t,function(t){return u=t,""}),n=n||{},p(s.urlParams,function(t,e){i=n.hasOwnProperty(e)?n[e]:s.defaults[e],g(i)&&null!==i?(a=t.isQueryParamValue?y(i,!0):E(i),c=c.replace(new RegExp(":"+e+"(\\W|$)","g"),function(t,e){return a+e})):c=c.replace(new RegExp("(/?):"+e+"(\\W|$)","g"),function(t,e,n){return"/"===n.charAt(0)?n:e+n})}),s.defaults.stripTrailingSlashes&&(c=c.replace(/\/+$/,"")||"/"),c=c.replace(/\/\.(?=\w+($|\?))/,"."),e.url=u+c.replace(/\/(\\|%5C)\./,"/."),p(n,function(t,n){s.urlParams[n]||(e.params=e.params||{},e.params[n]=t)})}},d}]})}(window,window.angular)},196:function(t,e,n){n(195),t.exports="ngResource"},197:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(t,e){if(c(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(u(t)){e=e||{};for(var i in t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i])}return e||t}function r(){function t(t,n){return e.extend(Object.create(t),n)}function r(t,e){var n=e.caseInsensitiveMatch,r={originalPath:t,regexp:t},i=r.keys=[];return t=t.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(t,e,n,r){var o="?"===r||"*?"===r?"?":null,a="*"===r||"*?"===r?"*":null;return i.push({name:n,optional:!!o}),e=e||"",""+(o?"":e)+"(?:"+(o?e:"")+(a&&"(.+?)"||"([^/]+)")+(o||"")+")"+(o||"")}).replace(/([\/$*])/g,"\\$1"),r.regexp=new RegExp("^"+t+"$",n?"i":""),r}c=e.isArray,u=e.isObject,l=e.isDefined,d=e.noop;var i={};this.when=function(t,o){var a=n(o);if(e.isUndefined(a.reloadOnSearch)&&(a.reloadOnSearch=!0),e.isUndefined(a.caseInsensitiveMatch)&&(a.caseInsensitiveMatch=this.caseInsensitiveMatch),i[t]=e.extend(a,t&&r(t,a)),t){var s="/"===t[t.length-1]?t.substr(0,t.length-1):t+"/";i[s]=e.extend({redirectTo:t},r(s,a))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(t){return"string"==typeof t&&(t={redirectTo:t}),this.when(null,t),this},h=!0,this.eagerInstantiationEnabled=function(t){return l(t)?(h=t,this):h},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(n,r,o,a,s,c,u,l){function h(t,e){var n=e.keys,r={};if(!e.regexp)return null;var i=e.regexp.exec(t);if(!i)return null;for(var o=1,a=i.length;o<a;++o){var s=n[o-1],c=i[o];s&&c&&(r[s.name]=c)}return r}function p(t){var r=x.current;w=y(),C=w&&r&&w.$$route===r.$$route&&e.equals(w.pathParams,r.pathParams)&&!w.reloadOnSearch&&!_,C||!r&&!w||n.$broadcast("$routeChangeStart",w,r).defaultPrevented&&t&&t.preventDefault()}function f(){var t=x.current,r=w;if(C)t.params=r.params,e.copy(t.params,o),n.$broadcast("$routeUpdate",t);else if(r||t){_=!1,x.current=r;var i=a.resolve(r);l.$$incOutstandingRequestCount(),i.then(v).then(g).then(function(a){return a&&i.then(b).then(function(i){r===x.current&&(r&&(r.locals=i,e.copy(r.params,o)),n.$broadcast("$routeChangeSuccess",r,t))})}).catch(function(e){r===x.current&&n.$broadcast("$routeChangeError",r,t,e)}).finally(function(){l.$$completeOutstandingRequest(d)})}}function v(t){var n={route:t,hasRedirection:!1};if(t)if(t.redirectTo)if(e.isString(t.redirectTo))n.path=E(t.redirectTo,t.params),n.search=t.params,n.hasRedirection=!0;else{var i=r.path(),o=r.search(),c=t.redirectTo(t.pathParams,i,o);e.isDefined(c)&&(n.url=c,n.hasRedirection=!0)}else if(t.resolveRedirectTo)return a.resolve(s.invoke(t.resolveRedirectTo)).then(function(t){return e.isDefined(t)&&(n.url=t,n.hasRedirection=!0),n});return n}function g(t){var e=!0;if(t.route!==x.current)e=!1;else if(t.hasRedirection){var n=r.url(),i=t.url;i?r.url(i).replace():i=r.path(t.path).search(t.search).replace().url(),i!==n&&(e=!1)}return e}function b(t){if(t){var n=e.extend({},t.resolve);e.forEach(n,function(t,r){n[r]=e.isString(t)?s.get(t):s.invoke(t,null,null,r)});var r=$(t);return e.isDefined(r)&&(n.$template=r),a.all(n)}}function $(t){var n,r;return e.isDefined(n=t.template)?e.isFunction(n)&&(n=n(t.params)):e.isDefined(r=t.templateUrl)&&(e.isFunction(r)&&(r=r(t.params)),e.isDefined(r)&&(t.loadedTemplateUrl=u.valueOf(r),n=c(r))),n}function y(){var n,o;return e.forEach(i,function(i,a){!o&&(n=h(r.path(),i))&&(o=t(i,{params:e.extend({},r.search(),n),pathParams:n}),o.$$route=i)}),o||i[null]&&t(i[null],{params:{},pathParams:{}})}function E(t,n){var r=[];return e.forEach((t||"").split(":"),function(t,e){if(0===e)r.push(t);else{var i=t.match(/(\w+)(?:[?*])?(.*)/),o=i[1];r.push(n[o]),r.push(i[2]||""),delete n[o]}}),r.join("")}var w,C,_=!1,x={routes:i,reload:function(){_=!0;var t={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,_=!1}};n.$evalAsync(function(){p(t),t.defaultPrevented||f()})},updateParams:function(t){if(!this.current||!this.current.$$route)throw m("norout","Tried updating route when with no current route");t=e.extend({},this.current.params,t),r.path(E(this.current.$$route.originalPath,t)),r.search(t)}};return n.$on("$locationChangeStart",p),n.$on("$locationChangeSuccess",f),x}]}function i(t){h&&t.get("$route")}function o(){this.$get=function(){return{}}}function a(t,n,r){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(i,o,a,s,c){function u(){p&&(r.cancel(p),p=null),d&&(d.$destroy(),d=null),h&&(p=r.leave(h),p.done(function(t){t!==!1&&(p=null)}),h=null)}function l(){var a=t.current&&t.current.locals,s=a&&a.$template;if(e.isDefined(s)){var l=i.$new(),p=t.current,v=c(l,function(t){r.enter(t,null,h||o).done(function(t){t===!1||!e.isDefined(m)||m&&!i.$eval(m)||n()}),u()});h=v,d=p.scope=l,d.$emit("$viewContentLoaded"),d.$eval(f)}else u()}var d,h,p,m=a.autoscroll,f=a.onload||"";i.$on("$routeChangeSuccess",l),l()}}}function s(t,e,n){return{restrict:"ECA",priority:-400,link:function(r,i){var o=n.current,a=o.locals;i.html(a.$template);var s=t(i.contents());if(o.controller){a.$scope=r;var c=e(o.controller,a);o.controllerAs&&(r[o.controllerAs]=c),i.data("$ngControllerController",c),i.children().data("$ngControllerController",c)}r[o.resolveAs||"$resolve"]=a,s(r)}}}var c,u,l,d,h,p=e.module("ngRoute",[]).info({angularVersion:"1.6.4"}).provider("$route",r).run(i),m=e.$$minErr("ngRoute");i.$inject=["$injector"],p.provider("$routeParams",o),p.directive("ngView",a),p.directive("ngView",s),a.$inject=["$route","$anchorScroll","$animate"],s.$inject=["$compile","$controller","$route"]}(window,window.angular)},198:function(t,e,n){n(197),t.exports="ngRoute"},199:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t,e){"use strict";function n(){function n(t,e){var n,r={},i=t.split(",");for(n=0;n<i.length;n++)r[e?c(i[n]):i[n]]=!0;return r}function r(e,n){null===e||void 0===e?e="":"string"!=typeof e&&(e=""+e),y.innerHTML=e;var r=5;do{if(0===r)throw p("uinput","Failed to sanitize html because the input is unstable");r--,t.document.documentMode&&g(y),e=y.innerHTML,y.innerHTML=e}while(e!==y.innerHTML);for(var i=y.firstChild;i;){switch(i.nodeType){case 1:n.start(i.nodeName.toLowerCase(),m(i.attributes));break;case 3:n.chars(i.textContent)}var o;if(!(o=i.firstChild)&&(1===i.nodeType&&n.end(i.nodeName.toLowerCase()),o=b("nextSibling",i),!o))for(;null==o&&(i=b("parentNode",i),i!==y);)o=b("nextSibling",i),1===i.nodeType&&n.end(i.nodeName.toLowerCase());i=o}for(;i=y.firstChild;)y.removeChild(i)}function m(t){for(var e={},n=0,r=t.length;n<r;n++){var i=t[n];e[i.name]=i.value}return e}function f(t){return t.replace(/&/g,"&amp;").replace(E,function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return"&#"+(1024*(e-55296)+(n-56320)+65536)+";"}).replace(w,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function v(t,e){var n=!1,r=i(t,t.push);return{start:function(t,i){t=c(t),!n&&S[t]&&(n=t),n||N[t]!==!0||(r("<"),r(t),a(i,function(n,i){var o=c(i),a="img"===t&&"src"===o||"background"===o;H[o]!==!0||D[o]===!0&&!e(n,a)||(r(" "),r(i),r('="'),r(f(n)),r('"'))}),r(">"))},end:function(t){t=c(t),n||N[t]!==!0||C[t]===!0||(r("</"),r(t),r(">")),t==n&&(n=!1)},chars:function(t){n||r(f(t))}}}function g(e){for(;e;){if(e.nodeType===t.Node.ELEMENT_NODE)for(var n=e.attributes,r=0,i=n.length;r<i;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(e.removeAttributeNode(o),r--,i--)}var s=e.firstChild;s&&g(s),e=b("nextSibling",e)}}function b(t,e){var n=e[t];if(n&&l.call(e,n))throw p("elclob","Failed to sanitize html because the element is clobbered: {0}",e.outerHTML||e.outerText);return n}var $=!1;this.$get=["$$sanitizeUri",function(t){return $&&o(N,k),function(e){var n=[];return d(e,h(n,function(e,n){return!/^unsafe:/.test(t(e,n))})),n.join("")}}],this.enableSvg=function(t){return s(t)?($=t,this):$},i=e.bind,o=e.extend,a=e.forEach,s=e.isDefined,c=e.lowercase,u=e.noop,d=r,h=v,l=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};var y,E=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,w=/([^#-~ |!])/g,C=n("area,br,col,hr,img,wbr"),_=n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x=n("rp,rt"),M=o({},x,_),A=o({},_,n("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),T=o({},x,n("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),k=n("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),S=n("script,style"),N=o({},C,A,T,M),D=n("background,cite,href,longdesc,src,xlink:href"),O=n("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),I=n("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),H=o({},D,I,O);!function(t){var e;if(!t.document||!t.document.implementation)throw p("noinert","Can't create an inert html document");e=t.document.implementation.createHTMLDocument("inert");var n=e.documentElement||e.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)y=r[0];else{var i=e.createElement("html");y=e.createElement("body"),i.appendChild(y),e.appendChild(i)}}(t)}function r(t){var e=[],n=h(e,u);return n.chars(t),e.join("")}var i,o,a,s,c,u,l,d,h,p=e.$$minErr("$sanitize");e.module("ngSanitize",[]).provider("$sanitize",n).info({angularVersion:"1.6.4"}),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=e.$$minErr("linky"),a=e.isDefined,s=e.isFunction,c=e.isObject,u=e.isString;return function(e,l,d){function h(t){t&&$.push(r(t))}function p(t,e){var n,r=g(t);$.push("<a ");for(n in r)$.push(n+'="'+r[n]+'" ');!a(l)||"target"in r||$.push('target="',l,'" '),$.push('href="',t.replace(/"/g,"&quot;"),'">'),h(e),$.push("</a>")}if(null==e||""===e)return e;if(!u(e))throw o("notstring","Expected string but received: {0}",e);for(var m,f,v,g=s(d)?d:c(d)?function(){return d}:function(){return{}},b=e,$=[];m=b.match(n);)f=m[0],m[2]||m[4]||(f=(m[3]?"http://":"mailto:")+f),v=m.index,h(b.substr(0,v)),p(f,m[0].replace(i,"")),b=b.substring(v+m[0].length);return h(b),t($.join(""))}}])}(window,window.angular)},200:function(t,e,n){n(199),t.exports="ngSanitize"},201:function(t,e){/**
	 * @license AngularJS v1.6.4
	 * (c) 2010-2017 Google, Inc. http://angularjs.org
	 * License: MIT
	 */
!function(t){"use strict";function e(t,e){return e=e||Error,function(){var n,r,i=arguments[0],o=arguments[1],a="["+(t?t+":":"")+i+"] ",s=W(arguments,2).map(function(t){return _t(t,Xr.objectMaxDepth)});for(a+=o.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1);return e<s.length?s[e]:t}),a+="\nhttp://errors.angularjs.org/1.6.4/"+(t?t+"/":"")+i,r=0,n="?";r<s.length;r++,n="&")a+=n+"p"+r+"="+encodeURIComponent(s[r]);return new e(a)}}function n(t){return E(t)?void(y(t.objectMaxDepth)&&(Xr.objectMaxDepth=r(t.objectMaxDepth)?t.objectMaxDepth:NaN)):Xr}function r(t){return _(t)&&t>0}function i(t){if(null==t||T(t))return!1;if(mi(t)||C(t)||ni&&t instanceof ni)return!0;var e="length"in Object(t)&&t.length;return _(e)&&(e>=0&&(e-1 in t||t instanceof Array)||"function"==typeof t.item)}function o(t,e,n){var r,a;if(t)if(M(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else if(mi(t)||i(t)){var s="object"!=typeof t;for(r=0,a=t.length;r<a;r++)(s||r in t)&&e.call(n,t[r],r,t)}else if(t.forEach&&t.forEach!==o)t.forEach(e,n,t);else if(w(t))for(r in t)e.call(n,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else for(r in t)Gr.call(t,r)&&e.call(n,t[r],r,t);return t}function a(t,e,n){for(var r=Object.keys(t).sort(),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function s(t){return function(e,n){t(n,e)}}function c(){return++hi}function u(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function l(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if(E(a)||M(a))for(var s=Object.keys(a),c=0,d=s.length;c<d;c++){var h=s[c],p=a[h];n&&E(p)?x(p)?t[h]=new Date(p.valueOf()):A(p)?t[h]=new RegExp(p):p.nodeName?t[h]=p.cloneNode(!0):R(p)?t[h]=p.clone():(E(t[h])||(t[h]=mi(p)?[]:{}),l(t[h],[p],!0)):t[h]=p}}return u(t,r),t}function d(t){return l(t,oi.call(arguments,1),!1)}function h(t){return l(t,oi.call(arguments,1),!0)}function p(t){return parseInt(t,10)}function m(t,e){return d(Object.create(t),e)}function f(){}function v(t){return t}function g(t){return function(){return t}}function b(t){return M(t.toString)&&t.toString!==ci}function $(t){return"undefined"==typeof t}function y(t){return"undefined"!=typeof t}function E(t){return null!==t&&"object"==typeof t}function w(t){return null!==t&&"object"==typeof t&&!ui(t)}function C(t){return"string"==typeof t}function _(t){return"number"==typeof t}function x(t){return"[object Date]"===ci.call(t)}function M(t){return"function"==typeof t}function A(t){return"[object RegExp]"===ci.call(t)}function T(t){return t&&t.window===t}function k(t){return t&&t.$evalAsync&&t.$watch}function S(t){return"[object File]"===ci.call(t)}function N(t){return"[object FormData]"===ci.call(t)}function D(t){return"[object Blob]"===ci.call(t)}function O(t){return"boolean"==typeof t}function I(t){return t&&M(t.then)}function H(t){return t&&_(t.length)&&fi.test(ci.call(t))}function P(t){return"[object ArrayBuffer]"===ci.call(t)}function R(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function L(t){var e,n={},r=t.split(",");for(e=0;e<r.length;e++)n[r[e]]=!0;return n}function F(t){return Zr(t.nodeName||t[0]&&t[0].nodeName)}function j(t,e){return Array.prototype.indexOf.call(t,e)!==-1}function q(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function V(t,e,n){function i(t,e,n){if(n--,n<0)return"...";var r,i=e.$$hashKey;if(mi(t))for(var o=0,s=t.length;o<s;o++)e.push(a(t[o],n));else if(w(t))for(r in t)e[r]=a(t[r],n);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=a(t[r],n));else for(r in t)Gr.call(t,r)&&(e[r]=a(t[r],n));return u(e,i),e}function a(t,e){if(!E(t))return t;var n=c.indexOf(t);if(n!==-1)return l[n];if(T(t)||k(t))throw li("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,o=s(t);return void 0===o&&(o=mi(t)?[]:Object.create(ui(t)),r=!0),c.push(t),l.push(o),r?i(t,o,e):o}function s(t){switch(ci.call(t)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new t.constructor(a(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(M(t.cloneNode))return t.cloneNode(!0)}var c=[],l=[];if(n=r(n)?n:NaN,e){if(H(e)||P(e))throw li("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw li("cpi","Can't copy! Source and destination are identical.");return mi(e)?e.length=0:o(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),c.push(t),l.push(e),i(t,e,n)}return a(t,n)}function B(t,e){return t===e||t!==t&&e!==e}function U(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!==t&&e!==e)return!0;var n,r,i,o=typeof t,a=typeof e;if(o===a&&"object"===o){if(!mi(t)){if(x(t))return!!x(e)&&B(t.getTime(),e.getTime());if(A(t))return!!A(e)&&t.toString()===e.toString();if(k(t)||k(e)||T(t)||T(e)||mi(e)||x(e)||A(e))return!1;i=$t();for(r in t)if("$"!==r.charAt(0)&&!M(t[r])){if(!U(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&"$"!==r.charAt(0)&&y(e[r])&&!M(e[r]))return!1;return!0}if(!mi(e))return!1;if((n=t.length)===e.length){for(r=0;r<n;r++)if(!U(t[r],e[r]))return!1;return!0}}return!1}function z(t,e,n){return t.concat(oi.call(e,n))}function W(t,e){return oi.call(t,e||0)}function Y(t,e){var n=arguments.length>2?W(arguments,2):[];return!M(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,z(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function K(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:T(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":k(n)&&(r="$SCOPE"),r}function G(t,e){if(!$(t))return _(e)||(e=e?2:null),JSON.stringify(t,K,e)}function X(t){return C(t)?JSON.parse(t):t}function Z(t,e){t=t.replace(yi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return pi(n)?e:n}function Q(t,e){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+e),t}function J(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset(),i=Z(e,r);return Q(t,n*(i-r))}function tt(t){t=ni(t).clone();try{t.empty()}catch(t){}var e=ni("<div>").append(t).html();try{return t[0].nodeType===Ai?Zr(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+Zr(e)})}catch(t){return Zr(e)}}function et(t){try{return decodeURIComponent(t)}catch(t){}}function nt(t){var e={};return o((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),n=t.indexOf("="),n!==-1&&(r=t.substring(0,n),i=t.substring(n+1)),r=et(r),y(r)&&(i=!y(i)||et(i),Gr.call(e,r)?mi(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function rt(t){var e=[];return o(t,function(t,n){mi(t)?o(t,function(t){e.push(ot(n,!0)+(t===!0?"":"="+ot(t,!0)))}):e.push(ot(n,!0)+(t===!0?"":"="+ot(t,!0)))}),e.length?e.join("&"):""}function it(t){return ot(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ot(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function at(t,e){var n,r,i=Ei.length;for(r=0;r<i;++r)if(n=Ei[r]+e,C(n=t.getAttribute(n)))return n;return null}function st(e){var n=e.currentScript;if(!n)return!0;if(!(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement))return!1;var r=n.attributes,i=[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")];return i.every(function(t){if(!t)return!0;if(!t.value)return!1;var n=e.createElement("a");if(n.href=t.value,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}function ct(e,n){var r,i,a={};if(o(Ei,function(t){var n=t+"app";!r&&e.hasAttribute&&e.hasAttribute(n)&&(r=e,i=e.getAttribute(n))}),o(Ei,function(t){var n,o=t+"app";!r&&(n=e.querySelector("["+o.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(o))}),r){if(!wi)return void t.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==at(r,"strict-di"),n(r,i?[i]:[],a)}}function ut(e,n,r){E(r)||(r={});var i={strictDi:!1};r=d(i,r);var a=function(){if(e=ni(e),e.injector()){var i=e[0]===t.document?"document":tt(e);throw li("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}n=n||[],n.unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=de(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,c=/^NG_DEFER_BOOTSTRAP!/;return t&&s.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(s,"")),t&&!c.test(t.name)?a():(t.name=t.name.replace(c,""),di.resumeBootstrap=function(t){return o(t,function(t){n.push(t)}),a()},void(M(di.resumeDeferredBootstrap)&&di.resumeDeferredBootstrap()))}function lt(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function dt(t){var e=di.element(t).injector();if(!e)throw li("test","no injector found for element argument to getTestability");return e.get("$$testability")}function ht(t,e){return e=e||"_",t.replace(Ci,function(t,n){return(n?e:"")+t.toLowerCase()})}function pt(){var e;if(!_i){var n=$i();ri=$(n)?t.jQuery:n?t[n]:void 0,ri&&ri.fn.on?(ni=ri,d(ri.fn,{scope:Ui.scope,isolateScope:Ui.isolateScope,controller:Ui.controller,injector:Ui.injector,inheritedData:Ui.inheritedData}),e=ri.cleanData,ri.cleanData=function(t){for(var n,r,i=0;null!=(r=t[i]);i++)n=ri._data(r,"events"),n&&n.$destroy&&ri(r).triggerHandler("$destroy");e(t)}):ni=Pt,di.element=ni,_i=!0}}function mt(t,e,n){if(!t)throw li("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function ft(t,e,n){return n&&mi(t)&&(t=t[t.length-1]),mt(M(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function vt(t,e){if("hasOwnProperty"===t)throw li("badname","hasOwnProperty is not a valid {0} name",e)}function gt(t,e,n){if(!e)return t;for(var r,i=e.split("."),o=t,a=i.length,s=0;s<a;s++)r=i[s],t&&(t=(o=t)[r]);return!n&&M(t)?Y(o,t):t}function bt(t){for(var e,n=t[0],r=t[t.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(e||t[i]!==n)&&(e||(e=ni(oi.call(t,0,i))),e.push(n));return e||t}function $t(){return Object.create(null)}function yt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!b(t)||mi(t)||x(t)?G(t):t.toString()}return t}function Et(t){function n(t,e,n){return t[e]||(t[e]=n())}var r=e("$injector"),i=e("ng"),o=n(t,"angular",Object);return o.$$minErr=o.$$minErr||e,n(o,"module",function(){var t={};return function(e,o,a){var s={},c=function(t,e){if("hasOwnProperty"===t)throw i("badname","hasOwnProperty is not a valid {0} name",e)};return c(e,"module"),o&&t.hasOwnProperty(e)&&(t[e]=null),n(t,e,function(){function t(t,e,n,r){return r||(r=c),function(){return r[n||"push"]([t,e,arguments]),h}}function n(t,n,r){return r||(r=c),function(i,o){return o&&M(o)&&(o.$$moduleName=e),r.push([t,n,arguments]),h}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",e);var c=[],u=[],l=[],d=t("$injector","invoke","push",u),h={_invokeQueue:c,_configBlocks:u,_runBlocks:l,info:function(t){if(y(t)){if(!E(t))throw i("aobj","Argument '{0}' must be an object","value");return s=t,this}return s},requires:o,name:e,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:n("$provide","decorator",u),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:d,run:function(t){return l.push(t),this}};return a&&d(a),h})}})}function wt(t,e){if(mi(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(E(t)){e=e||{};for(var i in t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i])}return e||t}function Ct(t,e){var n=[];return r(e)&&(t=V(t,null,e)),JSON.stringify(t,function(t,e){if(e=K(t,e),E(e)){if(n.indexOf(e)>=0)return"...";n.push(e)}return e})}function _t(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):$(t)?"undefined":"string"!=typeof t?Ct(t,e):t}function xt(r){d(r,{errorHandlingConfig:n,bootstrap:ut,copy:V,extend:d,merge:h,equals:U,element:ni,forEach:o,injector:de,noop:f,bind:Y,toJson:G,fromJson:X,identity:v,isUndefined:$,isDefined:y,isString:C,isFunction:M,isObject:E,isNumber:_,isElement:R,isArray:mi,version:Ni,isDate:x,lowercase:Zr,uppercase:Qr,callbacks:{$$counter:0},getTestability:dt,reloadWithDebugInfo:lt,$$minErr:e,$$csp:bi,$$encodeUriSegment:it,$$encodeUriQuery:ot,$$stringify:yt}),ii=Et(t),ii("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:Sn}),t.provider("$compile",we).directive({a:Jo,input:$a,textarea:$a,form:oa,script:ps,select:vs,option:gs,ngBind:wa,ngBindHtml:_a,ngBindTemplate:Ca,ngClass:Ma,ngClassEven:Ta,ngClassOdd:Aa,ngCloak:ka,ngController:Sa,ngForm:aa,ngHide:as,ngIf:Oa,ngInclude:Ia,ngInit:Pa,ngNonBindable:Za,ngPluralize:es,ngRepeat:ns,ngShow:os,ngStyle:ss,ngSwitch:cs,ngSwitchWhen:us,ngSwitchDefault:ls,ngOptions:ts,ngTransclude:hs,ngModel:Ka,ngList:Ra,ngChange:xa,pattern:$s,ngPattern:$s,required:bs,ngRequired:bs,minlength:Es,ngMinlength:Es,maxlength:ys,ngMaxlength:ys,ngValue:Ea,ngModelOptions:Xa}).directive({ngInclude:Ha}).directive(ta).directive(Na),t.provider({$anchorScroll:he,$animate:co,$animateCss:ho,$$animateJs:ao,$$animateQueue:so,$$AnimateRunner:lo,$$animateAsyncRun:uo,$browser:be,$cacheFactory:$e,$controller:Te,$document:ke,$$isDocumentHidden:Se,$exceptionHandler:Ne,$filter:zn,$$forceReflow:$o,$interpolate:ze,$interval:We,$http:qe,$httpParamSerializer:Oe,$httpParamSerializerJQLike:Ie,$httpBackend:Be,$xhrFactory:Ve,$jsonpCallbacks:Ao,$location:cn,$log:un,$parse:_n,$rootScope:kn,$q:xn,$$q:Mn,$sce:Hn,$sceDelegate:In,$sniffer:Pn,$templateCache:ye,$templateRequest:Rn,$$testability:Ln,$timeout:Fn,$window:Vn,$$rAF:Tn,$$jqLite:ie,$$Map:Xi,$$cookieReader:Un})}]).info({angularVersion:"1.6.4"})}function Mt(){return++Oi}function At(t){return kt(t.replace(Hi,"ms-"))}function Tt(t,e){return e.toUpperCase()}function kt(t){return t.replace(Ii,Tt)}function St(t){return!Fi.test(t)}function Nt(t){var e=t.nodeType;return e===xi||!e||e===ki}function Dt(t){for(var e in Di[t.ng339])return!0;return!1}function Ot(t,e){var n,r,i,a,s=e.createDocumentFragment(),c=[];if(St(t))c.push(e.createTextNode(t));else{for(n=s.appendChild(e.createElement("div")),r=(ji.exec(t)||["",""])[1].toLowerCase(),i=Vi[r]||Vi._default,n.innerHTML=i[1]+t.replace(qi,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;c=z(c,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",o(c,function(t){s.appendChild(t)}),s}function It(e,n){n=n||t.document;var r;return(r=Li.exec(e))?[n.createElement(r[1])]:(r=Ot(e,n))?r.childNodes:[]}function Ht(t,e){var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)}function Pt(t){if(t instanceof Pt)return t;var e;if(C(t)&&(t=vi(t),e=!0),!(this instanceof Pt)){if(e&&"<"!==t.charAt(0))throw Ri("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Pt(t)}e?Wt(this,It(t)):M(t)?Qt(t):Wt(this,t)}function Rt(t){return t.cloneNode(!0)}function Lt(t,e){!e&&Nt(t)&&ni.cleanData([t]),t.querySelectorAll&&ni.cleanData(t.querySelectorAll("*"))}function Ft(t,e,n,r){if(y(r))throw Ri("offargs","jqLite#off() does not support the `selector` argument");var i=qt(t),a=i&&i.events,s=i&&i.handle;if(s)if(e){var c=function(e){var r=a[e];y(n)&&q(r||[],n),y(n)&&r&&r.length>0||(t.removeEventListener(e,s),delete a[e])};o(e.split(" "),function(t){c(t),Pi[t]&&c(Pi[t])})}else for(e in a)"$destroy"!==e&&t.removeEventListener(e,s),delete a[e]}function jt(t,e){var n=t.ng339,r=n&&Di[n];if(r){if(e)return void delete r.data[e];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Ft(t)),delete Di[n],t.ng339=void 0}}function qt(t,e){var n=t.ng339,r=n&&Di[n];return e&&!r&&(t.ng339=n=Mt(),r=Di[n]={events:{},data:{},handle:void 0}),r}function Vt(t,e,n){if(Nt(t)){var r,i=y(n),o=!i&&e&&!E(e),a=!e,s=qt(t,!o),c=s&&s.data;if(i)c[kt(e)]=n;else{if(a)return c;if(o)return c&&c[kt(e)];for(r in e)c[kt(r)]=e[r]}}}function Bt(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function Ut(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",vi((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+vi(e)+" "," ")))})}function zt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=vi(t),n.indexOf(" "+t+" ")===-1&&(n+=t+" ")}),t.setAttribute("class",vi(n))}}function Wt(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function Yt(t,e){return Kt(t,"$"+(e||"ngController")+"Controller")}function Kt(t,e,n){t.nodeType===ki&&(t=t.documentElement);for(var r=mi(e)?e:[e];t;){for(var i=0,o=r.length;i<o;i++)if(y(n=ni.data(t,r[i])))return n;t=t.parentNode||t.nodeType===Si&&t.host}}function Gt(t){for(Lt(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Xt(t,e){e||Lt(t);var n=t.parentNode;n&&n.removeChild(t)}function Zt(e,n){n=n||t,"complete"===n.document.readyState?n.setTimeout(e):ni(n).on("load",e)}function Qt(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}function Jt(t,e){var n=zi[e.toLowerCase()];return n&&Wi[F(t)]&&n}function te(t){return Yi[t]}function ee(t,e){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=e[r||n.type],o=i?i.length:0;if(o){if($(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||ne;o>1&&(i=wt(i));for(var c=0;c<o;c++)n.isImmediatePropagationStopped()||s(t,n,i[c])}};return n.elem=t,n}function ne(t,e,n){n.call(t,e)}function re(t,e,n){var r=e.relatedTarget;r&&(r===t||Bi.call(t,r))||n.call(t,e)}function ie(){this.$get=function(){return d(Pt,{hasClass:function(t,e){return t.attr&&(t=t[0]),Bt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),zt(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),Ut(t,e)}})}}function oe(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var r=typeof t;return n="function"===r||"object"===r&&null!==t?t.$$hashKey=r+":"+(e||c)():r+":"+t}function ae(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function se(t){return Function.prototype.toString.call(t)}function ce(t){var e=se(t).replace(eo,""),n=e.match(Zi)||e.match(Qi);return n}function ue(t){var e=ce(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function le(t,e,n){var r,i,a;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw C(n)&&n||(n=t.name||ue(t)),no("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=ce(t),o(i[1].split(Ji),function(t){t.replace(to,function(t,e,n){r.push(n)})})}t.$inject=r}}else mi(t)?(a=t.length-1,ft(t[a],"fn"),r=t.slice(0,a)):ft(t,"fn",!0);return r}function de(t,e){function n(t){return function(e,n){return E(e)?void o(e,s(t)):t(e,n)}}function r(t,e){if(vt(t,"service"),(M(e)||mi(e))&&(e=w.instantiate(e)),!e.$get)throw no("pget","Provider '{0}' must define $get factory method.",t);return y[t+f]=e}function i(t,e){return function(){var n=A.invoke(e,this);if($(n))throw no("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function a(t,e,n){return r(t,{$get:n!==!1?i(t,e):e})}function c(t,e){return a(t,["$injector",function(t){return t.instantiate(e)}])}function u(t,e){return a(t,g(e),!1)}function l(t,e){vt(t,"constant"),y[t]=e,_[t]=e}function d(t,e){var n=w.get(t+f),r=n.$get;n.$get=function(){var t=A.invoke(r,n);return A.invoke(e,null,{$delegate:t})}}function h(t){mt($(t)||mi(t),"modulesToLoad","not an array");var e,n=[];return o(t,function(t){function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=w.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(t)){b.set(t,!0);try{C(t)?(e=ii(t),A.modules[t]=e,n=n.concat(h(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):M(t)?n.push(w.invoke(t)):mi(t)?n.push(w.invoke(t)):ft(t,"module")}catch(e){throw mi(t)&&(t=t[t.length-1]),e.message&&e.stack&&e.stack.indexOf(e.message)===-1&&(e=e.message+"\n"+e.stack),no("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}}),n}function p(t,n){function r(e,r){if(t.hasOwnProperty(e)){if(t[e]===m)throw no("cdep","Circular dependency found: {0}",e+" <- "+v.join(" <- "));return t[e]}try{return v.unshift(e),t[e]=m,t[e]=n(e,r),t[e]}catch(n){throw t[e]===m&&delete t[e],n}finally{v.shift()}}function i(t,n,i){for(var o=[],a=de.$$annotate(t,e,i),s=0,c=a.length;s<c;s++){var u=a[s];if("string"!=typeof u)throw no("itkn","Incorrect injection token! Expected service name as string, got {0}",u);o.push(n&&n.hasOwnProperty(u)?n[u]:r(u,i))}return o}function o(t){if(ei||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return O(e)||(e=t.$$ngIsClass=/^(?:class\b|constructor\()/.test(se(t))),e}function a(t,e,n,r){"string"==typeof n&&(r=n,n=null);var a=i(t,n,r);return mi(t)&&(t=t[t.length-1]),o(t)?(a.unshift(null),new(Function.prototype.bind.apply(t,a))):t.apply(e,a)}function s(t,e,n){var r=mi(t)?t[t.length-1]:t,o=i(t,e,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:de.$$annotate,has:function(e){return y.hasOwnProperty(e+f)||t.hasOwnProperty(e)}}}e=e===!0;var m={},f="Provider",v=[],b=new Gi,y={$provide:{provider:n(r),factory:n(a),service:n(c),value:n(u),constant:n(l),decorator:d}},w=y.$injector=p(y,function(t,e){throw di.isString(e)&&v.push(e),no("unpr","Unknown provider: {0}",v.join(" <- "))}),_={},x=p(_,function(t,e){var n=w.get(t+f,e);return A.invoke(n.$get,n,void 0,t)}),A=x;y["$injector"+f]={$get:g(x)},A.modules=w.modules=$t();var T=h(t);return A=x.get("$injector"),A.strictDi=e,o(T,function(t){t&&A.invoke(t)}),A}function he(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(e,n,r){function i(t){var e=null;return Array.prototype.some.call(t,function(t){if("a"===F(t))return e=t,!0}),e}function o(){var t=s.yOffset;if(M(t))t=t();else if(R(t)){var n=t[0],r=e.getComputedStyle(n);t="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else _(t)||(t=0);return t}function a(t){if(t){t.scrollIntoView();var n=o();if(n){var r=t.getBoundingClientRect().top;e.scrollBy(0,r-n)}}else e.scrollTo(0,0)}function s(t){t=C(t)?t:_(t)?t.toString():n.hash();var e;t?(e=c.getElementById(t))?a(e):(e=i(c.getElementsByName(t)))?a(e):"top"===t&&a(null):a(null)}var c=e.document;return t&&r.$watch(function(){return n.hash()},function(t,e){t===e&&""===t||Zt(function(){r.$evalAsync(s)})}),s}]}function pe(t,e){return t||e?t?e?(mi(t)&&(t=t.join(" ")),mi(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function me(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.nodeType===io)return n}}function fe(t){C(t)&&(t=t.split(" "));var e=$t();return o(t,function(t){t.length&&(e[t]=!0)}),e}function ve(t){return E(t)?t:{}}function ge(t,e,n,r){function i(t){try{t.apply(null,W(arguments,1))}finally{if(g--,0===g)for(;b.length;)try{b.pop()()}catch(t){n.error(t)}}}function a(t){var e=t.indexOf("#");return e===-1?"":t.substr(e)}function s(){_=null,u()}function c(){y=x(),y=$(y)?null:y,U(y,T)&&(y=T),T=y,E=y}function u(){var t=E;c(),w===l.url()&&t===y||(w=l.url(),E=y,o(M,function(t){t(l.url(),y)}))}var l=this,d=t.location,h=t.history,p=t.setTimeout,m=t.clearTimeout,v={};l.isMock=!1;var g=0,b=[];l.$$completeOutstandingRequest=i,l.$$incOutstandingRequestCount=function(){g++},l.notifyWhenNoOutstandingRequests=function(t){0===g?t():b.push(t)};var y,E,w=d.href,C=e.find("base"),_=null,x=r.history?function(){try{return h.state}catch(t){}}:f;c(),l.url=function(e,n,i){if($(i)&&(i=null),d!==t.location&&(d=t.location),h!==t.history&&(h=t.history),e){var o=E===i;if(w===e&&(!r.history||o))return l;var s=w&&Qe(w)===Qe(e);return w=e,E=i,!r.history||s&&o?(s||(_=e),n?d.replace(e):s?d.hash=a(e):d.href=e,d.href!==e&&(_=e)):(h[n?"replaceState":"pushState"](i,"",e),c()),_&&(_=e),l}return _||d.href.replace(/%27/g,"'")},l.state=function(){return y};var M=[],A=!1,T=null;l.onUrlChange=function(e){return A||(r.history&&ni(t).on("popstate",s),ni(t).on("hashchange",s),A=!0),M.push(e),e},l.$$applicationDestroyed=function(){ni(t).off("hashchange popstate",s)},l.$$checkUrlChange=u,l.baseHref=function(){var t=C.attr("href");return t?t.replace(/^(https?:)?\/\/[^\/]*/,""):""},l.defer=function(t,e){var n;return g++,n=p(function(){delete v[n],i(t)},e||0),v[n]=!0,n},l.defer.cancel=function(t){return!!v[t]&&(delete v[t],m(t),i(f),!0)}}function be(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,r){return new ge(t,r,e,n)}]}function $e(){this.$get=function(){function t(t,r){function i(t){t!==h&&(p?p===t&&(p=t.n):p=t,o(t.n,t.p),o(t,h),h=t,h.n=null)}function o(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}if(t in n)throw e("$cacheFactory")("iid","CacheId '{0}' is already taken!",t);var a=0,s=d({},r,{id:t}),c=$t(),u=r&&r.capacity||Number.MAX_VALUE,l=$t(),h=null,p=null;return n[t]={put:function(t,e){if(!$(e)){if(u<Number.MAX_VALUE){var n=l[t]||(l[t]={key:t});i(n)}return t in c||a++,c[t]=e,a>u&&this.remove(p.key),e}},get:function(t){if(u<Number.MAX_VALUE){var e=l[t];if(!e)return;i(e)}return c[t]},remove:function(t){if(u<Number.MAX_VALUE){var e=l[t];if(!e)return;e===h&&(h=e.p),e===p&&(p=e.n),o(e.n,e.p),delete l[t]}t in c&&(delete c[t],a--)},removeAll:function(){c=$t(),a=0,l=$t(),h=p=null},destroy:function(){c=null,s=null,l=null,delete n[t]},info:function(){return d({},s,{size:a})}}}var n={};return t.info=function(){var t={};return o(n,function(e,n){t[n]=e.info()}),t},t.get=function(t){return n[t]},t}}function ye(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function Ee(){}function we(e,n){function r(t,e,n){var r=/^\s*([@&<]|=(\*?))(\??)\s*([\w$]*)\s*$/,i=$t();return o(t,function(t,o){if(t in A)return void(i[o]=A[t]);var a=t.match(r);if(!a)throw po("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(A[t]=i[o])}),i}function i(t,e){var n={isolateScope:null,bindToController:null};if(E(t.scope)&&(t.bindToController===!0?(n.bindToController=r(t.scope,e,!0),n.isolateScope={}):n.isolateScope=r(t.scope,e,!1)),E(t.bindToController)&&(n.bindToController=r(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw po("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}function a(t){var e=t.charAt(0);if(!e||e!==Zr(e))throw po("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw po("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}function c(t){var e=t.require||t.controller&&t.name;return!mi(e)&&E(e)&&o(e,function(t,n){var r=t.match(_),i=t.substring(r[0].length);i||(e[n]=r[0]+n)}),e}function u(t,e){if(t&&(!C(t)||!/[EACM]/.test(t)))throw po("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}var l={},h="Directive",p=/^\s*directive:\s*([\w-]+)\s+(.*)$/,b=/(([\w-]+)(?::([^;]+))?;?)/,w=L("ngSrc,ngSrcset,src,srcset"),_=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,x=/^(on[a-z]+|formaction)$/,A=$t();this.directive=function t(n,r){return mt(n,"name"),vt(n,"directive"),C(n)?(a(n),mt(r,"directiveFactory"),l.hasOwnProperty(n)||(l[n]=[],e.factory(n+h,["$injector","$exceptionHandler",function(t,e){var r=[];return o(l[n],function(i,o){try{var a=t.invoke(i);M(a)?a={compile:g(a)}:!a.compile&&a.link&&(a.compile=g(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=c(a),a.restrict=u(a.restrict,n),a.$$moduleName=i.$$moduleName,r.push(a)}catch(t){e(t)}}),r}])),l[n].push(r)):o(n,s(t)),this},this.component=function(t,e){function n(t){function n(e){return M(e)||mi(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var i=e.template||e.templateUrl?e.template:"",a={controller:r,controllerAs:Ae(e.controller)||e.controllerAs||"$ctrl",template:n(i),templateUrl:n(e.templateUrl),transclude:e.transclude,scope:{},bindToController:e.bindings||{},restrict:"E",require:e.require};return o(e,function(t,e){"$"===e.charAt(0)&&(a[e]=t)}),a}var r=e.controller||function(){};return o(e,function(t,e){"$"===e.charAt(0)&&(n[e]=t,M(r)&&(r[e]=t))}),n.$inject=["$injector"],this.directive(t,n)},this.aHrefSanitizationWhitelist=function(t){return y(t)?(n.aHrefSanitizationWhitelist(t),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return y(t)?(n.imgSrcSanitizationWhitelist(t),this):n.imgSrcSanitizationWhitelist()};var T=!0;this.debugInfoEnabled=function(t){return y(t)?(T=t,this):T};var S=!1;this.preAssignBindingsEnabled=function(t){return y(t)?(S=t,this):S};var N=10;this.onChangesTtl=function(t){return arguments.length?(N=t,this):N};var D=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(D=t,this):D};var I=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(I=t,this):I},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(e,n,r,a,s,c,u,g,A,H){function P(){try{if(!--kt)throw _t=void 0,po("infchng","{0} $onChanges() iterations reached. Aborting!\n",N);u.$apply(function(){for(var t=[],e=0,n=_t.length;e<n;++e)try{_t[e]()}catch(e){t.push(e)}if(_t=void 0,t.length)throw t})}finally{kt++}}function R(t,e){if(e){var n,r,i,o=Object.keys(e);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=e[i]}else this.$attr={};this.$$element=t}function L(t,e,n){Mt.innerHTML="<span "+e+">";var r=Mt.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,t.attributes.setNamedItem(i)}function j(t,e){try{t.addClass(e)}catch(t){}}function V(t,e,n,r,i){t instanceof ni||(t=ni(t));var o=K(t,e,t,n,r,i);V.$$addScopeClass(t);var a=null;return function(e,n,r){if(!t)throw po("multilink","This element has already been linked.");mt(e,"scope"),i&&i.needsNewScope&&(e=e.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,c=r.transcludeControllers,u=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=z(u));var l;if(l="html"!==a?ni(vt(a,ni("<div>").append(t).html())):n?Ui.clone.call(t):t,c)for(var d in c)l.data("$"+d+"Controller",c[d].instance);return V.$$addScopeInfo(l,e),n&&n(l,e),o&&o(e,l,l,s),n||(t=o=null),l}}function z(t){var e=t&&t[0];return e&&"foreignobject"!==F(e)&&ci.call(e).match(/SVG/)?"svg":"html";
}function K(t,e,n,r,i,o){function a(t,n,r,i){var o,a,s,c,u,l,d,h,f;if(p){var v=n.length;for(f=new Array(v),u=0;u<m.length;u+=3)d=m[u],f[d]=n[d]}else f=n;for(u=0,l=m.length;u<l;)s=f[m[u++]],o=m[u++],a=m[u++],o?(o.scope?(c=t.$new(),V.$$addScopeInfo(ni(s),c)):c=t,h=o.transcludeOnThisElement?X(t,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&e?X(t,e):null,o(a,c,s,r,h)):a&&a(t,s.childNodes,void 0,i)}for(var s,c,u,l,d,h,p,m=[],f=mi(t)||t instanceof ni,v=0;v<t.length;v++)s=new R,11===ei&&G(t,v,f),c=Z(t[v],[],s,0===v?r:void 0,i),u=c.length?rt(c,t[v],s,e,n,null,[],[],o):null,u&&u.scope&&V.$$addScopeClass(s.$$element),d=u&&u.terminal||!(l=t[v].childNodes)||!l.length?null:K(l,u?(u.transcludeOnThisElement||!u.templateOnThisElement)&&u.transclude:e),(u||d)&&(m.push(v,u,d),h=!0,p=p||u),o=null;return h?a:null}function G(t,e,n){var r,i=t[e],o=i.parentNode;if(i.nodeType===Ai)for(;;){if(r=o?i.nextSibling:t[e+1],!r||r.nodeType!==Ai)break;i.nodeValue=i.nodeValue+r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===t[e+1]&&t.splice(e+1,1)}}function X(t,e,n){function r(r,i,o,a,s){return r||(r=t.$new(!1,s),r.$$transcluded=!0),e(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i=r.$$slots=$t();for(var o in e.$$slots)e.$$slots[o]?i[o]=X(t,e.$$slots[o],n):i[o]=null;return r}function Z(t,e,n,r,i){var o,a,s,c=t.nodeType,u=n.$attr;switch(c){case xi:a=F(t),st(e,_e(a),"E",r,i);for(var l,d,h,p,m,f,v=t.attributes,g=0,$=v&&v.length;g<$;g++){var y=!1,w=!1;l=v[g],d=l.name,m=l.value,p=_e(d),f=It.test(p),f&&(d=d.replace(fo,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()}));var _=p.match(Ht);_&&ct(_[1])&&(y=d,w=d.substr(0,d.length-5)+"end",d=d.substr(0,d.length-6)),h=_e(d.toLowerCase()),u[h]=d,!f&&n.hasOwnProperty(h)||(n[h]=m,Jt(t,h)&&(n[h]=!0)),bt(t,e,m,h,f),st(e,h,"A",r,i,y,w)}if("input"===a&&"hidden"===t.getAttribute("type")&&t.setAttribute("autocomplete","off"),!Tt)break;if(s=t.className,E(s)&&(s=s.animVal),C(s)&&""!==s)for(;o=b.exec(s);)h=_e(o[2]),st(e,h,"C",r,i)&&(n[h]=vi(o[3])),s=s.substr(o.index+o[0].length);break;case Ai:ft(e,t.nodeValue);break;case Ti:if(!At)break;Q(t,e,n,r,i)}return e.sort(dt),e}function Q(t,e,n,r,i){try{var o=p.exec(t.nodeValue);if(o){var a=_e(o[1]);st(e,a,"M",r,i)&&(n[a]=vi(o[2]))}}catch(t){}}function J(t,e,n){var r=[],i=0;if(e&&t.hasAttribute&&t.hasAttribute(e)){do{if(!t)throw po("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",e,n);t.nodeType===xi&&(t.hasAttribute(e)&&i++,t.hasAttribute(n)&&i--),r.push(t),t=t.nextSibling}while(i>0)}else r.push(t);return ni(r)}function et(t,e,n){return function(r,i,o,a,s){return i=J(i[0],e,n),t(r,i,o,a,s)}}function nt(t,e,n,r,i,o){var a;return t?V(e,n,r,i,o):function(){return a||(a=V(e,n,r,i,o),e=n=o=null),a.apply(this,arguments)}}function rt(t,e,n,i,a,s,c,u,l){function h(t,e,n,r){t&&(n&&(t=et(t,n,r)),t.require=m.require,t.directiveName=f,(_===m||m.$$isolateScope)&&(t=Et(t,{isolateScope:!0})),c.push(t)),e&&(n&&(e=et(e,n,r)),e.require=m.require,e.directiveName=f,(_===m||m.$$isolateScope)&&(e=Et(e,{isolateScope:!0})),u.push(e))}function p(t,i,a,s,l){function h(t,e,n,r){var i;if(k(t)||(r=n,n=e,e=t,t=void 0),D&&(i=b),n||(n=D?A.parent():A),!r)return l(t,e,i,n,F);var o=l.$$slots[r];if(o)return o(t,e,i,n,F);if($(o))throw po("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,tt(A))}var p,m,f,v,g,b,y,A,T,N;e===a?(T=n,A=n.$$element):(A=ni(a),T=new R(A,n)),g=i,_?v=i.$new(!0):w&&(g=i.$parent),l&&(y=h,y.$$boundTransclude=l,y.isSlotFilled=function(t){return!!l.$$slots[t]}),C&&(b=ot(A,T,y,C,v,i,_)),_&&(V.$$addScopeInfo(A,v,!0,!(x&&(x===_||x===_.$$originalDirective))),V.$$addScopeClass(A,!0),v.$$isolateBindings=_.$$isolateBindings,N=Ct(i,T,v,v.$$isolateBindings,_),N.removeWatches&&v.$on("$destroy",N.removeWatches));for(var O in b){var I=C[O],H=b[O],P=I.$$bindings.bindToController;if(S){P?H.bindingInfo=Ct(g,T,H.instance,P,I):H.bindingInfo={};var L=H();L!==H.instance&&(H.instance=L,A.data("$"+I.name+"Controller",L),H.bindingInfo.removeWatches&&H.bindingInfo.removeWatches(),H.bindingInfo=Ct(g,T,H.instance,P,I))}else H.instance=H(),A.data("$"+I.name+"Controller",H.instance),H.bindingInfo=Ct(g,T,H.instance,P,I)}for(o(C,function(t,e){var n=t.require;t.bindToController&&!mi(n)&&E(n)&&d(b[e].instance,it(e,n,A,b))}),o(b,function(t){var e=t.instance;if(M(e.$onChanges))try{e.$onChanges(t.bindingInfo.initialChanges)}catch(t){r(t)}if(M(e.$onInit))try{e.$onInit()}catch(t){r(t)}M(e.$doCheck)&&(g.$watch(function(){e.$doCheck()}),e.$doCheck()),M(e.$onDestroy)&&g.$on("$destroy",function(){e.$onDestroy()})}),p=0,m=c.length;p<m;p++)f=c[p],wt(f,f.isolateScope?v:i,A,T,f.require&&it(f.directiveName,f.require,A,b),y);var F=i;for(_&&(_.template||null===_.templateUrl)&&(F=v),t&&t(F,a.childNodes,void 0,l),p=u.length-1;p>=0;p--)f=u[p],wt(f,f.isolateScope?v:i,A,T,f.require&&it(f.directiveName,f.require,A,b),y);o(b,function(t){var e=t.instance;M(e.$postLink)&&e.$postLink()})}l=l||{};for(var m,f,v,g,b,y=-Number.MAX_VALUE,w=l.newScopeDirective,C=l.controllerDirectives,_=l.newIsolateScopeDirective,x=l.templateDirective,A=l.nonTlbTranscludeDirective,T=!1,N=!1,D=l.hasElementTranscludeDirective,O=n.$$element=ni(e),I=s,H=i,P=!1,L=!1,j=0,q=t.length;j<q;j++){m=t[j];var B=m.$$start,U=m.$$end;if(B&&(O=J(e,B,U)),v=void 0,y>m.priority)break;if(b=m.scope,b&&(m.templateUrl||(E(b)?(pt("new/isolated scope",_||w,m,O),_=m):pt("new/isolated scope",_,m,O)),w=w||m),f=m.name,!P&&(m.replace&&(m.templateUrl||m.template)||m.transclude&&!m.$$tlb)){for(var z,K=j+1;z=t[K++];)if(z.transclude&&!z.$$tlb||z.replace&&(z.templateUrl||z.template)){L=!0;break}P=!0}if(!m.templateUrl&&m.controller&&(C=C||$t(),pt("'"+f+"' controller",C[f],m,O),C[f]=m),b=m.transclude)if(T=!0,m.$$tlb||(pt("transclusion",A,m,O),A=m),"element"===b)D=!0,y=m.priority,v=O,O=n.$$element=ni(V.$$createComment(f,n[f])),e=O[0],yt(a,W(v),e),v[0].$$parentNode=v[0].parentNode,H=nt(L,v,i,y,I&&I.name,{nonTlbTranscludeDirective:A});else{var G=$t();if(E(b)){v=[];var X=$t(),Q=$t();o(b,function(t,e){var n="?"===t.charAt(0);t=n?t.substring(1):t,X[t]=e,G[e]=null,Q[e]=n}),o(O.contents(),function(t){var e=X[_e(F(t))];e?(Q[e]=!0,G[e]=G[e]||[],G[e].push(t)):v.push(t)}),o(Q,function(t,e){if(!t)throw po("reqslot","Required transclusion slot `{0}` was not filled.",e)});for(var rt in G)G[rt]&&(G[rt]=nt(L,G[rt],i))}else v=ni(Rt(e)).contents();O.empty(),H=nt(L,v,i,void 0,void 0,{needsNewScope:m.$$isolateScope||m.$$newScope}),H.$$slots=G}if(m.template)if(N=!0,pt("template",x,m,O),x=m,b=M(m.template)?m.template(O,n):m.template,b=Ot(b),m.replace){if(I=m,v=St(b)?[]:Me(vt(m.templateNamespace,vi(b))),e=v[0],1!==v.length||e.nodeType!==xi)throw po("tplrt","Template for directive '{0}' must have exactly one root element. {1}",f,"");yt(a,O,e);var st={$attr:{}},ct=Z(e,[],st),dt=t.splice(j+1,t.length-(j+1));(_||w)&&at(ct,_,w),t=t.concat(ct).concat(dt),ut(n,st),q=t.length}else O.html(b);if(m.templateUrl)N=!0,pt("template",x,m,O),x=m,m.replace&&(I=m),p=lt(t.splice(j,t.length-j),O,n,a,T&&H,c,u,{controllerDirectives:C,newScopeDirective:w!==m&&w,newIsolateScopeDirective:_,templateDirective:x,nonTlbTranscludeDirective:A}),q=t.length;else if(m.compile)try{g=m.compile(O,n,H);var ht=m.$$originalDirective||m;M(g)?h(null,Y(ht,g),B,U):g&&h(Y(ht,g.pre),Y(ht,g.post),B,U)}catch(t){r(t,tt(O))}m.terminal&&(p.terminal=!0,y=Math.max(y,m.priority))}return p.scope=w&&w.scope===!0,p.transcludeOnThisElement=T,p.templateOnThisElement=N,p.transclude=H,l.hasElementTranscludeDirective=D,p}function it(t,e,n,r){var i;if(C(e)){var a=e.match(_),s=e.substring(a[0].length),c=a[1]||a[3],u="?"===a[2];if("^^"===c?n=n.parent():(i=r&&r[s],i=i&&i.instance),!i){var l="$"+s+"Controller";i=c?n.inheritedData(l):n.data(l)}if(!i&&!u)throw po("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,t)}else if(mi(e)){i=[];for(var d=0,h=e.length;d<h;d++)i[d]=it(t,e[d],n,r)}else E(e)&&(i={},o(e,function(e,o){i[o]=it(t,e,n,r)}));return i||null}function ot(t,e,n,r,i,o,a){var s=$t();for(var u in r){var l=r[u],d={$scope:l===a||l.$$isolateScope?i:o,$element:t,$attrs:e,$transclude:n},h=l.controller;"@"===h&&(h=e[l.name]);var p=c(h,d,!0,l.controllerAs);s[l.name]=p,t.data("$"+l.name+"Controller",p.instance)}return s}function at(t,e,n){for(var r=0,i=t.length;r<i;r++)t[r]=m(t[r],{$$isolateScope:e,$$newScope:n})}function st(t,n,r,o,a,s,c){if(n===a)return null;var u=null;if(l.hasOwnProperty(n))for(var d,p=e.get(n+h),f=0,v=p.length;f<v;f++)if(d=p[f],($(o)||o>d.priority)&&d.restrict.indexOf(r)!==-1){if(s&&(d=m(d,{$$start:s,$$end:c})),!d.$$bindings){var g=d.$$bindings=i(d,d.name);E(g.isolateScope)&&(d.$$isolateBindings=g.isolateScope)}t.push(d),u=d}return u}function ct(t){if(l.hasOwnProperty(t))for(var n,r=e.get(t+h),i=0,o=r.length;i<o;i++)if(n=r[i],n.multiElement)return!0;return!1}function ut(t,e){var n=e.$attr,r=t.$attr;o(t,function(r,i){"$"!==i.charAt(0)&&(e[i]&&e[i]!==r&&(r.length?r+=("style"===i?";":" ")+e[i]:r=e[i]),t.$set(i,r,!0,n[i]))}),o(e,function(e,i){t.hasOwnProperty(i)||"$"===i.charAt(0)||(t[i]=e,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function lt(t,e,n,i,s,c,u,l){var d,h,p=[],f=e[0],v=t.shift(),g=m(v,{templateUrl:null,transclude:null,replace:null,$$originalDirective:v}),b=M(v.templateUrl)?v.templateUrl(e,n):v.templateUrl,$=v.templateNamespace;return e.empty(),a(b).then(function(r){var a,m,y,w;if(r=Ot(r),v.replace){if(y=St(r)?[]:Me(vt($,vi(r))),a=y[0],1!==y.length||a.nodeType!==xi)throw po("tplrt","Template for directive '{0}' must have exactly one root element. {1}",v.name,b);m={$attr:{}},yt(i,e,a);var C=Z(a,[],m);E(v.scope)&&at(C,!0),t=C.concat(t),ut(n,m)}else a=f,e.html(r);for(t.unshift(g),d=rt(t,a,n,s,e,v,c,u,l),o(i,function(t,n){t===a&&(i[n]=e[0])}),h=K(e[0].childNodes,s);p.length;){var _=p.shift(),x=p.shift(),M=p.shift(),A=p.shift(),T=e[0];if(!_.$$destroyed){if(x!==f){var k=x.className;l.hasElementTranscludeDirective&&v.replace||(T=Rt(a)),yt(M,ni(x),T),j(ni(T),k)}w=d.transcludeOnThisElement?X(_,d.transclude,A):A,d(h,_,T,i,w)}}p=null}).catch(function(t){t instanceof Error&&r(t)}),function(t,e,n,r,i){var o=i;e.$$destroyed||(p?p.push(e,n,r,o):(d.transcludeOnThisElement&&(o=X(e,d.transclude,i)),d(h,e,n,r,o)))}}function dt(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function pt(t,e,n,r){function i(t){return t?" (module: "+t+")":""}if(e)throw po("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",e.name,i(e.$$moduleName),n.name,i(n.$$moduleName),t,tt(r))}function ft(t,e){var r=n(e,!0);r&&t.push({priority:0,compile:function(t){var e=t.parent(),n=!!e.length;return n&&V.$$addBindingClass(e),function(t,e){var i=e.parent();n||V.$$addBindingClass(i),V.$$addBindingInfo(i,r.expressions),t.$watch(r,function(t){e[0].nodeValue=t})}}})}function vt(e,n){switch(e=Zr(e||"html")){case"svg":case"math":var r=t.document.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function gt(t,e){if("srcdoc"===e)return g.HTML;var n=F(t);if("src"===e||"ngSrc"===e){if(["img","video","audio","source","track"].indexOf(n)===-1)return g.RESOURCE_URL}else if("xlinkHref"===e||"form"===n&&"action"===e||"link"===n&&"href"===e)return g.RESOURCE_URL}function bt(t,e,r,i,o){var a=gt(t,i),s=!o,c=w[i]||o,u=n(r,s,a,c);if(u){if("multiple"===i&&"select"===F(t))throw po("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",tt(t));if(x.test(i))throw po("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");e.push({priority:100,compile:function(){return{pre:function(t,e,o){var s=o.$$observers||(o.$$observers=$t()),l=o[i];l!==r&&(u=l&&n(l,!0,a,c),r=l),u&&(o[i]=u(t),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||t).$watch(u,function(t,e){"class"===i&&t!==e?o.$updateClass(t,e):o.$set(i,t)}))}}}})}}function yt(e,n,r){var i,o,a=n[0],s=n.length,c=a.parentNode;if(e)for(i=0,o=e.length;i<o;i++)if(e[i]===a){e[i++]=r;for(var u=i,l=u+s-1,d=e.length;u<d;u++,l++)l<d?e[u]=e[l]:delete e[u];e.length-=s-1,e.context===a&&(e.context=r);break}c&&c.replaceChild(r,a);var h=t.document.createDocumentFragment();for(i=0;i<s;i++)h.appendChild(n[i]);for(ni.hasData(a)&&(ni.data(r,ni.data(a)),ni(a).off("$destroy")),ni.cleanData(h.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function Et(t,e){return d(function(){return t.apply(null,arguments)},t,e)}function wt(t,e,n,i,o,a){try{t(e,n,i,o,a)}catch(t){r(t,tt(n))}}function Ct(t,e,r,i,a){function c(e,n,i){M(r.$onChanges)&&!B(n,i)&&(_t||(t.$$postDigest(P),_t=[]),l||(l={},_t.push(u)),l[e]&&(i=l[e].previousValue),l[e]=new Ce(i,n))}function u(){r.$onChanges(l),l=void 0}var l,d=[],h={};return o(i,function(i,o){var u,l,p,m,v,g=i.attrName,b=i.optional,$=i.mode;switch($){case"@":b||Gr.call(e,g)||(r[o]=e[g]=void 0),v=e.$observe(g,function(t){if(C(t)||O(t)){var e=r[o];c(o,t,e),r[o]=t}}),e.$$observers[g].$$scope=t,u=e[g],C(u)?r[o]=n(u)(t):O(u)&&(r[o]=u),h[o]=new Ce(mo,r[o]),d.push(v);break;case"=":if(!Gr.call(e,g)){if(b)break;e[g]=void 0}if(b&&!e[g])break;l=s(e[g]),m=l.literal?U:B,p=l.assign||function(){throw u=r[o]=l(t),po("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",e[g],g,a.name)},u=r[o]=l(t);var y=function(e){return m(e,r[o])||(m(e,u)?p(t,e=r[o]):r[o]=e),u=e};y.$stateful=!0,v=i.collection?t.$watchCollection(e[g],y):t.$watch(s(e[g],y),null,l.literal),d.push(v);break;case"<":if(!Gr.call(e,g)){if(b)break;e[g]=void 0}if(b&&!e[g])break;l=s(e[g]);var E=l.literal,w=r[o]=l(t);h[o]=new Ce(mo,r[o]),v=t.$watch(l,function(t,e){if(e===t){if(e===w||E&&U(e,w))return;e=w}c(o,t,e),r[o]=t},E),d.push(v);break;case"&":if(l=e.hasOwnProperty(g)?s(e[g]):f,l===f&&b)break;r[o]=function(e){return l(t,e)}}}),{initialChanges:h,removeWatches:d.length&&function(){for(var t=0,e=d.length;t<e;++t)d[t]()}}}var _t,xt=/^\w/,Mt=t.document.createElement("div"),At=D,Tt=I,kt=N;R.prototype={$normalize:_e,$addClass:function(t){t&&t.length>0&&A.addClass(this.$$element,t)},$removeClass:function(t){t&&t.length>0&&A.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=xe(t,e);n&&n.length&&A.addClass(this.$$element,n);var r=xe(e,t);r&&r.length&&A.removeClass(this.$$element,r)},$set:function(t,e,n,i){var a,s=this.$$element[0],c=Jt(s,t),u=te(t),l=t;if(c?(this.$$element.prop(t,e),i=c):u&&(this[u]=e,l=u),this[t]=e,i?this.$attr[t]=i:(i=this.$attr[t],i||(this.$attr[t]=i=ht(t,"-"))),a=F(this.$$element),"a"===a&&("href"===t||"xlinkHref"===t)||"img"===a&&"src"===t)this[t]=e=H(e,"src"===t);else if("img"===a&&"srcset"===t&&y(e)){for(var d="",h=vi(e),p=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,m=/\s/.test(h)?p:/(,)/,f=h.split(m),v=Math.floor(f.length/2),g=0;g<v;g++){var b=2*g;d+=H(vi(f[b]),!0),d+=" "+vi(f[b+1])}var E=vi(f[2*g]).split(/\s/);d+=H(vi(E[0]),!0),2===E.length&&(d+=" "+vi(E[1])),this[t]=e=d}n!==!1&&(null===e||$(e)?this.$$element.removeAttr(i):xt.test(i)?this.$$element.attr(i,e):L(this.$$element[0],i,e));var w=this.$$observers;w&&o(w[l],function(t){try{t(e)}catch(t){r(t)}})},$observe:function(t,e){var n=this,r=n.$$observers||(n.$$observers=$t()),i=r[t]||(r[t]=[]);return i.push(e),u.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(t)||$(n[t])||e(n[t])}),function(){q(i,e)}}};var Nt=n.startSymbol(),Dt=n.endSymbol(),Ot="{{"===Nt&&"}}"===Dt?v:function(t){return t.replace(/\{\{/g,Nt).replace(/}}/g,Dt)},It=/^ngAttr[A-Z]/,Ht=/^(.+)Start$/;return V.$$addBindingInfo=T?function(t,e){var n=t.data("$binding")||[];mi(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:f,V.$$addBindingClass=T?function(t){j(t,"ng-binding")}:f,V.$$addScopeInfo=T?function(t,e,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";t.data(i,e)}:f,V.$$addScopeClass=T?function(t,e){j(t,e?"ng-isolate-scope":"ng-scope")}:f,V.$$createComment=function(e,n){var r="";return T&&(r=" "+(e||"")+": ",n&&(r+=n+" ")),t.document.createComment(r)},V}]}function Ce(t,e){this.previousValue=t,this.currentValue=e}function _e(t){return t.replace(fo,"").replace(vo,Tt)}function xe(t,e){var n="",r=t.split(/\s+/),i=e.split(/\s+/);t:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue t;n+=(n.length>0?" ":"")+a}return n}function Me(t){t=ni(t);var e=t.length;if(e<=1)return t;for(;e--;){var n=t[e];(n.nodeType===Ti||n.nodeType===Ai&&""===n.nodeValue.trim())&&ai.call(t,e,1)}return t}function Ae(t,e){if(e&&C(e))return e;if(C(t)){var n=bo.exec(t);if(n)return n[3]}}function Te(){var t={},n=!1;this.has=function(e){return t.hasOwnProperty(e)},this.register=function(e,n){vt(e,"controller"),E(e)?d(t,e):t[e]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(t,n,r,i){if(!t||!E(t.$scope))throw e("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);t.$scope[n]=r}return function(e,a,s,c){var u,l,h,p;if(s=s===!0,c&&C(c)&&(p=c),C(e)){if(l=e.match(bo),!l)throw go("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",e);if(h=l[1],p=p||l[3],e=t.hasOwnProperty(h)?t[h]:gt(a.$scope,h,!0)||(n?gt(i,h,!0):void 0),!e)throw go("ctrlreg","The controller with the name '{0}' is not registered.",h);ft(e,h,!0)}if(s){var m=(mi(e)?e[e.length-1]:e).prototype;return u=Object.create(m||null),p&&o(a,p,u,h||e.name),d(function(){var t=r.invoke(e,u,a,h);return t!==u&&(E(t)||M(t))&&(u=t,p&&o(a,p,u,h||e.name)),u},{instance:u,identifier:p})}return u=r.instantiate(e,a,h),p&&o(a,p,u,h||e.name),u}}]}function ke(){this.$get=["$window",function(t){return ni(t.document)}]}function Se(){this.$get=["$document","$rootScope",function(t,e){function n(){i=r.hidden}var r=t[0],i=r&&r.hidden;return t.on("visibilitychange",n),e.$on("$destroy",function(){t.off("visibilitychange",n)}),function(){return i}}]}function Ne(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function De(t){return E(t)?x(t)?t.toISOString():G(t):t}function Oe(){this.$get=function(){return function(t){if(!t)return"";var e=[];return a(t,function(t,n){null===t||$(t)||(mi(t)?o(t,function(t){e.push(ot(n)+"="+ot(De(t)))}):e.push(ot(n)+"="+ot(De(t))))}),e.join("&")}}}function Ie(){this.$get=function(){return function(t){function e(t,r,i){null===t||$(t)||(mi(t)?o(t,function(t,n){e(t,r+"["+(E(t)?n:"")+"]")}):E(t)&&!x(t)?a(t,function(t,n){e(t,r+(i?"":"[")+n+(i?"":"]"))}):n.push(ot(r)+"="+ot(De(t))))}if(!t)return"";var n=[];return e(t,"",!0),n.join("&")}}}function He(t,e){if(C(t)){var n=t.replace(_o,"").trim();if(n){var r=e("Content-Type");if(r&&0===r.indexOf(yo)||Pe(n))try{t=X(n)}catch(e){throw xo("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',t,e)}}}return t}function Pe(t){var e=t.match(wo);return e&&Co[e[0]].test(t)}function Re(t){function e(t,e){t&&(r[t]=r[t]?r[t]+", "+e:e)}var n,r=$t();return C(t)?o(t.split("\n"),function(t){n=t.indexOf(":"),e(Zr(vi(t.substr(0,n))),vi(t.substr(n+1)))}):E(t)&&o(t,function(t,n){e(Zr(n),vi(t))}),r}function Le(t){var e;return function(n){if(e||(e=Re(t)),n){var r=e[Zr(n)];return void 0===r&&(r=null),r}return e}}function Fe(t,e,n,r){return M(r)?r(t,e,n):(o(r,function(r){t=r(t,e,n)}),t)}function je(t){return 200<=t&&t<300}function qe(){var t=this.defaults={transformResponse:[He],transformRequest:[function(t){return!E(t)||S(t)||D(t)||N(t)?t:G(t)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:wt(Eo),put:wt(Eo),patch:wt(Eo)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(t){return y(t)?(n=!!t,this):n};var r=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,a,s,c,u,l,h,p){function m(n){function r(t,e){for(var n=0,r=e.length;n<r;){var i=e[n++],o=e[n++];t=t.then(i,o)}return e.length=0,t}function a(){i.$$completeOutstandingRequest(f)}function s(t,e){var n,r={};return o(t,function(t,i){M(t)?(n=t(e),null!=n&&(r[i]=n)):r[i]=t}),r}function c(e){var n,r,i,o=t.headers,a=d({},e.headers);o=d({},o.common,o[Zr(e.method)]);t:for(n in o){r=Zr(n);for(i in a)if(Zr(i)===r)continue t;a[n]=o[n]}return s(a,wt(e))}function u(e){var n=e.headers,r=Fe(e.data,Le(n),void 0,e.transformRequest);return $(r)&&o(n,function(t,e){"content-type"===Zr(e)&&delete n[e]}),$(e.withCredentials)&&!$(t.withCredentials)&&(e.withCredentials=t.withCredentials),b(e,r).then(m,m)}function m(t){var e=d({},t);return e.data=Fe(t.data,t.headers,t.status,v.transformResponse),je(t.status)?e:l.reject(e)}if(!E(n))throw e("$http")("badreq","Http request configuration must be an object.  Received: {0}",n);if(!C(p.valueOf(n.url)))throw e("$http")("badreq","Http request configuration url must be a string or a $sce trusted object.  Received: {0}",n.url);var v=d({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer,jsonpCallbackParam:t.jsonpCallbackParam},n);v.headers=c(n),v.method=Qr(v.method),v.paramSerializer=C(v.paramSerializer)?h.get(v.paramSerializer):v.paramSerializer,i.$$incOutstandingRequestCount();var g=[],y=[],w=l.resolve(v);return o(A,function(t){(t.request||t.requestError)&&g.unshift(t.request,t.requestError),(t.response||t.responseError)&&y.push(t.response,t.responseError)}),w=r(w,g),w=w.then(u),w=r(w,y),w=w.finally(a)}function v(t){o(arguments,function(t){m[t]=function(e,n){return m(d({},n||{},{method:t,url:e}))}})}function g(t){o(arguments,function(t){m[t]=function(e,n,r){return m(d({},r||{},{method:t,url:e,data:n}))}})}function b(e,r){function i(t){if(t){var e={};return o(t,function(t,r){e[r]=function(e){function r(){t(e)}n?u.$applyAsync(r):u.$$phase?r():u.$apply(r)}}),e}}function c(t,e,r,i){function o(){d(e,t,r,i)}v&&(je(t)?v.put(k,[t,e,Re(r),i]):v.remove(k)),n?u.$applyAsync(o):(o(),u.$$phase||u.$apply())}function d(t,n,r,i){n=n>=-1?n:0,(je(n)?b.resolve:b.reject)({data:t,status:n,headers:Le(r),config:e,statusText:i})}function h(t){d(t.data,t.status,wt(t.headers()),t.statusText)}function f(){var t=m.pendingRequests.indexOf(e);t!==-1&&m.pendingRequests.splice(t,1)}var v,g,b=l.defer(),M=b.promise,A=e.headers,T="jsonp"===Zr(e.method),k=e.url;if(T?k=p.getTrustedResourceUrl(k):C(k)||(k=p.valueOf(k)),k=w(k,e.paramSerializer(e.params)),T&&(k=_(k,e.jsonpCallbackParam)),m.pendingRequests.push(e),M.then(f,f),!e.cache&&!t.cache||e.cache===!1||"GET"!==e.method&&"JSONP"!==e.method||(v=E(e.cache)?e.cache:E(t.cache)?t.cache:x),v&&(g=v.get(k),y(g)?I(g)?g.then(h,h):mi(g)?d(g[1],g[0],wt(g[2]),g[3]):d(g,200,{},"OK"):v.put(k,M)),$(g)){var S=qn(e.url)?s()[e.xsrfCookieName||t.xsrfCookieName]:void 0;S&&(A[e.xsrfHeaderName||t.xsrfHeaderName]=S),a(e.method,k,r,c,A,e.timeout,e.withCredentials,e.responseType,i(e.eventHandlers),i(e.uploadEventHandlers))}return M}function w(t,e){return e.length>0&&(t+=(t.indexOf("?")===-1?"?":"&")+e),t}function _(t,e){if(/[&?][^=]+=JSON_CALLBACK/.test(t))throw xo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',t);var n=new RegExp("[&?]"+e+"=");if(n.test(t))throw xo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',e,t);return t+=(t.indexOf("?")===-1?"?":"&")+e+"=JSON_CALLBACK"}var x=c("$http");t.paramSerializer=C(t.paramSerializer)?h.get(t.paramSerializer):t.paramSerializer;var A=[];return o(r,function(t){A.unshift(C(t)?h.get(t):h.invoke(t))}),m.pendingRequests=[],v("get","delete","head","jsonp"),g("post","put","patch"),m.defaults=t,m}]}function Ve(){this.$get=function(){return function(){return new t.XMLHttpRequest}}}function Be(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(t,e,n,r){return Ue(t,r,t.defer,e,n[0])}]}function Ue(t,e,n,r,i){function a(t,e,n){t=t.replace("JSON_CALLBACK",e);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=t,o.async=!0,a=function(t){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,c="unknown";t&&("load"!==t.type||r.wasCalled(e)||(t={type:"error"}),c=t.type,s="error"===t.type?404:200),n&&n(s,c)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,c,u,l,d,h,p,m,f){function v(){E&&E(),w&&w.abort()}function g(t,e,r,i,o){y(_)&&n.cancel(_),E=w=null,t(e,r,i,o)}if(s=s||t.url(),"jsonp"===Zr(i))var b=r.createCallback(s),E=a(s,b,function(t,e){var n=200===t&&r.getResponse(b);g(u,t,n,"",e),r.removeCallback(b)});else{var w=e(i,s);w.open(i,s,!0),o(l,function(t,e){y(t)&&w.setRequestHeader(e,t)}),w.onload=function(){var t=w.statusText||"",e="response"in w?w.response:w.responseText,n=1223===w.status?204:w.status;0===n&&(n=e?200:"file"===jn(s).protocol?404:0),g(u,n,e,w.getAllResponseHeaders(),t)};var C=function(){g(u,-1,null,null,"")};if(w.onerror=C,w.onabort=C,w.ontimeout=C,o(m,function(t,e){w.addEventListener(e,t)}),o(f,function(t,e){w.upload.addEventListener(e,t)}),h&&(w.withCredentials=!0),p)try{w.responseType=p}catch(t){if("json"!==p)throw t}w.send($(c)?null:c)}if(d>0)var _=n(v,d);else I(d)&&d.then(v)}}function ze(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(t){return"\\\\\\"+t}function a(n){return n.replace(h,t).replace(p,e)}function s(t,e,n,r){var i=t.$watch(function(t){return i(),r(t)},e,n);return i}function c(o,c,h,p){function m(t){try{return t=N(t),p&&!y(t)?t:yt(t)}catch(t){r(Mo.interr(o,t))}}if(!o.length||o.indexOf(t)===-1){var f;if(!c){var v=a(o);f=g(v),f.exp=o,f.expressions=[],f.$$watchDelegate=s}return f}p=!!p;for(var b,E,w,C=0,_=[],x=[],A=o.length,T=[],k=[];C<A;){if((b=o.indexOf(t,C))===-1||(E=o.indexOf(e,b+u))===-1){C!==A&&T.push(a(o.substring(C)));break}C!==b&&T.push(a(o.substring(C,b))),w=o.substring(b+u,E),_.push(w),x.push(n(w,m)),C=E+l,k.push(T.length),T.push("")}if(h&&T.length>1&&Mo.throwNoconcat(o),!c||_.length){var S=function(t){for(var e=0,n=_.length;e<n;e++){if(p&&$(t[e]))return;T[k[e]]=t[e]}return T.join("")},N=function(t){return h?i.getTrusted(h,t):i.valueOf(t)};return d(function(t){var e=0,n=_.length,i=new Array(n);try{for(;e<n;e++)i[e]=x[e](t);return S(i)}catch(t){r(Mo.interr(o,t))}},{exp:o,expressions:_,$$watchDelegate:function(t,e){var n;return t.$watchGroup(x,function(r,i){var o=S(r);M(e)&&e.call(this,o,r!==i?n:o,t),n=o})}})}}var u=t.length,l=e.length,h=new RegExp(t.replace(/./g,o),"g"),p=new RegExp(e.replace(/./g,o),"g");return c.startSymbol=function(){return t},c.endSymbol=function(){return e},c}]}function We(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(t,e,n,r,i){function o(o,s,c,u){function l(){d?o.apply(null,h):o(f)}var d=arguments.length>4,h=d?W(arguments,4):[],p=e.setInterval,m=e.clearInterval,f=0,v=y(u)&&!u,g=(v?r:n).defer(),b=g.promise;return c=y(c)?c:0,b.$$intervalId=p(function(){v?i.defer(l):t.$evalAsync(l),g.notify(f++),c>0&&f>=c&&(g.resolve(f),m(b.$$intervalId),delete a[b.$$intervalId]),v||t.$apply()},s),a[b.$$intervalId]=g,b}var a={};return o.cancel=function(t){return!!(t&&t.$$intervalId in a)&&(a[t.$$intervalId].promise.catch(f),a[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete a[t.$$intervalId],!0)},o}]}function Ye(t){for(var e=t.split("/"),n=e.length;n--;)e[n]=it(e[n]);return e.join("/")}function Ke(t,e){var n=jn(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=p(n.port)||ko[n.protocol]||null}function Ge(t,e){if(No.test(t))throw So("badpath",'Invalid url "{0}".',t);var n="/"!==t.charAt(0);n&&(t="/"+t);var r=jn(t);e.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),e.$$search=nt(r.search),e.$$hash=decodeURIComponent(r.hash),e.$$path&&"/"!==e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function Xe(t,e){return t.slice(0,e.length)===e}function Ze(t,e){if(Xe(e,t))return e.substr(t.length)}function Qe(t){var e=t.indexOf("#");return e===-1?t:t.substr(0,e)}function Je(t){return t.replace(/(#.+)|#$/,"$1")}function tn(t){return t.substr(0,Qe(t).lastIndexOf("/")+1)}function en(t){return t.substring(0,t.indexOf("/",t.indexOf("//")+2))}function nn(t,e,n){this.$$html5=!0,n=n||"",Ke(t,this),this.$$parse=function(t){var n=Ze(e,t);if(!C(n))throw So("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',t,e);Ge(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=rt(this.$$search),n=this.$$hash?"#"+it(this.$$hash):"";this.$$url=Ye(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return y(o=Ze(t,r))?(a=o,s=n&&y(o=Ze(n,o))?e+(Ze("/",o)||o):t+a):y(o=Ze(e,r))?s=e+o:e===r+"/"&&(s=e),s&&this.$$parse(s),!!s}}function rn(t,e,n){Ke(t,this),this.$$parse=function(r){function i(t,e,n){var r,i=/^\/[A-Z]:(\/.*)/;return Xe(e,n)&&(e=e.replace(n,"")),i.exec(e)?t:(r=i.exec(t),r?r[1]:t)}var o,a=Ze(t,r)||Ze(e,r);$(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",$(a)&&(t=r,this.replace())):(o=Ze(n,a),$(o)&&(o=a)),Ge(o,this),this.$$path=i(this.$$path,o,t),this.$$compose()},this.$$compose=function(){var e=rt(this.$$search),r=this.$$hash?"#"+it(this.$$hash):"";this.$$url=Ye(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(e,n){return Qe(t)===Qe(e)&&(this.$$parse(e),!0)}}function on(t,e,n){this.$$html5=!0,rn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return t===Qe(r)?o=r:(a=Ze(e,r))?o=t+n+a:e===r+"/"&&(o=e),o&&this.$$parse(o),!!o},this.$$compose=function(){var e=rt(this.$$search),r=this.$$hash?"#"+it(this.$$hash):"";this.$$url=Ye(this.$$path)+(e?"?"+e:"")+r,this.$$absUrl=t+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function an(t){return function(){return this[t]}}function sn(t,e){return function(n){return $(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function cn(){var t="!",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return y(e)?(t=e,this):t},this.html5Mode=function(t){return O(t)?(e.enabled=t,this):E(t)?(O(t.enabled)&&(e.enabled=t.enabled),O(t.requireBase)&&(e.requireBase=t.requireBase),(O(t.rewriteLinks)||C(t.rewriteLinks))&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(t,e,n){var i=u.url(),o=u.$$state;try{r.url(t,e,n),u.$$state=r.state()}catch(t){throw u.url(i),u.$$state=o,t}}function c(t,e){n.$broadcast("$locationChangeSuccess",u.absUrl(),t,u.$$state,e)}var u,l,d,h=r.baseHref(),p=r.url();if(e.enabled){if(!h&&e.requireBase)throw So("nobase","$location in HTML5 mode requires a <base> tag to be present!");d=en(p)+(h||"/"),l=i.history?nn:on}else d=Qe(p),l=rn;var m=tn(d);u=new l(d,m,"#"+t),u.$$parseLinkUrl(p,p),u.$$state=r.state();var f=/^\s*(javascript|mailto):/i;o.on("click",function(t){var i=e.rewriteLinks;if(i&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!==t.which&&2!==t.button){for(var s=ni(t.target);"a"!==F(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!C(i)||!$(s.attr(i))){var c=s.prop("href"),l=s.attr("href")||s.attr("xlink:href");E(c)&&"[object SVGAnimatedString]"===c.toString()&&(c=jn(c.animVal).href),f.test(c)||!c||s.attr("target")||t.isDefaultPrevented()||u.$$parseLinkUrl(c,l)&&(t.preventDefault(),u.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Je(u.absUrl())!==Je(p)&&r.url(u.absUrl(),!0);var v=!0;return r.onUrlChange(function(t,e){return Xe(t,m)?(n.$evalAsync(function(){var r,i=u.absUrl(),o=u.$$state;t=Je(t),u.$$parse(t),u.$$state=e,r=n.$broadcast("$locationChangeStart",t,i,e,o).defaultPrevented,u.absUrl()===t&&(r?(u.$$parse(i),u.$$state=o,s(i,!1,o)):(v=!1,c(i,o)))}),void(n.$$phase||n.$digest())):void(a.location.href=t)}),n.$watch(function(){if(v||u.$$urlUpdatedByLocation){u.$$urlUpdatedByLocation=!1;var t=Je(r.url()),e=Je(u.absUrl()),o=r.state(),a=u.$$replace,l=t!==e||u.$$html5&&i.history&&o!==u.$$state;
(v||l)&&(v=!1,n.$evalAsync(function(){var e=u.absUrl(),r=n.$broadcast("$locationChangeStart",e,t,u.$$state,o).defaultPrevented;u.absUrl()===e&&(r?(u.$$parse(t),u.$$state=o):(l&&s(e,a,o===u.$$state?null:u.$$state),c(t,o)))}))}u.$$replace=!1}),u}]}function un(){var t=!0,e=this;this.debugEnabled=function(e){return y(e)?(t=e,this):t},this.$get=["$window",function(n){function r(t){return t instanceof Error&&(t.stack&&a?t=t.message&&t.stack.indexOf(t.message)===-1?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}function i(t){var e=n.console||{},i=e[t]||e.log||f,a=!1;try{a=!!i.apply}catch(t){}return a?function(){var t=[];return o(arguments,function(e){t.push(r(e))}),i.apply(e,t)}:function(t,e){i(t,null==e?"":e)}}var a=ei||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function ln(t){return t+""}function dn(t,e){return"undefined"!=typeof t?t:e}function hn(t,e){return"undefined"==typeof t?e:"undefined"==typeof e?t:t+e}function pn(t,e){var n=t(e);return!n.$stateful}function mn(t,e){var n,r,i;switch(t.type){case Lo.Program:n=!0,o(t.body,function(t){mn(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case Lo.Literal:t.constant=!0,t.toWatch=[];break;case Lo.UnaryExpression:mn(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Lo.BinaryExpression:mn(t.left,e),mn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Lo.LogicalExpression:mn(t.left,e),mn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Lo.ConditionalExpression:mn(t.test,e),mn(t.alternate,e),mn(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Lo.Identifier:t.constant=!1,t.toWatch=[t];break;case Lo.MemberExpression:mn(t.object,e),t.computed&&mn(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case Lo.CallExpression:i=!!t.filter&&pn(e,t.callee.name),n=i,r=[],o(t.arguments,function(t){mn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=i?r:[t];break;case Lo.AssignmentExpression:mn(t.left,e),mn(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Lo.ArrayExpression:n=!0,r=[],o(t.elements,function(t){mn(t,e),n=n&&t.constant,t.constant||r.push.apply(r,t.toWatch)}),t.constant=n,t.toWatch=r;break;case Lo.ObjectExpression:n=!0,r=[],o(t.properties,function(t){mn(t.value,e),n=n&&t.value.constant&&!t.computed,t.value.constant||r.push.apply(r,t.value.toWatch),t.computed&&(mn(t.key,e),t.key.constant||r.push.apply(r,t.key.toWatch))}),t.constant=n,t.toWatch=r;break;case Lo.ThisExpression:t.constant=!1,t.toWatch=[];break;case Lo.LocalsExpression:t.constant=!1,t.toWatch=[]}}function fn(t){if(1===t.length){var e=t[0].expression,n=e.toWatch;return 1!==n.length?n:n[0]!==e?n:void 0}}function vn(t){return t.type===Lo.Identifier||t.type===Lo.MemberExpression}function gn(t){if(1===t.body.length&&vn(t.body[0].expression))return{type:Lo.AssignmentExpression,left:t.body[0].expression,right:{type:Lo.NGValueParameter},operator:"="}}function bn(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===Lo.Literal||t.body[0].expression.type===Lo.ArrayExpression||t.body[0].expression.type===Lo.ObjectExpression)}function $n(t){return t.constant}function yn(t){this.$filter=t}function En(t){this.$filter=t}function wn(t,e,n){this.ast=new Lo(t,n),this.astCompiler=n.csp?new En(e):new yn(e)}function Cn(t){return M(t.valueOf)?t.valueOf():Io.call(t)}function _n(){var t,e,n=$t(),r={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(t,e){r[t]=e},this.setIdentifierFns=function(n,r){return t=n,e=r,this},this.$get=["$filter",function(i){function a(t,e){var r,o,a;switch(typeof t){case"string":if(t=t.trim(),a=t,r=n[a],!r){":"===t.charAt(0)&&":"===t.charAt(1)&&(o=!0,t=t.substring(2));var s=new Ro(m),l=new wn(s,i,m);r=l.parse(t),r.constant?r.$$watchDelegate=d:o?(r.oneTime=!0,r.$$watchDelegate=u):r.inputs&&(r.$$watchDelegate=c),n[a]=r}return h(r,e);case"function":return h(t,e);default:return h(f,e)}}function s(t,e,n){return null==t||null==e?t===e:!("object"==typeof t&&(t=Cn(t),"object"==typeof t&&!n))&&(t===e||t!==t&&e!==e)}function c(t,e,n,r,i){var o,a=r.inputs;if(1===a.length){var c=s;return a=a[0],t.$watch(function(t){var e=a(t);return s(e,c,r.literal)||(o=r(t,void 0,void 0,[e]),c=e&&Cn(e)),o},e,n,i)}for(var u=[],l=[],d=0,h=a.length;d<h;d++)u[d]=s,l[d]=null;return t.$watch(function(t){for(var e=!1,n=0,i=a.length;n<i;n++){var c=a[n](t);(e||(e=!s(c,u[n],r.literal)))&&(l[n]=c,u[n]=c&&Cn(c))}return e&&(o=r(t,void 0,void 0,l)),o},e,n,i)}function u(t,e,n,r,i){function o(t){return r(t)}function a(t,n,r){u=t,M(e)&&e(t,n,r),d(t)&&r.$$postDigest(function(){d(u)&&s()})}var s,u,d=r.literal?l:y;return s=r.inputs?c(t,a,n,r,i):t.$watch(o,a,n)}function l(t){var e=!0;return o(t,function(t){y(t)||(e=!1)}),e}function d(t,e,n,r){var i=t.$watch(function(t){return i(),r(t)},e,n);return i}function h(t,e){function n(n,r,i,a){var s=o&&a?a[0]:t(n,r,i,a);return e(s,n,r)}function r(n,r,i,s){var c=o&&s?s[0]:t(n,r,i,s),u=e(c,n,r);return a(c)?u:c}if(!e)return t;var i=t.$$watchDelegate,o=!1,a=t.literal?l:y,s=t.oneTime?r:n;return s.literal=t.literal,s.oneTime=t.oneTime,o=!t.inputs,i&&i!==c?(s.$$watchDelegate=i,s.inputs=t.inputs):e.$stateful||(s.$$watchDelegate=c,s.inputs=t.inputs?t.inputs:[t]),s}var p=bi().noUnsafeEval,m={csp:p,literals:V(r),isIdentifierStart:M(t)&&t,isIdentifierContinue:M(e)&&e};return a}]}function xn(){var t=!0;this.$get=["$rootScope","$exceptionHandler",function(e,n){return An(function(t){e.$evalAsync(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return y(e)?(t=e,this):t}}function Mn(){var t=!0;this.$get=["$browser","$exceptionHandler",function(e,n){return An(function(t){e.defer(t)},n,t)}],this.errorOnUnhandledRejections=function(e){return y(e)?(t=e,this):t}}function An(t,n,r){function i(){return new a}function a(){var t=this.promise=new s;this.resolve=function(e){h(t,e)},this.reject=function(e){m(t,e)},this.notify=function(e){v(t,e)}}function s(){this.$$state={status:0}}function c(e){var n,i,o;o=e.pending,e.processScheduled=!1,e.pending=void 0;try{for(var a=0,s=o.length;a<s;++a){e.pur=!0,i=o[a][0],n=o[a][e.status];try{M(n)?h(i,n(e.value)):1===e.status?h(i,e.value):m(i,e.value)}catch(t){m(i,t)}}}finally{--A,r&&0===A&&t(u)}}function u(){for(;!A&&T.length;){var t=T.shift();if(!t.pur){t.pur=!0;var e="Possibly unhandled rejection: "+_t(t.value);t.value instanceof Error?n(t.value,e):n(e)}}}function l(e){!r||e.pending||2!==e.status||e.pur||(0===A&&0===T.length&&t(u),T.push(e)),!e.processScheduled&&e.pending&&(e.processScheduled=!0,++A,t(function(){c(e)}))}function h(t,e){t.$$state.status||(e===t?f(t,x("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):p(t,e))}function p(t,e){function n(e){a||(a=!0,p(t,e))}function r(e){a||(a=!0,f(t,e))}function i(e){v(t,e)}var o,a=!1;try{(E(e)||M(e))&&(o=e.then),M(o)?(t.$$state.status=-1,o.call(e,n,r,i)):(t.$$state.value=e,t.$$state.status=1,l(t.$$state))}catch(t){r(t)}}function m(t,e){t.$$state.status||f(t,e)}function f(t,e){t.$$state.value=e,t.$$state.status=2,l(t.$$state)}function v(e,r){var i=e.$$state.pending;e.$$state.status<=0&&i&&i.length&&t(function(){for(var t,e,o=0,a=i.length;o<a;o++){e=i[o][0],t=i[o][3];try{v(e,M(t)?t(r):r)}catch(t){n(t)}}})}function g(t){var e=new s;return m(e,t),e}function b(t,e,n){var r=null;try{M(n)&&(r=n())}catch(t){return g(t)}return I(r)?r.then(function(){return e(t)},g):e(t)}function y(t,e,n,r){var i=new s;return h(i,t),i.then(e,n,r)}function w(t){var e=new s,n=0,r=mi(t)?[]:{};return o(t,function(t,i){n++,y(t).then(function(t){r[i]=t,--n||h(e,r)},function(t){m(e,t)})}),0===n&&h(e,r),e}function C(t){var e=i();return o(t,function(t){y(t).then(e.resolve,e.reject)}),e.promise}function _(t){function e(t){h(r,t)}function n(t){m(r,t)}if(!M(t))throw x("norslvr","Expected resolverFn, got '{0}'",t);var r=new s;return t(e,n),r}var x=e("$q",TypeError),A=0,T=[];d(s.prototype,{then:function(t,e,n){if($(t)&&$(e)&&$(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,t,e,n]),this.$$state.status>0&&l(this.$$state),r},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then(function(e){return b(e,k,t)},function(e){return b(e,g,t)},e)}});var k=y;return _.prototype=s.prototype,_.defer=i,_.reject=g,_.when=y,_.resolve=k,_.all=w,_.race=C,_}function Tn(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,r=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(t){var e=n(t);return function(){r(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=i,o}]}function kn(){function t(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=c(),this.$$ChildScope=null}return e.prototype=t,e}var n=10,r=e("$rootScope"),a=null,s=null;this.digestTtl=function(t){return arguments.length&&(n=t),n},this.$get=["$exceptionHandler","$parse","$browser",function(e,u,l){function d(t){t.currentScope.$$destroyed=!0}function h(t){9===ei&&(t.$$childHead&&h(t.$$childHead),t.$$nextSibling&&h(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}function p(){this.$id=c(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(t){if(_.$$phase)throw r("inprog","{0} already in progress",_.$$phase);_.$$phase=t}function v(){_.$$phase=null}function g(t,e){do t.$$watchersCount+=e;while(t=t.$parent)}function b(t,e,n){do t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n];while(t=t.$parent)}function y(){}function w(){for(;T.length;)try{T.shift()()}catch(t){e(t)}s=null}function C(){null===s&&(s=l.defer(function(){_.$apply(w)}))}p.prototype={constructor:p,$new:function(e,n){var r;return n=n||this,e?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=t(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(e||n!==this)&&r.$on("$destroy",d),r},$watch:function(t,e,n,r){var i=u(t);if(i.$$watchDelegate)return i.$$watchDelegate(this,e,n,i,t);var o=this,s=o.$$watchers,c={fn:e,last:y,get:i,exp:r||t,eq:!!n};return a=null,M(e)||(c.fn=f),s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(c),s.$$digestWatchIndex++,g(this,1),function(){var t=q(s,c);t>=0&&(g(o,-1),t<s.$$digestWatchIndex&&s.$$digestWatchIndex--),a=null}},$watchGroup:function(t,e){function n(){c=!1,u?(u=!1,e(i,i,s)):e(i,r,s)}var r=new Array(t.length),i=new Array(t.length),a=[],s=this,c=!1,u=!0;if(!t.length){var l=!0;return s.$evalAsync(function(){l&&e(i,i,s)}),function(){l=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){i[0]=t,r[0]=n,e(i,t===n?i:r,o)}):(o(t,function(t,e){var o=s.$watch(t,function(t,o){i[e]=t,r[e]=o,c||(c=!0,s.$evalAsync(n))});a.push(o)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(t,e){function n(t){o=t;var e,n,r,s,c;if(!$(o)){if(E(o))if(i(o)){a!==p&&(a=p,v=a.length=0,d++),e=o.length,v!==e&&(d++,a.length=v=e);for(var u=0;u<e;u++)c=a[u],s=o[u],r=c!==c&&s!==s,r||c===s||(d++,a[u]=s)}else{a!==m&&(a=m={},v=0,d++),e=0;for(n in o)Gr.call(o,n)&&(e++,s=o[n],c=a[n],n in a?(r=c!==c&&s!==s,r||c===s||(d++,a[n]=s)):(v++,a[n]=s,d++));if(v>e){d++;for(n in a)Gr.call(o,n)||(v--,delete a[n])}}else a!==o&&(a=o,d++);return d}}function r(){if(f?(f=!1,e(o,o,c)):e(o,s,c),l)if(E(o))if(i(o)){s=new Array(o.length);for(var t=0;t<o.length;t++)s[t]=o[t]}else{s={};for(var n in o)Gr.call(o,n)&&(s[n]=o[n])}else s=o}n.$stateful=!0;var o,a,s,c=this,l=e.length>1,d=0,h=u(t,n),p=[],m={},f=!0,v=0;return this.$watch(h,r)},$digest:function(){var t,i,o,c,u,d,h,p,f,g,b,$=n,E=this,C=[];m("$digest"),l.$$checkUrlChange(),this===_&&null!==s&&(l.defer.cancel(s),w()),a=null;do{h=!1,f=E;for(var T=0;T<x.length;T++){try{b=x[T],c=b.fn,c(b.scope,b.locals)}catch(t){e(t)}a=null}x.length=0;t:do{if(d=f.$$watchers)for(d.$$digestWatchIndex=d.length;d.$$digestWatchIndex--;)try{if(t=d[d.$$digestWatchIndex])if(u=t.get,(i=u(f))===(o=t.last)||(t.eq?U(i,o):pi(i)&&pi(o))){if(t===a){h=!1;break t}}else h=!0,a=t,t.last=t.eq?V(i,null):i,c=t.fn,c(i,o===y?i:o,f),$<5&&(g=4-$,C[g]||(C[g]=[]),C[g].push({msg:M(t.exp)?"fn: "+(t.exp.name||t.exp.toString()):t.exp,newVal:i,oldVal:o}))}catch(t){e(t)}if(!(p=f.$$watchersCount&&f.$$childHead||f!==E&&f.$$nextSibling))for(;f!==E&&!(p=f.$$nextSibling);)f=f.$parent}while(f=p);if((h||x.length)&&!$--)throw v(),r("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",n,C)}while(h||x.length);for(v();k<A.length;)try{A[k++]()}catch(t){e(t)}A.length=k=0,l.$$checkUrlChange()},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===_&&l.$$applicationDestroyed(),g(this,-this.$$watchersCount);for(var e in this.$$listenerCount)b(this,this.$$listenerCount[e],e);t&&t.$$childHead===this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail===this&&(t.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=f,this.$on=this.$watch=this.$watchGroup=function(){return f},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(t,e){return u(t)(this,e)},$evalAsync:function(t,e){_.$$phase||x.length||l.defer(function(){x.length&&_.$digest()}),x.push({scope:this,fn:u(t),locals:e})},$$postDigest:function(t){A.push(t)},$apply:function(t){try{m("$apply");try{return this.$eval(t)}finally{v()}}catch(t){e(t)}finally{try{_.$digest()}catch(t){throw e(t),t}}},$applyAsync:function(t){function e(){n.$eval(t)}var n=this;t&&T.push(e),t=u(t),C()},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var r=this;do r.$$listenerCount[t]||(r.$$listenerCount[t]=0),r.$$listenerCount[t]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(e);r!==-1&&(n[r]=null,b(i,1,t))}},$emit:function(t,n){var r,i,o,a=[],s=this,c=!1,u={name:t,targetScope:s,stopPropagation:function(){c=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=z([u],arguments,1);do{for(r=s.$$listeners[t]||a,u.currentScope=s,i=0,o=r.length;i<o;i++)if(r[i])try{r[i].apply(null,l)}catch(t){e(t)}else r.splice(i,1),i--,o--;if(c)return u.currentScope=null,u;s=s.$parent}while(s);return u.currentScope=null,u},$broadcast:function(t,n){var r=this,i=r,o=r,a={name:t,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[t])return a;for(var s,c,u,l=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[t]||[],c=0,u=s.length;c<u;c++)if(s[c])try{s[c].apply(null,l)}catch(t){e(t)}else s.splice(c,1),c--,u--;if(!(o=i.$$listenerCount[t]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var _=new p,x=_.$$asyncQueue=[],A=_.$$postDigestQueue=[],T=_.$$applyAsyncQueue=[],k=0;return _}]}function Sn(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return y(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return y(t)?(e=t,this):e},this.$get=function(){return function(n,r){var i,o=r?e:t;return i=jn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Nn(t){return t.replace(qo,Tt)}function Dn(t){if("self"===t)return t;if(C(t)){if(t.indexOf("***")>-1)throw Fo("iwcard","Illegal sequence *** in string matcher.  String: {0}",t);return t=gi(t).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+t+"$")}if(A(t))return new RegExp("^"+t.source+"$");throw Fo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function On(t){var e=[];return y(t)&&o(t,function(t){e.push(Dn(t))}),e}function In(){this.SCE_CONTEXTS=jo;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=On(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=On(t)),e},this.$get=["$injector",function(n){function r(t,e){return"self"===t?qn(e):!!t.exec(e.href)}function i(n){var i,o,a=jn(n.toString()),s=!1;for(i=0,o=t.length;i<o;i++)if(r(t[i],a)){s=!0;break}if(s)for(i=0,o=e.length;i<o;i++)if(r(e[i],a)){s=!1;break}return s}function o(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}function a(t,e){var n=d.hasOwnProperty(t)?d[t]:null;if(!n)throw Fo("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",t,e);if(null===e||$(e)||""===e)return e;if("string"!=typeof e)throw Fo("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",t);return new n(e)}function s(t){return t instanceof l?t.$$unwrapTrustedValue():t}function c(t,e){if(null===e||$(e)||""===e)return e;var n=d.hasOwnProperty(t)?d[t]:null;if(n&&e instanceof n)return e.$$unwrapTrustedValue();if(t===jo.RESOURCE_URL){if(i(e))return e;throw Fo("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",e.toString())}if(t===jo.HTML)return u(e);throw Fo("unsafe","Attempting to use an unsafe value in a safe context.")}var u=function(t){throw Fo("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(u=n.get("$sanitize"));var l=o(),d={};return d[jo.HTML]=o(l),d[jo.CSS]=o(l),d[jo.URL]=o(l),d[jo.JS]=o(l),d[jo.RESOURCE_URL]=o(d[jo.URL]),{trustAs:a,getTrusted:c,valueOf:s}}]}function Hn(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&ei<8)throw Fo("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=wt(jo);r.isEnabled=function(){return t},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,t||(r.trustAs=r.getTrusted=function(t,e){return e},r.valueOf=v),r.parseAs=function(t,n){var i=e(n);return i.literal&&i.constant?i:e(n,function(e){return r.getTrusted(t,e)})};var i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(jo,function(t,e){var n=Zr(e);r[Nn("parse_as_"+n)]=function(e){return i(t,e)},r[Nn("get_trusted_"+n)]=function(e){return a(t,e)},r[Nn("trust_as_"+n)]=function(e){return s(t,e)}}),r}]}function Pn(){this.$get=["$window","$document",function(t,e){var n={},r=t.nw&&t.nw.process,i=!r&&t.chrome&&(t.chrome.app&&t.chrome.app.runtime||!t.chrome.app&&t.chrome.runtime&&t.chrome.runtime.id),o=!i&&t.history&&t.history.pushState,a=p((/android (\d+)/.exec(Zr((t.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((t.navigator||{}).userAgent),c=e[0]||{},u=c.body&&c.body.style,l=!1,d=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),d=!!("animation"in u||"webkitAnimation"in u)),{history:!(!o||a<4||s),hasEvent:function(t){if("input"===t&&ei)return!1;if($(n[t])){var e=c.createElement("div");n[t]="on"+t in e}return n[t]},csp:bi(),transitions:l,animations:d,android:a}}]}function Rn(){var t;this.httpOptions=function(e){return e?(t=e,this):t},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(e,n,r,i,o){function a(s,c){function u(t){return c||(t=Vo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,t.status,t.statusText),e(t)),i.reject(t)}a.totalPendingRequests++,C(s)&&!$(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return mi(l)?l=l.filter(function(t){return t!==He}):l===He&&(l=null),r.get(s,d({cache:n,transformResponse:l},t)).finally(function(){a.totalPendingRequests--}).then(function(t){return n.put(s,t.data),t.data},u)}return a.totalPendingRequests=0,a}]}function Ln(){this.$get=["$rootScope","$browser","$location",function(t,e,n){var r={};return r.findBindings=function(t,e,n){var r=t.getElementsByClassName("ng-binding"),i=[];return o(r,function(t){var r=di.element(t).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+gi(e)+"(\\s|\\||$)");o.test(r)&&i.push(t)}else r.indexOf(e)!==-1&&i.push(t)})}),i},r.findModels=function(t,e,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+e+'"]',s=t.querySelectorAll(a);if(s.length)return s}},r.getLocation=function(){return n.url()},r.setLocation=function(e){e!==n.url()&&(n.url(e),t.$digest())},r.whenStable=function(t){e.notifyWhenNoOutstandingRequests(t)},r}]}function Fn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,r,i){function o(o,s,c){M(o)||(c=s,s=o,o=f);var u,l=W(arguments,3),d=y(c)&&!c,h=(d?r:n).defer(),p=h.promise;return u=e.defer(function(){try{h.resolve(o.apply(null,l))}catch(t){h.reject(t),i(t)}finally{delete a[p.$$timeoutId]}d||t.$apply()},s),p.$$timeoutId=u,a[u]=h,p}var a={};return o.cancel=function(t){return!!(t&&t.$$timeoutId in a)&&(a[t.$$timeoutId].promise.catch(f),a[t.$$timeoutId].reject("canceled"),delete a[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},o}]}function jn(t){var e=t;return ei&&(Bo.setAttribute("href",e),e=Bo.href),Bo.setAttribute("href",e),{href:Bo.href,protocol:Bo.protocol?Bo.protocol.replace(/:$/,""):"",host:Bo.host,search:Bo.search?Bo.search.replace(/^\?/,""):"",hash:Bo.hash?Bo.hash.replace(/^#/,""):"",hostname:Bo.hostname,port:Bo.port,pathname:"/"===Bo.pathname.charAt(0)?Bo.pathname:"/"+Bo.pathname}}function qn(t){var e=C(t)?jn(t):t;return e.protocol===Uo.protocol&&e.host===Uo.host}function Vn(){this.$get=g(t)}function Bn(t){function e(t){try{return t.cookie||""}catch(t){return""}}function n(t){try{return decodeURIComponent(t)}catch(e){return t}}var r=t[0]||{},i={},o="";return function(){var t,a,s,c,u,l=e(r);if(l!==o)for(o=l,t=o.split("; "),i={},s=0;s<t.length;s++)a=t[s],c=a.indexOf("="),c>0&&(u=n(a.substring(0,c)),$(i[u])&&(i[u]=n(a.substring(c+1))));return i}}function Un(){this.$get=Bn}function zn(t){function e(r,i){if(E(r)){var a={};return o(r,function(t,n){a[n]=e(n,t)}),a}return t.factory(r+n,i)}var n="Filter";this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+n)}}],e("currency",Xn),e("date",dr),e("filter",Wn),e("json",hr),e("limitTo",pr),e("lowercase",Zo),e("number",Zn),e("orderBy",fr),e("uppercase",Qo)}function Wn(){return function(t,n,r,o){if(!i(t)){if(null==t)return t;throw e("filter")("notarray","Expected array but received: {0}",t)}o=o||"$";var a,s,c=Gn(n);switch(c){case"function":a=n;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Yn(n,r,o,s);break;default:return t}return Array.prototype.filter.call(t,a)}}function Yn(t,e,n,r){var i,o=E(t)&&n in t;return e===!0?e=U:M(e)||(e=function(t,e){return!$(t)&&(null===t||null===e?t===e:!(E(e)||E(t)&&!b(t))&&(t=Zr(""+t),e=Zr(""+e),t.indexOf(e)!==-1))}),i=function(i){return o&&!E(i)?Kn(i,t[n],e,n,!1):Kn(i,t,e,n,r)}}function Kn(t,e,n,r,i,o){var a=Gn(t),s=Gn(e);if("string"===s&&"!"===e.charAt(0))return!Kn(t,e.substring(1),n,r,i);if(mi(t))return t.some(function(t){return Kn(t,e,n,r,i)});switch(a){case"object":var c;if(i){for(c in t)if(c.charAt&&"$"!==c.charAt(0)&&Kn(t[c],e,n,r,!0))return!0;return!o&&Kn(t,e,n,r,!1)}if("object"===s){for(c in e){var u=e[c];if(!M(u)&&!$(u)){var l=c===r,d=l?t:t[c];if(!Kn(d,u,n,r,l,l))return!1}}return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Gn(t){return null===t?"null":typeof t}function Xn(t){var e=t.NUMBER_FORMATS;return function(t,n,r){return $(n)&&(n=e.CURRENCY_SYM),$(r)&&(r=e.PATTERNS[1].maxFrac),null==t?t:tr(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Zn(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:tr(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Qn(t){var e,n,r,i,o,a=0;for((n=t.indexOf(Wo))>-1&&(t=t.replace(Wo,"")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;t.charAt(r)===Yo;r++);if(r===(o=t.length))e=[0],n=1;else{for(o--;t.charAt(o)===Yo;)o--;for(n-=r,e=[],i=0;r<=o;r++,i++)e[i]=+t.charAt(r)}return n>zo&&(e=e.splice(0,zo-1),a=n-1,n=1),{d:e,e:a,i:n}}function Jn(t,e,n,r){var i=t.d,o=i.length-t.i;e=$(e)?Math.min(Math.max(n,o),r):+e;var a=e+t.i,s=i[a];if(a>0){i.splice(Math.max(t.i,a));for(var c=a;c<i.length;c++)i[c]=0}else{o=Math.max(0,o),t.i=1,i.length=Math.max(1,a=e+1),i[0]=0;for(var u=1;u<a;u++)i[u]=0}if(s>=5)if(a-1<0){for(var l=0;l>a;l--)i.unshift(0),t.i++;i.unshift(1),t.i++}else i[a-1]++;for(;o<Math.max(0,e);o++)i.push(0);var d=i.reduceRight(function(t,e,n,r){return e+=t,r[n]=e%10,Math.floor(e/10)},0);d&&(i.unshift(d),t.i++)}function tr(t,e,n,r,i){if(!C(t)&&!_(t)||isNaN(t))return"";var o,a=!isFinite(t),s=!1,c=Math.abs(t)+"",u="";if(a)u="∞";else{o=Qn(c),Jn(o,i,e.minFrac,e.maxFrac);var l=o.d,d=o.i,h=o.e,p=[];for(s=l.reduce(function(t,e){return t&&!e},!0);d<0;)l.unshift(0),d++;d>0?p=l.splice(d,l.length):(p=l,l=[0]);var m=[];for(l.length>=e.lgSize&&m.unshift(l.splice(-e.lgSize,l.length).join(""));l.length>e.gSize;)m.unshift(l.splice(-e.gSize,l.length).join(""));l.length&&m.unshift(l.join("")),u=m.join(n),p.length&&(u+=r+p.join("")),h&&(u+="e+"+h)}return t<0&&!s?e.negPre+u+e.negSuf:e.posPre+u+e.posSuf}function er(t,e,n,r){var i="";for((t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,i="-")),t=""+t;t.length<e;)t=Yo+t;return n&&(t=t.substr(t.length-e)),i+t}function nr(t,e,n,r,i){return n=n||0,function(o){var a=o["get"+t]();return(n>0||a>-n)&&(a+=n),0===a&&n===-12&&(a=12),er(a,e,r,i)}}function rr(t,e,n){return function(r,i){var o=r["get"+t](),a=(n?"STANDALONE":"")+(e?"SHORT":""),s=Qr(a+t);return i[s][o]}}function ir(t,e,n){var r=-1*n,i=r>=0?"+":"";return i+=er(Math[r>0?"floor":"ceil"](r/60),2)+er(Math.abs(r%60),2)}function or(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(e<=4?5:12)-e)}function ar(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function sr(t){return function(e){var n=or(e.getFullYear()),r=ar(e),i=+r-+n,o=1+Math.round(i/6048e5);return er(o,t)}}function cr(t,e){return t.getHours()<12?e.AMPMS[0]:e.AMPMS[1]}function ur(t,e){return t.getFullYear()<=0?e.ERAS[0]:e.ERAS[1]}function lr(t,e){return t.getFullYear()<=0?e.ERANAMES[0]:e.ERANAMES[1]}function dr(t){function e(t){var e;if(e=t.match(n)){var r=new Date(0),i=0,o=0,a=e[8]?r.setUTCFullYear:r.setFullYear,s=e[8]?r.setUTCHours:r.setHours;e[9]&&(i=p(e[9]+e[10]),o=p(e[9]+e[11])),a.call(r,p(e[1]),p(e[2])-1,p(e[3]));var c=p(e[4]||0)-i,u=p(e[5]||0)-o,l=p(e[6]||0),d=Math.round(1e3*parseFloat("0."+(e[7]||0)));return s.call(r,c,u,l,d),r}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,i){var a,s,c="",u=[];if(r=r||"mediumDate",r=t.DATETIME_FORMATS[r]||r,C(n)&&(n=Xo.test(n)?p(n):e(n)),_(n)&&(n=new Date(n)),!x(n)||!isFinite(n.getTime()))return n;for(;r;)s=Go.exec(r),s?(u=z(u,s,1),r=u.pop()):(u.push(r),r=null);var l=n.getTimezoneOffset();return i&&(l=Z(i,l),n=J(n,i,!0)),o(u,function(e){a=Ko[e],c+=a?a(n,t.DATETIME_FORMATS,l):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}}function hr(){return function(t,e){return $(e)&&(e=2),G(t,e)}}function pr(){return function(t,e,n){return e=Math.abs(Number(e))===1/0?Number(e):p(e),pi(e)?t:(_(t)&&(t=t.toString()),i(t)?(n=!n||isNaN(n)?0:p(n),n=n<0?Math.max(0,t.length+n):n,e>=0?mr(t,n,n+e):0===n?mr(t,e,t.length):mr(t,Math.max(0,n+e),n)):t)}}function mr(t,e,n){return C(t)?t.slice(e,n):oi.call(t,e,n)}function fr(t){function n(e){return e.map(function(e){var n=1,r=v;if(M(e))r=e;else if(C(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(n="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e),r.constant))){var i=r();r=function(t){return t[i]}}return{get:r,descending:n}})}function r(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}function o(t){return M(t.valueOf)&&(t=t.valueOf(),r(t))?t:b(t)&&(t=t.toString(),r(t))?t:t}function a(t,e){var n=typeof t;return null===t?(n="string",t="null"):"object"===n&&(t=o(t)),{value:t,type:n,index:e}}function s(t,e){var n=0,r=t.type,i=e.type;if(r===i){var o=t.value,a=e.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(E(o)&&(o=t.index),E(a)&&(a=e.index)),o!==a&&(n=o<a?-1:1)}else n=r<i?-1:1;return n}return function(t,r,o,c){function u(t,e){return{value:t,tieBreaker:{value:e,type:"number",index:e},predicateValues:d.map(function(n){return a(n.get(t),e)})}}function l(t,e){for(var n=0,r=d.length;n<r;n++){var i=p(t.predicateValues[n],e.predicateValues[n]);if(i)return i*d[n].descending*h}return p(t.tieBreaker,e.tieBreaker)*h}if(null==t)return t;if(!i(t))throw e("orderBy")("notarray","Expected array but received: {0}",t);mi(r)||(r=[r]),0===r.length&&(r=["+"]);var d=n(r),h=o?-1:1,p=M(c)?c:s,m=Array.prototype.map.call(t,u);return m.sort(l),t=m.map(function(t){return t.value})}}function vr(t){return M(t)&&(t={link:t}),t.restrict=t.restrict||"AC",g(t)}function gr(t,e){t.$name=e}function br(t,e,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(e.name||e.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=ea,this.$$element=t,this.$$animate=r,$r(this)}function $r(t){t.$$classCache={},t.$$classCache[Fa]=!(t.$$classCache[La]=t.$$element.hasClass(La))}function yr(t){function e(t,e,n,r){t[e]||(t[e]={}),a(t[e],n,r)}function n(t,e,n,r){t[e]&&s(t[e],n,r),Er(t[e])&&(t[e]=void 0)}function r(t,e,n){n&&!t.$$classCache[e]?(t.$$animate.addClass(t.$$element,e),t.$$classCache[e]=!0):!n&&t.$$classCache[e]&&(t.$$animate.removeClass(t.$$element,e),t.$$classCache[e]=!1)}function i(t,e,n){e=e?"-"+ht(e,"-"):"",r(t,La+e,n===!0),r(t,Fa+e,n===!1)}var o=t.clazz,a=t.set,s=t.unset;o.prototype.$setValidity=function(t,o,c){$(o)?e(this,"$pending",t,c):n(this,"$pending",t,c),O(o)?o?(s(this.$error,t,c),a(this.$$success,t,c)):(a(this.$error,t,c),s(this.$$success,t,c)):(s(this.$error,t,c),s(this.$$success,t,c)),this.$pending?(r(this,na,!0),this.$valid=this.$invalid=void 0,i(this,"",null)):(r(this,na,!1),this.$valid=Er(this.$error),this.$invalid=!this.$valid,i(this,"",this.$valid));var u;u=this.$pending&&this.$pending[t]?void 0:!this.$error[t]&&(!!this.$$success[t]||null),i(this,t,u),this.$$parentForm.$setValidity(t,u,this)}}function Er(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function wr(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function Cr(t,e,n,r,i,o){_r(t,e,n,r,i,o),wr(r)}function _r(t,e,n,r,i,o){var a=Zr(e[0].type);if(!i.android){var s=!1;e.on("compositionstart",function(){s=!0}),e.on("compositionend",function(){s=!1,u()})}var c,u=function(t){if(c&&(o.defer.cancel(c),c=null),!s){var i=e.val(),u=t&&t.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=vi(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))e.on("input",u);else{var l=function(t,e,n){c||(c=o.defer(function(){c=null,e&&e.value===n||u(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&e<19||37<=e&&e<=40||l(t,this,this.value)}),i.hasEvent("paste")&&e.on("paste cut",l);
}e.on("change",u),ga[a]&&r.$$hasNativeValidators&&a===n.type&&e.on(va,function(t){if(!c){var e=this[Kr],n=e.badInput,r=e.typeMismatch;c=o.defer(function(){c=null,e.badInput===n&&e.typeMismatch===r||u(t)})}}),r.$render=function(){var t=r.$isEmpty(r.$viewValue)?"":r.$viewValue;e.val()!==t&&e.val(t)}}function xr(t,e){if(x(t))return t;if(C(t)){pa.lastIndex=0;var n=pa.exec(t);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,c=0,u=or(r),l=7*(i-1);return e&&(o=e.getHours(),a=e.getMinutes(),s=e.getSeconds(),c=e.getMilliseconds()),new Date(r,0,u.getDate()+l,o,a,s,c)}}return NaN}function Mr(t,e){return function(n,r){var i,a;if(x(n))return n;if(C(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),sa.test(n))return new Date(n);if(t.lastIndex=0,i=t.exec(n))return i.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(i,function(t,n){n<e.length&&(a[e[n]]=+t)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function Ar(t,e,n,r){return function(i,o,a,s,c,u,l){function d(t){return t&&!(t.getTime&&t.getTime()!==t.getTime())}function h(t){return y(t)&&!x(t)?n(t)||void 0:t}Tr(i,o,a,s),_r(i,o,a,s,c,u);var p,m=s&&s.$options.getOption("timezone");if(s.$$parserName=t,s.$parsers.push(function(t){if(s.$isEmpty(t))return null;if(e.test(t)){var r=n(t,p);return m&&(r=J(r,m)),r}}),s.$formatters.push(function(t){if(t&&!x(t))throw Wa("datefmt","Expected `{0}` to be a date",t);return d(t)?(p=t,p&&m&&(p=J(p,m,!0)),l("date")(t,r,m)):(p=null,"")}),y(a.min)||a.ngMin){var f;s.$validators.min=function(t){return!d(t)||$(f)||n(t)>=f},a.$observe("min",function(t){f=h(t),s.$validate()})}if(y(a.max)||a.ngMax){var v;s.$validators.max=function(t){return!d(t)||$(v)||n(t)<=v},a.$observe("max",function(t){v=h(t),s.$validate()})}}}function Tr(t,e,n,r){var i=e[0],o=r.$$hasNativeValidators=E(i.validity);o&&r.$parsers.push(function(t){var n=e.prop(Kr)||{};return n.badInput||n.typeMismatch?void 0:t})}function kr(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:la.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!_(e))throw Wa("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function Sr(t){return y(t)&&!_(t)&&(t=parseFloat(t)),pi(t)?void 0:t}function Nr(t){return(0|t)===t}function Dr(t){var e=t.toString(),n=e.indexOf(".");if(n===-1){if(-1<t&&t<1){var r=/e-(\d+)$/.exec(e);if(r)return Number(r[1])}return 0}return e.length-n-1}function Or(t,e,n){var r=Number(t),i=!Nr(r),o=!Nr(e),a=!Nr(n);if(i||o||a){var s=i?Dr(r):0,c=o?Dr(e):0,u=a?Dr(n):0,l=Math.max(s,c,u),d=Math.pow(10,l);r*=d,e*=d,n*=d,i&&(r=Math.round(r)),o&&(e=Math.round(e)),a&&(n=Math.round(n))}return(r-e)%n===0}function Ir(t,e,n,r,i,o){Tr(t,e,n,r),kr(r),_r(t,e,n,r,i,o);var a,s;if((y(n.min)||n.ngMin)&&(r.$validators.min=function(t){return r.$isEmpty(t)||$(a)||t>=a},n.$observe("min",function(t){a=Sr(t),r.$validate()})),(y(n.max)||n.ngMax)&&(r.$validators.max=function(t){return r.$isEmpty(t)||$(s)||t<=s},n.$observe("max",function(t){s=Sr(t),r.$validate()})),y(n.step)||n.ngStep){var c;r.$validators.step=function(t,e){return r.$isEmpty(e)||$(c)||Or(e,a||0,c)},n.$observe("step",function(t){c=Sr(t),r.$validate()})}}function Hr(t,e,n,r,i,o){function a(t,r){e.attr(t,n[t]),n.$observe(t,r)}function s(t){if(d=Sr(t),!pi(r.$modelValue))if(l){var n=e.val();d>n&&(n=d,e.val(n)),r.$setViewValue(n)}else r.$validate()}function c(t){if(h=Sr(t),!pi(r.$modelValue))if(l){var n=e.val();h<n&&(e.val(h),n=h<d?d:h),r.$setViewValue(n)}else r.$validate()}function u(t){p=Sr(t),pi(r.$modelValue)||(l&&r.$viewValue!==e.val()?r.$setViewValue(e.val()):r.$validate())}Tr(t,e,n,r),kr(r),_r(t,e,n,r,i,o);var l=r.$$hasNativeValidators&&"range"===e[0].type,d=l?0:void 0,h=l?100:void 0,p=l?1:void 0,m=e[0].validity,f=y(n.min),v=y(n.max),g=y(n.step),b=r.$render;r.$render=l&&y(m.rangeUnderflow)&&y(m.rangeOverflow)?function(){b(),r.$setViewValue(e.val())}:b,f&&(r.$validators.min=l?function(){return!0}:function(t,e){return r.$isEmpty(e)||$(d)||e>=d},a("min",s)),v&&(r.$validators.max=l?function(){return!0}:function(t,e){return r.$isEmpty(e)||$(h)||e<=h},a("max",c)),g&&(r.$validators.step=l?function(){return!m.stepMismatch}:function(t,e){return r.$isEmpty(e)||$(p)||Or(e,d||0,p)},a("step",u))}function Pr(t,e,n,r,i,o){_r(t,e,n,r,i,o),wr(r),r.$$parserName="url",r.$validators.url=function(t,e){var n=t||e;return r.$isEmpty(n)||ca.test(n)}}function Rr(t,e,n,r,i,o){_r(t,e,n,r,i,o),wr(r),r.$$parserName="email",r.$validators.email=function(t,e){var n=t||e;return r.$isEmpty(n)||ua.test(n)}}function Lr(t,e,n,r){var i=!n.ngTrim||"false"!==vi(n.ngTrim);$(n.name)&&e.attr("name",c());var o=function(t){var o;e[0].checked&&(o=n.value,i&&(o=vi(o)),r.$setViewValue(o,t&&t.type))};e.on("click",o),r.$render=function(){var t=n.value;i&&(t=vi(t)),e[0].checked=t===r.$viewValue},n.$observe("value",r.$render)}function Fr(t,e,n,r,i){var o;if(y(r)){if(o=t(r),!o.constant)throw Wa("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(e)}return i}function jr(t,e,n,r,i,o,a,s){var c=Fr(s,t,"ngTrueValue",n.ngTrueValue,!0),u=Fr(s,t,"ngFalseValue",n.ngFalseValue,!1),l=function(t){r.$setViewValue(e[0].checked,t&&t.type)};e.on("click",l),r.$render=function(){e[0].checked=r.$viewValue},r.$isEmpty=function(t){return t===!1},r.$formatters.push(function(t){return U(t,c)}),r.$parsers.push(function(t){return t?c:u})}function qr(t,e){function n(t,e){if(!t||!t.length)return[];if(!e||!e.length)return t;var n=[];t:for(var r=0;r<t.length;r++){for(var i=t[r],o=0;o<e.length;o++)if(i===e[o])continue t;n.push(i)}return n}function r(t){return t&&t.split(" ")}function i(t){var e=t;return mi(t)?e=t.map(i).join(" "):E(t)&&(e=Object.keys(t).filter(function(e){return t[e]}).join(" ")),e}t="ngClass"+t;var a;return["$parse",function(s){return{restrict:"AC",link:function(c,u,l){function d(t){t=m(r(t),1),l.$addClass(t)}function h(t){t=m(r(t),-1),l.$removeClass(t)}function p(t,e){var i=r(t),o=r(e),a=n(i,o),s=n(o,i),c=m(a,-1),u=m(s,1);l.$addClass(u),l.$removeClass(c)}function m(t,e){var n=[];return o(t,function(t){(e>0||b[t])&&(b[t]=(b[t]||0)+e,b[t]===+(e>0)&&n.push(t))}),n.join(" ")}function f(t){t===e?d(g):h(g),$=t}function v(t){C(t)||(t=i(t)),$===e&&p(g,t),g=t}var g,b=u.data("$classCounts"),$=!0;b||(b=$t(),u.data("$classCounts",b)),"ngClass"!==t&&(a||(a=s("$index",function(t){return 1&t})),c.$watch(a,f)),c.$watch(s(l[t],i),v)}}}]}function Vr(t,e,n,r,i,o,a,s,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(t),this.$$parentForm=ea,this.$options=Ya,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,Object.defineProperty(this,"$$scope",{value:t}),this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=e,$r(this),Br(this)}function Br(t){t.$$scope.$watch(function(e){var n=t.$$ngModelGet(e);if(n!==t.$modelValue&&(t.$modelValue===t.$modelValue||n===n)){t.$modelValue=t.$$rawModelValue=n,t.$$parserValid=void 0;for(var r=t.$formatters,i=r.length,o=n;i--;)o=r[i](o);t.$viewValue!==o&&(t.$$updateEmptyClasses(o),t.$viewValue=t.$$lastCommittedViewValue=o,t.$render(),t.$$runValidators(t.$modelValue,t.$viewValue,f))}return n})}function Ur(t){this.$$options=t}function zr(t,e){o(e,function(e,n){y(t[n])||(t[n]=e)})}function Wr(t,e){t.prop("selected",e),t.attr("selected",e)}var Yr=/^\/(.+)\/([a-z]*)$/,Kr="validity",Gr=Object.prototype.hasOwnProperty,Xr={objectMaxDepth:5},Zr=function(t){return C(t)?t.toLowerCase():t},Qr=function(t){return C(t)?t.toUpperCase():t},Jr=function(t){return C(t)?t.replace(/[A-Z]/g,function(t){return String.fromCharCode(32|t.charCodeAt(0))}):t},ti=function(t){return C(t)?t.replace(/[a-z]/g,function(t){return String.fromCharCode(t.charCodeAt(0)&-33)}):t};"i"!=="I".toLowerCase()&&(Zr=Jr,Qr=ti);var ei,ni,ri,ii,oi=[].slice,ai=[].splice,si=[].push,ci=Object.prototype.toString,ui=Object.getPrototypeOf,li=e("ng"),di=t.angular||(t.angular={}),hi=0;ei=t.document.documentMode;var pi=Number.isNaN||function(t){return t!==t};f.$inject=[],v.$inject=[];var mi=Array.isArray,fi=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,vi=function(t){return C(t)?t.trim():t},gi=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},bi=function(){function e(){try{return new Function(""),!1}catch(t){return!0}}if(!y(bi.rules)){var n=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(n){var r=n.getAttribute("ng-csp")||n.getAttribute("data-ng-csp");bi.rules={noUnsafeEval:!r||r.indexOf("no-unsafe-eval")!==-1,noInlineStyle:!r||r.indexOf("no-inline-style")!==-1}}else bi.rules={noUnsafeEval:e(),noInlineStyle:!1}}return bi.rules},$i=function(){if(y($i.name_))return $i.name_;var e,n,r,i,o=Ei.length;for(n=0;n<o;++n)if(r=Ei[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return $i.name_=i},yi=/:/g,Ei=["ng-","data-ng-","ng:","x-ng-"],wi=st(t.document),Ci=/[A-Z]/g,_i=!1,xi=1,Mi=2,Ai=3,Ti=8,ki=9,Si=11,Ni={full:"1.6.4",major:1,minor:6,dot:4,codeName:"phenomenal-footnote"};Pt.expando="ng339";var Di=Pt.cache={},Oi=1;Pt._data=function(t){return this.cache[t[this.expando]]||{}};var Ii=/-([a-z])/g,Hi=/^-ms-/,Pi={mouseleave:"mouseout",mouseenter:"mouseover"},Ri=e("jqLite"),Li=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Fi=/<|&#?\w+;/,ji=/<([\w:-]+)/,qi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Vi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Vi.optgroup=Vi.option,Vi.tbody=Vi.tfoot=Vi.colgroup=Vi.caption=Vi.thead,Vi.th=Vi.td;var Bi=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))},Ui=Pt.prototype={ready:Qt,toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return ni(t>=0?this[t]:this[this.length+t])},length:0,push:si,sort:[].sort,splice:[].splice},zi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){zi[Zr(t)]=t});var Wi={};o("input,select,option,textarea,button,form,details".split(","),function(t){Wi[t]=!0});var Yi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Vt,removeData:jt,hasData:Dt,cleanData:function(t){for(var e=0,n=t.length;e<n;e++)jt(t[e])}},function(t,e){Pt[e]=t}),o({data:Vt,inheritedData:Kt,scope:function(t){return ni.data(t,"$scope")||Kt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return ni.data(t,"$isolateScope")||ni.data(t,"$isolateScopeNoTemplate")},controller:Yt,injector:function(t){return Kt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:Bt,css:function(t,e,n){return e=At(e),y(n)?void(t.style[e]=n):t.style[e]},attr:function(t,e,n){var r,i=t.nodeType;if(i!==Ai&&i!==Mi&&i!==Ti&&t.getAttribute){var o=Zr(e),a=zi[o];return y(n)?void(null===n||n===!1&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)):(r=t.getAttribute(e),a&&null!==r&&(r=o),null===r?void 0:r)}},prop:function(t,e,n){return y(n)?void(t[e]=n):t[e]},text:function(){function t(t,e){if($(e)){var n=t.nodeType;return n===xi||n===Ai?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if($(e)){if(t.multiple&&"select"===F(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){return $(e)?t.innerHTML:(Lt(t,!0),void(t.innerHTML=e))},empty:Gt},function(t,e){Pt.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==Gt&&$(2===t.length&&t!==Bt&&t!==Yt?e:n)){if(E(e)){for(r=0;r<o;r++)if(t===Vt)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(var a=t.$dv,s=$(a)?Math.min(o,1):o,c=0;c<s;c++){var u=t(this[c],e,n);a=a?a+u:u}return a}for(r=0;r<o;r++)t(this[r],e,n);return this}}),o({removeData:jt,on:function(t,e,n,r){if(y(r))throw Ri("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Nt(t)){var i=qt(t,!0),o=i.events,a=i.handle;a||(a=i.handle=ee(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],c=s.length,u=function(e,r,i){var s=o[e];s||(s=o[e]=[],s.specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,a)),s.push(n)};c--;)e=s[c],Pi[e]?(u(Pi[e],re),u(e,void 0,!0)):u(e)}},off:Ft,one:function(t,e,n){t=ni(t),t.on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;Lt(t),o(new Pt(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){t.nodeType===xi&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(n===xi||n===Si){e=new Pt(e);for(var r=0,i=e.length;r<i;r++){var o=e[r];t.appendChild(o)}}},prepend:function(t,e){if(t.nodeType===xi){var n=t.firstChild;o(new Pt(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){Ht(t,ni(e).eq(0).clone()[0])},remove:Xt,detach:function(t){Xt(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r){e=new Pt(e);for(var i=0,o=e.length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:zt,removeClass:Ut,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var r=n;$(r)&&(r=!Bt(t,e)),(r?zt:Ut)(t,e)})},parent:function(t){var e=t.parentNode;return e&&e.nodeType!==Si?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:Rt,triggerHandler:function(t,e,n){var r,i,a,s=e.type||e,c=qt(t),u=c&&c.events,l=u&&u[s];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:f,type:s,target:t},e.type&&(r=d(r,e)),i=wt(l),a=n?[r].concat(n):[r],o(i,function(e){r.isImmediatePropagationStopped()||e.apply(t,a)}))}},function(t,e){Pt.prototype[e]=function(e,n,r){for(var i,o=0,a=this.length;o<a;o++)$(i)?(i=t(this[o],e,n,r),y(i)&&(i=ni(i))):Wt(i,t(this[o],e,n,r));return y(i)?i:this}}),Pt.prototype.bind=Pt.prototype.on,Pt.prototype.unbind=Pt.prototype.off;var Ki=Object.create(null);ae.prototype={_idx:function(t){return t===this._lastKey?this._lastIndex:(this._lastKey=t,this._lastIndex=this._keys.indexOf(t),this._lastIndex)},_transformKey:function(t){return pi(t)?Ki:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(e!==-1)return this._values[e]},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);n===-1&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},delete:function(t){t=this._transformKey(t);var e=this._idx(t);return e!==-1&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Gi=ae,Xi=[function(){this.$get=[function(){return Gi}]}],Zi=/^([^(]+?)=>/,Qi=/^[^(]*\(\s*([^)]*)\)/m,Ji=/,/,to=/^\s*(_?)(\S+?)\1\s*$/,eo=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,no=e("$injector");de.$$annotate=le;var ro=e("$animate"),io=1,oo="ng-animate",ao=function(){this.$get=f},so=function(){var t=new Gi,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(t,e,n){var r=!1;return e&&(e=C(e)?e.split(" "):mi(e)?e:[],o(e,function(e){e&&(r=!0,t[e]=n)})),r}function a(){o(e,function(e){var n=t.get(e);if(n){var r=fe(e.attr("class")),i="",a="";o(n,function(t,e){var n=!!r[e];t!==n&&(t?i+=(i.length?" ":"")+e:a+=(a.length?" ":"")+e)}),o(e,function(t){i&&zt(t,i),a&&Ut(t,a)}),t.delete(e)}}),e.length=0}function s(n,o,s){var c=t.get(n)||{},u=i(c,o,!0),l=i(c,s,!1);(u||l)&&(t.set(n,c),e.push(n),1===e.length&&r.$$postDigest(a))}return{enabled:f,on:f,off:f,pin:f,push:function(t,e,r,i){i&&i(),r=r||{},r.from&&t.css(r.from),r.to&&t.css(r.to),(r.addClass||r.removeClass)&&s(t,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},co=["$provide",function(t){var e=this,n=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw ro("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)){var e=new RegExp("[(\\s|\\/)]"+oo+"[(\\s|\\/)]");if(e.test(n.toString()))throw n=null,ro("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',oo)}return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=me(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,r,i,o){return r=r&&ni(r),i=i&&ni(i),r=r||i.parent(),e(n,r,i),t.push(n,"enter",ve(o))},move:function(n,r,i,o){return r=r&&ni(r),i=i&&ni(i),r=r||i.parent(),e(n,r,i),t.push(n,"move",ve(o))},leave:function(e,n){return t.push(e,"leave",ve(n),function(){e.remove()})},addClass:function(e,n,r){return r=ve(r),r.addClass=pe(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return r=ve(r),r.removeClass=pe(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return i=ve(i),i.addClass=pe(i.addClass,n),i.removeClass=pe(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return o=ve(o),o.from=o.from?d(o.from,n):n,o.to=o.to?d(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=pe(o.tempClasses,i),t.push(e,"animate",o)}}}]}],uo=function(){this.$get=["$$rAF",function(t){function e(e){n.push(e),n.length>1||t(function(){for(var t=0;t<n.length;t++)n[t]();n=[]})}var n=[];return function(){var t=!1;return e(function(){t=!0}),function(n){t?n():e(n)}}}]},lo=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r,i){function a(t){this.setHost(t);var e=n(),o=function(t){i(t,0,!1)};this._doneCallbacks=[],this._tick=function(t){r()?o(t):e(t)},this._state=0}var s=0,c=1,u=2;return a.chain=function(t,e){function n(){return r===t.length?void e(!0):void t[r](function(t){return t===!1?void e(!1):(r++,void n())})}var r=0;n()},a.all=function(t,e){function n(n){i=i&&n,++r===t.length&&e(i)}var r=0,i=!0;o(t,function(t){t.done(n)})},a.prototype={setHost:function(t){this.host=t||{}},done:function(t){this._state===u?t():this._doneCallbacks.push(t)},progress:f,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){e===!1?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(t){var e=this;e._state===s&&(e._state=c,e._tick(function(){e._resolve(t)}))},_resolve:function(t){this._state!==u&&(o(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=u)}},a}]},ho=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){function i(){return t(function(){o(),s||c.complete(),s=!0}),c}function o(){a.addClass&&(e.addClass(a.addClass),a.addClass=null),a.removeClass&&(e.removeClass(a.removeClass),a.removeClass=null),a.to&&(e.css(a.to),a.to=null)}var a=r||{};a.$$prepared||(a=V(a)),a.cleanupStyles&&(a.from=a.to=null),a.from&&(e.css(a.from),a.from=null);var s,c=new n;return{start:i,end:i}}}]},po=e("$compile"),mo=new Ee;we.$inject=["$provide","$$sanitizeUriProvider"],Ce.prototype.isFirstChange=function(){return this.previousValue===mo};var fo=/^((?:x|data)[:\-_])/i,vo=/[:\-_]+(.)/g,go=e("$controller"),bo=/^(\S+)(\s+as\s+([\w$]+))?$/,$o=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof ni&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},yo="application/json",Eo={"Content-Type":yo+";charset=utf-8"},wo=/^\[|^\{(?!\{)/,Co={"[":/]$/,"{":/}$/},_o=/^\)]\}',?\n/,xo=e("$http"),Mo=di.$interpolateMinErr=e("$interpolate");Mo.throwNoconcat=function(t){throw Mo("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",t)},Mo.interr=function(t,e){return Mo("interr","Can't interpolate: {0}\n{1}",t,e.toString())};var Ao=function(){this.$get=function(){function t(t){var e=function(t){e.data=t,e.called=!0};return e.id=t,e}var e=di.callbacks,n={};return{createCallback:function(r){var i="_"+(e.$$counter++).toString(36),o="angular.callbacks."+i,a=t(i);return n[o]=e[i]=a,o},wasCalled:function(t){return n[t].called},getResponse:function(t){return n[t].data},removeCallback:function(t){var r=n[t];delete e[r.id],delete n[t]}}}},To=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,ko={http:80,https:443,ftp:21},So=e("$location"),No=/^\s*[\\\/]{2,}/,Do={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:an("$$absUrl"),url:function(t){if($(t))return this.$$url;var e=To.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:an("$$protocol"),host:an("$$host"),port:an("$$port"),path:sn("$$path",function(t){return t=null!==t?t.toString():"","/"===t.charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(C(t)||_(t))t=t.toString(),this.$$search=nt(t);else{if(!E(t))throw So("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");t=V(t,{}),o(t,function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:$(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:sn("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};o([on,rn,nn],function(t){t.prototype=Object.create(Do),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==nn||!this.$$html5)throw So("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=$(e)?null:e,this.$$urlUpdatedByLocation=!0,this}});var Oo=e("$parse"),Io={}.constructor.prototype.valueOf,Ho=$t();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Ho[t]=!0});var Po={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Ro=function(t){this.options=t};Ro.prototype={constructor:Ro,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;){var e=this.text.charAt(this.index);if('"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var n=e+this.peek(),r=n+this.peek(2),i=Ho[e],o=Ho[n],a=Ho[r];if(i||o||a){var s=a?r:o?n:e;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(t,e){return e.indexOf(t)!==-1},peek:function(t){var e=t||1;return this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(t){return"0"<=t&&t<="9"&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t},isIdentifierStart:function(t){return this.options.isIdentifierStart?this.options.isIdentifierStart(t,this.codePointAt(t)):this.isValidIdentifierStart(t)},isValidIdentifierStart:function(t){return"a"<=t&&t<="z"||"A"<=t&&t<="Z"||"_"===t||"$"===t},isIdentifierContinue:function(t){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(t,this.codePointAt(t)):this.isValidIdentifierContinue(t)},isValidIdentifierContinue:function(t,e){return this.isValidIdentifierStart(t,e)||this.isNumber(t)},codePointAt:function(t){return 1===t.length?t.charCodeAt(0):(t.charCodeAt(0)<<10)+t.charCodeAt(1)-56613888},peekMultichar:function(){var t=this.text.charAt(this.index),e=this.peek();if(!e)return t;var n=t.charCodeAt(0),r=e.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?t+e:t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){n=n||this.index;var r=y(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n;throw Oo("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",t,r,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=Zr(this.text.charAt(this.index));if("."===n||this.isNumber(n))t+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))t+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){var t=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var e=this.peekMultichar();if(!this.isIdentifierContinue(e))break;this.index+=e.length}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",r=t,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=Po[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:r,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var Lo=function(t,e){this.lexer=t,this.options=e};Lo.Program="Program",Lo.ExpressionStatement="ExpressionStatement",Lo.AssignmentExpression="AssignmentExpression",Lo.ConditionalExpression="ConditionalExpression",Lo.LogicalExpression="LogicalExpression",Lo.BinaryExpression="BinaryExpression",Lo.UnaryExpression="UnaryExpression",Lo.CallExpression="CallExpression",Lo.MemberExpression="MemberExpression",Lo.Identifier="Identifier",Lo.Literal="Literal",Lo.ArrayExpression="ArrayExpression",Lo.Property="Property",Lo.ObjectExpression="ObjectExpression",Lo.ThisExpression="ThisExpression",Lo.LocalsExpression="LocalsExpression",Lo.NGValueParameter="NGValueParameter",Lo.prototype={ast:function(t){this.text=t,this.tokens=this.lexer.lex(t);var e=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var t=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Lo.Program,body:t}},expressionStatement:function(){return{type:Lo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();if(this.expect("=")){if(!vn(t))throw Oo("lval","Trying to assign a value to a non l-value");t={type:Lo.AssignmentExpression,left:t,right:this.assignment(),operator:"="}}return t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:Lo.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Lo.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Lo.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Lo.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Lo.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Lo.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Lo.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Lo.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t;this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?t=V(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?t={type:Lo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());for(var e;e=this.expect("(","[",".");)"("===e.text?(t={type:Lo.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Lo.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Lo.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){for(var e=[t],n={type:Lo.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return n},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do t.push(this.filterChain());while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:Lo.Identifier,name:t.text}},constant:function(){return{type:Lo.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Lo.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Lo.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:Lo.ObjectExpression,properties:e}},throwError:function(t,e){throw Oo("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",e.text,t,e.index+1,this.text,this.text.substring(e.index));
},consume:function(t){if(0===this.tokens.length)throw Oo("ueoe","Unexpected end of expression: {0}",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw Oo("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(t,e,n,r){return this.peekAhead(0,t,e,n,r)},peekAhead:function(t,e,n,r,i){if(this.tokens.length>t){var o=this.tokens[t],a=o.text;if(a===e||a===n||a===r||a===i||!e&&!n&&!r&&!i)return o}return!1},expect:function(t,e,n,r){var i=this.peek(t,e,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Lo.ThisExpression},$locals:{type:Lo.LocalsExpression}}},yn.prototype={compile:function(t){var e=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},mn(t,e.$filter);var n,r="";if(this.stage="assign",n=gn(t)){this.state.computing="assign";var i=this.nextId();this.recurse(n,i),this.return_(i),r="fn.assign="+this.generateFunction("assign","s,v,l")}var a=fn(t.body);e.stage="inputs",o(a,function(t,n){var r="fn"+n;e.state[r]={vars:[],body:[],own:{}},e.state.computing=r;var i=e.nextId();e.recurse(t,i),e.return_(i),e.state.inputs.push(r),t.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(t);var s='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",c=new Function("$filter","getStringValue","ifDefined","plus",s)(this.$filter,ln,dn,hn);return this.state=this.stage=void 0,c},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return o(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return o(this.state.filters,function(n,r){t.push(n+"=$filter("+e.escape(r)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,n,r,i,a){var s,c,u,l,d,h=this;if(r=r||f,!a&&y(t.watchId))return e=e||this.nextId(),void this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,n,r,i,!0));switch(t.type){case Lo.Program:o(t.body,function(e,n){h.recurse(e.expression,void 0,void 0,function(t){c=t}),n!==t.body.length-1?h.current().body.push(c,";"):h.return_(c)});break;case Lo.Literal:l=this.escape(t.value),this.assign(e,l),r(e||l);break;case Lo.UnaryExpression:this.recurse(t.argument,void 0,void 0,function(t){c=t}),l=t.operator+"("+this.ifDefined(c,0)+")",this.assign(e,l),r(l);break;case Lo.BinaryExpression:this.recurse(t.left,void 0,void 0,function(t){s=t}),this.recurse(t.right,void 0,void 0,function(t){c=t}),l="+"===t.operator?this.plus(s,c):"-"===t.operator?this.ifDefined(s,0)+t.operator+this.ifDefined(c,0):"("+s+")"+t.operator+"("+c+")",this.assign(e,l),r(l);break;case Lo.LogicalExpression:e=e||this.nextId(),h.recurse(t.left,e),h.if_("&&"===t.operator?e:h.not(e),h.lazyRecurse(t.right,e)),r(e);break;case Lo.ConditionalExpression:e=e||this.nextId(),h.recurse(t.test,e),h.if_(e,h.lazyRecurse(t.alternate,e),h.lazyRecurse(t.consequent,e)),r(e);break;case Lo.Identifier:e=e||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),n.computed=!1,n.name=t.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",t.name)),function(){h.if_("inputs"===h.stage||"s",function(){i&&1!==i&&h.if_(h.isNull(h.nonComputedMember("s",t.name)),h.lazyAssign(h.nonComputedMember("s",t.name),"{}")),h.assign(e,h.nonComputedMember("s",t.name))})},e&&h.lazyAssign(e,h.nonComputedMember("l",t.name))),r(e);break;case Lo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),e=e||this.nextId(),h.recurse(t.object,s,void 0,function(){h.if_(h.notNull(s),function(){t.computed?(c=h.nextId(),h.recurse(t.property,c),h.getStringValue(c),i&&1!==i&&h.if_(h.not(h.computedMember(s,c)),h.lazyAssign(h.computedMember(s,c),"{}")),l=h.computedMember(s,c),h.assign(e,l),n&&(n.computed=!0,n.name=c)):(i&&1!==i&&h.if_(h.isNull(h.nonComputedMember(s,t.property.name)),h.lazyAssign(h.nonComputedMember(s,t.property.name),"{}")),l=h.nonComputedMember(s,t.property.name),h.assign(e,l),n&&(n.computed=!1,n.name=t.property.name))},function(){h.assign(e,"undefined")}),r(e)},!!i);break;case Lo.CallExpression:e=e||this.nextId(),t.filter?(c=h.filter(t.callee.name),u=[],o(t.arguments,function(t){var e=h.nextId();h.recurse(t,e),u.push(e)}),l=c+"("+u.join(",")+")",h.assign(e,l),r(e)):(c=h.nextId(),s={},u=[],h.recurse(t.callee,c,s,function(){h.if_(h.notNull(c),function(){o(t.arguments,function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,function(t){u.push(t)})}),l=s.name?h.member(s.context,s.name,s.computed)+"("+u.join(",")+")":c+"("+u.join(",")+")",h.assign(e,l)},function(){h.assign(e,"undefined")}),r(e)}));break;case Lo.AssignmentExpression:c=this.nextId(),s={},this.recurse(t.left,void 0,s,function(){h.if_(h.notNull(s.context),function(){h.recurse(t.right,c),l=h.member(s.context,s.name,s.computed)+t.operator+c,h.assign(e,l),r(e||l)})},1);break;case Lo.ArrayExpression:u=[],o(t.elements,function(e){h.recurse(e,t.constant?void 0:h.nextId(),void 0,function(t){u.push(t)})}),l="["+u.join(",")+"]",this.assign(e,l),r(e||l);break;case Lo.ObjectExpression:u=[],d=!1,o(t.properties,function(t){t.computed&&(d=!0)}),d?(e=e||this.nextId(),this.assign(e,"{}"),o(t.properties,function(t){t.computed?(s=h.nextId(),h.recurse(t.key,s)):s=t.key.type===Lo.Identifier?t.key.name:""+t.key.value,c=h.nextId(),h.recurse(t.value,c),h.assign(h.member(e,s,t.computed),c)})):(o(t.properties,function(e){h.recurse(e.value,t.constant?void 0:h.nextId(),void 0,function(t){u.push(h.escape(e.key.type===Lo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),l="{"+u.join(",")+"}",this.assign(e,l)),r(e||l);break;case Lo.ThisExpression:this.assign(e,"s"),r(e||"s");break;case Lo.LocalsExpression:this.assign(e,"l"),r(e||"l");break;case Lo.NGValueParameter:this.assign(e,"v"),r(e||"v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),r[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(t===!0)e();else{var r=this.current().body;r.push("if(",t,"){"),e(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(t){return"!("+t+")"},isNull:function(t){return t+"==null"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(e)?t+"."+e:t+'["'+e.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},getStringValue:function(t){this.assign(t,"getStringValue("+t+")")},lazyRecurse:function(t,e,n,r,i,o){var a=this;return function(){a.recurse(t,e,n,r,i,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(C(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(_(t))return t.toString();if(t===!0)return"true";if(t===!1)return"false";if(null===t)return"null";if("undefined"==typeof t)return"undefined";throw Oo("esc","IMPOSSIBLE")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},En.prototype={compile:function(t){var e=this;mn(t,e.$filter);var n,r;(n=gn(t))&&(r=this.recurse(n));var i,a=fn(t.body);a&&(i=[],o(a,function(t,n){var r=e.recurse(t);t.input=r,i.push(r),t.watchId=n}));var s=[];o(t.body,function(t){s.push(e.recurse(t.expression))});var c=0===t.body.length?f:1===t.body.length?s[0]:function(t,e){var n;return o(s,function(r){n=r(t,e)}),n};return r&&(c.assign=function(t,e,n){return r(t,n,e)}),i&&(c.inputs=i),c},recurse:function(t,e,n){var r,i,a,s=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Lo.Literal:return this.value(t.value,e);case Lo.UnaryExpression:return i=this.recurse(t.argument),this["unary"+t.operator](i,e);case Lo.BinaryExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this["binary"+t.operator](r,i,e);case Lo.LogicalExpression:return r=this.recurse(t.left),i=this.recurse(t.right),this["binary"+t.operator](r,i,e);case Lo.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Lo.Identifier:return s.identifier(t.name,e,n);case Lo.MemberExpression:return r=this.recurse(t.object,!1,!!n),t.computed||(i=t.property.name),t.computed&&(i=this.recurse(t.property)),t.computed?this.computedMember(r,i,e,n):this.nonComputedMember(r,i,e,n);case Lo.CallExpression:return a=[],o(t.arguments,function(t){a.push(s.recurse(t))}),t.filter&&(i=this.$filter(t.callee.name)),t.filter||(i=this.recurse(t.callee,!0)),t.filter?function(t,n,r,o){for(var s=[],c=0;c<a.length;++c)s.push(a[c](t,n,r,o));var u=i.apply(void 0,s,o);return e?{context:void 0,name:void 0,value:u}:u}:function(t,n,r,o){var s,c=i(t,n,r,o);if(null!=c.value){for(var u=[],l=0;l<a.length;++l)u.push(a[l](t,n,r,o));s=c.value.apply(c.context,u)}return e?{value:s}:s};case Lo.AssignmentExpression:return r=this.recurse(t.left,!0,1),i=this.recurse(t.right),function(t,n,o,a){var s=r(t,n,o,a),c=i(t,n,o,a);return s.context[s.name]=c,e?{value:c}:c};case Lo.ArrayExpression:return a=[],o(t.elements,function(t){a.push(s.recurse(t))}),function(t,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](t,n,r,i));return e?{value:o}:o};case Lo.ObjectExpression:return a=[],o(t.properties,function(t){t.computed?a.push({key:s.recurse(t.key),computed:!0,value:s.recurse(t.value)}):a.push({key:t.key.type===Lo.Identifier?t.key.name:""+t.key.value,computed:!1,value:s.recurse(t.value)})}),function(t,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(t,n,r,i)]=a[s].value(t,n,r,i):o[a[s].key]=a[s].value(t,n,r,i);return e?{value:o}:o};case Lo.ThisExpression:return function(t){return e?{value:t}:t};case Lo.LocalsExpression:return function(t,n){return e?{value:n}:n};case Lo.NGValueParameter:return function(t,n,r){return e?{value:r}:r}}},"unary+":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=y(a)?+a:0,e?{value:a}:a}},"unary-":function(t,e){return function(n,r,i,o){var a=t(n,r,i,o);return a=y(a)?-a:-0,e?{value:a}:a}},"unary!":function(t,e){return function(n,r,i,o){var a=!t(n,r,i,o);return e?{value:a}:a}},"binary+":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a),c=e(r,i,o,a),u=hn(s,c);return n?{value:u}:u}},"binary-":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a),c=e(r,i,o,a),u=(y(s)?s:0)-(y(c)?c:0);return n?{value:u}:u}},"binary*":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)*e(r,i,o,a);return n?{value:s}:s}},"binary/":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)/e(r,i,o,a);return n?{value:s}:s}},"binary%":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)%e(r,i,o,a);return n?{value:s}:s}},"binary===":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)===e(r,i,o,a);return n?{value:s}:s}},"binary!==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!==e(r,i,o,a);return n?{value:s}:s}},"binary==":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)==e(r,i,o,a);return n?{value:s}:s}},"binary!=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)!=e(r,i,o,a);return n?{value:s}:s}},"binary<":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<e(r,i,o,a);return n?{value:s}:s}},"binary>":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>e(r,i,o,a);return n?{value:s}:s}},"binary<=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)<=e(r,i,o,a);return n?{value:s}:s}},"binary>=":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)>=e(r,i,o,a);return n?{value:s}:s}},"binary&&":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)&&e(r,i,o,a);return n?{value:s}:s}},"binary||":function(t,e,n){return function(r,i,o,a){var s=t(r,i,o,a)||e(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(t,e,n,r){return function(i,o,a,s){var c=t(i,o,a,s)?e(i,o,a,s):n(i,o,a,s);return r?{value:c}:c}},value:function(t,e){return function(){return e?{context:void 0,name:void 0,value:t}:t}},identifier:function(t,e,n){return function(r,i,o,a){var s=i&&t in i?i:r;n&&1!==n&&s&&null==s[t]&&(s[t]={});var c=s?s[t]:void 0;return e?{context:s,name:t,value:c}:c}},computedMember:function(t,e,n,r){return function(i,o,a,s){var c,u,l=t(i,o,a,s);return null!=l&&(c=e(i,o,a,s),c=ln(c),r&&1!==r&&l&&!l[c]&&(l[c]={}),u=l[c]),n?{context:l,name:c,value:u}:u}},nonComputedMember:function(t,e,n,r){return function(i,o,a,s){var c=t(i,o,a,s);r&&1!==r&&c&&null==c[e]&&(c[e]={});var u=null!=c?c[e]:void 0;return n?{context:c,name:e,value:u}:u}},inputs:function(t,e){return function(n,r,i,o){return o?o[e]:t(n,r,i)}}},wn.prototype={constructor:wn,parse:function(t){var e=this.ast.ast(t),n=this.astCompiler.compile(e);return n.literal=bn(e),n.constant=$n(e),n}};var Fo=e("$sce"),jo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},qo=/_([a-z])/g,Vo=e("$compile"),Bo=t.document.createElement("a"),Uo=jn(t.location.href);Bn.$inject=["$document"],zn.$inject=["$provide"];var zo=22,Wo=".",Yo="0";Xn.$inject=["$locale"],Zn.$inject=["$locale"];var Ko={yyyy:nr("FullYear",4,0,!1,!0),yy:nr("FullYear",2,0,!0,!0),y:nr("FullYear",1,0,!1,!0),MMMM:rr("Month"),MMM:rr("Month",!0),MM:nr("Month",2,1),M:nr("Month",1,1),LLLL:rr("Month",!1,!0),dd:nr("Date",2),d:nr("Date",1),HH:nr("Hours",2),H:nr("Hours",1),hh:nr("Hours",2,-12),h:nr("Hours",1,-12),mm:nr("Minutes",2),m:nr("Minutes",1),ss:nr("Seconds",2),s:nr("Seconds",1),sss:nr("Milliseconds",3),EEEE:rr("Day"),EEE:rr("Day",!0),a:cr,Z:ir,ww:sr(2),w:sr(1),G:ur,GG:ur,GGG:ur,GGGG:lr},Go=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Xo=/^-?\d+$/;dr.$inject=["$locale"];var Zo=g(Zr),Qo=g(Qr);fr.$inject=["$parse"];var Jo=g({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ci.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),ta={};o(zi,function(t,e){function n(t,n,i){t.$watch(i[r],function(t){i.$set(e,!!t)})}if("multiple"!==t){var r=_e("ng-"+e),i=n;"checked"===t&&(i=function(t,e,i){i.ngModel!==i[r]&&n(t,e,i)}),ta[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Yi,function(t,e){ta[e]=function(){return{priority:100,link:function(t,n,r){if("ngPattern"===e&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(Yr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}t.$watch(r[e],function(t){r.$set(e,t)})}}}}),o(["src","srcset","href"],function(t){var e=_e("ng-"+t);ta[e]=function(){return{priority:99,link:function(n,r,i){var o=t,a=t;"href"===t&&"[object SVGAnimatedString]"===ci.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(e,function(e){return e?(i.$set(a,e),void(ei&&o&&r.prop(o,i[a]))):void("href"===t&&i.$set(a,null))})}}}});var ea={$addControl:f,$$renameControl:gr,$removeControl:f,$setValidity:f,$setDirty:f,$setPristine:f,$setSubmitted:f},na="ng-pending",ra="ng-submitted";br.$inject=["$element","$attrs","$scope","$animate","$interpolate"],br.prototype={$rollbackViewValue:function(){o(this.$$controls,function(t){t.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(t){t.$commitViewValue()})},$addControl:function(t){vt(t.$name,"input"),this.$$controls.push(t),t.$name&&(this[t.$name]=t),t.$$parentForm=this},$$renameControl:function(t,e){var n=t.$name;this[n]===t&&delete this[n],this[e]=t,t.$name=e},$removeControl:function(t){t.$name&&this[t.$name]===t&&delete this[t.$name],o(this.$pending,function(e,n){this.$setValidity(n,null,t)},this),o(this.$error,function(e,n){this.$setValidity(n,null,t)},this),o(this.$$success,function(e,n){this.$setValidity(n,null,t)},this),q(this.$$controls,t),t.$$parentForm=ea},$setDirty:function(){this.$$animate.removeClass(this.$$element,ja),this.$$animate.addClass(this.$$element,qa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,ja,qa+" "+ra),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,function(t){t.$setPristine()})},$setUntouched:function(){o(this.$$controls,function(t){t.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,ra),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},yr({clazz:br,set:function(t,e,n){var r=t[e];if(r){var i=r.indexOf(n);i===-1&&r.push(n)}else t[e]=[n]},unset:function(t,e,n){var r=t[e];r&&(q(r,n),0===r.length&&delete t[e])}});var ia=function(t){return["$timeout","$parse",function(e,n){function r(t){return""===t?n('this[""]').assign:n(t).assign||f}var i={name:"form",restrict:t?"EAC":"E",require:["form","^^?form"],controller:br,compile:function(n,i){n.addClass(ja).addClass(La);var o=i.name?"name":!(!t||!i.ngForm)&&"ngForm";return{pre:function(t,n,i,a){var s=a[0];if(!("action"in i)){var c=function(e){t.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),e.preventDefault()};n[0].addEventListener("submit",c),n.on("$destroy",function(){e(function(){n[0].removeEventListener("submit",c)},0,!1)})}var u=a[1]||s.$$parentForm;u.$addControl(s);var l=o?r(s.$name):f;o&&(l(t,s),i.$observe(o,function(e){s.$name!==e&&(l(t,void 0),s.$$parentForm.$$renameControl(s,e),(l=r(s.$name))(t,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(t,void 0),d(s,ea)})}}}};return i}]},oa=ia(),aa=ia(!0),sa=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,ca=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ua=/^(?=.{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])?)*$/,la=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,da=/^(\d{4,})-(\d{2})-(\d{2})$/,ha=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,pa=/^(\d{4,})-W(\d\d)$/,ma=/^(\d{4,})-(\d\d)$/,fa=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,va="keydown wheel mousedown",ga=$t();o("date,datetime-local,month,time,week".split(","),function(t){ga[t]=!0});var ba={text:Cr,date:Ar("date",da,Mr(da,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Ar("datetimelocal",ha,Mr(ha,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:Ar("time",fa,Mr(fa,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Ar("week",pa,xr,"yyyy-Www"),month:Ar("month",ma,Mr(ma,["yyyy","MM"]),"yyyy-MM"),number:Ir,url:Pr,email:Rr,radio:Lr,range:Hr,checkbox:jr,hidden:f,button:f,submit:f,reset:f,file:f},$a=["$browser","$sniffer","$filter","$parse",function(t,e,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(ba[Zr(a.type)]||ba.text)(i,o,a,s[0],e,t,n,r)}}}}],ya=/^(true|false|\d+)$/,Ea=function(){function t(t,e,n){var r=y(n)?n:9===ei?"":null;t.prop("value",r),e.$set("value",n)}return{restrict:"A",priority:100,compile:function(e,n){return ya.test(n.ngValue)?function(e,n,r){var i=e.$eval(r.ngValue);t(n,r,i)}:function(e,n,r){e.$watch(r.ngValue,function(e){t(n,r,e)})}}}},wa=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,n,r){t.$$addBindingInfo(n,r.ngBind),n=n[0],e.$watch(r.ngBind,function(t){n.textContent=yt(t)})}}}}],Ca=["$interpolate","$compile",function(t,e){return{compile:function(n){return e.$$addBindingClass(n),function(n,r,i){var o=t(r.attr(i.$attr.ngBindTemplate));e.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(t){r.textContent=$(t)?"":t})}}}}],_a=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(r,i){var o=e(i.ngBindHtml),a=e(i.ngBindHtml,function(e){return t.valueOf(e)});return n.$$addBindingClass(r),function(e,r,i){n.$$addBindingInfo(r,i.ngBindHtml),e.$watch(a,function(){var n=o(e);r.html(t.getTrustedHtml(n)||"")})}}}}],xa=g({restrict:"A",require:"ngModel",link:function(t,e,n,r){r.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Ma=qr("",!0),Aa=qr("Odd",0),Ta=qr("Even",1),ka=vr({compile:function(t,e){e.$set("ngCloak",void 0),t.removeClass("ng-cloak")}}),Sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Na={},Da={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(t){var e=_e("ng-"+t);Na[e]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[e]);return function(e,n){n.on(t,function(n){var i=function(){a(e,{$event:n})};Da[t]&&r.$$phase?e.$evalAsync(i):e.$apply(i)})}}}}]});var Oa=["$animate","$compile",function(t,e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,c,u;n.$watch(i.ngIf,function(n){n?c||a(function(n,o){c=o,n[n.length++]=e.$$createComment("end ngIf",i.ngIf),s={clone:n},t.enter(n,r.parent(),r)}):(u&&(u.remove(),u=null),c&&(c.$destroy(),c=null),s&&(u=bt(s.clone),t.leave(u).done(function(t){t!==!1&&(u=null)}),s=null))})}}}],Ia=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:di.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,c,u,l){var d,h,p,m=0,f=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),p&&(n.leave(p).done(function(t){t!==!1&&(h=null)}),h=p,p=null)};r.$watch(o,function(o){var c=function(t){t===!1||!y(s)||s&&!r.$eval(s)||e()},h=++m;o?(t(o,!0).then(function(t){if(!r.$$destroyed&&h===m){var e=r.$new();u.template=t;var s=l(e,function(t){f(),n.enter(t,null,i).done(c)});d=e,p=s,d.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||h===m&&(f(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(f(),u.template=null)})}}}}],Ha=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ci.call(r[0]).match(/SVG/)?(r.empty(),void e(Ot(o.template,t.document).childNodes)(n,function(t){r.append(t)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],Pa=vr({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),Ra=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,n,r){var i=n.ngList||", ",a="false"!==n.ngTrim,s=a?vi(i):i,c=function(t){if(!$(t)){var e=[];return t&&o(t.split(s),function(t){t&&e.push(a?vi(t):t)}),e}};r.$parsers.push(c),r.$formatters.push(function(t){if(mi(t))return t.join(i)}),r.$isEmpty=function(t){return!t||!t.length}}}},La="ng-valid",Fa="ng-invalid",ja="ng-pristine",qa="ng-dirty",Va="ng-untouched",Ba="ng-touched",Ua="ng-empty",za="ng-not-empty",Wa=e("ngModel");Vr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Vr.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var t=this.$$parse(this.$$attr.ngModel+"()"),e=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(e){var n=this.$$parsedNgModel(e);return M(n)&&(n=t(e)),n},this.$$ngModelSet=function(t,n){M(this.$$parsedNgModel(t))?e(t,{$$$p:n}):this.$$parsedNgModelAssign(t,n)}}else if(!this.$$parsedNgModel.assign)throw Wa("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,tt(this.$$element))},$render:f,$isEmpty:function(t){return $(t)||""===t||null===t||t!==t},$$updateEmptyClasses:function(t){this.$isEmpty(t)?(this.$$animate.removeClass(this.$$element,za),this.$$animate.addClass(this.$$element,Ua)):(this.$$animate.removeClass(this.$$element,Ua),this.$$animate.addClass(this.$$element,za))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,qa),this.$$animate.addClass(this.$$element,ja)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,ja),this.$$animate.addClass(this.$$element,qa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Va,Ba)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ba,Va)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!pi(this.$modelValue)){var t=this.$$lastCommittedViewValue,e=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(e,t,function(t){i||n===t||(o.$modelValue=t?e:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(t,e,n){function r(){var t=l.$$parserName||"parse";return $(l.$$parserValid)?(s(t,null),!0):(l.$$parserValid||(o(l.$validators,function(t,e){s(e,null)}),o(l.$asyncValidators,function(t,e){s(e,null)})),s(t,l.$$parserValid),l.$$parserValid)}function i(){var n=!0;return o(l.$validators,function(r,i){var o=Boolean(r(t,e));n=n&&o,s(i,o)}),!!n||(o(l.$asyncValidators,function(t,e){s(e,null)}),!1)}function a(){var n=[],r=!0;o(l.$asyncValidators,function(i,o){var a=i(t,e);if(!I(a))throw Wa("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){r=!1,s(o,!1)}))}),n.length?l.$$q.all(n).then(function(){c(r)},f):c(!0)}function s(t,e){u===l.$$currentValidationRunId&&l.$setValidity(t,e)}function c(t){u===l.$$currentValidationRunId&&n(t)}this.$$currentValidationRunId++;var u=this.$$currentValidationRunId,l=this;return r()&&i()?void a():void c(!1)},$commitViewValue:function(){var t=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==t||""===t&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(t),this.$$lastCommittedViewValue=t,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function t(){r.$modelValue!==o&&r.$$writeModelToScope()}var e=this.$$lastCommittedViewValue,n=e,r=this;if(this.$$parserValid=!$(n)||void 0,this.$$parserValid)for(var i=0;i<this.$parsers.length;i++)if(n=this.$parsers[i](n),$(n)){this.$$parserValid=!1;break}pi(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var o=this.$modelValue,a=this.$options.getOption("allowInvalid");this.$$rawModelValue=n,a&&(this.$modelValue=n,t()),this.$$runValidators(n,this.$$lastCommittedViewValue,function(e){a||(r.$modelValue=e?n:void 0,t())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,function(t){try{t()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(t,e){this.$viewValue=t,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(e)},$$debounceViewValueCommit:function(t){var e=this.$options.getOption("debounce");_(e[t])?e=e[t]:_(e.default)&&(e=e.default),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;e>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},e):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(t){this.$options=this.$options.createChild(t)}},yr({clazz:Vr,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]}});var Ya,Ka=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Vr,priority:1,compile:function(e){return e.addClass(ja).addClass(Va).addClass(La),{pre:function(t,e,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(t){i.$name!==t&&i.$$parentForm.$$renameControl(i,t)}),t.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(t){a.$$debounceViewValueCommit(t&&t.type)}),n.on("blur",function(){a.$touched||(t.$$phase?e.$evalAsync(o):e.$apply(o))})}}}}}],Ga=/(\s+|^)default(\s+|$)/;Ur.prototype={getOption:function(t){return this.$$options[t]},createChild:function(t){var e=!1;return t=d({},t),o(t,function(n,r){"$inherit"===n?"*"===r?e=!0:(t[r]=this.$$options[r],"updateOn"===r&&(t.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(t.updateOnDefault=!1,t[r]=vi(n.replace(Ga,function(){return t.updateOnDefault=!0," "})))},this),e&&(delete t["*"],zr(t,this.$$options)),zr(t,Ya.$$options),new Ur(t)}},Ya=new Ur({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Xa=function(){function t(t,e){this.$$attrs=t,this.$$scope=e}return t.$inject=["$attrs","$scope"],t.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Ya,e=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(e)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:t}},Za=vr({terminal:!0,priority:1e3}),Qa=e("ngOptions"),Ja=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,ts=["$compile","$document","$parse",function(e,n,r){function a(t,e,n){function o(t,e,n,r,i){this.selectValue=t,this.viewValue=e,this.label=n,this.group=r,this.disabled=i}function a(t){var e;if(!u&&i(t))e=t;else{e=[];for(var n in t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n)}return e}var s=t.match(Ja);if(!s)throw Qa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",t,tt(e));var c=s[5]||s[7],u=s[6],l=/ as /.test(s[0])&&s[1],d=s[9],h=r(s[2]?s[1]:c),p=l&&r(l),m=p||h,f=d&&r(d),v=d?function(t,e){return f(n,e)}:function(t){return oe(t)},g=function(t,e){return v(t,C(t,e))},b=r(s[2]||s[1]),$=r(s[3]||""),y=r(s[4]||""),E=r(s[8]),w={},C=u?function(t,e){return w[u]=e,w[c]=t,w}:function(t){return w[c]=t,w};return{trackBy:d,getTrackByValue:g,getWatchables:r(E,function(t){var e=[];t=t||[];for(var r=a(t),i=r.length,o=0;o<i;o++){var c=t===r?o:r[o],u=t[c],l=C(u,c),d=v(u,l);if(e.push(d),s[2]||s[1]){var h=b(n,l);e.push(h)}if(s[4]){var p=y(n,l);e.push(p)}}return e}),getOptions:function(){for(var t=[],e={},r=E(n)||[],i=a(r),s=i.length,c=0;c<s;c++){var u=r===i?c:i[c],l=r[u],h=C(l,u),p=m(n,h),f=v(p,h),w=b(n,h),_=$(n,h),x=y(n,h),M=new o(f,p,w,_,x);t.push(M),e[f]=M}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[g(t)]},getViewValueFromOption:function(t){return d?V(t.viewValue):t.viewValue}}}}}function s(t,r,i,s){function l(t,e){var n=c.cloneNode(!1);e.appendChild(n),h(t,n)}function d(t){var e=C.getOptionFromViewValue(t),n=e&&e.element;return n&&!n.selected&&(n.selected=!0),e}function h(t,e){t.element=e,e.disabled=t.disabled,t.label!==e.label&&(e.label=t.label,e.textContent=t.label),e.value=t.selectValue}function p(){var t=C&&m.readValue();if(C)for(var e=C.items.length-1;e>=0;e--){
var n=C.items[e];Xt(y(n.group)?n.element.parentNode:n.element)}C=_.getOptions();var i={};if(E&&r.prepend(m.emptyOption),C.items.forEach(function(t){var e;y(t.group)?(e=i[t.group],e||(e=u.cloneNode(!1),x.appendChild(e),e.label=null===t.group?"null":t.group,i[t.group]=e),l(t,e)):l(t,x)}),r[0].appendChild(x),f.$render(),!f.$isEmpty(t)){var o=m.readValue(),a=_.trackBy||v;(a?U(t,o):t===o)||(f.$setViewValue(o),f.$render())}}for(var m=s[0],f=s[1],v=i.multiple,g=0,b=r.children(),$=b.length;g<$;g++)if(""===b[g].value){m.hasEmptyOption=!0,m.emptyOption=b.eq(g);break}var E=!!m.emptyOption,w=ni(c.cloneNode(!1));w.val("?");var C,_=a(i.ngOptions,r,t),x=n[0].createDocumentFragment();m.generateUnknownOptionValue=function(t){return"?"},v?(m.writeValue=function(t){var e=t&&t.map(d)||[];C.items.forEach(function(t){t.element.selected&&!j(e,t)&&(t.element.selected=!1)})},m.readValue=function(){var t=r.val()||[],e=[];return o(t,function(t){var n=C.selectValueMap[t];n&&!n.disabled&&e.push(C.getViewValueFromOption(n))}),e},_.trackBy&&t.$watchCollection(function(){if(mi(f.$viewValue))return f.$viewValue.map(function(t){return _.getTrackByValue(t)})},function(){f.$render()})):(m.writeValue=function(t){var e=C.selectValueMap[r.val()],n=C.getOptionFromViewValue(t);e&&e.element.removeAttribute("selected"),n?(r[0].value!==n.selectValue&&(m.removeUnknownOption(),m.unselectEmptyOption(),r[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):E?m.selectEmptyOption():m.unknownOption.parent().length?m.updateUnknownOption(t):m.renderUnknownOption(t)},m.readValue=function(){var t=C.selectValueMap[r.val()];return t&&!t.disabled?(m.unselectEmptyOption(),m.removeUnknownOption(),C.getViewValueFromOption(t)):null},_.trackBy&&t.$watch(function(){return _.getTrackByValue(f.$viewValue)},function(){f.$render()})),E&&(m.emptyOption.remove(),e(m.emptyOption)(t),m.emptyOption[0].nodeType===Ti?(m.hasEmptyOption=!1,m.registerOption=function(t,e){""===e.val()&&(m.hasEmptyOption=!0,m.emptyOption=e,m.emptyOption.removeClass("ng-scope"),f.$render(),e.on("$destroy",function(){m.hasEmptyOption=!1,m.emptyOption=void 0}))}):m.emptyOption.removeClass("ng-scope")),r.empty(),p(),t.$watchCollection(_.getWatchables,p)}var c=t.document.createElement("option"),u=t.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(t,e,n,r){r[0].registerOption=f},post:s}}}],es=["$locale","$interpolate","$log",function(t,e,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,c){function u(t){s.text(t||"")}var l,d=c.count,h=c.$attr.when&&s.attr(c.$attr.when),p=c.offset||0,m=a.$eval(h)||{},v={},g=e.startSymbol(),b=e.endSymbol(),y=g+d+"-"+p+b,E=di.noop;o(c,function(t,e){var n=i.exec(e);if(n){var r=(n[1]?"-":"")+Zr(n[2]);m[r]=s.attr(c.$attr[e])}}),o(m,function(t,n){v[n]=e(t.replace(r,y))}),a.$watch(d,function(e){var r=parseFloat(e),i=pi(r);if(i||r in m||(r=t.pluralCat(r-p)),!(r===l||i&&pi(l))){E();var o=v[r];$(o)?(null!=e&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+h),E=f,u()):E=a.$watch(o,u),l=r}})}}}],ns=["$parse","$animate","$compile",function(t,n,r){var a="$$NG_REMOVED",s=e("ngRepeat"),c=function(t,e,n,r,i,o,a){t[n]=r,i&&(t[i]=o),t.$index=e,t.$first=0===e,t.$last=e===a-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0===(1&e))},u=function(t){return t.clone[0]},l=function(t){return t.clone[t.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,d){var h=d.ngRepeat,p=r.$$createComment("end ngRepeat",h),m=h.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!m)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",h);var f=m[1],v=m[2],g=m[3],b=m[4];if(m=f.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!m)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",f);var $=m[3]||m[1],y=m[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var E,w,C,_,x={$id:oe};return b?E=t(b):(C=function(t,e){return oe(e)},_=function(t){return t}),function(t,e,r,d,m){E&&(w=function(e,n,r){return y&&(x[y]=e),x[$]=n,x.$index=r,E(t,x)});var f=$t();t.$watchCollection(v,function(r){var d,v,b,E,x,M,A,T,k,S,N,D,O=e[0],I=$t();if(g&&(t[g]=r),i(r))k=r,T=w||C;else{T=w||_,k=[];for(var H in r)Gr.call(r,H)&&"$"!==H.charAt(0)&&k.push(H)}for(E=k.length,N=new Array(E),d=0;d<E;d++)if(x=r===k?d:k[d],M=r[x],A=T(x,M,d),f[A])S=f[A],delete f[A],I[A]=S,N[d]=S;else{if(I[A])throw o(N,function(t){t&&t.scope&&(f[t.id]=t)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",h,A,M);N[d]={id:A,scope:void 0,clone:void 0},I[A]=!0}for(var P in f){if(S=f[P],D=bt(S.clone),n.leave(D),D[0].parentNode)for(d=0,v=D.length;d<v;d++)D[d][a]=!0;S.scope.$destroy()}for(d=0;d<E;d++)if(x=r===k?d:k[d],M=r[x],S=N[d],S.scope){b=O;do b=b.nextSibling;while(b&&b[a]);u(S)!==b&&n.move(bt(S.clone),null,O),O=l(S),c(S.scope,d,$,M,y,x,E)}else m(function(t,e){S.scope=e;var r=p.cloneNode(!1);t[t.length++]=r,n.enter(t,null,O),O=r,S.clone=t,I[S.id]=S,c(S.scope,d,$,M,y,x,E)});f=I})}}}}],rs="ng-hide",is="ng-hide-animate",os=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngShow,function(e){t[e?"removeClass":"addClass"](n,rs,{tempClasses:is})})}}}],as=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,r){e.$watch(r.ngHide,function(e){t[e?"addClass":"removeClass"](n,rs,{tempClasses:is})})}}}],ss=vr(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),cs=["$animate","$compile",function(t,e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=i.ngSwitch||i.on,c=[],u=[],l=[],d=[],h=function(t,e){return function(n){n!==!1&&t.splice(e,1)}};n.$watch(s,function(n){for(var r,i;l.length;)t.cancel(l.pop());for(r=0,i=d.length;r<i;++r){var s=bt(u[r].clone);d[r].$destroy();var p=l[r]=t.leave(s);p.done(h(l,r))}u.length=0,d.length=0,(c=a.cases["!"+n]||a.cases["?"])&&o(c,function(n){n.transclude(function(r,i){d.push(i);var o=n.element;r[r.length++]=e.$$createComment("end ngSwitchWhen");var a={clone:r};u.push(a),t.enter(r,o.parent(),o)})})})}}}],us=vr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){var a=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(t,e,n){return n[e-1]!==t});o(a,function(t){r.cases["!"+t]=r.cases["!"+t]||[],r.cases["!"+t].push({transclude:i,element:e})})}}),ls=vr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:e})}}),ds=e("ngTransclude"),hs=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var n=t(e.contents());return e.empty(),function(t,e,r,i,o){function a(t,n){t.length&&c(t)?e.append(t):(s(),n.$destroy())}function s(){n(t,function(t){e.append(t)})}function c(t){for(var e=0,n=t.length;e<n;e++){var r=t[e];if(r.nodeType!==Ai||r.nodeValue.trim())return!0}}if(!o)throw ds("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",tt(e));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude="");var u=r.ngTransclude||r.ngTranscludeSlot;o(a,null,u),u&&!o.isSlotFilled(u)&&s()}}}}],ps=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){if("text/ng-template"===n.type){var r=n.id,i=e[0].text;t.put(r,i)}}}}],ms={$setViewValue:f,$render:f},fs=["$element","$scope",function(e,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(t){c||(c=!0,n.$$postDigest(function(){n.$$destroyed||(c=!1,o.ngModelCtrl.$setViewValue(o.readValue()),t&&o.ngModelCtrl.$render())}))}var o=this,a=new Gi;o.selectValueMap={},o.ngModelCtrl=ms,o.multiple=!1,o.unknownOption=ni(t.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(t){var n=o.generateUnknownOptionValue(t);o.unknownOption.val(n),e.prepend(o.unknownOption),Wr(o.unknownOption,!0),e.val(n)},o.updateUnknownOption=function(t){var n=o.generateUnknownOptionValue(t);o.unknownOption.val(n),Wr(o.unknownOption,!0),e.val(n)},o.generateUnknownOptionValue=function(t){return"? "+oe(t)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(e.val(""),Wr(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&o.emptyOption.removeAttr("selected")},n.$on("$destroy",function(){o.renderUnknownOption=f}),o.readValue=function(){var t=e.val(),n=t in o.selectValueMap?o.selectValueMap[t]:t;return o.hasOption(n)?n:null},o.writeValue=function(t){var n=e[0].options[e[0].selectedIndex];if(n&&Wr(ni(n),!1),o.hasOption(t)){o.removeUnknownOption();var r=oe(t);e.val(r in o.selectValueMap?r:t);var i=e[0].options[e[0].selectedIndex];Wr(ni(i),!0)}else null==t&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(t):o.renderUnknownOption(t)},o.addOption=function(t,e){if(e[0].nodeType!==Ti){vt(t,'"option value"'),""===t&&(o.hasEmptyOption=!0,o.emptyOption=e);var n=a.get(t)||0;a.set(t,n+1),r()}},o.removeOption=function(t){var e=a.get(t);e&&(1===e?(a.delete(t),""===t&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(t,e-1))},o.hasOption=function(t){return!!a.get(t)};var s=!1,c=!1;o.registerOption=function(t,e,n,a,s){if(n.$attr.ngValue){var c,u=NaN;n.$observe("value",function(t){var n,r=e.prop("selected");y(u)&&(o.removeOption(c),delete o.selectValueMap[u],n=!0),u=oe(t),c=t,o.selectValueMap[u]=t,o.addOption(t,e),e.attr("value",u),n&&r&&i()})}else a?n.$observe("value",function(t){o.readValue();var n,r=e.prop("selected");y(c)&&(o.removeOption(c),n=!0),c=t,o.addOption(t,e),n&&r&&i()}):s?t.$watch(s,function(t,r){n.$set("value",t);var a=e.prop("selected");r!==t&&o.removeOption(r),o.addOption(t,e),r&&a&&i()}):o.addOption(n.value,e);n.$observe("disabled",function(t){("true"===t||t&&e.prop("selected"))&&(o.multiple?i(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))}),e.on("$destroy",function(){var t=o.readValue(),e=n.value;o.removeOption(e),r(),(o.multiple&&t&&t.indexOf(e)!==-1||t===e)&&i(!0)})}}],vs=function(){function t(t,e,n,r){var i=r[0],a=r[1];if(!a)return void(i.registerOption=f);if(i.ngModelCtrl=a,e.on("change",function(){i.removeUnknownOption(),t.$apply(function(){a.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var t=[];return o(e.find("option"),function(e){if(e.selected&&!e.disabled){var n=e.value;t.push(n in i.selectValueMap?i.selectValueMap[n]:n)}}),t},i.writeValue=function(t){o(e.find("option"),function(e){var n=!!t&&(j(t,e.value)||j(t,i.selectValueMap[e.value])),r=e.selected;n!==r&&Wr(ni(e),n)})};var s,c=NaN;t.$watch(function(){c!==a.$viewValue||U(s,a.$viewValue)||(s=wt(a.$viewValue),a.$render()),c=a.$viewValue}),a.$isEmpty=function(t){return!t||0===t.length}}}function e(t,e,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:fs,priority:1,link:{pre:t,post:e}}},gs=["$interpolate",function(t){return{restrict:"E",priority:100,compile:function(e,n){var r,i;return y(n.ngValue)||(y(n.value)?r=t(n.value,!0):(i=t(e.text(),!0),i||n.$set("value",e.text()))),function(t,e,n){var o="$selectController",a=e.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(t,e,n,r,i)}}}}],bs=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){r&&(n.required=!0,r.$validators.required=function(t,e){return!n.required||!r.$isEmpty(e)},n.$observe("required",function(){r.$validate()}))}}},$s=function(){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(t){if(C(t)&&t.length>0&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw e("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,t,tt(n));o=t||void 0,i.$validate()}),i.$validators.pattern=function(t,e){return i.$isEmpty(e)||$(o)||o.test(e)}}}}},ys=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=-1;n.$observe("maxlength",function(t){var e=p(t);i=pi(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(t,e){return i<0||r.$isEmpty(e)||e.length<=i}}}}},Es=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,r){if(r){var i=0;n.$observe("minlength",function(t){i=p(t)||0,r.$validate()}),r.$validators.minlength=function(t,e){return r.$isEmpty(e)||e.length>=i}}}}};return t.angular.bootstrap?void(t.console&&console.log("WARNING: Tried to load angular more than once.")):(pt(),xt(di),di.module("ngLocale",[],["$provide",function(t){function e(t){t+="";var e=t.indexOf(".");return e==-1?0:t.length-e-1}function n(t,n){var r=n;void 0===r&&(r=Math.min(e(t),3));var i=Math.pow(10,r),o=(t*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};t.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(t,e){var i=0|t,o=n(t,e);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void ni(function(){ct(t.document,ut)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>')},202:function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(l===setTimeout)return setTimeout(t,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(e){try{return l.call(null,t,0)}catch(e){return l.call(this,t,0)}}}function o(t){if(d===clearTimeout)return clearTimeout(t);if((d===r||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(t);try{return d(t)}catch(e){try{return d.call(null,t)}catch(e){return d.call(this,t)}}}function a(){f&&p&&(f=!1,p.length?m=p.concat(m):v=-1,m.length&&s())}function s(){if(!f){var t=i(a);f=!0;for(var e=m.length;e;){for(p=m,m=[];++v<e;)p&&p[v].run();v=-1,e=m.length}p=null,f=!1,o(t)}}function c(t,e){this.fun=t,this.array=e}function u(){}var l,d,h=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(t){l=n}try{d="function"==typeof clearTimeout?clearTimeout:r}catch(t){d=r}}();var p,m=[],f=!1,v=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];m.push(new c(t,e)),1!==m.length||f||i(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=u,h.addListener=u,h.once=u,h.off=u,h.removeListener=u,h.removeAllListeners=u,h.emit=u,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},203:function(t,e,n){var r,i;(function(t,o){!function(a,s){var c={boolean:!1,function:!0,object:!0,number:!1,string:!1,undefined:!1},a=c[typeof window]&&window||this,u=c[typeof e]&&e&&!e.nodeType&&e,l=c[typeof t]&&t&&!t.nodeType&&t,d=(l&&l.exports===u&&u,c[typeof o]&&o);!d||d.global!==d&&d.window!==d||(a=d),r=[n(10),n(2),e],i=function(t,e,n){return a.Rx=s(a,n,t,e),a.Rx}.apply(e,r),!(void 0!==i&&(t.exports=i))}(this,function(t,e,n,r,i){function o(t){return function(){try{return t.apply(this,arguments)}catch(t){return c.e=t,c}}}function a(t){if(!r.isFunction(t))throw new TypeError("fn must be a function");return o(t)}function s(){}var c={e:{}},u=r.module("rx",[]);u.factory("rx",["$window",function(t){t.Rx||(t.Rx=n);var e=function(t){function e(e,n,r){this._self=e,this._name=n,this._fn=r,t.call(this)}function i(t,e){this._self=t,this._name=e,this.isDisposed=!1}return n.internals.inherits(e,t),e.prototype.subscribeCore=function(t){var e=this._fn;return this._self[this._name]=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];if(r.isFunction(e)){var s=a(e).apply(this,i);if(s===c)return t.onError(s.e);t.onNext(s)}else 1===i.length?t.onNext(i[0]):t.onNext(i)},new i(this._self,this._name)},i.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,delete this._self[this._name])},e}(n.ObservableBase);return n.createObservableFunction=function(t,n,r){return new e(t,n,r).publish().refCount()},t.Rx}]),u.factory("observeOnScope",["rx",function(t){var e=function(e){function n(t,n,r){this._scope=t,this._expr=n,this._eq=r,e.call(this)}function r(t){return function(e,n){t.onNext({oldValue:n,newValue:e})}}function i(t){this._fn=t,this.isDisposed=!1}return t.internals.inherits(n,e),n.prototype.subscribeCore=function(t){return new i(this._scope.$watch(this._expr,r(t),this._eq))},i.prototype.dispose=function(){this.isDisposed||(this._fn(),this.isDisposed=!0)},n}(t.ObservableBase);return function(t,n,r){return new e(t,n,r)}}]),n.Observable.prototype.safeApply=function(t,e,n,i){return e=r.isFunction(e)?e:s,n=r.isFunction(n)?n:s,i=r.isFunction(i)?i:s,this.takeWhile(function(){return!t.$$destroyed}).tap(function(n){t.$$phase||t.$root.$$phase?e(n):t.$apply(function(){e(n)})},function(e){t.$$phase||t.$root.$$phase?n(e):t.$apply(function(){n(e)})},function(){t.$$phase||t.$root.$$phase?i():t.$apply(function(){i()})})},u.config(["$provide",function(t){t.decorator("$rootScope",["$delegate","rx",function(t,e){return Object.defineProperties(t.constructor.prototype,{$toObservable:{value:function(t,n){var r=this;return e.Observable.create(function(i){function o(t,e){i.onNext({oldValue:e,newValue:t})}var a=e.Disposable.create(r.$watch(t,o,n));return r.$on("$destroy",function(){a.dispose()}),a}).publish().refCount()},enumerable:!1,configurable:!0,writable:!0},$toObservableCollection:{value:function(t){var n=this;return e.Observable.create(function(r){function i(t,e){r.onNext({oldValue:e,newValue:t})}var o=e.Disposable.create(n.$watchCollection(t,i));return n.$on("$destroy",function(){o.dispose()}),o}).publish().refCount()},enumerable:!1,configurable:!0,writable:!0},$toObservableGroup:{value:function(t){var n=this;return e.Observable.create(function(r){function i(t,e){r.onNext({oldValue:e,newValue:t})}var o=e.Disposable.create(n.$watchGroup(t,i));return n.$on("$destroy",function(){o.dispose()}),o}).publish().refCount()},enumerable:!1,configurable:!0,writable:!0},$eventToObservable:{value:function(t,n){var i=this;return e.Observable.create(function(o){function s(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];if(r.isFunction(n)){var s=a(n).apply(null,e);if(s===c)return o.onError(s.e);o.onNext(s)}else 1===e.length?o.onNext(e[0]):o.onNext(e)}var u=e.Disposable.create(i.$on(t,s));return i.$on("$destroy",function(){u.dispose()}),u}).publish().refCount()},enumerable:!1,configurable:!0,writable:!0},$createObservableFunction:{value:function(t,n){return e.createObservableFunction(this,t,n)},enumerable:!1,configurable:!0,writable:!0},$digestObservables:{value:function(t){var n=this;return e.Observable.pairs(t).flatMap(function(t){return t[1].digest(n,t[0]).map(function(e){return{observable:t[1],expression:t[0],value:e}})}).publish().refCount()},enumerable:!1,configurable:!0,writable:!0}}),t}])}]),u.run(["$parse",function(t){var e=function(e){function i(t,n,r){this.source=t,this.$scope=n,this.prop=r,e.call(this)}return n.internals.inherits(i,e),i.prototype.subscribeCore=function(e){var i=t(this.prop).assign;if(!i)return e.onError(new Error("Property or expression is not assignable."));var o=new n.SingleAssignmentDisposable;return o.setDisposable(this.source.subscribe(new r(e,this.$scope,i))),this.$scope.$on("$destroy",function(){o.dispose()}),o},i}(n.ObservableBase),r=function(t){function e(e,n,r){this.o=e,this.$scope=n,this.propSetter=r,t.call(this)}return n.internals.inherits(e,t),e.prototype.next=function(t){if(this.$scope.$$phase)this.propSetter(this.$scope,t);else{var e=this;this.$scope.$apply(function(){e.propSetter(e.$scope,t)})}this.o.onNext(t)},e.prototype.error=function(t){this.o.onError(t)},e.prototype.completed=function(){this.o.onCompleted()},e}(n.internals.AbstractObserver);n.Observable.prototype.digest=function(t,n){return new e(this,t,n)}}]);n.ScopeScheduler=function(t){function e(e){this.$scope=e,t.call(this)}return n.internals.inherits(e,t),e.prototype.schedule=function(t,e){if(this.$scope.$$destroyed)return n.Disposable.empty;var r=new n.SingleAssignmentDisposable,i=this.$scope;i.$$phase||i.$root.$$phase?r.setDisposable(n.Disposable._fixup(t(e))):i.$apply.call(i,function(){r.setDisposable(n.Disposable._fixup(t(e)))})},e.prototype._scheduleFuture=function(t,e,r){if(this.$scope.$$destroyed)return n.Disposable.empty;var i=new n.SingleAssignmentDisposable,o=this.$scope,a=setTimeout(function(){return o.$$destroyed||i.isDisposed?clearTimeout(a):void(o.$$phase||o.$root.$$phase?i.setDisposable(n.Disposable._fixup(t(r))):o.$apply.call(o,function(){i.setDisposable(n.Disposable._fixup(t(r)))}))},e);return new n.BinaryDisposable(i,n.Disposable.create(function(){clearTimeout(a)}))},e.prototype.schedulePeriodic=function(t,e,r){if(this.$scope.$$destroyed)return n.Disposable.empty;e=n.Scheduler.normalize(e);var i=this.$scope,o=t,a=setInterval(function(){return i.$$destroyed?clearInterval(a):void(i.$$phase||i.$root.$$phase?o=r(o):i.$apply.call(i,function(){o=r(o)}))},e);return n.Disposable.create(function(){clearInterval(a)})},e}(n.Scheduler);return n})}).call(e,n(11)(t),function(){return this}())}});
//# sourceMappingURL=vendor.bundle.js.map
webpackJsonp([1],[function(t,e,n){"use strict";var r=n(2);n(119),n(120),n(152),n(66),n(117),n(91),r.module("knApp",["ngResource","ngRoute","ngSanitize","ngMaterial","ngMessages","ngAnimate","rx"]),r.module("knApp",["knApp.config","knApp.services","knApp.blocks"])},function(t,e,n){var r=n(205),i=new r;document.body?i.elem=i.render(document.body):document.addEventListener("DOMContentLoaded",function(){i.elem=i.render(document.body)},!1),t.exports=i},,function(t,e){"use strict";var n=function(){function t(){}return t.GetFactoryFor=function(t){var e=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var r=t;return new(r.bind.apply(r,[void 0].concat(e)))};return e.$inject=t.$inject,e},t}();e.DirectiveFactory=n},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}r(n(3))},,,,,,,,function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 101 100" id="knActivity_ddb67dc30c5ce1ff005249780b7baa54" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m56.91 20.48-0.1513 0.2229s-0.6649 0.9866-1.328 2.351c-0.4637 0.9544-0.9016 2.096-1.129 3.257-1.952 0.3536-3.851 0.8607-5.675 1.527-2.082-2.59-5.094-3.681-5.094-3.681l-0.221-0.07763-6.207 3.533-0.01593 0.2747s-0.07106 1.192 0.05175 2.707c0.09059 1.118 0.3204 2.392 0.7564 3.557-1.439 1.24-2.778 2.593-3.997 4.051-1.074-0.3922-2.337-0.6046-3.507-0.7087-1.59-0.14-2.92-0.11-2.92-0.11l-0.2866 0.004-3.613 6.169 0.1274 0.2488s0.549 1.07 1.427 2.323c0.6891 0.9832 1.603 2.038 2.646 2.851-0.5997 1.711-1.067 3.482-1.393 5.303-1.173 0.1703-2.444 0.6241-3.573 1.135-1.46 0.66-2.612 1.332-2.612 1.332l-0.2548 0.1473v7.114l0.211 0.1533s1.028 0.7466 2.431 1.447c1.119 0.5586 2.478 1.025 3.824 1.111 0.3293 1.793 0.7933 3.538 1.387 5.223-0.9219 0.7253-1.784 1.737-2.496 2.727-0.9291 1.292-1.587 2.442-1.587 2.442l-0.1453 0.2548 3.615 6.171 0.2727 0.01593s1.205 0.0705 2.741-0.04977c1.179-0.09233 2.53-0.3339 3.748-0.7982 1.212 1.444 2.543 2.784 3.971 4.013-0.3924 1.053-0.6049 2.284-0.7087 3.426-0.1426 1.569-0.1174 2.878-0.1174 2.878l0.004 0.2906 6.253 3.557 0.2429-0.1194s1.078-0.5308 2.347-1.391c0.9099-0.6172 1.891-1.418 2.687-2.343 1.865 0.6815 3.81 1.196 5.809 1.551 0.8376 3.027 2.857 5.614 2.857 5.614l0.1533 0.1951 6.698-0.004 0.1513-0.223s0.6592-0.9661 1.314-2.311c0.4673-0.9603 0.9019-2.116 1.121-3.294 1.948-0.3537 3.843-0.8617 5.663-1.527 0.7188 0.8111 1.651 1.557 2.55 2.182 1.309 0.9095 2.472 1.543 2.472 1.543l0.2488 0.1374 6.251-3.559 0.01593-0.2747s0.07045-1.19-0.05175-2.705c-0.09168-1.136-0.3277-2.436-0.7783-3.617 1.429-1.229 2.759-2.571 3.971-4.015 1.084 0.4044 2.366 0.623 3.555 0.7286 1.591 0.1413 2.92 0.1174 2.92 0.1174l0.2866-0.004 3.613-6.169-0.1274-0.2488s-0.5489-1.07-1.427-2.323c-0.6944-0.9903-1.617-2.052-2.669-2.866 0.601-1.705 1.069-3.471 1.399-5.285 1.178-0.1683 2.456-0.623 3.591-1.137 1.459-0.6606 2.61-1.332 2.61-1.332l0.2528-0.1473v-7.132l-0.2309-0.1493s-1.011-0.656-2.399-1.308c-1.115-0.5237-2.472-0.9971-3.812-1.176-0.3267-1.819-0.7925-3.588-1.391-5.297 0.9149-0.7244 1.773-1.727 2.48-2.711 0.9293-1.292 1.587-2.444 1.587-2.444l0.1453-0.2548-3.615-6.171-0.2727-0.01593s-1.206-0.06906-2.741 0.05175c-1.164 0.09162-2.496 0.3275-3.703 0.7803-1.224-1.464-2.569-2.822-4.015-4.067 0.3349-0.9847 0.5364-2.099 0.6489-3.147 0.1595-1.487 0.1701-2.78 0.1732-3.072l0.004-0.2986-6.259-3.563-0.2409 0.1194s-1.08 0.5291-2.349 1.389c-0.892 0.6046-1.855 1.386-2.644 2.287-1.862-0.6834-3.802-1.201-5.797-1.559-0.6889-3.021-2.379-5.592-2.379-5.592l-0.1513-0.2269h-7.202zm3.597 11.45c15.76 0.00016 28.53 12.77 28.53 28.53 0.000917 15.77-12.77 28.54-28.53 28.54-15.77 0-28.54-12.77-28.54-28.54 0-15.76 12.77-28.53 28.53-28.53zm0.2727 1.732c-0.0051-0.000122-0.0092 0.0021-0.01393 0.002v0.5076c-0.002-0.00005-0.004 0.00005-0.006 0l0.006-0.5076c-2.874-0.06734-5.45 1.465-7.198 3.73-1.751 2.269-2.702 5.288-2.325 8.283 0.5929 4.85 2.681 9.762 6.402 12.78 1.296 1.128 2.925 1.454 4.437 1.151 1.512-0.3034 2.921-1.216 3.884-2.546 2.922-3.735 4.547-8.726 4.328-13.63v-0.006-0.008c-0.39-5.22-4.53-9.82-9.52-9.74v-0.004zm-6.818 26.2-0.5614 0.01593c-2.513 0.06412-5.257 0.08434-7.536 1.939l-0.03981 0.03185-0.03185 0.03981c-2.217 2.703-3.867 4.396-4.941 6.37s-1.513 4.196-1.326 7.771l0.002 0.03384 0.006 0.03384c0.5645 2.96 3.232 5.241 6.856 6.828s8.264 2.504 13.01 2.655c4.751 0.1515 9.61-0.4627 13.67-1.987 4.058-1.524 7.341-3.978 8.791-7.527l0.03584-0.08759v-0.09555c0.06064-3.8-0.03414-5.634-0.6907-7.18s-1.793-2.655-3.724-5.106c-2.016-2.567-5.076-3.72-8.058-3.637-0.2226-0.05322-0.4329-0.08037-0.637-0.08162l-0.04578-0.01-0.0637 0.004c-0.39 0.01849-0.8316 0.2367-1.001 0.633-0.158 0.369-0.1109 0.7645 0.01593 1.218 0.2056 2.742 0.4128 5.48 0.6211 8.221l-7.533-4.346-0.2548 0.1433c-2.45 1.388-4.888 2.799-7.323 4.206 0.2384-3.165 0.4787-6.333 0.7166-9.497v-0.002l0.04181-0.5892z"/> <path opacity=".8" d="m20.05 0.1523c-1.894 0-3.418 0.7637-3.418 1.711v3.775c-1.37 0.365-2.69 0.915-3.92 1.635l-2.68-2.677c-0.669-0.67-2.286-0.131-3.626 1.209l-0.783 0.785c-1.339 1.339-1.879 2.957-1.209 3.63l2.674 2.674c-0.7165 1.228-1.263 2.548-1.623 3.924h-3.785c-0.9472 0-1.709 1.525-1.709 3.42v1.109c0 1.894 0.7618 3.42 1.709 3.42h3.775c0.3644 1.375 0.9143 2.695 1.635 3.922l-2.676 2.68c-0.67 0.67-0.13 2.29 1.209 3.63l0.7832 0.7852c1.34 1.34 2.957 1.879 3.627 1.209l2.676-2.674c1.228 0.7158 2.548 1.261 3.924 1.621v3.785c0 0.9472 1.524 1.711 3.418 1.711h1.111c1.894 0 3.42-0.7637 3.42-1.711v-3.775c1.375-0.3638 2.695-0.9131 3.922-1.633l2.676 2.676c0.6698 0.6698 2.287 0.1306 3.627-1.209l0.7852-0.7852c1.34-1.34 1.879-2.957 1.209-3.627l-2.69-2.67c0.7158-1.228 1.261-2.548 1.621-3.924h3.785c0.9472 0 1.709-1.525 1.709-3.42v-1.109c0-1.894-0.7618-3.42-1.709-3.42h-3.775c-0.35-1.38-0.9-2.7-1.62-3.93l2.678-2.678c0.67-0.663 0.13-2.281-1.21-3.62l-0.79-0.785c-1.33-1.34-2.95-1.879-3.62-1.209l-2.68 2.674c-1.22-0.716-2.54-1.262-3.92-1.622v-3.785c0-0.9472-1.525-1.711-3.42-1.711zm0.55 11.37c5.121-0.000262 9.273 4.151 9.273 9.271 0.000262 5.122-4.152 9.274-9.273 9.273-5.121-0.000816-9.272-4.153-9.271-9.273 0.000817-5.12 4.151-9.271 9.271-9.271z"/> </symbol>';t.exports=r.add(i,"knActivity_ddb67dc30c5ce1ff005249780b7baa54")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 306 100" id="knAirfreight_191ed09b30f315399c1cc7762e8dbdb2" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knAirfreight_191ed09b30f315399c1cc7762e8dbdb2_path8" d="m305.6 16.65c-2.158-7.495-22.54-8.154-30.7-5.576-29.8 9.353-59.54 18.71-89.34 28.06l-103.4-38.97-10.93 10.97 44.23 50.19c-28.54 9.293-80.76 26.5-90.24 29.44-8.154 2.578 52.76 10.73 66.67 8.514 0 0 107.3-33.04 154.7-47.91 12.17-3.837 24.4-7.675 36.57-11.51 8.154-2.578 24.76-15.05 22.36-23.2zm-297.3 38.37-8.274 7.26 22.01 24.22 31.84-10.61-45.57-20.87z"/> </symbol>';t.exports=r.add(i,"knAirfreight_191ed09b30f315399c1cc7762e8dbdb2")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 128 100" id="knApp_6d1d7531f00eefc6d0c0d39b53fd6bd3" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knApp_6d1d7531f00eefc6d0c0d39b53fd6bd3_path4" d="m66.63 0.04308c-0.51-0.01618-1.04 0.1868-1.61 0.5097-1.78 1.009-3.55 2.038-5.31 3.069-1.77 1.031-3.53 2.066-5.31 3.089-1.96 1.142-1.64 2.871-0.61 4.649l26.89 46.49 15.49-8.96-26.89-46.49c-0.98-1.69-1.8-2.326-2.65-2.352zm-19.2 19.74c-0.9046 0.08415-1.726 0.7731-2.59 2.297l-4.168 7.355 15.41 8.837 4.168-7.358c0.4591-0.8103 2.267-3.009-0.4644-4.575l-10.61-6.1c-0.63-0.34-1.2-0.51-1.75-0.46zm-8.17 12.1-23.43 40.53 15.29 9.03 23.43-40.52-15.29-9.04zm-35.17 17.33c-2.049-0.0029-3.706 0.7108-3.709 3.486-0.00699 5.14-0.05284 10.19-0.02148 14.96 0.01458 2.13 0.5994 3.37 3.721 3.375 3.319 0.01299 6.636 0.0157 9.955 0.02539l7.486-12.95h-0.6439v-8.886c-1.775-0.002-3.551-0.0047-5.327-0.0078v5.098h-3.009v-5.099l-5.327-0.0059v8.902h-3.01v-8.906c-0.03836-0.00005-0.07672 0.00005-0.1151 0zm119.8 0v8.904h-3.009v-8.898c-1.775 0.005-3.551 0.0069-5.327 0.01173v5.092h-3.01v-5.085c-1.775 0.004-3.551 0.0076-5.327 0.01172v8.873h-2.892c0.4956 0.9757 0.6629 2.018 0.5132 3-0.0848 0.5563-0.279 1.122-0.603 1.636 4.045 1.568 6.985 4.573 9.059 8.298 3.574-0.0057 7.146-0.0102 10.72-0.01563 3.121-0.005 3.706-1.245 3.721-3.375 0.0313-5.14-0.015-10.19-0.0215-14.96-0.003-2.776-1.659-3.49-3.709-3.486-0.0384 0.00013-0.0767-0.000122-0.1151 0zm-100 0.02149v4.788l2.767-4.784c-0.9222-0.000899-1.844-0.0023-2.767-0.0038zm75.21 0.01758s3.439 5.689 5.134 8.585c0.007 0.01211 0.0107 0.02498 0.0176 0.03711v-8.621c-1.775 0.0029-3.376-0.0047-5.151-0.002zm-46.76 0.02-12.63 21.84c15.74 0.01274 30.97 0.0099 46.71-0.01172 0 0-8.473-13.66-12.52-20.47v7.48h-3.009v-8.841c-1.775-0.000391-3.551 0.0029-5.327 0.002v5.043h-3.009v-5.044c-1.777-0.00098-3.552-0.0048-5.329-0.0059v8.847h-3.009v-8.851c-0.6256-0.000353-1.251-0.0012-1.877-0.002zm45.56 2.209-15.5 8.962 4.57 7.769c0.6998 1.19 2.035 1.161 2.61 0.8301l12.3-7.068c0.7786-0.4127 1.078-1.833 0.3785-3.027l-4.37-7.466zm5.399 13.25-12.04 7.135c-0.8238 3.631 0.4475 9.181 3.53 12.91 2.39 2.976 6.138 4.118 9.315 5.98 2.014 1.122 3.451 3.214 3.588 5.543 0.0426 1.373-0.2 3.742 1.803 3.701 1.487-0.3381 1.486-2.202 1.895-3.381 1.856-5.348 4.114-11.09 2.818-16.78-1.619-6.997-4.996-12.89-10.94-15.1zm-88.92 10.43v0.002c-0.03626 0.01007-0.06045 0.03537-0.06244 0.07228l-0.8059 17.14c-0.04995 1.062 0.9435 1.612 1.812 1.037l14.26-9.427c0.06464-0.0438 0.02571-0.1455-0.0722-0.2011l-14.99-8.595-0.01172-0.0098c-0.04714-0.0238-0.09839-0.03128-0.1346-0.02149z"/> </symbol>';t.exports=r.add(i,"knApp_6d1d7531f00eefc6d0c0d39b53fd6bd3")},function(t,e,n){var r=n(1),i='<symbol id="knArrow_a2ffe25ef4de297f81381ef5dacdc9fe" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m0 0.2146c16.65 28.54 33.28 57.08 49.93 85.65 16.65-28.57 33.3-57.11 49.96-85.65h-99.89z"/> </symbol>';t.exports=r.add(i,"knArrow_a2ffe25ef4de297f81381ef5dacdc9fe")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 166 100" id="knArrow2_b9359d9ac34e232f5d0d2f7f6f3f5a2d" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knArrow2_b9359d9ac34e232f5d0d2f7f6f3f5a2d_path4137" d="m83.2-0.1198-83.2 84.61 15.47 15.34 67.72-69.01 67.81 69.18 15.4-15.32-83.21-84.8z"/> </symbol>';t.exports=r.add(i,"knArrow2_b9359d9ac34e232f5d0d2f7f6f3f5a2d")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 167 100" id="knArrowShadow_2a4afc99a541ad6991ee040dfc2b87c7" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> <path id="knArrowShadow_2a4afc99a541ad6991ee040dfc2b87c7_path4137" d="m83.49 0.03126-83.2 84.61 15.47 15.34 67.72-69.01 67.82 69.23 15.4-15.37-83.23-84.78z"/> </symbol>';t.exports=r.add(i,"knArrowShadow_2a4afc99a541ad6991ee040dfc2b87c7")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 85" id="knBack_3e7f9a4e768068c1b7c1ba50b124d6eb" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> <g id="knBack_3e7f9a4e768068c1b7c1ba50b124d6eb_text4699" transform="matrix(1.683 0 0 1.683 189.1 81.52)"> <path id="knBack_3e7f9a4e768068c1b7c1ba50b124d6eb_path4711" d="m-96.3-48.5-16 11.89 16 11.89-0.726-6.056 16.34 0.056c4.679 0.01603 6.077 0.1628 8.193 0.4883 4.941 1.288 7.479 5.842 7.507 9.353 0 4.313-1.017 7.243-3.052 8.789-2.035 1.587-6.028 2.38-11.98 2.38h-14.29v11.78h12.7c7.161 0 12.53-0.4476 16.11-1.343 3.54-0.8545 6.531-2.991 8.972-6.409 2.401-3.418 3.601-8.362 3.601-14.83 0-6.307-1.017-9.251-3.052-12.83-2.075-3.581-4.761-6.002-8.057-7.263s-9.013-1.892-17.15-1.892l-15.84-0.15z"/> </g> </symbol>';t.exports=r.add(i,"knBack_3e7f9a4e768068c1b7c1ba50b124d6eb")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knBlog_2f38556bfa7e2aaf24a43b7855425b01" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m84.71 0.1176c-0.5598 0.04738-1.1 0.3059-1.481 0.7665l-27.3 33.07 15.88 13.23 27.3-33.07c0.7605-0.9213 0.6511-2.291-0.2681-3.056l-12.53-10.43c-0.46-0.3868-1.04-0.5498-1.6-0.5024zm-44.75 28.02c-14.89 0.21-30.75 7.34-37.81 21.62-4.804 9.543-1.165 21.18 6.221 28.07 3.808 3.518 9.38 6.479 3.886 11.51-3.086 2.72-10.21 9.759-2.141 10.7 8.969-0.1021 16.78-5.391 23.48-11.09 15.34 2.191 31.85 1.394 40.03-13.38 6.197-11.19 6.008-19.05 2.055-26.84l-6.291 7.441c-0.5545 0.6558-1.081 1.507-1.805 1.716-6.756 1.949-12.21 3.567-19.41 5.078-1.815 0.6548-3.68-0.8441-3.412-2.742 0.2212-7.504 0.6822-13.16 1.398-20.31 0.09915-0.9907 0.8865-1.54 1.423-2.232l5.56-7.179c-4.071-1.39-5.893-2.19-10.23-2.325-0.9807-0.04698-1.969-0.06403-2.961-0.04965zm11.39 11.23-1.39 18.25 17.27-5.02zm-37.25 5.443h24.08c0.6123 0 1.107 0.5994 1.107 1.34v1.563c0 0.7406-0.4935 1.338-1.107 1.338h-24.08c-0.6123 0-1.105-0.5975-1.105-1.338v-1.563c0-0.7407 0.4915-1.34 1.105-1.34zm0 11.41h24.08c0.6123 0 1.107 0.5955 1.107 1.336v1.567c0 0.7406-0.4935 1.336-1.107 1.336h-24.08c-0.6123 0-1.105-0.5955-1.105-1.336v-1.567c0-0.7406 0.4915-1.336 1.105-1.336zm0 11.41h47.71c0.6123 0 1.105 0.5935 1.105 1.334v1.565c0 0.7406-0.4915 1.34-1.105 1.34h-47.71c-0.6123 0-1.105-0.5994-1.105-1.34v-1.565c0-0.7406 0.4915-1.334 1.105-1.334z"/> </symbol>';t.exports=r.add(i,"knBlog_2f38556bfa7e2aaf24a43b7855425b01")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 82 100" id="knBookmark_e4023ac577578b12a9d9c650154e91bc" xmlns:svg="http://www.w3.org/2000/svg"> <path opacity=".8" d="m9 0.1189c-1.648 0.0761-4.385 1.053-5.716 2.113-1.866 1.54-2.932 4.225-3.037 8.018-0.0001768 0.02331-0.00005201 0.04662 0.0003745 0.06992l-0.2474 87.03c-0.003117 2.02 2.155 3.25 3.891 2.29l29.06-15.8 28.68 15.83c1.726 0.9529 3.831-0.3013 3.846-2.291l0.09335-88.88c1.488-8.962 8.187-8.289 8.187-8.289s-63.11-0.1682-64.75-0.09204z"/> <path d="m65.56 8.478c2.055-12.84 16.34-9.101 16.34 0v34.75l-16.38 0.02038z"/> </symbol>';t.exports=r.add(i,"knBookmark_e4023ac577578b12a9d9c650154e91bc")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 115 100" id="knCalendar_2b7d6ef486fef496e8dfb1a99dd65d69" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knCalendar_2b7d6ef486fef496e8dfb1a99dd65d69_path4" d="m30.85 0.4541c-5.865 0-10.7 4.788-10.7 10.57v5.379h-10.04l-0.04828 0.01565c-6.109-0.21-10.78 5.73-9.967 11.5 0.0338 21.06-0.05515 42.12 0.06438 63.17 0.405 5.785 6.339 9.562 11.9 8.805 31.4-0.03295 62.8 0.06593 94.25-0.04941 5.869-0.3995 9.7-6.265 8.931-11.75-0.0334-20.96 0.071-41.93-0.0485-62.89-0.3543-5.062-4.953-8.607-9.816-8.903-0.6954-0.04282-1.398-0.01483-2.093 0.07906h-8.097v-5.379c0.06-5.767-4.78-10.56-10.63-10.56h-3.174c-5.865 0-10.72 4.788-10.72 10.57v5.379h-25.86v-5.379c0-5.78-4.838-10.57-10.7-10.57h-3.158zm0 8.125h3.156c1.442 0 2.463 1.023 2.463 2.444v5.379 5.729c0 1.421-1.022 2.444-2.463 2.444h-3.156c-1.442 0-2.463-1.023-2.463-2.444v-5.729-5.379c0-1.421 1.022-2.444 2.463-2.444zm50.43 0h3.138c1.442 0 2.479 1.023 2.479 2.444v5.379 5.729c0 1.421-1.038 2.444-2.479 2.444h-3.138c-1.442 0-2.479-1.023-2.479-2.444v-5.729-5.379c0-1.421 1.038-2.444 2.479-2.444zm-71.98 29.92v0.01565h19.66v16.06h-22.13v-13.61c-0.038-1.33 1.15-2.5 2.471-2.46zm22.52 0.01565h24.41v16.06h-24.41v-16.06zm27.27 0h24.41v16.06h-24.41v-16.06zm27.27 0h19.54c3.464 0.3903 2.263 4.298 2.479 6.665v9.397h-22.03v-16.06zm-79.54 18.89h22.13v16.15h-22.13v-16.15zm25 0h24.41v16.15h-24.41v-16.15zm27.27 0h24.41v16.15h-24.41v-16.15zm27.27 0h22.03v16.15h-22.03v-16.15zm-79.53 18.97h22.13v15.57h-19.66c-3.491-0.41-2.29-4.29-2.507-6.67v-8.92zm25 0h24.41v15.57h-24.41v-15.57zm27.27 0h24.41v15.57h-24.41v-15.57zm27.27 0h22.03v13.13c-0.4041 3.404-4.364 2.211-6.761 2.428h-15.26v-15.57z"/> </symbol>';t.exports=r.add(i,"knCalendar_2b7d6ef486fef496e8dfb1a99dd65d69")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knChat_e5a0935438ecc06f77aac457f53c14f7" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m49.13 0.5472c-17.97-0.1795-38.02 6.839-46.64 23.25-5.498 10.28-1.335 22.82 7.114 30.25 4.356 3.79 10.73 6.98 4.446 12.4-3.53 2.93-11.68 10.52-2.45 11.53 10.26-0.11 19.2-5.81 26.86-11.95 17.55 2.36 38.29-0.13 50.06-14.58 9.87-11.6 7.7-30.35-4.43-39.7-9.54-8.064-22.62-10.93-34.96-11.2h-0.002zm-0.02944 7.146c13.81 0.1935 32.3 3.802 37.84 17.38 6.157 15.06-5.149 27.16-16.65 31.57-11.87 5.261-22.58 3.595-35.39 3.343-3.079 2.983-13.17 9.309-13.33 7.858 1.685-2.505 4.187-7.739 4.582-10.04-11.45-5.81-22.62-17.71-18.12-28.93 6.15-15.35 25.43-21.14 41.05-21.16l0.01962-0.01342zm-18.27 25.58v0.0038c-5.506 0.0754-6.8 8.419-1.542 10.07 4.845 2.154 9.697-4.432 6.02-8.222-1.089-1.273-2.796-1.944-4.478-1.852zm17.23 0 0.0078 0.0038c-5.506 0.0754-6.802 8.419-1.552 10.07 4.845 2.146 9.671-4.44 5.993-8.222-1.072-1.273-2.769-1.944-4.449-1.852zm17.24 0 0.0078 0.0038c-5.515 0.0754-6.802 8.419-1.552 10.07 4.837 2.146 9.665-4.44 5.995-8.222-1.072-1.273-2.779-1.944-4.451-1.852zm30 16.8c-0.9637 2.088-2.178 4.075-3.662 5.902-11.71 15.02-31.84 17.62-48.83 15.4-3.256 2.556-8.09 5.206-13.45 7.582 9.682 10.96 25.68 12.84 39.3 10.92 6.198 5.197 13.42 10.02 21.72 10.12 7.463-0.858 0.8726-7.286-1.976-9.763-5.082-4.588 0.06962-7.294 3.595-10.5 6.833-6.29 10.2-16.91 5.758-25.61-0.7214-1.437-1.546-2.784-2.453-4.052z"/> </symbol>';t.exports=r.add(i,"knChat_e5a0935438ecc06f77aac457f53c14f7")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knChatRoom_0cba372e02332605d2e3ccdab32f97cd" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m57.68 0.1278c-3.78 0.5101-6.181 3.959-9.201 6.018l-47.5 38.63c-2.644 2.678 1.026 5.207 2.473 7.359 1.595 2.026 3.889 5.793 6.684 3.047l5.275-4.285c0.0451 12.8-0.1243 32.61 0.08008 44.98 0.8189 4.184 8.656 3.58 8.656 3.58s68.02 0.6116 72.83-0.1172c4.164-0.8228 3.586-5.467 3.564-8.68v-39.72l5.699 4.639c3.165 2.051 4.834-2.083 6.666-3.949 1.666-1.992 4.832-5.031 1.582-7.217l-15.46-12.58v-25.33c-0.33-3.734-4.59-2.459-7.17-2.684-2.84 0.287-6.091-0.7118-8.691 0.7852-1.481 2.67-0.4957 5.989-0.7734 8.953-0.375 1.071 0.7995 5.408-0.7168 4.068l-20.05-16.3c-1.12-0.78-2.489-1.243-3.879-1.197h-0.08203zm1.672 28.95h0.002c9.67 0.2165 19.92 2.517 27.39 8.982 9.506 7.507 11.21 22.55 3.475 31.85-9.224 11.58-25.48 13.58-39.22 11.7-6.005 4.924-13.01 9.492-21.04 9.584-7.231-0.8129-0.8441-6.903 1.916-9.25 4.924-4.347-0.06676-6.91-3.482-9.945-6.63-5.97-9.89-16.03-5.59-24.27 6.76-13.17 22.47-18.8 36.55-18.65zm-0.02344 5.732-0.01563 0.01172c-12.24 0.01967-27.34 4.665-32.16 16.97-3.527 9.001 5.224 18.55 14.2 23.21-0.3094 1.844-2.269 6.041-3.59 8.051 0.1246 1.164 8.031-3.91 10.44-6.303 10.04 0.2019 18.42 1.538 27.72-2.682 9.02-3.54 17.88-13.25 13.05-25.32-4.34-10.89-18.83-13.79-29.64-13.94zm-14.31 20.52c1.318-0.07408 2.656 0.4649 3.51 1.486 2.881 3.04-0.9202 8.321-4.717 6.594-4.12-1.324-3.107-8.016 1.207-8.076v-0.0039zm13.5 0c1.316-0.07408 2.645 0.4649 3.484 1.486 2.882 3.033-0.8987 8.315-4.695 6.594-4.113-1.324-3.098-8.016 1.217-8.076l-0.0059-0.0039zm13.5 0c1.31-0.07408 2.647 0.4649 3.486 1.486 2.875 3.033-0.9073 8.315-4.697 6.594-4.113-1.324-3.104-8.016 1.217-8.076l-0.0059-0.0039z"/> </symbol>';t.exports=r.add(i,"knChatRoom_0cba372e02332605d2e3ccdab32f97cd")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 104 100" id="knCheck_7c1d5677373b77c8e76a8b2bba5fabe6" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m91.99 2.817-54.02 68.6-26.53-22.06c-7.651-7.86-14.86 0.55-9.694 7.14l29.37 40c4.797 5.158 13.13 4.568 17.16-1.215l54.42-85.82c4.2-6.721-5.41-13.39-10.71-6.66z"/> </symbol>';t.exports=r.add(i,"knCheck_7c1d5677373b77c8e76a8b2bba5fabe6")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knCommunities_cee4cb2f0b665e85625f1b4fc45bce22" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knCommunities_cee4cb2f0b665e85625f1b4fc45bce22_path9232" d="m22.69 0.1344c-4.447-0.1015-8.141 4.265-7.518 8.49 0.4941 3.542 2.213 7.082 5.178 9.236 1.955 1.533 4.854 0.8726 6.336-0.9707 2.363-2.692 3.697-6.321 3.525-9.883-0.28-3.69-3.61-6.924-7.52-6.876zm54.46 0c-3.91-0.04764-7.24 3.187-7.52 6.873-0.1719 3.562 1.164 7.19 3.527 9.883 1.482 1.843 4.381 2.503 6.336 0.9707 2.965-2.154 4.682-5.695 5.176-9.236 0.623-4.225-3.073-8.592-7.52-8.49zm-26.71 4.446c-5.564-0.145-10.07 5.28-9.344 10.54 0.6015 4.37 2.727 8.783 6.443 11.46 2.427 1.885 6.014 1.056 7.84-1.201 2.965-3.355 4.598-7.85 4.383-12.26-0.3652-4.577-4.489-8.616-9.322-8.533zm-33.92 14.99c-2.105 0.04143-4.252 0.08312-6.014 1.367-3.652 2.589-4.854 4.902-5.24 9.064-0.04295 2.05-0.4101 4.228 0.5352 6.154 1.332 1.802 3.824 1.18 5.779 1.283 4.447-0.0207 8.895-0.02148 13.34-0.02148 2.312-6.396 6.804-10.86 13.55-11.57-0.5585-1.305-1.244-2.551-2.232-3.648-1.59-1.823-4.037-2.627-6.443-2.564-0.2041-0.04659-0.385-0.07115-0.5371-0.06445-0.4562 0.0203-0.6479 0.3007-0.4062 0.9531 0.1933 2.278 0.3633 4.556 0.5566 6.834-2.277-1.16-4.471-2.321-6.748-3.48-2.277 1.139-4.553 2.3-6.766 3.48l0.666-7.766v-0.02148h-0.04297zm54.04 0c-0.1521-0.0067-0.333 0.01785-0.5371 0.06445-2.406-0.06212-4.856 0.7419-6.445 2.564-0.9882 1.098-1.674 2.344-2.232 3.648 6.747 0.7105 11.24 5.174 13.55 11.57 4.447 0 8.893 0.000775 13.34 0.02148 1.955-0.1036 4.445 0.5186 5.777-1.283 0.9452-1.926 0.58-4.104 0.5371-6.154-0.3867-4.163-1.586-6.476-5.238-9.064-1.762-1.284-3.912-1.326-6.018-1.367h-0.04102v0.02148l0.666 7.766c-2.213-1.181-4.49-2.341-6.768-3.48-2.277 1.16-4.469 2.321-6.746 3.48 0.1933-2.278 0.3652-4.556 0.5586-6.834 0.2417-0.6524 0.04801-0.9328-0.4082-0.9531zm-11.92 9.113v0.002c-0.58 0.02071-0.8164 0.3727-0.5371 1.201 0.2363 2.817 0.4942 5.631 0.7305 8.469-2.793-1.45-5.608-2.878-8.422-4.307-2.814 1.408-5.631 2.857-8.445 4.307 0.2793-3.21 0.5606-6.421 0.8184-9.631v-0.01953c-2.599 0.06213-5.264 0.083-7.455 1.678-5.017 3.772-8.109 9.958-5.842 17.12 1.654 2.237 4.746 1.471 7.174 1.596 10.59 0 21.2 0.0418 31.77-0.04102 2.685-0.1243 3.891-2.818 3.633-5.117 0.1289-5.758-0.7524-7.444-4.77-12-1.998-2.257-5.008-3.253-7.973-3.17-0.2793-0.06205-0.4903-0.08203-0.6836-0.08203zm-33.89 22.22-7.4 13.41c1.95 0.4113 3.743 1.083 5.309 1.969l6.938-12.58c-1.553-0.3621-3.258-1.094-4.674-2.619l-0.1719-0.1836zm51.55 0.6641c-1.349 1.235-3.162 2.097-5.096 2.354l5.959 10.8c1.565-0.8859 3.358-1.557 5.309-1.969l-6.16-11.16zm-30.02 2.479v17.36c1.33-0.168 2.698-0.2637 4.098-0.2637 1.399 0 2.766 0.09578 4.096 0.2637v-17.36c-2.733 0.000428-5.462 0.0023-8.193 0zm40.27 12.12a13.22 8.864 0 0 0 -13.22 8.87 13.22 8.864 0 0 0 13.22 8.86 13.22 8.864 0 0 0 13.24 -8.86 13.22 8.864 0 0 0 -13.24 -8.87zm-73.26 0.36a13.22 8.864 0 0 0 -13.22 8.87 13.22 8.864 0 0 0 13.22 8.86 13.22 8.864 0 0 0 13.21 -8.86 13.22 8.864 0 0 0 -13.21 -8.87zm37.81 7.994a18.53 12.4 0 0 0 -18.54 12.41 18.53 12.4 0 0 0 18.54 12.43 18.53 12.4 0 0 0 18.53 -12.43 18.53 12.4 0 0 0 -18.53 -12.4z"/> </symbol>';t.exports=r.add(i,"knCommunities_cee4cb2f0b665e85625f1b4fc45bce22")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 115 100" id="knCommunity_dc6651230285484cc06d951bd39b5435" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m24.29-0.05176c-6.23-0.1531-11.27 6.353-10.44 12.66 0.671 5.253 3.043 10.57 7.195 13.78 2.72 2.27 6.73 1.268 8.781-1.451 3.299-4.023 5.136-9.432 4.881-14.72-0.4-5.514-5.01-10.36-10.41-10.27l-0.0052-0.001796zm66.75 0-0.0052 0.001796c-5.4-0.09044-10.01 4.756-10.4 10.27-0.2544 5.291 1.582 10.7 4.881 14.72 2.052 2.719 6.061 3.721 8.781 1.451 4.152-3.211 6.524-8.528 7.195-13.78 0.8-6.309-4.23-12.81-10.46-12.66zm-33.07 12.25c-8.866-0.2179-16.04 9.043-14.87 18.02 0.955 7.476 4.332 15.04 10.24 19.61 3.871 3.23 9.576 1.804 12.5-2.065 4.7-5.72 7.32-13.42 6.95-20.95-0.56-7.84-7.12-14.73-14.81-14.61l-0.007-0.0054zm-26.14 16.74c0.444 3.369 1.579 8.197 1.848 11.6-3.13-1.731-6.273-3.455-9.404-5.179-3.159 1.71-6.305 3.448-9.442 5.179 0.3038-3.854 0.6148-7.707 0.9187-11.56v-0.03232c-2.909 0.07278-5.89 0.1129-8.345 2.024-5.074 3.87-6.711 10.78-7.26 16.97-0.04881 3.042-0.5759 6.302 0.7228 9.173 1.865 2.677 5.322 1.759 8.04 1.905 5.183-0.0021 10.37 0.0091 15.55 0.01437 1.062-1.247 2.247-2.413 3.605-3.452 4.324-3.363 9.251-3.399 13.31-3.495 2.097-0.1883 2.459-1.887 2.267-2.146-4.74-7.934-8.614-12.97-8.261-20.88-1.701-0.0013-2.561-0.1617-3.548-0.1203zm50.94 0c-0.738 0.02771-1.541 0.1194-2.817 0.1203 0.3524 7.911-3.522 12.95-8.261 20.88-0.192 0.2585 0.1703 1.958 2.267 2.146 4.056 0.09526 8.984 0.1317 13.31 3.495 1.358 1.038 2.544 2.204 3.605 3.452 5.184-0.0053 10.37-0.01648 15.55-0.01437 2.717-0.146 6.175 0.7713 8.04-1.905 1.299-2.871 0.7716-6.131 0.7228-9.173-0.5488-6.196-2.186-13.1-7.26-16.97-2.454-1.911-5.436-1.951-8.345-2.024v0.03232c0.3039 3.851 0.615 7.704 0.9187 11.56-3.137-1.731-6.283-3.47-9.442-5.179-3.131 1.724-6.274 3.448-9.404 5.179 0.2687-3.398 1.404-8.226 1.848-11.6-0.2468-0.01035-0.4855-0.0092-0.7315 0zm-63.39 0.1293v0.0036c0.0036-0.000087 0.0072 0.000087 0.01041 0l-0.01041-0.0036zm51.64 28.05c-0.9115 0.0418-1.27 0.6453-0.832 2.045 0.3821 4.823 0.7634 9.636 1.146 14.47-4.454-2.463-8.928-4.919-13.38-7.372-4.495 2.433-8.973 4.909-13.44 7.372 0.4323-5.485 0.8762-10.97 1.309-16.45v-0.04669c-4.14 0.1036-8.385 0.1611-11.88 2.88-7.221 5.508-9.55 15.34-10.33 24.15-0.06949 4.33-0.8186 8.972 1.03 13.06 2.654 3.809 7.574 2.502 11.44 2.71 16.84-0.0064 33.71 0.08285 50.53-0.05029 4.274-0.2097 6.184-4.824 5.781-8.767 0.2-9.84-1.21-20.66-7.59-28.44-3.17-3.86-7.98-5.58-12.7-5.42-0.41-0.1-0.78-0.15-1.08-0.14zm-25.2 0.02155c0.0052-0.000129 0.01041 0.000131 0.0156 0l-0.0156-0.0036v0.0036z"/> </symbol>';t.exports=r.add(i,"knCommunity_dc6651230285484cc06d951bd39b5435")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 1171 100" id="knCompanyName_895defd3265d1d1a7e6413d57b1424dd" xmlns:svg="http://www.w3.org/2000/svg"> <path fill="currentColor" d="m946.4-0.01172c-29.2 0-45.8 21.96-45.8 50.01 0 28.04 15.2 50 46.1 50 22 0 35.9-9.21 40.3-13.3v-41.91h-39v17.96h15.7v13.77c-2.6 1.91-8.2 3.86-15.8 3.86-17.5 0-22.8-15.85-22.8-30.38 0-14.54 4.3-30.38 20.8-30.38 8.5 0 13.1 5.32 15.4 12.23h24.7c-3.7-21.91-21.4-31.86-39.6-31.86zm-747.9 3.098v93.69h70.6v-19.99h-46.2v-18.85h38.6v-18.9h-38.6v-16.74h44.2v-19.21l-68.6-0.004zm-198.5 0.066v93.69h24.95v-26.48l9.08-11.02 20.97 37.5h29.52l-34.98-56.32 30.8-37.37-28.12 0.002-27.27 36.89v-36.89l-24.95 0.002zm94.07 0v55.32c0 27.16 12.43 40.67 40.83 40.67 28.3 0 40.8-13.51 40.8-40.67v-55.32l-24.4 0.002v57.09c0 12.07-4.5 18.25-16.4 18.25-12 0-16.4-6.18-16.4-18.25v-57.09l-24.43 0.002zm193.8 0v93.69h24.4v-38.91h32.1v38.91h24.5v-93.69l-24.5 0.002v34.46h-32.1v-34.46l-24.4 0.002zm107.9 0v93.69h22.9v-58.87l32.8 58.87h25.1v-93.69l-23 0.002v58.19l-32.8-58.19-25 0.002zm107.7 0v93.69h70.6v-19.99h-46.2v-18.85h38.6v-18.89h-38.6v-16.74h44.3v-19.22l-68.7 0.002zm198 0v93.69h23v-58.87l32.8 58.87h25v-93.69l-22.9 0.002v58.19l-32.8-58.19-25.1 0.002zm129.8 0l-37.7 93.69h25.1l6.3-17.46h36.6l6.1 17.46h27.2l-37.7-93.69-22.5 0.002h-3.4zm179.7 0v93.69h71v-19.99h-46v-18.85h38v-18.89h-38v-16.74h44v-19.22l-69 0.002zm93 0v93.69h67v-19.99h-43v-73.7l-24 0.002zm-260.6 24.75l11.8 33.37h-23.7l11.9-33.37z"/> <path d="m644.2 96.84h-14.14v-37.14h-36.63v-13.12h36.63v-37.14h14.14v37.14h36.63v13.12h-36.63v37.14"/> </symbol>';t.exports=r.add(i,"knCompanyName_895defd3265d1d1a7e6413d57b1424dd")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 26 100" id="knDetails_0834491934b6b703b856ffd4ec05c7ad" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m13.04 0.2773v0.002c-3.637 0-6.727 1.273-9.27 3.817-2.541 2.545-3.813 5.632-3.813 9.264 0.00003 3.78 1.273 6.98 3.816 9.59 2.544 2.55 5.633 3.82 9.267 3.82 3.63 0 6.69-1.27 9.16-3.82 2.54-2.61 3.82-5.81 3.82-9.59 0-3.634-1.28-6.724-3.82-9.268-2.47-2.544-5.52-3.815-9.16-3.815zm0 36.61c-3.637 0-6.727 1.28-9.27 3.82-2.541 2.55-3.813 5.63-3.813 9.26 0.00003 3.78 1.273 6.98 3.816 9.6 2.544 2.54 5.633 3.81 9.267 3.81 3.63 0 6.69-1.27 9.16-3.81 2.54-2.62 3.82-5.81 3.82-9.6 0-3.63-1.28-6.72-3.82-9.26-2.47-2.55-5.52-3.82-9.16-3.82zm0 36.62c-3.637 0-6.727 1.27-9.27 3.82-2.541 2.54-3.813 5.63-3.813 9.26 0.00003 3.78 1.273 6.98 3.816 9.59 2.544 2.55 5.633 3.82 9.267 3.82 3.63 0 6.69-1.27 9.16-3.82 2.54-2.61 3.82-5.81 3.82-9.59 0-3.63-1.28-6.72-3.82-9.27-2.47-2.54-5.52-3.81-9.16-3.81z"/> </symbol>';t.exports=r.add(i,"knDetails_0834491934b6b703b856ffd4ec05c7ad")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knEdit_55e614198a3bdb0ea1962813ed4c0807" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knEdit_55e614198a3bdb0ea1962813ed4c0807_path4144" d="m72.6 1.041-6.236 6.282 26.34 25.92 6.235-6.281c1.507-1.51 1.535-3.967-0.000001-5.464l-20.78-20.46c-0.7532-0.751-1.772-1.128-2.776-1.13-1.019-0.00234-2.022 0.3719-2.775 1.131zm-15.35 15.47-38.74 39.02 26.34 25.92 38.74-39.02-26.34-25.92zm-47.8 47.93c-2.958 11.3-6.433 23.29-9.265 35.4 11.8-3.09 24.21-5.76 35.61-9.48l-26.35-25.92z"/> </symbol>';t.exports=r.add(i,"knEdit_55e614198a3bdb0ea1962813ed4c0807")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 139 100" id="knEmail_651c60afd47b8b287fe402e855ed669b" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knEmail_651c60afd47b8b287fe402e855ed669b_path4" d="m9.919 0.3416c-2.975 0-4.952 1.004-6.935 2.997l66.45 56.8 66.47-56.8c-2-1.991-4-2.996-7-2.996h-119zm-9.919 8.973v82.7l47.62-40.85-47.62-41.86zm138.9 0-47.62 41.85 47.62 40.85v-82.7zm-86.33 45.84-49.58 41.85c1.98 2 3.956 3 6.932 3h119c2.975 0 4.952-1.004 6.935-2.997l-49.51-41.85-16.85 14.96-16.86-14.96z"/> </symbol>';t.exports=r.add(i,"knEmail_651c60afd47b8b287fe402e855ed669b")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knExclamation_e0bf29ec86a7a92afedfb7bc749c1475" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m50.18 0.07915c-27.62 0-49.82 22.2-49.82 49.82-0.0005 27.62 22.2 49.82 49.82 49.82s49.82-22.2 49.82-49.82-22.2-49.82-49.82-49.82zm0 8.83c21.66 0 40.99 19.33 40.99 40.99s-19.33 40.99-40.99 40.99-40.99-19.33-40.99-40.99 19.33-40.99 40.99-40.99zm0.46 6.387v0.01c-5.46-0.05-9.12 2.79-9.09 9.01 0.1 12.51-0.46 23.91 3.16 37.19 0.45 1.67 3.12 3.14 5.19 3.14 2.03 0 4.71-1.35 5.26-3.09 3.96-12.51 3.21-22.76 3.64-37.49 0.22-5.37-2.8-8.71-8.16-8.77zm-0.51 56.15c-1.98 0-3.65 0.69-5.03 2.07-1.35 1.35-2.03 3-2.03 4.94 0 2.23 0.71 3.97 2.12 5.23 1.44 1.22 3.12 1.83 5.03 1.83 1.89 0 3.53-0.63 4.95-1.88 1.41-1.26 2.11-2.98 2.11-5.18 0-1.94-0.7-3.59-2.11-4.94-1.38-1.38-3.06-2.07-5.04-2.07z"/> </symbol>';t.exports=r.add(i,"knExclamation_e0bf29ec86a7a92afedfb7bc749c1475")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 106 100" id="knFax_5d8106e2f34732a7b407872ca9943cf8" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knFax_5d8106e2f34732a7b407872ca9943cf8_path4" d="m26.51 0.6137v19.88 13.25h53v-13.25-19.88h-53zm-13.26 19.88c-6.624 0-13.25 6.62-13.25 13.25v33.13c0 6.626 6.626 13.25 13.25 13.25h6.626v-13.25-6.626h66.26v6.626 13.25h6.626c6.626 0 13.25-6.626 13.25-13.25v-33.13c0-6.626-6.626-13.25-13.25-13.25h-6.626v13.25 6.626h-66.26v-6.626-13.25h-6.626zm13.25 46.38v13.25 19.88h53v-19.88-13.25h-53zm6.626 6.626h39.75v6.626h-39.75v-6.626zm0 13.25h39.75v6.626h-39.75v-6.626z"/> </symbol>';t.exports=r.add(i,"knFax_5d8106e2f34732a7b407872ca9943cf8")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 82 100" id="knFiles_a4876b5996e090c3c628eca4495887b9" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m28.01-0.07381c-0.6901 0.09588-1.353 0.2777-1.971 0.5859-0.9443 0.4722-2.098 1.431-2.098 3.025v68.37c0 1.594 1.147 2.555 2.092 3.027 0.9443 0.4724 1.981 0.6699 3.107 0.6699h48.36c1.127 0 2.165-0.1992 3.109-0.6719 0.6995-0.3503 1.507-0.9697 1.879-1.914v-53.71c-0.09988-0.227-0.2461-0.4447-0.4277-0.6172l-18.2-18.2c-0.26-0.2654-0.59-0.4582-0.95-0.5599l-34.9-0.00391zm15.18 6.242c3.97 0.00911 7.949 0.06445 12.89 0.06445v14.66c0.3387 4.112 1.906 5.697 7.197 5.697h13.04v42.48c-0.2183 0.06477-0.4278 0.1445-0.8066 0.1445h-44.36c-0.3797 0-0.5879-0.08142-0.8066-0.1465v-62.69c4.92-0.175 8.88-0.211 12.85-0.202zm19.28 1.139 12.89 12.89h-12.08c-0.3791 0-0.5878-0.07969-0.8066-0.1445l-0.002-12.75z"/> <path opacity=".8" d="m16.33 8.813c-0.661 0.11-1.297 0.2898-1.891 0.5898-1.04 0.52-2.307 1.57-2.307 3.33v71.3c0 1.756 1.265 2.814 2.305 3.334 1.039 0.52 2.181 0.7402 3.422 0.7402h49.26c1.241 0 2.384-0.2196 3.424-0.7402 0.7704-0.3858 1.66-1.069 2.07-2.109v-3.482h-50.65c-3.019 0-3.641-1.921-3.641-4.051v-68.91l-1.992-0.00195z"/> <path opacity=".6" d="m4.677 20.46c-0.661 0.11-1.297 0.2898-1.891 0.5898-1.04 0.52-2.305 1.57-2.305 3.33v71.3c0 1.756 1.263 2.814 2.303 3.334 1.039 0.52 2.183 0.7402 3.424 0.7402h49.26c1.241 0 2.382-0.2196 3.422-0.7402 0.7704-0.3858 1.66-1.067 2.07-2.107v-3.484h-50.65c-3.76 0-3.639-1.571-3.639-4.049v-68.91l-1.994-0.002z"/> </symbol>';
t.exports=r.add(i,"knFiles_a4876b5996e090c3c628eca4495887b9")},function(t,e,n){var r=n(1),i='<symbol id="knFlow_dac55f77433bcf8732d42796e0d7fe69" xmlns:svg="http://www.w3.org/2000/svg"> <path fill="currentColor" d="m37.87 36.17c0 4.082 2.285 7.672 5.714 9.467v2.448h-8.815v5.388h8.815v36.24c-7.01-0.99-16.5-5.63-22.05-10.2l0.6762 13.33c9.806 4.944 16.39 7.033 26.12 7.149 11.1 0.1311 21.71-3.756 30.36-10.77l-6.366-7.835c-5.551 4.408-12.21 7.538-19.22 8.352l-0.03835-36.43h8.815v-5.388h-8.815v-2.448c3.427-1.796 5.714-5.388 5.714-9.467 0-5.877-4.733-10.61-10.45-10.53-5.714 0.08161-10.45 4.815-10.45 10.69zm10.61-5.222c2.938 0 5.222 2.285 5.222 5.222s-2.285 5.222-5.222 5.222-5.225-2.285-5.225-5.222 2.285-5.222 5.225-5.222z"/> <path d="m56.56 0.06836l-19.22 3.977 16.6 12.28 0.47-2.96c18.24 2.86 32.2 18.48 32.38 37.58 0.12 11.44-4.81 21.81-12.62 28.91l6.5 7.66c10.09-9.01 16.4-22.15 16.24-36.69-0.23-23.97-17.95-43.78-40.87-47.46l0.52-3.292zm-21.39 4.723c-20.26 5.829-35.14 24.54-35.17 46.65-0.009199 14.41 5.115 22.46 7.816 26.76l-2.765 1.59 14.81 11.97-0.82-20.49-2.29 1.48s-6.844-10.05-6.836-21.36c0.013-20.47 16.1-37.05 36.25-38.26l-10.99-8.339z"/> </symbol>';t.exports=r.add(i,"knFlow_dac55f77433bcf8732d42796e0d7fe69")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knForum_cf6554d07eeef962ac68d300ed0606d3" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m81.68 0.449c-0.1712 0.0014-0.3504 0.015-0.5391 0.04297-0.7574 0.1123-1.594 0.5366-2.188 1.164l-21.72 23c-0.3484 0.3684-0.5582 0.8458-0.5938 1.352l-1.297 18.27c-0.09913 1.394 1.115 2.524 2.498 2.324l17.91-2.58c0.4897-0.07038 0.9415-0.3044 1.281-0.6641l21.72-23c0.6134-0.6496 0.97-1.585 1.012-2.307 0.04185-0.7217-0.09844-1.204-0.1445-1.445-0.74-3.87-2.71-7.228-5.59-9.937s-6.67-4.766-11.07-6.023c-0.33-0.1047-0.77-0.2046-1.28-0.201h-0.002zm-38.51 12.87c-15.77-0.16-33.36 6-40.92 20.4-4.824 9.02-1.171 20.03 6.242 26.54 3.822 3.326 9.414 6.124 3.9 10.88-3.097 2.571-10.25 9.23-2.15 10.12 9.003-0.09652 16.85-5.097 23.57-10.48 15.4 2.071 33.6-0.1146 43.92-12.79 4.032-4.739 5.774-10.84 5.41-16.83l-3.93 4.16c-0.5291 0.5603-1.18 0.9761-1.889 1.254-1.932 7.577-8.717 13.34-15.59 15.97-10.42 4.616-19.81 3.155-31.05 2.934-2.702 2.617-11.56 8.168-11.7 6.895 1.479-2.198 3.673-6.79 4.02-8.809-10.04-5.09-19.84-15.53-15.89-25.38 5.39-13.47 22.31-18.55 36.02-18.57l0.01758-0.0098v-0.0059c4.149 0.05814 8.778 0.4806 13.27 1.473l4.615-4.889c-5.74-1.88-11.91-2.71-17.87-2.84l0.002-0.02344zm18.38 16.15 10.7 10.1-6.99 1.289-4.84-4.57 1.135-6.814v-0.002zm-40.75 14.18c-1.058 0-1.953 0.3567-2.686 1.068-0.7121 0.6917-1.068 1.547-1.068 2.564s0.3567 1.882 1.068 2.594c0.7324 0.7121 1.628 1.068 2.686 1.068 1.017 0 1.882-0.3567 2.594-1.068 0.7121-0.7121 1.068-1.576 1.068-2.594 0-1.017-0.3567-1.873-1.068-2.564-0.7121-0.7121-1.576-1.068-2.594-1.068zm13.79 0c-1.058 0-1.953 0.3567-2.686 1.068-0.7121 0.6917-1.068 1.547-1.068 2.564s0.3567 1.882 1.068 2.594c0.7324 0.7121 1.628 1.068 2.686 1.068 1.017 0 1.882-0.3567 2.594-1.068 0.7121-0.7121 1.068-1.576 1.068-2.594 0-1.017-0.3567-1.873-1.068-2.564-0.7121-0.7121-1.576-1.068-2.594-1.068zm13.79 0c-1.058 0-1.953 0.3567-2.686 1.068-0.7121 0.6917-1.068 1.547-1.068 2.564s0.3567 1.882 1.068 2.594c0.7324 0.7121 1.628 1.068 2.686 1.068 1.017 0 1.882-0.3567 2.594-1.068 0.7121-0.7121 1.068-1.576 1.068-2.594 0-1.017-0.3567-1.873-1.068-2.564-0.7121-0.7121-1.576-1.068-2.594-1.068zm35.29 13.12c0.0014 0.0019 0.0025 0.004 0.0039 0.0059 0.00061-0.0013 0.0013-0.0026 0.002-0.0039l-0.0059-0.002zm0.0039 0.0059c-0.8453 1.831-1.912 3.574-3.213 5.176-10.28 13.18-27.94 15.46-42.85 13.51-2.857 2.243-7.099 4.567-11.8 6.652 8.496 9.617 22.53 11.27 34.48 9.582 5.439 4.56 11.78 8.795 19.06 8.883 6.549-0.7529 0.7648-6.395-1.734-8.568-4.459-4.026 0.0612-6.402 3.154-9.215 5.996-5.519 8.95-14.84 5.053-22.47-0.6319-1.259-1.356-2.437-2.15-3.549z"/> </symbol>';t.exports=r.add(i,"knForum_cf6554d07eeef962ac68d300ed0606d3")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knGlobe_3827a9b29aa4ed4658f103a316a23f05" xmlns:svg="http://www.w3.org/2000/svg"> <path d="M98.5 50.2A48.5 48.5 0 0 1 50.1 98.7 48.5 48.5 0 0 1 1.6 50.2 48.5 48.5 0 0 1 50.1 1.6 48.5 48.5 0 0 1 98.5 50.2Z"/> <path d="m45.8 11.1c-1.7-0.1-3.8 0-5.3 0.4-2.9 0.8-6.5 1.4-9.4 1.8-2.9 0.4-4.9 0.8-6.4 1.8-2.9 1.8-3 2.5-7 4.2-4 1.6-4.9 1.1-7.8 6.2-2.9 5-7.9 12.3-7.2 16.9 0.8 4.5-0.2 7.1 2.1 9.4 2.4 2.4 3.4 4.2 4.1 5.8 0.5 1.1-0.5 2-0.5 3.9 0 1.9 0.2 2 1.9 2 1.6 0 0 1.3 1.4 3.5 1.4 2.3 1.6 2.9 3.5 8.4 1.9 5.5 5.7 13.5 10.8 17.1 5.2 3.7-2.8-3.1-3.1-6.5-0.4-3.4 1.4-3.4 1.4-6 0-2.6 2.5-0.1 3.3-2 0.8-1.9-0.3-4.3 0.6-6.9 0.9-2.6 1-4.5-2.4-5.9-3.4-1.4-5.8-3.8-6.9-5.4-1.1-1.6-2.1-2.6-4.4-3.9-2.3-1.3-3.3 0.3-4.8-0.8-1.5-1-0.9-1.4-2.3-3.6-1.4-2.3-2.4-1.6-2.5-3.5-0.1-1.9 2.3-4.8 2.6-4.5 0.4 0.3 0 2.9 1 3 1 0.1-0.4-2.8 0.8-4.7 1.1-1.9 2-4.5 4.5-6 2.5-1.5 2.6-3 5.4-3.5 2.8-0.5 0-3.5 1.9-3.3 1.9 0.3 3.1 2 3.5-0.1 0.4-2.1 0.1-1.6-2-4-2.1-2.4-4.2-3.4-5.3-0.5-1.1 2.9-1.8 5.4-3.1 3.9-1.4-1.5-0.7-3.9 0.6-4.5 1.4-0.6 4.3-3.6 6.3-2.4 2 1.3 4.1 0.9 4.5-0.5 0.4-1.4-2.4-2.4-0.9-3.9 1.5-1.5 4.5-2.1 4.5-0.4 0 1.8-1.3 3.8 0.4 4.4 1.6 0.6 5.7-1.8 6.8-2 1.1-0.3 4.5-0.6 6.4-2.1 1.9-1.5 4-3.9 5.2-4.7 0.6-0.4-0.6-0.7-2.3-0.8zm19 4.4c-1.7-0.4-3.4 0.6-4.8 1.3-1.9 0.9-3.3 2.3-4.8 3.3-1.5 1 0.6 1.3 1.9 1.8 1.3 0.5 3.1 0.6 4.3-0.2 1.1-0.9 0.5-2.1 2.1-2.8 1.6-0.6-0.1 2.3 0.5 3.8 0.6 1.5-1.8 1.5-3.3 1.6-1.5 0.1-2.3-0.1-4.7-1.1-2.4-1-1.9 2.3-2.8 2.6-0.9 0.4-4.3 1.5-4 2.8 0.3 1.3 2.3 2.5 0.5 2.3-1.8-0.3-4 0.9-4.1 2.3-0.1 1.4 1.6 3.5 2.4 3.6 0.8 0.1 3.5-0.8 4-2.1 0.5-1.4 1.6-2.3 3.6-3 2-0.8 2.6 0 4 1.8 1.4 1.8-0.1 1.5 0.5 2.9 0.6 1.4 1.6-1.8 2.4-1.5 0.8 0.3 3 2.7 3.4 1.4 0.4-1.4 0.9-1.8 1.8-0.5 0.9 1.3 4.4 1.5 5.3 2.9 0.9 1.4-2 1.9-3.3 1.6-1.3-0.3-6.5-0.1-7.8-0.4-1.3-0.3-3.3-1.6-4-3.9-0.8-2.3-3.5-0.5-4.9 0.3-1.4 0.8-5.3 1.1-6.4 1.9-1.1 0.8-1.9 3-3.6 4.5-1.6 1.5-2.8 4-2.4 5.5 0.4 1.5-0.1 5.7 1.4 8.4 1.5 2.8 5.7 3.8 8.7 3.8 3 0 4.8-0.4 6.2 0.6 1.4 1 2.8 7.6 3.3 9.8 0.5 2.3-1.8 5.3-1.3 7.4 0.5 2.1 1.8 7.1 3.4 8.1 1.6 1 8.6-3.9 9.3-5.9 0.8-2 2.6-5.2 4.8-7.1 2.1-1.9 0-3.9 0.4-7.3 0.4-3.4 5.2-7.3 5.7-8.8 0.5-1.5-1.1-1.3-4.1-1.9-3-0.6-4.7-8.8-5-11-0.4-2.1 0.9 0.4 1.9 2.3 1 1.9 2.8 5.5 4 7.9 1.3 2.4 3.3-1.6 5.3-3 2-1.4 1.6-3.3 1.1-4.5-0.5-1.3-2.9-1.4-3.9-2.6-1-1.3-0.2-2.3 1-0.3 1.3 2 3.5 2.1 4.9 2 1.4-0.1 2.8 2.5 3.1 4.8 0.4 2.3 3.3 7.3 3.3 7.3 0 0 0.1-4.5 0.4-6.4 0.3-1.9 1.3-3.7 3-4.2l-1.9-13.2c0 0-7.8-16.6-11.3-16-3.5 0.6-3.8 0.4-7 0.6-3.3 0.3-0.6-1.5-2-2.4-1.4-0.9-2.5 2.5-4.3 2.3-1.8-0.3-2.4-0.4-4.5-2.4-0.5-0.5-1.1-0.8-1.6-0.9zm-19.6 2.2c-0.6 0-1.3 0.1-1.8 0.3-1.2 0.4-3 1.1-1.1 1.4 1.9 0.3 4.9 0 4.4-1-0.3-0.5-0.8-0.7-1.5-0.7zm25.9 12.5c0.5 0.1 1.1 0.6 1.9 0.9 1.6 0.8 2.4 1.9 1 2.1-1.4 0.3-2.5-0.8-3.8-0.4-1.3 0.4-1.2-0.5-0.4-2 0.4-0.7 0.7-0.8 1.2-0.7zm8.4 0.7c1.1-0.5 0.3 1.8 1.6 3 1.3 1.3 1.3 3.5 0 3.6-1.3 0.1-0.6-2.1-2.3-3.8-1.7-1.6-0.8-2.2 0.7-2.9zm1.1 40.7c-1.5 0.4-1.9 1-2.6 2-0.8 1-0.9 2.5-1.4 3.8-0.5 1.3 0.3 2.4 1.5 0.8 1.3-1.6 4-6.9 2.5-6.6zm-72.3-24.2c-0.3 1 0.6-0.3 1.3 1.5 0.6 1.8-1 1.6 0.9 2.1 1.9 0.5 4.5 0.6 3.5-0.6-1-1.3-5.4-3.8-5.7-3" fill="currentColor"/> <path d="m50.1 0.3c-27.4 0-49.8 22.4-49.8 49.8 0 27.4 22.4 49.8 49.8 49.8 27.4 0 49.8-22.4 49.8-49.8 0-27.4-22.4-49.8-49.8-49.8zm0 2.5c25.9 0 46.8 20.9 46.8 46.8 0 25.9-20.9 46.8-46.8 46.8-25.9 0-46.8-20.9-46.8-46.8 0-25.9 20.9-46.8 46.8-46.8z" fill="#56b7e9"/> </symbol>';t.exports=r.add(i,"knGlobe_3827a9b29aa4ed4658f103a316a23f05")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knGlobe2_26eb6d7b92d1df7da782fb91b3bbe4ca" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m99.79 50.1a49.92 49.92 0 0 1 -49.84 49.9 49.92 49.92 0 0 1 -49.93 -49.9 49.92 49.92 0 0 1 49.93 -50.03 49.92 49.92 0 0 1 49.84 50.03z" fill="currentColor"/> <path d="m40.31 9.911c-2.987 0.8236-6.693 1.441-9.678 1.853-2.987 0.4118-5.046 0.8236-6.589 1.853-2.987 1.853-3.089 2.574-7.207 4.324-4.118 1.647-5.046 1.132-8.03 6.383-2.987 5.148-8.135 12.66-7.413 17.4 0.8236 4.634-0.2059 7.311 2.162 9.678 2.471 2.471 3.5 4.324 4.222 5.971 0.5148 1.132-0.5148 2.059-0.5148 4.017 0 1.956 0.2059 2.059 1.956 2.059 1.647 0 0 1.338 1.441 3.605 1.441 2.368 1.647 2.987 3.605 8.648 1.956 5.664 5.87 13.9 11.12 17.61 5.354 3.811-2.883-3.193-3.193-6.693-0.4118-3.5 1.441-3.5 1.441-6.177s2.574-0.1029 3.399-2.059c0.8236-1.956-0.3089-4.428 0.6177-7.105 0.91-2.67 1.01-4.63-2.49-6.07s-5.97-3.91-7.1-5.56-2.16-2.68-4.53-4.02-3.4 0.31-4.943-0.82c-1.544-1.03-0.926-1.44-2.367-3.71-1.442-2.37-2.471-1.65-2.574-3.6-0.103-1.96 2.368-4.94 2.676-4.64 0.4118 0.3089 0 2.987 1.03 3.089 1.03 0.1029-0.4118-2.883 0.8236-4.84 1.132-1.956 2.059-4.634 4.634-6.177 2.574-1.544 2.677-3.089 5.559-3.605 2.883-0.5148 0-3.605 1.956-3.399 1.956 0.3089 3.193 2.059 3.605-0.1029 0.4118-2.162 0.103-1.647-2.059-4.118s-4.324-3.5-5.458-0.5148c-1.132 2.987-1.853 5.559-3.193 4.017-1.441-1.544-0.7207-4.017 0.6177-4.634 1.441-0.6177 4.428-3.706 6.487-2.471 2.059 1.338 4.222 0.9266 4.634-0.5148 0.4118-1.441-2.471-2.471-0.9266-4.017 1.544-1.544 4.634-2.162 4.634-0.4118 0 1.853-1.338 3.912 0.4118 4.53 1.647 0.6177 5.87-1.853 7.001-2.059 1.132-0.3089 4.634-0.6177 6.589-2.162 1.956-1.544 4.118-4.017 5.354-4.84-0.2-1.549-6.39-1.076-7.71-0.739zm25.02 4.118c-1.75-0.4118-3.5 0.6177-4.942 1.338-1.956 0.9266-3.399 2.368-4.942 3.399-1.544 1.03 0.6177 1.338 1.956 1.853 1.338 0.5148 3.193 0.6177 4.428-0.2059 1.132-0.9266 0.5148-2.162 2.162-2.883 1.647-0.6177-0.103 2.368 0.5148 3.912 0.6177 1.544-1.853 1.544-3.399 1.647-1.544 0.1029-2.368-0.103-4.84-1.132-2.471-1.03-1.956 2.368-2.883 2.677-0.9266 0.4118-4.428 1.544-4.118 2.883 0.3089 1.338 2.368 2.574 0.5148 2.368-1.853-0.3089-4.118 0.9266-4.222 2.368-0.103 1.441 1.647 3.605 2.471 3.706 0.8236 0.103 3.605-0.8236 4.118-2.162 0.5148-1.441 1.647-2.368 3.706-3.089 2.059-0.8236 2.677 0 4.118 1.853s-0.103 1.544 0.5148 2.987c0.6177 1.441 1.647-1.853 2.471-1.544 0.8236 0.3089 3.089 2.78 3.5 1.441 0.4118-1.441 0.9266-1.853 1.853-0.5148 0.9266 1.338 4.53 1.544 5.458 2.987 0.9266 1.441-2.059 1.956-3.399 1.647-1.338-0.3089-6.693-0.1029-8.03-0.4118-1.338-0.3089-3.399-1.647-4.118-4.017-0.8236-2.368-3.605-0.5148-5.046 0.3089-1.441 0.8236-5.458 1.132-6.589 1.956-1.132 0.8236-1.956 3.089-3.706 4.634-1.647 1.544-2.883 4.118-2.471 5.664 0.4118 1.544-0.103 5.87 1.441 8.648 1.544 2.883 5.87 3.912 8.958 3.912 3.089 0 4.942-0.4118 6.383 0.6177s2.883 7.824 3.399 10.09c0.5148 2.368-1.853 5.458-1.338 7.618 0.5148 2.162 1.853 7.311 3.5 8.341s8.854-4.017 9.576-6.076c0.8236-2.059 2.677-5.354 4.942-7.311 2.162-1.956 0-4.017 0.4118-7.517s5.354-7.517 5.87-9.06c0.5148-1.544-1.132-1.338-4.222-1.956-3.089-0.6177-4.84-9.06-5.148-11.32-0.4118-2.162 0.9266 0.4118 1.956 2.368 1.03 1.956 2.883 5.664 4.118 8.135 1.338 2.471 3.399-1.647 5.458-3.089 2.059-1.441 1.647-3.399 1.132-4.634-0.5148-1.338-2.987-1.441-4.017-2.677-1.03-1.338-0.2059-2.368 1.03-0.3089 1.338 2.059 3.605 2.162 5.046 2.059 1.441-0.1029 2.883 2.574 3.193 4.942 0.4118 2.368 3.399 7.517 3.399 7.517s0.103-4.634 0.4118-6.589c0.3089-1.956 1.338-3.811 3.089-4.324 0 0-0.3404-9.421-1.956-13.7-2.332-6.18-7.232-17.09-10.84-16.47-3.605 0.6177-4.71 0.5258-8.005 0.7317-3.399 0.3089-0.6177-1.544-2.059-2.471-1.441-0.9266-2.574 2.574-4.428 2.368-1.853-0.3089-2.471-0.4118-4.634-2.471-0.5148-0.5148-1.132-0.8236-1.647-0.9266zm-20.18 2.265c-0.6177 0-1.338 0.103-1.853 0.3089-1.235 0.4118-3.089 1.132-1.132 1.441 1.956 0.3089 5.046 0 4.53-1.03-0.3089-0.5148-0.8236-0.7207-1.544-0.7207zm26.66 12.86c0.5148 0.1029 1.132 0.6177 1.956 0.9266 1.647 0.8236 2.471 1.956 1.03 2.162-1.441 0.3089-2.574-0.8236-3.912-0.4118s-1.235-0.5148-0.4118-2.059c0.4118-0.7207 0.7207-0.8236 1.235-0.7207zm8.648 0.7207c1.132-0.5148 0.3089 1.853 1.647 3.089 1.338 1.338 1.338 3.605 0 3.706-1.338 0.1029-0.6177-2.162-2.368-3.912-1.75-1.647-0.8236-2.265 0.7207-2.987zm1.132 41.91c-1.544 0.4118-1.956 1.03-2.677 2.059-0.8236 1.03-0.9266 2.574-1.441 3.912-0.5148 1.338 0.3089 2.471 1.544 0.8236 1.338-1.647 4.118-7.105 2.574-6.795zm-74.43-24.91c-0.3089 1.03 0.6177-0.3089 1.338 1.544 0.6177 1.853-1.03 1.647 0.9266 2.162 1.956 0.5148 4.634 0.6177 3.605-0.6177-1.03-1.338-5.559-3.912-5.87-3.089"/> </symbol>';t.exports=r.add(i,"knGlobe2_26eb6d7b92d1df7da782fb91b3bbe4ca")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knGlobe3_b06d3a70bdd61cdaedf10c40a9320564" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m50.26 0.3594c-27.55 0-49.97 22.42-49.97 49.97-0.0029 27.55 22.42 49.97 49.97 49.97s49.94-22.42 49.94-49.97-22.39-49.97-49.94-49.97zm0 8c1.84 0 3.64 0.131 5.41 0.358 2.35 6.003 4.35 11.96 5.87 17.87-7.3 0.33-14.62 0.34-21.97 0.02 1.53-5.94 3.53-11.93 5.9-17.97 1.57-0.179 3.17-0.281 4.79-0.281zm-9.29 1.039c-3.02 5.662-5.49 11.27-7.36 16.87-5.48-0.37-10.98-0.92-16.53-1.66 5.86-7.56 14.24-13.04 23.89-15.21zm19.25 0.153c9.37 2.269 17.5 7.679 23.22 15.05-5.32 0.72-10.64 1.27-15.95 1.64-1.86-5.54-4.3-11.09-7.27-16.69zm25.75 18.69c3.58 5.78 5.79 12.5 6.19 19.71l-20.55-0.11c-0.23-5.57-1.12-11.11-2.62-16.66 5.61-0.73 11.26-1.72 16.98-2.94zm-71.56 0.21c5.91 1.53 11.76 2.59 17.57 3.27-1.39 5.3-2.23 10.59-2.47 15.91l-21.12-0.1c0.457-6.96 2.59-13.46 6.02-19.08zm48.37 3.44c1.13 5.33 1.87 10.64 2.16 15.92l-28.76-0.14c0.28-5.1 0.99-10.22 2.06-15.37 8.19 0.56 16.34 0.38 24.54-0.41zm-54.45 20.16l21.11 0.1c0.11 5.35 0.83 10.72 2.22 16.17-5.82 0.69-11.67 1.77-17.58 3.31-3.41-5.78-5.464-12.44-5.75-19.58zm27.71 0.14l29.03 0.14c0.02 5.3-0.43 10.58-1.42 15.85-5.24-0.53-10.47-0.83-15.69-0.83-3.52-0.01-7.05 0.14-10.58 0.4-0.94-5.17-1.37-10.36-1.34-15.56zm35.62 0.17l20.52 0.1c-0.35 7.07-2.44 13.66-5.85 19.37-5.73-1.23-11.39-2.24-17.01-2.99 1.45-5.55 2.22-11.03 2.34-16.48zm-21.04 20.78c3.96 0.01 7.91 0.12 11.86 0.32-1.58 6.18-3.93 12.35-7.13 18.53-1.67 0.2-3.37 0.31-5.09 0.31-1.51 0-2.99-0.08-4.46-0.23-3.23-6.21-5.59-12.42-7.18-18.64 4.01-0.19 8.01-0.29 12-0.29zm-17.36 0.61c1.93 5.78 4.61 11.64 8.11 17.61-10.09-2.17-18.81-7.93-24.77-15.91 5.59-0.75 11.14-1.32 16.66-1.7zm34.58 0.03c5.36 0.39 10.71 0.94 16.07 1.68-5.81 7.78-14.28 13.46-24.07 15.74 3.44-5.91 6.09-11.7 8-17.42z"/> </symbol>';t.exports=r.add(i,"knGlobe3_b06d3a70bdd61cdaedf10c40a9320564")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 116 100" id="knHome_1c2d1f2d266444bdf05a4ee5f491cdf3" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knHome_1c2d1f2d266444bdf05a4ee5f491cdf3_path4" d="m57.63 0.6199c-3.78 0.5101-6.18 3.957-9.2 6.016l-47.5 38.64c-2.644 2.678 1.025 5.206 2.472 7.358 1.595 2.026 3.889 5.793 6.684 3.047l47.85-38.88 48.26 39.28c3.165 2.051 4.833-2.085 6.665-3.951 1.666-1.992 4.833-5.03 1.583-7.216l-15.46-12.58v-25.33c-0.33-3.734-4.59-2.459-7.17-2.684-2.84 0.287-6.09-0.712-8.69 0.785-1.481 2.67-0.4975 5.99-0.7752 8.954-0.375 1.071 0.7998 5.408-0.7165 4.068l-20.04-16.31c-1.12-0.78-2.49-1.243-3.88-1.197zm0.31 22.97-42.58 34.61c0.05965 12.73-0.1288 25.45 0.08139 38.18 0.8189 4.184 5.457 3.602 8.656 3.581h24.75v-26.47c0.4083-3.767 4.69-2.512 7.274-2.737 3.074 0.1088 6.199-0.2344 9.239 0.2176 2.691 1.716 1.299 5.315 1.642 8.011v20.96c9.973-0.06028 19.96 0.1132 29.93-0.09811 4.164-0.8228 3.585-5.468 3.563-8.681v-32.97l-42.56-34.63z"/> </symbol>';t.exports=r.add(i,"knHome_1c2d1f2d266444bdf05a4ee5f491cdf3")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 36 100" id="knInfo_fb89a14abaaa9848fcd6ccde13384905" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m25.2 0.1084c-2.829 0.1229-5.18 1.235-7.056 3.342-0.08281 0.093-0.1543 0.19-0.2332 0.2844-0.7104 0.85-1.26 1.76-1.655 2.724-0.5541 1.354-0.8109 2.817-0.7422 4.397 0.1229 2.829 1.211 5.211 3.262 7.147 2.106 1.875 4.543 2.751 7.314 2.631 2.829-0.1229 5.214-1.208 7.149-3.259 1.933-2.109 2.836-4.579 2.713-7.408-0.1229-2.829-1.239-5.211-3.347-7.144-2.051-1.935-4.519-2.838-7.405-2.713zm5.725 31.94-4.155 0.1792-23.48 4.837-0.7451 2.81c0.9213-0.0979 1.758-0.1636 2.508-0.1962 1.501-0.0652 2.702 0.2872 3.603 1.058 0.9589 0.7682 1.459 1.674 1.504 2.713 0.07024 1.617-0.2863 4.033-1.072 7.249l-8.25 33.76c-0.6929 2.691-1.002 4.902-0.9271 6.635 0.1129 2.598 1.101 4.724 2.966 6.379 1.863 1.596 4.295 2.332 7.297 2.201 7.91-0.3437 15.12-6.789 21.63-19.34l-2.486-1.28c-2.691 4.629-5.066 7.856-7.127 9.68-0.7205 0.7255-1.487 1.105-2.295 1.14-0.4619 0.02-0.9039-0.1927-1.328-0.637-0.4242-0.4443-0.6454-0.8975-0.6655-1.359-0.04014-0.9237 0.2511-2.817 0.8787-5.679z"/> </symbol>';t.exports=r.add(i,"knInfo_fb89a14abaaa9848fcd6ccde13384905")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 56 100" id="knLink_f39c280cf75b5d8dcc38ec2089a2521f" xmlns:svg="http://www.w3.org/2000/svg"><path id="knLink_f39c280cf75b5d8dcc38ec2089a2521f_path4141" d="m11.74 0.4834a11.74 11.74 0 0 0 -8.755 19.57l26.04 30.19-26.04 30.2a11.74 11.74 0 1 0 17.79 15.33l32.14-37.28a11.74 11.74 0 0 0 2.938 -8.252 11.74 11.74 0 0 0 -2.938 -8.252l-32.14-37.28a11.74 11.74 0 0 0 -9.03 -4.227z" fill="#fff"/></symbol>';t.exports=r.add(i,"knLink_f39c280cf75b5d8dcc38ec2089a2521f")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 104 100" id="knLinkedIn_eb87bbd29e6f4068706f0a060a6a0e39" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m103.9 61.59v38.41h-22.27v-35.84c0-9.003-3.221-15.15-11.28-15.15-6.153 0-9.815 4.141-11.43 8.146-0.5874 1.432-0.7387 3.425-0.7387 5.429v37.41h-22.28s0.3-60.7 0-66.99h22.27v9.495c-0.04521 0.07102-0.1039 0.1476-0.1464 0.2164h0.1464v-0.2164c2.959-4.558 8.244-11.07 20.07-11.07 14.66-0.000242 25.64 9.574 25.64 30.15zm-91.3-60.87c-7.616 0-12.6 4.998-12.6 11.57 0 6.43 4.84 11.58 12.31 11.58h0.1488c7.768 0 12.6-5.149 12.6-11.58-0.15-6.569-4.83-11.57-12.46-11.57zm-11.28 99.28h22.27v-66.99h-22.27v66.99z"/> </symbol>';t.exports=r.add(i,"knLinkedIn_eb87bbd29e6f4068706f0a060a6a0e39")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knLocations_1ef53b5f171a2854c3dd03063aaa6bbf" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m3.9 0.1289-0.0234 0.0156c-1.991-0.0288-3.62 1.536-3.62 3.474v79.4c-0.0001 1.253 0.6914 2.409 1.811 3.025l24.71 13.69c2.377 1.311 5.323-0.3621 5.324-3.023v-79.41c-0.00024-1.252-0.6928-2.407-1.811-3.023l-24.69-13.7c-0.5203-0.2867-1.105-0.4407-1.703-0.4492zm58.34 0c-0.5977 0.008-1.185 0.1625-1.705 0.4492l-24.69 13.7c-1.118 0.6168-1.808 1.772-1.809 3.023v79.41c0.00094 2.661 2.947 4.334 5.324 3.023l24.71-13.69c1.119-0.6166 1.811-1.773 1.811-3.025v-79.4c0.00022-1.94-1.628-3.503-3.619-3.475l-0.0215-0.0156zm9.066 0c-1.831 0.0421-3.49 1.483-3.49 3.479v79.41c0.00024 1.252 0.6928 2.407 1.811 3.023l24.69 13.7c0.5203 0.2867 1.105 0.4427 1.703 0.4512l0.0234-0.0176c1.991 0.0288 3.619-1.535 3.619-3.475v-79.4c0.00009-1.253-0.6914-2.407-1.811-3.023l-24.71-13.72c-0.5943-0.3277-1.223-0.4691-1.834-0.4551zm-9.436 7.439v71.42l-23.61 13.49v-71.42c7.904-4.431 15.96-9.196 23.61-13.49zm10.17 0.2715 20.48 11.48v71.42 0.002l-20.48-11.48v-71.42zm-64.64 1.736 20.48 11.48v71.42l-20.48-11.48v-71.42-0.002z"/> </symbol>';t.exports=r.add(i,"knLocations_1ef53b5f171a2854c3dd03063aaa6bbf")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 80 100" id="knLogin_d2e686ad142bce28206820c1b15d0de0" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m40.54 0.2316c-7.48-0.0703-14.97 1.746-21.08 5.716-6.1 3.97-10.75 10.65-10.69 18.62l0.183 25.21a6.692 6.281 0 0 0 0.00717 0.1294h-1.963c-3.877 0.01-6.997 2.78-6.997 6.22v37.65c0 3.45 3.12 6.22 6.993 6.22h65.87c3.873 0 6.991-2.774 6.991-6.218v-37.65c0-3.444-3.117-6.218-6.991-6.218h-50.54a6.692 6.281 0 0 0 0.0047 -0.2163l-0.17-25.21c-0.0268-3.673 1.619-6.054 4.938-8.212 3.318-2.158 8.372-3.528 13.32-3.482 4.951 0.04655 9.619 1.479 12.58 3.832 2.965 2.353 4.773 5.38 4.363 11.11a6.692 6.281 0 1 0 13.35 0.8431c0.66-9.07-3.1-16.8-9.07-21.54s-13.61-6.728-21.09-6.798z"/> </symbol>';t.exports=r.add(i,"knLogin_d2e686ad142bce28206820c1b15d0de0")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 394 100" id="knLoginName_1ec2c7c9bafb22bf7c5be435569e1e77" xmlns:svg="http://www.w3.org/2000/svg"> <path fill="currentColor" d="m0 5.908c0.4262 2.628 0.6406 6.182 0.6406 10.65v49.75c0 4.41-0.2144 7.96-0.6406 10.66h20.03c-0.43-2.49-0.64-6.04-0.64-10.66v-18.86l17.79 23.65c1.634 2.132 2.913 4.087 3.836 5.861h24.82c-1.14-0.91-2.41-2.23-3.83-3.93l-29.09-34.1 17.15-21.52c3.409-4.118 5.487-6.605 6.232-7.457 0.7458-0.8523 2.041-2.201 3.889-4.049h-23.22c-1.07 1.926-1.85 3.24-2.35 3.948-1.06 1.562-1.7 2.492-1.91 2.772l-13.32 20.46v-16.51c0.000001-4.689 0.2125-8.237 0.6387-10.65l-20.03-0.012zm69.04 0c0.4262 2.628 0.6387 6.178 0.6387 10.65v49.75c0 4.404-0.2125 7.955-0.6387 10.65h17.36c-0.57-4.11-0.85-7.66-0.85-10.65v-33.24l23.54 43.89h18.75v-60.41c0-4.758 0.2125-8.309 0.6387-10.65h-17.37c0.6392 3.267 0.959 6.817 0.959 10.65v33.35l-23.44-44h-19.6z"/> <path d="m318.1 0.6016v16.19h18.32v-16.19h-18.32zm-166.3 5.219c0.4262 2.628 0.6406 6.179 0.6406 10.65v49.75c0 4.405-0.2145 7.957-0.6406 10.65h44v-14.17c-1.705 0.2131-5.185 0.3203-10.44 0.3203h-13.74v-46.58c0-4.678 0.2114-8.225 0.6387-10.63h-20.46zm73.68 17.79c-7.759 0-13.99 2.49-18.69 7.459-4.697 4.973-7.043 11.58-7.043 19.82 0 8.31 2.33 14.93 6.99 19.87 4.662 4.937 10.91 7.404 18.74 7.404 7.829 0 14.09-2.486 18.79-7.459 4.697-4.969 7.047-11.58 7.047-19.81 0-8.239-2.35-14.84-7.047-19.82-4.698-4.969-10.96-7.459-18.79-7.459zm52.27 0c-6.109 0-10.99 2.504-14.65 7.512-3.659 5.007-5.488 11.7-5.488 20.08 0 8.026 1.668 14.43 5.008 19.23 3.337 4.793 7.813 7.191 13.42 7.191 4.617 0 9.055-1.918 13.32-5.752v2.768c0 4.901-0.834 8.258-2.502 10.07-1.669 1.811-4.778 2.717-9.322 2.717-4.759 0-9.695-0.998-14.81-2.984l-3.303 11.61c6.9 2.62 14.1 3.94 21.6 3.94 12.88 0 21.14-3.552 24.77-10.65 1.209-2.415 1.816-7.317 1.816-14.7v-39.1c0-4.758 0.175-8.31 0.5312-10.65h-17.79v5.752c-2.983-4.688-7.209-7.031-12.68-7.031zm103.3 0c-6.06 0-11.87 2.878-17.43 8.631v-7.352h-18.32c0.425 2.628 0.6387 6.179 0.6387 10.65v30.68c0 4.405-0.2137 7.957-0.6387 10.65h19.5c-0.3551-2.485-0.5332-6.036-0.5332-10.65v-20.77c3.023-2.912 5.625-4.369 7.807-4.369 1.547 0 2.496 0.9593 2.85 2.877 0.14 0.4984 0.2109 2.062 0.2109 4.688v17.58c0 4.76-0.2137 8.312-0.6387 10.65h19.5c-0.3563-2.343-0.5332-5.894-0.5332-10.65v-25.35c0-4.972-0.3206-8.383-0.9609-10.23-1.569-4.688-5.383-7.031-11.44-7.031zm-63.54 1.279c0.4262 2.628 0.6406 6.179 0.6406 10.65v30.68c0 4.405-0.2145 7.957-0.6406 10.65h19.5c-0.3575-2.485-0.5332-6.036-0.5332-10.65v-30.68c0-4.688 0.1757-8.239 0.5332-10.65h-19.5zm-91.89 10.97c4.935 0 7.404 5.007 7.404 15.02s-2.469 15.02-7.404 15.02c-5.007 0-7.51-4.936-7.51-14.81 0-10.16 2.502-15.23 7.51-15.23zm57.06 1.918c2.272 0 4.509 1.277 6.711 3.834v18c-2.061 2.487-4.332 3.729-6.818 3.729-4.262 0-6.391-4.225-6.391-12.68 0-8.592 2.166-12.89 6.498-12.89z"/> </symbol>';t.exports=r.add(i,"knLoginName_1ec2c7c9bafb22bf7c5be435569e1e77")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 102.5 100" id="knLogo_9cd9491381bc938975dcb42607e76ce0" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m10.05 50.05c0 10.15 3.674 19.44 9.764 26.62l-6.355 7.106c-8.332-8.89-13.42-20.73-13.42-33.73 0-27.59 22.9-49.95 51.16-49.95s51.16 22.36 51.16 49.95c0 13-5.084 24.84-13.42 33.72l-6.355-7.106c6.09-7.176 9.764-16.46 9.764-26.62 0-22.73-18.42-41.15-41.15-41.15s-41.15 18.42-41.15 41.15"/> <path fill="currentColor" d="m46.72 33.56c0 2.474 2.007 4.48 4.481 4.48s4.481-2.006 4.481-4.48c0-2.478-2.007-4.484-4.481-4.484s-4.481 2.006-4.481 4.484zm-8.529 11.21h7.993v-0.9829c-3.902-1.827-6.596-5.721-6.596-10.23 0-6.263 5.199-11.34 11.61-11.34 6.412 0 11.61 5.076 11.61 11.34 0 4.505-2.693 8.399-6.595 10.23v0.9829h7.993v6.117h-7.993v40.01c7.848-0.9538 15.01-4.118 20.86-8.849l6.038 7.042c-8.748 6.827-19.84 10.91-31.91 10.91s-23.16-4.079-31.91-10.91l6.039-7.042c5.845 4.731 13.01 7.895 20.86 8.849v-40.01h-7.993v-6.117"/> </symbol>';t.exports=r.add(i,"knLogo_9cd9491381bc938975dcb42607e76ce0")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knLogo2_6c3121bd53e59bed44237daa19972f64" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knLogo2_6c3121bd53e59bed44237daa19972f64_path4140" fill="currentColor" d="m50.11 0.2495c-27.42-0.0822-49.79 22.29-49.79 49.87 0 12.61 4.773 24.63 13.35 33.87l7.506-7.14c-6.72-7.23-10.59-16.81-10.59-26.74 0-21.87 17.66-39.54 39.54-39.54 21.87 0 39.54 17.66 39.54 39.54 0 9.924-3.702 19.51-10.59 26.91l7.43 6.947c8.51-9.16 13.47-21.42 13.42-33.85-0.11-27.43-21.86-49.79-49.79-49.87z"/> <path id="knLogo2_6c3121bd53e59bed44237daa19972f64_path4142" d="m49.82 23.12c-5.889-0.013-10.76 4.961-10.76 11.02 0 4.206 2.354 7.907 5.886 9.758v2.523h-9.084v5.552h9.084v37.34c-7.233-1.01-14.13-3.868-19.85-8.578l-6.432 7.914c8.915 7.233 19.72 11.26 31.15 11.26 11.44 0 22.63-3.924 31.56-11.16l-6.84-8.03c-5.72 4.55-12.61 7.57-19.85 8.42v-37.34h9.084v-5.552h-9.084v-2.523c3.532-1.85 5.886-5.552 5.886-9.758 0-6.056-4.847-10.83-10.76-10.85zm0.1681 5.634c3.029 0 5.383 2.355 5.383 5.383 0 3.027-2.355 5.383-5.383 5.383-3.027 0-5.383-2.355-5.383-5.383 0-3.027 2.355-5.383 5.383-5.383z"/> </symbol>';t.exports=r.add(i,"knLogo2_6c3121bd53e59bed44237daa19972f64")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knMagnifier_77b0cb38f9ff8dc4518f53c4d15e46f4" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m77.66 68.78c12.34-16.73 10.69-40.58-4.387-55.94-16.73-16.73-44.15-16.73-60.6 0-16.73 16.73-16.73 43.87 0 60.6 15.36 15.08 39.21 16.73 55.94 4.387l20.84 20.84s3.565 3.565 8.226-1.097c4.387-4.662 1.097-8.226 1.097-8.226-12.83-12.31-14.39-13.84-21.11-20.57zm-55.94-4.11c-12.07-12.07-12.07-31.26-0.27-43.05 11.79-11.79 30.98-11.79 43.05 0.27 12.06 12.07 12.06 31.26 0.13 43.05-11.92 11.79-31.12 11.79-42.91-0.27z"/> </symbol>';t.exports=r.add(i,"knMagnifier_77b0cb38f9ff8dc4518f53c4d15e46f4")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 70 100" id="knMedal_dd6dd46100da315b9e3e3d2b4e24d786" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m8.805 0.0293c-1.707 0.00017-3.09 1.385-3.09 3.092l6.795 34.85c-7.545 6.51-12.34 16.12-12.34 26.84 0.0038 19.53 15.91 35.39 35.45 35.39 19.53 0 35.44-15.86 35.44-35.39 0-10.72-4.8-20.33-12.34-26.84l6.79-34.85c0-1.706-1.38-3.091-3.09-3.091l-20.71 0.0003h-12.19-20.72zm3.095 6.182h14.53v24.38c-2.83 0.76-5.52 1.86-8.03 3.26l-6.5-27.64zm20.71 0h6.01v23.29c-0.99-0.08-1.99-0.13-3-0.13-1.02 0-2.02 0.05-3.01 0.13v-23.29zm12.19 0h14.53l-6.51 27.64c-2.5-1.4-5.19-2.51-8.02-3.27v-24.37zm-9.18 30.37c15.63 0 28.22 12.59 28.22 28.23 0 15.63-12.59 28.23-28.22 28.23-15.64 0-28.23-12.6-28.23-28.23-0.003-15.64 12.59-28.23 28.23-28.23zm-7.81 12.14l-0.01 7.44 5.03 0.02-0.02 27.33h7.89v-34.73l-12.89-0.06z"/> </symbol>';t.exports=r.add(i,"knMedal_dd6dd46100da315b9e3e3d2b4e24d786")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knMeeting_6d79977e0a33ed8a39e0d2fc65188c18" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m50.07 0.1504c-5.16-0.1334-9.33 5.639-8.64 11.22 0.55 4.66 2.53 9.37 5.97 12.22 2.25 2.01 5.56 1.13 7.26-1.29 2.73-3.56 4.26-8.36 4.05-13.05-0.34-4.892-4.16-9.182-8.64-9.1v0.0004zm7.61 25.71c-0.53 0.03-0.74 0.4-0.48 1.27 0.22 3 0.44 6.01 0.66 9.01l-7.78-4.59c-2.61 1.52-5.21 3.06-7.81 4.6l0.75-10.26v-0.03c-2.41 0.07-4.89 0.1-6.92 1.79-4.21 3.43-5.56 5.57-6.02 11.07-0.04 2.69-0.47 3.59 0.61 6.13 1.54 2.37 4.41 1.56 6.66 1.69 9.81-0.01 19.62 0.04 29.42-0.04 2.5-0.14 3.58-3 3.36-5.47 0.12-6.13-0.69-6.87-4.42-11.71-1.85-2.4-4.65-3.48-7.4-3.38-0.24-0.06-0.46-0.09-0.63-0.08zm-46.18 4.61c-0.54-0.01-1.1 0.04-1.643 0.16-5.083 0.89-8.031 7.37-6.255 12.71 1.465 4.46 4.327 8.68 8.258 10.8 2.61 1.52 5.68 0.01 6.87-2.69 1.97-4.04 2.53-9.04 1.4-13.6-1.14-4.14-4.8-7.3-8.63-7.38zm77.12 0c-3.83 0.08-7.48 3.24-8.62 7.38-1.13 4.56-0.58 9.56 1.39 13.6 1.2 2.7 4.26 4.21 6.87 2.69 3.94-2.12 6.8-6.34 8.27-10.8 1.77-5.34-1.18-11.82-6.26-12.71-0.55-0.12-1.1-0.17-1.65-0.16zm-58.45 25.28l-11.4 44.65 62.58 0.3-12.51-44.95h-38.67zm64.11 3.53c-3.83 0.17-7.41 3.42-8.45 7.58-1.01 4.59-0.34 9.58 1.73 13.56 1.25 2.67 4.36 4.12 6.93 2.53 2.19-1.25 4-3.17 5.43-5.4v-16.09c-1.1-1.08-2.45-1.83-3.99-2.06h-0.01c-0.55-0.11-1.1-0.15-1.64-0.12zm-88.43 0.44c-0.547-0.02-1.097 0.02-1.647 0.12l-0.002 0.01c-1.54 0.23-2.894 0.98-3.994 2.05l0.0001 16.1c1.425 2.23 3.243 4.15 5.432 5.39 2.569 1.59 5.673 0.15 6.933-2.52 2.07-3.99 2.74-8.98 1.72-13.56-1.04-4.17-4.617-7.42-8.442-7.59z"/> </symbol>';t.exports=r.add(i,"knMeeting_6d79977e0a33ed8a39e0d2fc65188c18")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knMenu_aa77bdc2ab2e6e4b0c30a0492ff988a4" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knMenu_aa77bdc2ab2e6e4b0c30a0492ff988a4_path4141" d="m1.834 0.2305c-0.8954 0.0008-1.617 0.5643-1.617 1.266l-0.0002 13.13c0 0.7 0.721 1.26 1.617 1.26h96.64c0.91 0 1.63-0.56 1.63-1.26v-13.13c0-0.7055-0.72-1.27-1.63-1.27l-96.63 0.0005h-0.006zm0 42.04c-0.8954 0-1.617 0.56-1.617 1.25l-0.0002 13.13c0 0.7 0.721 1.28 1.617 1.28h96.64c0.91 0 1.63-0.58 1.63-1.28v-13.13c0-0.69-0.72-1.25-1.63-1.25h-96.63-0.006zm0 42.06c-0.8954 0-1.617 0.56-1.617 1.25l-0.0002 13.13c0 0.7 0.721 1.26 1.617 1.26h96.64c0.91 0 1.63-0.56 1.63-1.26v-13.13c0-0.69-0.72-1.25-1.63-1.25h-96.63-0.006z"/> </symbol>';t.exports=r.add(i,"knMenu_aa77bdc2ab2e6e4b0c30a0492ff988a4")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knNewsticker_1de9d30b8824161aa44044d8967760df" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m50.2 0.1576c-27.62 0-49.82 22.2-49.82 49.82s22.2 49.82 49.82 49.82 49.82-22.2 49.82-49.82-22.2-49.82-49.82-49.82zm0 10.83c21.66 0 38.99 17.33 38.99 38.99s-17.33 38.99-38.99 38.99-38.99-17.33-38.99-38.99 17.33-38.99 38.99-38.99z"/> <path d="m43.09 22.64c-0.02351-5.72 2.969-8.331 7.437-8.283 4.38 0.05291 6.849 3.122 6.673 8.066-0.3527 13.54-0.7055 27.09-3.663 38.69-0.7231 1.47-1.917 2.175-3.58 2.175-1.693 0-2.869-0.7055-3.527-2.116-2.663-12.3-3.257-27.03-3.339-38.53zm7.155 62.96c-1.914 0-3.593-0.612-5.036-1.835-1.412-1.255-2.118-2.997-2.118-5.224 0-1.945 0.6743-3.593 2.024-4.942 1.38-1.38 3.059-2.071 5.036-2.071s3.656 0.6902 5.036 2.071c1.412 1.349 2.118 2.997 2.118 4.942 0 2.196-0.7061 3.922-2.118 5.177s-3.059 1.882-4.942 1.882z" fill="currentColor"/> </symbol>';t.exports=r.add(i,"knNewsticker_1de9d30b8824161aa44044d8967760df")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 94 100" id="knNotification_fb4a0290aefc56cd0f756d476dd3e16f" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m46.64 0.1823a4.929 4.619 0 0 0 -4.58 4.609 4.929 4.619 0 0 0 0.93 2.71c-8.47 1.085-17.14 5.549-21.61 13.04-3.53 6.18-2.61 13.51-3.79 20.26-1.38 13.28-5.74 27.1-16.18 36.36-3.653 2.309 0.5391 8.016 4.113 8.329 9.024 0.1035 17.67 0.04261 26.96 0.06125a14.52 14.05 0 0 0 -0.01 0.4 14.52 14.05 0 0 0 14.52 14.05 14.52 14.05 0 0 0 14.51 -14.05 14.52 14.05 0 0 0 -0.02 -0.34c8.561-0.0073 18.09 0.03529 25.82 0.06125 3.859 0.2208 8.246-4.723 6.107-7.81-10.74-9.12-15.44-22.92-16.84-36.27-1.21-6.79-0.41-14.09-3.56-20.43-4.29-7.9-13.31-12.58-22.03-13.68a4.929 4.619 0 0 0 0.946 -2.723 4.929 4.619 0 0 0 -4.918 -4.609 4.929 4.619 0 0 0 -0.3481 0zm-8.07 85.56a1.215 1.176 0 0 1 0.1265 0 1.215 1.176 0 0 1 1.218 1.103c0.19 2.146 0.8373 3.752 2.009 4.884 1.172 1.133 2.954 1.876 5.712 2.037a1.22 1.181 0 0 1 -0.1424 2.358c-3.15-0.2-5.6-1.13-7.27-2.73-1.68-1.6-2.51-3.86-2.73-6.39a1.215 1.176 0 0 1 1.08 -1.27z"/> </symbol>';t.exports=r.add(i,"knNotification_fb4a0290aefc56cd0f756d476dd3e16f")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 75 100" id="knOverland_87867917609b184eedac0108161a38ad" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m72.95 51.19c-2.641-1.68-3.087-2.984-3.327-4.939-0.583-4.733-2.675-16.53-3.395-21.5 1.097 0.2058 1.921 0.3773 2.744 0.5487-1.13-7.24-3.23-9.23-11.36-10.43-6.27-0.93-12.62-1.58-18.93-2.44-1.23-0.17-2.71-0.58-3.46-1.34-7.03-7.13-16.7-9.667-27.16-10.56-5.97-0.5136-7.753-0.2735-7.753 4.665v76.99c0 2.366 1.475 4.047 4.596 4.047 3.43 0 7.476-0.0343 8.128-0.0343 1.2-0.0343 2.469 0 4.013 0h3.67c-0.0343-0.3773-0.0343-0.7545-0.0343-1.132 0-9.157 7.305-16.6 16.32-16.6 9.02 0 16.32 7.442 16.32 16.6 0 0.4115-0.0343 0.8231-0.06859 1.235 5.041-0.1029 10.29-0.4458 12.38-1.063 2.504-0.7202 4.253-2.092 4.801-3.018 0.8917-1.509 1.578-5.624 1.921-7.957 0.343-2.332 2.366-15.71 2.641-18.21 0.343-2.469-0.8231-4.081-2.058-4.87zm-37.97-15.47v-13.62c0-2.058 0.6516-2.641 2.984-2.298 6.653 0.926 12.9 1.715 19.55 2.778 2.298 0.3773 2.949 1.097 3.087 2.675 0.2058 2.984 2.709 19.89 2.709 19.89-0.5144-0.1372-28.33-9.431-28.33-9.431zm2.058 34.54c-8.128 0-14.71 6.688-14.71 14.95 0 8.265 6.585 14.95 14.71 14.95 8.128 0 14.71-6.688 14.71-14.95 0-8.265-6.585-14.95-14.71-14.95zm0 22.09c-3.875 0-7.031-3.19-7.031-7.134s3.155-7.134 7.031-7.134c3.875 0 7.031 3.19 7.031 7.134s-3.155 7.134-7.031 7.134z"/> </symbol>';
t.exports=r.add(i,"knOverland_87867917609b184eedac0108161a38ad")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 129 100" id="knPhone_40f258822dd079351b9a2b48c86564d9" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knPhone_40f258822dd079351b9a2b48c86564d9_path4" d="m58.5 0.5275c-7.05 0.0031-14.08 0.2391-21.06 1.116-8.39 1.751-17.36 1.882-25.04 6.231-8.419 4.815-11.38 15.36-12.37 24.78h26.34c2.96-1.01-1.333-8.016 1.991-9.58 6.174-3.757 13.63-3.973 20.54-4.963 5.066-0.115 10.18-0.3182 15.3-0.3911 5.114 0.07294 10.23 0.2761 15.29 0.3911 6.915 0.9905 14.37 1.207 20.54 4.963 3.324 1.564-0.9688 8.572 1.991 9.58h26.34c-0.9-9.42-3.9-19.98-12.3-24.78-7.7-4.361-16.67-4.492-25.05-6.244-6.98-0.8762-14.02-1.112-21.06-1.115-1.893-0.000687-3.799 0.03531-5.693 0.06568-1.906-0.03037-3.812-0.06637-5.706-0.06568zm-20.18 21.85v7.27l-18.74 26.79c-2.949 4.809-7.403 8.904-8.578 14.66-0.7547 7.296-0.2151 14.69-0.3787 22.04-0.3511 3.441 1.67 6.245 4.886 6.857h47.23 2.926 47.23c3.217-0.6111 5.238-3.415 4.886-6.857-0.1546-7.351 0.3864-14.74-0.3735-22.04-1.172-5.757-5.628-9.852-8.578-14.66l-18.74-26.79v-7.27h-10.18l-0.4076 7.27h-13.83-2.926-13.83l-0.4076-7.27h-10.18zm-11 12.41-27.29 0.0078c0.1895 2.721-0.8409 6.824 2.157 8.1 7.533 0.0043 15.07 0.08309 22.6-0.04199 3.613-0.8948 2.277-5.238 2.533-8.066zm73.76 0c0.2562 2.829-1.08 7.171 2.533 8.066 7.529 0.1251 15.07 0.04616 22.6 0.04199 2.998-1.277 1.968-5.38 2.157-8.1l-27.29-0.0078zm-38.34 8.568v0.04724c0.488-0.02829 0.9759-0.0423 1.464-0.04724 0.4874 0.0051 0.9745 0.01902 1.462 0.04724v-0.04724c9.244 0.2251 18.59 6.829 20 16.92 2.119 10.9-5.77 21.89-15.96 23.77-1.77 0.4532-3.629 0.7067-5.514 0.7795-1.88-0.09619-3.735-0.3435-5.512-0.797-10.21-1.89-18.09-12.88-15.98-23.78 1.43-10.09 10.77-16.68 20.02-16.92z"/> </symbol>';t.exports=r.add(i,"knPhone_40f258822dd079351b9a2b48c86564d9")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knQuestion_ee741dc23c7d299a65633b97bca86496" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m49.85-0.01968c-27.62 0-49.82 22.2-49.82 49.82s22.2 49.82 49.82 49.82 49.82-22.2 49.82-49.82-22.2-49.82-49.82-49.82zm0 8.83c21.66 0 40.99 19.33 40.99 40.99s-19.33 40.99-40.99 40.99-40.99-19.33-40.99-40.99 19.33-40.99 40.99-40.99zm1.742 6.443 0.0098 0.0059c-4.837 0-10.9-0.01832-16.08 5.08-3.411 3.36-6.663 5.321-2.805 9.307 3.859 3.986 7.272 3.016 9.682 0.7793 2.41-2.236 3.805-2.785 6.115-2.785 8.668 0.0957 7.577 10.16 3.285 17.02-2.642 5.17-8.04 2.764-8.283 15.12-0.06401 3.258 2.837 4.804 6.248 4.75 3.227-0.051 5.765-1.986 6.215-4.867 0.7864-5.033 1.503-4.875 5.371-8.82 4.269-3.995 10.34-10.51 10.5-19.12 0-4.068-1.552-7.661-4.656-10.78-3.068-3.119-9.321-5.689-15.6-5.689zm-1.793 56.1c-1.977 0-3.653 0.6926-5.033 2.072-1.35 1.349-2.023 2.996-2.023 4.941 0 2.227 0.7054 3.97 2.117 5.225 1.443 1.223 3.121 1.834 5.035 1.834 1.883 0 3.529-0.6258 4.941-1.881s2.117-2.982 2.117-5.178c0-1.945-0.7054-3.592-2.117-4.941-1.38-1.381-3.06-2.072-5.037-2.072z"/> </symbol>';t.exports=r.add(i,"knQuestion_ee741dc23c7d299a65633b97bca86496")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knQuote_eead9f93a5341dbc8c9cf36a5754867a" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"> <metadata id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_metadata4144"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> <dc:title/> </cc:Work> </rdf:RDF> </metadata> <defs id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_defs4142"/> <sodipodi:namedview pagecolor="#ffffff" bordercolor="#666666" borderopacity="1" objecttolerance="10" gridtolerance="10" guidetolerance="10" inkscape:pageopacity="0" inkscape:pageshadow="2" inkscape:window-width="1920" inkscape:window-height="1138" id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_namedview4140" showgrid="false" inkscape:zoom="1.4142136" inkscape:cx="56.268668" inkscape:cy="55.826785" inkscape:window-x="1912" inkscape:window-y="-8" inkscape:window-maximized="1" inkscape:current-layer="svg4136"/> <path d="m77.66 68.78c12.34-16.73 10.69-40.58-4.387-55.94-16.73-16.73-44.15-16.73-60.6 0-16.73 16.73-16.73 43.87 0 60.6 15.36 15.08 39.21 16.73 55.94 4.387l20.84 20.84s3.565 3.565 8.226-1.097c4.387-4.662 1.097-8.226 1.097-8.226-12.83-12.31-14.39-13.84-21.11-20.57zm-55.94-4.11c-12.07-12.07-12.07-31.26-0.27-43.05 11.79-11.79 30.98-11.79 43.05 0.27 12.06 12.07 12.06 31.26 0.13 43.05-11.92 11.79-31.12 11.79-42.91-0.27z" id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_path4138" style="fill:#56b7ef;fill-opacity:0.94117647"/> <g transform="translate(-103.85396,50.212221)" style="font-style:normal;font-weight:normal;font-size:65.55536652px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#002b55;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_flowRoot4146"> <path style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:&apos;Arial Bold&apos;;fill:#002b55;fill-opacity:1" d="m 40.744141,14.355469 a 0.50005,0.50005 0 0 0 -0.5,0.5 l 0,3.214843 c -3.220019,0.496483 -5.84621,1.821758 -7.865235,3.996094 -2.19799,2.3687 -3.296875,5.303034 -3.296875,8.802735 0,3.457021 0.9702,6.403218 2.91211,8.835937 1.806572,2.218939 4.564199,3.91454 8.25,5.103516 l 0,13.142578 c -0.775783,-0.534868 -1.500136,-1.234914 -2.167969,-2.115234 -0.60591,-0.798696 -1.088223,-1.693307 -1.445313,-2.6875 -0.40942,-1.186036 -0.79866,-1.688441 -2.08789,-1.556641 l -5.369141,0.576172 c -1.23861,0.128755 -1.331091,0.706334 -1.050781,1.880859 0.75206,3.375749 2.118213,6.051802 4.095703,8.029297 2.098217,2.098218 4.777482,3.419111 8.025391,3.978516 l 0,3.621093 a 0.50005,0.50005 0 0 0 0.5,0.5 l 5.414062,0 a 0.50005,0.50005 0 0 0 0.5,-0.5 l 0,-3.773437 c 3.771882,-0.684681 6.755869,-2.25191 8.927735,-4.722656 2.34736,-2.646115 3.519531,-5.899245 3.519531,-9.761719 0,-3.457021 -0.928607,-6.284439 -2.785157,-8.482422 -1.755296,-2.098283 -4.988275,-3.82144 -9.662109,-5.175781 l 0,-12.328125 c 1.389145,0.839381 2.34049,2.129648 2.841797,3.880859 0.16086,0.598996 0.444416,0.768749 1.160156,0.699219 1.91386,-0.237828 6.024272,-0.752513 6.201172,-0.814453 0.23094,-0.08086 0.771046,-0.427449 0.666016,-1.394531 -0.64997,-2.611933 -1.841449,-4.738307 -3.574219,-6.378907 -1.843261,-1.76482 -4.280436,-2.881711 -7.294922,-3.367187 l 0,-3.203125 a 0.50005,0.50005 0 0 0 -0.5,-0.5 l -5.414062,0 z m -0.5,10.980469 0,10.175781 c -0.910719,-0.516738 -1.623605,-1.135858 -2.136719,-1.857422 -0.68287,-0.981623 -1.023438,-2.036968 -1.023438,-3.167969 0,-1.237699 0.372251,-2.370228 1.119141,-3.394531 0.543228,-0.744996 1.226865,-1.326943 2.041016,-1.755859 z m 6.414062,21.43164 c 1.493433,0.534162 2.616896,1.234364 3.324219,2.123047 0.85359,1.024303 1.28125,2.251885 1.28125,3.681641 0,1.600473 -0.500936,2.998339 -1.503906,4.193359 -0.826713,0.967433 -1.868885,1.621155 -3.101563,1.994141 l 0,-11.992188 z" transform="translate(103.85396,-49.087221)" id="knQuote_eead9f93a5341dbc8c9cf36a5754867a_path4155" inkscape:connector-curvature="0"/> </g> </symbol>';t.exports=r.add(i,"knQuote_eead9f93a5341dbc8c9cf36a5754867a")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knRSS_54122bd678c4d7f6dd31eba89d7c45e9" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m-0.1062 0.01886 0.1179 19.31c41.78 0.98 80.82 35.04 81.56 80.65l18.36-0.02344c0.17-53.08-40.18-99.11-100-99.94zm0.1062 34.35v18.84c25.08 0.16 46.88 21.01 46.81 46.79l18.8-0.02c0.09-34.56-27.35-65.44-65.61-65.61zm13.41 38.8c-7.407 0-13.41 6-13.41 13.41-0.000003 7.405 6.003 13.41 13.41 13.41 7.405-0.000009 13.41-6.002 13.41-13.41-0.000001-7.405-6.003-13.41-13.41-13.41z"/> </symbol>';t.exports=r.add(i,"knRSS_54122bd678c4d7f6dd31eba89d7c45e9")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 95 100" id="knSeafreight_87ce46c56be27d11055e6a94cb50221e" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m75.8 89.52c-2.984 1.578-7.689 1.148-11.07-0.5738-4.562-2.439-7.173-1.865-11.99 0.3156-3.73 1.664-7.115 1.664-10.82 0-4.849-2.181-7.316-2.754-11.94-0.3156-3.328 1.721-8.119 2.152-11.07 0.5738-5.222-2.726-8.952-3.242-13.08-0.6886 0 0-1.808 1.377-5.738 1.406v9.669c2.496 0 4.418-0.4877 6.111-1.521 2.123-1.32 6.054-2.668 10.76-0.2582 4.705 2.439 8.693 2.439 12.68 0.3156 4.017-2.094 6.226-2.496 11.07-0.373 4.705 2.41 9.353 2.209 13.34 0.1148 4.849-2.123 7.087-1.836 11.07 0.2582 4.017 2.094 8.005 2.094 12.71-0.3156 4.677-2.41 8.492-1.033 10.64 0.2582 1.75 1.09 3.529 1.521 6.197 1.521v-9.669c-4.01-0.03-5.73-1.41-5.73-1.41-4.13-2.55-7.95-2.03-13.14 0.69zm13.2-14.77c-8.148-4.504-11.68 0.9468-16.04 0.9468v-21.83l6.714-15.72c1.033-2.41 0-4.619-2.439-5.681l-4.074-1.664v-13.57h-7.919v-7.144h-11.02v-9.64h-6.886-6.828v9.611h-11.02v7.144h-7.919v13.57l-4.074 1.664c-2.439 1.09-3.472 3.299-2.439 5.681l6.714 15.72v21.83c-4.361 0.02868-8.091-5.365-16.04-0.8894 0 0-2.295 1.291-5.738 1.348v9.411c2.697-0.2295 3.988-0.6599 6.054-1.779 2.152-1.262 6.111-2.439 10.82 0 4.734 2.41 8.693 2.41 12.68 0.3156 4.017-2.123 7.488-2.238 11.22-0.3156 4.705 2.41 8.378 2.439 13.14 0.05738 3.816-1.98 7.259-1.865 11.22 0.2582 4.017 2.094 8.005 2.094 12.71-0.3156 4.677-2.439 8.636-1.205 10.82 0 1.922 1.004 3.271 1.549 6.054 1.779v-9.468c-3.5-0.05738-5.709-1.32-5.709-1.32zm-21.66-46.48-19.97-8.29l-19.91 8.292v-5.48h7.861v-7.058h12.05 12.11v7.058h7.861v5.48z"/> </symbol>';t.exports=r.add(i,"knSeafreight_87ce46c56be27d11055e6a94cb50221e")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 93 100" id="knSignUp_52605908cb644d109f110d68977d66a0" xmlns:svg="http://www.w3.org/2000/svg"> <path id="knSignUp_52605908cb644d109f110d68977d66a0_path4" d="m40.45 0.5582c-10.06-0.2186-18.2 9.229-16.86 18.37 1.086 7.629 4.935 15.34 11.65 20 4.398 3.292 10.86 1.843 14.18-2.106 5.326-5.835 8.307-13.69 7.907-21.37-0.68-8.005-8.13-15.03-16.87-14.89h-0.0039zm14.85 42.08c-1.034 0.04207-1.436 0.6552-0.938 2.075 0.43 4.923 0.8604 9.84 1.298 14.76l-15.18-7.52c-5.1 2.48-10.17 5.009-15.25 7.524 0.4904-5.594 0.9799-11.2 1.47-16.79l0.0039-0.04448c-4.71 0.11-9.54 0.16-13.52 2.93-8.196 5.62-10.83 15.66-11.72 24.66-0.07854 4.415-0.9236 9.151 1.176 13.32 3.014 3.885 8.609 2.543 13 2.754 11.42-0.0042 22.84 0.02025 34.26 0.01548 0.000195-2.538 0.0011-13.05 0-13.58-0.01874-1.348 1.28-1.714 2.667-1.733 0.7783-0.0042 10.81-0.1238 10.81-0.1238s0.0005-11.86 0-11.93c0.01363-1.454 0.6445-1.833 2.456-1.835 0.7121 0.0026 10.58 0 10.58 0h0.05802c-1.304-3.178-3.082-6.169-5.504-8.808-3.599-3.934-9.078-5.693-14.44-5.53-0.4753-0.1042-0.8893-0.1552-1.234-0.1412zm12.64 19.18v13.04h-13.16v11.96h13.16v13.04h12.11v-13.04h13.16v-2.673-9.291h-13.16v-13.04h-12.11z"/> </symbol>';t.exports=r.add(i,"knSignUp_52605908cb644d109f110d68977d66a0")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 20.661701 33.721826" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"> <defs id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_defs4"/> <sodipodi:namedview id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="1" inkscape:pageshadow="2" inkscape:zoom="8.4004921" inkscape:cx="18.373433" inkscape:cy="17.672414" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" inkscape:window-width="1920" inkscape:window-height="1138" inkscape:window-x="1912" inkscape:window-y="-8" inkscape:window-maximized="1"/> <metadata id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_metadata7"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> <dc:title/> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_layer1" transform="translate(-2.9532437,-4.8701467)"> <path inkscape:connector-curvature="0" d="m 13.23592,5.3386374 c -5.6316539,0 -10.1864539,4.5548 -10.1864539,10.1864536 0,7.63984 10.1864539,18.9177 10.1864539,18.9177 0,0 10.186454,-11.27786 10.186454,-18.9177 0,-5.6316536 -4.5548,-10.1864536 -10.186454,-10.1864536 z" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path4" sodipodi:nodetypes="sscss" style="fill:#002b55;fill-opacity:1" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#56b7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.3478564;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" d="m 13.201742,6.4021334 c -2.270695,0.0089 -4.5379569,0.881609 -6.2597649,2.617188 -3.443619,3.4711576 -3.42177,9.0987936 0.04883,12.5429686 a 0.67399559,0.67399559 0 1 0 0.949219,-0.957032 c -2.953552,-2.931063 -2.971609,-7.682689 -0.04102,-10.6367176 2.9305909,-2.95403 7.6792609,-2.972081 10.6328119,-0.04102 2.953552,2.9310626 2.973554,7.6826886 0.04297,10.6367186 a 0.67399559,0.67399559 0 1 0 0.955078,0.949219 c 3.44361,-3.471159 3.42177,-9.098796 -0.04883,-12.5429686 -1.735299,-1.722088 -4.008602,-2.577221 -6.279297,-2.56836 z" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path4152" inkscape:connector-curvature="0" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <g style="font-style:normal;font-weight:normal;font-size:125px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#56b7e9;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_text6393" transform="matrix(0.17357816,0,0,0.17357816,21.701206,20.858548)" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"> <path style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:&apos;Arial Bold&apos;;fill:#56b7e9;fill-opacity:1;stroke:none" d="m -52.884766,-71.277344 c -9.358724,0 -16.927083,2.542643 -22.705078,7.628906 -4.203199,3.824248 -9.897542,17.780289 -1.505859,19.519532 8.391683,1.739243 4.93701,-1.171926 14.017578,-10.363282 2.929687,-2.482096 6.57194,-3.724609 10.925781,-3.724609 4.516601,0 8.097331,1.200847 10.742188,3.601563 2.685547,2.360026 4.027344,5.208333 4.027344,8.544922 0,2.400715 -0.752279,4.597981 -2.257813,6.591796 -0.976563,1.261393 -3.967773,3.927083 -8.972656,7.996094 -5.004883,4.06901 -8.341471,7.731119 -10.009766,10.986328 -1.748948,3.51549 -2.406004,6.808671 -2.109375,9.525391 a 7.9212061,7.9212061 0 0 0 -0.02148,0.404297 7.9212061,7.9212061 0 0 0 7.921875,7.9218748 7.9212061,7.9212061 0 0 0 7.816406,-6.6992188 c 0.35142,-1.091765 0.648649,-2.252733 1.050781,-3.404297 0.895182,-1.831055 2.777019,-5.285807 6.398438,-8.296875 6.998698,-5.818685 11.55599,-10.417643 13.671875,-13.794922 2.156575,-3.377279 3.236328,-6.958008 3.236328,-10.742187 0,-6.835938 -2.909831,-12.816407 -8.728516,-17.94336 -5.818685,-5.167643 -13.651042,-7.751953 -23.498047,-7.751953 z" transform="translate(2.9532437,4.8701448)" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path6398" inkscape:connector-curvature="0"/> </g> <circle style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#56b7e9;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path6400-8" cx="13.027599" cy="23.622829" r="1.6085197" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <path style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.3478564;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" d="m 60.772819,6.5377959 c -2.270695,0.0089 -4.537957,0.881609 -6.259765,2.6171883 -3.443619,3.4711568 -3.42177,9.0987938 0.04883,12.5429688 a 0.67399559,0.67399559 0 1 0 0.949219,-0.957032 c -2.953552,-2.931063 -2.971609,-7.68269 -0.04102,-10.636718 2.930591,-2.9540301 7.679261,-2.9720811 10.632812,-0.04102 2.953552,2.931062 2.973554,7.682689 0.04297,10.636719 a 0.67399559,0.67399559 0 1 0 0.955078,0.949219 c 3.44361,-3.471159 3.42177,-9.098797 -0.04883,-12.5429688 C 65.316814,7.3840639 63.043511,6.5289309 60.772816,6.5377919 Z" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path4152-1" inkscape:connector-curvature="0" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <g style="font-style:normal;font-weight:normal;font-size:125px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_text6393-6" transform="matrix(0.17357816,0,0,0.17357816,69.272283,20.99421)" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"> <path style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Arial;-inkscape-font-specification:&apos;Arial Bold&apos;;fill:#ffffff;fill-opacity:1;stroke:none" d="m -52.884766,-71.277344 c -9.358724,0 -16.927083,2.542643 -22.705078,7.628906 -4.203199,3.824248 -9.897542,17.780289 -1.505859,19.519532 8.391683,1.739243 4.93701,-1.171926 14.017578,-10.363282 2.929687,-2.482096 6.57194,-3.724609 10.925781,-3.724609 4.516601,0 8.097331,1.200847 10.742188,3.601563 2.685547,2.360026 4.027344,5.208333 4.027344,8.544922 0,2.400715 -0.752279,4.597981 -2.257813,6.591796 -0.976563,1.261393 -3.967773,3.927083 -8.972656,7.996094 -5.004883,4.06901 -8.341471,7.731119 -10.009766,10.986328 -1.748948,3.51549 -2.406004,6.808671 -2.109375,9.525391 a 7.9212061,7.9212061 0 0 0 -0.02148,0.404297 7.9212061,7.9212061 0 0 0 7.921875,7.9218748 7.9212061,7.9212061 0 0 0 7.816406,-6.6992188 c 0.35142,-1.091765 0.648649,-2.252733 1.050781,-3.404297 0.895182,-1.831055 2.777019,-5.285807 6.398438,-8.296875 6.998698,-5.818685 11.55599,-10.417643 13.671875,-13.794922 2.156575,-3.377279 3.236328,-6.958008 3.236328,-10.742187 0,-6.835938 -2.909831,-12.816407 -8.728516,-17.94336 -5.818685,-5.167643 -13.651042,-7.751953 -23.498047,-7.751953 z" transform="translate(2.9532437,4.8701448)" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path6398-3" inkscape:connector-curvature="0"/> </g> <circle style="color:#000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path6400-8-9" cx="60.598679" cy="23.75849" r="1.6085197" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <path style="fill:#002b55;fill-opacity:1" d="M 34.402344 0.60351562 C 28.770689 0.60351562 24.216797 5.1593608 24.216797 10.791016 C 24.216797 18.430856 34.402344 29.708984 34.402344 29.708984 C 34.402344 29.708984 44.589844 18.430856 44.589844 10.791016 C 44.589844 5.1593608 40.033998 0.60351564 34.402344 0.60351562 z M 34.369141 1.6679688 C 36.639836 1.6591077 38.913139 2.5142401 40.648438 4.2363281 C 44.119038 7.6804999 44.140876 13.308138 40.697266 16.779297 A 0.67399559 0.67399559 0 1 1 39.742188 15.830078 C 42.67277 12.876048 42.652771 8.1244214 39.699219 5.1933594 C 36.745668 2.2622986 31.996998 2.2803452 29.066406 5.234375 C 26.135817 8.188403 26.15387 12.940031 29.107422 15.871094 A 0.67399559 0.67399559 0 1 1 28.158203 16.828125 C 24.687603 13.38395 24.665756 7.756313 28.109375 4.2851562 C 29.831183 2.5495773 32.098446 1.6768686 34.369141 1.6679688 z M 34.201172 4.5976562 C 35.910397 4.5976562 37.2693 5.0463694 38.279297 5.9433594 C 39.289294 6.8332864 39.794922 7.8700711 39.794922 9.0566406 C 39.794922 9.7134915 39.606756 10.335653 39.232422 10.921875 C 38.86515 11.508097 38.074196 12.30641 36.859375 13.316406 C 36.230776 13.839062 35.905384 14.438028 35.75 14.755859 C 35.680199 14.955746 35.627405 15.15815 35.566406 15.347656 A 1.3749484 1.3749484 0 0 1 34.210938 16.509766 A 1.3749484 1.3749484 0 0 1 32.835938 15.134766 A 1.3749484 1.3749484 0 0 1 32.837891 15.064453 C 32.786402 14.59289 32.901499 14.022322 33.205078 13.412109 C 33.494658 12.847076 34.074621 12.210198 34.943359 11.503906 C 35.812098 10.797615 36.33049 10.336138 36.5 10.117188 C 36.761328 9.7711048 36.892578 9.3893679 36.892578 8.9726562 C 36.892578 8.3934973 36.659512 7.8998833 36.193359 7.4902344 C 35.73427 7.0735225 35.112108 6.8632812 34.328125 6.8632812 C 33.572393 6.8632812 32.94017 7.0808811 32.431641 7.5117188 C 30.855452 9.1071374 31.45466 9.6124415 29.998047 9.3105469 C 28.541434 9.0086523 29.530182 6.5856809 30.259766 5.921875 C 31.262699 5.0390108 32.576702 4.5976562 34.201172 4.5976562 z M 34.195312 17.279297 A 1.6085197 1.6085197 0 0 1 35.802734 18.888672 A 1.6085197 1.6085197 0 0 1 34.195312 20.496094 A 1.6085197 1.6085197 0 0 1 32.585938 18.888672 A 1.6085197 1.6085197 0 0 1 34.195312 17.279297 z " transform="translate(2.9532437,4.8701448)" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path4-2-0" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <g style="font-style:normal;font-weight:normal;font-size:125px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_text6393-6-2" transform="matrix(0.17357816,0,0,0.17357816,45.821277,20.994209)" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> <path inkscape:connector-curvature="0" style="fill:#56b7e9;fill-opacity:1" d="m 59.972736,5.8260189 c -5.631655,0 -10.185547,4.5558451 -10.185547,10.1875001 0,7.63984 10.185547,18.917968 10.185547,18.917968 0,0 10.1875,-11.278128 10.1875,-18.917968 0,-5.631655 -4.555846,-10.1875001 -10.1875,-10.1875001 z m -0.0332,1.064453 c 2.270695,-0.0089 4.543998,0.846271 6.279297,2.568359 3.4706,3.4441721 3.492438,9.0718101 0.04883,12.5429691 A 0.67399559,0.67399559 0 1 1 65.31258,21.052581 c 2.930582,-2.95403 2.910583,-7.705656 -0.04297,-10.636719 -2.953551,-2.9310601 -7.702221,-2.9130141 -10.632813,0.04102 -2.930589,2.954028 -2.912536,7.705656 0.04102,10.636719 a 0.67399559,0.67399559 0 1 1 -0.949219,0.957031 c -3.470604,-3.444175 -3.492451,-9.071812 -0.04883,-12.5429691 1.721808,-1.735579 3.989071,-2.608287 6.259766,-2.617187 z m -0.167969,2.929687 c 1.709225,0 3.068128,0.4487131 4.078125,1.3457041 1.009997,0.889927 1.515625,1.926711 1.515625,3.113281 0,0.656851 -0.188166,1.279012 -0.5625,1.865234 -0.367272,0.586222 -1.158226,1.384535 -2.373047,2.394531 -0.628599,0.522656 -0.953991,1.121622 -1.109375,1.439453 -0.0698,0.199887 -0.122595,0.402291 -0.183594,0.591797 a 1.3749484,1.3749484 0 0 1 -1.355468,1.16211 1.3749484,1.3749484 0 0 1 -1.375,-1.375 1.3749484,1.3749484 0 0 1 0.002,-0.07031 c -0.05149,-0.471563 0.06361,-1.042131 0.367187,-1.652344 0.28958,-0.565033 0.869543,-1.201911 1.738281,-1.908203 0.868739,-0.706291 1.387131,-1.167768 1.556641,-1.386718 0.261328,-0.346083 0.392578,-0.72782 0.392578,-1.144532 0,-0.579159 -0.233066,-1.072773 -0.699219,-1.482421 -0.459089,-0.416712 -1.081251,-0.626954 -1.865234,-0.626954 -0.755732,0 -1.387955,0.2176 -1.896484,0.648438 -1.576239,1.595416 -0.977031,2.10072 -2.433644,1.798825 -1.456613,-0.301895 -0.467865,-2.724866 0.261719,-3.388672 1.002933,-0.882864 2.316936,-1.3242191 3.941406,-1.3242191 z M 59.765667,22.5018 a 1.6085197,1.6085197 0 0 1 1.607422,1.609375 1.6085197,1.6085197 0 0 1 -1.607422,1.607422 1.6085197,1.6085197 0 0 1 -1.609374,-1.607422 1.6085197,1.6085197 0 0 1 1.609374,-1.609375 z" id="knTrack_bd9b712c0682f2f06275c40b1b3888c4_path4-2-0-6" inkscape:export-filename="C:\\Users\\viktor.uhharski\\Desktop\\track.png" inkscape:export-xdpi="1362.0009" inkscape:export-ydpi="1362.0009"/> </g> </symbol>';t.exports=r.add(i,"knTrack_bd9b712c0682f2f06275c40b1b3888c4")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 123 100" id="knTweeter_cfd8b78f31de0f032715e79c95ea0757" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m122.9 11.97c-4.524 2.005-9.378 3.364-14.48 3.971 5.208-3.119 9.194-8.065 11.08-13.94-4.885 2.888-10.28 4.985-16.02 6.122-4.601-4.908-11.15-7.965-18.4-7.965-13.93 0-25.22 11.29-25.22 25.21 0 1.974 0.2227 3.902 0.653 5.745-20.93-1.05-39.51-11.09-51.95-26.35-2.17 3.721-3.406 8.05-3.406 12.68 0 8.749 4.455 16.47 11.21 20.98-4.12-0.14-8.011-1.27-11.41-3.16v0.3149c0 12.21 8.695 22.41 20.22 24.73-2.112 0.5684-4.34 0.8833-6.644 0.8833-1.628 0-3.203-0.1613-4.747-0.4686 3.211 10.02 12.52 17.31 23.55 17.51-8.63 6.76-19.5 10.78-31.32 10.78-2.031 0-4.036-0.12-6.01-0.34 11.16 7.16 24.41 11.34 38.65 11.34 46.39 0 71.75-38.42 71.75-71.74l-0.0846-3.264c4.954-3.534 9.24-7.973 12.61-13.03z"/> </symbol>';t.exports=r.add(i,"knTweeter_cfd8b78f31de0f032715e79c95ea0757")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 85 100" id="knUser_471cf8a234f4b086b3082f2e056a97d8" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m42.75 0.1293c-10.97-0.2571-19.84 10.74-18.38 21.38 1.184 8.879 5.377 17.85 12.69 23.28 4.793 3.831 11.83 2.146 15.45-2.45 5.804-6.791 9.052-15.93 8.616-24.87-0.73-9.325-8.85-17.5-18.38-17.34zm-14.99 48.99c-5.13 0.12-10.4 0.18-14.73 3.41-8.936 6.54-11.81 18.22-12.78 28.7-0.08559 5.138-1.006 10.65 1.282 15.5 3.285 4.522 9.381 2.96 14.17 3.206 20.85-0.0082 41.72 0.09167 62.55-0.06577 5.312-0.2657 7.603-5.725 7.149-10.42 0.2466-11.68-1.48-24.52-9.405-33.74-3.922-4.579-9.891-6.627-15.73-6.437-2.072-0.4851-3.091 0.04933-2.368 2.253 0.4686 5.73 0.9373 11.45 1.414 17.18l-16.54-8.75c-5.558 2.886-11.09 5.829-16.62 8.756 0.5344-6.511 1.069-13.03 1.603-19.54z"/> </symbol>';t.exports=r.add(i,"knUser_471cf8a234f4b086b3082f2e056a97d8")},function(t,e,n){var r=n(1),i='<symbol viewBox="0 0 100 100" id="knX_956ecade52237480f8a840734c1529f3" xmlns:svg="http://www.w3.org/2000/svg"> <path d="m87.35 0.09252c-12.46 12.48-24.95 24.95-37.43 37.43l-37.41-37.41c-4.176 4.163-8.343 8.331-12.51 12.5 12.47 12.47 24.94 24.95 37.42 37.42-12.48 12.47-24.95 24.95-37.42 37.41l12.51 12.51 37.41-37.42 37.42 37.42 12.51-12.51c-12.53-12.46-24.99-24.94-37.45-37.41 12.46-12.48 24.92-24.96 37.45-37.43-4.16-4.174-8.38-8.341-12.53-12.51z"/> </symbol>';t.exports=r.add(i,"knX_956ecade52237480f8a840734c1529f3")},function(t,e){"use strict";function n(t,e,n,r){t.$on("$viewContentLoaded",function(){var t=n.path(),e=n.absUrl(),i=e.substring(e.indexOf(t));r.push({event:"virtualPageView",virtualUrl:i})})}e.analytic=n},function(t,e,n){"use strict";var r=n(67),i=n(68),o=n(69),a=n(65);angular.module("knApp.config",["ngMaterial","ngRoute"]).run(["$rootScope","$window","$location","googleTagManager",function(t,e,n,r){return a.analytic(t,e,n,r)}]).config(["$mdThemingProvider",function(t){return o.mdTheme(t)}]).config(["$locationProvider",function(t){return r.prettifyUrl(t)}]).config(["$routeProvider",function(t){return i.routing(t)}])},function(t,e){"use strict";function n(t){t.html5Mode({enabled:!0,requireBase:!1,rewriteLinks:"internal-link"})}e.prettifyUrl=n},function(t,e){"use strict";function n(t){t.when("/",{template:"<m-main></m-main>"}).when("/track/",{template:"<m-main></m-main>"}).when("/pages/:pageName",{template:"<m-subpage></m-subpage>"}).when("/location_search/",{template:"<m-location-search></m-location-search>"}).when("/location_search/:searchPhrase",{template:"<m-location-search></m-location-search>"}).when("/search/",{template:"<m-search></m-search>"}).when("/contact_form/",{template:"<m-contact-form></m-contact-form>"})}e.routing=n},function(t,e){"use strict";function n(t){var e={50:"#0f69ca",100:"#0d5cb2",200:"#0b509a",300:"#094483",400:"#08376b",500:"#062b53",600:"#041f3b",700:"#031223",800:"#01060c",900:"#000000",A100:"#1075e2",A200:"#1d82ef",A400:"#358ff0",A700:"#000000",contrastDefaultColor:"light",contrastLightColors:"600 700 800 900 A700",contrastStrongLightColors:"600 700 800 A700"};t.definePalette("customPrimary",e);var n={50:"#136793",100:"#1677a9",200:"#1987c0",300:"#1c97d7",400:"#29a4e3",500:"#3fade6",600:"#6dc1ec",700:"#83caef",800:"#9ad4f2",900:"#b0ddf5",A100:"#6dc1ec",A200:"#56b7e9",A400:"#3fade6",A700:"#c7e7f8",contrastDefaultColor:"light"};t.definePalette("customAccent",n);var r={50:"#ffffff",100:"#ffffff",200:"#ffffff",300:"#ffffff",400:"#ffffff",500:"#fff",600:"#f2f2f2",700:"#e6e6e6",800:"#d9d9d9",900:"#cccccc",A100:"#ffffff",A200:"#ffffff",A400:"#ffffff",A700:"#bfbfbf"};t.definePalette("customBackground",r),t.theme("default").primaryPalette("customPrimary").accentPalette("customAccent").backgroundPalette("customBackground"),t.alwaysWatchTheme(!0)}e.mdTheme=n},function(t,e,n){
"use strict";n(121);var r=n(158),i=function(){function t(t,e){this.$element=t,this.$interval=e,this.interval=8e3}return t.prototype.$onInit=function(){},t.prototype.$postLink=function(){angular.element(this.$element).css("display","block");var t=angular.element(this.$element[0].getElementsByTagName("li"));if(angular.element(t[0]).addClass("c-knAlert-active"),t.length>1){var e=1;this.$interval(function(){angular.element(t).removeClass("c-knAlert-active"),angular.element(t[e]).addClass("c-knAlert-active"),e>=t.length-1?e=0:e++},this.interval)}},t}();i.$inject=["$element","$interval"];var o=function(){function t(){this.bindings={href:"@"},this.transclude=!0,this.controller=i,this.template=r}return t}();o.Name="knAlert",e.Alert=o},function(t,e,n){"use strict";n(122);var r=n(159),i=n(153),o=function(){function t(t){this.dataAccessService=t}return t.prototype.$onInit=function(){var t=this;this.image=i,this.dataAccessService.getCareerBoxes().then(function(e){t.boxes=e})},t}();o.$inject=["dataAccessService"];var a=function(){function t(){this.bindings={},this.controller=o,this.template=r}return t}();a.Name="knCareer",e.Career=a},function(t,e,n){"use strict";n(123);var r=n(160),i=function(){function t(t,e,n,r){this.$element=t,this.$interval=e,this.$window=n,this.dataAccessService=r,this.activeId=0,this.currIndex=0,this.interval=8e3,this.alertBoxTimeout=700,this.wrap=!0}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getSlides().then(function(e){t.slides=e}).catch(console.log.bind(console))},t.prototype.$postLink=function(){this._startTimer()},t.prototype.$onDestroy=function(){this._stopTimer()},t.prototype.select=function(t){this.cycleToSelected(t),this._restartTimer()},t.prototype.prev=function(){this.cycleToPrev(),this._restartTimer()},t.prototype.next=function(){this.cycleToNext(),this._restartTimer()},t.prototype.pause=function(){this._stopTimer()},t.prototype.cycle=function(){this._startTimer()},t.prototype.cycleToNext=function(){this.cycleToSelected(this._getNextSlide(this.activeId))},t.prototype.cycleToPrev=function(){this.cycleToSelected(this._getPrevSlide(this.activeId))},t.prototype.cycleToSelected=function(t){if(t!==this.activeId){var e=this._getSlideById(t);e&&(this.activeId=e.id,this._restartTimer())}},t.prototype.redirectTo=function(t){this.$window.location.href=t},t.prototype._restartTimer=function(){this._stopTimer(),this._startTimer()},t.prototype._startTimer=function(){var t=this;this._slideChangeInterval=this.$interval(function(){t.cycleToNext()},this.interval)},t.prototype._stopTimer=function(){this.$interval.cancel(this._slideChangeInterval)},t.prototype._getSlideById=function(t){var e=this.slides.filter(function(e){return e.id===t});return e.length?e[0]:null},t.prototype._getSlideIdxById=function(t){return this.slides.indexOf(this._getSlideById(t))},t.prototype._getNextSlide=function(t){var e=this.slides,n=this._getSlideIdxById(t),r=n===e.length-1;return r?this.wrap?e[0].id:e[e.length-1].id:e[n+1].id},t.prototype._getPrevSlide=function(t){var e=this.slides,n=this._getSlideIdxById(t),r=0===n;return r?this.wrap?e[e.length-1].id:e[0].id:e[n-1].id},t}();i.$inject=["$element","$interval","$window","dataAccessService"];var o=function(){function t(){this.bindings={mobile:"<"},this.controller=i,this.template=r}return t}();o.Name="knCarousel",e.Carousel=o},function(t,e,n){"use strict";n(124);var r=n(161),i=function(){function t(t,e,n){this.$mdPanel=t,this.$document=e,this.dataAccessService=n,this.panel=null,this.isOpened=!1;var r="footer"===this.open;this.config={buttonClassModificator:r?"c-knCountryDropdown-lightButton":"",overlayClassModificator:r?"c-knCountryDropdown-lightOverlay":"",disableParentScroll:r}}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getMenu().then(function(e){var n="Country";e.country&&(n=e.country.name),t.selectedCountry={name:n,url:null,urls:null}})},t.prototype.$postLink=function(){var t=this;this.$document.bind("click",function(e){t.isOpened&&!t.panel.panelEl[0].contains(e.target)&&t.panel.close()})},t.prototype.showCountryDropdown=function(t){var e=this,n=this;if(this.isOpened)this.panel.close();else{var r=this.$mdPanel.newPanelPosition().relativeTo(t.currentTarget);"footer"===this.open?r.addPanelPosition(this.$mdPanel.xPosition.ALIGN_START).bottom("67px"):r.addPanelPosition(this.$mdPanel.xPosition.ALIGN_START).top("0");var i={attachTo:angular.element(document.body),templateUrl:"countryDropdownOverlay.html",panelClass:"c-knCountryDropdown__overlay md-whiteframe-3dp"+this.config.overlayClassModificator,controller:o,controllerAs:"ctrl",position:r,openFrom:t,clickOutsideToClose:!0,escapeToClose:!0,focusOnOpen:!1,disableParentScroll:this.config.disableParentScroll,locals:{country:this.selectedCountry.name},zIndex:51,onDomAdded:function(){e.isOpened=!0},onDomRemoved:function(){e.isOpened=!1}};this.panel=this.$mdPanel.open(i).then(function(t){n.panel=t})}},t}();i.$inject=["$mdPanel","$document","dataAccessService"];var o=function(){function t(t){this.mdPanelRef=t}return t.prototype.closePanel=function(){this.mdPanelRef.close()},t}();o.$inject=["mdPanelRef"];var a=function(){function t(){this.bindings={open:"@"},this.controller=i,this.template=r}return t}();a.Name="knCountryDropdown",e.CountryDropdown=a},function(t,e,n){"use strict";n(125);var r=n(162),i=function(){function t(t){this.dataAccessService=t,this.loadedPages={},this.countries={},this.PAGE_SIZE=50,this._fetchNumItems()}return t.prototype.searchItem=function(t){for(var e=0;e<this.countries.length;e++)if(t===this.countries[e].name[0].toLowerCase())return e;return 0},t.prototype.getItemAtIndex=function(t){var e=Math.floor(t/this.PAGE_SIZE),n=this.loadedPages[e];return n?n[t%this.PAGE_SIZE]:void(null!==n&&this._fetchPage(e))},t.prototype.getLength=function(){return this.countries.length},t.prototype._fetchPage=function(t){var e=this,n=this;this.loadedPages[t]=null,this.dataAccessService.getCountries().then(function(r){e.loadedPages[t]=[];for(var i=t*e.PAGE_SIZE,o=i;o<i+e.PAGE_SIZE;o++)n.loadedPages[t].push(r[o])}).catch(console.log.bind(console))},t.prototype._fetchNumItems=function(){var t=this;this.dataAccessService.getCountries().then(function(e){t.countries=e}).catch(console.log.bind(console))},t}(),o=function(){function t(t,e,n){this.dataAccessService=t,this.$document=e,this.$timeout=n,this.linksViewActive=!1,this.topIndex=0,this.selectedCountry={name:this.country,url:null,urls:null}}return t.prototype.$onInit=function(){this.countries=new i(this.dataAccessService)},t.prototype.$postLink=function(){var t=this;this.$document.on("keydown",function(e){var n=e.key.toLowerCase();t.$timeout(function(){t.topIndex=t.countries.searchItem(n)})})},t.prototype.getCountryList=function(){return this.countries},t.prototype.showCountryLinks=function(t){this.linksViewActive=!0,this.selectedCountry=t},t.prototype.hideCountryLinks=function(){this.linksViewActive=!1,this.selectedCountry=null},t.prototype.getSelectedCountry=function(){return this.selectedCountry?this.selectedCountry.urls:[]},t.prototype.isActive=function(t){return t.name===(this.language?this.language.trim():"")},t}();o.$inject=["dataAccessService","$document","$timeout"];var a=function(){function t(){this.bindings={country:"@"},this.controller=o,this.template=r}return t}();a.Name="knCountrySelect",e.CountrySelect=a},function(t,e,n){"use strict";n(126);var r=n(163),i=function(){function t(t,e){this.$window=t,this.dataAccessService=e,this.year=new Date}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getFooterLinks().then(function(e){t.bottomLinks=e.bottomLinks,t.topLinks=e.topLinks,t.aboutUs=e.aboutUs})},t}();i.$inject=["$window","dataAccessService"];var o=function(){function t(){this.bindings={},this.controller=i,this.template=r}return t}();o.Name="knFooter",e.Footer=o},function(t,e,n){"use strict";n(127);var r=n(164),i=function(){function t(){}return t.prototype.$onInit=function(){this.gliderActive=this.active||!1},t.prototype.$onChanges=function(t){this.gliderActive=t.active.currentValue},t}(),o=function(){function t(){this.template=r,this.controller=i,this.transclude={content:"content"},this.bindings={headline:"<",index:"<",active:"<",modificator:"@"}}return t}();o.Name="knGlider",e.Glider=o},function(t,e,n){"use strict";n(128);var r=n(165),i=function(){function t(t,e,n,r,i,o){this.$element=t,this.dataAccessService=e,this.$window=n,this.$mdToast=r,this.$timeout=i,this.$document=o,this.ready=!1}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getMenu().then(function(e){var n=e,r=[];angular.forEach(n.items,function(e){e.links=t._getSubmenuList(e.links),r.push(e)}),t.menuData=r,t.headerLinks=n.links})},t.prototype._getSubmenuList=function(t){for(var e=7,n=[],r=0;r<t.length;r+=e)n.push(t.slice(r,r+e));return n},t}();i.$inject=["$element","dataAccessService","$window","$mdToast","$timeout","$document"];var o=function(){function t(){this.bindings={menuDataUrl:"@"},this.controller=i,this.template=r}return t}();o.Name="knHeaderMenu",e.HeaderMenu=o},function(t,e,n){"use strict";var r=n(208),i=[];r.keys().forEach(function(t){var e=/.\/(.*).svg/.exec(t)[1];i[e]=n(207)("./"+e+".svg")}),n(129);var o=n(166),a=function(){function t(t){this.$element=t}return t.prototype.$onInit=function(){var t=["xxs","xs","s","m","ml","l","xl","xxl","xxxl","companyName","login","bg"];this.iconData={size:"",icon:"",color:""},this.iconData.size="c-knIcon_size_"+(this.size&&t.indexOf(this.size)>-1?this.size:"m"),this.updateIcon(this.icon),this.color?this.iconData.color=this.color.indexOf("c-kn")>-1?this.color:this.icon+" c-knIcon-"+this.color:this.iconData.color=this.icon+" c-knIcon-default"},t.prototype.$onChanges=function(t){this.updateIcon(this.icon)},t.prototype.updateIcon=function(t){this.iconData&&(this.iconData.icon=i[t?t:""])},t}();a.$inject=["$element"];var c=function(){function t(){this.bindings={icon:"<",size:"@",color:"@"},this.template=o,this.controller=a}return t}();c.Name="knIcon",e.Icon=c},function(t,e){"use strict";var n=function(){function t(t){var e=this;this.$http=t,this.restrict="E",this.link=function(t,n,r){var i=e,o=navigator.userAgent;if(o.indexOf("Trident")>0||o.indexOf("MSIE")>0){var a=n.parent()[0],c=r.xlinkHref.split("#"),s=c[0],l=c[1];s.length?i.$http.get(s,{cache:!0}).then(function(t){var e=document.createElement("x");e.innerHTML=t.data,i.embed(a,e.querySelector("#"+l.replace(/(\W)/g,"\\$1")))}):i.embed(a,document.getElementById(l)),t.$watch(function(){return n.attr("xlink:href")},function(t,e){e!=t&&i.embed(a,document.getElementById(t.substring(1)))}),n.remove()}}}return t.prototype.embed=function(t,e){if(e){var n=e.getAttribute("viewBox"),r=document.createDocumentFragment(),i=e.cloneNode(!0);for(n&&t.setAttribute("viewBox",n);i.childNodes.length;)r.appendChild(i.childNodes[0]);t.getElementsByTagName("path").length&&angular.element(t).empty(),t.appendChild(r)}},t}();n.Name="use",n.$inject=["$http"],e.UseDirective=n},function(t,e,n){"use strict";n(130);var r=n(167),i=function(){function t(){}return t.prototype.clear=function(){this.searchPhrase=""},t.prototype.updateInput=function(t){this.searchPhrase=t,this.suggestList=[]},t.prototype.initAction=function(){this.suggestList=[],this.action()},t.prototype.updateSearch=function(t){var e=this;13===t.keyCode?this.action():this.searchPhrase&&this.searchPhrase.length>2&&(this.loading=!0,this.suggest().then(function(t){e.suggestList=t}).finally(function(){e.loading=!1}))},t}(),o=function(){function t(){this.bindings={searchPhrase:"=",placeholder:"<",suggest:"&",action:"&"},this.transclude=!0,this.controller=i,this.template=r}return t}();o.Name="knInput",e.Input=o},function(t,e,n){"use strict";n(131);var r=n(168),i=function(){function t(t,e,n,r){this.$http=t,this.$document=e,this.$element=n,this.$timeout=r}return t.prototype.$onInit=function(){var t=this;this.isOpened=!1,this.currentLang=this.language,this.$http.get("menu.json").then(function(e){var n=e.data;n.languages&&(t.langArr=n.languages.filter(function(t){return!t.highlight}),t.currentLang=n.languages.filter(function(t){return t.highlight})[0].nameLocal)}).catch(function(t){console.log(t)})},t.prototype.open=function(){this.langArr.length&&(this.isOpened=!this.isOpened)},t.prototype.$postLink=function(){var t=this;this.$document.bind("click",function(e){t.isOpened&&!t.$element[0].contains(e.target)&&t.$timeout(function(){t.isOpened=!t.isOpened},0)})},t}();i.$inject=["$http","$document","$element","$timeout"];var o=function(){function t(){this.bindings={language:"@"},this.controller=i,this.template=r}return t}();o.Name="knLangSelect",e.LangSelect=o},function(t,e,n){"use strict";n(132);var r=n(169),i=n(206),o=function(){function t(){}return t.prototype.$onInit=function(){this.mapImage=i},t}(),a=function(){function t(){this.bindings={},this.controller=o,this.template=r}return t}();a.Name="knLogistics",e.Logistics=a},function(t,e,n){"use strict";n(133);var r=n(170),i=n(154),o=n(155),a=function(){function t(t,e){this.dataAccessService=t,this.$element=e,this.defaultPicture=[i,o]}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getNews().then(function(e){t.news=e.news,t.links=e.links})},t.prototype.$postLink=function(){angular.element(this.$element).css("display","block")},t.prototype.getImage=function(t,e){return t&&t.length>0?t:this.defaultPicture[e%2]},t}();a.$inject=["dataAccessService","$element"];var c=function(){function t(){this.bindings={},this.controller=a,this.template=r}return t}();c.Name="knNews",e.News=c},function(t,e,n){"use strict";n(134);var r=n(171),i=function(){function t(t){this.$mdDialog=t}return t.prototype.$onInit=function(){this.active=this.activeTab?this.activeTab:"quote"},t.prototype.showQBTOverlay=function(t){this.$mdDialog.show({parent:angular.element(document.body),targetEvent:t,templateUrl:"QBTOverlay.tpl.html",clickOutsideToClose:!0,controller:o,controllerAs:"ctrl",bindToController:!0,locals:{activeTab:this.active},autoWrap:!0,openFrom:"#showQBTOverlay",closeTo:"#showQBTOverlay"})},t}();i.$inject=["$mdDialog"];var o=function(){function t(t){this.$mdDialog=t}return t.prototype.close=function(){this.$mdDialog.cancel()},t}();o.$inject=["$mdDialog"];var a=function(){function t(){this.bindings={label:"@",activeTab:"@"},this.controller=i,this.template=r}return t}();a.Name="knQbtButton",e.QBTButton=a},function(t,e,n){"use strict";n(135);var r=n(172),i=function(){function t(t,e,n,r,i,o){this.heading=t,this.radioButtons=e,this.template=n,this.buttonLabel=r,this.isDisabled=i,this.tip=o}return t}(),o=function(){function t(t,e,n,r,i,o,a){this.dataAccessService=t,this.$element=e,this.$timeout=n,this.$http=r,this.$rootScope=i,this.$location=o,this.$sce=a,this.originCountries={},this.destinationCountries={}}return t.prototype.$onInit=function(){var t=this;this.referenceType={},this.trackView=!1,this.activeTab=this.activeTab||"quote",this.dataAccessService.getQbtData().then(function(e){t.tabs={},angular.forEach(e,function(e){e.hasOwnProperty("label")&&(t.tabs[e.label.id]=e,t.$location.path().length&&t.$location.path().indexOf(e.label.id)>-1?t.activeTab=e.label.id:"track"===e.label.id&&(t.trackData=e.body.values[0]))}),t.updateView()}).catch(console.log.bind(console)),this.dataAccessService.getFreightCountry().then(function(e){t.originCountries.knSeafreight=e.originCountries,t.destinationCountries.knSeafreight=e.destinationCountries,t.originCountries.knAirfreight=e.airOriginCountries,t.destinationCountries.knAirfreight=e.airDestinationCountries}),this.errorMsgFlag=!1,this.errorMsg=null,this.activeTab=this.activeTab||"quote"},t.prototype.setDefault=function(t){this.data=t?t:{title:"KN FreightNet"}},t.prototype.updateView=function(t){var e=this;if(t){var n=angular.element(t.target).attr("data-tab");this.activeTab=n}this.errorMsgFlag=!1,this.errorMsg=null;try{this.tabContentView=new i(this.tabs[this.activeTab].body.heading,"track"!==this.activeTab?this.tabs[this.activeTab].body.values:null,this.tabs[this.activeTab].body.values[0].template,this.tabs[this.activeTab].body.values[0].value,!0,null),"quote"===this.activeTab&&this.mobile&&this.$timeout(function(){e.tabContentView.isDisabled=!1,e.selectTemplate(e.tabContentView.radioButtons[0])},0),this.setDefault()}catch(t){}},t.prototype.selectTemplate=function(t){this.tabContentView.template=t.template,this.tabContentView.isDisabled=!1,this.errorMsgFlag=!1,this.errorMsg=null,this.data=t},t.prototype.updateAction=function(){var t=this.$element[0].getElementsByTagName("form");t.length>0&&this.data&&(t[0].action=this.data.url)},t.prototype.getUrl=function(t){return this.$sce.trustAsResourceUrl(t)},t.prototype.showErrorMsg=function(t){t.preventDefault(),!this.errorMsgFlag&&this.tabContentView.isDisabled&&(this.errorMsgFlag=!0,this.errorMsg=this.tabs[this.activeTab].body.validation.radio)},t.prototype.query=function(t,e){var n="origin"===t?this.originCountries[this.data.icon]:this.destinationCountries[this.data.icon];return n.filter(function(t){return 0===t.name.toLowerCase().indexOf(e.toLowerCase())})},t.prototype.formClicked=function(t,e){this.errorMsgFlag=!0,e?this.errorMsg=this.tabs[this.activeTab].body.validation.radio:"FORM"===t.target.nodeName?this.errorMsg=this.tabs[this.activeTab].body.validation.required:(this.errorMsgFlag=!1,this.errorMsg="")},t.prototype.changeTrackView=function(){this.trackView=!this.trackView},t.prototype._createFilterFor=function(t){var e=angular.lowercase(t);return function(t){return 0===angular.lowercase(t.name).indexOf(e)}},t}();o.$inject=["dataAccessService","$element","$timeout","$http","$rootScope","$location","$sce"];var a=function(){function t(){this.bindings={activeTab:"@",mobile:"<",overlay:"<"},this.controller=o,this.template=r}return t}();a.Name="knQbt",e.Qbt=a},function(t,e,n){"use strict";n(136);var r=n(173),i=function(){function t(t,e){this.$window=t,this.$timeout=e}return t.prototype.$onInit=function(){var t=this;angular.element(this.$window).bind("scroll",function(e){t.$timeout(function(){t.$window.scrollY>0?t.isVisible=!0:t.isVisible=!1},10)}),angular.element(this.$window).bind("focus",function(e){t.$timeout(function(){"INPUT"===e.target.tagName?t.isVisible=!1:t.isVisible=!0},10)})},t.prototype.scrollTop=function(){this.$window.scrollTo(0,0)},t}();i.$inject=["$window","$timeout"];var o=function(){function t(){this.bindings={},this.controller=i,this.template=r}return t}();o.Name="knScrollTop",e.ScrollTop=o},function(t,e,n){"use strict";n(137);var r=n(174),i=function(){function t(t,e){this.$mdPanel=t,this.dataAccessService=e}return t.prototype.$onInit=function(){var t=this;this.dataAccessService.getMenu().then(function(e){e.search&&(t.searchData=e.search)})},t.prototype.showSearchDropdown=function(t){var e=this.$mdPanel.newPanelPosition().relativeTo(t.currentTarget).addPanelPosition(this.$mdPanel.xPosition.ALIGN_END,this.$mdPanel.yPosition.BELOW),n={attachTo:angular.element(document.body),controller:o,controllerAs:"ctrl",templateUrl:this.searchData?"micrositesSearchButtonOverlay.tpl.html":"searchButtonOverlay.tpl.html",panelClass:"b-knSearchButton__overlay",position:e,locals:{searchData:this.searchData},openFrom:t,clickOutsideToClose:!0,escapeToClose:!0,focusOnOpen:!1,zIndex:51};this.$mdPanel.open(n)},t}();i.$inject=["$mdPanel","dataAccessService"];var o=function(){function t(t){this.$sce=t,this.selected=[],this.searchCheckboxes=[{name:"News",value:"facet_category:news",state:!1},{name:"Pages",value:"facet_category:web",state:!1},{name:"Documents",value:"facet_category:office",state:!1}];try{this.action=this.$sce.trustAsResourceUrl(this.searchData.url),this.hiddenInput=this.searchData.hidden}catch(t){}}return t.prototype.toggle=function(t,e){var n=e.indexOf(t);n>-1?e.splice(n,1):e.push(t)},t.prototype.exists=function(t,e){return e.indexOf(t)>-1},t}();o.$inject=["$sce"];var a=function(){function t(){this.bindings={},this.controller=i,this.template=r}return t}();a.Name="knSearchButton",e.SearchButton=a},function(t,e,n){"use strict";n(138);var r=n(175),i=function(){function t(t,e,n,r){this.$mdPanel=t,this.$document=e,this.$timeout=n,this.$filter=r,this.orderBy="'name'",this.selectedItem=this.model||{},this.isOpened=!1}return t.prototype.$onInit=function(){var t=this;this.model.$render=function(){t.selectedItem=t.model.$viewValue}},t.prototype.$postLink=function(){var t=this;this.$document.bind("click",function(e){t.isOpened&&t.panel&&t.panel.close()})},t.prototype.$doCheck=function(){this.onChange()},t.prototype.onChange=function(){angular.equals(this.selectedItem,{})?(this.hasError=!0,this.model.$setValidity("required",!1)):(this.hasError=!1,this.model.$setValidity("required",!0)),this.model.$setViewValue(this.selectedItem)},t.prototype.getOptions=function(){return this.options},t.prototype.getSelectedProperty=function(){return this.selectedItem[this.selectedProperty]},t.prototype.showVirtualSelect=function(t){var e=this;if(!this.disabled){var n=this,r=angular.element(document.querySelector(".c-knVirtualSelect__box")),i=this.$mdPanel.newPanelPosition().relativeTo(r).addPanelPosition(this.$mdPanel.xPosition.CENTER,this.$mdPanel.yPosition.ALIGN_TOPS),a={attachTo:t.target,controller:o,controllerAs:"$ctrl",template:'<md-virtual-repeat-container class="c-knVirtualSelect__container" md-top-index="$ctrl.topIndex" ng-keypress="$ctrl.onKeydown($event)" tabindex="0"><div md-virtual-repeat="item in $ctrl.options"class="c-knVirtualSelect__item" ng-class="{selected : $ctrl.isCurrent(item)}" ng-click="$ctrl.onSelect(item)">{{$ctrl.getOptionName(item)}}</div></md-virtual-repeat-container>',panelClass:"c-knVirtualSelect__overlay md-whiteframe-1dp",position:i,locals:{options:this.getOptions(),selectedItem:this.selectedItem,selectedProperty:this.selectedProperty,$timeout:this.$timeout},openFrom:t,clickOutsideToClose:!0,escapeToClose:!0,focusOnOpen:!1,zIndex:48,onDomAdded:function(){e.isOpened=!0},onDomRemoved:function(){e.isOpened=!1}};this.$mdPanel.open(a).then(function(t){n.panel=t})}},t}();i.$inject=["$mdPanel","$document","$timeout","$filter"];var o=function(){function t(t){var e=this;this.mdPanelRef=t,this.$timeout(function(){var t=document.querySelector(".c-knVirtualSelect__container"),n=e.selectedItem&&e.selectedItem.name?e.selectedItem.name[0].toLowerCase():null;e._setTopIndex(n),angular.element(t).focus()},10)}return t.prototype.onSelect=function(t){var e=this;angular.copy(t,this.selectedItem),this.mdPanelRef&&this.mdPanelRef.close().then(function(){angular.element(document.querySelector(".c-knVirtualSelect__box")).focus(),e.mdPanelRef.destroy()})},t.prototype.isCurrent=function(t){return angular.equals(t,this.selectedItem)},t.prototype.onKeydown=function(t){var e=t.key.toLowerCase();return this._setTopIndex(e),!0},t.prototype.getOptionName=function(t){return t[this.selectedProperty]},t.prototype._setTopIndex=function(t){var e=this;if(t){this.$timeout(function(){for(var n=0;n<e.options.length;n++)if(t===e.options[n].name[0].toLowerCase()){e.topIndex=n;break}},0)}},t}();o.$inject=["mdPanelRef"];var a=function(){function t(){this.require={model:"ngModel"},this.bindings={label:"@",selectedProperty:"@",options:"<",disabled:"<ngDisabled"},this.controller=i,this.template=r}return t}();a.Name="knVirtualSelect",e.VirtualSelect=a},function(t,e){"use strict";var n=function(){function t(t){this.$window=t,this.restrict="A"}return t.prototype.link=function(t,e,n){e.addClass("fullHeader"),angular.element(this.$window).bind("scroll",function(){this.pageYOffset>=168?e.removeClass("fullHeader"):e.addClass("fullHeader")})},t}();n.Name="collapsible",n.$inject=["$window"],e.KnCollapsible=n},function(t,e,n){"use strict";n(139);var r=n(176),i=function(){function t(t){this.$scope=t;var e=this;e.panes=[]}return t.prototype.select=function(t){var e=this;angular.forEach(e.panes,function(t){t.active=!1}),t.active=!0},t.prototype.addPane=function(t){var e=this;0==e.panes.length&&e.select(t),e.panes.push(t)},t}();i.$inject=["$scope"];var o=function(){function t(){this.restrict="E",this.transclude=!0,this.scope={},this.template=r,this.controller=i,this.controllerAs="knTabs",this.replace=!0}return t}();o.Name="knTabs",e.KnTabs=o;var a=function(){function t(){this.require="^knTabs",this.restrict="E",this.transclude=!0,this.scope={title:"@"},this.template='<article class="d-knTabs__tabContent" ng-class="{active: active}" ng-transclude></article>',this.replace=!0}return t.prototype.link=function(t,e,n,r){r.addPane(t)},t}();a.Name="knTabPane",e.KnTabPane=a},function(t,e,n){"use strict";var r=n(4),i=n(78),o=n(76),a=n(87),c=n(71),s=n(72),l=n(73),d=n(74),u=n(81),m=n(75),h=n(77),p=n(80),f=n(82),v=n(83),g=n(85),k=n(84),b=n(88),y=n(70),w=n(86),_=n(90),x=n(79),$=n(89);angular.module("knApp.blocks",["ngMessages","ngAnimate"]).component(i.Icon.Name,new i.Icon).component(o.Glider.Name,new o.Glider).component(a.SearchButton.Name,new a.SearchButton).component(c.Career.Name,new c.Career).component(s.Carousel.Name,new s.Carousel).component(l.CountryDropdown.Name,new l.CountryDropdown).component(d.CountrySelect.Name,new d.CountrySelect).component(u.LangSelect.Name,new u.LangSelect).component(m.Footer.Name,new m.Footer).component(h.HeaderMenu.Name,new h.HeaderMenu).component(p.Input.Name,new p.Input).component(v.News.Name,new v.News).component(f.Logistics.Name,new f.Logistics).component(g.Qbt.Name,new g.Qbt).component(k.QBTButton.Name,new k.QBTButton).component(y.Alert.Name,new y.Alert).component(b.VirtualSelect.Name,new b.VirtualSelect).component(w.ScrollTop.Name,new w.ScrollTop).directive($.KnCollapsible.Name,r.DirectiveFactory.GetFactoryFor($.KnCollapsible)).directive(_.KnTabs.Name,r.DirectiveFactory.GetFactoryFor(_.KnTabs)).directive(_.KnTabPane.Name,r.DirectiveFactory.GetFactoryFor(_.KnTabPane)).directive(x.UseDirective.Name,r.DirectiveFactory.GetFactoryFor(x.UseDirective))},,,,,,,,,,,,,,,,,,,,,,,,function(t,e){"use strict";var n=function(){function t(t,e,n,r,i){var o=this;this.$rootElement=t,this.$location=e,this.$resource=n,this.$timeout=r,this.$q=i,this.view=this.$rootElement.attr("data-label")||"home",this.googleMapUrl=this.$rootElement.attr("google-map-url")||this.$rootElement.attr("data-google-map-url")||"//maps.googleapis.com/maps/api/js",this._hostWebserviceUrl=this.$rootElement.attr("hostservice-url")||this.$rootElement.attr("data-hostservice-url")||"//"+e.host()+"/webservice/",this.$timeout(function(){o.getCountries()},2e3)}return t.prototype.getMenu=function(){return this._hostDataResource().getMenu().$promise},t.prototype.getCountries=function(){return this._hostDataResource().countries().$promise},t.prototype.getLocations=function(){return this._hostDataResource().locations().$promise},t.prototype.getNews=function(){return this._hostDataResource().news().$promise},t.prototype.getSlides=function(){return this._hostDataResource().slideshow().$promise},t.prototype.getFooterLinks=function(){return this._hostDataResource().links().$promise},t.prototype.getFreightCountry=function(){return this._hostDataResource().freightcountry().$promise},t.prototype.getCareerBoxes=function(){return this._hostDataResource().boxes().$promise},t.prototype.getQbtData=function(){return this._hostDataResource().qbt().$promise},t.prototype.searchLocations=function(t){return this._hostDataResource(t).searchLocations().$promise},t.prototype.locationSuggest=function(t){return this._hostDataResource(t).locationSuggest().$promise},t.prototype.getSubPage=function(t){return this._hostDataResource(t).subpage().$promise},t.prototype.integratorSearchSuggest=function(t){return this._hostDataResource(t).integratorSearchSuggest().$promise},t.prototype.integratorSearch=function(t,e){return t?this._hostDataResource(t,e).integratorSearch().$promise:this.$q.when({total:0,results:[]})},t.prototype.getContactUsData=function(){return this._hostDataResource().getContactUsData().$promise},t.prototype.sendContactUsData=function(t,e){return this._hostDataResource(t).sendContactUsData(e).$promise},t.prototype._hostDataResource=function(t,e){return this.$resource(this._hostWebserviceUrl+":action/:id/:phrase/:page",{action:"@action"},{countries:{method:"GET",params:{action:"countries"},isArray:!0,cache:!0},locations:{method:"GET",params:{action:"locations"},isArray:!0,cache:!0},news:{method:"GET",params:{action:"news",id:"home"},isArray:!1,cache:!0},links:{method:"GET",params:{action:"links"},cache:!0},slideshow:{method:"GET",params:{action:"slideshow",id:this.view},isArray:!0,cache:!0},freightcountry:{method:"GET",params:{action:"freightcountry"},isArray:!1,cache:!0},boxes:{method:"GET",params:{action:"boxes",id:"home"},isArray:!0,cache:!0},qbt:{method:"GET",params:{action:"qbt",id:this._fakeQbtCountry},isArray:!0,cache:!0},searchLocations:{method:"GET",params:{action:"locations",id:"search",phrase:t},isArray:!1,cache:!0},locationSuggest:{method:"GET",params:{action:"locations",id:"suggest",phrase:t},isArray:!0,cache:!0},subpage:{method:"GET",params:{action:"mobile",id:"page",phrase:t},isArray:!1,cache:!0},integratorSearchSuggest:{method:"GET",params:{action:"intergator",id:"suggest",phrase:t},isArray:!0,cache:!0},integratorSearch:{method:"GET",params:{action:"intergator",id:"search",phrase:t,page:e},isArray:!1},getContactUsData:{method:"GET",params:{action:"contacts",id:"get",phrase:"mobile"},isArray:!1},sendContactUsData:{method:"POST",params:{action:"contacts",id:"submit",phrase:"mobile",page:t},isArray:!1},getMenu:{method:"GET",params:{action:"menu"},isArray:!1,cache:!0}})},t}();n.$inject=["$rootElement","$location","$resource","$timeout","$q"],e.DataAccessService=n},function(t,e){"use strict";var n=function(){function t(t){this.$window=t,"dataLayer"in this.$window||(this.$window.dataLayer=[])}return t.prototype.push=function(t){try{this.$window.dataLayer.push(t)}catch(t){}},t}();n.$inject=["$window"],e.GoogleTagManager=n},function(t,e,n){"use strict";var r=n(115),i=n(116);angular.module("knApp.services",["ngResource"]).service("dataAccessService",r.DataAccessService).service("googleTagManager",i.GoogleTagManager)},,function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){},,,,,,,,,,,,,function(t,e){},function(t,e,n){t.exports=n.p+"/typo3conf/ext/kn_tmpl/Resources/Public/images/career.jpg"},function(t,e,n){t.exports=n.p+"/typo3conf/ext/kn_tmpl/Resources/Public/images/news1.jpg"},function(t,e,n){t.exports=n.p+"/typo3conf/ext/kn_tmpl/Resources/Public/images/news2.jpg"},,,function(t,e){t.exports='<a ng-href="{{$ctrl.href}}" class="c-knAlert container" layout="row" layout-nowrap layout-align="end center" ng-cloak>    \r\n    <div class="c-knAlert__title" flex="15" layout="row" layout-nowrap layout-align="begin center">\r\n        <kn-icon data-icon="\'knNewsticker\'" data-size="ml" color="knWhite"></kn-icon>  \r\n        <span>Alerts</span>    \r\n    </div>    \r\n    <div class="c-knAlert__message" flex="85" ng-transclude></div>\r\n</a>'},function(t,e){t.exports='<div class="c-knCareer">\r\n    <div class="c-knCareer__image">\r\n        <img ng-src="{{::$ctrl.image}}" alt="">\r\n    </div>\r\n    <div class="container">\r\n        <section layout="row" layout-wrap>\r\n            <div class="c-knCareer__header" flex="100">\r\n                <h1 class="c-knCareer__headline">Careers at Kuehne + Nagel</h1>\r\n            </div>\r\n            <div class="c-knCareer__item" flex-gt-md="33" flex-xs="100" flex-sm="100" data-ng-repeat="box in ::$ctrl.boxes">\r\n                <div class="c-knCareer__card">\r\n                    <kn-icon data-icon="::box.icon" data-size="l" color="knBlue"></kn-icon>\r\n                    <h2 class="c-knCareer__title">{{::box.title}}</h2>\r\n                    <p class="c-knCareer__slogan">{{::box.text}}</p>\r\n                    <a class="b-knTextLink b-knTextLink-blue" href="{{::box.link}}">{{::box.linkText}}</a>\r\n                </div>\r\n            </div>\r\n        </section>\r\n    </div>\r\n</div>\r\n\r\n';
},function(t,e){t.exports='<article class="c-knCarousel__slideContainer" role="listbox" ng-cloak ng-class="{\'c-knCarousel-mobile\':$ctrl.mobile}">\r\n    <div data-ng-repeat="slide in ::$ctrl.slides" md-swipe-right="$ctrl.cycleToPrev()" md-swipe-left="$ctrl.cycleToNext()" class="c-knCarousel__slide" ng-class="{\'c-knCarousel-activeSlide\': slide.id === $ctrl.activeId}">\r\n        <img class="c-knCarousel__image" ng-src="{{slide.image}}" alt="">\r\n        <section class="c-knCarousel__caption">\r\n            <div class="container">\r\n                <div layout="row">\r\n                    <div class="c-knCarousel__content" flex-gt-md="{{($ctrl.mobile)?50:100}}" flex-md="50">\r\n                        <h1 ng-if="slide.title" class="c-knCarousel__slideTitle">{{::slide.title}}</h1>\r\n                        <p ng-if="slide.text" class="c-knCarousel__slideText">{{slide.text}}</p>\r\n                        <ul ng-if="!$ctrl.mobile && !!slide.texts.length" class="c-knCarousel__textList">\r\n                            <li class="c-knCarousel__textItem" data-ng-repeat="text in ::slide.texts">\r\n                                {{::text}}\r\n                            </li>\r\n                        </ul>\r\n                        <md-button \r\n                            ng-if="slide.link" \r\n                            ng-href="{{::slide.link}}"\r\n                            class="c-knCarousel__linkButton md-accent md-raised" \r\n                            aria-label="{{::slide.linkTitle || \'Explore more\'}}"\r\n                            internal-link = "{{($ctrl.mobile)?true:false}}"\r\n                            target="{{::slide.target}}">\r\n                                {{::slide.linkTitle || \'Explore more\'}}\r\n                        </md-button>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n        </section>\r\n    </div>\r\n</article>\r\n<nav class="c-knCarousel__navigation">\r\n    <button class="c-knCarousel__button c-knCarousel-prevBtn" ng-click="$ctrl.cycleToPrev()"><kn-icon data-icon="\'knArrowShadow\'" size="ml" color="knWhite"></kn-icon></button>\r\n    <ol class="c-knCarousel__indicators">\r\n        <li data-ng-repeat="slide in ::$ctrl.slides" class="c-knCarousel__indicator" ng-class="{\'c-knCarousel-activeIndicator\':slide.id === $ctrl.activeId}" ng-click="$ctrl.cycleToSelected(slide.id)"></li>\r\n    </ol>\r\n    <button class="c-knCarousel__button c-knCarousel-nextBtn" ng-click="$ctrl.cycleToNext()"><kn-icon data-icon="\'knArrowShadow\'" size="ml" color="knWhite"></kn-icon></button>\r\n</nav>\r\n'},function(t,e){t.exports='<md-button class="b-knButton c-knCountryDropdown__button {{::$ctrl.config.buttonClassModificator}}" ng-click="$ctrl.showCountryDropdown($event)">\r\n    <div class="b-knButton__body">\r\n        <span>{{::$ctrl.selectedCountry.name}}</span><span ng-if="$ctrl.language" class="c-knCountryDropdown__languageTitle">{{::$ctrl.language}}</span>\r\n        <kn-icon class="c-knCountryDropdown__carret" data-icon="\'knArrow2\'" data-size="xxs" color="COBThemeGray" data-ng-class="{\'active\': $ctrl.isOpened}"></kn-icon>\r\n    </div>\r\n</md-button>\r\n\r\n<script type="text/ng-template" id="countryDropdownOverlay.html">\r\n    <md-button class="b-knButton c-knCountryDropdown__button" ng-click="ctrl.closePanel($event)">\r\n        <div class="b-knButton__body">\r\n            <span>{{::ctrl.country}}</span><span ng-if="ctrl.language" class="c-knCountryDropdown__languageTitle">{{::ctrl.language}}</span>\r\n            <kn-icon class="c-knCountryDropdown__carret active" data-icon="\'knArrow2\'" data-size="xxs" color="COBThemeGray"></kn-icon>\r\n        </div>\r\n    </md-button>\r\n    <kn-country-select country="{{::ctrl.country}}" language="{{::ctrl.language}}"></kn-country-select>\r\n</script>'},function(t,e){t.exports='<div class="c-knCountrySelect__container" data-ng-class="{\'active\':$ctrl.linksViewActive}">\r\n    <md-virtual-repeat-container md-top-index="$ctrl.topIndex" class="c-knCountrySelect__countryList" ng-keypress="$ctrl.onKeydown($event)" tabindex="-2">\r\n        <div md-virtual-repeat="country in $ctrl.countries"\r\n             class="b-knSideNav__menuItem b-knSideNav-otherLink c-knCountrySelect__country"\r\n             ng-click="$ctrl.showCountryLinks(country)"\r\n             md-on-demand="">\r\n            {{country.name}}\r\n        </div>\r\n    </md-virtual-repeat-container>\r\n    <div class="c-knCountrySelect__linkList">\r\n        <div class="c-knCountrySelect__back c-knCountrySelect__link" ng-click="$ctrl.hideCountryLinks()">\r\n            <kn-icon ng-if="$ctrl.selectedCountry" data-icon="\'knArrow2\'" data-size="xxs" color="COBThemeGray"></kn-icon>{{$ctrl.selectedCountry.name}}\r\n        </div>\r\n        <ul>\r\n            <li ng-repeat="language in $ctrl.getSelectedCountry()">\r\n                <a class="b-knTextLink c-knCountrySelect__link" target="_blank" ng-href="{{::language.url}}"><kn-icon data-icon="\'knGlobe3\'" data-size="s" color="knLightBlue"></kn-icon>{{::language.name}}</a>\r\n            </li>\r\n            <li>\r\n                <a class="b-knTextLink c-knCountrySelect__link" ng-href="{{$ctrl.selectedCountry.url}}"><kn-icon data-icon="\'knLocations\'" data-size="s" color="knLightBlue"></kn-icon>Show location map</a>\r\n            </li>\r\n        </ul>\r\n    </div>\r\n</div>'},function(t,e){t.exports='<footer class="c-knFooter">\r\n    <nav class="container">\r\n        <div class="c-knFooter__links" layout="row" layout-wrap layout-align="end stretch">\r\n            <div flex-gt-md="35" flex-xs="100" flex-sm="100" flex-md="100">\r\n                <h3 class="c-knFooter__title">{{::$ctrl.aboutUs.title}}</h3>\r\n                <p class="c-knFooter__story">\r\n                    {{::$ctrl.aboutUs.text}}\r\n                </p>\r\n            </div>\r\n            <div class="c-knFooter__column" flex-gt-md="auto" flex-xs="50" flex-sm="50" flex-md="25" data-ng-repeat="item in ::$ctrl.topLinks">\r\n                <h3 class="c-knFooter__title">{{::item.title}}</h3>\r\n                <span class="c-knFooter__row" data-ng-repeat="link in ::item.links">\r\n                    <kn-icon ng-if="::link.icon" class="c-knFooter__icon" icon="::link.icon" size="s" color="knWhite"></kn-icon>\r\n\t\t\t\t\t<a class="c-knFooter__link" href="{{::link.url}}" target="{{::link.target}}">{{::link.title}}</a>\r\n                </span>\r\n            </div>\r\n        </div>\r\n        <div class="c-knFooter__copyright" layout="row" layout-wrap>\r\n            <div flex-gt-md="auto" flex-xs="100" flex-sm="100" flex-md="100">©  {{::$ctrl.year | date:\'yyyy\'}}  KUEHNE + NAGEL All rights reserved</div>\r\n            <div flex-gt-md="1" flex-xs="100" flex-sm="100" flex-md="100">\r\n                <a class="c-knFooter__link" data-ng-repeat="link in ::$ctrl.bottomLinks" href="{{::link.url}}">{{::link.title}}</a>\r\n            </div>\r\n        </div>\r\n    </nav>\r\n</footer>\r\n'},function(t,e){t.exports='<div class="c-knGlider" data-ng-class="{\'c-knGlider-active\': $ctrl.gliderActive}"> \r\n    <div class="c-knGlider__toolbar" layout="row" layout-align="start center" data-ng-click="$ctrl.gliderActive = !$ctrl.gliderActive">\r\n        <span flex="auto" class="c-knGlider__labelText">{{$ctrl.headline}}</span>\r\n        <md-button class="c-knGlider__btn md-fab md-mini" aria-label="Close">\r\n            <kn-icon icon="\'knArrow2\'" size="xs" color="COBThemeGray"></kn-icon>\r\n        </md-button>\r\n    </div>\r\n    <div class="c-knGlider__content" ng-transclude="content"></div> \r\n</div>'},function(t,e){t.exports='<header class="c-knHeaderMenu">\r\n    <div class="c-knHeaderMenu__topMenu container" collapsible>\r\n        <kn-country-dropdown class="b-knCountryDropdown c-knHeaderMenu__countryDropdown" country="Country" open="header"></kn-country-dropdown>        \r\n        <kn-lang-select class="b-knCountryDropdown b-knHeaderMenu__countryDropdown"></kn-lang-select>\r\n\r\n        <ul class="c-knHeaderMenu__headerLinks">\r\n            <li class="" data-ng-repeat="link in ::$ctrl.headerLinks">\r\n                <a class="c-knHeaderMenu__menuLink" href="{{::link.link}}">{{::link.title}}</a>\r\n            </li>\r\n        </ul>\r\n        <kn-search-button class="c-knHeaderMenu__searchButton"></kn-search-button>        \r\n\r\n         <md-button href="https://knfreightnet.kuehne-nagel.com/ac/registration" class="b-knButton b-knLoginButton__button c-knHeaderMenu-loginButton" aria-label="KN Login">\r\n            <div class="b-knButton__body">\r\n                <kn-icon data-icon="\'knSignUp\'" data-size="m" color="COBThemeGray"></kn-icon>\r\n                <span>SIGN UP</span>\r\n            </div>\r\n        </md-button>\r\n        <md-button href="https://knfreightnet.kuehne-nagel.com/ac/login?knlogin=true" class="b-knButton b-knLoginButton__button c-knHeaderMenu-loginButton" aria-label="KN Login">\r\n            <div class="b-knButton__body">\r\n                <kn-icon data-icon="\'knLogin\'" data-size="m" color="COBThemeGray"></kn-icon>\r\n                <span>LOGIN</span>\r\n            </div>\r\n        </md-button>\r\n                \r\n        <div class="c-knHeaderMenu__logoSection">\r\n\t\t\t<a href="/"><kn-icon data-icon="\'knCompanyName\'" data-size="companyName" color="knLogo"></kn-icon></a>\r\n\t\t\t<a class=\'c-knHeaderMenu__logo\' href="/"><kn-icon data-icon="\'knLogo\'" data-size="xl" color="knLogo"></kn-icon></a>\r\n        </div>\r\n        <nav class="b-knMainMenu c-knHeaderMenu__mainMenu">\r\n            <ul class="b-knMainMenu__list">\r\n                <li class="b-knMainMenu__item" ng-repeat="menuItem in ::$ctrl.menuData">\r\n                    <a class="b-knMainMenu__label" data-ng-class="::{\'b-knMainMenu-active\': menuItem.highlight}" ng-href="{{::menuItem.link}}">{{::menuItem.title}}</a>\r\n                    <div class="b-knMainMenu__submenu">\r\n                        <ul class="b-knMainMenu__submenuColumn" data-ng-repeat="column in ::menuItem.links">\r\n                            <li class="b-knLinkList__item" ng-repeat="subMenuItem in ::column">\r\n                                <a href="{{::subMenuItem.link}}" class="c-knHeaderMenu__menuLink c-knHeaderMenu-subLink">{{::subMenuItem.title}}</a>\r\n                            </li>\r\n                        </ul>\r\n                        <ul class="b-knMainMenu__submenuColumn" ng-if="menuItem.otherLinks.items.length > 0" ng-style="{\'width\': $ctrl.getSubMenuWidth(menuItem.otherLinks.items.length + 1)}">\r\n                            <li class="b-knLinkList__item">\r\n                                <h3 class="b-knLinkList__label">{{::menuItem.otherLinks.label}}</h3>\r\n                            </li>\r\n                            <li class="b-knLinkList__item" ng-repeat="otherLink in ::menuItem.otherLinks.items">\r\n                                <a ng-href="{{::otherLink.link}}" class="c-knHeaderMenu__menuLink c-knHeaderMenu-subLink">{{::otherLink.title}}</a>\r\n                            </li>\r\n                        </ul>\r\n                    </div>\r\n                </li>\r\n            </ul>\r\n        </nav>\r\n    </div>\r\n</header>\r\n'},function(t,e){t.exports='<i class="c-knIcon {{::$ctrl.iconData.size}}"><svg class="{{::$ctrl.iconData.color}}"><use xlink:href="{{$ctrl.iconData.icon}}"></use></svg></i>\r\n'},function(t,e){t.exports='<div class="c-knInput__inputContainer md-whiteframe-1dp">\r\n    <div class="c-knInput__input container">\r\n        <md-input-container class="md-block">\r\n            <label>{{$ctrl.placeholder}}</label>\r\n            <input ng-class="{\'loading\':$ctrl.loading}" ng-model="$ctrl.searchPhrase" ng-keyup="$ctrl.updateSearch($event)">        \r\n            <md-progress-linear class="md-primary md-hue-3" ng-if="$ctrl.loading" md-mode="indeterminate"></md-progress-linear>\r\n            <md-button ng-if="$ctrl.searchPhrase.length" class="c-knInput__clear" ng-click="$ctrl.clear()" aria-label="clear">\r\n                <kn-icon data-icon="\'knX\'" data-size="s" color="COBThemeGray"></kn-icon>\r\n            </md-button>\r\n        </md-input-container>    \r\n        <md-button class="c-knInput__search" ng-click="$ctrl.initAction()" aria-label="search">\r\n            <kn-icon data-icon="\'knMagnifier\'" data-size="m" color="COBThemeGray"></kn-icon>\r\n        </md-button>\r\n    </div>    \r\n    <ul class="c-knInput__suggestList container" ng-if="$ctrl.suggestList.length">\r\n        <li class="c-knInput__suggestItem" ng-repeat="suggest in $ctrl.suggestList" ng-click="$ctrl.updateInput(suggest)">{{::suggest}}</li>\r\n    </ul>\r\n</div>'},function(t,e){t.exports='<md-button class="b-knButton c-knCountryDropdown__button" ng-click="$ctrl.open()">\r\n    <div class="b-knButton__body">\r\n        <span>{{::$ctrl.currentLang}}</span>\r\n        <kn-icon ng-if="$ctrl.langArr.length" class="c-knCountryDropdown__carret" data-icon="\'knArrow2\'" data-size="xxs" color="COBThemeGray" data-ng-class="{\'active\': $ctrl.isOpened}"></kn-icon>\r\n    </div>\r\n</md-button>\r\n\r\n<div class="c-knLangSelect__overlay" data-ng-class="{\'active\': $ctrl.isOpened}">\r\n    <a ng-repeat="langLink in ::$ctrl.langArr" ng-href="{{::langLink.link}}">{{::langLink.nameLocal}}</a>\r\n</div>'},function(t,e){t.exports='<div class="c-knLogistics" layout="row" layout-wrap layout-align="end center">    \r\n    <div flex-gt-md="60" flex-sm="100">\r\n        <img class="c-knLogistics__image" ng-src="{{::$ctrl.mapImage}}" alt="">\r\n    </div>\r\n    <div flex-gt-md="40" flex-sm="100" class="c-knLogistics__content">\r\n        <h1 class="c-knLogistics__headline">Find your logistics contacts</h1>\r\n        <p class="c-knLogistics__story">We offer a Global Logistics Network with worldwide offices and distribution facilities, staffed by dedicated teams of experts.</p>\r\n        <md-button class="c-knLogistics__button md-accent md-raised" aria-label="Find your local Kuehne + Nagel contacts" href="//www.kn-portal.com/locations/">Find your local Kuehne + Nagel contacts</md-button>\r\n    </div>    \r\n</div>'},function(t,e){t.exports='<header>\r\n    <div layout="row" layout-wrap>\r\n        <h1 class="c-knNews__title" flex-gt-md="auto" flex-xs="100" flex-sm="100" flex-md="100">Kuehne + Nagel News</h1>\r\n        <div class="c-knNews__linkBox" flex-gt-md="1" flex-xs="100" flex-sm="100" flex-md="100">                        \r\n            <a ng-repeat="link in ::$ctrl.links" class="b-knTextLink b-knTextLink-blue c-knNews__link" ng-href="{{::link.link}}">{{::link.title}}</a>\r\n        </div>\r\n    </div>\r\n</header>\r\n<div class="c-knNews" layout="row" layout-wrap  layout-align="space-between stretch">    \r\n    <md-card class="c-knNews__card" flex-gt-md="50" flex-xs="100" flex-sm="100" flex-md="100" data-ng-repeat="card in ::$ctrl.news">\r\n        <div class="c-knNews__image">\r\n            <img ng-src="{{$ctrl.getImage(card.image.path, $index)}}" class="md-card-image">\r\n        </div>\r\n        <md-card-title>\r\n            <md-card-title-text>\r\n                <span class="c-knNews__date md-subhead">{{::card.datetime|date:longDate}} - {{::card.place}}</span>\r\n                <span class="c-knNews__headline md-headline">{{::card.title}}</span>\r\n            </md-card-title-text>\r\n        </md-card-title>\r\n        <md-card-content class="c-knNews__story">\r\n            <p>\r\n                {{::card.teaser}}\r\n            </p>\r\n        </md-card-content>\r\n        <md-card-actions layout="row">\r\n            <a class="b-knTextLink b-knTextLink-blue c-knNews__link" ng-href="{{::card.link}}">Read full article</a>\r\n        </md-card-actions>\r\n    </md-card>\r\n</div>'},function(t,e){t.exports='<md-button id="showQBTOverlay" class="c-knQBTButton__button b-knButton md-accent md-raised md-button" ng-click="$ctrl.showQBTOverlay($event)">\r\n    <div class="b-knButton__body">        \r\n        <span class="b-knSearchButton__title">{{::$ctrl.label}}</span>\r\n    </div>\r\n</md-button>\r\n\r\n<script type="text/ng-template" id="QBTOverlay.tpl.html">\r\n    <md-dialog class="c-knQBTButton__overlay">\r\n        <md-button class="c-knQBTButton__close b-knButton b-knButton_size_s" ng-click="ctrl.close()">\r\n            <div class="b-knButton__body">+</div>\r\n        </md-button>\r\n        <md-dialog-content class="c-knQBTButton__content">\r\n             <kn-qbt overlay="true" active-tab="{{::ctrl.activeTab}}"></kn-qbt>   \r\n        </md-dialog-content>        \r\n    </md-dialog>    \r\n</script>'},function(t,e){t.exports='<div layout="row" layout-wrap layout-align="end center">    \r\n    <div class="c-knQbt__container" offset-gt-sm="{{(!$ctrl.overlay)?\'60\':\'\'}}" flex-gt-sm="{{(!$ctrl.overlay)?\'40\':\'\'}}" flex-sm="100">\r\n        <div class="c-knQbt">\r\n            <ul class="c-knQbt__tabs">                \r\n                <li ng-repeat="(name, tab) in ::$ctrl.tabs" data-tab="{{::tab.label.id}}" class="c-knQbt__tab md-whiteframe-4dp" ng-class="{\'current\': tab.label.id === $ctrl.activeTab}" ng-click="$ctrl.updateView($event)">{{::tab.label.value}}</li>\r\n            </ul>\r\n\r\n            <div class="c-knQbt__tabContent qbt__tab-content md-whiteframe-4dp">                \r\n                <h2 class="c-knQbt__heading" ng-class="{\'c-knQbt-red\':$ctrl.errorMsgFlag}">{{$ctrl.errorMsg || $ctrl.tabContentView.heading}}</h2>\r\n                <!-- TYPO-1847 -->\r\n                <h3 ng-if="$ctrl.tabContentView.radioButtons && $ctrl.mobile" class="c-knQbt__trackTopic" style="margin: 0;">{{ ::$ctrl.tabContentView.radioButtons[0].label }}</h3>\r\n                <!-- TYPO-1847 -->\r\n                <md-radio-group ng-if="$ctrl.tabContentView.radioButtons && !$ctrl.mobile" class="c-knQbt__radioGroup md-primary" ng-model="$ctrl.data">\r\n                    <md-radio-button\r\n                            class="c-knQbt__radio"\r\n                            ng-repeat="item in $ctrl.tabContentView.radioButtons"\r\n                            ng-value="item"\r\n                            ng-disabled="item.isDisabled"\r\n                            ng-click="$ctrl.selectTemplate(item)">\r\n                        {{ ::item.label }}\r\n                    </md-radio-button>\r\n                </md-radio-group>\r\n\r\n                <div class="c-knQbt__template" data-ng-class="{\'defined\': !$ctrl.tabContentView.isDisabled}" ng-include src="$ctrl.tabContentView.template"></div>\r\n                <p class="c-knQbt__tip">{{$ctrl.data.tip.story}} <a class="b-knTextLink b-knTextLink-gray" ng-href="{{$ctrl.data.tip.link.url}}">{{$ctrl.data.tip.link.title}}</a></p>\r\n            </div>\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n<script type="text/ng-template" id="fromToCountry.html">\r\n    <form class="c-knQbt__form" name="quoteForm" layout="column" method="post" action="#" novalidate ng-click="$ctrl.formClicked($event, $ctrl.tabContentView.isDisabled)">\r\n        <md-autocomplete                    \r\n                    md-input-name="from"               \r\n                    md-input-minlength="2"                                        \r\n                    md-selected-item="$ctrl.selectedFromCountry" \r\n                    md-search-text="$ctrl.searchCriteriaFromCountry" \r\n                    md-items="country in $ctrl.query(\'origin\', $ctrl.searchCriteriaFromCountry)"\r\n                    md-item-text="country.name"                    \r\n                    md-dropdown-position="bottom"\r\n                    md-floating-label="from country"\r\n                    md-clear-button="true"                    \r\n                    ng-disabled="$ctrl.tabContentView.isDisabled"\r\n                    required=""\r\n                    md-require-match="">                    \r\n                    <md-item-template>\r\n                        <span md-highlight-text="$ctrl.searchCriteriaFromCountry" md-highlight-flags="i">{{country.name}}</span>\r\n                    </md-item-template>  \r\n                    <div ng-messages="quoteForm.from.$error">\r\n                        <div class="c-knQbt__err" ng-message="required">{{$ctrl.data.validation.required}}</div>                      \r\n                        <div class="c-knQbt__err" ng-message="md-require-match">{{$ctrl.data.validation.mdRequireMatch}}</div>                    \r\n                    </div>                  \r\n            </md-autocomplete>\r\n            <md-autocomplete                            \r\n                    md-input-name="to"              \r\n                    md-input-minlength="2"                                        \r\n                    md-selected-item="$ctrl.selectedToCountry" \r\n                    md-search-text="$ctrl.searchCriteriaToCountry" \r\n                    md-items="country in $ctrl.query(\'destination\', $ctrl.searchCriteriaToCountry)"\r\n                    md-item-text="country.name"\r\n                    md-require-match="" \r\n                    md-dropdown-position="bottom"\r\n                    md-floating-label="to country"\r\n                    md-clear-button="true"\r\n                    md-select-on-match="true"\r\n                    ng-disabled="$ctrl.tabContentView.isDisabled"\r\n                    required="">\r\n                    <md-item-template>\r\n                        <span md-highlight-text="$ctrl.searchCriteriaToCountry" md-highlight-flags="i">{{country.name}}</span>\r\n                    </md-item-template>\r\n                    <div ng-messages="quoteForm.to.$error">\r\n                        <div class="c-knQbt__err" ng-message="required">{{$ctrl.data.validation.required}}</div>                      \r\n                        <div class="c-knQbt__err" ng-message="md-require-match">{{$ctrl.data.validation.mdRequireMatch}}</div>                            \r\n                    </div>                    \r\n            </md-autocomplete>\r\n\r\n        <input type="hidden" name="originCountryCode" value="{{$ctrl.selectedFromCountry.code}}">\r\n        <input type="hidden" name="destinationCountryCode" value="{{$ctrl.selectedToCountry.code}}">        \r\n        <md-button type="submit" class="c-knQbt__button md-accent md-raised" aria-label="Get quote" ng-disabled="$ctrl.tabContentView.isDisabled || quoteForm.$invalid" ng-click="$ctrl.updateAction()">\r\n            {{($ctrl.data.value)?$ctrl.data.value:$ctrl.tabContentView.buttonLabel}}\r\n        </md-button>\r\n    </form>\r\n</script>\r\n\r\n<script type="text/ng-template" id="track.html">\r\n    <md-tabs class="c-knQbt__trackContainer" md-selected="$ctrl.trackView" md-stretch-tabs="always">\r\n        <md-tab label="Transport">\r\n            <div class="c-knQbt__viewContainer" layout="column">    \r\n                <form name="trackForm" layout="row" method="{{::$ctrl.trackData.unified.search.form.method}}" action="{{$ctrl.getUrl($ctrl.trackData.unified.search.form.url)}}" layout-align="center center">\r\n                    <md-input-container flex="grow">\r\n                        <label class="c-knQbt__label">{{::$ctrl.trackData.unified.search.hint}}</label>\r\n                        <input class="c-knQbt__input" type="{{::$ctrl.trackData.unified.search.form.query.type}}" name="{{::$ctrl.trackData.unified.search.form.query.name}}" ng-model="$ctrl.trackNumber" required="">                        \r\n                        <kn-icon data-icon="\'knX\'" data-size="s" color="COBThemeGray" ng-if="$ctrl.trackNumber" class="c-knQbt__clear" ng-click="$ctrl.trackNumber = \'\'"></kn-icon>\r\n                    </md-input-container>\r\n                    <md-button type="submit" class="c-knQbt__trackSubmit md-accent md-raised" ng-disabled="trackForm.$invalid">{{::$ctrl.trackData.unified.search.label}}</md-button>\r\n                </form>\r\n                <div layout="column" flex="auto">\r\n                    <h3 class="c-knQbt__trackTopic">{{::$ctrl.trackData.unified.body.title}}</h3>\r\n                    <h3 class="c-knQbt__trackSubtopic">{{::$ctrl.trackData.unified.body.slogan}}</h3>\r\n                    <p class="c-knQbt__trackText">\r\n                        <span ng-if="::$ctrl.trackData.unified.body.new" class="c-knQbt-new">{{::$ctrl.trackData.unified.body.new}}</span>{{::$ctrl.trackData.unified.body.text}}\r\n                    </p>\r\n                </div>                 \r\n                <md-button class="c-knQbt__viewBtn md-primary c-knQbt-right" aria-label="{{::$ctrl.trackData.unified.link.label}} {{::$ctrl.trackData.unified.link.name}}" ng-click="$ctrl.changeTrackView()"> \r\n                    <div layout="row" layout-align="end center">                   \r\n                        {{::$ctrl.trackData.unified.link.label}}&nbsp;<b>{{::$ctrl.trackData.unified.link.name}}</b>\r\n                        <kn-icon class="c-knQbt__rightIcon" data-icon="\'knArrow2\'" data-size="xs" color="knLightBlue"></kn-icon>\r\n                    </div>\r\n                </md-button>\r\n            </div>\r\n        </md-tab>\r\n        <md-tab label="Tracking">  \r\n            <div class="c-knQbt__viewContainer" layout="column">\r\n                <form name="transportForm" layout="row" method="{{::$ctrl.trackData.transport.search.form.method}}" action="{{$ctrl.getUrl($ctrl.trackData.transport.search.form.url)}}" layout-align="center center">\r\n                    <md-input-container flex="grow">\r\n                        <label class="c-knQbt__label">{{::$ctrl.trackData.transport.search.hint}}</label>\r\n                        <input class="c-knQbt__input" type="{{::$ctrl.trackData.transport.search.form.query.type}}" name="{{::$ctrl.trackData.transport.search.form.query.name}}" ng-model="$ctrl.transportNumber" required="">                        \r\n                        <kn-icon data-icon="\'knX\'" data-size="s" color="COBThemeGray" ng-if="$ctrl.transportNumber" class="c-knQbt__clear" ng-click="$ctrl.transportNumber = \'\'"></kn-icon>\r\n                    </md-input-container>\r\n\r\n                    <input ng-repeat="input in ::$ctrl.trackData.transport.search.form.params" type="{{::input.type}}" name="{{::input.name}}" value="{{::input.value}}">\r\n\r\n                    <md-button type="submit" class="c-knQbt__trackSubmit md-accent md-raised" ng-disabled="transportForm.$invalid">{{$ctrl.trackData.transport.search.label}}</md-button>\r\n                </form>\r\n               <div layout="column" flex="auto">\r\n                    <h3 class="c-knQbt__trackTopic">{{::$ctrl.trackData.transport.body.title}}</h3>\r\n                    <h3 class="c-knQbt__trackSubtopic">{{::$ctrl.trackData.transport.body.slogan}}</h3>\r\n                    <p class="c-knQbt__trackText">\r\n                        <span ng-if="::$ctrl.trackData.transport.body.new" class="c-knQbt-new">{{::$ctrl.trackData.transport.body.new}}</span>{{::$ctrl.trackData.transport.body.text}}\r\n                    </p>\r\n                </div>                 \r\n                <md-button class="c-knQbt__viewBtn md-primary c-knQbt-left" aria-label="{{::$ctrl.trackData.transport.link.label}} {{::$ctrl.trackData.transport.link.name}}" ng-click="$ctrl.changeTrackView()"> \r\n                    <div layout="row" layout-align="end center">                   \r\n                        <kn-icon class="c-knQbt__leftIcon" data-icon="\'knArrow2\'" data-size="xs" color="knLightBlue"></kn-icon>\r\n                        {{::$ctrl.trackData.transport.link.label}}&nbsp;<b>{{::$ctrl.trackData.transport.link.name}}</b>                        \r\n                    </div>\r\n                </md-button>\r\n            </div>\r\n        </md-tab>\r\n    <md-tabs>\r\n</script>\r\n\r\n<script type="text/ng-template" id="freightNet.html">\r\n    <kn-icon ng-if="$ctrl.data.icon" class="c-knQbt__icon" data-icon="$ctrl.data.icon" data-size="ml" color="knBlue"></kn-icon>    \r\n    <h3 class="c-knQbt__topic center">{{$ctrl.data.title}}</h3>\r\n    <p ng-if="$ctrl.data.text" class="center">{{$ctrl.data.text}}</p>\r\n    <md-button ng-if="$ctrl.data.value" ng-href="{{$ctrl.data.url}}" target="{{$ctrl.data.target}}" class="c-knQbt__button md-accent md-raised" aria-label="Login">\r\n        {{$ctrl.data.value}}\r\n    </md-button>\r\n</script>\r\n\r\n'},function(t,e){t.exports='<button class="c-knScrollTop md-fab md-button md-ink-ripple" ng-class="{\'visible\':$ctrl.isVisible}" ng-click="$ctrl.scrollTop()" aria-label="Back to Top">\r\n    <kn-icon data-icon="\'knArrow2\'" data-size="s" color="knWhite"></kn-icon>\r\n</button>'},function(t,e){t.exports='<md-button class="b-knButton b-knSearchButton__button" ng-click="$ctrl.showSearchDropdown($event)">\r\n    <div class="b-knButton__body">\r\n        <kn-icon data-icon="\'knMagnifier\'" data-size="s" color="COBThemeGray"></kn-icon>\r\n        <span class="b-knSearchButton__title">Search</span>\r\n    </div>\r\n</md-button>\r\n\r\n<script type="text/ng-template" id="searchButtonOverlay.tpl.html">\r\n    <form method="get" action="//search.kuehne-nagel.com/web/ig-kn/">\r\n        <div layout="row">\r\n            <input name="q" class="b-knSearchButton__input" type="text">\r\n            <md-button type="submit" name="search" class="b-knButton b-knSearchButton-overlayButton md-primary md-default-theme">\r\n                <div class="b-knButton__body">\r\n                    <kn-icon data-icon="\'knMagnifier\'" data-size="s" color="knWhite"></kn-icon>\r\n                </div>\r\n            </md-button>\r\n        </div>\r\n        <div layout="row">\r\n            <md-checkbox class="md-primary" ng-repeat="checkBox in ::ctrl.searchCheckboxes" aria-label="checkbox" ng-click="ctrl.toggle(checkBox, ctrl.selected)">{{::checkBox.name}}</md-checkbox>\r\n        </div>\r\n        <input class="b-knSearchButton__control" type="checkbox" ng-repeat="checkBox in ::ctrl.searchCheckboxes" name="fa" value="{{::checkBox.value}}" ng-checked="ctrl.exists(checkBox, ctrl.selected)">\r\n        <input type="hidden" value="www.kn-portal.com" name="ul">\r\n    </form>\r\n</script>\r\n\r\n<script type="text/ng-template" id="micrositesSearchButtonOverlay.tpl.html">\r\n    <form method="post" action="{{::ctrl.action}}">\r\n        <div layout="row">\r\n            <input name="tx_indexedsearch[sword]" class="b-knSearchButton__input" type="text">\r\n            <md-button type="submit" name="search" class="b-knButton b-knSearchButton-overlayButton md-primary md-default-theme">\r\n                <div class="b-knButton__body">\r\n                    <kn-icon data-icon="\'knMagnifier\'" data-size="s" color="knWhite"></kn-icon>\r\n                </div>\r\n            </md-button>\r\n        </div>        \r\n        <input ng-repeat="input in ::ctrl.hiddenInput" type="hidden" name="{{::input.name}}" value="{{::input.value}}">        \r\n    </form>\r\n</script>'},function(t,e){t.exports='<div class="c-knVirtualSelect__box" ng-disabled="$ctrl.disabled" ng-click="$ctrl.showVirtualSelect($event)" ng-disabled="$ctrl.disabled">{{$ctrl.getSelectedProperty()}}</div>\r\n<kn-icon class="c-knVirtualSelect__carret" data-icon="\'knArrow2\'" data-size="xs" color="COBThemeGray"></kn-icon>\r\n<label class="c-knVirtualSelect__label">{{::$ctrl.label}}</label>\r\n<!--<input ng-model="$ctrl.selectedItem" type="hidden" name="{{::$ctrl.name}}" value="{{$ctrl.selectedItem.code}}">-->\r\n'},function(t,e){t.exports='<section class="d-knTabs">\r\n    <ul class="d-knTabs__tabsList">\r\n        <li class="d-knTabs__tabsListItem" ng-repeat="pane in knTabs.panes" ng-class="{\'d-knTabs-active\':pane.active}" ng-click="knTabs.select(pane)">\r\n            <label class="d-knTabs__tabLabel">{{pane.title}}</label>\r\n        </li>\r\n    </ul>\r\n    <section class="d-knTabs__tabContentArea" ng-transclude></section>\r\n</section>'},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){
!function(e){function n(){var t=this;c.forEach(function(e){t[e]={name:a,version:[],versionString:a}})}function r(t,e,n){o[e].forEach(function(r){var o=r[0],c=r[1],s=n.match(o);s&&(t[e].name=c,s[2]?(t[e].versionString=s[2],t[e].version=[]):s[1]?(t[e].versionString=s[1].replace(/_/g,"."),t[e].version=i(s[1])):(t[e].versionString=a,t[e].version=[]))})}function i(t){return t.split(/[\._]/).map(function(t){return parseInt(t)})}var o={browser:[[/msie ([\.\_\d]+)/,"ie"],[/trident\/.*?rv:([\.\_\d]+)/,"ie"],[/firefox\/([\.\_\d]+)/,"firefox"],[/chrome\/([\.\_\d]+)/,"chrome"],[/version\/([\.\_\d]+).*?safari/,"safari"],[/mobile safari ([\.\_\d]+)/,"safari"],[/android.*?version\/([\.\_\d]+).*?safari/,"com.android.browser"],[/crios\/([\.\_\d]+).*?safari/,"chrome"],[/opera/,"opera"],[/opera\/([\.\_\d]+)/,"opera"],[/opera ([\.\_\d]+)/,"opera"],[/opera mini.*?version\/([\.\_\d]+)/,"opera.mini"],[/opios\/([a-z\.\_\d]+)/,"opera"],[/blackberry/,"blackberry"],[/blackberry.*?version\/([\.\_\d]+)/,"blackberry"],[/bb\d+.*?version\/([\.\_\d]+)/,"blackberry"],[/rim.*?version\/([\.\_\d]+)/,"blackberry"],[/iceweasel\/([\.\_\d]+)/,"iceweasel"],[/edge\/([\.\d]+)/,"edge"]],os:[[/linux ()([a-z\.\_\d]+)/,"linux"],[/mac os x/,"macos"],[/mac os x.*?([\.\_\d]+)/,"macos"],[/os ([\.\_\d]+) like mac os/,"ios"],[/openbsd ()([a-z\.\_\d]+)/,"openbsd"],[/android/,"android"],[/android ([a-z\.\_\d]+);/,"android"],[/mozilla\/[a-z\.\_\d]+ \((?:mobile)|(?:tablet)/,"firefoxos"],[/windows\s*(?:nt)?\s*([\.\_\d]+)/,"windows"],[/windows phone.*?([\.\_\d]+)/,"windows.phone"],[/windows mobile/,"windows.mobile"],[/blackberry/,"blackberryos"],[/bb\d+/,"blackberryos"],[/rim.*?os\s*([\.\_\d]+)/,"blackberryos"]],device:[[/ipad/,"ipad"],[/iphone/,"iphone"],[/lumia/,"lumia"],[/htc/,"htc"],[/nexus/,"nexus"],[/galaxy nexus/,"galaxy.nexus"],[/nokia/,"nokia"],[/ gt\-/,"galaxy"],[/ sm\-/,"galaxy"],[/xbox/,"xbox"],[/(?:bb\d+)|(?:blackberry)|(?: rim )/,"blackberry"]]},a="Unknown",c=Object.keys(o);n.prototype.sniff=function(t){var e=this,n=(t||navigator.userAgent||"").toLowerCase();c.forEach(function(t){r(e,t,n)})},"undefined"!=typeof t&&t.exports?t.exports=n:(e.Sniffr=new n,e.Sniffr.sniff(navigator.userAgent))}(this)},function(t,e,n){function r(t){return Array.prototype.slice.call(t,0)}function i(t){return t.replace(/\(|\)/g,"\\$&")}function o(t,e,n){var o=t.querySelectorAll(d);o&&r(o).forEach(function(t){t.attributes&&r(t.attributes).forEach(function(r){var o=r.localName.toLowerCase();if(l.indexOf(o)!==-1){var a=u.exec(t.getAttribute(o));if(a&&0===a[1].indexOf(e)){var c=i(n+a[1].split(e)[1]);t.setAttribute(o,"url("+c+")")}}})})}function a(t){try{if(document.importNode)return document.importNode(t,!0)}catch(t){}return t}function c(){var t=document.getElementsByTagName("base")[0],e=window.location.href.split("#")[0],n=t&&t.href;this.urlPrefix=n&&n!==e?e+h:h;var i=new s;i.sniff(),this.browser=i.browser,this.content=[],"ie"!==this.browser.name&&n&&window.addEventListener("spriteLoaderLocationUpdated",function(t){var e=this.urlPrefix,n=t.detail.newUrl.split(h)[0]+h;if(o(this.svg,e,n),this.urlPrefix=n,"firefox"===this.browser.name||"edge"===this.browser.name||"chrome"===this.browser.name&&this.browser.version[0]>=49){var i=r(document.querySelectorAll("use[*|href]"));i.forEach(function(t){var r=t.getAttribute(p);r&&0===r.indexOf(e)&&t.setAttributeNS(f,p,n+r.split(h)[1])})}}.bind(this))}var s=n(204),l=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke"],d="["+l.join("],[")+"]",u=/^url\((.*)\)$/,m=function(t){for(var e=t.querySelector("defs"),n=t.querySelectorAll("symbol linearGradient, symbol radialGradient, symbol pattern"),r=0,i=n.length;r<i;r++)e.appendChild(n[r])},h="#",p="xlink:href",f="http://www.w3.org/1999/xlink",v='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="'+f+'"',g="</svg>",k="{content}";c.styles=["position:absolute","width:0","height:0"],c.spriteTemplate=function(){return v+' style="'+c.styles.join(";")+'"><defs>'+k+"</defs>"+g},c.symbolTemplate=function(){return v+">"+k+g},c.prototype.content=null,c.prototype.add=function(t,e){return this.svg&&this.appendSymbol(t),this.content.push(t),h+e},c.prototype.wrapSVG=function(t,e){var n=e.replace(k,t),r=(new DOMParser).parseFromString(n,"image/svg+xml").documentElement,i=a(r);return"ie"!==this.browser.name&&this.urlPrefix&&o(i,h,this.urlPrefix),i},c.prototype.appendSymbol=function(t){var e=this.wrapSVG(t,c.symbolTemplate()).childNodes[0];this.svg.querySelector("defs").appendChild(e),"firefox"===this.browser.name&&m(this.svg)},c.prototype.toString=function(){var t=document.createElement("div");return t.appendChild(this.render()),t.innerHTML},c.prototype.render=function(t,e){t=t||null,e="boolean"!=typeof e||e;var n=this.wrapSVG(this.content.join(""),c.spriteTemplate());return"firefox"===this.browser.name&&m(n),t&&(e&&t.childNodes[0]?t.insertBefore(n,t.childNodes[0]):t.appendChild(n)),this.svg=n,n},t.exports=c},function(t,e,n){t.exports=n.p+"/typo3conf/ext/kn_tmpl/Resources/Public/images/knMap.png"},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./knActivity.svg":12,"./knAirfreight.svg":13,"./knApp.svg":14,"./knArrow.svg":15,"./knArrow2.svg":16,"./knArrowShadow.svg":17,"./knBack.svg":18,"./knBlog.svg":19,"./knBookmark.svg":20,"./knCalendar.svg":21,"./knChat.svg":22,"./knChatRoom.svg":23,"./knCheck.svg":24,"./knCommunities.svg":25,"./knCommunity.svg":26,"./knCompanyName.svg":27,"./knDetails.svg":28,"./knEdit.svg":29,"./knEmail.svg":30,"./knExclamation.svg":31,"./knFax.svg":32,"./knFiles.svg":33,"./knFlow.svg":34,"./knForum.svg":35,"./knGlobe.svg":36,"./knGlobe2.svg":37,"./knGlobe3.svg":38,"./knHome.svg":39,"./knInfo.svg":40,"./knLink.svg":41,"./knLinkedIn.svg":42,"./knLocations.svg":43,"./knLogin.svg":44,"./knLoginName.svg":45,"./knLogo.svg":46,"./knLogo2.svg":47,"./knMagnifier.svg":48,"./knMedal.svg":49,"./knMeeting.svg":50,"./knMenu.svg":51,"./knNewsticker.svg":52,"./knNotification.svg":53,"./knOverland.svg":54,"./knPhone.svg":55,"./knQuestion.svg":56,"./knQuote.svg":57,"./knRSS.svg":58,"./knSeafreight.svg":59,"./knSignUp.svg":60,"./knTrack.svg":61,"./knTweeter.svg":62,"./knUser.svg":63,"./knX.svg":64};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=207},function(t,e,n){function r(t){return n(i(t))}function i(t){return o[t]||function(){throw new Error("Cannot find module '"+t+"'.")}()}var o={"./knActivity.svg":12,"./knAirfreight.svg":13,"./knApp.svg":14,"./knArrow.svg":15,"./knArrow2.svg":16,"./knArrowShadow.svg":17,"./knBack.svg":18,"./knBlog.svg":19,"./knBookmark.svg":20,"./knCalendar.svg":21,"./knChat.svg":22,"./knChatRoom.svg":23,"./knCheck.svg":24,"./knCommunities.svg":25,"./knCommunity.svg":26,"./knCompanyName.svg":27,"./knDetails.svg":28,"./knEdit.svg":29,"./knEmail.svg":30,"./knExclamation.svg":31,"./knFax.svg":32,"./knFiles.svg":33,"./knFlow.svg":34,"./knForum.svg":35,"./knGlobe.svg":36,"./knGlobe2.svg":37,"./knGlobe3.svg":38,"./knHome.svg":39,"./knInfo.svg":40,"./knLink.svg":41,"./knLinkedIn.svg":42,"./knLocations.svg":43,"./knLogin.svg":44,"./knLoginName.svg":45,"./knLogo.svg":46,"./knLogo2.svg":47,"./knMagnifier.svg":48,"./knMedal.svg":49,"./knMeeting.svg":50,"./knMenu.svg":51,"./knNewsticker.svg":52,"./knNotification.svg":53,"./knOverland.svg":54,"./knPhone.svg":55,"./knQuestion.svg":56,"./knQuote.svg":57,"./knRSS.svg":58,"./knSeafreight.svg":59,"./knSignUp.svg":60,"./knTrack.svg":61,"./knTweeter.svg":62,"./knUser.svg":63,"./knX.svg":64};r.keys=function(){return Object.keys(o)},r.resolve=i,t.exports=r,r.id=208}]);
//# sourceMappingURL=app.min.js.map
webpackJsonp([4],[function(t,n){angular.bootstrap(document.getElementsByTagName("html")[0],["knApp"],{strictDi:!0})}]);
//# sourceMappingURL=run.min.js.map