diff --git a/packages/omim/demos/top-app-bar/bundle.js b/packages/omim/demos/top-app-bar/bundle.js index 83585d023..6887edc18 100644 --- a/packages/omim/demos/top-app-bar/bundle.js +++ b/packages/omim/demos/top-app-bar/bundle.js @@ -94,7 +94,7 @@ /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar _a;\r\n__webpack_require__(/*! ../../src/top-app-bar/index.tsx */ \"./src/top-app-bar/index.tsx\");\r\n__webpack_require__(/*! ../../src/icon-button/index.tsx */ \"./src/icon-button/index.tsx\");\r\n__webpack_require__(/*! ../../src/avatar/index.tsx */ \"./src/avatar/index.tsx\");\r\n__webpack_require__(/*! ../../src/badge/index.tsx */ \"./src/badge/index.tsx\");\r\n__webpack_require__(/*! ../../src/text-field/index.tsx */ \"./src/text-field/index.tsx\");\r\n__webpack_require__(/*! ../../src/tab/index.tsx */ \"./src/tab/index.tsx\");\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nomi_1.define('my-app', (_a = /** @class */ (function (_super) {\r\n __extends(class_1, _super);\r\n function class_1() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.showDemoStart = false;\r\n _this.themeColor = '#0072d9';\r\n _this.searchColor = '#2196f3';\r\n _this.scrollTarget = null;\r\n _this.onDemoStart = function (e) {\r\n console.log(e.detail);\r\n _this.showDemoStart = !_this.showDemoStart;\r\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\r\n _this.themeColor = '#0072d9';\r\n _this.searchColor = '#2196f3';\r\n _this.update();\r\n };\r\n _this.titleOmi = ' (Omi)';\r\n _this.onMenu = function (e) {\r\n console.log(e.detail);\r\n _this.titleOmi = _this.titleOmi == '' ? ' (Omim)' : '';\r\n document.body.style.setProperty('--mdc-theme-primary', '#018786');\r\n _this.themeColor = '#018786';\r\n _this.searchColor = '#24BFA5';\r\n _this.update();\r\n };\r\n _this.onMenuStart = function (e) {\r\n console.log(e.detail);\r\n _this.titleOmi = _this.titleOmi == '' ? ' (Omim)' : '';\r\n document.body.style.setProperty('--mdc-theme-primary', '#018786');\r\n _this.themeColor = '#018786';\r\n _this.searchColor = '#24BFA5';\r\n if (e.detail.index == '2') {\r\n _this.scrollTarget = _this.scrollTarget === null ? _this.shadowRoot.querySelector('#demo-build') : null;\r\n }\r\n _this.update();\r\n };\r\n return _this;\r\n }\r\n class_1.prototype.render = function () {\r\n return (omi_1.h(\"div\", { style: 'background:#FFF' },\r\n !this.showDemoStart &&\r\n omi_1.h(\"div\", { id: 'demo-show-button' },\r\n omi_1.h(\"m-top-app-bar\", { heading: 'Click to show menus' + this.titleOmi, \"scroll-target\": this.scrollTarget, onNavigation: this.onDemoStart, onAction: this.onMenuStart },\r\n omi_1.h(\"navigation\", null,\r\n omi_1.h(\"m-avatar\", { icon: \"person\", backgroundColor: '#FFF', color: this.themeColor })),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-badge\", { css: \".badge{background-color: #FFF; color: \" + this.themeColor + \";}\", content: \"99\" },\r\n omi_1.h(\"m-icon\", { path: \"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z\", color: \"#FFF\" }))),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon\", { rotate: true, view: 24, path: 'M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z' })),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon-button\", { title: 'Switch scroll target', icons: ['view_carousel', 'view_array'] }))),\r\n omi_1.h(\"m-top-app-bar\", { bottom: true },\r\n omi_1.h(\"div\", { style: 'width:100%' },\r\n omi_1.h(\"m-tab\", { css: \".mdc-tab-bar {background: #EEE;}\", \"default-active\": 'speed', align: \"end\", stacked: true },\r\n omi_1.h(\"item\", { label: \"Recents\", value: \"speed\", icon: \"access_time\" }),\r\n omi_1.h(\"item\", { label: \"Nearby\", value: \"fire\", icon: \"near_me\" }),\r\n omi_1.h(\"item\", { label: \"Favorites\", value: \"lol\", icon: \"favorite\" }))))),\r\n this.showDemoStart &&\r\n omi_1.h(\"div\", { id: 'demo-start' },\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, heading: 'Standard' + this.titleOmi, navigations: ['menu'], actionItems: ['favorite_border', { text: 'Omi' }, 'wifi'], onNavigation: this.onMenu, onAction: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, fixed: true, heading: 'Fixed' + this.titleOmi, navigations: ['menu', { text: 'Omim' }, 'favorite'], onNavigation: this.onMenu, onAction: this.onMenu },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"m-text-field\", { outlined: true, label: 'search...', paths: [{\r\n color: '#FFF',\r\n path: 'M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z'\r\n }], css: \"\\n .mdc-text-field {\\n margin-top: 13px;\\n margin-right: 15px;\\n height: 38px;\\n }\\n .mdc-text-field .mdc-text-field__input {\\n caret-color: #FFF;\\n }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0) !important;\\n background: \" + this.searchColor + \";\\n }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {\\n color: #FFF;\\n }\\n .mdc-notched-outline {\\n overflow: hidden;\\n }\\n .mdc-notched-outline__trailing {\\n border-radius: 0 6px 6px 0 !important;\\n }\\n .mdc-notched-outline__leading {\\n border-radius: 6px 0 0 6px!important;\\n width: 6px!important;\\n }\\n .mdc-text-field--with-leading-icon .icon {\\n z-index: 1;\\n top: 3px;\\n }\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label {\\n top: 9px;\\n left: 48px;\\n color: #FFF;\\n }\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-flgatine-label--float-above {\\n display: none;\\n }\\n \" }))),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, dense: true, fixed: true, heading: 'Dense + Fixed' + this.titleOmi, navigations: ['menu'], onNavigation: this.onMenu, onAction: this.onMenu },\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon\", { rotate: true, paths: [{\r\n color: '#FFF',\r\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\r\n },\r\n {\r\n color: '#FFF',\r\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\r\n }] }))),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, prominent: true, fixed: true, heading: 'Prominent + Fixed' + this.titleOmi, navigations: ['menu', 'favorite', 'favorite'], actionItems: ['favorite_border', 'favorite_border', 'favorite_border'], onAction: this.onMenu, onNavigation: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, prominent: true, dense: true, fixed: true, heading: 'Prominent + Dense + Fixed' + this.titleOmi, navigations: ['menu'], actionItems: ['favorite_border'], onNavigation: this.onMenu, onAction: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, fixed: true, heading: 'Click to hide menus', navigations: ['cancel', 'cancel', 'cancel'], actionItems: ['cancel', 'cancel', 'cancel'], onNavigation: this.onDemoStart, onAction: this.onDemoStart }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n }\\n \", adjust: true, shortCollapsed: true, heading: 'Short - Always Collapsed' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n margin-top: -40px;\\n }\\n \", adjust: true, short: true, heading: 'Short' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n margin-top: -40px;\\n }\\n \", \r\n // adjust\r\n short: true, dense: true, heading: 'Short + Dense' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] })),\r\n omi_1.h(\"div\", { id: 'demo-build', class: 'demos-display' },\r\n omi_1.h(\"div\", { style: 'width:100%;height:64px;' }),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-standard.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Standard\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-standard.script.html' })))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-fixed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Fixed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-fixed.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-dense.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Dense\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-dense.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-dense-fixed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Dense + Fixed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-dense-fixed.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-prominent.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Prominent\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-prominent.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-prominent-dense.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Prominent + Dense\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-prominent-dense.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-short.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Short\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-short.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-short-collapsed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Short - Always Collapsed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-short-collapsed.script.html' }))),\r\n omi_1.h(\"div\", { style: 'width:100%;height:500px;' }))));\r\n };\r\n return class_1;\r\n }(omi_1.WeElement)),\r\n _a.css = \"\\n .mdc-typography--subtitle1 {\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: .009375em;\\n }\\n .demos-content-one {\\n height: 130px;\\n // background: #EEE;\\n }\\n .demos-content-two {\\n height: 80px;\\n // background: #EEE;\\n }\\n .demos-display {\\n display: flex;\\n flex-wrap: wrap;\\n min-height: 200px;\\n }\\n .demo {\\n display: inline-block;\\n flex: 1 1 45%;\\n justify-content: space-around;\\n min-height: 200px;\\n // min-width: 400px;\\n padding: 20px;\\n }\\n .iframe {\\n width: 100%;\\n height: 200px;\\n }\\n .demos-display {\\n overflow: scroll;\\n height: 1400px;\\n }\\n \",\r\n _a));\r\nomi_1.render(omi_1.h(\"my-app\", null), 'body');\r\n\n\n//# sourceURL=webpack:///./demos/top-app-bar/index.js?"); +eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar _a;\r\n__webpack_require__(/*! ../../src/top-app-bar/index.tsx */ \"./src/top-app-bar/index.tsx\");\r\n__webpack_require__(/*! ../../src/icon-button/index.tsx */ \"./src/icon-button/index.tsx\");\r\n__webpack_require__(/*! ../../src/avatar/index.tsx */ \"./src/avatar/index.tsx\");\r\n__webpack_require__(/*! ../../src/badge/index.tsx */ \"./src/badge/index.tsx\");\r\n__webpack_require__(/*! ../../src/text-field/index.tsx */ \"./src/text-field/index.tsx\");\r\n__webpack_require__(/*! ../../src/tab/index.tsx */ \"./src/tab/index.tsx\");\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nomi_1.define('my-app', (_a = /** @class */ (function (_super) {\r\n __extends(class_1, _super);\r\n function class_1() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.showDemoStart = false;\r\n _this.themeColor = '#0072d9';\r\n _this.searchColor = '#2196f3';\r\n _this.scrollTarget = null;\r\n _this.onDemoStart = function (e) {\r\n console.log(e.detail);\r\n _this.showDemoStart = !_this.showDemoStart;\r\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\r\n _this.themeColor = '#0072d9';\r\n _this.searchColor = '#2196f3';\r\n _this.update();\r\n };\r\n _this.titleOmi = ' (Omi)';\r\n _this.onMenu = function (e) {\r\n console.log(e.detail);\r\n _this.titleOmi = _this.titleOmi == '' ? ' (Omim)' : '';\r\n document.body.style.setProperty('--mdc-theme-primary', '#018786');\r\n _this.themeColor = '#018786';\r\n _this.searchColor = '#24BFA5';\r\n _this.update();\r\n };\r\n _this.onMenuStart = function (e) {\r\n console.log(e.detail);\r\n _this.titleOmi = _this.titleOmi == '' ? ' (Omim)' : '';\r\n document.body.style.setProperty('--mdc-theme-primary', '#018786');\r\n _this.themeColor = '#018786';\r\n _this.searchColor = '#24BFA5';\r\n if (e.detail.index == '2') {\r\n _this.scrollTarget = _this.scrollTarget === null ? _this.shadowRoot.querySelector('#demo-build') : null;\r\n }\r\n _this.update();\r\n };\r\n return _this;\r\n }\r\n class_1.prototype.render = function () {\r\n return (omi_1.h(\"div\", { style: 'background:#FFF' },\r\n !this.showDemoStart &&\r\n omi_1.h(\"div\", { id: 'demo-show-button' },\r\n omi_1.h(\"m-top-app-bar\", { heading: 'Click to show menus' + this.titleOmi, \"scroll-target\": this.scrollTarget, onNavigation: this.onDemoStart, onAction: this.onMenuStart },\r\n omi_1.h(\"navigation\", null,\r\n omi_1.h(\"m-avatar\", { icon: \"person\", backgroundColor: '#FFF', color: this.themeColor })),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-badge\", { css: \".badge{background-color: #FFF; color: \" + this.themeColor + \";}\", content: \"99\" },\r\n omi_1.h(\"m-icon\", { path: \"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0 1 38.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z\", color: \"#FFF\" }))),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon\", { rotate: true, view: 24, path: 'M7.52 21.48C4.25 19.94 1.91 16.76 1.55 13H.05C.56 19.16 5.71 24 12 24l.66-.03-3.81-3.81-1.33 1.32zm.89-6.52c-.19 0-.37-.03-.52-.08-.16-.06-.29-.13-.4-.24-.11-.1-.2-.22-.26-.37-.06-.14-.09-.3-.09-.47h-1.3c0 .36.07.68.21.95.14.27.33.5.56.69.24.18.51.32.82.41.3.1.62.15.96.15.37 0 .72-.05 1.03-.15.32-.1.6-.25.83-.44s.42-.43.55-.72c.13-.29.2-.61.2-.97 0-.19-.02-.38-.07-.56-.05-.18-.12-.35-.23-.51-.1-.16-.24-.3-.4-.43-.17-.13-.37-.23-.61-.31.2-.09.37-.2.52-.33.15-.13.27-.27.37-.42.1-.15.17-.3.22-.46.05-.16.07-.32.07-.48 0-.36-.06-.68-.18-.96-.12-.28-.29-.51-.51-.69-.2-.19-.47-.33-.77-.43C9.1 8.05 8.76 8 8.39 8c-.36 0-.69.05-1 .16-.3.11-.57.26-.79.45-.21.19-.38.41-.51.67-.12.26-.18.54-.18.85h1.3c0-.17.03-.32.09-.45s.14-.25.25-.34c.11-.09.23-.17.38-.22.15-.05.3-.08.48-.08.4 0 .7.1.89.31.19.2.29.49.29.86 0 .18-.03.34-.08.49-.05.15-.14.27-.25.37-.11.1-.25.18-.41.24-.16.06-.36.09-.58.09H7.5v1.03h.77c.22 0 .42.02.6.07s.33.13.45.23c.12.11.22.24.29.4.07.16.1.35.1.57 0 .41-.12.72-.35.93-.23.23-.55.33-.95.33zm8.55-5.92c-.32-.33-.7-.59-1.14-.77-.43-.18-.92-.27-1.46-.27H12v8h2.3c.55 0 1.06-.09 1.51-.27.45-.18.84-.43 1.16-.76.32-.33.57-.73.74-1.19.17-.47.26-.99.26-1.57v-.4c0-.58-.09-1.1-.26-1.57-.18-.47-.43-.87-.75-1.2zm-.39 3.16c0 .42-.05.79-.14 1.13-.1.33-.24.62-.43.85-.19.23-.43.41-.71.53-.29.12-.62.18-.99.18h-.91V9.12h.97c.72 0 1.27.23 1.64.69.38.46.57 1.12.57 1.99v.4zM12 0l-.66.03 3.81 3.81 1.33-1.33c3.27 1.55 5.61 4.72 5.96 8.48h1.5C23.44 4.84 18.29 0 12 0z' })),\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon-button\", { title: 'Switch scroll target', icons: ['view_carousel', 'view_array'] }))),\r\n omi_1.h(\"m-top-app-bar\", { bottom: true },\r\n omi_1.h(\"div\", { style: 'width:100%' },\r\n omi_1.h(\"m-tab\", { css: \".mdc-tab-bar {background: #EEE;}\", \"default-active\": 'speed', align: \"end\", stacked: true },\r\n omi_1.h(\"item\", { label: \"Recents\", value: \"speed\", icon: \"access_time\" }),\r\n omi_1.h(\"item\", { label: \"Nearby\", value: \"fire\", icon: \"near_me\" }),\r\n omi_1.h(\"item\", { label: \"Favorites\", value: \"lol\", icon: \"favorite\" }))))),\r\n this.showDemoStart &&\r\n omi_1.h(\"div\", { id: 'demo-start' },\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, heading: 'Standard' + this.titleOmi, navigations: ['menu'], actionItems: ['favorite_border', { text: 'Omi' }, 'wifi'], onNavigation: this.onMenu, onAction: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, fixed: true, heading: 'Fixed', navigations: ['menu'], onNavigation: this.onMenu },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"m-text-field\", { outlined: true, label: 'search...', paths: [{\r\n color: '#FFF',\r\n path: 'M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z'\r\n }], css: \"\\n .mdc-text-field {\\n margin-top: 13px;\\n margin-right: 15px;\\n height: 38px;\\n }\\n .mdc-text-field .mdc-text-field__input {\\n caret-color: #FFF;\\n }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch, .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0) !important;\\n background: \" + this.searchColor + \";\\n }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {\\n color: #FFF;\\n }\\n .mdc-notched-outline {\\n overflow: hidden;\\n }\\n .mdc-notched-outline__trailing {\\n border-radius: 0 6px 6px 0 !important;\\n }\\n .mdc-notched-outline__leading {\\n border-radius: 6px 0 0 6px!important;\\n width: 6px!important;\\n }\\n .mdc-text-field--with-leading-icon .icon {\\n z-index: 1;\\n top: 3px;\\n }\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label {\\n top: 9px;\\n left: 48px;\\n color: #FFF;\\n }\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-flgatine-label--float-above {\\n display: none;\\n }\\n \" }))),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, dense: true, fixed: true, heading: 'Dense + Fixed' + this.titleOmi, navigations: ['menu'], onNavigation: this.onMenu, onAction: this.onMenu },\r\n omi_1.h(\"actionitem\", null,\r\n omi_1.h(\"m-icon\", { rotate: true, paths: [{\r\n color: '#FFF',\r\n path: 'M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z'\r\n },\r\n {\r\n color: '#FFF',\r\n path: 'M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z'\r\n }] }))),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, prominent: true, fixed: true, heading: 'Prominent + Fixed' + this.titleOmi, navigations: ['menu', 'favorite', 'favorite'], actionItems: ['favorite_border', 'favorite_border', 'favorite_border'], onAction: this.onMenu, onNavigation: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, prominent: true, dense: true, fixed: true, heading: 'Prominent + Dense + Fixed' + this.titleOmi, navigations: ['menu'], actionItems: ['favorite_border'], onNavigation: this.onMenu, onAction: this.onMenu }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { adjust: true, fixed: true, heading: 'Click to hide menus', navigations: ['cancel', 'cancel', 'cancel'], actionItems: ['cancel', 'cancel', 'cancel'], onNavigation: this.onDemoStart, onAction: this.onDemoStart }),\r\n omi_1.h(\"div\", { style: 'height:15px;' }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n }\\n \", adjust: true, shortCollapsed: true, heading: 'Short - Always Collapsed' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n margin-top: -40px;\\n }\\n \", adjust: true, short: true, heading: 'Short' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] }),\r\n omi_1.h(\"m-top-app-bar\", { css: \"\\n .mdc-top-app-bar { \\n position: static;\\n margin-top: -40px;\\n }\\n \", \r\n // adjust\r\n short: true, dense: true, heading: 'Short + Dense' + this.titleOmi, onNavigation: this.onMenu, onAction: this.onMenu, navigations: ['menu'], actionItems: ['favorite_border'] })),\r\n omi_1.h(\"div\", { id: 'demo-build', class: 'demos-display' },\r\n omi_1.h(\"div\", { style: 'width:100%;height:64px;' }),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-standard.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Standard\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-standard.script.html' })))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-fixed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Fixed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-fixed.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-dense.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Dense\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-dense.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-dense-fixed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Dense + Fixed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-dense-fixed.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-prominent.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Prominent\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-prominent.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-prominent-dense.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Prominent + Dense\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-prominent-dense.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-short.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Short\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-short.script.html' }))),\r\n omi_1.h(\"div\", { class: 'demo' },\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"a\", { href: './index-short-collapsed.script.html', target: '_blank' },\r\n omi_1.h(\"h3\", { class: 'mdc-typography--subtitle1' }, \"Short - Always Collapsed\"))),\r\n omi_1.h(\"div\", null,\r\n omi_1.h(\"iframe\", { class: 'iframe', src: './index-short-collapsed.script.html' }))),\r\n omi_1.h(\"div\", { style: 'width:100%;height:500px;' }))));\r\n };\r\n return class_1;\r\n }(omi_1.WeElement)),\r\n _a.css = \"\\n .mdc-typography--subtitle1 {\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: .009375em;\\n }\\n .demos-content-one {\\n height: 130px;\\n // background: #EEE;\\n }\\n .demos-content-two {\\n height: 80px;\\n // background: #EEE;\\n }\\n .demos-display {\\n display: flex;\\n flex-wrap: wrap;\\n min-height: 200px;\\n }\\n .demo {\\n display: inline-block;\\n flex: 1 1 45%;\\n justify-content: space-around;\\n min-height: 200px;\\n // min-width: 400px;\\n padding: 20px;\\n }\\n .iframe {\\n width: 100%;\\n height: 200px;\\n }\\n .demos-display {\\n overflow: scroll;\\n height: 1400px;\\n }\\n \",\r\n _a));\r\nomi_1.render(omi_1.h(\"my-app\", null), 'body');\r\n\n\n//# sourceURL=webpack:///./demos/top-app-bar/index.js?"); /***/ }), @@ -969,7 +969,7 @@ eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) * /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"img {\\n width: 100%;\\n height: 100%; }\\n\\n.m-avatar.square {\\n border-radius: 4px; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\\n.m-avatar {\\n display: inline-block;\\n width: 40px;\\n height: 40px;\\n text-align: center;\\n vertical-align: middle;\\n background-color: #ccc;\\n color: white;\\n border-radius: 50%;\\n overflow: hidden; }\\n\\n.m-avatar .material-icons {\\n line-height: 40px; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/avatar/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); +eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \":host {\\n display: inline-block; }\\n\\nimg {\\n width: 100%;\\n height: 100%; }\\n\\n.m-avatar.square {\\n border-radius: 4px; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\\n.m-avatar {\\n display: inline-block;\\n width: 40px;\\n height: 40px;\\n text-align: center;\\n vertical-align: middle;\\n background-color: #ccc;\\n color: white;\\n border-radius: 50%;\\n overflow: hidden; }\\n\\n.m-avatar .material-icons {\\n line-height: 40px; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/avatar/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); /***/ }), @@ -991,7 +991,7 @@ eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css- /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-icon-button {\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n font-size: 24px;\\n display: inline-block;\\n position: relative;\\n box-sizing: border-box;\\n border: none;\\n outline: none;\\n background-color: transparent;\\n fill: currentColor;\\n color: inherit;\\n text-decoration: none;\\n cursor: pointer;\\n user-select: none; }\\n .mdc-icon-button svg,\\n .mdc-icon-button img {\\n width: 24px;\\n height: 24px; }\\n .mdc-icon-button:disabled {\\n color: rgba(0, 0, 0, 0.38);\\n /* @alternate */\\n color: var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38));\\n cursor: default;\\n pointer-events: none; }\\n\\n.mdc-icon-button__icon {\\n display: inline-block; }\\n .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n display: none; }\\n\\n.mdc-icon-button--on .mdc-icon-button__icon {\\n display: none; }\\n .mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n display: inline-block; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-icon-button {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-icon-button::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-icon-button.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-icon-button.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-icon-button.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-icon-button.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-icon-button.mdc-ripple-upgraded::before, .mdc-icon-button.mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-icon-button.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n background-color: #000000; }\\n .mdc-icon-button:hover::before {\\n opacity: 0.04; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded):focus::before, .mdc-icon-button.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-icon-button.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/icon-button/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); +eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-icon-button {\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n font-size: 24px;\\n display: inline-block;\\n position: relative;\\n box-sizing: border-box;\\n border: none;\\n outline: none;\\n background-color: transparent;\\n fill: currentColor;\\n color: inherit;\\n text-decoration: none;\\n cursor: pointer;\\n user-select: none; }\\n .mdc-icon-button svg,\\n .mdc-icon-button img {\\n width: 24px;\\n height: 24px; }\\n .mdc-icon-button:disabled {\\n color: rgba(0, 0, 0, 0.38);\\n /* @alternate */\\n color: var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38));\\n cursor: default;\\n pointer-events: none; }\\n\\n.mdc-icon-button__icon {\\n display: inline-block; }\\n .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n display: none; }\\n\\n.mdc-icon-button--on .mdc-icon-button__icon {\\n display: none; }\\n .mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on {\\n display: inline-block; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-icon-button {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-icon-button::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-icon-button.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-icon-button.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-icon-button.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-icon-button.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-icon-button.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-icon-button.mdc-ripple-upgraded::before, .mdc-icon-button.mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-icon-button.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-icon-button::before, .mdc-icon-button::after {\\n background-color: #000000; }\\n .mdc-icon-button:hover::before {\\n opacity: 0.04; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded):focus::before, .mdc-icon-button.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-icon-button:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-icon-button.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n:host {\\n display: inline-block; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/icon-button/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); /***/ }), @@ -1002,7 +1002,7 @@ eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css- /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-bar {\\n width: 100%; }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-scroller {\\n overflow-y: hidden; }\\n\\n.mdc-tab-scroller__test {\\n position: absolute;\\n top: -9999px;\\n width: 100px;\\n height: 100px;\\n overflow-x: scroll; }\\n\\n.mdc-tab-scroller__scroll-area {\\n -webkit-overflow-scrolling: touch;\\n display: flex;\\n overflow-x: hidden; }\\n\\n.mdc-tab-scroller__scroll-area::-webkit-scrollbar,\\n.mdc-tab-scroller__test::-webkit-scrollbar {\\n display: none; }\\n\\n.mdc-tab-scroller__scroll-area--scroll {\\n overflow-x: scroll; }\\n\\n.mdc-tab-scroller__scroll-content {\\n position: relative;\\n display: flex;\\n flex: 1 0 auto;\\n transform: none;\\n will-change: transform; }\\n\\n.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content {\\n justify-content: flex-start; }\\n\\n.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content {\\n justify-content: flex-end; }\\n\\n.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content {\\n justify-content: center; }\\n\\n.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area {\\n -webkit-overflow-scrolling: auto; }\\n\\n.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content {\\n transition: 250ms transform cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-indicator {\\n display: flex;\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n pointer-events: none;\\n z-index: 1; }\\n .mdc-tab-indicator .mdc-tab-indicator__content--underline {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-tab-indicator .mdc-tab-indicator__content--underline {\\n border-top-width: 2px; }\\n .mdc-tab-indicator .mdc-tab-indicator__content--icon {\\n color: #2170b8;\\n /* @alternate */\\n color: var(--mdc-theme-secondary, #2170b8); }\\n .mdc-tab-indicator .mdc-tab-indicator__content--icon {\\n height: 34px;\\n font-size: 34px; }\\n\\n.mdc-tab-indicator__content {\\n transform-origin: left;\\n opacity: 0; }\\n\\n.mdc-tab-indicator__content--underline {\\n align-self: flex-end;\\n box-sizing: border-box;\\n width: 100%;\\n border-top-style: solid; }\\n\\n.mdc-tab-indicator__content--icon {\\n align-self: center;\\n margin: 0 auto; }\\n\\n.mdc-tab-indicator--active .mdc-tab-indicator__content {\\n opacity: 1; }\\n\\n.mdc-tab-indicator .mdc-tab-indicator__content {\\n transition: 250ms transform cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n.mdc-tab-indicator--no-transition .mdc-tab-indicator__content {\\n transition: none; }\\n\\n.mdc-tab-indicator--fade .mdc-tab-indicator__content {\\n transition: 150ms opacity linear; }\\n\\n.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content {\\n transition-delay: 100ms; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab {\\n position: relative;\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.875rem;\\n line-height: 2.25rem;\\n font-weight: 500;\\n letter-spacing: 0.08929em;\\n text-decoration: none;\\n text-transform: uppercase;\\n padding-right: 24px;\\n padding-left: 24px;\\n display: flex;\\n flex: 1 0 auto;\\n justify-content: center;\\n box-sizing: border-box;\\n height: 48px;\\n margin: 0;\\n padding-top: 0;\\n padding-bottom: 0;\\n border: none;\\n outline: none;\\n background: none;\\n text-align: center;\\n white-space: nowrap;\\n cursor: pointer;\\n -webkit-appearance: none;\\n z-index: 1; }\\n .mdc-tab .mdc-tab__text-label {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-tab .mdc-tab__icon {\\n color: rgba(0, 0, 0, 0.54);\\n fill: currentColor; }\\n .mdc-tab::-moz-focus-inner {\\n padding: 0;\\n border: 0; }\\n\\n.mdc-tab--min-width {\\n flex: 0 1 auto; }\\n\\n.mdc-tab__ripple {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n overflow: hidden; }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-tab__ripple::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-tab__ripple.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-tab__ripple.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-tab__ripple.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-tab__ripple.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-tab__ripple.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-tab__ripple.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n background-color: #0072d9; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); } }\\n .mdc-tab__ripple:hover::before {\\n opacity: 0.04; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded):focus::before, .mdc-tab__ripple.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-tab__ripple.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n.mdc-tab__content {\\n position: relative;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n height: inherit;\\n pointer-events: none; }\\n\\n.mdc-tab__text-label,\\n.mdc-tab__icon {\\n transition: 150ms color linear;\\n z-index: 2; }\\n\\n.mdc-tab__text-label {\\n display: inline-block;\\n line-height: 1; }\\n\\n.mdc-tab__icon {\\n width: 24px;\\n height: 24px;\\n font-size: 24px; }\\n\\n.mdc-tab--stacked {\\n height: 72px; }\\n\\n.mdc-tab--stacked .mdc-tab__content {\\n flex-direction: column;\\n align-items: center;\\n justify-content: space-between; }\\n\\n.mdc-tab--stacked .mdc-tab__icon {\\n padding-top: 12px; }\\n\\n.mdc-tab--stacked .mdc-tab__text-label {\\n padding-bottom: 16px; }\\n\\n.mdc-tab--active .mdc-tab__text-label {\\n color: #0072d9;\\n /* @alternate */\\n color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-tab--active .mdc-tab__icon {\\n color: #0072d9;\\n /* @alternate */\\n color: var(--mdc-theme-primary, #0072d9);\\n fill: currentColor; }\\n\\n.mdc-tab--active .mdc-tab__text-label,\\n.mdc-tab--active .mdc-tab__icon {\\n transition-delay: 100ms; }\\n\\n.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label {\\n /* @noflip */\\n padding-left: 8px;\\n /* @noflip */\\n padding-right: 0; }\\n [dir=\\\"rtl\\\"] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label, .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 8px; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/tab/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); +eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-bar {\\n width: 100%; }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-scroller {\\n overflow-y: hidden; }\\n\\n.mdc-tab-scroller__test {\\n position: absolute;\\n top: -9999px;\\n width: 100px;\\n height: 100px;\\n overflow-x: scroll; }\\n\\n.mdc-tab-scroller__scroll-area {\\n -webkit-overflow-scrolling: touch;\\n display: flex;\\n overflow-x: hidden; }\\n\\n.mdc-tab-scroller__scroll-area::-webkit-scrollbar,\\n.mdc-tab-scroller__test::-webkit-scrollbar {\\n display: none; }\\n\\n.mdc-tab-scroller__scroll-area--scroll {\\n overflow-x: scroll; }\\n\\n.mdc-tab-scroller__scroll-content {\\n position: relative;\\n display: flex;\\n flex: 1 0 auto;\\n transform: none;\\n will-change: transform; }\\n\\n.mdc-tab-scroller--align-start .mdc-tab-scroller__scroll-content {\\n justify-content: flex-start; }\\n\\n.mdc-tab-scroller--align-end .mdc-tab-scroller__scroll-content {\\n justify-content: flex-end; }\\n\\n.mdc-tab-scroller--align-center .mdc-tab-scroller__scroll-content {\\n justify-content: center; }\\n\\n.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-area {\\n -webkit-overflow-scrolling: auto; }\\n\\n.mdc-tab-scroller--animating .mdc-tab-scroller__scroll-content {\\n transition: 250ms transform cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab-indicator {\\n display: flex;\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n pointer-events: none;\\n z-index: 1; }\\n .mdc-tab-indicator .mdc-tab-indicator__content--underline {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-tab-indicator .mdc-tab-indicator__content--underline {\\n border-top-width: 2px; }\\n .mdc-tab-indicator .mdc-tab-indicator__content--icon {\\n color: #2170b8;\\n /* @alternate */\\n color: var(--mdc-theme-secondary, #2170b8); }\\n .mdc-tab-indicator .mdc-tab-indicator__content--icon {\\n height: 34px;\\n font-size: 34px; }\\n\\n.mdc-tab-indicator__content {\\n transform-origin: left;\\n opacity: 0; }\\n\\n.mdc-tab-indicator__content--underline {\\n align-self: flex-end;\\n box-sizing: border-box;\\n width: 100%;\\n border-top-style: solid; }\\n\\n.mdc-tab-indicator__content--icon {\\n align-self: center;\\n margin: 0 auto; }\\n\\n.mdc-tab-indicator--active .mdc-tab-indicator__content {\\n opacity: 1; }\\n\\n.mdc-tab-indicator .mdc-tab-indicator__content {\\n transition: 250ms transform cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n.mdc-tab-indicator--no-transition .mdc-tab-indicator__content {\\n transition: none; }\\n\\n.mdc-tab-indicator--fade .mdc-tab-indicator__content {\\n transition: 150ms opacity linear; }\\n\\n.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content {\\n transition-delay: 100ms; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n/**\\n * @license\\n * Copyright 2018 Google Inc.\\n *\\n * Permission is hereby granted, free of charge, to any person obtaining a copy\\n * of this software and associated documentation files (the \\\"Software\\\"), to deal\\n * in the Software without restriction, including without limitation the rights\\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\n * copies of the Software, and to permit persons to whom the Software is\\n * furnished to do so, subject to the following conditions:\\n *\\n * The above copyright notice and this permission notice shall be included in\\n * all copies or substantial portions of the Software.\\n *\\n * THE SOFTWARE IS PROVIDED \\\"AS IS\\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\\n * THE SOFTWARE.\\n */\\n.mdc-tab {\\n position: relative;\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.875rem;\\n line-height: 2.25rem;\\n font-weight: 500;\\n letter-spacing: 0.08929em;\\n text-decoration: none;\\n text-transform: uppercase;\\n padding-right: 24px;\\n padding-left: 24px;\\n display: flex;\\n flex: 1 0 auto;\\n justify-content: center;\\n box-sizing: border-box;\\n height: 48px;\\n margin: 0;\\n padding-top: 0;\\n padding-bottom: 0;\\n border: none;\\n outline: none;\\n background: none;\\n text-align: center;\\n white-space: nowrap;\\n cursor: pointer;\\n -webkit-appearance: none;\\n z-index: 1; }\\n .mdc-tab .mdc-tab__text-label {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-tab .mdc-tab__icon {\\n color: rgba(0, 0, 0, 0.54);\\n fill: currentColor; }\\n .mdc-tab::-moz-focus-inner {\\n padding: 0;\\n border: 0; }\\n\\n.mdc-tab--min-width {\\n flex: 0 1 auto; }\\n\\n.mdc-tab__ripple {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 100%;\\n height: 100%;\\n overflow: hidden; }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-tab__ripple::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-tab__ripple.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-tab__ripple.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-tab__ripple.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-tab__ripple.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-tab__ripple.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-tab__ripple.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n background-color: #0072d9; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-tab__ripple::before, .mdc-tab__ripple::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); } }\\n .mdc-tab__ripple:hover::before {\\n opacity: 0.04; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded):focus::before, .mdc-tab__ripple.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-tab__ripple:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-tab__ripple.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n.mdc-tab__content {\\n position: relative;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n height: inherit;\\n pointer-events: none; }\\n\\n.mdc-tab__text-label,\\n.mdc-tab__icon {\\n transition: 150ms color linear;\\n z-index: 2; }\\n\\n.mdc-tab__text-label {\\n display: inline-block;\\n line-height: 1; }\\n\\n.mdc-tab__icon {\\n width: 24px;\\n height: 24px;\\n font-size: 24px; }\\n\\n.mdc-tab--stacked {\\n height: 72px; }\\n\\n.mdc-tab--stacked .mdc-tab__content {\\n flex-direction: column;\\n align-items: center;\\n justify-content: space-between; }\\n\\n.mdc-tab--stacked .mdc-tab__icon {\\n padding-top: 12px; }\\n\\n.mdc-tab--stacked .mdc-tab__text-label {\\n padding-bottom: 16px; }\\n\\n.mdc-tab--active .mdc-tab__text-label {\\n color: #0072d9;\\n /* @alternate */\\n color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-tab--active .mdc-tab__icon {\\n color: #0072d9;\\n /* @alternate */\\n color: var(--mdc-theme-primary, #0072d9);\\n fill: currentColor; }\\n\\n.mdc-tab--active .mdc-tab__text-label,\\n.mdc-tab--active .mdc-tab__icon {\\n transition-delay: 100ms; }\\n\\n.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label {\\n /* @noflip */\\n padding-left: 8px;\\n /* @noflip */\\n padding-right: 0; }\\n [dir=\\\"rtl\\\"] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label, .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon + .mdc-tab__text-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 8px; }\\n\\n:host {\\n display: block; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/tab/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); /***/ }), @@ -1013,7 +1013,7 @@ eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css- /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-floating-label {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: 0.00937em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n position: absolute;\\n /* @noflip */\\n left: 0;\\n /* @noflip */\\n transform-origin: left top;\\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n /* @alternate */\\n line-height: 1.15rem;\\n text-align: left;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n cursor: text;\\n overflow: hidden;\\n will-change: transform; }\\n [dir=\\\"rtl\\\"] .mdc-floating-label, .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: 0;\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n transform-origin: right top;\\n /* @noflip */\\n text-align: right; }\\n\\n.mdc-floating-label--float-above {\\n cursor: auto; }\\n\\n.mdc-floating-label--float-above {\\n transform: translateY(-50%) scale(0.75); }\\n\\n.mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-standard 250ms 1; }\\n\\n@keyframes mdc-floating-label-shake-float-above-standard {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-50%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-50%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-50%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-50%) scale(0.75); } }\\n\\n.mdc-line-ripple {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 2px;\\n transform: scaleX(0);\\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n z-index: 2; }\\n\\n.mdc-line-ripple--active {\\n transform: scaleX(1);\\n opacity: 1; }\\n\\n.mdc-line-ripple--deactivating {\\n opacity: 0; }\\n\\n.mdc-notched-outline {\\n display: flex;\\n position: absolute;\\n right: 0;\\n left: 0;\\n box-sizing: border-box;\\n width: 100%;\\n max-width: 100%;\\n height: 100%;\\n /* @noflip */\\n text-align: left;\\n pointer-events: none; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline, .mdc-notched-outline[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n text-align: right; }\\n .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {\\n box-sizing: border-box;\\n height: 100%;\\n transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n border-top: 1px solid;\\n border-bottom: 1px solid;\\n pointer-events: none; }\\n .mdc-notched-outline__leading {\\n /* @noflip */\\n border-left: 1px solid;\\n /* @noflip */\\n border-right: none;\\n width: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline__leading, .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-left: none;\\n /* @noflip */\\n border-right: 1px solid; }\\n .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-left: none;\\n /* @noflip */\\n border-right: 1px solid;\\n flex-grow: 1; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline__trailing, .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-left: 1px solid;\\n /* @noflip */\\n border-right: none; }\\n .mdc-notched-outline__notch {\\n flex: 0 0 auto;\\n width: auto;\\n max-width: calc(100% - 12px * 2); }\\n .mdc-notched-outline .mdc-floating-label {\\n display: inline-block;\\n position: relative;\\n top: 17px;\\n bottom: auto;\\n max-width: 100%; }\\n .mdc-notched-outline .mdc-floating-label--float-above {\\n text-overflow: clip; }\\n .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n max-width: calc(100% / .75); }\\n\\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 8px;\\n border-top: none; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline--notched .mdc-notched-outline__notch, .mdc-notched-outline--notched .mdc-notched-outline__notch[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 8px;\\n /* @noflip */\\n padding-right: 0; }\\n\\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\\n padding: 0; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-text-field-helper-text {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.75rem;\\n line-height: 1.25rem;\\n font-weight: 400;\\n letter-spacing: 0.03333em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n display: block;\\n margin-top: 0;\\n /* @alternate */\\n line-height: normal;\\n margin: 0;\\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n will-change: opacity; }\\n .mdc-text-field-helper-text::before {\\n display: inline-block;\\n width: 0;\\n height: 16px;\\n content: \\\"\\\";\\n vertical-align: 0; }\\n\\n.mdc-text-field-helper-text--persistent {\\n transition: none;\\n opacity: 1;\\n will-change: initial; }\\n\\n.mdc-text-field-character-counter {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.75rem;\\n line-height: 1.25rem;\\n font-weight: 400;\\n letter-spacing: 0.03333em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n display: block;\\n margin-top: 0;\\n /* @alternate */\\n line-height: normal;\\n /* @noflip */\\n margin-left: auto;\\n /* @noflip */\\n margin-right: 0;\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 0;\\n white-space: nowrap; }\\n .mdc-text-field-character-counter::before {\\n display: inline-block;\\n width: 0;\\n height: 16px;\\n content: \\\"\\\";\\n vertical-align: 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n margin-left: 0;\\n /* @noflip */\\n margin-right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__icon,\\n.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n position: absolute;\\n bottom: 16px;\\n cursor: pointer; }\\n\\n.mdc-text-field__icon:not([tabindex]),\\n.mdc-text-field__icon[tabindex=\\\"-1\\\"] {\\n cursor: default;\\n pointer-events: none; }\\n\\n.mdc-text-field {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n border-radius: 4px 4px 0 0;\\n display: inline-flex;\\n position: relative;\\n box-sizing: border-box;\\n height: 56px;\\n overflow: hidden;\\n /* @alternate */\\n will-change: opacity, transform, color; }\\n .mdc-text-field::before, .mdc-text-field::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-text-field::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-text-field.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-text-field.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-text-field.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-text-field.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-text-field.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-text-field::before, .mdc-text-field::after {\\n background-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field:hover::before {\\n opacity: 0.04; }\\n .mdc-text-field:not(.mdc-ripple-upgraded):focus::before, .mdc-text-field.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-text-field::before, .mdc-text-field::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-text-field.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {\\n color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field .mdc-text-field__input {\\n caret-color: #0072d9;\\n /* @alternate */\\n caret-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n border-bottom-color: rgba(0, 0, 0, 0.42); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover {\\n border-bottom-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field .mdc-line-ripple {\\n background-color: #0072d9;\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea) {\\n border-bottom-color: rgba(0, 0, 0, 0.12); }\\n .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,\\n .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-character-counter {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon {\\n color: rgba(0, 0, 0, 0.54); }\\n .mdc-text-field:not(.mdc-text-field--disabled) {\\n background-color: whitesmoke; }\\n .mdc-text-field .mdc-floating-label {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial;\\n top: 18px;\\n pointer-events: none; }\\n [dir=\\\"rtl\\\"] .mdc-text-field .mdc-floating-label, .mdc-text-field .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n .mdc-text-field--textarea .mdc-floating-label {\\n /* @noflip */\\n left: 4px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-floating-label, .mdc-text-field--textarea .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 4px; }\\n .mdc-text-field--outlined .mdc-floating-label {\\n /* @noflip */\\n left: 4px;\\n /* @noflip */\\n right: initial;\\n top: 17px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--outlined .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 4px; }\\n .mdc-text-field--outlined--with-leading-icon .mdc-floating-label {\\n /* @noflip */\\n left: 36px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label, .mdc-text-field--outlined--with-leading-icon .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 36px; }\\n .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above {\\n /* @noflip */\\n left: 40px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above, .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 40px; }\\n\\n.mdc-text-field__input {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: 0.00937em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n align-self: flex-end;\\n box-sizing: border-box;\\n width: 100%;\\n height: 100%;\\n padding: 20px 16px 6px;\\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n border: none;\\n border-bottom: 1px solid;\\n border-radius: 0;\\n background: none;\\n appearance: none; }\\n .mdc-text-field__input::placeholder {\\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n color: rgba(0, 0, 0, 0.54); }\\n .mdc-text-field__input:-ms-input-placeholder {\\n color: rgba(0, 0, 0, 0.54) !important; }\\n .mdc-text-field--fullwidth .mdc-text-field__input::placeholder,\\n .mdc-text-field--no-label .mdc-text-field__input::placeholder,\\n .mdc-text-field--focused .mdc-text-field__input::placeholder {\\n transition-delay: 40ms;\\n transition-duration: 110ms;\\n opacity: 1; }\\n .mdc-text-field__input:focus {\\n outline: none; }\\n .mdc-text-field__input:invalid {\\n box-shadow: none; }\\n .mdc-text-field__input:-webkit-autofill {\\n z-index: auto !important; }\\n .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n padding: 16px; }\\n\\n.mdc-text-field__input:-webkit-autofill + .mdc-floating-label {\\n transform: translateY(-50%) scale(0.75);\\n cursor: auto; }\\n\\n.mdc-text-field--outlined {\\n border: none;\\n overflow: visible; }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.24); }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field--outlined .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1; }\\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n .mdc-text-field--outlined .mdc-floating-label--float-above {\\n transform: translateY(-144%) scale(1); }\\n .mdc-text-field--outlined .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n .mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) scale(0.75); }\\n .mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--outlined::before, .mdc-text-field--outlined::after {\\n content: none; }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--outlined .mdc-text-field__input {\\n display: flex;\\n padding: 12px 16px 14px;\\n border: none !important;\\n background-color: transparent;\\n z-index: 1; }\\n .mdc-text-field--outlined .mdc-text-field__icon {\\n z-index: 2; }\\n\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-width: 2px; }\\n\\n.mdc-text-field--outlined.mdc-text-field--disabled {\\n background-color: transparent; }\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom: none; }\\n\\n.mdc-text-field--outlined.mdc-text-field--dense {\\n height: 48px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-134%) scale(1); }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: 0.8rem; }\\n .mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-120%) scale(0.8); }\\n .mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-dense 250ms 1; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__input {\\n padding: 12px 12px 7px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label {\\n top: 14px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__icon {\\n top: 12px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-text-field__icon, .mdc-text-field--with-leading-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-text-field__input, .mdc-text-field--with-leading-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-floating-label {\\n /* @noflip */\\n left: 48px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-floating-label, .mdc-text-field--with-leading-icon .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\\n transform: translateY(-144%) translateX(-32px) scale(1); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-144%) translateX(32px) scale(1); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) translateX(-32px) scale(0.75); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-130%) translateX(32px) scale(0.75); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1; }\\n\\n[dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake, .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=\\\"rtl\\\"] .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl 250ms 1; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label {\\n /* @noflip */\\n left: 36px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 36px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-134%) translateX(-21px) scale(1); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-134%) translateX(21px) scale(1); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: 0.8rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-120%) translateX(-21px) scale(0.8); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-120%) translateX(21px) scale(0.8); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense 250ms 1; }\\n\\n[dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense[dir=\\\"rtl\\\"] .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl 250ms 1; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label {\\n /* @noflip */\\n left: 32px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 32px; }\\n\\n.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon .mdc-text-field__icon, .mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon .mdc-text-field__input, .mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon, .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n right: 16px; }\\n .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon {\\n /* @noflip */\\n right: 12px;\\n /* @noflip */\\n left: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon,\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n bottom: 16px;\\n transform: scale(0.8); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 44px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label {\\n /* @noflip */\\n left: 44px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 44px; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 44px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n right: 12px; }\\n .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon {\\n /* @noflip */\\n right: 12px;\\n /* @noflip */\\n left: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 44px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 44px; }\\n\\n.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-70%) scale(0.8); }\\n\\n.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-dense 250ms 1; }\\n\\n.mdc-text-field--dense .mdc-text-field__input {\\n padding: 12px 12px 0; }\\n\\n.mdc-text-field--dense .mdc-floating-label {\\n font-size: .813rem; }\\n .mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: .813rem; }\\n\\n.mdc-text-field__input:required ~ .mdc-floating-label::after,\\n.mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {\\n margin-left: 1px;\\n content: \\\"*\\\"; }\\n\\n.mdc-text-field--textarea {\\n display: inline-flex;\\n width: auto;\\n height: auto;\\n transition: none;\\n overflow: visible; }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.24); }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field--textarea .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1; }\\n .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading, .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n .mdc-text-field--textarea::before, .mdc-text-field--textarea::after {\\n content: none; }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--textarea .mdc-floating-label--float-above {\\n transform: translateY(-144%) scale(1); }\\n .mdc-text-field--textarea .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n .mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) scale(0.75); }\\n .mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--textarea .mdc-text-field-character-counter {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px;\\n position: absolute;\\n bottom: 13px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-text-field-character-counter, .mdc-text-field--textarea .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n .mdc-text-field--textarea .mdc-text-field__input {\\n align-self: auto;\\n box-sizing: border-box;\\n height: auto;\\n margin: 8px 1px 1px 0;\\n padding: 0 16px 16px;\\n border: none; }\\n .mdc-text-field--textarea .mdc-text-field-character-counter + .mdc-text-field__input {\\n margin-bottom: 28px;\\n padding-bottom: 0; }\\n .mdc-text-field--textarea .mdc-floating-label {\\n top: 17px;\\n bottom: auto;\\n width: auto;\\n pointer-events: none; }\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-width: 2px; }\\n\\n.mdc-text-field--fullwidth {\\n width: 100%; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea) {\\n display: block; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::before, .mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::after {\\n content: none; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea):not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea) .mdc-text-field__input {\\n padding: 0; }\\n .mdc-text-field--fullwidth.mdc-text-field--textarea .mdc-text-field__input {\\n resize: vertical; }\\n\\n.mdc-text-field--fullwidth.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea) {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field-helper-line {\\n display: flex;\\n justify-content: space-between;\\n box-sizing: border-box; }\\n .mdc-text-field--dense + .mdc-text-field-helper-line {\\n margin-bottom: 4px; }\\n .mdc-text-field + .mdc-text-field-helper-line {\\n padding-right: 16px;\\n padding-left: 16px; }\\n\\n.mdc-form-field > .mdc-text-field + label {\\n align-self: flex-start; }\\n\\n.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: rgba(0, 114, 217, 0.87); }\\n\\n.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-floating-label::after,\\n.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--focused + .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg) {\\n opacity: 1; }\\n\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple {\\n background-color: #f5222d;\\n /* @alternate */\\n background-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid .mdc-text-field__input {\\n caret-color: #f5222d;\\n /* @alternate */\\n caret-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid.mdc-text-field--with-trailing-icon:not(.mdc-text-field--with-leading-icon):not(.mdc-text-field--disabled) .mdc-text-field__icon {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid.mdc-text-field--with-trailing-icon.mdc-text-field--with-leading-icon:not(.mdc-text-field--disabled) .mdc-text-field__icon ~ .mdc-text-field__icon {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\\n opacity: 1; }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--disabled {\\n background-color: #fafafa;\\n border-bottom: none;\\n pointer-events: none; }\\n .mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--disabled .mdc-text-field__input {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-floating-label {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-helper-text {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-text-field-character-counter,\\n .mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-character-counter {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-text-field__icon {\\n color: rgba(0, 0, 0, 0.3); }\\n .mdc-text-field--disabled:not(.mdc-text-field--textarea) {\\n border-bottom-color: rgba(0, 0, 0, 0.12); }\\n .mdc-text-field--disabled .mdc-floating-label {\\n cursor: default; }\\n\\n.mdc-text-field--textarea.mdc-text-field--disabled {\\n background-color: transparent;\\n /* @alternate */\\n background-color: #f9f9f9; }\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__leading,\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__notch,\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom: none; }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-dense {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-70%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-70%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-70%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-70%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-dense {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon {\\n 0% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense {\\n 0% {\\n transform: translateX(calc(0 - 21px)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 21px)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 21px)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 21px)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl {\\n 0% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl {\\n 0% {\\n transform: translateX(calc(0 - -21px)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - -21px)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - -21px)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - -21px)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-textarea {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); } }\\n\\n.icon {\\n cursor: default;\\n pointer-events: none; }\\n\\n.mdc-text-field--with-leading-icon .icon {\\n position: absolute;\\n top: 12px;\\n left: 10px; }\\n\\n.mdc-text-field--with-trailing-icon .icon {\\n position: absolute;\\n top: 12px;\\n right: 12px; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/text-field/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); +eval("exports = module.exports = __webpack_require__(/*! ../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".mdc-floating-label {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: 0.00937em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n position: absolute;\\n /* @noflip */\\n left: 0;\\n /* @noflip */\\n transform-origin: left top;\\n transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1), color 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n /* @alternate */\\n line-height: 1.15rem;\\n text-align: left;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n cursor: text;\\n overflow: hidden;\\n will-change: transform; }\\n [dir=\\\"rtl\\\"] .mdc-floating-label, .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: 0;\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n transform-origin: right top;\\n /* @noflip */\\n text-align: right; }\\n\\n.mdc-floating-label--float-above {\\n cursor: auto; }\\n\\n.mdc-floating-label--float-above {\\n transform: translateY(-50%) scale(0.75); }\\n\\n.mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-standard 250ms 1; }\\n\\n@keyframes mdc-floating-label-shake-float-above-standard {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-50%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-50%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-50%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-50%) scale(0.75); } }\\n\\n.mdc-line-ripple {\\n position: absolute;\\n bottom: 0;\\n left: 0;\\n width: 100%;\\n height: 2px;\\n transform: scaleX(0);\\n transition: transform 180ms cubic-bezier(0.4, 0, 0.2, 1), opacity 180ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n z-index: 2; }\\n\\n.mdc-line-ripple--active {\\n transform: scaleX(1);\\n opacity: 1; }\\n\\n.mdc-line-ripple--deactivating {\\n opacity: 0; }\\n\\n.mdc-notched-outline {\\n display: flex;\\n position: absolute;\\n right: 0;\\n left: 0;\\n box-sizing: border-box;\\n width: 100%;\\n max-width: 100%;\\n height: 100%;\\n /* @noflip */\\n text-align: left;\\n pointer-events: none; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline, .mdc-notched-outline[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n text-align: right; }\\n .mdc-notched-outline__leading, .mdc-notched-outline__notch, .mdc-notched-outline__trailing {\\n box-sizing: border-box;\\n height: 100%;\\n transition: border 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n border-top: 1px solid;\\n border-bottom: 1px solid;\\n pointer-events: none; }\\n .mdc-notched-outline__leading {\\n /* @noflip */\\n border-left: 1px solid;\\n /* @noflip */\\n border-right: none;\\n width: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline__leading, .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-left: none;\\n /* @noflip */\\n border-right: 1px solid; }\\n .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-left: none;\\n /* @noflip */\\n border-right: 1px solid;\\n flex-grow: 1; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline__trailing, .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-left: 1px solid;\\n /* @noflip */\\n border-right: none; }\\n .mdc-notched-outline__notch {\\n flex: 0 0 auto;\\n width: auto;\\n max-width: calc(100% - 12px * 2); }\\n .mdc-notched-outline .mdc-floating-label {\\n display: inline-block;\\n position: relative;\\n top: 17px;\\n bottom: auto;\\n max-width: 100%; }\\n .mdc-notched-outline .mdc-floating-label--float-above {\\n text-overflow: clip; }\\n .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n max-width: calc(100% / .75); }\\n\\n.mdc-notched-outline--notched .mdc-notched-outline__notch {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 8px;\\n border-top: none; }\\n [dir=\\\"rtl\\\"] .mdc-notched-outline--notched .mdc-notched-outline__notch, .mdc-notched-outline--notched .mdc-notched-outline__notch[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 8px;\\n /* @noflip */\\n padding-right: 0; }\\n\\n.mdc-notched-outline--no-label .mdc-notched-outline__notch {\\n padding: 0; }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-text-field-helper-text {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.75rem;\\n line-height: 1.25rem;\\n font-weight: 400;\\n letter-spacing: 0.03333em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n display: block;\\n margin-top: 0;\\n /* @alternate */\\n line-height: normal;\\n margin: 0;\\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n will-change: opacity; }\\n .mdc-text-field-helper-text::before {\\n display: inline-block;\\n width: 0;\\n height: 16px;\\n content: \\\"\\\";\\n vertical-align: 0; }\\n\\n.mdc-text-field-helper-text--persistent {\\n transition: none;\\n opacity: 1;\\n will-change: initial; }\\n\\n.mdc-text-field-character-counter {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 0.75rem;\\n line-height: 1.25rem;\\n font-weight: 400;\\n letter-spacing: 0.03333em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n display: block;\\n margin-top: 0;\\n /* @alternate */\\n line-height: normal;\\n /* @noflip */\\n margin-left: auto;\\n /* @noflip */\\n margin-right: 0;\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 0;\\n white-space: nowrap; }\\n .mdc-text-field-character-counter::before {\\n display: inline-block;\\n width: 0;\\n height: 16px;\\n content: \\\"\\\";\\n vertical-align: 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n margin-left: 0;\\n /* @noflip */\\n margin-right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field-character-counter, .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__icon,\\n.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n position: absolute;\\n bottom: 16px;\\n cursor: pointer; }\\n\\n.mdc-text-field__icon:not([tabindex]),\\n.mdc-text-field__icon[tabindex=\\\"-1\\\"] {\\n cursor: default;\\n pointer-events: none; }\\n\\n.mdc-text-field {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n border-radius: 4px 4px 0 0;\\n display: inline-flex;\\n position: relative;\\n box-sizing: border-box;\\n height: 56px;\\n overflow: hidden;\\n /* @alternate */\\n will-change: opacity, transform, color; }\\n .mdc-text-field::before, .mdc-text-field::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-text-field::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-text-field.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-text-field.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-text-field.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-text-field.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-text-field.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-text-field::before, .mdc-text-field::after {\\n background-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field:hover::before {\\n opacity: 0.04; }\\n .mdc-text-field:not(.mdc-ripple-upgraded):focus::before, .mdc-text-field.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-text-field::before, .mdc-text-field::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-text-field.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__input {\\n color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field .mdc-text-field__input {\\n caret-color: #0072d9;\\n /* @alternate */\\n caret-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n border-bottom-color: rgba(0, 0, 0, 0.42); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover {\\n border-bottom-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field .mdc-line-ripple {\\n background-color: #0072d9;\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea) {\\n border-bottom-color: rgba(0, 0, 0, 0.12); }\\n .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-helper-text {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field-character-counter,\\n .mdc-text-field:not(.mdc-text-field--disabled) + .mdc-text-field-helper-line .mdc-text-field-character-counter {\\n color: rgba(0, 0, 0, 0.6); }\\n .mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon {\\n color: rgba(0, 0, 0, 0.54); }\\n .mdc-text-field:not(.mdc-text-field--disabled) {\\n background-color: whitesmoke; }\\n .mdc-text-field .mdc-floating-label {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial;\\n top: 18px;\\n pointer-events: none; }\\n [dir=\\\"rtl\\\"] .mdc-text-field .mdc-floating-label, .mdc-text-field .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n .mdc-text-field--textarea .mdc-floating-label {\\n /* @noflip */\\n left: 4px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-floating-label, .mdc-text-field--textarea .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 4px; }\\n .mdc-text-field--outlined .mdc-floating-label {\\n /* @noflip */\\n left: 4px;\\n /* @noflip */\\n right: initial;\\n top: 17px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--outlined .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 4px; }\\n .mdc-text-field--outlined--with-leading-icon .mdc-floating-label {\\n /* @noflip */\\n left: 36px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label, .mdc-text-field--outlined--with-leading-icon .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 36px; }\\n .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above {\\n /* @noflip */\\n left: 40px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above, .mdc-text-field--outlined--with-leading-icon .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 40px; }\\n\\n.mdc-text-field__input {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1rem;\\n line-height: 1.75rem;\\n font-weight: 400;\\n letter-spacing: 0.00937em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n align-self: flex-end;\\n box-sizing: border-box;\\n width: 100%;\\n height: 100%;\\n padding: 20px 16px 6px;\\n transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);\\n border: none;\\n border-bottom: 1px solid;\\n border-radius: 0;\\n background: none;\\n appearance: none; }\\n .mdc-text-field__input::placeholder {\\n transition: opacity 67ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 0;\\n color: rgba(0, 0, 0, 0.54); }\\n .mdc-text-field__input:-ms-input-placeholder {\\n color: rgba(0, 0, 0, 0.54) !important; }\\n .mdc-text-field--fullwidth .mdc-text-field__input::placeholder,\\n .mdc-text-field--no-label .mdc-text-field__input::placeholder,\\n .mdc-text-field--focused .mdc-text-field__input::placeholder {\\n transition-delay: 40ms;\\n transition-duration: 110ms;\\n opacity: 1; }\\n .mdc-text-field__input:focus {\\n outline: none; }\\n .mdc-text-field__input:invalid {\\n box-shadow: none; }\\n .mdc-text-field__input:-webkit-autofill {\\n z-index: auto !important; }\\n .mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n padding: 16px; }\\n\\n.mdc-text-field__input:-webkit-autofill + .mdc-floating-label {\\n transform: translateY(-50%) scale(0.75);\\n cursor: auto; }\\n\\n.mdc-text-field--outlined {\\n border: none;\\n overflow: visible; }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.24); }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field--outlined .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1; }\\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n .mdc-text-field--outlined .mdc-floating-label--float-above {\\n transform: translateY(-144%) scale(1); }\\n .mdc-text-field--outlined .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n .mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) scale(0.75); }\\n .mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--outlined::before, .mdc-text-field--outlined::after {\\n content: none; }\\n .mdc-text-field--outlined:not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--outlined .mdc-text-field__input {\\n display: flex;\\n padding: 12px 16px 14px;\\n border: none !important;\\n background-color: transparent;\\n z-index: 1; }\\n .mdc-text-field--outlined .mdc-text-field__icon {\\n z-index: 2; }\\n\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-width: 2px; }\\n\\n.mdc-text-field--outlined.mdc-text-field--disabled {\\n background-color: transparent; }\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom: none; }\\n\\n.mdc-text-field--outlined.mdc-text-field--dense {\\n height: 48px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-134%) scale(1); }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: 0.8rem; }\\n .mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-120%) scale(0.8); }\\n .mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-dense 250ms 1; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__input {\\n padding: 12px 12px 7px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label {\\n top: 14px; }\\n .mdc-text-field--outlined.mdc-text-field--dense .mdc-text-field__icon {\\n top: 12px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-text-field__icon, .mdc-text-field--with-leading-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-text-field__input, .mdc-text-field--with-leading-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon .mdc-floating-label {\\n /* @noflip */\\n left: 48px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon .mdc-floating-label, .mdc-text-field--with-leading-icon .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\\n transform: translateY(-144%) translateX(-32px) scale(1); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-144%) translateX(32px) scale(1); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) translateX(-32px) scale(0.75); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-130%) translateX(32px) scale(0.75); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1; }\\n\\n[dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake, .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=\\\"rtl\\\"] .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl 250ms 1; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label {\\n /* @noflip */\\n left: 36px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 36px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-134%) translateX(-21px) scale(1); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-134%) translateX(21px) scale(1); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: 0.8rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-120%) translateX(-21px) scale(0.8); }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"], [dir=\\\"rtl\\\"]\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=\\\"rtl\\\"] {\\n transform: translateY(-120%) translateX(21px) scale(0.8); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense 250ms 1; }\\n\\n[dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label--shake, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense[dir=\\\"rtl\\\"] .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl 250ms 1; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label {\\n /* @noflip */\\n left: 32px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-text-field--dense .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 32px; }\\n\\n.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon .mdc-text-field__icon, .mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon .mdc-text-field__input, .mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon, .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input, .mdc-text-field--with-trailing-icon.mdc-text-field--outlined .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n right: 16px; }\\n .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon {\\n /* @noflip */\\n right: 12px;\\n /* @noflip */\\n left: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__icon ~ .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 48px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 48px;\\n /* @noflip */\\n padding-right: 48px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon,\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n bottom: 16px;\\n transform: scale(0.8); }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 16px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 44px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label {\\n /* @noflip */\\n left: 44px;\\n /* @noflip */\\n right: initial; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label, .mdc-text-field--with-leading-icon.mdc-text-field--dense .mdc-floating-label[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 44px; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: initial; }\\n\\n.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 16px;\\n /* @noflip */\\n padding-right: 44px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 16px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon {\\n /* @noflip */\\n left: 12px;\\n /* @noflip */\\n right: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: auto;\\n /* @noflip */\\n right: 12px; }\\n .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon {\\n /* @noflip */\\n right: 12px;\\n /* @noflip */\\n left: auto; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__icon ~ .mdc-text-field__icon[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 12px; }\\n\\n.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 44px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input, .mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--dense .mdc-text-field__input[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 44px;\\n /* @noflip */\\n padding-right: 44px; }\\n\\n.mdc-text-field--dense .mdc-floating-label--float-above {\\n transform: translateY(-70%) scale(0.8); }\\n\\n.mdc-text-field--dense .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-dense 250ms 1; }\\n\\n.mdc-text-field--dense .mdc-text-field__input {\\n padding: 12px 12px 0; }\\n\\n.mdc-text-field--dense .mdc-floating-label {\\n font-size: .813rem; }\\n .mdc-text-field--dense .mdc-floating-label--float-above {\\n font-size: .813rem; }\\n\\n.mdc-text-field__input:required ~ .mdc-floating-label::after,\\n.mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {\\n margin-left: 1px;\\n content: \\\"*\\\"; }\\n\\n.mdc-text-field--textarea {\\n display: inline-flex;\\n width: auto;\\n height: auto;\\n transition: none;\\n overflow: visible; }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.24); }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.87); }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n .mdc-text-field--textarea .mdc-floating-label--shake {\\n animation: mdc-floating-label-shake-float-above-text-field-outlined 250ms 1; }\\n .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading, .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__leading[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing {\\n /* @noflip */\\n border-radius: 0 4px 4px 0; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing, .mdc-text-field--textarea .mdc-notched-outline .mdc-notched-outline__trailing[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 4px 0 0 4px; }\\n .mdc-text-field--textarea::before, .mdc-text-field--textarea::after {\\n content: none; }\\n .mdc-text-field--textarea:not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--textarea .mdc-floating-label--float-above {\\n transform: translateY(-144%) scale(1); }\\n .mdc-text-field--textarea .mdc-floating-label--float-above {\\n font-size: 0.75rem; }\\n .mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n transform: translateY(-130%) scale(0.75); }\\n .mdc-text-field--textarea.mdc-notched-outline--upgraded .mdc-floating-label--float-above,\\n .mdc-text-field--textarea .mdc-notched-outline--upgraded .mdc-floating-label--float-above {\\n font-size: 1rem; }\\n .mdc-text-field--textarea .mdc-text-field-character-counter {\\n /* @noflip */\\n left: initial;\\n /* @noflip */\\n right: 16px;\\n position: absolute;\\n bottom: 13px; }\\n [dir=\\\"rtl\\\"] .mdc-text-field--textarea .mdc-text-field-character-counter, .mdc-text-field--textarea .mdc-text-field-character-counter[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n left: 16px;\\n /* @noflip */\\n right: initial; }\\n .mdc-text-field--textarea .mdc-text-field__input {\\n align-self: auto;\\n box-sizing: border-box;\\n height: auto;\\n margin: 8px 1px 1px 0;\\n padding: 0 16px 16px;\\n border: none; }\\n .mdc-text-field--textarea .mdc-text-field-character-counter + .mdc-text-field__input {\\n margin-bottom: 28px;\\n padding-bottom: 0; }\\n .mdc-text-field--textarea .mdc-floating-label {\\n top: 17px;\\n bottom: auto;\\n width: auto;\\n pointer-events: none; }\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__leading,\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__notch,\\n .mdc-text-field--textarea.mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-width: 2px; }\\n\\n.mdc-text-field--fullwidth {\\n width: 100%; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea) {\\n display: block; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::before, .mdc-text-field--fullwidth:not(.mdc-text-field--textarea)::after {\\n content: none; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea):not(.mdc-text-field--disabled) {\\n background-color: transparent; }\\n .mdc-text-field--fullwidth:not(.mdc-text-field--textarea) .mdc-text-field__input {\\n padding: 0; }\\n .mdc-text-field--fullwidth.mdc-text-field--textarea .mdc-text-field__input {\\n resize: vertical; }\\n\\n.mdc-text-field--fullwidth.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--textarea) {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field-helper-line {\\n display: flex;\\n justify-content: space-between;\\n box-sizing: border-box; }\\n .mdc-text-field--dense + .mdc-text-field-helper-line {\\n margin-bottom: 4px; }\\n .mdc-text-field + .mdc-text-field-helper-line {\\n padding-right: 16px;\\n padding-left: 16px; }\\n\\n.mdc-form-field > .mdc-text-field + label {\\n align-self: flex-start; }\\n\\n.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: rgba(0, 114, 217, 0.87); }\\n\\n.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-floating-label::after,\\n.mdc-text-field--focused .mdc-text-field__input:required ~ .mdc-notched-outline .mdc-floating-label::after {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--focused + .mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg) {\\n opacity: 1; }\\n\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #0072d9;\\n /* @alternate */\\n border-color: var(--mdc-theme-primary, #0072d9); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea) .mdc-text-field__input:hover {\\n border-bottom-color: #f5222d;\\n /* @alternate */\\n border-bottom-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple {\\n background-color: #f5222d;\\n /* @alternate */\\n background-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid .mdc-text-field__input {\\n caret-color: #f5222d;\\n /* @alternate */\\n caret-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid.mdc-text-field--with-trailing-icon:not(.mdc-text-field--with-leading-icon):not(.mdc-text-field--disabled) .mdc-text-field__icon {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid.mdc-text-field--with-trailing-icon.mdc-text-field--with-leading-icon:not(.mdc-text-field--disabled) .mdc-text-field__icon ~ .mdc-text-field__icon {\\n color: #f5222d;\\n /* @alternate */\\n color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--invalid + .mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg {\\n opacity: 1; }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--textarea.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__input:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused) .mdc-text-field__icon:hover ~ .mdc-notched-outline .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,\\n.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing {\\n border-color: #f5222d;\\n /* @alternate */\\n border-color: var(--mdc-theme-error, #f5222d); }\\n\\n.mdc-text-field--disabled {\\n background-color: #fafafa;\\n border-bottom: none;\\n pointer-events: none; }\\n .mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--disabled .mdc-text-field__input {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-floating-label {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-helper-text {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-text-field-character-counter,\\n .mdc-text-field--disabled + .mdc-text-field-helper-line .mdc-text-field-character-counter {\\n color: rgba(0, 0, 0, 0.37); }\\n .mdc-text-field--disabled .mdc-text-field__icon {\\n color: rgba(0, 0, 0, 0.3); }\\n .mdc-text-field--disabled:not(.mdc-text-field--textarea) {\\n border-bottom-color: rgba(0, 0, 0, 0.12); }\\n .mdc-text-field--disabled .mdc-floating-label {\\n cursor: default; }\\n\\n.mdc-text-field--textarea.mdc-text-field--disabled {\\n background-color: transparent;\\n /* @alternate */\\n background-color: #f9f9f9; }\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__leading,\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__notch,\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-notched-outline__trailing {\\n border-color: rgba(0, 0, 0, 0.06); }\\n .mdc-text-field--textarea.mdc-text-field--disabled .mdc-text-field__input {\\n border-bottom: none; }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-dense {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-70%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-70%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-70%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-70%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-dense {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon {\\n 0% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense {\\n 0% {\\n transform: translateX(calc(0 - 21px)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 21px)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 21px)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - 21px)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl {\\n 0% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0)) translateY(-130%) scale(0.75); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-dense-rtl {\\n 0% {\\n transform: translateX(calc(0 - -21px)) translateY(-120%) scale(0.8); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - -21px)) translateY(-120%) scale(0.8); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - -21px)) translateY(-120%) scale(0.8); }\\n 100% {\\n transform: translateX(calc(0 - -21px)) translateY(-120%) scale(0.8); } }\\n\\n@keyframes mdc-floating-label-shake-float-above-textarea {\\n 0% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); }\\n 33% {\\n animation-timing-function: cubic-bezier(0.5, 0, 0.70173, 0.49582);\\n transform: translateX(calc(4% - 0%)) translateY(-130%) scale(0.75); }\\n 66% {\\n animation-timing-function: cubic-bezier(0.30244, 0.38135, 0.55, 0.95635);\\n transform: translateX(calc(-4% - 0%)) translateY(-130%) scale(0.75); }\\n 100% {\\n transform: translateX(calc(0 - 0%)) translateY(-130%) scale(0.75); } }\\n\\n:host {\\n display: inline-block; }\\n\\n.icon {\\n cursor: default;\\n pointer-events: none; }\\n\\n.material-icons.icon-event {\\n cursor: pointer;\\n pointer-events: all; }\\n\\n.mdc-text-field--with-leading-icon .icon {\\n position: absolute;\\n top: 12px;\\n left: 10px; }\\n\\n.mdc-text-field--with-trailing-icon .icon {\\n position: absolute;\\n top: 12px;\\n right: 12px; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\", \"\"]);\n\n// exports\n\n\n//# sourceURL=webpack:///./src/text-field/index.scss?./node_modules/css-loader!./node_modules/resolve-url-loader!./node_modules/sass-loader/lib/loader.js??ref--4-3"); /***/ }), @@ -1047,7 +1047,7 @@ eval("/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAu /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tag\", function() { return tag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WeElement\", function() { return WeElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"define\", function() { return define; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observe\", function() { return observe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getHost\", function() { return getHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rpx\", function() { return rpx; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tick\", function() { return tick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nextTick\", function() { return nextTick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ModelView\", function() { return ModelView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defineElement\", function() { return defineElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"classNames\", function() { return classNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractClass\", function() { return extractClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRef\", function() { return createRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"html\", function() { return html; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"htm\", function() { return htm; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"o\", function() { return o; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"elements\", function() { return elements; });\n/**\n * omi v6.4.4 http://omijs.org\n * Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.\n * By dntzhang https://github.com/dntzhang\n * Github: https://github.com/Tencent/omi\n * MIT Licensed.\n */\n\n/** Virtual DOM Node */\nfunction VNode() {}\n\nfunction getGlobal() {\n if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {\n return self || window || global || function () {\n return this;\n }();\n }\n return global;\n}\n\n/** Global options\n *\t@public\n *\t@namespace options {Object}\n */\nvar options = {\n store: null,\n root: getGlobal(),\n mapping: {}\n};\n\nvar stack = [];\n\nfunction h(nodeName, attributes) {\n var children = [],\n lastSimple,\n child,\n simple,\n i;\n for (i = arguments.length; i-- > 2;) {\n stack.push(arguments[i]);\n }\n if (attributes && attributes.children != null) {\n if (!stack.length) stack.push(attributes.children);\n delete attributes.children;\n }\n while (stack.length) {\n if ((child = stack.pop()) && child.pop !== undefined) {\n for (i = child.length; i--;) {\n stack.push(child[i]);\n }\n } else {\n if (typeof child === 'boolean') child = null;\n\n if (simple = typeof nodeName !== 'function') {\n if (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n }\n\n if (simple && lastSimple) {\n children[children.length - 1] += child;\n } else if (children.length === 0) {\n children = [child];\n } else {\n children.push(child);\n }\n\n lastSimple = simple;\n }\n }\n\n var p = new VNode();\n p.nodeName = nodeName;\n p.children = children;\n p.attributes = attributes == null ? undefined : attributes;\n p.key = attributes == null ? undefined : attributes.key;\n\n // if a \"vnode hook\" is defined, pass every created VNode to it\n if (options.vnode !== undefined) options.vnode(p);\n\n return p;\n}\n\n/**\n * @license\n * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n */\n(function () {\n if (\n // No Reflect, no classes, no need for shim because native custom elements\n // require ES2015 classes or Reflect.\n window.Reflect === undefined || window.customElements === undefined ||\n // The webcomponentsjs custom elements polyfill doesn't require\n // ES2015-compatible construction (`super()` or `Reflect.construct`).\n window.customElements.hasOwnProperty('polyfillWrapFlushCallback')) {\n return;\n }\n var BuiltInHTMLElement = HTMLElement;\n window.HTMLElement = function HTMLElement() {\n return Reflect.construct(BuiltInHTMLElement, [], this.constructor);\n };\n HTMLElement.prototype = BuiltInHTMLElement.prototype;\n HTMLElement.prototype.constructor = HTMLElement;\n Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);\n})();\n\nfunction cssToDom(css) {\n var node = document.createElement('style');\n node.textContent = css;\n return node;\n}\n\nfunction npn(str) {\n return str.replace(/-(\\w)/g, function ($, $1) {\n return $1.toUpperCase();\n });\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\n/** Invoke or update a ref, depending on whether it is a function or object ref.\n * @param {object|function} [ref=null]\n * @param {any} [value]\n */\nfunction applyRef(ref, value) {\n if (ref != null) {\n if (typeof ref == 'function') ref(value);else ref.current = value;\n }\n}\n\n/**\n * Call a function asynchronously, as soon as possible. Makes\n * use of HTML Promise to schedule the callback if available,\n * otherwise falling back to `setTimeout` (mainly for IE<11).\n * @type {(callback: function) => void}\n */\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction isArray(obj) {\n return Object.prototype.toString.call(obj) === '[object Array]';\n}\n\nfunction nProps(props) {\n if (!props || isArray(props)) return {};\n var result = {};\n Object.keys(props).forEach(function (key) {\n result[key] = props[key].value;\n });\n return result;\n}\n\nfunction getUse(data, paths) {\n var obj = [];\n paths.forEach(function (path, index) {\n var isPath = typeof path === 'string';\n if (isPath) {\n obj[index] = getTargetByPath(data, path);\n } else {\n var key = Object.keys(path)[0];\n var value = path[key];\n if (typeof value === 'string') {\n obj[index] = getTargetByPath(data, value);\n } else {\n var tempPath = value[0];\n if (typeof tempPath === 'string') {\n var tempVal = getTargetByPath(data, tempPath);\n obj[index] = value[1] ? value[1](tempVal) : tempVal;\n } else {\n var args = [];\n tempPath.forEach(function (path) {\n args.push(getTargetByPath(data, path));\n });\n obj[index] = value[1].apply(null, args);\n }\n }\n obj[key] = obj[index];\n }\n });\n return obj;\n}\n\nfunction getTargetByPath(origin, path) {\n var arr = path.replace(/]/g, '').replace(/\\[/g, '.').split('.');\n var current = origin;\n for (var i = 0, len = arr.length; i < len; i++) {\n current = current[arr[i]];\n }\n return current;\n}\n\nvar hyphenateRE = /\\B([A-Z])/g;\nfunction hyphenate(str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n}\n\n// DOM properties that should NOT have \"px\" added when numeric\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\n/**\n * Check if two nodes are equivalent.\n *\n * @param {Node} node\t\t\tDOM Node to compare\n * @param {VNode} vnode\t\t\tVirtual DOM node to compare\n * @param {boolean} [hydrating=false]\tIf true, ignores component constructors when comparing.\n * @private\n */\nfunction isSameNodeType(node, vnode, hydrating) {\n if (typeof vnode === 'string' || typeof vnode === 'number') {\n return node.splitText !== undefined;\n }\n if (typeof vnode.nodeName === 'string') {\n return !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n } else if (typeof vnode.nodeName === 'function') {\n return options.mapping[node.nodeName.toLowerCase()] === vnode.nodeName;\n }\n return hydrating || node._componentConstructor === vnode.nodeName;\n}\n\n/**\n * Check if an Element has a given nodeName, case-insensitively.\n *\n * @param {Element} node\tA DOM Element to inspect the name of.\n * @param {String} nodeName\tUnnormalized name to compare against.\n */\nfunction isNamedNode(node, nodeName) {\n return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\n/**\n * Create an element with the given nodeName.\n * @param {string} nodeName The DOM node to create\n * @param {boolean} [isSvg=false] If `true`, creates an element within the SVG\n * namespace.\n * @returns {Element} The created DOM node\n */\nfunction createNode(nodeName, isSvg) {\n /** @type {Element} */\n var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n node.normalizedNodeName = nodeName;\n return node;\n}\n\n/**\n * Remove a child node from its parent if attached.\n * @param {Node} node The node to remove\n */\nfunction removeNode(node) {\n var parentNode = node.parentNode;\n if (parentNode) parentNode.removeChild(node);\n}\n\n/**\n * Set a named attribute on the given Node, with special behavior for some names\n * and event handlers. If `value` is `null`, the attribute/handler will be\n * removed.\n * @param {Element} node An element to mutate\n * @param {string} name The name/key to set, such as an event or attribute name\n * @param {*} old The last value that was set for this name/node pair\n * @param {*} value An attribute value, such as a function to be used as an\n * event handler\n * @param {boolean} isSvg Are we currently diffing inside an svg?\n * @private\n */\nfunction setAccessor(node, name, old, value, isSvg) {\n if (name === 'className') name = 'class';\n\n if (name === 'key') {\n // ignore\n } else if (name === 'ref') {\n applyRef(old, null);\n applyRef(value, node);\n } else if (name === 'class' && !isSvg) {\n node.className = value || '';\n } else if (name === 'style') {\n if (!value || typeof value === 'string' || typeof old === 'string') {\n node.style.cssText = value || '';\n }\n if (value && typeof value === 'object') {\n if (typeof old !== 'string') {\n for (var i in old) {\n if (!(i in value)) node.style[i] = '';\n }\n }\n for (var i in value) {\n node.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n }\n }\n } else if (name === 'dangerouslySetInnerHTML') {\n if (value) node.innerHTML = value.__html || '';\n } else if (name[0] == 'o' && name[1] == 'n') {\n var useCapture = name !== (name = name.replace(/Capture$/, ''));\n name = name.toLowerCase().substring(2);\n if (value) {\n if (!old) {\n node.addEventListener(name, eventProxy, useCapture);\n if (name == 'tap') {\n node.addEventListener('touchstart', touchStart, useCapture);\n node.addEventListener('touchend', touchEnd, useCapture);\n }\n }\n } else {\n node.removeEventListener(name, eventProxy, useCapture);\n if (name == 'tap') {\n node.removeEventListener('touchstart', touchStart, useCapture);\n node.removeEventListener('touchend', touchEnd, useCapture);\n }\n }\n(node._listeners || (node._listeners = {}))[name] = value;\n } else if (name !== 'list' && name !== 'type' && name !== 'css' && !isSvg && name in node && value !== '') {\n //value !== '' fix for selected, disabled, checked with pure element\n // Attempt to set a DOM property to the given value.\n // IE & FF throw for certain property-value combinations.\n try {\n node[name] = value == null ? '' : value;\n } catch (e) {}\n if ((value == null || value === false) && name != 'spellcheck') node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n } else {\n var ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n // spellcheck is treated differently than all other boolean values and\n // should not be removed when the value is `false`. See:\n // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck\n if (value == null || value === false) {\n if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n } else if (typeof value !== 'function') {\n if (ns) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);\n } else {\n node.pureSetAttribute ? node.pureSetAttribute(name, value) : node.setAttribute(name, value);\n }\n }\n }\n}\n\n/**\n * Proxy an event to hooked event handlers\n * @param {Event} e The event object from the browser\n * @private\n */\nfunction eventProxy(e) {\n return this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nfunction touchStart(e) {\n this.___touchX = e.touches[0].pageX;\n this.___touchY = e.touches[0].pageY;\n this.___scrollTop = document.body.scrollTop;\n}\n\nfunction touchEnd(e) {\n if (Math.abs(e.changedTouches[0].pageX - this.___touchX) < 30 && Math.abs(e.changedTouches[0].pageY - this.___touchY) < 30 && Math.abs(document.body.scrollTop - this.___scrollTop) < 30) {\n this.dispatchEvent(new CustomEvent('tap', { detail: e }));\n }\n}\n\n/** Diff recursion count, used to track the end of the diff cycle. */\nvar diffLevel = 0;\n\n/** Global flag indicating if the diff is currently within an SVG */\nvar isSvgMode = false;\n\n/** Global flag indicating if the diff is performing hydration */\nvar hydrating = false;\n\n/** Apply differences in a given vnode (and it's deep children) to a real DOM Node.\n *\t@param {Element} [dom=null]\t\tA DOM node to mutate into the shape of the `vnode`\n *\t@param {VNode} vnode\t\t\tA VNode (with descendants forming a tree) representing the desired DOM structure\n *\t@returns {Element} dom\t\t\tThe created/mutated element\n *\t@private\n */\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n // diffLevel having been 0 here indicates initial entry into the diff (not a subdiff)\n var ret;\n if (!diffLevel++) {\n // when first starting the diff, check if we're diffing an SVG or within an SVG\n isSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n // hydration is indicated by the existing element to be diffed not having a prop cache\n hydrating = dom != null && !('__omiattr_' in dom);\n }\n if (isArray(vnode)) {\n ret = [];\n var parentNode = null;\n if (isArray(dom)) {\n var domLength = dom.length;\n var maxLength = Math.max(vnode.length, domLength);\n parentNode = dom[0].parentNode;\n for (var i = 0; i < maxLength; i++) {\n var ele = idiff(dom[i], vnode[i], context, mountAll, componentRoot);\n ret.push(ele);\n if (parentNode && i > domLength - 1) {\n parentNode.appendChild(ele);\n }\n }\n } else {\n vnode.forEach(function (item, index) {\n var ele = idiff(index === 0 ? dom : null, item, context, mountAll, componentRoot);\n ret.push(ele);\n parent && parent.appendChild(ele);\n });\n }\n } else {\n if (isArray(dom)) {\n dom.forEach(function (one, index) {\n if (index === 0) {\n ret = idiff(one, vnode, context, mountAll, componentRoot);\n } else {\n recollectNodeTree(one, false);\n }\n });\n } else {\n ret = idiff(dom, vnode, context, mountAll, componentRoot);\n }\n // append the element if its a new parent\n if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n }\n\n // diffLevel being reduced to 0 means we're exiting the diff\n if (! --diffLevel) {\n hydrating = false;\n // invoke queued componentDidMount lifecycle methods\n }\n\n return ret;\n}\n\n/** Internals of `diff()`, separated to allow bypassing diffLevel / mount flushing. */\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n if (dom && vnode && dom.props) {\n dom.props.children = vnode.children;\n }\n var out = dom,\n prevSvgMode = isSvgMode;\n\n // empty values (null, undefined, booleans) render as empty Text nodes\n if (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n // Fast case: Strings & Numbers create/update Text nodes.\n if (typeof vnode === 'string' || typeof vnode === 'number') {\n // update if it's already a Text node:\n if (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n /* istanbul ignore if */ /* Browser quirk that can't be covered: https://github.com/developit/preact/commit/fd4f21f5c45dfd75151bd27b4c217d8003aa5eb9 */\n if (dom.nodeValue != vnode) {\n dom.nodeValue = vnode;\n }\n } else {\n // it wasn't a Text node: replace it with one and recycle the old Element\n out = document.createTextNode(vnode);\n if (dom) {\n if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n recollectNodeTree(dom, true);\n }\n }\n\n out['__omiattr_'] = true;\n\n return out;\n }\n\n // If the VNode represents a Component, perform a component diff:\n var vnodeName = vnode.nodeName;\n if (typeof vnodeName === 'function') {\n for (var key in options.mapping) {\n if (options.mapping[key] === vnodeName) {\n vnodeName = key;\n vnode.nodeName = key;\n break;\n }\n }\n }\n // Tracks entering and exiting SVG namespace when descending through the tree.\n isSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n // If there's no existing element or it's the wrong type, create a new one:\n vnodeName = String(vnodeName);\n if (!dom || !isNamedNode(dom, vnodeName)) {\n out = createNode(vnodeName, isSvgMode);\n\n if (dom) {\n // move children into the replacement node\n while (dom.firstChild) {\n out.appendChild(dom.firstChild);\n } // if the previous Element was mounted into the DOM, replace it inline\n if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n // recycle the old element (skips non-Element node types)\n recollectNodeTree(dom, true);\n }\n }\n\n var fc = out.firstChild,\n props = out['__omiattr_'],\n vchildren = vnode.children;\n\n if (props == null) {\n props = out['__omiattr_'] = {};\n for (var a = out.attributes, i = a.length; i--;) {\n props[a[i].name] = a[i].value;\n }\n }\n\n // Optimization: fast-path for elements containing a single TextNode:\n if (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n if (fc.nodeValue != vchildren[0]) {\n fc.nodeValue = vchildren[0];\n }\n }\n // otherwise, if there are existing or new children, diff them:\n else if (vchildren && vchildren.length || fc != null) {\n if (!(out.constructor.is == 'WeElement' && out.constructor.noSlot)) {\n innerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n }\n }\n\n // Apply attributes/props from VNode to the DOM Element:\n diffAttributes(out, vnode.attributes, props, vnode.children);\n if (out.props) {\n out.props.children = vnode.children;\n }\n // restore previous SVG mode: (in case we're exiting an SVG namespace)\n isSvgMode = prevSvgMode;\n\n return out;\n}\n\n/** Apply child and attribute changes between a VNode and a DOM Node to the DOM.\n *\t@param {Element} dom\t\t\tElement whose children should be compared & mutated\n *\t@param {Array} vchildren\t\tArray of VNodes to compare to `dom.childNodes`\n *\t@param {Object} context\t\t\tImplicitly descendant context object (from most recent `getChildContext()`)\n *\t@param {Boolean} mountAll\n *\t@param {Boolean} isHydrating\tIf `true`, consumes externally created elements similar to hydration\n */\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n var originalChildren = dom.childNodes,\n children = [],\n keyed = {},\n keyedLen = 0,\n min = 0,\n len = originalChildren.length,\n childrenLen = 0,\n vlen = vchildren ? vchildren.length : 0,\n j,\n c,\n f,\n vchild,\n child;\n\n // Build up a map of keyed children and an Array of unkeyed children:\n if (len !== 0) {\n for (var i = 0; i < len; i++) {\n var _child = originalChildren[i],\n props = _child['__omiattr_'],\n key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n if (key != null) {\n keyedLen++;\n keyed[key] = _child;\n } else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n children[childrenLen++] = _child;\n }\n }\n }\n\n if (vlen !== 0) {\n for (var i = 0; i < vlen; i++) {\n vchild = vchildren[i];\n child = null;\n\n // attempt to find a node based on key matching\n var key = vchild.key;\n if (key != null) {\n if (keyedLen && keyed[key] !== undefined) {\n child = keyed[key];\n keyed[key] = undefined;\n keyedLen--;\n }\n }\n // attempt to pluck a node of the same type from the existing children\n else if (!child && min < childrenLen) {\n for (j = min; j < childrenLen; j++) {\n if (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n child = c;\n children[j] = undefined;\n if (j === childrenLen - 1) childrenLen--;\n if (j === min) min++;\n break;\n }\n }\n }\n\n // morph the matched/found/created DOM child to match vchild (deep)\n child = idiff(child, vchild, context, mountAll);\n\n f = originalChildren[i];\n if (child && child !== dom && child !== f) {\n if (f == null) {\n dom.appendChild(child);\n } else if (child === f.nextSibling) {\n removeNode(f);\n } else {\n dom.insertBefore(child, f);\n }\n }\n }\n }\n\n // remove unused keyed children:\n if (keyedLen) {\n for (var i in keyed) {\n if (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n }\n }\n\n // remove orphaned unkeyed children:\n while (min <= childrenLen) {\n if ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n }\n}\n\n/** Recursively recycle (or just unmount) a node and its descendants.\n *\t@param {Node} node\t\t\t\t\t\tDOM node to start unmount/removal from\n *\t@param {Boolean} [unmountOnly=false]\tIf `true`, only triggers unmount lifecycle, skips removal\n */\nfunction recollectNodeTree(node, unmountOnly) {\n // If the node's VNode had a ref function, invoke it with null here.\n // (this is part of the React spec, and smart for unsetting references)\n if (node['__omiattr_'] != null && node['__omiattr_'].ref) {\n if (typeof node['__omiattr_'].ref === 'function') {\n node['__omiattr_'].ref(null);\n } else if (node['__omiattr_'].ref.current) {\n node['__omiattr_'].ref.current = null;\n }\n }\n\n if (unmountOnly === false || node['__omiattr_'] == null) {\n removeNode(node);\n }\n\n removeChildren(node);\n}\n\n/** Recollect/unmount all children.\n *\t- we use .lastChild here because it causes less reflow than .firstChild\n *\t- it's also cheaper than accessing the .childNodes Live NodeList\n */\nfunction removeChildren(node) {\n node = node.lastChild;\n while (node) {\n var next = node.previousSibling;\n recollectNodeTree(node, true);\n node = next;\n }\n}\n\n/** Apply differences in attributes from a VNode to the given DOM Element.\n *\t@param {Element} dom\t\tElement with attributes to diff `attrs` against\n *\t@param {Object} attrs\t\tThe desired end-state key-value attribute pairs\n *\t@param {Object} old\t\t\tCurrent/previous attributes (from previous VNode or element's prop cache)\n */\nfunction diffAttributes(dom, attrs, old, children) {\n var name;\n var update = false;\n var isWeElement = dom.update;\n var oldClone;\n if (dom.receiveProps) {\n oldClone = Object.assign({}, old);\n }\n // console.log(oldClone)\n // console.log(old)\n // remove attributes no longer present on the vnode by setting them to undefined\n for (name in old) {\n // console.log('old:', name, old[name])\n if (!(attrs && attrs[name] != null) && old[name] != null) {\n setAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n if (isWeElement) {\n delete dom.props[name];\n update = true;\n }\n }\n }\n // add new & update changed attributes\n for (name in attrs) {\n // console.log('all:', name, attrs[name])\n if (isWeElement && typeof attrs[name] === 'object' && name !== 'ref') {\n if (name === 'style') {\n setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n }\n if (dom.receiveProps) {\n try {\n old[name] = JSON.parse(JSON.stringify(attrs[name]));\n } catch (e) {\n console.warn('When using receiveProps, you cannot pass prop of cyclic dependencies down.');\n }\n }\n dom.props[npn(name)] = attrs[name];\n // console.log('new:', name, dom.props[name])\n update = true;\n } else if (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n if (isWeElement) {\n dom.props[npn(name)] = attrs[name];\n update = true;\n // console.log('new:', name, dom.props[name])\n }\n }\n }\n\n if (isWeElement && dom.parentNode) {\n if (update || children.length > 0 || dom.store && !dom.store.data) {\n if (dom.receiveProps(dom.props, dom.data, oldClone) !== false) {\n dom.update();\n }\n }\n }\n}\n\n/*!\n * https://github.com/Palindrom/JSONPatcherProxy\n * (c) 2017 Starcounter\n * MIT license\n */\n\n/** Class representing a JS Object observer */\nvar JSONPatcherProxy = function () {\n /**\n * Deep clones your object and returns a new object.\n */\n function deepClone(obj) {\n switch (typeof obj) {\n case 'object':\n return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5\n case 'undefined':\n return null; //this is how JSON.stringify behaves for array items\n default:\n return obj; //no need to clone primitives\n }\n }\n JSONPatcherProxy.deepClone = deepClone;\n\n function escapePathComponent(str) {\n if (str.indexOf('/') == -1 && str.indexOf('~') == -1) return str;\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n }\n JSONPatcherProxy.escapePathComponent = escapePathComponent;\n\n /**\n * Walk up the parenthood tree to get the path\n * @param {JSONPatcherProxy} instance\n * @param {Object} obj the object you need to find its path\n */\n function findObjectPath(instance, obj) {\n var pathComponents = [];\n var parentAndPath = instance.parenthoodMap.get(obj);\n while (parentAndPath && parentAndPath.path) {\n // because we're walking up-tree, we need to use the array as a stack\n pathComponents.unshift(parentAndPath.path);\n parentAndPath = instance.parenthoodMap.get(parentAndPath.parent);\n }\n if (pathComponents.length) {\n var path = pathComponents.join('/');\n return '/' + path;\n }\n return '';\n }\n /**\n * A callback to be used as th proxy set trap callback.\n * It updates parenthood map if needed, proxifies nested newly-added objects, calls default callbacks with the changes occurred.\n * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n * @param {Object} target the affected object\n * @param {String} key the effect property's name\n * @param {Any} newValue the value being set\n */\n function setTrap(instance, target, key, newValue) {\n var parentPath = findObjectPath(instance, target);\n\n var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n if (instance.proxifiedObjectsMap.has(newValue)) {\n var newValueOriginalObject = instance.proxifiedObjectsMap.get(newValue);\n\n instance.parenthoodMap.set(newValueOriginalObject.originalObject, {\n parent: target,\n path: key\n });\n }\n /*\n mark already proxified values as inherited.\n rationale: proxy.arr.shift()\n will emit\n {op: replace, path: '/arr/1', value: arr_2}\n {op: remove, path: '/arr/2'}\n by default, the second operation would revoke the proxy, and this renders arr revoked.\n That's why we need to remember the proxies that are inherited.\n */\n var revokableInstance = instance.proxifiedObjectsMap.get(newValue);\n /*\n Why do we need to check instance.isProxifyingTreeNow?\n We need to make sure we mark revokables as inherited ONLY when we're observing,\n because throughout the first proxification, a sub-object is proxified and then assigned to\n its parent object. This assignment of a pre-proxified object can fool us into thinking\n that it's a proxified object moved around, while in fact it's the first assignment ever.\n Checking isProxifyingTreeNow ensures this is not happening in the first proxification,\n but in fact is is a proxified object moved around the tree\n */\n if (revokableInstance && !instance.isProxifyingTreeNow) {\n revokableInstance.inherited = true;\n }\n\n // if the new value is an object, make sure to watch it\n if (newValue && typeof newValue == 'object' && !instance.proxifiedObjectsMap.has(newValue)) {\n instance.parenthoodMap.set(newValue, {\n parent: target,\n path: key\n });\n newValue = instance._proxifyObjectTreeRecursively(target, newValue, key);\n }\n // let's start with this operation, and may or may not update it later\n var operation = {\n op: 'remove',\n path: destinationPropKey\n };\n if (typeof newValue == 'undefined') {\n // applying De Morgan's laws would be a tad faster, but less readable\n if (!Array.isArray(target) && !target.hasOwnProperty(key)) {\n // `undefined` is being set to an already undefined value, keep silent\n return Reflect.set(target, key, newValue);\n }\n // when array element is set to `undefined`, should generate replace to `null`\n if (Array.isArray(target)) {\noperation.op = 'replace', operation.value = null;\n }\n var oldValue = instance.proxifiedObjectsMap.get(target[key]);\n // was the deleted a proxified object?\n if (oldValue) {\n instance.parenthoodMap.delete(target[key]);\n instance.disableTrapsForProxy(oldValue);\n instance.proxifiedObjectsMap.delete(oldValue);\n }\n } else {\n if (Array.isArray(target) && !Number.isInteger(+key.toString())) {\n /* array props (as opposed to indices) don't emit any patches, to avoid needless `length` patches */\n if (key != 'length') {\n console.warn('JSONPatcherProxy noticed a non-integer prop was set for an array. This will not emit a patch');\n }\n return Reflect.set(target, key, newValue);\n }\n operation.op = 'add';\n if (target.hasOwnProperty(key)) {\n if (typeof target[key] !== 'undefined' || Array.isArray(target)) {\n operation.op = 'replace'; // setting `undefined` array elements is a `replace` op\n }\n }\n operation.value = newValue;\n }\n operation.oldValue = target[key];\n var reflectionResult = Reflect.set(target, key, newValue);\n instance.defaultCallback(operation);\n return reflectionResult;\n }\n /**\n * A callback to be used as th proxy delete trap callback.\n * It updates parenthood map if needed, calls default callbacks with the changes occurred.\n * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n * @param {Object} target the effected object\n * @param {String} key the effected property's name\n */\n function deleteTrap(instance, target, key) {\n if (typeof target[key] !== 'undefined') {\n var parentPath = findObjectPath(instance, target);\n var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n var revokableProxyInstance = instance.proxifiedObjectsMap.get(target[key]);\n\n if (revokableProxyInstance) {\n if (revokableProxyInstance.inherited) {\n /*\n this is an inherited proxy (an already proxified object that was moved around),\n we shouldn't revoke it, because even though it was removed from path1, it is still used in path2.\n And we know that because we mark moved proxies with `inherited` flag when we move them\n it is a good idea to remove this flag if we come across it here, in deleteProperty trap.\n We DO want to revoke the proxy if it was removed again.\n */\n revokableProxyInstance.inherited = false;\n } else {\n instance.parenthoodMap.delete(revokableProxyInstance.originalObject);\n instance.disableTrapsForProxy(revokableProxyInstance);\n instance.proxifiedObjectsMap.delete(target[key]);\n }\n }\n var reflectionResult = Reflect.deleteProperty(target, key);\n\n instance.defaultCallback({\n op: 'remove',\n path: destinationPropKey\n });\n\n return reflectionResult;\n }\n }\n /* pre-define resume and pause functions to enhance constructors performance */\n function resume() {\n var _this = this;\n\n this.defaultCallback = function (operation) {\n _this.isRecording && _this.patches.push(operation);\n _this.userCallback && _this.userCallback(operation);\n };\n this.isObserving = true;\n }\n function pause() {\n this.defaultCallback = function () {};\n this.isObserving = false;\n }\n /**\n * Creates an instance of JSONPatcherProxy around your object of interest `root`.\n * @param {Object|Array} root - the object you want to wrap\n * @param {Boolean} [showDetachedWarning = true] - whether to log a warning when a detached sub-object is modified @see {@link https://github.com/Palindrom/JSONPatcherProxy#detached-objects}\n * @returns {JSONPatcherProxy}\n * @constructor\n */\n function JSONPatcherProxy(root, showDetachedWarning) {\n this.isProxifyingTreeNow = false;\n this.isObserving = false;\n this.proxifiedObjectsMap = new Map();\n this.parenthoodMap = new Map();\n // default to true\n if (typeof showDetachedWarning !== 'boolean') {\n showDetachedWarning = true;\n }\n\n this.showDetachedWarning = showDetachedWarning;\n this.originalObject = root;\n this.cachedProxy = null;\n this.isRecording = false;\n this.userCallback;\n /**\n * @memberof JSONPatcherProxy\n * Restores callback back to the original one provided to `observe`.\n */\n this.resume = resume.bind(this);\n /**\n * @memberof JSONPatcherProxy\n * Replaces your callback with a noop function.\n */\n this.pause = pause.bind(this);\n }\n\n JSONPatcherProxy.prototype.generateProxyAtPath = function (parent, obj, path) {\n var _this2 = this;\n\n if (!obj) {\n return obj;\n }\n var traps = {\n set: function set(target, key, value, receiver) {\n return setTrap(_this2, target, key, value, receiver);\n },\n deleteProperty: function deleteProperty(target, key) {\n return deleteTrap(_this2, target, key);\n }\n };\n var revocableInstance = Proxy.revocable(obj, traps);\n // cache traps object to disable them later.\n revocableInstance.trapsInstance = traps;\n revocableInstance.originalObject = obj;\n\n /* keeping track of object's parent and path */\n\n this.parenthoodMap.set(obj, { parent: parent, path: path });\n\n /* keeping track of all the proxies to be able to revoke them later */\n this.proxifiedObjectsMap.set(revocableInstance.proxy, revocableInstance);\n return revocableInstance.proxy;\n };\n // grab tree's leaves one by one, encapsulate them into a proxy and return\n JSONPatcherProxy.prototype._proxifyObjectTreeRecursively = function (parent, root, path) {\n for (var key in root) {\n if (root.hasOwnProperty(key)) {\n if (root[key] instanceof Object) {\n root[key] = this._proxifyObjectTreeRecursively(root, root[key], escapePathComponent(key));\n }\n }\n }\n return this.generateProxyAtPath(parent, root, path);\n };\n // this function is for aesthetic purposes\n JSONPatcherProxy.prototype.proxifyObjectTree = function (root) {\n /*\n while proxyifying object tree,\n the proxyifying operation itself is being\n recorded, which in an unwanted behavior,\n that's why we disable recording through this\n initial process;\n */\n this.pause();\n this.isProxifyingTreeNow = true;\n var proxifiedObject = this._proxifyObjectTreeRecursively(undefined, root, '');\n /* OK you can record now */\n this.isProxifyingTreeNow = false;\n this.resume();\n return proxifiedObject;\n };\n /**\n * Turns a proxified object into a forward-proxy object; doesn't emit any patches anymore, like a normal object\n * @param {Proxy} proxy - The target proxy object\n */\n JSONPatcherProxy.prototype.disableTrapsForProxy = function (revokableProxyInstance) {\n if (this.showDetachedWarning) {\n var message = \"You're accessing an object that is detached from the observedObject tree, see https://github.com/Palindrom/JSONPatcherProxy#detached-objects\";\n\n revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n console.warn(message);\n return Reflect.set(targetObject, propKey, newValue);\n };\n revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n console.warn(message);\n return Reflect.set(targetObject, propKey, newValue);\n };\n revokableProxyInstance.trapsInstance.deleteProperty = function (targetObject, propKey) {\n return Reflect.deleteProperty(targetObject, propKey);\n };\n } else {\n delete revokableProxyInstance.trapsInstance.set;\n delete revokableProxyInstance.trapsInstance.get;\n delete revokableProxyInstance.trapsInstance.deleteProperty;\n }\n };\n /**\n * Proxifies the object that was passed in the constructor and returns a proxified mirror of it. Even though both parameters are options. You need to pass at least one of them.\n * @param {Boolean} [record] - whether to record object changes to a later-retrievable patches array.\n * @param {Function} [callback] - this will be synchronously called with every object change with a single `patch` as the only parameter.\n */\n JSONPatcherProxy.prototype.observe = function (record, callback) {\n if (!record && !callback) {\n throw new Error('You need to either record changes or pass a callback');\n }\n this.isRecording = record;\n this.userCallback = callback;\n /*\n I moved it here to remove it from `unobserve`,\n this will also make the constructor faster, why initiate\n the array before they decide to actually observe with recording?\n They might need to use only a callback.\n */\n if (record) this.patches = [];\n this.cachedProxy = this.proxifyObjectTree(this.originalObject);\n return this.cachedProxy;\n };\n /**\n * If the observed is set to record, it will synchronously return all the patches and empties patches array.\n */\n JSONPatcherProxy.prototype.generate = function () {\n if (!this.isRecording) {\n throw new Error('You should set record to true to get patches later');\n }\n return this.patches.splice(0, this.patches.length);\n };\n /**\n * Revokes all proxies rendering the observed object useless and good for garbage collection @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable}\n */\n JSONPatcherProxy.prototype.revoke = function () {\n this.proxifiedObjectsMap.forEach(function (el) {\n el.revoke();\n });\n };\n /**\n * Disables all proxies' traps, turning the observed object into a forward-proxy object, like a normal object that you can modify silently.\n */\n JSONPatcherProxy.prototype.disableTraps = function () {\n this.proxifiedObjectsMap.forEach(this.disableTrapsForProxy, this);\n };\n return JSONPatcherProxy;\n}();\n\nvar callbacks = [];\nvar nextTickCallback = [];\n\nfunction tick(fn, scope) {\n callbacks.push({ fn: fn, scope: scope });\n}\n\nfunction fireTick() {\n callbacks.forEach(function (item) {\n item.fn.call(item.scope);\n });\n\n nextTickCallback.forEach(function (nextItem) {\n nextItem.fn.call(nextItem.scope);\n });\n nextTickCallback.length = 0;\n}\n\nfunction nextTick(fn, scope) {\n nextTickCallback.push({ fn: fn, scope: scope });\n}\n\nfunction observe(target) {\n target.observe = true;\n}\n\nfunction proxyUpdate(ele) {\n var timeout = null;\n ele.data = new JSONPatcherProxy(ele.data).observe(false, function () {\n if (ele._willUpdate) {\n return;\n }\n if (ele.constructor.mergeUpdate) {\n clearTimeout(timeout);\n\n timeout = setTimeout(function () {\n ele.update();\n fireTick();\n }, 0);\n } else {\n ele.update();\n fireTick();\n }\n });\n}\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction define(name, ctor) {\n if (ctor.is === 'WeElement') {\n if (options.mapping[name]) {\n // if(options.mapping[name] === ctor){\n // console.warn(`You redefine custom elements named [${name}], redundant JS files may be referenced.`)\n // } else {\n // console.warn(`This custom elements name [${name}] has already been used, please rename it.`)\n // }\n return;\n }\n customElements.define(name, ctor);\n options.mapping[name] = ctor;\n if (ctor.use) {\n ctor.updatePath = getPath(ctor.use);\n } else if (ctor.data) {\n //Compatible with older versions\n ctor.updatePath = getUpdatePath(ctor.data);\n }\n } else {\n var Element = function (_WeElement) {\n _inherits(Element, _WeElement);\n\n function Element() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Element);\n\n for (var _len = arguments.length, args = Array(_len), key = 0; key < _len; key++) {\n args[key] = arguments[key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _WeElement.call.apply(_WeElement, [this].concat(args))), _this), _this._useId = 0, _this._useMap = {}, _this._preCss = null, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Element.prototype.render = function render(props, data) {\n // console.log(data)\n return ctor.call(this, props, data);\n };\n\n Element.prototype.beforeRender = function beforeRender() {\n this._useId = 0;\n };\n\n Element.prototype.useCss = function useCss(css) {\n if (css === this._preCss) {\n return;\n }\n this._preCss = css;\n var style = this.shadowRoot.querySelector('style');\n style && this.shadowRoot.removeChild(style);\n this.shadowRoot.appendChild(cssToDom(css));\n };\n\n Element.prototype.useData = function useData(data) {\n return this.use({ data: data });\n };\n\n Element.prototype.use = function use(option) {\n var _this2 = this;\n\n this._useId++;\n var updater = function updater(newValue) {\n var item = _this2._useMap[updater.id];\n\n item.data = newValue;\n\n _this2.update();\n item.effect && item.effect();\n };\n\n updater.id = this._useId;\n if (!this._isInstalled) {\n this._useMap[this._useId] = option;\n return [option.data, updater];\n }\n\n return [this._useMap[this._useId].data, updater];\n };\n\n Element.prototype.installed = function installed() {\n this._isInstalled = true;\n };\n\n return Element;\n }(WeElement);\n\n customElements.define(name, Element);\n }\n}\n\nfunction getPath(obj) {\n if (Object.prototype.toString.call(obj) === '[object Array]') {\n var result = {};\n obj.forEach(function (item) {\n if (typeof item === 'string') {\n result[item] = true;\n } else {\n var tempPath = item[Object.keys(item)[0]];\n if (typeof tempPath === 'string') {\n result[tempPath] = true;\n } else {\n if (typeof tempPath[0] === 'string') {\n result[tempPath[0]] = true;\n } else {\n tempPath[0].forEach(function (path) {\n return result[path] = true;\n });\n }\n }\n }\n });\n return result;\n } else {\n return getUpdatePath(obj);\n }\n}\n\nfunction getUpdatePath(data) {\n var result = {};\n dataToPath(data, result);\n return result;\n}\n\nfunction dataToPath(data, result) {\n Object.keys(data).forEach(function (key) {\n result[key] = true;\n var type = Object.prototype.toString.call(data[key]);\n if (type === '[object Object]') {\n _objToPath(data[key], key, result);\n } else if (type === '[object Array]') {\n _arrayToPath(data[key], key, result);\n }\n });\n}\n\nfunction _objToPath(data, path, result) {\n Object.keys(data).forEach(function (key) {\n result[path + '.' + key] = true;\n delete result[path];\n var type = Object.prototype.toString.call(data[key]);\n if (type === '[object Object]') {\n _objToPath(data[key], path + '.' + key, result);\n } else if (type === '[object Array]') {\n _arrayToPath(data[key], path + '.' + key, result);\n }\n });\n}\n\nfunction _arrayToPath(data, path, result) {\n data.forEach(function (item, index) {\n result[path + '[' + index + ']'] = true;\n delete result[path];\n var type = Object.prototype.toString.call(item);\n if (type === '[object Object]') {\n _objToPath(item, path + '[' + index + ']', result);\n } else if (type === '[object Array]') {\n _arrayToPath(item, path + '[' + index + ']', result);\n }\n });\n}\n\nfunction _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$1(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar id = 0;\n\nvar WeElement = function (_HTMLElement) {\n _inherits$1(WeElement, _HTMLElement);\n\n function WeElement() {\n _classCallCheck$1(this, WeElement);\n\n var _this = _possibleConstructorReturn$1(this, _HTMLElement.call(this));\n\n _this.props = Object.assign(nProps(_this.constructor.props), _this.constructor.defaultProps);\n _this.elementId = id++;\n _this.data = {};\n return _this;\n }\n\n WeElement.prototype.connectedCallback = function connectedCallback() {\n var p = this.parentNode;\n while (p && !this.store) {\n this.store = p.store;\n p = p.parentNode || p.host;\n }\n if (this.store) {\n this.store.instances.push(this);\n }\n\n if (this.initUse) {\n var use = this.initUse();\n this._updatePath = getPath(use);\n this.use = getUse(this.store.data, use);\n } else {\n this.constructor.use && (this.use = getUse(this.store.data, this.constructor.use));\n }\n this.attrsToProps();\n this.beforeInstall();\n this.install();\n this.afterInstall();\n\n var shadowRoot;\n if (!this.shadowRoot) {\n shadowRoot = this.attachShadow({\n mode: 'open'\n });\n } else {\n shadowRoot = this.shadowRoot;\n var fc;\n while (fc = shadowRoot.firstChild) {\n shadowRoot.removeChild(fc);\n }\n }\n\n if (this.constructor.css) {\n shadowRoot.appendChild(cssToDom(this.constructor.css));\n } else if (this.css) {\n shadowRoot.appendChild(cssToDom(typeof this.css === 'function' ? this.css() : this.css));\n }\n this.beforeRender();\n options.afterInstall && options.afterInstall(this);\n if (this.constructor.observe) {\n this.beforeObserve();\n proxyUpdate(this);\n this.observed();\n }\n\n this._host = diff(null, this.render(this.props, this.data, this.store), {}, false, null, false);\n this.rendered();\n\n if (this.props.css) {\n this._customStyleElement = cssToDom(this.props.css);\n this._customStyleContent = this.props.css;\n shadowRoot.appendChild(this._customStyleElement);\n }\n\n if (isArray(this._host)) {\n this._host.forEach(function (item) {\n shadowRoot.appendChild(item);\n });\n } else {\n shadowRoot.appendChild(this._host);\n }\n this.installed();\n this._isInstalled = true;\n };\n\n WeElement.prototype.disconnectedCallback = function disconnectedCallback() {\n this.uninstall();\n this._isInstalled = false;\n if (this.store) {\n for (var i = 0, len = this.store.instances.length; i < len; i++) {\n if (this.store.instances[i] === this) {\n this.store.instances.splice(i, 1);\n break;\n }\n }\n }\n };\n\n WeElement.prototype.update = function update() {\n this._willUpdate = true;\n this.beforeUpdate();\n this.beforeRender();\n //fix null !== undefined\n if (this._customStyleContent != this.props.css) {\n this._customStyleContent = this.props.css;\n this._customStyleElement.textContent = this._customStyleContent;\n }\n this.attrsToProps();\n this._host = diff(this._host, this.render(this.props, this.data, this.store), null, null, this.shadowRoot);\n this._willUpdate = false;\n this.updated();\n };\n\n WeElement.prototype.removeAttribute = function removeAttribute(key) {\n _HTMLElement.prototype.removeAttribute.call(this, key);\n this.update();\n };\n\n WeElement.prototype.setAttribute = function setAttribute(key, val) {\n if (val && typeof val === 'object') {\n _HTMLElement.prototype.setAttribute.call(this, key, JSON.stringify(val));\n } else {\n _HTMLElement.prototype.setAttribute.call(this, key, val);\n }\n this.update();\n };\n\n WeElement.prototype.pureRemoveAttribute = function pureRemoveAttribute(key) {\n _HTMLElement.prototype.removeAttribute.call(this, key);\n };\n\n WeElement.prototype.pureSetAttribute = function pureSetAttribute(key, val) {\n _HTMLElement.prototype.setAttribute.call(this, key, val);\n };\n\n WeElement.prototype.attrsToProps = function attrsToProps() {\n var ele = this;\n if (ele.normalizedNodeName) return;\n ele.props['css'] = ele.getAttribute('css');\n var attrs = this.constructor.propTypes;\n if (!attrs) return;\n Object.keys(attrs).forEach(function (key) {\n var type = attrs[key];\n var val = ele.getAttribute(hyphenate(key));\n if (val !== null) {\n switch (type) {\n case String:\n ele.props[key] = val;\n break;\n case Number:\n ele.props[key] = Number(val);\n break;\n case Boolean:\n if (val === 'false' || val === '0') {\n ele.props[key] = false;\n } else {\n ele.props[key] = true;\n }\n break;\n case Array:\n case Object:\n ele.props[key] = JSON.parse(val.replace(/(['\"])?([a-zA-Z0-9_-]+)(['\"])?:([^\\/])/g, '\"$2\":$4').replace(/'([\\s\\S]*?)'/g, '\"$1\"').replace(/,(\\s*})/g, '$1'));\n break;\n }\n } else {\n if (ele.constructor.defaultProps && ele.constructor.defaultProps.hasOwnProperty(key)) {\n ele.props[key] = ele.constructor.defaultProps[key];\n } else {\n ele.props[key] = null;\n }\n }\n });\n };\n\n WeElement.prototype.fire = function fire(name, data) {\n this.dispatchEvent(new CustomEvent(name.toLowerCase(), { detail: data }));\n };\n\n WeElement.prototype.beforeInstall = function beforeInstall() {};\n\n WeElement.prototype.install = function install() {};\n\n WeElement.prototype.afterInstall = function afterInstall() {};\n\n WeElement.prototype.installed = function installed() {};\n\n WeElement.prototype.uninstall = function uninstall() {};\n\n WeElement.prototype.beforeUpdate = function beforeUpdate() {};\n\n WeElement.prototype.updated = function updated() {};\n\n WeElement.prototype.beforeRender = function beforeRender() {};\n\n WeElement.prototype.rendered = function rendered() {};\n\n WeElement.prototype.receiveProps = function receiveProps() {};\n\n WeElement.prototype.beforeObserve = function beforeObserve() {};\n\n WeElement.prototype.observed = function observed() {};\n\n return WeElement;\n}(HTMLElement);\n\nWeElement.is = 'WeElement';\n\nfunction render(vnode, parent, store) {\n parent = typeof parent === 'string' ? document.querySelector(parent) : parent;\n if (store) {\n store.instances = [];\n extendStoreUpate(store);\n\n store.data = new JSONPatcherProxy(store.data).observe(false, function (patch) {\n var patchs = {};\n if (patch.op === 'remove') {\n // fix arr splice\n var kv = getArrayPatch(patch.path, store);\n patchs[kv.k] = kv.v;\n\n update(patchs, store);\n } else {\n var key = fixPath(patch.path);\n patchs[key] = patch.value;\n\n update(patchs, store);\n }\n });\n parent.store = store;\n }\n return diff(null, vnode, {}, false, parent, false);\n}\n\nfunction update(patch, store) {\n store.update(patch);\n}\n\nfunction extendStoreUpate(store) {\n store.update = function (patch) {\n var _this = this;\n\n var updateAll = matchGlobalData(this.globalData, patch);\n\n if (Object.keys(patch).length > 0) {\n this.instances.forEach(function (instance) {\n if (updateAll || _this.updateAll || instance.constructor.updatePath && needUpdate(patch, instance.constructor.updatePath) || instance._updatePath && needUpdate(patch, instance._updatePath)) {\n //update this.use\n if (instance.constructor.use) {\n instance.use = getUse(store.data, instance.constructor.use);\n } else if (instance.initUse) {\n instance.use = getUse(store.data, instance.initUse());\n }\n\n instance.update();\n }\n });\n this.onChange && this.onChange(patch);\n }\n };\n}\n\nfunction matchGlobalData(globalData, diffResult) {\n if (!globalData) return false;\n for (var keyA in diffResult) {\n if (globalData.indexOf(keyA) > -1) {\n return true;\n }\n for (var i = 0, len = globalData.length; i < len; i++) {\n if (includePath(keyA, globalData[i])) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction needUpdate(diffResult, updatePath) {\n for (var keyA in diffResult) {\n if (updatePath[keyA]) {\n return true;\n }\n for (var keyB in updatePath) {\n if (includePath(keyA, keyB)) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction includePath(pathA, pathB) {\n if (pathA.indexOf(pathB) === 0) {\n var next = pathA.substr(pathB.length, 1);\n if (next === '[' || next === '.') {\n return true;\n }\n }\n return false;\n}\n\nfunction fixPath(path) {\n var mpPath = '';\n var arr = path.replace('/', '').split('/');\n arr.forEach(function (item, index) {\n if (index) {\n if (isNaN(Number(item))) {\n mpPath += '.' + item;\n } else {\n mpPath += '[' + item + ']';\n }\n } else {\n mpPath += item;\n }\n });\n return mpPath;\n}\n\nfunction getArrayPatch(path, store) {\n var arr = path.replace('/', '').split('/');\n var current = store.data[arr[0]];\n for (var i = 1, len = arr.length; i < len - 1; i++) {\n current = current[arr[i]];\n }\n return { k: fixArrPath(path), v: current };\n}\n\nfunction fixArrPath(path) {\n var mpPath = '';\n var arr = path.replace('/', '').split('/');\n var len = arr.length;\n arr.forEach(function (item, index) {\n if (index < len - 1) {\n if (index) {\n if (isNaN(Number(item))) {\n mpPath += '.' + item;\n } else {\n mpPath += '[' + item + ']';\n }\n } else {\n mpPath += item;\n }\n }\n });\n return mpPath;\n}\n\nfunction tag(name, pure) {\n return function (target) {\n target.pure = pure;\n define(name, target);\n };\n}\n\n/**\n * Clones the given VNode, optionally adding attributes/props and replacing its children.\n * @param {VNode} vnode\t\tThe virtual DOM element to clone\n * @param {Object} props\tAttributes/props to add when cloning\n * @param {VNode} rest\t\tAny additional arguments will be used as replacement children.\n */\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nfunction getHost(ele) {\n var p = ele.parentNode;\n while (p) {\n if (p.host) {\n return p.host;\n } else if (p.shadowRoot && p.shadowRoot.host) {\n return p.shadowRoot.host;\n } else {\n p = p.parentNode;\n }\n }\n}\n\nfunction rpx(str) {\n return str.replace(/([1-9]\\d*|0)(\\.\\d*)*rpx/g, function (a, b) {\n return window.innerWidth * Number(b) / 750 + 'px';\n });\n}\n\nfunction _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$2(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$2(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ModelView = function (_WeElement) {\n _inherits$2(ModelView, _WeElement);\n\n function ModelView() {\n _classCallCheck$2(this, ModelView);\n\n return _possibleConstructorReturn$2(this, _WeElement.apply(this, arguments));\n }\n\n ModelView.prototype.beforeInstall = function beforeInstall() {\n this.data = this.vm.data;\n };\n\n ModelView.prototype.observed = function observed() {\n this.vm.data = this.data;\n };\n\n return ModelView;\n}(WeElement);\n\nModelView.observe = true;\nModelView.mergeUpdate = false;\n\n/**\n * classNames based on https://github.com/JedWatson/classnames\n * by Jed Watson\n * Licensed under the MIT License\n * https://github.com/JedWatson/classnames/blob/master/LICENSE\n * modified by dntzhang\n */\n\nvar hasOwn = {}.hasOwnProperty;\n\nfunction classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n var inner = classNames.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n}\n\nfunction extractClass() {\n var _Array$prototype$slic = Array.prototype.slice.call(arguments, 0),\n props = _Array$prototype$slic[0],\n args = _Array$prototype$slic.slice(1);\n\n if (props.class) {\n args.unshift(props.class);\n delete props.class;\n } else if (props.className) {\n args.unshift(props.className);\n delete props.className;\n }\n if (args.length > 0) {\n return { class: classNames.apply(null, args) };\n }\n}\n\nfunction o(obj) {\n return JSON.stringify(obj);\n}\n\nvar n=function(t,r,u,e){for(var p=1;p\"===t?(a(), u=1):u&&(\"=\"===t?(u=4, r=e, e=\"\"):\"/\"===t?(a(), 3===u&&(s=s[0]), u=s, (s=s[0]).push(u,4), u=0):\" \"===t||\"\\t\"===t||\"\\n\"===t||\"\\r\"===t?(a(), u=2):e+=t);}return a(), s},r=\"function\"==typeof Map,u=r?new Map:{},e=r?function(n){var r=u.get(n);return r||u.set(n,r=t(n)), r}:function(n){for(var r=\"\",e=0;e1?r:r[0]}\n\nvar html = htm.bind(h);\n\nfunction createRef() {\n return {};\n}\n\nvar Component = WeElement;\nvar defineElement = define;\nvar elements = options.mapping;\n\nvar omi = {\n tag: tag,\n WeElement: WeElement,\n Component: Component,\n render: render,\n h: h,\n createElement: h,\n options: options,\n define: define,\n observe: observe,\n cloneElement: cloneElement,\n getHost: getHost,\n rpx: rpx,\n tick: tick,\n nextTick: nextTick,\n ModelView: ModelView,\n defineElement: defineElement,\n classNames: classNames,\n extractClass: extractClass,\n createRef: createRef,\n html: html,\n htm: htm,\n o: o,\n elements: elements\n};\n\noptions.root.Omi = omi;\noptions.root.omi = omi;\noptions.root.Omi.version = '6.4.4';\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (omi);\n\n//# sourceMappingURL=omi.esm.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/omi/dist/omi.esm.js?"); +eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(global) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tag\", function() { return tag; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"WeElement\", function() { return WeElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"Component\", function() { return Component; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"render\", function() { return render; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"h\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createElement\", function() { return h; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"options\", function() { return options; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"define\", function() { return define; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"observe\", function() { return observe; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"cloneElement\", function() { return cloneElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getHost\", function() { return getHost; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"rpx\", function() { return rpx; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"tick\", function() { return tick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"nextTick\", function() { return nextTick; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"ModelView\", function() { return ModelView; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"defineElement\", function() { return defineElement; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"classNames\", function() { return classNames; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"extractClass\", function() { return extractClass; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"createRef\", function() { return createRef; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"html\", function() { return html; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"htm\", function() { return htm; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"o\", function() { return o; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"elements\", function() { return elements; });\n/**\n * omi v6.6.5 http://omijs.org\n * Omi === Preact + Scoped CSS + Store System + Native Support in 3kb javascript.\n * By dntzhang https://github.com/dntzhang\n * Github: https://github.com/Tencent/omi\n * MIT Licensed.\n */\n\n/** Virtual DOM Node */\nfunction VNode() {}\n\nfunction getGlobal() {\n if (typeof global !== 'object' || !global || global.Math !== Math || global.Array !== Array) {\n return self || window || global || function () {\n return this;\n }();\n }\n return global;\n}\n\n/** Global options\n *\t@public\n *\t@namespace options {Object}\n */\nvar options = {\n store: null,\n root: getGlobal(),\n mapping: {}\n};\n\nvar stack = [];\n\nfunction h(nodeName, attributes) {\n var children = [],\n lastSimple,\n child,\n simple,\n i;\n for (i = arguments.length; i-- > 2;) {\n stack.push(arguments[i]);\n }\n if (attributes && attributes.children != null) {\n if (!stack.length) stack.push(attributes.children);\n delete attributes.children;\n }\n while (stack.length) {\n if ((child = stack.pop()) && child.pop !== undefined) {\n for (i = child.length; i--;) {\n stack.push(child[i]);\n }\n } else {\n if (typeof child === 'boolean') child = null;\n\n if (simple = typeof nodeName !== 'function') {\n if (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n }\n\n if (simple && lastSimple) {\n children[children.length - 1] += child;\n } else if (children.length === 0) {\n children = [child];\n } else {\n children.push(child);\n }\n\n lastSimple = simple;\n }\n }\n\n var p = new VNode();\n p.nodeName = nodeName;\n p.children = children;\n p.attributes = attributes == null ? undefined : attributes;\n p.key = attributes == null ? undefined : attributes.key;\n\n // if a \"vnode hook\" is defined, pass every created VNode to it\n if (options.vnode !== undefined) options.vnode(p);\n\n return p;\n}\n\n/**\n * @license\n * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.\n * This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt\n * The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt\n * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt\n * Code distributed by Google as part of the polymer project is also\n * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt\n */\n(function () {\n if (\n // No Reflect, no classes, no need for shim because native custom elements\n // require ES2015 classes or Reflect.\n window.Reflect === undefined || window.customElements === undefined ||\n // The webcomponentsjs custom elements polyfill doesn't require\n // ES2015-compatible construction (`super()` or `Reflect.construct`).\n window.customElements.hasOwnProperty('polyfillWrapFlushCallback')) {\n return;\n }\n var BuiltInHTMLElement = HTMLElement;\n window.HTMLElement = function HTMLElement() {\n return Reflect.construct(BuiltInHTMLElement, [], this.constructor);\n };\n HTMLElement.prototype = BuiltInHTMLElement.prototype;\n HTMLElement.prototype.constructor = HTMLElement;\n Object.setPrototypeOf(HTMLElement, BuiltInHTMLElement);\n})();\n\nfunction cssToDom(css) {\n var node = document.createElement('style');\n node.textContent = css;\n return node;\n}\n\nfunction npn(str) {\n return str.replace(/-(\\w)/g, function ($, $1) {\n return $1.toUpperCase();\n });\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\n/** Invoke or update a ref, depending on whether it is a function or object ref.\n * @param {object|function} [ref=null]\n * @param {any} [value]\n */\nfunction applyRef(ref, value) {\n if (ref != null) {\n if (typeof ref == 'function') ref(value);else ref.current = value;\n }\n}\n\n/**\n * Call a function asynchronously, as soon as possible. Makes\n * use of HTML Promise to schedule the callback if available,\n * otherwise falling back to `setTimeout` (mainly for IE<11).\n * @type {(callback: function) => void}\n */\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction isArray(obj) {\n return Object.prototype.toString.call(obj) === '[object Array]';\n}\n\nfunction nProps(props) {\n if (!props || isArray(props)) return {};\n var result = {};\n Object.keys(props).forEach(function (key) {\n result[key] = props[key].value;\n });\n return result;\n}\n\nfunction getUse(data, paths) {\n var obj = [];\n paths.forEach(function (path, index) {\n var isPath = typeof path === 'string';\n if (isPath) {\n obj[index] = getTargetByPath(data, path);\n } else {\n var key = Object.keys(path)[0];\n var value = path[key];\n if (typeof value === 'string') {\n obj[index] = getTargetByPath(data, value);\n } else {\n var tempPath = value[0];\n if (typeof tempPath === 'string') {\n var tempVal = getTargetByPath(data, tempPath);\n obj[index] = value[1] ? value[1](tempVal) : tempVal;\n } else {\n var args = [];\n tempPath.forEach(function (path) {\n args.push(getTargetByPath(data, path));\n });\n obj[index] = value[1].apply(null, args);\n }\n }\n obj[key] = obj[index];\n }\n });\n return obj;\n}\n\nfunction getTargetByPath(origin, path) {\n var arr = path.replace(/]/g, '').replace(/\\[/g, '.').split('.');\n var current = origin;\n for (var i = 0, len = arr.length; i < len; i++) {\n current = current[arr[i]];\n }\n return current;\n}\n\nvar hyphenateRE = /\\B([A-Z])/g;\nfunction hyphenate(str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n}\n\n// DOM properties that should NOT have \"px\" added when numeric\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\n/**\n * Check if two nodes are equivalent.\n *\n * @param {Node} node\t\t\tDOM Node to compare\n * @param {VNode} vnode\t\t\tVirtual DOM node to compare\n * @param {boolean} [hydrating=false]\tIf true, ignores component constructors when comparing.\n * @private\n */\nfunction isSameNodeType(node, vnode, hydrating) {\n if (typeof vnode === 'string' || typeof vnode === 'number') {\n return node.splitText !== undefined;\n }\n if (typeof vnode.nodeName === 'string') {\n return !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n } else if (typeof vnode.nodeName === 'function') {\n return options.mapping[node.nodeName.toLowerCase()] === vnode.nodeName;\n }\n return hydrating || node._componentConstructor === vnode.nodeName;\n}\n\n/**\n * Check if an Element has a given nodeName, case-insensitively.\n *\n * @param {Element} node\tA DOM Element to inspect the name of.\n * @param {String} nodeName\tUnnormalized name to compare against.\n */\nfunction isNamedNode(node, nodeName) {\n return node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\n/**\n * Create an element with the given nodeName.\n * @param {string} nodeName The DOM node to create\n * @param {boolean} [isSvg=false] If `true`, creates an element within the SVG\n * namespace.\n * @returns {Element} The created DOM node\n */\nfunction createNode(nodeName, isSvg) {\n /** @type {Element} */\n var node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n node.normalizedNodeName = nodeName;\n return node;\n}\n\n/**\n * Remove a child node from its parent if attached.\n * @param {Node} node The node to remove\n */\nfunction removeNode(node) {\n var parentNode = node.parentNode;\n if (parentNode) parentNode.removeChild(node);\n}\n\n/**\n * Set a named attribute on the given Node, with special behavior for some names\n * and event handlers. If `value` is `null`, the attribute/handler will be\n * removed.\n * @param {Element} node An element to mutate\n * @param {string} name The name/key to set, such as an event or attribute name\n * @param {*} old The last value that was set for this name/node pair\n * @param {*} value An attribute value, such as a function to be used as an\n * event handler\n * @param {boolean} isSvg Are we currently diffing inside an svg?\n * @private\n */\nfunction setAccessor(node, name, old, value, isSvg) {\n if (name === 'className') name = 'class';\n\n if (name === 'key') {\n // ignore\n } else if (name === 'ref') {\n applyRef(old, null);\n applyRef(value, node);\n } else if (name === 'class' && !isSvg) {\n node.className = value || '';\n } else if (name === 'style') {\n if (!value || typeof value === 'string' || typeof old === 'string') {\n node.style.cssText = value || '';\n }\n if (value && typeof value === 'object') {\n if (typeof old !== 'string') {\n for (var i in old) {\n if (!(i in value)) node.style[i] = '';\n }\n }\n for (var i in value) {\n node.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n }\n }\n } else if (name === 'dangerouslySetInnerHTML') {\n if (value) node.innerHTML = value.__html || '';\n } else if (name[0] == 'o' && name[1] == 'n') {\n var useCapture = name !== (name = name.replace(/Capture$/, ''));\n name = name.toLowerCase().substring(2);\n if (value) {\n if (!old) {\n node.addEventListener(name, eventProxy, useCapture);\n if (name == 'tap') {\n node.addEventListener('touchstart', touchStart, useCapture);\n node.addEventListener('touchend', touchEnd, useCapture);\n }\n }\n } else {\n node.removeEventListener(name, eventProxy, useCapture);\n if (name == 'tap') {\n node.removeEventListener('touchstart', touchStart, useCapture);\n node.removeEventListener('touchend', touchEnd, useCapture);\n }\n }\n(node._listeners || (node._listeners = {}))[name] = value;\n } else if (name !== 'list' && name !== 'type' && name !== 'css' && !isSvg && name in node && value !== '') {\n //value !== '' fix for selected, disabled, checked with pure element\n // Attempt to set a DOM property to the given value.\n // IE & FF throw for certain property-value combinations.\n try {\n node[name] = value == null ? '' : value;\n } catch (e) {}\n if ((value == null || value === false) && name != 'spellcheck') node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n } else {\n var ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n // spellcheck is treated differently than all other boolean values and\n // should not be removed when the value is `false`. See:\n // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-spellcheck\n if (value == null || value === false) {\n if (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.pureRemoveAttribute ? node.pureRemoveAttribute(name) : node.removeAttribute(name);\n } else if (typeof value !== 'function') {\n if (ns) {\n node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);\n } else {\n node.pureSetAttribute ? node.pureSetAttribute(name, value) : node.setAttribute(name, value);\n }\n }\n }\n}\n\n/**\n * Proxy an event to hooked event handlers\n * @param {Event} e The event object from the browser\n * @private\n */\nfunction eventProxy(e) {\n return this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nfunction touchStart(e) {\n this.___touchX = e.touches[0].pageX;\n this.___touchY = e.touches[0].pageY;\n this.___scrollTop = document.body.scrollTop;\n}\n\nfunction touchEnd(e) {\n if (Math.abs(e.changedTouches[0].pageX - this.___touchX) < 30 && Math.abs(e.changedTouches[0].pageY - this.___touchY) < 30 && Math.abs(document.body.scrollTop - this.___scrollTop) < 30) {\n this.dispatchEvent(new CustomEvent('tap', { detail: e }));\n }\n}\n\n/** Diff recursion count, used to track the end of the diff cycle. */\nvar diffLevel = 0;\n\n/** Global flag indicating if the diff is currently within an SVG */\nvar isSvgMode = false;\n\n/** Global flag indicating if the diff is performing hydration */\nvar hydrating = false;\n\n/** Apply differences in a given vnode (and it's deep children) to a real DOM Node.\n *\t@param {Element} [dom=null]\t\tA DOM node to mutate into the shape of the `vnode`\n *\t@param {VNode} vnode\t\t\tA VNode (with descendants forming a tree) representing the desired DOM structure\n *\t@returns {Element} dom\t\t\tThe created/mutated element\n *\t@private\n */\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n // diffLevel having been 0 here indicates initial entry into the diff (not a subdiff)\n var ret;\n if (!diffLevel++) {\n // when first starting the diff, check if we're diffing an SVG or within an SVG\n isSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n // hydration is indicated by the existing element to be diffed not having a prop cache\n hydrating = dom != null && !('__omiattr_' in dom);\n }\n if (isArray(vnode)) {\n if (parent) {\n var styles = parent.querySelectorAll('style');\n styles.forEach(function (s) {\n parent.removeChild(s);\n });\n innerDiffNode(parent, vnode);\n\n for (var i = styles.length - 1; i >= 0; i--) {\n parent.firstChild ? parent.insertBefore(styles[i], parent.firstChild) : parent.appendChild(style[i]);\n }\n } else {\n\n ret = [];\n vnode.forEach(function (item, index) {\n var ele = idiff(index === 0 ? dom : null, item, context, mountAll, componentRoot);\n ret.push(ele);\n parent && parent.appendChild(ele);\n });\n }\n } else {\n if (isArray(dom)) {\n dom.forEach(function (one, index) {\n if (index === 0) {\n ret = idiff(one, vnode, context, mountAll, componentRoot);\n } else {\n recollectNodeTree(one, false);\n }\n });\n } else {\n ret = idiff(dom, vnode, context, mountAll, componentRoot);\n }\n // append the element if its a new parent\n if (parent && ret.parentNode !== parent) parent.appendChild(ret);\n }\n\n // diffLevel being reduced to 0 means we're exiting the diff\n if (! --diffLevel) {\n hydrating = false;\n // invoke queued componentDidMount lifecycle methods\n }\n\n return ret;\n}\n\n/** Internals of `diff()`, separated to allow bypassing diffLevel / mount flushing. */\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n if (dom && vnode && dom.props) {\n dom.props.children = vnode.children;\n }\n var out = dom,\n prevSvgMode = isSvgMode;\n\n // empty values (null, undefined, booleans) render as empty Text nodes\n if (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n // Fast case: Strings & Numbers create/update Text nodes.\n if (typeof vnode === 'string' || typeof vnode === 'number') {\n // update if it's already a Text node:\n if (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n /* istanbul ignore if */ /* Browser quirk that can't be covered: https://github.com/developit/preact/commit/fd4f21f5c45dfd75151bd27b4c217d8003aa5eb9 */\n if (dom.nodeValue != vnode) {\n dom.nodeValue = vnode;\n }\n } else {\n // it wasn't a Text node: replace it with one and recycle the old Element\n out = document.createTextNode(vnode);\n if (dom) {\n if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n recollectNodeTree(dom, true);\n }\n }\n\n out['__omiattr_'] = true;\n\n return out;\n }\n\n // If the VNode represents a Component, perform a component diff:\n var vnodeName = vnode.nodeName;\n if (typeof vnodeName === 'function') {\n for (var key in options.mapping) {\n if (options.mapping[key] === vnodeName) {\n vnodeName = key;\n vnode.nodeName = key;\n break;\n }\n }\n }\n // Tracks entering and exiting SVG namespace when descending through the tree.\n isSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n // If there's no existing element or it's the wrong type, create a new one:\n vnodeName = String(vnodeName);\n if (!dom || !isNamedNode(dom, vnodeName)) {\n out = createNode(vnodeName, isSvgMode);\n\n if (dom) {\n // move children into the replacement node\n while (dom.firstChild) {\n out.appendChild(dom.firstChild);\n } // if the previous Element was mounted into the DOM, replace it inline\n if (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n // recycle the old element (skips non-Element node types)\n recollectNodeTree(dom, true);\n }\n }\n\n var fc = out.firstChild,\n props = out['__omiattr_'],\n vchildren = vnode.children;\n\n if (props == null) {\n props = out['__omiattr_'] = {};\n for (var a = out.attributes, i = a.length; i--;) {\n props[a[i].name] = a[i].value;\n }\n }\n\n // Optimization: fast-path for elements containing a single TextNode:\n if (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n if (fc.nodeValue != vchildren[0]) {\n fc.nodeValue = vchildren[0];\n }\n }\n // otherwise, if there are existing or new children, diff them:\n else if (vchildren && vchildren.length || fc != null) {\n if (!(out.constructor.is == 'WeElement' && out.constructor.noSlot)) {\n innerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n }\n }\n\n // Apply attributes/props from VNode to the DOM Element:\n diffAttributes(out, vnode.attributes, props);\n if (out.props) {\n out.props.children = vnode.children;\n }\n // restore previous SVG mode: (in case we're exiting an SVG namespace)\n isSvgMode = prevSvgMode;\n\n return out;\n}\n\n/** Apply child and attribute changes between a VNode and a DOM Node to the DOM.\n *\t@param {Element} dom\t\t\tElement whose children should be compared & mutated\n *\t@param {Array} vchildren\t\tArray of VNodes to compare to `dom.childNodes`\n *\t@param {Object} context\t\t\tImplicitly descendant context object (from most recent `getChildContext()`)\n *\t@param {Boolean} mountAll\n *\t@param {Boolean} isHydrating\tIf `true`, consumes externally created elements similar to hydration\n */\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n var originalChildren = dom.childNodes,\n children = [],\n keyed = {},\n keyedLen = 0,\n min = 0,\n len = originalChildren.length,\n childrenLen = 0,\n vlen = vchildren ? vchildren.length : 0,\n j,\n c,\n f,\n vchild,\n child;\n\n // Build up a map of keyed children and an Array of unkeyed children:\n if (len !== 0) {\n for (var i = 0; i < len; i++) {\n var _child = originalChildren[i],\n props = _child['__omiattr_'],\n key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n if (key != null) {\n keyedLen++;\n keyed[key] = _child;\n } else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n children[childrenLen++] = _child;\n }\n }\n }\n if (vlen !== 0) {\n for (var i = 0; i < vlen; i++) {\n vchild = vchildren[i];\n child = null;\n // attempt to find a node based on key matching\n var key = vchild.key;\n if (key != null) {\n if (keyedLen && keyed[key] !== undefined) {\n child = keyed[key];\n keyed[key] = undefined;\n keyedLen--;\n }\n }\n // attempt to pluck a node of the same type from the existing children\n else if (!child && min < childrenLen) {\n for (j = min; j < childrenLen; j++) {\n if (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n child = c;\n children[j] = undefined;\n if (j === childrenLen - 1) childrenLen--;\n if (j === min) min++;\n break;\n }\n }\n }\n\n // morph the matched/found/created DOM child to match vchild (deep)\n child = idiff(child, vchild, context, mountAll);\n\n f = originalChildren[i];\n if (child && child !== dom && child !== f) {\n if (f == null) {\n dom.appendChild(child);\n } else if (child === f.nextSibling) {\n removeNode(f);\n } else {\n dom.insertBefore(child, f);\n }\n }\n }\n }\n\n // remove unused keyed children:\n if (keyedLen) {\n for (var i in keyed) {\n if (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n }\n }\n\n // remove orphaned unkeyed children:\n while (min <= childrenLen) {\n if ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n }\n}\n\n/** Recursively recycle (or just unmount) a node and its descendants.\n *\t@param {Node} node\t\t\t\t\t\tDOM node to start unmount/removal from\n *\t@param {Boolean} [unmountOnly=false]\tIf `true`, only triggers unmount lifecycle, skips removal\n */\nfunction recollectNodeTree(node, unmountOnly) {\n // If the node's VNode had a ref function, invoke it with null here.\n // (this is part of the React spec, and smart for unsetting references)\n if (node['__omiattr_'] != null && node['__omiattr_'].ref) {\n if (typeof node['__omiattr_'].ref === 'function') {\n node['__omiattr_'].ref(null);\n } else if (node['__omiattr_'].ref.current) {\n node['__omiattr_'].ref.current = null;\n }\n }\n\n if (unmountOnly === false || node['__omiattr_'] == null) {\n removeNode(node);\n }\n\n removeChildren(node);\n}\n\n/** Recollect/unmount all children.\n *\t- we use .lastChild here because it causes less reflow than .firstChild\n *\t- it's also cheaper than accessing the .childNodes Live NodeList\n */\nfunction removeChildren(node) {\n node = node.lastChild;\n while (node) {\n var next = node.previousSibling;\n recollectNodeTree(node, true);\n node = next;\n }\n}\n\n/** Apply differences in attributes from a VNode to the given DOM Element.\n *\t@param {Element} dom\t\tElement with attributes to diff `attrs` against\n *\t@param {Object} attrs\t\tThe desired end-state key-value attribute pairs\n *\t@param {Object} old\t\t\tCurrent/previous attributes (from previous VNode or element's prop cache)\n */\nfunction diffAttributes(dom, attrs, old) {\n var name;\n var update = false;\n var isWeElement = dom.update;\n var oldClone;\n if (dom.receiveProps) {\n oldClone = Object.assign({}, old);\n }\n // remove attributes no longer present on the vnode by setting them to undefined\n for (name in old) {\n if (!(attrs && attrs[name] != null) && old[name] != null) {\n setAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n if (isWeElement) {\n delete dom.props[name];\n update = true;\n }\n }\n }\n\n // add new & update changed attributes\n for (name in attrs) {\n if (isWeElement && typeof attrs[name] === 'object' && name !== 'ref') {\n if (name === 'style') {\n setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n }\n if (dom.receiveProps) {\n try {\n old[name] = JSON.parse(JSON.stringify(attrs[name]));\n } catch (e) {\n console.warn('When using receiveProps, you cannot pass prop of cyclic dependencies down.');\n }\n }\n dom.props[npn(name)] = attrs[name];\n update = true;\n } else if (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n setAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n if (isWeElement) {\n dom.props[npn(name)] = attrs[name];\n update = true;\n }\n }\n }\n\n if (isWeElement && dom.parentNode) {\n //__hasChildren is not accuracy when it was empty at first, so add dom.children.length > 0 condition\n if (update || dom.__hasChildren || dom.children.length > 0 || dom.store && !dom.store.data) {\n if (dom.receiveProps(dom.props, dom.data, oldClone) !== false) {\n dom.update();\n }\n }\n }\n}\n\n/*!\n * https://github.com/Palindrom/JSONPatcherProxy\n * (c) 2017 Starcounter\n * MIT license\n */\n\n/** Class representing a JS Object observer */\nvar JSONPatcherProxy = function () {\n /**\n * Deep clones your object and returns a new object.\n */\n function deepClone(obj) {\n switch (typeof obj) {\n case 'object':\n return JSON.parse(JSON.stringify(obj)); //Faster than ES5 clone - http://jsperf.com/deep-cloning-of-objects/5\n case 'undefined':\n return null; //this is how JSON.stringify behaves for array items\n default:\n return obj; //no need to clone primitives\n }\n }\n JSONPatcherProxy.deepClone = deepClone;\n\n function escapePathComponent(str) {\n if (str.indexOf('/') == -1 && str.indexOf('~') == -1) return str;\n return str.replace(/~/g, '~0').replace(/\\//g, '~1');\n }\n JSONPatcherProxy.escapePathComponent = escapePathComponent;\n\n /**\n * Walk up the parenthood tree to get the path\n * @param {JSONPatcherProxy} instance\n * @param {Object} obj the object you need to find its path\n */\n function findObjectPath(instance, obj) {\n var pathComponents = [];\n var parentAndPath = instance.parenthoodMap.get(obj);\n while (parentAndPath && parentAndPath.path) {\n // because we're walking up-tree, we need to use the array as a stack\n pathComponents.unshift(parentAndPath.path);\n parentAndPath = instance.parenthoodMap.get(parentAndPath.parent);\n }\n if (pathComponents.length) {\n var path = pathComponents.join('/');\n return '/' + path;\n }\n return '';\n }\n /**\n * A callback to be used as th proxy set trap callback.\n * It updates parenthood map if needed, proxifies nested newly-added objects, calls default callbacks with the changes occurred.\n * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n * @param {Object} target the affected object\n * @param {String} key the effect property's name\n * @param {Any} newValue the value being set\n */\n function setTrap(instance, target, key, newValue) {\n var parentPath = findObjectPath(instance, target);\n\n var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n if (instance.proxifiedObjectsMap.has(newValue)) {\n var newValueOriginalObject = instance.proxifiedObjectsMap.get(newValue);\n\n instance.parenthoodMap.set(newValueOriginalObject.originalObject, {\n parent: target,\n path: key\n });\n }\n /*\n mark already proxified values as inherited.\n rationale: proxy.arr.shift()\n will emit\n {op: replace, path: '/arr/1', value: arr_2}\n {op: remove, path: '/arr/2'}\n by default, the second operation would revoke the proxy, and this renders arr revoked.\n That's why we need to remember the proxies that are inherited.\n */\n var revokableInstance = instance.proxifiedObjectsMap.get(newValue);\n /*\n Why do we need to check instance.isProxifyingTreeNow?\n We need to make sure we mark revokables as inherited ONLY when we're observing,\n because throughout the first proxification, a sub-object is proxified and then assigned to\n its parent object. This assignment of a pre-proxified object can fool us into thinking\n that it's a proxified object moved around, while in fact it's the first assignment ever.\n Checking isProxifyingTreeNow ensures this is not happening in the first proxification,\n but in fact is is a proxified object moved around the tree\n */\n if (revokableInstance && !instance.isProxifyingTreeNow) {\n revokableInstance.inherited = true;\n }\n\n // if the new value is an object, make sure to watch it\n if (newValue && typeof newValue == 'object' && !instance.proxifiedObjectsMap.has(newValue)) {\n instance.parenthoodMap.set(newValue, {\n parent: target,\n path: key\n });\n newValue = instance._proxifyObjectTreeRecursively(target, newValue, key);\n }\n // let's start with this operation, and may or may not update it later\n var operation = {\n op: 'remove',\n path: destinationPropKey\n };\n if (typeof newValue == 'undefined') {\n // applying De Morgan's laws would be a tad faster, but less readable\n if (!Array.isArray(target) && !target.hasOwnProperty(key)) {\n // `undefined` is being set to an already undefined value, keep silent\n return Reflect.set(target, key, newValue);\n }\n // when array element is set to `undefined`, should generate replace to `null`\n if (Array.isArray(target)) {\noperation.op = 'replace', operation.value = null;\n }\n var oldValue = instance.proxifiedObjectsMap.get(target[key]);\n // was the deleted a proxified object?\n if (oldValue) {\n instance.parenthoodMap.delete(target[key]);\n instance.disableTrapsForProxy(oldValue);\n instance.proxifiedObjectsMap.delete(oldValue);\n }\n } else {\n if (Array.isArray(target) && !Number.isInteger(+key.toString())) {\n /* array props (as opposed to indices) don't emit any patches, to avoid needless `length` patches */\n if (key != 'length') {\n console.warn('JSONPatcherProxy noticed a non-integer prop was set for an array. This will not emit a patch');\n }\n return Reflect.set(target, key, newValue);\n }\n operation.op = 'add';\n if (target.hasOwnProperty(key)) {\n if (typeof target[key] !== 'undefined' || Array.isArray(target)) {\n operation.op = 'replace'; // setting `undefined` array elements is a `replace` op\n }\n }\n operation.value = newValue;\n }\n operation.oldValue = target[key];\n var reflectionResult = Reflect.set(target, key, newValue);\n instance.defaultCallback(operation);\n return reflectionResult;\n }\n /**\n * A callback to be used as th proxy delete trap callback.\n * It updates parenthood map if needed, calls default callbacks with the changes occurred.\n * @param {JSONPatcherProxy} instance JSONPatcherProxy instance\n * @param {Object} target the effected object\n * @param {String} key the effected property's name\n */\n function deleteTrap(instance, target, key) {\n if (typeof target[key] !== 'undefined') {\n var parentPath = findObjectPath(instance, target);\n var destinationPropKey = parentPath + '/' + escapePathComponent(key);\n\n var revokableProxyInstance = instance.proxifiedObjectsMap.get(target[key]);\n\n if (revokableProxyInstance) {\n if (revokableProxyInstance.inherited) {\n /*\n this is an inherited proxy (an already proxified object that was moved around),\n we shouldn't revoke it, because even though it was removed from path1, it is still used in path2.\n And we know that because we mark moved proxies with `inherited` flag when we move them\n it is a good idea to remove this flag if we come across it here, in deleteProperty trap.\n We DO want to revoke the proxy if it was removed again.\n */\n revokableProxyInstance.inherited = false;\n } else {\n instance.parenthoodMap.delete(revokableProxyInstance.originalObject);\n instance.disableTrapsForProxy(revokableProxyInstance);\n instance.proxifiedObjectsMap.delete(target[key]);\n }\n }\n var reflectionResult = Reflect.deleteProperty(target, key);\n\n instance.defaultCallback({\n op: 'remove',\n path: destinationPropKey\n });\n\n return reflectionResult;\n }\n }\n /* pre-define resume and pause functions to enhance constructors performance */\n function resume() {\n var _this = this;\n\n this.defaultCallback = function (operation) {\n _this.isRecording && _this.patches.push(operation);\n _this.userCallback && _this.userCallback(operation);\n };\n this.isObserving = true;\n }\n function pause() {\n this.defaultCallback = function () {};\n this.isObserving = false;\n }\n /**\n * Creates an instance of JSONPatcherProxy around your object of interest `root`.\n * @param {Object|Array} root - the object you want to wrap\n * @param {Boolean} [showDetachedWarning = true] - whether to log a warning when a detached sub-object is modified @see {@link https://github.com/Palindrom/JSONPatcherProxy#detached-objects}\n * @returns {JSONPatcherProxy}\n * @constructor\n */\n function JSONPatcherProxy(root, showDetachedWarning) {\n this.isProxifyingTreeNow = false;\n this.isObserving = false;\n this.proxifiedObjectsMap = new Map();\n this.parenthoodMap = new Map();\n // default to true\n if (typeof showDetachedWarning !== 'boolean') {\n showDetachedWarning = true;\n }\n\n this.showDetachedWarning = showDetachedWarning;\n this.originalObject = root;\n this.cachedProxy = null;\n this.isRecording = false;\n this.userCallback;\n /**\n * @memberof JSONPatcherProxy\n * Restores callback back to the original one provided to `observe`.\n */\n this.resume = resume.bind(this);\n /**\n * @memberof JSONPatcherProxy\n * Replaces your callback with a noop function.\n */\n this.pause = pause.bind(this);\n }\n\n JSONPatcherProxy.prototype.generateProxyAtPath = function (parent, obj, path) {\n var _this2 = this;\n\n if (!obj) {\n return obj;\n }\n var traps = {\n set: function set(target, key, value, receiver) {\n return setTrap(_this2, target, key, value, receiver);\n },\n deleteProperty: function deleteProperty(target, key) {\n return deleteTrap(_this2, target, key);\n }\n };\n var revocableInstance = Proxy.revocable(obj, traps);\n // cache traps object to disable them later.\n revocableInstance.trapsInstance = traps;\n revocableInstance.originalObject = obj;\n\n /* keeping track of object's parent and path */\n\n this.parenthoodMap.set(obj, { parent: parent, path: path });\n\n /* keeping track of all the proxies to be able to revoke them later */\n this.proxifiedObjectsMap.set(revocableInstance.proxy, revocableInstance);\n return revocableInstance.proxy;\n };\n // grab tree's leaves one by one, encapsulate them into a proxy and return\n JSONPatcherProxy.prototype._proxifyObjectTreeRecursively = function (parent, root, path) {\n for (var key in root) {\n if (root.hasOwnProperty(key)) {\n if (root[key] instanceof Object) {\n root[key] = this._proxifyObjectTreeRecursively(root, root[key], escapePathComponent(key));\n }\n }\n }\n return this.generateProxyAtPath(parent, root, path);\n };\n // this function is for aesthetic purposes\n JSONPatcherProxy.prototype.proxifyObjectTree = function (root) {\n /*\n while proxyifying object tree,\n the proxyifying operation itself is being\n recorded, which in an unwanted behavior,\n that's why we disable recording through this\n initial process;\n */\n this.pause();\n this.isProxifyingTreeNow = true;\n var proxifiedObject = this._proxifyObjectTreeRecursively(undefined, root, '');\n /* OK you can record now */\n this.isProxifyingTreeNow = false;\n this.resume();\n return proxifiedObject;\n };\n /**\n * Turns a proxified object into a forward-proxy object; doesn't emit any patches anymore, like a normal object\n * @param {Proxy} proxy - The target proxy object\n */\n JSONPatcherProxy.prototype.disableTrapsForProxy = function (revokableProxyInstance) {\n if (this.showDetachedWarning) {\n var message = \"You're accessing an object that is detached from the observedObject tree, see https://github.com/Palindrom/JSONPatcherProxy#detached-objects\";\n\n revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n console.warn(message);\n return Reflect.set(targetObject, propKey, newValue);\n };\n revokableProxyInstance.trapsInstance.set = function (targetObject, propKey, newValue) {\n console.warn(message);\n return Reflect.set(targetObject, propKey, newValue);\n };\n revokableProxyInstance.trapsInstance.deleteProperty = function (targetObject, propKey) {\n return Reflect.deleteProperty(targetObject, propKey);\n };\n } else {\n delete revokableProxyInstance.trapsInstance.set;\n delete revokableProxyInstance.trapsInstance.get;\n delete revokableProxyInstance.trapsInstance.deleteProperty;\n }\n };\n /**\n * Proxifies the object that was passed in the constructor and returns a proxified mirror of it. Even though both parameters are options. You need to pass at least one of them.\n * @param {Boolean} [record] - whether to record object changes to a later-retrievable patches array.\n * @param {Function} [callback] - this will be synchronously called with every object change with a single `patch` as the only parameter.\n */\n JSONPatcherProxy.prototype.observe = function (record, callback) {\n if (!record && !callback) {\n throw new Error('You need to either record changes or pass a callback');\n }\n this.isRecording = record;\n this.userCallback = callback;\n /*\n I moved it here to remove it from `unobserve`,\n this will also make the constructor faster, why initiate\n the array before they decide to actually observe with recording?\n They might need to use only a callback.\n */\n if (record) this.patches = [];\n this.cachedProxy = this.proxifyObjectTree(this.originalObject);\n return this.cachedProxy;\n };\n /**\n * If the observed is set to record, it will synchronously return all the patches and empties patches array.\n */\n JSONPatcherProxy.prototype.generate = function () {\n if (!this.isRecording) {\n throw new Error('You should set record to true to get patches later');\n }\n return this.patches.splice(0, this.patches.length);\n };\n /**\n * Revokes all proxies rendering the observed object useless and good for garbage collection @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy/revocable}\n */\n JSONPatcherProxy.prototype.revoke = function () {\n this.proxifiedObjectsMap.forEach(function (el) {\n el.revoke();\n });\n };\n /**\n * Disables all proxies' traps, turning the observed object into a forward-proxy object, like a normal object that you can modify silently.\n */\n JSONPatcherProxy.prototype.disableTraps = function () {\n this.proxifiedObjectsMap.forEach(this.disableTrapsForProxy, this);\n };\n return JSONPatcherProxy;\n}();\n\nvar callbacks = [];\nvar nextTickCallback = [];\n\nfunction tick(fn, scope) {\n callbacks.push({ fn: fn, scope: scope });\n}\n\nfunction fireTick() {\n callbacks.forEach(function (item) {\n item.fn.call(item.scope);\n });\n\n nextTickCallback.forEach(function (nextItem) {\n nextItem.fn.call(nextItem.scope);\n });\n nextTickCallback.length = 0;\n}\n\nfunction nextTick(fn, scope) {\n nextTickCallback.push({ fn: fn, scope: scope });\n}\n\nfunction observe(target) {\n target.observe = true;\n}\n\nfunction proxyUpdate(ele) {\n var timeout = null;\n ele.data = new JSONPatcherProxy(ele.data).observe(false, function () {\n if (ele._willUpdate) {\n return;\n }\n if (ele.constructor.mergeUpdate) {\n clearTimeout(timeout);\n\n timeout = setTimeout(function () {\n ele.update();\n fireTick();\n }, 0);\n } else {\n ele.update();\n fireTick();\n }\n });\n}\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction define(name, ctor) {\n if (ctor.is === 'WeElement') {\n if (options.mapping[name]) {\n // if(options.mapping[name] === ctor){\n // console.warn(`You redefine custom elements named [${name}], redundant JS files may be referenced.`)\n // } else {\n // console.warn(`This custom elements name [${name}] has already been used, please rename it.`)\n // }\n return;\n }\n customElements.define(name, ctor);\n options.mapping[name] = ctor;\n if (ctor.use) {\n ctor.updatePath = getPath(ctor.use);\n } else if (ctor.data) {\n //Compatible with older versions\n ctor.updatePath = getUpdatePath(ctor.data);\n }\n } else {\n var Element = function (_WeElement) {\n _inherits(Element, _WeElement);\n\n function Element() {\n var _temp, _this, _ret;\n\n _classCallCheck(this, Element);\n\n for (var _len = arguments.length, args = Array(_len), key = 0; key < _len; key++) {\n args[key] = arguments[key];\n }\n\n return _ret = (_temp = (_this = _possibleConstructorReturn(this, _WeElement.call.apply(_WeElement, [this].concat(args))), _this), _this._useId = 0, _this._useMap = {}, _this._preCss = null, _temp), _possibleConstructorReturn(_this, _ret);\n }\n\n Element.prototype.render = function render(props, data) {\n return ctor.call(this, props, data);\n };\n\n Element.prototype.beforeRender = function beforeRender() {\n this._useId = 0;\n };\n\n Element.prototype.useCss = function useCss(css) {\n if (css === this._preCss) {\n return;\n }\n this._preCss = css;\n var style = this.shadowRoot.querySelector('style');\n style && this.shadowRoot.removeChild(style);\n this.shadowRoot.appendChild(cssToDom(css));\n };\n\n Element.prototype.useData = function useData(data) {\n return this.use({ data: data });\n };\n\n Element.prototype.use = function use(option) {\n var _this2 = this;\n\n this._useId++;\n var updater = function updater(newValue) {\n var item = _this2._useMap[updater.id];\n\n item.data = newValue;\n\n _this2.update();\n item.effect && item.effect();\n };\n\n updater.id = this._useId;\n if (!this._isInstalled) {\n this._useMap[this._useId] = option;\n return [option.data, updater];\n }\n\n return [this._useMap[this._useId].data, updater];\n };\n\n Element.prototype.installed = function installed() {\n this._isInstalled = true;\n };\n\n return Element;\n }(WeElement);\n\n customElements.define(name, Element);\n }\n}\n\nfunction getPath(obj) {\n if (Object.prototype.toString.call(obj) === '[object Array]') {\n var result = {};\n obj.forEach(function (item) {\n if (typeof item === 'string') {\n result[item] = true;\n } else {\n var tempPath = item[Object.keys(item)[0]];\n if (typeof tempPath === 'string') {\n result[tempPath] = true;\n } else {\n if (typeof tempPath[0] === 'string') {\n result[tempPath[0]] = true;\n } else {\n tempPath[0].forEach(function (path) {\n return result[path] = true;\n });\n }\n }\n }\n });\n return result;\n } else {\n return getUpdatePath(obj);\n }\n}\n\nfunction getUpdatePath(data) {\n var result = {};\n dataToPath(data, result);\n return result;\n}\n\nfunction dataToPath(data, result) {\n Object.keys(data).forEach(function (key) {\n result[key] = true;\n var type = Object.prototype.toString.call(data[key]);\n if (type === '[object Object]') {\n _objToPath(data[key], key, result);\n } else if (type === '[object Array]') {\n _arrayToPath(data[key], key, result);\n }\n });\n}\n\nfunction _objToPath(data, path, result) {\n Object.keys(data).forEach(function (key) {\n result[path + '.' + key] = true;\n delete result[path];\n var type = Object.prototype.toString.call(data[key]);\n if (type === '[object Object]') {\n _objToPath(data[key], path + '.' + key, result);\n } else if (type === '[object Array]') {\n _arrayToPath(data[key], path + '.' + key, result);\n }\n });\n}\n\nfunction _arrayToPath(data, path, result) {\n data.forEach(function (item, index) {\n result[path + '[' + index + ']'] = true;\n delete result[path];\n var type = Object.prototype.toString.call(item);\n if (type === '[object Object]') {\n _objToPath(item, path + '[' + index + ']', result);\n } else if (type === '[object Array]') {\n _arrayToPath(item, path + '[' + index + ']', result);\n }\n });\n}\n\nfunction _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$1(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar id = 0;\n\nvar WeElement = function (_HTMLElement) {\n _inherits$1(WeElement, _HTMLElement);\n\n function WeElement() {\n _classCallCheck$1(this, WeElement);\n\n var _this = _possibleConstructorReturn$1(this, _HTMLElement.call(this));\n\n _this.props = Object.assign(nProps(_this.constructor.props), _this.constructor.defaultProps);\n _this.elementId = id++;\n _this.data = {};\n return _this;\n }\n\n WeElement.prototype.connectedCallback = function connectedCallback() {\n var p = this.parentNode;\n while (p && !this.store) {\n this.store = p.store;\n p = p.parentNode || p.host;\n }\n if (this.store) {\n this.store.instances.push(this);\n }\n\n if (this.initUse) {\n var use = this.initUse();\n this._updatePath = getPath(use);\n this.use = getUse(this.store.data, use);\n } else {\n this.constructor.use && (this.use = getUse(this.store.data, this.constructor.use));\n }\n this.attrsToProps();\n this.beforeInstall();\n this.install();\n this.afterInstall();\n\n var shadowRoot;\n if (!this.shadowRoot) {\n shadowRoot = this.attachShadow({\n mode: 'open'\n });\n } else {\n shadowRoot = this.shadowRoot;\n var fc;\n while (fc = shadowRoot.firstChild) {\n shadowRoot.removeChild(fc);\n }\n }\n\n if (this.constructor.css) {\n shadowRoot.appendChild(cssToDom(this.constructor.css));\n } else if (this.css) {\n shadowRoot.appendChild(cssToDom(typeof this.css === 'function' ? this.css() : this.css));\n }\n this.beforeRender();\n options.afterInstall && options.afterInstall(this);\n if (this.constructor.observe) {\n this.beforeObserve();\n proxyUpdate(this);\n this.observed();\n }\n\n var rendered = this.render(this.props, this.data, this.store);\n this.__hasChildren = Object.prototype.toString.call(rendered) === '[object Array]' && rendered.length > 0;\n\n this._host = diff(null, rendered, {}, false, null, false);\n this.rendered();\n\n if (this.props.css) {\n this._customStyleElement = cssToDom(this.props.css);\n this._customStyleContent = this.props.css;\n shadowRoot.appendChild(this._customStyleElement);\n }\n\n if (isArray(this._host)) {\n this._host.forEach(function (item) {\n shadowRoot.appendChild(item);\n });\n } else {\n shadowRoot.appendChild(this._host);\n }\n this.installed();\n this._isInstalled = true;\n };\n\n WeElement.prototype.disconnectedCallback = function disconnectedCallback() {\n this.uninstall();\n this._isInstalled = false;\n if (this.store) {\n for (var i = 0, len = this.store.instances.length; i < len; i++) {\n if (this.store.instances[i] === this) {\n this.store.instances.splice(i, 1);\n break;\n }\n }\n }\n };\n\n WeElement.prototype.update = function update(ignoreAttrs) {\n this._willUpdate = true;\n this.beforeUpdate();\n this.beforeRender();\n //fix null !== undefined\n if (this._customStyleContent != this.props.css) {\n this._customStyleContent = this.props.css;\n this._customStyleElement.textContent = this._customStyleContent;\n }\n this.attrsToProps(ignoreAttrs);\n\n var rendered = this.render(this.props, this.data, this.store);\n this.__hasChildren = this.__hasChildren || Object.prototype.toString.call(rendered) === '[object Array]' && rendered.length > 0;\n\n this._host = diff(this._host, rendered, null, null, this.shadowRoot);\n this._willUpdate = false;\n this.updated();\n };\n\n WeElement.prototype.removeAttribute = function removeAttribute(key) {\n _HTMLElement.prototype.removeAttribute.call(this, key);\n //Avoid executing removeAttribute methods before connectedCallback\n this._isInstalled && this.update();\n };\n\n WeElement.prototype.setAttribute = function setAttribute(key, val) {\n if (val && typeof val === 'object') {\n _HTMLElement.prototype.setAttribute.call(this, key, JSON.stringify(val));\n } else {\n _HTMLElement.prototype.setAttribute.call(this, key, val);\n }\n //Avoid executing setAttribute methods before connectedCallback\n this._isInstalled && this.update();\n };\n\n WeElement.prototype.pureRemoveAttribute = function pureRemoveAttribute(key) {\n _HTMLElement.prototype.removeAttribute.call(this, key);\n };\n\n WeElement.prototype.pureSetAttribute = function pureSetAttribute(key, val) {\n _HTMLElement.prototype.setAttribute.call(this, key, val);\n };\n\n WeElement.prototype.attrsToProps = function attrsToProps(ignoreAttrs) {\n var ele = this;\n if (ele.normalizedNodeName || ignoreAttrs) return;\n ele.props['css'] = ele.getAttribute('css');\n var attrs = this.constructor.propTypes;\n if (!attrs) return;\n Object.keys(attrs).forEach(function (key) {\n var type = attrs[key];\n var val = ele.getAttribute(hyphenate(key));\n if (val !== null) {\n switch (type) {\n case String:\n ele.props[key] = val;\n break;\n case Number:\n ele.props[key] = Number(val);\n break;\n case Boolean:\n if (val === 'false' || val === '0') {\n ele.props[key] = false;\n } else {\n ele.props[key] = true;\n }\n break;\n case Array:\n case Object:\n ele.props[key] = JSON.parse(val.replace(/(['\"])?([a-zA-Z0-9_-]+)(['\"])?:([^\\/])/g, '\"$2\":$4').replace(/'([\\s\\S]*?)'/g, '\"$1\"').replace(/,(\\s*})/g, '$1'));\n break;\n }\n } else {\n if (ele.constructor.defaultProps && ele.constructor.defaultProps.hasOwnProperty(key)) {\n ele.props[key] = ele.constructor.defaultProps[key];\n } else {\n ele.props[key] = null;\n }\n }\n });\n };\n\n WeElement.prototype.fire = function fire(name, data) {\n this.dispatchEvent(new CustomEvent(name.replace(/-/g, '').toLowerCase(), { detail: data }));\n };\n\n WeElement.prototype.beforeInstall = function beforeInstall() {};\n\n WeElement.prototype.install = function install() {};\n\n WeElement.prototype.afterInstall = function afterInstall() {};\n\n WeElement.prototype.installed = function installed() {};\n\n WeElement.prototype.uninstall = function uninstall() {};\n\n WeElement.prototype.beforeUpdate = function beforeUpdate() {};\n\n WeElement.prototype.updated = function updated() {};\n\n WeElement.prototype.beforeRender = function beforeRender() {};\n\n WeElement.prototype.rendered = function rendered() {};\n\n WeElement.prototype.receiveProps = function receiveProps() {};\n\n WeElement.prototype.beforeObserve = function beforeObserve() {};\n\n WeElement.prototype.observed = function observed() {};\n\n return WeElement;\n}(HTMLElement);\n\nWeElement.is = 'WeElement';\n\nfunction render(vnode, parent, store) {\n parent = typeof parent === 'string' ? document.querySelector(parent) : parent;\n if (store) {\n store.instances = [];\n extendStoreUpate(store);\n\n store.data = new JSONPatcherProxy(store.data).observe(false, function (patch) {\n var patchs = {};\n if (patch.op === 'remove') {\n // fix arr splice\n var kv = getArrayPatch(patch.path, store);\n patchs[kv.k] = kv.v;\n\n update(patchs, store);\n } else {\n var key = fixPath(patch.path);\n patchs[key] = patch.value;\n\n update(patchs, store);\n }\n });\n parent.store = store;\n }\n return diff(null, vnode, {}, false, parent, false);\n}\n\nfunction update(patch, store) {\n store.update(patch);\n}\n\nfunction extendStoreUpate(store) {\n store.update = function (patch) {\n var _this = this;\n\n var updateAll = matchGlobalData(this.globalData, patch);\n\n if (Object.keys(patch).length > 0) {\n this.instances.forEach(function (instance) {\n if (updateAll || _this.updateAll || instance.constructor.updatePath && needUpdate(patch, instance.constructor.updatePath) || instance._updatePath && needUpdate(patch, instance._updatePath)) {\n //update this.use\n if (instance.constructor.use) {\n instance.use = getUse(store.data, instance.constructor.use);\n } else if (instance.initUse) {\n instance.use = getUse(store.data, instance.initUse());\n }\n\n instance.update();\n }\n });\n this.onChange && this.onChange(patch);\n }\n };\n}\n\nfunction matchGlobalData(globalData, diffResult) {\n if (!globalData) return false;\n for (var keyA in diffResult) {\n if (globalData.indexOf(keyA) > -1) {\n return true;\n }\n for (var i = 0, len = globalData.length; i < len; i++) {\n if (includePath(keyA, globalData[i])) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction needUpdate(diffResult, updatePath) {\n for (var keyA in diffResult) {\n if (updatePath[keyA]) {\n return true;\n }\n for (var keyB in updatePath) {\n if (includePath(keyA, keyB)) {\n return true;\n }\n }\n }\n return false;\n}\n\nfunction includePath(pathA, pathB) {\n if (pathA.indexOf(pathB) === 0) {\n var next = pathA.substr(pathB.length, 1);\n if (next === '[' || next === '.') {\n return true;\n }\n }\n return false;\n}\n\nfunction fixPath(path) {\n var mpPath = '';\n var arr = path.replace('/', '').split('/');\n arr.forEach(function (item, index) {\n if (index) {\n if (isNaN(Number(item))) {\n mpPath += '.' + item;\n } else {\n mpPath += '[' + item + ']';\n }\n } else {\n mpPath += item;\n }\n });\n return mpPath;\n}\n\nfunction getArrayPatch(path, store) {\n var arr = path.replace('/', '').split('/');\n var current = store.data[arr[0]];\n for (var i = 1, len = arr.length; i < len - 1; i++) {\n current = current[arr[i]];\n }\n return { k: fixArrPath(path), v: current };\n}\n\nfunction fixArrPath(path) {\n var mpPath = '';\n var arr = path.replace('/', '').split('/');\n var len = arr.length;\n arr.forEach(function (item, index) {\n if (index < len - 1) {\n if (index) {\n if (isNaN(Number(item))) {\n mpPath += '.' + item;\n } else {\n mpPath += '[' + item + ']';\n }\n } else {\n mpPath += item;\n }\n }\n });\n return mpPath;\n}\n\nfunction tag(name, pure) {\n return function (target) {\n target.pure = pure;\n define(name, target);\n };\n}\n\n/**\n * Clones the given VNode, optionally adding attributes/props and replacing its children.\n * @param {VNode} vnode\t\tThe virtual DOM element to clone\n * @param {Object} props\tAttributes/props to add when cloning\n * @param {VNode} rest\t\tAny additional arguments will be used as replacement children.\n */\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nfunction getHost(ele) {\n var p = ele.parentNode;\n while (p) {\n if (p.host) {\n return p.host;\n } else if (p.shadowRoot && p.shadowRoot.host) {\n return p.shadowRoot.host;\n } else {\n p = p.parentNode;\n }\n }\n}\n\nfunction rpx(str) {\n return str.replace(/([1-9]\\d*|0)(\\.\\d*)*rpx/g, function (a, b) {\n return window.innerWidth * Number(b) / 750 + 'px';\n });\n}\n\nfunction _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn$2(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits$2(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ModelView = function (_WeElement) {\n _inherits$2(ModelView, _WeElement);\n\n function ModelView() {\n _classCallCheck$2(this, ModelView);\n\n return _possibleConstructorReturn$2(this, _WeElement.apply(this, arguments));\n }\n\n ModelView.prototype.beforeInstall = function beforeInstall() {\n this.data = this.vm.data;\n };\n\n ModelView.prototype.observed = function observed() {\n this.vm.data = this.data;\n };\n\n return ModelView;\n}(WeElement);\n\nModelView.observe = true;\nModelView.mergeUpdate = false;\n\n/**\n * classNames based on https://github.com/JedWatson/classnames\n * by Jed Watson\n * Licensed under the MIT License\n * https://github.com/JedWatson/classnames/blob/master/LICENSE\n * modified by dntzhang\n */\n\nvar hasOwn = {}.hasOwnProperty;\n\nfunction classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg) && arg.length) {\n var inner = classNames.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n } else if (argType === 'object') {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n}\n\nfunction extractClass() {\n var _Array$prototype$slic = Array.prototype.slice.call(arguments, 0),\n props = _Array$prototype$slic[0],\n args = _Array$prototype$slic.slice(1);\n\n if (props.class) {\n args.unshift(props.class);\n delete props.class;\n } else if (props.className) {\n args.unshift(props.className);\n delete props.className;\n }\n if (args.length > 0) {\n return { class: classNames.apply(null, args) };\n }\n}\n\nfunction o(obj) {\n return JSON.stringify(obj);\n}\n\nvar n=function(t,r,u,e){for(var p=1;p\"===t?(a(), u=1):u&&(\"=\"===t?(u=4, r=e, e=\"\"):\"/\"===t?(a(), 3===u&&(s=s[0]), u=s, (s=s[0]).push(u,4), u=0):\" \"===t||\"\\t\"===t||\"\\n\"===t||\"\\r\"===t?(a(), u=2):e+=t);}return a(), s},r=\"function\"==typeof Map,u=r?new Map:{},e=r?function(n){var r=u.get(n);return r||u.set(n,r=t(n)), r}:function(n){for(var r=\"\",e=0;e1?r:r[0]}\n\nvar html = htm.bind(h);\n\nfunction createRef() {\n return {};\n}\n\nvar Component = WeElement;\nvar defineElement = define;\nvar elements = options.mapping;\n\nvar omi = {\n tag: tag,\n WeElement: WeElement,\n Component: Component,\n render: render,\n h: h,\n createElement: h,\n options: options,\n define: define,\n observe: observe,\n cloneElement: cloneElement,\n getHost: getHost,\n rpx: rpx,\n tick: tick,\n nextTick: nextTick,\n ModelView: ModelView,\n defineElement: defineElement,\n classNames: classNames,\n extractClass: extractClass,\n createRef: createRef,\n html: html,\n htm: htm,\n o: o,\n elements: elements\n};\n\noptions.root.Omi = omi;\noptions.root.omi = omi;\noptions.root.Omi.version = '6.6.5';\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (omi);\n\n//# sourceMappingURL=omi.esm.js.map\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\")))\n\n//# sourceURL=webpack:///./node_modules/omi/dist/omi.esm.js?"); /***/ }), @@ -1150,7 +1150,7 @@ eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { -eval("(function webpackUniversalModuleDefinition(root, factory) {\r\n if (true)\r\n module.exports = factory(__webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\"));\r\n else {}\r\n})(window, function (__WEBPACK_EXTERNAL_MODULE_omi__) {\r\n return /******/ (function (modules) {\r\n /******/ // The module cache\r\n /******/ var installedModules = {};\r\n /******/\r\n /******/ // The require function\r\n /******/ function __webpack_require__(moduleId) {\r\n /******/\r\n /******/ // Check if module is in cache\r\n /******/ if (installedModules[moduleId]) {\r\n /******/ return installedModules[moduleId].exports;\r\n /******/ }\r\n /******/ // Create a new module (and put it into the cache)\r\n /******/ var module = installedModules[moduleId] = {\r\n /******/ i: moduleId,\r\n /******/ l: false,\r\n /******/ exports: {}\r\n /******/ \r\n };\r\n /******/\r\n /******/ // Execute the module function\r\n /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n /******/\r\n /******/ // Flag the module as loaded\r\n /******/ module.l = true;\r\n /******/\r\n /******/ // Return the exports of the module\r\n /******/ return module.exports;\r\n /******/ \r\n }\r\n /******/\r\n /******/\r\n /******/ // expose the modules object (__webpack_modules__)\r\n /******/ __webpack_require__.m = modules;\r\n /******/\r\n /******/ // expose the module cache\r\n /******/ __webpack_require__.c = installedModules;\r\n /******/\r\n /******/ // define getter function for harmony exports\r\n /******/ __webpack_require__.d = function (exports, name, getter) {\r\n /******/ if (!__webpack_require__.o(exports, name)) {\r\n /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });\r\n /******/ }\r\n /******/ \r\n };\r\n /******/\r\n /******/ // define __esModule on exports\r\n /******/ __webpack_require__.r = function (exports) {\r\n /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\r\n /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\r\n /******/ }\r\n /******/ Object.defineProperty(exports, '__esModule', { value: true });\r\n /******/ \r\n };\r\n /******/\r\n /******/ // create a fake namespace object\r\n /******/ // mode & 1: value is a module id, require it\r\n /******/ // mode & 2: merge all properties of value into the ns\r\n /******/ // mode & 4: return value when already ns object\r\n /******/ // mode & 8|1: behave like require\r\n /******/ __webpack_require__.t = function (value, mode) {\r\n /******/ if (mode & 1)\r\n value = __webpack_require__(value);\r\n /******/ if (mode & 8)\r\n return value;\r\n /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule)\r\n return value;\r\n /******/ var ns = Object.create(null);\r\n /******/ __webpack_require__.r(ns);\r\n /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });\r\n /******/ if (mode & 2 && typeof value != 'string')\r\n for (var key in value)\r\n __webpack_require__.d(ns, key, function (key) { return value[key]; }.bind(null, key));\r\n /******/ return ns;\r\n /******/ \r\n };\r\n /******/\r\n /******/ // getDefaultExport function for compatibility with non-harmony modules\r\n /******/ __webpack_require__.n = function (module) {\r\n /******/ var getter = module && module.__esModule ?\r\n /******/ function getDefault() { return module['default']; } :\r\n /******/ function getModuleExports() { return module; };\r\n /******/ __webpack_require__.d(getter, 'a', getter);\r\n /******/ return getter;\r\n /******/ \r\n };\r\n /******/\r\n /******/ // Object.prototype.hasOwnProperty.call\r\n /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\r\n /******/\r\n /******/ // __webpack_public_path__\r\n /******/ __webpack_require__.p = \"\";\r\n /******/\r\n /******/\r\n /******/ // Load entry module and return exports\r\n /******/ return __webpack_require__(__webpack_require__.s = \"./src/icon/index.tsx\");\r\n /******/ \r\n })({\r\n /***/ \"./node_modules/_css-loader@1.0.1@css-loader/index.js!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader/index.js!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js?!./src/icon/index.scss\": \r\n /*!***********************************************************************************************************************************************************************************************************!*\\\r\n !*** ./node_modules/_css-loader@1.0.1@css-loader!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--4-3!./src/icon/index.scss ***!\r\n \\***********************************************************************************************************************************************************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n exports = module.exports = __webpack_require__(/*! ../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\r\n // imports\r\n // module\r\n exports.push([module.i, \".m-icon {\\n text-align: center;\\n display: inline-block; }\\n\\n.m-icon svg {\\n display: inline-block;\\n vertical-align: top; }\\n\\n.rotate {\\n display: inline-block;\\n -webkit-animation: rotate 1s infinite linear;\\n animation: rotate 1s infinite linear; }\\n\\ni div {\\n font-style: normal; }\\n\\n@-webkit-keyframes rotate {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg); } }\\n\\n@keyframes rotate {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg); } }\\n\", \"\"]);\r\n // exports\r\n /***/ \r\n }),\r\n /***/ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\": \r\n /*!*******************************************************************!*\\\r\n !*** ./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js ***!\r\n \\*******************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n /*\r\n MIT License http://www.opensource.org/licenses/mit-license.php\r\n Author Tobias Koppers @sokra\r\n */\r\n // css base code, injected by the css-loader\r\n module.exports = function (useSourceMap) {\r\n var list = [];\r\n // return the list of modules as css string\r\n list.toString = function toString() {\r\n return this.map(function (item) {\r\n var content = cssWithMappingToString(item, useSourceMap);\r\n if (item[2]) {\r\n return \"@media \" + item[2] + \"{\" + content + \"}\";\r\n }\r\n else {\r\n return content;\r\n }\r\n }).join(\"\");\r\n };\r\n // import a list of modules into the list\r\n list.i = function (modules, mediaQuery) {\r\n if (typeof modules === \"string\")\r\n modules = [[null, modules, \"\"]];\r\n var alreadyImportedModules = {};\r\n for (var i = 0; i < this.length; i++) {\r\n var id = this[i][0];\r\n if (typeof id === \"number\")\r\n alreadyImportedModules[id] = true;\r\n }\r\n for (i = 0; i < modules.length; i++) {\r\n var item = modules[i];\r\n // skip already imported module\r\n // this implementation is not 100% perfect for weird media query combinations\r\n // when a module is imported multiple times with different media queries.\r\n // I hope this will never occur (Hey this way we have smaller bundles)\r\n if (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n if (mediaQuery && !item[2]) {\r\n item[2] = mediaQuery;\r\n }\r\n else if (mediaQuery) {\r\n item[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n }\r\n list.push(item);\r\n }\r\n }\r\n };\r\n return list;\r\n };\r\n function cssWithMappingToString(item, useSourceMap) {\r\n var content = item[1] || '';\r\n var cssMapping = item[3];\r\n if (!cssMapping) {\r\n return content;\r\n }\r\n if (useSourceMap && typeof btoa === 'function') {\r\n var sourceMapping = toComment(cssMapping);\r\n var sourceURLs = cssMapping.sources.map(function (source) {\r\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\r\n });\r\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\r\n }\r\n return [content].join('\\n');\r\n }\r\n // Adapted from convert-source-map (MIT)\r\n function toComment(sourceMap) {\r\n // eslint-disable-next-line no-undef\r\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\r\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\r\n return '/*# ' + data + ' */';\r\n }\r\n /***/ \r\n }),\r\n /***/ \"./src/icon/index.scss\": \r\n /*!*****************************!*\\\r\n !*** ./src/icon/index.scss ***!\r\n \\*****************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n var result = __webpack_require__(/*! !../../node_modules/_css-loader@1.0.1@css-loader!../../node_modules/_resolve-url-loader@3.1.0@resolve-url-loader!../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--4-3!./index.scss */ \"./node_modules/_css-loader@1.0.1@css-loader/index.js!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader/index.js!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js?!./src/icon/index.scss\");\r\n if (typeof result === \"string\") {\r\n module.exports = result;\r\n }\r\n else {\r\n module.exports = result.toString();\r\n }\r\n /***/ \r\n }),\r\n /***/ \"./src/icon/index.tsx\": \r\n /*!****************************!*\\\r\n !*** ./src/icon/index.tsx ***!\r\n \\****************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n \"use strict\";\r\n var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b)\r\n if (b.hasOwnProperty(p))\r\n d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n })();\r\n var __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s)\r\n if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n };\r\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\r\n r = Reflect.decorate(decorators, target, key, desc);\r\n else\r\n for (var i = decorators.length - 1; i >= 0; i--)\r\n if (d = decorators[i])\r\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n var omi_1 = __webpack_require__(/*! omi */ \"omi\");\r\n var css = __webpack_require__(/*! ./index.scss */ \"./src/icon/index.scss\");\r\n //@ts-ignore\r\n __webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\n var Icon = /** @class */ (function (_super) {\r\n __extends(Icon, _super);\r\n function Icon() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Icon.prototype.render = function (props) {\r\n return (omi_1.h(\"i\", __assign({}, omi_1.extractClass(props, 'm-icon')), omi_1.h(\"svg\", { viewBox: '0 0 ' + props.view + ' ' + props.view, class: omi_1.classNames({ rotate: props.rotate }), width: props.scale + 'em', height: props.scale + 'em', fill: props.color, \"aria-hidden\": \"true\" }, props.paths ? (props.paths.map(function (item) {\r\n var attrs = { d: item.path, fill: props.color || 'black' };\r\n if (item.color)\r\n attrs.fill = item.color;\r\n return omi_1.h(\"path\", __assign({}, attrs));\r\n })) : omi_1.h(\"path\", { d: props.path })), props.children && (omi_1.h(\"div\", { style: \"color:\" + (props.color || 'black') + \";\" }, props.children[0]))));\r\n };\r\n Icon.css = css;\r\n Icon.defaultProps = {\r\n view: 1024,\r\n scale: 2\r\n };\r\n Icon.propTypes = {\r\n path: String,\r\n paths: Object,\r\n view: Number,\r\n scale: Number,\r\n color: String,\r\n rotate: Boolean\r\n };\r\n Icon = __decorate([\r\n omi_1.tag('m-icon')\r\n ], Icon);\r\n return Icon;\r\n }(omi_1.WeElement));\r\n exports.default = Icon;\r\n /***/ \r\n }),\r\n /***/ \"./src/theme.ts\": \r\n /*!**********************!*\\\r\n !*** ./src/theme.ts ***!\r\n \\**********************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n if (!document.querySelector('#__omim-theme-style')) {\r\n var style = document.createElement('style');\r\n style.id = '__omim-theme-style';\r\n style.textContent = \"--mdc-theme-primary: #0072d9;\\n --mdc-theme-secondary: #2170b8;\\n --mdc-theme-error: #f5222d;\\n --mdc-theme-surface: #ffffff;\\n --mdc-theme-on-primary: #ffffff;\\n --mdc-theme-on-secondary: #ffffff;\\n --mdc-theme-on-error: #ffffff;\\n --mdc-theme-on-surface: #000000;\\n --mdc-theme-background: #ffffff;\\n --mdc-shape-small-component-radius: 4px;\\n --mdc-shape-medium-component-radius: 4px;\\n --mdc-shape-large-component-radius: 0px;\\n --mdc-typography--font-family: Roboto, sans-serif;\\n \";\r\n document.querySelector('head').append(style);\r\n }\r\n /***/ \r\n }),\r\n /***/ \"omi\": \r\n /*!******************************************************************************!*\\\r\n !*** external {\"commonjs\":\"omi\",\"commonjs2\":\"omi\",\"amd\":\"omi\",\"root\":\"Omi\"} ***!\r\n \\******************************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;\r\n /***/ \r\n })\r\n /******/ \r\n })[\"default\"];\r\n});\r\n//# sourceMappingURL=index.js.map\r\n\n\n//# sourceURL=webpack:///./src/icon/index.js?"); +eval("(function webpackUniversalModuleDefinition(root, factory) {\r\n if (true)\r\n module.exports = factory(__webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\"));\r\n else {}\r\n})(window, function (__WEBPACK_EXTERNAL_MODULE_omi__) {\r\n return /******/ (function (modules) {\r\n /******/ // The module cache\r\n /******/ var installedModules = {};\r\n /******/\r\n /******/ // The require function\r\n /******/ function __webpack_require__(moduleId) {\r\n /******/\r\n /******/ // Check if module is in cache\r\n /******/ if (installedModules[moduleId]) {\r\n /******/ return installedModules[moduleId].exports;\r\n /******/ }\r\n /******/ // Create a new module (and put it into the cache)\r\n /******/ var module = installedModules[moduleId] = {\r\n /******/ i: moduleId,\r\n /******/ l: false,\r\n /******/ exports: {}\r\n /******/ \r\n };\r\n /******/\r\n /******/ // Execute the module function\r\n /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\r\n /******/\r\n /******/ // Flag the module as loaded\r\n /******/ module.l = true;\r\n /******/\r\n /******/ // Return the exports of the module\r\n /******/ return module.exports;\r\n /******/ \r\n }\r\n /******/\r\n /******/\r\n /******/ // expose the modules object (__webpack_modules__)\r\n /******/ __webpack_require__.m = modules;\r\n /******/\r\n /******/ // expose the module cache\r\n /******/ __webpack_require__.c = installedModules;\r\n /******/\r\n /******/ // define getter function for harmony exports\r\n /******/ __webpack_require__.d = function (exports, name, getter) {\r\n /******/ if (!__webpack_require__.o(exports, name)) {\r\n /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });\r\n /******/ }\r\n /******/ \r\n };\r\n /******/\r\n /******/ // define __esModule on exports\r\n /******/ __webpack_require__.r = function (exports) {\r\n /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\r\n /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\r\n /******/ }\r\n /******/ Object.defineProperty(exports, '__esModule', { value: true });\r\n /******/ \r\n };\r\n /******/\r\n /******/ // create a fake namespace object\r\n /******/ // mode & 1: value is a module id, require it\r\n /******/ // mode & 2: merge all properties of value into the ns\r\n /******/ // mode & 4: return value when already ns object\r\n /******/ // mode & 8|1: behave like require\r\n /******/ __webpack_require__.t = function (value, mode) {\r\n /******/ if (mode & 1)\r\n value = __webpack_require__(value);\r\n /******/ if (mode & 8)\r\n return value;\r\n /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule)\r\n return value;\r\n /******/ var ns = Object.create(null);\r\n /******/ __webpack_require__.r(ns);\r\n /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });\r\n /******/ if (mode & 2 && typeof value != 'string')\r\n for (var key in value)\r\n __webpack_require__.d(ns, key, function (key) { return value[key]; }.bind(null, key));\r\n /******/ return ns;\r\n /******/ \r\n };\r\n /******/\r\n /******/ // getDefaultExport function for compatibility with non-harmony modules\r\n /******/ __webpack_require__.n = function (module) {\r\n /******/ var getter = module && module.__esModule ?\r\n /******/ function getDefault() { return module['default']; } :\r\n /******/ function getModuleExports() { return module; };\r\n /******/ __webpack_require__.d(getter, 'a', getter);\r\n /******/ return getter;\r\n /******/ \r\n };\r\n /******/\r\n /******/ // Object.prototype.hasOwnProperty.call\r\n /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\r\n /******/\r\n /******/ // __webpack_public_path__\r\n /******/ __webpack_require__.p = \"\";\r\n /******/\r\n /******/\r\n /******/ // Load entry module and return exports\r\n /******/ return __webpack_require__(__webpack_require__.s = \"./src/icon/index.tsx\");\r\n /******/ \r\n })({\r\n /***/ \"./node_modules/_css-loader@1.0.1@css-loader/index.js!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader/index.js!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js?!./src/icon/index.scss\": \r\n /*!***********************************************************************************************************************************************************************************************************!*\\\r\n !*** ./node_modules/_css-loader@1.0.1@css-loader!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--4-3!./src/icon/index.scss ***!\r\n \\***********************************************************************************************************************************************************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n exports = module.exports = __webpack_require__(/*! ../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js */ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\r\n // imports\r\n // module\r\n exports.push([module.i, \":host {\\n display: inline-block; }\\n\\n.m-icon {\\n text-align: center;\\n display: inline-block; }\\n\\n.m-icon svg {\\n display: inline-block;\\n vertical-align: top; }\\n\\n.rotate {\\n display: inline-block;\\n -webkit-animation: rotate 1s infinite linear;\\n animation: rotate 1s infinite linear; }\\n\\ni div {\\n font-style: normal; }\\n\\n@-webkit-keyframes rotate {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg); } }\\n\\n@keyframes rotate {\\n 100% {\\n -webkit-transform: rotate(360deg);\\n transform: rotate(360deg); } }\\n\", \"\"]);\r\n // exports\r\n /***/ \r\n }),\r\n /***/ \"./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\": \r\n /*!*******************************************************************!*\\\r\n !*** ./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js ***!\r\n \\*******************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n /*\r\n MIT License http://www.opensource.org/licenses/mit-license.php\r\n Author Tobias Koppers @sokra\r\n */\r\n // css base code, injected by the css-loader\r\n module.exports = function (useSourceMap) {\r\n var list = [];\r\n // return the list of modules as css string\r\n list.toString = function toString() {\r\n return this.map(function (item) {\r\n var content = cssWithMappingToString(item, useSourceMap);\r\n if (item[2]) {\r\n return \"@media \" + item[2] + \"{\" + content + \"}\";\r\n }\r\n else {\r\n return content;\r\n }\r\n }).join(\"\");\r\n };\r\n // import a list of modules into the list\r\n list.i = function (modules, mediaQuery) {\r\n if (typeof modules === \"string\")\r\n modules = [[null, modules, \"\"]];\r\n var alreadyImportedModules = {};\r\n for (var i = 0; i < this.length; i++) {\r\n var id = this[i][0];\r\n if (typeof id === \"number\")\r\n alreadyImportedModules[id] = true;\r\n }\r\n for (i = 0; i < modules.length; i++) {\r\n var item = modules[i];\r\n // skip already imported module\r\n // this implementation is not 100% perfect for weird media query combinations\r\n // when a module is imported multiple times with different media queries.\r\n // I hope this will never occur (Hey this way we have smaller bundles)\r\n if (typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n if (mediaQuery && !item[2]) {\r\n item[2] = mediaQuery;\r\n }\r\n else if (mediaQuery) {\r\n item[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n }\r\n list.push(item);\r\n }\r\n }\r\n };\r\n return list;\r\n };\r\n function cssWithMappingToString(item, useSourceMap) {\r\n var content = item[1] || '';\r\n var cssMapping = item[3];\r\n if (!cssMapping) {\r\n return content;\r\n }\r\n if (useSourceMap && typeof btoa === 'function') {\r\n var sourceMapping = toComment(cssMapping);\r\n var sourceURLs = cssMapping.sources.map(function (source) {\r\n return '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */';\r\n });\r\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\r\n }\r\n return [content].join('\\n');\r\n }\r\n // Adapted from convert-source-map (MIT)\r\n function toComment(sourceMap) {\r\n // eslint-disable-next-line no-undef\r\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\r\n var data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\r\n return '/*# ' + data + ' */';\r\n }\r\n /***/ \r\n }),\r\n /***/ \"./src/icon/index.scss\": \r\n /*!*****************************!*\\\r\n !*** ./src/icon/index.scss ***!\r\n \\*****************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n var result = __webpack_require__(/*! !../../node_modules/_css-loader@1.0.1@css-loader!../../node_modules/_resolve-url-loader@3.1.0@resolve-url-loader!../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--4-3!./index.scss */ \"./node_modules/_css-loader@1.0.1@css-loader/index.js!./node_modules/_resolve-url-loader@3.1.0@resolve-url-loader/index.js!./node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js?!./src/icon/index.scss\");\r\n if (typeof result === \"string\") {\r\n module.exports = result;\r\n }\r\n else {\r\n module.exports = result.toString();\r\n }\r\n /***/ \r\n }),\r\n /***/ \"./src/icon/index.tsx\": \r\n /*!****************************!*\\\r\n !*** ./src/icon/index.tsx ***!\r\n \\****************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports, __webpack_require__) {\r\n \"use strict\";\r\n var __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b)\r\n if (b.hasOwnProperty(p))\r\n d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n })();\r\n var __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s)\r\n if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n };\r\n var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\")\r\n r = Reflect.decorate(decorators, target, key, desc);\r\n else\r\n for (var i = decorators.length - 1; i >= 0; i--)\r\n if (d = decorators[i])\r\n r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n var omi_1 = __webpack_require__(/*! omi */ \"omi\");\r\n var css = __webpack_require__(/*! ./index.scss */ \"./src/icon/index.scss\");\r\n //@ts-ignore\r\n __webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\n var Icon = /** @class */ (function (_super) {\r\n __extends(Icon, _super);\r\n function Icon() {\r\n return _super !== null && _super.apply(this, arguments) || this;\r\n }\r\n Icon.prototype.render = function (props) {\r\n return (omi_1.h(\"i\", __assign({}, omi_1.extractClass(props, 'm-icon')), omi_1.h(\"svg\", { viewBox: '0 0 ' + props.view + ' ' + props.view, class: omi_1.classNames({ rotate: props.rotate }), width: props.scale + 'em', height: props.scale + 'em', fill: props.color, \"aria-hidden\": \"true\" }, props.paths ? (props.paths.map(function (item) {\r\n var attrs = { d: item.path, fill: props.color || 'black' };\r\n if (item.color)\r\n attrs.fill = item.color;\r\n return omi_1.h(\"path\", __assign({}, attrs));\r\n })) : omi_1.h(\"path\", { d: props.path })), props.children && (omi_1.h(\"div\", { style: \"color:\" + (props.color || 'black') + \";\" }, props.children[0]))));\r\n };\r\n Icon.css = css;\r\n Icon.defaultProps = {\r\n view: 1024,\r\n scale: 2\r\n };\r\n Icon.propTypes = {\r\n path: String,\r\n paths: Object,\r\n view: Number,\r\n scale: Number,\r\n color: String,\r\n rotate: Boolean\r\n };\r\n Icon = __decorate([\r\n omi_1.tag('m-icon')\r\n ], Icon);\r\n return Icon;\r\n }(omi_1.WeElement));\r\n exports.default = Icon;\r\n /***/ \r\n }),\r\n /***/ \"./src/theme.ts\": \r\n /*!**********************!*\\\r\n !*** ./src/theme.ts ***!\r\n \\**********************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n theme();\r\n document.addEventListener('DOMContentLoaded', function () {\r\n theme();\r\n });\r\n function theme() {\r\n if (document.body && !document.body.style.getPropertyValue('--mdc-theme-primary')) {\r\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\r\n document.body.style.setProperty('--mdc-theme-secondary', '#2170b8');\r\n document.body.style.setProperty('--mdc-theme-error', '#f5222d');\r\n document.body.style.setProperty('--mdc-theme-surface', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-primary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-secondary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-error', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-surface', '#000000');\r\n document.body.style.setProperty('--mdc-theme-background', '#ffffff');\r\n document.body.style.setProperty('--mdc-shape-small-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-medium-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-large-component-radius', '0px');\r\n document.body.style.setProperty('--mdc-typography--font-family', 'Roboto, sans-serif');\r\n }\r\n }\r\n /***/ \r\n }),\r\n /***/ \"omi\": \r\n /*!******************************************************************************!*\\\r\n !*** external {\"commonjs\":\"omi\",\"commonjs2\":\"omi\",\"amd\":\"omi\",\"root\":\"Omi\"} ***!\r\n \\******************************************************************************/\r\n /*! no static exports found */\r\n /***/ (function (module, exports) {\r\n module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;\r\n /***/ \r\n })\r\n /******/ \r\n })[\"default\"];\r\n});\r\n//# sourceMappingURL=index.js.map\r\n\n\n//# sourceURL=webpack:///./src/icon/index.js?"); /***/ }), @@ -1196,7 +1196,7 @@ eval("\n var result = __webpack_require__(/*! !../../node_modules/css-loa /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/text-field/index.scss\");\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar index_1 = __webpack_require__(/*! @material/textfield/index */ \"./node_modules/@material/textfield/index.js\");\r\n__webpack_require__(/*! ../icon */ \"./src/icon/index.js\");\r\n//import { MDCRipple } from '@material/ripple/index'\r\n//@ts-ignore\r\n__webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\nfunction extract(from, props) {\r\n var to = {};\r\n props.forEach(function (prop) {\r\n if (from[prop] !== undefined) {\r\n to[prop] = from[prop];\r\n }\r\n });\r\n return to;\r\n}\r\nvar TextField = /** @class */ (function (_super) {\r\n __extends(TextField, _super);\r\n function TextField() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.focus = function () {\r\n _this.mdc.focus();\r\n };\r\n _this.layout = function () {\r\n _this.mdc.layout();\r\n };\r\n _this.refIt = function (e) { _this.root = e; };\r\n return _this;\r\n }\r\n TextField.prototype.installed = function () {\r\n this.mdc = new index_1.MDCTextField(this.root);\r\n };\r\n TextField.prototype.uninstall = function () {\r\n this.mdc.destroy();\r\n };\r\n TextField.prototype.render = function (props) {\r\n var cls = omi_1.extractClass(props, 'mdc-text-field', {\r\n 'mdc-text-field--outlined': props.outlined,\r\n 'mdc-text-field--fullwidth': props.fullWidth,\r\n 'mdc-text-field--textarea': props.textarea,\r\n 'mdc-text-field--disabled': props.disabled,\r\n 'mdc-text-field--with-leading-icon': props.leftIcon || ((props.path || props.paths) && !props.iconRight),\r\n 'mdc-text-field--with-trailing-icon': props.rightIcon || ((props.path || props.paths) && props.iconRight)\r\n });\r\n var inputProps = extract(props, ['disabled', 'required', 'pattern', 'value', 'minLength', 'maxLength', 'min', 'max', 'step']);\r\n if (props.fullWidth && !props.outlined) {\r\n inputProps.placeholder = props.label;\r\n props.label = null;\r\n }\r\n var vd = [\r\n omi_1.h(\"div\", __assign({ ref: this.refIt }, cls),\r\n (props.path || props.paths) && !props.iconRight && omi_1.h(\"m-icon\", __assign({ class: 'icon' }, extract(props, ['path', 'paths']))),\r\n props.leftIcon && omi_1.h(\"i\", { class: \"material-icons mdc-text-field__icon\" }, props.leftIcon),\r\n props.counter && props.textarea && omi_1.h(\"div\", { class: \"mdc-text-field-character-counter\" }),\r\n props.textarea ?\r\n omi_1.h(\"textarea\", __assign({ id: \"my-text-field\", class: \"mdc-text-field__input\", rows: props.rows, cols: props.cols }, inputProps)) :\r\n omi_1.h(\"input\", __assign({ type: props.type, id: \"my-text-field\", class: \"mdc-text-field__input\" }, inputProps)),\r\n props.outlined ?\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline\" },\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__leading\" }),\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__notch\" }, props.label === undefined || !props.noLabel && omi_1.h(\"label\", { for: \"tf-outlined\", class: \"mdc-floating-label\" }, props.label)),\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__trailing\" })) :\r\n (props.label === undefined || !props.noLabel && omi_1.h(\"label\", { class: \"mdc-floating-label\", for: \"my-text-field\" }, props.label)),\r\n (props.path || props.paths) && props.iconRight && omi_1.h(\"m-icon\", __assign({ class: 'icon' }, extract(props, ['path', 'paths']))),\r\n props.rightIcon && omi_1.h(\"i\", { class: \"material-icons mdc-text-field__icon\" }, props.rightIcon),\r\n !props.outlined && omi_1.h(\"div\", { class: \"mdc-line-ripple\" }))\r\n ];\r\n if (props.helperText || (props.counter && !props.textarea)) {\r\n vd.push(omi_1.h(\"div\", { class: \"mdc-text-field-helper-line\" },\r\n props.helperText && omi_1.h(\"div\", { class: \"mdc-text-field-helper-text\" + (props.showHelper ? ' mdc-text-field-helper-text--persistent' : '') }, props.helperText),\r\n props.counter && !props.textarea && omi_1.h(\"div\", { class: \"mdc-text-field-helper-line\" },\r\n omi_1.h(\"div\", { class: \"mdc-text-field-character-counter\" }))));\r\n }\r\n return vd;\r\n };\r\n TextField.css = css;\r\n TextField.defaultProps = {\r\n showHelper: true,\r\n type: 'text'\r\n };\r\n TextField.propTypes = {\r\n fullWidth: Boolean,\r\n textarea: Boolean,\r\n outlined: Boolean,\r\n noLabel: Boolean,\r\n showHelper: Boolean,\r\n helperText: String,\r\n iconRight: Boolean,\r\n counter: Boolean,\r\n path: String,\r\n paths: String,\r\n //Multi-line Text Field (Textarea) with Character Counter (textarea+counter)\r\n label: String,\r\n required: Boolean,\r\n pattern: String,\r\n minLength: Number,\r\n maxLength: Number,\r\n min: Number,\r\n max: Number,\r\n step: Number,\r\n rows: Number,\r\n cols: Number,\r\n value: String,\r\n disabled: Boolean,\r\n useNativeValidation: Boolean,\r\n valid: Boolean,\r\n helperTextContent: String,\r\n //ripple: MDCRipple,\r\n leadingIconAriaLabel: String,\r\n trailingIconAriaLabel: String,\r\n leadingIconContent: String,\r\n trailingIconContent: String,\r\n leftIcon: String,\r\n rightIcon: String\r\n };\r\n TextField = __decorate([\r\n omi_1.tag('m-text-field')\r\n ], TextField);\r\n return TextField;\r\n}(omi_1.WeElement));\r\nexports.default = TextField;\r\n\n\n//# sourceURL=webpack:///./src/text-field/index.tsx?"); +eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/text-field/index.scss\");\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar index_1 = __webpack_require__(/*! @material/textfield/index */ \"./node_modules/@material/textfield/index.js\");\r\n__webpack_require__(/*! ../icon */ \"./src/icon/index.js\");\r\n//import { MDCRipple } from '@material/ripple/index'\r\n//@ts-ignore\r\n__webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\nfunction extract(from, props) {\r\n var to = {};\r\n props.forEach(function (prop) {\r\n if (from[prop] !== undefined) {\r\n to[prop] = from[prop];\r\n }\r\n });\r\n return to;\r\n}\r\nvar TextField = /** @class */ (function (_super) {\r\n __extends(TextField, _super);\r\n function TextField() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.focus = function () {\r\n _this.mdc.focus();\r\n };\r\n _this.layout = function () {\r\n _this.mdc.layout();\r\n };\r\n _this.refIt = function (e) { _this.root = e; };\r\n _this.iconClick = function () {\r\n _this.mdc.focus();\r\n _this.fire('iconclick');\r\n };\r\n return _this;\r\n }\r\n TextField.prototype.installed = function () {\r\n this.mdc = new index_1.MDCTextField(this.root);\r\n };\r\n TextField.prototype.uninstall = function () {\r\n this.mdc.destroy();\r\n };\r\n TextField.prototype.render = function (props) {\r\n var cls = omi_1.extractClass(props, 'mdc-text-field', {\r\n 'mdc-text-field--outlined': props.outlined,\r\n 'mdc-text-field--fullwidth': props.fullWidth,\r\n 'mdc-text-field--textarea': props.textarea,\r\n 'mdc-text-field--disabled': props.disabled,\r\n 'mdc-text-field--with-leading-icon': props.leftIcon || ((props.path || props.paths) && !props.iconRight),\r\n 'mdc-text-field--with-trailing-icon': props.rightIcon || ((props.path || props.paths) && props.iconRight)\r\n });\r\n var inputProps = extract(props, ['disabled', 'required', 'pattern', 'value', 'minLength', 'maxLength', 'min', 'max', 'step']);\r\n if (props.fullWidth && !props.outlined) {\r\n inputProps.placeholder = props.label;\r\n props.label = null;\r\n //直接修改 props 需要注意同步 this['__omiattr_'],不然下次和this['__omiattr_']的值进行 diff 结果相同导致不更新\r\n this['__omiattr_'] && (this['__omiattr_'].label = null);\r\n }\r\n var vd = [\r\n omi_1.h(\"div\", __assign({ ref: this.refIt }, cls),\r\n (props.path || props.paths) && !props.iconRight && omi_1.h(\"m-icon\", __assign({ onClick: this.iconClick, class: omi_1.classNames('icon', { 'icon-event': props.iconEvent }) }, extract(props, ['path', 'paths']))),\r\n props.leftIcon && omi_1.h(\"i\", { onClick: this.iconClick, class: omi_1.classNames(\"material-icons mdc-text-field__icon\", {\r\n 'icon-event': props.iconEvent\r\n }) }, props.leftIcon),\r\n props.counter && props.textarea && omi_1.h(\"div\", { class: \"mdc-text-field-character-counter\" }),\r\n props.textarea ?\r\n omi_1.h(\"textarea\", __assign({ id: \"my-text-field\", class: \"mdc-text-field__input\", rows: props.rows, cols: props.cols }, inputProps)) :\r\n omi_1.h(\"input\", __assign({ type: props.type, id: \"my-text-field\", class: \"mdc-text-field__input\" }, inputProps)),\r\n props.outlined ?\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline\" },\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__leading\" }),\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__notch\" }, props.label === undefined || !props.noLabel && omi_1.h(\"label\", { for: \"tf-outlined\", class: \"mdc-floating-label\" }, props.label)),\r\n omi_1.h(\"div\", { class: \"mdc-notched-outline__trailing\" })) :\r\n (props.label === undefined || !props.noLabel && omi_1.h(\"label\", { class: \"mdc-floating-label\", for: \"my-text-field\" }, props.label)),\r\n (props.path || props.paths) && props.iconRight && omi_1.h(\"m-icon\", __assign({ onClick: this.iconClick, class: omi_1.classNames('icon', { 'icon-event': props.iconEvent }) }, extract(props, ['path', 'paths']))),\r\n props.rightIcon && omi_1.h(\"i\", { onClick: this.iconClick, class: omi_1.classNames(\"material-icons mdc-text-field__icon\", {\r\n 'icon-event': props.iconEvent\r\n }) }, props.rightIcon),\r\n !props.outlined && omi_1.h(\"div\", { class: \"mdc-line-ripple\" }))\r\n ];\r\n if (props.helperText || (props.counter && !props.textarea)) {\r\n vd.push(omi_1.h(\"div\", { class: \"mdc-text-field-helper-line\" },\r\n props.helperText && omi_1.h(\"div\", { class: \"mdc-text-field-helper-text\" + (props.showHelper ? ' mdc-text-field-helper-text--persistent' : '') }, props.helperText),\r\n props.counter && !props.textarea && omi_1.h(\"div\", { class: \"mdc-text-field-helper-line\" },\r\n omi_1.h(\"div\", { class: \"mdc-text-field-character-counter\" }))));\r\n }\r\n return vd;\r\n };\r\n TextField.css = css;\r\n TextField.defaultProps = {\r\n showHelper: true,\r\n type: 'text'\r\n };\r\n TextField.propTypes = {\r\n fullWidth: Boolean,\r\n textarea: Boolean,\r\n outlined: Boolean,\r\n noLabel: Boolean,\r\n showHelper: Boolean,\r\n helperText: String,\r\n iconRight: Boolean,\r\n counter: Boolean,\r\n path: String,\r\n paths: Object,\r\n //Multi-line Text Field (Textarea) with Character Counter (textarea+counter)\r\n label: String,\r\n required: Boolean,\r\n pattern: String,\r\n minLength: Number,\r\n maxLength: Number,\r\n min: Number,\r\n max: Number,\r\n step: Number,\r\n rows: Number,\r\n cols: Number,\r\n value: String,\r\n disabled: Boolean,\r\n useNativeValidation: Boolean,\r\n valid: Boolean,\r\n helperTextContent: String,\r\n //ripple: MDCRipple,\r\n leadingIconAriaLabel: String,\r\n trailingIconAriaLabel: String,\r\n leadingIconContent: String,\r\n trailingIconContent: String,\r\n leftIcon: String,\r\n rightIcon: String,\r\n iconEvent: Boolean\r\n };\r\n TextField = __decorate([\r\n omi_1.tag('m-text-field')\r\n ], TextField);\r\n return TextField;\r\n}(omi_1.WeElement));\r\nexports.default = TextField;\r\n\n\n//# sourceURL=webpack:///./src/text-field/index.tsx?"); /***/ }), @@ -1207,7 +1207,7 @@ eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var /*! no static exports found */ /***/ (function(module, exports) { -eval("if (!document.querySelector('#__omim-theme-style')) {\r\n var style = document.createElement('style');\r\n style.id = '__omim-theme-style';\r\n style.textContent = \"--mdc-theme-primary: #0072d9;\\n --mdc-theme-secondary: #2170b8;\\n --mdc-theme-error: #f5222d;\\n --mdc-theme-surface: #ffffff;\\n --mdc-theme-on-primary: #ffffff;\\n --mdc-theme-on-secondary: #ffffff;\\n --mdc-theme-on-error: #ffffff;\\n --mdc-theme-on-surface: #000000;\\n --mdc-theme-background: #ffffff;\\n --mdc-shape-small-component-radius: 4px;\\n --mdc-shape-medium-component-radius: 4px;\\n --mdc-shape-large-component-radius: 0px;\\n --mdc-typography--font-family: Roboto, sans-serif;\\n \";\r\n document.querySelector('head').append(style);\r\n}\r\n\n\n//# sourceURL=webpack:///./src/theme.ts?"); +eval("theme();\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n theme();\r\n});\r\nfunction theme() {\r\n if (document.body && !document.body.style.getPropertyValue('--mdc-theme-primary')) {\r\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\r\n document.body.style.setProperty('--mdc-theme-secondary', '#2170b8');\r\n document.body.style.setProperty('--mdc-theme-error', '#f5222d');\r\n document.body.style.setProperty('--mdc-theme-surface', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-primary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-secondary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-error', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-surface', '#000000');\r\n document.body.style.setProperty('--mdc-theme-background', '#ffffff');\r\n document.body.style.setProperty('--mdc-shape-small-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-medium-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-large-component-radius', '0px');\r\n document.body.style.setProperty('--mdc-typography--font-family', 'Roboto, sans-serif');\r\n }\r\n}\r\n\n\n//# sourceURL=webpack:///./src/theme.ts?"); /***/ }), @@ -1230,7 +1230,7 @@ eval("\n var result = __webpack_require__(/*! !../../node_modules/css-loa /***/ (function(module, exports, __webpack_require__) { "use strict"; -eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/top-app-bar/index.scss\");\r\nvar top_app_bar_1 = __webpack_require__(/*! @material/top-app-bar */ \"./node_modules/@material/top-app-bar/index.js\");\r\nvar element_children_1 = __webpack_require__(/*! ../util/element-children */ \"./src/util/element-children.js\");\r\nvar dom_ready_1 = __webpack_require__(/*! ../util/dom-ready */ \"./src/util/dom-ready.js\");\r\n//@ts-ignore\r\n__webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\nvar topAppBar = /** @class */ (function (_super) {\r\n __extends(topAppBar, _super);\r\n function topAppBar() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.tagNum = new Object();\r\n _this.other = false;\r\n _this.onNavigation = function (evt) {\r\n evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) });\r\n };\r\n _this.onAction = function (evt) {\r\n evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) });\r\n };\r\n return _this;\r\n }\r\n topAppBar.prototype.beforeUpdate = function () {\r\n this._setChildrenAttribute();\r\n };\r\n topAppBar.prototype.updated = function () {\r\n // update this.topAppBar, more flexible operation (更新 this.topAppBar 变量,操作更灵活)\r\n this.topAppBar.destroy();\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画)\r\n if (this.props.scrollTarget) { //(JSX 使用)\r\n this.topAppBar.setScrollTarget(this.props.scrollTarget);\r\n }\r\n else { // (原生 js 使用)\r\n if (this.props.scrollTargetId) {\r\n var findTarge = document.querySelector('#' + this.props.scrollTargetId);\r\n findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window);\r\n }\r\n else {\r\n this.topAppBar.setScrollTarget(window);\r\n }\r\n }\r\n };\r\n topAppBar.prototype.installed = function () {\r\n var _this = this;\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n dom_ready_1.domReady(function () {\r\n _this._setChildrenAttribute();\r\n _this.update();\r\n });\r\n };\r\n topAppBar.prototype._setChildrenAttribute = function () {\r\n var _this = this;\r\n this.tagNum = new Object();\r\n this.other = false;\r\n var children = element_children_1.elementChildren(this);\r\n children.forEach(function (child) {\r\n if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') {\r\n if (typeof _this.tagNum[child.tagName] === 'undefined') {\r\n _this.tagNum[child.tagName] = new Array();\r\n }\r\n var tagLength = _this.tagNum[child.tagName].length;\r\n child.setAttribute('slot', child.tagName + tagLength + '');\r\n _this.tagNum[child.tagName].push(tagLength);\r\n }\r\n else {\r\n child.setAttribute('slot', 'OTHER');\r\n _this.other = true;\r\n }\r\n });\r\n };\r\n topAppBar.prototype._findPathAccessKey = function (evt) {\r\n for (var i = 0; i < evt.path.length; i++)\r\n if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey)\r\n return evt.path[i].accessKey;\r\n return -1;\r\n };\r\n topAppBar.prototype.render = function (props) {\r\n var _this = this;\r\n return [\r\n omi_1.h(\"header\", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', {\r\n 'mdc-top-app-bar--fixed': props.fixed || props.bottom,\r\n 'mdc-top-app-bar--dense': props.dense,\r\n 'mdc-top-app-bar--short': props.short || props.shortCollapsed,\r\n 'mdc-top-app-bar--short-collapsed': props.shortCollapsed,\r\n 'mdc-top-app-bar--prominent': props.prominent,\r\n 'm-top-app-bar-bottom': props.bottom\r\n })),\r\n omi_1.h(\"div\", { class: 'mdc-top-app-bar__row' },\r\n (props.navigations || this.tagNum['NAVIGATION'] || props.heading) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' },\r\n props.navigations ? props.navigations.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation });\r\n })),\r\n props.heading && omi_1.h(\"span\", { class: 'mdc-top-app-bar__title' }, props.heading)),\r\n (props.actionItems || this.tagNum['ACTIONITEM']) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ?\r\n props.actionItems.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction });\r\n }))),\r\n this.other === true && omi_1.h(\"slot\", { name: 'OTHER' }))),\r\n (props.adjust && omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' :\r\n (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' :\r\n props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' :\r\n props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust'))))\r\n ];\r\n };\r\n topAppBar.css = css;\r\n topAppBar.propTypes = {\r\n heading: String,\r\n short: Boolean,\r\n shortCollapsed: Boolean,\r\n prominent: Boolean,\r\n dense: Boolean,\r\n fixed: Boolean,\r\n adjust: Boolean,\r\n bottom: Boolean,\r\n navigations: Object,\r\n actionItems: Object,\r\n scrollTarget: EventTarget,\r\n scrollTargetId: String\r\n };\r\n topAppBar = __decorate([\r\n omi_1.tag('m-top-app-bar')\r\n ], topAppBar);\r\n return topAppBar;\r\n}(omi_1.WeElement));\r\nexports.default = topAppBar;\r\n\n\n//# sourceURL=webpack:///./src/top-app-bar/index.tsx?"); +eval("\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar omi_1 = __webpack_require__(/*! omi */ \"./node_modules/omi/dist/omi.esm.js\");\r\nvar css = __webpack_require__(/*! ./index.scss */ \"./src/top-app-bar/index.scss\");\r\nvar top_app_bar_1 = __webpack_require__(/*! @material/top-app-bar */ \"./node_modules/@material/top-app-bar/index.js\");\r\nvar element_children_1 = __webpack_require__(/*! ../util/element-children */ \"./src/util/element-children.js\");\r\nvar dom_ready_1 = __webpack_require__(/*! ../util/dom-ready */ \"./src/util/dom-ready.js\");\r\n//@ts-ignore\r\n__webpack_require__(/*! ../theme.ts */ \"./src/theme.ts\");\r\nvar topAppBar = /** @class */ (function (_super) {\r\n __extends(topAppBar, _super);\r\n function topAppBar() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.tagNum = new Object();\r\n _this.other = false;\r\n _this.onNavigation = function (evt) {\r\n evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) });\r\n };\r\n _this.onAction = function (evt) {\r\n evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) });\r\n };\r\n return _this;\r\n }\r\n topAppBar.prototype.beforeUpdate = function () {\r\n this._setChildrenAttribute();\r\n };\r\n topAppBar.prototype.updated = function () {\r\n this.topAppBar.destroy();\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画)\r\n if (this.props.scrollTarget) { //(JSX 使用)\r\n this.topAppBar.setScrollTarget(this.props.scrollTarget);\r\n }\r\n else { // (原生 js 使用)\r\n if (this.props.scrollTargetId) {\r\n var findTarge = document.querySelector('#' + this.props.scrollTargetId);\r\n findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window);\r\n }\r\n else {\r\n this.topAppBar.setScrollTarget(window);\r\n }\r\n }\r\n };\r\n topAppBar.prototype.installed = function () {\r\n var _this = this;\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n dom_ready_1.domReady(function () {\r\n _this._setChildrenAttribute();\r\n _this.update();\r\n });\r\n };\r\n topAppBar.prototype._setChildrenAttribute = function () {\r\n var _this = this;\r\n this.tagNum = new Object();\r\n this.other = false;\r\n var children = element_children_1.elementChildren(this);\r\n children.forEach(function (child) {\r\n if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') {\r\n if (typeof _this.tagNum[child.tagName] === 'undefined') {\r\n _this.tagNum[child.tagName] = new Array();\r\n }\r\n var tagLength = _this.tagNum[child.tagName].length;\r\n child.setAttribute('slot', child.tagName + tagLength + '');\r\n _this.tagNum[child.tagName].push(tagLength);\r\n }\r\n else {\r\n child.setAttribute('slot', 'OTHER');\r\n _this.other = true;\r\n }\r\n });\r\n };\r\n topAppBar.prototype._findPathAccessKey = function (evt) {\r\n for (var i = 0; i < evt.path.length; i++)\r\n if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey)\r\n return evt.path[i].accessKey;\r\n return -1;\r\n };\r\n topAppBar.prototype.render = function (props) {\r\n var _this = this;\r\n var node = [omi_1.h(\"header\", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', {\r\n 'mdc-top-app-bar--fixed': props.fixed || props.bottom,\r\n 'mdc-top-app-bar--dense': props.dense,\r\n 'mdc-top-app-bar--short': props.short || props.shortCollapsed,\r\n 'mdc-top-app-bar--short-collapsed': props.shortCollapsed,\r\n 'mdc-top-app-bar--prominent': props.prominent,\r\n 'm-top-app-bar-bottom': props.bottom\r\n })),\r\n omi_1.h(\"div\", { class: 'mdc-top-app-bar__row' },\r\n (props.navigations || this.tagNum['NAVIGATION'] || props.heading) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' },\r\n props.navigations ? props.navigations.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation });\r\n })),\r\n props.heading && omi_1.h(\"span\", { class: 'mdc-top-app-bar__title' }, props.heading)),\r\n (props.actionItems || this.tagNum['ACTIONITEM']) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ?\r\n props.actionItems.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction });\r\n }))),\r\n this.other === true && omi_1.h(\"slot\", { name: 'OTHER' })))];\r\n if (props.adjust) {\r\n node.push(omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' :\r\n (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' :\r\n props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' :\r\n props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust'))));\r\n }\r\n return node;\r\n };\r\n topAppBar.css = css;\r\n topAppBar.propTypes = {\r\n heading: String,\r\n short: Boolean,\r\n shortCollapsed: Boolean,\r\n prominent: Boolean,\r\n dense: Boolean,\r\n fixed: Boolean,\r\n adjust: Boolean,\r\n bottom: Boolean,\r\n navigations: Object,\r\n actionItems: Object,\r\n scrollTarget: EventTarget,\r\n scrollTargetId: String\r\n };\r\n topAppBar = __decorate([\r\n omi_1.tag('m-top-app-bar')\r\n ], topAppBar);\r\n return topAppBar;\r\n}(omi_1.WeElement));\r\nexports.default = topAppBar;\r\n\n\n//# sourceURL=webpack:///./src/top-app-bar/index.tsx?"); /***/ }), diff --git a/packages/omim/demos/top-app-bar/index.js b/packages/omim/demos/top-app-bar/index.js index a78924462..b084517c7 100644 --- a/packages/omim/demos/top-app-bar/index.js +++ b/packages/omim/demos/top-app-bar/index.js @@ -136,10 +136,9 @@ define('my-app', class extends WeElement { + heading='Fixed' + navigations={['menu']} + onNavigation={this.onMenu}>
= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -var omi_1 = __webpack_require__(/*! omi */ "omi"); -var css = __webpack_require__(/*! ./index.scss */ "./src/top-app-bar/index.scss"); -var top_app_bar_1 = __webpack_require__(/*! @material/top-app-bar */ "./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/index.js"); -var element_children_1 = __webpack_require__(/*! ../util/element-children */ "./src/util/element-children.js"); -var dom_ready_1 = __webpack_require__(/*! ../util/dom-ready */ "./src/util/dom-ready.js"); -//@ts-ignore -__webpack_require__(/*! ../theme.ts */ "./src/theme.ts"); -var topAppBar = /** @class */ (function (_super) { - __extends(topAppBar, _super); - function topAppBar() { - var _this = _super !== null && _super.apply(this, arguments) || this; - _this.tagNum = new Object(); - _this.other = false; - _this.onNavigation = function (evt) { - evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) }); - }; - _this.onAction = function (evt) { - evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) }); - }; - return _this; - } - topAppBar.prototype.beforeUpdate = function () { - this._setChildrenAttribute(); - }; - topAppBar.prototype.updated = function () { - // update this.topAppBar, more flexible operation (更新 this.topAppBar 变量,操作更灵活) - this.topAppBar.destroy(); - this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar')); - // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画) - if (this.props.scrollTarget) { //(JSX 使用) - this.topAppBar.setScrollTarget(this.props.scrollTarget); - } - else { // (原生 js 使用) - if (this.props.scrollTargetId) { - var findTarge = document.querySelector('#' + this.props.scrollTargetId); - findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window); - } - else { - this.topAppBar.setScrollTarget(window); - } - } - }; - topAppBar.prototype.installed = function () { - var _this = this; - this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar')); - dom_ready_1.domReady(function () { - _this._setChildrenAttribute(); - _this.update(); - }); - }; - topAppBar.prototype._setChildrenAttribute = function () { - var _this = this; - this.tagNum = new Object(); - this.other = false; - var children = element_children_1.elementChildren(this); - children.forEach(function (child) { - if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') { - if (typeof _this.tagNum[child.tagName] === 'undefined') { - _this.tagNum[child.tagName] = new Array(); - } - var tagLength = _this.tagNum[child.tagName].length; - child.setAttribute('slot', child.tagName + tagLength + ''); - _this.tagNum[child.tagName].push(tagLength); - } - else { - child.setAttribute('slot', 'OTHER'); - _this.other = true; - } - }); - }; - topAppBar.prototype._findPathAccessKey = function (evt) { - for (var i = 0; i < evt.path.length; i++) - if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey) - return evt.path[i].accessKey; - return -1; - }; - topAppBar.prototype.render = function (props) { - var _this = this; - return [ - omi_1.h("header", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', { - 'mdc-top-app-bar--fixed': props.fixed || props.bottom, - 'mdc-top-app-bar--dense': props.dense, - 'mdc-top-app-bar--short': props.short || props.shortCollapsed, - 'mdc-top-app-bar--short-collapsed': props.shortCollapsed, - 'mdc-top-app-bar--prominent': props.prominent, - 'm-top-app-bar-bottom': props.bottom - })), - omi_1.h("div", { class: 'mdc-top-app-bar__row' }, - (props.navigations || this.tagNum['NAVIGATION'] || props.heading) && - omi_1.h("section", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' }, - props.navigations ? props.navigations.map(function (item, index) { - return omi_1.h("omim", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item); - }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) { - return omi_1.h("slot", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation }); - })), - props.heading && omi_1.h("span", { class: 'mdc-top-app-bar__title' }, props.heading)), - (props.actionItems || this.tagNum['ACTIONITEM']) && - omi_1.h("section", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ? - props.actionItems.map(function (item, index) { - return omi_1.h("omim", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item); - }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) { - return omi_1.h("slot", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction }); - }))), - this.other === true && omi_1.h("slot", { name: 'OTHER' }))), - (props.adjust && omi_1.h("div", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' : - (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' : - props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' : - props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust')))) - ]; - }; - topAppBar.css = css; - topAppBar.propTypes = { - heading: String, - short: Boolean, - shortCollapsed: Boolean, - prominent: Boolean, - dense: Boolean, - fixed: Boolean, - adjust: Boolean, - bottom: Boolean, - navigations: Object, - actionItems: Object, - scrollTarget: EventTarget, - scrollTargetId: String - }; - topAppBar = __decorate([ - omi_1.tag('m-top-app-bar') - ], topAppBar); - return topAppBar; -}(omi_1.WeElement)); -exports.default = topAppBar; + +var __extends = (this && this.__extends) || (function () { + var extendStatics = function (d, b) { + extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; + return extendStatics(d, b); + }; + return function (d, b) { + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; +})(); +var __assign = (this && this.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +var omi_1 = __webpack_require__(/*! omi */ "omi"); +var css = __webpack_require__(/*! ./index.scss */ "./src/top-app-bar/index.scss"); +var top_app_bar_1 = __webpack_require__(/*! @material/top-app-bar */ "./node_modules/@material/top-app-bar/index.js"); +var element_children_1 = __webpack_require__(/*! ../util/element-children */ "./src/util/element-children.js"); +var dom_ready_1 = __webpack_require__(/*! ../util/dom-ready */ "./src/util/dom-ready.js"); +//@ts-ignore +__webpack_require__(/*! ../theme.ts */ "./src/theme.ts"); +var topAppBar = /** @class */ (function (_super) { + __extends(topAppBar, _super); + function topAppBar() { + var _this = _super !== null && _super.apply(this, arguments) || this; + _this.tagNum = new Object(); + _this.other = false; + _this.onNavigation = function (evt) { + evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) }); + }; + _this.onAction = function (evt) { + evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) }); + }; + return _this; + } + topAppBar.prototype.beforeUpdate = function () { + this._setChildrenAttribute(); + }; + topAppBar.prototype.updated = function () { + this.topAppBar.destroy(); + this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar')); + // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画) + if (this.props.scrollTarget) { //(JSX 使用) + this.topAppBar.setScrollTarget(this.props.scrollTarget); + } + else { // (原生 js 使用) + if (this.props.scrollTargetId) { + var findTarge = document.querySelector('#' + this.props.scrollTargetId); + findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window); + } + else { + this.topAppBar.setScrollTarget(window); + } + } + }; + topAppBar.prototype.installed = function () { + var _this = this; + this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar')); + dom_ready_1.domReady(function () { + _this._setChildrenAttribute(); + _this.update(); + }); + }; + topAppBar.prototype._setChildrenAttribute = function () { + var _this = this; + this.tagNum = new Object(); + this.other = false; + var children = element_children_1.elementChildren(this); + children.forEach(function (child) { + if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') { + if (typeof _this.tagNum[child.tagName] === 'undefined') { + _this.tagNum[child.tagName] = new Array(); + } + var tagLength = _this.tagNum[child.tagName].length; + child.setAttribute('slot', child.tagName + tagLength + ''); + _this.tagNum[child.tagName].push(tagLength); + } + else { + child.setAttribute('slot', 'OTHER'); + _this.other = true; + } + }); + }; + topAppBar.prototype._findPathAccessKey = function (evt) { + for (var i = 0; i < evt.path.length; i++) + if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey) + return evt.path[i].accessKey; + return -1; + }; + topAppBar.prototype.render = function (props) { + var _this = this; + var node = [omi_1.h("header", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', { + 'mdc-top-app-bar--fixed': props.fixed || props.bottom, + 'mdc-top-app-bar--dense': props.dense, + 'mdc-top-app-bar--short': props.short || props.shortCollapsed, + 'mdc-top-app-bar--short-collapsed': props.shortCollapsed, + 'mdc-top-app-bar--prominent': props.prominent, + 'm-top-app-bar-bottom': props.bottom + })), + omi_1.h("div", { class: 'mdc-top-app-bar__row' }, + (props.navigations || this.tagNum['NAVIGATION'] || props.heading) && + omi_1.h("section", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' }, + props.navigations ? props.navigations.map(function (item, index) { + return omi_1.h("omim", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item); + }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) { + return omi_1.h("slot", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation }); + })), + props.heading && omi_1.h("span", { class: 'mdc-top-app-bar__title' }, props.heading)), + (props.actionItems || this.tagNum['ACTIONITEM']) && + omi_1.h("section", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ? + props.actionItems.map(function (item, index) { + return omi_1.h("omim", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item); + }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) { + return omi_1.h("slot", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction }); + }))), + this.other === true && omi_1.h("slot", { name: 'OTHER' })))]; + if (props.adjust) { + node.push(omi_1.h("div", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' : + (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' : + props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' : + props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust')))); + } + return node; + }; + topAppBar.css = css; + topAppBar.propTypes = { + heading: String, + short: Boolean, + shortCollapsed: Boolean, + prominent: Boolean, + dense: Boolean, + fixed: Boolean, + adjust: Boolean, + bottom: Boolean, + navigations: Object, + actionItems: Object, + scrollTarget: EventTarget, + scrollTargetId: String + }; + topAppBar = __decorate([ + omi_1.tag('m-top-app-bar') + ], topAppBar); + return topAppBar; +}(omi_1.WeElement)); +exports.default = topAppBar; /***/ }), @@ -2460,24 +2441,24 @@ exports.default = topAppBar; /***/ (function(module, exports, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -var readyCallbacks = []; -document.addEventListener('DOMContentLoaded', function () { - domReady.done = true; - readyCallbacks.forEach(function (callback) { - callback(); - }); -}); -function domReady(callback) { - if (domReady.done) { - callback(); - return; - } - readyCallbacks.push(callback); -} -exports.domReady = domReady; -domReady.done = false; + +Object.defineProperty(exports, "__esModule", { value: true }); +var readyCallbacks = []; +document.addEventListener('DOMContentLoaded', function () { + domReady.done = true; + readyCallbacks.forEach(function (callback) { + callback(); + }); +}); +function domReady(callback) { + if (domReady.done) { + callback(); + return; + } + readyCallbacks.push(callback); +} +exports.domReady = domReady; +domReady.done = false; /***/ }), @@ -2490,18 +2471,18 @@ domReady.done = false; /***/ (function(module, exports, __webpack_require__) { "use strict"; - -Object.defineProperty(exports, "__esModule", { value: true }); -function elementChildren(element) { - var childNodes = element.childNodes, children = [], i = childNodes.length; - while (i--) { - if (childNodes[i].nodeType == 1) { - children.unshift(childNodes[i]); - } - } - return children; -} -exports.elementChildren = elementChildren; + +Object.defineProperty(exports, "__esModule", { value: true }); +function elementChildren(element) { + var childNodes = element.childNodes, children = [], i = childNodes.length; + while (i--) { + if (childNodes[i].nodeType == 1) { + children.unshift(childNodes[i]); + } + } + return children; +} +exports.elementChildren = elementChildren; /***/ }), diff --git a/packages/omim/src/top-app-bar/index.js.map b/packages/omim/src/top-app-bar/index.js.map index 5b3429559..ec6ad974d 100644 --- a/packages/omim/src/top-app-bar/index.js.map +++ b/packages/omim/src/top-app-bar/index.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack://MTopAppBar/webpack/universalModuleDefinition","webpack://MTopAppBar/webpack/bootstrap","webpack://MTopAppBar/./node_modules/_@material_base@1.0.0@@material/base/component.js","webpack://MTopAppBar/./node_modules/_@material_base@1.0.0@@material/base/foundation.js","webpack://MTopAppBar/./node_modules/_@material_dom@1.1.0@@material/dom/ponyfill.js","webpack://MTopAppBar/./node_modules/_@material_ripple@2.3.0@@material/ripple/component.js","webpack://MTopAppBar/./node_modules/_@material_ripple@2.3.0@@material/ripple/constants.js","webpack://MTopAppBar/./node_modules/_@material_ripple@2.3.0@@material/ripple/foundation.js","webpack://MTopAppBar/./node_modules/_@material_ripple@2.3.0@@material/ripple/util.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/component.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/constants.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/fixed/foundation.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/foundation.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/index.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/short/foundation.js","webpack://MTopAppBar/./node_modules/_@material_top-app-bar@2.3.0@@material/top-app-bar/standard/foundation.js","webpack://MTopAppBar/./src/top-app-bar/index.scss","webpack://MTopAppBar/./node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js","webpack://MTopAppBar/./node_modules/_tslib@1.10.0@tslib/tslib.es6.js","webpack://MTopAppBar/./src/theme.ts","webpack://MTopAppBar/./src/top-app-bar/index.scss?4559","webpack://MTopAppBar/./src/top-app-bar/index.tsx","webpack://MTopAppBar/./src/util/dom-ready.js","webpack://MTopAppBar/./src/util/element-children.js","webpack://MTopAppBar/external {\"commonjs\":\"omi\",\"commonjs2\":\"omi\",\"amd\":\"omi\",\"root\":\"Omi\"}"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACY;AAC7C;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA,oCAAoC,8CAAgB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF;AAClF;AACA,0CAA0C,yDAAa,GAAG;AAC1D;AACA,0EAA0E;AAC1E;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACuB;AACxB;AACe,2EAAY,EAAC;AAC5B,qC;;;;;;;;;;;;ACrGA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,oDAAoD;AACpD;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACwB;AACzB;AACe,4EAAa,EAAC;AAC7B,sC;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACuB;AACP;AACE;AACpB;AAC/B;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,SAAS,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,gDAAgD,EAAE;AAC9F,iDAAiD,QAAQ,0DAAyB,SAAS,EAAE;AAC7F,8CAA8C,+CAA+C,EAAE;AAC/F,oDAAoD,wCAAwC,EAAE;AAC9F;AACA,sFAAsF,kDAAiB;AACvG,aAAa;AACb;AACA,4EAA4E,kDAAiB;AAC7F,aAAa;AACb,yDAAyD,sDAAsD,EAAE;AACjH,8CAA8C,UAAU,+CAA+C,EAAE,EAAE;AAC3G,0CAA0C,QAAQ,sEAAO,4BAA4B,EAAE;AACvF,4CAA4C,mCAAmC,EAAE;AACjF,sCAAsC,oCAAoC,EAAE;AAC5E;AACA,mFAAmF,kDAAiB;AACpG,aAAa;AACb;AACA,yEAAyE,kDAAiB;AAC1F,aAAa;AACb,uDAAuD,mDAAmD,EAAE;AAC5G,+CAA+C,mDAAmD,EAAE;AACpG,0DAA0D,yDAAyD,EAAE;AACrH;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,+DAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,qEAAY;AACO;AACrB,qC;;;;;;;;;;;;AC9GA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;;;;;;;AC/CA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACyB;AACC;AACT;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,+CAAiB;AACrB;AACA,sCAAsC,8CAAgB,GAAG;AACzD;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,+CAA+C,2BAA2B;AAC1E,gDAAgD,4BAA4B;AAC5E,2CAA2C,4BAA4B;AACvE,0CAA0C,2BAA2B;AACrE,4CAA4C,uBAAuB;AACnE;AACA;AACA;AACA;AACA,mBAAmB,qDAAU;AAC7B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,kBAAkB,EAAE;AAC3D,qDAAqD,aAAa,EAAE;AACpE,kDAAkD,UAAU,4DAA4D,EAAE,EAAE;AAC5H,kDAAkD,aAAa,EAAE;AACjE,mEAAmE,kBAAkB,EAAE;AACvF,2DAA2D,kBAAkB,EAAE;AAC/E,sDAAsD,kBAAkB,EAAE;AAC1E,kDAAkD,UAAU,aAAa,EAAE,EAAE;AAC7E,8CAA8C,aAAa,EAAE;AAC7D,gDAAgD,aAAa,EAAE;AAC/D,0CAA0C,aAAa,EAAE;AACzD,iEAAiE,kBAAkB,EAAE;AACrF,yDAAyD,kBAAkB,EAAE;AAC7E,oDAAoD,kBAAkB,EAAE;AACxE,0CAA0C,kBAAkB,EAAE;AAC9D,gDAAgD,kBAAkB,EAAE;AACpE;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6HAA6H,mDAAmD,EAAE;AAClL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,yCAAyC,EAAE;AACnG;AACA;AACA;AACA;AACA;AACA,yBAAyB,sEAAwB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,EAAE,kDAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,mDAAmD,EAAE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,8CAAgB,GAAG;AACvC;AACA,+CAA+C,0CAA0C,EAAE;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,uEAAa;AACgB;AAC/B;AACe,kFAAmB,EAAC;AACnC,sC;;;;;;;;;;;;AC5cA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,kCAAkC,sBAAsB;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,+BAA+B,oBAAoB;AACnD,kCAAkC,sBAAsB;AACxD;AACA;AACA;AACA,qEAAqE,kBAAkB,EAAE;AACzF;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA,+BAA+B,gBAAgB;AAC/C;AACO;AACP;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,gC;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACuB;AACD;AACL;AACe;AACA;AACF;AAC/D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,gCAAgC,QAAQ,oEAAS,cAAc,GAAG;AACzG,iDAAiD,kDAAO;AACxD;AACA,8DAA8D,kDAAO;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,yDAAyD,6BAA6B,EAAE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,kDAAkD,EAAE;AAChG,4CAA4C,6CAA6C,EAAE;AAC3F,+CAA+C,gDAAgD,EAAE;AACjG,kDAAkD,uDAAuD,EAAE;AAC3G,6CAA6C,iCAAiC,EAAE;AAChF;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb,sDAAsD,mBAAmB,kDAAO,qBAAqB,EAAE,EAAE;AACzG,uDAAuD,gEAAgE,EAAE;AACzH,yDAAyD,mEAAmE,EAAE;AAC9H,uDAAuD,mDAAmD,EAAE;AAC5G,yDAAyD,sDAAsD,EAAE;AACjH;AACA;AACA;AACA;AACA,aAAa;AACb,8CAA8C,qCAAqC,kDAAO,8BAA8B,EAAE;AAC1H;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD,6BAA6B,6EAA2B;AACxD;AACA,+CAA+C,qDAAU;AACzD,6BAA6B,6EAA2B;AACxD;AACA;AACA,6BAA6B,2EAAsB;AACnD;AACA;AACA;AACA;AACA,CAAC,CAAC,qEAAY;AACU;AACxB,qC;;;;;;;;;;;;AChHA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACwC;AACxC,qC;;;;;;;;;;;;ACzCA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACS;AACsB;AAChE;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,oCAAoC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD;AACA;AACA;AACA;AACA;AACA,uCAAuC,qDAAU;AACjD;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,2EAAsB;AACe;AACvC;AACe,0FAA2B,EAAC;AAC3C,sC;;;;;;;;;;;;AC5DA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACyB;AACC;AAC3D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA,sCAAsC,8CAAgB,GAAG;AACzD,8CAA8C,qDAAqD;AACnG;AACA;AACA;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,qDAAU;AAC7B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,gBAAgB,0BAA0B;AAC1C;AACA;AACA;AACA;AACA,uCAAuC,kBAAkB,EAAE;AAC3D,0CAA0C,kBAAkB,EAAE;AAC9D,uCAAuC,cAAc,EAAE;AACvD,uCAAuC,kBAAkB,EAAE;AAC3D,iDAAiD,UAAU,EAAE;AAC7D,uEAAuE,kBAAkB,EAAE;AAC3F,yEAAyE,kBAAkB,EAAE;AAC7F,0DAA0D,kBAAkB,EAAE;AAC9E,oDAAoD,kBAAkB,EAAE;AACxE,sDAAsD,kBAAkB,EAAE;AAC1E,oDAAoD,kBAAkB,EAAE;AACxE,sDAAsD,kBAAkB,EAAE;AAC1E,iDAAiD,UAAU,EAAE;AAC7D,kDAAkD,UAAU,EAAE;AAC9D;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,uEAAa;AACuB;AACtC;AACe,yFAA0B,EAAC;AAC1C,sC;;;;;;;;;;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC4B;AACA;AACC;AACM;AACA;AACG;AACtC,iC;;;;;;;;;;;;AC5BA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACS;AACiB;AAC3D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mCAAmC,qDAAU;AAC7C;AACA,oCAAoC,qDAAU;AAC9C,+CAA+C,0CAA0C;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD;AACA;AACA;AACA;AACA;AACA,uCAAuC,qDAAU;AACjD;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,sEAA0B;AACW;AACvC;AACe,0FAA2B,EAAC;AAC3C,sC;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACM;AACoB;AAC3D;AACA;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,wCAAwC;AACpF,4CAA4C,wCAAwC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,kDAAO;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,EAAE,kDAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,EAAE,kDAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,sEAA0B;AACM;AAClC;AACe,qFAAsB,EAAC;AACtC,sC;;;;;;;;;;;ACvKA,2BAA2B,mBAAO,CAAC,oIAAiE;AACpG;;;AAGA;AACA,cAAc,QAAS,qBAAqB,8BAA8B,4EAA4E,iBAAiB,kBAAkB,oBAAoB,2BAA2B,mCAAmC,2BAA2B,gBAAgB,eAAe,EAAE,2GAA2G,qBAAqB,wEAAwE,EAAE,sPAAsP,kCAAkC,EAAE,6CAA6C,kQAAkQ,+FAA+F,EAAE,EAAE,2IAA2I,sBAAsB,EAAE,wYAAwY,kCAAkC,sBAAsB,EAAE,iLAAiL,yCAAyC,EAAE,+LAA+L,kCAAkC,sBAAsB,EAAE,uJAAuJ,sCAAsC,EAAE,2BAA2B,oBAAoB,yBAAyB,6BAA6B,kBAAkB,mBAAmB,EAAE,+BAA+B,2BAA2B,qBAAqB,0BAA0B,mBAAmB,wBAAwB,iBAAiB,EAAE,8CAA8C,oCAAoC,kBAAkB,EAAE,4CAA4C,kCAAkC,iBAAiB,EAAE,6BAA6B,sCAAsC,yCAAyC,0CAA0C,yBAAyB,wBAAwB,uBAAuB,+BAA+B,+BAA+B,8BAA8B,4CAA4C,0CAA0C,8BAA8B,0BAA0B,uBAAuB,iBAAiB,EAAE,mFAAmF,6CAA6C,iDAAiD,EAAE,sEAAsE,8BAA8B,2BAA2B,0BAA0B,+BAA+B,uCAAuC,yCAAyC,oDAAoD,oBAAoB,yBAAyB,qBAAqB,0BAA0B,8BAA8B,6BAA6B,kBAAkB,mBAAmB,oBAAoB,mBAAmB,oBAAoB,oCAAoC,yBAAyB,qBAAqB,4BAA4B,sBAAsB,EAAE,wKAAwK,2BAA2B,2BAA2B,mBAAmB,6BAA6B,sBAAsB,EAAE,wFAAwF,sEAAsE,mBAAmB,EAAE,gIAAgI,wDAAwD,EAAE,8HAA8H,eAAe,qCAAqC,4BAA4B,wCAAwC,EAAE,oJAAoJ,sCAAsC,6DAA6D,EAAE,4KAA4K,kGAAkG,EAAE,gLAAgL,mDAAmD,yGAAyG,EAAE,wKAAwK,6BAA6B,mDAAmD,oBAAoB,qBAAqB,EAAE,wPAAwP,oDAAoD,2EAA2E,+CAA+C,gDAAgD,EAAE,8HAA8H,+CAA+C,gDAAgD,EAAE,uCAAuC,+CAA+C,EAAE,qGAAqG,mDAAmD,EAAE,6BAA6B,WAAW,iCAAiC,6BAA6B,gBAAgB,yDAAyD,EAAE,iFAAiF,kCAAkC,oCAAoC,EAAE,mDAAmD,mBAAmB,EAAE,uDAAuD,mBAAmB,EAAE,qDAAqD,6DAA6D,iBAAiB,EAAE,uCAAuC,+HAA+H,gBAAgB,yDAAyD,EAAE,+DAA+D,oBAAoB,EAAE,qEAAqE,6DAA6D,EAAE,8EAA8E,iBAAiB,EAAE,mHAAmH,yCAAyC,6CAA6C,EAAE,+PAA+P,gDAAgD,8CAA8C,EAAE,mDAAmD,iBAAiB,EAAE,uDAAuD,mBAAmB,EAAE,qDAAqD,wCAAwC,sCAAsC,EAAE,iIAAiI,yCAAyC,6CAA6C,EAAE,uDAAuD,kBAAkB,EAAE,yDAAyD,yBAAyB,wBAAwB,EAAE,+HAA+H,2BAA2B,EAAE,6BAA6B,wCAAwC,EAAE,sCAAsC,+HAA+H,wCAAwC,EAAE,8EAA8E,iBAAiB,EAAE,kFAAkF,oBAAoB,EAAE,gFAAgF,wCAAwC,sCAAsC,wBAAwB,EAAE,uLAAuL,yCAAyC,6CAA6C,EAAE,oCAAoC,sBAAsB,EAAE,0CAA0C,sBAAsB,EAAE,0CAA0C,sBAAsB,EAAE,8CAA8C,uBAAuB,EAAE,oDAAoD,sBAAsB,EAAE,+BAA+B,2BAA2B,mBAAmB,EAAE,+BAA+B,mBAAmB,EAAE,6BAA6B,2DAA2D,EAAE,uCAAuC,2DAA2D,EAAE,8EAA8E,6CAA6C,iDAAiD,EAAE,mLAAmL,oDAAoD,kDAAkD,EAAE,yDAAyD,0BAA0B,EAAE,oCAAoC,wBAAwB,EAAE,EAAE,wCAAwC,UAAU,8DAA8D,6EAA6E,EAAE,QAAQ,uGAAuG,EAAE,EAAE,yCAAyC,UAAU,wCAAwC,iBAAiB,EAAE,QAAQ,+CAA+C,EAAE,EAAE,0CAA0C,UAAU,wCAAwC,+CAA+C,EAAE,QAAQ,iBAAiB,EAAE,EAAE,4CAA4C,uDAAuD,uBAAuB,EAAE,oDAAoD,sDAAsD,EAAE,yBAAyB,4BAA4B,yBAAyB,wBAAwB,6BAA6B,qCAAqC,uCAAuC,kDAAkD,uBAAuB,kBAAkB,qBAAqB,EAAE,6DAA6D,yBAAyB,yBAAyB,iBAAiB,2BAA2B,oBAAoB,EAAE,iCAAiC,oEAAoE,iBAAiB,EAAE,qDAAqD,sDAAsD,EAAE,oDAAoD,aAAa,iCAAiC,0BAA0B,sCAAsC,EAAE,+DAA+D,oCAAoC,yDAAyD,EAAE,2EAA2E,gGAAgG,EAAE,6EAA6E,iDAAiD,uGAAuG,EAAE,6DAA6D,gCAAgC,EAAE,uCAAuC,oBAAoB,EAAE,sIAAsI,gCAAgC,oBAAoB,EAAE,0DAA0D,uCAAuC,EAAE,iEAAiE,gCAAgC,oBAAoB,EAAE,6CAA6C,oCAAoC,EAAE,6DAA6D,4BAA4B,gDAAgD,kBAAkB,mBAAmB,EAAE,oDAAoD,6CAA6C,8CAA8C,EAAE,uDAAuD,wBAAwB,EAAE,2HAA2H,6BAA6B,mDAAmD,oBAAoB,qBAAqB,EAAE,mKAAmK,oDAAoD,2EAA2E,+CAA+C,gDAAgD,EAAE,oFAAoF,+CAA+C,gDAAgD,EAAE,+EAA+E,gCAAgC,EAAE,2CAA2C,mFAAmF,wFAAwF,EAAE,EAAE,gDAAgD,oBAAoB,EAAE,wJAAwJ,gCAAgC,oBAAoB,EAAE,mEAAmE,uCAAuC,EAAE,0EAA0E,gCAAgC,oBAAoB,EAAE,sDAAsD,oCAAoC,EAAE,6EAA6E,gCAAgC,EAAE,2CAA2C,iFAAiF,0FAA0F,EAAE,EAAE,+CAA+C,oBAAoB,EAAE,sJAAsJ,gCAAgC,oBAAoB,EAAE,kEAAkE,uCAAuC,EAAE,yEAAyE,gCAAgC,oBAAoB,EAAE,qDAAqD,oCAAoC,EAAE,qBAAqB,kCAAkC,wBAAwB,uBAAuB,oBAAoB,mBAAmB,2BAA2B,yBAAyB,0BAA0B,wBAAwB,sBAAsB,mBAAmB,0CAA0C,wCAAwC,EAAE,2BAA2B,eAAe,EAAE;;AAEhpkB;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mCAAmC,gBAAgB;AACnD,IAAI;AACJ;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,oDAAoD,cAAc;;AAElE;AACA;;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;;AAEO;AACP;AACA,mBAAmB,sBAAsB;AACzC;AACA;;AAEO;AACP;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA,4DAA4D,cAAc;AAC1E;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA,4CAA4C,QAAQ;AACpD;AACA;;AAEO;AACP,mCAAmC,oCAAoC;AACvE;;AAEO;AACP;AACA;;AAEO;AACP;AACA,mCAAmC,MAAM,6BAA6B,EAAE,YAAY,WAAW,EAAE;AACjG,kCAAkC,MAAM,iCAAiC,EAAE,YAAY,WAAW,EAAE;AACpG,+BAA+B,iEAAiE,uBAAuB,EAAE,4BAA4B;AACrJ;AACA,KAAK;AACL;;AAEO;AACP,aAAa,6BAA6B,0BAA0B,aAAa,EAAE,qBAAqB;AACxG,gBAAgB,qDAAqD,oEAAoE,aAAa,EAAE;AACxJ,sBAAsB,sBAAsB,qBAAqB,GAAG;AACpE;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,kCAAkC,SAAS;AAC3C,kCAAkC,WAAW,UAAU;AACvD,yCAAyC,cAAc;AACvD;AACA,6GAA6G,OAAO,UAAU;AAC9H,gFAAgF,iBAAiB,OAAO;AACxG,wDAAwD,gBAAgB,QAAQ,OAAO;AACvF,8CAA8C,gBAAgB,gBAAgB,OAAO;AACrF;AACA,iCAAiC;AACjC;AACA;AACA,SAAS,YAAY,aAAa,OAAO,EAAE,UAAU,WAAW;AAChE,mCAAmC,SAAS;AAC5C;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,MAAM,gBAAgB;AACzC;AACA;AACA;AACA;AACA,iBAAiB,sBAAsB;AACvC;AACA;AACA;;AAEO;AACP,4BAA4B,sBAAsB;AAClD;AACA;AACA;;AAEO;AACP,iDAAiD,QAAQ;AACzD,wCAAwC,QAAQ;AAChD,wDAAwD,QAAQ;AAChE;AACA;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA,iBAAiB,sFAAsF,aAAa,EAAE;AACtH,sBAAsB,gCAAgC,qCAAqC,0CAA0C,EAAE,EAAE,GAAG;AAC5I,2BAA2B,MAAM,eAAe,EAAE,YAAY,oBAAoB,EAAE;AACpF,sBAAsB,oGAAoG;AAC1H,6BAA6B,uBAAuB;AACpD,4BAA4B,wBAAwB;AACpD,2BAA2B,yDAAyD;AACpF;;AAEO;AACP;AACA,iBAAiB,4CAA4C,SAAS,EAAE,qDAAqD,aAAa,EAAE;AAC5I,yBAAyB,6BAA6B,oBAAoB,gDAAgD,gBAAgB,EAAE,KAAK;AACjJ;;AAEO;AACP;AACA;AACA,2GAA2G,sFAAsF,aAAa,EAAE;AAChN,sBAAsB,8BAA8B,gDAAgD,uDAAuD,EAAE,EAAE,GAAG;AAClK,4CAA4C,sCAAsC,UAAU,oBAAoB,EAAE,EAAE,UAAU;AAC9H;;AAEO;AACP,gCAAgC,uCAAuC,aAAa,EAAE,EAAE,OAAO,kBAAkB;AACjH;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,4CAA4C;AAC5C;;;;;;;;;;;;ACnMA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBA,qBAAqB,mBAAO,CAAC,oaAA4N;;AAEzP;AACA;AACA,SAAS;AACT;AACA;;;;;;;;;;;;;ACPa;AACb;AACA;AACA;AACA,cAAc,gBAAgB,sCAAsC,iBAAiB,EAAE;AACvF,6BAA6B,uDAAuD;AACpF;AACA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD;AACA;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,QAAQ;AACpD;AACA;AACA,8CAA8C,cAAc;AAC5D,YAAY,mBAAO,CAAC,gBAAK;AACzB,UAAU,mBAAO,CAAC,kDAAc;AAChC,oBAAoB,mBAAO,CAAC,yGAAuB;AACnD,yBAAyB,mBAAO,CAAC,gEAA0B;AAC3D,kBAAkB,mBAAO,CAAC,kDAAmB;AAC7C;AACA,mBAAO,CAAC,mCAAa;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,0DAA0D;AACvG;AACA;AACA,yCAAyC,sDAAsD;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,uBAAuB,qBAAqB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,gCAAgC,gCAAgC;AAChE;AACA,4CAA4C,0EAA0E;AACtH;AACA,wDAAwD,qFAAqF,+BAA+B,gCAAgC;AAC5M,6BAA6B;AAC7B,wDAAwD,4HAA4H;AACpL,6BAA6B;AAC7B,8DAA8D,kCAAkC;AAChG;AACA,4CAA4C,wEAAwE;AACpH;AACA,wDAAwD,iFAAiF,+BAA+B,4BAA4B;AACpM,6BAA6B;AAC7B,oDAAoD,oHAAoH;AACxK,yBAAyB;AACzB,4DAA4D,gBAAgB;AAC5E,uDAAuD;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;AClKa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACjBa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA,iD","file":"index.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"omi\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"omi\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"MTopAppBar\"] = factory(require(\"omi\"));\n\telse\n\t\troot[\"MTopAppBar\"] = factory(root[\"Omi\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_omi__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/top-app-bar/index.tsx\");\n","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from './foundation';\nvar MDCComponent = /** @class */ (function () {\n function MDCComponent(root, foundation) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n this.root_ = root;\n this.initialize.apply(this, tslib_1.__spread(args));\n // Note that we initialize foundation here and not within the constructor's default param so that\n // this.root_ is defined and can be used within the foundation class.\n this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;\n this.foundation_.init();\n this.initialSyncWithDOM();\n }\n MDCComponent.attachTo = function (root) {\n // Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and\n // returns an instantiated component with its root set to that element. Also note that in the cases of\n // subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized\n // from getDefaultFoundation().\n return new MDCComponent(root, new MDCFoundation({}));\n };\n /* istanbul ignore next: method param only exists for typing purposes; it does not need to be unit tested */\n MDCComponent.prototype.initialize = function () {\n var _args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n _args[_i] = arguments[_i];\n }\n // Subclasses can override this to do any additional setup work that would be considered part of a\n // \"constructor\". Essentially, it is a hook into the parent constructor before the foundation is\n // initialized. Any additional arguments besides root and foundation will be passed in here.\n };\n MDCComponent.prototype.getDefaultFoundation = function () {\n // Subclasses must override this method to return a properly configured foundation class for the\n // component.\n throw new Error('Subclasses must override getDefaultFoundation to return a properly configured ' +\n 'foundation class');\n };\n MDCComponent.prototype.initialSyncWithDOM = function () {\n // Subclasses should override this method if they need to perform work to synchronize with a host DOM\n // object. An example of this would be a form control wrapper that needs to synchronize its internal state\n // to some property or attribute of the host DOM. Please note: this is *not* the place to perform DOM\n // reads/writes that would cause layout / paint, as this is called synchronously from within the constructor.\n };\n MDCComponent.prototype.destroy = function () {\n // Subclasses may implement this method to release any resources / deregister any listeners they have\n // attached. An example of this might be deregistering a resize event from the window object.\n this.foundation_.destroy();\n };\n MDCComponent.prototype.listen = function (evtType, handler) {\n this.root_.addEventListener(evtType, handler);\n };\n MDCComponent.prototype.unlisten = function (evtType, handler) {\n this.root_.removeEventListener(evtType, handler);\n };\n /**\n * Fires a cross-browser-compatible custom event from the component root of the given type, with the given data.\n */\n MDCComponent.prototype.emit = function (evtType, evtData, shouldBubble) {\n if (shouldBubble === void 0) { shouldBubble = false; }\n var evt;\n if (typeof CustomEvent === 'function') {\n evt = new CustomEvent(evtType, {\n bubbles: shouldBubble,\n detail: evtData,\n });\n }\n else {\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n }\n this.root_.dispatchEvent(evt);\n };\n return MDCComponent;\n}());\nexport { MDCComponent };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCComponent;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar MDCFoundation = /** @class */ (function () {\n function MDCFoundation(adapter) {\n if (adapter === void 0) { adapter = {}; }\n this.adapter_ = adapter;\n }\n Object.defineProperty(MDCFoundation, \"cssClasses\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports every\n // CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"strings\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports all\n // semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"numbers\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports all\n // of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"defaultAdapter\", {\n get: function () {\n // Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient\n // way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter\n // validation.\n return {};\n },\n enumerable: true,\n configurable: true\n });\n MDCFoundation.prototype.init = function () {\n // Subclasses should override this method to perform initialization routines (registering events, etc.)\n };\n MDCFoundation.prototype.destroy = function () {\n // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)\n };\n return MDCFoundation;\n}());\nexport { MDCFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * @fileoverview A \"ponyfill\" is a polyfill that doesn't modify the global prototype chain.\n * This makes ponyfills safer than traditional polyfills, especially for libraries like MDC.\n */\nexport function closest(element, selector) {\n if (element.closest) {\n return element.closest(selector);\n }\n var el = element;\n while (el) {\n if (matches(el, selector)) {\n return el;\n }\n el = el.parentElement;\n }\n return null;\n}\nexport function matches(element, selector) {\n var nativeMatches = element.matches\n || element.webkitMatchesSelector\n || element.msMatchesSelector;\n return nativeMatches.call(element, selector);\n}\n//# sourceMappingURL=ponyfill.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCComponent } from '@material/base/component';\nimport { matches } from '@material/dom/ponyfill';\nimport { MDCRippleFoundation } from './foundation';\nimport * as util from './util';\nvar MDCRipple = /** @class */ (function (_super) {\n tslib_1.__extends(MDCRipple, _super);\n function MDCRipple() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.disabled = false;\n return _this;\n }\n MDCRipple.attachTo = function (root, opts) {\n if (opts === void 0) { opts = { isUnbounded: undefined }; }\n var ripple = new MDCRipple(root);\n // Only override unbounded behavior if option is explicitly specified\n if (opts.isUnbounded !== undefined) {\n ripple.unbounded = opts.isUnbounded;\n }\n return ripple;\n };\n MDCRipple.createAdapter = function (instance) {\n return {\n addClass: function (className) { return instance.root_.classList.add(className); },\n browserSupportsCssVars: function () { return util.supportsCssVariables(window); },\n computeBoundingRect: function () { return instance.root_.getBoundingClientRect(); },\n containsEventTarget: function (target) { return instance.root_.contains(target); },\n deregisterDocumentInteractionHandler: function (evtType, handler) {\n return document.documentElement.removeEventListener(evtType, handler, util.applyPassive());\n },\n deregisterInteractionHandler: function (evtType, handler) {\n return instance.root_.removeEventListener(evtType, handler, util.applyPassive());\n },\n deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n getWindowPageOffset: function () { return ({ x: window.pageXOffset, y: window.pageYOffset }); },\n isSurfaceActive: function () { return matches(instance.root_, ':active'); },\n isSurfaceDisabled: function () { return Boolean(instance.disabled); },\n isUnbounded: function () { return Boolean(instance.unbounded); },\n registerDocumentInteractionHandler: function (evtType, handler) {\n return document.documentElement.addEventListener(evtType, handler, util.applyPassive());\n },\n registerInteractionHandler: function (evtType, handler) {\n return instance.root_.addEventListener(evtType, handler, util.applyPassive());\n },\n registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n removeClass: function (className) { return instance.root_.classList.remove(className); },\n updateCssVariable: function (varName, value) { return instance.root_.style.setProperty(varName, value); },\n };\n };\n Object.defineProperty(MDCRipple.prototype, \"unbounded\", {\n get: function () {\n return Boolean(this.unbounded_);\n },\n set: function (unbounded) {\n this.unbounded_ = Boolean(unbounded);\n this.setUnbounded_();\n },\n enumerable: true,\n configurable: true\n });\n MDCRipple.prototype.activate = function () {\n this.foundation_.activate();\n };\n MDCRipple.prototype.deactivate = function () {\n this.foundation_.deactivate();\n };\n MDCRipple.prototype.layout = function () {\n this.foundation_.layout();\n };\n MDCRipple.prototype.getDefaultFoundation = function () {\n return new MDCRippleFoundation(MDCRipple.createAdapter(this));\n };\n MDCRipple.prototype.initialSyncWithDOM = function () {\n var root = this.root_;\n this.unbounded = 'mdcRippleIsUnbounded' in root.dataset;\n };\n /**\n * Closure Compiler throws an access control error when directly accessing a\n * protected or private property inside a getter/setter, like unbounded above.\n * By accessing the protected property inside a method, we solve that problem.\n * That's why this function exists.\n */\n MDCRipple.prototype.setUnbounded_ = function () {\n this.foundation_.setUnbounded(Boolean(this.unbounded_));\n };\n return MDCRipple;\n}(MDCComponent));\nexport { MDCRipple };\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nexport var cssClasses = {\n // Ripple is a special case where the \"root\" component is really a \"mixin\" of sorts,\n // given that it's an 'upgrade' to an existing component. That being said it is the root\n // CSS class that all other CSS classes derive from.\n BG_FOCUSED: 'mdc-ripple-upgraded--background-focused',\n FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation',\n FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation',\n ROOT: 'mdc-ripple-upgraded',\n UNBOUNDED: 'mdc-ripple-upgraded--unbounded',\n};\nexport var strings = {\n VAR_FG_SCALE: '--mdc-ripple-fg-scale',\n VAR_FG_SIZE: '--mdc-ripple-fg-size',\n VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',\n VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',\n VAR_LEFT: '--mdc-ripple-left',\n VAR_TOP: '--mdc-ripple-top',\n};\nexport var numbers = {\n DEACTIVATION_TIMEOUT_MS: 225,\n FG_DEACTIVATION_MS: 150,\n INITIAL_ORIGIN_SCALE: 0.6,\n PADDING: 10,\n TAP_DELAY_MS: 300,\n};\n//# sourceMappingURL=constants.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from '@material/base/foundation';\nimport { cssClasses, numbers, strings } from './constants';\nimport { getNormalizedEventCoords } from './util';\n// Activation events registered on the root element of each instance for activation\nvar ACTIVATION_EVENT_TYPES = [\n 'touchstart', 'pointerdown', 'mousedown', 'keydown',\n];\n// Deactivation events registered on documentElement when a pointer-related down event occurs\nvar POINTER_DEACTIVATION_EVENT_TYPES = [\n 'touchend', 'pointerup', 'mouseup', 'contextmenu',\n];\n// simultaneous nested activations\nvar activatedTargets = [];\nvar MDCRippleFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCRippleFoundation, _super);\n function MDCRippleFoundation(adapter) {\n var _this = _super.call(this, tslib_1.__assign({}, MDCRippleFoundation.defaultAdapter, adapter)) || this;\n _this.activationAnimationHasEnded_ = false;\n _this.activationTimer_ = 0;\n _this.fgDeactivationRemovalTimer_ = 0;\n _this.fgScale_ = '0';\n _this.frame_ = { width: 0, height: 0 };\n _this.initialSize_ = 0;\n _this.layoutFrame_ = 0;\n _this.maxRadius_ = 0;\n _this.unboundedCoords_ = { left: 0, top: 0 };\n _this.activationState_ = _this.defaultActivationState_();\n _this.activationTimerCallback_ = function () {\n _this.activationAnimationHasEnded_ = true;\n _this.runDeactivationUXLogicIfReady_();\n };\n _this.activateHandler_ = function (e) { return _this.activate_(e); };\n _this.deactivateHandler_ = function () { return _this.deactivate_(); };\n _this.focusHandler_ = function () { return _this.handleFocus(); };\n _this.blurHandler_ = function () { return _this.handleBlur(); };\n _this.resizeHandler_ = function () { return _this.layout(); };\n return _this;\n }\n Object.defineProperty(MDCRippleFoundation, \"cssClasses\", {\n get: function () {\n return cssClasses;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"strings\", {\n get: function () {\n return strings;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"numbers\", {\n get: function () {\n return numbers;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"defaultAdapter\", {\n get: function () {\n return {\n addClass: function () { return undefined; },\n browserSupportsCssVars: function () { return true; },\n computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },\n containsEventTarget: function () { return true; },\n deregisterDocumentInteractionHandler: function () { return undefined; },\n deregisterInteractionHandler: function () { return undefined; },\n deregisterResizeHandler: function () { return undefined; },\n getWindowPageOffset: function () { return ({ x: 0, y: 0 }); },\n isSurfaceActive: function () { return true; },\n isSurfaceDisabled: function () { return true; },\n isUnbounded: function () { return true; },\n registerDocumentInteractionHandler: function () { return undefined; },\n registerInteractionHandler: function () { return undefined; },\n registerResizeHandler: function () { return undefined; },\n removeClass: function () { return undefined; },\n updateCssVariable: function () { return undefined; },\n };\n },\n enumerable: true,\n configurable: true\n });\n MDCRippleFoundation.prototype.init = function () {\n var _this = this;\n var supportsPressRipple = this.supportsPressRipple_();\n this.registerRootHandlers_(supportsPressRipple);\n if (supportsPressRipple) {\n var _a = MDCRippleFoundation.cssClasses, ROOT_1 = _a.ROOT, UNBOUNDED_1 = _a.UNBOUNDED;\n requestAnimationFrame(function () {\n _this.adapter_.addClass(ROOT_1);\n if (_this.adapter_.isUnbounded()) {\n _this.adapter_.addClass(UNBOUNDED_1);\n // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple\n _this.layoutInternal_();\n }\n });\n }\n };\n MDCRippleFoundation.prototype.destroy = function () {\n var _this = this;\n if (this.supportsPressRipple_()) {\n if (this.activationTimer_) {\n clearTimeout(this.activationTimer_);\n this.activationTimer_ = 0;\n this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION);\n }\n if (this.fgDeactivationRemovalTimer_) {\n clearTimeout(this.fgDeactivationRemovalTimer_);\n this.fgDeactivationRemovalTimer_ = 0;\n this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION);\n }\n var _a = MDCRippleFoundation.cssClasses, ROOT_2 = _a.ROOT, UNBOUNDED_2 = _a.UNBOUNDED;\n requestAnimationFrame(function () {\n _this.adapter_.removeClass(ROOT_2);\n _this.adapter_.removeClass(UNBOUNDED_2);\n _this.removeCssVars_();\n });\n }\n this.deregisterRootHandlers_();\n this.deregisterDeactivationHandlers_();\n };\n /**\n * @param evt Optional event containing position information.\n */\n MDCRippleFoundation.prototype.activate = function (evt) {\n this.activate_(evt);\n };\n MDCRippleFoundation.prototype.deactivate = function () {\n this.deactivate_();\n };\n MDCRippleFoundation.prototype.layout = function () {\n var _this = this;\n if (this.layoutFrame_) {\n cancelAnimationFrame(this.layoutFrame_);\n }\n this.layoutFrame_ = requestAnimationFrame(function () {\n _this.layoutInternal_();\n _this.layoutFrame_ = 0;\n });\n };\n MDCRippleFoundation.prototype.setUnbounded = function (unbounded) {\n var UNBOUNDED = MDCRippleFoundation.cssClasses.UNBOUNDED;\n if (unbounded) {\n this.adapter_.addClass(UNBOUNDED);\n }\n else {\n this.adapter_.removeClass(UNBOUNDED);\n }\n };\n MDCRippleFoundation.prototype.handleFocus = function () {\n var _this = this;\n requestAnimationFrame(function () {\n return _this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n });\n };\n MDCRippleFoundation.prototype.handleBlur = function () {\n var _this = this;\n requestAnimationFrame(function () {\n return _this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n });\n };\n /**\n * We compute this property so that we are not querying information about the client\n * until the point in time where the foundation requests it. This prevents scenarios where\n * client-side feature-detection may happen too early, such as when components are rendered on the server\n * and then initialized at mount time on the client.\n */\n MDCRippleFoundation.prototype.supportsPressRipple_ = function () {\n return this.adapter_.browserSupportsCssVars();\n };\n MDCRippleFoundation.prototype.defaultActivationState_ = function () {\n return {\n activationEvent: undefined,\n hasDeactivationUXRun: false,\n isActivated: false,\n isProgrammatic: false,\n wasActivatedByPointer: false,\n wasElementMadeActive: false,\n };\n };\n /**\n * supportsPressRipple Passed from init to save a redundant function call\n */\n MDCRippleFoundation.prototype.registerRootHandlers_ = function (supportsPressRipple) {\n var _this = this;\n if (supportsPressRipple) {\n ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.registerInteractionHandler(evtType, _this.activateHandler_);\n });\n if (this.adapter_.isUnbounded()) {\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n }\n this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n };\n MDCRippleFoundation.prototype.registerDeactivationHandlers_ = function (evt) {\n var _this = this;\n if (evt.type === 'keydown') {\n this.adapter_.registerInteractionHandler('keyup', this.deactivateHandler_);\n }\n else {\n POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.registerDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n });\n }\n };\n MDCRippleFoundation.prototype.deregisterRootHandlers_ = function () {\n var _this = this;\n ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.deregisterInteractionHandler(evtType, _this.activateHandler_);\n });\n this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n if (this.adapter_.isUnbounded()) {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n };\n MDCRippleFoundation.prototype.deregisterDeactivationHandlers_ = function () {\n var _this = this;\n this.adapter_.deregisterInteractionHandler('keyup', this.deactivateHandler_);\n POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.deregisterDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n });\n };\n MDCRippleFoundation.prototype.removeCssVars_ = function () {\n var _this = this;\n var rippleStrings = MDCRippleFoundation.strings;\n var keys = Object.keys(rippleStrings);\n keys.forEach(function (key) {\n if (key.indexOf('VAR_') === 0) {\n _this.adapter_.updateCssVariable(rippleStrings[key], null);\n }\n });\n };\n MDCRippleFoundation.prototype.activate_ = function (evt) {\n var _this = this;\n if (this.adapter_.isSurfaceDisabled()) {\n return;\n }\n var activationState = this.activationState_;\n if (activationState.isActivated) {\n return;\n }\n // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction\n var previousActivationEvent = this.previousActivationEvent_;\n var isSameInteraction = previousActivationEvent && evt !== undefined && previousActivationEvent.type !== evt.type;\n if (isSameInteraction) {\n return;\n }\n activationState.isActivated = true;\n activationState.isProgrammatic = evt === undefined;\n activationState.activationEvent = evt;\n activationState.wasActivatedByPointer = activationState.isProgrammatic ? false : evt !== undefined && (evt.type === 'mousedown' || evt.type === 'touchstart' || evt.type === 'pointerdown');\n var hasActivatedChild = evt !== undefined && activatedTargets.length > 0 && activatedTargets.some(function (target) { return _this.adapter_.containsEventTarget(target); });\n if (hasActivatedChild) {\n // Immediately reset activation state, while preserving logic that prevents touch follow-on events\n this.resetActivationState_();\n return;\n }\n if (evt !== undefined) {\n activatedTargets.push(evt.target);\n this.registerDeactivationHandlers_(evt);\n }\n activationState.wasElementMadeActive = this.checkElementMadeActive_(evt);\n if (activationState.wasElementMadeActive) {\n this.animateActivation_();\n }\n requestAnimationFrame(function () {\n // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples\n activatedTargets = [];\n if (!activationState.wasElementMadeActive\n && evt !== undefined\n && (evt.key === ' ' || evt.keyCode === 32)) {\n // If space was pressed, try again within an rAF call to detect :active, because different UAs report\n // active states inconsistently when they're called within event handling code:\n // - https://bugs.chromium.org/p/chromium/issues/detail?id=635971\n // - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741\n // We try first outside rAF to support Edge, which does not exhibit this problem, but will crash if a CSS\n // variable is set within a rAF callback for a submit button interaction (#2241).\n activationState.wasElementMadeActive = _this.checkElementMadeActive_(evt);\n if (activationState.wasElementMadeActive) {\n _this.animateActivation_();\n }\n }\n if (!activationState.wasElementMadeActive) {\n // Reset activation state immediately if element was not made active.\n _this.activationState_ = _this.defaultActivationState_();\n }\n });\n };\n MDCRippleFoundation.prototype.checkElementMadeActive_ = function (evt) {\n return (evt !== undefined && evt.type === 'keydown') ? this.adapter_.isSurfaceActive() : true;\n };\n MDCRippleFoundation.prototype.animateActivation_ = function () {\n var _this = this;\n var _a = MDCRippleFoundation.strings, VAR_FG_TRANSLATE_START = _a.VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END = _a.VAR_FG_TRANSLATE_END;\n var _b = MDCRippleFoundation.cssClasses, FG_DEACTIVATION = _b.FG_DEACTIVATION, FG_ACTIVATION = _b.FG_ACTIVATION;\n var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;\n this.layoutInternal_();\n var translateStart = '';\n var translateEnd = '';\n if (!this.adapter_.isUnbounded()) {\n var _c = this.getFgTranslationCoordinates_(), startPoint = _c.startPoint, endPoint = _c.endPoint;\n translateStart = startPoint.x + \"px, \" + startPoint.y + \"px\";\n translateEnd = endPoint.x + \"px, \" + endPoint.y + \"px\";\n }\n this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_START, translateStart);\n this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_END, translateEnd);\n // Cancel any ongoing activation/deactivation animations\n clearTimeout(this.activationTimer_);\n clearTimeout(this.fgDeactivationRemovalTimer_);\n this.rmBoundedActivationClasses_();\n this.adapter_.removeClass(FG_DEACTIVATION);\n // Force layout in order to re-trigger the animation.\n this.adapter_.computeBoundingRect();\n this.adapter_.addClass(FG_ACTIVATION);\n this.activationTimer_ = setTimeout(function () { return _this.activationTimerCallback_(); }, DEACTIVATION_TIMEOUT_MS);\n };\n MDCRippleFoundation.prototype.getFgTranslationCoordinates_ = function () {\n var _a = this.activationState_, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;\n var startPoint;\n if (wasActivatedByPointer) {\n startPoint = getNormalizedEventCoords(activationEvent, this.adapter_.getWindowPageOffset(), this.adapter_.computeBoundingRect());\n }\n else {\n startPoint = {\n x: this.frame_.width / 2,\n y: this.frame_.height / 2,\n };\n }\n // Center the element around the start point.\n startPoint = {\n x: startPoint.x - (this.initialSize_ / 2),\n y: startPoint.y - (this.initialSize_ / 2),\n };\n var endPoint = {\n x: (this.frame_.width / 2) - (this.initialSize_ / 2),\n y: (this.frame_.height / 2) - (this.initialSize_ / 2),\n };\n return { startPoint: startPoint, endPoint: endPoint };\n };\n MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_ = function () {\n var _this = this;\n // This method is called both when a pointing device is released, and when the activation animation ends.\n // The deactivation animation should only run after both of those occur.\n var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION;\n var _a = this.activationState_, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;\n var activationHasEnded = hasDeactivationUXRun || !isActivated;\n if (activationHasEnded && this.activationAnimationHasEnded_) {\n this.rmBoundedActivationClasses_();\n this.adapter_.addClass(FG_DEACTIVATION);\n this.fgDeactivationRemovalTimer_ = setTimeout(function () {\n _this.adapter_.removeClass(FG_DEACTIVATION);\n }, numbers.FG_DEACTIVATION_MS);\n }\n };\n MDCRippleFoundation.prototype.rmBoundedActivationClasses_ = function () {\n var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION;\n this.adapter_.removeClass(FG_ACTIVATION);\n this.activationAnimationHasEnded_ = false;\n this.adapter_.computeBoundingRect();\n };\n MDCRippleFoundation.prototype.resetActivationState_ = function () {\n var _this = this;\n this.previousActivationEvent_ = this.activationState_.activationEvent;\n this.activationState_ = this.defaultActivationState_();\n // Touch devices may fire additional events for the same interaction within a short time.\n // Store the previous event until it's safe to assume that subsequent events are for new interactions.\n setTimeout(function () { return _this.previousActivationEvent_ = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);\n };\n MDCRippleFoundation.prototype.deactivate_ = function () {\n var _this = this;\n var activationState = this.activationState_;\n // This can happen in scenarios such as when you have a keyup event that blurs the element.\n if (!activationState.isActivated) {\n return;\n }\n var state = tslib_1.__assign({}, activationState);\n if (activationState.isProgrammatic) {\n requestAnimationFrame(function () { return _this.animateDeactivation_(state); });\n this.resetActivationState_();\n }\n else {\n this.deregisterDeactivationHandlers_();\n requestAnimationFrame(function () {\n _this.activationState_.hasDeactivationUXRun = true;\n _this.animateDeactivation_(state);\n _this.resetActivationState_();\n });\n }\n };\n MDCRippleFoundation.prototype.animateDeactivation_ = function (_a) {\n var wasActivatedByPointer = _a.wasActivatedByPointer, wasElementMadeActive = _a.wasElementMadeActive;\n if (wasActivatedByPointer || wasElementMadeActive) {\n this.runDeactivationUXLogicIfReady_();\n }\n };\n MDCRippleFoundation.prototype.layoutInternal_ = function () {\n var _this = this;\n this.frame_ = this.adapter_.computeBoundingRect();\n var maxDim = Math.max(this.frame_.height, this.frame_.width);\n // Surface diameter is treated differently for unbounded vs. bounded ripples.\n // Unbounded ripple diameter is calculated smaller since the surface is expected to already be padded appropriately\n // to extend the hitbox, and the ripple is expected to meet the edges of the padded hitbox (which is typically\n // square). Bounded ripples, on the other hand, are fully expected to expand beyond the surface's longest diameter\n // (calculated based on the diagonal plus a constant padding), and are clipped at the surface's border via\n // `overflow: hidden`.\n var getBoundedRadius = function () {\n var hypotenuse = Math.sqrt(Math.pow(_this.frame_.width, 2) + Math.pow(_this.frame_.height, 2));\n return hypotenuse + MDCRippleFoundation.numbers.PADDING;\n };\n this.maxRadius_ = this.adapter_.isUnbounded() ? maxDim : getBoundedRadius();\n // Ripple is sized as a fraction of the largest dimension of the surface, then scales up using a CSS scale transform\n this.initialSize_ = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE);\n this.fgScale_ = \"\" + this.maxRadius_ / this.initialSize_;\n this.updateLayoutCssVars_();\n };\n MDCRippleFoundation.prototype.updateLayoutCssVars_ = function () {\n var _a = MDCRippleFoundation.strings, VAR_FG_SIZE = _a.VAR_FG_SIZE, VAR_LEFT = _a.VAR_LEFT, VAR_TOP = _a.VAR_TOP, VAR_FG_SCALE = _a.VAR_FG_SCALE;\n this.adapter_.updateCssVariable(VAR_FG_SIZE, this.initialSize_ + \"px\");\n this.adapter_.updateCssVariable(VAR_FG_SCALE, this.fgScale_);\n if (this.adapter_.isUnbounded()) {\n this.unboundedCoords_ = {\n left: Math.round((this.frame_.width / 2) - (this.initialSize_ / 2)),\n top: Math.round((this.frame_.height / 2) - (this.initialSize_ / 2)),\n };\n this.adapter_.updateCssVariable(VAR_LEFT, this.unboundedCoords_.left + \"px\");\n this.adapter_.updateCssVariable(VAR_TOP, this.unboundedCoords_.top + \"px\");\n }\n };\n return MDCRippleFoundation;\n}(MDCFoundation));\nexport { MDCRippleFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCRippleFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * Stores result from supportsCssVariables to avoid redundant processing to\n * detect CSS custom variable support.\n */\nvar supportsCssVariables_;\n/**\n * Stores result from applyPassive to avoid redundant processing to detect\n * passive event listener support.\n */\nvar supportsPassive_;\nfunction detectEdgePseudoVarBug(windowObj) {\n // Detect versions of Edge with buggy var() support\n // See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11495448/\n var document = windowObj.document;\n var node = document.createElement('div');\n node.className = 'mdc-ripple-surface--test-edge-var-bug';\n document.body.appendChild(node);\n // The bug exists if ::before style ends up propagating to the parent element.\n // Additionally, getComputedStyle returns null in iframes with display: \"none\" in Firefox,\n // but Firefox is known to support CSS custom properties correctly.\n // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n var computedStyle = windowObj.getComputedStyle(node);\n var hasPseudoVarBug = computedStyle !== null && computedStyle.borderTopStyle === 'solid';\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n return hasPseudoVarBug;\n}\nexport function supportsCssVariables(windowObj, forceRefresh) {\n if (forceRefresh === void 0) { forceRefresh = false; }\n var CSS = windowObj.CSS;\n var supportsCssVars = supportsCssVariables_;\n if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {\n return supportsCssVariables_;\n }\n var supportsFunctionPresent = CSS && typeof CSS.supports === 'function';\n if (!supportsFunctionPresent) {\n return false;\n }\n var explicitlySupportsCssVars = CSS.supports('--css-vars', 'yes');\n // See: https://bugs.webkit.org/show_bug.cgi?id=154669\n // See: README section on Safari\n var weAreFeatureDetectingSafari10plus = (CSS.supports('(--css-vars: yes)') &&\n CSS.supports('color', '#00000000'));\n if (explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus) {\n supportsCssVars = !detectEdgePseudoVarBug(windowObj);\n }\n else {\n supportsCssVars = false;\n }\n if (!forceRefresh) {\n supportsCssVariables_ = supportsCssVars;\n }\n return supportsCssVars;\n}\n/**\n * Determine whether the current browser supports passive event listeners, and\n * if so, use them.\n */\nexport function applyPassive(globalObj, forceRefresh) {\n if (globalObj === void 0) { globalObj = window; }\n if (forceRefresh === void 0) { forceRefresh = false; }\n if (supportsPassive_ === undefined || forceRefresh) {\n var isSupported_1 = false;\n try {\n globalObj.document.addEventListener('test', function () { return undefined; }, {\n get passive() {\n isSupported_1 = true;\n return isSupported_1;\n },\n });\n }\n catch (e) {\n } // tslint:disable-line:no-empty cannot throw error due to tests. tslint also disables console.log.\n supportsPassive_ = isSupported_1;\n }\n return supportsPassive_ ? { passive: true } : false;\n}\nexport function getNormalizedEventCoords(evt, pageOffset, clientRect) {\n if (!evt) {\n return { x: 0, y: 0 };\n }\n var x = pageOffset.x, y = pageOffset.y;\n var documentX = x + clientRect.left;\n var documentY = y + clientRect.top;\n var normalizedX;\n var normalizedY;\n // Determine touch point relative to the ripple container.\n if (evt.type === 'touchstart') {\n var touchEvent = evt;\n normalizedX = touchEvent.changedTouches[0].pageX - documentX;\n normalizedY = touchEvent.changedTouches[0].pageY - documentY;\n }\n else {\n var mouseEvent = evt;\n normalizedX = mouseEvent.pageX - documentX;\n normalizedY = mouseEvent.pageY - documentY;\n }\n return { x: normalizedX, y: normalizedY };\n}\n//# sourceMappingURL=util.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCComponent } from '@material/base/component';\nimport { MDCRipple } from '@material/ripple/component';\nimport { cssClasses, strings } from './constants';\nimport { MDCFixedTopAppBarFoundation } from './fixed/foundation';\nimport { MDCShortTopAppBarFoundation } from './short/foundation';\nimport { MDCTopAppBarFoundation } from './standard/foundation';\nvar MDCTopAppBar = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBar, _super);\n function MDCTopAppBar() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MDCTopAppBar.attachTo = function (root) {\n return new MDCTopAppBar(root);\n };\n MDCTopAppBar.prototype.initialize = function (rippleFactory) {\n if (rippleFactory === void 0) { rippleFactory = function (el) { return MDCRipple.attachTo(el); }; }\n this.navIcon_ = this.root_.querySelector(strings.NAVIGATION_ICON_SELECTOR);\n // Get all icons in the toolbar and instantiate the ripples\n var icons = [].slice.call(this.root_.querySelectorAll(strings.ACTION_ITEM_SELECTOR));\n if (this.navIcon_) {\n icons.push(this.navIcon_);\n }\n this.iconRipples_ = icons.map(function (icon) {\n var ripple = rippleFactory(icon);\n ripple.unbounded = true;\n return ripple;\n });\n this.scrollTarget_ = window;\n };\n MDCTopAppBar.prototype.destroy = function () {\n this.iconRipples_.forEach(function (iconRipple) { return iconRipple.destroy(); });\n _super.prototype.destroy.call(this);\n };\n MDCTopAppBar.prototype.setScrollTarget = function (target) {\n // Remove scroll handler from the previous scroll target\n this.foundation_.destroyScrollHandler();\n this.scrollTarget_ = target;\n // Initialize scroll handler on the new scroll target\n this.foundation_.initScrollHandler();\n };\n MDCTopAppBar.prototype.getDefaultFoundation = function () {\n var _this = this;\n // DO NOT INLINE this variable. For backward compatibility, foundations take a Partial.\n // To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.\n // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n var adapter = {\n hasClass: function (className) { return _this.root_.classList.contains(className); },\n addClass: function (className) { return _this.root_.classList.add(className); },\n removeClass: function (className) { return _this.root_.classList.remove(className); },\n setStyle: function (property, value) { return _this.root_.style.setProperty(property, value); },\n getTopAppBarHeight: function () { return _this.root_.clientHeight; },\n registerNavigationIconInteractionHandler: function (evtType, handler) {\n if (_this.navIcon_) {\n _this.navIcon_.addEventListener(evtType, handler);\n }\n },\n deregisterNavigationIconInteractionHandler: function (evtType, handler) {\n if (_this.navIcon_) {\n _this.navIcon_.removeEventListener(evtType, handler);\n }\n },\n notifyNavigationIconClicked: function () { return _this.emit(strings.NAVIGATION_EVENT, {}); },\n registerScrollHandler: function (handler) { return _this.scrollTarget_.addEventListener('scroll', handler); },\n deregisterScrollHandler: function (handler) { return _this.scrollTarget_.removeEventListener('scroll', handler); },\n registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n getViewportScrollY: function () {\n var win = _this.scrollTarget_;\n var el = _this.scrollTarget_;\n return win.pageYOffset !== undefined ? win.pageYOffset : el.scrollTop;\n },\n getTotalActionItems: function () { return _this.root_.querySelectorAll(strings.ACTION_ITEM_SELECTOR).length; },\n };\n // tslint:enable:object-literal-sort-keys\n var foundation;\n if (this.root_.classList.contains(cssClasses.SHORT_CLASS)) {\n foundation = new MDCShortTopAppBarFoundation(adapter);\n }\n else if (this.root_.classList.contains(cssClasses.FIXED_CLASS)) {\n foundation = new MDCFixedTopAppBarFoundation(adapter);\n }\n else {\n foundation = new MDCTopAppBarFoundation(adapter);\n }\n return foundation;\n };\n return MDCTopAppBar;\n}(MDCComponent));\nexport { MDCTopAppBar };\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssClasses = {\n 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_COLLAPSED_CLASS: 'mdc-top-app-bar--short-collapsed',\n SHORT_HAS_ACTION_ITEM_CLASS: 'mdc-top-app-bar--short-has-action-item',\n};\nvar numbers = {\n DEBOUNCE_THROTTLE_RESIZE_TIME_MS: 100,\n MAX_TOP_APP_BAR_HEIGHT: 128,\n};\nvar 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};\nexport { cssClasses, numbers, strings };\n//# sourceMappingURL=constants.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { cssClasses } from '../constants';\nimport { MDCTopAppBarFoundation } from '../standard/foundation';\nvar MDCFixedTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCFixedTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCFixedTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n /**\n * State variable for the previous scroll iteration top app bar state\n */\n _this.wasScrolled_ = false;\n _this.scrollHandler_ = function () { return _this.fixedScrollHandler_(); };\n return _this;\n }\n /**\n * Scroll handler for applying/removing the modifier class on the fixed top app bar.\n */\n MDCFixedTopAppBarFoundation.prototype.fixedScrollHandler_ = function () {\n var currentScroll = this.adapter_.getViewportScrollY();\n if (currentScroll <= 0) {\n if (this.wasScrolled_) {\n this.adapter_.removeClass(cssClasses.FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = false;\n }\n }\n else {\n if (!this.wasScrolled_) {\n this.adapter_.addClass(cssClasses.FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = true;\n }\n }\n };\n return MDCFixedTopAppBarFoundation;\n}(MDCTopAppBarFoundation));\nexport { MDCFixedTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCFixedTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from '@material/base/foundation';\nimport { cssClasses, numbers, strings } from './constants';\nvar MDCTopAppBarBaseFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBarBaseFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCTopAppBarBaseFoundation(adapter) {\n var _this = _super.call(this, tslib_1.__assign({}, MDCTopAppBarBaseFoundation.defaultAdapter, adapter)) || this;\n _this.navClickHandler_ = function () { return _this.adapter_.notifyNavigationIconClicked(); };\n return _this;\n }\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"strings\", {\n get: function () {\n return strings;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"cssClasses\", {\n get: function () {\n return cssClasses;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"numbers\", {\n get: function () {\n return numbers;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"defaultAdapter\", {\n /**\n * See {@link MDCTopAppBarAdapter} for typing information on parameters and return types.\n */\n get: function () {\n // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n return {\n addClass: function () { return undefined; },\n removeClass: function () { return undefined; },\n hasClass: function () { return false; },\n setStyle: function () { return undefined; },\n getTopAppBarHeight: function () { return 0; },\n registerNavigationIconInteractionHandler: function () { return undefined; },\n deregisterNavigationIconInteractionHandler: function () { return undefined; },\n notifyNavigationIconClicked: function () { return undefined; },\n registerScrollHandler: function () { return undefined; },\n deregisterScrollHandler: function () { return undefined; },\n registerResizeHandler: function () { return undefined; },\n deregisterResizeHandler: function () { return undefined; },\n getViewportScrollY: function () { return 0; },\n getTotalActionItems: function () { return 0; },\n };\n // tslint:enable:object-literal-sort-keys\n },\n enumerable: true,\n configurable: true\n });\n MDCTopAppBarBaseFoundation.prototype.init = function () {\n this.initScrollHandler();\n this.initResizeHandler_();\n this.adapter_.registerNavigationIconInteractionHandler('click', this.navClickHandler_);\n };\n MDCTopAppBarBaseFoundation.prototype.destroy = function () {\n this.destroyScrollHandler();\n this.destroyResizeHandler_();\n this.adapter_.deregisterNavigationIconInteractionHandler('click', this.navClickHandler_);\n };\n MDCTopAppBarBaseFoundation.prototype.initScrollHandler = function () {\n if (this.scrollHandler_) {\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.destroyScrollHandler = function () {\n if (this.scrollHandler_) {\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.initResizeHandler_ = function () {\n if (this.resizeHandler_) {\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.destroyResizeHandler_ = function () {\n if (this.resizeHandler_) {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n };\n return MDCTopAppBarBaseFoundation;\n}(MDCFoundation));\nexport { MDCTopAppBarBaseFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCTopAppBarBaseFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2019 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nexport * from './component';\nexport * from './constants';\nexport * from './foundation';\nexport * from './fixed/foundation';\nexport * from './short/foundation';\nexport * from './standard/foundation';\n//# sourceMappingURL=index.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { cssClasses } from '../constants';\nimport { MDCTopAppBarBaseFoundation } from '../foundation';\nvar MDCShortTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCShortTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCShortTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n _this.isCollapsed_ = false;\n return _this;\n }\n Object.defineProperty(MDCShortTopAppBarFoundation.prototype, \"isCollapsed\", {\n // Public visibility for backward compatibility.\n get: function () {\n return this.isCollapsed_;\n },\n enumerable: true,\n configurable: true\n });\n MDCShortTopAppBarFoundation.prototype.init = function () {\n var _this = this;\n _super.prototype.init.call(this);\n if (this.adapter_.getTotalActionItems() > 0) {\n this.adapter_.addClass(cssClasses.SHORT_HAS_ACTION_ITEM_CLASS);\n }\n if (!this.adapter_.hasClass(cssClasses.SHORT_COLLAPSED_CLASS)) {\n this.scrollHandler_ = function () { return _this.shortAppBarScrollHandler_(); };\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n this.shortAppBarScrollHandler_();\n }\n };\n MDCShortTopAppBarFoundation.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n /**\n * Scroll handler for applying/removing the collapsed modifier class on the short top app bar.\n */\n MDCShortTopAppBarFoundation.prototype.shortAppBarScrollHandler_ = function () {\n var currentScroll = this.adapter_.getViewportScrollY();\n if (currentScroll <= 0) {\n if (this.isCollapsed_) {\n this.adapter_.removeClass(cssClasses.SHORT_COLLAPSED_CLASS);\n this.isCollapsed_ = false;\n }\n }\n else {\n if (!this.isCollapsed_) {\n this.adapter_.addClass(cssClasses.SHORT_COLLAPSED_CLASS);\n this.isCollapsed_ = true;\n }\n }\n };\n return MDCShortTopAppBarFoundation;\n}(MDCTopAppBarBaseFoundation));\nexport { MDCShortTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCShortTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { numbers } from '../constants';\nimport { MDCTopAppBarBaseFoundation } from '../foundation';\nvar INITIAL_VALUE = 0;\nvar MDCTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n /**\n * Indicates if the top app bar was docked in the previous scroll handler iteration.\n */\n _this.wasDocked_ = true;\n /**\n * Indicates if the top app bar is docked in the fully shown position.\n */\n _this.isDockedShowing_ = true;\n /**\n * Variable for current scroll position of the top app bar\n */\n _this.currentAppBarOffsetTop_ = 0;\n /**\n * Used to prevent the top app bar from being scrolled out of view during resize events\n */\n _this.isCurrentlyBeingResized_ = false;\n /**\n * The timeout that's used to throttle the resize events\n */\n _this.resizeThrottleId_ = INITIAL_VALUE;\n /**\n * The timeout that's used to debounce toggling the isCurrentlyBeingResized_ variable after a resize\n */\n _this.resizeDebounceId_ = INITIAL_VALUE;\n _this.lastScrollPosition_ = _this.adapter_.getViewportScrollY();\n _this.topAppBarHeight_ = _this.adapter_.getTopAppBarHeight();\n _this.scrollHandler_ = function () { return _this.topAppBarScrollHandler_(); };\n _this.resizeHandler_ = function () { return _this.topAppBarResizeHandler_(); };\n return _this;\n }\n MDCTopAppBarFoundation.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n this.adapter_.setStyle('top', '');\n };\n /**\n * Function to determine if the DOM needs to update.\n */\n MDCTopAppBarFoundation.prototype.checkForUpdate_ = function () {\n var offscreenBoundaryTop = -this.topAppBarHeight_;\n var hasAnyPixelsOffscreen = this.currentAppBarOffsetTop_ < 0;\n var hasAnyPixelsOnscreen = this.currentAppBarOffsetTop_ > offscreenBoundaryTop;\n var partiallyShowing = hasAnyPixelsOffscreen && hasAnyPixelsOnscreen;\n // If it's partially showing, it can't be docked.\n if (partiallyShowing) {\n this.wasDocked_ = false;\n }\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 }\n else if (this.isDockedShowing_ !== hasAnyPixelsOnscreen) {\n this.isDockedShowing_ = hasAnyPixelsOnscreen;\n return true;\n }\n }\n return partiallyShowing;\n };\n /**\n * Function to move the top app bar if needed.\n */\n MDCTopAppBarFoundation.prototype.moveTopAppBar_ = function () {\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 var offset = this.currentAppBarOffsetTop_;\n if (Math.abs(offset) >= this.topAppBarHeight_) {\n offset = -numbers.MAX_TOP_APP_BAR_HEIGHT;\n }\n this.adapter_.setStyle('top', offset + 'px');\n }\n };\n /**\n * Scroll handler for the default scroll behavior of the top app bar.\n */\n MDCTopAppBarFoundation.prototype.topAppBarScrollHandler_ = function () {\n var currentScrollPosition = Math.max(this.adapter_.getViewportScrollY(), 0);\n var diff = currentScrollPosition - this.lastScrollPosition_;\n this.lastScrollPosition_ = currentScrollPosition;\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 if (this.currentAppBarOffsetTop_ > 0) {\n this.currentAppBarOffsetTop_ = 0;\n }\n else if (Math.abs(this.currentAppBarOffsetTop_) > this.topAppBarHeight_) {\n this.currentAppBarOffsetTop_ = -this.topAppBarHeight_;\n }\n this.moveTopAppBar_();\n }\n };\n /**\n * Top app bar resize handler that throttle/debounce functions that execute updates.\n */\n MDCTopAppBarFoundation.prototype.topAppBarResizeHandler_ = function () {\n var _this = this;\n // Throttle resize events 10 p/s\n if (!this.resizeThrottleId_) {\n this.resizeThrottleId_ = setTimeout(function () {\n _this.resizeThrottleId_ = INITIAL_VALUE;\n _this.throttledResizeHandler_();\n }, numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n }\n this.isCurrentlyBeingResized_ = true;\n if (this.resizeDebounceId_) {\n clearTimeout(this.resizeDebounceId_);\n }\n this.resizeDebounceId_ = setTimeout(function () {\n _this.topAppBarScrollHandler_();\n _this.isCurrentlyBeingResized_ = false;\n _this.resizeDebounceId_ = INITIAL_VALUE;\n }, numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n };\n /**\n * Throttled function that updates the top app bar scrolled values if the\n * top app bar height changes.\n */\n MDCTopAppBarFoundation.prototype.throttledResizeHandler_ = function () {\n var currentHeight = this.adapter_.getTopAppBarHeight();\n if (this.topAppBarHeight_ !== currentHeight) {\n this.wasDocked_ = false;\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 return MDCTopAppBarFoundation;\n}(MDCTopAppBarBaseFoundation));\nexport { MDCTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","exports = module.exports = require(\"../../node_modules/_css-loader@1.0.1@css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".mdc-top-app-bar {\\n background-color: #0072d9;\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9);\\n color: white;\\n display: flex;\\n position: fixed;\\n flex-direction: column;\\n justify-content: space-between;\\n box-sizing: border-box;\\n width: 100%;\\n z-index: 4; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon {\\n color: #ffffff;\\n /* @alternate */\\n color: var(--mdc-theme-on-primary, #ffffff); }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item::before, .mdc-top-app-bar .mdc-top-app-bar__action-item::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after {\\n background-color: #ffffff; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-top-app-bar .mdc-top-app-bar__action-item::before, .mdc-top-app-bar .mdc-top-app-bar__action-item::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-on-primary, #ffffff); } }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:hover::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:hover::before {\\n opacity: 0.08; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):focus::before, .mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded--background-focused::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):focus::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.24; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded)::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):active::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.24; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.24; }\\n .mdc-top-app-bar__row {\\n display: flex;\\n position: relative;\\n box-sizing: border-box;\\n width: 100%;\\n height: 64px; }\\n .mdc-top-app-bar__section {\\n display: inline-flex;\\n flex: 1 1 auto;\\n align-items: center;\\n min-width: 0;\\n padding: 8px 12px;\\n z-index: 1; }\\n .mdc-top-app-bar__section--align-start {\\n justify-content: flex-start;\\n order: -1; }\\n .mdc-top-app-bar__section--align-end {\\n justify-content: flex-end;\\n order: 1; }\\n .mdc-top-app-bar__title {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1.25rem;\\n line-height: 2rem;\\n font-weight: 500;\\n letter-spacing: 0.0125em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n /* @noflip */\\n padding-left: 20px;\\n /* @noflip */\\n padding-right: 0;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n z-index: 1; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar__title, .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 20px; }\\n .mdc-top-app-bar__action-item, .mdc-top-app-bar__navigation-icon {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n display: flex;\\n position: relative;\\n flex-shrink: 0;\\n align-items: center;\\n justify-content: center;\\n box-sizing: border-box;\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n border: none;\\n outline: none;\\n background-color: transparent;\\n fill: currentColor;\\n color: inherit;\\n text-decoration: none;\\n cursor: pointer; }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__action-item::after, .mdc-top-app-bar__navigation-icon::before, .mdc-top-app-bar__navigation-icon::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__navigation-icon::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::before, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--unbounded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--foreground-activation::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--foreground-deactivation::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__action-item::after, .mdc-top-app-bar__navigation-icon::before, .mdc-top-app-bar__navigation-icon::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::before, .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::before, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n\\n.mdc-top-app-bar--short-collapsed {\\n /* @noflip */\\n border-radius: 0 0 24px 0; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed, .mdc-top-app-bar--short-collapsed[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 0 0 24px; }\\n\\n.mdc-top-app-bar--short {\\n top: 0;\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 0;\\n width: 100%;\\n transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1); }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short, .mdc-top-app-bar--short[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: 0;\\n /* @noflip */\\n left: auto; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__row {\\n height: 56px; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__section {\\n padding: 4px; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__title {\\n transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 1; }\\n\\n.mdc-top-app-bar--short-collapsed {\\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n width: 56px;\\n transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__title {\\n display: none; }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__action-item {\\n transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item {\\n width: 112px; }\\n .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end, .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__row {\\n height: 48px; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__section {\\n padding: 0 4px; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__title {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--dense .mdc-top-app-bar__title, .mdc-top-app-bar--dense .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__row {\\n height: 128px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n align-self: flex-end;\\n padding-bottom: 2px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__action-item,\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__navigation-icon {\\n align-self: flex-start; }\\n\\n.mdc-top-app-bar--fixed {\\n transition: box-shadow 200ms linear; }\\n\\n.mdc-top-app-bar--fixed-scrolled {\\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n transition: box-shadow 200ms linear; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__row {\\n height: 96px; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section {\\n padding: 0 12px; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n /* @noflip */\\n padding-left: 20px;\\n /* @noflip */\\n padding-right: 0;\\n padding-bottom: 9px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title, .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 20px; }\\n\\n.mdc-top-app-bar--fixed-adjust {\\n padding-top: 64px; }\\n\\n.mdc-top-app-bar--dense-fixed-adjust {\\n padding-top: 48px; }\\n\\n.mdc-top-app-bar--short-fixed-adjust {\\n padding-top: 56px; }\\n\\n.mdc-top-app-bar--prominent-fixed-adjust {\\n padding-top: 128px; }\\n\\n.mdc-top-app-bar--dense-prominent-fixed-adjust {\\n padding-top: 96px; }\\n\\n@media (max-width: 599px) {\\n .mdc-top-app-bar__row {\\n height: 56px; }\\n .mdc-top-app-bar__section {\\n padding: 4px; }\\n .mdc-top-app-bar--short {\\n transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed {\\n transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end, .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n .mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n padding-bottom: 6px; }\\n .mdc-top-app-bar--fixed-adjust {\\n padding-top: 56px; } }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-ripple-surface {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n position: relative;\\n outline: none;\\n overflow: hidden; }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-ripple-surface::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-ripple-surface.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-ripple-surface.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n background-color: #000000; }\\n .mdc-ripple-surface:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-ripple-surface.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded] {\\n overflow: visible; }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface--primary::before, .mdc-ripple-surface--primary::after {\\n background-color: #0072d9; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-ripple-surface--primary::before, .mdc-ripple-surface--primary::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); } }\\n .mdc-ripple-surface--primary:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--primary.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n .mdc-ripple-surface--accent::before, .mdc-ripple-surface--accent::after {\\n background-color: #2170b8; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-ripple-surface--accent::before, .mdc-ripple-surface--accent::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-secondary, #2170b8); } }\\n .mdc-ripple-surface--accent:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--accent.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\\n.m-top-app-bar-bottom {\\n bottom: 0%; }\\n\", \"\"]);\n\n// exports\n","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","theme();\ndocument.addEventListener('DOMContentLoaded', function () {\n theme();\n});\nfunction theme() {\n if (document.body && !document.body.style.getPropertyValue('--mdc-theme-primary')) {\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\n document.body.style.setProperty('--mdc-theme-secondary', '#2170b8');\n document.body.style.setProperty('--mdc-theme-error', '#f5222d');\n document.body.style.setProperty('--mdc-theme-surface', '#ffffff');\n document.body.style.setProperty('--mdc-theme-on-primary', '#ffffff');\n document.body.style.setProperty('--mdc-theme-on-secondary', '#ffffff');\n document.body.style.setProperty('--mdc-theme-on-error', '#ffffff');\n document.body.style.setProperty('--mdc-theme-on-surface', '#000000');\n document.body.style.setProperty('--mdc-theme-background', '#ffffff');\n document.body.style.setProperty('--mdc-shape-small-component-radius', '4px');\n document.body.style.setProperty('--mdc-shape-medium-component-radius', '4px');\n document.body.style.setProperty('--mdc-shape-large-component-radius', '0px');\n document.body.style.setProperty('--mdc-typography--font-family', 'Roboto, sans-serif');\n }\n}\n","\n var result = require(\"!!../../node_modules/_css-loader@1.0.1@css-loader/index.js!../../node_modules/_resolve-url-loader@3.1.0@resolve-url-loader/index.js!../../node_modules/_sass-loader@7.1.0@sass-loader/lib/loader.js??ref--4-3!./index.scss\");\n\n if (typeof result === \"string\") {\n module.exports = result;\n } else {\n module.exports = result.toString();\n }\n ","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar omi_1 = require(\"omi\");\nvar css = require(\"./index.scss\");\nvar top_app_bar_1 = require(\"@material/top-app-bar\");\nvar element_children_1 = require(\"../util/element-children\");\nvar dom_ready_1 = require(\"../util/dom-ready\");\n//@ts-ignore\nrequire(\"../theme.ts\");\nvar topAppBar = /** @class */ (function (_super) {\n __extends(topAppBar, _super);\n function topAppBar() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.tagNum = new Object();\n _this.other = false;\n _this.onNavigation = function (evt) {\n evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) });\n };\n _this.onAction = function (evt) {\n evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) });\n };\n return _this;\n }\n topAppBar.prototype.beforeUpdate = function () {\n this._setChildrenAttribute();\n };\n topAppBar.prototype.updated = function () {\n // update this.topAppBar, more flexible operation (更新 this.topAppBar 变量,操作更灵活)\n this.topAppBar.destroy();\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\n // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画)\n if (this.props.scrollTarget) { //(JSX 使用)\n this.topAppBar.setScrollTarget(this.props.scrollTarget);\n }\n else { // (原生 js 使用)\n if (this.props.scrollTargetId) {\n var findTarge = document.querySelector('#' + this.props.scrollTargetId);\n findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window);\n }\n else {\n this.topAppBar.setScrollTarget(window);\n }\n }\n };\n topAppBar.prototype.installed = function () {\n var _this = this;\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\n dom_ready_1.domReady(function () {\n _this._setChildrenAttribute();\n _this.update();\n });\n };\n topAppBar.prototype._setChildrenAttribute = function () {\n var _this = this;\n this.tagNum = new Object();\n this.other = false;\n var children = element_children_1.elementChildren(this);\n children.forEach(function (child) {\n if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') {\n if (typeof _this.tagNum[child.tagName] === 'undefined') {\n _this.tagNum[child.tagName] = new Array();\n }\n var tagLength = _this.tagNum[child.tagName].length;\n child.setAttribute('slot', child.tagName + tagLength + '');\n _this.tagNum[child.tagName].push(tagLength);\n }\n else {\n child.setAttribute('slot', 'OTHER');\n _this.other = true;\n }\n });\n };\n topAppBar.prototype._findPathAccessKey = function (evt) {\n for (var i = 0; i < evt.path.length; i++)\n if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey)\n return evt.path[i].accessKey;\n return -1;\n };\n topAppBar.prototype.render = function (props) {\n var _this = this;\n return [\n omi_1.h(\"header\", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', {\n 'mdc-top-app-bar--fixed': props.fixed || props.bottom,\n 'mdc-top-app-bar--dense': props.dense,\n 'mdc-top-app-bar--short': props.short || props.shortCollapsed,\n 'mdc-top-app-bar--short-collapsed': props.shortCollapsed,\n 'mdc-top-app-bar--prominent': props.prominent,\n 'm-top-app-bar-bottom': props.bottom\n })),\n omi_1.h(\"div\", { class: 'mdc-top-app-bar__row' },\n (props.navigations || this.tagNum['NAVIGATION'] || props.heading) &&\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' },\n props.navigations ? props.navigations.map(function (item, index) {\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item);\n }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) {\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation });\n })),\n props.heading && omi_1.h(\"span\", { class: 'mdc-top-app-bar__title' }, props.heading)),\n (props.actionItems || this.tagNum['ACTIONITEM']) &&\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ?\n props.actionItems.map(function (item, index) {\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item);\n }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) {\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction });\n }))),\n this.other === true && omi_1.h(\"slot\", { name: 'OTHER' }))),\n (props.adjust && omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' :\n (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' :\n props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' :\n props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust'))))\n ];\n };\n topAppBar.css = css;\n topAppBar.propTypes = {\n heading: String,\n short: Boolean,\n shortCollapsed: Boolean,\n prominent: Boolean,\n dense: Boolean,\n fixed: Boolean,\n adjust: Boolean,\n bottom: Boolean,\n navigations: Object,\n actionItems: Object,\n scrollTarget: EventTarget,\n scrollTargetId: String\n };\n topAppBar = __decorate([\n omi_1.tag('m-top-app-bar')\n ], topAppBar);\n return topAppBar;\n}(omi_1.WeElement));\nexports.default = topAppBar;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar readyCallbacks = [];\ndocument.addEventListener('DOMContentLoaded', function () {\n domReady.done = true;\n readyCallbacks.forEach(function (callback) {\n callback();\n });\n});\nfunction domReady(callback) {\n if (domReady.done) {\n callback();\n return;\n }\n readyCallbacks.push(callback);\n}\nexports.domReady = domReady;\ndomReady.done = false;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction elementChildren(element) {\n var childNodes = element.childNodes, children = [], i = childNodes.length;\n while (i--) {\n if (childNodes[i].nodeType == 1) {\n children.unshift(childNodes[i]);\n }\n }\n return children;\n}\nexports.elementChildren = elementChildren;\n","module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack://MTopAppBar/webpack/universalModuleDefinition","webpack://MTopAppBar/webpack/bootstrap","webpack://MTopAppBar/./node_modules/@material/base/component.js","webpack://MTopAppBar/./node_modules/@material/base/foundation.js","webpack://MTopAppBar/./node_modules/@material/dom/ponyfill.js","webpack://MTopAppBar/./node_modules/@material/ripple/component.js","webpack://MTopAppBar/./node_modules/@material/ripple/constants.js","webpack://MTopAppBar/./node_modules/@material/ripple/foundation.js","webpack://MTopAppBar/./node_modules/@material/ripple/util.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/component.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/constants.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/fixed/foundation.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/foundation.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/index.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/short/foundation.js","webpack://MTopAppBar/./node_modules/@material/top-app-bar/standard/foundation.js","webpack://MTopAppBar/./src/top-app-bar/index.scss","webpack://MTopAppBar/./node_modules/css-loader/lib/css-base.js","webpack://MTopAppBar/./node_modules/tslib/tslib.es6.js","webpack://MTopAppBar/./src/theme.ts","webpack://MTopAppBar/./src/top-app-bar/index.scss?abfb","webpack://MTopAppBar/./src/top-app-bar/index.tsx","webpack://MTopAppBar/./src/util/dom-ready.js","webpack://MTopAppBar/./src/util/element-children.js","webpack://MTopAppBar/external {\"commonjs\":\"omi\",\"commonjs2\":\"omi\",\"amd\":\"omi\",\"root\":\"Omi\"}"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;ACVA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;AClFA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACY;AAC7C;AACA;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA,oCAAoC,8CAAgB;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kFAAkF;AAClF;AACA,0CAA0C,yDAAa,GAAG;AAC1D;AACA,0EAA0E;AAC1E;AACA;AACA,wBAAwB,uBAAuB;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACuB;AACxB;AACe,2EAAY,EAAC;AAC5B,qC;;;;;;;;;;;;ACrGA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,cAAc;AAC/C;AACA;AACA;AACA;AACA;AACA,yEAAyE;AACzE;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,oDAAoD;AACpD;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,2DAA2D;AAC3D;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACwB;AACzB;AACe,4EAAa,EAAC;AAC7B,sC;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA,oC;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACuB;AACP;AACE;AACpB;AAC/B;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B,SAAS,0BAA0B;AACjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,gDAAgD,EAAE;AAC9F,iDAAiD,QAAQ,0DAAyB,SAAS,EAAE;AAC7F,8CAA8C,+CAA+C,EAAE;AAC/F,oDAAoD,wCAAwC,EAAE;AAC9F;AACA,sFAAsF,kDAAiB;AACvG,aAAa;AACb;AACA,4EAA4E,kDAAiB;AAC7F,aAAa;AACb,yDAAyD,sDAAsD,EAAE;AACjH,8CAA8C,UAAU,+CAA+C,EAAE,EAAE;AAC3G,0CAA0C,QAAQ,sEAAO,4BAA4B,EAAE;AACvF,4CAA4C,mCAAmC,EAAE;AACjF,sCAAsC,oCAAoC,EAAE;AAC5E;AACA,mFAAmF,kDAAiB;AACpG,aAAa;AACb;AACA,yEAAyE,kDAAiB;AAC1F,aAAa;AACb,uDAAuD,mDAAmD,EAAE;AAC5G,+CAA+C,mDAAmD,EAAE;AACpG,0DAA0D,yDAAyD,EAAE;AACrH;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,+DAAmB;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,qEAAY;AACO;AACrB,qC;;;;;;;;;;;;AC9GA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,qC;;;;;;;;;;;;AC/CA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACyB;AACC;AACT;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,+CAAiB;AACrB;AACA,sCAAsC,8CAAgB,GAAG;AACzD;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;AACA;AACA,+CAA+C,2BAA2B;AAC1E,gDAAgD,4BAA4B;AAC5E,2CAA2C,4BAA4B;AACvE,0CAA0C,2BAA2B;AACrE,4CAA4C,uBAAuB;AACnE;AACA;AACA;AACA;AACA,mBAAmB,qDAAU;AAC7B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,uCAAuC,kBAAkB,EAAE;AAC3D,qDAAqD,aAAa,EAAE;AACpE,kDAAkD,UAAU,4DAA4D,EAAE,EAAE;AAC5H,kDAAkD,aAAa,EAAE;AACjE,mEAAmE,kBAAkB,EAAE;AACvF,2DAA2D,kBAAkB,EAAE;AAC/E,sDAAsD,kBAAkB,EAAE;AAC1E,kDAAkD,UAAU,aAAa,EAAE,EAAE;AAC7E,8CAA8C,aAAa,EAAE;AAC7D,gDAAgD,aAAa,EAAE;AAC/D,0CAA0C,aAAa,EAAE;AACzD,iEAAiE,kBAAkB,EAAE;AACrF,yDAAyD,kBAAkB,EAAE;AAC7E,oDAAoD,kBAAkB,EAAE;AACxE,0CAA0C,kBAAkB,EAAE;AAC9D,gDAAgD,kBAAkB,EAAE;AACpE;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6HAA6H,mDAAmD,EAAE;AAClL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wDAAwD,yCAAyC,EAAE;AACnG;AACA;AACA;AACA;AACA;AACA,yBAAyB,sEAAwB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,EAAE,kDAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gCAAgC,mDAAmD,EAAE;AACrF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,8CAAgB,GAAG;AACvC;AACA,+CAA+C,0CAA0C,EAAE;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,uEAAa;AACgB;AAC/B;AACe,kFAAmB,EAAC;AACnC,sC;;;;;;;;;;;;AC5cA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,kCAAkC,sBAAsB;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO;AACP,+BAA+B,oBAAoB;AACnD,kCAAkC,sBAAsB;AACxD;AACA;AACA;AACA,qEAAqE,kBAAkB,EAAE;AACzF;AACA;AACA;AACA,iBAAiB;AACjB,aAAa;AACb;AACA;AACA,SAAS;AACT;AACA;AACA,+BAA+B,gBAAgB;AAC/C;AACO;AACP;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA,gC;;;;;;;;;;;;ACpGA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACuB;AACD;AACL;AACe;AACA;AACF;AAC/D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC,gCAAgC,QAAQ,oEAAS,cAAc,GAAG;AACzG,iDAAiD,kDAAO;AACxD;AACA,8DAA8D,kDAAO;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA,yDAAyD,6BAA6B,EAAE;AACxF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,kDAAkD,EAAE;AAChG,4CAA4C,6CAA6C,EAAE;AAC3F,+CAA+C,gDAAgD,EAAE;AACjG,kDAAkD,uDAAuD,EAAE;AAC3G,6CAA6C,iCAAiC,EAAE;AAChF;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,aAAa;AACb,sDAAsD,mBAAmB,kDAAO,qBAAqB,EAAE,EAAE;AACzG,uDAAuD,gEAAgE,EAAE;AACzH,yDAAyD,mEAAmE,EAAE;AAC9H,uDAAuD,mDAAmD,EAAE;AAC5G,yDAAyD,sDAAsD,EAAE;AACjH;AACA;AACA;AACA;AACA,aAAa;AACb,8CAA8C,qCAAqC,kDAAO,8BAA8B,EAAE;AAC1H;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD,6BAA6B,6EAA2B;AACxD;AACA,+CAA+C,qDAAU;AACzD,6BAA6B,6EAA2B;AACxD;AACA;AACA,6BAA6B,2EAAsB;AACnD;AACA;AACA;AACA;AACA,CAAC,CAAC,qEAAY;AACU;AACxB,qC;;;;;;;;;;;;AChHA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACwC;AACxC,qC;;;;;;;;;;;;ACzCA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACS;AACsB;AAChE;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,oCAAoC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD;AACA;AACA;AACA;AACA;AACA,uCAAuC,qDAAU;AACjD;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,2EAAsB;AACe;AACvC;AACe,0FAA2B,EAAC;AAC3C,sC;;;;;;;;;;;;AC5DA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACyB;AACC;AAC3D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA,sCAAsC,8CAAgB,GAAG;AACzD,8CAA8C,qDAAqD;AACnG;AACA;AACA;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,qDAAU;AAC7B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,mBAAmB,kDAAO;AAC1B,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,gBAAgB,0BAA0B;AAC1C;AACA;AACA;AACA;AACA,uCAAuC,kBAAkB,EAAE;AAC3D,0CAA0C,kBAAkB,EAAE;AAC9D,uCAAuC,cAAc,EAAE;AACvD,uCAAuC,kBAAkB,EAAE;AAC3D,iDAAiD,UAAU,EAAE;AAC7D,uEAAuE,kBAAkB,EAAE;AAC3F,yEAAyE,kBAAkB,EAAE;AAC7F,0DAA0D,kBAAkB,EAAE;AAC9E,oDAAoD,kBAAkB,EAAE;AACxE,sDAAsD,kBAAkB,EAAE;AAC1E,oDAAoD,kBAAkB,EAAE;AACxE,sDAAsD,kBAAkB,EAAE;AAC1E,iDAAiD,UAAU,EAAE;AAC7D,kDAAkD,UAAU,EAAE;AAC9D;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,uEAAa;AACuB;AACtC;AACe,yFAA0B,EAAC;AAC1C,sC;;;;;;;;;;;;ACpHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC4B;AACC;AACM;AACA;AACG;AACtC,iC;;;;;;;;;;;;AC3BA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACS;AACiB;AAC3D;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,mCAAmC,qDAAU;AAC7C;AACA,oCAAoC,qDAAU;AAC9C,+CAA+C,0CAA0C;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,qDAAU;AACpD;AACA;AACA;AACA;AACA;AACA,uCAAuC,qDAAU;AACjD;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,sEAA0B;AACW;AACvC;AACe,0FAA2B,EAAC;AAC3C,sC;;;;;;;;;;;;AC/EA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACiC;AACM;AACoB;AAC3D;AACA;AACA,IAAI,+CAAiB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,wCAAwC;AACpF,4CAA4C,wCAAwC;AACpF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BAA0B,kDAAO;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,EAAE,kDAAO;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,EAAE,kDAAO;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAC,sEAA0B;AACM;AAClC;AACe,qFAAsB,EAAC;AACtC,sC;;;;;;;;;;;ACvKA,2BAA2B,mBAAO,CAAC,gGAA+C;AAClF;;;AAGA;AACA,cAAc,QAAS,qBAAqB,8BAA8B,4EAA4E,iBAAiB,kBAAkB,oBAAoB,2BAA2B,mCAAmC,2BAA2B,gBAAgB,eAAe,EAAE,2GAA2G,qBAAqB,wEAAwE,EAAE,sPAAsP,kCAAkC,EAAE,6CAA6C,kQAAkQ,+FAA+F,EAAE,EAAE,2IAA2I,sBAAsB,EAAE,wYAAwY,kCAAkC,sBAAsB,EAAE,iLAAiL,yCAAyC,EAAE,+LAA+L,kCAAkC,sBAAsB,EAAE,uJAAuJ,sCAAsC,EAAE,2BAA2B,oBAAoB,yBAAyB,6BAA6B,kBAAkB,mBAAmB,EAAE,+BAA+B,2BAA2B,qBAAqB,0BAA0B,mBAAmB,wBAAwB,iBAAiB,EAAE,8CAA8C,oCAAoC,kBAAkB,EAAE,4CAA4C,kCAAkC,iBAAiB,EAAE,6BAA6B,sCAAsC,yCAAyC,0CAA0C,yBAAyB,wBAAwB,uBAAuB,+BAA+B,+BAA+B,8BAA8B,4CAA4C,0CAA0C,8BAA8B,0BAA0B,uBAAuB,iBAAiB,EAAE,mFAAmF,6CAA6C,iDAAiD,EAAE,sEAAsE,8BAA8B,2BAA2B,0BAA0B,+BAA+B,uCAAuC,yCAAyC,oDAAoD,oBAAoB,yBAAyB,qBAAqB,0BAA0B,8BAA8B,6BAA6B,kBAAkB,mBAAmB,oBAAoB,mBAAmB,oBAAoB,oCAAoC,yBAAyB,qBAAqB,4BAA4B,sBAAsB,EAAE,wKAAwK,2BAA2B,2BAA2B,mBAAmB,6BAA6B,sBAAsB,EAAE,wFAAwF,sEAAsE,mBAAmB,EAAE,gIAAgI,wDAAwD,EAAE,8HAA8H,eAAe,qCAAqC,4BAA4B,wCAAwC,EAAE,oJAAoJ,sCAAsC,6DAA6D,EAAE,4KAA4K,kGAAkG,EAAE,gLAAgL,mDAAmD,yGAAyG,EAAE,wKAAwK,6BAA6B,mDAAmD,oBAAoB,qBAAqB,EAAE,wPAAwP,oDAAoD,2EAA2E,+CAA+C,gDAAgD,EAAE,8HAA8H,+CAA+C,gDAAgD,EAAE,uCAAuC,+CAA+C,EAAE,qGAAqG,mDAAmD,EAAE,6BAA6B,WAAW,iCAAiC,6BAA6B,gBAAgB,yDAAyD,EAAE,iFAAiF,kCAAkC,oCAAoC,EAAE,mDAAmD,mBAAmB,EAAE,uDAAuD,mBAAmB,EAAE,qDAAqD,6DAA6D,iBAAiB,EAAE,uCAAuC,+HAA+H,gBAAgB,yDAAyD,EAAE,+DAA+D,oBAAoB,EAAE,qEAAqE,6DAA6D,EAAE,8EAA8E,iBAAiB,EAAE,mHAAmH,yCAAyC,6CAA6C,EAAE,+PAA+P,gDAAgD,8CAA8C,EAAE,mDAAmD,iBAAiB,EAAE,uDAAuD,mBAAmB,EAAE,qDAAqD,wCAAwC,sCAAsC,EAAE,iIAAiI,yCAAyC,6CAA6C,EAAE,uDAAuD,kBAAkB,EAAE,yDAAyD,yBAAyB,wBAAwB,EAAE,+HAA+H,2BAA2B,EAAE,6BAA6B,wCAAwC,EAAE,sCAAsC,+HAA+H,wCAAwC,EAAE,8EAA8E,iBAAiB,EAAE,kFAAkF,oBAAoB,EAAE,gFAAgF,wCAAwC,sCAAsC,wBAAwB,EAAE,uLAAuL,yCAAyC,6CAA6C,EAAE,oCAAoC,sBAAsB,EAAE,0CAA0C,sBAAsB,EAAE,0CAA0C,sBAAsB,EAAE,8CAA8C,uBAAuB,EAAE,oDAAoD,sBAAsB,EAAE,+BAA+B,2BAA2B,mBAAmB,EAAE,+BAA+B,mBAAmB,EAAE,6BAA6B,2DAA2D,EAAE,uCAAuC,2DAA2D,EAAE,8EAA8E,6CAA6C,iDAAiD,EAAE,mLAAmL,oDAAoD,kDAAkD,EAAE,yDAAyD,0BAA0B,EAAE,oCAAoC,wBAAwB,EAAE,EAAE,wCAAwC,UAAU,8DAA8D,6EAA6E,EAAE,QAAQ,uGAAuG,EAAE,EAAE,yCAAyC,UAAU,wCAAwC,iBAAiB,EAAE,QAAQ,+CAA+C,EAAE,EAAE,0CAA0C,UAAU,wCAAwC,+CAA+C,EAAE,QAAQ,iBAAiB,EAAE,EAAE,4CAA4C,uDAAuD,uBAAuB,EAAE,oDAAoD,sDAAsD,EAAE,yBAAyB,4BAA4B,yBAAyB,wBAAwB,6BAA6B,qCAAqC,uCAAuC,kDAAkD,uBAAuB,kBAAkB,qBAAqB,EAAE,6DAA6D,yBAAyB,yBAAyB,iBAAiB,2BAA2B,oBAAoB,EAAE,iCAAiC,oEAAoE,iBAAiB,EAAE,qDAAqD,sDAAsD,EAAE,oDAAoD,aAAa,iCAAiC,0BAA0B,sCAAsC,EAAE,+DAA+D,oCAAoC,yDAAyD,EAAE,2EAA2E,gGAAgG,EAAE,6EAA6E,iDAAiD,uGAAuG,EAAE,6DAA6D,gCAAgC,EAAE,uCAAuC,oBAAoB,EAAE,sIAAsI,gCAAgC,oBAAoB,EAAE,0DAA0D,uCAAuC,EAAE,iEAAiE,gCAAgC,oBAAoB,EAAE,6CAA6C,oCAAoC,EAAE,6DAA6D,4BAA4B,gDAAgD,kBAAkB,mBAAmB,EAAE,oDAAoD,6CAA6C,8CAA8C,EAAE,uDAAuD,wBAAwB,EAAE,2HAA2H,6BAA6B,mDAAmD,oBAAoB,qBAAqB,EAAE,mKAAmK,oDAAoD,2EAA2E,+CAA+C,gDAAgD,EAAE,oFAAoF,+CAA+C,gDAAgD,EAAE,+EAA+E,gCAAgC,EAAE,2CAA2C,mFAAmF,wFAAwF,EAAE,EAAE,gDAAgD,oBAAoB,EAAE,wJAAwJ,gCAAgC,oBAAoB,EAAE,mEAAmE,uCAAuC,EAAE,0EAA0E,gCAAgC,oBAAoB,EAAE,sDAAsD,oCAAoC,EAAE,6EAA6E,gCAAgC,EAAE,2CAA2C,iFAAiF,0FAA0F,EAAE,EAAE,+CAA+C,oBAAoB,EAAE,sJAAsJ,gCAAgC,oBAAoB,EAAE,kEAAkE,uCAAuC,EAAE,yEAAyE,gCAAgC,oBAAoB,EAAE,qDAAqD,oCAAoC,EAAE,qBAAqB,kCAAkC,wBAAwB,uBAAuB,oBAAoB,mBAAmB,2BAA2B,yBAAyB,0BAA0B,wBAAwB,sBAAsB,mBAAmB,0CAA0C,wCAAwC,EAAE,2BAA2B,eAAe,EAAE;;AAEhpkB;;;;;;;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,mCAAmC,gBAAgB;AACnD,IAAI;AACJ;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,oDAAoD,cAAc;;AAElE;AACA;;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA,+DAA+D;AAC/D;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,gBAAgB,sCAAsC,iBAAiB,EAAE;AACnF,yBAAyB,uDAAuD;AAChF;AACA;;AAEO;AACP;AACA,mBAAmB,sBAAsB;AACzC;AACA;;AAEO;AACP;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA,4DAA4D,cAAc;AAC1E;AACA;AACA;;AAEO;AACP;AACA;AACA,4CAA4C,QAAQ;AACpD;AACA;;AAEO;AACP,mCAAmC,oCAAoC;AACvE;;AAEO;AACP;AACA;;AAEO;AACP;AACA,mCAAmC,MAAM,6BAA6B,EAAE,YAAY,WAAW,EAAE;AACjG,kCAAkC,MAAM,iCAAiC,EAAE,YAAY,WAAW,EAAE;AACpG,+BAA+B,iEAAiE,uBAAuB,EAAE,4BAA4B;AACrJ;AACA,KAAK;AACL;;AAEO;AACP,aAAa,6BAA6B,0BAA0B,aAAa,EAAE,qBAAqB;AACxG,gBAAgB,qDAAqD,oEAAoE,aAAa,EAAE;AACxJ,sBAAsB,sBAAsB,qBAAqB,GAAG;AACpE;AACA;AACA;AACA;AACA;AACA;AACA,uCAAuC;AACvC,kCAAkC,SAAS;AAC3C,kCAAkC,WAAW,UAAU;AACvD,yCAAyC,cAAc;AACvD;AACA,6GAA6G,OAAO,UAAU;AAC9H,gFAAgF,iBAAiB,OAAO;AACxG,wDAAwD,gBAAgB,QAAQ,OAAO;AACvF,8CAA8C,gBAAgB,gBAAgB,OAAO;AACrF;AACA,iCAAiC;AACjC;AACA;AACA,SAAS,YAAY,aAAa,OAAO,EAAE,UAAU,WAAW;AAChE,mCAAmC,SAAS;AAC5C;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,MAAM,gBAAgB;AACzC;AACA;AACA;AACA;AACA,iBAAiB,sBAAsB;AACvC;AACA;AACA;;AAEO;AACP,4BAA4B,sBAAsB;AAClD;AACA;AACA;;AAEO;AACP;AACA;;AAEO;AACP;AACA;AACA,iBAAiB,sFAAsF,aAAa,EAAE;AACtH,sBAAsB,gCAAgC,qCAAqC,0CAA0C,EAAE,EAAE,GAAG;AAC5I,2BAA2B,MAAM,eAAe,EAAE,YAAY,oBAAoB,EAAE;AACpF,sBAAsB,oGAAoG;AAC1H,6BAA6B,uBAAuB;AACpD,4BAA4B,wBAAwB;AACpD,2BAA2B,yDAAyD;AACpF;;AAEO;AACP;AACA,iBAAiB,4CAA4C,SAAS,EAAE,qDAAqD,aAAa,EAAE;AAC5I,yBAAyB,6BAA6B,oBAAoB,gDAAgD,gBAAgB,EAAE,KAAK;AACjJ;;AAEO;AACP;AACA;AACA,2GAA2G,sFAAsF,aAAa,EAAE;AAChN,sBAAsB,8BAA8B,gDAAgD,uDAAuD,EAAE,EAAE,GAAG;AAClK,4CAA4C,sCAAsC,UAAU,oBAAoB,EAAE,EAAE,UAAU;AAC9H;;AAEO;AACP,gCAAgC,uCAAuC,aAAa,EAAE,EAAE,OAAO,kBAAkB;AACjH;AACA;;AAEO;AACP;AACA;AACA;AACA;AACA;AACA;;AAEO;AACP,4CAA4C;AAC5C;;;;;;;;;;;;ACzLA;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACnBA,qBAAqB,mBAAO,CAAC,sSAA6J;;AAE1L;AACA;AACA,SAAS;AACT;AACA;;;;;;;;;;;;;ACPa;AACb;AACA;AACA;AACA,cAAc,gBAAgB,sCAAsC,iBAAiB,EAAE;AACvF,6BAA6B,uDAAuD;AACpF;AACA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA,CAAC;AACD;AACA;AACA,gDAAgD,OAAO;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C,QAAQ;AACpD;AACA;AACA,8CAA8C,cAAc;AAC5D,YAAY,mBAAO,CAAC,gBAAK;AACzB,UAAU,mBAAO,CAAC,kDAAc;AAChC,oBAAoB,mBAAO,CAAC,4EAAuB;AACnD,yBAAyB,mBAAO,CAAC,gEAA0B;AAC3D,kBAAkB,mBAAO,CAAC,kDAAmB;AAC7C;AACA,mBAAO,CAAC,mCAAa;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,0DAA0D;AACvG;AACA;AACA,yCAAyC,sDAAsD;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC;AACtC;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,uBAAuB,qBAAqB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,gCAAgC,gCAAgC;AAChE;AACA,4CAA4C,0EAA0E;AACtH;AACA,wDAAwD,qFAAqF,+BAA+B,gCAAgC;AAC5M,6BAA6B;AAC7B,wDAAwD,4HAA4H;AACpL,6BAA6B;AAC7B,8DAA8D,kCAAkC;AAChG;AACA,4CAA4C,wEAAwE;AACpH;AACA,wDAAwD,iFAAiF,+BAA+B,4BAA4B;AACpM,6BAA6B;AAC7B,oDAAoD,oHAAoH;AACxK,yBAAyB;AACzB,4DAA4D,gBAAgB;AAC5E;AACA,gDAAgD;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;;;;;;;;;;;;;AClKa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACjBa;AACb,8CAA8C,cAAc;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;ACXA,iD","file":"index.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"omi\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"omi\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"MTopAppBar\"] = factory(require(\"omi\"));\n\telse\n\t\troot[\"MTopAppBar\"] = factory(root[\"Omi\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_omi__) {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./src/top-app-bar/index.tsx\");\n","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from './foundation';\nvar MDCComponent = /** @class */ (function () {\n function MDCComponent(root, foundation) {\n var args = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n args[_i - 2] = arguments[_i];\n }\n this.root_ = root;\n this.initialize.apply(this, tslib_1.__spread(args));\n // Note that we initialize foundation here and not within the constructor's default param so that\n // this.root_ is defined and can be used within the foundation class.\n this.foundation_ = foundation === undefined ? this.getDefaultFoundation() : foundation;\n this.foundation_.init();\n this.initialSyncWithDOM();\n }\n MDCComponent.attachTo = function (root) {\n // Subclasses which extend MDCBase should provide an attachTo() method that takes a root element and\n // returns an instantiated component with its root set to that element. Also note that in the cases of\n // subclasses, an explicit foundation class will not have to be passed in; it will simply be initialized\n // from getDefaultFoundation().\n return new MDCComponent(root, new MDCFoundation({}));\n };\n /* istanbul ignore next: method param only exists for typing purposes; it does not need to be unit tested */\n MDCComponent.prototype.initialize = function () {\n var _args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n _args[_i] = arguments[_i];\n }\n // Subclasses can override this to do any additional setup work that would be considered part of a\n // \"constructor\". Essentially, it is a hook into the parent constructor before the foundation is\n // initialized. Any additional arguments besides root and foundation will be passed in here.\n };\n MDCComponent.prototype.getDefaultFoundation = function () {\n // Subclasses must override this method to return a properly configured foundation class for the\n // component.\n throw new Error('Subclasses must override getDefaultFoundation to return a properly configured ' +\n 'foundation class');\n };\n MDCComponent.prototype.initialSyncWithDOM = function () {\n // Subclasses should override this method if they need to perform work to synchronize with a host DOM\n // object. An example of this would be a form control wrapper that needs to synchronize its internal state\n // to some property or attribute of the host DOM. Please note: this is *not* the place to perform DOM\n // reads/writes that would cause layout / paint, as this is called synchronously from within the constructor.\n };\n MDCComponent.prototype.destroy = function () {\n // Subclasses may implement this method to release any resources / deregister any listeners they have\n // attached. An example of this might be deregistering a resize event from the window object.\n this.foundation_.destroy();\n };\n MDCComponent.prototype.listen = function (evtType, handler) {\n this.root_.addEventListener(evtType, handler);\n };\n MDCComponent.prototype.unlisten = function (evtType, handler) {\n this.root_.removeEventListener(evtType, handler);\n };\n /**\n * Fires a cross-browser-compatible custom event from the component root of the given type, with the given data.\n */\n MDCComponent.prototype.emit = function (evtType, evtData, shouldBubble) {\n if (shouldBubble === void 0) { shouldBubble = false; }\n var evt;\n if (typeof CustomEvent === 'function') {\n evt = new CustomEvent(evtType, {\n bubbles: shouldBubble,\n detail: evtData,\n });\n }\n else {\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(evtType, shouldBubble, false, evtData);\n }\n this.root_.dispatchEvent(evt);\n };\n return MDCComponent;\n}());\nexport { MDCComponent };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCComponent;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar MDCFoundation = /** @class */ (function () {\n function MDCFoundation(adapter) {\n if (adapter === void 0) { adapter = {}; }\n this.adapter_ = adapter;\n }\n Object.defineProperty(MDCFoundation, \"cssClasses\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports every\n // CSS class the foundation class needs as a property. e.g. {ACTIVE: 'mdc-component--active'}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"strings\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports all\n // semantic strings as constants. e.g. {ARIA_ROLE: 'tablist'}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"numbers\", {\n get: function () {\n // Classes extending MDCFoundation should implement this method to return an object which exports all\n // of its semantic numbers as constants. e.g. {ANIMATION_DELAY_MS: 350}\n return {};\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCFoundation, \"defaultAdapter\", {\n get: function () {\n // Classes extending MDCFoundation may choose to implement this getter in order to provide a convenient\n // way of viewing the necessary methods of an adapter. In the future, this could also be used for adapter\n // validation.\n return {};\n },\n enumerable: true,\n configurable: true\n });\n MDCFoundation.prototype.init = function () {\n // Subclasses should override this method to perform initialization routines (registering events, etc.)\n };\n MDCFoundation.prototype.destroy = function () {\n // Subclasses should override this method to perform de-initialization routines (de-registering events, etc.)\n };\n return MDCFoundation;\n}());\nexport { MDCFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\n/**\n * @fileoverview A \"ponyfill\" is a polyfill that doesn't modify the global prototype chain.\n * This makes ponyfills safer than traditional polyfills, especially for libraries like MDC.\n */\nexport function closest(element, selector) {\n if (element.closest) {\n return element.closest(selector);\n }\n var el = element;\n while (el) {\n if (matches(el, selector)) {\n return el;\n }\n el = el.parentElement;\n }\n return null;\n}\nexport function matches(element, selector) {\n var nativeMatches = element.matches\n || element.webkitMatchesSelector\n || element.msMatchesSelector;\n return nativeMatches.call(element, selector);\n}\n//# sourceMappingURL=ponyfill.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCComponent } from '@material/base/component';\nimport { matches } from '@material/dom/ponyfill';\nimport { MDCRippleFoundation } from './foundation';\nimport * as util from './util';\nvar MDCRipple = /** @class */ (function (_super) {\n tslib_1.__extends(MDCRipple, _super);\n function MDCRipple() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.disabled = false;\n return _this;\n }\n MDCRipple.attachTo = function (root, opts) {\n if (opts === void 0) { opts = { isUnbounded: undefined }; }\n var ripple = new MDCRipple(root);\n // Only override unbounded behavior if option is explicitly specified\n if (opts.isUnbounded !== undefined) {\n ripple.unbounded = opts.isUnbounded;\n }\n return ripple;\n };\n MDCRipple.createAdapter = function (instance) {\n return {\n addClass: function (className) { return instance.root_.classList.add(className); },\n browserSupportsCssVars: function () { return util.supportsCssVariables(window); },\n computeBoundingRect: function () { return instance.root_.getBoundingClientRect(); },\n containsEventTarget: function (target) { return instance.root_.contains(target); },\n deregisterDocumentInteractionHandler: function (evtType, handler) {\n return document.documentElement.removeEventListener(evtType, handler, util.applyPassive());\n },\n deregisterInteractionHandler: function (evtType, handler) {\n return instance.root_.removeEventListener(evtType, handler, util.applyPassive());\n },\n deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n getWindowPageOffset: function () { return ({ x: window.pageXOffset, y: window.pageYOffset }); },\n isSurfaceActive: function () { return matches(instance.root_, ':active'); },\n isSurfaceDisabled: function () { return Boolean(instance.disabled); },\n isUnbounded: function () { return Boolean(instance.unbounded); },\n registerDocumentInteractionHandler: function (evtType, handler) {\n return document.documentElement.addEventListener(evtType, handler, util.applyPassive());\n },\n registerInteractionHandler: function (evtType, handler) {\n return instance.root_.addEventListener(evtType, handler, util.applyPassive());\n },\n registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n removeClass: function (className) { return instance.root_.classList.remove(className); },\n updateCssVariable: function (varName, value) { return instance.root_.style.setProperty(varName, value); },\n };\n };\n Object.defineProperty(MDCRipple.prototype, \"unbounded\", {\n get: function () {\n return Boolean(this.unbounded_);\n },\n set: function (unbounded) {\n this.unbounded_ = Boolean(unbounded);\n this.setUnbounded_();\n },\n enumerable: true,\n configurable: true\n });\n MDCRipple.prototype.activate = function () {\n this.foundation_.activate();\n };\n MDCRipple.prototype.deactivate = function () {\n this.foundation_.deactivate();\n };\n MDCRipple.prototype.layout = function () {\n this.foundation_.layout();\n };\n MDCRipple.prototype.getDefaultFoundation = function () {\n return new MDCRippleFoundation(MDCRipple.createAdapter(this));\n };\n MDCRipple.prototype.initialSyncWithDOM = function () {\n var root = this.root_;\n this.unbounded = 'mdcRippleIsUnbounded' in root.dataset;\n };\n /**\n * Closure Compiler throws an access control error when directly accessing a\n * protected or private property inside a getter/setter, like unbounded above.\n * By accessing the protected property inside a method, we solve that problem.\n * That's why this function exists.\n */\n MDCRipple.prototype.setUnbounded_ = function () {\n this.foundation_.setUnbounded(Boolean(this.unbounded_));\n };\n return MDCRipple;\n}(MDCComponent));\nexport { MDCRipple };\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nexport var cssClasses = {\n // Ripple is a special case where the \"root\" component is really a \"mixin\" of sorts,\n // given that it's an 'upgrade' to an existing component. That being said it is the root\n // CSS class that all other CSS classes derive from.\n BG_FOCUSED: 'mdc-ripple-upgraded--background-focused',\n FG_ACTIVATION: 'mdc-ripple-upgraded--foreground-activation',\n FG_DEACTIVATION: 'mdc-ripple-upgraded--foreground-deactivation',\n ROOT: 'mdc-ripple-upgraded',\n UNBOUNDED: 'mdc-ripple-upgraded--unbounded',\n};\nexport var strings = {\n VAR_FG_SCALE: '--mdc-ripple-fg-scale',\n VAR_FG_SIZE: '--mdc-ripple-fg-size',\n VAR_FG_TRANSLATE_END: '--mdc-ripple-fg-translate-end',\n VAR_FG_TRANSLATE_START: '--mdc-ripple-fg-translate-start',\n VAR_LEFT: '--mdc-ripple-left',\n VAR_TOP: '--mdc-ripple-top',\n};\nexport var numbers = {\n DEACTIVATION_TIMEOUT_MS: 225,\n FG_DEACTIVATION_MS: 150,\n INITIAL_ORIGIN_SCALE: 0.6,\n PADDING: 10,\n TAP_DELAY_MS: 300,\n};\n//# sourceMappingURL=constants.js.map","/**\n * @license\n * Copyright 2016 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from '@material/base/foundation';\nimport { cssClasses, numbers, strings } from './constants';\nimport { getNormalizedEventCoords } from './util';\n// Activation events registered on the root element of each instance for activation\nvar ACTIVATION_EVENT_TYPES = [\n 'touchstart', 'pointerdown', 'mousedown', 'keydown',\n];\n// Deactivation events registered on documentElement when a pointer-related down event occurs\nvar POINTER_DEACTIVATION_EVENT_TYPES = [\n 'touchend', 'pointerup', 'mouseup', 'contextmenu',\n];\n// simultaneous nested activations\nvar activatedTargets = [];\nvar MDCRippleFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCRippleFoundation, _super);\n function MDCRippleFoundation(adapter) {\n var _this = _super.call(this, tslib_1.__assign({}, MDCRippleFoundation.defaultAdapter, adapter)) || this;\n _this.activationAnimationHasEnded_ = false;\n _this.activationTimer_ = 0;\n _this.fgDeactivationRemovalTimer_ = 0;\n _this.fgScale_ = '0';\n _this.frame_ = { width: 0, height: 0 };\n _this.initialSize_ = 0;\n _this.layoutFrame_ = 0;\n _this.maxRadius_ = 0;\n _this.unboundedCoords_ = { left: 0, top: 0 };\n _this.activationState_ = _this.defaultActivationState_();\n _this.activationTimerCallback_ = function () {\n _this.activationAnimationHasEnded_ = true;\n _this.runDeactivationUXLogicIfReady_();\n };\n _this.activateHandler_ = function (e) { return _this.activate_(e); };\n _this.deactivateHandler_ = function () { return _this.deactivate_(); };\n _this.focusHandler_ = function () { return _this.handleFocus(); };\n _this.blurHandler_ = function () { return _this.handleBlur(); };\n _this.resizeHandler_ = function () { return _this.layout(); };\n return _this;\n }\n Object.defineProperty(MDCRippleFoundation, \"cssClasses\", {\n get: function () {\n return cssClasses;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"strings\", {\n get: function () {\n return strings;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"numbers\", {\n get: function () {\n return numbers;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCRippleFoundation, \"defaultAdapter\", {\n get: function () {\n return {\n addClass: function () { return undefined; },\n browserSupportsCssVars: function () { return true; },\n computeBoundingRect: function () { return ({ top: 0, right: 0, bottom: 0, left: 0, width: 0, height: 0 }); },\n containsEventTarget: function () { return true; },\n deregisterDocumentInteractionHandler: function () { return undefined; },\n deregisterInteractionHandler: function () { return undefined; },\n deregisterResizeHandler: function () { return undefined; },\n getWindowPageOffset: function () { return ({ x: 0, y: 0 }); },\n isSurfaceActive: function () { return true; },\n isSurfaceDisabled: function () { return true; },\n isUnbounded: function () { return true; },\n registerDocumentInteractionHandler: function () { return undefined; },\n registerInteractionHandler: function () { return undefined; },\n registerResizeHandler: function () { return undefined; },\n removeClass: function () { return undefined; },\n updateCssVariable: function () { return undefined; },\n };\n },\n enumerable: true,\n configurable: true\n });\n MDCRippleFoundation.prototype.init = function () {\n var _this = this;\n var supportsPressRipple = this.supportsPressRipple_();\n this.registerRootHandlers_(supportsPressRipple);\n if (supportsPressRipple) {\n var _a = MDCRippleFoundation.cssClasses, ROOT_1 = _a.ROOT, UNBOUNDED_1 = _a.UNBOUNDED;\n requestAnimationFrame(function () {\n _this.adapter_.addClass(ROOT_1);\n if (_this.adapter_.isUnbounded()) {\n _this.adapter_.addClass(UNBOUNDED_1);\n // Unbounded ripples need layout logic applied immediately to set coordinates for both shade and ripple\n _this.layoutInternal_();\n }\n });\n }\n };\n MDCRippleFoundation.prototype.destroy = function () {\n var _this = this;\n if (this.supportsPressRipple_()) {\n if (this.activationTimer_) {\n clearTimeout(this.activationTimer_);\n this.activationTimer_ = 0;\n this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_ACTIVATION);\n }\n if (this.fgDeactivationRemovalTimer_) {\n clearTimeout(this.fgDeactivationRemovalTimer_);\n this.fgDeactivationRemovalTimer_ = 0;\n this.adapter_.removeClass(MDCRippleFoundation.cssClasses.FG_DEACTIVATION);\n }\n var _a = MDCRippleFoundation.cssClasses, ROOT_2 = _a.ROOT, UNBOUNDED_2 = _a.UNBOUNDED;\n requestAnimationFrame(function () {\n _this.adapter_.removeClass(ROOT_2);\n _this.adapter_.removeClass(UNBOUNDED_2);\n _this.removeCssVars_();\n });\n }\n this.deregisterRootHandlers_();\n this.deregisterDeactivationHandlers_();\n };\n /**\n * @param evt Optional event containing position information.\n */\n MDCRippleFoundation.prototype.activate = function (evt) {\n this.activate_(evt);\n };\n MDCRippleFoundation.prototype.deactivate = function () {\n this.deactivate_();\n };\n MDCRippleFoundation.prototype.layout = function () {\n var _this = this;\n if (this.layoutFrame_) {\n cancelAnimationFrame(this.layoutFrame_);\n }\n this.layoutFrame_ = requestAnimationFrame(function () {\n _this.layoutInternal_();\n _this.layoutFrame_ = 0;\n });\n };\n MDCRippleFoundation.prototype.setUnbounded = function (unbounded) {\n var UNBOUNDED = MDCRippleFoundation.cssClasses.UNBOUNDED;\n if (unbounded) {\n this.adapter_.addClass(UNBOUNDED);\n }\n else {\n this.adapter_.removeClass(UNBOUNDED);\n }\n };\n MDCRippleFoundation.prototype.handleFocus = function () {\n var _this = this;\n requestAnimationFrame(function () {\n return _this.adapter_.addClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n });\n };\n MDCRippleFoundation.prototype.handleBlur = function () {\n var _this = this;\n requestAnimationFrame(function () {\n return _this.adapter_.removeClass(MDCRippleFoundation.cssClasses.BG_FOCUSED);\n });\n };\n /**\n * We compute this property so that we are not querying information about the client\n * until the point in time where the foundation requests it. This prevents scenarios where\n * client-side feature-detection may happen too early, such as when components are rendered on the server\n * and then initialized at mount time on the client.\n */\n MDCRippleFoundation.prototype.supportsPressRipple_ = function () {\n return this.adapter_.browserSupportsCssVars();\n };\n MDCRippleFoundation.prototype.defaultActivationState_ = function () {\n return {\n activationEvent: undefined,\n hasDeactivationUXRun: false,\n isActivated: false,\n isProgrammatic: false,\n wasActivatedByPointer: false,\n wasElementMadeActive: false,\n };\n };\n /**\n * supportsPressRipple Passed from init to save a redundant function call\n */\n MDCRippleFoundation.prototype.registerRootHandlers_ = function (supportsPressRipple) {\n var _this = this;\n if (supportsPressRipple) {\n ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.registerInteractionHandler(evtType, _this.activateHandler_);\n });\n if (this.adapter_.isUnbounded()) {\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n }\n this.adapter_.registerInteractionHandler('focus', this.focusHandler_);\n this.adapter_.registerInteractionHandler('blur', this.blurHandler_);\n };\n MDCRippleFoundation.prototype.registerDeactivationHandlers_ = function (evt) {\n var _this = this;\n if (evt.type === 'keydown') {\n this.adapter_.registerInteractionHandler('keyup', this.deactivateHandler_);\n }\n else {\n POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.registerDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n });\n }\n };\n MDCRippleFoundation.prototype.deregisterRootHandlers_ = function () {\n var _this = this;\n ACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.deregisterInteractionHandler(evtType, _this.activateHandler_);\n });\n this.adapter_.deregisterInteractionHandler('focus', this.focusHandler_);\n this.adapter_.deregisterInteractionHandler('blur', this.blurHandler_);\n if (this.adapter_.isUnbounded()) {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n };\n MDCRippleFoundation.prototype.deregisterDeactivationHandlers_ = function () {\n var _this = this;\n this.adapter_.deregisterInteractionHandler('keyup', this.deactivateHandler_);\n POINTER_DEACTIVATION_EVENT_TYPES.forEach(function (evtType) {\n _this.adapter_.deregisterDocumentInteractionHandler(evtType, _this.deactivateHandler_);\n });\n };\n MDCRippleFoundation.prototype.removeCssVars_ = function () {\n var _this = this;\n var rippleStrings = MDCRippleFoundation.strings;\n var keys = Object.keys(rippleStrings);\n keys.forEach(function (key) {\n if (key.indexOf('VAR_') === 0) {\n _this.adapter_.updateCssVariable(rippleStrings[key], null);\n }\n });\n };\n MDCRippleFoundation.prototype.activate_ = function (evt) {\n var _this = this;\n if (this.adapter_.isSurfaceDisabled()) {\n return;\n }\n var activationState = this.activationState_;\n if (activationState.isActivated) {\n return;\n }\n // Avoid reacting to follow-on events fired by touch device after an already-processed user interaction\n var previousActivationEvent = this.previousActivationEvent_;\n var isSameInteraction = previousActivationEvent && evt !== undefined && previousActivationEvent.type !== evt.type;\n if (isSameInteraction) {\n return;\n }\n activationState.isActivated = true;\n activationState.isProgrammatic = evt === undefined;\n activationState.activationEvent = evt;\n activationState.wasActivatedByPointer = activationState.isProgrammatic ? false : evt !== undefined && (evt.type === 'mousedown' || evt.type === 'touchstart' || evt.type === 'pointerdown');\n var hasActivatedChild = evt !== undefined && activatedTargets.length > 0 && activatedTargets.some(function (target) { return _this.adapter_.containsEventTarget(target); });\n if (hasActivatedChild) {\n // Immediately reset activation state, while preserving logic that prevents touch follow-on events\n this.resetActivationState_();\n return;\n }\n if (evt !== undefined) {\n activatedTargets.push(evt.target);\n this.registerDeactivationHandlers_(evt);\n }\n activationState.wasElementMadeActive = this.checkElementMadeActive_(evt);\n if (activationState.wasElementMadeActive) {\n this.animateActivation_();\n }\n requestAnimationFrame(function () {\n // Reset array on next frame after the current event has had a chance to bubble to prevent ancestor ripples\n activatedTargets = [];\n if (!activationState.wasElementMadeActive\n && evt !== undefined\n && (evt.key === ' ' || evt.keyCode === 32)) {\n // If space was pressed, try again within an rAF call to detect :active, because different UAs report\n // active states inconsistently when they're called within event handling code:\n // - https://bugs.chromium.org/p/chromium/issues/detail?id=635971\n // - https://bugzilla.mozilla.org/show_bug.cgi?id=1293741\n // We try first outside rAF to support Edge, which does not exhibit this problem, but will crash if a CSS\n // variable is set within a rAF callback for a submit button interaction (#2241).\n activationState.wasElementMadeActive = _this.checkElementMadeActive_(evt);\n if (activationState.wasElementMadeActive) {\n _this.animateActivation_();\n }\n }\n if (!activationState.wasElementMadeActive) {\n // Reset activation state immediately if element was not made active.\n _this.activationState_ = _this.defaultActivationState_();\n }\n });\n };\n MDCRippleFoundation.prototype.checkElementMadeActive_ = function (evt) {\n return (evt !== undefined && evt.type === 'keydown') ? this.adapter_.isSurfaceActive() : true;\n };\n MDCRippleFoundation.prototype.animateActivation_ = function () {\n var _this = this;\n var _a = MDCRippleFoundation.strings, VAR_FG_TRANSLATE_START = _a.VAR_FG_TRANSLATE_START, VAR_FG_TRANSLATE_END = _a.VAR_FG_TRANSLATE_END;\n var _b = MDCRippleFoundation.cssClasses, FG_DEACTIVATION = _b.FG_DEACTIVATION, FG_ACTIVATION = _b.FG_ACTIVATION;\n var DEACTIVATION_TIMEOUT_MS = MDCRippleFoundation.numbers.DEACTIVATION_TIMEOUT_MS;\n this.layoutInternal_();\n var translateStart = '';\n var translateEnd = '';\n if (!this.adapter_.isUnbounded()) {\n var _c = this.getFgTranslationCoordinates_(), startPoint = _c.startPoint, endPoint = _c.endPoint;\n translateStart = startPoint.x + \"px, \" + startPoint.y + \"px\";\n translateEnd = endPoint.x + \"px, \" + endPoint.y + \"px\";\n }\n this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_START, translateStart);\n this.adapter_.updateCssVariable(VAR_FG_TRANSLATE_END, translateEnd);\n // Cancel any ongoing activation/deactivation animations\n clearTimeout(this.activationTimer_);\n clearTimeout(this.fgDeactivationRemovalTimer_);\n this.rmBoundedActivationClasses_();\n this.adapter_.removeClass(FG_DEACTIVATION);\n // Force layout in order to re-trigger the animation.\n this.adapter_.computeBoundingRect();\n this.adapter_.addClass(FG_ACTIVATION);\n this.activationTimer_ = setTimeout(function () { return _this.activationTimerCallback_(); }, DEACTIVATION_TIMEOUT_MS);\n };\n MDCRippleFoundation.prototype.getFgTranslationCoordinates_ = function () {\n var _a = this.activationState_, activationEvent = _a.activationEvent, wasActivatedByPointer = _a.wasActivatedByPointer;\n var startPoint;\n if (wasActivatedByPointer) {\n startPoint = getNormalizedEventCoords(activationEvent, this.adapter_.getWindowPageOffset(), this.adapter_.computeBoundingRect());\n }\n else {\n startPoint = {\n x: this.frame_.width / 2,\n y: this.frame_.height / 2,\n };\n }\n // Center the element around the start point.\n startPoint = {\n x: startPoint.x - (this.initialSize_ / 2),\n y: startPoint.y - (this.initialSize_ / 2),\n };\n var endPoint = {\n x: (this.frame_.width / 2) - (this.initialSize_ / 2),\n y: (this.frame_.height / 2) - (this.initialSize_ / 2),\n };\n return { startPoint: startPoint, endPoint: endPoint };\n };\n MDCRippleFoundation.prototype.runDeactivationUXLogicIfReady_ = function () {\n var _this = this;\n // This method is called both when a pointing device is released, and when the activation animation ends.\n // The deactivation animation should only run after both of those occur.\n var FG_DEACTIVATION = MDCRippleFoundation.cssClasses.FG_DEACTIVATION;\n var _a = this.activationState_, hasDeactivationUXRun = _a.hasDeactivationUXRun, isActivated = _a.isActivated;\n var activationHasEnded = hasDeactivationUXRun || !isActivated;\n if (activationHasEnded && this.activationAnimationHasEnded_) {\n this.rmBoundedActivationClasses_();\n this.adapter_.addClass(FG_DEACTIVATION);\n this.fgDeactivationRemovalTimer_ = setTimeout(function () {\n _this.adapter_.removeClass(FG_DEACTIVATION);\n }, numbers.FG_DEACTIVATION_MS);\n }\n };\n MDCRippleFoundation.prototype.rmBoundedActivationClasses_ = function () {\n var FG_ACTIVATION = MDCRippleFoundation.cssClasses.FG_ACTIVATION;\n this.adapter_.removeClass(FG_ACTIVATION);\n this.activationAnimationHasEnded_ = false;\n this.adapter_.computeBoundingRect();\n };\n MDCRippleFoundation.prototype.resetActivationState_ = function () {\n var _this = this;\n this.previousActivationEvent_ = this.activationState_.activationEvent;\n this.activationState_ = this.defaultActivationState_();\n // Touch devices may fire additional events for the same interaction within a short time.\n // Store the previous event until it's safe to assume that subsequent events are for new interactions.\n setTimeout(function () { return _this.previousActivationEvent_ = undefined; }, MDCRippleFoundation.numbers.TAP_DELAY_MS);\n };\n MDCRippleFoundation.prototype.deactivate_ = function () {\n var _this = this;\n var activationState = this.activationState_;\n // This can happen in scenarios such as when you have a keyup event that blurs the element.\n if (!activationState.isActivated) {\n return;\n }\n var state = tslib_1.__assign({}, activationState);\n if (activationState.isProgrammatic) {\n requestAnimationFrame(function () { return _this.animateDeactivation_(state); });\n this.resetActivationState_();\n }\n else {\n this.deregisterDeactivationHandlers_();\n requestAnimationFrame(function () {\n _this.activationState_.hasDeactivationUXRun = true;\n _this.animateDeactivation_(state);\n _this.resetActivationState_();\n });\n }\n };\n MDCRippleFoundation.prototype.animateDeactivation_ = function (_a) {\n var wasActivatedByPointer = _a.wasActivatedByPointer, wasElementMadeActive = _a.wasElementMadeActive;\n if (wasActivatedByPointer || wasElementMadeActive) {\n this.runDeactivationUXLogicIfReady_();\n }\n };\n MDCRippleFoundation.prototype.layoutInternal_ = function () {\n var _this = this;\n this.frame_ = this.adapter_.computeBoundingRect();\n var maxDim = Math.max(this.frame_.height, this.frame_.width);\n // Surface diameter is treated differently for unbounded vs. bounded ripples.\n // Unbounded ripple diameter is calculated smaller since the surface is expected to already be padded appropriately\n // to extend the hitbox, and the ripple is expected to meet the edges of the padded hitbox (which is typically\n // square). Bounded ripples, on the other hand, are fully expected to expand beyond the surface's longest diameter\n // (calculated based on the diagonal plus a constant padding), and are clipped at the surface's border via\n // `overflow: hidden`.\n var getBoundedRadius = function () {\n var hypotenuse = Math.sqrt(Math.pow(_this.frame_.width, 2) + Math.pow(_this.frame_.height, 2));\n return hypotenuse + MDCRippleFoundation.numbers.PADDING;\n };\n this.maxRadius_ = this.adapter_.isUnbounded() ? maxDim : getBoundedRadius();\n // Ripple is sized as a fraction of the largest dimension of the surface, then scales up using a CSS scale transform\n this.initialSize_ = Math.floor(maxDim * MDCRippleFoundation.numbers.INITIAL_ORIGIN_SCALE);\n this.fgScale_ = \"\" + this.maxRadius_ / this.initialSize_;\n this.updateLayoutCssVars_();\n };\n MDCRippleFoundation.prototype.updateLayoutCssVars_ = function () {\n var _a = MDCRippleFoundation.strings, VAR_FG_SIZE = _a.VAR_FG_SIZE, VAR_LEFT = _a.VAR_LEFT, VAR_TOP = _a.VAR_TOP, VAR_FG_SCALE = _a.VAR_FG_SCALE;\n this.adapter_.updateCssVariable(VAR_FG_SIZE, this.initialSize_ + \"px\");\n this.adapter_.updateCssVariable(VAR_FG_SCALE, this.fgScale_);\n if (this.adapter_.isUnbounded()) {\n this.unboundedCoords_ = {\n left: Math.round((this.frame_.width / 2) - (this.initialSize_ / 2)),\n top: Math.round((this.frame_.height / 2) - (this.initialSize_ / 2)),\n };\n this.adapter_.updateCssVariable(VAR_LEFT, this.unboundedCoords_.left + \"px\");\n this.adapter_.updateCssVariable(VAR_TOP, this.unboundedCoords_.top + \"px\");\n }\n };\n return MDCRippleFoundation;\n}(MDCFoundation));\nexport { MDCRippleFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCRippleFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * Stores result from supportsCssVariables to avoid redundant processing to\n * detect CSS custom variable support.\n */\nvar supportsCssVariables_;\n/**\n * Stores result from applyPassive to avoid redundant processing to detect\n * passive event listener support.\n */\nvar supportsPassive_;\nfunction detectEdgePseudoVarBug(windowObj) {\n // Detect versions of Edge with buggy var() support\n // See: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11495448/\n var document = windowObj.document;\n var node = document.createElement('div');\n node.className = 'mdc-ripple-surface--test-edge-var-bug';\n document.body.appendChild(node);\n // The bug exists if ::before style ends up propagating to the parent element.\n // Additionally, getComputedStyle returns null in iframes with display: \"none\" in Firefox,\n // but Firefox is known to support CSS custom properties correctly.\n // See: https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n var computedStyle = windowObj.getComputedStyle(node);\n var hasPseudoVarBug = computedStyle !== null && computedStyle.borderTopStyle === 'solid';\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n return hasPseudoVarBug;\n}\nexport function supportsCssVariables(windowObj, forceRefresh) {\n if (forceRefresh === void 0) { forceRefresh = false; }\n var CSS = windowObj.CSS;\n var supportsCssVars = supportsCssVariables_;\n if (typeof supportsCssVariables_ === 'boolean' && !forceRefresh) {\n return supportsCssVariables_;\n }\n var supportsFunctionPresent = CSS && typeof CSS.supports === 'function';\n if (!supportsFunctionPresent) {\n return false;\n }\n var explicitlySupportsCssVars = CSS.supports('--css-vars', 'yes');\n // See: https://bugs.webkit.org/show_bug.cgi?id=154669\n // See: README section on Safari\n var weAreFeatureDetectingSafari10plus = (CSS.supports('(--css-vars: yes)') &&\n CSS.supports('color', '#00000000'));\n if (explicitlySupportsCssVars || weAreFeatureDetectingSafari10plus) {\n supportsCssVars = !detectEdgePseudoVarBug(windowObj);\n }\n else {\n supportsCssVars = false;\n }\n if (!forceRefresh) {\n supportsCssVariables_ = supportsCssVars;\n }\n return supportsCssVars;\n}\n/**\n * Determine whether the current browser supports passive event listeners, and\n * if so, use them.\n */\nexport function applyPassive(globalObj, forceRefresh) {\n if (globalObj === void 0) { globalObj = window; }\n if (forceRefresh === void 0) { forceRefresh = false; }\n if (supportsPassive_ === undefined || forceRefresh) {\n var isSupported_1 = false;\n try {\n globalObj.document.addEventListener('test', function () { return undefined; }, {\n get passive() {\n isSupported_1 = true;\n return isSupported_1;\n },\n });\n }\n catch (e) {\n } // tslint:disable-line:no-empty cannot throw error due to tests. tslint also disables console.log.\n supportsPassive_ = isSupported_1;\n }\n return supportsPassive_ ? { passive: true } : false;\n}\nexport function getNormalizedEventCoords(evt, pageOffset, clientRect) {\n if (!evt) {\n return { x: 0, y: 0 };\n }\n var x = pageOffset.x, y = pageOffset.y;\n var documentX = x + clientRect.left;\n var documentY = y + clientRect.top;\n var normalizedX;\n var normalizedY;\n // Determine touch point relative to the ripple container.\n if (evt.type === 'touchstart') {\n var touchEvent = evt;\n normalizedX = touchEvent.changedTouches[0].pageX - documentX;\n normalizedY = touchEvent.changedTouches[0].pageY - documentY;\n }\n else {\n var mouseEvent = evt;\n normalizedX = mouseEvent.pageX - documentX;\n normalizedY = mouseEvent.pageY - documentY;\n }\n return { x: normalizedX, y: normalizedY };\n}\n//# sourceMappingURL=util.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCComponent } from '@material/base/component';\nimport { MDCRipple } from '@material/ripple/component';\nimport { cssClasses, strings } from './constants';\nimport { MDCFixedTopAppBarFoundation } from './fixed/foundation';\nimport { MDCShortTopAppBarFoundation } from './short/foundation';\nimport { MDCTopAppBarFoundation } from './standard/foundation';\nvar MDCTopAppBar = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBar, _super);\n function MDCTopAppBar() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n MDCTopAppBar.attachTo = function (root) {\n return new MDCTopAppBar(root);\n };\n MDCTopAppBar.prototype.initialize = function (rippleFactory) {\n if (rippleFactory === void 0) { rippleFactory = function (el) { return MDCRipple.attachTo(el); }; }\n this.navIcon_ = this.root_.querySelector(strings.NAVIGATION_ICON_SELECTOR);\n // Get all icons in the toolbar and instantiate the ripples\n var icons = [].slice.call(this.root_.querySelectorAll(strings.ACTION_ITEM_SELECTOR));\n if (this.navIcon_) {\n icons.push(this.navIcon_);\n }\n this.iconRipples_ = icons.map(function (icon) {\n var ripple = rippleFactory(icon);\n ripple.unbounded = true;\n return ripple;\n });\n this.scrollTarget_ = window;\n };\n MDCTopAppBar.prototype.destroy = function () {\n this.iconRipples_.forEach(function (iconRipple) { return iconRipple.destroy(); });\n _super.prototype.destroy.call(this);\n };\n MDCTopAppBar.prototype.setScrollTarget = function (target) {\n // Remove scroll handler from the previous scroll target\n this.foundation_.destroyScrollHandler();\n this.scrollTarget_ = target;\n // Initialize scroll handler on the new scroll target\n this.foundation_.initScrollHandler();\n };\n MDCTopAppBar.prototype.getDefaultFoundation = function () {\n var _this = this;\n // DO NOT INLINE this variable. For backward compatibility, foundations take a Partial.\n // To ensure we don't accidentally omit any methods, we need a separate, strongly typed adapter variable.\n // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n var adapter = {\n hasClass: function (className) { return _this.root_.classList.contains(className); },\n addClass: function (className) { return _this.root_.classList.add(className); },\n removeClass: function (className) { return _this.root_.classList.remove(className); },\n setStyle: function (property, value) { return _this.root_.style.setProperty(property, value); },\n getTopAppBarHeight: function () { return _this.root_.clientHeight; },\n registerNavigationIconInteractionHandler: function (evtType, handler) {\n if (_this.navIcon_) {\n _this.navIcon_.addEventListener(evtType, handler);\n }\n },\n deregisterNavigationIconInteractionHandler: function (evtType, handler) {\n if (_this.navIcon_) {\n _this.navIcon_.removeEventListener(evtType, handler);\n }\n },\n notifyNavigationIconClicked: function () { return _this.emit(strings.NAVIGATION_EVENT, {}); },\n registerScrollHandler: function (handler) { return _this.scrollTarget_.addEventListener('scroll', handler); },\n deregisterScrollHandler: function (handler) { return _this.scrollTarget_.removeEventListener('scroll', handler); },\n registerResizeHandler: function (handler) { return window.addEventListener('resize', handler); },\n deregisterResizeHandler: function (handler) { return window.removeEventListener('resize', handler); },\n getViewportScrollY: function () {\n var win = _this.scrollTarget_;\n var el = _this.scrollTarget_;\n return win.pageYOffset !== undefined ? win.pageYOffset : el.scrollTop;\n },\n getTotalActionItems: function () { return _this.root_.querySelectorAll(strings.ACTION_ITEM_SELECTOR).length; },\n };\n // tslint:enable:object-literal-sort-keys\n var foundation;\n if (this.root_.classList.contains(cssClasses.SHORT_CLASS)) {\n foundation = new MDCShortTopAppBarFoundation(adapter);\n }\n else if (this.root_.classList.contains(cssClasses.FIXED_CLASS)) {\n foundation = new MDCFixedTopAppBarFoundation(adapter);\n }\n else {\n foundation = new MDCTopAppBarFoundation(adapter);\n }\n return foundation;\n };\n return MDCTopAppBar;\n}(MDCComponent));\nexport { MDCTopAppBar };\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nvar cssClasses = {\n 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_COLLAPSED_CLASS: 'mdc-top-app-bar--short-collapsed',\n SHORT_HAS_ACTION_ITEM_CLASS: 'mdc-top-app-bar--short-has-action-item',\n};\nvar numbers = {\n DEBOUNCE_THROTTLE_RESIZE_TIME_MS: 100,\n MAX_TOP_APP_BAR_HEIGHT: 128,\n};\nvar 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};\nexport { cssClasses, numbers, strings };\n//# sourceMappingURL=constants.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { cssClasses } from '../constants';\nimport { MDCTopAppBarFoundation } from '../standard/foundation';\nvar MDCFixedTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCFixedTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCFixedTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n /**\n * State variable for the previous scroll iteration top app bar state\n */\n _this.wasScrolled_ = false;\n _this.scrollHandler_ = function () { return _this.fixedScrollHandler_(); };\n return _this;\n }\n /**\n * Scroll handler for applying/removing the modifier class on the fixed top app bar.\n */\n MDCFixedTopAppBarFoundation.prototype.fixedScrollHandler_ = function () {\n var currentScroll = this.adapter_.getViewportScrollY();\n if (currentScroll <= 0) {\n if (this.wasScrolled_) {\n this.adapter_.removeClass(cssClasses.FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = false;\n }\n }\n else {\n if (!this.wasScrolled_) {\n this.adapter_.addClass(cssClasses.FIXED_SCROLLED_CLASS);\n this.wasScrolled_ = true;\n }\n }\n };\n return MDCFixedTopAppBarFoundation;\n}(MDCTopAppBarFoundation));\nexport { MDCFixedTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCFixedTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { MDCFoundation } from '@material/base/foundation';\nimport { cssClasses, numbers, strings } from './constants';\nvar MDCTopAppBarBaseFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBarBaseFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCTopAppBarBaseFoundation(adapter) {\n var _this = _super.call(this, tslib_1.__assign({}, MDCTopAppBarBaseFoundation.defaultAdapter, adapter)) || this;\n _this.navClickHandler_ = function () { return _this.adapter_.notifyNavigationIconClicked(); };\n return _this;\n }\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"strings\", {\n get: function () {\n return strings;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"cssClasses\", {\n get: function () {\n return cssClasses;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"numbers\", {\n get: function () {\n return numbers;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MDCTopAppBarBaseFoundation, \"defaultAdapter\", {\n /**\n * See {@link MDCTopAppBarAdapter} for typing information on parameters and return types.\n */\n get: function () {\n // tslint:disable:object-literal-sort-keys Methods should be in the same order as the adapter interface.\n return {\n addClass: function () { return undefined; },\n removeClass: function () { return undefined; },\n hasClass: function () { return false; },\n setStyle: function () { return undefined; },\n getTopAppBarHeight: function () { return 0; },\n registerNavigationIconInteractionHandler: function () { return undefined; },\n deregisterNavigationIconInteractionHandler: function () { return undefined; },\n notifyNavigationIconClicked: function () { return undefined; },\n registerScrollHandler: function () { return undefined; },\n deregisterScrollHandler: function () { return undefined; },\n registerResizeHandler: function () { return undefined; },\n deregisterResizeHandler: function () { return undefined; },\n getViewportScrollY: function () { return 0; },\n getTotalActionItems: function () { return 0; },\n };\n // tslint:enable:object-literal-sort-keys\n },\n enumerable: true,\n configurable: true\n });\n MDCTopAppBarBaseFoundation.prototype.init = function () {\n this.initScrollHandler();\n this.initResizeHandler_();\n this.adapter_.registerNavigationIconInteractionHandler('click', this.navClickHandler_);\n };\n MDCTopAppBarBaseFoundation.prototype.destroy = function () {\n this.destroyScrollHandler();\n this.destroyResizeHandler_();\n this.adapter_.deregisterNavigationIconInteractionHandler('click', this.navClickHandler_);\n };\n MDCTopAppBarBaseFoundation.prototype.initScrollHandler = function () {\n if (this.scrollHandler_) {\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.destroyScrollHandler = function () {\n if (this.scrollHandler_) {\n this.adapter_.deregisterScrollHandler(this.scrollHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.initResizeHandler_ = function () {\n if (this.resizeHandler_) {\n this.adapter_.registerResizeHandler(this.resizeHandler_);\n }\n };\n MDCTopAppBarBaseFoundation.prototype.destroyResizeHandler_ = function () {\n if (this.resizeHandler_) {\n this.adapter_.deregisterResizeHandler(this.resizeHandler_);\n }\n };\n return MDCTopAppBarBaseFoundation;\n}(MDCFoundation));\nexport { MDCTopAppBarBaseFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCTopAppBarBaseFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2019 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nexport * from './component';\nexport * from './foundation';\nexport * from './fixed/foundation';\nexport * from './short/foundation';\nexport * from './standard/foundation';\n//# sourceMappingURL=index.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { cssClasses } from '../constants';\nimport { MDCTopAppBarBaseFoundation } from '../foundation';\nvar MDCShortTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCShortTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCShortTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n _this.isCollapsed_ = false;\n return _this;\n }\n Object.defineProperty(MDCShortTopAppBarFoundation.prototype, \"isCollapsed\", {\n // Public visibility for backward compatibility.\n get: function () {\n return this.isCollapsed_;\n },\n enumerable: true,\n configurable: true\n });\n MDCShortTopAppBarFoundation.prototype.init = function () {\n var _this = this;\n _super.prototype.init.call(this);\n if (this.adapter_.getTotalActionItems() > 0) {\n this.adapter_.addClass(cssClasses.SHORT_HAS_ACTION_ITEM_CLASS);\n }\n if (!this.adapter_.hasClass(cssClasses.SHORT_COLLAPSED_CLASS)) {\n this.scrollHandler_ = function () { return _this.shortAppBarScrollHandler_(); };\n this.adapter_.registerScrollHandler(this.scrollHandler_);\n this.shortAppBarScrollHandler_();\n }\n };\n MDCShortTopAppBarFoundation.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n };\n /**\n * Scroll handler for applying/removing the collapsed modifier class on the short top app bar.\n */\n MDCShortTopAppBarFoundation.prototype.shortAppBarScrollHandler_ = function () {\n var currentScroll = this.adapter_.getViewportScrollY();\n if (currentScroll <= 0) {\n if (this.isCollapsed_) {\n this.adapter_.removeClass(cssClasses.SHORT_COLLAPSED_CLASS);\n this.isCollapsed_ = false;\n }\n }\n else {\n if (!this.isCollapsed_) {\n this.adapter_.addClass(cssClasses.SHORT_COLLAPSED_CLASS);\n this.isCollapsed_ = true;\n }\n }\n };\n return MDCShortTopAppBarFoundation;\n}(MDCTopAppBarBaseFoundation));\nexport { MDCShortTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCShortTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","/**\n * @license\n * Copyright 2018 Google Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in\n * all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n */\nimport * as tslib_1 from \"tslib\";\nimport { numbers } from '../constants';\nimport { MDCTopAppBarBaseFoundation } from '../foundation';\nvar INITIAL_VALUE = 0;\nvar MDCTopAppBarFoundation = /** @class */ (function (_super) {\n tslib_1.__extends(MDCTopAppBarFoundation, _super);\n /* istanbul ignore next: optional argument is not a branch statement */\n function MDCTopAppBarFoundation(adapter) {\n var _this = _super.call(this, adapter) || this;\n /**\n * Indicates if the top app bar was docked in the previous scroll handler iteration.\n */\n _this.wasDocked_ = true;\n /**\n * Indicates if the top app bar is docked in the fully shown position.\n */\n _this.isDockedShowing_ = true;\n /**\n * Variable for current scroll position of the top app bar\n */\n _this.currentAppBarOffsetTop_ = 0;\n /**\n * Used to prevent the top app bar from being scrolled out of view during resize events\n */\n _this.isCurrentlyBeingResized_ = false;\n /**\n * The timeout that's used to throttle the resize events\n */\n _this.resizeThrottleId_ = INITIAL_VALUE;\n /**\n * The timeout that's used to debounce toggling the isCurrentlyBeingResized_ variable after a resize\n */\n _this.resizeDebounceId_ = INITIAL_VALUE;\n _this.lastScrollPosition_ = _this.adapter_.getViewportScrollY();\n _this.topAppBarHeight_ = _this.adapter_.getTopAppBarHeight();\n _this.scrollHandler_ = function () { return _this.topAppBarScrollHandler_(); };\n _this.resizeHandler_ = function () { return _this.topAppBarResizeHandler_(); };\n return _this;\n }\n MDCTopAppBarFoundation.prototype.destroy = function () {\n _super.prototype.destroy.call(this);\n this.adapter_.setStyle('top', '');\n };\n /**\n * Function to determine if the DOM needs to update.\n */\n MDCTopAppBarFoundation.prototype.checkForUpdate_ = function () {\n var offscreenBoundaryTop = -this.topAppBarHeight_;\n var hasAnyPixelsOffscreen = this.currentAppBarOffsetTop_ < 0;\n var hasAnyPixelsOnscreen = this.currentAppBarOffsetTop_ > offscreenBoundaryTop;\n var partiallyShowing = hasAnyPixelsOffscreen && hasAnyPixelsOnscreen;\n // If it's partially showing, it can't be docked.\n if (partiallyShowing) {\n this.wasDocked_ = false;\n }\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 }\n else if (this.isDockedShowing_ !== hasAnyPixelsOnscreen) {\n this.isDockedShowing_ = hasAnyPixelsOnscreen;\n return true;\n }\n }\n return partiallyShowing;\n };\n /**\n * Function to move the top app bar if needed.\n */\n MDCTopAppBarFoundation.prototype.moveTopAppBar_ = function () {\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 var offset = this.currentAppBarOffsetTop_;\n if (Math.abs(offset) >= this.topAppBarHeight_) {\n offset = -numbers.MAX_TOP_APP_BAR_HEIGHT;\n }\n this.adapter_.setStyle('top', offset + 'px');\n }\n };\n /**\n * Scroll handler for the default scroll behavior of the top app bar.\n */\n MDCTopAppBarFoundation.prototype.topAppBarScrollHandler_ = function () {\n var currentScrollPosition = Math.max(this.adapter_.getViewportScrollY(), 0);\n var diff = currentScrollPosition - this.lastScrollPosition_;\n this.lastScrollPosition_ = currentScrollPosition;\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 if (this.currentAppBarOffsetTop_ > 0) {\n this.currentAppBarOffsetTop_ = 0;\n }\n else if (Math.abs(this.currentAppBarOffsetTop_) > this.topAppBarHeight_) {\n this.currentAppBarOffsetTop_ = -this.topAppBarHeight_;\n }\n this.moveTopAppBar_();\n }\n };\n /**\n * Top app bar resize handler that throttle/debounce functions that execute updates.\n */\n MDCTopAppBarFoundation.prototype.topAppBarResizeHandler_ = function () {\n var _this = this;\n // Throttle resize events 10 p/s\n if (!this.resizeThrottleId_) {\n this.resizeThrottleId_ = setTimeout(function () {\n _this.resizeThrottleId_ = INITIAL_VALUE;\n _this.throttledResizeHandler_();\n }, numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n }\n this.isCurrentlyBeingResized_ = true;\n if (this.resizeDebounceId_) {\n clearTimeout(this.resizeDebounceId_);\n }\n this.resizeDebounceId_ = setTimeout(function () {\n _this.topAppBarScrollHandler_();\n _this.isCurrentlyBeingResized_ = false;\n _this.resizeDebounceId_ = INITIAL_VALUE;\n }, numbers.DEBOUNCE_THROTTLE_RESIZE_TIME_MS);\n };\n /**\n * Throttled function that updates the top app bar scrolled values if the\n * top app bar height changes.\n */\n MDCTopAppBarFoundation.prototype.throttledResizeHandler_ = function () {\n var currentHeight = this.adapter_.getTopAppBarHeight();\n if (this.topAppBarHeight_ !== currentHeight) {\n this.wasDocked_ = false;\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 return MDCTopAppBarFoundation;\n}(MDCTopAppBarBaseFoundation));\nexport { MDCTopAppBarFoundation };\n// tslint:disable-next-line:no-default-export Needed for backward compatibility with MDC Web v0.44.0 and earlier.\nexport default MDCTopAppBarFoundation;\n//# sourceMappingURL=foundation.js.map","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".mdc-top-app-bar {\\n background-color: #0072d9;\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9);\\n color: white;\\n display: flex;\\n position: fixed;\\n flex-direction: column;\\n justify-content: space-between;\\n box-sizing: border-box;\\n width: 100%;\\n z-index: 4; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon {\\n color: #ffffff;\\n /* @alternate */\\n color: var(--mdc-theme-on-primary, #ffffff); }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item::before, .mdc-top-app-bar .mdc-top-app-bar__action-item::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after {\\n background-color: #ffffff; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-top-app-bar .mdc-top-app-bar__action-item::before, .mdc-top-app-bar .mdc-top-app-bar__action-item::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-on-primary, #ffffff); } }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:hover::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:hover::before {\\n opacity: 0.08; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):focus::before, .mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded--background-focused::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):focus::before,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.24; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded)::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item:not(.mdc-ripple-upgraded):active::after,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.24; }\\n .mdc-top-app-bar .mdc-top-app-bar__action-item.mdc-ripple-upgraded,\\n .mdc-top-app-bar .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.24; }\\n .mdc-top-app-bar__row {\\n display: flex;\\n position: relative;\\n box-sizing: border-box;\\n width: 100%;\\n height: 64px; }\\n .mdc-top-app-bar__section {\\n display: inline-flex;\\n flex: 1 1 auto;\\n align-items: center;\\n min-width: 0;\\n padding: 8px 12px;\\n z-index: 1; }\\n .mdc-top-app-bar__section--align-start {\\n justify-content: flex-start;\\n order: -1; }\\n .mdc-top-app-bar__section--align-end {\\n justify-content: flex-end;\\n order: 1; }\\n .mdc-top-app-bar__title {\\n font-family: Roboto, sans-serif;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-font-smoothing: antialiased;\\n font-size: 1.25rem;\\n line-height: 2rem;\\n font-weight: 500;\\n letter-spacing: 0.0125em;\\n text-decoration: inherit;\\n text-transform: inherit;\\n /* @noflip */\\n padding-left: 20px;\\n /* @noflip */\\n padding-right: 0;\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n overflow: hidden;\\n z-index: 1; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar__title, .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 20px; }\\n .mdc-top-app-bar__action-item, .mdc-top-app-bar__navigation-icon {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n display: flex;\\n position: relative;\\n flex-shrink: 0;\\n align-items: center;\\n justify-content: center;\\n box-sizing: border-box;\\n width: 48px;\\n height: 48px;\\n padding: 12px;\\n border: none;\\n outline: none;\\n background-color: transparent;\\n fill: currentColor;\\n color: inherit;\\n text-decoration: none;\\n cursor: pointer; }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__action-item::after, .mdc-top-app-bar__navigation-icon::before, .mdc-top-app-bar__navigation-icon::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__navigation-icon::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::before, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--unbounded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--foreground-activation::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded--foreground-deactivation::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-top-app-bar__action-item::before, .mdc-top-app-bar__action-item::after, .mdc-top-app-bar__navigation-icon::before, .mdc-top-app-bar__navigation-icon::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::before, .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::before, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-top-app-bar__action-item.mdc-ripple-upgraded::after, .mdc-top-app-bar__navigation-icon.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n\\n.mdc-top-app-bar--short-collapsed {\\n /* @noflip */\\n border-radius: 0 0 24px 0; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed, .mdc-top-app-bar--short-collapsed[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n border-radius: 0 0 0 24px; }\\n\\n.mdc-top-app-bar--short {\\n top: 0;\\n /* @noflip */\\n right: auto;\\n /* @noflip */\\n left: 0;\\n width: 100%;\\n transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1); }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short, .mdc-top-app-bar--short[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n right: 0;\\n /* @noflip */\\n left: auto; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__row {\\n height: 56px; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__section {\\n padding: 4px; }\\n .mdc-top-app-bar--short .mdc-top-app-bar__title {\\n transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);\\n opacity: 1; }\\n\\n.mdc-top-app-bar--short-collapsed {\\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n width: 56px;\\n transition: width 300ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__title {\\n display: none; }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__action-item {\\n transition: padding 150ms cubic-bezier(0.4, 0, 0.2, 1); }\\n\\n.mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item {\\n width: 112px; }\\n .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end, .mdc-top-app-bar--short-collapsed.mdc-top-app-bar--short-has-action-item .mdc-top-app-bar__section--align-end[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__row {\\n height: 48px; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__section {\\n padding: 0 4px; }\\n\\n.mdc-top-app-bar--dense .mdc-top-app-bar__title {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--dense .mdc-top-app-bar__title, .mdc-top-app-bar--dense .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__row {\\n height: 128px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n align-self: flex-end;\\n padding-bottom: 2px; }\\n\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__action-item,\\n.mdc-top-app-bar--prominent .mdc-top-app-bar__navigation-icon {\\n align-self: flex-start; }\\n\\n.mdc-top-app-bar--fixed {\\n transition: box-shadow 200ms linear; }\\n\\n.mdc-top-app-bar--fixed-scrolled {\\n box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);\\n transition: box-shadow 200ms linear; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__row {\\n height: 96px; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__section {\\n padding: 0 12px; }\\n\\n.mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n /* @noflip */\\n padding-left: 20px;\\n /* @noflip */\\n padding-right: 0;\\n padding-bottom: 9px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title, .mdc-top-app-bar--dense.mdc-top-app-bar--prominent .mdc-top-app-bar__title[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 20px; }\\n\\n.mdc-top-app-bar--fixed-adjust {\\n padding-top: 64px; }\\n\\n.mdc-top-app-bar--dense-fixed-adjust {\\n padding-top: 48px; }\\n\\n.mdc-top-app-bar--short-fixed-adjust {\\n padding-top: 56px; }\\n\\n.mdc-top-app-bar--prominent-fixed-adjust {\\n padding-top: 128px; }\\n\\n.mdc-top-app-bar--dense-prominent-fixed-adjust {\\n padding-top: 96px; }\\n\\n@media (max-width: 599px) {\\n .mdc-top-app-bar__row {\\n height: 56px; }\\n .mdc-top-app-bar__section {\\n padding: 4px; }\\n .mdc-top-app-bar--short {\\n transition: width 200ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed {\\n transition: width 250ms cubic-bezier(0.4, 0, 0.2, 1); }\\n .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end {\\n /* @noflip */\\n padding-left: 0;\\n /* @noflip */\\n padding-right: 12px; }\\n [dir=\\\"rtl\\\"] .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end, .mdc-top-app-bar--short-collapsed .mdc-top-app-bar__section--align-end[dir=\\\"rtl\\\"] {\\n /* @noflip */\\n padding-left: 12px;\\n /* @noflip */\\n padding-right: 0; }\\n .mdc-top-app-bar--prominent .mdc-top-app-bar__title {\\n padding-bottom: 6px; }\\n .mdc-top-app-bar--fixed-adjust {\\n padding-top: 56px; } }\\n\\n@keyframes mdc-ripple-fg-radius-in {\\n from {\\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\\n transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1); }\\n to {\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); } }\\n\\n@keyframes mdc-ripple-fg-opacity-in {\\n from {\\n animation-timing-function: linear;\\n opacity: 0; }\\n to {\\n opacity: var(--mdc-ripple-fg-opacity, 0); } }\\n\\n@keyframes mdc-ripple-fg-opacity-out {\\n from {\\n animation-timing-function: linear;\\n opacity: var(--mdc-ripple-fg-opacity, 0); }\\n to {\\n opacity: 0; } }\\n\\n.mdc-ripple-surface--test-edge-var-bug {\\n --mdc-ripple-surface-test-edge-var: 1px solid #000;\\n visibility: hidden; }\\n .mdc-ripple-surface--test-edge-var-bug::before {\\n border: var(--mdc-ripple-surface-test-edge-var); }\\n\\n.mdc-ripple-surface {\\n --mdc-ripple-fg-size: 0;\\n --mdc-ripple-left: 0;\\n --mdc-ripple-top: 0;\\n --mdc-ripple-fg-scale: 1;\\n --mdc-ripple-fg-translate-end: 0;\\n --mdc-ripple-fg-translate-start: 0;\\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\\n position: relative;\\n outline: none;\\n overflow: hidden; }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n position: absolute;\\n border-radius: 50%;\\n opacity: 0;\\n pointer-events: none;\\n content: \\\"\\\"; }\\n .mdc-ripple-surface::before {\\n transition: opacity 15ms linear, background-color 15ms linear;\\n z-index: 1; }\\n .mdc-ripple-surface.mdc-ripple-upgraded::before {\\n transform: scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-ripple-surface.mdc-ripple-upgraded::after {\\n top: 0;\\n /* @noflip */\\n left: 0;\\n transform: scale(0);\\n transform-origin: center center; }\\n .mdc-ripple-surface.mdc-ripple-upgraded--unbounded::after {\\n top: var(--mdc-ripple-top, 0);\\n /* @noflip */\\n left: var(--mdc-ripple-left, 0); }\\n .mdc-ripple-surface.mdc-ripple-upgraded--foreground-activation::after {\\n animation: mdc-ripple-fg-radius-in 225ms forwards, mdc-ripple-fg-opacity-in 75ms forwards; }\\n .mdc-ripple-surface.mdc-ripple-upgraded--foreground-deactivation::after {\\n animation: mdc-ripple-fg-opacity-out 150ms;\\n transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1)); }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n background-color: #000000; }\\n .mdc-ripple-surface:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n .mdc-ripple-surface::before, .mdc-ripple-surface::after {\\n top: calc(50% - 100%);\\n /* @noflip */\\n left: calc(50% - 100%);\\n width: 200%;\\n height: 200%; }\\n .mdc-ripple-surface.mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded] {\\n overflow: visible; }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded]::after {\\n top: calc(50% - 50%);\\n /* @noflip */\\n left: calc(50% - 50%);\\n width: 100%;\\n height: 100%; }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::before, .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after {\\n top: var(--mdc-ripple-top, calc(50% - 50%));\\n /* @noflip */\\n left: var(--mdc-ripple-left, calc(50% - 50%));\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface[data-mdc-ripple-is-unbounded].mdc-ripple-upgraded::after {\\n width: var(--mdc-ripple-fg-size, 100%);\\n height: var(--mdc-ripple-fg-size, 100%); }\\n .mdc-ripple-surface--primary::before, .mdc-ripple-surface--primary::after {\\n background-color: #0072d9; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-ripple-surface--primary::before, .mdc-ripple-surface--primary::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-primary, #0072d9); } }\\n .mdc-ripple-surface--primary:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface--primary.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface--primary:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--primary.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n .mdc-ripple-surface--accent::before, .mdc-ripple-surface--accent::after {\\n background-color: #2170b8; }\\n @supports not (-ms-ime-align: auto) {\\n .mdc-ripple-surface--accent::before, .mdc-ripple-surface--accent::after {\\n /* @alternate */\\n background-color: var(--mdc-theme-secondary, #2170b8); } }\\n .mdc-ripple-surface--accent:hover::before {\\n opacity: 0.04; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):focus::before, .mdc-ripple-surface--accent.mdc-ripple-upgraded--background-focused::before {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded)::after {\\n transition: opacity 150ms linear; }\\n .mdc-ripple-surface--accent:not(.mdc-ripple-upgraded):active::after {\\n transition-duration: 75ms;\\n opacity: 0.12; }\\n .mdc-ripple-surface--accent.mdc-ripple-upgraded {\\n --mdc-ripple-fg-opacity: 0.12; }\\n\\n.material-icons {\\n font-family: 'Material Icons';\\n font-weight: normal;\\n font-style: normal;\\n font-size: 24px;\\n line-height: 1;\\n letter-spacing: normal;\\n text-transform: none;\\n display: inline-block;\\n white-space: nowrap;\\n word-wrap: normal;\\n direction: ltr;\\n -webkit-font-feature-settings: 'liga';\\n -webkit-font-smoothing: antialiased; }\\n\\n.m-top-app-bar-bottom {\\n bottom: 0%; }\\n\", \"\"]);\n\n// exports\n","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\r\n t[p[i]] = s[p[i]];\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\r\n if (m) return m.call(o);\r\n return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n","theme();\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n theme();\r\n});\r\nfunction theme() {\r\n if (document.body && !document.body.style.getPropertyValue('--mdc-theme-primary')) {\r\n document.body.style.setProperty('--mdc-theme-primary', '#0072d9');\r\n document.body.style.setProperty('--mdc-theme-secondary', '#2170b8');\r\n document.body.style.setProperty('--mdc-theme-error', '#f5222d');\r\n document.body.style.setProperty('--mdc-theme-surface', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-primary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-secondary', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-error', '#ffffff');\r\n document.body.style.setProperty('--mdc-theme-on-surface', '#000000');\r\n document.body.style.setProperty('--mdc-theme-background', '#ffffff');\r\n document.body.style.setProperty('--mdc-shape-small-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-medium-component-radius', '4px');\r\n document.body.style.setProperty('--mdc-shape-large-component-radius', '0px');\r\n document.body.style.setProperty('--mdc-typography--font-family', 'Roboto, sans-serif');\r\n }\r\n}\r\n","\n var result = require(\"!!../../node_modules/css-loader/index.js!../../node_modules/resolve-url-loader/index.js!../../node_modules/sass-loader/lib/loader.js??ref--4-3!./index.scss\");\n\n if (typeof result === \"string\") {\n module.exports = result;\n } else {\n module.exports = result.toString();\n }\n ","\"use strict\";\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = function (d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar omi_1 = require(\"omi\");\r\nvar css = require(\"./index.scss\");\r\nvar top_app_bar_1 = require(\"@material/top-app-bar\");\r\nvar element_children_1 = require(\"../util/element-children\");\r\nvar dom_ready_1 = require(\"../util/dom-ready\");\r\n//@ts-ignore\r\nrequire(\"../theme.ts\");\r\nvar topAppBar = /** @class */ (function (_super) {\r\n __extends(topAppBar, _super);\r\n function topAppBar() {\r\n var _this = _super !== null && _super.apply(this, arguments) || this;\r\n _this.tagNum = new Object();\r\n _this.other = false;\r\n _this.onNavigation = function (evt) {\r\n evt && _this.fire('navigation', { nav: 'navigation', index: _this._findPathAccessKey(evt) });\r\n };\r\n _this.onAction = function (evt) {\r\n evt && _this.fire('action', { act: 'action', index: _this._findPathAccessKey(evt) });\r\n };\r\n return _this;\r\n }\r\n topAppBar.prototype.beforeUpdate = function () {\r\n this._setChildrenAttribute();\r\n };\r\n topAppBar.prototype.updated = function () {\r\n this.topAppBar.destroy();\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n // Get the target scrollbar of 'm-top-app-bar' and trigger the animation based on this scrollbar (JSX use) (获取 'm-top-app-bar' 的目标滚动条,根据此滚动条触发动画)\r\n if (this.props.scrollTarget) { //(JSX 使用)\r\n this.topAppBar.setScrollTarget(this.props.scrollTarget);\r\n }\r\n else { // (原生 js 使用)\r\n if (this.props.scrollTargetId) {\r\n var findTarge = document.querySelector('#' + this.props.scrollTargetId);\r\n findTarge ? this.topAppBar.setScrollTarget(findTarge) : this.topAppBar.setScrollTarget(window);\r\n }\r\n else {\r\n this.topAppBar.setScrollTarget(window);\r\n }\r\n }\r\n };\r\n topAppBar.prototype.installed = function () {\r\n var _this = this;\r\n this.topAppBar = new top_app_bar_1.MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar'));\r\n dom_ready_1.domReady(function () {\r\n _this._setChildrenAttribute();\r\n _this.update();\r\n });\r\n };\r\n topAppBar.prototype._setChildrenAttribute = function () {\r\n var _this = this;\r\n this.tagNum = new Object();\r\n this.other = false;\r\n var children = element_children_1.elementChildren(this);\r\n children.forEach(function (child) {\r\n if (child.tagName === 'NAVIGATION' || child.tagName === 'ACTIONITEM') {\r\n if (typeof _this.tagNum[child.tagName] === 'undefined') {\r\n _this.tagNum[child.tagName] = new Array();\r\n }\r\n var tagLength = _this.tagNum[child.tagName].length;\r\n child.setAttribute('slot', child.tagName + tagLength + '');\r\n _this.tagNum[child.tagName].push(tagLength);\r\n }\r\n else {\r\n child.setAttribute('slot', 'OTHER');\r\n _this.other = true;\r\n }\r\n });\r\n };\r\n topAppBar.prototype._findPathAccessKey = function (evt) {\r\n for (var i = 0; i < evt.path.length; i++)\r\n if ((evt.path[i].tagName === 'SLOT' || evt.path[i].tagName === 'OMIM') && evt.path[i].accessKey)\r\n return evt.path[i].accessKey;\r\n return -1;\r\n };\r\n topAppBar.prototype.render = function (props) {\r\n var _this = this;\r\n var node = [omi_1.h(\"header\", __assign({}, omi_1.extractClass(props, 'mdc-top-app-bar', {\r\n 'mdc-top-app-bar--fixed': props.fixed || props.bottom,\r\n 'mdc-top-app-bar--dense': props.dense,\r\n 'mdc-top-app-bar--short': props.short || props.shortCollapsed,\r\n 'mdc-top-app-bar--short-collapsed': props.shortCollapsed,\r\n 'mdc-top-app-bar--prominent': props.prominent,\r\n 'm-top-app-bar-bottom': props.bottom\r\n })),\r\n omi_1.h(\"div\", { class: 'mdc-top-app-bar__row' },\r\n (props.navigations || this.tagNum['NAVIGATION'] || props.heading) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-start' },\r\n props.navigations ? props.navigations.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__navigation-icon', { 'material-icons': !item.text }), onClick: _this.onNavigation }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__navigation-icon', name: 'NAVIGATION' + index, onClick: _this.onNavigation });\r\n })),\r\n props.heading && omi_1.h(\"span\", { class: 'mdc-top-app-bar__title' }, props.heading)),\r\n (props.actionItems || this.tagNum['ACTIONITEM']) &&\r\n omi_1.h(\"section\", { class: 'mdc-top-app-bar__section mdc-top-app-bar__section--align-end' }, props.actionItems ?\r\n props.actionItems.map(function (item, index) {\r\n return omi_1.h(\"omim\", { accessKey: index + '', class: omi_1.classNames('mdc-top-app-bar__action-item', { 'material-icons': !item.text }), onClick: _this.onAction }, typeof item.text === 'string' ? item.text : item);\r\n }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map(function (_, index) {\r\n return omi_1.h(\"slot\", { accessKey: index + '', class: 'mdc-top-app-bar__action-item', name: 'ACTIONITEM' + index, onClick: _this.onAction });\r\n }))),\r\n this.other === true && omi_1.h(\"slot\", { name: 'OTHER' })))];\r\n if (props.adjust) {\r\n node.push(omi_1.h(\"div\", __assign({}, omi_1.extractClass(props, (props.short || props.shortCollapsed) ? 'mdc-top-app-bar--short-fixed-adjust' :\r\n (props.dense && props.prominent) ? 'mdc-top-app-bar--dense-prominent-fixed-adjust' :\r\n props.dense ? 'mdc-top-app-bar--dense-fixed-adjust' :\r\n props.prominent ? 'mdc-top-app-bar--prominent-fixed-adjust' : 'mdc-top-app-bar--fixed-adjust'))));\r\n }\r\n return node;\r\n };\r\n topAppBar.css = css;\r\n topAppBar.propTypes = {\r\n heading: String,\r\n short: Boolean,\r\n shortCollapsed: Boolean,\r\n prominent: Boolean,\r\n dense: Boolean,\r\n fixed: Boolean,\r\n adjust: Boolean,\r\n bottom: Boolean,\r\n navigations: Object,\r\n actionItems: Object,\r\n scrollTarget: EventTarget,\r\n scrollTargetId: String\r\n };\r\n topAppBar = __decorate([\r\n omi_1.tag('m-top-app-bar')\r\n ], topAppBar);\r\n return topAppBar;\r\n}(omi_1.WeElement));\r\nexports.default = topAppBar;\r\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar readyCallbacks = [];\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n domReady.done = true;\r\n readyCallbacks.forEach(function (callback) {\r\n callback();\r\n });\r\n});\r\nfunction domReady(callback) {\r\n if (domReady.done) {\r\n callback();\r\n return;\r\n }\r\n readyCallbacks.push(callback);\r\n}\r\nexports.domReady = domReady;\r\ndomReady.done = false;\r\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nfunction elementChildren(element) {\r\n var childNodes = element.childNodes, children = [], i = childNodes.length;\r\n while (i--) {\r\n if (childNodes[i].nodeType == 1) {\r\n children.unshift(childNodes[i]);\r\n }\r\n }\r\n return children;\r\n}\r\nexports.elementChildren = elementChildren;\r\n","module.exports = __WEBPACK_EXTERNAL_MODULE_omi__;"],"sourceRoot":""} \ No newline at end of file diff --git a/packages/omim/src/top-app-bar/index.tsx b/packages/omim/src/top-app-bar/index.tsx index e0d2cd7c0..7b8cb17f3 100644 --- a/packages/omim/src/top-app-bar/index.tsx +++ b/packages/omim/src/top-app-bar/index.tsx @@ -55,7 +55,6 @@ export default class topAppBar extends WeElement{ } updated() { - // update this.topAppBar, more flexible operation (更新 this.topAppBar 变量,操作更灵活) this.topAppBar.destroy() this.topAppBar = new MDCTopAppBar(this.shadowRoot.querySelector('.mdc-top-app-bar')) @@ -116,43 +115,44 @@ export default class topAppBar extends WeElement{ } render(props) { - return [ -
-
- {(props.navigations || this.tagNum['NAVIGATION'] || props.heading) && -
- {props.navigations ? props.navigations.map((item, index) => { - return {typeof item.text === 'string' ? item.text : item} - }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map((_, index) => { - return - }))} - {props.heading && {props.heading}} -
} - {(props.actionItems || this.tagNum['ACTIONITEM']) && -
- {props.actionItems ? - props.actionItems.map((item, index) => { - return {typeof item.text === 'string' ? item.text : item} - }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map((_, index) => { - return - }))} -
} - {this.other === true && } -
-
, - (props.adjust &&
+
+ {(props.navigations || this.tagNum['NAVIGATION'] || props.heading) && +
+ {props.navigations ? props.navigations.map((item, index) => { + return {typeof item.text === 'string' ? item.text : item} + }) : (this.tagNum['NAVIGATION'] && this.tagNum['NAVIGATION'].map((_, index) => { + return + }))} + {props.heading && {props.heading}} +
} + {(props.actionItems || this.tagNum['ACTIONITEM']) && +
+ {props.actionItems ? + props.actionItems.map((item, index) => { + return {typeof item.text === 'string' ? item.text : item} + }) : (this.tagNum['ACTIONITEM'] && this.tagNum['ACTIONITEM'].map((_, index) => { + return + }))} +
} + {this.other === true && } +
+ ] + if(props.adjust) { + node.push(
) - ] + } + return node } } diff --git a/packages/omim/src/tree/index.d.ts b/packages/omim/src/tree/index.d.ts index 6730c43a5..540c9ea21 100644 --- a/packages/omim/src/tree/index.d.ts +++ b/packages/omim/src/tree/index.d.ts @@ -19,7 +19,7 @@ export default class Tree extends WeElement { onNodeClick: (node: any) => void; getNodeById(id: any, node: any): any; renderNode(node: any): JSX.Element; - _isChecked(node: any, obj: any, tag: any): "indeterminate" | "checked" | "unchecked"; + _isChecked(node: any, obj: any, tag: any): "checked" | "indeterminate" | "unchecked"; _getChildCount(node: any): number; render(props: any): JSX.Element; }