(window.webpackJsonp=window.webpackJsonp||[]).push([[62],{742:function(t,e,n){"use strict";n.r(e);var o=n(3),r=n(24),c=n(110),i=n(100);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(){var t=function(t,e){e||(e=t.slice(0));return Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}(['\n      <style>\n        paper-toast {\n          z-index: 1;\n        }\n      </style>\n\n      <ha-toast\n        id="toast"\n        dir="[[_rtl]]"\n        no-cancel-on-outside-click="[[_cancelOnOutsideClick]]"\n      ></ha-toast>\n    ']);return a=function(){return t},t}function l(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function s(t,e,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=p(t)););return t}(t,e);if(o){var r=Object.getOwnPropertyDescriptor(o,e);return r.get?r.get.call(n):r.value}})(t,e,n||t)}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var b=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),f(this,p(e).apply(this,arguments))}var u,b,O;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(e,Object(c["a"])(r["a"])),u=e,O=[{key:"template",get:function(){return Object(o.a)(a())}},{key:"properties",get:function(){return{hass:Object,_cancelOnOutsideClick:{type:Boolean,value:!1},_rtl:{type:String,computed:"_computeRTLDirection(hass)"}}}}],(b=[{key:"ready",value:function(){s(p(e.prototype),"ready",this).call(this),Promise.all([n.e(1),n.e(29)]).then(n.bind(null,397))}},{key:"showDialog",value:function(t){var e=t.message;this.$.toast.show(e)}},{key:"_computeRTLDirection",value:function(t){return Object(i.a)(t)?"rtl":"ltr"}}])&&l(u.prototype,b),O&&l(u,O),e}();customElements.define("notification-manager",b)}}]);