!function(P,ge,be){"use strict";functione(e,t){if(t.has("$swipe")){e.warn("You are using the ngTouch module. \nAngularJS Material already has mobile click, tap, and swipe support... \nngTouch is not supported with AngularJS Material!")}}functiont(e,t){e.decorator("$$rAF",["$delegate",n]),e.decorator("$q",["$delegate",o]),t.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("deep-orange").backgroundPalette("grey")}functionn(r){returnr.throttle=function(e){vart,n,o,i;returnfunction(){t=arguments,i=this,o=e,n||(n=!0,r(function(){o.apply(i,Array.prototype.slice.call(t)),n=!1}))}},r}functiono(e){returne.resolve||(e.resolve=e.when),e}functioni(r){return{restrict:"A",link:{pre:function(e,t,n){varo=n.mdAutoFocus||n.mdAutofocus||n.mdSidenavFocus;i(r(o)(e)),o&&e.$watch(o,i);functioni(e){ge.isUndefined(e)&&(e=!0),t.toggleClass("md-autofocus",!!e)}}}}}functionr(e,d){functions(){return!0}e&&!ge.isArray(e)&&(e=Array.prototype.slice.call(e)),d=!!d;varl=e||[];return{items:function(){return[].concat(l)},count:function(){returnl.length},inRange:c,contains:t,indexOf:m,itemAt:function(e){returnc(e)?l[e]:null},findBy:function(t,n){returnl.filter(function(e){returne[t]===n})},add:function(e,t){if(!e)return-1;ge.isNumber(t)||(t=l.length);returnl.splice(t,0,e),m(e)},remove:function(e){t(e)&&l.splice(m(e),1)},first:u,last:p,next:ge.bind(null,n,!1),previous:ge.bind(null,n,!0),hasPrevious:function(e){return!!e&&c(m(e)-1)},hasNext:function(e){return!!e&&c(m(e)+1)}};functionc(e){returnl.length&&-1<e&&e<l.length}functionm(e){returnl.indexOf(e)}functiont(e){returne&&-1<m(e)}functionu(){returnl.length?l[0]:null}functionp(){returnl.length?l[l.length-1]:null}functionn(e,t,n,o){n=n||s;for(vari=m(t);;){if(!c(i))returnnull;varr=i+(e?-1:1),a=null;if(c(r)?a=l[r]:d&&(r=m(a=e?p():u())),null===a||r===o)returnnull;if(n(a))returna;ge.isUndefined(o)&&(o=r),i=r}}}functiona(a,t,o){varr={},d={},i={},n={};returne.getResponsiveAttribute=function(e,t){for(varn=0;n<a.MEDIA_PRIORITY.length;n++){varo=a.MEDIA_PRIORITY[n];if(d[r[o]].matches){vari=l(e,t+"-"+o);if(e[i])returne[i]}}returne[l(e,t)]},e.getQuery=function(e){returnd[e]},e.watchResponsiveAttributes=function(e,o,i){varr=[];returne.forEach(function(e){vart=l(o,e);for(varninge.isDefined(o[t])&&r.push(o.$observe(t,ge.bind(void0,i,null))),a.MEDIA)t=l(o,e+"-"+n),ge.isDefined(o[t])&&r.push(o.$observe(t,ge.bind(void0,i,n)))}),function(){r.forEach(function(e){e()})}},e;functione(e){vart=r[e];ge.isUndefined(t)&&(t=r[e]=function(e){returna.MEDIA[e]||("("!==e.charAt(0)?"("+e+")":e)}(e));varn=i[t];returnge.isUndefined(n)&&(n=function(e){vart=d[e];t=t||(d[e]=o.matchMedia(e));returnt.addListener(s),i[t.media]=!!t.matches}(t)),n}functions(e){t.$evalAsync(function(){i[e.media]=!!e.matches})}functionl(e,t){returnn[t]||(n[t]=e.$normalize(t))}}functiond(e,t){varo=["data","x"];returne?t?n(e):i(e):{buildList:i,buildSelector:n,hasAttribute:function(e,t){if(!(e=r(e)))return!1;for(varn=i(t),o=0;o<n.length;o++)if(e.hasAttribute(n[o]))return!0;return!1},removeAttribute:function(t,e){if(!(t=r(t)))return;i(e).forEach(function(e){t.removeAttribute(e)})}};functioni(n){return(n=ge.isArray(n)?n:[n]).forEach(function(t){o.forEach(function(e){n.push(e+"-"+t)})}),n}functionn(e){returni(e=ge.isArray(e)?e:[e]).map(function(e){return"["+e+"]"}).join(",")}functionr(e){if((e=e[0]||e).nodeType)returne}}functionA(e){returne.replace(/-[a-z]/g,function(e){returne.charAt(1).toUpperCase()})}varw,_,k,x,N,s,l,c,m,u,p,h,f,g,b,v,E,$,y,C,M,T;functionS(o,i,s,r){vara=this.showWarnings;return{expect:d,expectAsync:l,expectWithText:function(e,t){varn=c(e)||"";-1<n.indexOf(r.startSymbol())?l(e,t,function(){returnc(e)}):d(e,t,n)},expectWithoutText:function(e,t){varn=c(e);-1<n.indexOf(r.startSymbol())||n||d(e,t,n)},getText:c,hasAriaLabel:m,parentHasAriaLabel:functione(t,n){n=n||1;varo=ge.element(t)[0]||t;if(!o.parentNode)return!1;if(i(o.parentNode))return!0;n--;if(n)returne(o.parentNode,n);return!1;functioni(e){if(!m(e))return!1;if(e.hasAttribute("role"))switch(e.getA