/******/ (function(modules) { // webpackBootstrap
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "";
/******/
/******/
/******/ 	// Load entry module and return exports
/******/ 	return __webpack_require__(__webpack_require__.s = "./demos/snackbar/index.js");
/******/ })
/************************************************************************/
/******/ ({

/***/ "./demos/snackbar/index.js":
/*!*********************************!*\
  !*** ./demos/snackbar/index.js ***!
  \*********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__webpack_require__(/*! ../../src/snackbar/index.tsx */ \"./src/snackbar/index.tsx\");\r\n__webpack_require__(/*! ../../src/button/index.tsx */ \"./src/button/index.tsx\");\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nomi_1.define('my-app', /** @class */ (function (_super) {\r\n    __extends(class_1, _super);\r\n    function class_1() {\r\n        var _this = _super !== null && _super.apply(this, arguments) || this;\r\n        _this.showA = function () {\r\n            _this.bShow = false;\r\n            _this.cShow = false;\r\n            _this.aShow = true;\r\n            _this.update();\r\n        };\r\n        _this.showB = function () {\r\n            _this.aShow = false;\r\n            _this.cShow = false;\r\n            _this.bShow = true;\r\n            _this.update();\r\n        };\r\n        _this.showC = function () {\r\n            _this.aShow = false;\r\n            _this.bShow = false;\r\n            _this.cShow = true;\r\n            _this.update();\r\n        };\r\n        _this.onClosedA = function () {\r\n            console.log('onClosedA');\r\n            _this.update();\r\n        };\r\n        _this.onClosedB = function () {\r\n            console.log('onClosedB');\r\n            _this.update();\r\n        };\r\n        _this.onClosedC = function () {\r\n            console.log('onClosedC');\r\n            _this.update();\r\n        };\r\n        _this.onButtonClickA = function () {\r\n            console.log('onButtonClickA');\r\n            _this.update();\r\n        };\r\n        _this.onButtonClickB = function () {\r\n            console.log('onButtonClickB');\r\n            _this.update();\r\n        };\r\n        _this.onButtonClickC = function () {\r\n            console.log('onButtonClickC');\r\n            _this.update();\r\n        };\r\n        _this.onIconButtonClickA = function () {\r\n            console.log('onIconButtonClickA');\r\n            _this.update();\r\n        };\r\n        _this.onIconButtonClickB = function () {\r\n            console.log('onIconButtonClickB');\r\n            _this.update();\r\n        };\r\n        _this.onIconButtonClickC = function () {\r\n            console.log('onIconButtonClickC');\r\n            _this.update();\r\n        };\r\n        _this.aShow = false;\r\n        _this.bShow = false;\r\n        _this.cShow = false;\r\n        return _this;\r\n    }\r\n    class_1.prototype.render = function () {\r\n        return omi_1.h(\"div\", null,\r\n            omi_1.h(\"m-button\", { unelevated: true, onClick: this.showA }, \"BASELINE\"),\r\n            omi_1.h(\"m-button\", { unelevated: true, style: \"margin:10px;\", onClick: this.showB }, \"LEADING\"),\r\n            omi_1.h(\"m-button\", { unelevated: true, onClick: this.showC }, \"STACKED\"),\r\n            omi_1.h(\"m-snackbar\", { onClosed: this.onClosedA, onButtonClick: this.onButtonClickA, onIconButtonClick: this.onIconButtonClickA, buttonText: \"RETRY\", msg: \"Can't send photo. Retry in 5 seconds.\", show: this.aShow }),\r\n            omi_1.h(\"m-snackbar\", { onClosed: this.onClosedB, onButtonClick: this.onButtonClickB, onIconButtonClick: this.onIconButtonClickB, buttonText: \"UNDO\", msg: \"Your photo has been archived.\", leading: true, show: this.bShow }),\r\n            omi_1.h(\"m-snackbar\", { onClosed: this.onClosedC, onButtonClick: this.onButtonClickC, onIconButtonClick: this.onIconButtonClickC, stacked: true, msg: 'This item already has the label \"travel\". You can add a new label.', buttonText: \"ADD A NEW LABEL\", show: this.cShow }));\r\n    };\r\n    return class_1;\r\n}(omi_1.WeElement)));\r\nomi_1.render(omi_1.h(\"my-app\", null), 'body');\r\n\n\n//# sourceURL=webpack:///./demos/snackbar/index.js?");

/***/ }),

/***/ "./node_modules/@material/base/component.js":
/*!**************************************************!*\
  !*** ./node_modules/@material/base/component.js ***!
  \**************************************************/
/*! exports provided: MDCComponent, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCComponent\", function() { return MDCComponent; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/base/foundation.js\");\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\nvar MDCComponent = /** @class */ (function () {\n    function MDCComponent(root, foundation) {\n        var args = [];\n        for (var _i = 2; _i < arguments.length; _i++) {\n            args[_i - 2] = arguments[_i];\n        }\n        this.root_ = root;\n        this.initialize.apply(this, tslib__WEBPACK_IMPORTED_MODULE_0__[\"__spread\"](args));\n        // Note that we initialize foundation here and not within the constructor's default param so that\n        // this.root_ is defined and can be used within the foundation class.\n        this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;\n        this.foundation_.init();\n        this.initialSyncWithDOM();\n    }\n    MDCComponent.attachTo = function (root) {\n        // Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and\n        // returns an instantiated component with its root set to that element. Also note that in the cases of\n        // subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized\n        // from getDefaultFoundation().\n        return new MDCComponent(root, new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCFoundation\"]({}));\n    };\n    /* istanbul ignore next: method param only exists for typing purposes; it does not need to be unit tested */\n    MDCComponent.prototype.initialize = function () {\n        var _args = [];\n        for (var _i = 0; _i < arguments.length; _i++) {\n            _args[_i] = arguments[_i];\n        }\n        // Subclasses can override this to do any additional setup work that would be considered part of a\n        // \"constructor\". Essentially, it is a hook into the parent constructor before the foundation is\n        // initialized. Any additional arguments besides root and foundation will be passed in here.\n    };\n    MDCComponent.prototype.getDefaultFoundation = function () {\n        // Subclasses must override this method to return a properly configured foundation class for the\n        // component.\n        throw new Error('Subclasses must override getDefaultFoundation to return a properly configured ' +\n            'foundation class');\n    };\n    MDCComponent.prototype.initialSyncWithDOM = function () {\n        // Subclasses should override this method if they need to perform work to synchronize with a host DOM\n        // object. An example of this would be a form control wrapper that needs to synchronize its internal state\n        // to some property or attribute of the host DOM. Please note: this is *not* the place to perform DOM\n        // reads/writes that would cause layout / paint, as this is called synchronously from within the constructor.\n    };\n    MDCComponent.prototype.destroy = function () {\n        // Subclasses may implement this method to release any resources / deregister any listeners they have\n        // attached. An example of this might be deregistering a resize event from the window object.\n        this.foundation_.destroy();\n    };\n    MDCComponent.prototype.listen = function (evtType, handler) {\n        this.root_.addEventListener(evtType, handler);\n    };\n    MDCComponent.prototype.unlisten = function (evtType, handler) {\n        this.root_.removeEventListener(evtType, handler);\n    };\n    /**\n     * Fires a cross-browser-compatible custom event from the component root of the given type, with the given data.\n     */\n    MDCComponent.prototype.emit = function (evtType, evtData, shouldBubble) {\n        if (shouldBubble === void 0) { shouldBubble = false; }\n        var evt;\n        if (typeof CustomEvent === 'function') {\n            evt = new CustomEvent(evtType, {\n                bubbles: shouldBubble,\n                detail: evtData,\n            });\n        }\n        else {\n            evt = document.createEvent('CustomEvent');\n            evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n        }\n        this.root_.dispatchEvent(evt);\n    };\n    return MDCComponent;\n}());\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCComponent);\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/base/component.js?");

/***/ }),

/***/ "./node_modules/@material/base/foundation.js":
/*!***************************************************!*\
  !*** ./node_modules/@material/base/foundation.js ***!
  \***************************************************/
/*! exports provided: MDCFoundation, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCFoundation\", function() { return MDCFoundation; });\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar MDCFoundation = /** @class */ (function () {\n    function MDCFoundation(adapter) {\n        if (adapter === void 0) { adapter = {}; }\n        this.adapter_ = adapter;\n    }\n    Object.defineProperty(MDCFoundation, \"cssClasses\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports every\n            // CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"strings\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports all\n            // semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"numbers\", {\n        get: function () {\n            // Classes extending MDCFoundation should implement this method to return an object which exports all\n            // of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCFoundation, \"defaultAdapter\", {\n        get: function () {\n            // Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient\n            // way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter\n            // validation.\n            return {};\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCFoundation.prototype.init = function () {\n        // Subclasses should override this method to perform initialization routines (registering events, etc.)\n    };\n    MDCFoundation.prototype.destroy = function () {\n        // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)\n    };\n    return MDCFoundation;\n}());\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFoundation);\n//# sourceMappingURL=foundation.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/base/foundation.js?");

/***/ }),

/***/ "./node_modules/@material/dom/ponyfill.js":
/*!************************************************!*\
  !*** ./node_modules/@material/dom/ponyfill.js ***!
  \************************************************/
/*! exports provided: closest, matches */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"closest\", function() { return closest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"matches\", function() { return matches; });\n/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * @fileoverview A \"ponyfill\" is a polyfill that doesn't modify the global prototype chain.\n * This makes ponyfills safer than traditional polyfills, especially for libraries like MDC.\n */\nfunction closest(element, selector) {\n    if (element.closest) {\n        return element.closest(selector);\n    }\n    var el = element;\n    while (el) {\n        if (matches(el, selector)) {\n            return el;\n        }\n        el = el.parentElement;\n    }\n    return null;\n}\nfunction matches(element, selector) {\n    var nativeMatches = element.matches\n        || element.webkitMatchesSelector\n        || element.msMatchesSelector;\n    return nativeMatches.call(element, selector);\n}\n//# sourceMappingURL=ponyfill.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/dom/ponyfill.js?");

/***/ }),

/***/ "./node_modules/@material/ripple/component.js":
/*!****************************************************!*\
  !*** ./node_modules/@material/ripple/component.js ***!
  \****************************************************/
/*! exports provided: MDCRipple */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCRipple\", function() { return MDCRipple; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_dom_ponyfill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/dom/ponyfill */ \"./node_modules/@material/dom/ponyfill.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/ripple/foundation.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/ripple/util.js\");\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\n\nvar MDCRipple = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCRipple, _super);\n    function MDCRipple() {\n        var _this = _super !== null && _super.apply(this, arguments) || this;\n        _this.disabled = false;\n        return _this;\n    }\n    MDCRipple.attachTo = function (root, opts) {\n        if (opts === void 0) { opts = { isUnbounded: undefined }; }\n        var ripple = new MDCRipple(root);\n        // Only override unbounded behavior if option is explicitly specified\n        if (opts.isUnbounded !== undefined) {\n            ripple.unbounded = opts.isUnbounded;\n        }\n        return ripple;\n    };\n    MDCRipple.createAdapter = function (instance) {\n        return {\n            addClass: function (className) { return instance.root_.classList.add(className); },\n            browserSupportsCssVars: function () { return _util__WEBPACK_IMPORTED_MODULE_4__[\"supportsCssVariables\"](window); },\n            computeBoundingRect: function () { return instance.root_.getBoundingClientRect(); },\n            containsEventTarget: function (target) { return instance.root_.contains(target); },\n            deregisterDocumentInteractionHandler: function (evtType, handler) {\n                return document.documentElement.removeEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_4__[\"applyPassive\"]());\n            },\n            deregisterInteractionHandler: function (evtType, handler) {\n                return instance.root_.removeEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_4__[\"applyPassive\"]());\n            },\n            deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n            getWindowPageOffset: function () { return ({ x: window.pageXOffset, y: window.pageYOffset }); },\n            isSurfaceActive: function () { return Object(_material_dom_ponyfill__WEBPACK_IMPORTED_MODULE_2__[\"matches\"])(instance.root_, ':active'); },\n            isSurfaceDisabled: function () { return Boolean(instance.disabled); },\n            isUnbounded: function () { return Boolean(instance.unbounded); },\n            registerDocumentInteractionHandler: function (evtType, handler) {\n                return document.documentElement.addEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_4__[\"applyPassive\"]());\n            },\n            registerInteractionHandler: function (evtType, handler) {\n                return instance.root_.addEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_4__[\"applyPassive\"]());\n            },\n            registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n            removeClass: function (className) { return instance.root_.classList.remove(className); },\n            updateCssVariable: function (varName, value) { return instance.root_.style.setProperty(varName, value); },\n        };\n    };\n    Object.defineProperty(MDCRipple.prototype, \"unbounded\", {\n        get: function () {\n            return Boolean(this.unbounded_);\n        },\n        set: function (unbounded) {\n            this.unbounded_ = Boolean(unbounded);\n            this.setUnbounded_();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCRipple.prototype.activate = function () {\n        this.foundation_.activate();\n    };\n    MDCRipple.prototype.deactivate = function () {\n        this.foundation_.deactivate();\n    };\n    MDCRipple.prototype.layout = function () {\n        this.foundation_.layout();\n    };\n    MDCRipple.prototype.getDefaultFoundation = function () {\n        return new _foundation__WEBPACK_IMPORTED_MODULE_3__[\"MDCRippleFoundation\"](MDCRipple.createAdapter(this));\n    };\n    MDCRipple.prototype.initialSyncWithDOM = function () {\n        var root = this.root_;\n        this.unbounded = 'mdcRippleIsUnbounded' in root.dataset;\n    };\n    /**\n     * Closure Compiler throws an access control error when directly accessing a\n     * protected or private property inside a getter/setter, like unbounded above.\n     * By accessing the protected property inside a method, we solve that problem.\n     * That's why this function exists.\n     */\n    MDCRipple.prototype.setUnbounded_ = function () {\n        this.foundation_.setUnbounded(Boolean(this.unbounded_));\n    };\n    return MDCRipple;\n}(_material_base_component__WEBPACK_IMPORTED_MODULE_1__[\"MDCComponent\"]));\n\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/component.js?");

/***/ }),

/***/ "./node_modules/@material/ripple/constants.js":
/*!****************************************************!*\
  !*** ./node_modules/@material/ripple/constants.js ***!
  \****************************************************/
/*! exports provided: cssClasses, strings, numbers */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numbers\", function() { return numbers; });\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssClasses = {\n    // Ripple is a special case where the \"root\" component is really a \"mixin\" of sorts,\n    // given that it's an 'upgrade' to an existing component. That being said it is the root\n    // CSS class that all other CSS classes derive from.\n    BG_FOCUSED: 'mdc-ripple-upgraded--background-focused',\n    FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation',\n    FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation',\n    ROOT: 'mdc-ripple-upgraded',\n    UNBOUNDED: 'mdc-ripple-upgraded--unbounded',\n};\nvar strings = {\n    VAR_FG_SCALE: '--mdc-ripple-fg-scale',\n    VAR_FG_SIZE: '--mdc-ripple-fg-size',\n    VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',\n    VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',\n    VAR_LEFT: '--mdc-ripple-left',\n    VAR_TOP: '--mdc-ripple-top',\n};\nvar numbers = {\n    DEACTIVATION_TIMEOUT_MS: 225,\n    FG_DEACTIVATION_MS: 150,\n    INITIAL_ORIGIN_SCALE: 0.6,\n    PADDING: 10,\n    TAP_DELAY_MS: 300,\n};\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/constants.js?");

/***/ }),

/***/ "./node_modules/@material/ripple/foundation.js":
/*!*****************************************************!*\
  !*** ./node_modules/@material/ripple/foundation.js ***!
  \*****************************************************/
