/******/ (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 = 0);
/******/ })
/************************************************************************/
/******/ ({
/***/ "../demo-client/js/node_modules/component-emitter/index.js":
/*!*****************************************************************!*\
!*** ../demo-client/js/node_modules/component-emitter/index.js ***!
\*****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("\r\n/**\r\n * Expose `Emitter`.\r\n */\r\n\r\nif (true) {\r\n module.exports = Emitter;\r\n}\r\n\r\n/**\r\n * Initialize a new `Emitter`.\r\n *\r\n * @api public\r\n */\r\n\r\nfunction Emitter(obj) {\r\n if (obj) return mixin(obj);\r\n};\r\n\r\n/**\r\n * Mixin the emitter properties.\r\n *\r\n * @param {Object} obj\r\n * @return {Object}\r\n * @api private\r\n */\r\n\r\nfunction mixin(obj) {\r\n for (var key in Emitter.prototype) {\r\n obj[key] = Emitter.prototype[key];\r\n }\r\n return obj;\r\n}\r\n\r\n/**\r\n * Listen on the given `event` with `fn`.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.on =\r\nEmitter.prototype.addEventListener = function(event, fn){\r\n this._callbacks = this._callbacks || {};\r\n (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\r\n .push(fn);\r\n return this;\r\n};\r\n\r\n/**\r\n * Adds an `event` listener that will be invoked a single\r\n * time then automatically removed.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.once = function(event, fn){\r\n function on() {\r\n this.off(event, on);\r\n fn.apply(this, arguments);\r\n }\r\n\r\n on.fn = fn;\r\n this.on(event, on);\r\n return this;\r\n};\r\n\r\n/**\r\n * Remove the given callback for `event` or all\r\n * registered callbacks.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.off =\r\nEmitter.prototype.removeListener =\r\nEmitter.prototype.removeAllListeners =\r\nEmitter.prototype.removeEventListener = function(event, fn){\r\n this._callbacks = this._callbacks || {};\r\n\r\n // all\r\n if (0 == arguments.length) {\r\n this._callbacks = {};\r\n return this;\r\n }\r\n\r\n // specific event\r\n var callbacks = this._callbacks['$' + event];\r\n if (!callbacks) return this;\r\n\r\n // remove all handlers\r\n if (1 == arguments.length) {\r\n delete this._callbacks['$' + event];\r\n return this;\r\n }\r\n\r\n // remove specific handler\r\n var cb;\r\n for (var i = 0; i < callbacks.length; i++) {\r\n cb = callbacks[i];\r\n if (cb === fn || cb.fn === fn) {\r\n callbacks.splice(i, 1);\r\n break;\r\n }\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Emit `event` with the given args.\r\n *\r\n * @param {String} event\r\n * @param {Mixed} ...\r\n * @return {Emitter}\r\n */\r\n\r\nEmitter.prototype.emit = function(event){\r\n this._callbacks = this._callbacks || {};\r\n var args = [].slice.call(arguments, 1)\r\n , callbacks = this._callbacks['$' + event];\r\n\r\n if (callbacks) {\r\n callbacks = callbacks.slice(0);\r\n for (var i = 0, len = callbacks.length; i < len; ++i) {\r\n callbacks[i].apply(this, args);\r\n }\r\n }\r\n\r\n return this;\r\n};\r\n\r\n/**\r\n * Return array of callbacks for `event`.\r\n *\r\n * @param {String} event\r\n * @return {Array}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.listeners = function(event){\r\n this._callbacks = this._callbacks || {};\r\n return this._callbacks['$' + event] || [];\r\n};\r\n\r\n/**\r\n * Check if this emitter has `event` handlers.\r\n *\r\n * @param {String} event\r\n * @return {Boolean}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.hasListeners = function(event){\r\n return !! this.listeners(event).length;\r\n};\r\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/component-emitter/index.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/client.js":
/*!***************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/client.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * Root reference for iframes.\n */\n\nvar root;\nif (typeof window !== 'undefined') { // Browser window\n root = window;\n} else if (typeof self !== 'undefined') { // Web Worker\n root = self;\n} else { // Other environments\n console.warn(\"Using browser-only version of superagent in non-browser environment\");\n root = this;\n}\n\nvar Emitter = __webpack_require__(/*! component-emitter */ \"../demo-client/js/node_modules/component-emitter/index.js\");\nvar RequestBase = __webpack_require__(/*! ./request-base */ \"../demo-client/js/node_modules/superagent/lib/request-base.js\");\nvar isObject = __webpack_require__(/*! ./is-object */ \"../demo-client/js/node_modules/superagent/lib/is-object.js\");\nvar ResponseBase = __webpack_require__(/*! ./response-base */ \"../demo-client/js/node_modules/superagent/lib/response-base.js\");\nvar shouldRetry = __webpack_require__(/*! ./should-retry */ \"../demo-client/js/node_modules/superagent/lib/should-retry.js\");\n\n/**\n * Noop.\n */\n\nfunction noop(){};\n\n/**\n * Expose `request`.\n */\n\nvar request = exports = module.exports = function(method, url) {\n // callback\n if ('function' == typeof url) {\n return new exports.Request('GET', method).end(url);\n }\n\n // url first\n if (1 == arguments.length) {\n return new exports.Request('GET', method);\n }\n\n return new exports.Request(method, url);\n}\n\nexports.Request = Request;\n\n/**\n * Determine XHR.\n */\n\nrequest.getXHR = function () {\n if (root.XMLHttpRequest\n && (!root.location || 'file:' != root.location.protocol\n || !root.ActiveXObject)) {\n return new XMLHttpRequest;\n } else {\n try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.6.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.3.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) {}\n }\n throw Error(\"Browser-only version of superagent could not find XHR\");\n};\n\n/**\n * Removes leading and trailing whitespace, added to support IE.\n *\n * @param {String} s\n * @return {String}\n * @api private\n */\n\nvar trim = ''.trim\n ? function(s) { return s.trim(); }\n : function(s) { return s.replace(/(^\\s*|\\s*$)/g, ''); };\n\n/**\n * Serialize the given `obj`.\n *\n * @param {Object} obj\n * @return {String}\n * @api private\n */\n\nfunction serialize(obj) {\n if (!isObject(obj)) return obj;\n var pairs = [];\n for (var key in obj) {\n pushEncodedKeyValuePair(pairs, key, obj[key]);\n }\n return pairs.join('&');\n}\n\n/**\n * Helps 'serialize' with serializing arrays.\n * Mutates the pairs array.\n *\n * @param {Array} pairs\n * @param {String} key\n * @param {Mixed} val\n */\n\nfunction pushEncodedKeyValuePair(pairs, key, val) {\n if (val != null) {\n if (Array.isArray(val)) {\n val.forEach(function(v) {\n pushEncodedKeyValuePair(pairs, key, v);\n });\n } else if (isObject(val)) {\n for(var subkey in val) {\n pushEncodedKeyValuePair(pairs, key + '[' + subkey + ']', val[subkey]);\n }\n } else {\n pairs.push(encodeURIComponent(key)\n + '=' + encodeURIComponent(val));\n }\n } else if (val === null) {\n pairs.push(encodeURIComponent(key));\n }\n}\n\n/**\n * Expose serialization method.\n */\n\n request.serializeObject = serialize;\n\n /**\n * Parse the given x-www-form-urlencoded `str`.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseString(str) {\n var obj = {};\n var pairs = str.split('&');\n var pair;\n var pos;\n\n for (var i = 0, len = pairs.length; i < len; ++i) {\n pair = pairs[i];\n pos = pair.indexOf('=');\n if (pos == -1) {\n obj[decodeURIComponent(pair)] = '';\n } else {\n obj[decodeURIComponent(pair.slice(0, pos))] =\n decodeURIComponent(pair.slice(pos + 1));\n }\n }\n\n return obj;\n}\n\n/**\n * Expose parser.\n */\n\nrequest.parseString = parseString;\n\n/**\n * Default MIME type map.\n *\n * superagent.types.xml = 'application/xml';\n *\n */\n\nrequest.types = {\n html: 'text/html',\n json: 'application/json',\n xml: 'text/xml',\n urlencoded: 'application/x-www-form-urlencoded',\n 'form': 'application/x-www-form-urlencoded',\n 'form-data': 'application/x-www-form-urlencoded'\n};\n\n/**\n * Default serialization map.\n *\n * superagent.serialize['application/xml'] = function(obj){\n * return 'generated xml here';\n * };\n *\n */\n\n request.serialize = {\n 'application/x-www-form-urlencoded': serialize,\n 'application/json': JSON.stringify\n };\n\n /**\n * Default parsers.\n *\n * superagent.parse['application/xml'] = function(str){\n * return { object parsed from str };\n * };\n *\n */\n\nrequest.parse = {\n 'application/x-www-form-urlencoded': parseString,\n 'application/json': JSON.parse\n};\n\n/**\n * Parse the given header `str` into\n * an object containing the mapped fields.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseHeader(str) {\n var lines = str.split(/\\r?\\n/);\n var fields = {};\n var index;\n var line;\n var field;\n var val;\n\n for (var i = 0, len = lines.length; i < len; ++i) {\n line = lines[i];\n index = line.indexOf(':');\n if (index === -1) { // could be empty line, just skip it\n continue;\n }\n field = line.slice(0, index).toLowerCase();\n val = trim(line.slice(index + 1));\n fields[field] = val;\n }\n\n return fields;\n}\n\n/**\n * Check if `mime` is json or has +json structured syntax suffix.\n *\n * @param {String} mime\n * @return {Boolean}\n * @api private\n */\n\nfunction isJSON(mime) {\n return /[\\/+]json\\b/.test(mime);\n}\n\n/**\n * Initialize a new `Response` with the given `xhr`.\n *\n * - set flags (.ok, .error, etc)\n * - parse header\n *\n * Examples:\n *\n * Aliasing `superagent` as `request` is nice:\n *\n * request = superagent;\n *\n * We can use the promise-like API, or pass callbacks:\n *\n * request.get('/').end(function(res){});\n * request.get('/', function(res){});\n *\n * Sending data can be chained:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' })\n * .end(function(res){});\n *\n * Or passed to `.send()`:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' }, function(res){});\n *\n * Or passed to `.post()`:\n *\n * request\n * .post('/user', { name: 'tj' })\n * .end(function(res){});\n *\n * Or further reduced to a single call for simple cases:\n *\n * request\n * .post('/user', { name: 'tj' }, function(res){});\n *\n * @param {XMLHTTPRequest} xhr\n * @param {Object} options\n * @api private\n */\n\nfunction Response(req) {\n this.req = req;\n this.xhr = this.req.xhr;\n // responseText is accessible only if responseType is '' or 'text' and on older browsers\n this.text = ((this.req.method !='HEAD' && (this.xhr.responseType === '' || this.xhr.responseType === 'text')) || typeof this.xhr.responseType === 'undefined')\n ? this.xhr.responseText\n : null;\n this.statusText = this.req.xhr.statusText;\n var status = this.xhr.status;\n // handle IE9 bug: http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request\n if (status === 1223) {\n status = 204;\n }\n this._setStatusProperties(status);\n this.header = this.headers = parseHeader(this.xhr.getAllResponseHeaders());\n // getAllResponseHeaders sometimes falsely returns \"\" for CORS requests, but\n // getResponseHeader still works. so we get content-type even if getting\n // other headers fails.\n this.header['content-type'] = this.xhr.getResponseHeader('content-type');\n this._setHeaderProperties(this.header);\n\n if (null === this.text && req._responseType) {\n this.body = this.xhr.response;\n } else {\n this.body = this.req.method != 'HEAD'\n ? this._parseBody(this.text ? this.text : this.xhr.response)\n : null;\n }\n}\n\nResponseBase(Response.prototype);\n\n/**\n * Parse the given body `str`.\n *\n * Used for auto-parsing of bodies. Parsers\n * are defined on the `superagent.parse` object.\n *\n * @param {String} str\n * @return {Mixed}\n * @api private\n */\n\nResponse.prototype._parseBody = function(str){\n var parse = request.parse[this.type];\n if(this.req._parser) {\n return this.req._parser(this, str);\n }\n if (!parse && isJSON(this.type)) {\n parse = request.parse['application/json'];\n }\n return parse && str && (str.length || str instanceof Object)\n ? parse(str)\n : null;\n};\n\n/**\n * Return an `Error` representative of this response.\n *\n * @return {Error}\n * @api public\n */\n\nResponse.prototype.toError = function(){\n var req = this.req;\n var method = req.method;\n var url = req.url;\n\n var msg = 'cannot ' + method + ' ' + url + ' (' + this.status + ')';\n var err = new Error(msg);\n err.status = this.status;\n err.method = method;\n err.url = url;\n\n return err;\n};\n\n/**\n * Expose `Response`.\n */\n\nrequest.Response = Response;\n\n/**\n * Initialize a new `Request` with the given `method` and `url`.\n *\n * @param {String} method\n * @param {String} url\n * @api public\n */\n\nfunction Request(method, url) {\n var self = this;\n this._query = this._query || [];\n this.method = method;\n this.url = url;\n this.header = {}; // preserves header name case\n this._header = {}; // coerces header names to lowercase\n this.on('end', function(){\n var err = null;\n var res = null;\n\n try {\n res = new Response(self);\n } catch(e) {\n err = new Error('Parser is unable to parse the response');\n err.parse = true;\n err.original = e;\n // issue #675: return the raw response if the response parsing fails\n if (self.xhr) {\n // ie9 doesn't have 'response' property\n err.rawResponse = typeof self.xhr.responseType == 'undefined' ? self.xhr.responseText : self.xhr.response;\n // issue #876: return the http status code if the response parsing fails\n err.status = self.xhr.status ? self.xhr.status : null;\n err.statusCode = err.status; // backwards-compat only\n } else {\n err.rawResponse = null;\n err.status = null;\n }\n\n return self.callback(err);\n }\n\n self.emit('response', res);\n\n var new_err;\n try {\n if (!self._isResponseOK(res)) {\n new_err = new Error(res.statusText || 'Unsuccessful HTTP response');\n }\n } catch(custom_err) {\n new_err = custom_err; // ok() callback can throw\n }\n\n // #1000 don't catch errors from the callback to avoid double calling it\n if (new_err) {\n new_err.original = err;\n new_err.response = res;\n new_err.status = res.status;\n self.callback(new_err, res);\n } else {\n self.callback(null, res);\n }\n });\n}\n\n/**\n * Mixin `Emitter` and `RequestBase`.\n */\n\nEmitter(Request.prototype);\nRequestBase(Request.prototype);\n\n/**\n * Set Content-Type to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.xml = 'application/xml';\n *\n * request.post('/')\n * .type('xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * request.post('/')\n * .type('application/xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * @param {String} type\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.type = function(type){\n this.set('Content-Type', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Accept to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.json = 'application/json';\n *\n * request.get('/agent')\n * .accept('json')\n * .end(callback);\n *\n * request.get('/agent')\n * .accept('application/json')\n * .end(callback);\n *\n * @param {String} accept\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.accept = function(type){\n this.set('Accept', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Authorization field value with `user` and `pass`.\n *\n * @param {String} user\n * @param {String} [pass] optional in case of using 'bearer' as type\n * @param {Object} options with 'type' property 'auto', 'basic' or 'bearer' (default 'basic')\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.auth = function(user, pass, options){\n if (typeof pass === 'object' && pass !== null) { // pass is optional and can substitute for options\n options = pass;\n }\n if (!options) {\n options = {\n type: 'function' === typeof btoa ? 'basic' : 'auto',\n }\n }\n\n switch (options.type) {\n case 'basic':\n this.set('Authorization', 'Basic ' + btoa(user + ':' + pass));\n break;\n\n case 'auto':\n this.username = user;\n this.password = pass;\n break;\n\n case 'bearer': // usage would be .auth(accessToken, { type: 'bearer' })\n this.set('Authorization', 'Bearer ' + user);\n break;\n }\n return this;\n};\n\n/**\n * Add query-string `val`.\n *\n * Examples:\n *\n * request.get('/shoes')\n * .query('size=10')\n * .query({ color: 'blue' })\n *\n * @param {Object|String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.query = function(val){\n if ('string' != typeof val) val = serialize(val);\n if (val) this._query.push(val);\n return this;\n};\n\n/**\n * Queue the given `file` as an attachment to the specified `field`,\n * with optional `options` (or filename).\n *\n * ``` js\n * request.post('/upload')\n * .attach('content', new Blob(['hey!'], { type: \"text/html\"}))\n * .end(callback);\n * ```\n *\n * @param {String} field\n * @param {Blob|File} file\n * @param {String|Object} options\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.attach = function(field, file, options){\n if (file) {\n if (this._data) {\n throw Error(\"superagent can't mix .send() and .attach()\");\n }\n\n this._getFormData().append(field, file, options || file.name);\n }\n return this;\n};\n\nRequest.prototype._getFormData = function(){\n if (!this._formData) {\n this._formData = new root.FormData();\n }\n return this._formData;\n};\n\n/**\n * Invoke the callback with `err` and `res`\n * and handle arity check.\n *\n * @param {Error} err\n * @param {Response} res\n * @api private\n */\n\nRequest.prototype.callback = function(err, res){\n // console.log(this._retries, this._maxRetries)\n if (this._maxRetries && this._retries++ < this._maxRetries && shouldRetry(err, res)) {\n return this._retry();\n }\n\n var fn = this._callback;\n this.clearTimeout();\n\n if (err) {\n if (this._maxRetries) err.retries = this._retries - 1;\n this.emit('error', err);\n }\n\n fn(err, res);\n};\n\n/**\n * Invoke callback with x-domain error.\n *\n * @api private\n */\n\nRequest.prototype.crossDomainError = function(){\n var err = new Error('Request has been terminated\\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.');\n err.crossDomain = true;\n\n err.status = this.status;\n err.method = this.method;\n err.url = this.url;\n\n this.callback(err);\n};\n\n// This only warns, because the request is still likely to work\nRequest.prototype.buffer = Request.prototype.ca = Request.prototype.agent = function(){\n console.warn(\"This is not supported in browser version of superagent\");\n return this;\n};\n\n// This throws, because it can't send/receive data as expected\nRequest.prototype.pipe = Request.prototype.write = function(){\n throw Error(\"Streaming is not supported in browser version of superagent\");\n};\n\n/**\n * Check if `obj` is a host object,\n * we don't want to serialize these :)\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\nRequest.prototype._isHost = function _isHost(obj) {\n // Native objects stringify to [object File], [object Blob], [object FormData], etc.\n return obj && 'object' === typeof obj && !Array.isArray(obj) && Object.prototype.toString.call(obj) !== '[object Object]';\n}\n\n/**\n * Initiate request, invoking callback `fn(res)`\n * with an instanceof `Response`.\n *\n * @param {Function} fn\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.end = function(fn){\n if (this._endCalled) {\n console.warn(\"Warning: .end() was called twice. This is not supported in superagent\");\n }\n this._endCalled = true;\n\n // store callback\n this._callback = fn || noop;\n\n // querystring\n this._finalizeQueryString();\n\n return this._end();\n};\n\nRequest.prototype._end = function() {\n var self = this;\n var xhr = this.xhr = request.getXHR();\n var data = this._formData || this._data;\n\n this._setTimeouts();\n\n // state change\n xhr.onreadystatechange = function(){\n var readyState = xhr.readyState;\n if (readyState >= 2 && self._responseTimeoutTimer) {\n clearTimeout(self._responseTimeoutTimer);\n }\n if (4 != readyState) {\n return;\n }\n\n // In IE9, reads to any property (e.g. status) off of an aborted XHR will\n // result in the error \"Could not complete the operation due to error c00c023f\"\n var status;\n try { status = xhr.status } catch(e) { status = 0; }\n\n if (!status) {\n if (self.timedout || self._aborted) return;\n return self.crossDomainError();\n }\n self.emit('end');\n };\n\n // progress\n var handleProgress = function(direction, e) {\n if (e.total > 0) {\n e.percent = e.loaded / e.total * 100;\n }\n e.direction = direction;\n self.emit('progress', e);\n }\n if (this.hasListeners('progress')) {\n try {\n xhr.onprogress = handleProgress.bind(null, 'download');\n if (xhr.upload) {\n xhr.upload.onprogress = handleProgress.bind(null, 'upload');\n }\n } catch(e) {\n // Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.\n // Reported here:\n // https://connect.microsoft.com/IE/feedback/details/837245/xmlhttprequest-upload-throws-invalid-argument-when-used-from-web-worker-context\n }\n }\n\n // initiate request\n try {\n if (this.username && this.password) {\n xhr.open(this.method, this.url, true, this.username, this.password);\n } else {\n xhr.open(this.method, this.url, true);\n }\n } catch (err) {\n // see #1149\n return this.callback(err);\n }\n\n // CORS\n if (this._withCredentials) xhr.withCredentials = true;\n\n // body\n if (!this._formData && 'GET' != this.method && 'HEAD' != this.method && 'string' != typeof data && !this._isHost(data)) {\n // serialize stuff\n var contentType = this._header['content-type'];\n var serialize = this._serializer || request.serialize[contentType ? contentType.split(';')[0] : ''];\n if (!serialize && isJSON(contentType)) {\n serialize = request.serialize['application/json'];\n }\n if (serialize) data = serialize(data);\n }\n\n // set header fields\n for (var field in this.header) {\n if (null == this.header[field]) continue;\n\n if (this.header.hasOwnProperty(field))\n xhr.setRequestHeader(field, this.header[field]);\n }\n\n if (this._responseType) {\n xhr.responseType = this._responseType;\n }\n\n // send stuff\n this.emit('request', this);\n\n // IE11 xhr.send(undefined) sends 'undefined' string as POST payload (instead of nothing)\n // We need null here if data is undefined\n xhr.send(typeof data !== 'undefined' ? data : null);\n return this;\n};\n\n/**\n * GET `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.get = function(url, data, fn){\n var req = request('GET', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.query(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * HEAD `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.head = function(url, data, fn){\n var req = request('HEAD', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.query(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * OPTIONS query to `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.options = function(url, data, fn){\n var req = request('OPTIONS', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * DELETE `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nfunction del(url, data, fn){\n var req = request('DELETE', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\nrequest['del'] = del;\nrequest['delete'] = del;\n\n/**\n * PATCH `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.patch = function(url, data, fn){\n var req = request('PATCH', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * POST `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.post = function(url, data, fn){\n var req = request('POST', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * PUT `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.put = function(url, data, fn){\n var req = request('PUT', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/client.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/is-object.js":
/*!******************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/is-object.js ***!
\******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Check if `obj` is an object.\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isObject(obj) {\n return null !== obj && 'object' === typeof obj;\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/is-object.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/request-base.js":
/*!*********************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/request-base.js ***!
\*********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Module of mixed-in functions shared between node and client code\n */\nvar isObject = __webpack_require__(/*! ./is-object */ \"../demo-client/js/node_modules/superagent/lib/is-object.js\");\n\n/**\n * Expose `RequestBase`.\n */\n\nmodule.exports = RequestBase;\n\n/**\n * Initialize a new `RequestBase`.\n *\n * @api public\n */\n\nfunction RequestBase(obj) {\n if (obj) return mixin(obj);\n}\n\n/**\n * Mixin the prototype properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n for (var key in RequestBase.prototype) {\n obj[key] = RequestBase.prototype[key];\n }\n return obj;\n}\n\n/**\n * Clear previous timeout.\n *\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.clearTimeout = function _clearTimeout(){\n clearTimeout(this._timer);\n clearTimeout(this._responseTimeoutTimer);\n delete this._timer;\n delete this._responseTimeoutTimer;\n return this;\n};\n\n/**\n * Override default response body parser\n *\n * This function will be called to convert incoming data into request.body\n *\n * @param {Function}\n * @api public\n */\n\nRequestBase.prototype.parse = function parse(fn){\n this._parser = fn;\n return this;\n};\n\n/**\n * Set format of binary response body.\n * In browser valid formats are 'blob' and 'arraybuffer',\n * which return Blob and ArrayBuffer, respectively.\n *\n * In Node all values result in Buffer.\n *\n * Examples:\n *\n * req.get('/')\n * .responseType('blob')\n * .end(callback);\n *\n * @param {String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.responseType = function(val){\n this._responseType = val;\n return this;\n};\n\n/**\n * Override default request body serializer\n *\n * This function will be called to convert data set via .send or .attach into payload to send\n *\n * @param {Function}\n * @api public\n */\n\nRequestBase.prototype.serialize = function serialize(fn){\n this._serializer = fn;\n return this;\n};\n\n/**\n * Set timeouts.\n *\n * - response timeout is time between sending request and receiving the first byte of the response. Includes DNS and connection time.\n * - deadline is the time from start of the request to receiving response body in full. If the deadline is too short large files may not load at all on slow connections.\n *\n * Value of 0 or false means no timeout.\n *\n * @param {Number|Object} ms or {response, deadline}\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.timeout = function timeout(options){\n if (!options || 'object' !== typeof options) {\n this._timeout = options;\n this._responseTimeout = 0;\n return this;\n }\n\n for(var option in options) {\n switch(option) {\n case 'deadline':\n this._timeout = options.deadline;\n break;\n case 'response':\n this._responseTimeout = options.response;\n break;\n default:\n console.warn(\"Unknown timeout option\", option);\n }\n }\n return this;\n};\n\n/**\n * Set number of retry attempts on error.\n *\n * Failed requests will be retried 'count' times if timeout or err.code >= 500.\n *\n * @param {Number} count\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.retry = function retry(count){\n // Default to 1 if no count passed or true\n if (arguments.length === 0 || count === true) count = 1;\n if (count <= 0) count = 0;\n this._maxRetries = count;\n this._retries = 0;\n return this;\n};\n\n/**\n * Retry request\n *\n * @return {Request} for chaining\n * @api private\n */\n\nRequestBase.prototype._retry = function() {\n this.clearTimeout();\n\n // node\n if (this.req) {\n this.req = null;\n this.req = this.request();\n }\n\n this._aborted = false;\n this.timedout = false;\n\n return this._end();\n};\n\n/**\n * Promise support\n *\n * @param {Function} resolve\n * @param {Function} [reject]\n * @return {Request}\n */\n\nRequestBase.prototype.then = function then(resolve, reject) {\n if (!this._fullfilledPromise) {\n var self = this;\n if (this._endCalled) {\n console.warn(\"Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises\");\n }\n this._fullfilledPromise = new Promise(function(innerResolve, innerReject){\n self.end(function(err, res){\n if (err) innerReject(err); else innerResolve(res);\n });\n });\n }\n return this._fullfilledPromise.then(resolve, reject);\n}\n\nRequestBase.prototype.catch = function(cb) {\n return this.then(undefined, cb);\n};\n\n/**\n * Allow for extension\n */\n\nRequestBase.prototype.use = function use(fn) {\n fn(this);\n return this;\n}\n\nRequestBase.prototype.ok = function(cb) {\n if ('function' !== typeof cb) throw Error(\"Callback required\");\n this._okCallback = cb;\n return this;\n};\n\nRequestBase.prototype._isResponseOK = function(res) {\n if (!res) {\n return false;\n }\n\n if (this._okCallback) {\n return this._okCallback(res);\n }\n\n return res.status >= 200 && res.status < 300;\n};\n\n\n/**\n * Get request header `field`.\n * Case-insensitive.\n *\n * @param {String} field\n * @return {String}\n * @api public\n */\n\nRequestBase.prototype.get = function(field){\n return this._header[field.toLowerCase()];\n};\n\n/**\n * Get case-insensitive header `field` value.\n * This is a deprecated internal API. Use `.get(field)` instead.\n *\n * (getHeader is no longer used internally by the superagent code base)\n *\n * @param {String} field\n * @return {String}\n * @api private\n * @deprecated\n */\n\nRequestBase.prototype.getHeader = RequestBase.prototype.get;\n\n/**\n * Set header `field` to `val`, or multiple fields with one object.\n * Case-insensitive.\n *\n * Examples:\n *\n * req.get('/')\n * .set('Accept', 'application/json')\n * .set('X-API-Key', 'foobar')\n * .end(callback);\n *\n * req.get('/')\n * .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })\n * .end(callback);\n *\n * @param {String|Object} field\n * @param {String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.set = function(field, val){\n if (isObject(field)) {\n for (var key in field) {\n this.set(key, field[key]);\n }\n return this;\n }\n this._header[field.toLowerCase()] = val;\n this.header[field] = val;\n return this;\n};\n\n/**\n * Remove header `field`.\n * Case-insensitive.\n *\n * Example:\n *\n * req.get('/')\n * .unset('User-Agent')\n * .end(callback);\n *\n * @param {String} field\n */\nRequestBase.prototype.unset = function(field){\n delete this._header[field.toLowerCase()];\n delete this.header[field];\n return this;\n};\n\n/**\n * Write the field `name` and `val`, or multiple fields with one object\n * for \"multipart/form-data\" request bodies.\n *\n * ``` js\n * request.post('/upload')\n * .field('foo', 'bar')\n * .end(callback);\n *\n * request.post('/upload')\n * .field({ foo: 'bar', baz: 'qux' })\n * .end(callback);\n * ```\n *\n * @param {String|Object} name\n * @param {String|Blob|File|Buffer|fs.ReadStream} val\n * @return {Request} for chaining\n * @api public\n */\nRequestBase.prototype.field = function(name, val) {\n\n // name should be either a string or an object.\n if (null === name || undefined === name) {\n throw new Error('.field(name, val) name can not be empty');\n }\n\n if (this._data) {\n console.error(\".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()\");\n }\n\n if (isObject(name)) {\n for (var key in name) {\n this.field(key, name[key]);\n }\n return this;\n }\n\n if (Array.isArray(val)) {\n for (var i in val) {\n this.field(name, val[i]);\n }\n return this;\n }\n\n // val should be defined now\n if (null === val || undefined === val) {\n throw new Error('.field(name, val) val can not be empty');\n }\n if ('boolean' === typeof val) {\n val = '' + val;\n }\n this._getFormData().append(name, val);\n return this;\n};\n\n/**\n * Abort the request, and clear potential timeout.\n *\n * @return {Request}\n * @api public\n */\nRequestBase.prototype.abort = function(){\n if (this._aborted) {\n return this;\n }\n this._aborted = true;\n this.xhr && this.xhr.abort(); // browser\n this.req && this.req.abort(); // node\n this.clearTimeout();\n this.emit('abort');\n return this;\n};\n\n/**\n * Enable transmission of cookies with x-domain requests.\n *\n * Note that for this to work the origin must not be\n * using \"Access-Control-Allow-Origin\" with a wildcard,\n * and also must set \"Access-Control-Allow-Credentials\"\n * to \"true\".\n *\n * @api public\n */\n\nRequestBase.prototype.withCredentials = function(on){\n // This is browser-only functionality. Node side is no-op.\n if(on==undefined) on = true;\n this._withCredentials = on;\n return this;\n};\n\n/**\n * Set the max redirects to `n`. Does noting in browser XHR implementation.\n *\n * @param {Number} n\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.redirects = function(n){\n this._maxRedirects = n;\n return this;\n};\n\n/**\n * Maximum size of buffered response body, in bytes. Counts uncompressed size.\n * Default 200MB.\n *\n * @param {Number} n\n * @return {Request} for chaining\n */\nRequestBase.prototype.maxResponseSize = function(n){\n if ('number' !== typeof n) {\n throw TypeError(\"Invalid argument\");\n }\n this._maxResponseSize = n;\n return this;\n};\n\n/**\n * Convert to a plain javascript object (not JSON string) of scalar properties.\n * Note as this method is designed to return a useful non-this value,\n * it cannot be chained.\n *\n * @return {Object} describing method, url, and data of this request\n * @api public\n */\n\nRequestBase.prototype.toJSON = function(){\n return {\n method: this.method,\n url: this.url,\n data: this._data,\n headers: this._header\n };\n};\n\n\n/**\n * Send `data` as the request body, defaulting the `.type()` to \"json\" when\n * an object is given.\n *\n * Examples:\n *\n * // manual json\n * request.post('/user')\n * .type('json')\n * .send('{\"name\":\"tj\"}')\n * .end(callback)\n *\n * // auto json\n * request.post('/user')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // manual x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send('name=tj')\n * .end(callback)\n *\n * // auto x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // defaults to x-www-form-urlencoded\n * request.post('/user')\n * .send('name=tobi')\n * .send('species=ferret')\n * .end(callback)\n *\n * @param {String|Object} data\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.send = function(data){\n var isObj = isObject(data);\n var type = this._header['content-type'];\n\n if (this._formData) {\n console.error(\".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()\");\n }\n\n if (isObj && !this._data) {\n if (Array.isArray(data)) {\n this._data = [];\n } else if (!this._isHost(data)) {\n this._data = {};\n }\n } else if (data && this._data && this._isHost(this._data)) {\n throw Error(\"Can't merge these send calls\");\n }\n\n // merge\n if (isObj && isObject(this._data)) {\n for (var key in data) {\n this._data[key] = data[key];\n }\n } else if ('string' == typeof data) {\n // default to x-www-form-urlencoded\n if (!type) this.type('form');\n type = this._header['content-type'];\n if ('application/x-www-form-urlencoded' == type) {\n this._data = this._data\n ? this._data + '&' + data\n : data;\n } else {\n this._data = (this._data || '') + data;\n }\n } else {\n this._data = data;\n }\n\n if (!isObj || this._isHost(data)) {\n return this;\n }\n\n // default to json\n if (!type) this.type('json');\n return this;\n};\n\n\n/**\n * Sort `querystring` by the sort function\n *\n *\n * Examples:\n *\n * // default order\n * request.get('/user')\n * .query('name=Nick')\n * .query('search=Manny')\n * .sortQuery()\n * .end(callback)\n *\n * // customized sort function\n * request.get('/user')\n * .query('name=Nick')\n * .query('search=Manny')\n * .sortQuery(function(a, b){\n * return a.length - b.length;\n * })\n * .end(callback)\n *\n *\n * @param {Function} sort\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.sortQuery = function(sort) {\n // _sort default to true but otherwise can be a function or boolean\n this._sort = typeof sort === 'undefined' ? true : sort;\n return this;\n};\n\n/**\n * Compose querystring to append to req.url\n *\n * @api private\n */\nRequestBase.prototype._finalizeQueryString = function(){\n var query = this._query.join('&');\n if (query) {\n this.url += (this.url.indexOf('?') >= 0 ? '&' : '?') + query;\n }\n this._query.length = 0; // Makes the call idempotent\n\n if (this._sort) {\n var index = this.url.indexOf('?');\n if (index >= 0) {\n var queryArr = this.url.substring(index + 1).split('&');\n if ('function' === typeof this._sort) {\n queryArr.sort(this._sort);\n } else {\n queryArr.sort();\n }\n this.url = this.url.substring(0, index) + '?' + queryArr.join('&');\n }\n }\n};\n\n// For backwards compat only\nRequestBase.prototype._appendQueryString = function() {console.trace(\"Unsupported\");}\n\n/**\n * Invoke callback with timeout error.\n *\n * @api private\n */\n\nRequestBase.prototype._timeoutError = function(reason, timeout, errno){\n if (this._aborted) {\n return;\n }\n var err = new Error(reason + timeout + 'ms exceeded');\n err.timeout = timeout;\n err.code = 'ECONNABORTED';\n err.errno = errno;\n this.timedout = true;\n this.abort();\n this.callback(err);\n};\n\nRequestBase.prototype._setTimeouts = function() {\n var self = this;\n\n // deadline\n if (this._timeout && !this._timer) {\n this._timer = setTimeout(function(){\n self._timeoutError('Timeout of ', self._timeout, 'ETIME');\n }, this._timeout);\n }\n // response timeout\n if (this._responseTimeout && !this._responseTimeoutTimer) {\n this._responseTimeoutTimer = setTimeout(function(){\n self._timeoutError('Response timeout of ', self._responseTimeout, 'ETIMEDOUT');\n }, this._responseTimeout);\n }\n}\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/request-base.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/response-base.js":
/*!**********************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/response-base.js ***!
\**********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Module dependencies.\n */\n\nvar utils = __webpack_require__(/*! ./utils */ \"../demo-client/js/node_modules/superagent/lib/utils.js\");\n\n/**\n * Expose `ResponseBase`.\n */\n\nmodule.exports = ResponseBase;\n\n/**\n * Initialize a new `ResponseBase`.\n *\n * @api public\n */\n\nfunction ResponseBase(obj) {\n if (obj) return mixin(obj);\n}\n\n/**\n * Mixin the prototype properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n for (var key in ResponseBase.prototype) {\n obj[key] = ResponseBase.prototype[key];\n }\n return obj;\n}\n\n/**\n * Get case-insensitive `field` value.\n *\n * @param {String} field\n * @return {String}\n * @api public\n */\n\nResponseBase.prototype.get = function(field){\n return this.header[field.toLowerCase()];\n};\n\n/**\n * Set header related properties:\n *\n * - `.type` the content type without params\n *\n * A response of \"Content-Type: text/plain; charset=utf-8\"\n * will provide you with a `.type` of \"text/plain\".\n *\n * @param {Object} header\n * @api private\n */\n\nResponseBase.prototype._setHeaderProperties = function(header){\n // TODO: moar!\n // TODO: make this a util\n\n // content-type\n var ct = header['content-type'] || '';\n this.type = utils.type(ct);\n\n // params\n var params = utils.params(ct);\n for (var key in params) this[key] = params[key];\n\n this.links = {};\n\n // links\n try {\n if (header.link) {\n this.links = utils.parseLinks(header.link);\n }\n } catch (err) {\n // ignore\n }\n};\n\n/**\n * Set flags such as `.ok` based on `status`.\n *\n * For example a 2xx response will give you a `.ok` of __true__\n * whereas 5xx will be __false__ and `.error` will be __true__. The\n * `.clientError` and `.serverError` are also available to be more\n * specific, and `.statusType` is the class of error ranging from 1..5\n * sometimes useful for mapping respond colors etc.\n *\n * \"sugar\" properties are also defined for common cases. Currently providing:\n *\n * - .noContent\n * - .badRequest\n * - .unauthorized\n * - .notAcceptable\n * - .notFound\n *\n * @param {Number} status\n * @api private\n */\n\nResponseBase.prototype._setStatusProperties = function(status){\n var type = status / 100 | 0;\n\n // status / class\n this.status = this.statusCode = status;\n this.statusType = type;\n\n // basics\n this.info = 1 == type;\n this.ok = 2 == type;\n this.redirect = 3 == type;\n this.clientError = 4 == type;\n this.serverError = 5 == type;\n this.error = (4 == type || 5 == type)\n ? this.toError()\n : false;\n\n // sugar\n this.accepted = 202 == status;\n this.noContent = 204 == status;\n this.badRequest = 400 == status;\n this.unauthorized = 401 == status;\n this.notAcceptable = 406 == status;\n this.forbidden = 403 == status;\n this.notFound = 404 == status;\n};\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/response-base.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/should-retry.js":
/*!*********************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/should-retry.js ***!
\*********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar ERROR_CODES = [\n 'ECONNRESET',\n 'ETIMEDOUT',\n 'EADDRINFO',\n 'ESOCKETTIMEDOUT'\n];\n\n/**\n * Determine if a request should be retried.\n * (Borrowed from segmentio/superagent-retry)\n *\n * @param {Error} err\n * @param {Response} [res]\n * @returns {Boolean}\n */\nmodule.exports = function shouldRetry(err, res) {\n if (err && err.code && ~ERROR_CODES.indexOf(err.code)) return true;\n if (res && res.status && res.status >= 500) return true;\n // Superagent timeout\n if (err && 'timeout' in err && err.code == 'ECONNABORTED') return true;\n if (err && 'crossDomain' in err) return true;\n return false;\n};\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/should-retry.js?");
/***/ }),
/***/ "../demo-client/js/node_modules/superagent/lib/utils.js":
/*!**************************************************************!*\
!*** ../demo-client/js/node_modules/superagent/lib/utils.js ***!
\**************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Return the mime type for the given `str`.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nexports.type = function(str){\n return str.split(/ *; */).shift();\n};\n\n/**\n * Return header field parameters.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nexports.params = function(str){\n return str.split(/ *; */).reduce(function(obj, str){\n var parts = str.split(/ *= */);\n var key = parts.shift();\n var val = parts.shift();\n\n if (key && val) obj[key] = val;\n return obj;\n }, {});\n};\n\n/**\n * Parse Link header fields.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nexports.parseLinks = function(str){\n return str.split(/ *, */).reduce(function(obj, str){\n var parts = str.split(/ *; */);\n var url = parts[0].slice(1, -1);\n var rel = parts[1].split(/ *= */)[1].slice(1, -1);\n obj[rel] = url;\n return obj;\n }, {});\n};\n\n/**\n * Strip content related fields from `header`.\n *\n * @param {Object} header\n * @return {Object} header\n * @api private\n */\n\nexports.cleanHeader = function(header, shouldStripCookie){\n delete header['content-type'];\n delete header['content-length'];\n delete header['transfer-encoding'];\n delete header['host'];\n if (shouldStripCookie) {\n delete header['cookie'];\n }\n return header;\n};\n\n\n//# sourceURL=webpack:///../demo-client/js/node_modules/superagent/lib/utils.js?");
/***/ }),
/***/ "../demo-client/js/src/ApiClient.js":
/*!******************************************!*\
!*** ../demo-client/js/src/ApiClient.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/* WEBPACK VAR INJECTION */(function(Buffer) {/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['superagent', 'querystring'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! superagent */ \"../demo-client/js/node_modules/superagent/lib/client.js\"), __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.ApiClient = factory(root.superagent, root.querystring);\n }\n})(this, function (superagent, querystring) {\n 'use strict';\n\n /**\n * @module ApiClient\n * @version 0.0.1\n */\n\n /**\n * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an\n * application to use this class directly - the *Api and model classes provide the public API for the service. The\n * contents of this file should be regarded as internal but are documented for completeness.\n * @alias module:ApiClient\n * @class\n */\n\n var exports = function () {\n /**\n * The base URL against which to resolve every API call's (relative) path.\n * @type {String}\n * @default http://127.0.0.1:8086/v1\n */\n this.basePath = 'http://127.0.0.1:8086/v1'.replace(/\\/+$/, '');\n\n /**\n * The authentication methods to be included for all API calls.\n * @type {Array. \n * An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:\n * param.\n */\n exports.prototype.paramToString = function (param) {\n if (param == undefined || param == null) {\n return '';\n }\n if (param instanceof Date) {\n return param.toJSON();\n }\n return param.toString();\n };\n\n /**\n * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.\n * NOTE: query parameters are not handled here.\n * @param {String} path The path to append to the base URL.\n * @param {Object} pathParams The parameter values to append.\n * @returns {String} The encoded path with parameter values substituted.\n */\n exports.prototype.buildUrl = function (path, pathParams) {\n if (!path.match(/^\\//)) {\n path = '/' + path;\n }\n var url = this.basePath + path;\n var _this = this;\n url = url.replace(/\\{([\\w-]+)\\}/g, function (fullMatch, key) {\n var value;\n if (pathParams.hasOwnProperty(key)) {\n value = _this.paramToString(pathParams[key]);\n } else {\n value = fullMatch;\n }\n return encodeURIComponent(value);\n });\n return url;\n };\n\n /**\n * Checks whether the given content type represents JSON.
\n * JSON content type examples:
\n * \n *
\n * @param {String} contentType The MIME content type to check.\n * @returns {Boolean} true if contentType represents JSON, otherwise false.\n */\n exports.prototype.isJsonMime = function (contentType) {\n return Boolean(contentType != null && contentType.match(/^application\\/json(;.*)?$/i));\n };\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n * @param {Array.true if param represents a file.\n */\n exports.prototype.isFileParam = function (param) {\n // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)\n if (true) {\n var fs;\n try {\n fs = __webpack_require__(/*! fs */ 1);\n } catch (err) {}\n if (fs && fs.ReadStream && param instanceof fs.ReadStream) {\n return true;\n }\n }\n // Buffer in Node.js\n if (typeof Buffer === 'function' && param instanceof Buffer) {\n return true;\n }\n // Blob in browser\n if (typeof Blob === 'function' && param instanceof Blob) {\n return true;\n }\n // File in browser (it seems File object is also instance of Blob, but keep this for safe)\n if (typeof File === 'function' && param instanceof File) {\n return true;\n }\n return false;\n };\n\n /**\n * Normalizes parameter values:\n * \n *
\n * @param {Object.csv\n * @const\n */\n CSV: ',',\n /**\n * Space-separated values. Value: ssv\n * @const\n */\n SSV: ' ',\n /**\n * Tab-separated values. Value: tsv\n * @const\n */\n TSV: '\\t',\n /**\n * Pipe(|)-separated values. Value: pipes\n * @const\n */\n PIPES: '|',\n /**\n * Native array. Value: multi\n * @const\n */\n MULTI: 'multi'\n };\n\n /**\n * Builds a string representation of an array-type actual parameter, according to the given collection format.\n * @param {Array} param An array parameter.\n * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.\n * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns\n * param as is if collectionFormat is multi.\n */\n exports.prototype.buildCollectionParam = function buildCollectionParam(param, collectionFormat) {\n if (param == null) {\n return null;\n }\n switch (collectionFormat) {\n case 'csv':\n return param.map(this.paramToString).join(',');\n case 'ssv':\n return param.map(this.paramToString).join(' ');\n case 'tsv':\n return param.map(this.paramToString).join('\\t');\n case 'pipes':\n return param.map(this.paramToString).join('|');\n case 'multi':\n // return the array directly as SuperAgent will handle it as expected\n return param.map(this.paramToString);\n default:\n throw new Error('Unknown collection format: ' + collectionFormat);\n }\n };\n\n /**\n * Applies authentication headers to the request.\n * @param {Object} request The request object created by a superagent() call.\n * @param {Array.data will be converted to this type.\n * @returns A value of the specified type.\n */\n exports.prototype.deserialize = function deserialize(response, returnType) {\n if (response == null || returnType == null || response.status == 204) {\n return null;\n }\n // Rely on SuperAgent for parsing response body.\n // See http://visionmedia.github.io/superagent/#parsing-response-bodies\n var data = response.body;\n if (data == null || typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {\n // SuperAgent does not always produce a body; use the unparsed response as a fallback\n data = response.text;\n }\n return exports.convertToType(data, returnType);\n };\n\n /**\n * Callback function to receive the result of the operation.\n * @callback module:ApiClient~callApiCallback\n * @param {String} error Error message, if any.\n * @param data The data returned by the service call.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Invokes the REST service using the supplied settings and parameters.\n * @param {String} path The base URL to invoke.\n * @param {String} httpMethod The HTTP method to use.\n * @param {Object.data will be converted to this type.\n * @returns An instance of the specified type or null or undefined if data is null or undefined.\n */\n exports.convertToType = function (data, type) {\n if (data === null || data === undefined) return data;\n\n switch (type) {\n case 'Boolean':\n return Boolean(data);\n case 'Integer':\n return parseInt(data, 10);\n case 'Number':\n return parseFloat(data);\n case 'String':\n return String(data);\n case 'Date':\n return this.parseDate(String(data));\n case 'Blob':\n return data;\n default:\n if (type === Object) {\n // generic object, return directly\n return data;\n } else if (typeof type === 'function') {\n // for model type like: User\n return type.constructFromObject(data);\n } else if (Array.isArray(type)) {\n // for array type like: ['String']\n var itemType = type[0];\n return data.map(function (item) {\n return exports.convertToType(item, itemType);\n });\n } else if (typeof type === 'object') {\n // for plain object type like: {'String': 'Integer'}\n var keyType, valueType;\n for (var k in type) {\n if (type.hasOwnProperty(k)) {\n keyType = k;\n valueType = type[k];\n break;\n }\n }\n var result = {};\n for (var k in data) {\n if (data.hasOwnProperty(k)) {\n var key = exports.convertToType(k, keyType);\n var value = exports.convertToType(data[k], valueType);\n result[key] = value;\n }\n }\n return result;\n } else {\n // for unknown type, return the data directly\n return data;\n }\n }\n };\n\n /**\n * Constructs a new map or array model from REST data.\n * @param data {Object|Array} The REST data.\n * @param obj {Object|Array} The target object or array.\n */\n exports.constructFromObject = function (data, obj, itemType) {\n if (Array.isArray(data)) {\n for (var i = 0; i < data.length; i++) {\n if (data.hasOwnProperty(i)) obj[i] = exports.convertToType(data[i], itemType);\n }\n } else {\n for (var k in data) {\n if (data.hasOwnProperty(k)) obj[k] = exports.convertToType(data[k], itemType);\n }\n }\n };\n\n /**\n * The default API client implementation.\n * @type {module:ApiClient}\n */\n exports.instance = new exports();\n\n return exports;\n});\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../demo-frontend/node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///../demo-client/js/src/ApiClient.js?");
/***/ }),
/***/ "../demo-client/js/src/api/EdgeAppInfoApi.js":
/*!***************************************************!*\
!*** ../demo-client/js/src/api/EdgeAppInfoApi.js ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/EdgeInfo'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"), __webpack_require__(/*! ../model/EdgeInfo */ \"../demo-client/js/src/model/EdgeInfo.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.EdgeAppInfoApi = factory(root.MeepDemoAppApi.ApiClient, root.MeepDemoAppApi.EdgeInfo);\n }\n})(this, function (ApiClient, EdgeInfo) {\n 'use strict';\n\n /**\n * EdgeAppInfo service.\n * @module api/EdgeAppInfoApi\n * @version 0.0.1\n */\n\n /**\n * Constructs a new EdgeAppInfoApi. \n * @alias module:api/EdgeAppInfoApi\n * @class\n * @param {module:ApiClient} [apiClient] Optional API client implementation to use,\n * default to {@link module:ApiClient#instance} if unspecified.\n */\n\n var exports = function (apiClient) {\n this.apiClient = apiClient || ApiClient.instance;\n\n /**\n * Callback function to receive the result of the getEdgeInfo operation.\n * @callback module:api/EdgeAppInfoApi~getEdgeInfoCallback\n * @param {String} error Error message, if any.\n * @param {module:model/EdgeInfo} data The data returned by the service call.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Retrieve edge add infoo\n * \n * @param {module:api/EdgeAppInfoApi~getEdgeInfoCallback} callback The callback function, accepting three arguments: error, data, response\n * data is of type: {@link module:model/EdgeInfo}\n */\n this.getEdgeInfo = function (callback) {\n var postBody = null;\n\n var pathParams = {};\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = EdgeInfo;\n\n return this.apiClient.callApi('/edge-app', 'GET', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/api/EdgeAppInfoApi.js?");
/***/ }),
/***/ "../demo-client/js/src/api/StateTransferApi.js":
/*!*****************************************************!*\
!*** ../demo-client/js/src/api/StateTransferApi.js ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/MobilityGroupEvent'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"), __webpack_require__(/*! ../model/MobilityGroupEvent */ \"../demo-client/js/src/model/MobilityGroupEvent.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.StateTransferApi = factory(root.MeepDemoAppApi.ApiClient, root.MeepDemoAppApi.MobilityGroupEvent);\n }\n})(this, function (ApiClient, MobilityGroupEvent) {\n 'use strict';\n\n /**\n * StateTransfer service.\n * @module api/StateTransferApi\n * @version 0.0.1\n */\n\n /**\n * Constructs a new StateTransferApi. \n * @alias module:api/StateTransferApi\n * @class\n * @param {module:ApiClient} [apiClient] Optional API client implementation to use,\n * default to {@link module:ApiClient#instance} if unspecified.\n */\n\n var exports = function (apiClient) {\n this.apiClient = apiClient || ApiClient.instance;\n\n /**\n * Callback function to receive the result of the handleEvent operation.\n * @callback module:api/StateTransferApi~handleEventCallback\n * @param {String} error Error message, if any.\n * @param data This operation does not return a value.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Send event notification to registered Mobility Group Application\n * \n * @param {module:model/MobilityGroupEvent} event Mobility Group event notification\n * @param {module:api/StateTransferApi~handleEventCallback} callback The callback function, accepting three arguments: error, data, response\n */\n this.handleEvent = function (event, callback) {\n var postBody = event;\n\n // verify the required parameter 'event' is set\n if (event === undefined || event === null) {\n throw new Error(\"Missing the required parameter 'event' when calling handleEvent\");\n }\n\n var pathParams = {};\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = null;\n\n return this.apiClient.callApi('/mg/event', 'POST', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/api/StateTransferApi.js?");
/***/ }),
/***/ "../demo-client/js/src/api/UEStateApi.js":
/*!***********************************************!*\
!*** ../demo-client/js/src/api/UEStateApi.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/UeState'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"), __webpack_require__(/*! ../model/UeState */ \"../demo-client/js/src/model/UeState.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.UEStateApi = factory(root.MeepDemoAppApi.ApiClient, root.MeepDemoAppApi.UeState);\n }\n})(this, function (ApiClient, UeState) {\n 'use strict';\n\n /**\n * UEState service.\n * @module api/UEStateApi\n * @version 0.0.1\n */\n\n /**\n * Constructs a new UEStateApi. \n * @alias module:api/UEStateApi\n * @class\n * @param {module:ApiClient} [apiClient] Optional API client implementation to use,\n * default to {@link module:ApiClient#instance} if unspecified.\n */\n\n var exports = function (apiClient) {\n this.apiClient = apiClient || ApiClient.instance;\n\n /**\n * Callback function to receive the result of the createUeState operation.\n * @callback module:api/UEStateApi~createUeStateCallback\n * @param {String} error Error message, if any.\n * @param data This operation does not return a value.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Registers the UE and starts a counter\n * \n * @param {String} ueId UE identifier\n * @param {module:api/UEStateApi~createUeStateCallback} callback The callback function, accepting three arguments: error, data, response\n */\n this.createUeState = function (ueId, callback) {\n var postBody = null;\n\n // verify the required parameter 'ueId' is set\n if (ueId === undefined || ueId === null) {\n throw new Error(\"Missing the required parameter 'ueId' when calling createUeState\");\n }\n\n var pathParams = {\n 'ueId': ueId\n };\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = null;\n\n return this.apiClient.callApi('/ue/{ueId}', 'POST', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n\n /**\n * Callback function to receive the result of the deleteUe operation.\n * @callback module:api/UEStateApi~deleteUeCallback\n * @param {String} error Error message, if any.\n * @param data This operation does not return a value.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Deregistration of a UE\n * \n * @param {String} ueId UE identifier\n * @param {module:api/UEStateApi~deleteUeCallback} callback The callback function, accepting three arguments: error, data, response\n */\n this.deleteUe = function (ueId, callback) {\n var postBody = null;\n\n // verify the required parameter 'ueId' is set\n if (ueId === undefined || ueId === null) {\n throw new Error(\"Missing the required parameter 'ueId' when calling deleteUe\");\n }\n\n var pathParams = {\n 'ueId': ueId\n };\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = null;\n\n return this.apiClient.callApi('/ue/{ueId}', 'DELETE', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n\n /**\n * Callback function to receive the result of the getUeState operation.\n * @callback module:api/UEStateApi~getUeStateCallback\n * @param {String} error Error message, if any.\n * @param {module:model/UeState} data The data returned by the service call.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Retrieves the UE state values\n * \n * @param {String} ueId UE identifier\n * @param {module:api/UEStateApi~getUeStateCallback} callback The callback function, accepting three arguments: error, data, response\n * data is of type: {@link module:model/UeState}\n */\n this.getUeState = function (ueId, callback) {\n var postBody = null;\n\n // verify the required parameter 'ueId' is set\n if (ueId === undefined || ueId === null) {\n throw new Error(\"Missing the required parameter 'ueId' when calling getUeState\");\n }\n\n var pathParams = {\n 'ueId': ueId\n };\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = UeState;\n\n return this.apiClient.callApi('/ue/{ueId}', 'GET', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n\n /**\n * Callback function to receive the result of the updateUeState operation.\n * @callback module:api/UEStateApi~updateUeStateCallback\n * @param {String} error Error message, if any.\n * @param data This operation does not return a value.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Updates the UE states values\n * \n * @param {String} ueId UE identifier\n * @param {module:model/UeState} ueState Ue state basic information\n * @param {module:api/UEStateApi~updateUeStateCallback} callback The callback function, accepting three arguments: error, data, response\n */\n this.updateUeState = function (ueId, ueState, callback) {\n var postBody = ueState;\n\n // verify the required parameter 'ueId' is set\n if (ueId === undefined || ueId === null) {\n throw new Error(\"Missing the required parameter 'ueId' when calling updateUeState\");\n }\n\n // verify the required parameter 'ueState' is set\n if (ueState === undefined || ueState === null) {\n throw new Error(\"Missing the required parameter 'ueState' when calling updateUeState\");\n }\n\n var pathParams = {\n 'ueId': ueId\n };\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = null;\n\n return this.apiClient.callApi('/ue/{ueId}', 'PUT', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/api/UEStateApi.js?");
/***/ }),
/***/ "../demo-client/js/src/index.js":
/*!**************************************!*\
!*** ../demo-client/js/src/index.js ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/EdgeInfo', 'model/MobilityGroupAppState', 'model/MobilityGroupEvent', 'model/UeState', 'api/EdgeAppInfoApi', 'api/StateTransferApi', 'api/UEStateApi'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ./ApiClient */ \"../demo-client/js/src/ApiClient.js\"), __webpack_require__(/*! ./model/EdgeInfo */ \"../demo-client/js/src/model/EdgeInfo.js\"), __webpack_require__(/*! ./model/MobilityGroupAppState */ \"../demo-client/js/src/model/MobilityGroupAppState.js\"), __webpack_require__(/*! ./model/MobilityGroupEvent */ \"../demo-client/js/src/model/MobilityGroupEvent.js\"), __webpack_require__(/*! ./model/UeState */ \"../demo-client/js/src/model/UeState.js\"), __webpack_require__(/*! ./api/EdgeAppInfoApi */ \"../demo-client/js/src/api/EdgeAppInfoApi.js\"), __webpack_require__(/*! ./api/StateTransferApi */ \"../demo-client/js/src/api/StateTransferApi.js\"), __webpack_require__(/*! ./api/UEStateApi */ \"../demo-client/js/src/api/UEStateApi.js\"));\n }\n})(function (ApiClient, EdgeInfo, MobilityGroupAppState, MobilityGroupEvent, UeState, EdgeAppInfoApi, StateTransferApi, UEStateApi) {\n 'use strict';\n\n /**\n * This_is_the_MEEP_Demo_App_API.
\n * The index module provides access to constructors for all the classes which comprise the public API.\n * \n * var MeepDemoAppApi = require('index'); // See note below*.\n * var xxxSvc = new MeepDemoAppApi.XxxApi(); // Allocate the API class we're going to use.\n * var yyyModel = new MeepDemoAppApi.Yyy(); // Construct a model instance.\n * yyyModel.someProperty = 'someValue';\n * ...\n * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.\n * ...\n * \n * *NOTE: For a top-level AMD script, use require(['index'], function(){...})\n * and put the application logic within the callback function.\n *
\n * A non-AMD browser application (discouraged) might do something like this:\n *
\n * var xxxSvc = new MeepDemoAppApi.XxxApi(); // Allocate the API class we're going to use.\n * var yyy = new MeepDemoAppApi.Yyy(); // Construct a model instance.\n * yyyModel.someProperty = 'someValue';\n * ...\n * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.\n * ...\n *\n * \n * @module index\n * @version 0.0.1\n */\n\n var exports = {\n /**\n * The ApiClient constructor.\n * @property {module:ApiClient}\n */\n ApiClient: ApiClient,\n /**\n * The EdgeInfo model constructor.\n * @property {module:model/EdgeInfo}\n */\n EdgeInfo: EdgeInfo,\n /**\n * The MobilityGroupAppState model constructor.\n * @property {module:model/MobilityGroupAppState}\n */\n MobilityGroupAppState: MobilityGroupAppState,\n /**\n * The MobilityGroupEvent model constructor.\n * @property {module:model/MobilityGroupEvent}\n */\n MobilityGroupEvent: MobilityGroupEvent,\n /**\n * The UeState model constructor.\n * @property {module:model/UeState}\n */\n UeState: UeState,\n /**\n * The EdgeAppInfoApi service constructor.\n * @property {module:api/EdgeAppInfoApi}\n */\n EdgeAppInfoApi: EdgeAppInfoApi,\n /**\n * The StateTransferApi service constructor.\n * @property {module:api/StateTransferApi}\n */\n StateTransferApi: StateTransferApi,\n /**\n * The UEStateApi service constructor.\n * @property {module:api/UEStateApi}\n */\n UEStateApi: UEStateApi\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/index.js?"); /***/ }), /***/ "../demo-client/js/src/model/EdgeInfo.js": /*!***********************************************!*\ !*** ../demo-client/js/src/model/EdgeInfo.js ***! \***********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.EdgeInfo = factory(root.MeepDemoAppApi.ApiClient);\n }\n})(this, function (ApiClient) {\n 'use strict';\n\n /**\n * The EdgeInfo model module.\n * @module model/EdgeInfo\n * @version 0.0.1\n */\n\n /**\n * Constructs a new
EdgeInfo.\n * Edge app basic information object\n * @alias module:model/EdgeInfo\n * @class\n */\n\n var exports = function () {\n var _this = this;\n };\n\n /**\n * Constructs a EdgeInfo from a plain JavaScript object, optionally creating a new instance.\n * Copies all relevant properties from data to obj if supplied or a new instance if not.\n * @param {Object} data The plain JavaScript object bearing properties of interest.\n * @param {module:model/EdgeInfo} obj Optional instance to populate.\n * @return {module:model/EdgeInfo} The populated EdgeInfo instance.\n */\n exports.constructFromObject = function (data, obj) {\n if (data) {\n obj = obj || new exports();\n\n if (data.hasOwnProperty('svc')) {\n obj['svc'] = ApiClient.convertToType(data['svc'], 'String');\n }\n if (data.hasOwnProperty('name')) {\n obj['name'] = ApiClient.convertToType(data['name'], 'String');\n }\n if (data.hasOwnProperty('ip')) {\n obj['ip'] = ApiClient.convertToType(data['ip'], 'String');\n }\n }\n return obj;\n };\n\n /**\n * Edge app service\n * @member {String} svc\n */\n exports.prototype['svc'] = undefined;\n /**\n * Edge app local name\n * @member {String} name\n */\n exports.prototype['name'] = undefined;\n /**\n * IP address where the local edge app reside\n * @member {String} ip\n */\n exports.prototype['ip'] = undefined;\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/model/EdgeInfo.js?");
/***/ }),
/***/ "../demo-client/js/src/model/MobilityGroupAppState.js":
/*!************************************************************!*\
!*** ../demo-client/js/src/model/MobilityGroupAppState.js ***!
\************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.MobilityGroupAppState = factory(root.MeepDemoAppApi.ApiClient);\n }\n})(this, function (ApiClient) {\n 'use strict';\n\n /**\n * The MobilityGroupAppState model module.\n * @module model/MobilityGroupAppState\n * @version 0.0.1\n */\n\n /**\n * Constructs a new MobilityGroupAppState.\n * Mobility Group Application State\n * @alias module:model/MobilityGroupAppState\n * @class\n */\n\n var exports = function () {\n var _this = this;\n };\n\n /**\n * Constructs a MobilityGroupAppState from a plain JavaScript object, optionally creating a new instance.\n * Copies all relevant properties from data to obj if supplied or a new instance if not.\n * @param {Object} data The plain JavaScript object bearing properties of interest.\n * @param {module:model/MobilityGroupAppState} obj Optional instance to populate.\n * @return {module:model/MobilityGroupAppState} The populated MobilityGroupAppState instance.\n */\n exports.constructFromObject = function (data, obj) {\n if (data) {\n obj = obj || new exports();\n\n if (data.hasOwnProperty('ueId')) {\n obj['ueId'] = ApiClient.convertToType(data['ueId'], 'String');\n }\n if (data.hasOwnProperty('ueState')) {\n obj['ueState'] = ApiClient.convertToType(data['ueState'], 'String');\n }\n }\n return obj;\n };\n\n /**\n * Mobility Group UE Identifier\n * @member {String} ueId\n */\n exports.prototype['ueId'] = undefined;\n /**\n * Mobility Group Application State for provided UE\n * @member {String} ueState\n */\n exports.prototype['ueState'] = undefined;\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/model/MobilityGroupAppState.js?");
/***/ }),
/***/ "../demo-client/js/src/model/MobilityGroupEvent.js":
/*!*********************************************************!*\
!*** ../demo-client/js/src/model/MobilityGroupEvent.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/MobilityGroupAppState'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"), __webpack_require__(/*! ./MobilityGroupAppState */ \"../demo-client/js/src/model/MobilityGroupAppState.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.MobilityGroupEvent = factory(root.MeepDemoAppApi.ApiClient, root.MeepDemoAppApi.MobilityGroupAppState);\n }\n})(this, function (ApiClient, MobilityGroupAppState) {\n 'use strict';\n\n /**\n * The MobilityGroupEvent model module.\n * @module model/MobilityGroupEvent\n * @version 0.0.1\n */\n\n /**\n * Constructs a new MobilityGroupEvent.\n * Event object\n * @alias module:model/MobilityGroupEvent\n * @class\n */\n\n var exports = function () {\n var _this = this;\n };\n\n /**\n * Constructs a MobilityGroupEvent from a plain JavaScript object, optionally creating a new instance.\n * Copies all relevant properties from data to obj if supplied or a new instance if not.\n * @param {Object} data The plain JavaScript object bearing properties of interest.\n * @param {module:model/MobilityGroupEvent} obj Optional instance to populate.\n * @return {module:model/MobilityGroupEvent} The populated MobilityGroupEvent instance.\n */\n exports.constructFromObject = function (data, obj) {\n if (data) {\n obj = obj || new exports();\n\n if (data.hasOwnProperty('name')) {\n obj['name'] = ApiClient.convertToType(data['name'], 'String');\n }\n if (data.hasOwnProperty('type')) {\n obj['type'] = ApiClient.convertToType(data['type'], 'String');\n }\n if (data.hasOwnProperty('ueId')) {\n obj['ueId'] = ApiClient.convertToType(data['ueId'], 'String');\n }\n if (data.hasOwnProperty('appState')) {\n obj['appState'] = MobilityGroupAppState.constructFromObject(data['appState']);\n }\n }\n return obj;\n };\n\n /**\n * Mobility Group event name\n * @member {String} name\n */\n exports.prototype['name'] = undefined;\n /**\n * Mobility Group event type\n * @member {module:model/MobilityGroupEvent.TypeEnum} type\n */\n exports.prototype['type'] = undefined;\n /**\n * Mobility Group UE identifier\n * @member {String} ueId\n */\n exports.prototype['ueId'] = undefined;\n /**\n * @member {module:model/MobilityGroupAppState} appState\n */\n exports.prototype['appState'] = undefined;\n\n /**\n * Allowed values for the type property.\n * @enum {String}\n * @readonly\n */\n exports.TypeEnum = {\n /**\n * value: \"STATE-UPDATE\"\n * @const\n */\n \"UPDATE\": \"STATE-UPDATE\",\n /**\n * value: \"STATE-TRANSFER-START\"\n * @const\n */\n \"TRANSFER-START\": \"STATE-TRANSFER-START\",\n /**\n * value: \"STATE-TRANSFER-COMPLETE\"\n * @const\n */\n \"TRANSFER-COMPLETE\": \"STATE-TRANSFER-COMPLETE\",\n /**\n * value: \"STATE-TRANSFER-CANCEL\"\n * @const\n */\n \"TRANSFER-CANCEL\": \"STATE-TRANSFER-CANCEL\" };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/model/MobilityGroupEvent.js?");
/***/ }),
/***/ "../demo-client/js/src/model/UeState.js":
/*!**********************************************!*\
!*** ../demo-client/js/src/model/UeState.js ***!
\**********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * MEEP Demo App API\n * This is the MEEP Demo App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../demo-client/js/src/ApiClient.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.MeepDemoAppApi) {\n root.MeepDemoAppApi = {};\n }\n root.MeepDemoAppApi.UeState = factory(root.MeepDemoAppApi.ApiClient);\n }\n})(this, function (ApiClient) {\n 'use strict';\n\n /**\n * The UeState model module.\n * @module model/UeState\n * @version 0.0.1\n */\n\n /**\n * Constructs a new UeState.\n * Ue state basic information object\n * @alias module:model/UeState\n * @class\n */\n\n var exports = function () {\n var _this = this;\n };\n\n /**\n * Constructs a UeState from a plain JavaScript object, optionally creating a new instance.\n * Copies all relevant properties from data to obj if supplied or a new instance if not.\n * @param {Object} data The plain JavaScript object bearing properties of interest.\n * @param {module:model/UeState} obj Optional instance to populate.\n * @return {module:model/UeState} The populated UeState instance.\n */\n exports.constructFromObject = function (data, obj) {\n if (data) {\n obj = obj || new exports();\n\n if (data.hasOwnProperty('duration')) {\n obj['duration'] = ApiClient.convertToType(data['duration'], 'Number');\n }\n if (data.hasOwnProperty('trafficBw')) {\n obj['trafficBw'] = ApiClient.convertToType(data['trafficBw'], 'Number');\n }\n }\n return obj;\n };\n\n /**\n * Duration since the game stated\n * @member {Number} duration\n */\n exports.prototype['duration'] = undefined;\n /**\n * Traffic info for the registered Ue\n * @member {Number} trafficBw\n */\n exports.prototype['trafficBw'] = undefined;\n\n return exports;\n});\n\n//# sourceURL=webpack:///../demo-client/js/src/model/UeState.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/component-emitter/index.js":
/*!************************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/component-emitter/index.js ***!
\************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("\r\n/**\r\n * Expose `Emitter`.\r\n */\r\n\r\nif (true) {\r\n module.exports = Emitter;\r\n}\r\n\r\n/**\r\n * Initialize a new `Emitter`.\r\n *\r\n * @api public\r\n */\r\n\r\nfunction Emitter(obj) {\r\n if (obj) return mixin(obj);\r\n};\r\n\r\n/**\r\n * Mixin the emitter properties.\r\n *\r\n * @param {Object} obj\r\n * @return {Object}\r\n * @api private\r\n */\r\n\r\nfunction mixin(obj) {\r\n for (var key in Emitter.prototype) {\r\n obj[key] = Emitter.prototype[key];\r\n }\r\n return obj;\r\n}\r\n\r\n/**\r\n * Listen on the given `event` with `fn`.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.on =\r\nEmitter.prototype.addEventListener = function(event, fn){\r\n this._callbacks = this._callbacks || {};\r\n (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\r\n .push(fn);\r\n return this;\r\n};\r\n\r\n/**\r\n * Adds an `event` listener that will be invoked a single\r\n * time then automatically removed.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.once = function(event, fn){\r\n function on() {\r\n this.off(event, on);\r\n fn.apply(this, arguments);\r\n }\r\n\r\n on.fn = fn;\r\n this.on(event, on);\r\n return this;\r\n};\r\n\r\n/**\r\n * Remove the given callback for `event` or all\r\n * registered callbacks.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.off =\r\nEmitter.prototype.removeListener =\r\nEmitter.prototype.removeAllListeners =\r\nEmitter.prototype.removeEventListener = function(event, fn){\r\n this._callbacks = this._callbacks || {};\r\n\r\n // all\r\n if (0 == arguments.length) {\r\n this._callbacks = {};\r\n return this;\r\n }\r\n\r\n // specific event\r\n var callbacks = this._callbacks['$' + event];\r\n if (!callbacks) return this;\r\n\r\n // remove all handlers\r\n if (1 == arguments.length) {\r\n delete this._callbacks['$' + event];\r\n return this;\r\n }\r\n\r\n // remove specific handler\r\n var cb;\r\n for (var i = 0; i < callbacks.length; i++) {\r\n cb = callbacks[i];\r\n if (cb === fn || cb.fn === fn) {\r\n callbacks.splice(i, 1);\r\n break;\r\n }\r\n }\r\n return this;\r\n};\r\n\r\n/**\r\n * Emit `event` with the given args.\r\n *\r\n * @param {String} event\r\n * @param {Mixed} ...\r\n * @return {Emitter}\r\n */\r\n\r\nEmitter.prototype.emit = function(event){\r\n this._callbacks = this._callbacks || {};\r\n var args = [].slice.call(arguments, 1)\r\n , callbacks = this._callbacks['$' + event];\r\n\r\n if (callbacks) {\r\n callbacks = callbacks.slice(0);\r\n for (var i = 0, len = callbacks.length; i < len; ++i) {\r\n callbacks[i].apply(this, args);\r\n }\r\n }\r\n\r\n return this;\r\n};\r\n\r\n/**\r\n * Return array of callbacks for `event`.\r\n *\r\n * @param {String} event\r\n * @return {Array}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.listeners = function(event){\r\n this._callbacks = this._callbacks || {};\r\n return this._callbacks['$' + event] || [];\r\n};\r\n\r\n/**\r\n * Check if this emitter has `event` handlers.\r\n *\r\n * @param {String} event\r\n * @return {Boolean}\r\n * @api public\r\n */\r\n\r\nEmitter.prototype.hasListeners = function(event){\r\n return !! this.listeners(event).length;\r\n};\r\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/component-emitter/index.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/client.js":
/*!**********************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/client.js ***!
\**********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * Root reference for iframes.\n */\n\nvar root;\nif (typeof window !== 'undefined') { // Browser window\n root = window;\n} else if (typeof self !== 'undefined') { // Web Worker\n root = self;\n} else { // Other environments\n console.warn(\"Using browser-only version of superagent in non-browser environment\");\n root = this;\n}\n\nvar Emitter = __webpack_require__(/*! component-emitter */ \"../iperf-proxy-client/js/node_modules/component-emitter/index.js\");\nvar RequestBase = __webpack_require__(/*! ./request-base */ \"../iperf-proxy-client/js/node_modules/superagent/lib/request-base.js\");\nvar isObject = __webpack_require__(/*! ./is-object */ \"../iperf-proxy-client/js/node_modules/superagent/lib/is-object.js\");\nvar ResponseBase = __webpack_require__(/*! ./response-base */ \"../iperf-proxy-client/js/node_modules/superagent/lib/response-base.js\");\nvar shouldRetry = __webpack_require__(/*! ./should-retry */ \"../iperf-proxy-client/js/node_modules/superagent/lib/should-retry.js\");\n\n/**\n * Noop.\n */\n\nfunction noop(){};\n\n/**\n * Expose `request`.\n */\n\nvar request = exports = module.exports = function(method, url) {\n // callback\n if ('function' == typeof url) {\n return new exports.Request('GET', method).end(url);\n }\n\n // url first\n if (1 == arguments.length) {\n return new exports.Request('GET', method);\n }\n\n return new exports.Request(method, url);\n}\n\nexports.Request = Request;\n\n/**\n * Determine XHR.\n */\n\nrequest.getXHR = function () {\n if (root.XMLHttpRequest\n && (!root.location || 'file:' != root.location.protocol\n || !root.ActiveXObject)) {\n return new XMLHttpRequest;\n } else {\n try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.6.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP.3.0'); } catch(e) {}\n try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) {}\n }\n throw Error(\"Browser-only version of superagent could not find XHR\");\n};\n\n/**\n * Removes leading and trailing whitespace, added to support IE.\n *\n * @param {String} s\n * @return {String}\n * @api private\n */\n\nvar trim = ''.trim\n ? function(s) { return s.trim(); }\n : function(s) { return s.replace(/(^\\s*|\\s*$)/g, ''); };\n\n/**\n * Serialize the given `obj`.\n *\n * @param {Object} obj\n * @return {String}\n * @api private\n */\n\nfunction serialize(obj) {\n if (!isObject(obj)) return obj;\n var pairs = [];\n for (var key in obj) {\n pushEncodedKeyValuePair(pairs, key, obj[key]);\n }\n return pairs.join('&');\n}\n\n/**\n * Helps 'serialize' with serializing arrays.\n * Mutates the pairs array.\n *\n * @param {Array} pairs\n * @param {String} key\n * @param {Mixed} val\n */\n\nfunction pushEncodedKeyValuePair(pairs, key, val) {\n if (val != null) {\n if (Array.isArray(val)) {\n val.forEach(function(v) {\n pushEncodedKeyValuePair(pairs, key, v);\n });\n } else if (isObject(val)) {\n for(var subkey in val) {\n pushEncodedKeyValuePair(pairs, key + '[' + subkey + ']', val[subkey]);\n }\n } else {\n pairs.push(encodeURIComponent(key)\n + '=' + encodeURIComponent(val));\n }\n } else if (val === null) {\n pairs.push(encodeURIComponent(key));\n }\n}\n\n/**\n * Expose serialization method.\n */\n\n request.serializeObject = serialize;\n\n /**\n * Parse the given x-www-form-urlencoded `str`.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseString(str) {\n var obj = {};\n var pairs = str.split('&');\n var pair;\n var pos;\n\n for (var i = 0, len = pairs.length; i < len; ++i) {\n pair = pairs[i];\n pos = pair.indexOf('=');\n if (pos == -1) {\n obj[decodeURIComponent(pair)] = '';\n } else {\n obj[decodeURIComponent(pair.slice(0, pos))] =\n decodeURIComponent(pair.slice(pos + 1));\n }\n }\n\n return obj;\n}\n\n/**\n * Expose parser.\n */\n\nrequest.parseString = parseString;\n\n/**\n * Default MIME type map.\n *\n * superagent.types.xml = 'application/xml';\n *\n */\n\nrequest.types = {\n html: 'text/html',\n json: 'application/json',\n xml: 'text/xml',\n urlencoded: 'application/x-www-form-urlencoded',\n 'form': 'application/x-www-form-urlencoded',\n 'form-data': 'application/x-www-form-urlencoded'\n};\n\n/**\n * Default serialization map.\n *\n * superagent.serialize['application/xml'] = function(obj){\n * return 'generated xml here';\n * };\n *\n */\n\n request.serialize = {\n 'application/x-www-form-urlencoded': serialize,\n 'application/json': JSON.stringify\n };\n\n /**\n * Default parsers.\n *\n * superagent.parse['application/xml'] = function(str){\n * return { object parsed from str };\n * };\n *\n */\n\nrequest.parse = {\n 'application/x-www-form-urlencoded': parseString,\n 'application/json': JSON.parse\n};\n\n/**\n * Parse the given header `str` into\n * an object containing the mapped fields.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nfunction parseHeader(str) {\n var lines = str.split(/\\r?\\n/);\n var fields = {};\n var index;\n var line;\n var field;\n var val;\n\n for (var i = 0, len = lines.length; i < len; ++i) {\n line = lines[i];\n index = line.indexOf(':');\n if (index === -1) { // could be empty line, just skip it\n continue;\n }\n field = line.slice(0, index).toLowerCase();\n val = trim(line.slice(index + 1));\n fields[field] = val;\n }\n\n return fields;\n}\n\n/**\n * Check if `mime` is json or has +json structured syntax suffix.\n *\n * @param {String} mime\n * @return {Boolean}\n * @api private\n */\n\nfunction isJSON(mime) {\n return /[\\/+]json\\b/.test(mime);\n}\n\n/**\n * Initialize a new `Response` with the given `xhr`.\n *\n * - set flags (.ok, .error, etc)\n * - parse header\n *\n * Examples:\n *\n * Aliasing `superagent` as `request` is nice:\n *\n * request = superagent;\n *\n * We can use the promise-like API, or pass callbacks:\n *\n * request.get('/').end(function(res){});\n * request.get('/', function(res){});\n *\n * Sending data can be chained:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' })\n * .end(function(res){});\n *\n * Or passed to `.send()`:\n *\n * request\n * .post('/user')\n * .send({ name: 'tj' }, function(res){});\n *\n * Or passed to `.post()`:\n *\n * request\n * .post('/user', { name: 'tj' })\n * .end(function(res){});\n *\n * Or further reduced to a single call for simple cases:\n *\n * request\n * .post('/user', { name: 'tj' }, function(res){});\n *\n * @param {XMLHTTPRequest} xhr\n * @param {Object} options\n * @api private\n */\n\nfunction Response(req) {\n this.req = req;\n this.xhr = this.req.xhr;\n // responseText is accessible only if responseType is '' or 'text' and on older browsers\n this.text = ((this.req.method !='HEAD' && (this.xhr.responseType === '' || this.xhr.responseType === 'text')) || typeof this.xhr.responseType === 'undefined')\n ? this.xhr.responseText\n : null;\n this.statusText = this.req.xhr.statusText;\n var status = this.xhr.status;\n // handle IE9 bug: http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request\n if (status === 1223) {\n status = 204;\n }\n this._setStatusProperties(status);\n this.header = this.headers = parseHeader(this.xhr.getAllResponseHeaders());\n // getAllResponseHeaders sometimes falsely returns \"\" for CORS requests, but\n // getResponseHeader still works. so we get content-type even if getting\n // other headers fails.\n this.header['content-type'] = this.xhr.getResponseHeader('content-type');\n this._setHeaderProperties(this.header);\n\n if (null === this.text && req._responseType) {\n this.body = this.xhr.response;\n } else {\n this.body = this.req.method != 'HEAD'\n ? this._parseBody(this.text ? this.text : this.xhr.response)\n : null;\n }\n}\n\nResponseBase(Response.prototype);\n\n/**\n * Parse the given body `str`.\n *\n * Used for auto-parsing of bodies. Parsers\n * are defined on the `superagent.parse` object.\n *\n * @param {String} str\n * @return {Mixed}\n * @api private\n */\n\nResponse.prototype._parseBody = function(str){\n var parse = request.parse[this.type];\n if(this.req._parser) {\n return this.req._parser(this, str);\n }\n if (!parse && isJSON(this.type)) {\n parse = request.parse['application/json'];\n }\n return parse && str && (str.length || str instanceof Object)\n ? parse(str)\n : null;\n};\n\n/**\n * Return an `Error` representative of this response.\n *\n * @return {Error}\n * @api public\n */\n\nResponse.prototype.toError = function(){\n var req = this.req;\n var method = req.method;\n var url = req.url;\n\n var msg = 'cannot ' + method + ' ' + url + ' (' + this.status + ')';\n var err = new Error(msg);\n err.status = this.status;\n err.method = method;\n err.url = url;\n\n return err;\n};\n\n/**\n * Expose `Response`.\n */\n\nrequest.Response = Response;\n\n/**\n * Initialize a new `Request` with the given `method` and `url`.\n *\n * @param {String} method\n * @param {String} url\n * @api public\n */\n\nfunction Request(method, url) {\n var self = this;\n this._query = this._query || [];\n this.method = method;\n this.url = url;\n this.header = {}; // preserves header name case\n this._header = {}; // coerces header names to lowercase\n this.on('end', function(){\n var err = null;\n var res = null;\n\n try {\n res = new Response(self);\n } catch(e) {\n err = new Error('Parser is unable to parse the response');\n err.parse = true;\n err.original = e;\n // issue #675: return the raw response if the response parsing fails\n if (self.xhr) {\n // ie9 doesn't have 'response' property\n err.rawResponse = typeof self.xhr.responseType == 'undefined' ? self.xhr.responseText : self.xhr.response;\n // issue #876: return the http status code if the response parsing fails\n err.status = self.xhr.status ? self.xhr.status : null;\n err.statusCode = err.status; // backwards-compat only\n } else {\n err.rawResponse = null;\n err.status = null;\n }\n\n return self.callback(err);\n }\n\n self.emit('response', res);\n\n var new_err;\n try {\n if (!self._isResponseOK(res)) {\n new_err = new Error(res.statusText || 'Unsuccessful HTTP response');\n }\n } catch(custom_err) {\n new_err = custom_err; // ok() callback can throw\n }\n\n // #1000 don't catch errors from the callback to avoid double calling it\n if (new_err) {\n new_err.original = err;\n new_err.response = res;\n new_err.status = res.status;\n self.callback(new_err, res);\n } else {\n self.callback(null, res);\n }\n });\n}\n\n/**\n * Mixin `Emitter` and `RequestBase`.\n */\n\nEmitter(Request.prototype);\nRequestBase(Request.prototype);\n\n/**\n * Set Content-Type to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.xml = 'application/xml';\n *\n * request.post('/')\n * .type('xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * request.post('/')\n * .type('application/xml')\n * .send(xmlstring)\n * .end(callback);\n *\n * @param {String} type\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.type = function(type){\n this.set('Content-Type', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Accept to `type`, mapping values from `request.types`.\n *\n * Examples:\n *\n * superagent.types.json = 'application/json';\n *\n * request.get('/agent')\n * .accept('json')\n * .end(callback);\n *\n * request.get('/agent')\n * .accept('application/json')\n * .end(callback);\n *\n * @param {String} accept\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.accept = function(type){\n this.set('Accept', request.types[type] || type);\n return this;\n};\n\n/**\n * Set Authorization field value with `user` and `pass`.\n *\n * @param {String} user\n * @param {String} [pass] optional in case of using 'bearer' as type\n * @param {Object} options with 'type' property 'auto', 'basic' or 'bearer' (default 'basic')\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.auth = function(user, pass, options){\n if (typeof pass === 'object' && pass !== null) { // pass is optional and can substitute for options\n options = pass;\n }\n if (!options) {\n options = {\n type: 'function' === typeof btoa ? 'basic' : 'auto',\n }\n }\n\n switch (options.type) {\n case 'basic':\n this.set('Authorization', 'Basic ' + btoa(user + ':' + pass));\n break;\n\n case 'auto':\n this.username = user;\n this.password = pass;\n break;\n\n case 'bearer': // usage would be .auth(accessToken, { type: 'bearer' })\n this.set('Authorization', 'Bearer ' + user);\n break;\n }\n return this;\n};\n\n/**\n * Add query-string `val`.\n *\n * Examples:\n *\n * request.get('/shoes')\n * .query('size=10')\n * .query({ color: 'blue' })\n *\n * @param {Object|String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.query = function(val){\n if ('string' != typeof val) val = serialize(val);\n if (val) this._query.push(val);\n return this;\n};\n\n/**\n * Queue the given `file` as an attachment to the specified `field`,\n * with optional `options` (or filename).\n *\n * ``` js\n * request.post('/upload')\n * .attach('content', new Blob(['hey!'], { type: \"text/html\"}))\n * .end(callback);\n * ```\n *\n * @param {String} field\n * @param {Blob|File} file\n * @param {String|Object} options\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.attach = function(field, file, options){\n if (file) {\n if (this._data) {\n throw Error(\"superagent can't mix .send() and .attach()\");\n }\n\n this._getFormData().append(field, file, options || file.name);\n }\n return this;\n};\n\nRequest.prototype._getFormData = function(){\n if (!this._formData) {\n this._formData = new root.FormData();\n }\n return this._formData;\n};\n\n/**\n * Invoke the callback with `err` and `res`\n * and handle arity check.\n *\n * @param {Error} err\n * @param {Response} res\n * @api private\n */\n\nRequest.prototype.callback = function(err, res){\n // console.log(this._retries, this._maxRetries)\n if (this._maxRetries && this._retries++ < this._maxRetries && shouldRetry(err, res)) {\n return this._retry();\n }\n\n var fn = this._callback;\n this.clearTimeout();\n\n if (err) {\n if (this._maxRetries) err.retries = this._retries - 1;\n this.emit('error', err);\n }\n\n fn(err, res);\n};\n\n/**\n * Invoke callback with x-domain error.\n *\n * @api private\n */\n\nRequest.prototype.crossDomainError = function(){\n var err = new Error('Request has been terminated\\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.');\n err.crossDomain = true;\n\n err.status = this.status;\n err.method = this.method;\n err.url = this.url;\n\n this.callback(err);\n};\n\n// This only warns, because the request is still likely to work\nRequest.prototype.buffer = Request.prototype.ca = Request.prototype.agent = function(){\n console.warn(\"This is not supported in browser version of superagent\");\n return this;\n};\n\n// This throws, because it can't send/receive data as expected\nRequest.prototype.pipe = Request.prototype.write = function(){\n throw Error(\"Streaming is not supported in browser version of superagent\");\n};\n\n/**\n * Check if `obj` is a host object,\n * we don't want to serialize these :)\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\nRequest.prototype._isHost = function _isHost(obj) {\n // Native objects stringify to [object File], [object Blob], [object FormData], etc.\n return obj && 'object' === typeof obj && !Array.isArray(obj) && Object.prototype.toString.call(obj) !== '[object Object]';\n}\n\n/**\n * Initiate request, invoking callback `fn(res)`\n * with an instanceof `Response`.\n *\n * @param {Function} fn\n * @return {Request} for chaining\n * @api public\n */\n\nRequest.prototype.end = function(fn){\n if (this._endCalled) {\n console.warn(\"Warning: .end() was called twice. This is not supported in superagent\");\n }\n this._endCalled = true;\n\n // store callback\n this._callback = fn || noop;\n\n // querystring\n this._finalizeQueryString();\n\n return this._end();\n};\n\nRequest.prototype._end = function() {\n var self = this;\n var xhr = this.xhr = request.getXHR();\n var data = this._formData || this._data;\n\n this._setTimeouts();\n\n // state change\n xhr.onreadystatechange = function(){\n var readyState = xhr.readyState;\n if (readyState >= 2 && self._responseTimeoutTimer) {\n clearTimeout(self._responseTimeoutTimer);\n }\n if (4 != readyState) {\n return;\n }\n\n // In IE9, reads to any property (e.g. status) off of an aborted XHR will\n // result in the error \"Could not complete the operation due to error c00c023f\"\n var status;\n try { status = xhr.status } catch(e) { status = 0; }\n\n if (!status) {\n if (self.timedout || self._aborted) return;\n return self.crossDomainError();\n }\n self.emit('end');\n };\n\n // progress\n var handleProgress = function(direction, e) {\n if (e.total > 0) {\n e.percent = e.loaded / e.total * 100;\n }\n e.direction = direction;\n self.emit('progress', e);\n }\n if (this.hasListeners('progress')) {\n try {\n xhr.onprogress = handleProgress.bind(null, 'download');\n if (xhr.upload) {\n xhr.upload.onprogress = handleProgress.bind(null, 'upload');\n }\n } catch(e) {\n // Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.\n // Reported here:\n // https://connect.microsoft.com/IE/feedback/details/837245/xmlhttprequest-upload-throws-invalid-argument-when-used-from-web-worker-context\n }\n }\n\n // initiate request\n try {\n if (this.username && this.password) {\n xhr.open(this.method, this.url, true, this.username, this.password);\n } else {\n xhr.open(this.method, this.url, true);\n }\n } catch (err) {\n // see #1149\n return this.callback(err);\n }\n\n // CORS\n if (this._withCredentials) xhr.withCredentials = true;\n\n // body\n if (!this._formData && 'GET' != this.method && 'HEAD' != this.method && 'string' != typeof data && !this._isHost(data)) {\n // serialize stuff\n var contentType = this._header['content-type'];\n var serialize = this._serializer || request.serialize[contentType ? contentType.split(';')[0] : ''];\n if (!serialize && isJSON(contentType)) {\n serialize = request.serialize['application/json'];\n }\n if (serialize) data = serialize(data);\n }\n\n // set header fields\n for (var field in this.header) {\n if (null == this.header[field]) continue;\n\n if (this.header.hasOwnProperty(field))\n xhr.setRequestHeader(field, this.header[field]);\n }\n\n if (this._responseType) {\n xhr.responseType = this._responseType;\n }\n\n // send stuff\n this.emit('request', this);\n\n // IE11 xhr.send(undefined) sends 'undefined' string as POST payload (instead of nothing)\n // We need null here if data is undefined\n xhr.send(typeof data !== 'undefined' ? data : null);\n return this;\n};\n\n/**\n * GET `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.get = function(url, data, fn){\n var req = request('GET', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.query(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * HEAD `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.head = function(url, data, fn){\n var req = request('HEAD', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.query(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * OPTIONS query to `url` with optional callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.options = function(url, data, fn){\n var req = request('OPTIONS', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * DELETE `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nfunction del(url, data, fn){\n var req = request('DELETE', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\nrequest['del'] = del;\nrequest['delete'] = del;\n\n/**\n * PATCH `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.patch = function(url, data, fn){\n var req = request('PATCH', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * POST `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed} [data]\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.post = function(url, data, fn){\n var req = request('POST', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n/**\n * PUT `url` with optional `data` and callback `fn(res)`.\n *\n * @param {String} url\n * @param {Mixed|Function} [data] or fn\n * @param {Function} [fn]\n * @return {Request}\n * @api public\n */\n\nrequest.put = function(url, data, fn){\n var req = request('PUT', url);\n if ('function' == typeof data) fn = data, data = null;\n if (data) req.send(data);\n if (fn) req.end(fn);\n return req;\n};\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/client.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/is-object.js":
/*!*************************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/is-object.js ***!
\*************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Check if `obj` is an object.\n *\n * @param {Object} obj\n * @return {Boolean}\n * @api private\n */\n\nfunction isObject(obj) {\n return null !== obj && 'object' === typeof obj;\n}\n\nmodule.exports = isObject;\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/is-object.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/request-base.js":
/*!****************************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/request-base.js ***!
\****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Module of mixed-in functions shared between node and client code\n */\nvar isObject = __webpack_require__(/*! ./is-object */ \"../iperf-proxy-client/js/node_modules/superagent/lib/is-object.js\");\n\n/**\n * Expose `RequestBase`.\n */\n\nmodule.exports = RequestBase;\n\n/**\n * Initialize a new `RequestBase`.\n *\n * @api public\n */\n\nfunction RequestBase(obj) {\n if (obj) return mixin(obj);\n}\n\n/**\n * Mixin the prototype properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n for (var key in RequestBase.prototype) {\n obj[key] = RequestBase.prototype[key];\n }\n return obj;\n}\n\n/**\n * Clear previous timeout.\n *\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.clearTimeout = function _clearTimeout(){\n clearTimeout(this._timer);\n clearTimeout(this._responseTimeoutTimer);\n delete this._timer;\n delete this._responseTimeoutTimer;\n return this;\n};\n\n/**\n * Override default response body parser\n *\n * This function will be called to convert incoming data into request.body\n *\n * @param {Function}\n * @api public\n */\n\nRequestBase.prototype.parse = function parse(fn){\n this._parser = fn;\n return this;\n};\n\n/**\n * Set format of binary response body.\n * In browser valid formats are 'blob' and 'arraybuffer',\n * which return Blob and ArrayBuffer, respectively.\n *\n * In Node all values result in Buffer.\n *\n * Examples:\n *\n * req.get('/')\n * .responseType('blob')\n * .end(callback);\n *\n * @param {String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.responseType = function(val){\n this._responseType = val;\n return this;\n};\n\n/**\n * Override default request body serializer\n *\n * This function will be called to convert data set via .send or .attach into payload to send\n *\n * @param {Function}\n * @api public\n */\n\nRequestBase.prototype.serialize = function serialize(fn){\n this._serializer = fn;\n return this;\n};\n\n/**\n * Set timeouts.\n *\n * - response timeout is time between sending request and receiving the first byte of the response. Includes DNS and connection time.\n * - deadline is the time from start of the request to receiving response body in full. If the deadline is too short large files may not load at all on slow connections.\n *\n * Value of 0 or false means no timeout.\n *\n * @param {Number|Object} ms or {response, deadline}\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.timeout = function timeout(options){\n if (!options || 'object' !== typeof options) {\n this._timeout = options;\n this._responseTimeout = 0;\n return this;\n }\n\n for(var option in options) {\n switch(option) {\n case 'deadline':\n this._timeout = options.deadline;\n break;\n case 'response':\n this._responseTimeout = options.response;\n break;\n default:\n console.warn(\"Unknown timeout option\", option);\n }\n }\n return this;\n};\n\n/**\n * Set number of retry attempts on error.\n *\n * Failed requests will be retried 'count' times if timeout or err.code >= 500.\n *\n * @param {Number} count\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.retry = function retry(count){\n // Default to 1 if no count passed or true\n if (arguments.length === 0 || count === true) count = 1;\n if (count <= 0) count = 0;\n this._maxRetries = count;\n this._retries = 0;\n return this;\n};\n\n/**\n * Retry request\n *\n * @return {Request} for chaining\n * @api private\n */\n\nRequestBase.prototype._retry = function() {\n this.clearTimeout();\n\n // node\n if (this.req) {\n this.req = null;\n this.req = this.request();\n }\n\n this._aborted = false;\n this.timedout = false;\n\n return this._end();\n};\n\n/**\n * Promise support\n *\n * @param {Function} resolve\n * @param {Function} [reject]\n * @return {Request}\n */\n\nRequestBase.prototype.then = function then(resolve, reject) {\n if (!this._fullfilledPromise) {\n var self = this;\n if (this._endCalled) {\n console.warn(\"Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises\");\n }\n this._fullfilledPromise = new Promise(function(innerResolve, innerReject){\n self.end(function(err, res){\n if (err) innerReject(err); else innerResolve(res);\n });\n });\n }\n return this._fullfilledPromise.then(resolve, reject);\n}\n\nRequestBase.prototype.catch = function(cb) {\n return this.then(undefined, cb);\n};\n\n/**\n * Allow for extension\n */\n\nRequestBase.prototype.use = function use(fn) {\n fn(this);\n return this;\n}\n\nRequestBase.prototype.ok = function(cb) {\n if ('function' !== typeof cb) throw Error(\"Callback required\");\n this._okCallback = cb;\n return this;\n};\n\nRequestBase.prototype._isResponseOK = function(res) {\n if (!res) {\n return false;\n }\n\n if (this._okCallback) {\n return this._okCallback(res);\n }\n\n return res.status >= 200 && res.status < 300;\n};\n\n\n/**\n * Get request header `field`.\n * Case-insensitive.\n *\n * @param {String} field\n * @return {String}\n * @api public\n */\n\nRequestBase.prototype.get = function(field){\n return this._header[field.toLowerCase()];\n};\n\n/**\n * Get case-insensitive header `field` value.\n * This is a deprecated internal API. Use `.get(field)` instead.\n *\n * (getHeader is no longer used internally by the superagent code base)\n *\n * @param {String} field\n * @return {String}\n * @api private\n * @deprecated\n */\n\nRequestBase.prototype.getHeader = RequestBase.prototype.get;\n\n/**\n * Set header `field` to `val`, or multiple fields with one object.\n * Case-insensitive.\n *\n * Examples:\n *\n * req.get('/')\n * .set('Accept', 'application/json')\n * .set('X-API-Key', 'foobar')\n * .end(callback);\n *\n * req.get('/')\n * .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })\n * .end(callback);\n *\n * @param {String|Object} field\n * @param {String} val\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.set = function(field, val){\n if (isObject(field)) {\n for (var key in field) {\n this.set(key, field[key]);\n }\n return this;\n }\n this._header[field.toLowerCase()] = val;\n this.header[field] = val;\n return this;\n};\n\n/**\n * Remove header `field`.\n * Case-insensitive.\n *\n * Example:\n *\n * req.get('/')\n * .unset('User-Agent')\n * .end(callback);\n *\n * @param {String} field\n */\nRequestBase.prototype.unset = function(field){\n delete this._header[field.toLowerCase()];\n delete this.header[field];\n return this;\n};\n\n/**\n * Write the field `name` and `val`, or multiple fields with one object\n * for \"multipart/form-data\" request bodies.\n *\n * ``` js\n * request.post('/upload')\n * .field('foo', 'bar')\n * .end(callback);\n *\n * request.post('/upload')\n * .field({ foo: 'bar', baz: 'qux' })\n * .end(callback);\n * ```\n *\n * @param {String|Object} name\n * @param {String|Blob|File|Buffer|fs.ReadStream} val\n * @return {Request} for chaining\n * @api public\n */\nRequestBase.prototype.field = function(name, val) {\n\n // name should be either a string or an object.\n if (null === name || undefined === name) {\n throw new Error('.field(name, val) name can not be empty');\n }\n\n if (this._data) {\n console.error(\".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()\");\n }\n\n if (isObject(name)) {\n for (var key in name) {\n this.field(key, name[key]);\n }\n return this;\n }\n\n if (Array.isArray(val)) {\n for (var i in val) {\n this.field(name, val[i]);\n }\n return this;\n }\n\n // val should be defined now\n if (null === val || undefined === val) {\n throw new Error('.field(name, val) val can not be empty');\n }\n if ('boolean' === typeof val) {\n val = '' + val;\n }\n this._getFormData().append(name, val);\n return this;\n};\n\n/**\n * Abort the request, and clear potential timeout.\n *\n * @return {Request}\n * @api public\n */\nRequestBase.prototype.abort = function(){\n if (this._aborted) {\n return this;\n }\n this._aborted = true;\n this.xhr && this.xhr.abort(); // browser\n this.req && this.req.abort(); // node\n this.clearTimeout();\n this.emit('abort');\n return this;\n};\n\n/**\n * Enable transmission of cookies with x-domain requests.\n *\n * Note that for this to work the origin must not be\n * using \"Access-Control-Allow-Origin\" with a wildcard,\n * and also must set \"Access-Control-Allow-Credentials\"\n * to \"true\".\n *\n * @api public\n */\n\nRequestBase.prototype.withCredentials = function(on){\n // This is browser-only functionality. Node side is no-op.\n if(on==undefined) on = true;\n this._withCredentials = on;\n return this;\n};\n\n/**\n * Set the max redirects to `n`. Does noting in browser XHR implementation.\n *\n * @param {Number} n\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.redirects = function(n){\n this._maxRedirects = n;\n return this;\n};\n\n/**\n * Maximum size of buffered response body, in bytes. Counts uncompressed size.\n * Default 200MB.\n *\n * @param {Number} n\n * @return {Request} for chaining\n */\nRequestBase.prototype.maxResponseSize = function(n){\n if ('number' !== typeof n) {\n throw TypeError(\"Invalid argument\");\n }\n this._maxResponseSize = n;\n return this;\n};\n\n/**\n * Convert to a plain javascript object (not JSON string) of scalar properties.\n * Note as this method is designed to return a useful non-this value,\n * it cannot be chained.\n *\n * @return {Object} describing method, url, and data of this request\n * @api public\n */\n\nRequestBase.prototype.toJSON = function(){\n return {\n method: this.method,\n url: this.url,\n data: this._data,\n headers: this._header\n };\n};\n\n\n/**\n * Send `data` as the request body, defaulting the `.type()` to \"json\" when\n * an object is given.\n *\n * Examples:\n *\n * // manual json\n * request.post('/user')\n * .type('json')\n * .send('{\"name\":\"tj\"}')\n * .end(callback)\n *\n * // auto json\n * request.post('/user')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // manual x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send('name=tj')\n * .end(callback)\n *\n * // auto x-www-form-urlencoded\n * request.post('/user')\n * .type('form')\n * .send({ name: 'tj' })\n * .end(callback)\n *\n * // defaults to x-www-form-urlencoded\n * request.post('/user')\n * .send('name=tobi')\n * .send('species=ferret')\n * .end(callback)\n *\n * @param {String|Object} data\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.send = function(data){\n var isObj = isObject(data);\n var type = this._header['content-type'];\n\n if (this._formData) {\n console.error(\".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()\");\n }\n\n if (isObj && !this._data) {\n if (Array.isArray(data)) {\n this._data = [];\n } else if (!this._isHost(data)) {\n this._data = {};\n }\n } else if (data && this._data && this._isHost(this._data)) {\n throw Error(\"Can't merge these send calls\");\n }\n\n // merge\n if (isObj && isObject(this._data)) {\n for (var key in data) {\n this._data[key] = data[key];\n }\n } else if ('string' == typeof data) {\n // default to x-www-form-urlencoded\n if (!type) this.type('form');\n type = this._header['content-type'];\n if ('application/x-www-form-urlencoded' == type) {\n this._data = this._data\n ? this._data + '&' + data\n : data;\n } else {\n this._data = (this._data || '') + data;\n }\n } else {\n this._data = data;\n }\n\n if (!isObj || this._isHost(data)) {\n return this;\n }\n\n // default to json\n if (!type) this.type('json');\n return this;\n};\n\n\n/**\n * Sort `querystring` by the sort function\n *\n *\n * Examples:\n *\n * // default order\n * request.get('/user')\n * .query('name=Nick')\n * .query('search=Manny')\n * .sortQuery()\n * .end(callback)\n *\n * // customized sort function\n * request.get('/user')\n * .query('name=Nick')\n * .query('search=Manny')\n * .sortQuery(function(a, b){\n * return a.length - b.length;\n * })\n * .end(callback)\n *\n *\n * @param {Function} sort\n * @return {Request} for chaining\n * @api public\n */\n\nRequestBase.prototype.sortQuery = function(sort) {\n // _sort default to true but otherwise can be a function or boolean\n this._sort = typeof sort === 'undefined' ? true : sort;\n return this;\n};\n\n/**\n * Compose querystring to append to req.url\n *\n * @api private\n */\nRequestBase.prototype._finalizeQueryString = function(){\n var query = this._query.join('&');\n if (query) {\n this.url += (this.url.indexOf('?') >= 0 ? '&' : '?') + query;\n }\n this._query.length = 0; // Makes the call idempotent\n\n if (this._sort) {\n var index = this.url.indexOf('?');\n if (index >= 0) {\n var queryArr = this.url.substring(index + 1).split('&');\n if ('function' === typeof this._sort) {\n queryArr.sort(this._sort);\n } else {\n queryArr.sort();\n }\n this.url = this.url.substring(0, index) + '?' + queryArr.join('&');\n }\n }\n};\n\n// For backwards compat only\nRequestBase.prototype._appendQueryString = function() {console.trace(\"Unsupported\");}\n\n/**\n * Invoke callback with timeout error.\n *\n * @api private\n */\n\nRequestBase.prototype._timeoutError = function(reason, timeout, errno){\n if (this._aborted) {\n return;\n }\n var err = new Error(reason + timeout + 'ms exceeded');\n err.timeout = timeout;\n err.code = 'ECONNABORTED';\n err.errno = errno;\n this.timedout = true;\n this.abort();\n this.callback(err);\n};\n\nRequestBase.prototype._setTimeouts = function() {\n var self = this;\n\n // deadline\n if (this._timeout && !this._timer) {\n this._timer = setTimeout(function(){\n self._timeoutError('Timeout of ', self._timeout, 'ETIME');\n }, this._timeout);\n }\n // response timeout\n if (this._responseTimeout && !this._responseTimeoutTimer) {\n this._responseTimeoutTimer = setTimeout(function(){\n self._timeoutError('Response timeout of ', self._responseTimeout, 'ETIMEDOUT');\n }, this._responseTimeout);\n }\n}\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/request-base.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/response-base.js":
/*!*****************************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/response-base.js ***!
\*****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Module dependencies.\n */\n\nvar utils = __webpack_require__(/*! ./utils */ \"../iperf-proxy-client/js/node_modules/superagent/lib/utils.js\");\n\n/**\n * Expose `ResponseBase`.\n */\n\nmodule.exports = ResponseBase;\n\n/**\n * Initialize a new `ResponseBase`.\n *\n * @api public\n */\n\nfunction ResponseBase(obj) {\n if (obj) return mixin(obj);\n}\n\n/**\n * Mixin the prototype properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n for (var key in ResponseBase.prototype) {\n obj[key] = ResponseBase.prototype[key];\n }\n return obj;\n}\n\n/**\n * Get case-insensitive `field` value.\n *\n * @param {String} field\n * @return {String}\n * @api public\n */\n\nResponseBase.prototype.get = function(field){\n return this.header[field.toLowerCase()];\n};\n\n/**\n * Set header related properties:\n *\n * - `.type` the content type without params\n *\n * A response of \"Content-Type: text/plain; charset=utf-8\"\n * will provide you with a `.type` of \"text/plain\".\n *\n * @param {Object} header\n * @api private\n */\n\nResponseBase.prototype._setHeaderProperties = function(header){\n // TODO: moar!\n // TODO: make this a util\n\n // content-type\n var ct = header['content-type'] || '';\n this.type = utils.type(ct);\n\n // params\n var params = utils.params(ct);\n for (var key in params) this[key] = params[key];\n\n this.links = {};\n\n // links\n try {\n if (header.link) {\n this.links = utils.parseLinks(header.link);\n }\n } catch (err) {\n // ignore\n }\n};\n\n/**\n * Set flags such as `.ok` based on `status`.\n *\n * For example a 2xx response will give you a `.ok` of __true__\n * whereas 5xx will be __false__ and `.error` will be __true__. The\n * `.clientError` and `.serverError` are also available to be more\n * specific, and `.statusType` is the class of error ranging from 1..5\n * sometimes useful for mapping respond colors etc.\n *\n * \"sugar\" properties are also defined for common cases. Currently providing:\n *\n * - .noContent\n * - .badRequest\n * - .unauthorized\n * - .notAcceptable\n * - .notFound\n *\n * @param {Number} status\n * @api private\n */\n\nResponseBase.prototype._setStatusProperties = function(status){\n var type = status / 100 | 0;\n\n // status / class\n this.status = this.statusCode = status;\n this.statusType = type;\n\n // basics\n this.info = 1 == type;\n this.ok = 2 == type;\n this.redirect = 3 == type;\n this.clientError = 4 == type;\n this.serverError = 5 == type;\n this.error = (4 == type || 5 == type)\n ? this.toError()\n : false;\n\n // sugar\n this.accepted = 202 == status;\n this.noContent = 204 == status;\n this.badRequest = 400 == status;\n this.unauthorized = 401 == status;\n this.notAcceptable = 406 == status;\n this.forbidden = 403 == status;\n this.notFound = 404 == status;\n};\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/response-base.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/should-retry.js":
/*!****************************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/should-retry.js ***!
\****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar ERROR_CODES = [\n 'ECONNRESET',\n 'ETIMEDOUT',\n 'EADDRINFO',\n 'ESOCKETTIMEDOUT'\n];\n\n/**\n * Determine if a request should be retried.\n * (Borrowed from segmentio/superagent-retry)\n *\n * @param {Error} err\n * @param {Response} [res]\n * @returns {Boolean}\n */\nmodule.exports = function shouldRetry(err, res) {\n if (err && err.code && ~ERROR_CODES.indexOf(err.code)) return true;\n if (res && res.status && res.status >= 500) return true;\n // Superagent timeout\n if (err && 'timeout' in err && err.code == 'ECONNABORTED') return true;\n if (err && 'crossDomain' in err) return true;\n return false;\n};\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/should-retry.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/node_modules/superagent/lib/utils.js":
/*!*********************************************************************!*\
!*** ../iperf-proxy-client/js/node_modules/superagent/lib/utils.js ***!
\*********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Return the mime type for the given `str`.\n *\n * @param {String} str\n * @return {String}\n * @api private\n */\n\nexports.type = function(str){\n return str.split(/ *; */).shift();\n};\n\n/**\n * Return header field parameters.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nexports.params = function(str){\n return str.split(/ *; */).reduce(function(obj, str){\n var parts = str.split(/ *= */);\n var key = parts.shift();\n var val = parts.shift();\n\n if (key && val) obj[key] = val;\n return obj;\n }, {});\n};\n\n/**\n * Parse Link header fields.\n *\n * @param {String} str\n * @return {Object}\n * @api private\n */\n\nexports.parseLinks = function(str){\n return str.split(/ *, */).reduce(function(obj, str){\n var parts = str.split(/ *; */);\n var url = parts[0].slice(1, -1);\n var rel = parts[1].split(/ *= */)[1].slice(1, -1);\n obj[rel] = url;\n return obj;\n }, {});\n};\n\n/**\n * Strip content related fields from `header`.\n *\n * @param {Object} header\n * @return {Object} header\n * @api private\n */\n\nexports.cleanHeader = function(header, shouldStripCookie){\n delete header['content-type'];\n delete header['content-length'];\n delete header['transfer-encoding'];\n delete header['host'];\n if (shouldStripCookie) {\n delete header['cookie'];\n }\n return header;\n};\n\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/node_modules/superagent/lib/utils.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/src/ApiClient.js":
/*!*************************************************!*\
!*** ../iperf-proxy-client/js/src/ApiClient.js ***!
\*************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/* WEBPACK VAR INJECTION */(function(Buffer) {/**\n * Demo iperf transit App API\n * This is the Demo iperf transit App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['superagent', 'querystring'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! superagent */ \"../iperf-proxy-client/js/node_modules/superagent/lib/client.js\"), __webpack_require__(/*! querystring */ \"./node_modules/querystring-es3/index.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.DemoIperfTransitAppApi) {\n root.DemoIperfTransitAppApi = {};\n }\n root.DemoIperfTransitAppApi.ApiClient = factory(root.superagent, root.querystring);\n }\n})(this, function (superagent, querystring) {\n 'use strict';\n\n /**\n * @module ApiClient\n * @version 0.0.1\n */\n\n /**\n * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an\n * application to use this class directly - the *Api and model classes provide the public API for the service. The\n * contents of this file should be regarded as internal but are documented for completeness.\n * @alias module:ApiClient\n * @class\n */\n\n var exports = function () {\n /**\n * The base URL against which to resolve every API call's (relative) path.\n * @type {String}\n * @default http://127.0.0.1:8086/v1\n */\n this.basePath = 'http://127.0.0.1:8086/v1'.replace(/\\/+$/, '');\n\n /**\n * The authentication methods to be included for all API calls.\n * @type {Array.param.\n */\n exports.prototype.paramToString = function (param) {\n if (param == undefined || param == null) {\n return '';\n }\n if (param instanceof Date) {\n return param.toJSON();\n }\n return param.toString();\n };\n\n /**\n * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.\n * NOTE: query parameters are not handled here.\n * @param {String} path The path to append to the base URL.\n * @param {Object} pathParams The parameter values to append.\n * @returns {String} The encoded path with parameter values substituted.\n */\n exports.prototype.buildUrl = function (path, pathParams) {\n if (!path.match(/^\\//)) {\n path = '/' + path;\n }\n var url = this.basePath + path;\n var _this = this;\n url = url.replace(/\\{([\\w-]+)\\}/g, function (fullMatch, key) {\n var value;\n if (pathParams.hasOwnProperty(key)) {\n value = _this.paramToString(pathParams[key]);\n } else {\n value = fullMatch;\n }\n return encodeURIComponent(value);\n });\n return url;\n };\n\n /**\n * Checks whether the given content type represents JSON.true if contentType represents JSON, otherwise false.\n */\n exports.prototype.isJsonMime = function (contentType) {\n return Boolean(contentType != null && contentType.match(/^application\\/json(;.*)?$/i));\n };\n\n /**\n * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.\n * @param {Array.true if param represents a file.\n */\n exports.prototype.isFileParam = function (param) {\n // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)\n if (true) {\n var fs;\n try {\n fs = __webpack_require__(/*! fs */ 2);\n } catch (err) {}\n if (fs && fs.ReadStream && param instanceof fs.ReadStream) {\n return true;\n }\n }\n // Buffer in Node.js\n if (typeof Buffer === 'function' && param instanceof Buffer) {\n return true;\n }\n // Blob in browser\n if (typeof Blob === 'function' && param instanceof Blob) {\n return true;\n }\n // File in browser (it seems File object is also instance of Blob, but keep this for safe)\n if (typeof File === 'function' && param instanceof File) {\n return true;\n }\n return false;\n };\n\n /**\n * Normalizes parameter values:\n * csv\n * @const\n */\n CSV: ',',\n /**\n * Space-separated values. Value: ssv\n * @const\n */\n SSV: ' ',\n /**\n * Tab-separated values. Value: tsv\n * @const\n */\n TSV: '\\t',\n /**\n * Pipe(|)-separated values. Value: pipes\n * @const\n */\n PIPES: '|',\n /**\n * Native array. Value: multi\n * @const\n */\n MULTI: 'multi'\n };\n\n /**\n * Builds a string representation of an array-type actual parameter, according to the given collection format.\n * @param {Array} param An array parameter.\n * @param {module:ApiClient.CollectionFormatEnum} collectionFormat The array element separator strategy.\n * @returns {String|Array} A string representation of the supplied collection, using the specified delimiter. Returns\n * param as is if collectionFormat is multi.\n */\n exports.prototype.buildCollectionParam = function buildCollectionParam(param, collectionFormat) {\n if (param == null) {\n return null;\n }\n switch (collectionFormat) {\n case 'csv':\n return param.map(this.paramToString).join(',');\n case 'ssv':\n return param.map(this.paramToString).join(' ');\n case 'tsv':\n return param.map(this.paramToString).join('\\t');\n case 'pipes':\n return param.map(this.paramToString).join('|');\n case 'multi':\n // return the array directly as SuperAgent will handle it as expected\n return param.map(this.paramToString);\n default:\n throw new Error('Unknown collection format: ' + collectionFormat);\n }\n };\n\n /**\n * Applies authentication headers to the request.\n * @param {Object} request The request object created by a superagent() call.\n * @param {Array.data will be converted to this type.\n * @returns A value of the specified type.\n */\n exports.prototype.deserialize = function deserialize(response, returnType) {\n if (response == null || returnType == null || response.status == 204) {\n return null;\n }\n // Rely on SuperAgent for parsing response body.\n // See http://visionmedia.github.io/superagent/#parsing-response-bodies\n var data = response.body;\n if (data == null || typeof data === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {\n // SuperAgent does not always produce a body; use the unparsed response as a fallback\n data = response.text;\n }\n return exports.convertToType(data, returnType);\n };\n\n /**\n * Callback function to receive the result of the operation.\n * @callback module:ApiClient~callApiCallback\n * @param {String} error Error message, if any.\n * @param data The data returned by the service call.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Invokes the REST service using the supplied settings and parameters.\n * @param {String} path The base URL to invoke.\n * @param {String} httpMethod The HTTP method to use.\n * @param {Object.} pathParams A map of path parameters and their values.\n * @param {Object.} queryParams A map of query parameters and their values.\n * @param {Object.} collectionQueryParams A map of collection query parameters and their values.\n * @param {Object.} headerParams A map of header parameters and their values.\n * @param {Object.} formParams A map of form parameters and their values.\n * @param {Object} bodyParam The value to pass as the request body.\n * @param {Array.} authNames An array of authentication type names.\n * @param {Array.} contentTypes An array of request MIME types.\n * @param {Array.} accepts An array of acceptable response MIME types.\n * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the\n * constructor for a complex type.\n * @param {module:ApiClient~callApiCallback} callback The callback function.\n * @returns {Object} The SuperAgent request object.\n */\n exports.prototype.callApi = function callApi(path, httpMethod, pathParams, queryParams, collectionQueryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, returnType, callback) {\n\n var _this = this;\n var url = this.buildUrl(path, pathParams);\n var request = superagent(httpMethod, url);\n\n // apply authentications\n this.applyAuthToRequest(request, authNames);\n\n // set collection query parameters\n for (var key in collectionQueryParams) {\n if (collectionQueryParams.hasOwnProperty(key)) {\n var param = collectionQueryParams[key];\n if (param.collectionFormat === 'csv') {\n // SuperAgent normally percent-encodes all reserved characters in a query parameter. However,\n // commas are used as delimiters for the 'csv' collectionFormat so they must not be encoded. We\n // must therefore construct and encode 'csv' collection query parameters manually.\n if (param.value != null) {\n var value = param.value.map(this.paramToString).map(encodeURIComponent).join(',');\n request.query(encodeURIComponent(key) + \"=\" + value);\n }\n } else {\n // All other collection query parameters should be treated as ordinary query parameters.\n queryParams[key] = this.buildCollectionParam(param.value, param.collectionFormat);\n }\n }\n }\n\n // set query parameters\n if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {\n queryParams['_'] = new Date().getTime();\n }\n request.query(this.normalizeParams(queryParams));\n\n // set header parameters\n request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));\n\n // set requestAgent if it is set by user\n if (this.requestAgent) {\n request.agent(this.requestAgent);\n }\n\n // set request timeout\n request.timeout(this.timeout);\n\n var contentType = this.jsonPreferredMime(contentTypes);\n if (contentType) {\n // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)\n if (contentType != 'multipart/form-data') {\n request.type(contentType);\n }\n } else if (!request.header['Content-Type']) {\n request.type('application/json');\n }\n\n if (contentType === 'application/x-www-form-urlencoded') {\n request.send(querystring.stringify(this.normalizeParams(formParams)));\n } else if (contentType == 'multipart/form-data') {\n var _formParams = this.normalizeParams(formParams);\n for (var key in _formParams) {\n if (_formParams.hasOwnProperty(key)) {\n if (this.isFileParam(_formParams[key])) {\n // file field\n request.attach(key, _formParams[key]);\n } else {\n request.field(key, _formParams[key]);\n }\n }\n }\n } else if (bodyParam) {\n request.send(bodyParam);\n }\n\n var accept = this.jsonPreferredMime(accepts);\n if (accept) {\n request.accept(accept);\n }\n\n if (returnType === 'Blob') {\n request.responseType('blob');\n } else if (returnType === 'String') {\n request.responseType('string');\n }\n\n // Attach previously saved cookies, if enabled\n if (this.enableCookies) {\n if (typeof window === 'undefined') {\n this.agent.attachCookies(request);\n } else {\n request.withCredentials();\n }\n }\n\n request.end(function (error, response) {\n if (callback) {\n var data = null;\n if (!error) {\n try {\n data = _this.deserialize(response, returnType);\n if (_this.enableCookies && typeof window === 'undefined') {\n _this.agent.saveCookies(response);\n }\n } catch (err) {\n error = err;\n }\n }\n callback(error, data, response);\n }\n });\n\n return request;\n };\n\n /**\n * Parses an ISO-8601 string representation of a date value.\n * @param {String} str The date value as a string.\n * @returns {Date} The parsed date object.\n */\n exports.parseDate = function (str) {\n return new Date(str.replace(/T/i, ' '));\n };\n\n /**\n * Converts a value to the specified type.\n * @param {(String|Object)} data The data to convert, as a string or object.\n * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types\n * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To\n * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:\n * all properties on data will be converted to this type.\n * @returns An instance of the specified type or null or undefined if data is null or undefined.\n */\n exports.convertToType = function (data, type) {\n if (data === null || data === undefined) return data;\n\n switch (type) {\n case 'Boolean':\n return Boolean(data);\n case 'Integer':\n return parseInt(data, 10);\n case 'Number':\n return parseFloat(data);\n case 'String':\n return String(data);\n case 'Date':\n return this.parseDate(String(data));\n case 'Blob':\n return data;\n default:\n if (type === Object) {\n // generic object, return directly\n return data;\n } else if (typeof type === 'function') {\n // for model type like: User\n return type.constructFromObject(data);\n } else if (Array.isArray(type)) {\n // for array type like: ['String']\n var itemType = type[0];\n return data.map(function (item) {\n return exports.convertToType(item, itemType);\n });\n } else if (typeof type === 'object') {\n // for plain object type like: {'String': 'Integer'}\n var keyType, valueType;\n for (var k in type) {\n if (type.hasOwnProperty(k)) {\n keyType = k;\n valueType = type[k];\n break;\n }\n }\n var result = {};\n for (var k in data) {\n if (data.hasOwnProperty(k)) {\n var key = exports.convertToType(k, keyType);\n var value = exports.convertToType(data[k], valueType);\n result[key] = value;\n }\n }\n return result;\n } else {\n // for unknown type, return the data directly\n return data;\n }\n }\n };\n\n /**\n * Constructs a new map or array model from REST data.\n * @param data {Object|Array} The REST data.\n * @param obj {Object|Array} The target object or array.\n */\n exports.constructFromObject = function (data, obj, itemType) {\n if (Array.isArray(data)) {\n for (var i = 0; i < data.length; i++) {\n if (data.hasOwnProperty(i)) obj[i] = exports.convertToType(data[i], itemType);\n }\n } else {\n for (var k in data) {\n if (data.hasOwnProperty(k)) obj[k] = exports.convertToType(data[k], itemType);\n }\n }\n };\n\n /**\n * The default API client implementation.\n * @type {module:ApiClient}\n */\n exports.instance = new exports();\n\n return exports;\n});\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../demo-frontend/node_modules/buffer/index.js */ \"./node_modules/buffer/index.js\").Buffer))\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/src/ApiClient.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/src/api/IperfAppInfoApi.js":
/*!***********************************************************!*\
!*** ../iperf-proxy-client/js/src/api/IperfAppInfoApi.js ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * Demo iperf transit App API\n * This is the Demo iperf transit App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/IperfInfo'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../iperf-proxy-client/js/src/ApiClient.js\"), __webpack_require__(/*! ../model/IperfInfo */ \"../iperf-proxy-client/js/src/model/IperfInfo.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.DemoIperfTransitAppApi) {\n root.DemoIperfTransitAppApi = {};\n }\n root.DemoIperfTransitAppApi.IperfAppInfoApi = factory(root.DemoIperfTransitAppApi.ApiClient, root.DemoIperfTransitAppApi.IperfInfo);\n }\n})(this, function (ApiClient, IperfInfo) {\n 'use strict';\n\n /**\n * IperfAppInfo service.\n * @module api/IperfAppInfoApi\n * @version 0.0.1\n */\n\n /**\n * Constructs a new IperfAppInfoApi. \n * @alias module:api/IperfAppInfoApi\n * @class\n * @param {module:ApiClient} [apiClient] Optional API client implementation to use,\n * default to {@link module:ApiClient#instance} if unspecified.\n */\n\n var exports = function (apiClient) {\n this.apiClient = apiClient || ApiClient.instance;\n\n /**\n * Callback function to receive the result of the handleIperfInfo operation.\n * @callback module:api/IperfAppInfoApi~handleIperfInfoCallback\n * @param {String} error Error message, if any.\n * @param data This operation does not return a value.\n * @param {String} response The complete HTTP response.\n */\n\n /**\n * Sends iperf details to issue an iperf command on the host\n * \n * @param {module:model/IperfInfo} iperfInfo Demo transit Iperf Server Info\n * @param {module:api/IperfAppInfoApi~handleIperfInfoCallback} callback The callback function, accepting three arguments: error, data, response\n */\n this.handleIperfInfo = function (iperfInfo, callback) {\n var postBody = iperfInfo;\n\n // verify the required parameter 'iperfInfo' is set\n if (iperfInfo === undefined || iperfInfo === null) {\n throw new Error(\"Missing the required parameter 'iperfInfo' when calling handleIperfInfo\");\n }\n\n var pathParams = {};\n var queryParams = {};\n var collectionQueryParams = {};\n var headerParams = {};\n var formParams = {};\n\n var authNames = [];\n var contentTypes = ['application/json'];\n var accepts = ['application/json'];\n var returnType = null;\n\n return this.apiClient.callApi('/iperf-app', 'POST', pathParams, queryParams, collectionQueryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, callback);\n };\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/src/api/IperfAppInfoApi.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/src/index.js":
/*!*********************************************!*\
!*** ../iperf-proxy-client/js/src/index.js ***!
\*********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * Demo iperf transit App API\n * This is the Demo iperf transit App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient', 'model/IperfInfo', 'api/IperfAppInfoApi'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ./ApiClient */ \"../iperf-proxy-client/js/src/ApiClient.js\"), __webpack_require__(/*! ./model/IperfInfo */ \"../iperf-proxy-client/js/src/model/IperfInfo.js\"), __webpack_require__(/*! ./api/IperfAppInfoApi */ \"../iperf-proxy-client/js/src/api/IperfAppInfoApi.js\"));\n }\n})(function (ApiClient, IperfInfo, IperfAppInfoApi) {\n 'use strict';\n\n /**\n * This_is_the_Demo_iperf_transit_App_API.
\n * The index module provides access to constructors for all the classes which comprise the public API.\n * \n * An AMD (recommended!) or CommonJS application will generally do something equivalent to the following:\n *
\n * var DemoIperfTransitAppApi = require('index'); // See note below*.\n * var xxxSvc = new DemoIperfTransitAppApi.XxxApi(); // Allocate the API class we're going to use.\n * var yyyModel = new DemoIperfTransitAppApi.Yyy(); // Construct a model instance.\n * yyyModel.someProperty = 'someValue';\n * ...\n * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.\n * ...\n * \n * *NOTE: For a top-level AMD script, use require(['index'], function(){...})\n * and put the application logic within the callback function.\n * \n * \n * A non-AMD browser application (discouraged) might do something like this:\n *
\n * var xxxSvc = new DemoIperfTransitAppApi.XxxApi(); // Allocate the API class we're going to use.\n * var yyy = new DemoIperfTransitAppApi.Yyy(); // Construct a model instance.\n * yyyModel.someProperty = 'someValue';\n * ...\n * var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.\n * ...\n *
\n * \n * @module index\n * @version 0.0.1\n */\n\n var exports = {\n /**\n * The ApiClient constructor.\n * @property {module:ApiClient}\n */\n ApiClient: ApiClient,\n /**\n * The IperfInfo model constructor.\n * @property {module:model/IperfInfo}\n */\n IperfInfo: IperfInfo,\n /**\n * The IperfAppInfoApi service constructor.\n * @property {module:api/IperfAppInfoApi}\n */\n IperfAppInfoApi: IperfAppInfoApi\n };\n\n return exports;\n});\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/src/index.js?");
/***/ }),
/***/ "../iperf-proxy-client/js/src/model/IperfInfo.js":
/*!*******************************************************!*\
!*** ../iperf-proxy-client/js/src/model/IperfInfo.js ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/**\n * Demo iperf transit App API\n * This is the Demo iperf transit App API\n *\n * OpenAPI spec version: 0.0.1\n *\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen.git\n *\n * Swagger Codegen version: 2.4.1\n *\n * Do not edit the class manually.\n *\n */\n\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(['ApiClient'], factory);\n } else if ( true && module.exports) {\n // CommonJS-like environments that support module.exports, like Node.\n module.exports = factory(__webpack_require__(/*! ../ApiClient */ \"../iperf-proxy-client/js/src/ApiClient.js\"));\n } else {\n // Browser globals (root is window)\n if (!root.DemoIperfTransitAppApi) {\n root.DemoIperfTransitAppApi = {};\n }\n root.DemoIperfTransitAppApi.IperfInfo = factory(root.DemoIperfTransitAppApi.ApiClient);\n }\n})(this, function (ApiClient) {\n 'use strict';\n\n /**\n * The IperfInfo model module.\n * @module model/IperfInfo\n * @version 0.0.1\n */\n\n /**\n * Constructs a new IperfInfo.\n * Iperf info for transit iperf server basic information object\n * @alias module:model/IperfInfo\n * @class\n */\n\n var exports = function () {\n var _this = this;\n };\n\n /**\n * Constructs a IperfInfo from a plain JavaScript object, optionally creating a new instance.\n * Copies all relevant properties from data to obj if supplied or a new instance if not.\n * @param {Object} data The plain JavaScript object bearing properties of interest.\n * @param {module:model/IperfInfo} obj Optional instance to populate.\n * @return {module:model/IperfInfo} The populated IperfInfo instance.\n */\n exports.constructFromObject = function (data, obj) {\n if (data) {\n obj = obj || new exports();\n\n if (data.hasOwnProperty('name')) {\n obj['name'] = ApiClient.convertToType(data['name'], 'String');\n }\n if (data.hasOwnProperty('app')) {\n obj['app'] = ApiClient.convertToType(data['app'], 'String');\n }\n if (data.hasOwnProperty('throughput')) {\n obj['throughput'] = ApiClient.convertToType(data['throughput'], 'Number');\n }\n }\n return obj;\n };\n\n /**\n * Ue Name / UeId generating the traffic\n * @member {String} name\n */\n exports.prototype['name'] = undefined;\n /**\n * Selected Traffic App\n * @member {String} app\n */\n exports.prototype['app'] = undefined;\n /**\n * Throughput of Traffic App (in Mbps)\n * @member {Number} throughput\n */\n exports.prototype['throughput'] = undefined;\n\n return exports;\n});\n\n//# sourceURL=webpack:///../iperf-proxy-client/js/src/model/IperfInfo.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/assertThisInitialized.js":
/*!**********************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/assertThisInitialized.js ***!
\**********************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}\n\nmodule.exports = _assertThisInitialized;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/assertThisInitialized.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/classCallCheck.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nmodule.exports = _classCallCheck;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/classCallCheck.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/createClass.js":
/*!************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
\************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n}\n\nmodule.exports = _createClass;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/createClass.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/defineProperty.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nmodule.exports = _defineProperty;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/defineProperty.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/extends.js":
/*!********************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/extends.js ***!
\********************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _extends() {\n module.exports = _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nmodule.exports = _extends;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/extends.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/getPrototypeOf.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/getPrototypeOf.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _getPrototypeOf(o) {\n module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n}\n\nmodule.exports = _getPrototypeOf;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/getPrototypeOf.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/inherits.js":
/*!*********************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/inherits.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("var setPrototypeOf = __webpack_require__(/*! ./setPrototypeOf */ \"./node_modules/@babel/runtime/helpers/setPrototypeOf.js\");\n\nfunction _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) setPrototypeOf(subClass, superClass);\n}\n\nmodule.exports = _inherits;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/inherits.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/interopRequireDefault.js":
/*!**********************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/interopRequireDefault.js ***!
\**********************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nmodule.exports = _interopRequireDefault;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/interopRequireDefault.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/interopRequireWildcard.js":
/*!***********************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/interopRequireWildcard.js ***!
\***********************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _interopRequireWildcard(obj) {\n if (obj && obj.__esModule) {\n return obj;\n } else {\n var newObj = {};\n\n if (obj != null) {\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {};\n\n if (desc.get || desc.set) {\n Object.defineProperty(newObj, key, desc);\n } else {\n newObj[key] = obj[key];\n }\n }\n }\n }\n\n newObj.default = obj;\n return newObj;\n }\n}\n\nmodule.exports = _interopRequireWildcard;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/interopRequireWildcard.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/objectWithoutProperties.js":
/*!************************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/objectWithoutProperties.js ***!
\************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("var objectWithoutPropertiesLoose = __webpack_require__(/*! ./objectWithoutPropertiesLoose */ \"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/objectWithoutProperties.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js ***!
\*****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js":
/*!**************************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js ***!
\**************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("var _typeof = __webpack_require__(/*! ../helpers/typeof */ \"./node_modules/@babel/runtime/helpers/typeof.js\");\n\nvar assertThisInitialized = __webpack_require__(/*! ./assertThisInitialized */ \"./node_modules/@babel/runtime/helpers/assertThisInitialized.js\");\n\nfunction _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n\n return assertThisInitialized(self);\n}\n\nmodule.exports = _possibleConstructorReturn;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/setPrototypeOf.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/setPrototypeOf.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _setPrototypeOf(o, p) {\n module.exports = _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nmodule.exports = _setPrototypeOf;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/setPrototypeOf.js?");
/***/ }),
/***/ "./node_modules/@babel/runtime/helpers/typeof.js":
/*!*******************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("function _typeof2(obj) { if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof2 = function _typeof2(obj) { return typeof obj; }; } else { _typeof2 = function _typeof2(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof2(obj); }\n\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n module.exports = _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n module.exports = _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\n}\n\nmodule.exports = _typeof;\n\n//# sourceURL=webpack:///./node_modules/@babel/runtime/helpers/typeof.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/Toolbar/Toolbar.js":
/*!***********************************************************!*\
!*** ./node_modules/@material-ui/core/Toolbar/Toolbar.js ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.styles = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/defineProperty.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"./node_modules/react/index.js\"));\n\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\"));\n\nvar _classnames = _interopRequireDefault(__webpack_require__(/*! classnames */ \"./node_modules/classnames/index.js\"));\n\nvar _withStyles = _interopRequireDefault(__webpack_require__(/*! ../styles/withStyles */ \"./node_modules/@material-ui/core/styles/withStyles.js\"));\n\nvar styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `disableGutters={false}`. */\n gutters: theme.mixins.gutters(),\n\n /* Styles applied to the root element if `variant=\"regular\"`. */\n regular: theme.mixins.toolbar,\n\n /* Styles applied to the root element if `variant=\"dense\"`. */\n dense: {\n minHeight: 48\n }\n };\n};\n\nexports.styles = styles;\n\nfunction Toolbar(props) {\n var children = props.children,\n classes = props.classes,\n classNameProp = props.className,\n disableGutters = props.disableGutters,\n variant = props.variant,\n other = (0, _objectWithoutProperties2.default)(props, [\"children\", \"classes\", \"className\", \"disableGutters\", \"variant\"]);\n var className = (0, _classnames.default)(classes.root, classes[variant], (0, _defineProperty2.default)({}, classes.gutters, !disableGutters), classNameProp);\n return _react.default.createElement(\"div\", (0, _extends2.default)({\n className: className\n }, other), children);\n}\n\nToolbar.propTypes = true ? {\n /**\n * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`.\n */\n children: _propTypes.default.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css-api) below for more details.\n */\n classes: _propTypes.default.object.isRequired,\n\n /**\n * @ignore\n */\n className: _propTypes.default.string,\n\n /**\n * If `true`, disables gutter padding.\n */\n disableGutters: _propTypes.default.bool,\n\n /**\n * The variant to use.\n */\n variant: _propTypes.default.oneOf(['regular', 'dense'])\n} : undefined;\nToolbar.defaultProps = {\n disableGutters: false,\n variant: 'regular'\n};\n\nvar _default = (0, _withStyles.default)(styles, {\n name: 'MuiToolbar'\n})(Toolbar);\n\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/Toolbar/Toolbar.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/Toolbar/index.js":
/*!*********************************************************!*\
!*** ./node_modules/@material-ui/core/Toolbar/index.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function get() {\n return _Toolbar.default;\n }\n});\n\nvar _Toolbar = _interopRequireDefault(__webpack_require__(/*! ./Toolbar */ \"./node_modules/@material-ui/core/Toolbar/Toolbar.js\"));\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/Toolbar/index.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/colors/common.js":
/*!*********************************************************!*\
!*** ./node_modules/@material-ui/core/colors/common.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar common = {\n black: '#000',\n white: '#fff'\n};\nvar _default = common;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/colors/common.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/colors/grey.js":
/*!*******************************************************!*\
!*** ./node_modules/@material-ui/core/colors/grey.js ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar grey = {\n 50: '#fafafa',\n 100: '#f5f5f5',\n 200: '#eeeeee',\n 300: '#e0e0e0',\n 400: '#bdbdbd',\n 500: '#9e9e9e',\n 600: '#757575',\n 700: '#616161',\n 800: '#424242',\n 900: '#212121',\n A100: '#d5d5d5',\n A200: '#aaaaaa',\n A400: '#303030',\n A700: '#616161'\n};\nvar _default = grey;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/colors/grey.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/colors/indigo.js":
/*!*********************************************************!*\
!*** ./node_modules/@material-ui/core/colors/indigo.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar indigo = {\n 50: '#e8eaf6',\n 100: '#c5cae9',\n 200: '#9fa8da',\n 300: '#7986cb',\n 400: '#5c6bc0',\n 500: '#3f51b5',\n 600: '#3949ab',\n 700: '#303f9f',\n 800: '#283593',\n 900: '#1a237e',\n A100: '#8c9eff',\n A200: '#536dfe',\n A400: '#3d5afe',\n A700: '#304ffe'\n};\nvar _default = indigo;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/colors/indigo.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/colors/pink.js":
/*!*******************************************************!*\
!*** ./node_modules/@material-ui/core/colors/pink.js ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar pink = {\n 50: '#fce4ec',\n 100: '#f8bbd0',\n 200: '#f48fb1',\n 300: '#f06292',\n 400: '#ec407a',\n 500: '#e91e63',\n 600: '#d81b60',\n 700: '#c2185b',\n 800: '#ad1457',\n 900: '#880e4f',\n A100: '#ff80ab',\n A200: '#ff4081',\n A400: '#f50057',\n A700: '#c51162'\n};\nvar _default = pink;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/colors/pink.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/colors/red.js":
/*!******************************************************!*\
!*** ./node_modules/@material-ui/core/colors/red.js ***!
\******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar red = {\n 50: '#ffebee',\n 100: '#ffcdd2',\n 200: '#ef9a9a',\n 300: '#e57373',\n 400: '#ef5350',\n 500: '#f44336',\n 600: '#e53935',\n 700: '#d32f2f',\n 800: '#c62828',\n 900: '#b71c1c',\n A100: '#ff8a80',\n A200: '#ff5252',\n A400: '#ff1744',\n A700: '#d50000'\n};\nvar _default = red;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/colors/red.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/colorManipulator.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/colorManipulator.js ***!
\*******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.convertHexToRGB = convertHexToRGB;\nexports.rgbToHex = rgbToHex;\nexports.decomposeColor = decomposeColor;\nexports.recomposeColor = recomposeColor;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.emphasize = emphasize;\nexports.fade = fade;\nexports.darken = darken;\nexports.lighten = lighten;\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\n/* eslint-disable no-use-before-define */\n\n/**\n * Returns a number whose value is limited to the given range.\n *\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clamp(value) {\n var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n true ? (0, _warning.default)(value >= min && value <= max, \"Material-UI: the value provided \".concat(value, \" is out of range [\").concat(min, \", \").concat(max, \"].\")) : undefined;\n\n if (value < min) {\n return min;\n }\n\n if (value > max) {\n return max;\n }\n\n return value;\n}\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n *\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\n\n\nfunction convertHexToRGB(color) {\n color = color.substr(1);\n var re = new RegExp(\".{1,\".concat(color.length / 3, \"}\"), 'g');\n var colors = color.match(re);\n\n if (colors && colors[0].length === 1) {\n colors = colors.map(function (n) {\n return n + n;\n });\n }\n\n return colors ? \"rgb(\".concat(colors.map(function (n) {\n return parseInt(n, 16);\n }).join(', '), \")\") : '';\n}\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n *\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\n\n\nfunction rgbToHex(color) {\n // Pass hex straight through\n if (color.indexOf('#') === 0) {\n return color;\n }\n\n function intToHex(c) {\n var hex = c.toString(16);\n return hex.length === 1 ? \"0\".concat(hex) : hex;\n }\n\n var _decomposeColor = decomposeColor(color),\n values = _decomposeColor.values;\n\n values = values.map(function (n) {\n return intToHex(n);\n });\n return \"#\".concat(values.join(''));\n}\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\n\n\nfunction decomposeColor(color) {\n if (color.charAt(0) === '#') {\n return decomposeColor(convertHexToRGB(color));\n }\n\n var marker = color.indexOf('(');\n var type = color.substring(0, marker);\n var values = color.substring(marker + 1, color.length - 1).split(',');\n values = values.map(function (value) {\n return parseFloat(value);\n });\n\n if (true) {\n if (['rgb', 'rgba', 'hsl', 'hsla'].indexOf(type) === -1) {\n throw new Error([\"Material-UI: unsupported `\".concat(color, \"` color.\"), 'We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla().'].join('\\n'));\n }\n }\n\n return {\n type: type,\n values: values\n };\n}\n/**\n * Converts a color object with type and values to a string.\n *\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\n\n\nfunction recomposeColor(color) {\n var type = color.type;\n var values = color.values;\n\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map(function (n, i) {\n return i < 3 ? parseInt(n, 10) : n;\n });\n }\n\n if (type.indexOf('hsl') !== -1) {\n values[1] = \"\".concat(values[1], \"%\");\n values[2] = \"\".concat(values[2], \"%\");\n }\n\n return \"\".concat(color.type, \"(\").concat(values.join(', '), \")\");\n}\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\n\n\nfunction getContrastRatio(foreground, background) {\n var lumA = getLuminance(foreground);\n var lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\n\n\nfunction getLuminance(color) {\n var decomposedColor = decomposeColor(color);\n\n if (decomposedColor.type.indexOf('rgb') !== -1) {\n var rgb = decomposedColor.values.map(function (val) {\n val /= 255; // normalized\n\n return val <= 0.03928 ? val / 12.92 : Math.pow((val + 0.055) / 1.055, 2.4);\n }); // Truncate at 3 digits\n\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n } // else if (decomposedColor.type.indexOf('hsl') !== -1)\n\n\n return decomposedColor.values[2] / 100;\n}\n/**\n * Darken or lighten a colour, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction emphasize(color) {\n var coefficient = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0.15;\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\n/**\n * Set the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} value - value to set the alpha channel to in the range 0 -1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction fade(color, value) {\n true ? (0, _warning.default)(color, \"Material-UI: missing color argument in fade(\".concat(color, \", \").concat(value, \").\")) : undefined;\n if (!color) return color;\n color = decomposeColor(color);\n value = clamp(value);\n\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n\n color.values[3] = value;\n return recomposeColor(color);\n}\n/**\n * Darkens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction darken(color, coefficient) {\n true ? (0, _warning.default)(color, \"Material-UI: missing color argument in darken(\".concat(color, \", \").concat(coefficient, \").\")) : undefined;\n if (!color) return color;\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n/**\n * Lightens a color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\n\n\nfunction lighten(color, coefficient) {\n true ? (0, _warning.default)(color, \"Material-UI: missing color argument in lighten(\".concat(color, \", \").concat(coefficient, \").\")) : undefined;\n if (!color) return color;\n color = decomposeColor(color);\n coefficient = clamp(coefficient);\n\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (var i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n }\n\n return recomposeColor(color);\n}\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/colorManipulator.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createBreakpoints.js":
/*!********************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createBreakpoints.js ***!
\********************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createBreakpoints;\nexports.keys = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\n// Sorted ASC by size. That's important.\n// It can't be configured as it's used statically for propTypes.\nvar keys = ['xs', 'sm', 'md', 'lg', 'xl']; // Keep in mind that @media is inclusive by the CSS specification.\n\nexports.keys = keys;\n\nfunction createBreakpoints(breakpoints) {\n var _breakpoints$values = breakpoints.values,\n values = _breakpoints$values === void 0 ? {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n } : _breakpoints$values,\n _breakpoints$unit = breakpoints.unit,\n unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,\n _breakpoints$step = breakpoints.step,\n step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,\n other = (0, _objectWithoutProperties2.default)(breakpoints, [\"values\", \"unit\", \"step\"]);\n\n function up(key) {\n var value = typeof values[key] === 'number' ? values[key] : key;\n return \"@media (min-width:\".concat(value).concat(unit, \")\");\n }\n\n function down(key) {\n var endIndex = keys.indexOf(key) + 1;\n var upperbound = values[keys[endIndex]];\n\n if (endIndex === keys.length) {\n // xl down applies to all sizes\n return up('xs');\n }\n\n var value = typeof upperbound === 'number' && endIndex > 0 ? upperbound : key;\n return \"@media (max-width:\".concat(value - step / 100).concat(unit, \")\");\n }\n\n function between(start, end) {\n var endIndex = keys.indexOf(end) + 1;\n\n if (endIndex === keys.length) {\n return up(start);\n }\n\n return \"@media (min-width:\".concat(values[start]).concat(unit, \") and \") + \"(max-width:\".concat(values[keys[endIndex]] - step / 100).concat(unit, \")\");\n }\n\n function only(key) {\n return between(key, key);\n }\n\n function width(key) {\n return values[key];\n }\n\n return (0, _extends2.default)({\n keys: keys,\n values: values,\n up: up,\n down: down,\n between: between,\n only: only,\n width: width\n }, other);\n}\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/createBreakpoints.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createGenerateClassName.js":
/*!**************************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createGenerateClassName.js ***!
\**************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/* WEBPACK VAR INJECTION */(function(global) {\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createGenerateClassName;\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\n/* eslint-disable no-underscore-dangle */\n// People might bundle this classname generator twice.\n// We need to use a global.\nglobal.__MUI_GENERATOR_COUNTER__ = 0;\nvar escapeRegex = /([[\\].#*$><+~=|^:(),\"'`\\s])/g;\n\nfunction safePrefix(classNamePrefix) {\n var prefix = String(classNamePrefix);\n true ? (0, _warning.default)(prefix.length < 256, \"Material-UI: the class name prefix is too long: \".concat(prefix, \".\")) : undefined; // Sanitize the string as will be used to prefix the generated class name.\n\n return prefix.replace(escapeRegex, '-');\n} // Returns a function which generates unique class names based on counters.\n// When new generator function is created, rule counter is reset.\n// We need to reset the rule counter for SSR for each request.\n//\n// It's inspired by\n// https://github.com/cssinjs/jss/blob/4e6a05dd3f7b6572fdd3ab216861d9e446c20331/src/utils/createGenerateClassName.js\n\n\nfunction createGenerateClassName() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$dangerouslyU = options.dangerouslyUseGlobalCSS,\n dangerouslyUseGlobalCSS = _options$dangerouslyU === void 0 ? false : _options$dangerouslyU,\n _options$productionPr = options.productionPrefix,\n productionPrefix = _options$productionPr === void 0 ? 'jss' : _options$productionPr;\n var ruleCounter = 0; // - HMR can lead to many class name generators being instantiated,\n // so the warning is only triggered in production.\n // - We expect a class name generator to be instantiated per new request on the server,\n // so the warning is only triggered client side.\n\n if (false) {}\n\n return function (rule, styleSheet) {\n ruleCounter += 1;\n true ? (0, _warning.default)(ruleCounter < 1e10, ['Material-UI: you might have a memory leak.', 'The ruleCounter is not supposed to grow that much.'].join('')) : undefined; // Code branch the whole block at the expense of more code.\n\n if (dangerouslyUseGlobalCSS) {\n if (styleSheet) {\n if (styleSheet.options.name) {\n return \"\".concat(styleSheet.options.name, \"-\").concat(rule.key);\n }\n\n if (styleSheet.options.classNamePrefix && \"development\" !== 'production') {\n var prefix = safePrefix(styleSheet.options.classNamePrefix);\n return \"\".concat(prefix, \"-\").concat(rule.key, \"-\").concat(ruleCounter);\n }\n }\n\n if (false) {}\n\n return \"\".concat(rule.key, \"-\").concat(ruleCounter);\n }\n\n if (false) {}\n\n if (styleSheet && styleSheet.options.classNamePrefix) {\n var _prefix = safePrefix(styleSheet.options.classNamePrefix);\n\n return \"\".concat(_prefix, \"-\").concat(rule.key, \"-\").concat(ruleCounter);\n }\n\n return \"\".concat(rule.key, \"-\").concat(ruleCounter);\n };\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/@material-ui/core/styles/createGenerateClassName.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createMixins.js":
/*!***************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createMixins.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createMixins;\n\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/defineProperty.js\"));\n\nvar _extends3 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nfunction createMixins(breakpoints, spacing, mixins) {\n var _toolbar;\n\n return (0, _extends3.default)({\n gutters: function gutters() {\n var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return (0, _extends3.default)({\n paddingLeft: spacing.unit * 2,\n paddingRight: spacing.unit * 2\n }, styles, (0, _defineProperty2.default)({}, breakpoints.up('sm'), (0, _extends3.default)({\n paddingLeft: spacing.unit * 3,\n paddingRight: spacing.unit * 3\n }, styles[breakpoints.up('sm')])));\n },\n toolbar: (_toolbar = {\n minHeight: 56\n }, (0, _defineProperty2.default)(_toolbar, \"\".concat(breakpoints.up('xs'), \" and (orientation: landscape)\"), {\n minHeight: 48\n }), (0, _defineProperty2.default)(_toolbar, breakpoints.up('sm'), {\n minHeight: 64\n }), _toolbar)\n }, mixins);\n}\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/createMixins.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createMuiTheme.js":
/*!*****************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createMuiTheme.js ***!
\*****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _deepmerge = _interopRequireDefault(__webpack_require__(/*! deepmerge */ \"./node_modules/deepmerge/dist/es.js\"));\n\nvar _isPlainObject = _interopRequireDefault(__webpack_require__(/*! is-plain-object */ \"./node_modules/is-plain-object/index.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\nvar _createBreakpoints = _interopRequireDefault(__webpack_require__(/*! ./createBreakpoints */ \"./node_modules/@material-ui/core/styles/createBreakpoints.js\"));\n\nvar _createMixins = _interopRequireDefault(__webpack_require__(/*! ./createMixins */ \"./node_modules/@material-ui/core/styles/createMixins.js\"));\n\nvar _createPalette = _interopRequireDefault(__webpack_require__(/*! ./createPalette */ \"./node_modules/@material-ui/core/styles/createPalette.js\"));\n\nvar _createTypography = _interopRequireDefault(__webpack_require__(/*! ./createTypography */ \"./node_modules/@material-ui/core/styles/createTypography.js\"));\n\nvar _shadows = _interopRequireDefault(__webpack_require__(/*! ./shadows */ \"./node_modules/@material-ui/core/styles/shadows.js\"));\n\nvar _shape = _interopRequireDefault(__webpack_require__(/*! ./shape */ \"./node_modules/@material-ui/core/styles/shape.js\"));\n\nvar _spacing = _interopRequireDefault(__webpack_require__(/*! ./spacing */ \"./node_modules/@material-ui/core/styles/spacing.js\"));\n\nvar _transitions = _interopRequireDefault(__webpack_require__(/*! ./transitions */ \"./node_modules/@material-ui/core/styles/transitions.js\"));\n\nvar _zIndex = _interopRequireDefault(__webpack_require__(/*! ./zIndex */ \"./node_modules/@material-ui/core/styles/zIndex.js\"));\n\n// < 1kb payload overhead when lodash/merge is > 3kb.\nfunction createMuiTheme() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _options$breakpoints = options.breakpoints,\n breakpointsInput = _options$breakpoints === void 0 ? {} : _options$breakpoints,\n _options$mixins = options.mixins,\n mixinsInput = _options$mixins === void 0 ? {} : _options$mixins,\n _options$palette = options.palette,\n paletteInput = _options$palette === void 0 ? {} : _options$palette,\n shadowsInput = options.shadows,\n _options$typography = options.typography,\n typographyInput = _options$typography === void 0 ? {} : _options$typography,\n other = (0, _objectWithoutProperties2.default)(options, [\"breakpoints\", \"mixins\", \"palette\", \"shadows\", \"typography\"]);\n var palette = (0, _createPalette.default)(paletteInput);\n var breakpoints = (0, _createBreakpoints.default)(breakpointsInput);\n var muiTheme = (0, _extends2.default)({\n breakpoints: breakpoints,\n direction: 'ltr',\n mixins: (0, _createMixins.default)(breakpoints, _spacing.default, mixinsInput),\n overrides: {},\n // Inject custom styles\n palette: palette,\n props: {},\n // Inject custom properties\n shadows: shadowsInput || _shadows.default,\n typography: (0, _createTypography.default)(palette, typographyInput)\n }, (0, _deepmerge.default)({\n shape: _shape.default,\n spacing: _spacing.default,\n transitions: _transitions.default,\n zIndex: _zIndex.default\n }, other, {\n isMergeableObject: _isPlainObject.default\n }));\n true ? (0, _warning.default)(muiTheme.shadows.length === 25, 'Material-UI: the shadows array provided to createMuiTheme should support 25 elevations.') : undefined;\n return muiTheme;\n}\n\nvar _default = createMuiTheme;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/createMuiTheme.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createPalette.js":
/*!****************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createPalette.js ***!
\****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createPalette;\nexports.dark = exports.light = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\nvar _deepmerge = _interopRequireDefault(__webpack_require__(/*! deepmerge */ \"./node_modules/deepmerge/dist/es.js\"));\n\nvar _indigo = _interopRequireDefault(__webpack_require__(/*! ../colors/indigo */ \"./node_modules/@material-ui/core/colors/indigo.js\"));\n\nvar _pink = _interopRequireDefault(__webpack_require__(/*! ../colors/pink */ \"./node_modules/@material-ui/core/colors/pink.js\"));\n\nvar _grey = _interopRequireDefault(__webpack_require__(/*! ../colors/grey */ \"./node_modules/@material-ui/core/colors/grey.js\"));\n\nvar _red = _interopRequireDefault(__webpack_require__(/*! ../colors/red */ \"./node_modules/@material-ui/core/colors/red.js\"));\n\nvar _common = _interopRequireDefault(__webpack_require__(/*! ../colors/common */ \"./node_modules/@material-ui/core/colors/common.js\"));\n\nvar _colorManipulator = __webpack_require__(/*! ./colorManipulator */ \"./node_modules/@material-ui/core/styles/colorManipulator.js\");\n\n// < 1kb payload overhead when lodash/merge is > 3kb.\nvar light = {\n // The colors used to style the text.\n text: {\n // The most important text.\n primary: 'rgba(0, 0, 0, 0.87)',\n // Secondary text.\n secondary: 'rgba(0, 0, 0, 0.54)',\n // Disabled text have even lower visual prominence.\n disabled: 'rgba(0, 0, 0, 0.38)',\n // Text hints.\n hint: 'rgba(0, 0, 0, 0.38)'\n },\n // The color used to divide different elements.\n divider: 'rgba(0, 0, 0, 0.12)',\n // The background colors used to style the surfaces.\n // Consistency between these values is important.\n background: {\n paper: _common.default.white,\n default: _grey.default[50]\n },\n // The colors used to style the action elements.\n action: {\n // The color of an active action like an icon button.\n active: 'rgba(0, 0, 0, 0.54)',\n // The color of an hovered action.\n hover: 'rgba(0, 0, 0, 0.08)',\n hoverOpacity: 0.08,\n // The color of a selected action.\n selected: 'rgba(0, 0, 0, 0.14)',\n // The color of a disabled action.\n disabled: 'rgba(0, 0, 0, 0.26)',\n // The background color of a disabled action.\n disabledBackground: 'rgba(0, 0, 0, 0.12)'\n }\n};\nexports.light = light;\nvar dark = {\n text: {\n primary: _common.default.white,\n secondary: 'rgba(255, 255, 255, 0.7)',\n disabled: 'rgba(255, 255, 255, 0.5)',\n hint: 'rgba(255, 255, 255, 0.5)',\n icon: 'rgba(255, 255, 255, 0.5)'\n },\n divider: 'rgba(255, 255, 255, 0.12)',\n background: {\n paper: _grey.default[800],\n default: '#303030'\n },\n action: {\n active: _common.default.white,\n hover: 'rgba(255, 255, 255, 0.1)',\n hoverOpacity: 0.1,\n selected: 'rgba(255, 255, 255, 0.2)',\n disabled: 'rgba(255, 255, 255, 0.3)',\n disabledBackground: 'rgba(255, 255, 255, 0.12)'\n }\n};\nexports.dark = dark;\n\nfunction addLightOrDark(intent, direction, shade, tonalOffset) {\n if (!intent[direction]) {\n if (intent.hasOwnProperty(shade)) {\n intent[direction] = intent[shade];\n } else if (direction === 'light') {\n intent.light = (0, _colorManipulator.lighten)(intent.main, tonalOffset);\n } else if (direction === 'dark') {\n intent.dark = (0, _colorManipulator.darken)(intent.main, tonalOffset * 1.5);\n }\n }\n}\n\nfunction createPalette(palette) {\n var _palette$primary = palette.primary,\n primary = _palette$primary === void 0 ? {\n light: _indigo.default[300],\n main: _indigo.default[500],\n dark: _indigo.default[700]\n } : _palette$primary,\n _palette$secondary = palette.secondary,\n secondary = _palette$secondary === void 0 ? {\n light: _pink.default.A200,\n main: _pink.default.A400,\n dark: _pink.default.A700\n } : _palette$secondary,\n _palette$error = palette.error,\n error = _palette$error === void 0 ? {\n light: _red.default[300],\n main: _red.default[500],\n dark: _red.default[700]\n } : _palette$error,\n _palette$type = palette.type,\n type = _palette$type === void 0 ? 'light' : _palette$type,\n _palette$contrastThre = palette.contrastThreshold,\n contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,\n _palette$tonalOffset = palette.tonalOffset,\n tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,\n other = (0, _objectWithoutProperties2.default)(palette, [\"primary\", \"secondary\", \"error\", \"type\", \"contrastThreshold\", \"tonalOffset\"]);\n\n function getContrastText(background) {\n // Use the same logic as\n // Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59\n // and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54\n var contrastText = (0, _colorManipulator.getContrastRatio)(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;\n\n if (true) {\n var contrast = (0, _colorManipulator.getContrastRatio)(background, contrastText);\n true ? (0, _warning.default)(contrast >= 3, [\"Material-UI: the contrast ratio of \".concat(contrast, \":1 for \").concat(contrastText, \" on \").concat(background), 'falls below the WACG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\\n')) : undefined;\n }\n\n return contrastText;\n }\n\n function augmentColor(color) {\n var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;\n var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;\n var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;\n\n if (!color.main && color[mainShade]) {\n color.main = color[mainShade];\n }\n\n if ( true && !color.main) {\n throw new Error(['Material-UI: the color provided to augmentColor(color) is invalid.', \"The color object needs to have a `main` property or a `\".concat(mainShade, \"` property.\")].join('\\n'));\n }\n\n addLightOrDark(color, 'light', lightShade, tonalOffset);\n addLightOrDark(color, 'dark', darkShade, tonalOffset);\n\n if (!color.contrastText) {\n color.contrastText = getContrastText(color.main);\n }\n }\n\n augmentColor(primary);\n augmentColor(secondary, 'A400', 'A200', 'A700');\n augmentColor(error);\n var types = {\n dark: dark,\n light: light\n };\n true ? (0, _warning.default)(types[type], \"Material-UI: the palette type `\".concat(type, \"` is not supported.\")) : undefined;\n var paletteOutput = (0, _deepmerge.default)((0, _extends2.default)({\n // A collection of common colors.\n common: _common.default,\n // The palette type, can be light or dark.\n type: type,\n // The colors used to represent primary interface elements for a user.\n primary: primary,\n // The colors used to represent secondary interface elements for a user.\n secondary: secondary,\n // The colors used to represent interface elements that the user should be made aware of.\n error: error,\n // The grey colors.\n grey: _grey.default,\n // Used by `getContrastText()` to maximize the contrast between the background and\n // the text.\n contrastThreshold: contrastThreshold,\n // Take a background color and return the color of the text to maximize the contrast.\n getContrastText: getContrastText,\n // Generate a rich color object.\n augmentColor: augmentColor,\n // Used by the functions below to shift a color's luminance by approximately\n // two indexes within its tonal palette.\n // E.g., shift from Red 500 to Red 300 or Red 700.\n tonalOffset: tonalOffset\n }, types[type]), other, {\n clone: false // No need to clone deep\n\n });\n return paletteOutput;\n}\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/createPalette.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/createTypography.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/createTypography.js ***!
\*******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = createTypography;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _deepmerge = _interopRequireDefault(__webpack_require__(/*! deepmerge */ \"./node_modules/deepmerge/dist/es.js\"));\n\n// < 1kb payload overhead when lodash/merge is > 3kb.\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\n\nfunction createTypography(palette, typography) {\n var _ref = typeof typography === 'function' ? typography(palette) : typography,\n _ref$fontFamily = _ref.fontFamily,\n fontFamily = _ref$fontFamily === void 0 ? '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif' : _ref$fontFamily,\n _ref$fontSize = _ref.fontSize,\n fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize,\n _ref$fontWeightLight = _ref.fontWeightLight,\n fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight,\n _ref$fontWeightRegula = _ref.fontWeightRegular,\n fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula,\n _ref$fontWeightMedium = _ref.fontWeightMedium,\n fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium,\n _ref$htmlFontSize = _ref.htmlFontSize,\n htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,\n allVariants = _ref.allVariants,\n other = (0, _objectWithoutProperties2.default)(_ref, [\"fontFamily\", \"fontSize\", \"fontWeightLight\", \"fontWeightRegular\", \"fontWeightMedium\", \"htmlFontSize\", \"allVariants\"]);\n\n var coef = fontSize / 14;\n\n function pxToRem(value) {\n return \"\".concat(value / htmlFontSize * coef, \"rem\");\n }\n\n return (0, _deepmerge.default)({\n pxToRem: pxToRem,\n round: round,\n fontFamily: fontFamily,\n fontSize: fontSize,\n fontWeightLight: fontWeightLight,\n fontWeightRegular: fontWeightRegular,\n fontWeightMedium: fontWeightMedium,\n display4: (0, _extends2.default)({\n fontSize: pxToRem(112),\n fontWeight: fontWeightLight,\n fontFamily: fontFamily,\n letterSpacing: '-.04em',\n lineHeight: \"\".concat(round(128 / 112), \"em\"),\n marginLeft: '-.04em',\n color: palette.text.secondary\n }, allVariants),\n display3: (0, _extends2.default)({\n fontSize: pxToRem(56),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n letterSpacing: '-.02em',\n lineHeight: \"\".concat(round(73 / 56), \"em\"),\n marginLeft: '-.02em',\n color: palette.text.secondary\n }, allVariants),\n display2: (0, _extends2.default)({\n fontSize: pxToRem(45),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(51 / 45), \"em\"),\n marginLeft: '-.02em',\n color: palette.text.secondary\n }, allVariants),\n display1: (0, _extends2.default)({\n fontSize: pxToRem(34),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(41 / 34), \"em\"),\n color: palette.text.secondary\n }, allVariants),\n headline: (0, _extends2.default)({\n fontSize: pxToRem(24),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(32.5 / 24), \"em\"),\n color: palette.text.primary\n }, allVariants),\n title: (0, _extends2.default)({\n fontSize: pxToRem(21),\n fontWeight: fontWeightMedium,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(24.5 / 21), \"em\"),\n color: palette.text.primary\n }, allVariants),\n subheading: (0, _extends2.default)({\n fontSize: pxToRem(16),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(24 / 16), \"em\"),\n color: palette.text.primary\n }, allVariants),\n body2: (0, _extends2.default)({\n fontSize: pxToRem(14),\n fontWeight: fontWeightMedium,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(24 / 14), \"em\"),\n color: palette.text.primary\n }, allVariants),\n body1: (0, _extends2.default)({\n fontSize: pxToRem(14),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(20.5 / 14), \"em\"),\n color: palette.text.primary\n }, allVariants),\n caption: (0, _extends2.default)({\n fontSize: pxToRem(12),\n fontWeight: fontWeightRegular,\n fontFamily: fontFamily,\n lineHeight: \"\".concat(round(16.5 / 12), \"em\"),\n color: palette.text.secondary\n }, allVariants),\n button: (0, _extends2.default)({\n fontSize: pxToRem(14),\n textTransform: 'uppercase',\n fontWeight: fontWeightMedium,\n fontFamily: fontFamily,\n color: palette.text.primary\n }, allVariants)\n }, other, {\n clone: false // No need to clone deep\n\n });\n}\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/createTypography.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/getStylesCreator.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/getStylesCreator.js ***!
\*******************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ \"./node_modules/@babel/runtime/helpers/typeof.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\nvar _deepmerge = _interopRequireDefault(__webpack_require__(/*! deepmerge */ \"./node_modules/deepmerge/dist/es.js\"));\n\n// < 1kb payload overhead when lodash/merge is > 3kb.\n// Support for the jss-expand plugin.\nfunction arrayMerge(destination, source) {\n return source;\n}\n\nfunction getStylesCreator(stylesOrCreator) {\n var themingEnabled = typeof stylesOrCreator === 'function';\n true ? (0, _warning.default)((0, _typeof2.default)(stylesOrCreator) === 'object' || themingEnabled, ['Material-UI: the first argument provided to withStyles() is invalid.', 'You need to provide a function generating the styles or a styles object.'].join('\\n')) : undefined;\n\n function create(theme, name) {\n var styles = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;\n\n if (!name || !theme.overrides || !theme.overrides[name]) {\n return styles;\n }\n\n var overrides = theme.overrides[name];\n var stylesWithOverrides = (0, _extends2.default)({}, styles);\n Object.keys(overrides).forEach(function (key) {\n true ? (0, _warning.default)(stylesWithOverrides[key], ['Material-UI: you are trying to override a style that does not exist.', \"Fix the `\".concat(key, \"` key of `theme.overrides.\").concat(name, \"`.\")].join('\\n')) : undefined;\n stylesWithOverrides[key] = (0, _deepmerge.default)(stylesWithOverrides[key], overrides[key], {\n arrayMerge: arrayMerge\n });\n });\n return stylesWithOverrides;\n }\n\n return {\n create: create,\n options: {},\n themingEnabled: themingEnabled\n };\n}\n\nvar _default = getStylesCreator;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/getStylesCreator.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/getThemeProps.js":
/*!****************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/getThemeProps.js ***!
\****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nfunction getThemeProps(params) {\n var theme = params.theme,\n name = params.name;\n\n if (!name || !theme.props || !theme.props[name]) {\n return {};\n }\n\n return theme.props[name];\n}\n\nvar _default = getThemeProps;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/getThemeProps.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/jssPreset.js":
/*!************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/jssPreset.js ***!
\************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _jssGlobal = _interopRequireDefault(__webpack_require__(/*! jss-global */ \"./node_modules/jss-global/lib/index.js\"));\n\nvar _jssNested = _interopRequireDefault(__webpack_require__(/*! jss-nested */ \"./node_modules/jss-nested/lib/index.js\"));\n\nvar _jssCamelCase = _interopRequireDefault(__webpack_require__(/*! jss-camel-case */ \"./node_modules/jss-camel-case/lib/index.js\"));\n\nvar _jssDefaultUnit = _interopRequireDefault(__webpack_require__(/*! jss-default-unit */ \"./node_modules/jss-default-unit/lib/index.js\"));\n\nvar _jssVendorPrefixer = _interopRequireDefault(__webpack_require__(/*! jss-vendor-prefixer */ \"./node_modules/jss-vendor-prefixer/lib/index.js\"));\n\nvar _jssPropsSort = _interopRequireDefault(__webpack_require__(/*! jss-props-sort */ \"./node_modules/jss-props-sort/lib/index.js\"));\n\n// Subset of jss-preset-default with only the plugins the Material-UI\n// components are using.\nfunction jssPreset() {\n return {\n plugins: [(0, _jssGlobal.default)(), (0, _jssNested.default)(), (0, _jssCamelCase.default)(), (0, _jssDefaultUnit.default)(), (0, _jssVendorPrefixer.default)(), (0, _jssPropsSort.default)()]\n };\n}\n\nvar _default = jssPreset;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/jssPreset.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/mergeClasses.js":
/*!***************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/mergeClasses.js ***!
\***************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\nvar _getDisplayName = _interopRequireDefault(__webpack_require__(/*! recompose/getDisplayName */ \"./node_modules/recompose/getDisplayName.js\"));\n\nfunction mergeClasses() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var baseClasses = options.baseClasses,\n newClasses = options.newClasses,\n Component = options.Component,\n _options$noBase = options.noBase,\n noBase = _options$noBase === void 0 ? false : _options$noBase;\n\n if (!newClasses) {\n return baseClasses;\n }\n\n return (0, _extends2.default)({}, baseClasses, Object.keys(newClasses).reduce(function (accumulator, key) {\n true ? (0, _warning.default)(baseClasses[key] || noBase, [\"Material-UI: the key `\".concat(key, \"` \") + \"provided to the classes property is not implemented in \".concat((0, _getDisplayName.default)(Component), \".\"), \"You can only override one of the following: \".concat(Object.keys(baseClasses).join(','))].join('\\n')) : undefined;\n true ? (0, _warning.default)(!newClasses[key] || typeof newClasses[key] === 'string', [\"Material-UI: the key `\".concat(key, \"` \") + \"provided to the classes property is not valid for \".concat((0, _getDisplayName.default)(Component), \".\"), \"You need to provide a non empty string instead of: \".concat(newClasses[key], \".\")].join('\\n')) : undefined;\n\n if (newClasses[key]) {\n accumulator[key] = \"\".concat(baseClasses[key], \" \").concat(newClasses[key]);\n }\n\n return accumulator;\n }, {}));\n}\n\nvar _default = mergeClasses;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/mergeClasses.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/shadows.js":
/*!**********************************************************!*\
!*** ./node_modules/@material-ui/core/styles/shadows.js ***!
\**********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shadowKeyUmbraOpacity = 0.2;\nvar shadowKeyPenumbraOpacity = 0.14;\nvar shadowAmbientShadowOpacity = 0.12;\n\nfunction createShadow() {\n return [\"\".concat(arguments.length <= 0 ? undefined : arguments[0], \"px \").concat(arguments.length <= 1 ? undefined : arguments[1], \"px \").concat(arguments.length <= 2 ? undefined : arguments[2], \"px \").concat(arguments.length <= 3 ? undefined : arguments[3], \"px rgba(0, 0, 0, \").concat(shadowKeyUmbraOpacity, \")\"), \"\".concat(arguments.length <= 4 ? undefined : arguments[4], \"px \").concat(arguments.length <= 5 ? undefined : arguments[5], \"px \").concat(arguments.length <= 6 ? undefined : arguments[6], \"px \").concat(arguments.length <= 7 ? undefined : arguments[7], \"px rgba(0, 0, 0, \").concat(shadowKeyPenumbraOpacity, \")\"), \"\".concat(arguments.length <= 8 ? undefined : arguments[8], \"px \").concat(arguments.length <= 9 ? undefined : arguments[9], \"px \").concat(arguments.length <= 10 ? undefined : arguments[10], \"px \").concat(arguments.length <= 11 ? undefined : arguments[11], \"px rgba(0, 0, 0, \").concat(shadowAmbientShadowOpacity, \")\")].join(',');\n}\n\nvar shadows = ['none', createShadow(0, 1, 3, 0, 0, 1, 1, 0, 0, 2, 1, -1), createShadow(0, 1, 5, 0, 0, 2, 2, 0, 0, 3, 1, -2), createShadow(0, 1, 8, 0, 0, 3, 4, 0, 0, 3, 3, -2), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];\nvar _default = shadows;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/shadows.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/shape.js":
/*!********************************************************!*\
!*** ./node_modules/@material-ui/core/styles/shape.js ***!
\********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar shape = {\n borderRadius: 4\n};\nvar _default = shape;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/shape.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/spacing.js":
/*!**********************************************************!*\
!*** ./node_modules/@material-ui/core/styles/spacing.js ***!
\**********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar spacing = {\n // All components align to an 8dp square baseline grid for mobile, tablet, and desktop.\n // https://material.io/design/layout/understanding-layout.html#pixel-density\n unit: 8\n};\nvar _default = spacing;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/spacing.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/themeListener.js":
/*!****************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/themeListener.js ***!
\****************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.CHANNEL = void 0;\n\nvar _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ \"./node_modules/@babel/runtime/helpers/defineProperty.js\"));\n\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\"));\n\n// Same value used by react-jss\nvar CHANNEL = '__THEMING__';\nexports.CHANNEL = CHANNEL;\nvar themeListener = {\n contextTypes: (0, _defineProperty2.default)({}, CHANNEL, _propTypes.default.object),\n initial: function initial(context) {\n if (!context[CHANNEL]) {\n return null;\n }\n\n return context[CHANNEL].getState();\n },\n subscribe: function subscribe(context, cb) {\n if (!context[CHANNEL]) {\n return null;\n }\n\n return context[CHANNEL].subscribe(cb);\n },\n unsubscribe: function unsubscribe(context, subscriptionId) {\n if (context[CHANNEL]) {\n context[CHANNEL].unsubscribe(subscriptionId);\n }\n }\n};\nvar _default = themeListener;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/themeListener.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/transitions.js":
/*!**************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/transitions.js ***!
\**************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.isNumber = exports.isString = exports.formatMs = exports.duration = exports.easing = void 0;\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\n/* eslint-disable no-param-reassign */\n\n/* eslint-disable no-restricted-globals */\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nvar easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n}; // Follow https://material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\n\nexports.easing = easing;\nvar duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nexports.duration = duration;\n\nvar formatMs = function formatMs(milliseconds) {\n return \"\".concat(Math.round(milliseconds), \"ms\");\n};\n\nexports.formatMs = formatMs;\n\nvar isString = function isString(value) {\n return typeof value === 'string';\n};\n\nexports.isString = isString;\n\nvar isNumber = function isNumber(value) {\n return !isNaN(parseFloat(value));\n};\n/**\n * @param {string|Array} props\n * @param {object} param\n * @param {string} param.prop\n * @param {number} param.duration\n * @param {string} param.easing\n * @param {number} param.delay\n */\n\n\nexports.isNumber = isNumber;\nvar _default = {\n easing: easing,\n duration: duration,\n create: function create() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ['all'];\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$duration = options.duration,\n durationOption = _options$duration === void 0 ? duration.standard : _options$duration,\n _options$easing = options.easing,\n easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,\n _options$delay = options.delay,\n delay = _options$delay === void 0 ? 0 : _options$delay,\n other = (0, _objectWithoutProperties2.default)(options, [\"duration\", \"easing\", \"delay\"]);\n true ? (0, _warning.default)(isString(props) || Array.isArray(props), 'Material-UI: argument \"props\" must be a string or Array.') : undefined;\n true ? (0, _warning.default)(isNumber(durationOption) || isString(durationOption), \"Material-UI: argument \\\"duration\\\" must be a number or a string but found \".concat(durationOption, \".\")) : undefined;\n true ? (0, _warning.default)(isString(easingOption), 'Material-UI: argument \"easing\" must be a string.') : undefined;\n true ? (0, _warning.default)(isNumber(delay) || isString(delay), 'Material-UI: argument \"delay\" must be a number or a string.') : undefined;\n true ? (0, _warning.default)(Object.keys(other).length === 0, \"Material-UI: unrecognized argument(s) [\".concat(Object.keys(other).join(','), \"]\")) : undefined;\n return (Array.isArray(props) ? props : [props]).map(function (animatedProp) {\n return \"\".concat(animatedProp, \" \").concat(typeof durationOption === 'string' ? durationOption : formatMs(durationOption), \" \").concat(easingOption, \" \").concat(typeof delay === 'string' ? delay : formatMs(delay));\n }).join(',');\n },\n getAutoHeightDuration: function getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n\n var constant = height / 36; // https://www.wolframalpha.com/input/?i=(4+%2B+15+*+(x+%2F+36+)+**+0.25+%2B+(x+%2F+36)+%2F+5)+*+10\n\n return Math.round((4 + 15 * Math.pow(constant, 0.25) + constant / 5) * 10);\n }\n};\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/transitions.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/withStyles.js":
/*!*************************************************************!*\
!*** ./node_modules/@material-ui/core/styles/withStyles.js ***!
\*************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nvar _interopRequireWildcard = __webpack_require__(/*! @babel/runtime/helpers/interopRequireWildcard */ \"./node_modules/@babel/runtime/helpers/interopRequireWildcard.js\");\n\nvar _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ \"./node_modules/@babel/runtime/helpers/interopRequireDefault.js\");\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = exports.sheetsManager = void 0;\n\nvar _extends2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/extends */ \"./node_modules/@babel/runtime/helpers/extends.js\"));\n\nvar _classCallCheck2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/classCallCheck */ \"./node_modules/@babel/runtime/helpers/classCallCheck.js\"));\n\nvar _createClass2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/createClass */ \"./node_modules/@babel/runtime/helpers/createClass.js\"));\n\nvar _possibleConstructorReturn2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/possibleConstructorReturn */ \"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js\"));\n\nvar _getPrototypeOf2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/getPrototypeOf */ \"./node_modules/@babel/runtime/helpers/getPrototypeOf.js\"));\n\nvar _inherits2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/inherits */ \"./node_modules/@babel/runtime/helpers/inherits.js\"));\n\nvar _objectWithoutProperties2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/objectWithoutProperties */ \"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js\"));\n\nvar _react = _interopRequireDefault(__webpack_require__(/*! react */ \"./node_modules/react/index.js\"));\n\nvar _propTypes = _interopRequireDefault(__webpack_require__(/*! prop-types */ \"./node_modules/prop-types/index.js\"));\n\nvar _warning = _interopRequireDefault(__webpack_require__(/*! warning */ \"./node_modules/warning/warning.js\"));\n\nvar _hoistNonReactStatics = _interopRequireDefault(__webpack_require__(/*! hoist-non-react-statics */ \"./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js\"));\n\nvar _getDisplayName = _interopRequireDefault(__webpack_require__(/*! recompose/getDisplayName */ \"./node_modules/recompose/getDisplayName.js\"));\n\nvar _wrapDisplayName = _interopRequireDefault(__webpack_require__(/*! recompose/wrapDisplayName */ \"./node_modules/recompose/wrapDisplayName.js\"));\n\nvar _contextTypes = _interopRequireDefault(__webpack_require__(/*! react-jss/lib/contextTypes */ \"./node_modules/react-jss/lib/contextTypes.js\"));\n\nvar _jss = __webpack_require__(/*! jss */ \"./node_modules/jss/lib/index.js\");\n\nvar ns = _interopRequireWildcard(__webpack_require__(/*! react-jss/lib/ns */ \"./node_modules/react-jss/lib/ns.js\"));\n\nvar _jssPreset = _interopRequireDefault(__webpack_require__(/*! ./jssPreset */ \"./node_modules/@material-ui/core/styles/jssPreset.js\"));\n\nvar _mergeClasses = _interopRequireDefault(__webpack_require__(/*! ./mergeClasses */ \"./node_modules/@material-ui/core/styles/mergeClasses.js\"));\n\nvar _createMuiTheme = _interopRequireDefault(__webpack_require__(/*! ./createMuiTheme */ \"./node_modules/@material-ui/core/styles/createMuiTheme.js\"));\n\nvar _themeListener = _interopRequireDefault(__webpack_require__(/*! ./themeListener */ \"./node_modules/@material-ui/core/styles/themeListener.js\"));\n\nvar _createGenerateClassName = _interopRequireDefault(__webpack_require__(/*! ./createGenerateClassName */ \"./node_modules/@material-ui/core/styles/createGenerateClassName.js\"));\n\nvar _getStylesCreator = _interopRequireDefault(__webpack_require__(/*! ./getStylesCreator */ \"./node_modules/@material-ui/core/styles/getStylesCreator.js\"));\n\nvar _getThemeProps = _interopRequireDefault(__webpack_require__(/*! ./getThemeProps */ \"./node_modules/@material-ui/core/styles/getThemeProps.js\"));\n\n// Default JSS instance.\nvar jss = (0, _jss.create)((0, _jssPreset.default)()); // Use a singleton or the provided one by the context.\n\nvar generateClassName = (0, _createGenerateClassName.default)(); // Global index counter to preserve source order.\n// We create the style sheet during at the creation of the component,\n// children are handled after the parents, so the order of style elements would be parent->child.\n// It is a problem though when a parent passes a className\n// which needs to override any childs styles.\n// StyleSheet of the child has a higher specificity, because of the source order.\n// So our solution is to render sheets them in the reverse order child->sheet, so\n// that parent has a higher specificity.\n\nvar indexCounter = -10e10; // Exported for test purposes\n\nvar sheetsManager = new Map(); // We use the same empty object to ref count the styles that don't need a theme object.\n\nexports.sheetsManager = sheetsManager;\nvar noopTheme = {}; // In order to have self-supporting components, we rely on default theme when not provided.\n\nvar defaultTheme;\n\nfunction getDefaultTheme() {\n if (defaultTheme) {\n return defaultTheme;\n }\n\n defaultTheme = (0, _createMuiTheme.default)();\n return defaultTheme;\n} // Link a style sheet with a component.\n// It does not modify the component passed to it;\n// instead, it returns a new component, with a `classes` property.\n\n\nvar withStyles = function withStyles(stylesOrCreator) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return function (Component) {\n var _options$withTheme = options.withTheme,\n withTheme = _options$withTheme === void 0 ? false : _options$withTheme,\n _options$flip = options.flip,\n flip = _options$flip === void 0 ? null : _options$flip,\n name = options.name,\n styleSheetOptions = (0, _objectWithoutProperties2.default)(options, [\"withTheme\", \"flip\", \"name\"]);\n var stylesCreator = (0, _getStylesCreator.default)(stylesOrCreator);\n var listenToTheme = stylesCreator.themingEnabled || withTheme || typeof name === 'string';\n indexCounter += 1;\n stylesCreator.options.index = indexCounter;\n true ? (0, _warning.default)(indexCounter < 0, ['Material-UI: you might have a memory leak.', 'The indexCounter is not supposed to grow that much.'].join(' ')) : undefined;\n\n var WithStyles =\n /*#__PURE__*/\n function (_React$Component) {\n (0, _inherits2.default)(WithStyles, _React$Component);\n\n function WithStyles(props, context) {\n var _this;\n\n (0, _classCallCheck2.default)(this, WithStyles);\n _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(WithStyles).call(this, props, context));\n _this.disableStylesGeneration = false;\n _this.jss = null;\n _this.sheetOptions = null;\n _this.sheetsManager = sheetsManager;\n _this.stylesCreatorSaved = null;\n _this.theme = null;\n _this.unsubscribeId = null;\n _this.state = {};\n _this.jss = context[ns.jss] || jss;\n var muiThemeProviderOptions = context.muiThemeProviderOptions;\n\n if (muiThemeProviderOptions) {\n if (muiThemeProviderOptions.sheetsManager) {\n _this.sheetsManager = muiThemeProviderOptions.sheetsManager;\n }\n\n _this.disableStylesGeneration = muiThemeProviderOptions.disableStylesGeneration;\n } // Attach the stylesCreator to the instance of the component as in the context\n // of react-hot-loader the hooks can be executed in a different closure context:\n // https://github.com/gaearon/react-hot-loader/blob/master/src/patch.dev.js#L107\n\n\n _this.stylesCreatorSaved = stylesCreator;\n _this.sheetOptions = (0, _extends2.default)({\n generateClassName: generateClassName\n }, context[ns.sheetOptions]); // We use || as the function call is lazy evaluated.\n\n _this.theme = listenToTheme ? _themeListener.default.initial(context) || getDefaultTheme() : noopTheme;\n\n _this.attach(_this.theme);\n\n _this.cacheClasses = {\n // Cache for the finalized classes value.\n value: null,\n // Cache for the last used classes prop pointer.\n lastProp: null,\n // Cache for the last used rendered classes pointer.\n lastJSS: {}\n };\n return _this;\n }\n\n (0, _createClass2.default)(WithStyles, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this2 = this;\n\n if (!listenToTheme) {\n return;\n }\n\n this.unsubscribeId = _themeListener.default.subscribe(this.context, function (theme) {\n var oldTheme = _this2.theme;\n _this2.theme = theme;\n\n _this2.attach(_this2.theme); // Rerender the component so the underlying component gets the theme update.\n // By theme update we mean receiving and applying the new class names.\n\n\n _this2.setState({}, function () {\n _this2.detach(oldTheme);\n });\n });\n }\n }, {\n key: \"componentDidUpdate\",\n value: function componentDidUpdate() {\n // react-hot-loader specific logic\n if (this.stylesCreatorSaved === stylesCreator || \"development\" === 'production') {\n return;\n }\n\n this.detach(this.theme);\n this.stylesCreatorSaved = stylesCreator;\n this.attach(this.theme);\n this.forceUpdate();\n }\n }, {\n key: \"componentWillUnmount\",\n value: function componentWillUnmount() {\n this.detach(this.theme);\n\n if (this.unsubscribeId !== null) {\n _themeListener.default.unsubscribe(this.context, this.unsubscribeId);\n }\n }\n }, {\n key: \"getClasses\",\n value: function getClasses() {\n // Tracks if either the rendered classes or classes prop has changed,\n // requiring the generation of a new finalized classes object.\n var generate = false;\n\n if (!this.disableStylesGeneration) {\n var sheetManager = this.sheetsManager.get(this.stylesCreatorSaved);\n var sheetsManagerTheme = sheetManager.get(this.theme);\n\n if (sheetsManagerTheme.sheet.classes !== this.cacheClasses.lastJSS) {\n this.cacheClasses.lastJSS = sheetsManagerTheme.sheet.classes;\n generate = true;\n }\n }\n\n if (this.props.classes !== this.cacheClasses.lastProp) {\n this.cacheClasses.lastProp = this.props.classes;\n generate = true;\n }\n\n if (generate) {\n this.cacheClasses.value = (0, _mergeClasses.default)({\n baseClasses: this.cacheClasses.lastJSS,\n newClasses: this.props.classes,\n Component: Component,\n noBase: this.disableStylesGeneration\n });\n }\n\n return this.cacheClasses.value;\n }\n }, {\n key: \"attach\",\n value: function attach(theme) {\n if (this.disableStylesGeneration) {\n return;\n }\n\n var stylesCreatorSaved = this.stylesCreatorSaved;\n var sheetManager = this.sheetsManager.get(stylesCreatorSaved);\n\n if (!sheetManager) {\n sheetManager = new Map();\n this.sheetsManager.set(stylesCreatorSaved, sheetManager);\n }\n\n var sheetManagerTheme = sheetManager.get(theme);\n\n if (!sheetManagerTheme) {\n sheetManagerTheme = {\n refs: 0,\n sheet: null\n };\n sheetManager.set(theme, sheetManagerTheme);\n }\n\n if (sheetManagerTheme.refs === 0) {\n var styles = stylesCreatorSaved.create(theme, name);\n var meta = name;\n\n if ( true && !meta) {\n meta = (0, _getDisplayName.default)(Component);\n true ? (0, _warning.default)(typeof meta === 'string', ['Material-UI: the component displayName is invalid. It needs to be a string.', \"Please fix the following component: \".concat(Component, \".\")].join('\\n')) : undefined;\n }\n\n var sheet = this.jss.createStyleSheet(styles, (0, _extends2.default)({\n meta: meta,\n classNamePrefix: meta,\n flip: typeof flip === 'boolean' ? flip : theme.direction === 'rtl',\n link: false\n }, this.sheetOptions, stylesCreatorSaved.options, {\n name: name\n }, styleSheetOptions));\n sheetManagerTheme.sheet = sheet;\n sheet.attach();\n var sheetsRegistry = this.context[ns.sheetsRegistry];\n\n if (sheetsRegistry) {\n sheetsRegistry.add(sheet);\n }\n }\n\n sheetManagerTheme.refs += 1;\n }\n }, {\n key: \"detach\",\n value: function detach(theme) {\n if (this.disableStylesGeneration) {\n return;\n }\n\n var stylesCreatorSaved = this.stylesCreatorSaved;\n var sheetManager = this.sheetsManager.get(stylesCreatorSaved);\n var sheetManagerTheme = sheetManager.get(theme);\n sheetManagerTheme.refs -= 1;\n\n if (sheetManagerTheme.refs === 0) {\n sheetManager.delete(theme);\n this.jss.removeStyleSheet(sheetManagerTheme.sheet);\n var sheetsRegistry = this.context[ns.sheetsRegistry];\n\n if (sheetsRegistry) {\n sheetsRegistry.remove(sheetManagerTheme.sheet);\n }\n }\n }\n }, {\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n classes = _this$props.classes,\n innerRef = _this$props.innerRef,\n other = (0, _objectWithoutProperties2.default)(_this$props, [\"classes\", \"innerRef\"]);\n var more = (0, _getThemeProps.default)({\n theme: this.theme,\n name: name\n }); // Provide the theme to the wrapped component.\n // So we don't have to use the `withTheme()` Higher-order Component.\n\n if (withTheme) {\n more.theme = this.theme;\n }\n\n return _react.default.createElement(Component, (0, _extends2.default)({}, more, {\n classes: this.getClasses(),\n ref: innerRef\n }, other));\n }\n }]);\n return WithStyles;\n }(_react.default.Component);\n\n WithStyles.propTypes = true ? {\n /**\n * Override or extend the styles applied to the component.\n */\n classes: _propTypes.default.object,\n\n /**\n * Use that property to pass a ref callback to the decorated component.\n */\n innerRef: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])\n } : undefined;\n WithStyles.contextTypes = (0, _extends2.default)({\n muiThemeProviderOptions: _propTypes.default.object\n }, _contextTypes.default, listenToTheme ? _themeListener.default.contextTypes : {});\n\n if (true) {\n WithStyles.displayName = (0, _wrapDisplayName.default)(Component, 'WithStyles');\n }\n\n (0, _hoistNonReactStatics.default)(WithStyles, Component);\n\n if (true) {\n // Exposed for test purposes.\n WithStyles.Naked = Component;\n WithStyles.options = options;\n }\n\n return WithStyles;\n };\n};\n\nvar _default = withStyles;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/withStyles.js?");
/***/ }),
/***/ "./node_modules/@material-ui/core/styles/zIndex.js":
/*!*********************************************************!*\
!*** ./node_modules/@material-ui/core/styles/zIndex.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nvar zIndex = {\n mobileStepper: 1000,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nvar _default = zIndex;\nexports.default = _default;\n\n//# sourceURL=webpack:///./node_modules/@material-ui/core/styles/zIndex.js?");
/***/ }),
/***/ "./node_modules/@material/animation/index.js":
/*!***************************************************!*\
!*** ./node_modules/@material/animation/index.js ***!
\***************************************************/
/*! exports provided: transformStyleProperties, getCorrectEventName, getCorrectPropertyName */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"transformStyleProperties\", function() { return transformStyleProperties; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCorrectEventName\", function() { return getCorrectEventName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getCorrectPropertyName\", function() { return getCorrectPropertyName; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @typedef {{\n * noPrefix: string,\n * webkitPrefix: string,\n * styleProperty: string\n * }}\n */\nlet VendorPropertyMapType;\n\n/** @const {Object} */\nconst eventTypeMap = {\n 'animationstart': {\n noPrefix: 'animationstart',\n webkitPrefix: 'webkitAnimationStart',\n styleProperty: 'animation',\n },\n 'animationend': {\n noPrefix: 'animationend',\n webkitPrefix: 'webkitAnimationEnd',\n styleProperty: 'animation',\n },\n 'animationiteration': {\n noPrefix: 'animationiteration',\n webkitPrefix: 'webkitAnimationIteration',\n styleProperty: 'animation',\n },\n 'transitionend': {\n noPrefix: 'transitionend',\n webkitPrefix: 'webkitTransitionEnd',\n styleProperty: 'transition',\n },\n};\n\n/** @const {Object} */\nconst cssPropertyMap = {\n 'animation': {\n noPrefix: 'animation',\n webkitPrefix: '-webkit-animation',\n },\n 'transform': {\n noPrefix: 'transform',\n webkitPrefix: '-webkit-transform',\n },\n 'transition': {\n noPrefix: 'transition',\n webkitPrefix: '-webkit-transition',\n },\n};\n\n/**\n * @param {!Object} windowObj\n * @return {boolean}\n */\nfunction hasProperShape(windowObj) {\n return (windowObj['document'] !== undefined && typeof windowObj['document']['createElement'] === 'function');\n}\n\n/**\n * @param {string} eventType\n * @return {boolean}\n */\nfunction eventFoundInMaps(eventType) {\n return (eventType in eventTypeMap || eventType in cssPropertyMap);\n}\n\n/**\n * @param {string} eventType\n * @param {!Object} map\n * @param {!Element} el\n * @return {string}\n */\nfunction getJavaScriptEventName(eventType, map, el) {\n return map[eventType].styleProperty in el.style ? map[eventType].noPrefix : map[eventType].webkitPrefix;\n}\n\n/**\n * Helper function to determine browser prefix for CSS3 animation events\n * and property names.\n * @param {!Object} windowObj\n * @param {string} eventType\n * @return {string}\n */\nfunction getAnimationName(windowObj, eventType) {\n if (!hasProperShape(windowObj) || !eventFoundInMaps(eventType)) {\n return eventType;\n }\n\n const map = /** @type {!Object} */ (\n eventType in eventTypeMap ? eventTypeMap : cssPropertyMap\n );\n const el = windowObj['document']['createElement']('div');\n let eventName = '';\n\n if (map === eventTypeMap) {\n eventName = getJavaScriptEventName(eventType, map, el);\n } else {\n eventName = map[eventType].noPrefix in el.style ? map[eventType].noPrefix : map[eventType].webkitPrefix;\n }\n\n return eventName;\n}\n\n// Public functions to access getAnimationName() for JavaScript events or CSS\n// property names.\n\nconst transformStyleProperties = ['transform', 'WebkitTransform', 'MozTransform', 'OTransform', 'MSTransform'];\n\n/**\n * @param {!Object} windowObj\n * @param {string} eventType\n * @return {string}\n */\nfunction getCorrectEventName(windowObj, eventType) {\n return getAnimationName(windowObj, eventType);\n}\n\n/**\n * @param {!Object} windowObj\n * @param {string} eventType\n * @return {string}\n */\nfunction getCorrectPropertyName(windowObj, eventType) {\n return getAnimationName(windowObj, eventType);\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/animation/index.js?");
/***/ }),
/***/ "./node_modules/@material/auto-init/index.js":
/*!***************************************************!*\
!*** ./node_modules/@material/auto-init/index.js ***!
\***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return mdcAutoInit; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst registry = Object.create(null);\n\nconst CONSOLE_WARN = console.warn.bind(console);\n\nfunction _emit(evtType, evtData, shouldBubble = false) {\n let evt;\n if (typeof CustomEvent === 'function') {\n evt = new CustomEvent(evtType, {\n detail: evtData,\n bubbles: shouldBubble,\n });\n } else {\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n }\n\n document.dispatchEvent(evt);\n}\n\n/**\n * Auto-initializes all mdc components on a page.\n */\nfunction mdcAutoInit(root = document, warn = CONSOLE_WARN) {\n const components = [];\n const nodes = root.querySelectorAll('[data-mdc-auto-init]');\n for (let i = 0, node; (node = nodes[i]); i++) {\n const ctorName = node.dataset.mdcAutoInit;\n if (!ctorName) {\n throw new Error('(mdc-auto-init) Constructor name must be given.');\n }\n\n const Ctor = registry[ctorName];\n if (typeof Ctor !== 'function') {\n throw new Error(\n `(mdc-auto-init) Could not find constructor in registry for ${ctorName}`);\n }\n\n if (node[ctorName]) {\n warn(`(mdc-auto-init) Component already initialized for ${node}. Skipping...`);\n continue;\n }\n\n // TODO: Should we make an eslint rule for an attachTo() static method?\n const component = Ctor.attachTo(node);\n Object.defineProperty(node, ctorName, {\n value: component,\n writable: false,\n enumerable: false,\n configurable: true,\n });\n components.push(component);\n }\n\n _emit('MDCAutoInit:End', {});\n return components;\n}\n\nmdcAutoInit.register = function(componentName, Ctor, warn = CONSOLE_WARN) {\n if (typeof Ctor !== 'function') {\n throw new Error(`(mdc-auto-init) Invalid Ctor value ${Ctor}. Expected function`);\n }\n if (registry[componentName]) {\n warn(\n `(mdc-auto-init) Overriding registration for ${componentName} with ${Ctor}. ` +\n `Was: ${registry[componentName]}`);\n }\n registry[componentName] = Ctor;\n};\n\nmdcAutoInit.deregister = function(componentName) {\n delete registry[componentName];\n};\n\nmdcAutoInit.deregisterAll = function() {\n Object.keys(registry).forEach(this.deregister, this);\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/auto-init/index.js?");
/***/ }),
/***/ "./node_modules/@material/base/component.js":
/*!**************************************************!*\
!*** ./node_modules/@material/base/component.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/base/foundation.js\");\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/**\n * @template F\n */\nclass MDCComponent {\n /**\n * @param {!Element} root\n * @return {!MDCComponent}\n */\n static attachTo(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_0__[\"default\"]());\n }\n\n /**\n * @param {!Element} root\n * @param {F=} foundation\n * @param {...?} args\n */\n constructor(root, foundation = undefined, ...args) {\n /** @protected {!Element} */\n this.root_ = root;\n this.initialize(...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 /** @protected {!F} */\n this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;\n this.foundation_.init();\n this.initialSyncWithDOM();\n }\n\n initialize(/* ...args */) {\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\n /**\n * @return {!F} foundation\n */\n getDefaultFoundation() {\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\n initialSyncWithDOM() {\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\n destroy() {\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\n /**\n * Wrapper method to add an event listener to the component's root element. This is most useful when\n * listening for custom events.\n * @param {string} evtType\n * @param {!Function} handler\n */\n listen(evtType, handler) {\n this.root_.addEventListener(evtType, handler);\n }\n\n /**\n * Wrapper method to remove an event listener to the component's root element. This is most useful when\n * unlistening for custom events.\n * @param {string} evtType\n * @param {!Function} handler\n */\n unlisten(evtType, handler) {\n this.root_.removeEventListener(evtType, handler);\n }\n\n /**\n * Fires a cross-browser-compatible custom event from the component root of the given type,\n * with the given data.\n * @param {string} evtType\n * @param {!Object} evtData\n * @param {boolean=} shouldBubble\n */\n emit(evtType, evtData, shouldBubble = false) {\n let evt;\n if (typeof CustomEvent === 'function') {\n evt = new CustomEvent(evtType, {\n detail: evtData,\n bubbles: shouldBubble,\n });\n } else {\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n }\n\n this.root_.dispatchEvent(evt);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCComponent);\n\n\n//# sourceURL=webpack:///./node_modules/@material/base/component.js?");
/***/ }),
/***/ "./node_modules/@material/base/foundation.js":
/*!***************************************************!*\
!*** ./node_modules/@material/base/foundation.js ***!
\***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @template A\n */\nclass MDCFoundation {\n /** @return enum{cssClasses} */\n static get cssClasses() {\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\n /** @return enum{strings} */\n static get strings() {\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\n /** @return enum{numbers} */\n static get numbers() {\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\n /** @return {!Object} */\n static get defaultAdapter() {\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\n /**\n * @param {A=} adapter\n */\n constructor(adapter = {}) {\n /** @protected {!A} */\n this.adapter_ = adapter;\n }\n\n init() {\n // Subclasses should override this method to perform initialization routines (registering events, etc.)\n }\n\n destroy() {\n // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/base/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/base/index.js":
/*!**********************************************!*\
!*** ./node_modules/@material/base/index.js ***!
\**********************************************/
/*! exports provided: MDCFoundation, MDCComponent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./component */ \"./node_modules/@material/base/component.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCComponent\", function() { return _component__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/base/index.js?");
/***/ }),
/***/ "./node_modules/@material/checkbox/adapter.js":
/*!****************************************************!*\
!*** ./node_modules/@material/checkbox/adapter.js ***!
\****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Checkbox. Provides an interface for managing\n * - classes\n * - dom\n * - event handlers\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCCheckboxAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /**\n * Sets an attribute with a given value on the input element.\n * @param {string} attr\n * @param {string} value\n */\n setNativeControlAttr(attr, value) {}\n\n /**\n * Removes an attribute from the input element.\n * @param {string} attr\n */\n removeNativeControlAttr(attr) {}\n\n /** @param {!EventListener} handler */\n registerAnimationEndHandler(handler) {}\n\n /** @param {!EventListener} handler */\n deregisterAnimationEndHandler(handler) {}\n\n /** @param {!EventListener} handler */\n registerChangeHandler(handler) {}\n\n /** @param {!EventListener} handler */\n deregisterChangeHandler(handler) {}\n\n /** @return {!MDCSelectionControlState} */\n getNativeControl() {}\n\n forceLayout() {}\n\n /** @return {boolean} */\n isAttachedToDOM() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCCheckboxAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/checkbox/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/checkbox/constants.js":
/*!******************************************************!*\
!*** ./node_modules/@material/checkbox/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. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @const {string} */\nconst ROOT = 'mdc-checkbox';\n\n/** @enum {string} */\nconst cssClasses = {\n UPGRADED: 'mdc-checkbox--upgraded',\n CHECKED: 'mdc-checkbox--checked',\n INDETERMINATE: 'mdc-checkbox--indeterminate',\n DISABLED: 'mdc-checkbox--disabled',\n ANIM_UNCHECKED_CHECKED: 'mdc-checkbox--anim-unchecked-checked',\n ANIM_UNCHECKED_INDETERMINATE: 'mdc-checkbox--anim-unchecked-indeterminate',\n ANIM_CHECKED_UNCHECKED: 'mdc-checkbox--anim-checked-unchecked',\n ANIM_CHECKED_INDETERMINATE: 'mdc-checkbox--anim-checked-indeterminate',\n ANIM_INDETERMINATE_CHECKED: 'mdc-checkbox--anim-indeterminate-checked',\n ANIM_INDETERMINATE_UNCHECKED: 'mdc-checkbox--anim-indeterminate-unchecked',\n};\n\n/** @enum {string} */\nconst strings = {\n NATIVE_CONTROL_SELECTOR: `.${ROOT}__native-control`,\n TRANSITION_STATE_INIT: 'init',\n TRANSITION_STATE_CHECKED: 'checked',\n TRANSITION_STATE_UNCHECKED: 'unchecked',\n TRANSITION_STATE_INDETERMINATE: 'indeterminate',\n ARIA_CHECKED_ATTR: 'aria-checked',\n ARIA_CHECKED_INDETERMINATE_VALUE: 'mixed',\n};\n\n/** @enum {number} */\nconst numbers = {\n ANIM_END_LATCH_MS: 250,\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/checkbox/constants.js?");
/***/ }),
/***/ "./node_modules/@material/checkbox/foundation.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/checkbox/foundation.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/checkbox/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/checkbox/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n\n/** @const {!Array} */\nconst CB_PROTO_PROPS = ['checked', 'indeterminate'];\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCCheckboxFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {cssClasses} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"];\n }\n\n /** @return enum {strings} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n }\n\n /** @return enum {numbers} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"numbers\"];\n }\n\n /** @return {!MDCCheckboxAdapter} */\n static get defaultAdapter() {\n return /** @type {!MDCCheckboxAdapter} */ ({\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n setNativeControlAttr: (/* attr: string, value: string */) => {},\n removeNativeControlAttr: (/* attr: string */) => {},\n registerAnimationEndHandler: (/* handler: EventListener */) => {},\n deregisterAnimationEndHandler: (/* handler: EventListener */) => {},\n registerChangeHandler: (/* handler: EventListener */) => {},\n deregisterChangeHandler: (/* handler: EventListener */) => {},\n getNativeControl: () => /* !MDCSelectionControlState */ {},\n forceLayout: () => {},\n isAttachedToDOM: () => /* boolean */ {},\n });\n }\n\n constructor(adapter) {\n super(Object.assign(MDCCheckboxFoundation.defaultAdapter, adapter));\n\n /** @private {string} */\n this.currentCheckState_ = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].TRANSITION_STATE_INIT;\n\n /** @private {string} */\n this.currentAnimationClass_ = '';\n\n /** @private {number} */\n this.animEndLatchTimer_ = 0;\n\n this.animEndHandler_ = /** @private {!EventListener} */ (\n () => this.handleAnimationEnd());\n\n this.changeHandler_ = /** @private {!EventListener} */ (\n () => this.handleChange());\n }\n\n /** @override */\n init() {\n this.currentCheckState_ = this.determineCheckState_(this.getNativeControl_());\n this.updateAriaChecked_();\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].UPGRADED);\n this.adapter_.registerChangeHandler(this.changeHandler_);\n this.installPropertyChangeHooks_();\n }\n\n /** @override */\n destroy() {\n this.adapter_.deregisterChangeHandler(this.changeHandler_);\n this.uninstallPropertyChangeHooks_();\n }\n\n /** @return {boolean} */\n isChecked() {\n return this.getNativeControl_().checked;\n }\n\n /** @param {boolean} checked */\n setChecked(checked) {\n this.getNativeControl_().checked = checked;\n }\n\n /** @return {boolean} */\n isIndeterminate() {\n return this.getNativeControl_().indeterminate;\n }\n\n /** @param {boolean} indeterminate */\n setIndeterminate(indeterminate) {\n this.getNativeControl_().indeterminate = indeterminate;\n }\n\n /** @return {boolean} */\n isDisabled() {\n return this.getNativeControl_().disabled;\n }\n\n /** @param {boolean} disabled */\n setDisabled(disabled) {\n this.getNativeControl_().disabled = disabled;\n if (disabled) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].DISABLED);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].DISABLED);\n }\n }\n\n /** @return {?string} */\n getValue() {\n return this.getNativeControl_().value;\n }\n\n /** @param {?string} value */\n setValue(value) {\n this.getNativeControl_().value = value;\n }\n\n /**\n * Handles the animationend event for the checkbox\n */\n handleAnimationEnd() {\n clearTimeout(this.animEndLatchTimer_);\n this.animEndLatchTimer_ = setTimeout(() => {\n this.adapter_.removeClass(this.currentAnimationClass_);\n this.adapter_.deregisterAnimationEndHandler(this.animEndHandler_);\n }, _constants__WEBPACK_IMPORTED_MODULE_3__[\"numbers\"].ANIM_END_LATCH_MS);\n }\n\n /**\n * Handles the change event for the checkbox\n */\n handleChange() {\n this.transitionCheckState_();\n }\n\n /** @private */\n installPropertyChangeHooks_() {\n const nativeCb = this.getNativeControl_();\n const cbProto = Object.getPrototypeOf(nativeCb);\n\n CB_PROTO_PROPS.forEach((controlState) => {\n const desc = Object.getOwnPropertyDescriptor(cbProto, controlState);\n // We have to check for this descriptor, since some browsers (Safari) don't support its return.\n // See: https://bugs.webkit.org/show_bug.cgi?id=49739\n if (validDescriptor(desc)) {\n const nativeCbDesc = /** @type {!ObjectPropertyDescriptor} */ ({\n get: desc.get,\n set: (state) => {\n desc.set.call(nativeCb, state);\n this.transitionCheckState_();\n },\n configurable: desc.configurable,\n enumerable: desc.enumerable,\n });\n Object.defineProperty(nativeCb, controlState, nativeCbDesc);\n }\n });\n }\n\n /** @private */\n uninstallPropertyChangeHooks_() {\n const nativeCb = this.getNativeControl_();\n const cbProto = Object.getPrototypeOf(nativeCb);\n\n CB_PROTO_PROPS.forEach((controlState) => {\n const desc = /** @type {!ObjectPropertyDescriptor} */ (\n Object.getOwnPropertyDescriptor(cbProto, controlState));\n if (validDescriptor(desc)) {\n Object.defineProperty(nativeCb, controlState, desc);\n }\n });\n }\n\n /** @private */\n transitionCheckState_() {\n const nativeCb = this.adapter_.getNativeControl();\n if (!nativeCb) {\n return;\n }\n const oldState = this.currentCheckState_;\n const newState = this.determineCheckState_(nativeCb);\n if (oldState === newState) {\n return;\n }\n\n this.updateAriaChecked_();\n\n // Check to ensure that there isn't a previously existing animation class, in case for example\n // the user interacted with the checkbox before the animation was finished.\n if (this.currentAnimationClass_.length > 0) {\n clearTimeout(this.animEndLatchTimer_);\n this.adapter_.forceLayout();\n this.adapter_.removeClass(this.currentAnimationClass_);\n }\n\n this.currentAnimationClass_ = this.getTransitionAnimationClass_(oldState, newState);\n this.currentCheckState_ = newState;\n\n // Check for parentNode so that animations are only run when the element is attached\n // to the DOM.\n if (this.adapter_.isAttachedToDOM() && this.currentAnimationClass_.length > 0) {\n this.adapter_.addClass(this.currentAnimationClass_);\n this.adapter_.registerAnimationEndHandler(this.animEndHandler_);\n }\n }\n\n /**\n * @param {!MDCSelectionControlState} nativeCb\n * @return {string}\n * @private\n */\n determineCheckState_(nativeCb) {\n const {\n TRANSITION_STATE_INDETERMINATE,\n TRANSITION_STATE_CHECKED,\n TRANSITION_STATE_UNCHECKED,\n } = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n\n if (nativeCb.indeterminate) {\n return TRANSITION_STATE_INDETERMINATE;\n }\n return nativeCb.checked ? TRANSITION_STATE_CHECKED : TRANSITION_STATE_UNCHECKED;\n }\n\n /**\n * @param {string} oldState\n * @param {string} newState\n * @return {string}\n */\n getTransitionAnimationClass_(oldState, newState) {\n const {\n TRANSITION_STATE_INIT,\n TRANSITION_STATE_CHECKED,\n TRANSITION_STATE_UNCHECKED,\n } = _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n\n const {\n ANIM_UNCHECKED_CHECKED,\n ANIM_UNCHECKED_INDETERMINATE,\n ANIM_CHECKED_UNCHECKED,\n ANIM_CHECKED_INDETERMINATE,\n ANIM_INDETERMINATE_CHECKED,\n ANIM_INDETERMINATE_UNCHECKED,\n } = MDCCheckboxFoundation.cssClasses;\n\n switch (oldState) {\n case TRANSITION_STATE_INIT:\n if (newState === TRANSITION_STATE_UNCHECKED) {\n return '';\n }\n // fallthrough\n case TRANSITION_STATE_UNCHECKED:\n return newState === TRANSITION_STATE_CHECKED ? ANIM_UNCHECKED_CHECKED : ANIM_UNCHECKED_INDETERMINATE;\n case TRANSITION_STATE_CHECKED:\n return newState === TRANSITION_STATE_UNCHECKED ? ANIM_CHECKED_UNCHECKED : ANIM_CHECKED_INDETERMINATE;\n // TRANSITION_STATE_INDETERMINATE\n default:\n return newState === TRANSITION_STATE_CHECKED ?\n ANIM_INDETERMINATE_CHECKED : ANIM_INDETERMINATE_UNCHECKED;\n }\n }\n\n updateAriaChecked_() {\n // Ensure aria-checked is set to mixed if checkbox is in indeterminate state.\n if (this.isIndeterminate()) {\n this.adapter_.setNativeControlAttr(\n _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_CHECKED_ATTR, _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_CHECKED_INDETERMINATE_VALUE);\n } else {\n this.adapter_.removeNativeControlAttr(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_CHECKED_ATTR);\n }\n }\n\n /**\n * @return {!MDCSelectionControlState}\n * @private\n */\n getNativeControl_() {\n return this.adapter_.getNativeControl() || {\n checked: false,\n indeterminate: false,\n disabled: false,\n value: null,\n };\n }\n}\n\n/**\n * @param {ObjectPropertyDescriptor|undefined} inputPropDesc\n * @return {boolean}\n */\nfunction validDescriptor(inputPropDesc) {\n return !!inputPropDesc && typeof inputPropDesc.set === 'function';\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCCheckboxFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/checkbox/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/checkbox/index.js":
/*!**************************************************!*\
!*** ./node_modules/@material/checkbox/index.js ***!
\**************************************************/
/*! exports provided: MDCCheckboxFoundation, MDCCheckbox */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCCheckbox\", function() { return MDCCheckbox; });\n/* harmony import */ var _material_animation_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/animation/index */ \"./node_modules/@material/animation/index.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_selection_control_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/checkbox/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCCheckboxFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _material_ripple_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @material/ripple/util */ \"./node_modules/@material/ripple/util.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n\n\n/**\n * @extends MDCComponent\n * @implements {MDCSelectionControl}\n */\nclass MDCCheckbox extends _material_base_component__WEBPACK_IMPORTED_MODULE_1__[\"default\"] {\n static attachTo(root) {\n return new MDCCheckbox(root);\n }\n\n /**\n * Returns the state of the native control element, or null if the native control element is not present.\n * @return {?MDCSelectionControlState}\n * @private\n */\n get nativeCb_() {\n const {NATIVE_CONTROL_SELECTOR} = _foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"].strings;\n const cbEl = /** @type {?MDCSelectionControlState} */ (\n this.root_.querySelector(NATIVE_CONTROL_SELECTOR));\n return cbEl;\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {!MDCRipple} */\n this.ripple_ = this.initRipple_();\n }\n\n /**\n * @return {!MDCRipple}\n * @private\n */\n initRipple_() {\n const MATCHES = Object(_material_ripple_util__WEBPACK_IMPORTED_MODULE_5__[\"getMatchesProperty\"])(HTMLElement.prototype);\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_4__[\"MDCRipple\"].createAdapter(this), {\n isUnbounded: () => true,\n isSurfaceActive: () => this.nativeCb_[MATCHES](':active'),\n registerInteractionHandler: (type, handler) => this.nativeCb_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.nativeCb_.removeEventListener(type, handler),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_4__[\"MDCRippleFoundation\"](adapter);\n return new _material_ripple_index__WEBPACK_IMPORTED_MODULE_4__[\"MDCRipple\"](this.root_, foundation);\n }\n\n /** @return {!MDCCheckboxFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setNativeControlAttr: (attr, value) => this.nativeCb_.setAttribute(attr, value),\n removeNativeControlAttr: (attr) => this.nativeCb_.removeAttribute(attr),\n registerAnimationEndHandler:\n (handler) => this.root_.addEventListener(Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_0__[\"getCorrectEventName\"])(window, 'animationend'), handler),\n deregisterAnimationEndHandler:\n (handler) => this.root_.removeEventListener(Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_0__[\"getCorrectEventName\"])(window, 'animationend'), handler),\n registerChangeHandler: (handler) => this.nativeCb_.addEventListener('change', handler),\n deregisterChangeHandler: (handler) => this.nativeCb_.removeEventListener('change', handler),\n getNativeControl: () => this.nativeCb_,\n forceLayout: () => this.root_.offsetWidth,\n isAttachedToDOM: () => Boolean(this.root_.parentNode),\n });\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n\n /** @return {boolean} */\n get checked() {\n return this.foundation_.isChecked();\n }\n\n /** @param {boolean} checked */\n set checked(checked) {\n this.foundation_.setChecked(checked);\n }\n\n /** @return {boolean} */\n get indeterminate() {\n return this.foundation_.isIndeterminate();\n }\n\n /** @param {boolean} indeterminate */\n set indeterminate(indeterminate) {\n this.foundation_.setIndeterminate(indeterminate);\n }\n\n /** @return {boolean} */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /** @param {boolean} disabled */\n set disabled(disabled) {\n this.foundation_.setDisabled(disabled);\n }\n\n /** @return {?string} */\n get value() {\n return this.foundation_.getValue();\n }\n\n /** @param {?string} value */\n set value(value) {\n this.foundation_.setValue(value);\n }\n\n destroy() {\n this.ripple_.destroy();\n super.destroy();\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/checkbox/index.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip-set/adapter.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/chips/chip-set/adapter.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _chip_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../chip/foundation */ \"./node_modules/@material/chips/chip/foundation.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// eslint-disable-next-line no-unused-vars\n\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Chip Set.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Chip Set into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCChipSetAdapter {\n /**\n * Returns true if the root element contains the given class name.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Removes the chip object from the chip set.\n * @param {!Object} chip\n */\n removeChip(chip) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCChipSetAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip-set/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip-set/constants.js":
/*!************************************************************!*\
!*** ./node_modules/@material/chips/chip-set/constants.js ***!
\************************************************************/
/*! exports provided: strings, cssClasses */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n CHIP_SELECTOR: '.mdc-chip',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n CHOICE: 'mdc-chip-set--choice',\n FILTER: 'mdc-chip-set--filter',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip-set/constants.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip-set/foundation.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/chips/chip-set/foundation.js ***!
\*************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/chips/chip-set/adapter.js\");\n/* harmony import */ var _chip_foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../chip/foundation */ \"./node_modules/@material/chips/chip/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/chips/chip-set/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n// eslint-disable-next-line no-unused-vars\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCChipSetFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCChipSetAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCChipSetAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCChipSetAdapter} */ ({\n hasClass: () => {},\n removeChip: () => {},\n });\n }\n\n /**\n * @param {!MDCChipSetAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCChipSetFoundation.defaultAdapter, adapter));\n\n /**\n * The selected chips in the set. Only used for choice chip set or filter chip set.\n * @private {!Array}\n */\n this.selectedChips_ = [];\n }\n\n /**\n * Selects the given chip. Deselects all other chips if the chip set is of the choice variant.\n * @param {!MDCChipFoundation} chipFoundation\n */\n select(chipFoundation) {\n if (this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].CHOICE)) {\n this.deselectAll_();\n }\n chipFoundation.setSelected(true);\n this.selectedChips_.push(chipFoundation);\n }\n\n /**\n * Deselects the given chip.\n * @param {!MDCChipFoundation} chipFoundation\n */\n deselect(chipFoundation) {\n const index = this.selectedChips_.indexOf(chipFoundation);\n if (index >= 0) {\n this.selectedChips_.splice(index, 1);\n }\n chipFoundation.setSelected(false);\n }\n\n /** Deselects all selected chips. */\n deselectAll_() {\n this.selectedChips_.forEach((chipFoundation) => {\n chipFoundation.setSelected(false);\n });\n this.selectedChips_.length = 0;\n }\n\n /**\n * Handles a chip interaction event\n * @param {!MDCChipInteractionEventType} evt\n * @private\n */\n handleChipInteraction(evt) {\n const chipFoundation = evt.detail.chip.foundation;\n if (this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].CHOICE) || this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].FILTER)) {\n if (chipFoundation.isSelected()) {\n this.deselect(chipFoundation);\n } else {\n this.select(chipFoundation);\n }\n }\n }\n\n /**\n * Handles the event when a chip is removed.\n * @param {!MDCChipInteractionEventType} evt\n * @private\n */\n handleChipRemoval(evt) {\n const {chip} = evt.detail;\n this.deselect(chip.foundation);\n this.adapter_.removeChip(chip);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCChipSetFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip-set/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip-set/index.js":
/*!********************************************************!*\
!*** ./node_modules/@material/chips/chip-set/index.js ***!
\********************************************************/
/*! exports provided: MDCChipSet, MDCChipSetFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCChipSet\", function() { return MDCChipSet; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/chips/chip-set/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/chips/chip-set/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChipSetFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _chip_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../chip/index */ \"./node_modules/@material/chips/chip/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCChipSet extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n\n /** @type {!Array} */\n this.chips;\n /** @type {(function(!Element): !MDCChip)} */\n this.chipFactory_;\n\n /** @private {?function(?Event): undefined} */\n this.handleChipInteraction_;\n /** @private {?function(?Event): undefined} */\n this.handleChipRemoval_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCChipSet}\n */\n static attachTo(root) {\n return new MDCChipSet(root);\n }\n\n /**\n * @param {(function(!Element): !MDCChip)=} chipFactory A function which\n * creates a new MDCChip.\n */\n initialize(chipFactory = (el) => new _chip_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCChip\"](el)) {\n this.chipFactory_ = chipFactory;\n this.chips = this.instantiateChips_(this.chipFactory_);\n }\n\n initialSyncWithDOM() {\n this.chips.forEach((chip) => {\n if (chip.isSelected()) {\n this.foundation_.select(chip.foundation);\n }\n });\n\n this.handleChipInteraction_ = (evt) => this.foundation_.handleChipInteraction(evt);\n this.handleChipRemoval_ = (evt) => this.foundation_.handleChipRemoval(evt);\n this.root_.addEventListener(\n _chip_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"].strings.INTERACTION_EVENT, this.handleChipInteraction_);\n this.root_.addEventListener(\n _chip_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"].strings.REMOVAL_EVENT, this.handleChipRemoval_);\n }\n\n destroy() {\n this.chips.forEach((chip) => {\n chip.destroy();\n });\n\n this.root_.removeEventListener(\n _chip_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"].strings.INTERACTION_EVENT, this.handleChipInteraction_);\n this.root_.removeEventListener(\n _chip_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"].strings.REMOVAL_EVENT, this.handleChipRemoval_);\n\n super.destroy();\n }\n\n /**\n * Adds a new chip object to the chip set from the given chip element.\n * @param {!Element} chipEl\n */\n addChip(chipEl) {\n this.chips.push(this.chipFactory_(chipEl));\n }\n\n /**\n * @return {!MDCChipSetFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](/** @type {!MDCChipSetAdapter} */ (Object.assign({\n hasClass: (className) => this.root_.classList.contains(className),\n removeChip: (chip) => {\n const index = this.chips.indexOf(chip);\n this.chips.splice(index, 1);\n chip.destroy();\n },\n })));\n }\n\n /**\n * Instantiates chip components on all of the chip set's child chip elements.\n * @param {(function(!Element): !MDCChip)} chipFactory\n * @return {!Array}\n */\n instantiateChips_(chipFactory) {\n const chipElements = [].slice.call(this.root_.querySelectorAll(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.CHIP_SELECTOR));\n return chipElements.map((el) => chipFactory(el));\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip-set/index.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip/adapter.js":
/*!******************************************************!*\
!*** ./node_modules/@material/chips/chip/adapter.js ***!
\******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Chip.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Chip into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCChipAdapter {\n /**\n * Adds a class to the root element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the root element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns true if the root element contains the given class.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Adds a class to the leading icon element.\n * @param {string} className\n */\n addClassToLeadingIcon(className) {}\n\n /**\n * Removes a class from the leading icon element.\n * @param {string} className\n */\n removeClassFromLeadingIcon(className) {}\n\n /**\n * Returns true if target has className, false otherwise.\n * @param {!EventTarget} target\n * @param {string} className\n * @return {boolean}\n */\n eventTargetHasClass(target, className) {}\n\n /**\n * Emits a custom \"MDCChip:interaction\" event denoting the chip has been\n * interacted with (typically on click or keydown).\n */\n notifyInteraction() {}\n\n /**\n * Emits a custom \"MDCChip:trailingIconInteraction\" event denoting the trailing icon has been\n * interacted with (typically on click or keydown).\n */\n notifyTrailingIconInteraction() {}\n\n /**\n * Emits a custom event \"MDCChip:removal\" denoting the chip will be removed.\n */\n notifyRemoval() {}\n\n /**\n * Returns the computed property value of the given style property on the root element.\n * @param {string} propertyName\n * @return {string}\n */\n getComputedStyleValue(propertyName) {}\n\n /**\n * Sets the property value of the given style property on the root element.\n * @param {string} propertyName\n * @param {string} value\n */\n setStyleProperty(propertyName, value) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCChipAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip/constants.js":
/*!********************************************************!*\
!*** ./node_modules/@material/chips/chip/constants.js ***!
\********************************************************/
/*! exports provided: strings, cssClasses */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n ENTRY_ANIMATION_NAME: 'mdc-chip-entry',\n INTERACTION_EVENT: 'MDCChip:interaction',\n TRAILING_ICON_INTERACTION_EVENT: 'MDCChip:trailingIconInteraction',\n REMOVAL_EVENT: 'MDCChip:removal',\n CHECKMARK_SELECTOR: '.mdc-chip__checkmark',\n LEADING_ICON_SELECTOR: '.mdc-chip__icon--leading',\n TRAILING_ICON_SELECTOR: '.mdc-chip__icon--trailing',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n CHECKMARK: 'mdc-chip__checkmark',\n CHIP_EXIT: 'mdc-chip--exit',\n HIDDEN_LEADING_ICON: 'mdc-chip__icon--leading-hidden',\n LEADING_ICON: 'mdc-chip__icon--leading',\n TRAILING_ICON: 'mdc-chip__icon--trailing',\n SELECTED: 'mdc-chip--selected',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip/constants.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip/foundation.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/chips/chip/foundation.js ***!
\*********************************************************/
/*! exports provided: MDCChipFoundation, MDCChipInteractionEventType */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCChipFoundation\", function() { return MDCChipFoundation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCChipInteractionEventType\", function() { return MDCChipInteractionEventType; });\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/chips/chip/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/chips/chip/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCChipFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCChipAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCChipAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCChipAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => {},\n addClassToLeadingIcon: () => {},\n removeClassFromLeadingIcon: () => {},\n eventTargetHasClass: () => {},\n notifyInteraction: () => {},\n notifyTrailingIconInteraction: () => {},\n notifyRemoval: () => {},\n getComputedStyleValue: () => {},\n setStyleProperty: () => {},\n });\n }\n\n /**\n * @param {!MDCChipAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCChipFoundation.defaultAdapter, adapter));\n\n /**\n * Whether a trailing icon click should immediately trigger exit/removal of the chip.\n * @private {boolean}\n * */\n this.shouldRemoveOnTrailingIconClick_ = true;\n }\n\n /**\n * @return {boolean}\n */\n isSelected() {\n return this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED);\n }\n\n /**\n * @param {boolean} selected\n */\n setSelected(selected) {\n if (selected) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED);\n }\n }\n\n /**\n * @return {boolean}\n */\n getShouldRemoveOnTrailingIconClick() {\n return this.shouldRemoveOnTrailingIconClick_;\n }\n\n /**\n * @param {boolean} shouldRemove\n */\n setShouldRemoveOnTrailingIconClick(shouldRemove) {\n this.shouldRemoveOnTrailingIconClick_ = shouldRemove;\n }\n\n /**\n * Begins the exit animation which leads to removal of the chip.\n */\n beginExit() {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CHIP_EXIT);\n }\n\n /**\n * Handles an interaction event on the root element.\n * @param {!Event} evt\n */\n handleInteraction(evt) {\n if (evt.type === 'click' || evt.key === 'Enter' || evt.keyCode === 13) {\n this.adapter_.notifyInteraction();\n }\n }\n\n /**\n * Handles a transition end event on the root element.\n * @param {!Event} evt\n */\n handleTransitionEnd(evt) {\n // Handle transition end event on the chip when it is about to be removed.\n if (this.adapter_.eventTargetHasClass(/** @type {!EventTarget} */ (evt.target), _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CHIP_EXIT)) {\n if (evt.propertyName === 'width') {\n this.adapter_.notifyRemoval();\n } else if (evt.propertyName === 'opacity') {\n // See: https://css-tricks.com/using-css-transitions-auto-dimensions/#article-header-id-5\n const chipWidth = this.adapter_.getComputedStyleValue('width');\n\n // On the next frame (once we get the computed width), explicitly set the chip's width\n // to its current pixel width, so we aren't transitioning out of 'auto'.\n requestAnimationFrame(() => {\n this.adapter_.setStyleProperty('width', chipWidth);\n\n // To mitigate jitter, start transitioning padding and margin before width.\n this.adapter_.setStyleProperty('padding', '0');\n this.adapter_.setStyleProperty('margin', '0');\n\n // On the next frame (once width is explicitly set), transition width to 0.\n requestAnimationFrame(() => {\n this.adapter_.setStyleProperty('width', '0');\n });\n });\n }\n return;\n }\n\n // Handle a transition end event on the leading icon or checkmark, since the transition end event bubbles.\n if (evt.propertyName !== 'opacity') {\n return;\n }\n if (this.adapter_.eventTargetHasClass(/** @type {!EventTarget} */ (evt.target), _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LEADING_ICON) &&\n this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED)) {\n this.adapter_.addClassToLeadingIcon(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HIDDEN_LEADING_ICON);\n } else if (this.adapter_.eventTargetHasClass(/** @type {!EventTarget} */ (evt.target), _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CHECKMARK) &&\n !this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED)) {\n this.adapter_.removeClassFromLeadingIcon(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HIDDEN_LEADING_ICON);\n }\n }\n\n /**\n * Handles an interaction event on the trailing icon element. This is used to\n * prevent the ripple from activating on interaction with the trailing icon.\n * @param {!Event} evt\n */\n handleTrailingIconInteraction(evt) {\n evt.stopPropagation();\n if (evt.type === 'click' || evt.key === 'Enter' || evt.keyCode === 13) {\n this.adapter_.notifyTrailingIconInteraction();\n if (this.shouldRemoveOnTrailingIconClick_) {\n this.beginExit();\n }\n }\n }\n}\n\n/**\n * @typedef {{\n * detail: {\n * chip: {foundation: !MDCChipFoundation},\n * },\n * bubbles: boolean,\n * }}\n */\nlet MDCChipInteractionEventType;\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/chips/chip/index.js":
/*!****************************************************!*\
!*** ./node_modules/@material/chips/chip/index.js ***!
\****************************************************/
/*! exports provided: MDCChip, MDCChipFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCChip\", function() { return MDCChip; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/chips/chip/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/chips/chip/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChipFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"]; });\n\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/chips/chip/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\nconst INTERACTION_EVENTS = ['click', 'keydown'];\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCChip extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n\n /** @private {?Element} */\n this.leadingIcon_;\n /** @private {?Element} */\n this.trailingIcon_;\n /** @private {!MDCRipple} */\n this.ripple_;\n\n /** @private {?function(?Event): undefined} */\n this.handleInteraction_;\n /** @private {?function(!Event): undefined} */\n this.handleTransitionEnd_;\n /** @private {function(!Event): undefined} */\n this.handleTrailingIconInteraction_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCChip}\n */\n static attachTo(root) {\n return new MDCChip(root);\n }\n\n initialize() {\n this.leadingIcon_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].LEADING_ICON_SELECTOR);\n this.trailingIcon_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].TRAILING_ICON_SELECTOR);\n\n // Adjust ripple size for chips with animated growing width. This applies when filter chips without\n // a leading icon are selected, and a leading checkmark will cause the chip width to expand.\n const checkmarkEl = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].CHECKMARK_SELECTOR);\n if (checkmarkEl && !this.leadingIcon_) {\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"].createAdapter(this), {\n computeBoundingRect: () => {\n const height = this.root_.getBoundingClientRect().height;\n // The checkmark's width is initially set to 0, so use the checkmark's height as a proxy since the\n // checkmark should always be square.\n const width = this.root_.getBoundingClientRect().width + checkmarkEl.getBoundingClientRect().height;\n return {height, width};\n },\n });\n this.ripple_ = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"](this.root_, new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRippleFoundation\"](adapter));\n } else {\n this.ripple_ = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"](this.root_);\n }\n }\n\n initialSyncWithDOM() {\n this.handleInteraction_ = (evt) => this.foundation_.handleInteraction(evt);\n this.handleTransitionEnd_ = (evt) => this.foundation_.handleTransitionEnd(evt);\n this.handleTrailingIconInteraction_ = (evt) => this.foundation_.handleTrailingIconInteraction(evt);\n\n INTERACTION_EVENTS.forEach((evtType) => {\n this.root_.addEventListener(evtType, this.handleInteraction_);\n });\n this.root_.addEventListener('transitionend', this.handleTransitionEnd_);\n\n if (this.trailingIcon_) {\n INTERACTION_EVENTS.forEach((evtType) => {\n this.trailingIcon_.addEventListener(evtType, this.handleTrailingIconInteraction_);\n });\n }\n }\n\n destroy() {\n this.ripple_.destroy();\n\n INTERACTION_EVENTS.forEach((evtType) => {\n this.root_.removeEventListener(evtType, this.handleInteraction_);\n });\n this.root_.removeEventListener('transitionend', this.handleTransitionEnd_);\n\n if (this.trailingIcon_) {\n INTERACTION_EVENTS.forEach((evtType) => {\n this.trailingIcon_.removeEventListener(evtType, this.handleTrailingIconInteraction_);\n });\n }\n\n super.destroy();\n }\n\n /**\n * Returns true if the chip is selected.\n * @return {boolean}\n */\n isSelected() {\n return this.foundation_.isSelected();\n }\n\n /**\n * Begins the exit animation which leads to removal of the chip.\n */\n beginExit() {\n this.foundation_.beginExit();\n }\n\n /**\n * @return {!MDCChipFoundation}\n */\n get foundation() {\n return this.foundation_;\n }\n\n /**\n * Returns whether a trailing icon click should trigger exit/removal of the chip.\n * @return {boolean}\n */\n get shouldRemoveOnTrailingIconClick() {\n return this.foundation_.getShouldRemoveOnTrailingIconClick();\n }\n\n /**\n * Sets whether a trailing icon click should trigger exit/removal of the chip.\n * @param {boolean} shouldRemove\n */\n set shouldRemoveOnTrailingIconClick(shouldRemove) {\n return this.foundation_.setShouldRemoveOnTrailingIconClick(shouldRemove);\n }\n\n /**\n * @return {!MDCChipFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_3__[\"MDCChipFoundation\"](/** @type {!MDCChipAdapter} */ (Object.assign({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n addClassToLeadingIcon: (className) => {\n if (this.leadingIcon_) {\n this.leadingIcon_.classList.add(className);\n }\n },\n removeClassFromLeadingIcon: (className) => {\n if (this.leadingIcon_) {\n this.leadingIcon_.classList.remove(className);\n }\n },\n eventTargetHasClass: (target, className) => target.classList.contains(className),\n notifyInteraction: () => this.emit(_constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].INTERACTION_EVENT, {chip: this}, true /* shouldBubble */),\n notifyTrailingIconInteraction: () => this.emit(\n _constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].TRAILING_ICON_INTERACTION_EVENT, {chip: this}, true /* shouldBubble */),\n notifyRemoval: () => this.emit(_constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"].REMOVAL_EVENT, {chip: this, root: this.root_}, true /* shouldBubble */),\n getComputedStyleValue: (propertyName) => window.getComputedStyle(this.root_).getPropertyValue(propertyName),\n setStyleProperty: (propertyName, value) => this.root_.style.setProperty(propertyName, value),\n })));\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/chip/index.js?");
/***/ }),
/***/ "./node_modules/@material/chips/index.js":
/*!***********************************************!*\
!*** ./node_modules/@material/chips/index.js ***!
\***********************************************/
/*! exports provided: MDCChipFoundation, MDCChip, MDCChipSetFoundation, MDCChipSet */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _chip_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chip/index */ \"./node_modules/@material/chips/chip/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChipFoundation\", function() { return _chip_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCChipFoundation\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChip\", function() { return _chip_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCChip\"]; });\n\n/* harmony import */ var _chip_set_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./chip-set/index */ \"./node_modules/@material/chips/chip-set/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChipSetFoundation\", function() { return _chip_set_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCChipSetFoundation\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCChipSet\", function() { return _chip_set_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCChipSet\"]; });\n\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/chips/index.js?");
/***/ }),
/***/ "./node_modules/@material/dialog/constants.js":
/*!****************************************************!*\
!*** ./node_modules/@material/dialog/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 * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst cssClasses = {\n ROOT: 'mdc-dialog',\n OPEN: 'mdc-dialog--open',\n ANIMATING: 'mdc-dialog--animating',\n BACKDROP: 'mdc-dialog__backdrop',\n SCROLL_LOCK: 'mdc-dialog-scroll-lock',\n ACCEPT_BTN: 'mdc-dialog__footer__button--accept',\n CANCEL_BTN: 'mdc-dialog__footer__button--cancel',\n};\n\nconst strings = {\n OPEN_DIALOG_SELECTOR: '.mdc-dialog--open',\n DIALOG_SURFACE_SELECTOR: '.mdc-dialog__surface',\n ACCEPT_SELECTOR: '.mdc-dialog__footer__button--accept',\n ACCEPT_EVENT: 'MDCDialog:accept',\n CANCEL_EVENT: 'MDCDialog:cancel',\n};\n\nconst numbers = {\n DIALOG_ANIMATION_TIME_MS: 120,\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/dialog/constants.js?");
/***/ }),
/***/ "./node_modules/@material/dialog/foundation.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/dialog/foundation.js ***!
\*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCDialogFoundation; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/dialog/constants.js\");\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\nclass MDCDialogFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"];\n }\n\n static get defaultAdapter() {\n return ({\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n addBodyClass: (/* className: string */) => {},\n removeBodyClass: (/* className: string */) => {},\n eventTargetHasClass: (/* target: EventTarget, className: string */) => /* boolean */ false,\n registerInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n registerSurfaceInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n deregisterSurfaceInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n registerDocumentKeydownHandler: (/* handler: EventListener */) => {},\n deregisterDocumentKeydownHandler: (/* handler: EventListener */) => {},\n notifyAccept: () => {},\n notifyCancel: () => {},\n trapFocusOnSurface: () => {},\n untrapFocusOnSurface: () => {},\n isDialog: (/* el: Element */) => /* boolean */ false,\n });\n }\n\n constructor(adapter) {\n super(Object.assign(MDCDialogFoundation.defaultAdapter, adapter));\n this.isOpen_ = false;\n this.componentClickHandler_ = (evt) => {\n if (this.adapter_.eventTargetHasClass(evt.target, _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].BACKDROP)) {\n this.cancel(true);\n }\n };\n this.dialogClickHandler_ = (evt) => this.handleDialogClick_(evt);\n this.documentKeydownHandler_ = (evt) => {\n if (evt.key && evt.key === 'Escape' || evt.keyCode === 27) {\n this.cancel(true);\n }\n };\n\n this.timerId_ = 0;\n this.animationTimerEnd_ = (evt) => this.handleAnimationTimerEnd_(evt);\n };\n\n destroy() {\n // Ensure that dialog is cleaned up when destroyed\n if (this.isOpen_) {\n this.close();\n }\n // Final cleanup of animating class in case the timer has not completed.\n this.adapter_.removeClass(MDCDialogFoundation.cssClasses.ANIMATING);\n clearTimeout(this.timerId_);\n }\n\n open() {\n this.isOpen_ = true;\n this.disableScroll_();\n this.adapter_.registerDocumentKeydownHandler(this.documentKeydownHandler_);\n this.adapter_.registerSurfaceInteractionHandler('click', this.dialogClickHandler_);\n this.adapter_.registerInteractionHandler('click', this.componentClickHandler_);\n clearTimeout(this.timerId_);\n this.timerId_ = setTimeout(this.animationTimerEnd_, MDCDialogFoundation.numbers.DIALOG_ANIMATION_TIME_MS);\n this.adapter_.addClass(MDCDialogFoundation.cssClasses.ANIMATING);\n this.adapter_.addClass(MDCDialogFoundation.cssClasses.OPEN);\n }\n\n close() {\n this.isOpen_ = false;\n this.enableScroll_();\n this.adapter_.deregisterSurfaceInteractionHandler('click', this.dialogClickHandler_);\n this.adapter_.deregisterDocumentKeydownHandler(this.documentKeydownHandler_);\n this.adapter_.deregisterInteractionHandler('click', this.componentClickHandler_);\n this.adapter_.untrapFocusOnSurface();\n clearTimeout(this.timerId_);\n this.timerId_ = setTimeout(this.animationTimerEnd_, MDCDialogFoundation.numbers.DIALOG_ANIMATION_TIME_MS);\n this.adapter_.addClass(MDCDialogFoundation.cssClasses.ANIMATING);\n this.adapter_.removeClass(MDCDialogFoundation.cssClasses.OPEN);\n }\n\n isOpen() {\n return this.isOpen_;\n }\n\n accept(shouldNotify) {\n if (shouldNotify) {\n this.adapter_.notifyAccept();\n }\n\n this.close();\n }\n\n cancel(shouldNotify) {\n if (shouldNotify) {\n this.adapter_.notifyCancel();\n }\n\n this.close();\n }\n\n handleDialogClick_(evt) {\n const {target} = evt;\n if (this.adapter_.eventTargetHasClass(target, _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].ACCEPT_BTN)) {\n this.accept(true);\n } else if (this.adapter_.eventTargetHasClass(target, _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].CANCEL_BTN)) {\n this.cancel(true);\n }\n }\n\n handleAnimationTimerEnd_() {\n this.adapter_.removeClass(MDCDialogFoundation.cssClasses.ANIMATING);\n if (this.isOpen_) {\n this.adapter_.trapFocusOnSurface();\n }\n };\n\n disableScroll_() {\n this.adapter_.addBodyClass(_constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].SCROLL_LOCK);\n }\n\n enableScroll_() {\n this.adapter_.removeBodyClass(_constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].SCROLL_LOCK);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/dialog/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/dialog/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/dialog/index.js ***!
\************************************************/
/*! exports provided: MDCDialogFoundation, util, MDCDialog */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCDialog\", function() { return MDCDialog; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/dialog/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCDialogFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/dialog/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_3__; });\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n\nclass MDCDialog extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCDialog(root);\n }\n\n get open() {\n return this.foundation_.isOpen();\n }\n\n get acceptButton_() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.ACCEPT_SELECTOR);\n }\n\n get dialogSurface_() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.DIALOG_SURFACE_SELECTOR);\n }\n\n initialize() {\n this.focusTrap_ = _util__WEBPACK_IMPORTED_MODULE_3__[\"createFocusTrapInstance\"](this.dialogSurface_, this.acceptButton_);\n this.footerBtnRipples_ = [];\n\n const footerBtns = this.root_.querySelectorAll('.mdc-dialog__footer__button');\n for (let i = 0, footerBtn; footerBtn = footerBtns[i]; i++) {\n this.footerBtnRipples_.push(new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"](footerBtn));\n }\n }\n\n destroy() {\n this.footerBtnRipples_.forEach((ripple) => ripple.destroy());\n super.destroy();\n }\n\n show() {\n this.foundation_.open();\n }\n\n close() {\n this.foundation_.close();\n }\n\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n addBodyClass: (className) => document.body.classList.add(className),\n removeBodyClass: (className) => document.body.classList.remove(className),\n eventTargetHasClass: (target, className) => target.classList.contains(className),\n registerInteractionHandler: (evt, handler) => this.root_.addEventListener(evt, handler),\n deregisterInteractionHandler: (evt, handler) => this.root_.removeEventListener(evt, handler),\n registerSurfaceInteractionHandler: (evt, handler) => this.dialogSurface_.addEventListener(evt, handler),\n deregisterSurfaceInteractionHandler: (evt, handler) => this.dialogSurface_.removeEventListener(evt, handler),\n registerDocumentKeydownHandler: (handler) => document.addEventListener('keydown', handler),\n deregisterDocumentKeydownHandler: (handler) => document.removeEventListener('keydown', handler),\n notifyAccept: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.ACCEPT_EVENT),\n notifyCancel: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.CANCEL_EVENT),\n trapFocusOnSurface: () => this.focusTrap_.activate(),\n untrapFocusOnSurface: () => this.focusTrap_.deactivate(),\n isDialog: (el) => el === this.dialogSurface_,\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/dialog/index.js?");
/***/ }),
/***/ "./node_modules/@material/dialog/util.js":
/*!***********************************************!*\
!*** ./node_modules/@material/dialog/util.js ***!
\***********************************************/
/*! exports provided: createFocusTrapInstance */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createFocusTrapInstance\", function() { return createFocusTrapInstance; });\n/* harmony import */ var focus_trap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! focus-trap */ \"./node_modules/focus-trap/index.js\");\n/* harmony import */ var focus_trap__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(focus_trap__WEBPACK_IMPORTED_MODULE_0__);\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nfunction createFocusTrapInstance(surfaceEl, acceptButtonEl, focusTrapFactory = focus_trap__WEBPACK_IMPORTED_MODULE_0___default.a) {\n return focusTrapFactory(surfaceEl, {\n initialFocus: acceptButtonEl,\n clickOutsideDeactivates: true,\n });\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/dialog/util.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/drawer/index.js ***!
\************************************************/
/*! exports provided: MDCTemporaryDrawer, MDCTemporaryDrawerFoundation, MDCPersistentDrawer, MDCPersistentDrawerFoundation, util */
/***/ (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/drawer/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_0__; });\n/* harmony import */ var _temporary__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./temporary */ \"./node_modules/@material/drawer/temporary/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTemporaryDrawer\", function() { return _temporary__WEBPACK_IMPORTED_MODULE_1__[\"MDCTemporaryDrawer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTemporaryDrawerFoundation\", function() { return _temporary__WEBPACK_IMPORTED_MODULE_1__[\"MDCTemporaryDrawerFoundation\"]; });\n\n/* harmony import */ var _persistent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./persistent */ \"./node_modules/@material/drawer/persistent/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCPersistentDrawer\", function() { return _persistent__WEBPACK_IMPORTED_MODULE_2__[\"MDCPersistentDrawer\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCPersistentDrawerFoundation\", function() { return _persistent__WEBPACK_IMPORTED_MODULE_2__[\"MDCPersistentDrawerFoundation\"]; });\n\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/index.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/persistent/constants.js":
/*!***************************************************************!*\
!*** ./node_modules/@material/drawer/persistent/constants.js ***!
\***************************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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 import */ var _slidable_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../slidable/index */ \"./node_modules/@material/drawer/slidable/index.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nconst cssClasses = {\n ROOT: 'mdc-drawer--persistent',\n OPEN: 'mdc-drawer--open',\n ANIMATING: 'mdc-drawer--animating',\n};\n\nconst strings = {\n DRAWER_SELECTOR: '.mdc-drawer--persistent .mdc-drawer__drawer',\n FOCUSABLE_ELEMENTS: _slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"FOCUSABLE_ELEMENTS\"],\n OPEN_EVENT: 'MDCPersistentDrawer:open',\n CLOSE_EVENT: 'MDCPersistentDrawer:close',\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/persistent/constants.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/persistent/foundation.js":
/*!****************************************************************!*\
!*** ./node_modules/@material/drawer/persistent/foundation.js ***!
\****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCPersistentDrawerFoundation; });\n/* harmony import */ var _slidable_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../slidable/index */ \"./node_modules/@material/drawer/slidable/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/drawer/persistent/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\nclass MDCPersistentDrawerFoundation extends _slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCSlidableDrawerFoundation\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return Object.assign(_slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCSlidableDrawerFoundation\"].defaultAdapter, {\n isDrawer: () => false,\n });\n }\n\n constructor(adapter) {\n super(\n Object.assign(MDCPersistentDrawerFoundation.defaultAdapter, adapter),\n MDCPersistentDrawerFoundation.cssClasses.ROOT,\n MDCPersistentDrawerFoundation.cssClasses.ANIMATING,\n MDCPersistentDrawerFoundation.cssClasses.OPEN);\n }\n\n isRootTransitioningEventTarget_(el) {\n return this.adapter_.isDrawer(el);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/persistent/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/persistent/index.js":
/*!***********************************************************!*\
!*** ./node_modules/@material/drawer/persistent/index.js ***!
\***********************************************************/
/*! exports provided: MDCPersistentDrawerFoundation, util, MDCPersistentDrawer */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCPersistentDrawer\", function() { return MDCPersistentDrawer; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/drawer/persistent/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCPersistentDrawerFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ \"./node_modules/@material/drawer/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_2__; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\nclass MDCPersistentDrawer extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCPersistentDrawer(root);\n }\n\n get open() {\n return this.foundation_.isOpen();\n }\n\n set open(value) {\n if (value) {\n this.foundation_.open();\n } else {\n this.foundation_.close();\n }\n }\n\n // Return the drawer element inside the component.\n get drawer() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.DRAWER_SELECTOR);\n }\n\n getDefaultFoundation() {\n const {FOCUSABLE_ELEMENTS} = _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings;\n\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n hasNecessaryDom: () => Boolean(this.drawer),\n registerInteractionHandler: (evt, handler) =>\n this.root_.addEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler, _util__WEBPACK_IMPORTED_MODULE_2__[\"applyPassive\"]()),\n deregisterInteractionHandler: (evt, handler) =>\n this.root_.removeEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler, _util__WEBPACK_IMPORTED_MODULE_2__[\"applyPassive\"]()),\n registerDrawerInteractionHandler: (evt, handler) =>\n this.drawer.addEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler),\n deregisterDrawerInteractionHandler: (evt, handler) =>\n this.drawer.removeEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler),\n registerTransitionEndHandler: (handler) =>\n this.root_.addEventListener('transitionend', handler),\n deregisterTransitionEndHandler: (handler) =>\n this.root_.removeEventListener('transitionend', handler),\n registerDocumentKeydownHandler: (handler) => document.addEventListener('keydown', handler),\n deregisterDocumentKeydownHandler: (handler) => document.removeEventListener('keydown', handler),\n getDrawerWidth: () => this.drawer.offsetWidth,\n setTranslateX: (value) => this.drawer.style.setProperty(\n _util__WEBPACK_IMPORTED_MODULE_2__[\"getTransformPropertyName\"](), value === null ? null : `translateX(${value}px)`),\n getFocusableElements: () => this.drawer.querySelectorAll(FOCUSABLE_ELEMENTS),\n saveElementTabState: (el) => _util__WEBPACK_IMPORTED_MODULE_2__[\"saveElementTabState\"](el),\n restoreElementTabState: (el) => _util__WEBPACK_IMPORTED_MODULE_2__[\"restoreElementTabState\"](el),\n makeElementUntabbable: (el) => el.setAttribute('tabindex', -1),\n notifyOpen: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.OPEN_EVENT),\n notifyClose: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.CLOSE_EVENT),\n isRtl: () => getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n isDrawer: (el) => el === this.drawer,\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/persistent/index.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/slidable/constants.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/drawer/slidable/constants.js ***!
\*************************************************************/
/*! exports provided: FOCUSABLE_ELEMENTS */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FOCUSABLE_ELEMENTS\", function() { return FOCUSABLE_ELEMENTS; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst FOCUSABLE_ELEMENTS =\n 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), ' +\n 'button:not([disabled]), iframe, object, embed, [tabindex], [contenteditable]';\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/slidable/constants.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/slidable/foundation.js":
/*!**************************************************************!*\
!*** ./node_modules/@material/drawer/slidable/foundation.js ***!
\**************************************************************/
/*! exports provided: MDCSlidableDrawerFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSlidableDrawerFoundation\", function() { return MDCSlidableDrawerFoundation; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nclass MDCSlidableDrawerFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n static get defaultAdapter() {\n return {\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n hasClass: (/* className: string */) => {},\n hasNecessaryDom: () => /* boolean */ false,\n registerInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n registerDrawerInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n deregisterDrawerInteractionHandler: (/* evt: string, handler: EventListener */) => {},\n registerTransitionEndHandler: (/* handler: EventListener */) => {},\n deregisterTransitionEndHandler: (/* handler: EventListener */) => {},\n registerDocumentKeydownHandler: (/* handler: EventListener */) => {},\n deregisterDocumentKeydownHandler: (/* handler: EventListener */) => {},\n setTranslateX: (/* value: number | null */) => {},\n getFocusableElements: () => /* NodeList */ {},\n saveElementTabState: (/* el: Element */) => {},\n restoreElementTabState: (/* el: Element */) => {},\n makeElementUntabbable: (/* el: Element */) => {},\n notifyOpen: () => {},\n notifyClose: () => {},\n isRtl: () => /* boolean */ false,\n getDrawerWidth: () => /* number */ 0,\n };\n }\n\n constructor(adapter, rootCssClass, animatingCssClass, openCssClass) {\n super(Object.assign(MDCSlidableDrawerFoundation.defaultAdapter, adapter));\n\n this.rootCssClass_ = rootCssClass;\n this.animatingCssClass_ = animatingCssClass;\n this.openCssClass_ = openCssClass;\n\n this.transitionEndHandler_ = (evt) => this.handleTransitionEnd_(evt);\n\n this.inert_ = false;\n\n this.componentTouchStartHandler_ = (evt) => this.handleTouchStart_(evt);\n this.componentTouchMoveHandler_ = (evt) => this.handleTouchMove_(evt);\n this.componentTouchEndHandler_ = (evt) => this.handleTouchEnd_(evt);\n this.documentKeydownHandler_ = (evt) => {\n if (evt.key && evt.key === 'Escape' || evt.keyCode === 27) {\n this.close();\n }\n };\n }\n\n init() {\n const ROOT = this.rootCssClass_;\n const OPEN = this.openCssClass_;\n\n if (!this.adapter_.hasClass(ROOT)) {\n throw new Error(`${ROOT} class required in root element.`);\n }\n\n if (!this.adapter_.hasNecessaryDom()) {\n throw new Error(`Required DOM nodes missing in ${ROOT} component.`);\n }\n\n if (this.adapter_.hasClass(OPEN)) {\n this.isOpen_ = true;\n } else {\n this.detabinate_();\n this.isOpen_ = false;\n }\n\n this.adapter_.registerDrawerInteractionHandler('touchstart', this.componentTouchStartHandler_);\n this.adapter_.registerInteractionHandler('touchmove', this.componentTouchMoveHandler_);\n this.adapter_.registerInteractionHandler('touchend', this.componentTouchEndHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterDrawerInteractionHandler('touchstart', this.componentTouchStartHandler_);\n this.adapter_.deregisterInteractionHandler('touchmove', this.componentTouchMoveHandler_);\n this.adapter_.deregisterInteractionHandler('touchend', this.componentTouchEndHandler_);\n // Deregister the document keydown handler just in case the component is destroyed while the menu is open.\n this.adapter_.deregisterDocumentKeydownHandler(this.documentKeydownHandler_);\n }\n\n open() {\n this.adapter_.registerTransitionEndHandler(this.transitionEndHandler_);\n this.adapter_.registerDocumentKeydownHandler(this.documentKeydownHandler_);\n this.adapter_.addClass(this.animatingCssClass_);\n this.adapter_.addClass(this.openCssClass_);\n this.retabinate_();\n // Debounce multiple calls\n if (!this.isOpen_) {\n this.adapter_.notifyOpen();\n }\n this.isOpen_ = true;\n }\n\n close() {\n this.adapter_.deregisterDocumentKeydownHandler(this.documentKeydownHandler_);\n this.adapter_.registerTransitionEndHandler(this.transitionEndHandler_);\n this.adapter_.addClass(this.animatingCssClass_);\n this.adapter_.removeClass(this.openCssClass_);\n this.detabinate_();\n // Debounce multiple calls\n if (this.isOpen_) {\n this.adapter_.notifyClose();\n }\n this.isOpen_ = false;\n }\n\n isOpen() {\n return this.isOpen_;\n }\n\n /**\n * Render all children of the drawer inert when it's closed.\n */\n detabinate_() {\n if (this.inert_) {\n return;\n }\n\n const elements = this.adapter_.getFocusableElements();\n if (elements) {\n for (let i = 0; i < elements.length; i++) {\n this.adapter_.saveElementTabState(elements[i]);\n this.adapter_.makeElementUntabbable(elements[i]);\n }\n }\n\n this.inert_ = true;\n }\n\n /**\n * Make all children of the drawer tabbable again when it's open.\n */\n retabinate_() {\n if (!this.inert_) {\n return;\n }\n\n const elements = this.adapter_.getFocusableElements();\n if (elements) {\n for (let i = 0; i < elements.length; i++) {\n this.adapter_.restoreElementTabState(elements[i]);\n }\n }\n\n this.inert_ = false;\n }\n\n handleTouchStart_(evt) {\n if (!this.adapter_.hasClass(this.openCssClass_)) {\n return;\n }\n if (evt.pointerType && evt.pointerType !== 'touch') {\n return;\n }\n\n this.direction_ = this.adapter_.isRtl() ? -1 : 1;\n this.drawerWidth_ = this.adapter_.getDrawerWidth();\n this.startX_ = evt.touches ? evt.touches[0].pageX : evt.pageX;\n this.currentX_ = this.startX_;\n\n this.updateRaf_ = requestAnimationFrame(this.updateDrawer_.bind(this));\n }\n\n handleTouchMove_(evt) {\n if (evt.pointerType && evt.pointerType !== 'touch') {\n return;\n }\n\n this.currentX_ = evt.touches ? evt.touches[0].pageX : evt.pageX;\n }\n\n handleTouchEnd_(evt) {\n if (evt.pointerType && evt.pointerType !== 'touch') {\n return;\n }\n\n this.prepareForTouchEnd_();\n\n // Did the user close the drawer by more than 50%?\n if (Math.abs(this.newPosition_ / this.drawerWidth_) >= 0.5) {\n this.close();\n } else {\n // Triggering an open here means we'll get a nice animation back to the fully open state.\n this.open();\n }\n }\n\n prepareForTouchEnd_() {\n cancelAnimationFrame(this.updateRaf_);\n this.adapter_.setTranslateX(null);\n }\n\n updateDrawer_() {\n this.updateRaf_ = requestAnimationFrame(this.updateDrawer_.bind(this));\n this.adapter_.setTranslateX(this.newPosition_);\n }\n\n get newPosition_() {\n let newPos = null;\n\n if (this.direction_ === 1) {\n newPos = Math.min(0, this.currentX_ - this.startX_);\n } else {\n newPos = Math.max(0, this.currentX_ - this.startX_);\n }\n\n return newPos;\n }\n\n isRootTransitioningEventTarget_() {\n // Classes extending MDCSlidableDrawerFoundation should implement this method to return true or false\n // if the event target is the root event target currently transitioning.\n return false;\n }\n\n handleTransitionEnd_(evt) {\n if (this.isRootTransitioningEventTarget_(evt.target)) {\n this.adapter_.removeClass(this.animatingCssClass_);\n this.adapter_.deregisterTransitionEndHandler(this.transitionEndHandler_);\n }\n };\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/slidable/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/slidable/index.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/drawer/slidable/index.js ***!
\*********************************************************/
/*! exports provided: FOCUSABLE_ELEMENTS, MDCSlidableDrawerFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/drawer/slidable/constants.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FOCUSABLE_ELEMENTS\", function() { return _constants__WEBPACK_IMPORTED_MODULE_0__[\"FOCUSABLE_ELEMENTS\"]; });\n\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/drawer/slidable/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSlidableDrawerFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"MDCSlidableDrawerFoundation\"]; });\n\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/slidable/index.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/temporary/constants.js":
/*!**************************************************************!*\
!*** ./node_modules/@material/drawer/temporary/constants.js ***!
\**************************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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 import */ var _slidable_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../slidable/index */ \"./node_modules/@material/drawer/slidable/index.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nconst cssClasses = {\n ROOT: 'mdc-drawer--temporary',\n OPEN: 'mdc-drawer--open',\n ANIMATING: 'mdc-drawer--animating',\n SCROLL_LOCK: 'mdc-drawer-scroll-lock',\n};\n\nconst strings = {\n DRAWER_SELECTOR: '.mdc-drawer--temporary .mdc-drawer__drawer',\n OPACITY_VAR_NAME: '--mdc-temporary-drawer-opacity',\n FOCUSABLE_ELEMENTS: _slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"FOCUSABLE_ELEMENTS\"],\n OPEN_EVENT: 'MDCTemporaryDrawer:open',\n CLOSE_EVENT: 'MDCTemporaryDrawer:close',\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/temporary/constants.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/temporary/foundation.js":
/*!***************************************************************!*\
!*** ./node_modules/@material/drawer/temporary/foundation.js ***!
\***************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCTemporaryDrawerFoundation; });\n/* harmony import */ var _slidable_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../slidable/index */ \"./node_modules/@material/drawer/slidable/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/drawer/temporary/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\nclass MDCTemporaryDrawerFoundation extends _slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCSlidableDrawerFoundation\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return Object.assign(_slidable_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCSlidableDrawerFoundation\"].defaultAdapter, {\n addBodyClass: (/* className: string */) => {},\n removeBodyClass: (/* className: string */) => {},\n isDrawer: () => false,\n updateCssVariable: (/* value: string */) => {},\n eventTargetHasClass: (/* target: EventTarget, className: string */) => /* boolean */ false,\n });\n }\n\n constructor(adapter) {\n super(\n Object.assign(MDCTemporaryDrawerFoundation.defaultAdapter, adapter),\n MDCTemporaryDrawerFoundation.cssClasses.ROOT,\n MDCTemporaryDrawerFoundation.cssClasses.ANIMATING,\n MDCTemporaryDrawerFoundation.cssClasses.OPEN);\n\n this.componentClickHandler_ = (evt) => {\n if (this.adapter_.eventTargetHasClass(evt.target, _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].ROOT)) {\n this.close(true);\n }\n };\n }\n\n init() {\n super.init();\n\n // Make browser aware of custom property being used in this element.\n // Workaround for certain types of hard-to-reproduce heisenbugs.\n this.adapter_.updateCssVariable(0);\n this.adapter_.registerInteractionHandler('click', this.componentClickHandler_);\n }\n\n destroy() {\n super.destroy();\n\n this.adapter_.deregisterInteractionHandler('click', this.componentClickHandler_);\n this.enableScroll_();\n }\n\n open() {\n this.disableScroll_();\n // Make sure custom property values are cleared before starting.\n this.adapter_.updateCssVariable('');\n\n super.open();\n }\n\n close() {\n // Make sure custom property values are cleared before making any changes.\n this.adapter_.updateCssVariable('');\n\n super.close();\n }\n\n prepareForTouchEnd_() {\n super.prepareForTouchEnd_();\n\n this.adapter_.updateCssVariable('');\n }\n\n updateDrawer_() {\n super.updateDrawer_();\n\n const newOpacity = Math.max(0, 1 + this.direction_ * (this.newPosition_ / this.drawerWidth_));\n this.adapter_.updateCssVariable(newOpacity);\n }\n\n isRootTransitioningEventTarget_(el) {\n return this.adapter_.isDrawer(el);\n }\n\n handleTransitionEnd_(evt) {\n super.handleTransitionEnd_(evt);\n if (!this.isOpen_) {\n this.enableScroll_();\n }\n };\n\n disableScroll_() {\n this.adapter_.addBodyClass(_constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].SCROLL_LOCK);\n }\n\n enableScroll_() {\n this.adapter_.removeBodyClass(_constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"].SCROLL_LOCK);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/temporary/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/temporary/index.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/drawer/temporary/index.js ***!
\**********************************************************/
/*! exports provided: MDCTemporaryDrawerFoundation, util, MDCTemporaryDrawer */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTemporaryDrawer\", function() { return MDCTemporaryDrawer; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/drawer/temporary/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTemporaryDrawerFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../util */ \"./node_modules/@material/drawer/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_2__; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\nclass MDCTemporaryDrawer extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCTemporaryDrawer(root);\n }\n\n get open() {\n return this.foundation_.isOpen();\n }\n\n set open(value) {\n if (value) {\n this.foundation_.open();\n } else {\n this.foundation_.close();\n }\n }\n\n /* Return the drawer element inside the component. */\n get drawer() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.DRAWER_SELECTOR);\n }\n\n getDefaultFoundation() {\n const {FOCUSABLE_ELEMENTS, OPACITY_VAR_NAME} = _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings;\n\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n addBodyClass: (className) => document.body.classList.add(className),\n removeBodyClass: (className) => document.body.classList.remove(className),\n eventTargetHasClass: (target, className) => target.classList.contains(className),\n hasNecessaryDom: () => Boolean(this.drawer),\n registerInteractionHandler: (evt, handler) =>\n this.root_.addEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler, _util__WEBPACK_IMPORTED_MODULE_2__[\"applyPassive\"]()),\n deregisterInteractionHandler: (evt, handler) =>\n this.root_.removeEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler, _util__WEBPACK_IMPORTED_MODULE_2__[\"applyPassive\"]()),\n registerDrawerInteractionHandler: (evt, handler) =>\n this.drawer.addEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler),\n deregisterDrawerInteractionHandler: (evt, handler) =>\n this.drawer.removeEventListener(_util__WEBPACK_IMPORTED_MODULE_2__[\"remapEvent\"](evt), handler),\n registerTransitionEndHandler: (handler) => this.drawer.addEventListener('transitionend', handler),\n deregisterTransitionEndHandler: (handler) => this.drawer.removeEventListener('transitionend', handler),\n registerDocumentKeydownHandler: (handler) => document.addEventListener('keydown', handler),\n deregisterDocumentKeydownHandler: (handler) => document.removeEventListener('keydown', handler),\n getDrawerWidth: () => this.drawer.offsetWidth,\n setTranslateX: (value) => this.drawer.style.setProperty(\n _util__WEBPACK_IMPORTED_MODULE_2__[\"getTransformPropertyName\"](), value === null ? null : `translateX(${value}px)`),\n updateCssVariable: (value) => {\n if (_util__WEBPACK_IMPORTED_MODULE_2__[\"supportsCssCustomProperties\"]()) {\n this.root_.style.setProperty(OPACITY_VAR_NAME, value);\n }\n },\n getFocusableElements: () => this.drawer.querySelectorAll(FOCUSABLE_ELEMENTS),\n saveElementTabState: (el) => _util__WEBPACK_IMPORTED_MODULE_2__[\"saveElementTabState\"](el),\n restoreElementTabState: (el) => _util__WEBPACK_IMPORTED_MODULE_2__[\"restoreElementTabState\"](el),\n makeElementUntabbable: (el) => el.setAttribute('tabindex', -1),\n notifyOpen: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.OPEN_EVENT),\n notifyClose: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.CLOSE_EVENT),\n isRtl: () => getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n isDrawer: (el) => el === this.drawer,\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/temporary/index.js?");
/***/ }),
/***/ "./node_modules/@material/drawer/util.js":
/*!***********************************************!*\
!*** ./node_modules/@material/drawer/util.js ***!
\***********************************************/
/*! exports provided: remapEvent, getTransformPropertyName, supportsCssCustomProperties, applyPassive, saveElementTabState, restoreElementTabState */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"remapEvent\", function() { return remapEvent; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getTransformPropertyName\", function() { return getTransformPropertyName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"supportsCssCustomProperties\", function() { return supportsCssCustomProperties; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"applyPassive\", function() { return applyPassive; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"saveElementTabState\", function() { return saveElementTabState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"restoreElementTabState\", function() { return restoreElementTabState; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst TAB_DATA = 'data-mdc-tabindex';\nconst TAB_DATA_HANDLED = 'data-mdc-tabindex-handled';\n\nlet storedTransformPropertyName_;\nlet supportsPassive_;\n\n// Remap touch events to pointer events, if the browser doesn't support touch events.\nfunction remapEvent(eventName, globalObj = window) {\n if (!('ontouchstart' in globalObj.document)) {\n switch (eventName) {\n case 'touchstart':\n return 'pointerdown';\n case 'touchmove':\n return 'pointermove';\n case 'touchend':\n return 'pointerup';\n default:\n return eventName;\n }\n }\n\n return eventName;\n}\n\n// Choose the correct transform property to use on the current browser.\nfunction getTransformPropertyName(globalObj = window, forceRefresh = false) {\n if (storedTransformPropertyName_ === undefined || forceRefresh) {\n const el = globalObj.document.createElement('div');\n const transformPropertyName = ('transform' in el.style ? 'transform' : '-webkit-transform');\n storedTransformPropertyName_ = transformPropertyName;\n }\n\n return storedTransformPropertyName_;\n}\n\n// Determine whether the current browser supports CSS properties.\nfunction supportsCssCustomProperties(globalObj = window) {\n if ('CSS' in globalObj) {\n return globalObj.CSS.supports('(--color: red)');\n }\n return false;\n}\n\n// Determine whether the current browser supports passive event listeners, and if so, use them.\nfunction applyPassive(globalObj = window, forceRefresh = false) {\n if (supportsPassive_ === undefined || forceRefresh) {\n let isSupported = false;\n try {\n globalObj.document.addEventListener('test', null, {get passive() {\n isSupported = true;\n }});\n } catch (e) { }\n\n supportsPassive_ = isSupported;\n }\n\n return supportsPassive_ ? {passive: true} : false;\n}\n\n// Save the tab state for an element.\nfunction saveElementTabState(el) {\n if (el.hasAttribute('tabindex')) {\n el.setAttribute(TAB_DATA, el.getAttribute('tabindex'));\n }\n el.setAttribute(TAB_DATA_HANDLED, true);\n}\n\n// Restore the tab state for an element, if it was saved.\nfunction restoreElementTabState(el) {\n // Only modify elements we've already handled, in case anything was dynamically added since we saved state.\n if (el.hasAttribute(TAB_DATA_HANDLED)) {\n if (el.hasAttribute(TAB_DATA)) {\n el.setAttribute('tabindex', el.getAttribute(TAB_DATA));\n el.removeAttribute(TAB_DATA);\n } else {\n el.removeAttribute('tabindex');\n }\n el.removeAttribute(TAB_DATA_HANDLED);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/drawer/util.js?");
/***/ }),
/***/ "./node_modules/@material/floating-label/adapter.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/floating-label/adapter.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Floating Label.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the floating label into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCFloatingLabelAdapter {\n /**\n * Adds a class to the label element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the label element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns the width of the label element.\n * @return {number}\n */\n getWidth() {}\n\n /**\n * Registers an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerInteractionHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterInteractionHandler(evtType, handler) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFloatingLabelAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/floating-label/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/floating-label/constants.js":
/*!************************************************************!*\
!*** ./node_modules/@material/floating-label/constants.js ***!
\************************************************************/
/*! exports provided: cssClasses */
/***/ (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/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n LABEL_FLOAT_ABOVE: 'mdc-floating-label--float-above',\n LABEL_SHAKE: 'mdc-floating-label--shake',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/floating-label/constants.js?");
/***/ }),
/***/ "./node_modules/@material/floating-label/foundation.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/floating-label/foundation.js ***!
\*************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/floating-label/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/floating-label/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCFloatingLabelFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCFloatingLabelAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCFloatingLabelAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCFloatingLabelAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n getWidth: () => {},\n registerInteractionHandler: () => {},\n deregisterInteractionHandler: () => {},\n });\n }\n\n /**\n * @param {!MDCFloatingLabelAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCFloatingLabelFoundation.defaultAdapter, adapter));\n\n /** @private {function(!Event): undefined} */\n this.shakeAnimationEndHandler_ = () => this.handleShakeAnimationEnd_();\n }\n\n init() {\n this.adapter_.registerInteractionHandler('animationend', this.shakeAnimationEndHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterInteractionHandler('animationend', this.shakeAnimationEndHandler_);\n }\n\n /**\n * Returns the width of the label element.\n * @return {number}\n */\n getWidth() {\n return this.adapter_.getWidth();\n }\n\n /**\n * Styles the label to produce the label shake for errors.\n * @param {boolean} shouldShake adds shake class if true,\n * otherwise removes shake class.\n */\n shake(shouldShake) {\n const {LABEL_SHAKE} = MDCFloatingLabelFoundation.cssClasses;\n if (shouldShake) {\n this.adapter_.addClass(LABEL_SHAKE);\n } else {\n this.adapter_.removeClass(LABEL_SHAKE);\n }\n }\n\n /**\n * Styles the label to float or dock.\n * @param {boolean} shouldFloat adds float class if true, otherwise remove\n * float and shake class to dock label.\n */\n float(shouldFloat) {\n const {LABEL_FLOAT_ABOVE, LABEL_SHAKE} = MDCFloatingLabelFoundation.cssClasses;\n if (shouldFloat) {\n this.adapter_.addClass(LABEL_FLOAT_ABOVE);\n } else {\n this.adapter_.removeClass(LABEL_FLOAT_ABOVE);\n this.adapter_.removeClass(LABEL_SHAKE);\n }\n }\n\n /**\n * Handles an interaction event on the root element.\n */\n handleShakeAnimationEnd_() {\n const {LABEL_SHAKE} = MDCFloatingLabelFoundation.cssClasses;\n this.adapter_.removeClass(LABEL_SHAKE);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFloatingLabelFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/floating-label/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/floating-label/index.js":
/*!********************************************************!*\
!*** ./node_modules/@material/floating-label/index.js ***!
\********************************************************/
/*! exports provided: MDCFloatingLabel, MDCFloatingLabelFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCFloatingLabel\", function() { return MDCFloatingLabel; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/floating-label/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/floating-label/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFloatingLabelFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCFloatingLabel extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCFloatingLabel}\n */\n static attachTo(root) {\n return new MDCFloatingLabel(root);\n }\n\n /**\n * Styles the label to produce the label shake for errors.\n * @param {boolean} shouldShake styles the label to shake by adding shake class\n * if true, otherwise will stop shaking by removing shake class.\n */\n shake(shouldShake) {\n this.foundation_.shake(shouldShake);\n }\n\n /**\n * Styles label to float/dock.\n * @param {boolean} shouldFloat styles the label to float by adding float class\n * if true, otherwise docks the label by removing the float class.\n */\n float(shouldFloat) {\n this.foundation_.float(shouldFloat);\n }\n\n /**\n * @return {number}\n */\n getWidth() {\n return this.foundation_.getWidth();\n }\n\n /**\n * @return {!MDCFloatingLabelFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n getWidth: () => this.root_.offsetWidth,\n registerInteractionHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterInteractionHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n });\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/floating-label/index.js?");
/***/ }),
/***/ "./node_modules/@material/form-field/adapter.js":
/*!******************************************************!*\
!*** ./node_modules/@material/form-field/adapter.js ***!
\******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Form Field. Provides an interface for managing\n * - event handlers\n * - ripple activation\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCFormFieldAdapter {\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n registerInteractionHandler(type, handler) {}\n\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n deregisterInteractionHandler(type, handler) {}\n\n activateInputRipple() {}\n\n deactivateInputRipple() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFormFieldAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/form-field/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/form-field/constants.js":
/*!********************************************************!*\
!*** ./node_modules/@material/form-field/constants.js ***!
\********************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-form-field',\n};\n\n/** @enum {string} */\nconst strings = {\n LABEL_SELECTOR: '.mdc-form-field > label',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/form-field/constants.js?");
/***/ }),
/***/ "./node_modules/@material/form-field/foundation.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/form-field/foundation.js ***!
\*********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/form-field/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/form-field/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCFormFieldFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {cssClasses} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum {strings} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return {!MDCFormFieldAdapter} */\n static get defaultAdapter() {\n return {\n registerInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* type: string, handler: EventListener */) => {},\n activateInputRipple: () => {},\n deactivateInputRipple: () => {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCFormFieldFoundation.defaultAdapter, adapter));\n\n /** @private {!EventListener} */\n this.clickHandler_ = /** @type {!EventListener} */ (\n () => this.handleClick_());\n }\n\n init() {\n this.adapter_.registerInteractionHandler('click', this.clickHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterInteractionHandler('click', this.clickHandler_);\n }\n\n /** @private */\n handleClick_() {\n this.adapter_.activateInputRipple();\n requestAnimationFrame(() => this.adapter_.deactivateInputRipple());\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFormFieldFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/form-field/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/form-field/index.js":
/*!****************************************************!*\
!*** ./node_modules/@material/form-field/index.js ***!
\****************************************************/
/*! exports provided: MDCFormField, MDCFormFieldFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCFormField\", function() { return MDCFormField; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/form-field/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFormFieldFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @extends MDCComponent\n */\nclass MDCFormField extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCFormField(root);\n }\n\n /** @param {?MDCSelectionControl} input */\n set input(input) {\n this.input_ = input;\n }\n\n /** @return {?MDCSelectionControl} */\n get input() {\n return this.input_;\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {?MDCSelectionControl} */\n this.input_;\n }\n\n /**\n * @return {!Element}\n * @private\n */\n get label_() {\n const {LABEL_SELECTOR} = _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings;\n return /** @type {!Element} */ (this.root_.querySelector(LABEL_SELECTOR));\n }\n\n /** @return {!MDCFormFieldFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n registerInteractionHandler: (type, handler) => this.label_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.label_.removeEventListener(type, handler),\n activateInputRipple: () => {\n if (this.input_ && this.input_.ripple) {\n this.input_.ripple.activate();\n }\n },\n deactivateInputRipple: () => {\n if (this.input_ && this.input_.ripple) {\n this.input_.ripple.deactivate();\n }\n },\n });\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/form-field/index.js?");
/***/ }),
/***/ "./node_modules/@material/grid-list/constants.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/grid-list/constants.js ***!
\*******************************************************/
/*! exports provided: strings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst strings = {\n TILES_SELECTOR: '.mdc-grid-list__tiles',\n TILE_SELECTOR: '.mdc-grid-tile',\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/grid-list/constants.js?");
/***/ }),
/***/ "./node_modules/@material/grid-list/foundation.js":
/*!********************************************************!*\
!*** ./node_modules/@material/grid-list/foundation.js ***!
\********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCGridListFoundation; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/grid-list/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\nclass MDCGridListFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return {\n getOffsetWidth: () => /* number */ 0,\n getNumberOfTiles: () => /* number */ 0,\n getOffsetWidthForTileAtIndex: (/* index: number */) => /* number */ 0,\n setStyleForTilesElement: (/* property: string, value: string */) => {},\n registerResizeHandler: (/* handler: EventListener */) => {},\n deregisterResizeHandler: (/* handler: EventListener */) => {},\n };\n }\n constructor(adapter) {\n super(Object.assign(MDCGridListFoundation.defaultAdapter, adapter));\n this.resizeHandler_ = () => this.alignCenter();\n this.resizeFrame_ = 0;\n }\n init() {\n this.alignCenter();\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n destroy() {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n alignCenter() {\n if (this.resizeFrame_ !== 0) {\n cancelAnimationFrame(this.resizeFrame_);\n }\n this.resizeFrame_ = requestAnimationFrame(() => {\n this.alignCenter_();\n this.resizeFrame_ = 0;\n });\n }\n alignCenter_() {\n if (this.adapter_.getNumberOfTiles() == 0) {\n return;\n }\n const gridWidth = this.adapter_.getOffsetWidth();\n const itemWidth = this.adapter_.getOffsetWidthForTileAtIndex(0);\n const tilesWidth = itemWidth * Math.floor(gridWidth / itemWidth);\n this.adapter_.setStyleForTilesElement('width', `${tilesWidth}px`);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/grid-list/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/grid-list/index.js":
/*!***************************************************!*\
!*** ./node_modules/@material/grid-list/index.js ***!
\***************************************************/
/*! exports provided: MDCGridListFoundation, MDCGridList */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCGridList\", function() { return MDCGridList; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/grid-list/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCGridListFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\nclass MDCGridList extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCGridList(root);\n }\n\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n getOffsetWidth: () => this.root_.offsetWidth,\n getNumberOfTiles: () => {\n return this.root_.querySelectorAll(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.TILE_SELECTOR).length;\n },\n getOffsetWidthForTileAtIndex: (index) => {\n return this.root_.querySelectorAll(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.TILE_SELECTOR)[index].offsetWidth;\n },\n setStyleForTilesElement: (property, value) => {\n this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.TILES_SELECTOR).style[property] = value;\n },\n registerResizeHandler: (handler) => window.addEventListener('resize', handler),\n deregisterResizeHandler: (handler) => window.removeEventListener('resize', handler),\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/grid-list/index.js?");
/***/ }),
/***/ "./node_modules/@material/icon-button/adapter.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/icon-button/adapter.js ***!
\*******************************************************/
/*! exports provided: MDCIconButtonToggleAdapter, IconButtonToggleEvent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCIconButtonToggleAdapter\", function() { return MDCIconButtonToggleAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IconButtonToggleEvent\", function() { return IconButtonToggleEvent; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Icon Button Toggle. Provides an interface for managing\n * - classes\n * - dom\n * - inner text\n * - event handlers\n * - event dispatch\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\n\nclass MDCIconButtonToggleAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n registerInteractionHandler(type, handler) {}\n\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n deregisterInteractionHandler(type, handler) {}\n\n /** @param {string} text */\n setText(text) {}\n\n /**\n * @param {string} name\n * @return {string}\n */\n getAttr(name) {}\n\n /**\n * @param {string} name\n * @param {string} value\n */\n setAttr(name, value) {}\n\n /** @param {!IconButtonToggleEvent} evtData */\n notifyChange(evtData) {}\n}\n\n/**\n * @typedef {{\n * isOn: boolean,\n * }}\n */\nlet IconButtonToggleEvent;\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-button/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/icon-button/constants.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/icon-button/constants.js ***!
\*********************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-icon-button',\n};\n\n/** @enum {string} */\nconst strings = {\n DATA_TOGGLE_ON_LABEL: 'data-toggle-on-label',\n DATA_TOGGLE_ON_CONTENT: 'data-toggle-on-content',\n DATA_TOGGLE_ON_CLASS: 'data-toggle-on-class',\n DATA_TOGGLE_OFF_LABEL: 'data-toggle-off-label',\n DATA_TOGGLE_OFF_CONTENT: 'data-toggle-off-content',\n DATA_TOGGLE_OFF_CLASS: 'data-toggle-off-class',\n ARIA_PRESSED: 'aria-pressed',\n ARIA_LABEL: 'aria-label',\n CHANGE_EVENT: 'MDCIconButtonToggle:change',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-button/constants.js?");
/***/ }),
/***/ "./node_modules/@material/icon-button/foundation.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/icon-button/foundation.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/icon-button/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/icon-button/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCIconButtonToggleFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return {\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n setText: (/* text: string */) => {},\n getAttr: (/* name: string */) => /* string */ '',\n setAttr: (/* name: string, value: string */) => {},\n notifyChange: (/* evtData: IconButtonToggleEvent */) => {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCIconButtonToggleFoundation.defaultAdapter, adapter));\n\n const {ARIA_PRESSED} = MDCIconButtonToggleFoundation.strings;\n\n /** @private {boolean} */\n this.on_ = this.adapter_.getAttr(ARIA_PRESSED) === 'true';\n\n /** @private {boolean} */\n this.disabled_ = false;\n\n /** @private {?IconButtonToggleState} */\n this.toggleOnData_ = null;\n\n /** @private {?IconButtonToggleState} */\n this.toggleOffData_ = null;\n }\n\n init() {\n this.refreshToggleData();\n }\n\n refreshToggleData() {\n this.toggleOnData_ = {\n label: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_ON_LABEL),\n content: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_ON_CONTENT),\n cssClass: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_ON_CLASS),\n };\n this.toggleOffData_ = {\n label: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_OFF_LABEL),\n content: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_OFF_CONTENT),\n cssClass: this.adapter_.getAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].DATA_TOGGLE_OFF_CLASS),\n };\n }\n\n handleClick() {\n this.toggle();\n const {on_: isOn} = this;\n this.adapter_.notifyChange(/** @type {!IconButtonToggleEvent} */ ({isOn}));\n }\n\n /** @return {boolean} */\n isOn() {\n return this.on_;\n }\n\n /** @param {boolean=} isOn */\n toggle(isOn = !this.on_) {\n this.on_ = isOn;\n\n const {ARIA_LABEL, ARIA_PRESSED} = MDCIconButtonToggleFoundation.strings;\n\n this.adapter_.setAttr(ARIA_PRESSED, this.on_.toString());\n\n const {cssClass: classToRemove} =\n this.on_ ? this.toggleOffData_ : this.toggleOnData_;\n\n if (classToRemove) {\n this.adapter_.removeClass(classToRemove);\n }\n\n const {content, label, cssClass} = this.on_ ? this.toggleOnData_ : this.toggleOffData_;\n\n if (cssClass) {\n this.adapter_.addClass(cssClass);\n }\n if (content) {\n this.adapter_.setText(content);\n }\n if (label) {\n this.adapter_.setAttr(ARIA_LABEL, label);\n }\n }\n}\n\n/** @record */\nclass IconButtonToggleState {}\n\n/**\n * The aria-label value of the icon toggle, or undefined if there is no aria-label.\n * @export {string|undefined}\n */\nIconButtonToggleState.prototype.label;\n\n/**\n * The text for the icon toggle, or undefined if there is no text.\n * @export {string|undefined}\n */\nIconButtonToggleState.prototype.content;\n\n/**\n * The CSS class to add to the icon toggle, or undefined if there is no CSS class.\n * @export {string|undefined}\n */\nIconButtonToggleState.prototype.cssClass;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCIconButtonToggleFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-button/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/icon-button/index.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/icon-button/index.js ***!
\*****************************************************/
/*! exports provided: MDCIconButtonToggle, MDCIconButtonToggleFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCIconButtonToggle\", function() { return MDCIconButtonToggle; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/icon-button/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCIconButtonToggleFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n */\nclass MDCIconButtonToggle extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCIconButtonToggle(root);\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {!MDCRipple} */\n this.ripple_ = this.initRipple_();\n /** @private {!Function} */\n this.handleClick_;\n }\n\n /** @return {!Element} */\n get iconEl_() {\n const {'iconInnerSelector': sel} = this.root_.dataset;\n return sel ?\n /** @type {!Element} */ (this.root_.querySelector(sel)) : this.root_;\n }\n\n /**\n * @return {!MDCRipple}\n * @private\n */\n initRipple_() {\n const ripple = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCRipple\"](this.root_);\n ripple.unbounded = true;\n return ripple;\n }\n\n destroy() {\n this.root_.removeEventListener('click', this.handleClick_);\n this.ripple_.destroy();\n super.destroy();\n }\n\n /** @return {!MDCIconButtonToggleFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.iconEl_.classList.add(className),\n removeClass: (className) => this.iconEl_.classList.remove(className),\n setText: (text) => this.iconEl_.textContent = text,\n getAttr: (name) => this.root_.getAttribute(name),\n setAttr: (name, value) => this.root_.setAttribute(name, value),\n notifyChange: (evtData) => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.CHANGE_EVENT, evtData),\n });\n }\n\n initialSyncWithDOM() {\n this.handleClick_ = this.foundation_.handleClick.bind(this.foundation_);\n this.on = this.root_.getAttribute(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.ARIA_PRESSED) === 'true';\n this.root_.addEventListener('click', this.handleClick_);\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n\n /** @return {boolean} */\n get on() {\n return this.foundation_.isOn();\n }\n\n /** @param {boolean} isOn */\n set on(isOn) {\n this.foundation_.toggle(isOn);\n }\n\n refreshToggleData() {\n this.foundation_.refreshToggleData();\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-button/index.js?");
/***/ }),
/***/ "./node_modules/@material/icon-toggle/adapter.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/icon-toggle/adapter.js ***!
\*******************************************************/
/*! exports provided: MDCIconToggleAdapter, IconToggleEvent */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCIconToggleAdapter\", function() { return MDCIconToggleAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"IconToggleEvent\", function() { return IconToggleEvent; });\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Icon Toggle. Provides an interface for managing\n * - classes\n * - dom\n * - inner text\n * - event handlers\n * - event dispatch\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\n\nclass MDCIconToggleAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n registerInteractionHandler(type, handler) {}\n\n /**\n * @param {string} type\n * @param {!EventListener} handler\n */\n deregisterInteractionHandler(type, handler) {}\n\n /** @param {string} text */\n setText(text) {}\n\n /** @return {number} */\n getTabIndex() {}\n\n /** @param {number} tabIndex */\n setTabIndex(tabIndex) {}\n\n /**\n * @param {string} name\n * @return {string}\n */\n getAttr(name) {}\n\n /**\n * @param {string} name\n * @param {string} value\n */\n setAttr(name, value) {}\n\n /** @param {string} name */\n rmAttr(name) {}\n\n /** @param {!IconToggleEvent} evtData */\n notifyChange(evtData) {}\n}\n\n/**\n * @typedef {{\n * isOn: boolean,\n * }}\n */\nlet IconToggleEvent;\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-toggle/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/icon-toggle/constants.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/icon-toggle/constants.js ***!
\*********************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-icon-toggle',\n DISABLED: 'mdc-icon-toggle--disabled',\n};\n\n/** @enum {string} */\nconst strings = {\n DATA_TOGGLE_ON: 'data-toggle-on',\n DATA_TOGGLE_OFF: 'data-toggle-off',\n ARIA_PRESSED: 'aria-pressed',\n ARIA_DISABLED: 'aria-disabled',\n ARIA_LABEL: 'aria-label',\n CHANGE_EVENT: 'MDCIconToggle:change',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-toggle/constants.js?");
/***/ }),
/***/ "./node_modules/@material/icon-toggle/foundation.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/icon-toggle/foundation.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/icon-toggle/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/icon-toggle/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCIconToggleFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return {\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n registerInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* type: string, handler: EventListener */) => {},\n setText: (/* text: string */) => {},\n getTabIndex: () => /* number */ 0,\n setTabIndex: (/* tabIndex: number */) => {},\n getAttr: (/* name: string */) => /* string */ '',\n setAttr: (/* name: string, value: string */) => {},\n rmAttr: (/* name: string */) => {},\n notifyChange: (/* evtData: IconToggleEvent */) => {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCIconToggleFoundation.defaultAdapter, adapter));\n\n /** @private {boolean} */\n this.on_ = false;\n\n /** @private {boolean} */\n this.disabled_ = false;\n\n /** @private {number} */\n this.savedTabIndex_ = -1;\n\n /** @private {?IconToggleState} */\n this.toggleOnData_ = null;\n\n /** @private {?IconToggleState} */\n this.toggleOffData_ = null;\n\n this.clickHandler_ = /** @private {!EventListener} */ (\n () => this.toggleFromEvt_());\n\n /** @private {boolean} */\n this.isHandlingKeydown_ = false;\n\n this.keydownHandler_ = /** @private {!EventListener} */ ((/** @type {!KeyboardKey} */ evt) => {\n if (isSpace(evt)) {\n this.isHandlingKeydown_ = true;\n return evt.preventDefault();\n }\n });\n\n this.keyupHandler_ = /** @private {!EventListener} */ ((/** @type {!KeyboardKey} */ evt) => {\n if (isSpace(evt)) {\n this.isHandlingKeydown_ = false;\n this.toggleFromEvt_();\n }\n });\n }\n\n init() {\n this.refreshToggleData();\n this.savedTabIndex_ = this.adapter_.getTabIndex();\n this.adapter_.registerInteractionHandler('click', this.clickHandler_);\n this.adapter_.registerInteractionHandler('keydown', this.keydownHandler_);\n this.adapter_.registerInteractionHandler('keyup', this.keyupHandler_);\n }\n\n refreshToggleData() {\n const {DATA_TOGGLE_ON, DATA_TOGGLE_OFF} = MDCIconToggleFoundation.strings;\n this.toggleOnData_ = this.parseJsonDataAttr_(DATA_TOGGLE_ON);\n this.toggleOffData_ = this.parseJsonDataAttr_(DATA_TOGGLE_OFF);\n }\n\n destroy() {\n this.adapter_.deregisterInteractionHandler('click', this.clickHandler_);\n this.adapter_.deregisterInteractionHandler('keydown', this.keydownHandler_);\n this.adapter_.deregisterInteractionHandler('keyup', this.keyupHandler_);\n }\n\n /** @private */\n toggleFromEvt_() {\n this.toggle();\n const {on_: isOn} = this;\n this.adapter_.notifyChange(/** @type {!IconToggleEvent} */ ({isOn}));\n }\n\n /** @return {boolean} */\n isOn() {\n return this.on_;\n }\n\n /** @param {boolean=} isOn */\n toggle(isOn = !this.on_) {\n this.on_ = isOn;\n\n const {ARIA_LABEL, ARIA_PRESSED} = MDCIconToggleFoundation.strings;\n\n if (this.on_) {\n this.adapter_.setAttr(ARIA_PRESSED, 'true');\n } else {\n this.adapter_.setAttr(ARIA_PRESSED, 'false');\n }\n\n const {cssClass: classToRemove} =\n this.on_ ? this.toggleOffData_ : this.toggleOnData_;\n\n if (classToRemove) {\n this.adapter_.removeClass(classToRemove);\n }\n\n const {content, label, cssClass} = this.on_ ? this.toggleOnData_ : this.toggleOffData_;\n\n if (cssClass) {\n this.adapter_.addClass(cssClass);\n }\n if (content) {\n this.adapter_.setText(content);\n }\n if (label) {\n this.adapter_.setAttr(ARIA_LABEL, label);\n }\n }\n\n /**\n * @param {string} dataAttr\n * @return {!IconToggleState}\n */\n parseJsonDataAttr_(dataAttr) {\n const val = this.adapter_.getAttr(dataAttr);\n if (!val) {\n return {};\n }\n return /** @type {!IconToggleState} */ (JSON.parse(val));\n }\n\n /** @return {boolean} */\n isDisabled() {\n return this.disabled_;\n }\n\n /** @param {boolean} isDisabled */\n setDisabled(isDisabled) {\n this.disabled_ = isDisabled;\n\n const {DISABLED} = MDCIconToggleFoundation.cssClasses;\n const {ARIA_DISABLED} = MDCIconToggleFoundation.strings;\n\n if (this.disabled_) {\n this.savedTabIndex_ = this.adapter_.getTabIndex();\n this.adapter_.setTabIndex(-1);\n this.adapter_.setAttr(ARIA_DISABLED, 'true');\n this.adapter_.addClass(DISABLED);\n } else {\n this.adapter_.setTabIndex(this.savedTabIndex_);\n this.adapter_.rmAttr(ARIA_DISABLED);\n this.adapter_.removeClass(DISABLED);\n }\n }\n\n /** @return {boolean} */\n isKeyboardActivated() {\n return this.isHandlingKeydown_;\n }\n}\n\n/**\n * @typedef {{\n * key: string,\n * keyCode: number\n * }}\n */\nlet KeyboardKey;\n\n/**\n * @param {!KeyboardKey} keyboardKey\n * @return {boolean}\n */\nfunction isSpace(keyboardKey) {\n return keyboardKey.key === 'Space' || keyboardKey.keyCode === 32;\n}\n\n\n/** @record */\nclass IconToggleState {}\n\n/**\n * The aria-label value of the icon toggle, or undefined if there is no aria-label.\n * @export {string|undefined}\n */\nIconToggleState.prototype.label;\n\n/**\n * The text for the icon toggle, or undefined if there is no text.\n * @export {string|undefined}\n */\nIconToggleState.prototype.content;\n\n/**\n * The CSS class to add to the icon toggle, or undefined if there is no CSS class.\n * @export {string|undefined}\n */\nIconToggleState.prototype.cssClass;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCIconToggleFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-toggle/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/icon-toggle/index.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/icon-toggle/index.js ***!
\*****************************************************/
/*! exports provided: MDCIconToggle, MDCIconToggleFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCIconToggle\", function() { return MDCIconToggle; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/icon-toggle/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCIconToggleFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n */\nclass MDCIconToggle extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCIconToggle(root);\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {!MDCRipple} */\n this.ripple_ = this.initRipple_();\n }\n\n /** @return {!Element} */\n get iconEl_() {\n const {'iconInnerSelector': sel} = this.root_.dataset;\n return sel ?\n /** @type {!Element} */ (this.root_.querySelector(sel)) : this.root_;\n }\n\n /**\n * @return {!MDCRipple}\n * @private\n */\n initRipple_() {\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCRipple\"].createAdapter(this), {\n isUnbounded: () => true,\n isSurfaceActive: () => this.foundation_.isKeyboardActivated(),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCRippleFoundation\"](adapter);\n return new _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCRipple\"](this.root_, foundation);\n }\n\n destroy() {\n this.ripple_.destroy();\n super.destroy();\n }\n\n /** @return {!MDCIconToggleFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.iconEl_.classList.add(className),\n removeClass: (className) => this.iconEl_.classList.remove(className),\n registerInteractionHandler: (type, handler) => this.root_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.root_.removeEventListener(type, handler),\n setText: (text) => this.iconEl_.textContent = text,\n getTabIndex: () => /* number */ this.root_.tabIndex,\n setTabIndex: (tabIndex) => this.root_.tabIndex = tabIndex,\n getAttr: (name, value) => this.root_.getAttribute(name, value),\n setAttr: (name, value) => this.root_.setAttribute(name, value),\n rmAttr: (name) => this.root_.removeAttribute(name),\n notifyChange: (evtData) => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.CHANGE_EVENT, evtData),\n });\n }\n\n initialSyncWithDOM() {\n this.on = this.root_.getAttribute(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.ARIA_PRESSED) === 'true';\n this.disabled = this.root_.getAttribute(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.ARIA_DISABLED) === 'true';\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n\n /** @return {boolean} */\n get on() {\n return this.foundation_.isOn();\n }\n\n /** @param {boolean} isOn */\n set on(isOn) {\n this.foundation_.toggle(isOn);\n }\n\n /** @return {boolean} */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /** @param {boolean} isDisabled */\n set disabled(isDisabled) {\n this.foundation_.setDisabled(isDisabled);\n }\n\n refreshToggleData() {\n this.foundation_.refreshToggleData();\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/icon-toggle/index.js?");
/***/ }),
/***/ "./node_modules/@material/line-ripple/adapter.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/line-ripple/adapter.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC TextField Line Ripple.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the line ripple into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCLineRippleAdapter {\n /**\n * Adds a class to the line ripple element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the line ripple element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Sets the style property with propertyName to value on the root element.\n * @param {string} propertyName\n * @param {string} value\n */\n setStyle(propertyName, value) {}\n\n /**\n * Registers an event listener on the line ripple element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerEventHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the line ripple element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterEventHandler(evtType, handler) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCLineRippleAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/line-ripple/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/line-ripple/constants.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/line-ripple/constants.js ***!
\*********************************************************/
/*! exports provided: cssClasses */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n LINE_RIPPLE_ACTIVE: 'mdc-line-ripple--active',\n LINE_RIPPLE_DEACTIVATING: 'mdc-line-ripple--deactivating',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/line-ripple/constants.js?");
/***/ }),
/***/ "./node_modules/@material/line-ripple/foundation.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/line-ripple/foundation.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/line-ripple/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/line-ripple/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCLineRippleFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCLineRippleAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCLineRippleAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCLineRippleAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => {},\n setStyle: () => {},\n registerEventHandler: () => {},\n deregisterEventHandler: () => {},\n });\n }\n\n /**\n * @param {!MDCLineRippleAdapter=} adapter\n */\n constructor(adapter = /** @type {!MDCLineRippleAdapter} */ ({})) {\n super(Object.assign(MDCLineRippleFoundation.defaultAdapter, adapter));\n\n /** @private {function(!Event): undefined} */\n this.transitionEndHandler_ = (evt) => this.handleTransitionEnd(evt);\n }\n\n init() {\n this.adapter_.registerEventHandler('transitionend', this.transitionEndHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterEventHandler('transitionend', this.transitionEndHandler_);\n }\n\n /**\n * Activates the line ripple\n */\n activate() {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_DEACTIVATING);\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_ACTIVE);\n }\n\n /**\n * Sets the center of the ripple animation to the given X coordinate.\n * @param {number} xCoordinate\n */\n setRippleCenter(xCoordinate) {\n this.adapter_.setStyle('transform-origin', `${xCoordinate}px center`);\n }\n\n /**\n * Deactivates the line ripple\n */\n deactivate() {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_DEACTIVATING);\n }\n\n /**\n * Handles a transition end event\n * @param {!Event} evt\n */\n handleTransitionEnd(evt) {\n // Wait for the line ripple to be either transparent or opaque\n // before emitting the animation end event\n const isDeactivating = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_DEACTIVATING);\n\n if (evt.propertyName === 'opacity') {\n if (isDeactivating) {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_ACTIVE);\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LINE_RIPPLE_DEACTIVATING);\n }\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCLineRippleFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/line-ripple/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/line-ripple/index.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/line-ripple/index.js ***!
\*****************************************************/
/*! exports provided: MDCLineRipple, MDCLineRippleFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCLineRipple\", function() { return MDCLineRipple; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/line-ripple/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/line-ripple/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCLineRippleFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCLineRipple extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCLineRipple}\n */\n static attachTo(root) {\n return new MDCLineRipple(root);\n }\n\n /**\n * Activates the line ripple\n */\n activate() {\n this.foundation_.activate();\n }\n\n /**\n * Deactivates the line ripple\n */\n deactivate() {\n this.foundation_.deactivate();\n }\n\n /**\n * Sets the transform origin given a user's click location. The `rippleCenter` is the\n * x-coordinate of the middle of the ripple.\n * @param {number} xCoordinate\n */\n setRippleCenter(xCoordinate) {\n this.foundation_.setRippleCenter(xCoordinate);\n }\n\n /**\n * @return {!MDCLineRippleFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](/** @type {!MDCLineRippleAdapter} */ (Object.assign({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n setStyle: (propertyName, value) => this.root_.style[propertyName] = value,\n registerEventHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterEventHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n })));\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/line-ripple/index.js?");
/***/ }),
/***/ "./node_modules/@material/linear-progress/constants.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/linear-progress/constants.js ***!
\*************************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst cssClasses = {\n CLOSED_CLASS: 'mdc-linear-progress--closed',\n INDETERMINATE_CLASS: 'mdc-linear-progress--indeterminate',\n REVERSED_CLASS: 'mdc-linear-progress--reversed',\n};\n\nconst strings = {\n PRIMARY_BAR_SELECTOR: '.mdc-linear-progress__primary-bar',\n BUFFER_SELECTOR: '.mdc-linear-progress__buffer',\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/linear-progress/constants.js?");
/***/ }),
/***/ "./node_modules/@material/linear-progress/foundation.js":
/*!**************************************************************!*\
!*** ./node_modules/@material/linear-progress/foundation.js ***!
\**************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCLinearProgressFoundation; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _material_animation_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/animation/index */ \"./node_modules/@material/animation/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/linear-progress/constants.js\");\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\nclass MDCLinearProgressFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return {\n addClass: (/* className: string */) => {},\n getPrimaryBar: () => /* el: Element */ {},\n getBuffer: () => /* el: Element */ {},\n hasClass: (/* className: string */) => false,\n removeClass: (/* className: string */) => {},\n setStyle: (/* el: Element, styleProperty: string, value: string */) => {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCLinearProgressFoundation.defaultAdapter, adapter));\n }\n\n init() {\n this.determinate_ = !this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].INDETERMINATE_CLASS);\n this.reverse_ = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].REVERSED_CLASS);\n this.progress_ = 0;\n }\n\n setDeterminate(isDeterminate) {\n this.determinate_ = isDeterminate;\n if (this.determinate_) {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].INDETERMINATE_CLASS);\n this.setScale_(this.adapter_.getPrimaryBar(), this.progress_);\n } else {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].INDETERMINATE_CLASS);\n this.setScale_(this.adapter_.getPrimaryBar(), 1);\n this.setScale_(this.adapter_.getBuffer(), 1);\n }\n }\n\n setProgress(value) {\n this.progress_ = value;\n if (this.determinate_) {\n this.setScale_(this.adapter_.getPrimaryBar(), value);\n }\n }\n\n setBuffer(value) {\n if (this.determinate_) {\n this.setScale_(this.adapter_.getBuffer(), value);\n }\n }\n\n setReverse(isReversed) {\n this.reverse_ = isReversed;\n if (this.reverse_) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].REVERSED_CLASS);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].REVERSED_CLASS);\n }\n }\n\n open() {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CLOSED_CLASS);\n }\n\n close() {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CLOSED_CLASS);\n }\n\n setScale_(el, scaleValue) {\n const value = 'scaleX(' + scaleValue + ')';\n _material_animation_index__WEBPACK_IMPORTED_MODULE_1__[\"transformStyleProperties\"].forEach((transformStyleProperty) => {\n this.adapter_.setStyle(el, transformStyleProperty, value);\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/linear-progress/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/linear-progress/index.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/linear-progress/index.js ***!
\*********************************************************/
/*! exports provided: MDCLinearProgressFoundation, MDCLinearProgress */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCLinearProgress\", function() { return MDCLinearProgress; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/linear-progress/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCLinearProgressFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\nclass MDCLinearProgress extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCLinearProgress(root);\n }\n\n set determinate(value) {\n this.foundation_.setDeterminate(value);\n }\n\n set progress(value) {\n this.foundation_.setProgress(value);\n }\n\n set buffer(value) {\n this.foundation_.setBuffer(value);\n }\n\n set reverse(value) {\n this.foundation_.setReverse(value);\n }\n\n open() {\n this.foundation_.open();\n }\n\n close() {\n this.foundation_.close();\n }\n\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n getPrimaryBar: () => this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.PRIMARY_BAR_SELECTOR),\n getBuffer: () => this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.BUFFER_SELECTOR),\n hasClass: (className) => this.root_.classList.contains(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setStyle: (el, styleProperty, value) => el.style[styleProperty] = value,\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/linear-progress/index.js?");
/***/ }),
/***/ "./node_modules/@material/list/adapter.js":
/*!************************************************!*\
!*** ./node_modules/@material/list/adapter.js ***!
\************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC List. Provides an interface for managing focus.\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCListAdapter {\n /** @return {number} */\n getListItemCount() {}\n\n /**\n * @return {number} */\n getFocusedElementIndex() {}\n\n /** @param {Element} node */\n getListItemIndex(node) {}\n\n /**\n * @param {number} index\n * @param {string} attribute\n * @param {string} value\n */\n setAttributeForElementIndex(index, attribute, value) {}\n\n /**\n * @param {number} index\n * @param {string} attribute\n */\n removeAttributeForElementIndex(index, attribute) {}\n\n /**\n * @param {number} index\n * @param {string} className\n */\n addClassForElementIndex(index, className) {}\n\n /**\n * @param {number} index\n * @param {string} className\n */\n removeClassForElementIndex(index, className) {}\n\n /**\n * Focuses list item at the index specified.\n * @param {number} index\n */\n focusItemAtIndex(index) {}\n\n /**\n * Checks if the provided element is a focusable sub-element.\n * @param {Element} ele\n */\n isElementFocusable(ele) {}\n\n /**\n * Checks if the provided element is contains the mdc-list-item class.\n * @param {Element} ele\n */\n isListItem(ele) {}\n\n /**\n * Sets the tabindex to the value specified for all button/a element children of\n * the list item at the index specified.\n * @param {number} listItemIndex\n * @param {number} tabIndexValue\n */\n setTabIndexForListItemChildren(listItemIndex, tabIndexValue) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCListAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/list/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/list/constants.js":
/*!**************************************************!*\
!*** ./node_modules/@material/list/constants.js ***!
\**************************************************/
/*! exports provided: strings, cssClasses */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n LIST_ITEM_CLASS: 'mdc-list-item',\n LIST_ITEM_SELECTED_CLASS: 'mdc-list-item--selected',\n};\n\n/** @enum {string} */\nconst strings = {\n ARIA_ORIENTATION: 'aria-orientation',\n ARIA_ORIENTATION_HORIZONTAL: 'horizontal',\n ARIA_SELECTED: 'aria-selected',\n FOCUSABLE_CHILD_ELEMENTS: `.${cssClasses.LIST_ITEM_CLASS} button:not(:disabled), .${cssClasses.LIST_ITEM_CLASS} a`,\n ENABLED_ITEMS_SELECTOR: '.mdc-list-item:not(.mdc-list-item--disabled)',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/list/constants.js?");
/***/ }),
/***/ "./node_modules/@material/list/foundation.js":
/*!***************************************************!*\
!*** ./node_modules/@material/list/foundation.js ***!
\***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/list/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/list/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\nconst ELEMENTS_KEY_ALLOWED_IN = ['input', 'button', 'textarea', 'select'];\n\nclass MDCListFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCListAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCListAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCListAdapter} */ ({\n getListItemCount: () => {},\n getFocusedElementIndex: () => {},\n getListItemIndex: () => {},\n setAttributeForElementIndex: () => {},\n removeAttributeForElementIndex: () => {},\n addClassForElementIndex: () => {},\n removeClassForElementIndex: () => {},\n focusItemAtIndex: () => {},\n isElementFocusable: () => {},\n isListItem: () => {},\n setTabIndexForListItemChildren: () => {},\n });\n }\n\n constructor(adapter = /** @type {!MDCListFoundation} */ ({})) {\n super(Object.assign(MDCListFoundation.defaultAdapter, adapter));\n /** {boolean} */\n this.wrapFocus_ = false;\n /** {boolean} */\n this.isVertical_ = true;\n /** {boolean} */\n this.isSingleSelectionList_ = false;\n /** {number} */\n this.selectedIndex_ = -1;\n }\n\n /**\n * Sets the private wrapFocus_ variable.\n * @param {boolean} value\n */\n setWrapFocus(value) {\n this.wrapFocus_ = value;\n }\n\n /**\n * Sets the isVertical_ private variable.\n * @param {boolean} value\n */\n setVerticalOrientation(value) {\n this.isVertical_ = value;\n }\n\n /**\n * Sets the isSingleSelectionList_ private variable.\n * @param {boolean} value\n */\n setSingleSelection(value) {\n this.isSingleSelectionList_ = value;\n }\n\n /** @param {number} index */\n setSelectedIndex(index) {\n if (index === this.selectedIndex_) {\n this.adapter_.removeAttributeForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_SELECTED);\n this.adapter_.removeClassForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LIST_ITEM_SELECTED_CLASS);\n\n // Used to reset the first element to tabindex=0 when deselecting a list item.\n // If already on the first list item, leave tabindex at 0.\n if (this.selectedIndex_ >= 0) {\n this.adapter_.setAttributeForElementIndex(this.selectedIndex_, 'tabindex', -1);\n this.adapter_.setAttributeForElementIndex(0, 'tabindex', 0);\n }\n this.selectedIndex_ = -1;\n return;\n }\n\n if (this.selectedIndex_ >= 0) {\n this.adapter_.removeAttributeForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_SELECTED);\n this.adapter_.removeClassForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LIST_ITEM_SELECTED_CLASS);\n this.adapter_.setAttributeForElementIndex(this.selectedIndex_, 'tabindex', -1);\n }\n\n if (index >= 0 && this.adapter_.getListItemCount() > index) {\n this.selectedIndex_ = index;\n this.adapter_.setAttributeForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_SELECTED, true);\n this.adapter_.addClassForElementIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].LIST_ITEM_SELECTED_CLASS);\n this.adapter_.setAttributeForElementIndex(this.selectedIndex_, 'tabindex', 0);\n\n if (this.selectedIndex_ !== 0) {\n this.adapter_.setAttributeForElementIndex(0, 'tabindex', -1);\n }\n }\n }\n\n /**\n * Focus in handler for the list items.\n * @param evt\n */\n handleFocusIn(evt) {\n const listItem = this.getListItem_(evt.target);\n if (!listItem) return;\n\n const listItemIndex = this.adapter_.getListItemIndex(listItem);\n\n if (listItemIndex >= 0) {\n this.adapter_.setTabIndexForListItemChildren(listItemIndex, 0);\n }\n }\n\n /**\n * Focus out handler for the list items.\n * @param {Event} evt\n */\n handleFocusOut(evt) {\n const listItem = this.getListItem_(evt.target);\n if (!listItem) return;\n const listItemIndex = this.adapter_.getListItemIndex(listItem);\n\n if (listItemIndex >= 0) {\n this.adapter_.setTabIndexForListItemChildren(listItemIndex, -1);\n }\n }\n\n /**\n * Key handler for the list.\n * @param {Event} evt\n */\n handleKeydown(evt) {\n const arrowLeft = evt.key === 'ArrowLeft' || evt.keyCode === 37;\n const arrowUp = evt.key === 'ArrowUp' || evt.keyCode === 38;\n const arrowRight = evt.key === 'ArrowRight' || evt.keyCode === 39;\n const arrowDown = evt.key === 'ArrowDown' || evt.keyCode === 40;\n const isHome = evt.key === 'Home' || evt.keyCode === 36;\n const isEnd = evt.key === 'End' || evt.keyCode === 35;\n const isEnter = evt.key === 'Enter' || evt.keyCode === 13;\n const isSpace = evt.key === 'Space' || evt.keyCode === 32;\n\n let currentIndex = this.adapter_.getFocusedElementIndex();\n\n if (currentIndex === -1) {\n currentIndex = this.adapter_.getListItemIndex(this.getListItem_(evt.target));\n\n if (currentIndex < 0) {\n // If this event doesn't have a mdc-list-item ancestor from the\n // current list (not from a sublist), return early.\n return;\n }\n }\n\n if ((this.isVertical_ && arrowDown) || (!this.isVertical_ && arrowRight)) {\n this.preventDefaultEvent_(evt);\n this.focusNextElement(currentIndex);\n } else if ((this.isVertical_ && arrowUp) || (!this.isVertical_ && arrowLeft)) {\n this.preventDefaultEvent_(evt);\n this.focusPrevElement(currentIndex);\n } else if (isHome) {\n this.preventDefaultEvent_(evt);\n this.focusFirstElement();\n } else if (isEnd) {\n this.preventDefaultEvent_(evt);\n this.focusLastElement();\n } else if (this.isSingleSelectionList_ && (isEnter || isSpace)) {\n this.preventDefaultEvent_(evt);\n // Check if the space key was pressed on the list item or a child element.\n if (this.adapter_.isListItem(evt.target)) {\n this.setSelectedIndex(currentIndex);\n }\n }\n }\n\n /**\n * Click handler for the list.\n */\n handleClick() {\n const currentIndex = this.adapter_.getFocusedElementIndex();\n\n if (currentIndex === -1) return;\n\n this.setSelectedIndex(currentIndex);\n }\n\n /**\n * Ensures that preventDefault is only called if the containing element doesn't\n * consume the event, and it will cause an unintended scroll.\n * @param {Event} evt\n * @private\n */\n preventDefaultEvent_(evt) {\n const tagName = `${evt.target.tagName}`.toLowerCase();\n if (ELEMENTS_KEY_ALLOWED_IN.indexOf(tagName) === -1) {\n evt.preventDefault();\n }\n }\n\n /**\n * Focuses the next element on the list.\n * @param {number} index\n */\n focusNextElement(index) {\n const count = this.adapter_.getListItemCount();\n let nextIndex = index + 1;\n if (nextIndex >= count) {\n if (this.wrapFocus_) {\n nextIndex = 0;\n } else {\n // Return early because last item is already focused.\n return;\n }\n }\n this.adapter_.focusItemAtIndex(nextIndex);\n }\n\n /**\n * Focuses the previous element on the list.\n * @param {number} index\n */\n focusPrevElement(index) {\n let prevIndex = index - 1;\n if (prevIndex < 0) {\n if (this.wrapFocus_) {\n prevIndex = this.adapter_.getListItemCount() - 1;\n } else {\n // Return early because first item is already focused.\n return;\n }\n }\n this.adapter_.focusItemAtIndex(prevIndex);\n }\n\n focusFirstElement() {\n if (this.adapter_.getListItemCount() > 0) {\n this.adapter_.focusItemAtIndex(0);\n }\n }\n\n focusLastElement() {\n const lastIndex = this.adapter_.getListItemCount() - 1;\n if (lastIndex >= 0) {\n this.adapter_.focusItemAtIndex(lastIndex);\n }\n }\n\n /**\n * Utility method to find the first ancestor with the mdc-list-item class.\n * @param {EventTarget} target\n * @return {?Element}\n * @private\n */\n getListItem_(target) {\n while (!this.adapter_.isListItem(target)) {\n if (!target.parentElement) return null;\n target = target.parentElement;\n }\n return target;\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCListFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/list/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/list/index.js":
/*!**********************************************!*\
!*** ./node_modules/@material/list/index.js ***!
\**********************************************/
/*! exports provided: MDCList, MDCListFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCList\", function() { return MDCList; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/list/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCListFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]; });\n\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/list/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/list/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends MDCComponent\n */\nclass MDCList extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @param {...?} args */\n constructor(...args) {\n super(...args);\n /** @private {!Function} */\n this.handleKeydown_;\n /** @private {!Function} */\n this.handleClick_;\n /** @private {!Function} */\n this.focusInEventListener_;\n /** @private {!Function} */\n this.focusOutEventListener_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCList}\n */\n static attachTo(root) {\n return new MDCList(root);\n }\n\n destroy() {\n this.root_.removeEventListener('keydown', this.handleKeydown_);\n this.root_.removeEventListener('click', this.handleClick_);\n this.root_.removeEventListener('focusin', this.focusInEventListener_);\n this.root_.removeEventListener('focusout', this.focusOutEventListener_);\n }\n\n initialSyncWithDOM() {\n this.handleKeydown_ = this.foundation_.handleKeydown.bind(this.foundation_);\n this.handleClick_ = this.foundation_.handleClick.bind(this.foundation_);\n this.focusInEventListener_ = this.foundation_.handleFocusIn.bind(this.foundation_);\n this.focusOutEventListener_ = this.foundation_.handleFocusOut.bind(this.foundation_);\n this.root_.addEventListener('keydown', this.handleKeydown_);\n this.root_.addEventListener('focusin', this.focusInEventListener_);\n this.root_.addEventListener('focusout', this.focusOutEventListener_);\n this.layout();\n }\n\n layout() {\n const direction = this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_ORIENTATION);\n this.vertical = direction !== _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_ORIENTATION_HORIZONTAL;\n\n // List items need to have at least tabindex=-1 to be focusable.\n [].slice.call(this.root_.querySelectorAll('.mdc-list-item:not([tabindex])'))\n .forEach((ele) => {\n ele.setAttribute('tabindex', -1);\n });\n\n // Child button/a elements are not tabbable until the list item is focused.\n [].slice.call(this.root_.querySelectorAll(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].FOCUSABLE_CHILD_ELEMENTS))\n .forEach((ele) => ele.setAttribute('tabindex', -1));\n }\n\n /** @param {boolean} value */\n set vertical(value) {\n this.foundation_.setVerticalOrientation(value);\n }\n\n /** @return Array*/\n get listElements_() {\n return [].slice.call(this.root_.querySelectorAll(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ENABLED_ITEMS_SELECTOR));\n }\n\n /** @param {boolean} value */\n set wrapFocus(value) {\n this.foundation_.setWrapFocus(value);\n }\n\n /** @param {boolean} isSingleSelectionList */\n set singleSelection(isSingleSelectionList) {\n if (isSingleSelectionList) {\n this.root_.addEventListener('click', this.handleClick_);\n } else {\n this.root_.removeEventListener('click', this.handleClick_);\n }\n\n this.foundation_.setSingleSelection(isSingleSelectionList);\n const selectedElement = this.root_.querySelector('.mdc-list-item--selected');\n\n if (selectedElement) {\n this.selectedIndex = this.listElements_.indexOf(selectedElement);\n }\n }\n\n /** @param {number} index */\n set selectedIndex(index) {\n this.foundation_.setSelectedIndex(index);\n }\n\n /** @return {!MDCListFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"](/** @type {!MDCListAdapter} */ (Object.assign({\n getListItemCount: () => this.listElements_.length,\n getFocusedElementIndex: () => this.listElements_.indexOf(document.activeElement),\n getListItemIndex: (node) => this.listElements_.indexOf(node),\n setAttributeForElementIndex: (index, attr, value) => {\n const element = this.listElements_[index];\n if (element) {\n element.setAttribute(attr, value);\n }\n },\n removeAttributeForElementIndex: (index, attr) => {\n const element = this.listElements_[index];\n if (element) {\n element.removeAttribute(attr);\n }\n },\n addClassForElementIndex: (index, className) => {\n const element = this.listElements_[index];\n if (element) {\n element.classList.add(className);\n }\n },\n removeClassForElementIndex: (index, className) => {\n const element = this.listElements_[index];\n if (element) {\n element.classList.remove(className);\n }\n },\n isListItem: (target) => target.classList.contains(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].LIST_ITEM_CLASS),\n focusItemAtIndex: (index) => {\n const element = this.listElements_[index];\n if (element) {\n element.focus();\n }\n },\n isElementFocusable: (ele) => {\n if (!ele) return false;\n let matches = Element.prototype.matches;\n if (!matches) { // IE uses a different name for the same functionality\n matches = Element.prototype.msMatchesSelector;\n }\n return matches.call(ele, _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].FOCUSABLE_CHILD_ELEMENTS);\n },\n setTabIndexForListItemChildren: (listItemIndex, tabIndexValue) => {\n const element = this.listElements_[listItemIndex];\n const listItemChildren = [].slice.call(element.querySelectorAll(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].FOCUSABLE_CHILD_ELEMENTS));\n listItemChildren.forEach((ele) => ele.setAttribute('tabindex', tabIndexValue));\n },\n })));\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/list/index.js?");
/***/ }),
/***/ "./node_modules/@material/menu/adapter.js":
/*!************************************************!*\
!*** ./node_modules/@material/menu/adapter.js ***!
\************************************************/
/*! exports provided: MDCMenuAdapter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCMenuAdapter\", function() { return MDCMenuAdapter; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Menu. Provides an interface for managing\n * - classes\n * - dom\n * - focus\n * - position\n * - dimensions\n * - event handlers\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCMenuAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /**\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /** @return {boolean} */\n hasNecessaryDom() {}\n\n /**\n * @param {EventTarget} target\n * @param {string} attributeName\n * @return {string}\n */\n getAttributeForEventTarget(target, attributeName) {}\n\n /** @return {{ width: number, height: number }} */\n getInnerDimensions() {}\n\n /** @return {boolean} */\n hasAnchor() {}\n\n /** @return {{width: number, height: number, top: number, right: number, bottom: number, left: number}} */\n getAnchorDimensions() {}\n\n /** @return {{ width: number, height: number }} */\n getWindowDimensions() {}\n\n /** @return {number} */\n getNumberOfItems() {}\n\n /**\n * @param {string} type\n * @param {function(!Event)} handler\n */\n registerInteractionHandler(type, handler) {}\n\n /**\n * @param {string} type\n * @param {function(!Event)} handler\n */\n deregisterInteractionHandler(type, handler) {}\n\n /** @param {function(!Event)} handler */\n registerBodyClickHandler(handler) {}\n\n /** @param {function(!Event)} handler */\n deregisterBodyClickHandler(handler) {}\n\n /**\n * @param {EventTarget} target\n * @return {number}\n */\n getIndexForEventTarget(target) {}\n\n /** @param {{index: number}} evtData */\n notifySelected(evtData) {}\n\n notifyCancel() {}\n\n saveFocus() {}\n\n restoreFocus() {}\n\n /** @return {boolean} */\n isFocused() {}\n\n focus() {}\n\n /** @return {number} */\n getFocusedItemIndex() /* number */ {}\n\n /** @param {number} index */\n focusItemAtIndex(index) {}\n\n /** @return {boolean} */\n isRtl() {}\n\n /** @param {string} origin */\n setTransformOrigin(origin) {}\n\n /** @param {{\n * top: (string|undefined),\n * right: (string|undefined),\n * bottom: (string|undefined),\n * left: (string|undefined)\n * }} position */\n setPosition(position) {}\n\n /** @param {string} height */\n setMaxHeight(height) {}\n\n /**\n * @param {number} index\n * @param {string} attr\n * @param {string} value\n */\n setAttrForOptionAtIndex(index, attr, value) {}\n\n /**\n * @param {number} index\n * @param {string} attr\n */\n rmAttrForOptionAtIndex(index, attr) {}\n\n /**\n * @param {number} index\n * @param {string} className\n */\n addClassForOptionAtIndex(index, className) {}\n\n /**\n * @param {number} index\n * @param {string} className\n */\n rmClassForOptionAtIndex(index, className) {}\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/menu/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/menu/constants.js":
/*!**************************************************!*\
!*** ./node_modules/@material/menu/constants.js ***!
\**************************************************/
/*! exports provided: cssClasses, strings, numbers, CornerBit, Corner */
/***/ (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/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CornerBit\", function() { return CornerBit; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Corner\", function() { return Corner; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-menu',\n OPEN: 'mdc-menu--open',\n ANIMATING_OPEN: 'mdc-menu--animating-open',\n ANIMATING_CLOSED: 'mdc-menu--animating-closed',\n SELECTED_LIST_ITEM: 'mdc-list-item--selected',\n};\n\n/** @enum {string} */\nconst strings = {\n ITEMS_SELECTOR: '.mdc-menu__items',\n SELECTED_EVENT: 'MDCMenu:selected',\n CANCEL_EVENT: 'MDCMenu:cancel',\n ARIA_DISABLED_ATTR: 'aria-disabled',\n};\n\n/** @enum {number} */\nconst numbers = {\n // Amount of time to wait before triggering a selected event on the menu. Note that this time\n // will most likely be bumped up once interactive lists are supported to allow for the ripple to\n // animate before closing the menu\n SELECTED_TRIGGER_DELAY: 50,\n // Total duration of menu open animation.\n TRANSITION_OPEN_DURATION: 120,\n // Total duration of menu close animation.\n TRANSITION_CLOSE_DURATION: 75,\n // Margin left to the edge of the viewport when menu is at maximum possible height.\n MARGIN_TO_EDGE: 32,\n // Ratio of anchor width to menu width for switching from corner positioning to center positioning.\n ANCHOR_TO_MENU_WIDTH_RATIO: 0.67,\n // Ratio of vertical offset to menu height for switching from corner to mid-way origin positioning.\n OFFSET_TO_MENU_HEIGHT_RATIO: 0.1,\n};\n\n/**\n * Enum for bits in the {@see Corner) bitmap.\n * @enum {number}\n */\nconst CornerBit = {\n BOTTOM: 1,\n CENTER: 2,\n RIGHT: 4,\n FLIP_RTL: 8,\n};\n\n/**\n * Enum for representing an element corner for positioning the menu.\n *\n * The START constants map to LEFT if element directionality is left\n * to right and RIGHT if the directionality is right to left.\n * Likewise END maps to RIGHT or LEFT depending on the directionality.\n *\n * @enum {number}\n */\nconst Corner = {\n TOP_LEFT: 0,\n TOP_RIGHT: CornerBit.RIGHT,\n BOTTOM_LEFT: CornerBit.BOTTOM,\n BOTTOM_RIGHT: CornerBit.BOTTOM | CornerBit.RIGHT,\n TOP_START: CornerBit.FLIP_RTL,\n TOP_END: CornerBit.FLIP_RTL | CornerBit.RIGHT,\n BOTTOM_START: CornerBit.BOTTOM | CornerBit.FLIP_RTL,\n BOTTOM_END: CornerBit.BOTTOM | CornerBit.RIGHT | CornerBit.FLIP_RTL,\n};\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/menu/constants.js?");
/***/ }),
/***/ "./node_modules/@material/menu/foundation.js":
/*!***************************************************!*\
!*** ./node_modules/@material/menu/foundation.js ***!
\***************************************************/
/*! exports provided: MDCMenuFoundation, AnchorMargin */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCMenuFoundation\", function() { return MDCMenuFoundation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"AnchorMargin\", function() { return AnchorMargin; });\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/menu/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/menu/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @typedef {{\n * top: number,\n * right: number,\n * bottom: number,\n * left: number\n * }}\n */\nlet AnchorMargin;\n\n/* eslint-disable no-unused-vars */\n/**\n * @typedef {{\n * viewport: { width: number, height: number },\n * viewportDistance: {top: number, right: number, bottom: number, left: number},\n * anchorHeight: number,\n * anchorWidth: number,\n * menuHeight: number,\n * menuWidth: number,\n * }}\n */\nlet AutoLayoutMeasurements;\n/* eslint-enable no-unused-vars */\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCMenuFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum{cssClasses} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum{strings} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return enum{numbers} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"];\n }\n\n /** @return enum{number} */\n static get Corner() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"Corner\"];\n }\n\n /**\n * {@see MDCMenuAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCMenuAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCMenuAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => false,\n hasNecessaryDom: () => false,\n getAttributeForEventTarget: () => {},\n getInnerDimensions: () => ({}),\n hasAnchor: () => false,\n getAnchorDimensions: () => ({}),\n getWindowDimensions: () => ({}),\n getNumberOfItems: () => 0,\n registerInteractionHandler: () => {},\n deregisterInteractionHandler: () => {},\n registerBodyClickHandler: () => {},\n deregisterBodyClickHandler: () => {},\n getIndexForEventTarget: () => 0,\n notifySelected: () => {},\n notifyCancel: () => {},\n saveFocus: () => {},\n restoreFocus: () => {},\n isFocused: () => false,\n focus: () => {},\n getFocusedItemIndex: () => -1,\n focusItemAtIndex: () => {},\n isRtl: () => false,\n setTransformOrigin: () => {},\n setPosition: () => {},\n setMaxHeight: () => {},\n setAttrForOptionAtIndex: () => {},\n rmAttrForOptionAtIndex: () => {},\n addClassForOptionAtIndex: () => {},\n rmClassForOptionAtIndex: () => {},\n });\n }\n\n /** @param {!MDCMenuAdapter} adapter */\n constructor(adapter) {\n super(Object.assign(MDCMenuFoundation.defaultAdapter, adapter));\n\n /** @private {function(!Event)} */\n this.clickHandler_ = (evt) => this.handlePossibleSelected_(evt);\n /** @private {function(!Event)} */\n this.keydownHandler_ = (evt) => this.handleKeyboardDown_(evt);\n /** @private {function(!Event)} */\n this.keyupHandler_ = (evt) => this.handleKeyboardUp_(evt);\n /** @private {function(!Event)} */\n this.documentClickHandler_ = (evt) => this.handleDocumentClick_(evt);\n /** @private {boolean} */\n this.isOpen_ = false;\n /** @private {number} */\n this.openAnimationEndTimerId_ = 0;\n /** @private {number} */\n this.closeAnimationEndTimerId_ = 0;\n /** @private {number} */\n this.selectedTriggerTimerId_ = 0;\n /** @private {number} */\n this.animationRequestId_ = 0;\n /** @private {!{ width: number, height: number }} */\n this.dimensions_;\n /** @private {number} */\n this.itemHeight_;\n /** @private {Corner} */\n this.anchorCorner_ = _constants__WEBPACK_IMPORTED_MODULE_2__[\"Corner\"].TOP_START;\n /** @private {AnchorMargin} */\n this.anchorMargin_ = {top: 0, right: 0, bottom: 0, left: 0};\n /** @private {?AutoLayoutMeasurements} */\n this.measures_ = null;\n /** @private {number} */\n this.selectedIndex_ = -1;\n /** @private {boolean} */\n this.rememberSelection_ = false;\n /** @private {boolean} */\n this.quickOpen_ = false;\n\n // A keyup event on the menu needs to have a corresponding keydown\n // event on the menu. If the user opens the menu with a keydown event on a\n // button, the menu will only get the key up event causing buggy behavior with selected elements.\n /** @private {boolean} */\n this.keyDownWithinMenu_ = false;\n }\n\n init() {\n const {ROOT, OPEN} = MDCMenuFoundation.cssClasses;\n\n if (!this.adapter_.hasClass(ROOT)) {\n throw new Error(`${ROOT} class required in root element.`);\n }\n\n if (!this.adapter_.hasNecessaryDom()) {\n throw new Error(`Required DOM nodes missing in ${ROOT} component.`);\n }\n\n if (this.adapter_.hasClass(OPEN)) {\n this.isOpen_ = true;\n }\n\n this.adapter_.registerInteractionHandler('click', this.clickHandler_);\n this.adapter_.registerInteractionHandler('keyup', this.keyupHandler_);\n this.adapter_.registerInteractionHandler('keydown', this.keydownHandler_);\n }\n\n destroy() {\n clearTimeout(this.selectedTriggerTimerId_);\n clearTimeout(this.openAnimationEndTimerId_);\n clearTimeout(this.closeAnimationEndTimerId_);\n // Cancel any currently running animations.\n cancelAnimationFrame(this.animationRequestId_);\n this.adapter_.deregisterInteractionHandler('click', this.clickHandler_);\n this.adapter_.deregisterInteractionHandler('keyup', this.keyupHandler_);\n this.adapter_.deregisterInteractionHandler('keydown', this.keydownHandler_);\n this.adapter_.deregisterBodyClickHandler(this.documentClickHandler_);\n }\n\n /**\n * @param {!Corner} corner Default anchor corner alignment of top-left menu corner.\n */\n setAnchorCorner(corner) {\n this.anchorCorner_ = corner;\n }\n\n /**\n * @param {!AnchorMargin} margin 4-plet of margins from anchor.\n */\n setAnchorMargin(margin) {\n this.anchorMargin_.top = typeof margin.top === 'number' ? margin.top : 0;\n this.anchorMargin_.right = typeof margin.right === 'number' ? margin.right : 0;\n this.anchorMargin_.bottom = typeof margin.bottom === 'number' ? margin.bottom : 0;\n this.anchorMargin_.left = typeof margin.left === 'number' ? margin.left : 0;\n }\n\n /** @param {boolean} rememberSelection */\n setRememberSelection(rememberSelection) {\n this.rememberSelection_ = rememberSelection;\n this.setSelectedIndex(-1);\n }\n\n /** @param {boolean} quickOpen */\n setQuickOpen(quickOpen) {\n this.quickOpen_ = quickOpen;\n }\n\n /**\n * @param {?number} focusIndex\n * @private\n */\n focusOnOpen_(focusIndex) {\n if (focusIndex === null) {\n // If this instance of MDCMenu remembers selections, and the user has\n // made a selection, then focus the last selected item\n if (this.rememberSelection_ && this.selectedIndex_ >= 0) {\n this.adapter_.focusItemAtIndex(this.selectedIndex_);\n return;\n }\n\n this.adapter_.focus();\n // If that doesn't work, focus first item instead.\n if (!this.adapter_.isFocused()) {\n this.adapter_.focusItemAtIndex(0);\n }\n } else {\n this.adapter_.focusItemAtIndex(focusIndex);\n }\n }\n\n /**\n * Handle clicks and cancel the menu if not a child list-item\n * @param {!Event} evt\n * @private\n */\n handleDocumentClick_(evt) {\n let el = evt.target;\n\n while (el && el !== document.documentElement) {\n if (this.adapter_.getIndexForEventTarget(el) !== -1) {\n return;\n }\n el = el.parentNode;\n }\n\n this.adapter_.notifyCancel();\n this.close(evt);\n };\n\n /**\n * Handle keys that we want to repeat on hold (tab and arrows).\n * @param {!Event} evt\n * @return {boolean}\n * @private\n */\n handleKeyboardDown_(evt) {\n // Do nothing if Alt, Ctrl or Meta are pressed.\n if (evt.altKey || evt.ctrlKey || evt.metaKey) {\n return true;\n }\n\n const {keyCode, key, shiftKey} = evt;\n const isTab = key === 'Tab' || keyCode === 9;\n const isArrowUp = key === 'ArrowUp' || keyCode === 38;\n const isArrowDown = key === 'ArrowDown' || keyCode === 40;\n const isSpace = key === 'Space' || keyCode === 32;\n const isEnter = key === 'Enter' || keyCode === 13;\n // The menu needs to know if the keydown event was triggered on the menu\n this.keyDownWithinMenu_ = isEnter || isSpace;\n\n const focusedItemIndex = this.adapter_.getFocusedItemIndex();\n const lastItemIndex = this.adapter_.getNumberOfItems() - 1;\n\n if (shiftKey && isTab && focusedItemIndex === 0) {\n this.adapter_.focusItemAtIndex(lastItemIndex);\n evt.preventDefault();\n return false;\n }\n\n if (!shiftKey && isTab && focusedItemIndex === lastItemIndex) {\n this.adapter_.focusItemAtIndex(0);\n evt.preventDefault();\n return false;\n }\n\n // Ensure Arrow{Up,Down} and space do not cause inadvertent scrolling\n if (isArrowUp || isArrowDown || isSpace) {\n evt.preventDefault();\n }\n\n if (isArrowUp) {\n if (focusedItemIndex === 0 || this.adapter_.isFocused()) {\n this.adapter_.focusItemAtIndex(lastItemIndex);\n } else {\n this.adapter_.focusItemAtIndex(focusedItemIndex - 1);\n }\n } else if (isArrowDown) {\n if (focusedItemIndex === lastItemIndex || this.adapter_.isFocused()) {\n this.adapter_.focusItemAtIndex(0);\n } else {\n this.adapter_.focusItemAtIndex(focusedItemIndex + 1);\n }\n }\n\n return true;\n }\n\n /**\n * Handle keys that we don't want to repeat on hold (Enter, Space, Escape).\n * @param {!Event} evt\n * @return {boolean}\n * @private\n */\n handleKeyboardUp_(evt) {\n // Do nothing if Alt, Ctrl or Meta are pressed.\n if (evt.altKey || evt.ctrlKey || evt.metaKey) {\n return true;\n }\n\n const {keyCode, key} = evt;\n const isEnter = key === 'Enter' || keyCode === 13;\n const isSpace = key === 'Space' || keyCode === 32;\n const isEscape = key === 'Escape' || keyCode === 27;\n\n if (isEnter || isSpace) {\n // If the keydown event didn't occur on the menu, then it should\n // disregard the possible selected event.\n if (this.keyDownWithinMenu_) {\n this.handlePossibleSelected_(evt);\n }\n this.keyDownWithinMenu_ = false;\n }\n\n if (isEscape) {\n this.adapter_.notifyCancel();\n this.close();\n }\n\n return true;\n }\n\n /**\n * @param {!Event} evt\n * @private\n */\n handlePossibleSelected_(evt) {\n if (this.adapter_.getAttributeForEventTarget(evt.target, _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_DISABLED_ATTR) === 'true') {\n return;\n }\n const targetIndex = this.adapter_.getIndexForEventTarget(evt.target);\n if (targetIndex < 0) {\n return;\n }\n // Debounce multiple selections\n if (this.selectedTriggerTimerId_) {\n return;\n }\n this.selectedTriggerTimerId_ = setTimeout(() => {\n this.selectedTriggerTimerId_ = 0;\n this.close();\n if (this.rememberSelection_) {\n this.setSelectedIndex(targetIndex);\n }\n this.adapter_.notifySelected({index: targetIndex});\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].SELECTED_TRIGGER_DELAY);\n }\n\n /**\n * @return {AutoLayoutMeasurements} Measurements used to position menu popup.\n */\n getAutoLayoutMeasurements_() {\n const anchorRect = this.adapter_.getAnchorDimensions();\n const viewport = this.adapter_.getWindowDimensions();\n\n return {\n viewport: viewport,\n viewportDistance: {\n top: anchorRect.top,\n right: viewport.width - anchorRect.right,\n left: anchorRect.left,\n bottom: viewport.height - anchorRect.bottom,\n },\n anchorHeight: anchorRect.height,\n anchorWidth: anchorRect.width,\n menuHeight: this.dimensions_.height,\n menuWidth: this.dimensions_.width,\n };\n }\n\n /**\n * Computes the corner of the anchor from which to animate and position the menu.\n * @return {Corner}\n * @private\n */\n getOriginCorner_() {\n // Defaults: open from the top left.\n let corner = _constants__WEBPACK_IMPORTED_MODULE_2__[\"Corner\"].TOP_LEFT;\n\n const {viewportDistance, anchorHeight, anchorWidth, menuHeight, menuWidth} = this.measures_;\n const isBottomAligned = Boolean(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM);\n const availableTop = isBottomAligned ? viewportDistance.top + anchorHeight + this.anchorMargin_.bottom\n : viewportDistance.top + this.anchorMargin_.top;\n const availableBottom = isBottomAligned ? viewportDistance.bottom - this.anchorMargin_.bottom\n : viewportDistance.bottom + anchorHeight - this.anchorMargin_.top;\n\n const topOverflow = menuHeight - availableTop;\n const bottomOverflow = menuHeight - availableBottom;\n if (bottomOverflow > 0 && topOverflow < bottomOverflow) {\n corner |= _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM;\n }\n\n const isRtl = this.adapter_.isRtl();\n const isFlipRtl = Boolean(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].FLIP_RTL);\n const avoidHorizontalOverlap = Boolean(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].RIGHT);\n const isAlignedRight = (avoidHorizontalOverlap && !isRtl) ||\n (!avoidHorizontalOverlap && isFlipRtl && isRtl);\n const availableLeft = isAlignedRight ? viewportDistance.left + anchorWidth + this.anchorMargin_.right :\n viewportDistance.left + this.anchorMargin_.left;\n const availableRight = isAlignedRight ? viewportDistance.right - this.anchorMargin_.right :\n viewportDistance.right + anchorWidth - this.anchorMargin_.left;\n\n const leftOverflow = menuWidth - availableLeft;\n const rightOverflow = menuWidth - availableRight;\n\n if ((leftOverflow < 0 && isAlignedRight && isRtl) ||\n (avoidHorizontalOverlap && !isAlignedRight && leftOverflow < 0) ||\n (rightOverflow > 0 && leftOverflow < rightOverflow)) {\n corner |= _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].RIGHT;\n }\n\n return corner;\n }\n\n /**\n * @param {Corner} corner Origin corner of the menu.\n * @return {number} Horizontal offset of menu origin corner from corresponding anchor corner.\n * @private\n */\n getHorizontalOriginOffset_(corner) {\n const {anchorWidth} = this.measures_;\n const isRightAligned = Boolean(corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].RIGHT);\n const avoidHorizontalOverlap = Boolean(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].RIGHT);\n let x = 0;\n if (isRightAligned) {\n const rightOffset = avoidHorizontalOverlap ? anchorWidth - this.anchorMargin_.left : this.anchorMargin_.right;\n x = rightOffset;\n } else {\n const leftOffset = avoidHorizontalOverlap ? anchorWidth - this.anchorMargin_.right : this.anchorMargin_.left;\n x = leftOffset;\n }\n return x;\n }\n\n /**\n * @param {Corner} corner Origin corner of the menu.\n * @return {number} Vertical offset of menu origin corner from corresponding anchor corner.\n * @private\n */\n getVerticalOriginOffset_(corner) {\n const {viewport, viewportDistance, anchorHeight, menuHeight} = this.measures_;\n const isBottomAligned = Boolean(corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM);\n const {MARGIN_TO_EDGE} = MDCMenuFoundation.numbers;\n const avoidVerticalOverlap = Boolean(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM);\n const canOverlapVertically = !avoidVerticalOverlap;\n let y = 0;\n\n if (isBottomAligned) {\n y = avoidVerticalOverlap ? anchorHeight - this.anchorMargin_.top : -this.anchorMargin_.bottom;\n // adjust for when menu can overlap anchor, but too tall to be aligned to bottom\n // anchor corner. Bottom margin is ignored in such cases.\n if (canOverlapVertically && menuHeight > viewportDistance.top + anchorHeight) {\n y = -(Math.min(menuHeight, viewport.height - MARGIN_TO_EDGE) - (viewportDistance.top + anchorHeight));\n }\n } else {\n y = avoidVerticalOverlap ? (anchorHeight + this.anchorMargin_.bottom) : this.anchorMargin_.top;\n // adjust for when menu can overlap anchor, but too tall to be aligned to top\n // anchor corners. Top margin is ignored in that case.\n if (canOverlapVertically && menuHeight > viewportDistance.bottom + anchorHeight) {\n y = -(Math.min(menuHeight, viewport.height - MARGIN_TO_EDGE) - (viewportDistance.bottom + anchorHeight));\n }\n }\n return y;\n }\n\n /**\n * @param {Corner} corner Origin corner of the menu.\n * @return {number} Maximum height of the menu, based on available space. 0 indicates should not be set.\n * @private\n */\n getMenuMaxHeight_(corner) {\n let maxHeight = 0;\n const {viewportDistance} = this.measures_;\n const isBottomAligned = Boolean(corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM);\n\n // When maximum height is not specified, it is handled from css.\n if (this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM) {\n if (isBottomAligned) {\n maxHeight = viewportDistance.top + this.anchorMargin_.top;\n } else {\n maxHeight = viewportDistance.bottom - this.anchorMargin_.bottom;\n }\n }\n\n return maxHeight;\n }\n\n /** @private */\n autoPosition_() {\n if (!this.adapter_.hasAnchor()) {\n return;\n }\n\n // Compute measurements for autoposition methods reuse.\n this.measures_ = this.getAutoLayoutMeasurements_();\n\n const corner = this.getOriginCorner_();\n const maxMenuHeight = this.getMenuMaxHeight_(corner);\n let verticalAlignment = (corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM) ? 'bottom' : 'top';\n let horizontalAlignment = (corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].RIGHT) ? 'right' : 'left';\n const horizontalOffset = this.getHorizontalOriginOffset_(corner);\n const verticalOffset = this.getVerticalOriginOffset_(corner);\n const position = {\n [horizontalAlignment]: horizontalOffset ? horizontalOffset + 'px' : '0',\n [verticalAlignment]: verticalOffset ? verticalOffset + 'px' : '0',\n };\n const {anchorWidth, menuHeight, menuWidth} = this.measures_;\n // Center align when anchor width is comparable or greater than menu, otherwise keep corner.\n if (anchorWidth / menuWidth > _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].ANCHOR_TO_MENU_WIDTH_RATIO) {\n horizontalAlignment = 'center';\n }\n\n // Adjust vertical origin when menu is positioned with significant offset from anchor. This is done so that\n // scale animation is \"anchored\" on the anchor.\n if (!(this.anchorCorner_ & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM) &&\n Math.abs(verticalOffset / menuHeight) > _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].OFFSET_TO_MENU_HEIGHT_RATIO) {\n const verticalOffsetPercent = Math.abs(verticalOffset / menuHeight) * 100;\n const originPercent = (corner & _constants__WEBPACK_IMPORTED_MODULE_2__[\"CornerBit\"].BOTTOM) ? 100 - verticalOffsetPercent : verticalOffsetPercent;\n verticalAlignment = Math.round(originPercent * 100) / 100 + '%';\n }\n\n this.adapter_.setTransformOrigin(`${horizontalAlignment} ${verticalAlignment}`);\n this.adapter_.setPosition(position);\n this.adapter_.setMaxHeight(maxMenuHeight ? maxMenuHeight + 'px' : '');\n\n // Clear measures after positioning is complete.\n this.measures_ = null;\n }\n\n /**\n * Open the menu.\n * @param {{focusIndex: ?number}=} options\n */\n open({focusIndex = null} = {}) {\n this.adapter_.saveFocus();\n\n if (!this.quickOpen_) {\n this.adapter_.addClass(MDCMenuFoundation.cssClasses.ANIMATING_OPEN);\n }\n\n this.animationRequestId_ = requestAnimationFrame(() => {\n this.dimensions_ = this.adapter_.getInnerDimensions();\n this.autoPosition_();\n this.adapter_.addClass(MDCMenuFoundation.cssClasses.OPEN);\n this.focusOnOpen_(focusIndex);\n this.adapter_.registerBodyClickHandler(this.documentClickHandler_);\n if (!this.quickOpen_) {\n this.openAnimationEndTimerId_ = setTimeout(() => {\n this.openAnimationEndTimerId_ = 0;\n this.adapter_.removeClass(MDCMenuFoundation.cssClasses.ANIMATING_OPEN);\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].TRANSITION_OPEN_DURATION);\n }\n });\n this.isOpen_ = true;\n }\n\n /**\n * Closes the menu.\n * @param {Event=} evt\n */\n close(evt = null) {\n const targetIsDisabled = evt ?\n this.adapter_.getAttributeForEventTarget(evt.target, _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_DISABLED_ATTR) === 'true' :\n false;\n\n if (targetIsDisabled) {\n return;\n }\n\n this.adapter_.deregisterBodyClickHandler(this.documentClickHandler_);\n\n if (!this.quickOpen_) {\n this.adapter_.addClass(MDCMenuFoundation.cssClasses.ANIMATING_CLOSED);\n }\n\n requestAnimationFrame(() => {\n this.adapter_.removeClass(MDCMenuFoundation.cssClasses.OPEN);\n if (!this.quickOpen_) {\n this.closeAnimationEndTimerId_ = setTimeout(() => {\n this.closeAnimationEndTimerId_ = 0;\n this.adapter_.removeClass(MDCMenuFoundation.cssClasses.ANIMATING_CLOSED);\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].TRANSITION_CLOSE_DURATION);\n }\n });\n this.isOpen_ = false;\n this.adapter_.restoreFocus();\n }\n\n /** @return {boolean} */\n isOpen() {\n return this.isOpen_;\n }\n\n /** @return {number} */\n getSelectedIndex() {\n return this.selectedIndex_;\n }\n\n /**\n * @param {number} index Index of the item to set as selected.\n */\n setSelectedIndex(index) {\n if (index === this.selectedIndex_) {\n return;\n }\n\n const prevSelectedIndex = this.selectedIndex_;\n if (prevSelectedIndex >= 0) {\n this.adapter_.rmAttrForOptionAtIndex(prevSelectedIndex, 'aria-selected');\n this.adapter_.rmClassForOptionAtIndex(prevSelectedIndex, _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED_LIST_ITEM);\n }\n\n this.selectedIndex_ = index >= 0 && index < this.adapter_.getNumberOfItems() ? index : -1;\n if (this.selectedIndex_ >= 0) {\n this.adapter_.setAttrForOptionAtIndex(this.selectedIndex_, 'aria-selected', 'true');\n this.adapter_.addClassForOptionAtIndex(this.selectedIndex_, _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SELECTED_LIST_ITEM);\n }\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/menu/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/menu/index.js":
/*!**********************************************!*\
!*** ./node_modules/@material/menu/index.js ***!
\**********************************************/
/*! exports provided: MDCMenuFoundation, MDCMenu, AnchorMargin, Corner, CornerBit */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCMenu\", function() { return MDCMenu; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/menu/util.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/menu/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCMenuFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCMenuFoundation\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"AnchorMargin\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"AnchorMargin\"]; });\n\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/menu/constants.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"Corner\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"Corner\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"CornerBit\", function() { return _constants__WEBPACK_IMPORTED_MODULE_3__[\"CornerBit\"]; });\n\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends MDCComponent\n */\nclass MDCMenu extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @param {...?} args */\n constructor(...args) {\n super(...args);\n /** @private {!Element} */\n this.previousFocus_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCMenu}\n */\n static attachTo(root) {\n return new MDCMenu(root);\n }\n\n /** @return {boolean} */\n get open() {\n return this.foundation_.isOpen();\n }\n\n /** @param {boolean} value */\n set open(value) {\n if (value) {\n this.foundation_.open();\n } else {\n this.foundation_.close();\n }\n }\n\n /** @param {{focusIndex: ?number}=} options */\n show({focusIndex = null} = {}) {\n this.foundation_.open({focusIndex: focusIndex});\n }\n\n hide() {\n this.foundation_.close();\n }\n\n /**\n * @param {Corner} corner Default anchor corner alignment of top-left\n * menu corner.\n */\n setAnchorCorner(corner) {\n this.foundation_.setAnchorCorner(corner);\n }\n\n /**\n * @param {AnchorMargin} margin\n */\n setAnchorMargin(margin) {\n this.foundation_.setAnchorMargin(margin);\n }\n\n /**\n * Return the item container element inside the component.\n * @return {?Element}\n */\n get itemsContainer_() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCMenuFoundation\"].strings.ITEMS_SELECTOR);\n }\n\n /**\n * Return the items within the menu. Note that this only contains the set of elements within\n * the items container that are proper list items, and not supplemental / presentational DOM\n * elements.\n * @return {!Array}\n */\n get items() {\n const {itemsContainer_: itemsContainer} = this;\n return [].slice.call(itemsContainer.querySelectorAll('.mdc-list-item[role]'));\n }\n\n /**\n * Return the item within the menu that is selected.\n * @param {number} index\n * @return {?Element}\n */\n getOptionByIndex(index) {\n const items = this.items;\n\n if (index < items.length) {\n return this.items[index];\n } else {\n return null;\n }\n }\n\n /** @param {number} index */\n set selectedItemIndex(index) {\n this.foundation_.setSelectedIndex(index);\n }\n\n /** @return {number} */\n get selectedItemIndex() {\n return this.foundation_.getSelectedIndex();\n }\n\n /** @param {!boolean} rememberSelection */\n set rememberSelection(rememberSelection) {\n this.foundation_.setRememberSelection(rememberSelection);\n }\n\n /** @param {boolean} quickOpen */\n set quickOpen(quickOpen) {\n this.foundation_.setQuickOpen(quickOpen);\n }\n\n /** @return {!MDCMenuFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCMenuFoundation\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n hasNecessaryDom: () => Boolean(this.itemsContainer_),\n getAttributeForEventTarget: (target, attributeName) => target.getAttribute(attributeName),\n getInnerDimensions: () => {\n const {itemsContainer_: itemsContainer} = this;\n return {width: itemsContainer.offsetWidth, height: itemsContainer.offsetHeight};\n },\n hasAnchor: () => this.root_.parentElement && this.root_.parentElement.classList.contains('mdc-menu-anchor'),\n getAnchorDimensions: () => this.root_.parentElement.getBoundingClientRect(),\n getWindowDimensions: () => {\n return {width: window.innerWidth, height: window.innerHeight};\n },\n getNumberOfItems: () => this.items.length,\n registerInteractionHandler: (type, handler) => this.root_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.root_.removeEventListener(type, handler),\n registerBodyClickHandler: (handler) => document.body.addEventListener('click', handler),\n deregisterBodyClickHandler: (handler) => document.body.removeEventListener('click', handler),\n getIndexForEventTarget: (target) => this.items.indexOf(target),\n notifySelected: (evtData) => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCMenuFoundation\"].strings.SELECTED_EVENT, {\n index: evtData.index,\n item: this.items[evtData.index],\n }),\n notifyCancel: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"MDCMenuFoundation\"].strings.CANCEL_EVENT, {}),\n saveFocus: () => {\n this.previousFocus_ = document.activeElement;\n },\n restoreFocus: () => {\n if (this.previousFocus_ && this.previousFocus_.focus) {\n this.previousFocus_.focus();\n }\n },\n isFocused: () => document.activeElement === this.root_,\n focus: () => this.root_.focus(),\n getFocusedItemIndex: () => this.items.indexOf(document.activeElement),\n focusItemAtIndex: (index) => this.items[index].focus(),\n isRtl: () => getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n setTransformOrigin: (origin) => {\n this.root_.style[`${Object(_util__WEBPACK_IMPORTED_MODULE_1__[\"getTransformPropertyName\"])(window)}-origin`] = origin;\n },\n setPosition: (position) => {\n this.root_.style.left = 'left' in position ? position.left : null;\n this.root_.style.right = 'right' in position ? position.right : null;\n this.root_.style.top = 'top' in position ? position.top : null;\n this.root_.style.bottom = 'bottom' in position ? position.bottom : null;\n },\n setMaxHeight: (height) => {\n this.root_.style.maxHeight = height;\n },\n setAttrForOptionAtIndex: (index, attr, value) => this.items[index].setAttribute(attr, value),\n rmAttrForOptionAtIndex: (index, attr) => this.items[index].removeAttribute(attr),\n addClassForOptionAtIndex: (index, className) => this.items[index].classList.add(className),\n rmClassForOptionAtIndex: (index, className) => this.items[index].classList.remove(className),\n });\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/menu/index.js?");
/***/ }),
/***/ "./node_modules/@material/menu/util.js":
/*!*********************************************!*\
!*** ./node_modules/@material/menu/util.js ***!
\*********************************************/
/*! exports provided: getTransformPropertyName, clamp, bezierProgress */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getTransformPropertyName\", function() { return getTransformPropertyName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"clamp\", function() { return clamp; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"bezierProgress\", function() { return bezierProgress; });\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @type {string|undefined} */\nlet storedTransformPropertyName_;\n\n/**\n * Returns the name of the correct transform property to use on the current browser.\n * @param {!Window} globalObj\n * @param {boolean=} forceRefresh\n * @return {string}\n */\nfunction getTransformPropertyName(globalObj, forceRefresh = false) {\n if (storedTransformPropertyName_ === undefined || forceRefresh) {\n const el = globalObj.document.createElement('div');\n const transformPropertyName = ('transform' in el.style ? 'transform' : 'webkitTransform');\n storedTransformPropertyName_ = transformPropertyName;\n }\n\n return storedTransformPropertyName_;\n}\n\n/**\n * Clamps a value between the minimum and the maximum, returning the clamped value.\n * @param {number} value\n * @param {number} min\n * @param {number} max\n * @return {number}\n */\nfunction clamp(value, min = 0, max = 1) {\n return Math.min(max, Math.max(min, value));\n}\n\n\n/**\n * Returns the easing value to apply at time t, for a given cubic bezier curve.\n * Control points P0 and P3 are assumed to be (0,0) and (1,1), respectively.\n * Parameters are as follows:\n * - time: The current time in the animation, scaled between 0 and 1.\n * - x1: The x value of control point P1.\n * - y1: The y value of control point P1.\n * - x2: The x value of control point P2.\n * - y2: The y value of control point P2.\n * @param {number} time\n * @param {number} x1\n * @param {number} y1\n * @param {number} x2\n * @param {number} y2\n * @return {number}\n */\nfunction bezierProgress(time, x1, y1, x2, y2) {\n return getBezierCoordinate_(solvePositionFromXValue_(time, x1, x2), y1, y2);\n}\n\n/**\n * Compute a single coordinate at a position point between 0 and 1.\n * c1 and c2 are the matching coordinate on control points P1 and P2, respectively.\n * Control points P0 and P3 are assumed to be (0,0) and (1,1), respectively.\n * Adapted from https://github.com/google/closure-library/blob/master/closure/goog/math/bezier.js.\n * @param {number} t\n * @param {number} c1\n * @param {number} c2\n * @return {number}\n */\nfunction getBezierCoordinate_(t, c1, c2) {\n // Special case start and end.\n if (t === 0 || t === 1) {\n return t;\n }\n\n // Step one - from 4 points to 3\n let ic0 = t * c1;\n let ic1 = c1 + t * (c2 - c1);\n const ic2 = c2 + t * (1 - c2);\n\n // Step two - from 3 points to 2\n ic0 += t * (ic1 - ic0);\n ic1 += t * (ic2 - ic1);\n\n // Final step - last point\n return ic0 + t * (ic1 - ic0);\n}\n\n/**\n * Project a point onto the Bezier curve, from a given X. Calculates the position t along the curve.\n * Adapted from https://github.com/google/closure-library/blob/master/closure/goog/math/bezier.js.\n * @param {number} xVal\n * @param {number} x1\n * @param {number} x2\n * @return {number}\n */\nfunction solvePositionFromXValue_(xVal, x1, x2) {\n const EPSILON = 1e-6;\n const MAX_ITERATIONS = 8;\n\n if (xVal <= 0) {\n return 0;\n } else if (xVal >= 1) {\n return 1;\n }\n\n // Initial estimate of t using linear interpolation.\n let t = xVal;\n\n // Try gradient descent to solve for t. If it works, it is very fast.\n let tMin = 0;\n let tMax = 1;\n let value = 0;\n for (let i = 0; i < MAX_ITERATIONS; i++) {\n value = getBezierCoordinate_(t, x1, x2);\n const derivative = (getBezierCoordinate_(t + EPSILON, x1, x2) - value) / EPSILON;\n if (Math.abs(value - xVal) < EPSILON) {\n return t;\n } else if (Math.abs(derivative) < EPSILON) {\n break;\n } else {\n if (value < xVal) {\n tMin = t;\n } else {\n tMax = t;\n }\n t -= (value - xVal) / derivative;\n }\n }\n\n // If the gradient descent got stuck in a local minimum, e.g. because\n // the derivative was close to 0, use a Dichotomy refinement instead.\n // We limit the number of interations to 8.\n for (let i = 0; Math.abs(value - xVal) > EPSILON && i < MAX_ITERATIONS; i++) {\n if (value < xVal) {\n tMin = t;\n t = (t + tMax) / 2;\n } else {\n tMax = t;\n t = (t + tMin) / 2;\n }\n value = getBezierCoordinate_(t, x1, x2);\n }\n return t;\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/menu/util.js?");
/***/ }),
/***/ "./node_modules/@material/notched-outline/adapter.js":
/*!***********************************************************!*\
!*** ./node_modules/@material/notched-outline/adapter.js ***!
\***********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Notched Outline.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Notched Outline into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCNotchedOutlineAdapter {\n /**\n * Returns the width of the root element.\n * @return {number}\n */\n getWidth() {}\n\n /**\n * Returns the height of the root element.\n * @return {number}\n */\n getHeight() {}\n\n /**\n * Adds a class to the root element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the root element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Sets the \"d\" attribute of the outline element's SVG path.\n * @param {string} value\n */\n setOutlinePathAttr(value) {}\n\n /**\n * Returns the idle outline element's computed style value of the given css property `propertyName`.\n * We achieve this via `getComputedStyle(...).getPropertyValue(propertyName)`.\n * @param {string} propertyName\n * @return {string}\n */\n getIdleOutlineStyleValue(propertyName) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCNotchedOutlineAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/notched-outline/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/notched-outline/constants.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/notched-outline/constants.js ***!
\*************************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n PATH_SELECTOR: '.mdc-notched-outline__path',\n IDLE_OUTLINE_SELECTOR: '.mdc-notched-outline__idle',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n OUTLINE_NOTCHED: 'mdc-notched-outline--notched',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/notched-outline/constants.js?");
/***/ }),
/***/ "./node_modules/@material/notched-outline/foundation.js":
/*!**************************************************************!*\
!*** ./node_modules/@material/notched-outline/foundation.js ***!
\**************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/notched-outline/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/notched-outline/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCNotchedOutlineFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /**\n * {@see MDCNotchedOutlineAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCNotchedOutlineAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCNotchedOutlineAdapter} */ ({\n getWidth: () => {},\n getHeight: () => {},\n addClass: () => {},\n removeClass: () => {},\n setOutlinePathAttr: () => {},\n getIdleOutlineStyleValue: () => {},\n });\n }\n\n /**\n * @param {!MDCNotchedOutlineAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCNotchedOutlineFoundation.defaultAdapter, adapter));\n }\n\n /**\n * Adds the outline notched selector and updates the notch width\n * calculated based off of notchWidth and isRtl.\n * @param {number} notchWidth\n * @param {boolean=} isRtl\n */\n notch(notchWidth, isRtl = false) {\n const {OUTLINE_NOTCHED} = MDCNotchedOutlineFoundation.cssClasses;\n this.adapter_.addClass(OUTLINE_NOTCHED);\n this.updateSvgPath_(notchWidth, isRtl);\n }\n\n /**\n * Removes notched outline selector to close the notch in the outline.\n */\n closeNotch() {\n const {OUTLINE_NOTCHED} = MDCNotchedOutlineFoundation.cssClasses;\n this.adapter_.removeClass(OUTLINE_NOTCHED);\n }\n\n /**\n * Updates the SVG path of the focus outline element based on the notchWidth\n * and the RTL context.\n * @param {number} notchWidth\n * @param {boolean=} isRtl\n * @private\n */\n updateSvgPath_(notchWidth, isRtl) {\n // Fall back to reading a specific corner's style because Firefox doesn't report the style on border-radius.\n const radiusStyleValue = this.adapter_.getIdleOutlineStyleValue('border-radius') ||\n this.adapter_.getIdleOutlineStyleValue('border-top-left-radius');\n const radius = parseFloat(radiusStyleValue);\n const width = this.adapter_.getWidth();\n const height = this.adapter_.getHeight();\n const cornerWidth = radius + 1.2;\n const leadingStrokeLength = Math.abs(11 - cornerWidth);\n const paddedNotchWidth = notchWidth + 8;\n\n // The right, bottom, and left sides of the outline follow the same SVG path.\n const pathMiddle = 'a' + radius + ',' + radius + ' 0 0 1 ' + radius + ',' + radius\n + 'v' + (height - (2 * cornerWidth))\n + 'a' + radius + ',' + radius + ' 0 0 1 ' + -radius + ',' + radius\n + 'h' + (-width + (2 * cornerWidth))\n + 'a' + radius + ',' + radius + ' 0 0 1 ' + -radius + ',' + -radius\n + 'v' + (-height + (2 * cornerWidth))\n + 'a' + radius + ',' + radius + ' 0 0 1 ' + radius + ',' + -radius;\n\n let path;\n if (!isRtl) {\n path = 'M' + (cornerWidth + leadingStrokeLength + paddedNotchWidth) + ',' + 1\n + 'h' + (width - (2 * cornerWidth) - paddedNotchWidth - leadingStrokeLength)\n + pathMiddle\n + 'h' + leadingStrokeLength;\n } else {\n path = 'M' + (width - cornerWidth - leadingStrokeLength) + ',' + 1\n + 'h' + leadingStrokeLength\n + pathMiddle\n + 'h' + (width - (2 * cornerWidth) - paddedNotchWidth - leadingStrokeLength);\n }\n\n this.adapter_.setOutlinePathAttr(path);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCNotchedOutlineFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/notched-outline/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/notched-outline/index.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/notched-outline/index.js ***!
\*********************************************************/
/*! exports provided: MDCNotchedOutline, MDCNotchedOutlineFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCNotchedOutline\", function() { return MDCNotchedOutline; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/notched-outline/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/notched-outline/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCNotchedOutlineFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/notched-outline/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCNotchedOutline extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCNotchedOutline}\n */\n static attachTo(root) {\n return new MDCNotchedOutline(root);\n }\n\n /**\n * Updates outline selectors and SVG path to open notch.\n * @param {number} notchWidth The notch width in the outline.\n * @param {boolean=} isRtl Determines if outline is rtl. If rtl is true, notch\n * will be right justified in outline path, otherwise left justified.\n */\n notch(notchWidth, isRtl) {\n this.foundation_.notch(notchWidth, isRtl);\n }\n\n /**\n * Updates the outline selectors to close notch and return it to idle state.\n */\n closeNotch() {\n this.foundation_.closeNotch();\n }\n\n /**\n * @return {!MDCNotchedOutlineFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n getWidth: () => this.root_.offsetWidth,\n getHeight: () => this.root_.offsetHeight,\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setOutlinePathAttr: (value) => {\n const path = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].PATH_SELECTOR);\n path.setAttribute('d', value);\n },\n getIdleOutlineStyleValue: (propertyName) => {\n const idleOutlineElement = this.root_.parentNode.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].IDLE_OUTLINE_SELECTOR);\n return window.getComputedStyle(idleOutlineElement).getPropertyValue(propertyName);\n },\n });\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/notched-outline/index.js?");
/***/ }),
/***/ "./node_modules/@material/radio/adapter.js":
/*!*************************************************!*\
!*** ./node_modules/@material/radio/adapter.js ***!
\*************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Radio. Provides an interface for managing\n * - classes\n * - dom\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCRadioAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /** @return {!MDCSelectionControlState} */\n getNativeControl() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCRadioAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/radio/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/radio/constants.js":
/*!***************************************************!*\
!*** ./node_modules/@material/radio/constants.js ***!
\***************************************************/
/*! exports provided: strings, cssClasses */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n NATIVE_CONTROL_SELECTOR: '.mdc-radio__native-control',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-radio',\n DISABLED: 'mdc-radio--disabled',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/radio/constants.js?");
/***/ }),
/***/ "./node_modules/@material/radio/foundation.js":
/*!****************************************************!*\
!*** ./node_modules/@material/radio/foundation.js ***!
\****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/radio/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/radio/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCRadioFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {cssClasses} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"];\n }\n\n /** @return enum {strings} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"];\n }\n\n /** @return {!MDCRadioAdapter} */\n static get defaultAdapter() {\n return /** @type {!MDCRadioAdapter} */ ({\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n getNativeControl: () => /* !MDCSelectionControlState */ {},\n });\n }\n\n /** @return {boolean} */\n isChecked() {\n return this.getNativeControl_().checked;\n }\n\n /** @param {boolean} checked */\n setChecked(checked) {\n this.getNativeControl_().checked = checked;\n }\n\n /** @return {boolean} */\n isDisabled() {\n return this.getNativeControl_().disabled;\n }\n\n /** @param {boolean} disabled */\n setDisabled(disabled) {\n const {DISABLED} = MDCRadioFoundation.cssClasses;\n this.getNativeControl_().disabled = disabled;\n if (disabled) {\n this.adapter_.addClass(DISABLED);\n } else {\n this.adapter_.removeClass(DISABLED);\n }\n }\n\n /** @return {?string} */\n getValue() {\n return this.getNativeControl_().value;\n }\n\n /** @param {?string} value */\n setValue(value) {\n this.getNativeControl_().value = value;\n }\n\n /**\n * @return {!MDCSelectionControlState}\n * @private\n */\n getNativeControl_() {\n return this.adapter_.getNativeControl() || {\n checked: false,\n disabled: false,\n value: null,\n };\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCRadioFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/radio/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/radio/index.js":
/*!***********************************************!*\
!*** ./node_modules/@material/radio/index.js ***!
\***********************************************/
/*! exports provided: MDCRadio, MDCRadioFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCRadio\", function() { return MDCRadio; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/radio/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCRadioFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n\n/**\n * @extends MDCComponent\n * @implements {MDCSelectionControl}\n */\nclass MDCRadio extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCRadio(root);\n }\n\n /** @return {boolean} */\n get checked() {\n return this.foundation_.isChecked();\n }\n\n /** @param {boolean} checked */\n set checked(checked) {\n this.foundation_.setChecked(checked);\n }\n\n /** @return {boolean} */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /** @param {boolean} disabled */\n set disabled(disabled) {\n this.foundation_.setDisabled(disabled);\n }\n\n /** @return {?string} */\n get value() {\n return this.foundation_.getValue();\n }\n\n /** @param {?string} value */\n set value(value) {\n this.foundation_.setValue(value);\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {!MDCRipple} */\n this.ripple_ = this.initRipple_();\n }\n\n /**\n * @return {!MDCRipple}\n * @private\n */\n initRipple_() {\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"].createAdapter(this), {\n isUnbounded: () => true,\n // Radio buttons technically go \"active\" whenever there is *any* keyboard interaction. This is not the\n // UI we desire.\n isSurfaceActive: () => false,\n registerInteractionHandler: (type, handler) => this.nativeControl_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.nativeControl_.removeEventListener(type, handler),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRippleFoundation\"](adapter);\n return new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"](this.root_, foundation);\n }\n\n /**\n * Returns the state of the native control element, or null if the native control element is not present.\n * @return {?MDCSelectionControlState}\n * @private\n */\n get nativeControl_() {\n const {NATIVE_CONTROL_SELECTOR} = _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings;\n const el = /** @type {?MDCSelectionControlState} */ (\n this.root_.querySelector(NATIVE_CONTROL_SELECTOR));\n return el;\n }\n\n destroy() {\n this.ripple_.destroy();\n super.destroy();\n }\n\n /** @return {!MDCRadioFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n getNativeControl: () => this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.NATIVE_CONTROL_SELECTOR),\n });\n }\n}\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/radio/index.js?");
/***/ }),
/***/ "./node_modules/@material/ripple/adapter.js":
/*!**************************************************!*\
!*** ./node_modules/@material/ripple/adapter.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Ripple. Provides an interface for managing\n * - classes\n * - dom\n * - CSS variables\n * - position\n * - dimensions\n * - scroll position\n * - event handlers\n * - unbounded, active and disabled states\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCRippleAdapter {\n /** @return {boolean} */\n browserSupportsCssVars() {}\n\n /** @return {boolean} */\n isUnbounded() {}\n\n /** @return {boolean} */\n isSurfaceActive() {}\n\n /** @return {boolean} */\n isSurfaceDisabled() {}\n\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /** @param {!EventTarget} target */\n containsEventTarget(target) {}\n\n /**\n * @param {string} evtType\n * @param {!Function} handler\n */\n registerInteractionHandler(evtType, handler) {}\n\n /**\n * @param {string} evtType\n * @param {!Function} handler\n */\n deregisterInteractionHandler(evtType, handler) {}\n\n /**\n * @param {string} evtType\n * @param {!Function} handler\n */\n registerDocumentInteractionHandler(evtType, handler) {}\n\n /**\n * @param {string} evtType\n * @param {!Function} handler\n */\n deregisterDocumentInteractionHandler(evtType, handler) {}\n\n /**\n * @param {!Function} handler\n */\n registerResizeHandler(handler) {}\n\n /**\n * @param {!Function} handler\n */\n deregisterResizeHandler(handler) {}\n\n /**\n * @param {string} varName\n * @param {?number|string} value\n */\n updateCssVariable(varName, value) {}\n\n /** @return {!ClientRect} */\n computeBoundingRect() {}\n\n /** @return {{x: number, y: number}} */\n getWindowPageOffset() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCRippleAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/adapter.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. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst 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 ROOT: 'mdc-ripple-upgraded',\n UNBOUNDED: 'mdc-ripple-upgraded--unbounded',\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};\n\nconst strings = {\n VAR_LEFT: '--mdc-ripple-left',\n VAR_TOP: '--mdc-ripple-top',\n VAR_FG_SIZE: '--mdc-ripple-fg-size',\n VAR_FG_SCALE: '--mdc-ripple-fg-scale',\n VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',\n VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',\n};\n\nconst numbers = {\n PADDING: 10,\n INITIAL_ORIGIN_SCALE: 0.6,\n DEACTIVATION_TIMEOUT_MS: 225, // Corresponds to $mdc-ripple-translate-duration (i.e. activation animation duration)\n FG_DEACTIVATION_MS: 150, // Corresponds to $mdc-ripple-fade-out-duration (i.e. deactivation animation duration)\n TAP_DELAY_MS: 300, // Delay between touch and simulated mouse events on touch devices\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/constants.js?");
/***/ }),
/***/ "./node_modules/@material/ripple/foundation.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/ripple/foundation.js ***!
\*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/ripple/adapter.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. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @typedef {{\n * isActivated: (boolean|undefined),\n * hasDeactivationUXRun: (boolean|undefined),\n * wasActivatedByPointer: (boolean|undefined),\n * wasElementMadeActive: (boolean|undefined),\n * activationEvent: Event,\n * isProgrammatic: (boolean|undefined)\n * }}\n */\nlet ActivationStateType;\n\n/**\n * @typedef {{\n * activate: (string|undefined),\n * deactivate: (string|undefined),\n * focus: (string|undefined),\n * blur: (string|undefined)\n * }}\n */\nlet ListenerInfoType;\n\n/**\n * @typedef {{\n * activate: function(!Event),\n * deactivate: function(!Event),\n * focus: function(),\n * blur: function()\n * }}\n */\nlet ListenersType;\n\n/**\n * @typedef {{\n * x: number,\n * y: number\n * }}\n */\nlet PointType;\n\n// Activation events registered on the root element of each instance for activation\nconst ACTIVATION_EVENT_TYPES = ['touchstart', 'pointerdown', 'mousedown', 'keydown'];\n\n// Deactivation events registered on documentElement when a pointer-related down event occurs\nconst POINTER_DEACTIVATION_EVENT_TYPES = ['touchend', 'pointerup', 'mouseup'];\n\n// Tracks activations that have occurred on the current frame, to avoid simultaneous nested activations\n/** @type {!Array} */\nlet activatedTargets = [];\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCRippleFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"];\n }\n\n static get defaultAdapter() {\n return {\n browserSupportsCssVars: () => /* boolean - cached */ {},\n isUnbounded: () => /* boolean */ {},\n isSurfaceActive: () => /* boolean */ {},\n isSurfaceDisabled: () => /* boolean */ {},\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n containsEventTarget: (/* target: !EventTarget */) => {},\n registerInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n registerDocumentInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n deregisterDocumentInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n registerResizeHandler: (/* handler: EventListener */) => {},\n deregisterResizeHandler: (/* handler: EventListener */) => {},\n updateCssVariable: (/* varName: string, value: string */) => {},\n computeBoundingRect: () => /* ClientRect */ {},\n getWindowPageOffset: () => /* {x: number, y: number} */ {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCRippleFoundation.defaultAdapter, adapter));\n\n /** @private {number} */\n this.layoutFrame_ = 0;\n\n /** @private {!ClientRect} */\n this.frame_ = /** @type {!ClientRect} */ ({width: 0, height: 0});\n\n /** @private {!ActivationStateType} */\n this.activationState_ = this.defaultActivationState_();\n\n /** @private {number} */\n this.initialSize_ = 0;\n\n /** @private {number} */\n this.maxRadius_ = 0;\n\n /** @private {function(!Event)} */\n this.activateHandler_ = (e) => this.activate_(e);\n\n /** @private {function(!Event)} */\n this.deactivateHandler_ = (e) => this.deactivate_(e);\n\n /** @private {function(?Event=)} */\n this.focusHandler_ = () => this.handleFocus();\n\n /** @private {function(?Event=)} */\n this.blurHandler_ = () => this.handleBlur();\n\n /** @private {!Function} */\n this.resizeHandler_ = () => this.layout();\n\n /** @private {{left: number, top:number}} */\n this.unboundedCoords_ = {\n left: 0,\n top: 0,\n };\n\n /** @private {number} */\n this.fgScale_ = 0;\n\n /** @private {number} */\n this.activationTimer_ = 0;\n\n /** @private {number} */\n this.fgDeactivationRemovalTimer_ = 0;\n\n /** @private {boolean} */\n this.activationAnimationHasEnded_ = false;\n\n /** @private {!Function} */\n this.activationTimerCallback_ = () => {\n this.activationAnimationHasEnded_ = true;\n this.runDeactivationUXLogicIfReady_();\n };\n\n /** @private {?Event} */\n this.previousActivationEvent_ = null;\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 * @return {boolean}\n * @private\n */\n supportsPressRipple_() {\n return this.adapter_.browserSupportsCssVars();\n }\n\n /**\n * @return {!ActivationStateType}\n */\n defaultActivationState_() {\n return {\n isActivated: false,\n hasDeactivationUXRun: false,\n wasActivatedByPointer: false,\n wasElementMadeActive: false,\n activationEvent: null,\n isProgrammatic: false,\n };\n }\n\n /** @override */\n init() {\n const supportsPressRipple = this.supportsPressRipple_();\n\n this.registerRootHandlers_(supportsPressRipple);\n\n if (supportsPressRipple) {\n const {ROOT, UNBOUNDED} = MDCRippleFoundation.cssClasses;\n requestAnimationFrame(() => {\n this.adapter_.addClass(ROOT);\n if (this.adapter_.isUnbounded()) {\n this.adapter_.addClass(UNBOUNDED);\n // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple\n this.layoutInternal_();\n }\n });\n }\n }\n\n /** @override */\n destroy() {\n if (this.supportsPressRipple_()) {\n if (this.activationTimer_) {\n clearTimeout(this.activationTimer_);\n this.activationTimer_ = 0;\n const {FG_ACTIVATION} = MDCRippleFoundation.cssClasses;\n this.adapter_.removeClass(FG_ACTIVATION);\n }\n\n const {ROOT, UNBOUNDED} = MDCRippleFoundation.cssClasses;\n requestAnimationFrame(() => {\n this.adapter_.removeClass(ROOT);\n this.adapter_.removeClass(UNBOUNDED);\n this.removeCssVars_();\n });\n }\n\n this.deregisterRootHandlers_();\n this.deregisterDeactivationHandlers_();\n }\n\n /**\n * @param {boolean} supportsPressRipple Passed from init to save a redundant function call\n * @private\n */\n registerRootHandlers_(supportsPressRipple) {\n if (supportsPressRipple) {\n ACTIVATION_EVENT_TYPES.forEach((type) => {\n this.adapter_.registerInteractionHandler(type, this.activateHandler_);\n });\n if (this.adapter_.isUnbounded()) {\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n }\n\n this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n }\n\n /**\n * @param {!Event} e\n * @private\n */\n registerDeactivationHandlers_(e) {\n if (e.type === 'keydown') {\n this.adapter_.registerInteractionHandler('keyup', this.deactivateHandler_);\n } else {\n POINTER_DEACTIVATION_EVENT_TYPES.forEach((type) => {\n this.adapter_.registerDocumentInteractionHandler(type, this.deactivateHandler_);\n });\n }\n }\n\n /** @private */\n deregisterRootHandlers_() {\n ACTIVATION_EVENT_TYPES.forEach((type) => {\n this.adapter_.deregisterInteractionHandler(type, this.activateHandler_);\n });\n this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n\n if (this.adapter_.isUnbounded()) {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n }\n\n /** @private */\n deregisterDeactivationHandlers_() {\n this.adapter_.deregisterInteractionHandler('keyup', this.deactivateHandler_);\n POINTER_DEACTIVATION_EVENT_TYPES.forEach((type) => {\n this.adapter_.deregisterDocumentInteractionHandler(type, this.deactivateHandler_);\n });\n }\n\n /** @private */\n removeCssVars_() {\n const {strings} = MDCRippleFoundation;\n Object.keys(strings).forEach((k) => {\n if (k.indexOf('VAR_') === 0) {\n this.adapter_.updateCssVariable(strings[k], null);\n }\n });\n }\n\n /**\n * @param {?Event} e\n * @private\n */\n activate_(e) {\n if (this.adapter_.isSurfaceDisabled()) {\n return;\n }\n\n const activationState = this.activationState_;\n if (activationState.isActivated) {\n return;\n }\n\n // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction\n const previousActivationEvent = this.previousActivationEvent_;\n const isSameInteraction = previousActivationEvent && e && previousActivationEvent.type !== e.type;\n if (isSameInteraction) {\n return;\n }\n\n activationState.isActivated = true;\n activationState.isProgrammatic = e === null;\n activationState.activationEvent = e;\n activationState.wasActivatedByPointer = activationState.isProgrammatic ? false : (\n e.type === 'mousedown' || e.type === 'touchstart' || e.type === 'pointerdown'\n );\n\n const hasActivatedChild =\n e && activatedTargets.length > 0 && activatedTargets.some((target) => 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\n if (e) {\n activatedTargets.push(/** @type {!EventTarget} */ (e.target));\n this.registerDeactivationHandlers_(e);\n }\n\n activationState.wasElementMadeActive = this.checkElementMadeActive_(e);\n if (activationState.wasElementMadeActive) {\n this.animateActivation_();\n }\n\n requestAnimationFrame(() => {\n // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples\n activatedTargets = [];\n\n if (!activationState.wasElementMadeActive && (e.key === ' ' || e.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_(e);\n if (activationState.wasElementMadeActive) {\n this.animateActivation_();\n }\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\n /**\n * @param {?Event} e\n * @private\n */\n checkElementMadeActive_(e) {\n return (e && e.type === 'keydown') ? this.adapter_.isSurfaceActive() : true;\n }\n\n /**\n * @param {?Event=} event Optional event containing position information.\n */\n activate(event = null) {\n this.activate_(event);\n }\n\n /** @private */\n animateActivation_() {\n const {VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END} = MDCRippleFoundation.strings;\n const {FG_DEACTIVATION, FG_ACTIVATION} = MDCRippleFoundation.cssClasses;\n const {DEACTIVATION_TIMEOUT_MS} = MDCRippleFoundation.numbers;\n\n this.layoutInternal_();\n\n let translateStart = '';\n let translateEnd = '';\n\n if (!this.adapter_.isUnbounded()) {\n const {startPoint, endPoint} = this.getFgTranslationCoordinates_();\n translateStart = `${startPoint.x}px, ${startPoint.y}px`;\n translateEnd = `${endPoint.x}px, ${endPoint.y}px`;\n }\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\n // Force layout in order to re-trigger the animation.\n this.adapter_.computeBoundingRect();\n this.adapter_.addClass(FG_ACTIVATION);\n this.activationTimer_ = setTimeout(() => this.activationTimerCallback_(), DEACTIVATION_TIMEOUT_MS);\n }\n\n /**\n * @private\n * @return {{startPoint: PointType, endPoint: PointType}}\n */\n getFgTranslationCoordinates_() {\n const {activationEvent, wasActivatedByPointer} = this.activationState_;\n\n let startPoint;\n if (wasActivatedByPointer) {\n startPoint = Object(_util__WEBPACK_IMPORTED_MODULE_3__[\"getNormalizedEventCoords\"])(\n /** @type {!Event} */ (activationEvent),\n 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\n const endPoint = {\n x: (this.frame_.width / 2) - (this.initialSize_ / 2),\n y: (this.frame_.height / 2) - (this.initialSize_ / 2),\n };\n\n return {startPoint, endPoint};\n }\n\n /** @private */\n runDeactivationUXLogicIfReady_() {\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 const {FG_DEACTIVATION} = MDCRippleFoundation.cssClasses;\n const {hasDeactivationUXRun, isActivated} = this.activationState_;\n const activationHasEnded = hasDeactivationUXRun || !isActivated;\n\n if (activationHasEnded && this.activationAnimationHasEnded_) {\n this.rmBoundedActivationClasses_();\n this.adapter_.addClass(FG_DEACTIVATION);\n this.fgDeactivationRemovalTimer_ = setTimeout(() => {\n this.adapter_.removeClass(FG_DEACTIVATION);\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].FG_DEACTIVATION_MS);\n }\n }\n\n /** @private */\n rmBoundedActivationClasses_() {\n const {FG_ACTIVATION} = MDCRippleFoundation.cssClasses;\n this.adapter_.removeClass(FG_ACTIVATION);\n this.activationAnimationHasEnded_ = false;\n this.adapter_.computeBoundingRect();\n }\n\n resetActivationState_() {\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(() => this.previousActivationEvent_ = null, MDCRippleFoundation.numbers.TAP_DELAY_MS);\n }\n\n /**\n * @param {?Event} e\n * @private\n */\n deactivate_(e) {\n const 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\n const state = /** @type {!ActivationStateType} */ (Object.assign({}, activationState));\n\n if (activationState.isProgrammatic) {\n const evtObject = null;\n requestAnimationFrame(() => this.animateDeactivation_(evtObject, state));\n this.resetActivationState_();\n } else {\n this.deregisterDeactivationHandlers_();\n requestAnimationFrame(() => {\n this.activationState_.hasDeactivationUXRun = true;\n this.animateDeactivation_(e, state);\n this.resetActivationState_();\n });\n }\n }\n\n /**\n * @param {?Event=} event Optional event containing position information.\n */\n deactivate(event = null) {\n this.deactivate_(event);\n }\n\n /**\n * @param {Event} e\n * @param {!ActivationStateType} options\n * @private\n */\n animateDeactivation_(e, {wasActivatedByPointer, wasElementMadeActive}) {\n if (wasActivatedByPointer || wasElementMadeActive) {\n this.runDeactivationUXLogicIfReady_();\n }\n }\n\n layout() {\n if (this.layoutFrame_) {\n cancelAnimationFrame(this.layoutFrame_);\n }\n this.layoutFrame_ = requestAnimationFrame(() => {\n this.layoutInternal_();\n this.layoutFrame_ = 0;\n });\n }\n\n /** @private */\n layoutInternal_() {\n this.frame_ = this.adapter_.computeBoundingRect();\n const maxDim = Math.max(this.frame_.height, this.frame_.width);\n\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 const getBoundedRadius = () => {\n const hypotenuse = Math.sqrt(Math.pow(this.frame_.width, 2) + Math.pow(this.frame_.height, 2));\n return hypotenuse + MDCRippleFoundation.numbers.PADDING;\n };\n\n this.maxRadius_ = this.adapter_.isUnbounded() ? maxDim : getBoundedRadius();\n\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_ = maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE;\n this.fgScale_ = this.maxRadius_ / this.initialSize_;\n\n this.updateLayoutCssVars_();\n }\n\n /** @private */\n updateLayoutCssVars_() {\n const {\n VAR_FG_SIZE, VAR_LEFT, VAR_TOP, VAR_FG_SCALE,\n } = MDCRippleFoundation.strings;\n\n this.adapter_.updateCssVariable(VAR_FG_SIZE, `${this.initialSize_}px`);\n this.adapter_.updateCssVariable(VAR_FG_SCALE, this.fgScale_);\n\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\n this.adapter_.updateCssVariable(VAR_LEFT, `${this.unboundedCoords_.left}px`);\n this.adapter_.updateCssVariable(VAR_TOP, `${this.unboundedCoords_.top}px`);\n }\n }\n\n /** @param {boolean} unbounded */\n setUnbounded(unbounded) {\n const {UNBOUNDED} = MDCRippleFoundation.cssClasses;\n if (unbounded) {\n this.adapter_.addClass(UNBOUNDED);\n } else {\n this.adapter_.removeClass(UNBOUNDED);\n }\n }\n\n handleFocus() {\n requestAnimationFrame(() =>\n this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED));\n }\n\n handleBlur() {\n requestAnimationFrame(() =>\n this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED));\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCRippleFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/ripple/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/ripple/index.js ***!
\************************************************/
/*! exports provided: MDCRipple, MDCRippleFoundation, RippleCapableSurface, util */
/***/ (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 export (binding) */ __webpack_require__.d(__webpack_exports__, \"RippleCapableSurface\", function() { return RippleCapableSurface; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/ripple/adapter.js\");\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__[\"default\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __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_3__; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends MDCComponent\n */\nclass MDCRipple extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @param {...?} args */\n constructor(...args) {\n super(...args);\n\n /** @type {boolean} */\n this.disabled = false;\n\n /** @private {boolean} */\n this.unbounded_;\n }\n\n /**\n * @param {!Element} root\n * @param {{isUnbounded: (boolean|undefined)}=} options\n * @return {!MDCRipple}\n */\n static attachTo(root, {isUnbounded = undefined} = {}) {\n const ripple = new MDCRipple(root);\n // Only override unbounded behavior if option is explicitly specified\n if (isUnbounded !== undefined) {\n ripple.unbounded = /** @type {boolean} */ (isUnbounded);\n }\n return ripple;\n }\n\n /**\n * @param {!RippleCapableSurface} instance\n * @return {!MDCRippleAdapter}\n */\n static createAdapter(instance) {\n const MATCHES = _util__WEBPACK_IMPORTED_MODULE_3__[\"getMatchesProperty\"](HTMLElement.prototype);\n\n return {\n browserSupportsCssVars: () => _util__WEBPACK_IMPORTED_MODULE_3__[\"supportsCssVariables\"](window),\n isUnbounded: () => instance.unbounded,\n isSurfaceActive: () => instance.root_[MATCHES](':active'),\n isSurfaceDisabled: () => instance.disabled,\n addClass: (className) => instance.root_.classList.add(className),\n removeClass: (className) => instance.root_.classList.remove(className),\n containsEventTarget: (target) => instance.root_.contains(target),\n registerInteractionHandler: (evtType, handler) =>\n instance.root_.addEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_3__[\"applyPassive\"]()),\n deregisterInteractionHandler: (evtType, handler) =>\n instance.root_.removeEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_3__[\"applyPassive\"]()),\n registerDocumentInteractionHandler: (evtType, handler) =>\n document.documentElement.addEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_3__[\"applyPassive\"]()),\n deregisterDocumentInteractionHandler: (evtType, handler) =>\n document.documentElement.removeEventListener(evtType, handler, _util__WEBPACK_IMPORTED_MODULE_3__[\"applyPassive\"]()),\n registerResizeHandler: (handler) => window.addEventListener('resize', handler),\n deregisterResizeHandler: (handler) => window.removeEventListener('resize', handler),\n updateCssVariable: (varName, value) => instance.root_.style.setProperty(varName, value),\n computeBoundingRect: () => instance.root_.getBoundingClientRect(),\n getWindowPageOffset: () => ({x: window.pageXOffset, y: window.pageYOffset}),\n };\n }\n\n /** @return {boolean} */\n get unbounded() {\n return this.unbounded_;\n }\n\n /** @param {boolean} unbounded */\n set unbounded(unbounded) {\n this.unbounded_ = Boolean(unbounded);\n this.setUnbounded_();\n }\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 * @private\n */\n setUnbounded_() {\n this.foundation_.setUnbounded(this.unbounded_);\n }\n\n activate() {\n this.foundation_.activate();\n }\n\n deactivate() {\n this.foundation_.deactivate();\n }\n\n layout() {\n this.foundation_.layout();\n }\n\n /**\n * @return {!MDCRippleFoundation}\n * @override\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](MDCRipple.createAdapter(this));\n }\n\n /** @override */\n initialSyncWithDOM() {\n this.unbounded = 'mdcRippleIsUnbounded' in this.root_.dataset;\n }\n}\n\n/**\n * See Material Design spec for more details on when to use ripples.\n * https://material.io/guidelines/motion/choreography.html#choreography-creation\n * @record\n */\nclass RippleCapableSurface {}\n\n/** @protected {!Element} */\nRippleCapableSurface.prototype.root_;\n\n/**\n * Whether or not the ripple bleeds out of the bounds of the element.\n * @type {boolean|undefined}\n */\nRippleCapableSurface.prototype.unbounded;\n\n/**\n * Whether or not the ripple is attached to a disabled component.\n * @type {boolean|undefined}\n */\nRippleCapableSurface.prototype.disabled;\n\n\n\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, getMatchesProperty, 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__, \"getMatchesProperty\", function() { return getMatchesProperty; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getNormalizedEventCoords\", function() { return getNormalizedEventCoords; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * Stores result from supportsCssVariables to avoid redundant processing to detect CSS custom variable support.\n * @private {boolean|undefined}\n */\nlet supportsCssVariables_;\n\n/**\n * Stores result from applyPassive to avoid redundant processing to detect passive event listener support.\n * @private {boolean|undefined}\n */\nlet supportsPassive_;\n\n/**\n * @param {!Window} windowObj\n * @return {boolean}\n */\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 const document = windowObj.document;\n const node = document.createElement('div');\n node.className = 'mdc-ripple-surface--test-edge-var-bug';\n document.body.appendChild(node);\n\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 const computedStyle = windowObj.getComputedStyle(node);\n const hasPseudoVarBug = computedStyle !== null && computedStyle.borderTopStyle === 'solid';\n node.remove();\n return hasPseudoVarBug;\n}\n\n/**\n * @param {!Window} windowObj\n * @param {boolean=} forceRefresh\n * @return {boolean|undefined}\n */\n\nfunction supportsCssVariables(windowObj, forceRefresh = false) {\n let supportsCssVariables = supportsCssVariables_;\n if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {\n return supportsCssVariables;\n }\n\n const supportsFunctionPresent = windowObj.CSS && typeof windowObj.CSS.supports === 'function';\n if (!supportsFunctionPresent) {\n return;\n }\n\n const explicitlySupportsCssVars = windowObj.CSS.supports('--css-vars', 'yes');\n // See: https://bugs.webkit.org/show_bug.cgi?id=154669\n // See: README section on Safari\n const weAreFeatureDetectingSafari10plus = (\n windowObj.CSS.supports('(--css-vars: yes)') &&\n windowObj.CSS.supports('color', '#00000000')\n );\n\n if (explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus) {\n supportsCssVariables = !detectEdgePseudoVarBug(windowObj);\n } else {\n supportsCssVariables = false;\n }\n\n if (!forceRefresh) {\n supportsCssVariables_ = supportsCssVariables;\n }\n return supportsCssVariables;\n}\n\n//\n/**\n * Determine whether the current browser supports passive event listeners, and if so, use them.\n * @param {!Window=} globalObj\n * @param {boolean=} forceRefresh\n * @return {boolean|{passive: boolean}}\n */\nfunction applyPassive(globalObj = window, forceRefresh = false) {\n if (supportsPassive_ === undefined || forceRefresh) {\n let isSupported = false;\n try {\n globalObj.document.addEventListener('test', null, {get passive() {\n isSupported = true;\n }});\n } catch (e) { }\n\n supportsPassive_ = isSupported;\n }\n\n return supportsPassive_ ? {passive: true} : false;\n}\n\n/**\n * @param {!Object} HTMLElementPrototype\n * @return {!Array}\n */\nfunction getMatchesProperty(HTMLElementPrototype) {\n return [\n 'webkitMatchesSelector', 'msMatchesSelector', 'matches',\n ].filter((p) => p in HTMLElementPrototype).pop();\n}\n\n/**\n * @param {!Event} ev\n * @param {{x: number, y: number}} pageOffset\n * @param {!ClientRect} clientRect\n * @return {{x: number, y: number}}\n */\nfunction getNormalizedEventCoords(ev, pageOffset, clientRect) {\n const {x, y} = pageOffset;\n const documentX = x + clientRect.left;\n const documentY = y + clientRect.top;\n\n let normalizedX;\n let normalizedY;\n // Determine touch point relative to the ripple container.\n if (ev.type === 'touchstart') {\n normalizedX = ev.changedTouches[0].pageX - documentX;\n normalizedY = ev.changedTouches[0].pageY - documentY;\n } else {\n normalizedX = ev.pageX - documentX;\n normalizedY = ev.pageY - documentY;\n }\n\n return {x: normalizedX, y: normalizedY};\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/ripple/util.js?");
/***/ }),
/***/ "./node_modules/@material/select/adapter.js":
/*!**************************************************!*\
!*** ./node_modules/@material/select/adapter.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Select. Provides an interface for managing\n * - classes\n * - dom\n * - event handlers\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\n\nclass MDCSelectAdapter {\n /**\n * Adds class to root element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the root element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns true if the root element contains the given class name.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Activates the bottom line, showing a focused state.\n */\n activateBottomLine() {}\n\n /**\n * Deactivates the bottom line.\n */\n deactivateBottomLine() {}\n\n /**\n * Returns the selected value of the select element.\n * @return {string}\n */\n getValue() {}\n\n /**\n * Returns true if the direction of the root element is set to RTL.\n * @return {boolean}\n */\n isRtl() {}\n\n /**\n * Returns true if label element exists, false if it doesn't.\n * @return {boolean}\n */\n hasLabel() {}\n\n /**\n * Floats label determined based off of the shouldFloat argument.\n * @param {boolean} shouldFloat\n */\n floatLabel(shouldFloat) {}\n\n /**\n * Returns width of label in pixels, if the label exists.\n * @return {number}\n */\n getLabelWidth() {}\n\n /**\n * Returns true if outline element exists, false if it doesn't.\n * @return {boolean}\n */\n hasOutline() {}\n\n /**\n * Updates SVG Path and outline element based on the\n * label element width and RTL context, if the outline exists.\n * @param {number} labelWidth\n * @param {boolean=} isRtl\n */\n notchOutline(labelWidth, isRtl) {}\n\n /**\n * Closes notch in outline element, if the outline exists.\n */\n closeOutline() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSelectAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/select/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/select/constants.js":
/*!****************************************************!*\
!*** ./node_modules/@material/select/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. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n BOX: 'mdc-select--box',\n DISABLED: 'mdc-select--disabled',\n ROOT: 'mdc-select',\n OUTLINED: 'mdc-select--outlined',\n};\n\n/** @enum {string} */\nconst strings = {\n CHANGE_EVENT: 'MDCSelect:change',\n LINE_RIPPLE_SELECTOR: '.mdc-line-ripple',\n LABEL_SELECTOR: '.mdc-floating-label',\n NATIVE_CONTROL_SELECTOR: '.mdc-select__native-control',\n OUTLINE_SELECTOR: '.mdc-notched-outline',\n};\n\n/** @enum {number} */\nconst numbers = {\n LABEL_SCALE: 0.75,\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/select/constants.js?");
/***/ }),
/***/ "./node_modules/@material/select/foundation.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/select/foundation.js ***!
\*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/select/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/select/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCSelectFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum {number} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /**\n * {@see MDCSelectAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCSelectAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCSelectAdapter} */ ({\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n hasClass: (/* className: string */) => false,\n activateBottomLine: () => {},\n deactivateBottomLine: () => {},\n getValue: () => {},\n isRtl: () => false,\n hasLabel: () => false,\n floatLabel: (/* value: boolean */) => {},\n getLabelWidth: () => {},\n hasOutline: () => false,\n notchOutline: (/* labelWidth: number, isRtl: boolean */) => {},\n closeOutline: () => {},\n });\n }\n\n /**\n * @param {!MDCSelectAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCSelectFoundation.defaultAdapter, adapter));\n }\n\n /**\n * Updates the styles of the select to show the disasbled state.\n * @param {boolean} disabled\n */\n updateDisabledStyle(disabled) {\n const {DISABLED} = MDCSelectFoundation.cssClasses;\n if (disabled) {\n this.adapter_.addClass(DISABLED);\n } else {\n this.adapter_.removeClass(DISABLED);\n }\n }\n\n /**\n * Handles value changes, via change event or programmatic updates.\n */\n handleChange() {\n const optionHasValue = this.adapter_.getValue().length > 0;\n this.adapter_.floatLabel(optionHasValue);\n this.notchOutline(optionHasValue);\n }\n\n /**\n * Handles focus events from root element.\n */\n handleFocus() {\n this.adapter_.floatLabel(true);\n this.notchOutline(true);\n this.adapter_.activateBottomLine();\n }\n\n /**\n * Handles blur events from root element.\n */\n handleBlur() {\n this.handleChange();\n this.adapter_.deactivateBottomLine();\n }\n\n /**\n * Opens/closes the notched outline.\n * @param {boolean} openNotch\n */\n notchOutline(openNotch) {\n if (!this.adapter_.hasOutline() || !this.adapter_.hasLabel()) {\n return;\n }\n\n if (openNotch) {\n const labelScale = _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].LABEL_SCALE;\n const labelWidth = this.adapter_.getLabelWidth() * labelScale;\n const isRtl = this.adapter_.isRtl();\n this.adapter_.notchOutline(labelWidth, isRtl);\n } else {\n this.adapter_.closeOutline();\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSelectFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/select/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/select/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/select/index.js ***!
\************************************************/
/*! exports provided: MDCSelect, MDCSelectFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSelect\", function() { return MDCSelect; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _material_floating_label_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/floating-label/index */ \"./node_modules/@material/floating-label/index.js\");\n/* harmony import */ var _material_line_ripple_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/line-ripple/index */ \"./node_modules/@material/line-ripple/index.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _material_notched_outline_index__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material/notched-outline/index */ \"./node_modules/@material/notched-outline/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/select/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSelectFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/select/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/select/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n\n\n/**\n * @extends MDCComponent\n */\nclass MDCSelect extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n /** @private {?Element} */\n this.nativeControl_;\n /** @type {?MDCRipple} */\n this.ripple;\n /** @private {?MDCLineRipple} */\n this.lineRipple_;\n /** @private {?MDCFloatingLabel} */\n this.label_;\n /** @private {?MDCNotchedOutline} */\n this.outline_;\n /** @private {!Function} */\n this.handleChange_;\n /** @private {!Function} */\n this.handleFocus_;\n /** @private {!Function} */\n this.handleBlur_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCSelect}\n */\n static attachTo(root) {\n return new MDCSelect(root);\n }\n\n /**\n * @return {string} The value of the select.\n */\n get value() {\n return this.nativeControl_.value;\n }\n\n /**\n * @param {string} value The value to set on the select.\n */\n set value(value) {\n this.nativeControl_.value = value;\n this.foundation_.handleChange();\n }\n\n /**\n * @return {number} The selected index of the select.\n */\n get selectedIndex() {\n return this.nativeControl_.selectedIndex;\n }\n\n /**\n * @param {number} selectedIndex The index of the option to be set on the select.\n */\n set selectedIndex(selectedIndex) {\n this.nativeControl_.selectedIndex = selectedIndex;\n this.foundation_.handleChange();\n }\n\n /**\n * @return {boolean} True if the select is disabled.\n */\n get disabled() {\n return this.nativeControl_.disabled;\n }\n\n /**\n * @param {boolean} disabled Sets the select disabled or enabled.\n */\n set disabled(disabled) {\n this.nativeControl_.disabled = disabled;\n this.foundation_.updateDisabledStyle(disabled);\n }\n\n /**\n * Recomputes the outline SVG path for the outline element.\n */\n layout() {\n const openNotch = this.nativeControl_.value.length > 0;\n this.foundation_.notchOutline(openNotch);\n }\n\n\n /**\n * @param {(function(!Element): !MDCLineRipple)=} lineRippleFactory A function which creates a new MDCLineRipple.\n * @param {(function(!Element): !MDCFloatingLabel)=} labelFactory A function which creates a new MDCFloatingLabel.\n * @param {(function(!Element): !MDCNotchedOutline)=} outlineFactory A function which creates a new MDCNotchedOutline.\n */\n initialize(\n labelFactory = (el) => new _material_floating_label_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCFloatingLabel\"](el),\n lineRippleFactory = (el) => new _material_line_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCLineRipple\"](el),\n outlineFactory = (el) => new _material_notched_outline_index__WEBPACK_IMPORTED_MODULE_4__[\"MDCNotchedOutline\"](el)) {\n this.nativeControl_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_7__[\"strings\"].NATIVE_CONTROL_SELECTOR);\n const labelElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_7__[\"strings\"].LABEL_SELECTOR);\n if (labelElement) {\n this.label_ = labelFactory(labelElement);\n }\n const lineRippleElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_7__[\"strings\"].LINE_RIPPLE_SELECTOR);\n if (lineRippleElement) {\n this.lineRipple_ = lineRippleFactory(lineRippleElement);\n }\n const outlineElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_7__[\"strings\"].OUTLINE_SELECTOR);\n if (outlineElement) {\n this.outline_ = outlineFactory(outlineElement);\n }\n\n if (this.root_.classList.contains(_constants__WEBPACK_IMPORTED_MODULE_7__[\"cssClasses\"].BOX)) {\n this.ripple = this.initRipple_();\n }\n }\n\n /**\n * @private\n * @return {!MDCRipple}\n */\n initRipple_() {\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"].createAdapter(this), {\n registerInteractionHandler: (type, handler) => this.nativeControl_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.nativeControl_.removeEventListener(type, handler),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRippleFoundation\"](adapter);\n return new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"](this.root_, foundation);\n }\n\n /**\n * Initializes the select's event listeners and internal state based\n * on the environment's state.\n */\n initialSyncWithDOM() {\n this.handleChange_ = () => this.foundation_.handleChange();\n this.handleFocus_ = () => this.foundation_.handleFocus();\n this.handleBlur_ = () => this.foundation_.handleBlur();\n\n this.nativeControl_.addEventListener('change', this.handleChange_);\n this.nativeControl_.addEventListener('focus', this.handleFocus_);\n this.nativeControl_.addEventListener('blur', this.handleBlur_);\n\n // Initially sync floating label\n this.foundation_.handleChange();\n\n if (this.nativeControl_.disabled) {\n this.disabled = true;\n }\n }\n\n destroy() {\n this.nativeControl_.removeEventListener('change', this.handleChange_);\n this.nativeControl_.removeEventListener('focus', this.handleFocus_);\n this.nativeControl_.removeEventListener('blur', this.handleBlur_);\n\n if (this.ripple) {\n this.ripple.destroy();\n }\n if (this.outline_) {\n this.outline_.destroy();\n }\n\n super.destroy();\n }\n\n /**\n * @return {!MDCSelectFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"](\n /** @type {!MDCSelectAdapter} */ (Object.assign({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n getValue: () => this.nativeControl_.value,\n isRtl: () => window.getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n activateBottomLine: () => {\n if (this.lineRipple_) {\n this.lineRipple_.activate();\n }\n },\n deactivateBottomLine: () => {\n if (this.lineRipple_) {\n this.lineRipple_.deactivate();\n }\n },\n },\n this.getOutlineAdapterMethods_(),\n this.getLabelAdapterMethods_())\n )\n );\n }\n\n /**\n * @return {!{\n * hasOutline: function(): boolean,\n * notchOutline: function(number, boolean): undefined,\n * closeOutline: function(): undefined,\n * }}\n */\n getOutlineAdapterMethods_() {\n return {\n hasOutline: () => !!this.outline_,\n notchOutline: (labelWidth, isRtl) => {\n if (this.outline_) {\n this.outline_.notch(labelWidth, isRtl);\n }\n },\n closeOutline: () => {\n if (this.outline_) {\n this.outline_.closeNotch();\n }\n },\n };\n }\n\n /**\n * @return {!{\n * hasLabel: function(): boolean,\n * floatLabel: function(boolean): undefined,\n * getLabelWidth: function(): number,\n * }}\n */\n getLabelAdapterMethods_() {\n return {\n hasLabel: () => !!this.label_,\n floatLabel: (shouldFloat) => {\n if (this.label_) {\n this.label_.float(shouldFloat);\n }\n },\n getLabelWidth: () => {\n if (this.label_) {\n return this.label_.getWidth();\n }\n },\n };\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/select/index.js?");
/***/ }),
/***/ "./node_modules/@material/selection-control/index.js":
/*!***********************************************************!*\
!*** ./node_modules/@material/selection-control/index.js ***!
\***********************************************************/
/*! exports provided: MDCSelectionControlState, MDCSelectionControl */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSelectionControlState\", function() { return MDCSelectionControlState; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSelectionControl\", function() { return MDCSelectionControl; });\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @typedef {{\n * checked: boolean,\n * indeterminate: boolean,\n * disabled: boolean,\n * value: ?string\n * }}\n */\nlet MDCSelectionControlState;\n\n/**\n * @record\n */\nclass MDCSelectionControl {\n /** @return {?MDCRipple} */\n get ripple() {}\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/selection-control/index.js?");
/***/ }),
/***/ "./node_modules/@material/slider/adapter.js":
/*!**************************************************!*\
!*** ./node_modules/@material/slider/adapter.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable no-unused-vars */\n\n/**\n * Adapter for MDC Slider.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Slider into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCSliderAdapter {\n /**\n * Returns true if className exists for the slider Element\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Adds a class to the slider Element\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the slider Element\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns a string if attribute name exists on the slider Element,\n * otherwise returns null\n * @param {string} name\n * @return {?string}\n */\n getAttribute(name) {}\n\n /**\n * Sets attribute name on slider Element to value\n * @param {string} name\n * @param {string} value\n */\n setAttribute(name, value) {}\n\n /**\n * Removes attribute name from slider Element\n * @param {string} name\n */\n removeAttribute(name) {}\n\n /**\n * Returns the bounding client rect for the slider Element\n * @return {?ClientRect}\n */\n computeBoundingRect() {}\n\n /**\n * Returns the tab index of the slider Element\n * @return {number}\n */\n getTabIndex() {}\n\n /**\n * Registers an event handler on the root element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n registerInteractionHandler(type, handler) {}\n\n /**\n * Deregisters an event handler on the root element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n deregisterInteractionHandler(type, handler) {}\n\n /**\n * Registers an event handler on the thumb container element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n registerThumbContainerInteractionHandler(type, handler) {}\n\n /**\n * Deregisters an event handler on the thumb container element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n deregisterThumbContainerInteractionHandler(type, handler) {}\n\n /**\n * Registers an event handler on the body for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n registerBodyInteractionHandler(type, handler) {}\n\n /**\n * Deregisters an event handler on the body for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n deregisterBodyInteractionHandler(type, handler) {}\n\n /**\n * Registers an event handler for the window resize event\n * @param {function(!Event): undefined} handler\n */\n registerResizeHandler(handler) {}\n\n /**\n * Deregisters an event handler for the window resize event\n * @param {function(!Event): undefined} handler\n */\n deregisterResizeHandler(handler) {}\n\n /**\n * Emits a custom event MDCSlider:input from the root\n */\n notifyInput() {}\n\n /**\n * Emits a custom event MDCSlider:change from the root\n */\n notifyChange() {}\n\n /**\n * Sets a style property of the thumb container element to the passed value\n * @param {string} propertyName\n * @param {string} value\n */\n setThumbContainerStyleProperty(propertyName, value) {}\n\n /**\n * Sets a style property of the track element to the passed value\n * @param {string} propertyName\n * @param {string} value\n */\n setTrackStyleProperty(propertyName, value) {}\n\n /**\n * Sets the inner text of the pin marker to the passed value\n * @param {number} value\n */\n setMarkerValue(value) {}\n\n /**\n * Appends the passed number of track markers to the track mark container element\n * @param {number} numMarkers\n */\n appendTrackMarkers(numMarkers) {}\n\n /**\n * Removes all track markers fromt he track mark container element\n */\n removeTrackMarkers() {}\n\n /**\n * Sets a style property of the last track marker to the passed value\n * @param {string} propertyName\n * @param {string} value\n */\n setLastTrackMarkersStyleProperty(propertyName, value) {}\n\n /**\n * Returns true if the root element is RTL, otherwise false\n * @return {boolean}\n */\n isRTL() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSliderAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/slider/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/slider/constants.js":
/*!****************************************************!*\
!*** ./node_modules/@material/slider/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 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ACTIVE: 'mdc-slider--active',\n DISABLED: 'mdc-slider--disabled',\n DISCRETE: 'mdc-slider--discrete',\n FOCUS: 'mdc-slider--focus',\n IN_TRANSIT: 'mdc-slider--in-transit',\n IS_DISCRETE: 'mdc-slider--discrete',\n HAS_TRACK_MARKER: 'mdc-slider--display-markers',\n};\n\n/** @enum {string} */\nconst strings = {\n TRACK_SELECTOR: '.mdc-slider__track',\n TRACK_MARKER_CONTAINER_SELECTOR: '.mdc-slider__track-marker-container',\n LAST_TRACK_MARKER_SELECTOR: '.mdc-slider__track-marker:last-child',\n THUMB_CONTAINER_SELECTOR: '.mdc-slider__thumb-container',\n PIN_VALUE_MARKER_SELECTOR: '.mdc-slider__pin-value-marker',\n ARIA_VALUEMIN: 'aria-valuemin',\n ARIA_VALUEMAX: 'aria-valuemax',\n ARIA_VALUENOW: 'aria-valuenow',\n ARIA_DISABLED: 'aria-disabled',\n STEP_DATA_ATTR: 'data-step',\n CHANGE_EVENT: 'MDCSlider:change',\n INPUT_EVENT: 'MDCSlider:input',\n};\n\n/** @enum {number} */\nconst numbers = {\n PAGE_FACTOR: 4,\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/slider/constants.js?");
/***/ }),
/***/ "./node_modules/@material/slider/foundation.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/slider/foundation.js ***!
\*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/slider/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/slider/adapter.js\");\n/* harmony import */ var _material_animation_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/animation/index */ \"./node_modules/@material/animation/index.js\");\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n *you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n/** @enum {string} */\nconst KEY_IDS = {\n ARROW_LEFT: 'ArrowLeft',\n ARROW_RIGHT: 'ArrowRight',\n ARROW_UP: 'ArrowUp',\n ARROW_DOWN: 'ArrowDown',\n HOME: 'Home',\n END: 'End',\n PAGE_UP: 'PageUp',\n PAGE_DOWN: 'PageDown',\n};\n\n/** @enum {string} */\nconst MOVE_EVENT_MAP = {\n 'mousedown': 'mousemove',\n 'touchstart': 'touchmove',\n 'pointerdown': 'pointermove',\n};\n\nconst DOWN_EVENTS = ['mousedown', 'pointerdown', 'touchstart'];\nconst UP_EVENTS = ['mouseup', 'pointerup', 'touchend'];\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCSliderFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"] {\n /** @return enum {cssClasses} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"];\n }\n\n /** @return enum {strings} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"];\n }\n\n /** @return enum {numbers} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"numbers\"];\n }\n\n /** @return {!MDCSliderAdapter} */\n static get defaultAdapter() {\n return /** @type {!MDCSliderAdapter} */ ({\n hasClass: (/* className: string */) => /* boolean */ false,\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n getAttribute: (/* name: string */) => /* string|null */ null,\n setAttribute: (/* name: string, value: string */) => {},\n removeAttribute: (/* name: string */) => {},\n computeBoundingRect: () => /* ClientRect */ ({\n top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0,\n }),\n getTabIndex: () => /* number */ 0,\n registerInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterInteractionHandler: (/* type: string, handler: EventListener */) => {},\n registerThumbContainerInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterThumbContainerInteractionHandler: (/* type: string, handler: EventListener */) => {},\n registerBodyInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterBodyInteractionHandler: (/* type: string, handler: EventListener */) => {},\n registerResizeHandler: (/* handler: EventListener */) => {},\n deregisterResizeHandler: (/* handler: EventListener */) => {},\n notifyInput: () => {},\n notifyChange: () => {},\n setThumbContainerStyleProperty: (/* propertyName: string, value: string */) => {},\n setTrackStyleProperty: (/* propertyName: string, value: string */) => {},\n setMarkerValue: (/* value: number */) => {},\n appendTrackMarkers: (/* numMarkers: number */) => {},\n removeTrackMarkers: () => {},\n setLastTrackMarkersStyleProperty: (/* propertyName: string, value: string */) => {},\n isRTL: () => /* boolean */ false,\n });\n }\n\n /**\n * Creates a new instance of MDCSliderFoundation\n * @param {?MDCSliderAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCSliderFoundation.defaultAdapter, adapter));\n /** @private {?ClientRect} */\n this.rect_ = null;\n // We set this to NaN since we want it to be a number, but we can't use '0' or '-1'\n // because those could be valid tabindices set by the client code.\n this.savedTabIndex_ = NaN;\n this.active_ = false;\n this.inTransit_ = false;\n this.isDiscrete_ = false;\n this.hasTrackMarker_ = false;\n this.handlingThumbTargetEvt_ = false;\n this.min_ = 0;\n this.max_ = 100;\n this.step_ = 0;\n this.value_ = 0;\n this.disabled_ = false;\n this.preventFocusState_ = false;\n this.updateUIFrame_ = 0;\n this.thumbContainerPointerHandler_ = () => {\n this.handlingThumbTargetEvt_ = true;\n };\n this.interactionStartHandler_ = (evt) => this.handleDown_(evt);\n this.keydownHandler_ = (evt) => this.handleKeydown_(evt);\n this.focusHandler_ = () => this.handleFocus_();\n this.blurHandler_ = () => this.handleBlur_();\n this.resizeHandler_ = () => this.layout();\n }\n\n init() {\n this.isDiscrete_ = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].IS_DISCRETE);\n this.hasTrackMarker_ = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].HAS_TRACK_MARKER);\n DOWN_EVENTS.forEach((evtName) => this.adapter_.registerInteractionHandler(evtName, this.interactionStartHandler_));\n this.adapter_.registerInteractionHandler('keydown', this.keydownHandler_);\n this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n DOWN_EVENTS.forEach((evtName) => {\n this.adapter_.registerThumbContainerInteractionHandler(evtName, this.thumbContainerPointerHandler_);\n });\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n this.layout();\n // At last step, provide a reasonable default value to discrete slider\n if (this.isDiscrete_ && this.getStep() == 0) {\n this.step_ = 1;\n }\n }\n\n destroy() {\n DOWN_EVENTS.forEach((evtName) => {\n this.adapter_.deregisterInteractionHandler(evtName, this.interactionStartHandler_);\n });\n this.adapter_.deregisterInteractionHandler('keydown', this.keydownHandler_);\n this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n DOWN_EVENTS.forEach((evtName) => {\n this.adapter_.deregisterThumbContainerInteractionHandler(evtName, this.thumbContainerPointerHandler_);\n });\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n\n setupTrackMarker() {\n if (this.isDiscrete_ && this.hasTrackMarker_&& this.getStep() != 0) {\n const min = this.getMin();\n const max = this.getMax();\n const step = this.getStep();\n let numMarkers = (max - min) / step;\n\n // In case distance between max & min is indivisible to step,\n // we place the secondary to last marker proportionally at where thumb\n // could reach and place the last marker at max value\n const indivisible = Math.ceil(numMarkers) !== numMarkers;\n if (indivisible) {\n numMarkers = Math.ceil(numMarkers);\n }\n\n this.adapter_.removeTrackMarkers();\n this.adapter_.appendTrackMarkers(numMarkers);\n\n if (indivisible) {\n const lastStepRatio = (max - numMarkers * step) / step + 1;\n const flex = Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_2__[\"getCorrectPropertyName\"])(window, 'flex');\n this.adapter_.setLastTrackMarkersStyleProperty(flex, String(lastStepRatio));\n }\n }\n }\n\n layout() {\n this.rect_ = this.adapter_.computeBoundingRect();\n this.updateUIForCurrentValue_();\n }\n\n /** @return {number} */\n getValue() {\n return this.value_;\n }\n\n /** @param {number} value */\n setValue(value) {\n this.setValue_(value, false);\n }\n\n /** @return {number} */\n getMax() {\n return this.max_;\n }\n\n /** @param {number} max */\n setMax(max) {\n if (max < this.min_) {\n throw new Error('Cannot set max to be less than the slider\\'s minimum value');\n }\n this.max_ = max;\n this.setValue_(this.value_, false, true);\n this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_VALUEMAX, String(this.max_));\n this.setupTrackMarker();\n }\n\n /** @return {number} */\n getMin() {\n return this.min_;\n }\n\n /** @param {number} min */\n setMin(min) {\n if (min > this.max_) {\n throw new Error('Cannot set min to be greater than the slider\\'s maximum value');\n }\n this.min_ = min;\n this.setValue_(this.value_, false, true);\n this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_VALUEMIN, String(this.min_));\n this.setupTrackMarker();\n }\n\n /** @return {number} */\n getStep() {\n return this.step_;\n }\n\n /** @param {number} step */\n setStep(step) {\n if (step < 0) {\n throw new Error('Step cannot be set to a negative number');\n }\n if (this.isDiscrete_ && (typeof(step) !== 'number' || step < 1)) {\n step = 1;\n }\n this.step_ = step;\n this.setValue_(this.value_, false, true);\n this.setupTrackMarker();\n }\n\n /** @return {boolean} */\n isDisabled() {\n return this.disabled_;\n }\n\n /** @param {boolean} disabled */\n setDisabled(disabled) {\n this.disabled_ = disabled;\n this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].DISABLED, this.disabled_);\n if (this.disabled_) {\n this.savedTabIndex_ = this.adapter_.getTabIndex();\n this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_DISABLED, 'true');\n this.adapter_.removeAttribute('tabindex');\n } else {\n this.adapter_.removeAttribute(_constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_DISABLED);\n if (!isNaN(this.savedTabIndex_)) {\n this.adapter_.setAttribute('tabindex', String(this.savedTabIndex_));\n }\n }\n }\n\n /**\n * Called when the user starts interacting with the slider\n * @param {!Event} evt\n * @private\n */\n handleDown_(evt) {\n if (this.disabled_) {\n return;\n }\n\n this.preventFocusState_ = true;\n this.setInTransit_(!this.handlingThumbTargetEvt_);\n this.handlingThumbTargetEvt_ = false;\n this.setActive_(true);\n\n const moveHandler = (evt) => {\n this.handleMove_(evt);\n };\n\n // Note: upHandler is [de]registered on ALL potential pointer-related release event types, since some browsers\n // do not always fire these consistently in pairs.\n // (See https://github.com/material-components/material-components-web/issues/1192)\n const upHandler = () => {\n this.handleUp_();\n this.adapter_.deregisterBodyInteractionHandler(MOVE_EVENT_MAP[evt.type], moveHandler);\n UP_EVENTS.forEach((evtName) => this.adapter_.deregisterBodyInteractionHandler(evtName, upHandler));\n };\n\n this.adapter_.registerBodyInteractionHandler(MOVE_EVENT_MAP[evt.type], moveHandler);\n UP_EVENTS.forEach((evtName) => this.adapter_.registerBodyInteractionHandler(evtName, upHandler));\n this.setValueFromEvt_(evt);\n }\n\n /**\n * Called when the user moves the slider\n * @param {!Event} evt\n * @private\n */\n handleMove_(evt) {\n evt.preventDefault();\n this.setValueFromEvt_(evt);\n }\n\n /**\n * Called when the user's interaction with the slider ends\n * @private\n */\n handleUp_() {\n this.setActive_(false);\n this.adapter_.notifyChange();\n }\n\n /**\n * Returns the pageX of the event\n * @param {!Event} evt\n * @return {number}\n * @private\n */\n getPageX_(evt) {\n if (evt.targetTouches && evt.targetTouches.length > 0) {\n return evt.targetTouches[0].pageX;\n }\n return evt.pageX;\n }\n\n /**\n * Sets the slider value from an event\n * @param {!Event} evt\n * @private\n */\n setValueFromEvt_(evt) {\n const pageX = this.getPageX_(evt);\n const value = this.computeValueFromPageX_(pageX);\n this.setValue_(value, true);\n }\n\n /**\n * Computes the new value from the pageX position\n * @param {number} pageX\n * @return {number}\n */\n computeValueFromPageX_(pageX) {\n const {max_: max, min_: min} = this;\n const xPos = pageX - this.rect_.left;\n let pctComplete = xPos / this.rect_.width;\n if (this.adapter_.isRTL()) {\n pctComplete = 1 - pctComplete;\n }\n // Fit the percentage complete between the range [min,max]\n // by remapping from [0, 1] to [min, min+(max-min)].\n return min + pctComplete * (max - min);\n }\n\n /**\n * Handles keydown events\n * @param {!Event} evt\n */\n handleKeydown_(evt) {\n const keyId = this.getKeyId_(evt);\n const value = this.getValueForKeyId_(keyId);\n if (isNaN(value)) {\n return;\n }\n\n // Prevent page from scrolling due to key presses that would normally scroll the page\n evt.preventDefault();\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].FOCUS);\n this.setValue_(value, true);\n this.adapter_.notifyChange();\n }\n\n /**\n * Returns the computed name of the event\n * @param {!Event} kbdEvt\n * @return {string}\n */\n getKeyId_(kbdEvt) {\n if (kbdEvt.key === KEY_IDS.ARROW_LEFT || kbdEvt.keyCode === 37) {\n return KEY_IDS.ARROW_LEFT;\n }\n if (kbdEvt.key === KEY_IDS.ARROW_RIGHT || kbdEvt.keyCode === 39) {\n return KEY_IDS.ARROW_RIGHT;\n }\n if (kbdEvt.key === KEY_IDS.ARROW_UP || kbdEvt.keyCode === 38) {\n return KEY_IDS.ARROW_UP;\n }\n if (kbdEvt.key === KEY_IDS.ARROW_DOWN || kbdEvt.keyCode === 40) {\n return KEY_IDS.ARROW_DOWN;\n }\n if (kbdEvt.key === KEY_IDS.HOME || kbdEvt.keyCode === 36) {\n return KEY_IDS.HOME;\n }\n if (kbdEvt.key === KEY_IDS.END || kbdEvt.keyCode === 35) {\n return KEY_IDS.END;\n }\n if (kbdEvt.key === KEY_IDS.PAGE_UP || kbdEvt.keyCode === 33) {\n return KEY_IDS.PAGE_UP;\n }\n if (kbdEvt.key === KEY_IDS.PAGE_DOWN || kbdEvt.keyCode === 34) {\n return KEY_IDS.PAGE_DOWN;\n }\n\n return '';\n }\n\n /**\n * Computes the value given a keyboard key ID\n * @param {string} keyId\n * @return {number}\n */\n getValueForKeyId_(keyId) {\n const {max_: max, min_: min, step_: step} = this;\n let delta = step || (max - min) / 100;\n const valueNeedsToBeFlipped = this.adapter_.isRTL() && (\n keyId === KEY_IDS.ARROW_LEFT || keyId === KEY_IDS.ARROW_RIGHT\n );\n if (valueNeedsToBeFlipped) {\n delta = -delta;\n }\n\n switch (keyId) {\n case KEY_IDS.ARROW_LEFT:\n case KEY_IDS.ARROW_DOWN:\n return this.value_ - delta;\n case KEY_IDS.ARROW_RIGHT:\n case KEY_IDS.ARROW_UP:\n return this.value_ + delta;\n case KEY_IDS.HOME:\n return this.min_;\n case KEY_IDS.END:\n return this.max_;\n case KEY_IDS.PAGE_UP:\n return this.value_ + delta * _constants__WEBPACK_IMPORTED_MODULE_0__[\"numbers\"].PAGE_FACTOR;\n case KEY_IDS.PAGE_DOWN:\n return this.value_ - delta * _constants__WEBPACK_IMPORTED_MODULE_0__[\"numbers\"].PAGE_FACTOR;\n default:\n return NaN;\n }\n }\n\n handleFocus_() {\n if (this.preventFocusState_) {\n return;\n }\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].FOCUS);\n }\n\n handleBlur_() {\n this.preventFocusState_ = false;\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].FOCUS);\n }\n\n /**\n * Sets the value of the slider\n * @param {number} value\n * @param {boolean} shouldFireInput\n * @param {boolean=} force\n */\n setValue_(value, shouldFireInput, force = false) {\n if (value === this.value_ && !force) {\n return;\n }\n\n const {min_: min, max_: max} = this;\n const valueSetToBoundary = value === min || value === max;\n if (this.step_ && !valueSetToBoundary) {\n value = this.quantize_(value);\n }\n if (value < min) {\n value = min;\n } else if (value > max) {\n value = max;\n }\n this.value_ = value;\n this.adapter_.setAttribute(_constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"].ARIA_VALUENOW, String(this.value_));\n this.updateUIForCurrentValue_();\n\n if (shouldFireInput) {\n this.adapter_.notifyInput();\n if (this.isDiscrete_) {\n this.adapter_.setMarkerValue(value);\n }\n }\n }\n\n /**\n * Calculates the quantized value\n * @param {number} value\n * @return {number}\n */\n quantize_(value) {\n const numSteps = Math.round(value / this.step_);\n const quantizedVal = numSteps * this.step_;\n return quantizedVal;\n }\n\n updateUIForCurrentValue_() {\n const {max_: max, min_: min, value_: value} = this;\n const pctComplete = (value - min) / (max - min);\n let translatePx = pctComplete * this.rect_.width;\n if (this.adapter_.isRTL()) {\n translatePx = this.rect_.width - translatePx;\n }\n\n const transformProp = Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_2__[\"getCorrectPropertyName\"])(window, 'transform');\n const transitionendEvtName = Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_2__[\"getCorrectEventName\"])(window, 'transitionend');\n\n if (this.inTransit_) {\n const onTransitionEnd = () => {\n this.setInTransit_(false);\n this.adapter_.deregisterThumbContainerInteractionHandler(transitionendEvtName, onTransitionEnd);\n };\n this.adapter_.registerThumbContainerInteractionHandler(transitionendEvtName, onTransitionEnd);\n }\n\n this.updateUIFrame_ = requestAnimationFrame(() => {\n // NOTE(traviskaufman): It would be nice to use calc() here,\n // but IE cannot handle calcs in transforms correctly.\n // See: https://goo.gl/NC2itk\n // Also note that the -50% offset is used to center the slider thumb.\n this.adapter_.setThumbContainerStyleProperty(transformProp, `translateX(${translatePx}px) translateX(-50%)`);\n this.adapter_.setTrackStyleProperty(transformProp, `scaleX(${pctComplete})`);\n });\n }\n\n /**\n * Toggles the active state of the slider\n * @param {boolean} active\n */\n setActive_(active) {\n this.active_ = active;\n this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].ACTIVE, this.active_);\n }\n\n /**\n * Toggles the inTransit state of the slider\n * @param {boolean} inTransit\n */\n setInTransit_(inTransit) {\n this.inTransit_ = inTransit;\n this.toggleClass_(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].IN_TRANSIT, this.inTransit_);\n }\n\n /**\n * Conditionally adds or removes a class based on shouldBePresent\n * @param {string} className\n * @param {boolean} shouldBePresent\n */\n toggleClass_(className, shouldBePresent) {\n if (shouldBePresent) {\n this.adapter_.addClass(className);\n } else {\n this.adapter_.removeClass(className);\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSliderFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/slider/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/slider/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/slider/index.js ***!
\************************************************/
/*! exports provided: MDCSliderFoundation, MDCSlider */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSlider\", function() { return MDCSlider; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/slider/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/slider/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/slider/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSliderFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n/**\n * @extends MDCComponent\n */\nclass MDCSlider extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCSlider(root);\n }\n\n constructor(...args) {\n super(...args);\n /** @type {?Element} */\n this.thumbContainer_;\n /** @type {?Element} */\n this.track_;\n /** @type {?Element} */\n this.pinValueMarker_;\n /** @type {?Element} */\n this.trackMarkerContainer_;\n }\n\n /** @return {number} */\n get value() {\n return this.foundation_.getValue();\n }\n\n /** @param {number} value */\n set value(value) {\n this.foundation_.setValue(value);\n }\n\n /** @return {number} */\n get min() {\n return this.foundation_.getMin();\n }\n\n /** @param {number} min */\n set min(min) {\n this.foundation_.setMin(min);\n }\n\n /** @return {number} */\n get max() {\n return this.foundation_.getMax();\n }\n\n /** @param {number} max */\n set max(max) {\n this.foundation_.setMax(max);\n }\n\n /** @return {number} */\n get step() {\n return this.foundation_.getStep();\n }\n\n /** @param {number} step */\n set step(step) {\n this.foundation_.setStep(step);\n }\n\n /** @return {boolean} */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /** @param {boolean} disabled */\n set disabled(disabled) {\n this.foundation_.setDisabled(disabled);\n }\n\n initialize() {\n this.thumbContainer_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].THUMB_CONTAINER_SELECTOR);\n this.track_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].TRACK_SELECTOR);\n this.pinValueMarker_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].PIN_VALUE_MARKER_SELECTOR);\n this.trackMarkerContainer_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].TRACK_MARKER_CONTAINER_SELECTOR);\n }\n\n /**\n * @return {!MDCSliderFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"](\n /** @type {!MDCSliderAdapter} */ ({\n hasClass: (className) => this.root_.classList.contains(className),\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n getAttribute: (name) => this.root_.getAttribute(name),\n setAttribute: (name, value) => this.root_.setAttribute(name, value),\n removeAttribute: (name) => this.root_.removeAttribute(name),\n computeBoundingRect: () => this.root_.getBoundingClientRect(),\n getTabIndex: () => this.root_.tabIndex,\n registerInteractionHandler: (type, handler) => {\n this.root_.addEventListener(type, handler);\n },\n deregisterInteractionHandler: (type, handler) => {\n this.root_.removeEventListener(type, handler);\n },\n registerThumbContainerInteractionHandler: (type, handler) => {\n this.thumbContainer_.addEventListener(type, handler);\n },\n deregisterThumbContainerInteractionHandler: (type, handler) => {\n this.thumbContainer_.removeEventListener(type, handler);\n },\n registerBodyInteractionHandler: (type, handler) => {\n document.body.addEventListener(type, handler);\n },\n deregisterBodyInteractionHandler: (type, handler) => {\n document.body.removeEventListener(type, handler);\n },\n registerResizeHandler: (handler) => {\n window.addEventListener('resize', handler);\n },\n deregisterResizeHandler: (handler) => {\n window.removeEventListener('resize', handler);\n },\n notifyInput: () => {\n this.emit(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].INPUT_EVENT, this);\n },\n notifyChange: () => {\n this.emit(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].CHANGE_EVENT, this);\n },\n setThumbContainerStyleProperty: (propertyName, value) => {\n this.thumbContainer_.style.setProperty(propertyName, value);\n },\n setTrackStyleProperty: (propertyName, value) => {\n this.track_.style.setProperty(propertyName, value);\n },\n setMarkerValue: (value) => {\n this.pinValueMarker_.innerText = value;\n },\n appendTrackMarkers: (numMarkers) => {\n const frag = document.createDocumentFragment();\n for (let i = 0; i < numMarkers; i++) {\n const marker = document.createElement('div');\n marker.classList.add('mdc-slider__track-marker');\n frag.appendChild(marker);\n }\n this.trackMarkerContainer_.appendChild(frag);\n },\n removeTrackMarkers: () => {\n while (this.trackMarkerContainer_.firstChild) {\n this.trackMarkerContainer_.removeChild(this.trackMarkerContainer_.firstChild);\n }\n },\n setLastTrackMarkersStyleProperty: (propertyName, value) => {\n // We remove and append new nodes, thus, the last track marker must be dynamically found.\n const lastTrackMarker = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].LAST_TRACK_MARKER_SELECTOR);\n lastTrackMarker.style.setProperty(propertyName, value);\n },\n isRTL: () => getComputedStyle(this.root_).direction === 'rtl',\n })\n );\n }\n\n initialSyncWithDOM() {\n const origValueNow = parseFloat(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARIA_VALUENOW));\n this.min = parseFloat(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARIA_VALUEMIN)) || this.min;\n this.max = parseFloat(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARIA_VALUEMAX)) || this.max;\n this.step = parseFloat(this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].STEP_DATA_ATTR)) || this.step;\n this.value = origValueNow || this.value;\n this.disabled = (\n this.root_.hasAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARIA_DISABLED) &&\n this.root_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARIA_DISABLED) !== 'false'\n );\n this.foundation_.setupTrackMarker();\n }\n\n layout() {\n this.foundation_.layout();\n }\n\n /** @param {number=} amount */\n stepUp(amount = (this.step || 1)) {\n this.value += amount;\n }\n\n /** @param {number=} amount */\n stepDown(amount = (this.step || 1)) {\n this.value -= amount;\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/slider/index.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 * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst cssClasses = {\n ROOT: 'mdc-snackbar',\n TEXT: 'mdc-snackbar__text',\n ACTION_WRAPPER: 'mdc-snackbar__action-wrapper',\n ACTION_BUTTON: 'mdc-snackbar__action-button',\n ACTIVE: 'mdc-snackbar--active',\n MULTILINE: 'mdc-snackbar--multiline',\n ACTION_ON_BOTTOM: 'mdc-snackbar--action-on-bottom',\n};\n\nconst strings = {\n TEXT_SELECTOR: '.mdc-snackbar__text',\n ACTION_WRAPPER_SELECTOR: '.mdc-snackbar__action-wrapper',\n ACTION_BUTTON_SELECTOR: '.mdc-snackbar__action-button',\n SHOW_EVENT: 'MDCSnackbar:show',\n HIDE_EVENT: 'MDCSnackbar:hide',\n};\n\nconst numbers = {\n MESSAGE_TIMEOUT: 2750,\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/constants.js?");
/***/ }),
/***/ "./node_modules/@material/snackbar/foundation.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/snackbar/foundation.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCSnackbarFoundation; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/snackbar/constants.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\nclass MDCSnackbarFoundation extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCFoundation\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get defaultAdapter() {\n return {\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n setAriaHidden: () => {},\n unsetAriaHidden: () => {},\n setActionAriaHidden: () => {},\n unsetActionAriaHidden: () => {},\n setActionText: (/* actionText: string */) => {},\n setMessageText: (/* message: string */) => {},\n setFocus: () => {},\n visibilityIsHidden: () => /* boolean */ false,\n registerCapturedBlurHandler: (/* handler: EventListener */) => {},\n deregisterCapturedBlurHandler: (/* handler: EventListener */) => {},\n registerVisibilityChangeHandler: (/* handler: EventListener */) => {},\n deregisterVisibilityChangeHandler: (/* handler: EventListener */) => {},\n registerCapturedInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n deregisterCapturedInteractionHandler: (/* evtType: string, handler: EventListener */) => {},\n registerActionClickHandler: (/* handler: EventListener */) => {},\n deregisterActionClickHandler: (/* handler: EventListener */) => {},\n registerTransitionEndHandler: (/* handler: EventListener */) => {},\n deregisterTransitionEndHandler: (/* handler: EventListener */) => {},\n notifyShow: () => {},\n notifyHide: () => {},\n };\n }\n\n get active() {\n return this.active_;\n }\n\n constructor(adapter) {\n super(Object.assign(MDCSnackbarFoundation.defaultAdapter, adapter));\n\n this.active_ = false;\n this.actionWasClicked_ = false;\n this.dismissOnAction_ = true;\n this.firstFocus_ = true;\n this.pointerDownRecognized_ = false;\n this.snackbarHasFocus_ = false;\n this.snackbarData_ = null;\n this.queue_ = [];\n this.actionClickHandler_ = () => {\n this.actionWasClicked_ = true;\n this.invokeAction_();\n };\n this.visibilitychangeHandler_ = () => {\n clearTimeout(this.timeoutId_);\n this.snackbarHasFocus_ = true;\n\n if (!this.adapter_.visibilityIsHidden()) {\n setTimeout(this.cleanup_.bind(this), this.snackbarData_.timeout || _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].MESSAGE_TIMEOUT);\n }\n };\n this.interactionHandler_ = (evt) => {\n if (evt.type == 'touchstart' || evt.type == 'mousedown') {\n this.pointerDownRecognized_ = true;\n }\n this.handlePossibleTabKeyboardFocus_(evt);\n\n if (evt.type == 'focus') {\n this.pointerDownRecognized_ = false;\n }\n };\n this.blurHandler_ = () => {\n clearTimeout(this.timeoutId_);\n this.snackbarHasFocus_ = false;\n this.timeoutId_ = setTimeout(this.cleanup_.bind(this), this.snackbarData_.timeout || _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].MESSAGE_TIMEOUT);\n };\n }\n\n init() {\n this.adapter_.registerActionClickHandler(this.actionClickHandler_);\n this.adapter_.setAriaHidden();\n this.adapter_.setActionAriaHidden();\n }\n\n destroy() {\n this.adapter_.deregisterActionClickHandler(this.actionClickHandler_);\n this.adapter_.deregisterCapturedBlurHandler(this.blurHandler_);\n this.adapter_.deregisterVisibilityChangeHandler(this.visibilitychangeHandler_);\n ['touchstart', 'mousedown', 'focus'].forEach((evtType) => {\n this.adapter_.deregisterCapturedInteractionHandler(evtType, this.interactionHandler_);\n });\n }\n\n dismissesOnAction() {\n return this.dismissOnAction_;\n }\n\n setDismissOnAction(dismissOnAction) {\n this.dismissOnAction_ = !!dismissOnAction;\n }\n\n show(data) {\n if (!data) {\n throw new Error(\n 'Please provide a data object with at least a message to display.');\n }\n if (!data.message) {\n throw new Error('Please provide a message to be displayed.');\n }\n if (data.actionHandler && !data.actionText) {\n throw new Error('Please provide action text with the handler.');\n }\n if (this.active) {\n this.queue_.push(data);\n return;\n }\n clearTimeout(this.timeoutId_);\n this.snackbarData_ = data;\n this.firstFocus_ = true;\n this.adapter_.registerVisibilityChangeHandler(this.visibilitychangeHandler_);\n this.adapter_.registerCapturedBlurHandler(this.blurHandler_);\n ['touchstart', 'mousedown', 'focus'].forEach((evtType) => {\n this.adapter_.registerCapturedInteractionHandler(evtType, this.interactionHandler_);\n });\n\n const {ACTIVE, MULTILINE, ACTION_ON_BOTTOM} = _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n\n this.adapter_.setMessageText(this.snackbarData_.message);\n\n if (this.snackbarData_.multiline) {\n this.adapter_.addClass(MULTILINE);\n if (this.snackbarData_.actionOnBottom) {\n this.adapter_.addClass(ACTION_ON_BOTTOM);\n }\n }\n\n if (this.snackbarData_.actionHandler) {\n this.adapter_.setActionText(this.snackbarData_.actionText);\n this.actionHandler_ = this.snackbarData_.actionHandler;\n this.setActionHidden_(false);\n } else {\n this.setActionHidden_(true);\n this.actionHandler_ = null;\n this.adapter_.setActionText(null);\n }\n\n this.active_ = true;\n this.adapter_.addClass(ACTIVE);\n this.adapter_.unsetAriaHidden();\n this.adapter_.notifyShow();\n\n this.timeoutId_ = setTimeout(this.cleanup_.bind(this), this.snackbarData_.timeout || _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].MESSAGE_TIMEOUT);\n }\n\n handlePossibleTabKeyboardFocus_() {\n const hijackFocus =\n this.firstFocus_ && !this.pointerDownRecognized_;\n\n if (hijackFocus) {\n this.setFocusOnAction_();\n }\n\n this.firstFocus_ = false;\n }\n\n setFocusOnAction_() {\n this.adapter_.setFocus();\n this.snackbarHasFocus_ = true;\n this.firstFocus_ = false;\n }\n\n invokeAction_() {\n try {\n if (!this.actionHandler_) {\n return;\n }\n\n this.actionHandler_();\n } finally {\n if (this.dismissOnAction_) {\n this.cleanup_();\n }\n }\n }\n\n cleanup_() {\n const allowDismissal = !this.snackbarHasFocus_ || this.actionWasClicked_;\n\n if (allowDismissal) {\n const {ACTIVE, MULTILINE, ACTION_ON_BOTTOM} = _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n\n this.adapter_.removeClass(ACTIVE);\n\n const handler = () => {\n clearTimeout(this.timeoutId_);\n this.adapter_.deregisterTransitionEndHandler(handler);\n this.adapter_.removeClass(MULTILINE);\n this.adapter_.removeClass(ACTION_ON_BOTTOM);\n this.setActionHidden_(true);\n this.adapter_.setAriaHidden();\n this.active_ = false;\n this.snackbarHasFocus_ = false;\n this.adapter_.notifyHide();\n this.showNext_();\n };\n\n this.adapter_.registerTransitionEndHandler(handler);\n }\n }\n\n showNext_() {\n if (!this.queue_.length) {\n return;\n }\n this.show(this.queue_.shift());\n }\n\n setActionHidden_(isHidden) {\n if (isHidden) {\n this.adapter_.setActionAriaHidden();\n } else {\n this.adapter_.unsetActionAriaHidden();\n }\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/snackbar/index.js":
/*!**************************************************!*\
!*** ./node_modules/@material/snackbar/index.js ***!
\**************************************************/
/*! exports provided: MDCSnackbarFoundation, 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 _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __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_1__[\"default\"]; });\n\n/* harmony import */ var _material_animation_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/animation/index */ \"./node_modules/@material/animation/index.js\");\n/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\nclass MDCSnackbar extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCSnackbar(root);\n }\n\n show(data) {\n this.foundation_.show(data);\n }\n\n getDefaultFoundation() {\n const {\n TEXT_SELECTOR,\n ACTION_BUTTON_SELECTOR,\n } = _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings;\n const getText = () => this.root_.querySelector(TEXT_SELECTOR);\n const getActionButton = () => this.root_.querySelector(ACTION_BUTTON_SELECTOR);\n\n /* eslint brace-style: \"off\" */\n return new _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setAriaHidden: () => this.root_.setAttribute('aria-hidden', 'true'),\n unsetAriaHidden: () => this.root_.removeAttribute('aria-hidden'),\n setActionAriaHidden: () => getActionButton().setAttribute('aria-hidden', 'true'),\n unsetActionAriaHidden: () => getActionButton().removeAttribute('aria-hidden'),\n setActionText: (text) => {getActionButton().textContent = text;},\n setMessageText: (text) => {getText().textContent = text;},\n setFocus: () => getActionButton().focus(),\n visibilityIsHidden: () => document.hidden,\n registerCapturedBlurHandler: (handler) => getActionButton().addEventListener('blur', handler, true),\n deregisterCapturedBlurHandler: (handler) => getActionButton().removeEventListener('blur', handler, true),\n registerVisibilityChangeHandler: (handler) => document.addEventListener('visibilitychange', handler),\n deregisterVisibilityChangeHandler: (handler) => document.removeEventListener('visibilitychange', handler),\n registerCapturedInteractionHandler: (evt, handler) =>\n document.body.addEventListener(evt, handler, true),\n deregisterCapturedInteractionHandler: (evt, handler) =>\n document.body.removeEventListener(evt, handler, true),\n registerActionClickHandler: (handler) => getActionButton().addEventListener('click', handler),\n deregisterActionClickHandler: (handler) => getActionButton().removeEventListener('click', handler),\n registerTransitionEndHandler:\n (handler) => this.root_.addEventListener(Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_2__[\"getCorrectEventName\"])(window, 'transitionend'), handler),\n deregisterTransitionEndHandler:\n (handler) => this.root_.removeEventListener(Object(_material_animation_index__WEBPACK_IMPORTED_MODULE_2__[\"getCorrectEventName\"])(window, 'transitionend'), handler),\n notifyShow: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.SHOW_EVENT),\n notifyHide: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"].strings.HIDE_EVENT),\n });\n }\n\n get dismissesOnAction() {\n return this.foundation_.dismissesOnAction();\n }\n\n set dismissesOnAction(dismissesOnAction) {\n this.foundation_.setDismissOnAction(dismissesOnAction);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/snackbar/index.js?");
/***/ }),
/***/ "./node_modules/@material/switch/adapter.js":
/*!**************************************************!*\
!*** ./node_modules/@material/switch/adapter.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Switch. Provides an interface for managing\n * - classes\n * - dom\n *\n * Additionally, provides type information for the adapter to the Closure\n * compiler.\n *\n * Implement this adapter for your framework of choice to delegate updates to\n * the component in your framework of choice. See architecture documentation\n * for more details.\n * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md\n *\n * @record\n */\nclass MDCSwitchAdapter {\n /** @param {string} className */\n addClass(className) {}\n\n /** @param {string} className */\n removeClass(className) {}\n\n /** @param {boolean} checked */\n setNativeControlChecked(checked) {}\n\n /** @return {boolean} checked */\n isNativeControlChecked() {}\n\n /** @param {boolean} disabled */\n setNativeControlDisabled(disabled) {}\n\n /** @return {boolean} disabled */\n isNativeControlDisabled() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSwitchAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/switch/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/switch/constants.js":
/*!****************************************************!*\
!*** ./node_modules/@material/switch/constants.js ***!
\****************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n CHECKED: 'mdc-switch--checked',\n DISABLED: 'mdc-switch--disabled',\n};\n\n/** @enum {string} */\nconst strings = {\n NATIVE_CONTROL_SELECTOR: '.mdc-switch__native-control',\n RIPPLE_SURFACE_SELECTOR: '.mdc-switch__thumb-underlay',\n};\n\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/switch/constants.js?");
/***/ }),
/***/ "./node_modules/@material/switch/foundation.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/switch/foundation.js ***!
\*****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/switch/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/switch/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/* eslint-enable no-unused-vars */\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCSwitchFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return {!MDCSwitchAdapter} */\n static get defaultAdapter() {\n return /** @type {!MDCSwitchAdapter} */ ({\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n setNativeControlChecked: (/* checked: boolean */) => {},\n isNativeControlChecked: () => /* boolean */ {},\n setNativeControlDisabled: (/* disabled: boolean */) => {},\n isNativeControlDisabled: () => /* boolean */ {},\n });\n }\n\n constructor(adapter) {\n super(Object.assign(MDCSwitchFoundation.defaultAdapter, adapter));\n }\n\n /** @override */\n init() {\n // Do an initial state update based on the state of the native control.\n this.handleChange();\n }\n\n /** @return {boolean} */\n isChecked() {\n return this.adapter_.isNativeControlChecked();\n }\n\n /** @param {boolean} checked */\n setChecked(checked) {\n this.adapter_.setNativeControlChecked(checked);\n this.updateCheckedStyling_(checked);\n }\n\n /** @return {boolean} */\n isDisabled() {\n return this.adapter_.isNativeControlDisabled();\n }\n\n /** @param {boolean} disabled */\n setDisabled(disabled) {\n this.adapter_.setNativeControlDisabled(disabled);\n if (disabled) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].DISABLED);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].DISABLED);\n }\n }\n\n /**\n * Handles the change event for the switch native control.\n */\n handleChange() {\n this.updateCheckedStyling_(this.isChecked());\n }\n\n /**\n * Updates the styling of the switch based on its checked state.\n * @param {boolean} checked\n * @private\n */\n updateCheckedStyling_(checked) {\n if (checked) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CHECKED);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].CHECKED);\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSwitchFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/switch/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/switch/index.js":
/*!************************************************!*\
!*** ./node_modules/@material/switch/index.js ***!
\************************************************/
/*! exports provided: MDCSwitchFoundation, MDCSwitch */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCSwitch\", function() { return MDCSwitch; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_selection_control_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/selection-control/index */ \"./node_modules/@material/selection-control/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/switch/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSwitchFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _material_ripple_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material/ripple/util */ \"./node_modules/@material/ripple/util.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n\n\n/**\n * @extends MDCComponent\n * @implements {MDCSelectionControl}\n */\nclass MDCSwitch extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static attachTo(root) {\n return new MDCSwitch(root);\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {!MDCRipple} */\n this.ripple_ = this.initRipple_();\n\n /** @private {!Function} */\n this.changeHandler_;\n }\n\n destroy() {\n super.destroy();\n this.ripple_.destroy();\n this.nativeControl_.removeEventListener('change', this.changeHandler_);\n }\n\n initialSyncWithDOM() {\n this.changeHandler_ = this.foundation_.handleChange.bind(this.foundation_);\n this.nativeControl_.addEventListener('change', this.changeHandler_);\n }\n\n /**\n * Returns the state of the native control element, or null if the native control element is not present.\n * @return {?MDCSelectionControlState}\n * @private\n */\n get nativeControl_() {\n const {NATIVE_CONTROL_SELECTOR} = _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings;\n const el = /** @type {?MDCSelectionControlState} */ (\n this.root_.querySelector(NATIVE_CONTROL_SELECTOR));\n return el;\n }\n\n /**\n * @return {!MDCRipple}\n * @private\n */\n initRipple_() {\n const {RIPPLE_SURFACE_SELECTOR} = _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings;\n const rippleSurface = /** @type {!Element} */ (this.root_.querySelector(RIPPLE_SURFACE_SELECTOR));\n\n const MATCHES = Object(_material_ripple_util__WEBPACK_IMPORTED_MODULE_4__[\"getMatchesProperty\"])(HTMLElement.prototype);\n const adapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"].createAdapter(this), {\n isUnbounded: () => true,\n isSurfaceActive: () => this.nativeControl_[MATCHES](':active'),\n addClass: (className) => rippleSurface.classList.add(className),\n removeClass: (className) => rippleSurface.classList.remove(className),\n registerInteractionHandler: (type, handler) => this.nativeControl_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.nativeControl_.removeEventListener(type, handler),\n updateCssVariable: (varName, value) => rippleSurface.style.setProperty(varName, value),\n computeBoundingRect: () => rippleSurface.getBoundingClientRect(),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRippleFoundation\"](adapter);\n return new _material_ripple_index__WEBPACK_IMPORTED_MODULE_3__[\"MDCRipple\"](this.root_, foundation);\n }\n\n /** @return {!MDCSwitchFoundation} */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setNativeControlChecked: (checked) => this.nativeControl_.checked = checked,\n isNativeControlChecked: () => this.nativeControl_.checked,\n setNativeControlDisabled: (disabled) => this.nativeControl_.disabled = disabled,\n isNativeControlDisabled: () => this.nativeControl_.disabled,\n });\n }\n\n /** @return {!MDCRipple} */\n get ripple() {\n return this.ripple_;\n }\n\n /** @return {boolean} */\n get checked() {\n return this.foundation_.isChecked();\n }\n\n /** @param {boolean} checked */\n set checked(checked) {\n this.foundation_.setChecked(checked);\n }\n\n /** @return {boolean} */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /** @param {boolean} disabled */\n set disabled(disabled) {\n this.foundation_.setDisabled(disabled);\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/switch/index.js?");
/***/ }),
/***/ "./node_modules/@material/tab-bar/adapter.js":
/*!***************************************************!*\
!*** ./node_modules/@material/tab-bar/adapter.js ***!
\***************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_tab_adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/tab/adapter */ \"./node_modules/@material/tab/adapter.js\");\n/* harmony import */ var _material_tab_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/tab/index */ \"./node_modules/@material/tab/index.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n/**\n * Adapter for MDC Tab Bar.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Tab Bar into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTabBarAdapter {\n /**\n * Scrolls to the given position\n * @param {number} scrollX The position to scroll to\n */\n scrollTo(scrollX) {}\n\n /**\n * Increments the current scroll position by the given amount\n * @param {number} scrollXIncrement The amount to increment scroll\n */\n incrementScroll(scrollXIncrement) {}\n\n /**\n * Returns the current scroll position\n * @return {number}\n */\n getScrollPosition() {}\n\n /**\n * Returns the width of the scroll content\n * @return {number}\n */\n getScrollContentWidth() {}\n\n /**\n * Returns the root element's offsetWidth\n * @return {number}\n */\n getOffsetWidth() {}\n\n /**\n * Returns if the Tab Bar language direction is RTL\n * @return {boolean}\n */\n isRTL() {}\n\n /**\n * Activates the tab at the given index with the given client rect\n * @param {number} index The index of the tab to activate\n * @param {!ClientRect} clientRect The client rect of the previously active Tab Indicator\n */\n activateTabAtIndex(index, clientRect) {}\n\n /**\n * Deactivates the tab at the given index\n * @param {number} index The index of the tab to activate\n */\n deactivateTabAtIndex(index) {}\n\n /**\n * Returns the client rect of the tab's indicator\n * @param {number} index The index of the tab\n * @return {!ClientRect}\n */\n getTabIndicatorClientRectAtIndex(index) {}\n\n /**\n * Returns the tab dimensions of the tab at the given index\n * @param {number} index The index of the tab\n * @return {!MDCTabDimensions}\n */\n getTabDimensionsAtIndex(index) {}\n\n /**\n * Returns the length of the tab list\n * @return {number}\n */\n getTabListLength() {}\n\n /**\n * Returns the index of the active tab\n * @return {number}\n */\n getActiveTabIndex() {}\n\n /**\n * Returns the index of the given tab\n * @param {!MDCTab} tab The tab whose index to determin\n * @return {number}\n */\n getIndexOfTab(tab) {}\n\n /**\n * Emits the MDCTabBar:activated event\n * @param {number} index The index of the activated tab\n */\n notifyTabActivated(index) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabBarAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-bar/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/tab-bar/constants.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/tab-bar/constants.js ***!
\*****************************************************/
/*! exports provided: numbers, strings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numbers\", function() { return numbers; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n TAB_ACTIVATED_EVENT: 'MDCTabBar:activated',\n TAB_SCROLLER_SELECTOR: '.mdc-tab-scroller',\n TAB_SELECTOR: '.mdc-tab',\n END_KEY: 'End',\n HOME_KEY: 'Home',\n ARROW_LEFT_KEY: 'ArrowLeft',\n ARROW_RIGHT_KEY: 'ArrowRight',\n};\n\n/** @enum {number} */\nconst numbers = {\n EXTRA_SCROLL_AMOUNT: 20,\n END_KEYCODE: 35,\n HOME_KEYCODE: 36,\n ARROW_LEFT_KEYCODE: 37,\n ARROW_RIGHT_KEYCODE: 39,\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-bar/constants.js?");
/***/ }),
/***/ "./node_modules/@material/tab-bar/foundation.js":
/*!******************************************************!*\
!*** ./node_modules/@material/tab-bar/foundation.js ***!
\******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/tab-bar/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-bar/adapter.js\");\n/* harmony import */ var _material_tab_foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @material/tab/foundation */ \"./node_modules/@material/tab/foundation.js\");\n/* harmony import */ var _material_tab_adapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @material/tab/adapter */ \"./node_modules/@material/tab/adapter.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n\n\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @type {Set}\n */\nconst ACCEPTABLE_KEYS = new Set();\n// IE11 has no support for new Set with iterable so we need to initialize this by hand\nACCEPTABLE_KEYS.add(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_LEFT_KEY);\nACCEPTABLE_KEYS.add(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_RIGHT_KEY);\nACCEPTABLE_KEYS.add(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].END_KEY);\nACCEPTABLE_KEYS.add(_constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].HOME_KEY);\n\n/**\n * @type {Map}\n */\nconst KEYCODE_MAP = new Map();\n// IE11 has no support for new Map with iterable so we need to initialize this by hand\nKEYCODE_MAP.set(_constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].HOME_KEYCODE, _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].HOME_KEY);\nKEYCODE_MAP.set(_constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].END_KEYCODE, _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].END_KEY);\nKEYCODE_MAP.set(_constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].ARROW_LEFT_KEYCODE, _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_LEFT_KEY);\nKEYCODE_MAP.set(_constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].ARROW_RIGHT_KEYCODE, _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_RIGHT_KEY);\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTabBarFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n /** @return enum {number} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"];\n }\n\n /**\n * @see MDCTabBarAdapter for typing information\n * @return {!MDCTabBarAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTabBarAdapter} */ ({\n scrollTo: () => {},\n incrementScroll: () => {},\n getScrollPosition: () => {},\n getScrollContentWidth: () => {},\n getOffsetWidth: () => {},\n isRTL: () => {},\n activateTabAtIndex: () => {},\n deactivateTabAtIndex: () => {},\n getTabIndicatorClientRectAtIndex: () => {},\n getTabDimensionsAtIndex: () => {},\n getActiveTabIndex: () => {},\n getIndexOfTab: () => {},\n getTabListLength: () => {},\n notifyTabActivated: () => {},\n });\n }\n\n /**\n * @param {!MDCTabBarAdapter} adapter\n * */\n constructor(adapter) {\n super(Object.assign(MDCTabBarFoundation.defaultAdapter, adapter));\n }\n\n init() {\n const activeIndex = this.adapter_.getActiveTabIndex();\n this.scrollIntoView(activeIndex);\n }\n\n /**\n * Activates the tab at the given index\n * @param {number} index\n */\n activateTab(index) {\n const previousActiveIndex = this.adapter_.getActiveTabIndex();\n if (!this.indexIsInRange_(index)) {\n return;\n }\n\n this.adapter_.deactivateTabAtIndex(previousActiveIndex);\n this.adapter_.activateTabAtIndex(index, this.adapter_.getTabIndicatorClientRectAtIndex(previousActiveIndex));\n this.scrollIntoView(index);\n\n // Only notify the tab activation if the index is different than the previously active index\n if (index !== previousActiveIndex) {\n this.adapter_.notifyTabActivated(index);\n }\n }\n\n /**\n * Handles the keydown event\n * @param {!Event} evt\n */\n handleKeyDown(evt) {\n // Get the key from the event\n const key = this.getKeyFromEvent_(evt);\n\n // Early exit if the event key isn't one of the keyboard navigation keys\n if (key === undefined) {\n return;\n }\n\n evt.preventDefault();\n this.activateTabFromKey_(key);\n }\n\n /**\n * Handles the MDCTab:interacted event\n * @param {!Event} evt\n */\n handleTabInteraction(evt) {\n this.activateTab(this.adapter_.getIndexOfTab(evt.detail.tab));\n }\n\n /**\n * Scrolls the tab at the given index into view\n * @param {number} index The tab index to make visible\n */\n scrollIntoView(index) {\n // Early exit if the index is out of range\n if (!this.indexIsInRange_(index)) {\n return;\n }\n\n // Always scroll to 0 if scrolling to the 0th index\n if (index === 0) {\n return this.adapter_.scrollTo(0);\n }\n\n // Always scroll to the max value if scrolling to the Nth index\n // MDCTabScroller.scrollTo() will never scroll past the max possible value\n if (index === this.adapter_.getTabListLength() - 1) {\n return this.adapter_.scrollTo(this.adapter_.getScrollContentWidth());\n }\n\n if (this.isRTL_()) {\n return this.scrollIntoViewRTL_(index);\n }\n\n this.scrollIntoView_(index);\n }\n\n /**\n * Private method for activating a tab from a key\n * @param {string} key The name of the key\n * @private\n */\n activateTabFromKey_(key) {\n const isRTL = this.isRTL_();\n const maxTabIndex = this.adapter_.getTabListLength() - 1;\n const shouldGoToEnd = key === _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].END_KEY;\n const shouldDecrement = key === _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_LEFT_KEY && !isRTL || key === _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_RIGHT_KEY && isRTL;\n const shouldIncrement = key === _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_RIGHT_KEY && !isRTL || key === _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"].ARROW_LEFT_KEY && isRTL;\n let tabIndex = this.adapter_.getActiveTabIndex();\n\n if (shouldGoToEnd) {\n tabIndex = maxTabIndex;\n } else if (shouldDecrement) {\n tabIndex -= 1;\n } else if (shouldIncrement) {\n tabIndex += 1;\n } else {\n tabIndex = 0;\n }\n\n if (tabIndex < 0) {\n tabIndex = maxTabIndex;\n } else if (tabIndex > maxTabIndex) {\n tabIndex = 0;\n }\n\n this.activateTab(tabIndex);\n }\n\n /**\n * Calculates the scroll increment that will make the tab at the given index visible\n * @param {number} index The index of the tab\n * @param {number} nextIndex The index of the next tab\n * @param {number} scrollPosition The current scroll position\n * @param {number} barWidth The width of the Tab Bar\n * @return {number}\n * @private\n */\n calculateScrollIncrement_(index, nextIndex, scrollPosition, barWidth) {\n const nextTabDimensions = this.adapter_.getTabDimensionsAtIndex(nextIndex);\n const relativeContentLeft = nextTabDimensions.contentLeft - scrollPosition - barWidth;\n const relativeContentRight = nextTabDimensions.contentRight - scrollPosition;\n const leftIncrement = relativeContentRight - _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].EXTRA_SCROLL_AMOUNT;\n const rightIncrement = relativeContentLeft + _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].EXTRA_SCROLL_AMOUNT;\n\n if (nextIndex < index) {\n return Math.min(leftIncrement, 0);\n }\n\n return Math.max(rightIncrement, 0);\n }\n\n /**\n * Calculates the scroll increment that will make the tab at the given index visible in RTL\n * @param {number} index The index of the tab\n * @param {number} nextIndex The index of the next tab\n * @param {number} scrollPosition The current scroll position\n * @param {number} barWidth The width of the Tab Bar\n * @param {number} scrollContentWidth The width of the scroll content\n * @return {number}\n * @private\n */\n calculateScrollIncrementRTL_(index, nextIndex, scrollPosition, barWidth, scrollContentWidth, ) {\n const nextTabDimensions = this.adapter_.getTabDimensionsAtIndex(nextIndex);\n const relativeContentLeft = scrollContentWidth - nextTabDimensions.contentLeft - scrollPosition;\n const relativeContentRight = scrollContentWidth - nextTabDimensions.contentRight - scrollPosition - barWidth;\n const leftIncrement = relativeContentRight + _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].EXTRA_SCROLL_AMOUNT;\n const rightIncrement = relativeContentLeft - _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"].EXTRA_SCROLL_AMOUNT;\n\n if (nextIndex > index) {\n return Math.max(leftIncrement, 0);\n }\n\n return Math.min(rightIncrement, 0);\n }\n\n /**\n * Determines the index of the adjacent tab closest to either edge of the Tab Bar\n * @param {number} index The index of the tab\n * @param {!MDCTabDimensions} tabDimensions The dimensions of the tab\n * @param {number} scrollPosition The current scroll position\n * @param {number} barWidth The width of the tab bar\n * @return {number}\n * @private\n */\n findAdjacentTabIndexClosestToEdge_(index, tabDimensions, scrollPosition, barWidth) {\n /**\n * Tabs are laid out in the Tab Scroller like this:\n *\n * Scroll Position\n * +---+\n * | | Bar Width\n * | +-----------------------------------+\n * | | |\n * | V V\n * | +-----------------------------------+\n * V | Tab Scroller |\n * +------------+--------------+-------------------+\n * | Tab | Tab | Tab |\n * +------------+--------------+-------------------+\n * | |\n * +-----------------------------------+\n *\n * To determine the next adjacent index, we look at the Tab root left and\n * Tab root right, both relative to the scroll position. If the Tab root\n * left is less than 0, then we know it's out of view to the left. If the\n * Tab root right minus the bar width is greater than 0, we know the Tab is\n * out of view to the right. From there, we either increment or decrement\n * the index.\n */\n const relativeRootLeft = tabDimensions.rootLeft - scrollPosition;\n const relativeRootRight = tabDimensions.rootRight - scrollPosition - barWidth;\n const relativeRootDelta = relativeRootLeft + relativeRootRight;\n const leftEdgeIsCloser = relativeRootLeft < 0 || relativeRootDelta < 0;\n const rightEdgeIsCloser = relativeRootRight > 0 || relativeRootDelta > 0;\n\n if (leftEdgeIsCloser) {\n return index - 1;\n }\n\n if (rightEdgeIsCloser) {\n return index + 1;\n }\n\n return -1;\n }\n\n /**\n * Determines the index of the adjacent tab closest to either edge of the Tab Bar in RTL\n * @param {number} index The index of the tab\n * @param {!MDCTabDimensions} tabDimensions The dimensions of the tab\n * @param {number} scrollPosition The current scroll position\n * @param {number} barWidth The width of the tab bar\n * @param {number} scrollContentWidth The width of the scroller content\n * @return {number}\n * @private\n */\n findAdjacentTabIndexClosestToEdgeRTL_(index, tabDimensions, scrollPosition, barWidth, scrollContentWidth) {\n const rootLeft = scrollContentWidth - tabDimensions.rootLeft - barWidth - scrollPosition;\n const rootRight = scrollContentWidth - tabDimensions.rootRight - scrollPosition;\n const rootDelta = rootLeft + rootRight;\n const leftEdgeIsCloser = rootLeft > 0 || rootDelta > 0;\n const rightEdgeIsCloser = rootRight < 0 || rootDelta < 0;\n\n if (leftEdgeIsCloser) {\n return index + 1;\n }\n\n if (rightEdgeIsCloser) {\n return index - 1;\n }\n\n return -1;\n }\n\n /**\n * Returns the key associated with a keydown event\n * @param {!Event} evt The keydown event\n * @return {string}\n * @private\n */\n getKeyFromEvent_(evt) {\n if (ACCEPTABLE_KEYS.has(evt.key)) {\n return evt.key;\n }\n\n return KEYCODE_MAP.get(evt.keyCode);\n }\n\n /**\n * Returns whether a given index is inclusively between the ends\n * @param {number} index The index to test\n * @private\n */\n indexIsInRange_(index) {\n return index >= 0 && index < this.adapter_.getTabListLength();\n }\n\n /**\n * Returns the view's RTL property\n * @return {boolean}\n * @private\n */\n isRTL_() {\n return this.adapter_.isRTL();\n }\n\n /**\n * Scrolls the tab at the given index into view for left-to-right useragents\n * @param {number} index The index of the tab to scroll into view\n * @private\n */\n scrollIntoView_(index) {\n const scrollPosition = this.adapter_.getScrollPosition();\n const barWidth = this.adapter_.getOffsetWidth();\n const tabDimensions = this.adapter_.getTabDimensionsAtIndex(index);\n const nextIndex = this.findAdjacentTabIndexClosestToEdge_(index, tabDimensions, scrollPosition, barWidth);\n\n if (!this.indexIsInRange_(nextIndex)) {\n return;\n }\n\n const scrollIncrement = this.calculateScrollIncrement_(index, nextIndex, scrollPosition, barWidth);\n this.adapter_.incrementScroll(scrollIncrement);\n }\n\n /**\n * Scrolls the tab at the given index into view in RTL\n * @param {number} index The tab index to make visible\n * @private\n */\n scrollIntoViewRTL_(index) {\n const scrollPosition = this.adapter_.getScrollPosition();\n const barWidth = this.adapter_.getOffsetWidth();\n const tabDimensions = this.adapter_.getTabDimensionsAtIndex(index);\n const scrollWidth = this.adapter_.getScrollContentWidth();\n const nextIndex = this.findAdjacentTabIndexClosestToEdgeRTL_(\n index, tabDimensions, scrollPosition, barWidth, scrollWidth);\n\n if (!this.indexIsInRange_(nextIndex)) {\n return;\n }\n\n const scrollIncrement = this.calculateScrollIncrementRTL_(index, nextIndex, scrollPosition, barWidth, scrollWidth);\n this.adapter_.incrementScroll(scrollIncrement);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabBarFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-bar/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab-bar/index.js":
/*!*************************************************!*\
!*** ./node_modules/@material/tab-bar/index.js ***!
\*************************************************/
/*! exports provided: MDCTabBar, MDCTabBarFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabBar\", function() { return MDCTabBar; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_tab_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/tab/index */ \"./node_modules/@material/tab/index.js\");\n/* harmony import */ var _material_tab_scroller_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/tab-scroller/index */ \"./node_modules/@material/tab-scroller/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-bar/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab-bar/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTabBarFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTabBar extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n\n /** @private {!Array} */\n this.tabList_;\n\n /** @type {(function(!Element): !MDCTab)} */\n this.tabFactory_;\n\n /** @private {?MDCTabScroller} */\n this.tabScroller_;\n\n /** @type {(function(!Element): !MDCTabScroller)} */\n this.tabScrollerFactory_;\n\n /** @private {?function(?Event): undefined} */\n this.handleTabInteraction_;\n\n /** @private {?function(?Event): undefined} */\n this.handleKeyDown_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCTabBar}\n */\n static attachTo(root) {\n return new MDCTabBar(root);\n }\n\n /**\n * @param {(function(!Element): !MDCTab)=} tabFactory A function which creates a new MDCTab\n * @param {(function(!Element): !MDCTabScroller)=} tabScrollerFactory A function which creates a new MDCTabScroller\n */\n initialize(\n tabFactory = (el) => new _material_tab_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCTab\"](el),\n tabScrollerFactory = (el) => new _material_tab_scroller_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCTabScroller\"](el),\n ) {\n this.tabFactory_ = tabFactory;\n this.tabScrollerFactory_ = tabScrollerFactory;\n\n const tabElements = [].slice.call(this.root_.querySelectorAll(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.TAB_SELECTOR));\n this.tabList_ = tabElements.map((el) => this.tabFactory_(el));\n\n const tabScrollerElement = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.TAB_SCROLLER_SELECTOR);\n if (tabScrollerElement) {\n this.tabScroller_ = this.tabScrollerFactory_(tabScrollerElement);\n }\n }\n\n initialSyncWithDOM() {\n this.handleTabInteraction_ = (evt) => this.foundation_.handleTabInteraction(evt);\n this.handleKeyDown_ = (evt) => this.foundation_.handleKeyDown(evt);\n\n this.root_.addEventListener(_material_tab_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCTabFoundation\"].strings.INTERACTED_EVENT, this.handleTabInteraction_);\n this.root_.addEventListener('keydown', this.handleKeyDown_);\n }\n\n destroy() {\n super.destroy();\n this.root_.removeEventListener(_material_tab_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCTabFoundation\"].strings.INTERACTED_EVENT, this.handleTabInteraction_);\n this.root_.removeEventListener('keydown', this.handleKeyDown_);\n this.tabList_.forEach((tab) => tab.destroy());\n this.tabScroller_.destroy();\n }\n\n /**\n * @return {!MDCTabBarFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"](\n /** @type {!MDCTabBarAdapter} */ ({\n scrollTo: (scrollX) => this.tabScroller_.scrollTo(scrollX),\n incrementScroll: (scrollXIncrement) => this.tabScroller_.incrementScroll(scrollXIncrement),\n getScrollPosition: () => this.tabScroller_.getScrollPosition(),\n getScrollContentWidth: () => this.tabScroller_.getScrollContentWidth(),\n getOffsetWidth: () => this.root_.offsetWidth,\n isRTL: () => window.getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n activateTabAtIndex: (index, clientRect) => this.tabList_[index].activate(clientRect),\n deactivateTabAtIndex: (index) => this.tabList_[index].deactivate(),\n getTabIndicatorClientRectAtIndex: (index) => this.tabList_[index].computeIndicatorClientRect(),\n getTabDimensionsAtIndex: (index) => this.tabList_[index].computeDimensions(),\n getActiveTabIndex: () => {\n for (let i = 0; i < this.tabList_.length; i++) {\n if (this.tabList_[i].active) {\n return i;\n }\n }\n return -1;\n },\n getIndexOfTab: (tabToFind) => this.tabList_.indexOf(tabToFind),\n getTabListLength: () => this.tabList_.length,\n notifyTabActivated: (index) => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.TAB_ACTIVATED_EVENT, {index}, true),\n })\n );\n }\n\n /**\n * Activates the tab at the given index\n * @param {number} index The index of the tab\n */\n activateTab(index) {\n this.foundation_.activateTab(index);\n }\n\n /**\n * Scrolls the tab at the given index into view\n * @param {number} index THe index of the tab\n */\n scrollIntoView(index) {\n this.foundation_.scrollIntoView(index);\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-bar/index.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/adapter.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/tab-indicator/adapter.js ***!
\*********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Tab Indicator.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Tab Indicator into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTabIndicatorAdapter {\n /**\n * Registers an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerEventHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterEventHandler(evtType, handler) {}\n\n /**\n * Adds the given className to the root element.\n * @param {string} className The className to add\n */\n addClass(className) {}\n\n /**\n * Removes the given className from the root element.\n * @param {string} className The className to remove\n */\n removeClass(className) {}\n\n /**\n * Returns the client rect of the content element.\n * @return {!ClientRect}\n */\n computeContentClientRect() {}\n\n /**\n * Sets a style property of the content element to the passed value\n * @param {string} propName The style property name to set\n * @param {string} value The style property value\n */\n setContentStyleProperty(propName, value) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabIndicatorAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/constants.js":
/*!***********************************************************!*\
!*** ./node_modules/@material/tab-indicator/constants.js ***!
\***********************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n/** @enum {string} */\nconst cssClasses = {\n ACTIVE: 'mdc-tab-indicator--active',\n FADE: 'mdc-tab-indicator--fade',\n FADING_ACTIVATE: 'mdc-tab-indicator--fading-activate',\n FADING_DEACTIVATE: 'mdc-tab-indicator--fading-deactivate',\n SLIDING_ACTIVATE: 'mdc-tab-indicator--sliding-activate',\n};\n\n/** @enum {string} */\nconst strings = {\n CONTENT_SELECTOR: '.mdc-tab-indicator__content',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/constants.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/fading-foundation.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material/tab-indicator/fading-foundation.js ***!
\*******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab-indicator/foundation.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/**\n * @extends {MDCTabIndicatorFoundation}\n * @final\n */\nclass MDCFadingTabIndicatorFoundation extends _foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @param {...?} args */\n constructor(...args) {\n super(...args);\n\n /** @private {function(?Event): undefined} */\n this.handleTransitionEnd_ = () => this.handleTransitionEnd();\n }\n\n /** Handles the transitionend event */\n handleTransitionEnd() {\n this.adapter_.deregisterEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.FADING_ACTIVATE);\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.FADING_DEACTIVATE);\n }\n\n activate() {\n this.adapter_.registerEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.addClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.FADING_ACTIVATE);\n this.adapter_.addClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.ACTIVE);\n }\n\n deactivate() {\n this.adapter_.registerEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.addClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.FADING_DEACTIVATE);\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.ACTIVE);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFadingTabIndicatorFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/fading-foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/foundation.js":
/*!************************************************************!*\
!*** ./node_modules/@material/tab-indicator/foundation.js ***!
\************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-indicator/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/tab-indicator/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @abstract\n */\nclass MDCTabIndicatorFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /**\n * @see MDCTabIndicatorAdapter for typing information\n * @return {!MDCTabIndicatorAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTabIndicatorAdapter} */ ({\n registerEventHandler: () => {},\n deregisterEventHandler: () => {},\n addClass: () => {},\n removeClass: () => {},\n computeContentClientRect: () => {},\n setContentStyleProperty: () => {},\n });\n }\n\n /** @param {!MDCTabIndicatorAdapter} adapter */\n constructor(adapter) {\n super(Object.assign(MDCTabIndicatorFoundation.defaultAdapter, adapter));\n }\n\n /** @return {!ClientRect} */\n computeContentClientRect() {\n return this.adapter_.computeContentClientRect();\n }\n\n /**\n * Activates the indicator\n * @param {!ClientRect=} previousIndicatorClientRect\n * @abstract\n */\n activate(previousIndicatorClientRect) {} // eslint-disable-line no-unused-vars\n\n /** @abstract */\n deactivate() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabIndicatorFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/index.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/tab-indicator/index.js ***!
\*******************************************************/
/*! exports provided: MDCTabIndicator, MDCTabIndicatorFoundation, MDCSlidingTabIndicatorFoundation, MDCFadingTabIndicatorFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabIndicator\", function() { return MDCTabIndicator; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-indicator/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab-indicator/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTabIndicatorFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _sliding_foundation__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./sliding-foundation */ \"./node_modules/@material/tab-indicator/sliding-foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCSlidingTabIndicatorFoundation\", function() { return _sliding_foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"]; });\n\n/* harmony import */ var _fading_foundation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fading-foundation */ \"./node_modules/@material/tab-indicator/fading-foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFadingTabIndicatorFoundation\", function() { return _fading_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTabIndicator extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCTabIndicator}\n */\n static attachTo(root) {\n return new MDCTabIndicator(root);\n }\n\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n /** @type {?Element} */\n this.content_;\n }\n\n initialize() {\n this.content_ = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.CONTENT_SELECTOR);\n }\n\n /**\n * @return {!ClientRect}\n */\n computeContentClientRect() {\n return this.foundation_.computeContentClientRect();\n }\n\n /**\n * @return {!MDCTabIndicatorFoundation}\n */\n getDefaultFoundation() {\n const adapter = /** @type {!MDCTabIndicatorAdapter} */ (Object.assign({\n registerEventHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterEventHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n computeContentClientRect: () => this.content_.getBoundingClientRect(),\n setContentStyleProperty: (prop, value) => this.content_.style.setProperty(prop, value),\n }));\n\n if (this.root_.classList.contains(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].cssClasses.FADE)) {\n return new _fading_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"](adapter);\n }\n\n // Default to the sliding indicator\n return new _sliding_foundation__WEBPACK_IMPORTED_MODULE_3__[\"default\"](adapter);\n }\n\n /**\n * @param {!ClientRect=} previousIndicatorClientRect\n */\n activate(previousIndicatorClientRect) {\n this.foundation_.activate(previousIndicatorClientRect);\n }\n\n deactivate() {\n this.foundation_.deactivate();\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/index.js?");
/***/ }),
/***/ "./node_modules/@material/tab-indicator/sliding-foundation.js":
/*!********************************************************************!*\
!*** ./node_modules/@material/tab-indicator/sliding-foundation.js ***!
\********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab-indicator/foundation.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/**\n * @extends {MDCTabIndicatorFoundation}\n * @final\n */\nclass MDCSlidingTabIndicatorFoundation extends _foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @param {...?} args */\n constructor(...args) {\n super(...args);\n\n /** @private {function(?Event): undefined} */\n this.handleTransitionEnd_ = () => this.handleTransitionEnd();\n }\n\n /** Handles the transitionend event */\n handleTransitionEnd() {\n this.adapter_.deregisterEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.SLIDING_ACTIVATE);\n }\n\n /** @param {!ClientRect=} previousIndicatorClientRect */\n activate(previousIndicatorClientRect) {\n this.adapter_.addClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.ACTIVE);\n\n // Early exit if no indicator is present to handle cases where an indicator\n // may be activated without a prior indicator state\n if (!previousIndicatorClientRect) {\n return;\n }\n\n // This animation uses the FLIP approach. You can read more about it at the link below:\n // https://aerotwist.com/blog/flip-your-animations/\n\n // Calculate the dimensions based on the dimensions of the previous indicator\n const currentClientRect = this.computeContentClientRect();\n const widthDelta = previousIndicatorClientRect.width / currentClientRect.width;\n const xPosition = previousIndicatorClientRect.left - currentClientRect.left;\n this.adapter_.setContentStyleProperty('transform', `translateX(${xPosition}px) scaleX(${widthDelta})`);\n\n // Force repaint\n this.computeContentClientRect();\n\n // Add animating class and remove transformation in a new frame\n requestAnimationFrame(() => {\n this.adapter_.addClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.SLIDING_ACTIVATE);\n this.adapter_.setContentStyleProperty('transform', '');\n });\n\n this.adapter_.registerEventHandler('transitionend', this.handleTransitionEnd_);\n }\n\n deactivate() {\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.ACTIVE);\n // We remove the animating class in deactivate in case the Tab is deactivated before the animation completes and\n // the \"transitionend\" handler isn't called.\n this.adapter_.removeClass(_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"].cssClasses.SLIDING_ACTIVATE);\n this.adapter_.deregisterEventHandler('transitionend', this.handleTransitionEnd_);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCSlidingTabIndicatorFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-indicator/sliding-foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/adapter.js":
/*!********************************************************!*\
!*** ./node_modules/@material/tab-scroller/adapter.js ***!
\********************************************************/
/*! exports provided: MDCTabScrollerAnimation, MDCTabScrollerHorizontalEdges, MDCTabScrollerAdapter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabScrollerAnimation\", function() { return MDCTabScrollerAnimation; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabScrollerHorizontalEdges\", function() { return MDCTabScrollerHorizontalEdges; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabScrollerAdapter\", function() { return MDCTabScrollerAdapter; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * MDCTabScrollerAnimation contains the values required for animating from the\n * current scroll position to the new scroll position. The \"finalScrollPosition\"\n * value represents the new scroll position while the \"scrollDelta\" value is the\n * corresponding transformation that is applied to the scroll content. Together,\n * they create the animation by first updating the scroll value then applying\n * the transformation and animating the transition. Both pieces are necessary\n * for the scroll animation to work. The values are used as-is by the tab\n * scroller animation method, ensuring that all logic for determining scroll\n * position or transformation is abstracted away from the animation method.\n * @typedef {{finalScrollPosition: number, scrollDelta: number}}\n */\nlet MDCTabScrollerAnimation;\n\n/**\n * MDCTabScrollerHorizontalEdges represents the left and right edges of the\n * scroll content. These values vary depending on how scrolling in RTL is\n * implemented by the browser. One value is always 0 and one value is always\n * the max scrollable value as either a positive or negative integer.\n * @typedef {{left: number, right: number}}\n */\nlet MDCTabScrollerHorizontalEdges;\n\n/**\n * Adapter for MDC Tab Scroller.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Tab into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTabScrollerAdapter {\n /**\n * Adds the given className to the root element.\n * @param {string} className The className to add\n */\n addClass(className) {}\n\n /**\n * Removes the given className from the root element.\n * @param {string} className The className to remove\n */\n removeClass(className) {}\n\n /**\n * Adds the given className to the scroll area element.\n * @param {string} className The className to add\n */\n addScrollAreaClass(className) {}\n\n /**\n * Returns whether the event target matches given className.\n * @param {EventTarget} evtTarget The event target\n * @param {string} selector The selector to check\n * @return {boolean}\n */\n eventTargetMatchesSelector(evtTarget, selector) {}\n\n /**\n * Sets a style property of the area element to the passed value.\n * @param {string} propName The style property name to set\n * @param {string} value The style property value\n */\n setScrollAreaStyleProperty(propName, value) {}\n\n /**\n * Sets a style property of the content element to the passed value.\n * @param {string} propName The style property name to set\n * @param {string} value The style property value\n */\n setScrollContentStyleProperty(propName, value) {}\n\n /**\n * Returns the scroll content element's computed style value of the given css property `propertyName`.\n * We achieve this via `getComputedStyle(...).getPropertyValue(propertyName)`.\n * @param {string} propertyName\n * @return {string}\n */\n getScrollContentStyleValue(propertyName) {}\n\n /**\n * Sets the scrollLeft value of the scroll area element to the passed value.\n * @param {number} scrollLeft The new scrollLeft value\n */\n setScrollAreaScrollLeft(scrollLeft) {}\n\n /**\n * Returns the scrollLeft value of the scroll area element.\n * @return {number}\n */\n getScrollAreaScrollLeft() {}\n\n /**\n * Returns the offsetWidth of the scroll content element.\n * @return {number}\n */\n getScrollContentOffsetWidth() {}\n\n /**\n * Returns the offsetWitdth of the scroll area element.\n * @return {number}\n */\n getScrollAreaOffsetWidth() {}\n\n /**\n * Returns the bounding client rect of the scroll area element.\n * @return {!ClientRect}\n */\n computeScrollAreaClientRect() {}\n\n /**\n * Returns the bounding client rect of the scroll content element.\n * @return {!ClientRect}\n */\n computeScrollContentClientRect() {}\n\n /**\n * Returns the height of the browser's horizontal scrollbars (in px).\n * @return {number}\n */\n computeHorizontalScrollbarHeight() {}\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/constants.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/tab-scroller/constants.js ***!
\**********************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n/** @enum {string} */\nconst cssClasses = {\n ANIMATING: 'mdc-tab-scroller--animating',\n SCROLL_TEST: 'mdc-tab-scroller__test',\n SCROLL_AREA_SCROLL: 'mdc-tab-scroller__scroll-area--scroll',\n};\n\n/** @enum {string} */\nconst strings = {\n AREA_SELECTOR: '.mdc-tab-scroller__scroll-area',\n CONTENT_SELECTOR: '.mdc-tab-scroller__scroll-content',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/constants.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/foundation.js":
/*!***********************************************************!*\
!*** ./node_modules/@material/tab-scroller/foundation.js ***!
\***********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/tab-scroller/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/* harmony import */ var _rtl_scroller__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./rtl-scroller */ \"./node_modules/@material/tab-scroller/rtl-scroller.js\");\n/* harmony import */ var _rtl_default_scroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./rtl-default-scroller */ \"./node_modules/@material/tab-scroller/rtl-default-scroller.js\");\n/* harmony import */ var _rtl_negative_scroller__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./rtl-negative-scroller */ \"./node_modules/@material/tab-scroller/rtl-negative-scroller.js\");\n/* harmony import */ var _rtl_reverse_scroller__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./rtl-reverse-scroller */ \"./node_modules/@material/tab-scroller/rtl-reverse-scroller.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTabScrollerFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n /**\n * @see MDCTabScrollerAdapter for typing information\n * @return {!MDCTabScrollerAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTabScrollerAdapter} */ ({\n eventTargetMatchesSelector: () => {},\n addClass: () => {},\n removeClass: () => {},\n addScrollAreaClass: () => {},\n setScrollAreaStyleProperty: () => {},\n setScrollContentStyleProperty: () => {},\n getScrollContentStyleValue: () => {},\n setScrollAreaScrollLeft: () => {},\n getScrollAreaScrollLeft: () => {},\n getScrollContentOffsetWidth: () => {},\n getScrollAreaOffsetWidth: () => {},\n computeScrollAreaClientRect: () => {},\n computeScrollContentClientRect: () => {},\n computeHorizontalScrollbarHeight: () => {},\n });\n }\n\n /** @param {!MDCTabScrollerAdapter} adapter */\n constructor(adapter) {\n super(Object.assign(MDCTabScrollerFoundation.defaultAdapter, adapter));\n\n /**\n * This boolean controls whether we should handle the transitionend and interaction events during the animation.\n * @private {boolean}\n */\n this.isAnimating_ = false;\n\n /**\n * The MDCTabScrollerRTL instance varies per browser and allows us to encapsulate the peculiar browser behavior\n * of RTL scrolling in it's own class.\n * @private {?MDCTabScrollerRTL}\n */\n this.rtlScrollerInstance_;\n }\n\n init() {\n // Compute horizontal scrollbar height on scroller with overflow initially hidden, then update overflow to scroll\n // and immediately adjust bottom margin to avoid the scrollbar initially appearing before JS runs.\n const horizontalScrollbarHeight = this.adapter_.computeHorizontalScrollbarHeight();\n this.adapter_.setScrollAreaStyleProperty('margin-bottom', -horizontalScrollbarHeight + 'px');\n this.adapter_.addScrollAreaClass(MDCTabScrollerFoundation.cssClasses.SCROLL_AREA_SCROLL);\n }\n\n /**\n * Computes the current visual scroll position\n * @return {number}\n */\n getScrollPosition() {\n if (this.isRTL_()) {\n return this.computeCurrentScrollPositionRTL_();\n }\n\n const currentTranslateX = this.calculateCurrentTranslateX_();\n const scrollLeft = this.adapter_.getScrollAreaScrollLeft();\n return scrollLeft - currentTranslateX;\n }\n\n /**\n * Handles interaction events that occur during transition\n */\n handleInteraction() {\n // Early exit if we aren't animating\n if (!this.isAnimating_) {\n return;\n }\n\n // Prevent other event listeners from handling this event\n this.stopScrollAnimation_();\n }\n\n /**\n * Handles the transitionend event\n * @param {!Event} evt\n */\n handleTransitionEnd(evt) {\n // Early exit if we aren't animating or the event was triggered by a different element.\n if (!this.isAnimating_\n || !this.adapter_.eventTargetMatchesSelector(evt.target, MDCTabScrollerFoundation.strings.CONTENT_SELECTOR)) {\n return;\n }\n\n this.isAnimating_ = false;\n this.adapter_.removeClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);\n }\n\n /**\n * Increment the scroll value by the scrollXIncrement\n * @param {number} scrollXIncrement The value by which to increment the scroll position\n */\n incrementScroll(scrollXIncrement) {\n // Early exit for non-operational increment values\n if (scrollXIncrement === 0) {\n return;\n }\n\n if (this.isRTL_()) {\n return this.incrementScrollRTL_(scrollXIncrement);\n }\n\n this.incrementScroll_(scrollXIncrement);\n }\n\n /**\n * Scrolls to the given scrollX value\n * @param {number} scrollX\n */\n scrollTo(scrollX) {\n if (this.isRTL_()) {\n return this.scrollToRTL_(scrollX);\n }\n\n this.scrollTo_(scrollX);\n }\n\n /**\n * Returns the appropriate version of the MDCTabScrollerRTL\n * @return {!MDCTabScrollerRTL}\n */\n getRTLScroller() {\n if (!this.rtlScrollerInstance_) {\n this.rtlScrollerInstance_ = this.rtlScrollerFactory_();\n }\n\n return this.rtlScrollerInstance_;\n }\n\n /**\n * Returns the translateX value from a CSS matrix transform function string\n * @return {number}\n * @private\n */\n calculateCurrentTranslateX_() {\n const transformValue = this.adapter_.getScrollContentStyleValue('transform');\n // Early exit if no transform is present\n if (transformValue === 'none') {\n return 0;\n }\n\n // The transform value comes back as a matrix transformation in the form\n // of `matrix(a, b, c, d, tx, ty)`. We only care about tx (translateX) so\n // we're going to grab all the parenthesized values, strip out tx, and\n // parse it.\n const results = /\\((.+)\\)/.exec(transformValue)[1];\n const parts = results.split(',');\n return parseFloat(parts[4]);\n }\n\n /**\n * Calculates a safe scroll value that is > 0 and < the max scroll value\n * @param {number} scrollX The distance to scroll\n * @return {number}\n * @private\n */\n clampScrollValue_(scrollX) {\n const edges = this.calculateScrollEdges_();\n return Math.min(Math.max(edges.left, scrollX), edges.right);\n }\n\n /**\n * @return {number}\n * @private\n */\n computeCurrentScrollPositionRTL_() {\n const translateX = this.calculateCurrentTranslateX_();\n return this.getRTLScroller().getScrollPositionRTL(translateX);\n }\n\n /**\n * @return {!MDCTabScrollerHorizontalEdges}\n * @private\n */\n calculateScrollEdges_() {\n const contentWidth = this.adapter_.getScrollContentOffsetWidth();\n const rootWidth = this.adapter_.getScrollAreaOffsetWidth();\n return /** @type {!MDCTabScrollerHorizontalEdges} */ ({\n left: 0,\n right: contentWidth - rootWidth,\n });\n }\n\n /**\n * Internal scroll method\n * @param {number} scrollX The new scroll position\n * @private\n */\n scrollTo_(scrollX) {\n const currentScrollX = this.getScrollPosition();\n const safeScrollX = this.clampScrollValue_(scrollX);\n const scrollDelta = safeScrollX - currentScrollX;\n this.animate_(/** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: safeScrollX,\n scrollDelta: scrollDelta,\n }));\n }\n\n /**\n * Internal RTL scroll method\n * @param {number} scrollX The new scroll position\n * @private\n */\n scrollToRTL_(scrollX) {\n const animation = this.getRTLScroller().scrollToRTL(scrollX);\n this.animate_(animation);\n }\n\n /**\n * Internal increment scroll method\n * @param {number} scrollX The new scroll position increment\n * @private\n */\n incrementScroll_(scrollX) {\n const currentScrollX = this.getScrollPosition();\n const targetScrollX = scrollX + currentScrollX;\n const safeScrollX = this.clampScrollValue_(targetScrollX);\n const scrollDelta = safeScrollX - currentScrollX;\n this.animate_(/** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: safeScrollX,\n scrollDelta: scrollDelta,\n }));\n }\n\n /**\n * Internal incremenet scroll RTL method\n * @param {number} scrollX The new scroll position RTL increment\n * @private\n */\n incrementScrollRTL_(scrollX) {\n const animation = this.getRTLScroller().incrementScrollRTL(scrollX);\n this.animate_(animation);\n }\n\n /**\n * Animates the tab scrolling\n * @param {!MDCTabScrollerAnimation} animation The animation to apply\n * @private\n */\n animate_(animation) {\n // Early exit if translateX is 0, which means there's no animation to perform\n if (animation.scrollDelta === 0) {\n return;\n }\n\n this.stopScrollAnimation_();\n // This animation uses the FLIP approach.\n // Read more here: https://aerotwist.com/blog/flip-your-animations/\n this.adapter_.setScrollAreaScrollLeft(animation.finalScrollPosition);\n this.adapter_.setScrollContentStyleProperty('transform', `translateX(${animation.scrollDelta}px)`);\n // Force repaint\n this.adapter_.computeScrollAreaClientRect();\n\n requestAnimationFrame(() => {\n this.adapter_.addClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);\n this.adapter_.setScrollContentStyleProperty('transform', 'none');\n });\n\n this.isAnimating_ = true;\n }\n\n /**\n * Stops scroll animation\n * @private\n */\n stopScrollAnimation_() {\n this.isAnimating_ = false;\n const currentScrollPosition = this.getAnimatingScrollPosition_();\n this.adapter_.removeClass(MDCTabScrollerFoundation.cssClasses.ANIMATING);\n this.adapter_.setScrollContentStyleProperty('transform', 'translateX(0px)');\n this.adapter_.setScrollAreaScrollLeft(currentScrollPosition);\n }\n\n /**\n * Gets the current scroll position during animation\n * @return {number}\n * @private\n */\n getAnimatingScrollPosition_() {\n const currentTranslateX = this.calculateCurrentTranslateX_();\n const scrollLeft = this.adapter_.getScrollAreaScrollLeft();\n if (this.isRTL_()) {\n return this.getRTLScroller().getAnimatingScrollPosition(scrollLeft, currentTranslateX);\n }\n\n return scrollLeft - currentTranslateX;\n }\n\n /**\n * Determines the RTL Scroller to use\n * @return {!MDCTabScrollerRTL}\n * @private\n */\n rtlScrollerFactory_() {\n // Browsers have three different implementations of scrollLeft in RTL mode,\n // dependent on the browser. The behavior is based off the max LTR\n // scrollleft value and 0.\n //\n // * Default scrolling in RTL *\n // - Left-most value: 0\n // - Right-most value: Max LTR scrollLeft value\n //\n // * Negative scrolling in RTL *\n // - Left-most value: Negated max LTR scrollLeft value\n // - Right-most value: 0\n //\n // * Reverse scrolling in RTL *\n // - Left-most value: Max LTR scrollLeft value\n // - Right-most value: 0\n //\n // We use those principles below to determine which RTL scrollLeft\n // behavior is implemented in the current browser.\n const initialScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n this.adapter_.setScrollAreaScrollLeft(initialScrollLeft - 1);\n const newScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n\n // If the newScrollLeft value is negative,then we know that the browser has\n // implemented negative RTL scrolling, since all other implementations have\n // only positive values.\n if (newScrollLeft < 0) {\n // Undo the scrollLeft test check\n this.adapter_.setScrollAreaScrollLeft(initialScrollLeft);\n return new _rtl_negative_scroller__WEBPACK_IMPORTED_MODULE_5__[\"default\"](this.adapter_);\n }\n\n const rootClientRect = this.adapter_.computeScrollAreaClientRect();\n const contentClientRect = this.adapter_.computeScrollContentClientRect();\n const rightEdgeDelta = Math.round(contentClientRect.right - rootClientRect.right);\n // Undo the scrollLeft test check\n this.adapter_.setScrollAreaScrollLeft(initialScrollLeft);\n\n // By calculating the clientRect of the root element and the clientRect of\n // the content element, we can determine how much the scroll value changed\n // when we performed the scrollLeft subtraction above.\n if (rightEdgeDelta === newScrollLeft) {\n return new _rtl_reverse_scroller__WEBPACK_IMPORTED_MODULE_6__[\"default\"](this.adapter_);\n }\n\n return new _rtl_default_scroller__WEBPACK_IMPORTED_MODULE_4__[\"default\"](this.adapter_);\n }\n\n /**\n * @return {boolean}\n * @private\n */\n isRTL_() {\n return this.adapter_.getScrollContentStyleValue('direction') === 'rtl';\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabScrollerFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/index.js":
/*!******************************************************!*\
!*** ./node_modules/@material/tab-scroller/index.js ***!
\******************************************************/
/*! exports provided: MDCTabScroller, MDCTabScrollerFoundation, util */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabScroller\", function() { return MDCTabScroller; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab-scroller/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTabScrollerFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \"./node_modules/@material/tab-scroller/util.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"util\", function() { return _util__WEBPACK_IMPORTED_MODULE_3__; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTabScroller extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCTabScroller}\n */\n static attachTo(root) {\n return new MDCTabScroller(root);\n }\n\n constructor(...args) {\n super(...args);\n\n /** @private {?Element} */\n this.content_;\n\n /** @private {?Element} */\n this.area_;\n\n /** @private {?function(?Event): undefined} */\n this.handleInteraction_;\n\n /** @private {?function(!Event): undefined} */\n this.handleTransitionEnd_;\n }\n\n initialize() {\n this.area_ = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.AREA_SELECTOR);\n this.content_ = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.CONTENT_SELECTOR);\n }\n\n initialSyncWithDOM() {\n this.handleInteraction_ = () => this.foundation_.handleInteraction();\n this.handleTransitionEnd_ = (evt) => this.foundation_.handleTransitionEnd(evt);\n\n this.area_.addEventListener('wheel', this.handleInteraction_);\n this.area_.addEventListener('touchstart', this.handleInteraction_);\n this.area_.addEventListener('pointerdown', this.handleInteraction_);\n this.area_.addEventListener('mousedown', this.handleInteraction_);\n this.area_.addEventListener('keydown', this.handleInteraction_);\n this.content_.addEventListener('transitionend', this.handleTransitionEnd_);\n }\n\n destroy() {\n super.destroy();\n\n this.area_.removeEventListener('wheel', this.handleInteraction_);\n this.area_.removeEventListener('touchstart', this.handleInteraction_);\n this.area_.removeEventListener('pointerdown', this.handleInteraction_);\n this.area_.removeEventListener('mousedown', this.handleInteraction_);\n this.area_.removeEventListener('keydown', this.handleInteraction_);\n this.content_.removeEventListener('transitionend', this.handleTransitionEnd_);\n }\n\n /**\n * @return {!MDCTabScrollerFoundation}\n */\n getDefaultFoundation() {\n const adapter = /** @type {!MDCTabScrollerAdapter} */ ({\n eventTargetMatchesSelector: (evtTarget, selector) => {\n const MATCHES = _util__WEBPACK_IMPORTED_MODULE_3__[\"getMatchesProperty\"](HTMLElement.prototype);\n return evtTarget[MATCHES](selector);\n },\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n addScrollAreaClass: (className) => this.area_.classList.add(className),\n setScrollAreaStyleProperty: (prop, value) => this.area_.style.setProperty(prop, value),\n setScrollContentStyleProperty: (prop, value) => this.content_.style.setProperty(prop, value),\n getScrollContentStyleValue: (propName) => window.getComputedStyle(this.content_).getPropertyValue(propName),\n setScrollAreaScrollLeft: (scrollX) => this.area_.scrollLeft = scrollX,\n getScrollAreaScrollLeft: () => this.area_.scrollLeft,\n getScrollContentOffsetWidth: () => this.content_.offsetWidth,\n getScrollAreaOffsetWidth: () => this.area_.offsetWidth,\n computeScrollAreaClientRect: () => this.area_.getBoundingClientRect(),\n computeScrollContentClientRect: () => this.content_.getBoundingClientRect(),\n computeHorizontalScrollbarHeight: () => _util__WEBPACK_IMPORTED_MODULE_3__[\"computeHorizontalScrollbarHeight\"](document),\n });\n\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](adapter);\n }\n\n /**\n * Returns the current visual scroll position\n * @return {number}\n */\n getScrollPosition() {\n return this.foundation_.getScrollPosition();\n }\n\n /**\n * Returns the width of the scroll content\n * @return {number}\n */\n getScrollContentWidth() {\n return this.content_.offsetWidth;\n }\n\n /**\n * Increments the scroll value by the given amount\n * @param {number} scrollXIncrement The pixel value by which to increment the scroll value\n */\n incrementScroll(scrollXIncrement) {\n this.foundation_.incrementScroll(scrollXIncrement);\n }\n\n /**\n * Scrolls to the given pixel position\n * @param {number} scrollX The pixel value to scroll to\n */\n scrollTo(scrollX) {\n this.foundation_.scrollTo(scrollX);\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/index.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/rtl-default-scroller.js":
/*!*********************************************************************!*\
!*** ./node_modules/@material/tab-scroller/rtl-default-scroller.js ***!
\*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rtl-scroller */ \"./node_modules/@material/tab-scroller/rtl-scroller.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @extends {MDCTabScrollerRTL}\n * @final\n */\nclass MDCTabScrollerRTLDefault extends _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @return {number}\n */\n getScrollPositionRTL() {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const {right} = this.calculateScrollEdges_();\n // Scroll values on most browsers are ints instead of floats so we round\n return Math.round(right - currentScrollLeft);\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n scrollToRTL(scrollX) {\n const edges = this.calculateScrollEdges_();\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(edges.right - scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: clampedScrollLeft - currentScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n incrementScrollRTL(scrollX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(currentScrollLeft - scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: clampedScrollLeft - currentScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {number}\n */\n getAnimatingScrollPosition(scrollX) {\n return scrollX;\n }\n\n /**\n * @return {!MDCTabScrollerHorizontalEdges}\n * @private\n */\n calculateScrollEdges_() {\n const contentWidth = this.adapter_.getScrollContentOffsetWidth();\n const rootWidth = this.adapter_.getScrollAreaOffsetWidth();\n return /** @type {!MDCTabScrollerHorizontalEdges} */ ({\n left: 0,\n right: contentWidth - rootWidth,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {number}\n * @private\n */\n clampScrollValue_(scrollX) {\n const edges = this.calculateScrollEdges_();\n return Math.min(Math.max(edges.left, scrollX), edges.right);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabScrollerRTLDefault);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/rtl-default-scroller.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/rtl-negative-scroller.js":
/*!**********************************************************************!*\
!*** ./node_modules/@material/tab-scroller/rtl-negative-scroller.js ***!
\**********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rtl-scroller */ \"./node_modules/@material/tab-scroller/rtl-scroller.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @extends {MDCTabScrollerRTL}\n * @final\n */\nclass MDCTabScrollerRTLNegative extends _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {number} translateX The current translateX position\n * @return {number}\n */\n getScrollPositionRTL(translateX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n return Math.round(translateX - currentScrollLeft);\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n scrollToRTL(scrollX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(-scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: clampedScrollLeft - currentScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n incrementScrollRTL(scrollX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(currentScrollLeft - scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: clampedScrollLeft - currentScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @param {number} translateX\n * @return {number}\n */\n getAnimatingScrollPosition(scrollX, translateX) {\n return scrollX - translateX;\n }\n\n /**\n * @return {!MDCTabScrollerHorizontalEdges}\n * @private\n */\n calculateScrollEdges_() {\n const contentWidth = this.adapter_.getScrollContentOffsetWidth();\n const rootWidth = this.adapter_.getScrollAreaOffsetWidth();\n return /** @type {!MDCTabScrollerHorizontalEdges} */ ({\n left: rootWidth - contentWidth,\n right: 0,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {number}\n * @private\n */\n clampScrollValue_(scrollX) {\n const edges = this.calculateScrollEdges_();\n return Math.max(Math.min(edges.right, scrollX), edges.left);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabScrollerRTLNegative);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/rtl-negative-scroller.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/rtl-reverse-scroller.js":
/*!*********************************************************************!*\
!*** ./node_modules/@material/tab-scroller/rtl-reverse-scroller.js ***!
\*********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rtl-scroller */ \"./node_modules/@material/tab-scroller/rtl-scroller.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @extends {MDCTabScrollerRTL}\n * @final\n */\nclass MDCTabScrollerRTLReverse extends _rtl_scroller__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {number} translateX\n * @return {number}\n */\n getScrollPositionRTL(translateX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n // Scroll values on most browsers are ints instead of floats so we round\n return Math.round(currentScrollLeft - translateX);\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n scrollToRTL(scrollX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: currentScrollLeft - clampedScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n */\n incrementScrollRTL(scrollX) {\n const currentScrollLeft = this.adapter_.getScrollAreaScrollLeft();\n const clampedScrollLeft = this.clampScrollValue_(currentScrollLeft + scrollX);\n return /** @type {!MDCTabScrollerAnimation} */ ({\n finalScrollPosition: clampedScrollLeft,\n scrollDelta: currentScrollLeft - clampedScrollLeft,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {number}\n */\n getAnimatingScrollPosition(scrollX, translateX) {\n return scrollX + translateX;\n }\n\n /**\n * @return {!MDCTabScrollerHorizontalEdges}\n * @private\n */\n calculateScrollEdges_() {\n const contentWidth = this.adapter_.getScrollContentOffsetWidth();\n const rootWidth = this.adapter_.getScrollAreaOffsetWidth();\n return /** @type {!MDCTabScrollerHorizontalEdges} */ ({\n left: contentWidth - rootWidth,\n right: 0,\n });\n }\n\n /**\n * @param {number} scrollX\n * @return {number}\n * @private\n */\n clampScrollValue_(scrollX) {\n const edges = this.calculateScrollEdges_();\n return Math.min(Math.max(edges.right, scrollX), edges.left);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabScrollerRTLReverse);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/rtl-reverse-scroller.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/rtl-scroller.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/tab-scroller/rtl-scroller.js ***!
\*************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab-scroller/adapter.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n*/\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @abstract\n */\nclass MDCTabScrollerRTL {\n /** @param {!MDCTabScrollerAdapter} adapter */\n constructor(adapter) {\n /** @private */\n this.adapter_ = adapter;\n }\n\n /**\n * @param {number} translateX The current translateX position\n * @return {number}\n * @abstract\n */\n getScrollPositionRTL(translateX) {}\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n * @abstract\n */\n scrollToRTL(scrollX) {}\n\n /**\n * @param {number} scrollX\n * @return {!MDCTabScrollerAnimation}\n * @abstract\n */\n incrementScrollRTL(scrollX) {}\n\n /**\n * @param {number} scrollX The current scrollX position\n * @param {number} translateX The current translateX position\n * @return {number}\n * @abstract\n */\n getAnimatingScrollPosition(scrollX, translateX) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabScrollerRTL);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/rtl-scroller.js?");
/***/ }),
/***/ "./node_modules/@material/tab-scroller/util.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/tab-scroller/util.js ***!
\*****************************************************/
/*! exports provided: computeHorizontalScrollbarHeight, getMatchesProperty */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"computeHorizontalScrollbarHeight\", function() { return computeHorizontalScrollbarHeight; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getMatchesProperty\", function() { return getMatchesProperty; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/tab-scroller/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/**\n * Stores result from computeHorizontalScrollbarHeight to avoid redundant processing.\n * @private {number|undefined}\n */\nlet horizontalScrollbarHeight_;\n\n/**\n * Computes the height of browser-rendered horizontal scrollbars using a self-created test element.\n * May return 0 (e.g. on OS X browsers under default configuration).\n * @param {!Document} documentObj\n * @param {boolean=} shouldCacheResult\n * @return {number}\n */\nfunction computeHorizontalScrollbarHeight(documentObj, shouldCacheResult = true) {\n if (shouldCacheResult && typeof horizontalScrollbarHeight_ !== 'undefined') {\n return horizontalScrollbarHeight_;\n }\n\n const el = documentObj.createElement('div');\n el.classList.add(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].SCROLL_TEST);\n documentObj.body.appendChild(el);\n\n const horizontalScrollbarHeight = el.offsetHeight - el.clientHeight;\n documentObj.body.removeChild(el);\n\n if (shouldCacheResult) {\n horizontalScrollbarHeight_ = horizontalScrollbarHeight;\n }\n return horizontalScrollbarHeight;\n}\n\n/**\n * @param {!Object} HTMLElementPrototype\n * @return {!Array}\n */\nfunction getMatchesProperty(HTMLElementPrototype) {\n return [\n 'msMatchesSelector', 'matches',\n ].filter((p) => p in HTMLElementPrototype).pop();\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab-scroller/util.js?");
/***/ }),
/***/ "./node_modules/@material/tab/adapter.js":
/*!***********************************************!*\
!*** ./node_modules/@material/tab/adapter.js ***!
\***********************************************/
/*! exports provided: MDCTabDimensions, MDCTabAdapter */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabDimensions\", function() { return MDCTabDimensions; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTabAdapter\", function() { return MDCTabAdapter; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * MDCTabDimensions provides details about the left and right edges of the Tab\n * root element and the Tab content element. These values are used to determine\n * the visual position of the Tab with respect it's parent container.\n * @typedef {{rootLeft: number, rootRight: number, contentLeft: number, contentRight: number}}\n */\nlet MDCTabDimensions;\n\n/**\n * Adapter for MDC Tab.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Tab into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTabAdapter {\n /**\n * Registers an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerEventHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the root element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterEventHandler(evtType, handler) {}\n\n /**\n * Adds the given className to the root element.\n * @param {string} className The className to add\n */\n addClass(className) {}\n\n /**\n * Removes the given className from the root element.\n * @param {string} className The className to remove\n */\n removeClass(className) {}\n\n /**\n * Returns whether the root element has the given className.\n * @param {string} className The className to remove\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Sets the given attrName of the root element to the given value.\n * @param {string} attr The attribute name to set\n * @param {string} value The value so give the attribute\n */\n setAttr(attr, value) {}\n\n /**\n * Activates the indicator element.\n * @param {!ClientRect=} previousIndicatorClientRect The client rect of the previously activated indicator\n */\n activateIndicator(previousIndicatorClientRect) {}\n\n /** Deactivates the indicator. */\n deactivateIndicator() {}\n\n /**\n * Returns the client rect of the indicator.\n * @return {!ClientRect}\n */\n computeIndicatorClientRect() {}\n\n /**\n * Emits the MDCTab:interacted event for use by parent components\n */\n notifyInteracted() {}\n\n /**\n * Returns the offsetLeft value of the root element.\n * @return {number}\n */\n getOffsetLeft() {}\n\n /**\n * Returns the offsetWidth value of the root element.\n * @return {number}\n */\n getOffsetWidth() {}\n\n /**\n * Returns the offsetLeft of the content element.\n * @return {number}\n */\n getContentOffsetLeft() {}\n\n /**\n * Returns the offsetWidth of the content element.\n * @return {number}\n */\n getContentOffsetWidth() {}\n\n /**\n * Applies focus to the root element\n */\n focus() {}\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/tab/constants.js":
/*!*************************************************!*\
!*** ./node_modules/@material/tab/constants.js ***!
\*************************************************/
/*! exports provided: cssClasses, strings */
/***/ (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/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n ACTIVE: 'mdc-tab--active',\n ANIMATING_ACTIVATE: 'mdc-tab--animating-activate',\n ANIMATING_DEACTIVATE: 'mdc-tab--animating-deactivate',\n};\n\n/** @enum {string} */\nconst strings = {\n ARIA_SELECTED: 'aria-selected',\n RIPPLE_SELECTOR: '.mdc-tab__ripple',\n CONTENT_SELECTOR: '.mdc-tab__content',\n TAB_INDICATOR_SELECTOR: '.mdc-tab-indicator',\n TABINDEX: 'tabIndex',\n INTERACTED_EVENT: 'MDCTab:interacted',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab/constants.js?");
/***/ }),
/***/ "./node_modules/@material/tab/foundation.js":
/*!**************************************************!*\
!*** ./node_modules/@material/tab/foundation.js ***!
\**************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/tab/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTabFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /**\n * @see MDCTabAdapter for typing information\n * @return {!MDCTabAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTabAdapter} */ ({\n registerEventHandler: () => {},\n deregisterEventHandler: () => {},\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => {},\n setAttr: () => {},\n activateIndicator: () => {},\n deactivateIndicator: () => {},\n computeIndicatorClientRect: () => {},\n notifyInteracted: () => {},\n getOffsetLeft: () => {},\n getOffsetWidth: () => {},\n getContentOffsetLeft: () => {},\n getContentOffsetWidth: () => {},\n focus: () => {},\n });\n }\n\n /** @param {!MDCTabAdapter} adapter */\n constructor(adapter) {\n super(Object.assign(MDCTabFoundation.defaultAdapter, adapter));\n\n /** @private {function(!Event): undefined} */\n this.handleTransitionEnd_ = (evt) => this.handleTransitionEnd(evt);\n\n /** @private {function(?Event): undefined} */\n this.handleClick_ = () => this.handleClick();\n }\n\n init() {\n this.adapter_.registerEventHandler('click', this.handleClick_);\n }\n\n /**\n * Handles the \"transitionend\" event\n * @param {!Event} evt A browser event\n */\n handleTransitionEnd(evt) {\n // Early exit for ripple\n if (evt.pseudoElement) {\n return;\n }\n this.adapter_.deregisterEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ANIMATING_ACTIVATE);\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ANIMATING_DEACTIVATE);\n }\n\n /**\n * Handles the \"click\" event\n */\n handleClick() {\n // It's up to the parent component to keep track of the active Tab and\n // ensure we don't activate a Tab that's already active.\n this.adapter_.notifyInteracted();\n }\n\n /**\n * Returns the Tab's active state\n * @return {boolean}\n */\n isActive() {\n return this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ACTIVE);\n }\n\n /**\n * Activates the Tab\n * @param {!ClientRect=} previousIndicatorClientRect\n */\n activate(previousIndicatorClientRect) {\n // Early exit\n if (this.isActive()) {\n return;\n }\n\n this.adapter_.registerEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ANIMATING_ACTIVATE);\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ACTIVE);\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_SELECTED, 'true');\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].TABINDEX, '0');\n this.adapter_.activateIndicator(previousIndicatorClientRect);\n this.adapter_.focus();\n }\n\n /**\n * Deactivates the Tab\n */\n deactivate() {\n // Early exit\n if (!this.isActive()) {\n return;\n }\n\n this.adapter_.registerEventHandler('transitionend', this.handleTransitionEnd_);\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ANIMATING_DEACTIVATE);\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].ACTIVE);\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_SELECTED, 'false');\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].TABINDEX, '-1');\n this.adapter_.deactivateIndicator();\n }\n\n /**\n * Returns the indicator's client rect\n * @return {!ClientRect}\n */\n computeIndicatorClientRect() {\n return this.adapter_.computeIndicatorClientRect();\n }\n\n /**\n * Returns the dimensions of the Tab\n * @return {!MDCTabDimensions}\n */\n computeDimensions() {\n const rootWidth = this.adapter_.getOffsetWidth();\n const rootLeft = this.adapter_.getOffsetLeft();\n const contentWidth = this.adapter_.getContentOffsetWidth();\n const contentLeft = this.adapter_.getContentOffsetLeft();\n\n return {\n rootLeft,\n rootRight: rootLeft + rootWidth,\n contentLeft: rootLeft + contentLeft,\n contentRight: rootLeft + contentLeft + contentWidth,\n };\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTabFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/tab/index.js":
/*!*********************************************!*\
!*** ./node_modules/@material/tab/index.js ***!
\*********************************************/
/*! exports provided: MDCTab, MDCTabFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTab\", function() { return MDCTab; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _material_tab_indicator_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/tab-indicator/index */ \"./node_modules/@material/tab-indicator/index.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/tab/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/tab/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTabFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n/* eslint-disable no-unused-vars */\n\n\n\n/* eslint-enable no-unused-vars */\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTab extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n /** @private {?MDCRipple} */\n this.ripple_;\n /** @private {?MDCTabIndicator} */\n this.tabIndicator_;\n /** @private {?Element} */\n this.content_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCTab}\n */\n static attachTo(root) {\n return new MDCTab(root);\n }\n\n initialize(\n rippleFactory = (el, foundation) => new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"](el, foundation),\n tabIndicatorFactory = (el) => new _material_tab_indicator_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCTabIndicator\"](el)) {\n const rippleSurface = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.RIPPLE_SELECTOR);\n const rippleAdapter = Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"].createAdapter(/** @type {!RippleCapableSurface} */ (this)), {\n addClass: (className) => rippleSurface.classList.add(className),\n removeClass: (className) => rippleSurface.classList.remove(className),\n updateCssVariable: (varName, value) => rippleSurface.style.setProperty(varName, value),\n });\n const rippleFoundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRippleFoundation\"](rippleAdapter);\n this.ripple_ = rippleFactory(this.root_, rippleFoundation);\n\n const tabIndicatorElement = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.TAB_INDICATOR_SELECTOR);\n this.tabIndicator_ = tabIndicatorFactory(tabIndicatorElement);\n\n this.content_ = this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.CONTENT_SELECTOR);\n }\n\n destroy() {\n this.ripple_.destroy();\n super.destroy();\n }\n\n /**\n * @return {!MDCTabFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"](\n /** @type {!MDCTabAdapter} */ ({\n setAttr: (attr, value) => this.root_.setAttribute(attr, value),\n registerEventHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterEventHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n activateIndicator: (previousIndicatorClientRect) => this.tabIndicator_.activate(previousIndicatorClientRect),\n deactivateIndicator: () => this.tabIndicator_.deactivate(),\n computeIndicatorClientRect: () => this.tabIndicator_.computeContentClientRect(),\n notifyInteracted: () => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"].strings.INTERACTED_EVENT, {tab: this}, true /* bubble */),\n getOffsetLeft: () => this.root_.offsetLeft,\n getOffsetWidth: () => this.root_.offsetWidth,\n getContentOffsetLeft: () => this.content_.offsetLeft,\n getContentOffsetWidth: () => this.content_.offsetWidth,\n focus: () => this.root_.focus(),\n }));\n }\n\n /**\n * Getter for the active state of the tab\n * @return {boolean}\n */\n get active() {\n return this.foundation_.isActive();\n }\n\n /**\n * Activates the tab\n * @param {!ClientRect=} computeIndicatorClientRect\n */\n activate(computeIndicatorClientRect) {\n this.foundation_.activate(computeIndicatorClientRect);\n }\n\n /**\n * Deactivates the tab\n */\n deactivate() {\n this.foundation_.deactivate();\n }\n\n /**\n * Returns the indicator's client rect\n * @return {!ClientRect}\n */\n computeIndicatorClientRect() {\n return this.foundation_.computeIndicatorClientRect();\n }\n\n /**\n * @return {!MDCTabDimensions}\n */\n computeDimensions() {\n return this.foundation_.computeDimensions();\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/tab/index.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/adapter.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/textfield/adapter.js ***!
\*****************************************************/
/*! exports provided: MDCTextFieldAdapter, NativeInputType, FoundationMapType */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldAdapter\", function() { return MDCTextFieldAdapter; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"NativeInputType\", function() { return NativeInputType; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FoundationMapType\", function() { return FoundationMapType; });\n/* harmony import */ var _helper_text_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./helper-text/foundation */ \"./node_modules/@material/textfield/helper-text/foundation.js\");\n/* harmony import */ var _icon_foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./icon/foundation */ \"./node_modules/@material/textfield/icon/foundation.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint-disable no-unused-vars */\n\n\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * @typedef {{\n * value: string,\n * disabled: boolean,\n * badInput: boolean,\n * validity: {\n * badInput: boolean,\n * valid: boolean,\n * },\n * }}\n */\nlet NativeInputType;\n\n/**\n * @typedef {{\n * helperText: (!MDCTextFieldHelperTextFoundation|undefined),\n * icon: (!MDCTextFieldIconFoundation|undefined),\n * }}\n */\nlet FoundationMapType;\n\n/**\n * Adapter for MDC Text Field.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Text Field into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTextFieldAdapter {\n /**\n * Adds a class to the root Element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the root Element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns true if the root element contains the given class name.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Registers an event handler on the root element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n registerTextFieldInteractionHandler(type, handler) {}\n\n /**\n * Deregisters an event handler on the root element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n deregisterTextFieldInteractionHandler(type, handler) {}\n\n /**\n * Registers an event listener on the native input element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerInputInteractionHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the native input element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterInputInteractionHandler(evtType, handler) {}\n\n /**\n * Registers a validation attribute change listener on the input element.\n * Handler accepts list of attribute names.\n * @param {function(!Array): undefined} handler\n * @return {!MutationObserver}\n */\n registerValidationAttributeChangeHandler(handler) {}\n\n /**\n * Disconnects a validation attribute observer on the input element.\n * @param {!MutationObserver} observer\n */\n deregisterValidationAttributeChangeHandler(observer) {}\n\n /**\n * Returns an object representing the native text input element, with a\n * similar API shape. The object returned should include the value, disabled\n * and badInput properties, as well as the checkValidity() function. We never\n * alter the value within our code, however we do update the disabled\n * property, so if you choose to duck-type the return value for this method\n * in your implementation it's important to keep this in mind. Also note that\n * this method can return null, which the foundation will handle gracefully.\n * @return {?Element|?NativeInputType}\n */\n getNativeInput() {}\n\n /**\n * Returns true if the textfield is focused.\n * We achieve this via `document.activeElement === this.root_`.\n * @return {boolean}\n */\n isFocused() {}\n\n /**\n * Returns true if the direction of the root element is set to RTL.\n * @return {boolean}\n */\n isRtl() {}\n\n /**\n * Activates the line ripple.\n */\n activateLineRipple() {}\n\n /**\n * Deactivates the line ripple.\n */\n deactivateLineRipple() {}\n\n /**\n * Sets the transform origin of the line ripple.\n * @param {number} normalizedX\n */\n setLineRippleTransformOrigin(normalizedX) {}\n\n /**\n * Only implement if label exists.\n * Shakes label if shouldShake is true.\n * @param {boolean} shouldShake\n */\n shakeLabel(shouldShake) {}\n\n /**\n * Only implement if label exists.\n * Floats the label above the input element if shouldFloat is true.\n * @param {boolean} shouldFloat\n */\n floatLabel(shouldFloat) {}\n\n /**\n * Returns true if label element exists, false if it doesn't.\n * @return {boolean}\n */\n hasLabel() {}\n\n /**\n * Only implement if label exists.\n * Returns width of label in pixels.\n * @return {number}\n */\n getLabelWidth() {}\n\n /**\n * Returns true if outline element exists, false if it doesn't.\n * @return {boolean}\n */\n hasOutline() {}\n\n /**\n * Only implement if outline element exists.\n * Updates SVG Path and outline element based on the\n * label element width and RTL context.\n * @param {number} labelWidth\n * @param {boolean=} isRtl\n */\n notchOutline(labelWidth, isRtl) {}\n\n /**\n * Only implement if outline element exists.\n * Closes notch in outline element.\n */\n closeOutline() {}\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/constants.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/textfield/constants.js ***!
\*******************************************************/
/*! exports provided: cssClasses, strings, numbers, VALIDATION_ATTR_WHITELIST */
/***/ (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/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VALIDATION_ATTR_WHITELIST\", function() { return VALIDATION_ATTR_WHITELIST; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n ARIA_CONTROLS: 'aria-controls',\n INPUT_SELECTOR: '.mdc-text-field__input',\n LABEL_SELECTOR: '.mdc-floating-label',\n ICON_SELECTOR: '.mdc-text-field__icon',\n OUTLINE_SELECTOR: '.mdc-notched-outline',\n LINE_RIPPLE_SELECTOR: '.mdc-line-ripple',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n ROOT: 'mdc-text-field',\n UPGRADED: 'mdc-text-field--upgraded',\n DISABLED: 'mdc-text-field--disabled',\n DENSE: 'mdc-text-field--dense',\n FOCUSED: 'mdc-text-field--focused',\n INVALID: 'mdc-text-field--invalid',\n BOX: 'mdc-text-field--box',\n OUTLINED: 'mdc-text-field--outlined',\n};\n\n/** @enum {number} */\nconst numbers = {\n LABEL_SCALE: 0.75,\n DENSE_LABEL_SCALE: 0.923,\n};\n\n// whitelist based off of https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5/Constraint_validation\n// under section: `Validation-related attributes`\nconst VALIDATION_ATTR_WHITELIST = [\n 'pattern', 'min', 'max', 'required', 'step', 'minlength', 'maxlength',\n];\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/constants.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/foundation.js":
/*!********************************************************!*\
!*** ./node_modules/@material/textfield/foundation.js ***!
\********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _helper_text_foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./helper-text/foundation */ \"./node_modules/@material/textfield/helper-text/foundation.js\");\n/* harmony import */ var _icon_foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./icon/foundation */ \"./node_modules/@material/textfield/icon/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/textfield/constants.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n\n/* eslint-enable no-unused-vars */\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTextFieldFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"cssClasses\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_4__[\"numbers\"];\n }\n\n /** @return {boolean} */\n get shouldShake() {\n return !this.isValid() && !this.isFocused_;\n }\n\n /** @return {boolean} */\n get shouldFloat() {\n return this.isFocused_ || !!this.getValue() || this.isBadInput_();\n }\n\n /**\n * {@see MDCTextFieldAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCTextFieldAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTextFieldAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => {},\n registerTextFieldInteractionHandler: () => {},\n deregisterTextFieldInteractionHandler: () => {},\n registerInputInteractionHandler: () => {},\n deregisterInputInteractionHandler: () => {},\n registerValidationAttributeChangeHandler: () => {},\n deregisterValidationAttributeChangeHandler: () => {},\n getNativeInput: () => {},\n isFocused: () => {},\n isRtl: () => {},\n activateLineRipple: () => {},\n deactivateLineRipple: () => {},\n setLineRippleTransformOrigin: () => {},\n shakeLabel: () => {},\n floatLabel: () => {},\n hasLabel: () => {},\n getLabelWidth: () => {},\n hasOutline: () => {},\n notchOutline: () => {},\n closeOutline: () => {},\n });\n }\n\n /**\n * @param {!MDCTextFieldAdapter} adapter\n * @param {!FoundationMapType=} foundationMap Map from subcomponent names to their subfoundations.\n */\n constructor(adapter, foundationMap = /** @type {!FoundationMapType} */ ({})) {\n super(Object.assign(MDCTextFieldFoundation.defaultAdapter, adapter));\n\n /** @type {!MDCTextFieldHelperTextFoundation|undefined} */\n this.helperText_ = foundationMap.helperText;\n /** @type {!MDCTextFieldIconFoundation|undefined} */\n this.icon_ = foundationMap.icon;\n\n /** @private {boolean} */\n this.isFocused_ = false;\n /** @private {boolean} */\n this.receivedUserInput_ = false;\n /** @private {boolean} */\n this.useCustomValidityChecking_ = false;\n /** @private {boolean} */\n this.isValid_ = true;\n /** @private {function(): undefined} */\n this.inputFocusHandler_ = () => this.activateFocus();\n /** @private {function(): undefined} */\n this.inputBlurHandler_ = () => this.deactivateFocus();\n /** @private {function(): undefined} */\n this.inputInputHandler_ = () => this.autoCompleteFocus();\n /** @private {function(!Event): undefined} */\n this.setPointerXOffset_ = (evt) => this.setTransformOrigin(evt);\n /** @private {function(!Event): undefined} */\n this.textFieldInteractionHandler_ = () => this.handleTextFieldInteraction();\n /** @private {function(!Array): undefined} */\n this.validationAttributeChangeHandler_ = (attributesList) => this.handleValidationAttributeChange(attributesList);\n\n /** @private {!MutationObserver} */\n this.validationObserver_;\n }\n\n init() {\n this.adapter_.addClass(MDCTextFieldFoundation.cssClasses.UPGRADED);\n // Ensure label does not collide with any pre-filled value.\n if (this.adapter_.hasLabel() && (this.getValue() || this.isBadInput_())) {\n this.adapter_.floatLabel(this.shouldFloat);\n this.notchOutline(this.shouldFloat);\n }\n\n if (this.adapter_.isFocused()) {\n this.inputFocusHandler_();\n }\n\n this.adapter_.registerInputInteractionHandler('focus', this.inputFocusHandler_);\n this.adapter_.registerInputInteractionHandler('blur', this.inputBlurHandler_);\n this.adapter_.registerInputInteractionHandler('input', this.inputInputHandler_);\n ['mousedown', 'touchstart'].forEach((evtType) => {\n this.adapter_.registerInputInteractionHandler(evtType, this.setPointerXOffset_);\n });\n ['click', 'keydown'].forEach((evtType) => {\n this.adapter_.registerTextFieldInteractionHandler(evtType, this.textFieldInteractionHandler_);\n });\n this.validationObserver_ =\n this.adapter_.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler_);\n }\n\n destroy() {\n this.adapter_.removeClass(MDCTextFieldFoundation.cssClasses.UPGRADED);\n this.adapter_.deregisterInputInteractionHandler('focus', this.inputFocusHandler_);\n this.adapter_.deregisterInputInteractionHandler('blur', this.inputBlurHandler_);\n this.adapter_.deregisterInputInteractionHandler('input', this.inputInputHandler_);\n ['mousedown', 'touchstart'].forEach((evtType) => {\n this.adapter_.deregisterInputInteractionHandler(evtType, this.setPointerXOffset_);\n });\n ['click', 'keydown'].forEach((evtType) => {\n this.adapter_.deregisterTextFieldInteractionHandler(evtType, this.textFieldInteractionHandler_);\n });\n this.adapter_.deregisterValidationAttributeChangeHandler(this.validationObserver_);\n }\n\n /**\n * Handles user interactions with the Text Field.\n */\n handleTextFieldInteraction() {\n if (this.adapter_.getNativeInput().disabled) {\n return;\n }\n this.receivedUserInput_ = true;\n }\n\n /**\n * Handles validation attribute changes\n * @param {!Array} attributesList\n */\n handleValidationAttributeChange(attributesList) {\n attributesList.some((attributeName) => {\n if (_constants__WEBPACK_IMPORTED_MODULE_4__[\"VALIDATION_ATTR_WHITELIST\"].indexOf(attributeName) > -1) {\n this.styleValidity_(true);\n return true;\n }\n });\n }\n\n /**\n * Opens/closes the notched outline.\n * @param {boolean} openNotch\n */\n notchOutline(openNotch) {\n if (!this.adapter_.hasOutline() || !this.adapter_.hasLabel()) {\n return;\n }\n\n if (openNotch) {\n const isDense = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_4__[\"cssClasses\"].DENSE);\n const labelScale = isDense ? _constants__WEBPACK_IMPORTED_MODULE_4__[\"numbers\"].DENSE_LABEL_SCALE : _constants__WEBPACK_IMPORTED_MODULE_4__[\"numbers\"].LABEL_SCALE;\n const labelWidth = this.adapter_.getLabelWidth() * labelScale;\n const isRtl = this.adapter_.isRtl();\n this.adapter_.notchOutline(labelWidth, isRtl);\n } else {\n this.adapter_.closeOutline();\n }\n }\n\n /**\n * Activates the text field focus state.\n */\n activateFocus() {\n this.isFocused_ = true;\n this.styleFocused_(this.isFocused_);\n this.adapter_.activateLineRipple();\n this.notchOutline(this.shouldFloat);\n if (this.adapter_.hasLabel()) {\n this.adapter_.shakeLabel(this.shouldShake);\n this.adapter_.floatLabel(this.shouldFloat);\n }\n if (this.helperText_) {\n this.helperText_.showToScreenReader();\n }\n }\n\n /**\n * Sets the line ripple's transform origin, so that the line ripple activate\n * animation will animate out from the user's click location.\n * @param {!Event} evt\n */\n setTransformOrigin(evt) {\n const targetClientRect = evt.target.getBoundingClientRect();\n const evtCoords = {x: evt.clientX, y: evt.clientY};\n const normalizedX = evtCoords.x - targetClientRect.left;\n this.adapter_.setLineRippleTransformOrigin(normalizedX);\n }\n\n /**\n * Activates the Text Field's focus state in cases when the input value\n * changes without user input (e.g. programatically).\n */\n autoCompleteFocus() {\n if (!this.receivedUserInput_) {\n this.activateFocus();\n }\n }\n\n /**\n * Deactivates the Text Field's focus state.\n */\n deactivateFocus() {\n this.isFocused_ = false;\n this.adapter_.deactivateLineRipple();\n const input = this.getNativeInput_();\n const shouldRemoveLabelFloat = !input.value && !this.isBadInput_();\n const isValid = this.isValid();\n this.styleValidity_(isValid);\n this.styleFocused_(this.isFocused_);\n if (this.adapter_.hasLabel()) {\n this.adapter_.shakeLabel(this.shouldShake);\n this.adapter_.floatLabel(this.shouldFloat);\n this.notchOutline(this.shouldFloat);\n }\n if (shouldRemoveLabelFloat) {\n this.receivedUserInput_ = false;\n }\n }\n\n /**\n * @return {string} The value of the input Element.\n */\n getValue() {\n return this.getNativeInput_().value;\n }\n\n /**\n * @param {string} value The value to set on the input Element.\n */\n setValue(value) {\n this.getNativeInput_().value = value;\n const isValid = this.isValid();\n this.styleValidity_(isValid);\n if (this.adapter_.hasLabel()) {\n this.adapter_.shakeLabel(this.shouldShake);\n this.adapter_.floatLabel(this.shouldFloat);\n this.notchOutline(this.shouldFloat);\n }\n }\n\n /**\n * @return {boolean} If a custom validity is set, returns that value.\n * Otherwise, returns the result of native validity checks.\n */\n isValid() {\n return this.useCustomValidityChecking_\n ? this.isValid_ : this.isNativeInputValid_();\n }\n\n /**\n * @param {boolean} isValid Sets the validity state of the Text Field.\n */\n setValid(isValid) {\n this.useCustomValidityChecking_ = true;\n this.isValid_ = isValid;\n // Retrieve from the getter to ensure correct logic is applied.\n isValid = this.isValid();\n this.styleValidity_(isValid);\n if (this.adapter_.hasLabel()) {\n this.adapter_.shakeLabel(this.shouldShake);\n }\n }\n\n /**\n * @return {boolean} True if the Text Field is disabled.\n */\n isDisabled() {\n return this.getNativeInput_().disabled;\n }\n\n /**\n * @param {boolean} disabled Sets the text-field disabled or enabled.\n */\n setDisabled(disabled) {\n this.getNativeInput_().disabled = disabled;\n this.styleDisabled_(disabled);\n }\n\n /**\n * @param {string} content Sets the content of the helper text.\n */\n setHelperTextContent(content) {\n if (this.helperText_) {\n this.helperText_.setContent(content);\n }\n }\n\n /**\n * Sets the aria label of the icon.\n * @param {string} label\n */\n setIconAriaLabel(label) {\n if (this.icon_) {\n this.icon_.setAriaLabel(label);\n }\n }\n\n /**\n * Sets the text content of the icon.\n * @param {string} content\n */\n setIconContent(content) {\n if (this.icon_) {\n this.icon_.setContent(content);\n }\n }\n\n /**\n * @return {boolean} True if the Text Field input fails in converting the\n * user-supplied value.\n * @private\n */\n isBadInput_() {\n return this.getNativeInput_().validity.badInput;\n }\n\n /**\n * @return {boolean} The result of native validity checking\n * (ValidityState.valid).\n */\n isNativeInputValid_() {\n return this.getNativeInput_().validity.valid;\n }\n\n /**\n * Styles the component based on the validity state.\n * @param {boolean} isValid\n * @private\n */\n styleValidity_(isValid) {\n const {INVALID} = MDCTextFieldFoundation.cssClasses;\n if (isValid) {\n this.adapter_.removeClass(INVALID);\n } else {\n this.adapter_.addClass(INVALID);\n }\n if (this.helperText_) {\n this.helperText_.setValidity(isValid);\n }\n }\n\n /**\n * Styles the component based on the focused state.\n * @param {boolean} isFocused\n * @private\n */\n styleFocused_(isFocused) {\n const {FOCUSED} = MDCTextFieldFoundation.cssClasses;\n if (isFocused) {\n this.adapter_.addClass(FOCUSED);\n } else {\n this.adapter_.removeClass(FOCUSED);\n }\n }\n\n /**\n * Styles the component based on the disabled state.\n * @param {boolean} isDisabled\n * @private\n */\n styleDisabled_(isDisabled) {\n const {DISABLED, INVALID} = MDCTextFieldFoundation.cssClasses;\n if (isDisabled) {\n this.adapter_.addClass(DISABLED);\n this.adapter_.removeClass(INVALID);\n } else {\n this.adapter_.removeClass(DISABLED);\n }\n if (this.icon_) {\n this.icon_.setDisabled(isDisabled);\n }\n }\n\n /**\n * @return {!Element|!NativeInputType} The native text input from the\n * host environment, or a dummy if none exists.\n * @private\n */\n getNativeInput_() {\n return this.adapter_.getNativeInput() ||\n /** @type {!NativeInputType} */ ({\n value: '',\n disabled: false,\n validity: {\n badInput: false,\n valid: true,\n },\n });\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTextFieldFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/helper-text/adapter.js":
/*!*****************************************************************!*\
!*** ./node_modules/@material/textfield/helper-text/adapter.js ***!
\*****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Text Field Helper Text.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the TextField helper text into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTextFieldHelperTextAdapter {\n /**\n * Adds a class to the helper text element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the helper text element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns whether or not the helper text element contains the given class.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Sets an attribute with a given value on the helper text element.\n * @param {string} attr\n * @param {string} value\n */\n setAttr(attr, value) {}\n\n /**\n * Removes an attribute from the helper text element.\n * @param {string} attr\n */\n removeAttr(attr) {}\n\n /**\n * Sets the text content for the helper text element.\n * @param {string} content\n */\n setContent(content) {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTextFieldHelperTextAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/helper-text/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/helper-text/constants.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material/textfield/helper-text/constants.js ***!
\*******************************************************************/
/*! exports provided: strings, cssClasses */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n ARIA_HIDDEN: 'aria-hidden',\n ROLE: 'role',\n};\n\n/** @enum {string} */\nconst cssClasses = {\n HELPER_TEXT_PERSISTENT: 'mdc-text-field-helper-text--persistent',\n HELPER_TEXT_VALIDATION_MSG: 'mdc-text-field-helper-text--validation-msg',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/helper-text/constants.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/helper-text/foundation.js":
/*!********************************************************************!*\
!*** ./node_modules/@material/textfield/helper-text/foundation.js ***!
\********************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/helper-text/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/textfield/helper-text/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTextFieldHelperTextFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"];\n }\n\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /**\n * {@see MDCTextFieldHelperTextAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCTextFieldHelperTextAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTextFieldHelperTextAdapter} */ ({\n addClass: () => {},\n removeClass: () => {},\n hasClass: () => {},\n setAttr: () => {},\n removeAttr: () => {},\n setContent: () => {},\n });\n }\n\n /**\n * @param {!MDCTextFieldHelperTextAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCTextFieldHelperTextFoundation.defaultAdapter, adapter));\n }\n\n /**\n * Sets the content of the helper text field.\n * @param {string} content\n */\n setContent(content) {\n this.adapter_.setContent(content);\n }\n\n /** @param {boolean} isPersistent Sets the persistency of the helper text. */\n setPersistent(isPersistent) {\n if (isPersistent) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_PERSISTENT);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_PERSISTENT);\n }\n }\n\n /**\n * @param {boolean} isValidation True to make the helper text act as an\n * error validation message.\n */\n setValidation(isValidation) {\n if (isValidation) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_VALIDATION_MSG);\n } else {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_VALIDATION_MSG);\n }\n }\n\n /** Makes the helper text visible to the screen reader. */\n showToScreenReader() {\n this.adapter_.removeAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_HIDDEN);\n }\n\n /**\n * Sets the validity of the helper text based on the input validity.\n * @param {boolean} inputIsValid\n */\n setValidity(inputIsValid) {\n const helperTextIsPersistent = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_PERSISTENT);\n const helperTextIsValidationMsg = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].HELPER_TEXT_VALIDATION_MSG);\n const validationMsgNeedsDisplay = helperTextIsValidationMsg && !inputIsValid;\n\n if (validationMsgNeedsDisplay) {\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ROLE, 'alert');\n } else {\n this.adapter_.removeAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ROLE);\n }\n\n if (!helperTextIsPersistent && !validationMsgNeedsDisplay) {\n this.hide_();\n }\n }\n\n /**\n * Hides the help text from screen readers.\n * @private\n */\n hide_() {\n this.adapter_.setAttr(_constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ARIA_HIDDEN, 'true');\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTextFieldHelperTextFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/helper-text/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/helper-text/index.js":
/*!***************************************************************!*\
!*** ./node_modules/@material/textfield/helper-text/index.js ***!
\***************************************************************/
/*! exports provided: MDCTextFieldHelperText, MDCTextFieldHelperTextFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldHelperText\", function() { return MDCTextFieldHelperText; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/helper-text/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/textfield/helper-text/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldHelperTextFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTextFieldHelperText extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCTextFieldHelperText}\n */\n static attachTo(root) {\n return new MDCTextFieldHelperText(root);\n }\n\n /**\n * @return {!MDCTextFieldHelperTextFoundation}\n */\n get foundation() {\n return this.foundation_;\n }\n\n /**\n * @return {!MDCTextFieldHelperTextFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](/** @type {!MDCTextFieldHelperTextAdapter} */ (Object.assign({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n setAttr: (attr, value) => this.root_.setAttribute(attr, value),\n removeAttr: (attr) => this.root_.removeAttribute(attr),\n setContent: (content) => {\n this.root_.textContent = content;\n },\n })));\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/helper-text/index.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/icon/adapter.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/textfield/icon/adapter.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Text Field Icon.\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the text field icon into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTextFieldIconAdapter {\n /**\n * Gets the value of an attribute on the icon element.\n * @param {string} attr\n * @return {string}\n */\n getAttr(attr) {}\n\n /**\n * Sets an attribute on the icon element.\n * @param {string} attr\n * @param {string} value\n */\n setAttr(attr, value) {}\n\n /**\n * Removes an attribute from the icon element.\n * @param {string} attr\n */\n removeAttr(attr) {}\n\n /**\n * Sets the text content of the icon element.\n * @param {string} content\n */\n setContent(content) {}\n\n /**\n * Registers an event listener on the icon element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n registerInteractionHandler(evtType, handler) {}\n\n /**\n * Deregisters an event listener on the icon element for a given event.\n * @param {string} evtType\n * @param {function(!Event): undefined} handler\n */\n deregisterInteractionHandler(evtType, handler) {}\n\n /**\n * Emits a custom event \"MDCTextField:icon\" denoting a user has clicked the icon.\n */\n notifyIconAction() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTextFieldIconAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/icon/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/icon/constants.js":
/*!************************************************************!*\
!*** ./node_modules/@material/textfield/icon/constants.js ***!
\************************************************************/
/*! exports provided: strings */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst strings = {\n ICON_EVENT: 'MDCTextField:icon',\n ICON_ROLE: 'button',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/icon/constants.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/icon/foundation.js":
/*!*************************************************************!*\
!*** ./node_modules/@material/textfield/icon/foundation.js ***!
\*************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/icon/adapter.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/textfield/icon/constants.js\");\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n * @final\n */\nclass MDCTextFieldIconFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"];\n }\n\n /**\n * {@see MDCTextFieldIconAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCTextFieldIconAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTextFieldIconAdapter} */ ({\n getAttr: () => {},\n setAttr: () => {},\n removeAttr: () => {},\n setContent: () => {},\n registerInteractionHandler: () => {},\n deregisterInteractionHandler: () => {},\n notifyIconAction: () => {},\n });\n }\n\n /**\n * @param {!MDCTextFieldIconAdapter} adapter\n */\n constructor(adapter) {\n super(Object.assign(MDCTextFieldIconFoundation.defaultAdapter, adapter));\n\n /** @private {string?} */\n this.savedTabIndex_ = null;\n\n /** @private {function(!Event): undefined} */\n this.interactionHandler_ = (evt) => this.handleInteraction(evt);\n }\n\n init() {\n this.savedTabIndex_ = this.adapter_.getAttr('tabindex');\n\n ['click', 'keydown'].forEach((evtType) => {\n this.adapter_.registerInteractionHandler(evtType, this.interactionHandler_);\n });\n }\n\n destroy() {\n ['click', 'keydown'].forEach((evtType) => {\n this.adapter_.deregisterInteractionHandler(evtType, this.interactionHandler_);\n });\n }\n\n /** @param {boolean} disabled */\n setDisabled(disabled) {\n if (!this.savedTabIndex_) {\n return;\n }\n\n if (disabled) {\n this.adapter_.setAttr('tabindex', '-1');\n this.adapter_.removeAttr('role');\n } else {\n this.adapter_.setAttr('tabindex', this.savedTabIndex_);\n this.adapter_.setAttr('role', _constants__WEBPACK_IMPORTED_MODULE_2__[\"strings\"].ICON_ROLE);\n }\n }\n\n /** @param {string} label */\n setAriaLabel(label) {\n this.adapter_.setAttr('aria-label', label);\n }\n\n /** @param {string} content */\n setContent(content) {\n this.adapter_.setContent(content);\n }\n\n /**\n * Handles an interaction event\n * @param {!Event} evt\n */\n handleInteraction(evt) {\n if (evt.type === 'click' || evt.key === 'Enter' || evt.keyCode === 13) {\n this.adapter_.notifyIconAction();\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTextFieldIconFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/icon/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/icon/index.js":
/*!********************************************************!*\
!*** ./node_modules/@material/textfield/icon/index.js ***!
\********************************************************/
/*! exports provided: MDCTextFieldIcon, MDCTextFieldIconFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldIcon\", function() { return MDCTextFieldIcon; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/icon/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/textfield/icon/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldIconFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTextFieldIcon extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {!Element} root\n * @return {!MDCTextFieldIcon}\n */\n static attachTo(root) {\n return new MDCTextFieldIcon(root);\n }\n\n /**\n * @return {!MDCTextFieldIconFoundation}\n */\n get foundation() {\n return this.foundation_;\n }\n\n /**\n * @return {!MDCTextFieldIconFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"](/** @type {!MDCTextFieldIconAdapter} */ (Object.assign({\n getAttr: (attr) => this.root_.getAttribute(attr),\n setAttr: (attr, value) => this.root_.setAttribute(attr, value),\n removeAttr: (attr) => this.root_.removeAttribute(attr),\n setContent: (content) => {\n this.root_.textContent = content;\n },\n registerInteractionHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterInteractionHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n notifyIconAction: () => this.emit(\n _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.ICON_EVENT, {} /* evtData */, true /* shouldBubble */),\n })));\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/icon/index.js?");
/***/ }),
/***/ "./node_modules/@material/textfield/index.js":
/*!***************************************************!*\
!*** ./node_modules/@material/textfield/index.js ***!
\***************************************************/
/*! exports provided: MDCTextField, MDCTextFieldFoundation, MDCTextFieldHelperText, MDCTextFieldHelperTextFoundation, MDCTextFieldIcon, MDCTextFieldIconFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTextField\", function() { return MDCTextField; });\n/* harmony import */ var _material_base_component__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/component */ \"./node_modules/@material/base/component.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _material_ripple_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/ripple/util */ \"./node_modules/@material/ripple/util.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/textfield/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/textfield/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/textfield/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _material_line_ripple_index__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @material/line-ripple/index */ \"./node_modules/@material/line-ripple/index.js\");\n/* harmony import */ var _helper_text_index__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./helper-text/index */ \"./node_modules/@material/textfield/helper-text/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldHelperText\", function() { return _helper_text_index__WEBPACK_IMPORTED_MODULE_7__[\"MDCTextFieldHelperText\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldHelperTextFoundation\", function() { return _helper_text_index__WEBPACK_IMPORTED_MODULE_7__[\"MDCTextFieldHelperTextFoundation\"]; });\n\n/* harmony import */ var _icon_index__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./icon/index */ \"./node_modules/@material/textfield/icon/index.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldIcon\", function() { return _icon_index__WEBPACK_IMPORTED_MODULE_8__[\"MDCTextFieldIcon\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTextFieldIconFoundation\", function() { return _icon_index__WEBPACK_IMPORTED_MODULE_8__[\"MDCTextFieldIconFoundation\"]; });\n\n/* harmony import */ var _material_floating_label_index__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! @material/floating-label/index */ \"./node_modules/@material/floating-label/index.js\");\n/* harmony import */ var _material_notched_outline_index__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @material/notched-outline/index */ \"./node_modules/@material/notched-outline/index.js\");\n/**\n * @license\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n/* eslint-disable no-unused-vars */\n\n/* eslint-enable no-unused-vars */\n\n\n\n\n\n\n/* eslint-disable no-unused-vars */\n\n\n\n\n\n/* eslint-enable no-unused-vars */\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTextField extends _material_base_component__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n /** @private {?Element} */\n this.input_;\n /** @type {?MDCRipple} */\n this.ripple;\n /** @private {?MDCLineRipple} */\n this.lineRipple_;\n /** @private {?MDCTextFieldHelperText} */\n this.helperText_;\n /** @private {?MDCTextFieldIcon} */\n this.icon_;\n /** @private {?MDCFloatingLabel} */\n this.label_;\n /** @private {?MDCNotchedOutline} */\n this.outline_;\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCTextField}\n */\n static attachTo(root) {\n return new MDCTextField(root);\n }\n\n /**\n * @param {(function(!Element): !MDCRipple)=} rippleFactory A function which\n * creates a new MDCRipple.\n * @param {(function(!Element): !MDCLineRipple)=} lineRippleFactory A function which\n * creates a new MDCLineRipple.\n * @param {(function(!Element): !MDCTextFieldHelperText)=} helperTextFactory A function which\n * creates a new MDCTextFieldHelperText.\n * @param {(function(!Element): !MDCTextFieldIcon)=} iconFactory A function which\n * creates a new MDCTextFieldIcon.\n * @param {(function(!Element): !MDCFloatingLabel)=} labelFactory A function which\n * creates a new MDCFloatingLabel.\n * @param {(function(!Element): !MDCNotchedOutline)=} outlineFactory A function which\n * creates a new MDCNotchedOutline.\n */\n initialize(\n rippleFactory = (el, foundation) => new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"](el, foundation),\n lineRippleFactory = (el) => new _material_line_ripple_index__WEBPACK_IMPORTED_MODULE_6__[\"MDCLineRipple\"](el),\n helperTextFactory = (el) => new _helper_text_index__WEBPACK_IMPORTED_MODULE_7__[\"MDCTextFieldHelperText\"](el),\n iconFactory = (el) => new _icon_index__WEBPACK_IMPORTED_MODULE_8__[\"MDCTextFieldIcon\"](el),\n labelFactory = (el) => new _material_floating_label_index__WEBPACK_IMPORTED_MODULE_9__[\"MDCFloatingLabel\"](el),\n outlineFactory = (el) => new _material_notched_outline_index__WEBPACK_IMPORTED_MODULE_10__[\"MDCNotchedOutline\"](el)) {\n this.input_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].INPUT_SELECTOR);\n const labelElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].LABEL_SELECTOR);\n if (labelElement) {\n this.label_ = labelFactory(labelElement);\n }\n const lineRippleElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].LINE_RIPPLE_SELECTOR);\n if (lineRippleElement) {\n this.lineRipple_ = lineRippleFactory(lineRippleElement);\n }\n const outlineElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].OUTLINE_SELECTOR);\n if (outlineElement) {\n this.outline_ = outlineFactory(outlineElement);\n }\n if (this.input_.hasAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_CONTROLS)) {\n const helperTextElement = document.getElementById(this.input_.getAttribute(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ARIA_CONTROLS));\n if (helperTextElement) {\n this.helperText_ = helperTextFactory(helperTextElement);\n }\n }\n const iconElement = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ICON_SELECTOR);\n if (iconElement) {\n this.icon_ = iconFactory(iconElement);\n }\n\n this.ripple = null;\n if (this.root_.classList.contains(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].BOX)) {\n const MATCHES = Object(_material_ripple_util__WEBPACK_IMPORTED_MODULE_2__[\"getMatchesProperty\"])(HTMLElement.prototype);\n const adapter =\n Object.assign(_material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"].createAdapter(/** @type {!RippleCapableSurface} */ (this)), {\n isSurfaceActive: () => this.input_[MATCHES](':active'),\n registerInteractionHandler: (type, handler) => this.input_.addEventListener(type, handler),\n deregisterInteractionHandler: (type, handler) => this.input_.removeEventListener(type, handler),\n });\n const foundation = new _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRippleFoundation\"](adapter);\n this.ripple = rippleFactory(this.root_, foundation);\n }\n }\n\n destroy() {\n if (this.ripple) {\n this.ripple.destroy();\n }\n if (this.lineRipple_) {\n this.lineRipple_.destroy();\n }\n if (this.helperText_) {\n this.helperText_.destroy();\n }\n if (this.icon_) {\n this.icon_.destroy();\n }\n if (this.label_) {\n this.label_.destroy();\n }\n if (this.outline_) {\n this.outline_.destroy();\n }\n super.destroy();\n }\n\n /**\n * Initiliazes the Text Field's internal state based on the environment's\n * state.\n */\n initialSyncWithDom() {\n this.disabled = this.input_.disabled;\n }\n\n /**\n * @return {string} The value of the input.\n */\n get value() {\n return this.foundation_.getValue();\n }\n\n /**\n * @param {string} value The value to set on the input.\n */\n set value(value) {\n this.foundation_.setValue(value);\n }\n\n /**\n * @return {boolean} True if the Text Field is disabled.\n */\n get disabled() {\n return this.foundation_.isDisabled();\n }\n\n /**\n * @param {boolean} disabled Sets the Text Field disabled or enabled.\n */\n set disabled(disabled) {\n this.foundation_.setDisabled(disabled);\n }\n\n /**\n * @return {boolean} valid True if the Text Field is valid.\n */\n get valid() {\n return this.foundation_.isValid();\n }\n\n /**\n * @param {boolean} valid Sets the Text Field valid or invalid.\n */\n set valid(valid) {\n this.foundation_.setValid(valid);\n }\n\n /**\n * @return {boolean} True if the Text Field is required.\n */\n get required() {\n return this.input_.required;\n }\n\n /**\n * @param {boolean} required Sets the Text Field to required.\n */\n set required(required) {\n this.input_.required = required;\n }\n\n /**\n * @return {string} The input element's validation pattern.\n */\n get pattern() {\n return this.input_.pattern;\n }\n\n /**\n * @param {string} pattern Sets the input element's validation pattern.\n */\n set pattern(pattern) {\n this.input_.pattern = pattern;\n }\n\n /**\n * @return {number} The input element's minLength.\n */\n get minLength() {\n return this.input_.minLength;\n }\n\n /**\n * @param {number} minLength Sets the input element's minLength.\n */\n set minLength(minLength) {\n this.input_.minLength = minLength;\n }\n\n /**\n * @return {number} The input element's maxLength.\n */\n get maxLength() {\n return this.input_.maxLength;\n }\n\n /**\n * @param {number} maxLength Sets the input element's maxLength.\n */\n set maxLength(maxLength) {\n // Chrome throws exception if maxLength is set < 0\n if (maxLength < 0) {\n this.input_.removeAttribute('maxLength');\n } else {\n this.input_.maxLength = maxLength;\n }\n }\n\n /**\n * @return {string} The input element's min.\n */\n get min() {\n return this.input_.min;\n }\n\n /**\n * @param {string} min Sets the input element's min.\n */\n set min(min) {\n this.input_.min = min;\n }\n\n /**\n * @return {string} The input element's max.\n */\n get max() {\n return this.input_.max;\n }\n\n /**\n * @param {string} max Sets the input element's max.\n */\n set max(max) {\n this.input_.max = max;\n }\n\n /**\n * @return {string} The input element's step.\n */\n get step() {\n return this.input_.step;\n }\n\n /**\n * @param {string} step Sets the input element's step.\n */\n set step(step) {\n this.input_.step = step;\n }\n\n /**\n * Sets the helper text element content.\n * @param {string} content\n */\n set helperTextContent(content) {\n this.foundation_.setHelperTextContent(content);\n }\n\n /**\n * Sets the aria label of the icon.\n * @param {string} label\n */\n set iconAriaLabel(label) {\n this.foundation_.setIconAriaLabel(label);\n }\n\n /**\n * Sets the text content of the icon.\n * @param {string} content\n */\n set iconContent(content) {\n this.foundation_.setIconContent(content);\n }\n\n /**\n * Recomputes the outline SVG path for the outline element.\n */\n layout() {\n const openNotch = this.foundation_.shouldFloat;\n this.foundation_.notchOutline(openNotch);\n }\n\n /**\n * @return {!MDCTextFieldFoundation}\n */\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"](\n /** @type {!MDCTextFieldAdapter} */ (Object.assign({\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n hasClass: (className) => this.root_.classList.contains(className),\n registerTextFieldInteractionHandler: (evtType, handler) => this.root_.addEventListener(evtType, handler),\n deregisterTextFieldInteractionHandler: (evtType, handler) => this.root_.removeEventListener(evtType, handler),\n registerValidationAttributeChangeHandler: (handler) => {\n const getAttributesList = (mutationsList) => mutationsList.map((mutation) => mutation.attributeName);\n const observer = new MutationObserver((mutationsList) => handler(getAttributesList(mutationsList)));\n const targetNode = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].INPUT_SELECTOR);\n const config = {attributes: true};\n observer.observe(targetNode, config);\n return observer;\n },\n deregisterValidationAttributeChangeHandler: (observer) => observer.disconnect(),\n isFocused: () => {\n return document.activeElement === this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].INPUT_SELECTOR);\n },\n isRtl: () => window.getComputedStyle(this.root_).getPropertyValue('direction') === 'rtl',\n },\n this.getInputAdapterMethods_(),\n this.getLabelAdapterMethods_(),\n this.getLineRippleAdapterMethods_(),\n this.getOutlineAdapterMethods_())),\n this.getFoundationMap_());\n }\n\n /**\n * @return {!{\n * shakeLabel: function(boolean): undefined,\n * floatLabel: function(boolean): undefined,\n * hasLabel: function(): boolean,\n * getLabelWidth: function(): number,\n * }}\n */\n getLabelAdapterMethods_() {\n return {\n shakeLabel: (shouldShake) => this.label_.shake(shouldShake),\n floatLabel: (shouldFloat) => this.label_.float(shouldFloat),\n hasLabel: () => !!this.label_,\n getLabelWidth: () => this.label_.getWidth(),\n };\n }\n\n /**\n * @return {!{\n * activateLineRipple: function(): undefined,\n * deactivateLineRipple: function(): undefined,\n * setLineRippleTransformOrigin: function(number): undefined,\n * }}\n */\n getLineRippleAdapterMethods_() {\n return {\n activateLineRipple: () => {\n if (this.lineRipple_) {\n this.lineRipple_.activate();\n }\n },\n deactivateLineRipple: () => {\n if (this.lineRipple_) {\n this.lineRipple_.deactivate();\n }\n },\n setLineRippleTransformOrigin: (normalizedX) => {\n if (this.lineRipple_) {\n this.lineRipple_.setRippleCenter(normalizedX);\n }\n },\n };\n }\n\n /**\n * @return {!{\n * notchOutline: function(number, boolean): undefined,\n * hasOutline: function(): boolean,\n * }}\n */\n getOutlineAdapterMethods_() {\n return {\n notchOutline: (labelWidth, isRtl) => this.outline_.notch(labelWidth, isRtl),\n closeOutline: () => this.outline_.closeNotch(),\n hasOutline: () => !!this.outline_,\n };\n }\n\n /**\n * @return {!{\n * registerInputInteractionHandler: function(string, function()): undefined,\n * deregisterInputInteractionHandler: function(string, function()): undefined,\n * getNativeInput: function(): ?Element,\n * }}\n */\n getInputAdapterMethods_() {\n return {\n registerInputInteractionHandler: (evtType, handler) => this.input_.addEventListener(evtType, handler),\n deregisterInputInteractionHandler: (evtType, handler) => this.input_.removeEventListener(evtType, handler),\n getNativeInput: () => this.input_,\n };\n }\n\n /**\n * Returns a map of all subcomponents to subfoundations.\n * @return {!FoundationMapType}\n */\n getFoundationMap_() {\n return {\n helperText: this.helperText_ ? this.helperText_.foundation : undefined,\n icon: this.icon_ ? this.icon_.foundation : undefined,\n };\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/textfield/index.js?");
/***/ }),
/***/ "./node_modules/@material/toolbar/constants.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/toolbar/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 * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nconst cssClasses = {\n FIXED: 'mdc-toolbar--fixed',\n FIXED_LASTROW: 'mdc-toolbar--fixed-lastrow-only',\n FIXED_AT_LAST_ROW: 'mdc-toolbar--fixed-at-last-row',\n TOOLBAR_ROW_FLEXIBLE: 'mdc-toolbar--flexible',\n FLEXIBLE_DEFAULT_BEHAVIOR: 'mdc-toolbar--flexible-default-behavior',\n FLEXIBLE_MAX: 'mdc-toolbar--flexible-space-maximized',\n FLEXIBLE_MIN: 'mdc-toolbar--flexible-space-minimized',\n};\n\nconst strings = {\n TITLE_SELECTOR: '.mdc-toolbar__title',\n ICON_SELECTOR: '.mdc-toolbar__icon',\n FIRST_ROW_SELECTOR: '.mdc-toolbar__row:first-child',\n CHANGE_EVENT: 'MDCToolbar:change',\n};\n\nconst numbers = {\n MAX_TITLE_SIZE: 2.125,\n MIN_TITLE_SIZE: 1.25,\n TOOLBAR_ROW_HEIGHT: 64,\n TOOLBAR_ROW_MOBILE_HEIGHT: 56,\n TOOLBAR_MOBILE_BREAKPOINT: 600,\n};\n\n\n//# sourceURL=webpack:///./node_modules/@material/toolbar/constants.js?");
/***/ }),
/***/ "./node_modules/@material/toolbar/foundation.js":
/*!******************************************************!*\
!*** ./node_modules/@material/toolbar/foundation.js ***!
\******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return MDCToolbarFoundation; });\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/toolbar/constants.js\");\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\nclass MDCToolbarFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_0__[\"default\"] {\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"cssClasses\"];\n }\n\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"strings\"];\n }\n\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_1__[\"numbers\"];\n }\n\n static get defaultAdapter() {\n return {\n hasClass: (/* className: string */) => /* boolean */ false,\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n registerScrollHandler: (/* handler: EventListener */) => {},\n deregisterScrollHandler: (/* handler: EventListener */) => {},\n registerResizeHandler: (/* handler: EventListener */) => {},\n deregisterResizeHandler: (/* handler: EventListener */) => {},\n getViewportWidth: () => /* number */ 0,\n getViewportScrollY: () => /* number */ 0,\n getOffsetHeight: () => /* number */ 0,\n getFirstRowElementOffsetHeight: () => /* number */ 0,\n notifyChange: (/* evtData: {flexibleExpansionRatio: number} */) => {},\n setStyle: (/* property: string, value: string */) => {},\n setStyleForTitleElement: (/* property: string, value: string */) => {},\n setStyleForFlexibleRowElement: (/* property: string, value: string */) => {},\n setStyleForFixedAdjustElement: (/* property: string, value: string */) => {},\n };\n }\n\n constructor(adapter) {\n super(Object.assign(MDCToolbarFoundation.defaultAdapter, adapter));\n this.resizeHandler_ = () => this.checkRowHeight_();\n this.scrollHandler_ = () => this.updateToolbarStyles_();\n this.checkRowHeightFrame_ = 0;\n this.scrollFrame_ = 0;\n this.executedLastChange_ = false;\n\n this.calculations_ = {\n toolbarRowHeight: 0,\n // Calculated Height ratio. We use ratio to calculate corresponding heights in resize event.\n toolbarRatio: 0, // The ratio of toolbar height to row height\n flexibleExpansionRatio: 0, // The ratio of flexible space height to row height\n maxTranslateYRatio: 0, // The ratio of max toolbar move up distance to row height\n scrollThresholdRatio: 0, // The ratio of max scrollTop that we should listen to to row height\n // Derived Heights based on the above key ratios.\n toolbarHeight: 0,\n flexibleExpansionHeight: 0, // Flexible row minus toolbar height (derived)\n maxTranslateYDistance: 0, // When toolbar only fix last row (derived)\n scrollThreshold: 0,\n };\n // Toolbar fixed behavior\n // If toolbar is fixed\n this.fixed_ = false;\n // If fixed is targeted only at the last row\n this.fixedLastrow_ = false;\n // Toolbar flexible behavior\n // If the first row is flexible\n this.hasFlexibleRow_ = false;\n // If use the default behavior\n this.useFlexDefaultBehavior_ = false;\n }\n\n init() {\n this.fixed_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FIXED);\n this.fixedLastrow_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FIXED_LASTROW) & this.fixed_;\n this.hasFlexibleRow_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.TOOLBAR_ROW_FLEXIBLE);\n if (this.hasFlexibleRow_) {\n this.useFlexDefaultBehavior_ = this.adapter_.hasClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_DEFAULT_BEHAVIOR);\n }\n this.initKeyRatio_();\n this.setKeyHeights_();\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n }\n\n updateAdjustElementStyles() {\n if (this.fixed_) {\n this.adapter_.setStyleForFixedAdjustElement('margin-top', `${this.calculations_.toolbarHeight}px`);\n }\n }\n\n getFlexibleExpansionRatio_(scrollTop) {\n // To prevent division by zero when there is no flexibleExpansionHeight\n const delta = 0.0001;\n return Math.max(0, 1 - scrollTop / (this.calculations_.flexibleExpansionHeight + delta));\n }\n\n checkRowHeight_() {\n cancelAnimationFrame(this.checkRowHeightFrame_);\n this.checkRowHeightFrame_ = requestAnimationFrame(() => this.setKeyHeights_());\n }\n\n setKeyHeights_() {\n const newToolbarRowHeight = this.getRowHeight_();\n if (newToolbarRowHeight !== this.calculations_.toolbarRowHeight) {\n this.calculations_.toolbarRowHeight = newToolbarRowHeight;\n this.calculations_.toolbarHeight = this.calculations_.toolbarRatio * this.calculations_.toolbarRowHeight;\n this.calculations_.flexibleExpansionHeight =\n this.calculations_.flexibleExpansionRatio * this.calculations_.toolbarRowHeight;\n this.calculations_.maxTranslateYDistance =\n this.calculations_.maxTranslateYRatio * this.calculations_.toolbarRowHeight;\n this.calculations_.scrollThreshold =\n this.calculations_.scrollThresholdRatio * this.calculations_.toolbarRowHeight;\n this.updateAdjustElementStyles();\n this.updateToolbarStyles_();\n }\n }\n\n updateToolbarStyles_() {\n cancelAnimationFrame(this.scrollFrame_);\n this.scrollFrame_ = requestAnimationFrame(() => {\n const scrollTop = this.adapter_.getViewportScrollY();\n const hasScrolledOutOfThreshold = this.scrolledOutOfThreshold_(scrollTop);\n\n if (hasScrolledOutOfThreshold && this.executedLastChange_) {\n return;\n }\n\n const flexibleExpansionRatio = this.getFlexibleExpansionRatio_(scrollTop);\n\n this.updateToolbarFlexibleState_(flexibleExpansionRatio);\n if (this.fixedLastrow_) {\n this.updateToolbarFixedState_(scrollTop);\n }\n if (this.hasFlexibleRow_) {\n this.updateFlexibleRowElementStyles_(flexibleExpansionRatio);\n }\n this.executedLastChange_ = hasScrolledOutOfThreshold;\n this.adapter_.notifyChange({flexibleExpansionRatio: flexibleExpansionRatio});\n });\n }\n\n scrolledOutOfThreshold_(scrollTop) {\n return scrollTop > this.calculations_.scrollThreshold;\n }\n\n initKeyRatio_() {\n const toolbarRowHeight = this.getRowHeight_();\n const firstRowMaxRatio = this.adapter_.getFirstRowElementOffsetHeight() / toolbarRowHeight;\n this.calculations_.toolbarRatio = this.adapter_.getOffsetHeight() / toolbarRowHeight;\n this.calculations_.flexibleExpansionRatio = firstRowMaxRatio - 1;\n this.calculations_.maxTranslateYRatio =\n this.fixedLastrow_ ? this.calculations_.toolbarRatio - firstRowMaxRatio : 0;\n this.calculations_.scrollThresholdRatio =\n (this.fixedLastrow_ ? this.calculations_.toolbarRatio : firstRowMaxRatio) - 1;\n }\n\n getRowHeight_() {\n const breakpoint = MDCToolbarFoundation.numbers.TOOLBAR_MOBILE_BREAKPOINT;\n return this.adapter_.getViewportWidth() < breakpoint ?\n MDCToolbarFoundation.numbers.TOOLBAR_ROW_MOBILE_HEIGHT : MDCToolbarFoundation.numbers.TOOLBAR_ROW_HEIGHT;\n }\n\n updateToolbarFlexibleState_(flexibleExpansionRatio) {\n this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MAX);\n this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MIN);\n if (flexibleExpansionRatio === 1) {\n this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MAX);\n } else if (flexibleExpansionRatio === 0) {\n this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FLEXIBLE_MIN);\n }\n }\n\n updateToolbarFixedState_(scrollTop) {\n const translateDistance = Math.max(0, Math.min(\n scrollTop - this.calculations_.flexibleExpansionHeight,\n this.calculations_.maxTranslateYDistance));\n this.adapter_.setStyle('transform', `translateY(${-translateDistance}px)`);\n\n if (translateDistance === this.calculations_.maxTranslateYDistance) {\n this.adapter_.addClass(MDCToolbarFoundation.cssClasses.FIXED_AT_LAST_ROW);\n } else {\n this.adapter_.removeClass(MDCToolbarFoundation.cssClasses.FIXED_AT_LAST_ROW);\n }\n }\n\n updateFlexibleRowElementStyles_(flexibleExpansionRatio) {\n if (this.fixed_) {\n const height = this.calculations_.flexibleExpansionHeight * flexibleExpansionRatio;\n this.adapter_.setStyleForFlexibleRowElement('height',\n `${height + this.calculations_.toolbarRowHeight}px`);\n }\n if (this.useFlexDefaultBehavior_) {\n this.updateElementStylesDefaultBehavior_(flexibleExpansionRatio);\n }\n }\n\n updateElementStylesDefaultBehavior_(flexibleExpansionRatio) {\n const maxTitleSize = MDCToolbarFoundation.numbers.MAX_TITLE_SIZE;\n const minTitleSize = MDCToolbarFoundation.numbers.MIN_TITLE_SIZE;\n const currentTitleSize = (maxTitleSize - minTitleSize) * flexibleExpansionRatio + minTitleSize;\n\n this.adapter_.setStyleForTitleElement('font-size', `${currentTitleSize}rem`);\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/toolbar/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/toolbar/index.js":
/*!*************************************************!*\
!*** ./node_modules/@material/toolbar/index.js ***!
\*************************************************/
/*! exports provided: MDCToolbarFoundation, MDCToolbar */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCToolbar\", function() { return MDCToolbar; });\n/* harmony import */ var _material_base_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @material/base/index */ \"./node_modules/@material/base/index.js\");\n/* harmony import */ var _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/toolbar/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCToolbarFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]; });\n\n/**\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\nclass MDCToolbar extends _material_base_index__WEBPACK_IMPORTED_MODULE_0__[\"MDCComponent\"] {\n static attachTo(root) {\n return new MDCToolbar(root);\n }\n\n get firstRowElement_() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.FIRST_ROW_SELECTOR);\n }\n\n get titleElement_() {\n return this.root_.querySelector(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.TITLE_SELECTOR);\n }\n\n set fixedAdjustElement(fixedAdjustElement) {\n this.fixedAdjustElement_ = fixedAdjustElement;\n this.foundation_.updateAdjustElementStyles();\n }\n\n get fixedAdjustElement() {\n return this.fixedAdjustElement_;\n }\n\n initialize() {\n this.ripples_ = [].map.call(this.root_.querySelectorAll(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.ICON_SELECTOR), (icon) => {\n const ripple = _material_ripple_index__WEBPACK_IMPORTED_MODULE_1__[\"MDCRipple\"].attachTo(icon);\n ripple.unbounded = true;\n return ripple;\n });\n }\n\n destroy() {\n this.ripples_.forEach((ripple) => {\n ripple.destroy();\n });\n super.destroy();\n }\n\n\n getDefaultFoundation() {\n return new _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"]({\n hasClass: (className) => this.root_.classList.contains(className),\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n registerScrollHandler: (handler) => window.addEventListener('scroll', handler),\n deregisterScrollHandler: (handler) => window.removeEventListener('scroll', handler),\n registerResizeHandler: (handler) => window.addEventListener('resize', handler),\n deregisterResizeHandler: (handler) => window.removeEventListener('resize', handler),\n getViewportWidth: () => window.innerWidth,\n getViewportScrollY: () => window.pageYOffset,\n getOffsetHeight: () => this.root_.offsetHeight,\n getFirstRowElementOffsetHeight: () => this.firstRowElement_.offsetHeight,\n notifyChange: (evtData) => this.emit(_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"].strings.CHANGE_EVENT, evtData),\n setStyle: (property, value) => this.root_.style.setProperty(property, value),\n setStyleForTitleElement: (property, value) => this.titleElement_.style.setProperty(property, value),\n setStyleForFlexibleRowElement: (property, value) => this.firstRowElement_.style.setProperty(property, value),\n setStyleForFixedAdjustElement: (property, value) => {\n if (this.fixedAdjustElement) {\n this.fixedAdjustElement.style.setProperty(property, value);\n }\n },\n });\n }\n}\n\n\n//# sourceURL=webpack:///./node_modules/@material/toolbar/index.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/adapter.js":
/*!*******************************************************!*\
!*** ./node_modules/@material/top-app-bar/adapter.js ***!
\*******************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/* eslint no-unused-vars: [2, {\"args\": \"none\"}] */\n\n/**\n * Adapter for MDC Top App Bar\n *\n * Defines the shape of the adapter expected by the foundation. Implement this\n * adapter to integrate the Top App Bar into your framework. See\n * https://github.com/material-components/material-components-web/blob/master/docs/authoring-components.md\n * for more information.\n *\n * @record\n */\nclass MDCTopAppBarAdapter {\n /**\n * Adds a class to the root Element.\n * @param {string} className\n */\n addClass(className) {}\n\n /**\n * Removes a class from the root Element.\n * @param {string} className\n */\n removeClass(className) {}\n\n /**\n * Returns true if the root Element contains the given class.\n * @param {string} className\n * @return {boolean}\n */\n hasClass(className) {}\n\n /**\n * Sets the specified inline style property on the root Element to the given value.\n * @param {string} property\n * @param {string} value\n */\n setStyle(property, value) {}\n\n /**\n * Gets the height of the top app bar.\n * @return {number}\n */\n getTopAppBarHeight() {}\n\n /**\n * Registers an event handler on the navigation icon element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n registerNavigationIconInteractionHandler(type, handler) {}\n\n /**\n * Deregisters an event handler on the navigation icon element for a given event.\n * @param {string} type\n * @param {function(!Event): undefined} handler\n */\n deregisterNavigationIconInteractionHandler(type, handler) {}\n\n /**\n * Emits an event when the navigation icon is clicked.\n */\n notifyNavigationIconClicked() {}\n\n /** @param {function(!Event)} handler */\n registerScrollHandler(handler) {}\n\n /** @param {function(!Event)} handler */\n deregisterScrollHandler(handler) {}\n\n /** @param {function(!Event)} handler */\n registerResizeHandler(handler) {}\n\n /** @param {function(!Event)} handler */\n deregisterResizeHandler(handler) {}\n\n /** @return {number} */\n getViewportScrollY() {}\n\n /** @return {number} */\n getTotalActionItems() {}\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTopAppBarAdapter);\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/adapter.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/constants.js":
/*!*********************************************************!*\
!*** ./node_modules/@material/top-app-bar/constants.js ***!
\*********************************************************/
/*! exports provided: strings, cssClasses, numbers */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"strings\", function() { return strings; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cssClasses\", function() { return cssClasses; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"numbers\", function() { return numbers; });\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/** @enum {string} */\nconst cssClasses = {\n FIXED_CLASS: 'mdc-top-app-bar--fixed',\n FIXED_SCROLLED_CLASS: 'mdc-top-app-bar--fixed-scrolled',\n SHORT_CLASS: 'mdc-top-app-bar--short',\n SHORT_HAS_ACTION_ITEM_CLASS: 'mdc-top-app-bar--short-has-action-item',\n SHORT_COLLAPSED_CLASS: 'mdc-top-app-bar--short-collapsed',\n};\n\n/** @enum {number} */\nconst numbers = {\n DEBOUNCE_THROTTLE_RESIZE_TIME_MS: 100,\n MAX_TOP_APP_BAR_HEIGHT: 128,\n};\n\n/** @enum {string} */\nconst strings = {\n ACTION_ITEM_SELECTOR: '.mdc-top-app-bar__action-item',\n NAVIGATION_EVENT: 'MDCTopAppBar:nav',\n NAVIGATION_ICON_SELECTOR: '.mdc-top-app-bar__navigation-icon',\n ROOT_SELECTOR: '.mdc-top-app-bar',\n TITLE_SELECTOR: '.mdc-top-app-bar__title',\n};\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/constants.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/fixed/foundation.js":
/*!****************************************************************!*\
!*** ./node_modules/@material/top-app-bar/fixed/foundation.js ***!
\****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../constants */ \"./node_modules/@material/top-app-bar/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../adapter */ \"./node_modules/@material/top-app-bar/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../foundation */ \"./node_modules/@material/top-app-bar/foundation.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCTopAppBarFoundation}\n * @final\n */\nclass MDCFixedTopAppBarFoundation extends _foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"] {\n /**\n * @param {!MDCTopAppBarAdapter} adapter\n */\n constructor(adapter) {\n super(adapter);\n /** State variable for the previous scroll iteration top app bar state */\n this.wasScrolled_ = false;\n\n this.scrollHandler_ = () => this.fixedScrollHandler_();\n }\n\n init() {\n super.init();\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n }\n\n destroy() {\n super.destroy();\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n }\n\n /**\n * Scroll handler for applying/removing the modifier class\n * on the fixed top app bar.\n */\n fixedScrollHandler_() {\n const currentScroll = this.adapter_.getViewportScrollY();\n\n if (currentScroll <= 0) {\n if (this.wasScrolled_) {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = false;\n }\n } else {\n if (!this.wasScrolled_) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"].FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = true;\n }\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCFixedTopAppBarFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/fixed/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/foundation.js":
/*!**********************************************************!*\
!*** ./node_modules/@material/top-app-bar/foundation.js ***!
\**********************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/top-app-bar/constants.js\");\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/top-app-bar/adapter.js\");\n/* harmony import */ var _material_base_foundation__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/base/foundation */ \"./node_modules/@material/base/foundation.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCFoundation}\n */\nclass MDCTopAppBarBaseFoundation extends _material_base_foundation__WEBPACK_IMPORTED_MODULE_2__[\"default\"] {\n /** @return enum {string} */\n static get strings() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"strings\"];\n }\n\n /** @return enum {string} */\n static get cssClasses() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"cssClasses\"];\n }\n\n /** @return enum {number} */\n static get numbers() {\n return _constants__WEBPACK_IMPORTED_MODULE_0__[\"numbers\"];\n }\n\n /**\n * {@see MDCTopAppBarAdapter} for typing information on parameters and return\n * types.\n * @return {!MDCTopAppBarAdapter}\n */\n static get defaultAdapter() {\n return /** @type {!MDCTopAppBarAdapter} */ ({\n hasClass: (/* className: string */) => {},\n addClass: (/* className: string */) => {},\n removeClass: (/* className: string */) => {},\n setStyle: (/* property: string, value: string */) => {},\n getTopAppBarHeight: () => {},\n registerNavigationIconInteractionHandler: (/* type: string, handler: EventListener */) => {},\n deregisterNavigationIconInteractionHandler: (/* type: string, handler: EventListener */) => {},\n notifyNavigationIconClicked: () => {},\n registerScrollHandler: (/* handler: EventListener */) => {},\n deregisterScrollHandler: (/* handler: EventListener */) => {},\n registerResizeHandler: (/* handler: EventListener */) => {},\n deregisterResizeHandler: (/* handler: EventListener */) => {},\n getViewportScrollY: () => /* number */ 0,\n getTotalActionItems: () => /* number */ 0,\n });\n }\n\n /**\n * @param {!MDCTopAppBarAdapter} adapter\n */\n constructor(/** @type {!MDCTopAppBarAdapter} */ adapter) {\n super(Object.assign(MDCTopAppBarBaseFoundation.defaultAdapter, adapter));\n\n this.navClickHandler_ = () => this.adapter_.notifyNavigationIconClicked();\n }\n\n init() {\n this.adapter_.registerNavigationIconInteractionHandler('click', this.navClickHandler_);\n }\n\n destroy() {\n this.adapter_.deregisterNavigationIconInteractionHandler('click', this.navClickHandler_);\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTopAppBarBaseFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/index.js":
/*!*****************************************************!*\
!*** ./node_modules/@material/top-app-bar/index.js ***!
\*****************************************************/
/*! exports provided: MDCTopAppBar, MDCTopAppBarBaseFoundation, MDCTopAppBarFoundation, MDCFixedTopAppBarFoundation, MDCShortTopAppBarFoundation */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"MDCTopAppBar\", function() { return MDCTopAppBar; });\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./adapter */ \"./node_modules/@material/top-app-bar/adapter.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_ripple_index__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @material/ripple/index */ \"./node_modules/@material/ripple/index.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./constants */ \"./node_modules/@material/top-app-bar/constants.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./foundation */ \"./node_modules/@material/top-app-bar/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTopAppBarBaseFoundation\", function() { return _foundation__WEBPACK_IMPORTED_MODULE_4__[\"default\"]; });\n\n/* harmony import */ var _fixed_foundation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fixed/foundation */ \"./node_modules/@material/top-app-bar/fixed/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCFixedTopAppBarFoundation\", function() { return _fixed_foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"]; });\n\n/* harmony import */ var _short_foundation__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./short/foundation */ \"./node_modules/@material/top-app-bar/short/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCShortTopAppBarFoundation\", function() { return _short_foundation__WEBPACK_IMPORTED_MODULE_6__[\"default\"]; });\n\n/* harmony import */ var _standard_foundation__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./standard/foundation */ \"./node_modules/@material/top-app-bar/standard/foundation.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"MDCTopAppBarFoundation\", function() { return _standard_foundation__WEBPACK_IMPORTED_MODULE_7__[\"default\"]; });\n\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n\n\n\n\n\n/**\n * @extends {MDCComponent}\n * @final\n */\nclass MDCTopAppBar extends _material_base_component__WEBPACK_IMPORTED_MODULE_1__[\"default\"] {\n /**\n * @param {...?} args\n */\n constructor(...args) {\n super(...args);\n /** @private {?Element} */\n this.navIcon_;\n /** @type {?Array} */\n this.iconRipples_;\n }\n\n initialize(\n rippleFactory = (el) => _material_ripple_index__WEBPACK_IMPORTED_MODULE_2__[\"MDCRipple\"].attachTo(el)) {\n this.navIcon_ = this.root_.querySelector(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].NAVIGATION_ICON_SELECTOR);\n\n // Get all icons in the toolbar and instantiate the ripples\n const icons = [].slice.call(this.root_.querySelectorAll(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ACTION_ITEM_SELECTOR));\n if (this.navIcon_) {\n icons.push(this.navIcon_);\n }\n\n this.iconRipples_ = icons.map((icon) => {\n const ripple = rippleFactory(icon);\n ripple.unbounded = true;\n return ripple;\n });\n }\n\n destroy() {\n this.iconRipples_.forEach((iconRipple) => iconRipple.destroy());\n super.destroy();\n }\n\n /**\n * @param {!Element} root\n * @return {!MDCTopAppBar}\n */\n static attachTo(root) {\n return new MDCTopAppBar(root);\n }\n\n /**\n * @return {!MDCTopAppBarBaseFoundation}\n */\n getDefaultFoundation() {\n /** @type {!MDCTopAppBarAdapter} */\n const adapter = /** @type {!MDCTopAppBarAdapter} */ (Object.assign({\n hasClass: (className) => this.root_.classList.contains(className),\n addClass: (className) => this.root_.classList.add(className),\n removeClass: (className) => this.root_.classList.remove(className),\n setStyle: (property, value) => this.root_.style.setProperty(property, value),\n getTopAppBarHeight: () => this.root_.clientHeight,\n registerNavigationIconInteractionHandler: (evtType, handler) => {\n if (this.navIcon_) {\n this.navIcon_.addEventListener(evtType, handler);\n }\n },\n deregisterNavigationIconInteractionHandler: (evtType, handler) => {\n if (this.navIcon_) {\n this.navIcon_.removeEventListener(evtType, handler);\n }\n },\n notifyNavigationIconClicked: () => {\n this.emit(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].NAVIGATION_EVENT, {});\n },\n registerScrollHandler: (handler) => window.addEventListener('scroll', handler),\n deregisterScrollHandler: (handler) => window.removeEventListener('scroll', handler),\n registerResizeHandler: (handler) => window.addEventListener('resize', handler),\n deregisterResizeHandler: (handler) => window.removeEventListener('resize', handler),\n getViewportScrollY: () => window.pageYOffset,\n getTotalActionItems: () =>\n this.root_.querySelectorAll(_constants__WEBPACK_IMPORTED_MODULE_3__[\"strings\"].ACTION_ITEM_SELECTOR).length,\n })\n );\n\n /** @type {!MDCTopAppBarBaseFoundation} */\n let foundation;\n if (this.root_.classList.contains(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].SHORT_CLASS)) {\n foundation = new _short_foundation__WEBPACK_IMPORTED_MODULE_6__[\"default\"](adapter);\n } else if (this.root_.classList.contains(_constants__WEBPACK_IMPORTED_MODULE_3__[\"cssClasses\"].FIXED_CLASS)) {\n foundation = new _fixed_foundation__WEBPACK_IMPORTED_MODULE_5__[\"default\"](adapter);\n } else {\n foundation = new _standard_foundation__WEBPACK_IMPORTED_MODULE_7__[\"default\"](adapter);\n }\n\n return foundation;\n }\n}\n\n\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/index.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/short/foundation.js":
/*!****************************************************************!*\
!*** ./node_modules/@material/top-app-bar/short/foundation.js ***!
\****************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../adapter */ \"./node_modules/@material/top-app-bar/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../foundation */ \"./node_modules/@material/top-app-bar/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants */ \"./node_modules/@material/top-app-bar/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\n/**\n * @extends {MDCTopAppBarBaseFoundation}\n * @final\n */\nclass MDCShortTopAppBarFoundation extends _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"] {\n /**\n * @param {!MDCTopAppBarAdapter} adapter\n */\n constructor(adapter) {\n super(adapter);\n // State variable for the current top app bar state\n this.isCollapsed = false;\n\n this.scrollHandler_ = () => this.shortAppBarScrollHandler_();\n }\n\n init() {\n super.init();\n const isAlwaysCollapsed = this.adapter_.hasClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SHORT_COLLAPSED_CLASS);\n\n if (this.adapter_.getTotalActionItems() > 0) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SHORT_HAS_ACTION_ITEM_CLASS);\n }\n\n if (!isAlwaysCollapsed) {\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n this.shortAppBarScrollHandler_();\n }\n }\n\n destroy() {\n super.destroy();\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n }\n\n\n /**\n * Scroll handler for applying/removing the collapsed modifier class\n * on the short top app bar.\n * @private\n */\n shortAppBarScrollHandler_() {\n const currentScroll = this.adapter_.getViewportScrollY();\n\n if (currentScroll <= 0) {\n if (this.isCollapsed) {\n this.adapter_.removeClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SHORT_COLLAPSED_CLASS);\n this.isCollapsed = false;\n }\n } else {\n if (!this.isCollapsed) {\n this.adapter_.addClass(_constants__WEBPACK_IMPORTED_MODULE_2__[\"cssClasses\"].SHORT_COLLAPSED_CLASS);\n this.isCollapsed = true;\n }\n }\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCShortTopAppBarFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/short/foundation.js?");
/***/ }),
/***/ "./node_modules/@material/top-app-bar/standard/foundation.js":
/*!*******************************************************************!*\
!*** ./node_modules/@material/top-app-bar/standard/foundation.js ***!
\*******************************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _adapter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../adapter */ \"./node_modules/@material/top-app-bar/adapter.js\");\n/* harmony import */ var _foundation__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../foundation */ \"./node_modules/@material/top-app-bar/foundation.js\");\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../constants */ \"./node_modules/@material/top-app-bar/constants.js\");\n/**\n * @license\n * Copyright 2018 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n\n\n\n\nconst INITIAL_VALUE = 0;\n/**\n * @extends {MDCTopAppBarBaseFoundation}\n * @final\n */\nclass MDCTopAppBarFoundation extends _foundation__WEBPACK_IMPORTED_MODULE_1__[\"default\"] {\n /**\n * @param {!MDCTopAppBarAdapter} adapter\n */\n constructor(adapter) {\n super(adapter);\n /**\n * Used for diffs of current scroll position vs previous scroll position\n * @private {number}\n */\n this.lastScrollPosition_ = this.adapter_.getViewportScrollY();\n\n /**\n * Used to verify when the top app bar is completely showing or completely hidden\n * @private {number}\n */\n this.topAppBarHeight_ = this.adapter_.getTopAppBarHeight();\n\n /**\n * wasDocked_ is used to indicate if the top app bar was docked in the previous\n * scroll handler iteration.\n * @private {boolean}\n */\n this.wasDocked_ = true;\n\n /**\n * isDockedShowing_ is used to indicate if the top app bar is docked in the fully\n * shown position.\n * @private {boolean}\n */\n this.isDockedShowing_ = true;\n\n /**\n * Variable for current scroll position of the top app bar\n * @private {number}\n */\n this.currentAppBarOffsetTop_ = 0;\n\n /**\n * Used to prevent the top app bar from being scrolled out of view during resize events\n * @private {boolean} */\n this.isCurrentlyBeingResized_ = false;\n\n /**\n * The timeout that's used to throttle the resize events\n * @private {number}\n */\n this.resizeThrottleId_ = INITIAL_VALUE;\n\n /**\n * The timeout that's used to debounce toggling the isCurrentlyBeingResized_ variable after a resize\n * @private {number}\n */\n this.resizeDebounceId_ = INITIAL_VALUE;\n\n this.scrollHandler_ = () => this.topAppBarScrollHandler_();\n this.resizeHandler_ = () => this.topAppBarResizeHandler_();\n }\n\n init() {\n super.init();\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n\n destroy() {\n super.destroy();\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n this.adapter_.setStyle('top', '');\n }\n\n /**\n * Function to determine if the DOM needs to update.\n * @return {boolean}\n * @private\n */\n checkForUpdate_() {\n const offscreenBoundaryTop = -this.topAppBarHeight_;\n const hasAnyPixelsOffscreen = this.currentAppBarOffsetTop_ < 0;\n const hasAnyPixelsOnscreen = this.currentAppBarOffsetTop_ > offscreenBoundaryTop;\n const partiallyShowing = hasAnyPixelsOffscreen && hasAnyPixelsOnscreen;\n\n // If it's partially showing, it can't be docked.\n if (partiallyShowing) {\n this.wasDocked_ = false;\n } else {\n // Not previously docked and not partially showing, it's now docked.\n if (!this.wasDocked_) {\n this.wasDocked_ = true;\n return true;\n } else if (this.isDockedShowing_ !== hasAnyPixelsOnscreen) {\n this.isDockedShowing_ = hasAnyPixelsOnscreen;\n return true;\n }\n }\n\n return partiallyShowing;\n }\n\n /**\n * Function to move the top app bar if needed.\n * @private\n */\n moveTopAppBar_() {\n if (this.checkForUpdate_()) {\n // Once the top app bar is fully hidden we use the max potential top app bar height as our offset\n // so the top app bar doesn't show if the window resizes and the new height > the old height.\n let offset = this.currentAppBarOffsetTop_;\n if (Math.abs(offset) >= this.topAppBarHeight_) {\n offset = -_constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].MAX_TOP_APP_BAR_HEIGHT;\n }\n\n this.adapter_.setStyle('top', offset + 'px');\n }\n }\n\n /**\n * Scroll handler for the default scroll behavior of the top app bar.\n * @private\n */\n topAppBarScrollHandler_() {\n const currentScrollPosition = Math.max(this.adapter_.getViewportScrollY(), 0);\n const diff = currentScrollPosition - this.lastScrollPosition_;\n this.lastScrollPosition_ = currentScrollPosition;\n\n // If the window is being resized the lastScrollPosition_ needs to be updated but the\n // current scroll of the top app bar should stay in the same position.\n if (!this.isCurrentlyBeingResized_) {\n this.currentAppBarOffsetTop_ -= diff;\n\n if (this.currentAppBarOffsetTop_ > 0) {\n this.currentAppBarOffsetTop_ = 0;\n } else if (Math.abs(this.currentAppBarOffsetTop_) > this.topAppBarHeight_) {\n this.currentAppBarOffsetTop_ = -this.topAppBarHeight_;\n }\n\n this.moveTopAppBar_();\n }\n }\n\n /**\n * Top app bar resize handler that throttle/debounce functions that execute updates.\n * @private\n */\n topAppBarResizeHandler_() {\n // Throttle resize events 10 p/s\n if (!this.resizeThrottleId_) {\n this.resizeThrottleId_ = setTimeout(() => {\n this.resizeThrottleId_ = INITIAL_VALUE;\n this.throttledResizeHandler_();\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n }\n\n this.isCurrentlyBeingResized_ = true;\n\n if (this.resizeDebounceId_) {\n clearTimeout(this.resizeDebounceId_);\n }\n\n this.resizeDebounceId_ = setTimeout(() => {\n this.topAppBarScrollHandler_();\n this.isCurrentlyBeingResized_ = false;\n this.resizeDebounceId_ = INITIAL_VALUE;\n }, _constants__WEBPACK_IMPORTED_MODULE_2__[\"numbers\"].DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n }\n\n /**\n * Throttled function that updates the top app bar scrolled values if the\n * top app bar height changes.\n * @private\n */\n throttledResizeHandler_() {\n const currentHeight = this.adapter_.getTopAppBarHeight();\n if (this.topAppBarHeight_ !== currentHeight) {\n this.wasDocked_ = false;\n\n // Since the top app bar has a different height depending on the screen width, this\n // will ensure that the top app bar remains in the correct location if\n // completely hidden and a resize makes the top app bar a different height.\n this.currentAppBarOffsetTop_ -= this.topAppBarHeight_ - currentHeight;\n this.topAppBarHeight_ = currentHeight;\n }\n this.topAppBarScrollHandler_();\n }\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (MDCTopAppBarFoundation);\n\n\n//# sourceURL=webpack:///./node_modules/@material/top-app-bar/standard/foundation.js?");
/***/ }),
/***/ "./node_modules/base64-js/index.js":
/*!*****************************************!*\
!*** ./node_modules/base64-js/index.js ***!
\*****************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\n// Support decoding URL-safe base64 strings, as Node.js does.\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction getLens (b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // Trim off extra bytes after placeholder bytes are found\n // See: https://github.com/beatgammit/base64-js/issues/42\n var validLen = b64.indexOf('=')\n if (validLen === -1) validLen = len\n\n var placeHoldersLen = validLen === len\n ? 0\n : 4 - (validLen % 4)\n\n return [validLen, placeHoldersLen]\n}\n\n// base64 is 4/3 + up to two characters of the original data\nfunction byteLength (b64) {\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction _byteLength (b64, validLen, placeHoldersLen) {\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n}\n\nfunction toByteArray (b64) {\n var tmp\n var lens = getLens(b64)\n var validLen = lens[0]\n var placeHoldersLen = lens[1]\n\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\n\n var curByte = 0\n\n // if there are placeholders, only get up to the last complete 4 chars\n var len = placeHoldersLen > 0\n ? validLen - 4\n : validLen\n\n for (var i = 0; i < len; i += 4) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 18) |\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\n revLookup[b64.charCodeAt(i + 3)]\n arr[curByte++] = (tmp >> 16) & 0xFF\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 2) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 2) |\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[curByte++] = tmp & 0xFF\n }\n\n if (placeHoldersLen === 1) {\n tmp =\n (revLookup[b64.charCodeAt(i)] << 10) |\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[curByte++] = (tmp >> 8) & 0xFF\n arr[curByte++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] +\n lookup[num >> 12 & 0x3F] +\n lookup[num >> 6 & 0x3F] +\n lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp =\n ((uint8[i] << 16) & 0xFF0000) +\n ((uint8[i + 1] << 8) & 0xFF00) +\n (uint8[i + 2] & 0xFF)\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(\n uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)\n ))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n parts.push(\n lookup[tmp >> 2] +\n lookup[(tmp << 4) & 0x3F] +\n '=='\n )\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\n parts.push(\n lookup[tmp >> 10] +\n lookup[(tmp >> 4) & 0x3F] +\n lookup[(tmp << 2) & 0x3F] +\n '='\n )\n }\n\n return parts.join('')\n}\n\n\n//# sourceURL=webpack:///./node_modules/base64-js/index.js?");
/***/ }),
/***/ "./node_modules/buffer/index.js":
/*!**************************************!*\
!*** ./node_modules/buffer/index.js ***!
\**************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/* WEBPACK VAR INJECTION */(function(global) {/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n\n\nvar base64 = __webpack_require__(/*! base64-js */ \"./node_modules/base64-js/index.js\")\nvar ieee754 = __webpack_require__(/*! ieee754 */ \"./node_modules/ieee754/index.js\")\nvar isArray = __webpack_require__(/*! isarray */ \"./node_modules/isarray/index.js\")\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\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/buffer/index.js?");
/***/ }),
/***/ "./node_modules/classnames/index.js":
/*!******************************************!*\
!*** ./node_modules/classnames/index.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/*!\n Copyright (c) 2017 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg) && arg.length) {\n\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\tif (inner) {\n\t\t\t\t\tclasses.push(inner);\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif ( true && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n//# sourceURL=webpack:///./node_modules/classnames/index.js?");
/***/ }),
/***/ "./node_modules/css-vendor/lib/camelize.js":
/*!*************************************************!*\
!*** ./node_modules/css-vendor/lib/camelize.js ***!
\*************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = camelize;\nvar regExp = /[-\\s]+(.)?/g;\n\n/**\n * Convert dash separated strings to camel cased.\n *\n * @param {String} str\n * @return {String}\n */\nfunction camelize(str) {\n return str.replace(regExp, toUpper);\n}\n\nfunction toUpper(match, c) {\n return c ? c.toUpperCase() : '';\n}\n\n//# sourceURL=webpack:///./node_modules/css-vendor/lib/camelize.js?");
/***/ }),
/***/ "./node_modules/css-vendor/lib/index.js":
/*!**********************************************!*\
!*** ./node_modules/css-vendor/lib/index.js ***!
\**********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.supportedValue = exports.supportedProperty = exports.prefix = undefined;\n\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./node_modules/css-vendor/lib/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _supportedProperty = __webpack_require__(/*! ./supported-property */ \"./node_modules/css-vendor/lib/supported-property.js\");\n\nvar _supportedProperty2 = _interopRequireDefault(_supportedProperty);\n\nvar _supportedValue = __webpack_require__(/*! ./supported-value */ \"./node_modules/css-vendor/lib/supported-value.js\");\n\nvar _supportedValue2 = _interopRequireDefault(_supportedValue);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nexports['default'] = {\n prefix: _prefix2['default'],\n supportedProperty: _supportedProperty2['default'],\n supportedValue: _supportedValue2['default']\n}; /**\n * CSS Vendor prefix detection and property feature testing.\n *\n * @copyright Oleg Slobodskoi 2015\n * @website https://github.com/jsstyles/css-vendor\n * @license MIT\n */\n\nexports.prefix = _prefix2['default'];\nexports.supportedProperty = _supportedProperty2['default'];\nexports.supportedValue = _supportedValue2['default'];\n\n//# sourceURL=webpack:///./node_modules/css-vendor/lib/index.js?");
/***/ }),
/***/ "./node_modules/css-vendor/lib/prefix.js":
/*!***********************************************!*\
!*** ./node_modules/css-vendor/lib/prefix.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar js = ''; /**\n * Export javascript style and css style vendor prefixes.\n * Based on \"transform\" support test.\n */\n\nvar css = '';\n\n// We should not do anything if required serverside.\nif (_isInBrowser2['default']) {\n // Order matters. We need to check Webkit the last one because\n // other vendors use to add Webkit prefixes to some properties\n var jsCssMap = {\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-',\n Webkit: '-webkit-'\n };\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n js = key;\n css = jsCssMap[key];\n break;\n }\n }\n}\n\n/**\n * Vendor prefix string for the current browser.\n *\n * @type {{js: String, css: String}}\n * @api public\n */\nexports['default'] = { js: js, css: css };\n\n//# sourceURL=webpack:///./node_modules/css-vendor/lib/prefix.js?");
/***/ }),
/***/ "./node_modules/css-vendor/lib/supported-property.js":
/*!***********************************************************!*\
!*** ./node_modules/css-vendor/lib/supported-property.js ***!
\***********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = supportedProperty;\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./node_modules/css-vendor/lib/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nvar _camelize = __webpack_require__(/*! ./camelize */ \"./node_modules/css-vendor/lib/camelize.js\");\n\nvar _camelize2 = _interopRequireDefault(_camelize);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar el = void 0;\nvar cache = {};\n\nif (_isInBrowser2['default']) {\n el = document.createElement('p');\n\n /**\n * We test every property on vendor prefix requirement.\n * Once tested, result is cached. It gives us up to 70% perf boost.\n * http://jsperf.com/element-style-object-access-vs-plain-object\n *\n * Prefill cache with known css properties to reduce amount of\n * properties we need to feature test at runtime.\n * http://davidwalsh.name/vendor-prefix\n */\n var computed = window.getComputedStyle(document.documentElement, '');\n for (var key in computed) {\n if (!isNaN(key)) cache[computed[key]] = computed[key];\n }\n}\n\n/**\n * Test if a property is supported, returns supported property with vendor\n * prefix if required. Returns `false` if not supported.\n *\n * @param {String} prop dash separated\n * @return {String|Boolean}\n * @api public\n */\nfunction supportedProperty(prop) {\n // For server-side rendering.\n if (!el) return prop;\n\n // We have not tested this prop yet, lets do the test.\n if (cache[prop] != null) return cache[prop];\n\n // Camelization is required because we can't test using\n // css syntax for e.g. in FF.\n // Test if property is supported as it is.\n if ((0, _camelize2['default'])(prop) in el.style) {\n cache[prop] = prop;\n }\n // Test if property is supported with vendor prefix.\n else if (_prefix2['default'].js + (0, _camelize2['default'])('-' + prop) in el.style) {\n cache[prop] = _prefix2['default'].css + prop;\n } else {\n cache[prop] = false;\n }\n\n return cache[prop];\n}\n\n//# sourceURL=webpack:///./node_modules/css-vendor/lib/supported-property.js?");
/***/ }),
/***/ "./node_modules/css-vendor/lib/supported-value.js":
/*!********************************************************!*\
!*** ./node_modules/css-vendor/lib/supported-value.js ***!
\********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports['default'] = supportedValue;\n\nvar _isInBrowser = __webpack_require__(/*! is-in-browser */ \"./node_modules/is-in-browser/dist/module.js\");\n\nvar _isInBrowser2 = _interopRequireDefault(_isInBrowser);\n\nvar _prefix = __webpack_require__(/*! ./prefix */ \"./node_modules/css-vendor/lib/prefix.js\");\n\nvar _prefix2 = _interopRequireDefault(_prefix);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar cache = {};\nvar el = void 0;\n\nif (_isInBrowser2['default']) el = document.createElement('p');\n\n/**\n * Returns prefixed value if needed. Returns `false` if value is not supported.\n *\n * @param {String} property\n * @param {String} value\n * @return {String|Boolean}\n * @api public\n */\nfunction supportedValue(property, value) {\n // For server-side rendering.\n if (!el) return value;\n\n // It is a string or a number as a string like '1'.\n // We want only prefixable values here.\n if (typeof value !== 'string' || !isNaN(parseInt(value, 10))) return value;\n\n var cacheKey = property + value;\n\n if (cache[cacheKey] != null) return cache[cacheKey];\n\n // IE can even throw an error in some cases, for e.g. style.content = 'bar'\n try {\n // Test value as it is.\n el.style[property] = value;\n } catch (err) {\n cache[cacheKey] = false;\n return false;\n }\n\n // Value is supported as it is.\n if (el.style[property] !== '') {\n cache[cacheKey] = value;\n } else {\n // Test value with vendor prefix.\n value = _prefix2['default'].css + value;\n\n // Hardcode test to convert \"flex\" to \"-ms-flexbox\" for IE10.\n if (value === '-ms-flex') value = '-ms-flexbox';\n\n el.style[property] = value;\n\n // Value is supported with vendor prefix.\n if (el.style[property] !== '') cache[cacheKey] = value;\n }\n\n if (!cache[cacheKey]) cache[cacheKey] = false;\n\n // Reset style value.\n el.style[property] = '';\n\n return cache[cacheKey];\n}\n\n//# sourceURL=webpack:///./node_modules/css-vendor/lib/supported-value.js?");
/***/ }),
/***/ "./node_modules/deepmerge/dist/es.js":
/*!*******************************************!*\
!*** ./node_modules/deepmerge/dist/es.js ***!
\*******************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tObject.keys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tObject.keys(source).forEach(function(key) {\n\t\tif (!options.isMergeableObject(source[key]) || !target[key]) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = deepmerge(target[key], source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (deepmerge_1);\n\n\n//# sourceURL=webpack:///./node_modules/deepmerge/dist/es.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/ExecutionEnvironment.js":
/*!*******************************************************!*\
!*** ./node_modules/fbjs/lib/ExecutionEnvironment.js ***!
\*******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\nvar ExecutionEnvironment = {\n\n canUseDOM: canUseDOM,\n\n canUseWorkers: typeof Worker !== 'undefined',\n\n canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n\n canUseViewport: canUseDOM && !!window.screen,\n\n isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\n\nmodule.exports = ExecutionEnvironment;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/ExecutionEnvironment.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/camelize.js":
/*!*******************************************!*\
!*** ./node_modules/fbjs/lib/camelize.js ***!
\*******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar _hyphenPattern = /-(.)/g;\n\n/**\n * Camelcases a hyphenated string, for example:\n *\n * > camelize('background-color')\n * < \"backgroundColor\"\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelize(string) {\n return string.replace(_hyphenPattern, function (_, character) {\n return character.toUpperCase();\n });\n}\n\nmodule.exports = camelize;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/camelize.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/camelizeStyleName.js":
/*!****************************************************!*\
!*** ./node_modules/fbjs/lib/camelizeStyleName.js ***!
\****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n\n\nvar camelize = __webpack_require__(/*! ./camelize */ \"./node_modules/fbjs/lib/camelize.js\");\n\nvar msPattern = /^-ms-/;\n\n/**\n * Camelcases a hyphenated CSS property name, for example:\n *\n * > camelizeStyleName('background-color')\n * < \"backgroundColor\"\n * > camelizeStyleName('-moz-transition')\n * < \"MozTransition\"\n * > camelizeStyleName('-ms-transition')\n * < \"msTransition\"\n *\n * As Andi Smith suggests\n * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n * is converted to lowercase `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction camelizeStyleName(string) {\n return camelize(string.replace(msPattern, 'ms-'));\n}\n\nmodule.exports = camelizeStyleName;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/camelizeStyleName.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/containsNode.js":
/*!***********************************************!*\
!*** ./node_modules/fbjs/lib/containsNode.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nvar isTextNode = __webpack_require__(/*! ./isTextNode */ \"./node_modules/fbjs/lib/isTextNode.js\");\n\n/*eslint-disable no-bitwise */\n\n/**\n * Checks if a given DOM node contains or is another DOM node.\n */\nfunction containsNode(outerNode, innerNode) {\n if (!outerNode || !innerNode) {\n return false;\n } else if (outerNode === innerNode) {\n return true;\n } else if (isTextNode(outerNode)) {\n return false;\n } else if (isTextNode(innerNode)) {\n return containsNode(outerNode, innerNode.parentNode);\n } else if ('contains' in outerNode) {\n return outerNode.contains(innerNode);\n } else if (outerNode.compareDocumentPosition) {\n return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n } else {\n return false;\n }\n}\n\nmodule.exports = containsNode;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/containsNode.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/emptyFunction.js":
/*!************************************************!*\
!*** ./node_modules/fbjs/lib/emptyFunction.js ***!
\************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\nfunction makeEmptyFunction(arg) {\n return function () {\n return arg;\n };\n}\n\n/**\n * This function accepts and discards inputs; it has no side effects. This is\n * primarily useful idiomatically for overridable function endpoints which\n * always need to be callable, since JS lacks a null-call idiom ala Cocoa.\n */\nvar emptyFunction = function emptyFunction() {};\n\nemptyFunction.thatReturns = makeEmptyFunction;\nemptyFunction.thatReturnsFalse = makeEmptyFunction(false);\nemptyFunction.thatReturnsTrue = makeEmptyFunction(true);\nemptyFunction.thatReturnsNull = makeEmptyFunction(null);\nemptyFunction.thatReturnsThis = function () {\n return this;\n};\nemptyFunction.thatReturnsArgument = function (arg) {\n return arg;\n};\n\nmodule.exports = emptyFunction;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/emptyFunction.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/emptyObject.js":
/*!**********************************************!*\
!*** ./node_modules/fbjs/lib/emptyObject.js ***!
\**********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar emptyObject = {};\n\nif (true) {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/emptyObject.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/getActiveElement.js":
/*!***************************************************!*\
!*** ./node_modules/fbjs/lib/getActiveElement.js ***!
\***************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/* eslint-disable fb-www/typeof-undefined */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document or document body is not\n * yet defined.\n *\n * @param {?DOMDocument} doc Defaults to current document.\n * @return {?DOMElement}\n */\nfunction getActiveElement(doc) /*?DOMElement*/{\n doc = doc || (typeof document !== 'undefined' ? document : undefined);\n if (typeof doc === 'undefined') {\n return null;\n }\n try {\n return doc.activeElement || doc.body;\n } catch (e) {\n return doc.body;\n }\n}\n\nmodule.exports = getActiveElement;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/getActiveElement.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/hyphenate.js":
/*!********************************************!*\
!*** ./node_modules/fbjs/lib/hyphenate.js ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar _uppercasePattern = /([A-Z])/g;\n\n/**\n * Hyphenates a camelcased string, for example:\n *\n * > hyphenate('backgroundColor')\n * < \"background-color\"\n *\n * For CSS style names, use `hyphenateStyleName` instead which works properly\n * with all vendor prefixes, including `ms`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenate(string) {\n return string.replace(_uppercasePattern, '-$1').toLowerCase();\n}\n\nmodule.exports = hyphenate;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/hyphenate.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/hyphenateStyleName.js":
/*!*****************************************************!*\
!*** ./node_modules/fbjs/lib/hyphenateStyleName.js ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n\n\nvar hyphenate = __webpack_require__(/*! ./hyphenate */ \"./node_modules/fbjs/lib/hyphenate.js\");\n\nvar msPattern = /^ms-/;\n\n/**\n * Hyphenates a camelcased CSS property name, for example:\n *\n * > hyphenateStyleName('backgroundColor')\n * < \"background-color\"\n * > hyphenateStyleName('MozTransition')\n * < \"-moz-transition\"\n * > hyphenateStyleName('msTransition')\n * < \"-ms-transition\"\n *\n * As Modernizr suggests (http://modernizr.com/docs/#prefixed), an `ms` prefix\n * is converted to `-ms-`.\n *\n * @param {string} string\n * @return {string}\n */\nfunction hyphenateStyleName(string) {\n return hyphenate(string).replace(msPattern, '-ms-');\n}\n\nmodule.exports = hyphenateStyleName;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/hyphenateStyleName.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/invariant.js":
/*!********************************************!*\
!*** ./node_modules/fbjs/lib/invariant.js ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar validateFormat = function validateFormat(format) {};\n\nif (true) {\n validateFormat = function validateFormat(format) {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n };\n}\n\nfunction invariant(condition, format, a, b, c, d, e, f) {\n validateFormat(format);\n\n if (!condition) {\n var error;\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n throw error;\n }\n}\n\nmodule.exports = invariant;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/invariant.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/isNode.js":
/*!*****************************************!*\
!*** ./node_modules/fbjs/lib/isNode.js ***!
\*****************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM node.\n */\nfunction isNode(object) {\n var doc = object ? object.ownerDocument || object : document;\n var defaultView = doc.defaultView || window;\n return !!(object && (typeof defaultView.Node === 'function' ? object instanceof defaultView.Node : typeof object === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string'));\n}\n\nmodule.exports = isNode;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/isNode.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/isTextNode.js":
/*!*********************************************!*\
!*** ./node_modules/fbjs/lib/isTextNode.js ***!
\*********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n */\n\nvar isNode = __webpack_require__(/*! ./isNode */ \"./node_modules/fbjs/lib/isNode.js\");\n\n/**\n * @param {*} object The object to check.\n * @return {boolean} Whether or not the object is a DOM text node.\n */\nfunction isTextNode(object) {\n return isNode(object) && object.nodeType == 3;\n}\n\nmodule.exports = isTextNode;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/isTextNode.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/shallowEqual.js":
/*!***********************************************!*\
!*** ./node_modules/fbjs/lib/shallowEqual.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @typechecks\n * \n */\n\n/*eslint-disable no-self-compare */\n\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n // Added the nonzero y check to make Flow happy, but it is redundant\n return x !== 0 || y !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/shallowEqual.js?");
/***/ }),
/***/ "./node_modules/fbjs/lib/warning.js":
/*!******************************************!*\
!*** ./node_modules/fbjs/lib/warning.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n */\n\n\n\nvar emptyFunction = __webpack_require__(/*! ./emptyFunction */ \"./node_modules/fbjs/lib/emptyFunction.js\");\n\n/**\n * Similar to invariant but only logs a warning if the condition is not met.\n * This can be used to log issues in development environments in critical\n * paths. Removing the logging code for production environments will keep the\n * same logic and follow the same code paths.\n */\n\nvar warning = emptyFunction;\n\nif (true) {\n var printWarning = function printWarning(format) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var argIndex = 0;\n var message = 'Warning: ' + format.replace(/%s/g, function () {\n return args[argIndex++];\n });\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n\n warning = function warning(condition, format) {\n if (format === undefined) {\n throw new Error('`warning(condition, format, ...args)` requires a warning ' + 'message argument');\n }\n\n if (format.indexOf('Failed Composite propType: ') === 0) {\n return; // Ignore CompositeComponent proptype check.\n }\n\n if (!condition) {\n for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\n args[_key2 - 2] = arguments[_key2];\n }\n\n printWarning.apply(undefined, [format].concat(args));\n }\n };\n}\n\nmodule.exports = warning;\n\n//# sourceURL=webpack:///./node_modules/fbjs/lib/warning.js?");
/***/ }),
/***/ "./node_modules/focus-trap/index.js":
/*!******************************************!*\
!*** ./node_modules/focus-trap/index.js ***!
\******************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("var tabbable = __webpack_require__(/*! tabbable */ \"./node_modules/tabbable/index.js\");\n\nvar listeningFocusTrap = null;\n\nfunction focusTrap(element, userOptions) {\n var tabbableNodes = [];\n var firstTabbableNode = null;\n var lastTabbableNode = null;\n var nodeFocusedBeforeActivation = null;\n var active = false;\n var paused = false;\n var tabEvent = null;\n\n var container = (typeof element === 'string')\n ? document.querySelector(element)\n : element;\n\n var config = userOptions || {};\n config.returnFocusOnDeactivate = (userOptions && userOptions.returnFocusOnDeactivate !== undefined)\n ? userOptions.returnFocusOnDeactivate\n : true;\n config.escapeDeactivates = (userOptions && userOptions.escapeDeactivates !== undefined)\n ? userOptions.escapeDeactivates\n : true;\n\n var trap = {\n activate: activate,\n deactivate: deactivate,\n pause: pause,\n unpause: unpause,\n };\n\n return trap;\n\n function activate(activateOptions) {\n if (active) return;\n\n var defaultedActivateOptions = {\n onActivate: (activateOptions && activateOptions.onActivate !== undefined)\n ? activateOptions.onActivate\n : config.onActivate,\n };\n\n active = true;\n paused = false;\n nodeFocusedBeforeActivation = document.activeElement;\n\n if (defaultedActivateOptions.onActivate) {\n defaultedActivateOptions.onActivate();\n }\n\n addListeners();\n return trap;\n }\n\n function deactivate(deactivateOptions) {\n if (!active) return;\n\n var defaultedDeactivateOptions = {\n returnFocus: (deactivateOptions && deactivateOptions.returnFocus !== undefined)\n ? deactivateOptions.returnFocus\n : config.returnFocusOnDeactivate,\n onDeactivate: (deactivateOptions && deactivateOptions.onDeactivate !== undefined)\n ? deactivateOptions.onDeactivate\n : config.onDeactivate,\n };\n\n removeListeners();\n\n if (defaultedDeactivateOptions.onDeactivate) {\n defaultedDeactivateOptions.onDeactivate();\n }\n\n if (defaultedDeactivateOptions.returnFocus) {\n setTimeout(function () {\n tryFocus(nodeFocusedBeforeActivation);\n }, 0);\n }\n\n active = false;\n paused = false;\n return this;\n }\n\n function pause() {\n if (paused || !active) return;\n paused = true;\n removeListeners();\n }\n\n function unpause() {\n if (!paused || !active) return;\n paused = false;\n addListeners();\n }\n\n function addListeners() {\n if (!active) return;\n\n // There can be only one listening focus trap at a time\n if (listeningFocusTrap) {\n listeningFocusTrap.pause();\n }\n listeningFocusTrap = trap;\n\n updateTabbableNodes();\n // Ensure that the focused element doesn't capture the event that caused the focus trap activation\n setTimeout(function () {\n tryFocus(firstFocusNode());\n }, 0);\n document.addEventListener('focus', checkFocus, true);\n document.addEventListener('click', checkClick, true);\n document.addEventListener('mousedown', checkPointerDown, true);\n document.addEventListener('touchstart', checkPointerDown, true);\n document.addEventListener('keydown', checkKey, true);\n\n return trap;\n }\n\n function removeListeners() {\n if (!active || listeningFocusTrap !== trap) return;\n\n document.removeEventListener('focus', checkFocus, true);\n document.removeEventListener('click', checkClick, true);\n document.removeEventListener('mousedown', checkPointerDown, true);\n document.removeEventListener('touchstart', checkPointerDown, true);\n document.removeEventListener('keydown', checkKey, true);\n\n listeningFocusTrap = null;\n\n return trap;\n }\n\n function getNodeForOption(optionName) {\n var optionValue = config[optionName];\n var node = optionValue;\n if (!optionValue) {\n return null;\n }\n if (typeof optionValue === 'string') {\n node = document.querySelector(optionValue);\n if (!node) {\n throw new Error('`' + optionName + '` refers to no known node');\n }\n }\n if (typeof optionValue === 'function') {\n node = optionValue();\n if (!node) {\n throw new Error('`' + optionName + '` did not return a node');\n }\n }\n return node;\n }\n\n function firstFocusNode() {\n var node;\n if (getNodeForOption('initialFocus') !== null) {\n node = getNodeForOption('initialFocus');\n } else if (container.contains(document.activeElement)) {\n node = document.activeElement;\n } else {\n node = tabbableNodes[0] || getNodeForOption('fallbackFocus');\n }\n\n if (!node) {\n throw new Error('You can\\'t have a focus-trap without at least one focusable element');\n }\n\n return node;\n }\n\n // This needs to be done on mousedown and touchstart instead of click\n // so that it precedes the focus event\n function checkPointerDown(e) {\n if (config.clickOutsideDeactivates && !container.contains(e.target)) {\n deactivate({ returnFocus: false });\n }\n }\n\n function checkClick(e) {\n if (config.clickOutsideDeactivates) return;\n if (container.contains(e.target)) return;\n e.preventDefault();\n e.stopImmediatePropagation();\n }\n\n function checkFocus(e) {\n if (container.contains(e.target)) return;\n e.preventDefault();\n e.stopImmediatePropagation();\n // Checking for a blur method here resolves a Firefox issue (#15)\n if (typeof e.target.blur === 'function') e.target.blur();\n\n if (tabEvent) {\n readjustFocus(tabEvent);\n }\n }\n\n function checkKey(e) {\n if (e.key === 'Tab' || e.keyCode === 9) {\n handleTab(e);\n }\n\n if (config.escapeDeactivates !== false && isEscapeEvent(e)) {\n deactivate();\n }\n }\n\n function handleTab(e) {\n updateTabbableNodes();\n\n if (e.target.hasAttribute('tabindex') && Number(e.target.getAttribute('tabindex')) < 0) {\n return tabEvent = e;\n }\n\n e.preventDefault();\n var currentFocusIndex = tabbableNodes.indexOf(e.target);\n\n if (e.shiftKey) {\n if (e.target === firstTabbableNode || tabbableNodes.indexOf(e.target) === -1) {\n return tryFocus(lastTabbableNode);\n }\n return tryFocus(tabbableNodes[currentFocusIndex - 1]);\n }\n\n if (e.target === lastTabbableNode) return tryFocus(firstTabbableNode);\n\n tryFocus(tabbableNodes[currentFocusIndex + 1]);\n }\n\n function updateTabbableNodes() {\n tabbableNodes = tabbable(container);\n firstTabbableNode = tabbableNodes[0];\n lastTabbableNode = tabbableNodes[tabbableNodes.length - 1];\n }\n\n function readjustFocus(e) {\n if (e.shiftKey) return tryFocus(lastTabbableNode);\n\n tryFocus(firstTabbableNode);\n }\n}\n\nfunction isEscapeEvent(e) {\n return e.key === 'Escape' || e.key === 'Esc' || e.keyCode === 27;\n}\n\nfunction tryFocus(node) {\n if (!node || !node.focus) return;\n if (node === document.activeElement) return;\n\n node.focus();\n if (node.tagName.toLowerCase() === 'input') {\n node.select();\n }\n}\n\nmodule.exports = focusTrap;\n\n\n//# sourceURL=webpack:///./node_modules/focus-trap/index.js?");
/***/ }),
/***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js":
/*!**********************************************************************************!*\
!*** ./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js ***!
\**********************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("\n\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = getPrototypeOf && getPrototypeOf(Object);\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (!REACT_STATICS[key] && !KNOWN_STATICS[key] && (!blacklist || !blacklist[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n try { // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;\n\n\n//# sourceURL=webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js?");
/***/ }),
/***/ "./node_modules/hyphenate-style-name/index.js":
/*!****************************************************!*\
!*** ./node_modules/hyphenate-style-name/index.js ***!
\****************************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* eslint-disable no-var, prefer-template */\nvar uppercasePattern = /[A-Z]/g\nvar msPattern = /^ms-/\nvar cache = {}\n\nfunction toHyphenLower(match) {\n return '-' + match.toLowerCase()\n}\n\nfunction hyphenateStyleName(name) {\n if (cache.hasOwnProperty(name)) {\n return cache[name]\n }\n\n var hName = name.replace(uppercasePattern, toHyphenLower)\n return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (hyphenateStyleName);\n\n\n//# sourceURL=webpack:///./node_modules/hyphenate-style-name/index.js?");
/***/ }),
/***/ "./node_modules/ieee754/index.js":
/*!***************************************!*\
!*** ./node_modules/ieee754/index.js ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("exports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = (nBytes * 8) - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = ((value * c) - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n\n\n//# sourceURL=webpack:///./node_modules/ieee754/index.js?");
/***/ }),
/***/ "./node_modules/is-in-browser/dist/module.js":
/*!***************************************************!*\
!*** ./node_modules/is-in-browser/dist/module.js ***!
\***************************************************/
/*! exports provided: isBrowser, default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"isBrowser\", function() { return isBrowser; });\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar isBrowser = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\" && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) === 'object' && document.nodeType === 9;\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (isBrowser);\n\n\n//# sourceURL=webpack:///./node_modules/is-in-browser/dist/module.js?");
/***/ }),
/***/ "./node_modules/is-plain-object/index.js":
/*!***********************************************!*\
!*** ./node_modules/is-plain-object/index.js ***!
\***********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/*!\n * is-plain-object \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n\n\nvar isObject = __webpack_require__(/*! isobject */ \"./node_modules/isobject/index.js\");\n\nfunction isObjectObject(o) {\n return isObject(o) === true\n && Object.prototype.toString.call(o) === '[object Object]';\n}\n\nmodule.exports = function isPlainObject(o) {\n var ctor,prot;\n\n if (isObjectObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (typeof ctor !== 'function') return false;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObjectObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n};\n\n\n//# sourceURL=webpack:///./node_modules/is-plain-object/index.js?");
/***/ }),
/***/ "./node_modules/isarray/index.js":
/*!***************************************!*\
!*** ./node_modules/isarray/index.js ***!
\***************************************/
/*! no static exports found */
/***/ (function(module, exports) {
eval("var toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n\n\n//# sourceURL=webpack:///./node_modules/isarray/index.js?");
/***/ }),
/***/ "./node_modules/isobject/index.js":
/*!****************************************!*\
!*** ./node_modules/isobject/index.js ***!
\****************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
eval("/*!\n * isobject \n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\n\n\nmodule.exports = function isObject(val) {\n return val != null && typeof val === 'object' && Array.isArray(val) === false;\n};\n\n\n//# sourceURL=webpack:///./node_modules/isobject/index.js?");
/***/ }),
/***/ "./node_modules/jquery/dist/jquery.js":
/*!********************************************!*\
!*** ./node_modules/jquery/dist/jquery.js ***!
\********************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
eval("/*!\n * jQuery JavaScript Library v3.3.1\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright JS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2018-01-20T17:24Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( true && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket #14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar document = window.document;\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar concat = arr.concat;\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n // Support: Chrome <=57, Firefox <=52\n // In some browsers, typeof returns \"function\" for HTML