nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / angular-material / modules / js / core / core.min.js
1 /*!
2  * Angular Material Design
3  * https://github.com/angular/material
4  * @license MIT
5  * v0.9.8
6  */
7 !function(e,t,o){"use strict";function d(e,t){e.decorator("$$rAF",["$delegate",r]),t.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("red").backgroundPalette("grey")}function r(e){return e.throttle=function(t){var o,d,r,n;return function(){o=arguments,n=this,r=t,d||(d=!0,e(function(){r.apply(n,o),d=!1}))}},e}function n(e,t){function o(e){return d?"webkit"+e.charAt(0).toUpperCase()+e.substring(1):e}var d=/webkit/i.test(t.vendorPrefix);return{KEY_CODE:{ENTER:13,ESCAPE:27,SPACE:32,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,TAB:9,BACKSPACE:8,DELETE:46},CSS:{TRANSITIONEND:"transitionend"+(d?" webkitTransitionEnd":""),ANIMATIONEND:"animationend"+(d?" webkitAnimationEnd":""),TRANSFORM:o("transform"),TRANSFORM_ORIGIN:o("transformOrigin"),TRANSITION:o("transition"),TRANSITION_DURATION:o("transitionDuration"),ANIMATION_PLAY_STATE:o("animationPlayState"),ANIMATION_DURATION:o("animationDuration"),ANIMATION_NAME:o("animationName"),ANIMATION_TIMING:o("animationTimingFunction"),ANIMATION_DIRECTION:o("animationDirection")},MEDIA:{sm:"(max-width: 600px)","gt-sm":"(min-width: 600px)",md:"(min-width: 600px) and (max-width: 960px)","gt-md":"(min-width: 960px)",lg:"(min-width: 960px) and (max-width: 1200px)","gt-lg":"(min-width: 1200px)"},MEDIA_PRIORITY:["gt-lg","lg","gt-md","md","gt-sm","sm"]}}function m(e,o){function d(){return[].concat(M)}function r(){return M.length}function n(e){return M.length&&e>-1&&e<M.length}function m(e){return e?n(u(e)+1):!1}function a(e){return e?n(u(e)-1):!1}function c(e){return n(e)?M[e]:null}function i(e,t){return M.filter(function(o){return o[e]===t})}function l(e,o){return e?(t.isNumber(o)||(o=M.length),M.splice(o,0,e),u(e)):-1}function s(e){E(e)&&M.splice(u(e),1)}function u(e){return M.indexOf(e)}function E(e){return e&&u(e)>-1}function h(){return M.length?M[0]:null}function f(){return M.length?M[M.length-1]:null}function b(e,d,r,m){r=r||p;for(var a=u(d);;){if(!n(a))return null;var c=a+(e?-1:1),i=null;if(n(c)?i=M[c]:o&&(i=e?f():h(),c=u(i)),null===i||c===m)return null;if(r(i))return i;t.isUndefined(m)&&(m=c),a=c}}var p=function(){return!0};e&&!t.isArray(e)&&(e=Array.prototype.slice.call(e)),o=!!o;var M=e||[];return{items:d,count:r,inRange:n,contains:E,indexOf:u,itemAt:c,findBy:i,add:l,remove:s,first:h,last:f,next:t.bind(null,b,!1),previous:t.bind(null,b,!0),hasPrevious:a,hasNext:m}}function a(e,o,d){function r(e){var o=u[e];t.isUndefined(o)&&(o=u[e]=n(e));var d=h[o];return t.isUndefined(d)&&(d=m(o)),d}function n(t){return e.MEDIA[t]||("("!==t.charAt(0)?"("+t+")":t)}function m(e){var t=E[e]=d.matchMedia(e);return t.addListener(a),h[t.media]=!!t.matches}function a(e){o.$evalAsync(function(){h[e.media]=!!e.matches})}function c(e){return E[e]}function i(t,o){for(var d=0;d<e.MEDIA_PRIORITY.length;d++){var r=e.MEDIA_PRIORITY[d];if(E[u[r]].matches){var n=s(t,o+"-"+r);if(t[n])return t[n]}}return t[s(t,o)]}function l(o,d,r){var n=[];return o.forEach(function(o){var m=s(d,o);d[m]&&n.push(d.$observe(m,t.bind(void 0,r,null)));for(var a in e.MEDIA){if(m=s(d,o+"-"+a),!d[m])return;n.push(d.$observe(m,t.bind(void 0,r,a)))}}),function(){n.forEach(function(e){e()})}}function s(e,t){return f[t]||(f[t]=e.$normalize(t))}var u={},E={},h={},f={};return r.getResponsiveAttribute=i,r.getQuery=c,r.watchResponsiveAttributes=l,r}function c(e,o,d){function r(e,d,r){var n=e[0]||e;!n||n.hasAttribute(d)&&0!==n.getAttribute(d).length||c(n,d)||(r=t.isString(r)?r.trim():"",r.length?e.attr(d,r):o.warn('ARIA: Attribute "',d,'", required for accessibility, is missing on node:',n))}function n(t,o,d){e(function(){r(t,o,d())})}function m(e,t){n(e,t,function(){return a(e)})}function a(e){return e.text().trim()}function c(e,t){function o(e){var t=e.currentStyle?e.currentStyle:d.getComputedStyle(e);return"none"===t.display}var r=e.hasChildNodes(),n=!1;if(r)for(var m=e.childNodes,a=0;a<m.length;a++){var c=m[a];1===c.nodeType&&c.hasAttribute(t)&&(o(c)||(n=!0))}return n}return{expect:r,expectAsync:n,expectWithText:m}}function i(e,o,d,r,n,m){this.compile=function(a){var c=a.templateUrl,i=a.template||"",l=a.controller,s=a.controllerAs,u=a.resolve||{},E=a.locals||{},h=a.transformTemplate||t.identity,f=a.bindToController;return t.forEach(u,function(e,o){u[o]=t.isString(e)?d.get(e):d.invoke(e)}),t.extend(u,E),u.$template=c?o.get(c,{cache:m}).then(function(e){return e.data}):e.when(i),e.all(u).then(function(e){var o=h(e.$template),d=a.element||t.element("<div>").html(o.trim()).contents(),m=r(d);return{locals:e,element:d,link:function(o){if(e.$scope=o,l){var r=n(l,e,!0);f&&t.extend(r.instance,e);var a=r();d.data("$ngControllerController",a),d.children().data("$ngControllerController",a),s&&(o[s]=a)}return m(o)}}})}}function l(){}function s(o,d,r){function n(e,t,o){var d=I[t.replace(/^\$md./,"")];if(!d)throw new Error("Failed to register element with handler "+t+". Available handlers: "+Object.keys(I).join(", "));return d.registerElement(e,o)}function m(e,d){var r=new o(e);return t.extend(r,d),I[e]=r,s}var a=navigator.userAgent||navigator.vendor||e.opera,c=a.match(/ipad|iphone|ipod/i),i=a.match(/android/i),l="undefined"!=typeof e.jQuery&&t.element===e.jQuery,s={handler:m,register:n,isHijackingClicks:(c||i)&&!l&&!O};return s.isHijackingClicks&&s.handler("click",{options:{maxDistance:6},onEnd:function(e,t){t.distance<this.state.options.maxDistance&&this.dispatchEvent(e,"click")}}),s.handler("press",{onStart:function(e,t){this.dispatchEvent(e,"$md.pressdown")},onEnd:function(e,t){this.dispatchEvent(e,"$md.pressup")}}).handler("hold",{options:{maxDistance:6,delay:500},onCancel:function(){r.cancel(this.state.timeout)},onStart:function(e,o){return this.state.registeredParent?(this.state.pos={x:o.x,y:o.y},void(this.state.timeout=r(t.bind(this,function(){this.dispatchEvent(e,"$md.hold"),this.cancel()}),this.state.options.delay,!1))):this.cancel()},onMove:function(e,t){e.preventDefault();var o=this.state.pos.x-t.x,d=this.state.pos.y-t.y;Math.sqrt(o*o+d*d)>this.options.maxDistance&&this.cancel()},onEnd:function(){this.onCancel()}}).handler("drag",{options:{minDistance:6,horizontal:!0,cancelMultiplier:1.5},onStart:function(e){this.state.registeredParent||this.cancel()},onMove:function(e,t){var o,d;e.preventDefault(),this.state.dragPointer?this.dispatchDragMove(e):(this.state.options.horizontal?(o=Math.abs(t.distanceX)>this.state.options.minDistance,d=Math.abs(t.distanceY)>this.state.options.minDistance*this.state.options.cancelMultiplier):(o=Math.abs(t.distanceY)>this.state.options.minDistance,d=Math.abs(t.distanceX)>this.state.options.minDistance*this.state.options.cancelMultiplier),o?(this.state.dragPointer=f(e),p(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragstart",this.state.dragPointer)):d&&this.cancel())},dispatchDragMove:d.throttle(function(e){this.state.isRunning&&(p(e,this.state.dragPointer),this.dispatchEvent(e,"$md.drag",this.state.dragPointer))}),onEnd:function(e,t){this.state.dragPointer&&(p(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragend",this.state.dragPointer))}}).handler("swipe",{options:{minVelocity:.65,minDistance:10},onEnd:function(e,t){if(Math.abs(t.velocityX)>this.state.options.minVelocity&&Math.abs(t.distanceX)>this.state.options.minDistance){var o="left"==t.directionX?"$md.swipeleft":"$md.swiperight";this.dispatchEvent(e,o)}}})}function u(e){this.name=e,this.state={}}function E(){function o(e,o,d){d=d||D;var r=new t.element.Event(o);r.$material=!0,r.pointer=d,r.srcEvent=e,t.extend(r,{clientX:d.x,clientY:d.y,screenX:d.x,screenY:d.y,pageX:d.x,pageY:d.y,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,metaKey:e.metaKey}),t.element(d.target).trigger(r)}function d(t,o,d){d=d||D;var r;"click"===o?(r=document.createEvent("MouseEvents"),r.initMouseEvent("click",!0,!0,e,t.detail,d.x,d.y,d.x,d.y,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,t.button,t.relatedTarget||null)):(r=document.createEvent("CustomEvent"),r.initCustomEvent(o,!0,!0,{})),r.$material=!0,r.pointer=d,r.srcEvent=t,d.target.dispatchEvent(r)}var r="undefined"!=typeof e.jQuery&&t.element===e.jQuery;return u.prototype={options:{},dispatchEvent:r?o:d,onStart:t.noop,onMove:t.noop,onEnd:t.noop,onCancel:t.noop,start:function(e,o){if(!this.state.isRunning){var d=this.getNearestParent(e.target),r=d&&d.$mdGesture[this.name]||{};this.state={isRunning:!0,options:t.extend({},this.options,r),registeredParent:d},this.onStart(e,o)}},move:function(e,t){this.state.isRunning&&this.onMove(e,t)},end:function(e,t){this.state.isRunning&&(this.onEnd(e,t),this.state.isRunning=!1)},cancel:function(e,t){this.onCancel(e,t),this.state={}},getNearestParent:function(e){for(var t=e;t;){if((t.$mdGesture||{})[this.name])return t;t=t.parentNode}return null},registerElement:function(e,t){function o(){delete e[0].$mdGesture[d.name],e.off("$destroy",o)}var d=this;return e[0].$mdGesture=e[0].$mdGesture||{},e[0].$mdGesture[this.name]=t||{},e.on("$destroy",o),o}},u}function h(e,o){function d(e,t){var d;for(var r in I)d=I[r],d instanceof o&&("start"===e&&d.cancel(),d[e](t,D))}function r(e){if(!D){var t=+Date.now();R&&!b(e,R)&&t-R.endTime<1500||(D=f(e),d("start",e))}}function n(e){D&&b(e,D)&&(p(e,D),d("move",e))}function m(e){D&&b(e,D)&&(p(e,D),D.endTime=+Date.now(),d("end",e),R=D,D=null)}document.contains||(document.contains=function(e){return document.body.contains(e)}),!P&&e.isHijackingClicks&&(document.addEventListener("click",function(e){var t=0===e.clientX&&0===e.clientY;t||e.$material||e.isIonicTap||(e.preventDefault(),e.stopPropagation())},!0),P=!0);var a="mousedown touchstart pointerdown",c="mousemove touchmove pointermove",i="mouseup mouseleave touchend touchcancel pointerup pointercancel";t.element(document).on(a,r).on(c,n).on(i,m).on("$$mdGestureReset",function(){R=D=null})}function f(e){var t=M(e),o={startTime:+Date.now(),target:e.target,type:e.type.charAt(0)};return o.startX=o.x=t.pageX,o.startY=o.y=t.pageY,o}function b(e,t){return e&&t&&e.type.charAt(0)===t.type}function p(e,t){var o=M(e),d=t.x=o.pageX,r=t.y=o.pageY;t.distanceX=d-t.startX,t.distanceY=r-t.startY,t.distance=Math.sqrt(t.distanceX*t.distanceX+t.distanceY*t.distanceY),t.directionX=t.distanceX>0?"right":t.distanceX<0?"left":"",t.directionY=t.distanceY>0?"up":t.distanceY<0?"down":"",t.duration=+Date.now()-t.startTime,t.velocityX=t.distanceX/t.duration,t.velocityY=t.distanceY/t.duration}function M(e){return e=e.originalEvent||e,e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||e}function g(){function e(e){function o(e){return c.optionsFactory=e.options,c.methods=(e.methods||[]).concat(m),i}function d(e,t){return a[e]=t,i}function r(t,o){if(o=o||{},o.methods=o.methods||[],o.options=o.options||function(){return{}},/^cancel|hide|show$/.test(t))throw new Error("Preset '"+t+"' in "+e+" is reserved!");if(o.methods.indexOf("_options")>-1)throw new Error("Method '_options' in "+e+" is reserved!");return c.presets[t]={methods:o.methods.concat(m),optionsFactory:o.options,argOption:o.argOption},i}function n(o,d,r){function n(e){return e&&e._options&&(e=e._options),s.show(t.extend({},l,e))}function m(t,o){var d={};return d[e]=u,r.invoke(t||function(){return o},{},d)}var i,l,s=o(),u={hide:s.hide,cancel:s.cancel,show:n};return i=c.methods||[],l=m(c.optionsFactory,{}),t.forEach(a,function(e,t){u[t]=e}),t.forEach(c.presets,function(e,o){function d(e){this._options=t.extend({},r,e)}var r=m(e.optionsFactory,{}),n=(e.methods||[]).concat(i);if(t.extend(r,{$type:o}),t.forEach(n,function(e){d.prototype[e]=function(t){return this._options[e]=t,this}}),e.argOption){var a="show"+o.charAt(0).toUpperCase()+o.slice(1);u[a]=function(e){var t=u[o](e);return u.show(t)}}u[o]=function(o){return arguments.length&&e.argOption&&!t.isObject(o)&&!t.isArray(o)?(new d)[e.argOption](o):new d(o)}}),u}var m=["onHide","onShow","onRemove"],a={},c={presets:{}},i={setDefaults:o,addPreset:r,addMethod:d,$get:n};return i.addPreset("build",{methods:["controller","controllerAs","resolve","template","templateUrl","themable","transformTemplate","parent"]}),n.$inject=["$$interimElement","$animate","$injector"],i}function d(e,d,r,n,m,a,c,i,l){function s(e){return e&&t.isString(e)?e.replace(/\{\{/g,u).replace(/}}/g,E):e}var u=c.startSymbol(),E=c.endSymbol(),h="{{"===u&&"}}"===E,f=h?t.identity:s;return function(){function c(e){if(b.length)return h.cancel().then(function(){return c(e)});var t=new E(e);return b.push(t),t.show().then(function(){return t.deferred.promise})}function s(e){var t=b.shift();return t&&t.remove().then(function(){t.deferred.resolve(e)})}function u(e){var t=b.shift();return d.when(t&&t.remove().then(function(){t.deferred.reject(e)}))}function E(c){var s,u,E,b,p;return c=c||{},c=t.extend({preserveScope:!1,scope:c.scope||r.$new(c.isolateScope),onShow:function(e,t,o){return a.enter(t,o.parent)},onRemove:function(e,t,o){return t&&a.leave(t)||d.when()}},c),c.template&&(c.template=f(c.template)),s={options:c,deferred:d.defer(),show:function(){var o;return o=c.skipCompile?d(function(e){e({locals:{},link:function(){return c.element}})}):i.compile(c),b=o.then(function(o){function r(){c.hideDelay&&(u=n(h.cancel,c.hideDelay))}if(t.extend(o.locals,s.options),E=o.link(c.scope),t.isFunction(c.parent)?c.parent=c.parent(c.scope,E,c):t.isString(c.parent)&&(c.parent=t.element(e[0].querySelector(c.parent))),!(c.parent||{}).length){var a;m[0]&&m[0].querySelector&&(a=m[0].querySelector(":not(svg) > body")),a||(a=m[0]),"#comment"==a.nodeName&&(a=e[0].body),c.parent=t.element(a)}c.themable&&l(E);var i=c.onShow(c.scope,E,c);return d.when(i).then(function(){(c.onComplete||t.noop)(c.scope,E,c),r()})},function(e){b=!0,s.deferred.reject(e)})},cancelTimeout:function(){u&&(n.cancel(u),u=o)},remove:function(){return s.cancelTimeout(),p=d.when(b).then(function(){var e=E?c.onRemove(c.scope,E,c):!0;return d.when(e).then(function(){c.preserveScope||c.scope.$destroy(),p=!0})})}}}var h,b=[];return h={show:c,hide:s,cancel:u}}}return e.$get=d,d.$inject=["$document","$q","$rootScope","$timeout","$rootElement","$animate","$interpolate","$mdCompiler","$mdTheming"],e}function A(e,o){function d(e){return e&&""!==e}var r,n=[],m={};return r={notFoundError:function(t){e.error("No instance found for handle",t)},getInstances:function(){return n},get:function(e){if(!d(e))return null;var t,o,r;for(t=0,o=n.length;o>t;t++)if(r=n[t],r.$$mdHandle===e)return r;return null},register:function(e,o){function d(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}function r(){var t=m[o];t&&(t.resolve(e),delete m[o])}return o?(e.$$mdHandle=o,n.push(e),r(),d):t.noop},when:function(e){if(d(e)){var t=o.defer(),n=r.get(e);return n?t.resolve(n):m[e]=t,t.promise}return o.reject("Invalid `md-component-id` value.")}}}function T(e,o){return{controller:t.noop,link:function(t,d,r){r.hasOwnProperty("mdInkRippleCheckbox")?o.attach(t,d):e.attach(t,d)}}}function N(e,o){function d(d,r,n){function m(){var e=r.data("$mdRippleContainer");return e?e:(e=t.element('<div class="md-ripple-container">'),r.append(e),r.data("$mdRippleContainer",e),e)}function a(e){function t(e){var t="#"===e.charAt(0)?e.substr(1):e,o=t.length/3,d=t.substr(0,o),r=t.substr(o,o),n=t.substr(2*o);return 1===o&&(d+=d,r+=r,n+=n),"rgba("+parseInt(d,16)+","+parseInt(r,16)+","+parseInt(n,16)+",0.1)"}function o(e){return e.replace(")",", 0.1)").replace("(","a(")}if(e)return 0===e.indexOf("rgba")?e.replace(/\d?\.?\d*\s*\)\s*$/,"0.1)"):0===e.indexOf("rgb")?o(e):0===e.indexOf("#")?t(e):void 0}function c(e,t){p.splice(p.indexOf(e),1),0===p.length&&m().css({backgroundColor:""}),o(function(){e.remove()},t,!1)}function i(e){var t=p.indexOf(e),o=M[t]||{},d=p.length>1?!1:A,r=p.length>1?!1:T;d||o.animating||r?e.addClass("md-ripple-visible"):e&&(e.removeClass("md-ripple-visible"),n.outline&&e.css({width:h+"px",height:h+"px",marginLeft:-1*h+"px",marginTop:-1*h+"px"}),c(e,n.outline?450:650))}function l(d,c){function l(e){var o=t.element('<div class="md-ripple" data-counter="'+b++ +'">');return p.unshift(o),M.unshift({animating:!0}),E.append(o),e&&o.css(e),o}function s(e,t){var o,d,r,m=E.prop("offsetWidth"),a=E.prop("offsetHeight");return n.isMenuItem?d=Math.sqrt(Math.pow(m,2)+Math.pow(a,2)):n.outline?(r=N.getBoundingClientRect(),e-=r.left,t-=r.top,m=Math.max(e,m-e),a=Math.max(t,a-t),d=2*Math.sqrt(Math.pow(m,2)+Math.pow(a,2))):(o=n.fullRipple?1.1:.8,d=Math.sqrt(Math.pow(m,2)+Math.pow(a,2))*o,n.fitRipple&&(d=Math.min(a,m,d))),d}function u(e,t,o){function d(e){return e.replace("rgba","rgb").replace(/,[^\),]+\)/,")")}var r=N.getBoundingClientRect(),m={backgroundColor:d(H),borderColor:d(H),width:e+"px",height:e+"px"};return n.outline?(m.width=0,m.height=0):m.marginLeft=m.marginTop=e*-.5+"px",n.center?m.left=m.top="50%":(m.left=Math.round((t-r.left)/E.prop("offsetWidth")*100)+"%",m.top=Math.round((o-r.top)/E.prop("offsetHeight")*100)+"%"),m}H=a(r.attr("md-ink-ripple"))||a(e.getComputedStyle(n.colorElement[0]).color||"rgb(0, 0, 0)");var E=m(),f=s(d,c),g=u(f,d,c),A=l(g),T=p.indexOf(A),_=M[T]||{};return h=f,_.animating=!0,o(function(){n.dimBackground&&E.css({backgroundColor:H}),A.addClass("md-ripple-placed md-ripple-scaled"),A.css(n.outline?{borderWidth:.5*f+"px",marginLeft:f*-.5+"px",marginTop:f*-.5+"px"}:{left:"50%",top:"50%"}),i(A),o(function(){_.animating=!1,i(A)},n.outline?450:225,!1)},0,!1),A}function s(e){E()&&(l(e.pointer.x,e.pointer.y),T=!0)}function u(){T=!1;var e=p[p.length-1];o(function(){i(e)},0,!1)}function E(){function e(e){return e&&e.hasAttribute&&e.hasAttribute("disabled")}var t=N.parentNode,o=t&&t.parentNode,d=o&&o.parentNode;return!(e(N)||e(t)||e(o)||e(d))}if(r.controller("mdNoInk"))return t.noop;n=t.extend({colorElement:r,mousedown:!0,hover:!0,focus:!0,center:!1,mousedownPauseTime:150,dimBackground:!1,outline:!1,fullRipple:!0,isMenuItem:!1,fitRipple:!1},n);var h,f=r.controller("mdInkRipple")||{},b=0,p=[],M=[],g=r.attr("md-highlight"),A=!1,T=!1,N=r[0],_=r.attr("md-ripple-size"),H=a(r.attr("md-ink-ripple"))||a(n.colorElement.length&&e.getComputedStyle(n.colorElement[0]).color||"rgb(0, 0, 0)");switch(_){case"full":n.fullRipple=!0;break;case"partial":n.fullRipple=!1}return n.mousedown&&r.on("$md.pressdown",s).on("$md.pressup",u),f.createRipple=l,g&&d.$watch(g,function(e){A=e,A&&!p.length&&o(function(){l(0,0)},0,!1),t.forEach(p,i)}),function(){r.off("$md.pressdown",s).off("$md.pressup",u),m().remove()}}return{attach:d}}function _(){return function(){return{controller:t.noop}}}function H(e){function d(e,t){return t=t||{},j[e]=n(e,t),i}function r(e,o){return n(e,t.extend({},j[e]||{},o))}function n(e,t){var o=Z.filter(function(e){return!t[e]});if(o.length)throw new Error("Missing colors %1 in palette %2!".replace("%1",o.join(", ")).replace("%2",e));return t}function m(e,o){if(L[e])return L[e];o=o||"default";var d="string"==typeof o?L[o]:o,r=new a(e);return d&&t.forEach(d.colors,function(e,o){r.colors[o]={name:e.name,hues:t.extend({},e.hues)}}),L[e]=r,r}function a(e){function o(e){if(e=0===arguments.length?!0:!!e,e!==d.isDark){d.isDark=e,d.foregroundPalette=d.isDark?F:B,d.foregroundShadow=d.isDark?U:X;var o=d.isDark?V:Q,r=d.isDark?Q:V;return t.forEach(o,function(e,t){var o=d.colors[t],n=r[t];if(o)for(var m in o.hues)o.hues[m]===n[m]&&(o.hues[m]=e[m])}),d}}var d=this;d.name=e,d.colors={},d.dark=o,o(!1),z.forEach(function(e){var o=(d.isDark?V:Q)[e];d[e+"Palette"]=function(r,n){var m=d.colors[e]={name:r,hues:t.extend({},o,n)};return Object.keys(m.hues).forEach(function(e){if(!o[e])throw new Error("Invalid hue name '%1' in theme %2's %3 color %4. Available hue names: %4".replace("%1",e).replace("%2",d.name).replace("%3",r).replace("%4",Object.keys(o).join(", ")))}),Object.keys(m.hues).map(function(e){return m.hues[e]}).forEach(function(t){if(-1==Z.indexOf(t))throw new Error("Invalid hue value '%1' in theme %2's %3 color %4. Available hue values: %5".replace("%1",t).replace("%2",d.name).replace("%3",e).replace("%4",r).replace("%5",Z.join(", ")))}),d},d[e+"Color"]=function(){var t=Array.prototype.slice.call(arguments);return console.warn("$mdThemingProviderTheme."+e+"Color() has been deprecated. Use $mdThemingProviderTheme."+e+"Palette() instead."),d[e+"Palette"].apply(d,t)}})}function c(e,d){function r(e){return e===o||""===e?!0:n.THEMES[e]!==o}function n(t,d){d===o&&(d=t,t=o),t===o&&(t=e),n.inherit(d,d)}return n.inherit=function(o,n){function m(e){r(e)||d.warn("Attempted to use unregistered theme '"+e+"'. Register it with $mdThemingProvider.theme().");var t=o.data("$mdThemeName");t&&o.removeClass("md-"+t+"-theme"),o.addClass("md-"+e+"-theme"),o.data("$mdThemeName",e)}var a=n.controller("mdTheme"),c=o.attr("md-theme-watch");if((s||t.isDefined(c))&&"false"!=c){var i=e.$watch(function(){return a&&a.$mdTheme||l},m);o.on("$destroy",i)}else{var u=a&&a.$mdTheme||l;m(u)}},n.THEMES=t.extend({},L),n.defaultTheme=function(){return l},n.registered=r,n}j={},L={};var i,l="default",s=!1;return t.extend(j,e),c.$inject=["$rootScope","$log"],i={definePalette:d,extendPalette:r,theme:m,setDefaultTheme:function(e){l=e},alwaysWatchTheme:function(e){s=e},$get:c,_LIGHT_DEFAULT_HUES:Q,_DARK_DEFAULT_HUES:V,_PALETTES:j,_THEMES:L,_parseRules:w,_rgba:C}}function k(e,t,o){return{priority:100,link:{pre:function(d,r,n){var m={$setTheme:function(t){e.registered(t)||o.warn("attempted to use unregistered theme '"+t+"'"),m.$mdTheme=t}};r.data("$mdThemeController",m),m.$setTheme(t(n.mdTheme)(d)),n.$observe("mdTheme",m.$setTheme)}}}}function v(e){return e}function w(e,o,d){$(e,o),d=d.replace(/THEME_NAME/g,e.name);var r=[],n=e.colors[o],m=new RegExp(".md-"+e.name+"-theme","g"),a=new RegExp("('|\")?{{\\s*("+o+")-(color|contrast)-?(\\d\\.?\\d*)?\\s*}}(\"|')?","g"),c=/'?"?\{\{\s*([a-zA-Z]+)-(A?\d+|hue\-[0-3]|shadow)-?(\d\.?\d*)?\s*\}\}'?"?/g,i=j[n.name];return d=d.replace(c,function(t,o,d,r){return"foreground"===o?"shadow"==d?e.foregroundShadow:e.foregroundPalette[d]||e.foregroundPalette[1]:(0===d.indexOf("hue")&&(d=e.colors[o].hues[d]),C((j[e.colors[o].name][d]||"").value,r))}),t.forEach(n.hues,function(t,o){var n=d.replace(a,function(e,o,d,r,n){return C(i[t]["color"===r?"value":"contrast"],n)});"default"!==o&&(n=n.replace(m,".md-"+e.name+"-theme.md-"+o)),"default"==e.name&&(n=n.replace(/\.md-default-theme/g,"")),r.push(n)}),r}function y(e){function o(e){var o=e.contrastDefaultColor,d=e.contrastLightColors||[],r=e.contrastStrongLightColors||[],n=e.contrastDarkColors||[];"string"==typeof d&&(d=d.split(" ")),"string"==typeof r&&(r=r.split(" ")),"string"==typeof n&&(n=n.split(" ")),delete e.contrastDefaultColor,delete e.contrastLightColors,delete e.contrastStrongLightColors,delete e.contrastDarkColors,t.forEach(e,function(m,a){function c(){return"light"===o?n.indexOf(a)>-1?G:r.indexOf(a)>-1?q:K:d.indexOf(a)>-1?r.indexOf(a)>-1?q:K:G}if(!t.isObject(m)){var i=x(m);if(!i)throw new Error("Color %1, in palette %2's hue %3, is invalid. Hex or rgb(a) color expected.".replace("%1",m).replace("%2",e.name).replace("%3",a));e[a]={value:i,contrast:c()}}})}var d=document.getElementsByTagName("head")[0],r=d?d.firstElementChild:null,n=e.has("$MD_THEME_CSS")?e.get("$MD_THEME_CSS"):"";if(r&&0!==n.length){t.forEach(j,o);var m={},a=n.split(/\}(?!(\}|'|"|;))/).filter(function(e){return e&&e.length}).map(function(e){return e.trim()+"}"}),c=new RegExp("md-("+z.join("|")+")","g");z.forEach(function(e){m[e]=""}),a.forEach(function(e){for(var t,o=(e.match(c),0);t=z[o];o++)if(e.indexOf(".md-"+t)>-1)return m[t]+=e;for(o=0;t=z[o];o++)if(e.indexOf(t)>-1)return m[t]+=e;return m[W]+=e}),t.forEach(L,function(e){Y[e.name]||(z.forEach(function(t){for(var o=w(e,t,m[t]);o.length;){var n=document.createElement("style");n.setAttribute("type","text/css"),n.appendChild(document.createTextNode(o.shift())),d.insertBefore(n,r)}}),e.colors.primary.name==e.colors.accent.name&&console.warn("$mdThemingProvider: Using the same palette for primary and accent. This violates the material design spec."),Y[e.name]=!0)})}}function $(e,t){if(!j[(e.colors[t]||{}).name])throw new Error("You supplied an invalid color palette for theme %1's %2 palette. Available palettes: %3".replace("%1",e.name).replace("%2",t).replace("%3",Object.keys(j).join(", ")))}function x(e){if(t.isArray(e)&&3==e.length)return e;if(/^rgb/.test(e))return e.replace(/(^\s*rgba?\(|\)\s*$)/g,"").split(",").map(function(e,t){return 3==t?parseFloat(e,10):parseInt(e,10)});if("#"==e.charAt(0)&&(e=e.substring(1)),/^([a-fA-F0-9]{3}){1,2}$/g.test(e)){var o=e.length/3,d=e.substr(0,o),r=e.substr(o,o),n=e.substr(2*o);return 1===o&&(d+=d,r+=r,n+=n),[parseInt(d,16),parseInt(r,16),parseInt(n,16)]}}function C(e,o){return e?(4==e.length&&(e=t.copy(e),o?e.pop():o=e.pop()),o&&("number"==typeof o||"string"==typeof o&&o.length)?"rgba("+e.join(",")+","+o+")":"rgb("+e.join(",")+")"):"rgb('0,0,0')"}t.module("material.core",["material.core.gestures","material.core.theming"]).config(d),d.$inject=["$provide","$mdThemingProvider"],t.module("material.core").factory("$mdConstant",n),n.$inject=["$$rAF","$sniffer"],t.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.iterator=m,e}])}]),t.module("material.core").factory("$mdMedia",a),a.$inject=["$mdConstant","$rootScope","$window"];var S=0;t.module("material.core").factory("$mdUtil",["$cacheFactory","$document","$timeout","$q","$window","$mdConstant",function(d,r,n,m,a,c){function i(e){return e[0]||e}var l;return l={now:e.performance?t.bind(e.performance,e.performance.now):Date.now,clientRect:function(e,t,o){var d=i(e);t=i(t||d.offsetParent||document.body);var r=d.getBoundingClientRect(),n=o?t.getBoundingClientRect():{left:0,top:0,width:0,height:0};return{left:r.left-n.left,top:r.top-n.top,width:r.width,height:r.height}},offsetRect:function(e,t){return l.clientRect(e,t,!0)},disableScrollAround:function(e){function o(){function e(e){c.contains(e.target)&&(e.preventDefault(),e.stopImmediatePropagation())}function o(e){e.preventDefault()}var d=t.element('<div class="md-scroll-mask"><div class="md-scroll-mask-bar"></div></div>'),m=a.getComputedStyle(c),i=c.getBoundingClientRect(),l=i.width-c.clientWidth;return n(d[0],{zIndex:"auto"==m.zIndex?2:m.zIndex+1,width:i.width+"px",height:i.height+"px",top:i.top+"px",left:i.left+"px"}),d[0].firstElementChild.style.width=l+"px",r[0].body.appendChild(d[0]),d.on("wheel",o),d.on("touchmove",o),r.on("keydown",e),function(){d.off("wheel"),d.off("touchmove"),d[0].parentNode.removeChild(d[0]),r.off("keydown",e)}}function d(){var e=c.getAttribute("style")||"",t=c.scrollTop;return n(c,{position:"fixed",width:"100%",overflowY:"scroll",top:-t+"px"}),function(){c.setAttribute("style",e),c.scrollTop=t}}function n(e,t){for(var o in t)e.style[o]=t[o]}function m(e){return e instanceof t.element&&(e=e[0]),e.scrollHeight>e.offsetHeight}e=e instanceof t.element?e[0]:e;for(var c,i=e;i=this.getClosest(i,"MD-CONTENT",!0);)m(i)&&(c=t.element(i)[0]);return c||(c=r[0].body,m(c))?"BODY"==c.nodeName?d():o():t.noop},floatingScrollbars:function(){if(this.floatingScrollbars.cached===o){var e=t.element('<div style="width: 100%; z-index: -1; position: absolute; height: 35px; overflow-y: scroll"><div style="height: 60;"></div></div>');r[0].body.appendChild(e[0]),this.floatingScrollbars.cached=e[0].offsetWidth==e[0].childNodes[0].offsetWidth,e.remove()}return this.floatingScrollbars.cached},forceFocus:function(t){var o=t[0]||t;document.addEventListener("click",function r(e){e.target===o&&e.$focus&&(o.focus(),e.stopImmediatePropagation(),e.preventDefault(),o.removeEventListener("click",r))},!0);var d=document.createEvent("MouseEvents");d.initMouseEvent("click",!1,!0,e,{},0,0,0,0,!1,!1,!1,!1,0,null),d.$material=!0,d.$focus=!0,o.dispatchEvent(d)},transitionEndPromise:function(e,t){function o(t){t&&t.target!==e[0]||(e.off(c.CSS.TRANSITIONEND,o),d.resolve())}t=t||{};var d=m.defer();return e.on(c.CSS.TRANSITIONEND,o),t.timeout&&n(o,t.timeout),d.promise},fakeNgModel:function(){return{$fake:!0,$setTouched:t.noop,$setViewValue:function(e){this.$viewValue=e,this.$render(e),this.$viewChangeListeners.forEach(function(e){e()})},$isEmpty:function(e){return 0===(""+e).length},$parsers:[],$formatters:[],$viewChangeListeners:[],$render:t.noop}},debounce:function(e,t,d,r){var m;return function(){var a=d,c=Array.prototype.slice.call(arguments);n.cancel(m),m=n(function(){m=o,e.apply(a,c)},t||10,r)}},throttle:function(e,t){var o;return function(){var d=this,r=arguments,n=l.now();(!o||n-o>t)&&(e.apply(d,r),o=n)}},time:function(e){var t=l.now();return e(),l.now()-t},nextUid:function(){return""+S++},disconnectScope:function(e){if(e&&e.$root!==e&&!e.$$destroyed){var t=e.$parent;e.$$disconnected=!0,t.$$childHead===e&&(t.$$childHead=e.$$nextSibling),t.$$childTail===e&&(t.$$childTail=e.$$prevSibling),e.$$prevSibling&&(e.$$prevSibling.$$nextSibling=e.$$nextSibling),e.$$nextSibling&&(e.$$nextSibling.$$prevSibling=e.$$prevSibling),e.$$nextSibling=e.$$prevSibling=null}},reconnectScope:function(e){if(e&&e.$root!==e&&e.$$disconnected){var t=e,o=t.$parent;t.$$disconnected=!1,t.$$prevSibling=o.$$childTail,o.$$childHead?(o.$$childTail.$$nextSibling=t,o.$$childTail=t):o.$$childHead=o.$$childTail=t}},getClosest:function(e,o,d){if(e instanceof t.element&&(e=e[0]),o=o.toUpperCase(),d&&(e=e.parentNode),!e)return null;do if(e.nodeName===o)return e;while(e=e.parentNode);return null},extractElementByName:function(e,o){for(var d=0,r=e.length;r>d;d++)if(e[d].nodeName.toLowerCase()===o)return t.element(e[d]);return e},initOptionalProperties:function(e,o,d){d=d||{},t.forEach(e.$$isolateBindings,function(r,n){if(r.optional&&t.isUndefined(e[n])){var m=o.hasOwnProperty(o.$normalize(r.attrName));e[n]=t.isDefined(d[n])?d[n]:m}})}}}]),t.element.prototype.focus=t.element.prototype.focus||function(){return this.length&&this[0].focus(),this},t.element.prototype.blur=t.element.prototype.blur||function(){return this.length&&this[0].blur(),this},t.module("material.core").service("$mdAria",c),c.$inject=["$$rAF","$log","$window"],t.module("material.core").service("$mdCompiler",i),i.$inject=["$q","$http","$injector","$compile","$controller","$templateCache"];var D,R,I={},O=!1,P=!1;t.module("material.core.gestures",[]).provider("$mdGesture",l).factory("$$MdGestureHandler",E).run(h),l.prototype={skipClickHijack:function(){return O=!0},$get:["$$MdGestureHandler","$$rAF","$timeout",function(e,t,o){return new s(e,t,o)}]},s.$inject=["$$MdGestureHandler","$$rAF","$timeout"],h.$inject=["$mdGesture","$$MdGestureHandler"],t.module("material.core").provider("$$interimElement",g),t.module("material.core").factory("$mdComponentRegistry",A),A.$inject=["$log","$q"],function(){function e(e){function o(o,r,n){var m=d(r);return e.attach(o,r,t.extend(m,n))}function d(e){return e.hasClass("md-icon-button")?{isMenuItem:e.hasClass("md-menu-item"),fitRipple:!0,center:!0}:{isMenuItem:e.hasClass("md-menu-item"),dimBackground:!0}}return{attach:o}}t.module("material.core").factory("$mdButtonInkRipple",e),e.$inject=["$mdInkRipple"]}(),function(){function e(e){function o(o,d,r){return e.attach(o,d,t.extend({center:!0,dimBackground:!1,fitRipple:!0},r))}return{attach:o}}t.module("material.core").factory("$mdCheckboxInkRipple",e),e.$inject=["$mdInkRipple"]}(),function(){function e(e){function o(o,d,r){return e.attach(o,d,t.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},r))}return{attach:o}}t.module("material.core").factory("$mdListInkRipple",e),e.$inject=["$mdInkRipple"]}(),t.module("material.core").factory("$mdInkRipple",N).directive("mdInkRipple",T).directive("mdNoInk",_()).directive("mdNoBar",_()).directive("mdNoStretch",_()),T.$inject=["$mdButtonInkRipple","$mdCheckboxInkRipple"],N.$inject=["$window","$timeout"],function(){function e(e){function o(o,d,r){return e.attach(o,d,t.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},r))}return{attach:o}}t.module("material.core").factory("$mdTabInkRipple",e),e.$inject=["$mdInkRipple"]}(),t.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 400 A100",
8 contrastStrongLightColors:"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 300 400 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:"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:"500 600 700 800 900 A700",contrastStrongLightColors:"500 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:"500 600 700 800 900",contrastStrongLightColors:"500 600 700 800"},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:"800 900",contrastStrongLightColors:"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",contrastStrongLightColors:"300 400"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",1000:"#000000",A100:"#ffffff",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900"},"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",contrastStrongLightColors:"400 500"}}),t.module("material.core.theming",["material.core.theming.palette"]).directive("mdTheme",k).directive("mdThemable",v).provider("$mdTheming",H).run(y);var j,L,Y={},B={name:"dark",1:"rgba(0,0,0,0.87)",2:"rgba(0,0,0,0.54)",3:"rgba(0,0,0,0.26)",4:"rgba(0,0,0,0.12)"},F={name:"light",1:"rgba(255,255,255,1.0)",2:"rgba(255,255,255,0.7)",3:"rgba(255,255,255,0.3)",4:"rgba(255,255,255,0.12)"},U="1px 1px 0px rgba(0,0,0,0.4), -1px -1px 0px rgba(0,0,0,0.4)",X="",G=x("rgba(0,0,0,0.87)"),K=x("rgba(255,255,255,0.87"),q=x("rgb(255,255,255)"),z=["primary","accent","warn","background"],W="primary",Q={accent:{"default":"A200","hue-1":"A100","hue-2":"A400","hue-3":"A700"},background:{"default":"A100","hue-1":"300","hue-2":"800","hue-3":"900"}},V={background:{"default":"800","hue-1":"300","hue-2":"600","hue-3":"900"}};z.forEach(function(e){var t={"default":"500","hue-1":"300","hue-2":"800","hue-3":"A100"};Q[e]||(Q[e]=t),V[e]||(V[e]=t)});var Z=["50","100","200","300","400","500","600","700","800","900","A100","A200","A400","A700"];H.$inject=["$mdColorPalette"],k.$inject=["$mdTheming","$interpolate","$log"],v.$inject=["$mdTheming"],y.$inject=["$injector"],function(){t.module("material.core").constant("$MD_THEME_CSS","/* mixin definition ; sets LTR and RTL within the same style call */md-autocomplete.md-THEME_NAME-theme {  background: '{{background-50}}'; }  md-autocomplete.md-THEME_NAME-theme[disabled] {    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.md-THEME_NAME-theme {  background: '{{background-50}}'; }  .md-autocomplete-suggestions.md-THEME_NAME-theme li {    color: '{{background-900}}'; }    .md-autocomplete-suggestions.md-THEME_NAME-theme li .highlight {      color: '{{background-600}}'; }    .md-autocomplete-suggestions.md-THEME_NAME-theme li:hover, .md-autocomplete-suggestions.md-THEME_NAME-theme li.selected {      background: '{{background-200}}'; }md-backdrop.md-opaque.md-THEME_NAME-theme {  background-color: '{{foreground-4-0.5}}'; }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}}'; }  md-bottom-sheet.md-THEME_NAME-theme .md-subheader {    color: '{{foreground-1}}'; }a.md-button.md-THEME_NAME-theme, .md-button.md-THEME_NAME-theme {  border-radius: 3px; }  a.md-button.md-THEME_NAME-theme:not([disabled]):hover, .md-button.md-THEME_NAME-theme:not([disabled]):hover {    background-color: '{{background-500-0.2}}'; }  a.md-button.md-THEME_NAME-theme:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme:not([disabled]).md-focused {    background-color: '{{background-500-0.2}}'; }  a.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover, .md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover {    background-color: transparent; }  a.md-button.md-THEME_NAME-theme.md-fab, .md-button.md-THEME_NAME-theme.md-fab {    border-radius: 50%;    background-color: '{{accent-color}}';    color: '{{accent-contrast}}'; }    a.md-button.md-THEME_NAME-theme.md-fab md-icon, .md-button.md-THEME_NAME-theme.md-fab md-icon {      color: '{{accent-contrast}}'; }    a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover {      background-color: '{{accent-color}}'; }    a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused {      background-color: '{{accent-A700}}'; }  a.md-button.md-THEME_NAME-theme.md-icon-button, .md-button.md-THEME_NAME-theme.md-icon-button {    border-radius: 50%; }  a.md-button.md-THEME_NAME-theme.md-primary, .md-button.md-THEME_NAME-theme.md-primary {    color: '{{primary-color}}'; }    a.md-button.md-THEME_NAME-theme.md-primary.md-raised, a.md-button.md-THEME_NAME-theme.md-primary.md-fab, .md-button.md-THEME_NAME-theme.md-primary.md-raised, .md-button.md-THEME_NAME-theme.md-primary.md-fab {      color: '{{primary-contrast}}';      background-color: '{{primary-color}}'; }      a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon, a.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, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon {        color: '{{primary-contrast}}'; }      a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover, a.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]):hover, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover {        background-color: '{{primary-color}}'; }      a.md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, a.md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused {        background-color: '{{primary-600}}'; }    a.md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon {      color: '{{primary-color}}'; }  a.md-button.md-THEME_NAME-theme.md-fab, .md-button.md-THEME_NAME-theme.md-fab {    border-radius: 50%;    background-color: '{{accent-color}}';    color: '{{accent-contrast}}'; }    a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon {      color: '{{accent-contrast}}'; }    a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover {      background-color: '{{accent-color}}'; }    a.md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused {      background-color: '{{accent-A700}}'; }  a.md-button.md-THEME_NAME-theme.md-raised, .md-button.md-THEME_NAME-theme.md-raised {    color: '{{background-contrast}}';    background-color: '{{background-50}}'; }    a.md-button.md-THEME_NAME-theme.md-raised:not([disabled]) .md-icon, .md-button.md-THEME_NAME-theme.md-raised:not([disabled]) .md-icon {      color: '{{background-contrast}}'; }    a.md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover {      background-color: '{{background-50}}'; }    a.md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused {      background-color: '{{background-200}}'; }  a.md-button.md-THEME_NAME-theme.md-warn, .md-button.md-THEME_NAME-theme.md-warn {    color: '{{warn-color}}'; }    a.md-button.md-THEME_NAME-theme.md-warn.md-raised, a.md-button.md-THEME_NAME-theme.md-warn.md-fab, .md-button.md-THEME_NAME-theme.md-warn.md-raised, .md-button.md-THEME_NAME-theme.md-warn.md-fab {      color: '{{warn-contrast}}';      background-color: '{{warn-color}}'; }      a.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon, a.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, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon {        color: '{{warn-contrast}}'; }      a.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover, a.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]):hover, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover {        background-color: '{{warn-color}}'; }      a.md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused, a.md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused {        background-color: '{{warn-700}}'; }    a.md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon {      color: '{{warn-color}}'; }  a.md-button.md-THEME_NAME-theme.md-accent, .md-button.md-THEME_NAME-theme.md-accent {    color: '{{accent-color}}'; }    a.md-button.md-THEME_NAME-theme.md-accent.md-raised, a.md-button.md-THEME_NAME-theme.md-accent.md-fab, .md-button.md-THEME_NAME-theme.md-accent.md-raised, .md-button.md-THEME_NAME-theme.md-accent.md-fab {      color: '{{accent-contrast}}';      background-color: '{{accent-color}}'; }      a.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon, a.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, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon {        color: '{{accent-contrast}}'; }      a.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover, a.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]):hover, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover {        background-color: '{{accent-color}}'; }      a.md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused, a.md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused {        background-color: '{{accent-700}}'; }    a.md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon {      color: '{{accent-color}}'; }  a.md-button.md-THEME_NAME-theme[disabled], a.md-button.md-THEME_NAME-theme.md-raised[disabled], a.md-button.md-THEME_NAME-theme.md-fab[disabled], a.md-button.md-THEME_NAME-theme.md-accent[disabled], a.md-button.md-THEME_NAME-theme.md-warn[disabled], .md-button.md-THEME_NAME-theme[disabled], .md-button.md-THEME_NAME-theme.md-raised[disabled], .md-button.md-THEME_NAME-theme.md-fab[disabled], .md-button.md-THEME_NAME-theme.md-accent[disabled], .md-button.md-THEME_NAME-theme.md-warn[disabled] {    color: '{{foreground-3}}';    cursor: not-allowed; }    a.md-button.md-THEME_NAME-theme[disabled] md-icon, a.md-button.md-THEME_NAME-theme.md-raised[disabled] md-icon, a.md-button.md-THEME_NAME-theme.md-fab[disabled] md-icon, a.md-button.md-THEME_NAME-theme.md-accent[disabled] md-icon, a.md-button.md-THEME_NAME-theme.md-warn[disabled] md-icon, .md-button.md-THEME_NAME-theme[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-raised[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-fab[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-accent[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-warn[disabled] md-icon {      color: '{{foreground-3}}'; }  a.md-button.md-THEME_NAME-theme.md-raised[disabled], a.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-fab[disabled] {    background-color: '{{foreground-4}}'; }  a.md-button.md-THEME_NAME-theme[disabled], .md-button.md-THEME_NAME-theme[disabled] {    background-color: transparent; }md-card.md-THEME_NAME-theme {  background-color: '{{background-color}}';  border-radius: 2px; }  md-card.md-THEME_NAME-theme .md-card-image {    border-radius: 2px 2px 0 0; }md-chips.md-THEME_NAME-theme .md-chips {  box-shadow: 0 1px '{{background-300}}'; }  md-chips.md-THEME_NAME-theme .md-chips.md-focused {    box-shadow: 0 2px '{{primary-color}}'; }md-chips.md-THEME_NAME-theme .md-chip {  background: '{{background-300}}';  color: '{{background-800}}'; }  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-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 {  background-color: '{{background-color}}'; }md-checkbox.md-THEME_NAME-theme .md-ripple {  color: '{{accent-600}}'; }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-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: '{{background-200}}'; }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-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: '{{background-200}}'; }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-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] .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-label {  color: '{{foreground-3}}'; }md-dialog.md-THEME_NAME-theme {  border-radius: 4px;  background-color: '{{background-color}}'; }  md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions {    border-top-color: '{{foreground-4}}'; }md-divider.md-THEME_NAME-theme {  border-top-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}}';  text-shadow: '{{foreground-shadow}}'; }  md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder, md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder, md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder, md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder {    color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme > md-icon {  color: '{{foreground-1}}'; }md-input-container.md-THEME_NAME-theme label, md-input-container.md-THEME_NAME-theme .md-placeholder {  text-shadow: '{{foreground-shadow}}';  color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme ng-messages, md-input-container.md-THEME_NAME-theme [ng-message], md-input-container.md-THEME_NAME-theme [data-ng-message], md-input-container.md-THEME_NAME-theme [x-ng-message] {  color: '{{warn-500}}'; }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 {  border-color: '{{primary-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label {  color: '{{primary-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon {  color: '{{primary-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input {  border-color: '{{accent-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label {  color: '{{accent-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input {  border-color: '{{warn-500}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label {  color: '{{warn-500}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input {  border-color: '{{warn-500}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid.md-input-focused label {  color: '{{warn-500}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid data-ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid x-ng-message, md-input-container.md-THEME_NAME-theme.md-input-invalid [ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid [data-ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid [x-ng-message], md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter {  color: '{{warn-500}}'; }md-input-container.md-THEME_NAME-theme .md-input[disabled], [disabled] md-input-container.md-THEME_NAME-theme .md-input {  border-bottom-color: transparent;  color: '{{foreground-3}}';  background-image: linear-gradient(to right, '{{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-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-list.md-THEME_NAME-theme md-list-item button {  background-color: '{{background-color}}'; }  md-list.md-THEME_NAME-theme md-list-item button.md-button:not([disabled]):hover {    background-color: '{{background-color}}'; }md-progress-circular.md-THEME_NAME-theme {  background-color: transparent; }  md-progress-circular.md-THEME_NAME-theme .md-inner .md-gap {    border-top-color: '{{primary-color}}';    border-bottom-color: '{{primary-color}}'; }  md-progress-circular.md-THEME_NAME-theme .md-inner .md-left .md-half-circle, md-progress-circular.md-THEME_NAME-theme .md-inner .md-right .md-half-circle {    border-top-color: '{{primary-color}}'; }  md-progress-circular.md-THEME_NAME-theme .md-inner .md-right .md-half-circle {    border-right-color: '{{primary-color}}'; }  md-progress-circular.md-THEME_NAME-theme .md-inner .md-left .md-half-circle {    border-left-color: '{{primary-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-warn .md-inner .md-gap {    border-top-color: '{{warn-color}}';    border-bottom-color: '{{warn-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-warn .md-inner .md-left .md-half-circle, md-progress-circular.md-THEME_NAME-theme.md-warn .md-inner .md-right .md-half-circle {    border-top-color: '{{warn-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-warn .md-inner .md-right .md-half-circle {    border-right-color: '{{warn-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-warn .md-inner .md-left .md-half-circle {    border-left-color: '{{warn-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-accent .md-inner .md-gap {    border-top-color: '{{accent-color}}';    border-bottom-color: '{{accent-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-accent .md-inner .md-left .md-half-circle, md-progress-circular.md-THEME_NAME-theme.md-accent .md-inner .md-right .md-half-circle {    border-top-color: '{{accent-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-accent .md-inner .md-right .md-half-circle {    border-right-color: '{{accent-color}}'; }  md-progress-circular.md-THEME_NAME-theme.md-accent .md-inner .md-left .md-half-circle {    border-left-color: '{{accent-color}}'; }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-600}}'; }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, 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 {  background-color: '{{primary-color-0.87}}'; }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, 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 {  border-color: '{{primary-color-0.87}}'; }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, 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 {  color: '{{primary-color-0.87}}'; }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, 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 {  color: '{{primary-600}}'; }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, 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 {  background-color: '{{warn-color-0.87}}'; }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, 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 {  border-color: '{{warn-color-0.87}}'; }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, 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 {  color: '{{warn-color-0.87}}'; }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, 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 {  color: '{{warn-600}}'; }md-radio-group.md-THEME_NAME-theme[disabled], md-radio-button.md-THEME_NAME-theme[disabled] {  color: '{{foreground-3}}'; }  md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-off, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-off {    border-color: '{{foreground-3}}'; }  md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-on, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-on {    border-color: '{{foreground-3}}'; }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:not([disabled]).md-primary .md-container:before {  background-color: '{{primary-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-primary .md-container:before {  background-color: '{{warn-color-0.26}}'; }md-sidenav.md-THEME_NAME-theme {  background-color: '{{background-color}}'; }md-select.md-THEME_NAME-theme.ng-invalid.ng-dirty .md-select-label {  color: '{{warn-500}}' !important;  border-bottom-color: '{{warn-500}}' !important; }md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-label {  border-bottom-color: '{{primary-color}}';  color: '{{ foreground-1 }}'; }  md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-label.md-placeholder {    color: '{{ foreground-1 }}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-accent .md-select-label {  border-bottom-color: '{{accent-color}}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-warn .md-select-label {  border-bottom-color: '{{warn-color}}'; }md-select.md-THEME_NAME-theme[disabled] .md-select-label {  color: '{{foreground-3}}'; }  md-select.md-THEME_NAME-theme[disabled] .md-select-label.md-placeholder {    color: '{{foreground-3}}'; }md-select.md-THEME_NAME-theme .md-select-label {  border-bottom-color: '{{foreground-4}}'; }  md-select.md-THEME_NAME-theme .md-select-label.md-placeholder {    color: '{{foreground-2}}'; }md-select-menu.md-THEME_NAME-theme md-optgroup {  color: '{{foreground-2}}'; }  md-select-menu.md-THEME_NAME-theme md-optgroup md-option {    color: '{{foreground-1}}'; }md-select-menu.md-THEME_NAME-theme md-option[selected] {  color: '{{primary-500}}'; }  md-select-menu.md-THEME_NAME-theme md-option[selected]:focus {    color: '{{primary-600}}'; }  md-select-menu.md-THEME_NAME-theme md-option[selected].md-accent {    color: '{{accent-500}}'; }    md-select-menu.md-THEME_NAME-theme md-option[selected].md-accent:focus {      color: '{{accent-600}}'; }md-select-menu.md-THEME_NAME-theme md-option:focus:not([selected]) {  background: '{{background-200}}'; }md-slider.md-THEME_NAME-theme .md-track {  background-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme .md-track-ticks {  background-color: '{{foreground-4}}'; }md-slider.md-THEME_NAME-theme .md-focus-thumb {  background-color: '{{foreground-2}}'; }md-slider.md-THEME_NAME-theme .md-focus-ring {  border-color: '{{foreground-4}}'; }md-slider.md-THEME_NAME-theme .md-disabled-thumb {  border-color: '{{background-color}}'; }md-slider.md-THEME_NAME-theme.md-min .md-thumb:after {  background-color: '{{background-color}}'; }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-thumb-text {  color: '{{accent-contrast}}'; }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-thumb-text {  color: '{{warn-contrast}}'; }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-thumb-text {  color: '{{primary-contrast}}'; }md-slider.md-THEME_NAME-theme[disabled] .md-thumb:after {  border-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme[disabled]:not(.md-min) .md-thumb:after {  background-color: '{{foreground-3}}'; }.md-subheader.md-THEME_NAME-theme {  color: '{{ foreground-2-0.23 }}';  background-color: '{{background-color}}'; }  .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-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-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-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-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] {    color: '{{foreground-3}}'; }  md-tabs.md-THEME_NAME-theme .md-tab.md-active, md-tabs.md-THEME_NAME-theme .md-tab.md-focused {    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-100}}'; }md-tabs.md-THEME_NAME-theme.md-accent md-tabs-wrapper {  background-color: '{{accent-color}}'; }md-tabs.md-THEME_NAME-theme.md-accent md-tab-item:not([disabled]) {  color: '{{accent-100}}'; }  md-tabs.md-THEME_NAME-theme.md-accent md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-accent md-tab-item:not([disabled]).md-focused {    color: '{{accent-contrast}}'; }  md-tabs.md-THEME_NAME-theme.md-accent md-tab-item:not([disabled]).md-focused {    background: '{{accent-contrast-0.1}}'; }md-tabs.md-THEME_NAME-theme.md-accent 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-tab-item:not([disabled]) {  color: '{{primary-100}}'; }  md-tabs.md-THEME_NAME-theme.md-primary md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-primary md-tab-item:not([disabled]).md-focused {    color: '{{primary-contrast}}'; }  md-tabs.md-THEME_NAME-theme.md-primary 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-tab-item:not([disabled]) {  color: '{{warn-100}}'; }  md-tabs.md-THEME_NAME-theme.md-warn md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-warn md-tab-item:not([disabled]).md-focused {    color: '{{warn-contrast}}'; }  md-tabs.md-THEME_NAME-theme.md-warn 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-tab-item:not([disabled]) {  color: '{{primary-100}}'; }  md-toolbar > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-active, md-toolbar > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-focused {    color: '{{primary-contrast}}'; }  md-toolbar > md-tabs.md-THEME_NAME-theme 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-tab-item:not([disabled]) {  color: '{{accent-100}}'; }  md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-active, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-focused {    color: '{{accent-contrast}}'; }  md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-focused {    background: '{{accent-contrast-0.1}}'; }md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme 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-tab-item:not([disabled]) {  color: '{{warn-100}}'; }  md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-active, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-focused {    color: '{{warn-contrast}}'; }  md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme md-tab-item:not([disabled]).md-focused {    background: '{{warn-contrast-0.1}}'; }md-toast.md-THEME_NAME-theme {  background-color: #323232;  color: '{{background-50}}'; }  md-toast.md-THEME_NAME-theme .md-button {    color: '{{background-50}}'; }    md-toast.md-THEME_NAME-theme .md-button.md-highlight {      color: '{{primary-A200}}'; }      md-toast.md-THEME_NAME-theme .md-button.md-highlight.md-accent {        color: '{{accent-A200}}'; }      md-toast.md-THEME_NAME-theme .md-button.md-highlight.md-warn {        color: '{{warn-A200}}'; }md-toolbar.md-THEME_NAME-theme {  background-color: '{{primary-color}}';  color: '{{primary-contrast}}'; }  md-toolbar.md-THEME_NAME-theme md-icon {    color: '{{primary-contrast}}'; }  md-toolbar.md-THEME_NAME-theme .md-button {    color: '{{primary-contrast}}'; }  md-toolbar.md-THEME_NAME-theme.md-accent {    background-color: '{{accent-color}}';    color: '{{accent-contrast}}'; }  md-toolbar.md-THEME_NAME-theme.md-warn {    background-color: '{{warn-color}}';    color: '{{warn-contrast}}'; }md-tooltip.md-THEME_NAME-theme {  color: '{{background-A100}}'; }  md-tooltip.md-THEME_NAME-theme .md-background {    background-color: '{{foreground-2}}'; }");
9
10 }()}(window,window.angular);