/*! exports provided: MDCRippleFoundation, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCRippleFoundation\", function() { return MDCRippleFoundation; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/ripple/constants.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/ripple/util.js\");\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\n// Activation events registered on the root element of each instance for activation\nvar ACTIVATION_EVENT_TYPES = [\n    'touchstart', 'pointerdown', 'mousedown', 'keydown',\n];\n// Deactivation events registered on documentElement when a pointer-related down event occurs\nvar POINTER_DEACTIVATION_EVENT_TYPES = [\n    'touchend', 'pointerup', 'mouseup', 'contextmenu',\n];\n// simultaneous nested activations\nvar activatedTargets = [];\nvar MDCRippleFoundation = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCRippleFoundation, _super);\n    function MDCRippleFoundation(adapter) {\n        var _this = _super.call(this, tslib__WEBPACK_IMPORTED_MODULE_0__[\"__assign\"]({}, MDCRippleFoundation.defaultAdapter, adapter)) || this;\n        _this.activationAnimationHasEnded_ = false;\n        _this.activationTimer_ = 0;\n        _this.fgDeactivationRemovalTimer_ = 0;\n        _this.fgScale_ = '0';\n        _this.frame_ = { width: 0, height: 0 };\n        _this.initialSize_ = 0;\n        _this.layoutFrame_ = 0;\n        _this.maxRadius_ = 0;\n        _this.unboundedCoords_ = { left: 0, top: 0 };\n        _this.activationState_ = _this.defaultActivationState_();\n        _this.activationTimerCallback_ = function () {\n            _this.activationAnimationHasEnded_ = true;\n            _this.runDeactivationUXLogicIfReady_();\n        };\n        _this.activateHandler_ = function (e) { return _this.activate_(e); };\n        _this.deactivateHandler_ = function () { return _this.deactivate_(); };\n        _this.focusHandler_ = function () { return _this.handleFocus(); };\n        _this.blurHandler_ = function () { return _this.handleBlur(); };\n        _this.resizeHandler_ = function () { return _this.layout(); };\n        return _this;\n    }\n    Object.defineProperty(MDCRippleFoundation, \"cssClasses\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCRippleFoundation, \"strings\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCRippleFoundation, \"numbers\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCRippleFoundation, \"defaultAdapter\", {\n        get: function () {\n            return {\n                addClass: function () { return undefined; },\n                browserSupportsCssVars: function () { return true; },\n                computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },\n                containsEventTarget: function () { return true; },\n                deregisterDocumentInteractionHandler: function () { return undefined; },\n                deregisterInteractionHandler: function () { return undefined; },\n                deregisterResizeHandler: function () { return undefined; },\n                getWindowPageOffset: function () { return ({ x: 0, y: 0 }); },\n                isSurfaceActive: function () { return true; },\n                isSurfaceDisabled: function () { return true; },\n                isUnbounded: function () { return true; },\n                registerDocumentInteractionHandler: function () { return undefined; },\n                registerInteractionHandler: function () { return undefined; },\n                registerResizeHandler: function () { return undefined; },\n                removeClass: function () { return undefined; },\n                updateCssVariable: function () { return undefined; },\n            };\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCRippleFoundation.prototype.init = function () {\n        var _this = this;\n        var supportsPressRipple = this.supportsPressRipple_();\n        this.registerRootHandlers_(supportsPressRipple);\n        if (supportsPressRipple) {\n            var _a = MDCRippleFoundation.cssClasses, ROOT_1 = _a.ROOT, UNBOUNDED_1 = _a.UNBOUNDED;\n            requestAnimationFrame(function () {\n                _this.adapter_.addClass(ROOT_1);\n                if (_this.adapter_.isUnbounded()) {\n                    _this.adapter_.addClass(UNBOUNDED_1);\n                    // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple\n                    _this.layoutInternal_();\n                }\n            });\n        }\n    };\n    MDCRippleFoundation.prototype.destroy = function () {\n        var _this = this;\n        if (this.supportsPressRipple_()) {\n            if (this.activationTimer_) {\n                clearTimeout(this.activationTimer_);\n                this.activationTimer_ = 0;\n                this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION);\n            }\n            if (this.fgDeactivationRemovalTimer_) {\n                clearTimeout(this.fgDeactivationRemovalTimer_);\n                this.fgDeactivationRemovalTimer_ = 0;\n                this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION);\n            }\n            var _a = MDCRippleFoundation.cssClasses, ROOT_2 = _a.ROOT, UNBOUNDED_2 = _a.UNBOUNDED;\n            requestAnimationFrame(function () {\n                _this.adapter_.removeClass(ROOT_2);\n                _this.adapter_.removeClass(UNBOUNDED_2);\n                _this.removeCssVars_();\n            });\n        }\n        this.deregisterRootHandlers_();\n        this.deregisterDeactivationHandlers_();\n    };\n    /**\n     * @param evt Optional event containing position information.\n     */\n    MDCRippleFoundation.prototype.activate = function (evt) {\n        this.activate_(evt);\n    };\n    MDCRippleFoundation.prototype.deactivate = function () {\n        this.deactivate_();\n    };\n    MDCRippleFoundation.prototype.layout = function () {\n        var _this = this;\n        if (this.layoutFrame_) {\n            cancelAnimationFrame(this.layoutFrame_);\n        }\n        this.layoutFrame_ = requestAnimationFrame(function () {\n            _this.layoutInternal_();\n            _this.layoutFrame_ = 0;\n        });\n    };\n    MDCRippleFoundation.prototype.setUnbounded = function (unbounded) {\n        var UNBOUNDED = MDCRippleFoundation.cssClasses.UNBOUNDED;\n        if (unbounded) {\n            this.adapter_.addClass(UNBOUNDED);\n        }\n        else {\n            this.adapter_.removeClass(UNBOUNDED);\n        }\n    };\n    MDCRippleFoundation.prototype.handleFocus = function () {\n        var _this = this;\n        requestAnimationFrame(function () {\n            return _this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n        });\n    };\n    MDCRippleFoundation.prototype.handleBlur = function () {\n        var _this = this;\n        requestAnimationFrame(function () {\n            return _this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n        });\n    };\n    /**\n     * We compute this property so that we are not querying information about the client\n     * until the point in time where the foundation requests it. This prevents scenarios where\n     * client-side feature-detection may happen too early, such as when components are rendered on the server\n     * and then initialized at mount time on the client.\n     */\n    MDCRippleFoundation.prototype.supportsPressRipple_ = function () {\n        return this.adapter_.browserSupportsCssVars();\n    };\n    MDCRippleFoundation.prototype.defaultActivationState_ = function () {\n        return {\n            activationEvent: undefined,\n            hasDeactivationUXRun: false,\n            isActivated: false,\n            isProgrammatic: false,\n            wasActivatedByPointer: false,\n            wasElementMadeActive: false,\n        };\n    };\n    /**\n     * supportsPressRipple Passed from init to save a redundant function call\n     */\n    MDCRippleFoundation.prototype.registerRootHandlers_ = function (supportsPressRipple) {\n        var _this = this;\n        if (supportsPressRipple) {\n            ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n                _this.adapter_.registerInteractionHandler(evtType, _this.activateHandler_);\n            });\n            if (this.adapter_.isUnbounded()) {\n                this.adapter_.registerResizeHandler(this.resizeHandler_);\n            }\n        }\n        this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n        this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n    };\n    MDCRippleFoundation.prototype.registerDeactivationHandlers_ = function (evt) {\n        var _this = this;\n        if (evt.type === 'keydown') {\n            this.adapter_.registerInteractionHandler('keyup', this.deactivateHandler_);\n        }\n        else {\n            POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n                _this.adapter_.registerDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n            });\n        }\n    };\n    MDCRippleFoundation.prototype.deregisterRootHandlers_ = function () {\n        var _this = this;\n        ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n            _this.adapter_.deregisterInteractionHandler(evtType, _this.activateHandler_);\n        });\n        this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n        this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n        if (this.adapter_.isUnbounded()) {\n            this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n        }\n    };\n    MDCRippleFoundation.prototype.deregisterDeactivationHandlers_ = function () {\n        var _this = this;\n        this.adapter_.deregisterInteractionHandler('keyup', this.deactivateHandler_);\n        POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n            _this.adapter_.deregisterDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n        });\n    };\n    MDCRippleFoundation.prototype.removeCssVars_ = function () {\n        var _this = this;\n        var rippleStrings = MDCRippleFoundation.strings;\n        var keys = Object.keys(rippleStrings);\n        keys.forEach(function (key) {\n            if (key.indexOf('VAR_') === 0) {\n                _this.adapter_.updateCssVariable(rippleStrings[key], null);\n            }\n        });\n    };\n    MDCRippleFoundation.prototype.activate_ = function (evt) {\n        var _this = this;\n        if (this.adapter_.isSurfaceDisabled()) {\n            return;\n        }\n        var activationState = this.activationState_;\n        if (activationState.isActivated) {\n            return;\n        }\n        // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction\n        var previousActivationEvent = this.previousActivationEvent_;\n        var isSameInteraction = previousActivationEvent && evt !== undefined && previousActivationEvent.type !== evt.type;\n        if (isSameInteraction) {\n            return;\n        }\n        activationState.isActivated = true;\n        activationState.isProgrammatic = evt === undefined;\n        activationState.activationEvent = evt;\n        activationState.wasActivatedByPointer = activationState.isProgrammatic ? false : evt !== undefined && (evt.type === 'mousedown' || evt.type === 'touchstart' || evt.type === 'pointerdown');\n        var hasActivatedChild = evt !== undefined && activatedTargets.length > 0 && activatedTargets.some(function (target) { return _this.adapter_.containsEventTarget(target); });\n        if (hasActivatedChild) {\n            // Immediately reset activation state, while preserving logic that prevents touch follow-on events\n            this.resetActivationState_();\n            return;\n        }\n        if (evt !== undefined) {\n            activatedTargets.push(evt.target);\n            this.registerDeactivationHandlers_(evt);\n        }\n        activationState.wasElementMadeActive = this.checkElementMadeActive_(evt);\n        if (activationState.wasElementMadeActive) {\n            this.animateActivation_();\n        }\n        requestAnimationFrame(function () {\n            // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples\n            activatedTargets = [];\n            if (!activationState.wasElementMadeActive\n                && evt !== undefined\n                && (evt.key === ' ' || evt.keyCode === 32)) {\n                // If space was pressed, try again within an rAF call to detect :active, because different UAs report\n                // active states inconsistently when they're called within event handling code:\n                // - https://bugs.chromium.org/p/chromium/issues/detail?id=635971\n                // - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741\n                // We try first outside rAF to support Edge, which does not exhibit this problem, but will crash if a CSS\n                // variable is set within a rAF callback for a submit button interaction (#2241).\n                activationState.wasElementMadeActive = _this.checkElementMadeActive_(evt);\n                if (activationState.wasElementMadeActive) {\n                    _this.animateActivation_();\n                }\n            }\n            if (!activationState.wasElementMadeActive) {\n                // Reset activation state immediately if element was not made active.\n                _this.activationState_ = _this.defaultActivationState_();\n            }\n        });\n    };\n    MDCRippleFoundation.prototype.checkElementMadeActive_ = function (evt) {\n        return (evt !== undefined && evt.type === 'keydown') ? this.adapter_.isSurfaceActive() : true;\n    };\n    MDCRippleFoundation.prototype.animateActivation_ = function () {\n        var _this = this;\n        var _a = MDCRippleFoundation.strings, VAR_FG_TRANSLATE_START = _a.VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END = _a.VAR_FG_TRANSLATE_END;\n        var _b = MDCRippleFoundation.cssClasses, FG_DEACTIVATION = _b.FG_DEACTIVATION, FG_ACTIVATION = _b.FG_ACTIVATION;\n        var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;\n        this.layoutInternal_();\n        var translateStart = '';\n        var translateEnd = '';\n        if (!this.adapter_.isUnbounded()) {\n            var _c = this.getFgTranslationCoordinates_(), startPoint = _c.startPoint, endPoint = _c.endPoint;\n            translateStart = startPoint.x + \"px, \" + startPoint.y + \"px\";\n            translateEnd = endPoint.x + \"px, \" + endPoint.y + \"px\";\n        }\n        this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_START, translateStart);\n        this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_END, translateEnd);\n        // Cancel any ongoing activation/deactivation animations\n        clearTimeout(this.activationTimer_);\n        clearTimeout(this.fgDeactivationRemovalTimer_);\n        this.rmBoundedActivationClasses_();\n        this.adapter_.removeClass(FG_DEACTIVATION);\n        // Force layout in order to re-trigger the animation.\n        this.adapter_.computeBoundingRect();\n        this.adapter_.addClass(FG_ACTIVATION);\n        this.activationTimer_ = setTimeout(function () { return _this.activationTimerCallback_(); }, DEACTIVATION_TIMEOUT_MS);\n    };\n    MDCRippleFoundation.prototype.getFgTranslationCoordinates_ = function () {\n        var _a = this.activationState_, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;\n        var startPoint;\n        if (wasActivatedByPointer) {\n            startPoint = Object(_util__WEBPACK_IMPORTED_MODULE_3__[\"getNormalizedEventCoords\"])(activationEvent, this.adapter_.getWindowPageOffset(), this.adapter_.computeBoundingRect());\n        }\n        else {\n            startPoint = {\n                x: this.frame_.width / 2,\n                y: this.frame_.height / 2,\n            };\n        }\n        // Center the element around the start point.\n        startPoint = {\n            x: startPoint.x - (this.initialSize_ / 2),\n            y: startPoint.y - (this.initialSize_ / 2),\n        };\n        var endPoint = {\n            x: (this.frame_.width / 2) - (this.initialSize_ / 2),\n            y: (this.frame_.height / 2) - (this.initialSize_ / 2),\n        };\n        return { startPoint: startPoint, endPoint: endPoint };\n    };\n    MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_ = function () {\n        var _this = this;\n        // This method is called both when a pointing device is released, and when the activation animation ends.\n        // The deactivation animation should only run after both of those occur.\n        var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION;\n        var _a = this.activationState_, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;\n        var activationHasEnded = hasDeactivationUXRun || !isActivated;\n        if (activationHasEnded && this.activationAnimationHasEnded_) {\n            this.rmBoundedActivationClasses_();\n            this.adapter_.addClass(FG_DEACTIVATION);\n            this.fgDeactivationRemovalTimer_ = setTimeout(function () {\n                _this.adapter_.removeClass(FG_DEACTIVATION);\n            }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].FG_DEACTIVATION_MS);\n        }\n    };\n    MDCRippleFoundation.prototype.rmBoundedActivationClasses_ = function () {\n        var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION;\n        this.adapter_.removeClass(FG_ACTIVATION);\n        this.activationAnimationHasEnded_ = false;\n        this.adapter_.computeBoundingRect();\n    };\n    MDCRippleFoundation.prototype.resetActivationState_ = function () {\n        var _this = this;\n        this.previousActivationEvent_ = this.activationState_.activationEvent;\n        this.activationState_ = this.defaultActivationState_();\n        // Touch devices may fire additional events for the same interaction within a short time.\n        // Store the previous event until it's safe to assume that subsequent events are for new interactions.\n        setTimeout(function () { return _this.previousActivationEvent_ = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);\n    };\n    MDCRippleFoundation.prototype.deactivate_ = function () {\n        var _this = this;\n        var activationState = this.activationState_;\n        // This can happen in scenarios such as when you have a keyup event that blurs the element.\n        if (!activationState.isActivated) {\n            return;\n        }\n        var state = tslib__WEBPACK_IMPORTED_MODULE_0__[\"__assign\"]({}, activationState);\n        if (activationState.isProgrammatic) {\n            requestAnimationFrame(function () { return _this.animateDeactivation_(state); });\n            this.resetActivationState_();\n        }\n        else {\n            this.deregisterDeactivationHandlers_();\n            requestAnimationFrame(function () {\n                _this.activationState_.hasDeactivationUXRun = true;\n                _this.animateDeactivation_(state);\n                _this.resetActivationState_();\n            });\n        }\n    };\n    MDCRippleFoundation.prototype.animateDeactivation_ = function (_a) {\n        var wasActivatedByPointer = _a.wasActivatedByPointer, wasElementMadeActive = _a.wasElementMadeActive;\n        if (wasActivatedByPointer || wasElementMadeActive) {\n            this.runDeactivationUXLogicIfReady_();\n        }\n    };\n    MDCRippleFoundation.prototype.layoutInternal_ = function () {\n        var _this = this;\n        this.frame_ = this.adapter_.computeBoundingRect();\n        var maxDim = Math.max(this.frame_.height, this.frame_.width);\n        // Surface diameter is treated differently for unbounded vs. bounded ripples.\n        // Unbounded ripple diameter is calculated smaller since the surface is expected to already be padded appropriately\n        // to extend the hitbox, and the ripple is expected to meet the edges of the padded hitbox (which is typically\n        // square). Bounded ripples, on the other hand, are fully expected to expand beyond the surface's longest diameter\n        // (calculated based on the diagonal plus a constant padding), and are clipped at the surface's border via\n        // `overflow: hidden`.\n        var getBoundedRadius = function () {\n            var hypotenuse = Math.sqrt(Math.pow(_this.frame_.width, 2) + Math.pow(_this.frame_.height, 2));\n            return hypotenuse + MDCRippleFoundation.numbers.PADDING;\n        };\n        this.maxRadius_ = this.adapter_.isUnbounded() ? maxDim : getBoundedRadius();\n        // Ripple is sized as a fraction of the largest dimension of the surface, then scales up using a CSS scale transform\n        this.initialSize_ = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE);\n        this.fgScale_ = \"\" + this.maxRadius_ / this.initialSize_;\n        this.updateLayoutCssVars_();\n    };\n    MDCRippleFoundation.prototype.updateLayoutCssVars_ = function () {\n        var _a = MDCRippleFoundation.strings, VAR_FG_SIZE = _a.VAR_FG_SIZE, VAR_LEFT = _a.VAR_LEFT, VAR_TOP = _a.VAR_TOP, VAR_FG_SCALE = _a.VAR_FG_SCALE;\n        this.adapter_.updateCssVariable(VAR_FG_SIZE, this.initialSize_ + \"px\");\n        this.adapter_.updateCssVariable(VAR_FG_SCALE, this.fgScale_);\n        if (this.adapter_.isUnbounded()) {\n            this.unboundedCoords_ = {\n                left: Math.round((this.frame_.width / 2) - (this.initialSize_ / 2)),\n                top: Math.round((this.frame_.height / 2) - (this.initialSize_ / 2)),\n            };\n            this.adapter_.updateCssVariable(VAR_LEFT, this.unboundedCoords_.left + \"px\");\n            this.adapter_.updateCssVariable(VAR_TOP, this.unboundedCoords_.top + \"px\");\n        }\n    };\n    return MDCRippleFoundation;\n}(_material_base_foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCFoundation\"]));\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCRippleFoundation);\n//# sourceMappingURL=foundation.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/foundation.js?");

/***/ }),

/***/ "./node_modules/@material/ripple/index.js":
/*!************************************************!*\
  !*** ./node_modules/@material/ripple/index.js ***!
  \************************************************/
/*! exports provided: util, MDCRipple, MDCRippleFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/ripple/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_0__; });\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./component */ \"./node_modules/@material/ripple/component.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCRipple\", function() { return _component__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"]; });\n\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/ripple/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCRippleFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCRippleFoundation\"]; });\n\n/**\n * @license\n * Copyright 2019 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/index.js?");

/***/ }),

/***/ "./node_modules/@material/ripple/util.js":
/*!***********************************************!*\
  !*** ./node_modules/@material/ripple/util.js ***!
  \***********************************************/
/*! exports provided: supportsCssVariables, applyPassive, getNormalizedEventCoords */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportsCssVariables\", function() { return supportsCssVariables; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"applyPassive\", function() { return applyPassive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNormalizedEventCoords\", function() { return getNormalizedEventCoords; });\n/**\n * Stores result from supportsCssVariables to avoid redundant processing to\n * detect CSS custom variable support.\n */\nvar supportsCssVariables_;\n/**\n * Stores result from applyPassive to avoid redundant processing to detect\n * passive event listener support.\n */\nvar supportsPassive_;\nfunction detectEdgePseudoVarBug(windowObj) {\n    // Detect versions of Edge with buggy var() support\n    // See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11495448/\n    var document = windowObj.document;\n    var node = document.createElement('div');\n    node.className = 'mdc-ripple-surface--test-edge-var-bug';\n    document.body.appendChild(node);\n    // The bug exists if ::before style ends up propagating to the parent element.\n    // Additionally, getComputedStyle returns null in iframes with display: \"none\" in Firefox,\n    // but Firefox is known to support CSS custom properties correctly.\n    // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n    var computedStyle = windowObj.getComputedStyle(node);\n    var hasPseudoVarBug = computedStyle !== null && computedStyle.borderTopStyle === 'solid';\n    if (node.parentNode) {\n        node.parentNode.removeChild(node);\n    }\n    return hasPseudoVarBug;\n}\nfunction supportsCssVariables(windowObj, forceRefresh) {\n    if (forceRefresh === void 0) { forceRefresh = false; }\n    var CSS = windowObj.CSS;\n    var supportsCssVars = supportsCssVariables_;\n    if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {\n        return supportsCssVariables_;\n    }\n    var supportsFunctionPresent = CSS && typeof CSS.supports === 'function';\n    if (!supportsFunctionPresent) {\n        return false;\n    }\n    var explicitlySupportsCssVars = CSS.supports('--css-vars', 'yes');\n    // See: https://bugs.webkit.org/show_bug.cgi?id=154669\n    // See: README section on Safari\n    var weAreFeatureDetectingSafari10plus = (CSS.supports('(--css-vars: yes)') &&\n        CSS.supports('color', '#00000000'));\n    if (explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus) {\n        supportsCssVars = !detectEdgePseudoVarBug(windowObj);\n    }\n    else {\n        supportsCssVars = false;\n    }\n    if (!forceRefresh) {\n        supportsCssVariables_ = supportsCssVars;\n    }\n    return supportsCssVars;\n}\n/**\n * Determine whether the current browser supports passive event listeners, and\n * if so, use them.\n */\nfunction applyPassive(globalObj, forceRefresh) {\n    if (globalObj === void 0) { globalObj = window; }\n    if (forceRefresh === void 0) { forceRefresh = false; }\n    if (supportsPassive_ === undefined || forceRefresh) {\n        var isSupported_1 = false;\n        try {\n            globalObj.document.addEventListener('test', function () { return undefined; }, {\n                get passive() {\n                    isSupported_1 = true;\n                    return isSupported_1;\n                },\n            });\n        }\n        catch (e) {\n        } // tslint:disable-line:no-empty cannot throw error due to tests. tslint also disables console.log.\n        supportsPassive_ = isSupported_1;\n    }\n    return supportsPassive_ ? { passive: true } : false;\n}\nfunction getNormalizedEventCoords(evt, pageOffset, clientRect) {\n    if (!evt) {\n        return { x: 0, y: 0 };\n    }\n    var x = pageOffset.x, y = pageOffset.y;\n    var documentX = x + clientRect.left;\n    var documentY = y + clientRect.top;\n    var normalizedX;\n    var normalizedY;\n    // Determine touch point relative to the ripple container.\n    if (evt.type === 'touchstart') {\n        var touchEvent = evt;\n        normalizedX = touchEvent.changedTouches[0].pageX - documentX;\n        normalizedY = touchEvent.changedTouches[0].pageY - documentY;\n    }\n    else {\n        var mouseEvent = evt;\n        normalizedX = mouseEvent.pageX - documentX;\n        normalizedY = mouseEvent.pageY - documentY;\n    }\n    return { x: normalizedX, y: normalizedY };\n}\n//# sourceMappingURL=util.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/util.js?");

/***/ }),

/***/ "./node_modules/@material/snackbar/component.js":
/*!******************************************************!*\
  !*** ./node_modules/@material/snackbar/component.js ***!
  \******************************************************/
/*! exports provided: MDCSnackbar */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSnackbar\", function() { return MDCSnackbar; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_dom_ponyfill__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/dom/ponyfill */ \"./node_modules/@material/dom/ponyfill.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/snackbar/constants.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/snackbar/foundation.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/snackbar/util.js\");\n/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\n\n\nvar SURFACE_SELECTOR = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].SURFACE_SELECTOR, LABEL_SELECTOR = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].LABEL_SELECTOR, ACTION_SELECTOR = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ACTION_SELECTOR, DISMISS_SELECTOR = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].DISMISS_SELECTOR, OPENING_EVENT = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].OPENING_EVENT, OPENED_EVENT = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].OPENED_EVENT, CLOSING_EVENT = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].CLOSING_EVENT, CLOSED_EVENT = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].CLOSED_EVENT;\nvar MDCSnackbar = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCSnackbar, _super);\n    function MDCSnackbar() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MDCSnackbar.attachTo = function (root) {\n        return new MDCSnackbar(root);\n    };\n    MDCSnackbar.prototype.initialize = function (announcerFactory) {\n        if (announcerFactory === void 0) { announcerFactory = function () { return _util__WEBPACK_IMPORTED_MODULE_5__[\"announce\"]; }; }\n        this.announce_ = announcerFactory();\n    };\n    MDCSnackbar.prototype.initialSyncWithDOM = function () {\n        var _this = this;\n        this.surfaceEl_ = this.root_.querySelector(SURFACE_SELECTOR);\n        this.labelEl_ = this.root_.querySelector(LABEL_SELECTOR);\n        this.actionEl_ = this.root_.querySelector(ACTION_SELECTOR);\n        this.handleKeyDown_ = function (evt) { return _this.foundation_.handleKeyDown(evt); };\n        this.handleSurfaceClick_ = function (evt) {\n            var target = evt.target;\n            if (_this.isActionButton_(target)) {\n                _this.foundation_.handleActionButtonClick(evt);\n            }\n            else if (_this.isActionIcon_(target)) {\n                _this.foundation_.handleActionIconClick(evt);\n            }\n        };\n        this.registerKeyDownHandler_(this.handleKeyDown_);\n        this.registerSurfaceClickHandler_(this.handleSurfaceClick_);\n    };\n    MDCSnackbar.prototype.destroy = function () {\n        _super.prototype.destroy.call(this);\n        this.deregisterKeyDownHandler_(this.handleKeyDown_);\n        this.deregisterSurfaceClickHandler_(this.handleSurfaceClick_);\n    };\n    MDCSnackbar.prototype.open = function () {\n        this.foundation_.open();\n    };\n    /**\n     * @param reason Why the snackbar was closed. Value will be passed to CLOSING_EVENT and CLOSED_EVENT via the\n     *     `event.detail.reason` property. Standard values are REASON_ACTION and REASON_DISMISS, but custom\n     *     client-specific values may also be used if desired.\n     */\n    MDCSnackbar.prototype.close = function (reason) {\n        if (reason === void 0) { reason = ''; }\n        this.foundation_.close(reason);\n    };\n    MDCSnackbar.prototype.getDefaultFoundation = function () {\n        var _this = this;\n        // DO NOT INLINE this variable. For backward compatibility, foundations take a Partial<MDCFooAdapter>.\n        // To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.\n        var adapter = {\n            addClass: function (className) { return _this.root_.classList.add(className); },\n            announce: function () { return _this.announce_(_this.labelEl_); },\n            notifyClosed: function (reason) { return _this.emit(CLOSED_EVENT, reason ? { reason: reason } : {}); },\n            notifyClosing: function (reason) { return _this.emit(CLOSING_EVENT, reason ? { reason: reason } : {}); },\n            notifyOpened: function () { return _this.emit(OPENED_EVENT, {}); },\n            notifyOpening: function () { return _this.emit(OPENING_EVENT, {}); },\n            removeClass: function (className) { return _this.root_.classList.remove(className); },\n        };\n        return new _foundation__WEBPACK_IMPORTED_MODULE_4__[\"MDCSnackbarFoundation\"](adapter);\n    };\n    Object.defineProperty(MDCSnackbar.prototype, \"timeoutMs\", {\n        get: function () {\n            return this.foundation_.getTimeoutMs();\n        },\n        set: function (timeoutMs) {\n            this.foundation_.setTimeoutMs(timeoutMs);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbar.prototype, \"closeOnEscape\", {\n        get: function () {\n            return this.foundation_.getCloseOnEscape();\n        },\n        set: function (closeOnEscape) {\n            this.foundation_.setCloseOnEscape(closeOnEscape);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbar.prototype, \"isOpen\", {\n        get: function () {\n            return this.foundation_.isOpen();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbar.prototype, \"labelText\", {\n        get: function () {\n            // This property only returns null if the node is a document, DOCTYPE, or notation.\n            // On Element nodes, it always returns a string.\n            return this.labelEl_.textContent;\n        },\n        set: function (labelText) {\n            this.labelEl_.textContent = labelText;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbar.prototype, \"actionButtonText\", {\n        get: function () {\n            return this.actionEl_.textContent;\n        },\n        set: function (actionButtonText) {\n            this.actionEl_.textContent = actionButtonText;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCSnackbar.prototype.registerKeyDownHandler_ = function (handler) {\n        this.listen('keydown', handler);\n    };\n    MDCSnackbar.prototype.deregisterKeyDownHandler_ = function (handler) {\n        this.unlisten('keydown', handler);\n    };\n    MDCSnackbar.prototype.registerSurfaceClickHandler_ = function (handler) {\n        this.surfaceEl_.addEventListener('click', handler);\n    };\n    MDCSnackbar.prototype.deregisterSurfaceClickHandler_ = function (handler) {\n        this.surfaceEl_.removeEventListener('click', handler);\n    };\n    MDCSnackbar.prototype.isActionButton_ = function (target) {\n        return Boolean(Object(_material_dom_ponyfill__WEBPACK_IMPORTED_MODULE_2__[\"closest\"])(target, ACTION_SELECTOR));\n    };\n    MDCSnackbar.prototype.isActionIcon_ = function (target) {\n        return Boolean(Object(_material_dom_ponyfill__WEBPACK_IMPORTED_MODULE_2__[\"closest\"])(target, DISMISS_SELECTOR));\n    };\n    return MDCSnackbar;\n}(_material_base_component__WEBPACK_IMPORTED_MODULE_1__[\"MDCComponent\"]));\n\n//# sourceMappingURL=component.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/component.js?");

