text: /*!
   * Angular Material Design
   * https://github.com/angular/material
   * @license MIT
   * v0.9.0-master-9110d1e
   */
  !function(){"use strict";function e(){return{restrict:"E"}}function t(e){function t(e,t,r,a,l,c,i,s,m){function d(n,o,m){o=r.extractElementByName(o,"md-bottom-sheet"),f=l('<md-backdrop class="md-opaque md-bottom-sheet-backdrop">')(n),f.on("click",function(){a(i.cancel)}),c.inherit(f,m.parent),e.enter(f,m.parent,null);var d=new p(o,m.parent);return m.bottomSheet=d,m.targetEvent&&angular.element(m.targetEvent.target).blur(),c.inherit(d.element,m.parent),m.disableParentScroll&&(m.lastOverflow=m.parent.css("overflow"),m.parent.css("overflow","hidden")),e.enter(d.element,m.parent).then(function(){var e=angular.element(o[0].querySelector("button")||o[0].querySelector("a")||o[0].querySelector("[ng-click]"));e.focus(),m.escapeToClose&&(m.rootElementKeyupCallback=function(e){e.keyCode===t.KEY_CODE.ESCAPE&&a(i.cancel)},s.on("keyup",m.rootElementKeyupCallback))})}function u(t,n,o){var r=o.bottomSheet;return e.leave(f),e.leave(r.element).then(function(){o.disableParentScroll&&(o.parent.css("overflow",o.lastOverflow),delete o.lastOverflow),r.cleanup(),o.targetEvent&&angular.element(o.targetEvent.target).focus()})}function p(e,r){function l(n){e.css(t.CSS.TRANSITION_DURATION,"0ms")}function c(n){var r=n.pointer.distanceY;5>r&&(r=Math.max(-o,r/2)),e.css(t.CSS.TRANSFORM,"translate3d(0,"+(o+r)+"px,0)")}function s(o){if(o.pointer.distanceY>0&&(o.pointer.distanceY>20||Math.abs(o.pointer.velocityY)>n)){var r=e.prop("offsetHeight")-o.pointer.distanceY,l=Math.min(r/o.pointer.velocityY*.75,500);e.css(t.CSS.TRANSITION_DURATION,l+"ms"),a(i.cancel)}else e.css(t.CSS.TRANSITION_DURATION,""),e.css(t.CSS.TRANSFORM,"")}var d=m.register(r,"drag",{horizontal:!1});return r.on("$md.dragstart",l).on("$md.drag",c).on("$md.dragend",s),{element:e,cleanup:function(){d(),r.off("$md.dragstart",l).off("$md.drag",c).off("$md.dragend",s)}}}var f;return{themable:!0,targetEvent:null,onShow:d,onRemove:u,escapeToClose:!0,disableParentScroll:!0}}var n=.5,o=80;return t.$inject=["$animate","$mdConstant","$mdUtil","$timeout","$compile","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture"],e("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","targetEvent"],options:t})}angular.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",e).provider("$mdBottomSheet",t),t.$inject=["$$interimElementProvider"]}();