/*!
 * AngularJS Material Design
 * https://github.com/angular/material
 * @license MIT
 * v1.2.3-master-8add881
 */
function mdIconDirective(u,c,g,e){return{restrict:"E",link:function(e,t,n){c(t);var i=n.mdFontIcon,r=u.fontSet(n.mdFontSet);n.mdSvgIcon||n.mdSvgSrc||(n.mdFontIcon&&t.addClass("md-font "+n.mdFontIcon),t.addClass(r)),n.$observe("mdFontIcon",o),n.$observe("mdFontSet",o),n.role||(g.expect(t,"role","img"),n.role="img");t[0].hasAttribute("aria-label")&&""===n.ariaLabel&&t.attr("aria-hidden",!0);"img"!==n.role||n.ariaHidden||g.hasAriaLabel(t)||(t[0].hasAttribute("alt")&&""===n.alt?t.attr("aria-hidden",!0):n.alt?g.expect(t,"aria-label",n.alt):g.parentHasAriaLabel(t,2)?g.expect(t,"aria-hidden","true"):n.mdFontIcon||n.mdSvgIcon||t.text()?g.expect(t,"aria-label",n.mdFontIcon||n.mdSvgIcon||t.text()):g.expect(t,"aria-hidden","true"));var a=n.$normalize(n.$attr.mdSvgIcon||n.$attr.mdSvgSrc||"");a&&n.$observe(a,function(e){t.empty(),e&&u(e).then(function(e){t.empty(),t.append(e)})});function o(){if(!n.mdSvgIcon&&!n.mdSvgSrc){n.mdFontIcon&&(t.removeClass(i),t.addClass(n.mdFontIcon),i=n.mdFontIcon);var e=u.fontSet(n.mdFontSet);r!==e&&(t.removeClass(r),t.addClass(e),r=e)}}}}}goog.provide("ngmaterial.components.icon"),goog.require("ngmaterial.core"),angular.module("material.components.icon",["material.core"]),angular.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria","$sce",mdIconDirective]),MdIconService.$inject=["config","$templateRequest","$q","$log","$mdUtil","$sce"],angular.module("material.components.icon").constant("$$mdSvgRegistry",{mdTabsArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMT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oIGQ9Ik0yNCAxNmwtMTIgMTIgMi44MyAyLjgzIDkuMTctOS4xNyA5LjE3IDkuMTcgMi44My0yLjgzeiIvPjxwYXRoIGQ9Ik0wIDBoNDh2NDhoLTQ4eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",mdCalendar:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgM2gtMVYxaC0ydjJIOFYxSDZ2Mkg1Yy0xLjExIDAtMS45OS45LTEuOTkgMkwzIDE5YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMTZINVY4aDE0djExek03IDEwaDV2NUg3eiIvPjwvc3ZnPg==",mdChecked:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik05IDE2LjE3TDQuODMgMTJsLTEuNDIgMS40MUw5IDE5IDIxIDdsLTEuNDEtMS40MXoiLz48L2c+PC9zdmc+"}).provider("$mdIcon",MdIconProvider);var config={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};function MdIconProvider(){}function ConfigurationItem(e,t){this.url=e,this.viewBoxSize=t||config.defaultViewBoxSize}function MdIconService(o,a,u,c,l,t){var n={},g={},i=/[-\w@:%+.~#?&//=]{2,}\.[a-z]{2,4}\b(\/[-\w@:%+.~#?&//=]*)?/i,d=/^data:image\/svg\+xml[\s*;\w\-=]*?(base64)?,(.*)$/i;return x.prototype={clone:function(){return this.element.cloneNode(!0)},prepare:function(){var e=this.config?this.config.viewBoxSize:o.defaultViewBoxSize;angular.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+e+" "+e,focusable:!1},function(e,t){this.element.setAttribute(t,e)},this)}},e.fontSet=function(t){if(angular.isUndefined(t)||!t||!t.length)return o.defaultFontSet;var n=t;return angular.forEach(o.fontSets,function(e){e.alias===t&&(n=e.fontSet||n)}),n},e;function e(e){return e=e||"",angular.isString(e)||(e=t.getTrustedUrl(e)),n[e]?u.when(r(n[e])):i.test(e)||d.test(e)?M(e).then(s(e)):(-1===e.indexOf(":")&&(e="$default:"+e),(o[e]?m:f)(e).then(s(e)))}function r(e){var n,i,r,a,o=e.clone(),u=l.nextUid(),c=["clip-path","color-profile","cursor","fill","filter","href","marker-start","marker-mid","marker-end","mask","stroke","style","vector-effect"],g=void 0===o.innerHTML;if(!isFinite(Number(u)))throw new Error("Unsafe and unexpected non-number result from $mdUtil.nextUid().");return n="_cache"+u,o.id&&(o.id+=n),angular.forEach(o.querySelectorAll("[id]"),function(t){for(i="",r=0;r<c.length;r++)i+="["+c[r]+'="url(#'+t.id+')"]',r+1<c.length&&(i+=", ");angular.forEach(o.querySelectorAll(i),function(e){I(t,e,g,u)}),angular.forEach(o.querySelectorAll("style"),function(e){I(t,e,g,u)}),angular.forEach(o.querySelectorAll("[*|href]:not([href])"),function(e){(a=e.getAttribute("xlink:href"))&&(a=a.replace("#"+t.id,"#"+t.id+n),e.setAttribute("xlink:href",a))}),t.id+=n}),o}function I(e,t,n,i){var r,a;if(!isFinite(Number(i)))throw new Error("Unsafe and unexpected non-number result for newUid.");a="_cache"+i,n?(r=(r=l.getOuterHTML(t)).replace("url(#"+e.id+")","url(#"+e.id+a+")"),t.textContent=angular.element(r)[0].innerHTML):t.outerHTML=t.outerHTML.replace("url(#"+e.id+")","url(#"+e.id+a+")")}function s(t){return function(e){return n[t]=function(e){return angular.isDefined(e.element)&&angular.isDefined(e.config)}(e)?e:new x(e,o[t]),r(n[t])}}function m(e){var t=o[e];return M(t.url).then(function(e){return new x(e,t)})}function f(i){var e=i.substring(0,i.lastIndexOf(":"))||"$default",r=o[e];return r?M(r.url).then(function(e){var t=i.slice(i.lastIndexOf(":")+1),n=e.querySelector("#"+t);return n?new x(n,r):a(i)}):a(i);function a(e){var t="icon "+e+" not found";return c.warn(t),u.reject(t||e)}}function M(e){return d.test(e)?(t=e,n=d.exec(t),r=/base64/i.test(t)?window.atob(n[2]):n[2],u.when(angular.element(r)[0])):(i=e,u(function(t,n){a(i,!0).then(function(e){g[i]||(g[i]=angular.element("<div>").append(e)[0].querySelector("svg")),t(g[i])},function(e){var t=angular.isString(e)?e:e.message||e.data||e.statusText;c.warn(t),n(e)})}));var i,t,n,r}function x(e,t){if(e&&"symbol"===e.tagName.toLowerCase()){var n=e.getAttribute("viewBox");e=e.innerHTML?angular.element('<svg xmlns="http://www.w3.org/2000/svg">').html(e.innerHTML)[0]:angular.element('<svg xmlns="http://www.w3.org/2000/svg">').append(l.getInnerHTML(e))[0],n&&e.setAttribute("viewBox",n)}e&&"svg"!==e.tagName.toLowerCase()&&(e=angular.element('<svg xmlns="http://www.w3.org/2000/svg">').append(e.cloneNode(!0))[0]),e.getAttribute("xmlns")||e.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=e,this.config=t,this.prepare()}}MdIconProvider.prototype={icon:function(e,t,n){return-1==e.indexOf(":")&&(e="$default:"+e),config[e]=new ConfigurationItem(t,n),this},iconSet:function(e,t,n){return config[e]=new ConfigurationItem(t,n),this},defaultIconSet:function(e,t){var n="$default";return config[n]||(config[n]=new ConfigurationItem(e,t)),config[n].viewBoxSize=t||config.defaultViewBoxSize,this},defaultViewBoxSize:function(e){return config.defaultViewBoxSize=e,this},fontSet:function(e,t){return config.fontSets.push({alias:e,fontSet:t||e}),this},defaultFontSet:function(e){return config.defaultFontSet=e||"",this},defaultIconSize:function(e){return config.defaultIconSize=e,this},$get:["$templateRequest","$q","$log","$mdUtil","$sce",function(e,t,n,i,r){return MdIconService(config,e,t,n,i,r)}]},ngmaterial.components.icon=angular.module("material.components.icon");