/***/ }),

/***/ "./node_modules/@material/snackbar/constants.js":
/*!******************************************************!*\
  !*** ./node_modules/@material/snackbar/constants.js ***!
  \******************************************************/
/*! exports provided: cssClasses, strings, numbers */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numbers\", function() { return numbers; });\n/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssClasses = {\n    CLOSING: 'mdc-snackbar--closing',\n    OPEN: 'mdc-snackbar--open',\n    OPENING: 'mdc-snackbar--opening',\n};\nvar strings = {\n    ACTION_SELECTOR: '.mdc-snackbar__action',\n    ARIA_LIVE_LABEL_TEXT_ATTR: 'data-mdc-snackbar-label-text',\n    CLOSED_EVENT: 'MDCSnackbar:closed',\n    CLOSING_EVENT: 'MDCSnackbar:closing',\n    DISMISS_SELECTOR: '.mdc-snackbar__dismiss',\n    LABEL_SELECTOR: '.mdc-snackbar__label',\n    OPENED_EVENT: 'MDCSnackbar:opened',\n    OPENING_EVENT: 'MDCSnackbar:opening',\n    REASON_ACTION: 'action',\n    REASON_DISMISS: 'dismiss',\n    SURFACE_SELECTOR: '.mdc-snackbar__surface',\n};\nvar numbers = {\n    DEFAULT_AUTO_DISMISS_TIMEOUT_MS: 5000,\n    MAX_AUTO_DISMISS_TIMEOUT_MS: 10000,\n    MIN_AUTO_DISMISS_TIMEOUT_MS: 4000,\n    // These variables need to be kept in sync with the values in _variables.scss.\n    SNACKBAR_ANIMATION_CLOSE_TIME_MS: 75,\n    SNACKBAR_ANIMATION_OPEN_TIME_MS: 150,\n    /**\n     * Number of milliseconds to wait between temporarily clearing the label text\n     * in the DOM and subsequently restoring it. This is necessary to force IE 11\n     * to pick up the `aria-live` content change and announce it to the user.\n     */\n    ARIA_LIVE_DELAY_MS: 1000,\n};\n\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/constants.js?");

/***/ }),

/***/ "./node_modules/@material/snackbar/foundation.js":
/*!*******************************************************!*\
  !*** ./node_modules/@material/snackbar/foundation.js ***!
  \*******************************************************/
/*! exports provided: MDCSnackbarFoundation, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSnackbarFoundation\", function() { return MDCSnackbarFoundation; });\n/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/snackbar/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\nvar OPENING = _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].OPENING, OPEN = _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].OPEN, CLOSING = _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CLOSING;\nvar REASON_ACTION = _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].REASON_ACTION, REASON_DISMISS = _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].REASON_DISMISS;\nvar MDCSnackbarFoundation = /** @class */ (function (_super) {\n    tslib__WEBPACK_IMPORTED_MODULE_0__[\"__extends\"](MDCSnackbarFoundation, _super);\n    function MDCSnackbarFoundation(adapter) {\n        var _this = _super.call(this, tslib__WEBPACK_IMPORTED_MODULE_0__[\"__assign\"]({}, MDCSnackbarFoundation.defaultAdapter, adapter)) || this;\n        _this.isOpen_ = false;\n        _this.animationFrame_ = 0;\n        _this.animationTimer_ = 0;\n        _this.autoDismissTimer_ = 0;\n        _this.autoDismissTimeoutMs_ = _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].DEFAULT_AUTO_DISMISS_TIMEOUT_MS;\n        _this.closeOnEscape_ = true;\n        return _this;\n    }\n    Object.defineProperty(MDCSnackbarFoundation, \"cssClasses\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbarFoundation, \"strings\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbarFoundation, \"numbers\", {\n        get: function () {\n            return _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"];\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MDCSnackbarFoundation, \"defaultAdapter\", {\n        get: function () {\n            return {\n                addClass: function () { return undefined; },\n                announce: function () { return undefined; },\n                notifyClosed: function () { return undefined; },\n                notifyClosing: function () { return undefined; },\n                notifyOpened: function () { return undefined; },\n                notifyOpening: function () { return undefined; },\n                removeClass: function () { return undefined; },\n            };\n        },\n        enumerable: true,\n        configurable: true\n    });\n    MDCSnackbarFoundation.prototype.destroy = function () {\n        this.clearAutoDismissTimer_();\n        cancelAnimationFrame(this.animationFrame_);\n        this.animationFrame_ = 0;\n        clearTimeout(this.animationTimer_);\n        this.animationTimer_ = 0;\n        this.adapter_.removeClass(OPENING);\n        this.adapter_.removeClass(OPEN);\n        this.adapter_.removeClass(CLOSING);\n    };\n    MDCSnackbarFoundation.prototype.open = function () {\n        var _this = this;\n        this.clearAutoDismissTimer_();\n        this.isOpen_ = true;\n        this.adapter_.notifyOpening();\n        this.adapter_.removeClass(CLOSING);\n        this.adapter_.addClass(OPENING);\n        this.adapter_.announce();\n        // Wait a frame once display is no longer \"none\", to establish basis for animation\n        this.runNextAnimationFrame_(function () {\n            _this.adapter_.addClass(OPEN);\n            _this.animationTimer_ = setTimeout(function () {\n                _this.handleAnimationTimerEnd_();\n                _this.adapter_.notifyOpened();\n                _this.autoDismissTimer_ = setTimeout(function () {\n                    _this.close(REASON_DISMISS);\n                }, _this.getTimeoutMs());\n            }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].SNACKBAR_ANIMATION_OPEN_TIME_MS);\n        });\n    };\n    /**\n     * @param reason Why the snackbar was closed. Value will be passed to CLOSING_EVENT and CLOSED_EVENT via the\n     *     `event.detail.reason` property. Standard values are REASON_ACTION and REASON_DISMISS, but custom\n     *     client-specific values may also be used if desired.\n     */\n    MDCSnackbarFoundation.prototype.close = function (reason) {\n        var _this = this;\n        if (reason === void 0) { reason = ''; }\n        if (!this.isOpen_) {\n            // Avoid redundant close calls (and events), e.g. repeated interactions as the snackbar is animating closed\n            return;\n        }\n        cancelAnimationFrame(this.animationFrame_);\n        this.animationFrame_ = 0;\n        this.clearAutoDismissTimer_();\n        this.isOpen_ = false;\n        this.adapter_.notifyClosing(reason);\n        this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CLOSING);\n        this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].OPEN);\n        this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].OPENING);\n        clearTimeout(this.animationTimer_);\n        this.animationTimer_ = setTimeout(function () {\n            _this.handleAnimationTimerEnd_();\n            _this.adapter_.notifyClosed(reason);\n        }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].SNACKBAR_ANIMATION_CLOSE_TIME_MS);\n    };\n    MDCSnackbarFoundation.prototype.isOpen = function () {\n        return this.isOpen_;\n    };\n    MDCSnackbarFoundation.prototype.getTimeoutMs = function () {\n        return this.autoDismissTimeoutMs_;\n    };\n    MDCSnackbarFoundation.prototype.setTimeoutMs = function (timeoutMs) {\n        // Use shorter variable names to make the code more readable\n        var minValue = _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].MIN_AUTO_DISMISS_TIMEOUT_MS;\n        var maxValue = _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].MAX_AUTO_DISMISS_TIMEOUT_MS;\n        if (timeoutMs <= maxValue && timeoutMs >= minValue) {\n            this.autoDismissTimeoutMs_ = timeoutMs;\n        }\n        else {\n            throw new Error(\"timeoutMs must be an integer in the range \" + minValue + \"\\u2013\" + maxValue + \", but got '\" + timeoutMs + \"'\");\n        }\n    };\n    MDCSnackbarFoundation.prototype.getCloseOnEscape = function () {\n        return this.closeOnEscape_;\n    };\n    MDCSnackbarFoundation.prototype.setCloseOnEscape = function (closeOnEscape) {\n        this.closeOnEscape_ = closeOnEscape;\n    };\n    MDCSnackbarFoundation.prototype.handleKeyDown = function (evt) {\n        var isEscapeKey = evt.key === 'Escape' || evt.keyCode === 27;\n        if (isEscapeKey && this.getCloseOnEscape()) {\n            this.close(REASON_DISMISS);\n        }\n    };\n    MDCSnackbarFoundation.prototype.handleActionButtonClick = function (_evt) {\n        this.close(REASON_ACTION);\n    };\n    MDCSnackbarFoundation.prototype.handleActionIconClick = function (_evt) {\n        this.close(REASON_DISMISS);\n    };\n    MDCSnackbarFoundation.prototype.clearAutoDismissTimer_ = function () {\n        clearTimeout(this.autoDismissTimer_);\n        this.autoDismissTimer_ = 0;\n    };\n    MDCSnackbarFoundation.prototype.handleAnimationTimerEnd_ = function () {\n        this.animationTimer_ = 0;\n        this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].OPENING);\n        this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CLOSING);\n    };\n    /**\n     * Runs the given logic on the next animation frame, using setTimeout to factor in Firefox reflow behavior.\n     */\n    MDCSnackbarFoundation.prototype.runNextAnimationFrame_ = function (callback) {\n        var _this = this;\n        cancelAnimationFrame(this.animationFrame_);\n        this.animationFrame_ = requestAnimationFrame(function () {\n            _this.animationFrame_ = 0;\n            clearTimeout(_this.animationTimer_);\n            _this.animationTimer_ = setTimeout(callback, 0);\n        });\n    };\n    return MDCSnackbarFoundation;\n}(_material_base_foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCFoundation\"]));\n\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSnackbarFoundation);\n//# sourceMappingURL=foundation.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/foundation.js?");

/***/ }),

/***/ "./node_modules/@material/snackbar/index.js":
/*!**************************************************!*\
  !*** ./node_modules/@material/snackbar/index.js ***!
  \**************************************************/
/*! exports provided: util, MDCSnackbar, MDCSnackbarFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/snackbar/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_0__; });\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./component */ \"./node_modules/@material/snackbar/component.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSnackbar\", function() { return _component__WEBPACK_IMPORTED_MODULE_1__[\"MDCSnackbar\"]; });\n\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/snackbar/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSnackbarFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCSnackbarFoundation\"]; });\n\n/**\n * @license\n * Copyright 2019 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/index.js?");

/***/ }),

/***/ "./node_modules/@material/snackbar/util.js":
/*!*************************************************!*\
  !*** ./node_modules/@material/snackbar/util.js ***!
  \*************************************************/
/*! exports provided: announce */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"announce\", function() { return announce; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/snackbar/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n\nvar ARIA_LIVE_DELAY_MS = _constants__WEBPACK_IMPORTED_MODULE_0__[\"numbers\"].ARIA_LIVE_DELAY_MS;\nvar ARIA_LIVE_LABEL_TEXT_ATTR = _constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_LIVE_LABEL_TEXT_ATTR;\nfunction announce(ariaEl, labelEl) {\n    if (labelEl === void 0) { labelEl = ariaEl; }\n    var priority = ariaEl.getAttribute('aria-live');\n    // Trim text to ignore `&nbsp;` (see below).\n    // textContent is only null if the node is a document, DOCTYPE, or notation.\n    var labelText = labelEl.textContent.trim();\n    if (!labelText || !priority) {\n        return;\n    }\n    // Temporarily disable `aria-live` to prevent JAWS+Firefox from announcing the message twice.\n    ariaEl.setAttribute('aria-live', 'off');\n    // Temporarily clear `textContent` to force a DOM mutation event that will be detected by screen readers.\n    // `aria-live` elements are only announced when the element's `textContent` *changes*, so snackbars\n    // sent to the browser in the initial HTML response won't be read unless we clear the element's `textContent` first.\n    // Similarly, displaying the same snackbar message twice in a row doesn't trigger a DOM mutation event,\n    // so screen readers won't announce the second message unless we first clear `textContent`.\n    //\n    // We have to clear the label text two different ways to make it work in all browsers and screen readers:\n    //\n    //   1. `textContent = ''` is required for IE11 + JAWS\n    //   2. `innerHTML = '&nbsp;'` is required for Chrome + JAWS and NVDA\n    //\n    // All other browser/screen reader combinations support both methods.\n    //\n    // The wrapper `<span>` visually hides the space character so that it doesn't cause jank when added/removed.\n    // N.B.: Setting `position: absolute`, `opacity: 0`, or `height: 0` prevents Chrome from detecting the DOM change.\n    //\n    // This technique has been tested in:\n    //\n    //   * JAWS 2019:\n    //       - Chrome 70\n    //       - Firefox 60 (ESR)\n    //       - IE 11\n    //   * NVDA 2018:\n    //       - Chrome 70\n    //       - Firefox 60 (ESR)\n    //       - IE 11\n    //   * ChromeVox 53\n    labelEl.textContent = '';\n    labelEl.innerHTML = '<span style=\"display: inline-block; width: 0; height: 1px;\">&nbsp;</span>';\n    // Prevent visual jank by temporarily displaying the label text in the ::before pseudo-element.\n    // CSS generated content is normally announced by screen readers\n    // (except in IE 11; see https://tink.uk/accessibility-support-for-css-generated-content/);\n    // however, `aria-live` is turned off, so this DOM update will be ignored by screen readers.\n    labelEl.setAttribute(ARIA_LIVE_LABEL_TEXT_ATTR, labelText);\n    setTimeout(function () {\n        // Allow screen readers to announce changes to the DOM again.\n        ariaEl.setAttribute('aria-live', priority);\n        // Remove the message from the ::before pseudo-element.\n        labelEl.removeAttribute(ARIA_LIVE_LABEL_TEXT_ATTR);\n        // Restore the original label text, which will be announced by screen readers.\n        labelEl.textContent = labelText;\n    }, ARIA_LIVE_DELAY_MS);\n}\n\n//# sourceMappingURL=util.js.map\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/util.js?");

/***/ }),

/***/ "./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/button/index.scss":
/*!************************************************************************************************************!*\
  !*** ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2!./src/button/index.scss ***!
  \************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-button {\\n  font-family: Roboto, sans-serif;\\n  -moz-osx-font-smoothing: grayscale;\\n  -webkit-font-smoothing: antialiased;\\n  font-size: 0.875rem;\\n  line-height: 2.25rem;\\n  font-weight: 500;\\n  letter-spacing: 0.08929em;\\n  text-decoration: none;\\n  text-transform: uppercase;\\n  padding: 0 8px 0 8px;\\n  display: inline-flex;\\n  position: relative;\\n  align-items: center;\\n  justify-content: center;\\n  box-sizing: border-box;\\n  min-width: 64px;\\n  height: 36px;\\n  border: none;\\n  outline: none;\\n  /* @alternate */\\n  line-height: inherit;\\n  user-select: none;\\n  -webkit-appearance: none;\\n  overflow: hidden;\\n  vertical-align: middle;\\n  border-radius: 4px; }\\n  .mdc-button::-moz-focus-inner {\\n    padding: 0;\\n    border: 0; }\\n  .mdc-button:active {\\n    outline: none; }\\n  .mdc-button:hover {\\n    cursor: pointer; }\\n  .mdc-button:disabled {\\n    background-color: transparent;\\n    color: rgba(0, 0, 0, 0.37);\\n    cursor: default;\\n    pointer-events: none; }\\n  .mdc-button.mdc-button--dense {\\n    border-radius: 4px; }\\n  .mdc-button:not(:disabled) {\\n    background-color: transparent; }\\n  .mdc-button .mdc-button__icon {\\n    /* @noflip */\\n    margin-left: 0;\\n    /* @noflip */\\n    margin-right: 8px;\\n    display: inline-block;\\n    width: 18px;\\n    height: 18px;\\n    font-size: 18px;\\n    vertical-align: top; }\\n    [dir=\\\"rtl\\\"] .mdc-button .mdc-button__icon, .mdc-button .mdc-button__icon[dir=\\\"rtl\\\"] {\\n      /* @noflip */\\n      margin-left: 8px;\\n      /* @noflip */\\n      margin-right: 0; }\\n  .mdc-button:not(:disabled) {\\n    color: #0072d9;\\n    /* @alternate */\\n    color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-button__label + .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: 8px;\\n  /* @noflip */\\n  margin-right: 0; }\\n  [dir=\\\"rtl\\\"] .mdc-button__label + .mdc-button__icon, .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 0;\\n    /* @noflip */\\n    margin-right: 8px; }\\n\\nsvg.mdc-button__icon {\\n  fill: currentColor; }\\n\\n.mdc-button--raised .mdc-button__icon,\\n.mdc-button--unelevated .mdc-button__icon,\\n.mdc-button--outlined .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: -4px;\\n  /* @noflip */\\n  margin-right: 8px; }\\n  [dir=\\\"rtl\\\"] .mdc-button--raised .mdc-button__icon, .mdc-button--raised .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--unelevated .mdc-button__icon,\\n  .mdc-button--unelevated .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--outlined .mdc-button__icon,\\n  .mdc-button--outlined .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 8px;\\n    /* @noflip */\\n    margin-right: -4px; }\\n\\n.mdc-button--raised .mdc-button__label + .mdc-button__icon,\\n.mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\\n.mdc-button--outlined .mdc-button__label + .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: 8px;\\n  /* @noflip */\\n  margin-right: -4px; }\\n  [dir=\\\"rtl\\\"] .mdc-button--raised .mdc-button__label + .mdc-button__icon, .mdc-button--raised .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\\n  .mdc-button--unelevated .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--outlined .mdc-button__label + .mdc-button__icon,\\n  .mdc-button--outlined .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: -4px;\\n    /* @noflip */\\n    margin-right: 8px; }\\n\\n.mdc-button--raised,\\n.mdc-button--unelevated {\\n  padding: 0 16px 0 16px; }\\n  .mdc-button--raised:disabled,\\n  .mdc-button--unelevated:disabled {\\n    background-color: rgba(0, 0, 0, 0.12);\\n    color: rgba(0, 0, 0, 0.37); }\\n  .mdc-button--raised:not(:disabled),\\n  .mdc-button--unelevated:not(:disabled) {\\n    background-color: #0072d9; }\\n    @supports not (-ms-ime-align: auto) {\\n      .mdc-button--raised:not(:disabled),\\n      .mdc-button--unelevated:not(:disabled) {\\n        /* @alternate */\\n        background-color: var(--mdc-theme-primary, #0072d9); } }\\n  .mdc-button--raised:not(:disabled),\\n  .mdc-button--unelevated:not(:disabled) {\\n    color: #fff;\\n    /* @alternate */\\n    color: var(--mdc-theme-on-primary, #fff); }\\n\\n.mdc-button--raised {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); }\\n  .mdc-button--raised:hover, .mdc-button--raised:focus {\\n    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); }\\n  .mdc-button--raised:active {\\n    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); }\\n  .mdc-button--raised:disabled {\\n    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12); }\\n\\n.mdc-button--outlined {\\n  border-style: solid;\\n  padding: 0 15px 0 15px;\\n  border-width: 1px; }\\n  .mdc-button--outlined:disabled {\\n    border-color: rgba(0, 0, 0, 0.37); }\\n  .mdc-button--outlined:not(:disabled) {\\n    border-color: #0072d9;\\n    /* @alternate */\\n    border-color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-button--dense {\\n  height: 32px;\\n  font-size: .8125rem; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n  from {\\n    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n    transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n  to {\\n    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n  from {\\n    animation-timing-function: linear;\\n    opacity: 0; }\\n  to {\\n    opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n  from {\\n    animation-timing-function: linear;\\n    opacity: var(--mdc-ripple-fg-opacity, 0); }\\n  to {\\n    opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n  --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n  visibility: hidden; }\\n  .mdc-ripple-surface--test-edge-var-bug::before {\\n    border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-button {\\n  --mdc-ripple-fg-size: 0;\\n  --mdc-ripple-left: 0;\\n  --mdc-ripple-top: 0;\\n  --mdc-ripple-fg-scale: 1;\\n  --mdc-ripple-fg-translate-end: 0;\\n  --mdc-ripple-fg-translate-start: 0;\\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n  will-change: transform, opacity; }\\n  .mdc-button::before, .mdc-button::after {\\n    position: absolute;\\n    border-radius: 50%;\\n    opacity: 0;\\n    pointer-events: none;\\n    content: \\\"\\\"; }\\n  .mdc-button::before {\\n    transition: opacity 15ms linear, background-color 15ms linear;\\n    z-index: 1; }\\n  .mdc-button.mdc-ripple-upgraded::before {\\n    transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-button.mdc-ripple-upgraded::after {\\n    top: 0;\\n    /* @noflip */\\n    left: 0;\\n    transform: scale(0);\\n    transform-origin: center center; }\\n  .mdc-button.mdc-ripple-upgraded--unbounded::after {\\n    top: var(--mdc-ripple-top, 0);\\n    /* @noflip */\\n    left: var(--mdc-ripple-left, 0); }\\n  .mdc-button.mdc-ripple-upgraded--foreground-activation::after {\\n    animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n  .mdc-button.mdc-ripple-upgraded--foreground-deactivation::after {\\n    animation: mdc-ripple-fg-opacity-out 150ms;\\n    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-button::before, .mdc-button::after {\\n    top: calc(50% - 100%);\\n    /* @noflip */\\n    left: calc(50% - 100%);\\n    width: 200%;\\n    height: 200%; }\\n  .mdc-button.mdc-ripple-upgraded::after {\\n    width: var(--mdc-ripple-fg-size, 100%);\\n    height: var(--mdc-ripple-fg-size, 100%); }\\n  .mdc-button::before, .mdc-button::after {\\n    background-color: #0072d9; }\\n    @supports not (-ms-ime-align: auto) {\\n      .mdc-button::before, .mdc-button::after {\\n        /* @alternate */\\n        background-color: var(--mdc-theme-primary, #0072d9); } }\\n  .mdc-button:hover::before {\\n    opacity: 0.04; }\\n  .mdc-button:not(.mdc-ripple-upgraded):focus::before, .mdc-button.mdc-ripple-upgraded--background-focused::before {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-button:not(.mdc-ripple-upgraded)::after {\\n    transition: opacity 150ms linear; }\\n  .mdc-button:not(.mdc-ripple-upgraded):active::after {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-button.mdc-ripple-upgraded {\\n    --mdc-ripple-fg-opacity: 0.12; }\\n\\n.mdc-button--raised::before, .mdc-button--raised::after,\\n.mdc-button--unelevated::before,\\n.mdc-button--unelevated::after {\\n  background-color: #fff; }\\n  @supports not (-ms-ime-align: auto) {\\n    .mdc-button--raised::before, .mdc-button--raised::after,\\n    .mdc-button--unelevated::before,\\n    .mdc-button--unelevated::after {\\n      /* @alternate */\\n      background-color: var(--mdc-theme-on-primary, #fff); } }\\n\\n.mdc-button--raised:hover::before,\\n.mdc-button--unelevated:hover::before {\\n  opacity: 0.08; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded):focus::before, .mdc-button--raised.mdc-ripple-upgraded--background-focused::before,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,\\n.mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded)::after,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded)::after {\\n  transition: opacity 150ms linear; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded):active::after,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-button--raised.mdc-ripple-upgraded,\\n.mdc-button--unelevated.mdc-ripple-upgraded {\\n  --mdc-ripple-fg-opacity: 0.24; }\\n\\n.m-icon {\\n  margin-right: 0.6em; }\\n\\n.material-icons {\\n  font-family: 'Material Icons';\\n  font-weight: normal;\\n  font-style: normal;\\n  font-size: 24px;\\n  line-height: 1;\\n  letter-spacing: normal;\\n  text-transform: none;\\n  display: inline-block;\\n  white-space: nowrap;\\n  word-wrap: normal;\\n  direction: ltr;\\n  -webkit-font-feature-settings: 'liga';\\n  -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/button/index.scss?./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2");

