text: /*!
   * AngularJS Material Design
   * https://github.com/angular/material
   * @license MIT
   * v1.1.20-master-595fefe
   */
  !function(t,s){"use strict";function n(e){return{restrict:"E",link:function(t,n){n.addClass("_md"),t.$on("$destroy",function(){e.destroy()})}}}function e(t){e.$inject=["$mdToast","$scope","$log"],o.$inject=["$animate","$mdToast","$mdUtil","$mdMedia","$document"];var m,p="ok";function n(t){m=t}return t("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent","position","toastClass"],options:o}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","actionKey","actionHint","highlightAction","highlightClass","theme","parent","dismissHint"],options:["$mdToast","$mdTheming",function(t,n){return{template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}">  <div class="md-toast-content" aria-live="polite" aria-relevant="all">    <span class="md-toast-text">      {{ toast.content }}    </span>    <span class="md-visually-hidden">{{ toast.dismissHint }}</span>    <span class="md-visually-hidden" ng-if="toast.action && toast.actionKey">      {{ toast.actionHint }}    </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:e,theme:n.defaultTheme(),controllerAs:"toast",bindToController:!0}}]}).addMethod("updateTextContent",n).addMethod("updateContent",n);function e(n,e,o){this.$onInit=function(){var t=this;t.highlightAction&&(e.highlightClasses=["md-highlight",t.highlightClass]),t.action&&!t.actionKey&&o.warn("Toasts with actions should define an actionKey for accessibility.","Details: https://material.angularjs.org/latest/api/service/$mdToast#mdtoast-simple"),t.actionKey&&!t.actionHint&&(t.actionHint='Press Control-"'+t.actionKey+'" to '),t.dismissHint||(t.dismissHint="Press Escape to dismiss."),e.$watch(function(){return m},function(){t.content=m}),this.resolve=function(){n.hide(p)}}}function o(o,d,r,n,l){var c="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:function(t,a,s){m=s.textContent||s.content;var i=!n("gt-sm");a=r.extractElementByName(a,"md-toast",!0),s.element=a,s.onSwipe=function(t,n){var e=t.type.replace("$md.",""),o=e.replace("swipe","");"down"===o&&-1!==s.position.indexOf("top")&&!i||"up"===o&&(-1!==s.position.indexOf("bottom")||i)||("left"===o||"right"===o)&&i||(a.addClass("md-"+e),r.nextTick(d.cancel))},s.openClass=function(t){return n("gt-xs")?"md-toast-open-"+(-1<t.indexOf("top")?"top":"bottom"):"md-toast-open-bottom"}(s.position),a.addClass(s.toastClass),s.parent.addClass(s.openClass),r.hasComputedStyle(s.parent,"position","static")&&s.parent.css("position","relative");(function(n){l.on("keydown",function(t){"Escape"===t.key&&d.hide(!1),n&&t.key===n&&t.ctrlKey&&d.hide(p)})})(t.toast&&t.toast.actionKey?t.toast.actionKey:void 0),a.on(c,s.onSwipe),a.addClass(i?"md-bottom":s.position.split(" ").map(function(t){return"md-"+t}).join(" ")),s.parent&&s.parent.addClass("md-toast-animating");return o.enter(a,s.parent).then(function(){s.parent&&s.parent.removeClass("md-toast-animating")})},onRemove:function(t,n,e){t.toast&&t.toast.actionKey&&l.off("keydown");n.off(c,e.onSwipe),e.parent&&e.parent.addClass("md-toast-animating");e.openClass&&e.parent.removeClass(e.openClass);return(!0===e.$destroy?n.remove():o.leave(n)).then(function(){e.parent&&e.parent.removeClass("md-toast-animating"),r.hasComputedStyle(e.parent,"position","static")&&e.parent.css("position","")})},toastClass:"",position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(t,n){if(n.autoWrap&&t&&!/md-toast-content/g.test(t)){var e=document.createElement("md-template");e.innerHTML=t;for(var o=0;o<e.children.length;o++)if("MD-TOAST"===e.children[o].nodeName){var a=s.element('<div class="md-toast-content">');a.append(s.element(e.children[o].childNodes)),e.children[o].appendChild(a[0])}return e.innerHTML}return t||""}}}}n.$inject=["$mdToast"],e.$inject=["$$interimElementProvider"],s.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",n).provider("$mdToast",e)}(window,window.angular);