/***/ }),

/***/ "./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/snackbar/index.scss":
/*!**************************************************************************************************************!*\
  !*** ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2!./src/snackbar/index.scss ***!
  \**************************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-snackbar {\\n  z-index: 8;\\n  margin: 8px;\\n  display: none;\\n  position: fixed;\\n  right: 0;\\n  bottom: 0;\\n  left: 0;\\n  align-items: center;\\n  justify-content: center;\\n  box-sizing: border-box;\\n  pointer-events: none;\\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }\\n\\n.mdc-snackbar__surface {\\n  background-color: #333333; }\\n\\n.mdc-snackbar__label {\\n  color: rgba(255, 255, 255, 0.87); }\\n\\n.mdc-snackbar__surface {\\n  min-width: 344px; }\\n  @media (max-width: 480px), (max-width: 344px) {\\n    .mdc-snackbar__surface {\\n      min-width: 100%; } }\\n\\n.mdc-snackbar__surface {\\n  max-width: 672px; }\\n\\n.mdc-snackbar__surface {\\n  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12); }\\n\\n.mdc-snackbar__surface {\\n  border-radius: 4px; }\\n\\n.mdc-snackbar--opening,\\n.mdc-snackbar--open,\\n.mdc-snackbar--closing {\\n  display: flex; }\\n\\n.mdc-snackbar--leading {\\n  justify-content: flex-start; }\\n\\n.mdc-snackbar--stacked .mdc-snackbar__surface {\\n  flex-direction: column;\\n  align-items: flex-start; }\\n\\n.mdc-snackbar--stacked .mdc-snackbar__actions {\\n  align-self: flex-end;\\n  margin-bottom: 8px; }\\n\\n.mdc-snackbar__surface {\\n  display: flex;\\n  align-items: center;\\n  justify-content: flex-start;\\n  box-sizing: border-box;\\n  transform: scale(0.8);\\n  opacity: 0; }\\n  .mdc-snackbar--open .mdc-snackbar__surface {\\n    transform: scale(1);\\n    transition: opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1), transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1);\\n    opacity: 1;\\n    pointer-events: auto; }\\n  .mdc-snackbar--closing .mdc-snackbar__surface {\\n    transform: scale(1);\\n    transition: opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1); }\\n\\n.mdc-snackbar__label {\\n  font-family: Roboto, sans-serif;\\n  -moz-osx-font-smoothing: grayscale;\\n  -webkit-font-smoothing: antialiased;\\n  font-size: 0.875rem;\\n  line-height: 1.25rem;\\n  font-weight: 400;\\n  letter-spacing: 0.01786em;\\n  text-decoration: inherit;\\n  text-transform: inherit;\\n  flex-grow: 1;\\n  box-sizing: border-box;\\n  margin: 0;\\n  padding: 14px 16px; }\\n\\n.mdc-snackbar__label::before {\\n  display: inline;\\n  content: attr(data-mdc-snackbar-label-text); }\\n\\n.mdc-snackbar__actions {\\n  /* @noflip */\\n  margin-left: 0;\\n  /* @noflip */\\n  margin-right: 8px;\\n  display: flex;\\n  flex-shrink: 0;\\n  align-items: center;\\n  box-sizing: border-box; }\\n  [dir=\\\"rtl\\\"] .mdc-snackbar__actions, .mdc-snackbar__actions[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 8px;\\n    /* @noflip */\\n    margin-right: 0; }\\n\\n.mdc-snackbar__action:not(:disabled) {\\n  color: #bb86fc; }\\n\\n.mdc-snackbar__action::before, .mdc-snackbar__action::after {\\n  background-color: #bb86fc; }\\n\\n.mdc-snackbar__action:hover::before {\\n  opacity: 0.08; }\\n\\n.mdc-snackbar__action:not(.mdc-ripple-upgraded):focus::before, .mdc-snackbar__action.mdc-ripple-upgraded--background-focused::before {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-snackbar__action:not(.mdc-ripple-upgraded)::after {\\n  transition: opacity 150ms linear; }\\n\\n.mdc-snackbar__action:not(.mdc-ripple-upgraded):active::after {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-snackbar__action.mdc-ripple-upgraded {\\n  --mdc-ripple-fg-opacity: 0.24; }\\n\\n.mdc-snackbar__dismiss {\\n  color: rgba(255, 255, 255, 0.87); }\\n  .mdc-snackbar__dismiss::before, .mdc-snackbar__dismiss::after {\\n    background-color: rgba(255, 255, 255, 0.87); }\\n  .mdc-snackbar__dismiss:hover::before {\\n    opacity: 0.08; }\\n  .mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):focus::before, .mdc-snackbar__dismiss.mdc-ripple-upgraded--background-focused::before {\\n    transition-duration: 75ms;\\n    opacity: 0.24; }\\n  .mdc-snackbar__dismiss:not(.mdc-ripple-upgraded)::after {\\n    transition: opacity 150ms linear; }\\n  .mdc-snackbar__dismiss:not(.mdc-ripple-upgraded):active::after {\\n    transition-duration: 75ms;\\n    opacity: 0.24; }\\n  .mdc-snackbar__dismiss.mdc-ripple-upgraded {\\n    --mdc-ripple-fg-opacity: 0.24; }\\n\\n.mdc-snackbar__dismiss.mdc-snackbar__dismiss {\\n  width: 36px;\\n  height: 36px;\\n  padding: 9px;\\n  font-size: 18px; }\\n  .mdc-snackbar__dismiss.mdc-snackbar__dismiss svg,\\n  .mdc-snackbar__dismiss.mdc-snackbar__dismiss img {\\n    width: 18px;\\n    height: 18px; }\\n\\n.mdc-snackbar__action + .mdc-snackbar__dismiss {\\n  /* @noflip */\\n  margin-left: 8px;\\n  /* @noflip */\\n  margin-right: 0; }\\n  [dir=\\\"rtl\\\"] .mdc-snackbar__action + .mdc-snackbar__dismiss, .mdc-snackbar__action + .mdc-snackbar__dismiss[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 0;\\n    /* @noflip */\\n    margin-right: 8px; }\\n\\n.mdc-button {\\n  font-family: Roboto, sans-serif;\\n  -moz-osx-font-smoothing: grayscale;\\n  -webkit-font-smoothing: antialiased;\\n  font-size: 0.875rem;\\n  line-height: 2.25rem;\\n  font-weight: 500;\\n  letter-spacing: 0.08929em;\\n  text-decoration: none;\\n  text-transform: uppercase;\\n  padding: 0 8px 0 8px;\\n  display: inline-flex;\\n  position: relative;\\n  align-items: center;\\n  justify-content: center;\\n  box-sizing: border-box;\\n  min-width: 64px;\\n  height: 36px;\\n  border: none;\\n  outline: none;\\n  /* @alternate */\\n  line-height: inherit;\\n  user-select: none;\\n  -webkit-appearance: none;\\n  overflow: hidden;\\n  vertical-align: middle;\\n  border-radius: 4px; }\\n  .mdc-button::-moz-focus-inner {\\n    padding: 0;\\n    border: 0; }\\n  .mdc-button:active {\\n    outline: none; }\\n  .mdc-button:hover {\\n    cursor: pointer; }\\n  .mdc-button:disabled {\\n    background-color: transparent;\\n    color: rgba(0, 0, 0, 0.37);\\n    cursor: default;\\n    pointer-events: none; }\\n  .mdc-button.mdc-button--dense {\\n    border-radius: 4px; }\\n  .mdc-button:not(:disabled) {\\n    background-color: transparent; }\\n  .mdc-button .mdc-button__icon {\\n    /* @noflip */\\n    margin-left: 0;\\n    /* @noflip */\\n    margin-right: 8px;\\n    display: inline-block;\\n    width: 18px;\\n    height: 18px;\\n    font-size: 18px;\\n    vertical-align: top; }\\n    [dir=\\\"rtl\\\"] .mdc-button .mdc-button__icon, .mdc-button .mdc-button__icon[dir=\\\"rtl\\\"] {\\n      /* @noflip */\\n      margin-left: 8px;\\n      /* @noflip */\\n      margin-right: 0; }\\n  .mdc-button:not(:disabled) {\\n    color: #0072d9;\\n    /* @alternate */\\n    color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-button__label + .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: 8px;\\n  /* @noflip */\\n  margin-right: 0; }\\n  [dir=\\\"rtl\\\"] .mdc-button__label + .mdc-button__icon, .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 0;\\n    /* @noflip */\\n    margin-right: 8px; }\\n\\nsvg.mdc-button__icon {\\n  fill: currentColor; }\\n\\n.mdc-button--raised .mdc-button__icon,\\n.mdc-button--unelevated .mdc-button__icon,\\n.mdc-button--outlined .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: -4px;\\n  /* @noflip */\\n  margin-right: 8px; }\\n  [dir=\\\"rtl\\\"] .mdc-button--raised .mdc-button__icon, .mdc-button--raised .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--unelevated .mdc-button__icon,\\n  .mdc-button--unelevated .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--outlined .mdc-button__icon,\\n  .mdc-button--outlined .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: 8px;\\n    /* @noflip */\\n    margin-right: -4px; }\\n\\n.mdc-button--raised .mdc-button__label + .mdc-button__icon,\\n.mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\\n.mdc-button--outlined .mdc-button__label + .mdc-button__icon {\\n  /* @noflip */\\n  margin-left: 8px;\\n  /* @noflip */\\n  margin-right: -4px; }\\n  [dir=\\\"rtl\\\"] .mdc-button--raised .mdc-button__label + .mdc-button__icon, .mdc-button--raised .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--unelevated .mdc-button__label + .mdc-button__icon,\\n  .mdc-button--unelevated .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n  .mdc-button--outlined .mdc-button__label + .mdc-button__icon,\\n  .mdc-button--outlined .mdc-button__label + .mdc-button__icon[dir=\\\"rtl\\\"] {\\n    /* @noflip */\\n    margin-left: -4px;\\n    /* @noflip */\\n    margin-right: 8px; }\\n\\n.mdc-button--raised,\\n.mdc-button--unelevated {\\n  padding: 0 16px 0 16px; }\\n  .mdc-button--raised:disabled,\\n  .mdc-button--unelevated:disabled {\\n    background-color: rgba(0, 0, 0, 0.12);\\n    color: rgba(0, 0, 0, 0.37); }\\n  .mdc-button--raised:not(:disabled),\\n  .mdc-button--unelevated:not(:disabled) {\\n    background-color: #0072d9; }\\n    @supports not (-ms-ime-align: auto) {\\n      .mdc-button--raised:not(:disabled),\\n      .mdc-button--unelevated:not(:disabled) {\\n        /* @alternate */\\n        background-color: var(--mdc-theme-primary, #0072d9); } }\\n  .mdc-button--raised:not(:disabled),\\n  .mdc-button--unelevated:not(:disabled) {\\n    color: #fff;\\n    /* @alternate */\\n    color: var(--mdc-theme-on-primary, #fff); }\\n\\n.mdc-button--raised {\\n  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);\\n  transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); }\\n  .mdc-button--raised:hover, .mdc-button--raised:focus {\\n    box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); }\\n  .mdc-button--raised:active {\\n    box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); }\\n  .mdc-button--raised:disabled {\\n    box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12); }\\n\\n.mdc-button--outlined {\\n  border-style: solid;\\n  padding: 0 15px 0 15px;\\n  border-width: 1px; }\\n  .mdc-button--outlined:disabled {\\n    border-color: rgba(0, 0, 0, 0.37); }\\n  .mdc-button--outlined:not(:disabled) {\\n    border-color: #0072d9;\\n    /* @alternate */\\n    border-color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-button--dense {\\n  height: 32px;\\n  font-size: .8125rem; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n  from {\\n    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n    transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n  to {\\n    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n  from {\\n    animation-timing-function: linear;\\n    opacity: 0; }\\n  to {\\n    opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n  from {\\n    animation-timing-function: linear;\\n    opacity: var(--mdc-ripple-fg-opacity, 0); }\\n  to {\\n    opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n  --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n  visibility: hidden; }\\n  .mdc-ripple-surface--test-edge-var-bug::before {\\n    border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-button {\\n  --mdc-ripple-fg-size: 0;\\n  --mdc-ripple-left: 0;\\n  --mdc-ripple-top: 0;\\n  --mdc-ripple-fg-scale: 1;\\n  --mdc-ripple-fg-translate-end: 0;\\n  --mdc-ripple-fg-translate-start: 0;\\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n  will-change: transform, opacity; }\\n  .mdc-button::before, .mdc-button::after {\\n    position: absolute;\\n    border-radius: 50%;\\n    opacity: 0;\\n    pointer-events: none;\\n    content: \\\"\\\"; }\\n  .mdc-button::before {\\n    transition: opacity 15ms linear, background-color 15ms linear;\\n    z-index: 1; }\\n  .mdc-button.mdc-ripple-upgraded::before {\\n    transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-button.mdc-ripple-upgraded::after {\\n    top: 0;\\n    /* @noflip */\\n    left: 0;\\n    transform: scale(0);\\n    transform-origin: center center; }\\n  .mdc-button.mdc-ripple-upgraded--unbounded::after {\\n    top: var(--mdc-ripple-top, 0);\\n    /* @noflip */\\n    left: var(--mdc-ripple-left, 0); }\\n  .mdc-button.mdc-ripple-upgraded--foreground-activation::after {\\n    animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n  .mdc-button.mdc-ripple-upgraded--foreground-deactivation::after {\\n    animation: mdc-ripple-fg-opacity-out 150ms;\\n    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-button::before, .mdc-button::after {\\n    top: calc(50% - 100%);\\n    /* @noflip */\\n    left: calc(50% - 100%);\\n    width: 200%;\\n    height: 200%; }\\n  .mdc-button.mdc-ripple-upgraded::after {\\n    width: var(--mdc-ripple-fg-size, 100%);\\n    height: var(--mdc-ripple-fg-size, 100%); }\\n  .mdc-button::before, .mdc-button::after {\\n    background-color: #0072d9; }\\n    @supports not (-ms-ime-align: auto) {\\n      .mdc-button::before, .mdc-button::after {\\n        /* @alternate */\\n        background-color: var(--mdc-theme-primary, #0072d9); } }\\n  .mdc-button:hover::before {\\n    opacity: 0.04; }\\n  .mdc-button:not(.mdc-ripple-upgraded):focus::before, .mdc-button.mdc-ripple-upgraded--background-focused::before {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-button:not(.mdc-ripple-upgraded)::after {\\n    transition: opacity 150ms linear; }\\n  .mdc-button:not(.mdc-ripple-upgraded):active::after {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-button.mdc-ripple-upgraded {\\n    --mdc-ripple-fg-opacity: 0.12; }\\n\\n.mdc-button--raised::before, .mdc-button--raised::after,\\n.mdc-button--unelevated::before,\\n.mdc-button--unelevated::after {\\n  background-color: #fff; }\\n  @supports not (-ms-ime-align: auto) {\\n    .mdc-button--raised::before, .mdc-button--raised::after,\\n    .mdc-button--unelevated::before,\\n    .mdc-button--unelevated::after {\\n      /* @alternate */\\n      background-color: var(--mdc-theme-on-primary, #fff); } }\\n\\n.mdc-button--raised:hover::before,\\n.mdc-button--unelevated:hover::before {\\n  opacity: 0.08; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded):focus::before, .mdc-button--raised.mdc-ripple-upgraded--background-focused::before,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):focus::before,\\n.mdc-button--unelevated.mdc-ripple-upgraded--background-focused::before {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded)::after,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded)::after {\\n  transition: opacity 150ms linear; }\\n\\n.mdc-button--raised:not(.mdc-ripple-upgraded):active::after,\\n.mdc-button--unelevated:not(.mdc-ripple-upgraded):active::after {\\n  transition-duration: 75ms;\\n  opacity: 0.24; }\\n\\n.mdc-button--raised.mdc-ripple-upgraded,\\n.mdc-button--unelevated.mdc-ripple-upgraded {\\n  --mdc-ripple-fg-opacity: 0.24; }\\n\\n.mdc-icon-button {\\n  width: 48px;\\n  height: 48px;\\n  padding: 12px;\\n  font-size: 24px;\\n  display: inline-block;\\n  position: relative;\\n  box-sizing: border-box;\\n  border: none;\\n  outline: none;\\n  background-color: transparent;\\n  fill: currentColor;\\n  color: inherit;\\n  text-decoration: none;\\n  cursor: pointer;\\n  user-select: none; }\\n  .mdc-icon-button svg,\\n  .mdc-icon-button img {\\n    width: 24px;\\n    height: 24px; }\\n  .mdc-icon-button:disabled {\\n    color: rgba(0, 0, 0, 0.38);\\n    /* @alternate */\\n    color: var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38));\\n    cursor: default;\\n    pointer-events: none; }\\n\\n.mdc-icon-button__icon {\\n  display: inline-block; }\\n  .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n    display: none; }\\n\\n.mdc-icon-button--on .mdc-icon-button__icon {\\n  display: none; }\\n  .mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n    display: inline-block; }\\n\\n.mdc-icon-button {\\n  --mdc-ripple-fg-size: 0;\\n  --mdc-ripple-left: 0;\\n  --mdc-ripple-top: 0;\\n  --mdc-ripple-fg-scale: 1;\\n  --mdc-ripple-fg-translate-end: 0;\\n  --mdc-ripple-fg-translate-start: 0;\\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n  will-change: transform, opacity; }\\n  .mdc-icon-button::before, .mdc-icon-button::after {\\n    position: absolute;\\n    border-radius: 50%;\\n    opacity: 0;\\n    pointer-events: none;\\n    content: \\\"\\\"; }\\n  .mdc-icon-button::before {\\n    transition: opacity 15ms linear, background-color 15ms linear;\\n    z-index: 1; }\\n  .mdc-icon-button.mdc-ripple-upgraded::before {\\n    transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-icon-button.mdc-ripple-upgraded::after {\\n    top: 0;\\n    /* @noflip */\\n    left: 0;\\n    transform: scale(0);\\n    transform-origin: center center; }\\n  .mdc-icon-button.mdc-ripple-upgraded--unbounded::after {\\n    top: var(--mdc-ripple-top, 0);\\n    /* @noflip */\\n    left: var(--mdc-ripple-left, 0); }\\n  .mdc-icon-button.mdc-ripple-upgraded--foreground-activation::after {\\n    animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n  .mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation::after {\\n    animation: mdc-ripple-fg-opacity-out 150ms;\\n    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n  .mdc-icon-button::before, .mdc-icon-button::after {\\n    top: calc(50% - 50%);\\n    /* @noflip */\\n    left: calc(50% - 50%);\\n    width: 100%;\\n    height: 100%; }\\n  .mdc-icon-button.mdc-ripple-upgraded::before, .mdc-icon-button.mdc-ripple-upgraded::after {\\n    top: var(--mdc-ripple-top, calc(50% - 50%));\\n    /* @noflip */\\n    left: var(--mdc-ripple-left, calc(50% - 50%));\\n    width: var(--mdc-ripple-fg-size, 100%);\\n    height: var(--mdc-ripple-fg-size, 100%); }\\n  .mdc-icon-button.mdc-ripple-upgraded::after {\\n    width: var(--mdc-ripple-fg-size, 100%);\\n    height: var(--mdc-ripple-fg-size, 100%); }\\n  .mdc-icon-button::before, .mdc-icon-button::after {\\n    background-color: #000; }\\n  .mdc-icon-button:hover::before {\\n    opacity: 0.04; }\\n  .mdc-icon-button:not(.mdc-ripple-upgraded):focus::before, .mdc-icon-button.mdc-ripple-upgraded--background-focused::before {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-icon-button:not(.mdc-ripple-upgraded)::after {\\n    transition: opacity 150ms linear; }\\n  .mdc-icon-button:not(.mdc-ripple-upgraded):active::after {\\n    transition-duration: 75ms;\\n    opacity: 0.12; }\\n  .mdc-icon-button.mdc-ripple-upgraded {\\n    --mdc-ripple-fg-opacity: 0.12; }\\n\\n.mdc-snackbar__action:not(:disabled) {\\n  color: #2170b8 !important; }\\n\\n.material-icons {\\n  font-family: 'Material Icons';\\n  font-weight: normal;\\n  font-style: normal;\\n  font-size: 24px;\\n  line-height: 1;\\n  letter-spacing: normal;\\n  text-transform: none;\\n  display: inline-block;\\n  white-space: nowrap;\\n  word-wrap: normal;\\n  direction: ltr;\\n  -webkit-font-feature-settings: 'liga';\\n  -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/snackbar/index.scss?./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2");

/***/ }),

/***/ "./node_modules/css-loader/lib/css-base.js":
/*!*************************************************!*\
  !*** ./node_modules/css-loader/lib/css-base.js ***!
  \*************************************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t//  when a module is imported multiple times with different media queries.\n\t\t\t//  I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n//# sourceURL=webpack:///./node_modules/css-loader/lib/css-base.js?");

/***/ }),

/***/ "./node_modules/omi/dist/omi.esm.js":
/*!******************************************!*\
  !*** ./node_modules/omi/dist/omi.esm.js ***!
  \******************************************/
/*! exports provided: default, tag, WeElement, Component, render, h, createElement, options, define, observe, cloneElement, getHost, rpx, tick, nextTick, ModelView, defineElement, classNames, extractClass, createRef, html, htm, o, elements */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tag\", function() { return tag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WeElement\", function() { return WeElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"define\", function() { return define; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observe\", function() { return observe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getHost\", function() { return getHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rpx\", function() { return rpx; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tick\", function() { return tick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nextTick\", function() { return nextTick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ModelView\", function() { return ModelView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defineElement\", function() { return defineElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"classNames\", function() { return classNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractClass\", function() { return extractClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRef\", function() { return createRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"html\", function() { return html; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"htm\", function() { return htm; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"o\", function() { return o; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"elements\", function() { return elements; });\n/**\n * omi v6.3.12  http://omijs.org\n * Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.\n * By dntzhang https://github.com/dntzhang\n * Github: https://github.com/Tencent/omi\n * MIT Licensed.\n */\n\n/** Virtual DOM Node */\nfunction VNode() {}\n\nfunction getGlobal() {\n  if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {\n    return self || window || global || function () {\n      return this;\n    }();\n  }\n  return global;\n}\n\n/** Global options\n *\t@public\n *\t@namespace options {Object}\n */\nvar options = {\n  store: null,\n  root: getGlobal(),\n  mapping: {}\n};\n\nvar stack = [];\n\nfunction h(nodeName, attributes) {\n  var children = [],\n      lastSimple,\n      child,\n      simple,\n      i;\n  for (i = arguments.length; i-- > 2;) {\n    stack.push(arguments[i]);\n  }\n  if (attributes && attributes.children != null) {\n    if (!stack.length) stack.push(attributes.children);\n    delete attributes.children;\n  }\n  while (stack.length) {\n    if ((child = stack.pop()) && child.pop !== undefined) {\n      for (i = child.length; i--;) {\n        stack.push(child[i]);\n      }\n    } else {\n      if (typeof child === 'boolean') child = null;\n\n      if (simple = typeof nodeName !== 'function') {\n        if (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n      }\n\n      if (simple && lastSimple) {\n        children[children.length - 1] += child;\n      } else if (children.length === 0) {\n        children = [child];\n      } else {\n        children.push(child);\n      }\n\n      lastSimple = simple;\n    }\n  }\n\n  var p = new VNode();\n  p.nodeName = nodeName;\n  p.children = children;\n  p.attributes = attributes == null ? undefined : attributes;\n  p.key = attributes == null ? undefined : attributes.key;\n\n  // if a \"vnode hook\" is defined, pass every created VNode to it\n  if (options.vnode !== undefined) options.vnode(p);\n\n  return p;\n}\n\n/**\n * @license\n * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n */\n(function () {\n  if (\n  // No Reflect, no classes, no need for shim because native custom elements\n  // require ES2015 classes or Reflect.\n  window.Reflect === undefined || window.customElements === undefined ||\n  // The webcomponentsjs custom elements polyfill doesn't require\n  // ES2015-compatible construction (`super()` or `Reflect.construct`).\n  window.customElements.hasOwnProperty('polyfillWrapFlushCallback')) {\n    return;\n  }\n  var BuiltInHTMLElement = HTMLElement;\n  window.HTMLElement = function HTMLElement() {\n    return Reflect.construct(BuiltInHTMLElement, [], this.constructor);\n  };\n  HTMLElement.prototype = BuiltInHTMLElement.prototype;\n  HTMLElement.prototype.constructor = HTMLElement;\n  Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);\n})();\n\nfunction cssToDom(css) {\n  var node = document.createElement('style');\n  node.textContent = css;\n  return node;\n}\n\nfunction npn(str) {\n  return str.replace(/-(\\w)/g, function ($, $1) {\n    return $1.toUpperCase();\n  });\n}\n\nfunction extend(obj, props) {\n  for (var i in props) {\n    obj[i] = props[i];\n  }return obj;\n}\n\n/** Invoke or update a ref, depending on whether it is a function or object ref.\n *  @param {object|function} [ref=null]\n *  @param {any} [value]\n */\nfunction applyRef(ref, value) {\n  if (ref != null) {\n    if (typeof ref == 'function') ref(value);else ref.current = value;\n  }\n}\n\n/**\n * Call a function asynchronously, as soon as possible. Makes\n * use of HTML Promise to schedule the callback if available,\n * otherwise falling back to `setTimeout` (mainly for IE<11).\n * @type {(callback: function) => void}\n */\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction isArray(obj) {\n  return Object.prototype.toString.call(obj) === '[object Array]';\n}\n\nfunction nProps(props) {\n  if (!props || isArray(props)) return {};\n  var result = {};\n  Object.keys(props).forEach(function (key) {\n    result[key] = props[key].value;\n  });\n  return result;\n}\n\nfunction getUse(data, paths) {\n  var obj = [];\n  paths.forEach(function (path, index) {\n    var isPath = typeof path === 'string';\n    if (isPath) {\n      obj[index] = getTargetByPath(data, path);\n    } else {\n      var key = Object.keys(path)[0];\n      var value = path[key];\n      if (typeof value === 'string') {\n        obj[index] = getTargetByPath(data, value);\n      } else {\n        var tempPath = value[0];\n        if (typeof tempPath === 'string') {\n          var tempVal = getTargetByPath(data, tempPath);\n          obj[index] = value[1] ? value[1](tempVal) : tempVal;\n        } else {\n          var args = [];\n          tempPath.forEach(function (path) {\n            args.push(getTargetByPath(data, path));\n          });\n          obj[index] = value[1].apply(null, args);\n        }\n      }\n      obj[key] = obj[index];\n    }\n  });\n  return obj;\n}\n\nfunction getTargetByPath(origin, path) {\n  var arr = path.replace(/]/g, '').replace(/\\[/g, '.').split('.');\n  var current = origin;\n  for (var i = 0, len = arr.length; i < len; i++) {\n    current = current[arr[i]];\n  }\n  return current;\n}\n\nvar hyphenateRE = /\\B([A-Z])/g;\nfunction hyphenate(str) {\n  return str.replace(hyphenateRE, '-$1').toLowerCase();\n}\n\n// DOM properties that should NOT have \"px\" added when numeric\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\n/**\n * Check if two nodes are equivalent.\n *\n * @param {Node} node\t\t\tDOM Node to compare\n * @param {VNode} vnode\t\t\tVirtual DOM node to compare\n * @param {boolean} [hydrating=false]\tIf true, ignores component constructors when comparing.\n * @private\n */\nfunction isSameNodeType(node, vnode, hydrating) {\n  if (typeof vnode === 'string' || typeof vnode === 'number') {\n    return node.splitText !== undefined;\n  }\n  if (typeof vnode.nodeName === 'string') {\n    return !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n  } else if (typeof vnode.nodeName === 'function') {\n    return options.mapping[node.nodeName.toLowerCase()] === vnode.nodeName;\n  }\n  return hydrating || node._componentConstructor === vnode.nodeName;\n}\n\n/**\n * Check if an Element has a given nodeName, case-insensitively.\n *\n * @param {Element} node\tA DOM Element to inspect the name of.\n * @param {String} nodeName\tUnnormalized name to compare against.\n */\nfunction isNamedNode(node, nodeName) {\n  return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\n/**\n * Create an element with the given nodeName.\n * @param {string} nodeName The DOM node to create\n * @param {boolean} [isSvg=false] If `true`, creates an element within the SVG\n *  namespace.\n * @returns {Element} The created DOM node\n */\nfunction createNode(nodeName, isSvg) {\n  /** @type {Element} */\n  var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n  node.normalizedNodeName = nodeName;\n  return node;\n}\n\n/**\n * Remove a child node from its parent if attached.\n * @param {Node} node The node to remove\n */\nfunction removeNode(node) {\n  var parentNode = node.parentNode;\n  if (parentNode) parentNode.removeChild(node);\n}\n\n/**\n * Set a named attribute on the given Node, with special behavior for some names\n * and event handlers. If `value` is `null`, the attribute/handler will be\n * removed.\n * @param {Element} node An element to mutate\n * @param {string} name The name/key to set, such as an event or attribute name\n * @param {*} old The last value that was set for this name/node pair\n * @param {*} value An attribute value, such as a function to be used as an\n *  event handler\n * @param {boolean} isSvg Are we currently diffing inside an svg?\n * @private\n */\nfunction setAccessor(node, name, old, value, isSvg) {\n  if (name === 'className') name = 'class';\n\n  if (name === 'key') {\n    // ignore\n  } else if (name === 'ref') {\n    applyRef(old, null);\n    applyRef(value, node);\n  } else if (name === 'class' && !isSvg) {\n    node.className = value || '';\n  } else if (name === 'style') {\n    if (!value || typeof value === 'string' || typeof old === 'string') {\n      node.style.cssText = value || '';\n    }\n    if (value && typeof value === 'object') {\n      if (typeof old !== 'string') {\n        for (var i in old) {\n          if (!(i in value)) node.style[i] = '';\n        }\n      }\n      for (var i in value) {\n        node.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n      }\n    }\n  } else if (name === 'dangerouslySetInnerHTML') {\n    if (value) node.innerHTML = value.__html || '';\n  } else if (name[0] == 'o' && name[1] == 'n') {\n    var useCapture = name !== (name = name.replace(/Capture$/, ''));\n    name = name.toLowerCase().substring(2);\n    if (value) {\n      if (!old) {\n        node.addEventListener(name, eventProxy, useCapture);\n        if (name == 'tap') {\n          node.addEventListener('touchstart', touchStart, useCapture);\n          node.addEventListener('touchend', touchEnd, useCapture);\n        }\n      }\n    } else {\n      node.removeEventListener(name, eventProxy, useCapture);\n      if (name == 'tap') {\n        node.removeEventListener('touchstart', touchStart, useCapture);\n        node.removeEventListener('touchend', touchEnd, useCapture);\n      }\n    }\n(node._listeners || (node._listeners = {}))[name] = value;\n  } else if (name !== 'list' && name !== 'type' && name !== 'css' && !isSvg && name in node && value != '') {\n    //value != '' fix for selected, disabled, checked\n    // Attempt to set a DOM property to the given value.\n    // IE & FF throw for certain property-value combinations.\n    try {\n      node[name] = value == null ? '' : value;\n    } catch (e) {}\n    if ((value == null || value === false) && name != 'spellcheck') node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n  } else {\n    var ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n    // spellcheck is treated differently than all other boolean values and\n    // should not be removed when the value is `false`. See:\n    // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck\n    if (value == null || value === false) {\n      if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n    } else if (typeof value !== 'function') {\n      if (ns) {\n        node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);\n      } else {\n        node.pureSetAttribute ? node.pureSetAttribute(name, value) : node.setAttribute(name, value);\n      }\n    }\n  }\n}\n\n/**\n * Proxy an event to hooked event handlers\n * @param {Event} e The event object from the browser\n * @private\n */\nfunction eventProxy(e) {\n  return this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nfunction touchStart(e) {\n  this.___touchX = e.touches[0].pageX;\n  this.___touchY = e.touches[0].pageY;\n  this.___scrollTop = document.body.scrollTop;\n}\n\nfunction touchEnd(e) {\n  if (Math.abs(e.changedTouches[0].pageX - this.___touchX) < 30 && Math.abs(e.changedTouches[0].pageY - this.___touchY) < 30 && Math.abs(document.body.scrollTop - this.___scrollTop) < 30) {\n    this.dispatchEvent(new CustomEvent('tap', { detail: e }));\n  }\n}\n\n/** Diff recursion count, used to track the end of the diff cycle. */\nvar diffLevel = 0;\n\n/** Global flag indicating if the diff is currently within an SVG */\nvar isSvgMode = false;\n\n/** Global flag indicating if the diff is performing hydration */\nvar hydrating = false;\n\n/** Apply differences in a given vnode (and it's deep children) to a real DOM Node.\n *\t@param {Element} [dom=null]\t\tA DOM node to mutate into the shape of the `vnode`\n *\t@param {VNode} vnode\t\t\tA VNode (with descendants forming a tree) representing the desired DOM structure\n *\t@returns {Element} dom\t\t\tThe created/mutated element\n *\t@private\n */\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n  // diffLevel having been 0 here indicates initial entry into the diff (not a subdiff)\n  var ret;\n  if (!diffLevel++) {\n    // when first starting the diff, check if we're diffing an SVG or within an SVG\n    isSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n    // hydration is indicated by the existing element to be diffed not having a prop cache\n    hydrating = dom != null && !('__omiattr_' in dom);\n  }\n  if (isArray(vnode)) {\n    ret = [];\n    var parentNode = null;\n    if (isArray(dom)) {\n      var domLength = dom.length;\n      var vnodeLength = vnode.length;\n      var maxLength = domLength >= vnodeLength ? domLength : vnodeLength;\n      parentNode = dom[0].parentNode;\n      for (var i = 0; i < maxLength; i++) {\n        var ele = idiff(dom[i], vnode[i], context, mountAll, componentRoot);\n        ret.push(ele);\n        if (i > domLength - 1) {\n          parentNode.appendChild(ele);\n        }\n      }\n    } else {\n      vnode.forEach(function (item) {\n        var ele = idiff(dom, item, context, mountAll, componentRoot);\n        ret.push(ele);\n        parent && parent.appendChild(ele);\n      });\n    }\n  } else {\n    if (isArray(dom)) {\n      ret = idiff(dom[0], vnode, context, mountAll, componentRoot);\n    } else {\n      ret = idiff(dom, vnode, context, mountAll, componentRoot);\n    }\n    // append the element if its a new parent\n    if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n  }\n\n  // diffLevel being reduced to 0 means we're exiting the diff\n  if (! --diffLevel) {\n    hydrating = false;\n    // invoke queued componentDidMount lifecycle methods\n  }\n\n  return ret;\n}\n\n/** Internals of `diff()`, separated to allow bypassing diffLevel / mount flushing. */\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n  if (dom && vnode && dom.props) {\n    dom.props.children = vnode.children;\n  }\n  var out = dom,\n      prevSvgMode = isSvgMode;\n\n  // empty values (null, undefined, booleans) render as empty Text nodes\n  if (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n  // Fast case: Strings & Numbers create/update Text nodes.\n  if (typeof vnode === 'string' || typeof vnode === 'number') {\n    // update if it's already a Text node:\n    if (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n      /* istanbul ignore if */ /* Browser quirk that can't be covered: https://github.com/developit/preact/commit/fd4f21f5c45dfd75151bd27b4c217d8003aa5eb9 */\n      if (dom.nodeValue != vnode) {\n        dom.nodeValue = vnode;\n      }\n    } else {\n      // it wasn't a Text node: replace it with one and recycle the old Element\n      out = document.createTextNode(vnode);\n      if (dom) {\n        if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n        recollectNodeTree(dom, true);\n      }\n    }\n\n    out['__omiattr_'] = true;\n\n    return out;\n  }\n\n  // If the VNode represents a Component, perform a component diff:\n  var vnodeName = vnode.nodeName;\n  if (typeof vnodeName === 'function') {\n    for (var key in options.mapping) {\n      if (options.mapping[key] === vnodeName) {\n        vnodeName = key;\n        vnode.nodeName = key;\n        break;\n      }\n    }\n  }\n  // Tracks entering and exiting SVG namespace when descending through the tree.\n  isSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n  // If there's no existing element or it's the wrong type, create a new one:\n  vnodeName = String(vnodeName);\n  if (!dom || !isNamedNode(dom, vnodeName)) {\n    out = createNode(vnodeName, isSvgMode);\n\n    if (dom) {\n      // move children into the replacement node\n      while (dom.firstChild) {\n        out.appendChild(dom.firstChild);\n      } // if the previous Element was mounted into the DOM, replace it inline\n      if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n      // recycle the old element (skips non-Element node types)\n      recollectNodeTree(dom, true);\n    }\n  }\n\n  var fc = out.firstChild,\n      props = out['__omiattr_'],\n      vchildren = vnode.children;\n\n  if (props == null) {\n    props = out['__omiattr_'] = {};\n    for (var a = out.attributes, i = a.length; i--;) {\n      props[a[i].name] = a[i].value;\n    }\n  }\n\n  // Optimization: fast-path for elements containing a single TextNode:\n  if (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n    if (fc.nodeValue != vchildren[0]) {\n      fc.nodeValue = vchildren[0];\n    }\n  }\n  // otherwise, if there are existing or new children, diff them:\n  else if (vchildren && vchildren.length || fc != null) {\n      if (!(out.constructor.is == 'WeElement' && out.constructor.noSlot)) {\n        innerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n      }\n    }\n\n  // Apply attributes/props from VNode to the DOM Element:\n  diffAttributes(out, vnode.attributes, props, vnode.children);\n  if (out.props) {\n    out.props.children = vnode.children;\n  }\n  // restore previous SVG mode: (in case we're exiting an SVG namespace)\n  isSvgMode = prevSvgMode;\n\n  return out;\n}\n\n/** Apply child and attribute changes between a VNode and a DOM Node to the DOM.\n *\t@param {Element} dom\t\t\tElement whose children should be compared & mutated\n *\t@param {Array} vchildren\t\tArray of VNodes to compare to `dom.childNodes`\n *\t@param {Object} context\t\t\tImplicitly descendant context object (from most recent `getChildContext()`)\n *\t@param {Boolean} mountAll\n *\t@param {Boolean} isHydrating\tIf `true`, consumes externally created elements similar to hydration\n */\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n  var originalChildren = dom.childNodes,\n      children = [],\n      keyed = {},\n      keyedLen = 0,\n      min = 0,\n      len = originalChildren.length,\n      childrenLen = 0,\n      vlen = vchildren ? vchildren.length : 0,\n      j,\n      c,\n      f,\n      vchild,\n      child;\n\n  // Build up a map of keyed children and an Array of unkeyed children:\n  if (len !== 0) {\n    for (var i = 0; i < len; i++) {\n      var _child = originalChildren[i],\n          props = _child['__omiattr_'],\n          key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n      if (key != null) {\n        keyedLen++;\n        keyed[key] = _child;\n      } else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n        children[childrenLen++] = _child;\n      }\n    }\n  }\n\n  if (vlen !== 0) {\n    for (var i = 0; i < vlen; i++) {\n      vchild = vchildren[i];\n      child = null;\n\n      // attempt to find a node based on key matching\n      var key = vchild.key;\n      if (key != null) {\n        if (keyedLen && keyed[key] !== undefined) {\n          child = keyed[key];\n          keyed[key] = undefined;\n          keyedLen--;\n        }\n      }\n      // attempt to pluck a node of the same type from the existing children\n      else if (!child && min < childrenLen) {\n          for (j = min; j < childrenLen; j++) {\n            if (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n              child = c;\n              children[j] = undefined;\n              if (j === childrenLen - 1) childrenLen--;\n              if (j === min) min++;\n              break;\n            }\n          }\n        }\n\n      // morph the matched/found/created DOM child to match vchild (deep)\n      child = idiff(child, vchild, context, mountAll);\n\n      f = originalChildren[i];\n      if (child && child !== dom && child !== f) {\n        if (f == null) {\n          dom.appendChild(child);\n        } else if (child === f.nextSibling) {\n          removeNode(f);\n        } else {\n          dom.insertBefore(child, f);\n        }\n      }\n    }\n  }\n\n  // remove unused keyed children:\n  if (keyedLen) {\n    for (var i in keyed) {\n      if (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n    }\n  }\n\n  // remove orphaned unkeyed children:\n  while (min <= childrenLen) {\n    if ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n  }\n}\n\n/** Recursively recycle (or just unmount) a node and its descendants.\n *\t@param {Node} node\t\t\t\t\t\tDOM node to start unmount/removal from\n *\t@param {Boolean} [unmountOnly=false]\tIf `true`, only triggers unmount lifecycle, skips removal\n */\nfunction recollectNodeTree(node, unmountOnly) {\n  // If the node's VNode had a ref function, invoke it with null here.\n  // (this is part of the React spec, and smart for unsetting references)\n  if (node['__omiattr_'] != null && node['__omiattr_'].ref) {\n    if (typeof node['__omiattr_'].ref === 'function') {\n      node['__omiattr_'].ref(null);\n    } else if (node['__omiattr_'].ref.current) {\n      node['__omiattr_'].ref.current = null;\n    }\n  }\n\n  if (unmountOnly === false || node['__omiattr_'] == null) {\n    removeNode(node);\n  }\n\n  removeChildren(node);\n}\n\n/** Recollect/unmount all children.\n *\t- we use .lastChild here because it causes less reflow than .firstChild\n *\t- it's also cheaper than accessing the .childNodes Live NodeList\n */\nfunction removeChildren(node) {\n  node = node.lastChild;\n  while (node) {\n    var next = node.previousSibling;\n    recollectNodeTree(node, true);\n    node = next;\n  }\n}\n\n/** Apply differences in attributes from a VNode to the given DOM Element.\n *\t@param {Element} dom\t\tElement with attributes to diff `attrs` against\n *\t@param {Object} attrs\t\tThe desired end-state key-value attribute pairs\n *\t@param {Object} old\t\t\tCurrent/previous attributes (from previous VNode or element's prop cache)\n */\nfunction diffAttributes(dom, attrs, old, children) {\n  var name;\n  var update = false;\n  var isWeElement = dom.update;\n  var oldClone;\n  if (dom.receiveProps) {\n    oldClone = Object.assign({}, old);\n  }\n  // remove attributes no longer present on the vnode by setting them to undefined\n  for (name in old) {\n    if (!(attrs && attrs[name] != null) && old[name] != null) {\n      setAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n      if (isWeElement) {\n        delete dom.props[name];\n        update = true;\n      }\n    }\n  }\n\n  // add new & update changed attributes\n  for (name in attrs) {\n    if (isWeElement && typeof attrs[name] === 'object' && name !== 'ref') {\n      if (name === 'style') {\n        setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n      }\n      if (dom.receiveProps) {\n        try {\n          old[name] = JSON.parse(JSON.stringify(attrs[name]));\n        } catch (e) {\n          console.warn('When using receiveProps, you cannot pass prop of cyclic dependencies down.');\n        }\n      }\n      dom.props[npn(name)] = attrs[name];\n      update = true;\n    } else if (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n      setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n      if (isWeElement) {\n        dom.props[npn(name)] = attrs[name];\n        update = true;\n      }\n    }\n  }\n\n  if (isWeElement && dom.parentNode) {\n    if (update || children.length > 0 || dom.store) {\n      dom.receiveProps(dom.props, dom.data, oldClone);\n      dom.update();\n    }\n  }\n}\n\n/*!\n * https://github.com/Palindrom/JSONPatcherProxy\n * (c) 2017 Starcounter\n * MIT license\n */\n\n/** Class representing a JS Object observer  */\nvar JSONPatcherProxy = function () {\n  /**\n   * Deep clones your object and returns a new object.\n   */\n  function deepClone(obj) {\n    switch (typeof obj) {\n      case 'object':\n        return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5\n      case 'undefined':\n        return null; //this is how JSON.stringify behaves for array items\n      default:\n        return obj; //no need to clone primitives\n    }\n  }\n  JSONPatcherProxy.deepClone = deepClone;\n\n  function escapePathComponent(str) {\n    if (str.indexOf('/') == -1 && str.indexOf('~') == -1) return str;\n    return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n  }\n  JSONPatcherProxy.escapePathComponent = escapePathComponent;\n\n  /**\n   * Walk up the parenthood tree to get the path\n   * @param {JSONPatcherProxy} instance\n   * @param {Object} obj the object you need to find its path\n   */\n  function findObjectPath(instance, obj) {\n    var pathComponents = [];\n    var parentAndPath = instance.parenthoodMap.get(obj);\n    while (parentAndPath && parentAndPath.path) {\n      // because we're walking up-tree, we need to use the array as a stack\n      pathComponents.unshift(parentAndPath.path);\n      parentAndPath = instance.parenthoodMap.get(parentAndPath.parent);\n    }\n    if (pathComponents.length) {\n      var path = pathComponents.join('/');\n      return '/' + path;\n    }\n    return '';\n  }\n  /**\n   * A callback to be used as th proxy set trap callback.\n   * It updates parenthood map if needed, proxifies nested newly-added objects, calls default callbacks with the changes occurred.\n   * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n   * @param {Object} target the affected object\n   * @param {String} key the effect property's name\n   * @param {Any} newValue the value being set\n   */\n  function setTrap(instance, target, key, newValue) {\n    var parentPath = findObjectPath(instance, target);\n\n    var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n    if (instance.proxifiedObjectsMap.has(newValue)) {\n      var newValueOriginalObject = instance.proxifiedObjectsMap.get(newValue);\n\n      instance.parenthoodMap.set(newValueOriginalObject.originalObject, {\n        parent: target,\n        path: key\n      });\n    }\n    /*\n        mark already proxified values as inherited.\n        rationale: proxy.arr.shift()\n        will emit\n        {op: replace, path: '/arr/1', value: arr_2}\n        {op: remove, path: '/arr/2'}\n         by default, the second operation would revoke the proxy, and this renders arr revoked.\n        That's why we need to remember the proxies that are inherited.\n      */\n    var revokableInstance = instance.proxifiedObjectsMap.get(newValue);\n    /*\n    Why do we need to check instance.isProxifyingTreeNow?\n     We need to make sure we mark revokables as inherited ONLY when we're observing,\n    because throughout the first proxification, a sub-object is proxified and then assigned to\n    its parent object. This assignment of a pre-proxified object can fool us into thinking\n    that it's a proxified object moved around, while in fact it's the first assignment ever.\n     Checking isProxifyingTreeNow ensures this is not happening in the first proxification,\n    but in fact is is a proxified object moved around the tree\n    */\n    if (revokableInstance && !instance.isProxifyingTreeNow) {\n      revokableInstance.inherited = true;\n    }\n\n    // if the new value is an object, make sure to watch it\n    if (newValue && typeof newValue == 'object' && !instance.proxifiedObjectsMap.has(newValue)) {\n      instance.parenthoodMap.set(newValue, {\n        parent: target,\n        path: key\n      });\n      newValue = instance._proxifyObjectTreeRecursively(target, newValue, key);\n    }\n    // let's start with this operation, and may or may not update it later\n    var operation = {\n      op: 'remove',\n      path: destinationPropKey\n    };\n    if (typeof newValue == 'undefined') {\n      // applying De Morgan's laws would be a tad faster, but less readable\n      if (!Array.isArray(target) && !target.hasOwnProperty(key)) {\n        // `undefined` is being set to an already undefined value, keep silent\n        return Reflect.set(target, key, newValue);\n      }\n      // when array element is set to `undefined`, should generate replace to `null`\n      if (Array.isArray(target)) {\noperation.op = 'replace', operation.value = null;\n      }\n      var oldValue = instance.proxifiedObjectsMap.get(target[key]);\n      // was the deleted a proxified object?\n      if (oldValue) {\n        instance.parenthoodMap.delete(target[key]);\n        instance.disableTrapsForProxy(oldValue);\n        instance.proxifiedObjectsMap.delete(oldValue);\n      }\n    } else {\n      if (Array.isArray(target) && !Number.isInteger(+key.toString())) {\n        /* array props (as opposed to indices) don't emit any patches, to avoid needless `length` patches */\n        if (key != 'length') {\n          console.warn('JSONPatcherProxy noticed a non-integer prop was set for an array. This will not emit a patch');\n        }\n        return Reflect.set(target, key, newValue);\n      }\n      operation.op = 'add';\n      if (target.hasOwnProperty(key)) {\n        if (typeof target[key] !== 'undefined' || Array.isArray(target)) {\n          operation.op = 'replace'; // setting `undefined` array elements is a `replace` op\n        }\n      }\n      operation.value = newValue;\n    }\n    operation.oldValue = target[key];\n    var reflectionResult = Reflect.set(target, key, newValue);\n    instance.defaultCallback(operation);\n    return reflectionResult;\n  }\n  /**\n   * A callback to be used as th proxy delete trap callback.\n   * It updates parenthood map if needed, calls default callbacks with the changes occurred.\n   * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n   * @param {Object} target the effected object\n   * @param {String} key the effected property's name\n   */\n  function deleteTrap(instance, target, key) {\n    if (typeof target[key] !== 'undefined') {\n      var parentPath = findObjectPath(instance, target);\n      var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n      var revokableProxyInstance = instance.proxifiedObjectsMap.get(target[key]);\n\n      if (revokableProxyInstance) {\n        if (revokableProxyInstance.inherited) {\n          /*\n            this is an inherited proxy (an already proxified object that was moved around),\n            we shouldn't revoke it, because even though it was removed from path1, it is still used in path2.\n            And we know that because we mark moved proxies with `inherited` flag when we move them\n             it is a good idea to remove this flag if we come across it here, in deleteProperty trap.\n            We DO want to revoke the proxy if it was removed again.\n          */\n          revokableProxyInstance.inherited = false;\n        } else {\n          instance.parenthoodMap.delete(revokableProxyInstance.originalObject);\n          instance.disableTrapsForProxy(revokableProxyInstance);\n          instance.proxifiedObjectsMap.delete(target[key]);\n        }\n      }\n      var reflectionResult = Reflect.deleteProperty(target, key);\n\n      instance.defaultCallback({\n        op: 'remove',\n        path: destinationPropKey\n      });\n\n      return reflectionResult;\n    }\n  }\n  /* pre-define resume and pause functions to enhance constructors performance */\n  function resume() {\n    var _this = this;\n\n    this.defaultCallback = function (operation) {\n      _this.isRecording && _this.patches.push(operation);\n      _this.userCallback && _this.userCallback(operation);\n    };\n    this.isObserving = true;\n  }\n  function pause() {\n    this.defaultCallback = function () {};\n    this.isObserving = false;\n  }\n  /**\n   * Creates an instance of JSONPatcherProxy around your object of interest `root`.\n   * @param {Object|Array} root - the object you want to wrap\n   * @param {Boolean} [showDetachedWarning = true] - whether to log a warning when a detached sub-object is modified @see {@link https://github.com/Palindrom/JSONPatcherProxy#detached-objects}\n   * @returns {JSONPatcherProxy}\n   * @constructor\n   */\n  function JSONPatcherProxy(root, showDetachedWarning) {\n    this.isProxifyingTreeNow = false;\n    this.isObserving = false;\n    this.proxifiedObjectsMap = new Map();\n    this.parenthoodMap = new Map();\n    // default to true\n    if (typeof showDetachedWarning !== 'boolean') {\n      showDetachedWarning = true;\n    }\n\n    this.showDetachedWarning = showDetachedWarning;\n    this.originalObject = root;\n    this.cachedProxy = null;\n    this.isRecording = false;\n    this.userCallback;\n    /**\n     * @memberof JSONPatcherProxy\n     * Restores callback back to the original one provided to `observe`.\n     */\n    this.resume = resume.bind(this);\n    /**\n     * @memberof JSONPatcherProxy\n     * Replaces your callback with a noop function.\n     */\n    this.pause = pause.bind(this);\n  }\n\n  JSONPatcherProxy.prototype.generateProxyAtPath = function (parent, obj, path) {\n    var _this2 = this;\n\n    if (!obj) {\n      return obj;\n    }\n    var traps = {\n      set: function set(target, key, value, receiver) {\n        return setTrap(_this2, target, key, value, receiver);\n      },\n      deleteProperty: function deleteProperty(target, key) {\n        return deleteTrap(_this2, target, key);\n      }\n    };\n    var revocableInstance = Proxy.revocable(obj, traps);\n    // cache traps object to disable them later.\n    revocableInstance.trapsInstance = traps;\n    revocableInstance.originalObject = obj;\n\n    /* keeping track of object's parent and path */\n\n    this.parenthoodMap.set(obj, { parent: parent, path: path });\n\n    /* keeping track of all the proxies to be able to revoke them later */\n    this.proxifiedObjectsMap.set(revocableInstance.proxy, revocableInstance);\n    return revocableInstance.proxy;\n  };\n  // grab tree's leaves one by one, encapsulate them into a proxy and return\n  JSONPatcherProxy.prototype._proxifyObjectTreeRecursively = function (parent, root, path) {\n    for (var key in root) {\n      if (root.hasOwnProperty(key)) {\n        if (root[key] instanceof Object) {\n          root[key] = this._proxifyObjectTreeRecursively(root, root[key], escapePathComponent(key));\n        }\n      }\n    }\n    return this.generateProxyAtPath(parent, root, path);\n  };\n  // this function is for aesthetic purposes\n  JSONPatcherProxy.prototype.proxifyObjectTree = function (root) {\n    /*\n    while proxyifying object tree,\n    the proxyifying operation itself is being\n    recorded, which in an unwanted behavior,\n    that's why we disable recording through this\n    initial process;\n    */\n    this.pause();\n    this.isProxifyingTreeNow = true;\n    var proxifiedObject = this._proxifyObjectTreeRecursively(undefined, root, '');\n    /* OK you can record now */\n    this.isProxifyingTreeNow = false;\n    this.resume();\n    return proxifiedObject;\n  };\n  /**\n   * Turns a proxified object into a forward-proxy object; doesn't emit any patches anymore, like a normal object\n   * @param {Proxy} proxy - The target proxy object\n   */\n  JSONPatcherProxy.prototype.disableTrapsForProxy = function (revokableProxyInstance) {\n    if (this.showDetachedWarning) {\n      var message = \"You're accessing an object that is detached from the observedObject tree, see https://github.com/Palindrom/JSONPatcherProxy#detached-objects\";\n\n      revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n        console.warn(message);\n        return Reflect.set(targetObject, propKey, newValue);\n      };\n      revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n        console.warn(message);\n        return Reflect.set(targetObject, propKey, newValue);\n      };\n      revokableProxyInstance.trapsInstance.deleteProperty = function (targetObject, propKey) {\n        return Reflect.deleteProperty(targetObject, propKey);\n      };\n    } else {\n      delete revokableProxyInstance.trapsInstance.set;\n      delete revokableProxyInstance.trapsInstance.get;\n      delete revokableProxyInstance.trapsInstance.deleteProperty;\n    }\n  };\n  /**\n   * Proxifies the object that was passed in the constructor and returns a proxified mirror of it. Even though both parameters are options. You need to pass at least one of them.\n   * @param {Boolean} [record] - whether to record object changes to a later-retrievable patches array.\n   * @param {Function} [callback] - this will be synchronously called with every object change with a single `patch` as the only parameter.\n   */\n  JSONPatcherProxy.prototype.observe = function (record, callback) {\n    if (!record && !callback) {\n      throw new Error('You need to either record changes or pass a callback');\n    }\n    this.isRecording = record;\n    this.userCallback = callback;\n    /*\n    I moved it here to remove it from `unobserve`,\n    this will also make the constructor faster, why initiate\n    the array before they decide to actually observe with recording?\n    They might need to use only a callback.\n    */\n    if (record) this.patches = [];\n    this.cachedProxy = this.proxifyObjectTree(this.originalObject);\n    return this.cachedProxy;\n  };\n  /**\n   * If the observed is set to record, it will synchronously return all the patches and empties patches array.\n   */\n  JSONPatcherProxy.prototype.generate = function () {\n    if (!this.isRecording) {\n      throw new Error('You should set record to true to get patches later');\n    }\n    return this.patches.splice(0, this.patches.length);\n  };\n  /**\n   * Revokes all proxies rendering the observed object useless and good for garbage collection @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable}\n   */\n  JSONPatcherProxy.prototype.revoke = function () {\n    this.proxifiedObjectsMap.forEach(function (el) {\n      el.revoke();\n    });\n  };\n  /**\n   * Disables all proxies' traps, turning the observed object into a forward-proxy object, like a normal object that you can modify silently.\n   */\n  JSONPatcherProxy.prototype.disableTraps = function () {\n    this.proxifiedObjectsMap.forEach(this.disableTrapsForProxy, this);\n  };\n  return JSONPatcherProxy;\n}();\n\nvar callbacks = [];\nvar nextTickCallback = [];\n\nfunction tick(fn, scope) {\n  callbacks.push({ fn: fn, scope: scope });\n}\n\nfunction fireTick() {\n  callbacks.forEach(function (item) {\n    item.fn.call(item.scope);\n  });\n\n  nextTickCallback.forEach(function (nextItem) {\n    nextItem.fn.call(nextItem.scope);\n  });\n  nextTickCallback.length = 0;\n}\n\nfunction nextTick(fn, scope) {\n  nextTickCallback.push({ fn: fn, scope: scope });\n}\n\nfunction observe(target) {\n  target.observe = true;\n}\n\nfunction proxyUpdate(ele) {\n  var timeout = null;\n  ele.data = new JSONPatcherProxy(ele.data).observe(false, function () {\n    if (ele._willUpdate) {\n      return;\n    }\n    if (ele.constructor.mergeUpdate) {\n      clearTimeout(timeout);\n\n      timeout = setTimeout(function () {\n        ele.update();\n        fireTick();\n      }, 0);\n    } else {\n      ele.update();\n      fireTick();\n    }\n  });\n}\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction define(name, ctor) {\n  if (ctor.is === 'WeElement') {\n    if (options.mapping[name]) {\n      if (options.mapping[name] === ctor) {\n        console.warn('You redefine custom elements named [' + name + '], redundant JS files may be referenced.');\n      } else {\n        console.warn('This custom elements name [' + name + '] has already been used, please rename it.');\n      }\n      return;\n    }\n    customElements.define(name, ctor);\n    options.mapping[name] = ctor;\n    if (ctor.use) {\n      ctor.updatePath = getPath(ctor.use);\n    } else if (ctor.data) {\n      //Compatible with older versions\n      ctor.updatePath = getUpdatePath(ctor.data);\n    }\n  } else {\n    var Element = function (_WeElement) {\n      _inherits(Element, _WeElement);\n\n      function Element() {\n        var _temp, _this, _ret;\n\n        _classCallCheck(this, Element);\n\n        for (var _len = arguments.length, args = Array(_len), key = 0; key < _len; key++) {\n          args[key] = arguments[key];\n        }\n\n        return _ret = (_temp = (_this = _possibleConstructorReturn(this, _WeElement.call.apply(_WeElement, [this].concat(args))), _this), _this._useId = 0, _this._useMap = {}, _this._preCss = null, _temp), _possibleConstructorReturn(_this, _ret);\n      }\n\n      Element.prototype.render = function render(props, data) {\n        return ctor.call(this, props, data);\n      };\n\n      Element.prototype.beforeRender = function beforeRender() {\n        this._useId = 0;\n      };\n\n      Element.prototype.useCss = function useCss(css) {\n        if (css === this._preCss) {\n          return;\n        }\n        this._preCss = css;\n        var style = this.shadowRoot.querySelector('style');\n        style && this.shadowRoot.removeChild(style);\n        this.shadowRoot.appendChild(cssToDom(css));\n      };\n\n      Element.prototype.useData = function useData(data) {\n        return this.use({ data: data });\n      };\n\n      Element.prototype.use = function use(option) {\n        var _this2 = this;\n\n        this._useId++;\n        var updater = function updater(newValue) {\n          var item = _this2._useMap[updater.id];\n\n          item.data = newValue;\n\n          _this2.update();\n          item.effect && item.effect();\n        };\n\n        updater.id = this._useId;\n        if (!this._isInstalled) {\n          this._useMap[this._useId] = option;\n          return [option.data, updater];\n        }\n\n        return [this._useMap[this._useId].data, updater];\n      };\n\n      Element.prototype.installed = function installed() {\n        this._isInstalled = true;\n      };\n\n      return Element;\n    }(WeElement);\n\n    customElements.define(name, Element);\n  }\n}\n\nfunction getPath(obj) {\n  if (Object.prototype.toString.call(obj) === '[object Array]') {\n    var result = {};\n    obj.forEach(function (item) {\n      if (typeof item === 'string') {\n        result[item] = true;\n      } else {\n        var tempPath = item[Object.keys(item)[0]];\n        if (typeof tempPath === 'string') {\n          result[tempPath] = true;\n        } else {\n          if (typeof tempPath[0] === 'string') {\n            result[tempPath[0]] = true;\n          } else {\n            tempPath[0].forEach(function (path) {\n              return result[path] = true;\n            });\n          }\n        }\n      }\n    });\n    return result;\n  } else {\n    return getUpdatePath(obj);\n  }\n}\n\nfunction getUpdatePath(data) {\n  var result = {};\n  dataToPath(data, result);\n  return result;\n}\n\nfunction dataToPath(data, result) {\n  Object.keys(data).forEach(function (key) {\n    result[key] = true;\n    var type = Object.prototype.toString.call(data[key]);\n    if (type === '[object Object]') {\n      _objToPath(data[key], key, result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(data[key], key, result);\n    }\n  });\n}\n\nfunction _objToPath(data, path, result) {\n  Object.keys(data).forEach(function (key) {\n    result[path + '.' + key] = true;\n    delete result[path];\n    var type = Object.prototype.toString.call(data[key]);\n    if (type === '[object Object]') {\n      _objToPath(data[key], path + '.' + key, result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(data[key], path + '.' + key, result);\n    }\n  });\n}\n\nfunction _arrayToPath(data, path, result) {\n  data.forEach(function (item, index) {\n    result[path + '[' + index + ']'] = true;\n    delete result[path];\n    var type = Object.prototype.toString.call(item);\n    if (type === '[object Object]') {\n      _objToPath(item, path + '[' + index + ']', result);\n    } else if (type === '[object Array]') {\n      _arrayToPath(item, path + '[' + index + ']', result);\n    }\n  });\n}\n\nfunction _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$1(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar id = 0;\n\nvar WeElement = function (_HTMLElement) {\n  _inherits$1(WeElement, _HTMLElement);\n\n  function WeElement() {\n    _classCallCheck$1(this, WeElement);\n\n    var _this = _possibleConstructorReturn$1(this, _HTMLElement.call(this));\n\n    _this.props = Object.assign(nProps(_this.constructor.props), _this.constructor.defaultProps);\n    _this.elementId = id++;\n    _this.data = {};\n    return _this;\n  }\n\n  WeElement.prototype.connectedCallback = function connectedCallback() {\n    var p = this.parentNode;\n    while (p && !this.store) {\n      this.store = p.store;\n      p = p.parentNode || p.host;\n    }\n    if (this.store) {\n      this.store.instances.push(this);\n    }\n\n    if (this.initUse) {\n      var use = this.initUse();\n      this._updatePath = getPath(use);\n      this.use = getUse(this.store.data, use);\n    } else {\n      this.constructor.use && (this.use = getUse(this.store.data, this.constructor.use));\n    }\n    this.beforeInstall();\n    !this._isInstalled && this.install();\n    this.afterInstall();\n    var shadowRoot;\n    if (!this.shadowRoot) {\n      shadowRoot = this.attachShadow({\n        mode: 'open'\n      });\n    } else {\n      shadowRoot = this.shadowRoot;\n      var fc;\n      while (fc = shadowRoot.firstChild) {\n        shadowRoot.removeChild(fc);\n      }\n    }\n    if (this.constructor.css) {\n      shadowRoot.appendChild(cssToDom(this.constructor.css));\n    } else if (this.css) {\n      shadowRoot.appendChild(cssToDom(typeof this.css === 'function' ? this.css() : this.css));\n    }\n    !this._isInstalled && this.beforeRender();\n    options.afterInstall && options.afterInstall(this);\n    if (this.constructor.observe) {\n      this.beforeObserve();\n      proxyUpdate(this);\n      this.observed();\n    }\n    this.attrsToProps();\n    this._host = diff(null, this.render(this.props, this.data, this.store), {}, false, null, false);\n    this.rendered();\n\n    if (this.props.css) {\n      this._customStyleElement = cssToDom(this.props.css);\n      this._customStyleContent = this.props.css;\n      shadowRoot.appendChild(this._customStyleElement);\n    }\n\n    if (isArray(this._host)) {\n      this._host.forEach(function (item) {\n        shadowRoot.appendChild(item);\n      });\n    } else {\n      shadowRoot.appendChild(this._host);\n    }\n    !this._isInstalled && this.installed();\n    this._isInstalled = true;\n  };\n\n  WeElement.prototype.disconnectedCallback = function disconnectedCallback() {\n    this.uninstall();\n    this._isInstalled = false;\n    if (this.store) {\n      for (var i = 0, len = this.store.instances.length; i < len; i++) {\n        if (this.store.instances[i] === this) {\n          this.store.instances.splice(i, 1);\n          break;\n        }\n      }\n    }\n  };\n\n  WeElement.prototype.update = function update() {\n    this._willUpdate = true;\n    this.beforeUpdate();\n    this.beforeRender();\n    //fix null !== undefined\n    if (this._customStyleContent != this.props.css) {\n      this._customStyleContent = this.props.css;\n      this._customStyleElement.textContent = this._customStyleContent;\n    }\n    this.attrsToProps();\n    this._host = diff(this._host, this.render(this.props, this.data, this.store), null, null, this.shadowRoot);\n    this._willUpdate = false;\n    this.updated();\n  };\n\n  WeElement.prototype.removeAttribute = function removeAttribute(key) {\n    _HTMLElement.prototype.removeAttribute.call(this, key);\n    this.update();\n  };\n\n  WeElement.prototype.setAttribute = function setAttribute(key, val) {\n    if (val && typeof val === 'object') {\n      _HTMLElement.prototype.setAttribute.call(this, key, JSON.stringify(val));\n    } else {\n      _HTMLElement.prototype.setAttribute.call(this, key, val);\n    }\n    this.update();\n  };\n\n  WeElement.prototype.pureRemoveAttribute = function pureRemoveAttribute(key) {\n    _HTMLElement.prototype.removeAttribute.call(this, key);\n  };\n\n  WeElement.prototype.pureSetAttribute = function pureSetAttribute(key, val) {\n    _HTMLElement.prototype.setAttribute.call(this, key, val);\n  };\n\n  WeElement.prototype.attrsToProps = function attrsToProps() {\n    var ele = this;\n    if (ele.normalizedNodeName) return;\n    ele.props['css'] = ele.getAttribute('css');\n    var attrs = this.constructor.propTypes;\n    if (!attrs) return;\n    Object.keys(attrs).forEach(function (key) {\n      var type = attrs[key];\n      var val = ele.getAttribute(hyphenate(key));\n      if (val !== null) {\n        switch (type) {\n          case String:\n            ele.props[key] = val;\n            break;\n          case Number:\n            ele.props[key] = Number(val);\n            break;\n          case Boolean:\n            ele.props[key] = true;\n            break;\n          case Object:\n            ele.props[key] = JSON.parse(val.replace(/(['\"])?([a-zA-Z0-9_]+)(['\"])?:([^\\/])/g, '\"$2\":$4').replace(/'([\\s\\S]*?)'/g, '\"$1\"'));\n            break;\n        }\n      } else {\n        if (!ele.constructor.defaultProps || !ele.constructor.defaultProps.hasOwnProperty(key)) {\n          ele.props[key] = null;\n        }\n      }\n    });\n  };\n\n  WeElement.prototype.fire = function fire(name, data) {\n    this.dispatchEvent(new CustomEvent(name.toLowerCase(), { detail: data }));\n  };\n\n  WeElement.prototype.beforeInstall = function beforeInstall() {};\n\n  WeElement.prototype.install = function install() {};\n\n  WeElement.prototype.afterInstall = function afterInstall() {};\n\n  WeElement.prototype.installed = function installed() {};\n\n  WeElement.prototype.uninstall = function uninstall() {};\n\n  WeElement.prototype.beforeUpdate = function beforeUpdate() {};\n\n  WeElement.prototype.updated = function updated() {};\n\n  WeElement.prototype.beforeRender = function beforeRender() {};\n\n  WeElement.prototype.rendered = function rendered() {};\n\n  WeElement.prototype.receiveProps = function receiveProps() {};\n\n  WeElement.prototype.beforeObserve = function beforeObserve() {};\n\n  WeElement.prototype.observed = function observed() {};\n\n  return WeElement;\n}(HTMLElement);\n\nWeElement.is = 'WeElement';\n\nfunction render(vnode, parent, store) {\n  parent = typeof parent === 'string' ? document.querySelector(parent) : parent;\n  if (store) {\n    store.instances = [];\n    extendStoreUpate(store);\n\n    store.data = new JSONPatcherProxy(store.data).observe(false, function (patch) {\n      var patchs = {};\n      if (patch.op === 'remove') {\n        // fix arr splice\n        var kv = getArrayPatch(patch.path, store);\n        patchs[kv.k] = kv.v;\n\n        update(patchs, store);\n      } else {\n        var key = fixPath(patch.path);\n        patchs[key] = patch.value;\n\n        update(patchs, store);\n      }\n    });\n    parent.store = store;\n  }\n  return diff(null, vnode, {}, false, parent, false);\n}\n\nfunction update(patch, store) {\n  store.update(patch);\n}\n\nfunction extendStoreUpate(store) {\n  store.update = function (patch) {\n    var _this = this;\n\n    var updateAll = matchGlobalData(this.globalData, patch);\n\n    if (Object.keys(patch).length > 0) {\n      this.instances.forEach(function (instance) {\n        if (updateAll || _this.updateAll || instance.constructor.updatePath && needUpdate(patch, instance.constructor.updatePath) || instance._updatePath && needUpdate(patch, instance._updatePath)) {\n          //update this.use\n          if (instance.constructor.use) {\n            instance.use = getUse(store.data, instance.constructor.use);\n          } else if (instance.initUse) {\n            instance.use = getUse(store.data, instance.initUse());\n          }\n\n          instance.update();\n        }\n      });\n      this.onChange && this.onChange(patch);\n    }\n  };\n}\n\nfunction matchGlobalData(globalData, diffResult) {\n  if (!globalData) return false;\n  for (var keyA in diffResult) {\n    if (globalData.indexOf(keyA) > -1) {\n      return true;\n    }\n    for (var i = 0, len = globalData.length; i < len; i++) {\n      if (includePath(keyA, globalData[i])) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nfunction needUpdate(diffResult, updatePath) {\n  for (var keyA in diffResult) {\n    if (updatePath[keyA]) {\n      return true;\n    }\n    for (var keyB in updatePath) {\n      if (includePath(keyA, keyB)) {\n        return true;\n      }\n    }\n  }\n  return false;\n}\n\nfunction includePath(pathA, pathB) {\n  if (pathA.indexOf(pathB) === 0) {\n    var next = pathA.substr(pathB.length, 1);\n    if (next === '[' || next === '.') {\n      return true;\n    }\n  }\n  return false;\n}\n\nfunction fixPath(path) {\n  var mpPath = '';\n  var arr = path.replace('/', '').split('/');\n  arr.forEach(function (item, index) {\n    if (index) {\n      if (isNaN(Number(item))) {\n        mpPath += '.' + item;\n      } else {\n        mpPath += '[' + item + ']';\n      }\n    } else {\n      mpPath += item;\n    }\n  });\n  return mpPath;\n}\n\nfunction getArrayPatch(path, store) {\n  var arr = path.replace('/', '').split('/');\n  var current = store.data[arr[0]];\n  for (var i = 1, len = arr.length; i < len - 1; i++) {\n    current = current[arr[i]];\n  }\n  return { k: fixArrPath(path), v: current };\n}\n\nfunction fixArrPath(path) {\n  var mpPath = '';\n  var arr = path.replace('/', '').split('/');\n  var len = arr.length;\n  arr.forEach(function (item, index) {\n    if (index < len - 1) {\n      if (index) {\n        if (isNaN(Number(item))) {\n          mpPath += '.' + item;\n        } else {\n          mpPath += '[' + item + ']';\n        }\n      } else {\n        mpPath += item;\n      }\n    }\n  });\n  return mpPath;\n}\n\nfunction tag(name, pure) {\n  return function (target) {\n    target.pure = pure;\n    define(name, target);\n  };\n}\n\n/**\n * Clones the given VNode, optionally adding attributes/props and replacing its children.\n * @param {VNode} vnode\t\tThe virtual DOM element to clone\n * @param {Object} props\tAttributes/props to add when cloning\n * @param {VNode} rest\t\tAny additional arguments will be used as replacement children.\n */\nfunction cloneElement(vnode, props) {\n  return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nfunction getHost(ele) {\n  var p = ele.parentNode;\n  while (p) {\n    if (p.host) {\n      return p.host;\n    } else if (p.shadowRoot && p.shadowRoot.host) {\n      return p.shadowRoot.host;\n    } else {\n      p = p.parentNode;\n    }\n  }\n}\n\nfunction rpx(str) {\n  return str.replace(/([1-9]\\d*|0)(\\.\\d*)*rpx/g, function (a, b) {\n    return window.innerWidth * Number(b) / 750 + 'px';\n  });\n}\n\nfunction _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$2(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$2(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ModelView = function (_WeElement) {\n  _inherits$2(ModelView, _WeElement);\n\n  function ModelView() {\n    _classCallCheck$2(this, ModelView);\n\n    return _possibleConstructorReturn$2(this, _WeElement.apply(this, arguments));\n  }\n\n  ModelView.prototype.beforeInstall = function beforeInstall() {\n    this.data = this.vm.data;\n  };\n\n  ModelView.prototype.observed = function observed() {\n    this.vm.data = this.data;\n  };\n\n  return ModelView;\n}(WeElement);\n\nModelView.observe = true;\nModelView.mergeUpdate = false;\n\n/**\n * classNames based on https://github.com/JedWatson/classnames\n * by Jed Watson\n * Licensed under the MIT License\n * https://github.com/JedWatson/classnames/blob/master/LICENSE\n * modified by dntzhang\n */\n\nvar hasOwn = {}.hasOwnProperty;\n\nfunction classNames() {\n  var classes = [];\n\n  for (var i = 0; i < arguments.length; i++) {\n    var arg = arguments[i];\n    if (!arg) continue;\n\n    var argType = typeof arg;\n\n    if (argType === 'string' || argType === 'number') {\n      classes.push(arg);\n    } else if (Array.isArray(arg) && arg.length) {\n      var inner = classNames.apply(null, arg);\n      if (inner) {\n        classes.push(inner);\n      }\n    } else if (argType === 'object') {\n      for (var key in arg) {\n        if (hasOwn.call(arg, key) && arg[key]) {\n          classes.push(key);\n        }\n      }\n    }\n  }\n\n  return classes.join(' ');\n}\n\nfunction extractClass() {\n  var _Array$prototype$slic = Array.prototype.slice.call(arguments, 0),\n      props = _Array$prototype$slic[0],\n      args = _Array$prototype$slic.slice(1);\n\n  if (props.class) {\n    args.unshift(props.class);\n    delete props.class;\n  } else if (props.className) {\n    args.unshift(props.className);\n    delete props.className;\n  }\n  if (args.length > 0) {\n    return { class: classNames.apply(null, args) };\n  }\n}\n\nfunction o(obj) {\n  return JSON.stringify(obj);\n}\n\nvar n=function(t,r,u,e){for(var p=1;p<r.length;p++){var s=r[p++],a=\"number\"==typeof s?u[s]:s;1===r[p]?e[0]=a:2===r[p]?(e[1]=e[1]||{})[r[++p]]=a:3===r[p]?e[1]=Object.assign(e[1]||{},a):e.push(r[p]?t.apply(null,n(t,a,u,[\"\",null])):a);}return e},t=function(n){for(var t,r,u=1,e=\"\",p=\"\",s=[0],a=function(n){1===u&&(n||(e=e.replace(/^\\s*\\n\\s*|\\s*\\n\\s*$/g,\"\")))?s.push(n||e,0):3===u&&(n||e)?(s.push(n||e,1), u=2):2===u&&\"...\"===e&&n?s.push(n,3):2===u&&e&&!n?s.push(!0,2,e):4===u&&r&&(s.push(n||e,2,r), r=\"\"), e=\"\";},f=0;f<n.length;f++){f&&(1===u&&a(), a(f));for(var h=0;h<n[f].length;h++)t=n[f][h], 1===u?\"<\"===t?(a(), s=[s], u=3):e+=t:p?t===p?p=\"\":e+=t:'\"'===t||\"'\"===t?p=t:\">\"===t?(a(), u=1):u&&(\"=\"===t?(u=4, r=e, e=\"\"):\"/\"===t?(a(), 3===u&&(s=s[0]), u=s, (s=s[0]).push(u,4), u=0):\" \"===t||\"\\t\"===t||\"\\n\"===t||\"\\r\"===t?(a(), u=2):e+=t);}return a(), s},r=\"function\"==typeof Map,u=r?new Map:{},e=r?function(n){var r=u.get(n);return r||u.set(n,r=t(n)), r}:function(n){for(var r=\"\",e=0;e<n.length;e++)r+=n[e].length+\"-\"+n[e];return u[r]||(u[r]=t(n))};function htm(t){var r=n(this,e(t),arguments,[]);return r.length>1?r:r[0]}\n\nvar html = htm.bind(h);\n\nfunction createRef() {\n  return {};\n}\n\nvar Component = WeElement;\nvar defineElement = define;\nvar elements = options.mapping;\n\nvar omi = {\n  tag: tag,\n  WeElement: WeElement,\n  Component: Component,\n  render: render,\n  h: h,\n  createElement: h,\n  options: options,\n  define: define,\n  observe: observe,\n  cloneElement: cloneElement,\n  getHost: getHost,\n  rpx: rpx,\n  tick: tick,\n  nextTick: nextTick,\n  ModelView: ModelView,\n  defineElement: defineElement,\n  classNames: classNames,\n  extractClass: extractClass,\n  createRef: createRef,\n  html: html,\n  htm: htm,\n  o: o,\n  elements: elements\n};\n\noptions.root.Omi = omi;\noptions.root.omi = omi;\noptions.root.Omi.version = '6.3.12';\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (omi);\n\n//# sourceMappingURL=omi.esm.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/omi/dist/omi.esm.js?");

/***/ }),

/***/ "./node_modules/tslib/tslib.es6.js":
/*!*****************************************!*\
  !*** ./node_modules/tslib/tslib.es6.js ***!
  \*****************************************/
/*! exports provided: __extends, __assign, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__extends\", function() { return __extends; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__assign\", function() { return __assign; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__rest\", function() { return __rest; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__decorate\", function() { return __decorate; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__param\", function() { return __param; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__metadata\", function() { return __metadata; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__awaiter\", function() { return __awaiter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__generator\", function() { return __generator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__exportStar\", function() { return __exportStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__values\", function() { return __values; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__read\", function() { return __read; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__spread\", function() { return __spread; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__await\", function() { return __await; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncGenerator\", function() { return __asyncGenerator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncDelegator\", function() { return __asyncDelegator; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__asyncValues\", function() { return __asyncValues; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__makeTemplateObject\", function() { return __makeTemplateObject; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importStar\", function() { return __importStar; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__importDefault\", function() { return __importDefault; });\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n    extendStatics = Object.setPrototypeOf ||\r\n        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n        function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n    return extendStatics(d, b);\r\n};\r\n\r\nfunction __extends(d, b) {\r\n    extendStatics(d, b);\r\n    function __() { this.constructor = d; }\r\n    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = function() {\r\n    __assign = Object.assign || function __assign(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n        }\r\n        return t;\r\n    }\r\n    return __assign.apply(this, arguments);\r\n}\r\n\r\nfunction __rest(s, e) {\r\n    var t = {};\r\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n        t[p] = s[p];\r\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n            t[p[i]] = s[p[i]];\r\n    return t;\r\n}\r\n\r\nfunction __decorate(decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nfunction __param(paramIndex, decorator) {\r\n    return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nfunction __metadata(metadataKey, metadataValue) {\r\n    if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nfunction __awaiter(thisArg, _arguments, P, generator) {\r\n    return new (P || (P = Promise))(function (resolve, reject) {\r\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n    });\r\n}\r\n\r\nfunction __generator(thisArg, body) {\r\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n    function verb(n) { return function (v) { return step([n, v]); }; }\r\n    function step(op) {\r\n        if (f) throw new TypeError(\"Generator is already executing.\");\r\n        while (_) try {\r\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n            if (y = 0, t) op = [op[0] & 2, t.value];\r\n            switch (op[0]) {\r\n                case 0: case 1: t = op; break;\r\n                case 4: _.label++; return { value: op[1], done: false };\r\n                case 5: _.label++; y = op[1]; op = [0]; continue;\r\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n                default:\r\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n                    if (t[2]) _.ops.pop();\r\n                    _.trys.pop(); continue;\r\n            }\r\n            op = body.call(thisArg, _);\r\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n    }\r\n}\r\n\r\nfunction __exportStar(m, exports) {\r\n    for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nfunction __values(o) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n    if (m) return m.call(o);\r\n    return {\r\n        next: function () {\r\n            if (o && i >= o.length) o = void 0;\r\n            return { value: o && o[i++], done: !o };\r\n        }\r\n    };\r\n}\r\n\r\nfunction __read(o, n) {\r\n    var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n    if (!m) return o;\r\n    var i = m.call(o), r, ar = [], e;\r\n    try {\r\n        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n    }\r\n    catch (error) { e = { error: error }; }\r\n    finally {\r\n        try {\r\n            if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n        }\r\n        finally { if (e) throw e.error; }\r\n    }\r\n    return ar;\r\n}\r\n\r\nfunction __spread() {\r\n    for (var ar = [], i = 0; i < arguments.length; i++)\r\n        ar = ar.concat(__read(arguments[i]));\r\n    return ar;\r\n}\r\n\r\nfunction __await(v) {\r\n    return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nfunction __asyncGenerator(thisArg, _arguments, generator) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n    return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n    function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n    function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n    function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n    function fulfill(value) { resume(\"next\", value); }\r\n    function reject(value) { resume(\"throw\", value); }\r\n    function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nfunction __asyncDelegator(o) {\r\n    var i, p;\r\n    return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n    function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nfunction __asyncValues(o) {\r\n    if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n    var m = o[Symbol.asyncIterator], i;\r\n    return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n    function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n    function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nfunction __makeTemplateObject(cooked, raw) {\r\n    if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n    return cooked;\r\n};\r\n\r\nfunction __importStar(mod) {\r\n    if (mod && mod.__esModule) return mod;\r\n    var result = {};\r\n    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n    result.default = mod;\r\n    return result;\r\n}\r\n\r\nfunction __importDefault(mod) {\r\n    return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\n\n//# sourceURL=webpack:///./node_modules/tslib/tslib.es6.js?");

/***/ }),

/***/ "./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
  !*** (webpack)/buildin/global.js ***!
  \***********************************/
/*! no static exports found */
/***/ (function(module, exports) {

eval("var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n//# sourceURL=webpack:///(webpack)/buildin/global.js?");

/***/ }),

/***/ "./src/button/index.scss":
/*!*******************************!*\
  !*** ./src/button/index.scss ***!
  \*******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("\n        var result = __webpack_require__(/*! !../../node_modules/css-loader!../../node_modules/sass-loader/lib/loader.js??ref--4-2!./index.scss */ \"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/button/index.scss\");\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    \n\n//# sourceURL=webpack:///./src/button/index.scss?");

/***/ }),

/***/ "./src/button/index.tsx":
/*!******************************!*\
  !*** ./src/button/index.tsx ***!
  \******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n    __assign = Object.assign || function(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n                t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/button/index.scss\");\r\nvar ripple_1 = __webpack_require__(/*! @material/ripple */ \"./node_modules/@material/ripple/index.js\");\r\n__webpack_require__(/*! ../icon */ \"./src/icon/index.js\");\r\nvar Button = /** @class */ (function (_super) {\r\n    __extends(Button, _super);\r\n    function Button() {\r\n        return _super !== null && _super.apply(this, arguments) || this;\r\n    }\r\n    Button.prototype.installed = function () {\r\n        if (this.props.ripple) {\r\n            new ripple_1.MDCRipple(this.shadowRoot.querySelector('.mdc-button'));\r\n        }\r\n    };\r\n    Button.prototype.render = function (props) {\r\n        return (omi_1.h(\"button\", __assign({}, omi_1.extractClass(props, 'mdc-button', {\r\n            'mdc-button--dense': props.dense,\r\n            'mdc-button--raised': props.raised,\r\n            'mdc-button--unelevated': props.unelevated,\r\n            'mdc-button--outlined': props.outlined\r\n        })),\r\n            (props.icon) && omi_1.h(\"i\", { class: \"mdc-fab__icon material-icons\" }, props.icon),\r\n            (props.svgIcon) && omi_1.h(\"m-icon\", __assign({ class: 'm-icon' }, props.svgIcon)),\r\n            omi_1.h(\"span\", { class: \"mdc-button__label\" },\r\n                omi_1.h(\"slot\", null))));\r\n    };\r\n    Button.css = css;\r\n    Button.defaultProps = {\r\n        ripple: true\r\n    };\r\n    Button.propTypes = {\r\n        ripple: Boolean,\r\n        raised: Boolean,\r\n        dense: Boolean,\r\n        unelevated: Boolean,\r\n        outlined: Boolean,\r\n        svgIcon: Object,\r\n        icon: String\r\n    };\r\n    Button = __decorate([\r\n        omi_1.tag('m-button')\r\n    ], Button);\r\n    return Button;\r\n}(omi_1.WeElement));\r\nexports.default = Button;\r\n\n\n//# sourceURL=webpack:///./src/button/index.tsx?");

/***/ }),

/***/ "./src/icon/index.js":
/*!***************************!*\
  !*** ./src/icon/index.js ***!
  \***************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("(function webpackUniversalModuleDefinition(root, factory) {\r\n    if (true)\r\n        module.exports = factory(__webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\"));\r\n    else {}\r\n})(window, function (__WEBPACK_EXTERNAL_MODULE_omi__) {\r\n    return /******/ (function (modules) {\r\n        /******/ // The module cache\r\n        /******/ var installedModules = {};\r\n        /******/\r\n        /******/ // The require function\r\n        /******/ function __webpack_require__(moduleId) {\r\n            /******/\r\n            /******/ // Check if module is in cache\r\n            /******/ if (installedModules[moduleId]) {\r\n                /******/ return installedModules[moduleId].exports;\r\n                /******/ }\r\n            /******/ // Create a new module (and put it into the cache)\r\n            /******/ var module = installedModules[moduleId] = {\r\n                /******/ i: moduleId,\r\n                /******/ l: false,\r\n                /******/ exports: {}\r\n                /******/ \r\n            };\r\n            /******/\r\n            /******/ // Execute the module function\r\n            /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n            /******/\r\n            /******/ // Flag the module as loaded\r\n            /******/ module.l = true;\r\n            /******/\r\n            /******/ // Return the exports of the module\r\n            /******/ return module.exports;\r\n            /******/ \r\n        }\r\n        /******/\r\n        /******/\r\n        /******/ // expose the modules object (__webpack_modules__)\r\n        /******/ __webpack_require__.m = modules;\r\n        /******/\r\n        /******/ // expose the module cache\r\n        /******/ __webpack_require__.c = installedModules;\r\n        /******/\r\n        /******/ // define getter function for harmony exports\r\n        /******/ __webpack_require__.d = function (exports, name, getter) {\r\n            /******/ if (!__webpack_require__.o(exports, name)) {\r\n                /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });\r\n                /******/ }\r\n            /******/ \r\n        };\r\n        /******/\r\n        /******/ // define __esModule on exports\r\n        /******/ __webpack_require__.r = function (exports) {\r\n            /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\r\n                /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\r\n                /******/ }\r\n            /******/ Object.defineProperty(exports, '__esModule', { value: true });\r\n            /******/ \r\n        };\r\n        /******/\r\n        /******/ // create a fake namespace object\r\n        /******/ // mode & 1: value is a module id, require it\r\n        /******/ // mode & 2: merge all properties of value into the ns\r\n        /******/ // mode & 4: return value when already ns object\r\n        /******/ // mode & 8|1: behave like require\r\n        /******/ __webpack_require__.t = function (value, mode) {\r\n            /******/ if (mode & 1)\r\n                value = __webpack_require__(value);\r\n            /******/ if (mode & 8)\r\n                return value;\r\n            /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule)\r\n                return value;\r\n            /******/ var ns = Object.create(null);\r\n            /******/ __webpack_require__.r(ns);\r\n            /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });\r\n            /******/ if (mode & 2 && typeof value != 'string')\r\n                for (var key in value)\r\n                    __webpack_require__.d(ns, key, function (key) { return value[key]; }.bind(null, key));\r\n            /******/ return ns;\r\n            /******/ \r\n        };\r\n        /******/\r\n        /******/ // getDefaultExport function for compatibility with non-harmony modules\r\n        /******/ __webpack_require__.n = function (module) {\r\n            /******/ var getter = module && module.__esModule ?\r\n                /******/ function getDefault() { return module['default']; } :\r\n                /******/ function getModuleExports() { return module; };\r\n            /******/ __webpack_require__.d(getter, 'a', getter);\r\n            /******/ return getter;\r\n            /******/ \r\n        };\r\n        /******/\r\n        /******/ // Object.prototype.hasOwnProperty.call\r\n        /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\r\n        /******/\r\n        /******/ // __webpack_public_path__\r\n        /******/ __webpack_require__.p = \"\";\r\n        /******/\r\n        /******/\r\n        /******/ // Load entry module and return exports\r\n        /******/ return __webpack_require__(__webpack_require__.s = \"./src/icon/index.tsx\");\r\n        /******/ \r\n    })({\r\n        /***/ \"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/icon/index.scss\": \r\n        /*!**********************************************************************************************************!*\\\r\n          !*** ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js??ref--4-2!./src/icon/index.scss ***!\r\n          \\**********************************************************************************************************/\r\n        /*! no static exports found */\r\n        /***/ (function (module, exports, __webpack_require__) {\r\n            exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\r\n            // imports\r\n            // module\r\n            exports.push([module.i, \".m-icon {\\n  text-align: center;\\n  display: inline-block; }\\n\\n.m-icon svg {\\n  display: inline-block;\\n  vertical-align: top; }\\n\\n.rotate {\\n  display: inline-block;\\n  -webkit-animation: rotate 1s infinite linear;\\n  animation: rotate 1s infinite linear; }\\n\\ni div {\\n  font-style: normal; }\\n\\n@-webkit-keyframes rotate {\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n    transform: rotate(360deg); } }\\n\\n@keyframes rotate {\\n  100% {\\n    -webkit-transform: rotate(360deg);\\n    transform: rotate(360deg); } }\\n\", \"\"]);\r\n            // exports\r\n            /***/ \r\n        }),\r\n        /***/ \"./node_modules/css-loader/lib/css-base.js\": \r\n        /*!*************************************************!*\\\r\n          !*** ./node_modules/css-loader/lib/css-base.js ***!\r\n          \\*************************************************/\r\n        /*! no static exports found */\r\n        /***/ (function (module, exports) {\r\n            /*\r\n                MIT License http://www.opensource.org/licenses/mit-license.php\r\n                Author Tobias Koppers @sokra\r\n            */\r\n            // css base code, injected by the css-loader\r\n            module.exports = function (useSourceMap) {\r\n                var list = [];\r\n                // return the list of modules as css string\r\n                list.toString = function toString() {\r\n                    return this.map(function (item) {\r\n                        var content = cssWithMappingToString(item, useSourceMap);\r\n                        if (item[2]) {\r\n                            return \"@media \" + item[2] + \"{\" + content + \"}\";\r\n                        }\r\n                        else {\r\n                            return content;\r\n                        }\r\n                    }).join(\"\");\r\n                };\r\n                // import a list of modules into the list\r\n                list.i = function (modules, mediaQuery) {\r\n                    if (typeof modules === \"string\")\r\n                        modules = [[null, modules, \"\"]];\r\n                    var alreadyImportedModules = {};\r\n                    for (var i = 0; i < this.length; i++) {\r\n                        var id = this[i][0];\r\n                        if (typeof id === \"number\")\r\n                            alreadyImportedModules[id] = true;\r\n                    }\r\n                    for (i = 0; i < modules.length; i++) {\r\n                        var item = modules[i];\r\n                        // skip already imported module\r\n                        // this implementation is not 100% perfect for weird media query combinations\r\n                        //  when a module is imported multiple times with different media queries.\r\n                        //  I hope this will never occur (Hey this way we have smaller bundles)\r\n                        if (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n                            if (mediaQuery && !item[2]) {\r\n                                item[2] = mediaQuery;\r\n                            }\r\n                            else if (mediaQuery) {\r\n                                item[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n                            }\r\n                            list.push(item);\r\n                        }\r\n                    }\r\n                };\r\n                return list;\r\n            };\r\n            function cssWithMappingToString(item, useSourceMap) {\r\n                var content = item[1] || '';\r\n                var cssMapping = item[3];\r\n                if (!cssMapping) {\r\n                    return content;\r\n                }\r\n                if (useSourceMap && typeof btoa === 'function') {\r\n                    var sourceMapping = toComment(cssMapping);\r\n                    var sourceURLs = cssMapping.sources.map(function (source) {\r\n                        return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\r\n                    });\r\n                    return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\r\n                }\r\n                return [content].join('\\n');\r\n            }\r\n            // Adapted from convert-source-map (MIT)\r\n            function toComment(sourceMap) {\r\n                // eslint-disable-next-line no-undef\r\n                var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\r\n                var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\r\n                return '/*# ' + data + ' */';\r\n            }\r\n            /***/ \r\n        }),\r\n        /***/ \"./src/icon/index.scss\": \r\n        /*!*****************************!*\\\r\n          !*** ./src/icon/index.scss ***!\r\n          \\*****************************/\r\n        /*! no static exports found */\r\n        /***/ (function (module, exports, __webpack_require__) {\r\n            var result = __webpack_require__(/*! !../../node_modules/css-loader!../../node_modules/sass-loader/lib/loader.js??ref--4-2!./index.scss */ \"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/icon/index.scss\");\r\n            if (typeof result === \"string\") {\r\n                module.exports = result;\r\n            }\r\n            else {\r\n                module.exports = result.toString();\r\n            }\r\n            /***/ \r\n        }),\r\n        /***/ \"./src/icon/index.tsx\": \r\n        /*!****************************!*\\\r\n          !*** ./src/icon/index.tsx ***!\r\n          \\****************************/\r\n        /*! no static exports found */\r\n        /***/ (function (module, exports, __webpack_require__) {\r\n            \"use strict\";\r\n            var __extends = (this && this.__extends) || (function () {\r\n                var extendStatics = function (d, b) {\r\n                    extendStatics = Object.setPrototypeOf ||\r\n                        ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n                        function (d, b) { for (var p in b)\r\n                            if (b.hasOwnProperty(p))\r\n                                d[p] = b[p]; };\r\n                    return extendStatics(d, b);\r\n                };\r\n                return function (d, b) {\r\n                    extendStatics(d, b);\r\n                    function __() { this.constructor = d; }\r\n                    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n                };\r\n            })();\r\n            var __assign = (this && this.__assign) || function () {\r\n                __assign = Object.assign || function (t) {\r\n                    for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n                        s = arguments[i];\r\n                        for (var p in s)\r\n                            if (Object.prototype.hasOwnProperty.call(s, p))\r\n                                t[p] = s[p];\r\n                    }\r\n                    return t;\r\n                };\r\n                return __assign.apply(this, arguments);\r\n            };\r\n            var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n                var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n                if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\r\n                    r = Reflect.decorate(decorators, target, key, desc);\r\n                else\r\n                    for (var i = decorators.length - 1; i >= 0; i--)\r\n                        if (d = decorators[i])\r\n                            r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n                return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n            };\r\n            Object.defineProperty(exports, \"__esModule\", { value: true });\r\n            var omi_1 = __webpack_require__(/*! omi */ \"omi\");\r\n            var css = __webpack_require__(/*! ./index.scss */ \"./src/icon/index.scss\");\r\n            var Icon = /** @class */ (function (_super) {\r\n                __extends(Icon, _super);\r\n                function Icon() {\r\n                    return _super !== null && _super.apply(this, arguments) || this;\r\n                }\r\n                Icon.prototype.render = function (props) {\r\n                    return (omi_1.h(\"i\", __assign({}, omi_1.extractClass(props, 'm-icon')), omi_1.h(\"svg\", { viewBox: '0 0 ' + props.view + ' ' + props.view, class: omi_1.classNames({ rotate: props.rotate }), width: props.scale + 'em', height: props.scale + 'em', fill: props.color, \"aria-hidden\": \"true\" }, props.paths ? (props.paths.map(function (item) {\r\n                        var attrs = { d: item.path, fill: props.color || 'black' };\r\n                        if (item.color)\r\n                            attrs.fill = item.color;\r\n                        return omi_1.h(\"path\", __assign({}, attrs));\r\n                    })) : omi_1.h(\"path\", { d: props.path })), props.children && (omi_1.h(\"div\", { style: \"color:\" + (props.color || 'black') + \";\" }, props.children[0]))));\r\n                };\r\n                Icon.css = css;\r\n                Icon.defaultProps = {\r\n                    view: 1024,\r\n                    scale: 2\r\n                };\r\n                Icon.propTypes = {\r\n                    path: String,\r\n                    paths: Object,\r\n                    view: Number,\r\n                    scale: Number,\r\n                    color: String\r\n                };\r\n                Icon = __decorate([\r\n                    omi_1.tag('m-icon')\r\n                ], Icon);\r\n                return Icon;\r\n            }(omi_1.WeElement));\r\n            exports.default = Icon;\r\n            /***/ \r\n        }),\r\n        /***/ \"omi\": \r\n        /*!******************************************************************************!*\\\r\n          !*** external {\"commonjs\":\"omi\",\"commonjs2\":\"omi\",\"amd\":\"omi\",\"root\":\"Omi\"} ***!\r\n          \\******************************************************************************/\r\n        /*! no static exports found */\r\n        /***/ (function (module, exports) {\r\n            module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;\r\n            /***/ \r\n        })\r\n        /******/ \r\n    });\r\n});\r\n//# sourceMappingURL=index.js.map\r\n\n\n//# sourceURL=webpack:///./src/icon/index.js?");

/***/ }),

/***/ "./src/snackbar/index.scss":
/*!*********************************!*\
  !*** ./src/snackbar/index.scss ***!
  \*********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("\n        var result = __webpack_require__(/*! !../../node_modules/css-loader!../../node_modules/sass-loader/lib/loader.js??ref--4-2!./index.scss */ \"./node_modules/css-loader/index.js!./node_modules/sass-loader/lib/loader.js?!./src/snackbar/index.scss\");\n\n        if (typeof result === \"string\") {\n            module.exports = result;\n        } else {\n            module.exports = result.toString();\n        }\n    \n\n//# sourceURL=webpack:///./src/snackbar/index.scss?");

/***/ }),

/***/ "./src/snackbar/index.tsx":
/*!********************************!*\
  !*** ./src/snackbar/index.tsx ***!
  \********************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

"use strict";
eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n    var extendStatics = function (d, b) {\r\n        extendStatics = Object.setPrototypeOf ||\r\n            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n        return extendStatics(d, b);\r\n    };\r\n    return function (d, b) {\r\n        extendStatics(d, b);\r\n        function __() { this.constructor = d; }\r\n        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n    };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n    __assign = Object.assign || function(t) {\r\n        for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n            s = arguments[i];\r\n            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n                t[p] = s[p];\r\n        }\r\n        return t;\r\n    };\r\n    return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/snackbar/index.scss\");\r\nvar snackbar_1 = __webpack_require__(/*! @material/snackbar */ \"./node_modules/@material/snackbar/index.js\");\r\nvar Snackbar = /** @class */ (function (_super) {\r\n    __extends(Snackbar, _super);\r\n    function Snackbar() {\r\n        var _this = _super !== null && _super.apply(this, arguments) || this;\r\n        _this.onButtonClick = function (evt) {\r\n            _this.fire('buttonClick');\r\n        };\r\n        _this.onIconButtonClick = function (evt) {\r\n            _this.fire('iconButtonClick');\r\n        };\r\n        return _this;\r\n    }\r\n    Snackbar.prototype.installed = function () {\r\n        var _this = this;\r\n        var snackbar = new snackbar_1.MDCSnackbar(this.shadowRoot.querySelector('.mdc-snackbar'));\r\n        snackbar.listen('MDCSnackbar:opened', function () {\r\n            _this.fire('opened');\r\n        });\r\n        snackbar.listen('MDCSnackbar:closed', function () {\r\n            _this.fire('closed');\r\n            //直接改掉下次需要 diff 的 attr,(zain: 加判断，兼容 script)\r\n            if (_this['__omiattr_']) {\r\n                _this['__omiattr_'].show = false;\r\n            }\r\n        });\r\n        this.snackbar = snackbar;\r\n        if (this.props.show) {\r\n            this.snackbar.open();\r\n        }\r\n        else {\r\n            this.snackbar.close();\r\n        }\r\n    };\r\n    Snackbar.prototype.updated = function () {\r\n        if (this.props.show) {\r\n            this.snackbar.open();\r\n        }\r\n        else {\r\n            this.snackbar.close();\r\n        }\r\n    };\r\n    Snackbar.prototype.render = function (props) {\r\n        return (omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, 'mdc-snackbar', {\r\n            'mdc-snackbar--stacked': props.stacked,\r\n            'mdc-snackbar--leading': props.leading\r\n        })),\r\n            omi_1.h(\"div\", { class: \"mdc-snackbar__surface\" },\r\n                omi_1.h(\"div\", { class: \"mdc-snackbar__label\", role: \"status\", \"aria-live\": \"polite\" }, props.msg),\r\n                omi_1.h(\"div\", { class: \"mdc-snackbar__actions\" },\r\n                    omi_1.h(\"button\", { onClick: this.onButtonClick, type: \"button\", class: \"mdc-button mdc-snackbar__action\" }, props.buttonText),\r\n                    omi_1.h(\"button\", { onClick: this.onIconButtonClick, class: \"mdc-icon-button mdc-snackbar__dismiss material-icons\", title: \"Dismiss\", style: \"color:white;\" }, \"close\")))));\r\n    };\r\n    Snackbar.css = css;\r\n    Snackbar.defaultProps = {};\r\n    Snackbar.propTypes = {\r\n        show: Boolean,\r\n        stacked: Boolean,\r\n        msg: String,\r\n        buttonText: String,\r\n        leading: Boolean\r\n    };\r\n    Snackbar = __decorate([\r\n        omi_1.tag('m-snackbar')\r\n    ], Snackbar);\r\n    return Snackbar;\r\n}(omi_1.WeElement));\r\nexports.default = Snackbar;\r\n\n\n//# sourceURL=webpack:///./src/snackbar/index.tsx?");

/***/ })

/******/ });