Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

akutil-common

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

akutil-common - npm Package Compare versions

Comparing version 2.7.1 to 2.8.0

15

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="2.7.1"></a>
## 2.7.1 (2016-10-17)
<a name="2.8.0"></a>
# 2.8.0 (2016-10-19)
<a name="akutil-common@2.8.0"></a>
# akutil-common@2.8.0 (2016-10-19)
### Bug Fixes
* **bump:** update skate version to ^3.1.2 ([f6bf589](https://bitbucket.org/atlassian/atlaskit/commits/f6bf589))
<a name="akutil-common@2.7.1"></a>

@@ -12,2 +22,3 @@ ## akutil-common@2.7.1 (2016-10-17)

* **tests:** fix test to determine if a local and remote date are the same ([9ec6976](https://bitbucket.org/atlassian/atlaskit/commits/9ec6976))
* Fix skate version to 3.1.0 ([4251f8f](https://bitbucket.org/atlassian/atlaskit/commits/4251f8f))

@@ -14,0 +25,0 @@

36

dist/bundle-cjs.js

@@ -77,7 +77,11 @@ module.exports = /******/

}), exports.style = exports.KeyPressHandler = exports.keyCode = exports.enumeration = void 0;
var _properties = __webpack_require__(1), _keycode = __webpack_require__(4), _keycode2 = _interopRequireDefault(_keycode), _index = __webpack_require__(5), _index2 = _interopRequireDefault(_index), _style = __webpack_require__(9), _style2 = _interopRequireDefault(_style);
exports.enumeration = _properties.enumeration, exports.keyCode = _keycode2["default"],
var _keycode = __webpack_require__(1), _keycode2 = _interopRequireDefault(_keycode), _properties = __webpack_require__(2), _properties2 = _interopRequireDefault(_properties), _index = __webpack_require__(5), _index2 = _interopRequireDefault(_index), _style = __webpack_require__(9), _style2 = _interopRequireDefault(_style);
exports.enumeration = _properties2["default"], exports.keyCode = _keycode2["default"],
exports.KeyPressHandler = _index2["default"], exports.style = _style2["default"];
}, /* 1 */
/***/
function(module, exports) {
module.exports = require("keycode");
}, /* 2 */
/***/
function(module, exports, __webpack_require__) {

@@ -94,3 +98,3 @@ "use strict";

for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
return args.unshift({}, def), _objectAssign2["default"].apply(null, args);
return args.unshift({}, def), _assign2["default"].apply(Object, args);
};

@@ -129,10 +133,10 @@ }

value: !0
}), exports.enumeration = void 0;
var _objectAssign = __webpack_require__(2), _objectAssign2 = _interopRequireDefault(_objectAssign), _attributes = __webpack_require__(3);
exports.enumeration = enumeration;
}, /* 2 */
});
var _assign = __webpack_require__(3), _assign2 = _interopRequireDefault(_assign), _attributes = __webpack_require__(4);
exports["default"] = enumeration;
}, /* 3 */
/***/
function(module, exports) {
module.exports = require("object-assign");
}, /* 3 */
module.exports = require("babel-runtime/core-js/object/assign");
}, /* 4 */
/***/

@@ -154,4 +158,4 @@ function(module, exports) {

return enumValue.toLowerCase() === value.toLowerCase();
}, isMissing = null === value || void 0 === value, isInvalid = !isMissing && !enumOptions.values.filter(matchesEnumValue).length;
return isMissing ? enumOptions.hasOwnProperty("missingDefault") ? enumOptions.missingDefault : null : isInvalid ? enumOptions.hasOwnProperty("invalidDefault") ? enumOptions.invalidDefault : enumOptions.hasOwnProperty("missingDefault") ? enumOptions.missingDefault : null : enumOptions.values.length ? enumOptions.values.filter(matchesEnumValue)[0] : null;
}, isMissing = null === value || "undefined" == typeof value, isInvalid = !isMissing && !enumOptions.values.filter(matchesEnumValue).length;
return isMissing ? {}.hasOwnProperty.call(enumOptions, "missingDefault") ? enumOptions.missingDefault : null : isInvalid ? {}.hasOwnProperty.call(enumOptions, "invalidDefault") ? enumOptions.invalidDefault : {}.hasOwnProperty.call(enumOptions, "missingDefault") ? enumOptions.missingDefault : null : enumOptions.values.length ? enumOptions.values.filter(matchesEnumValue)[0] : null;
}

@@ -173,6 +177,2 @@ function setEnumAttribute(el, enumOptions, newValue) {

exports.computeEnumValue = computeEnumValue, exports.setEnumAttribute = setEnumAttribute;
}, /* 4 */
/***/
function(module, exports) {
module.exports = require("keycode");
}, /* 5 */

@@ -193,3 +193,3 @@ /***/

}), exports.CallbackInvalidError = exports.KeyInvalidError = void 0;
var _classCallCheck2 = __webpack_require__(6), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(7), _createClass3 = _interopRequireDefault(_createClass2), _keycode = __webpack_require__(4), _keycode2 = _interopRequireDefault(_keycode), _createError = __webpack_require__(8), _createError2 = _interopRequireDefault(_createError), KeyInvalidError = (0,
var _classCallCheck2 = __webpack_require__(6), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(7), _createClass3 = _interopRequireDefault(_createClass2), _keycode = __webpack_require__(1), _keycode2 = _interopRequireDefault(_keycode), _createError = __webpack_require__(8), _createError2 = _interopRequireDefault(_createError), KeyInvalidError = (0,
_createError2["default"])("KeyInvalidError"), CallbackInvalidError = (0, _createError2["default"])("CallbackInvalidError"), KeyPressHandler = function() {

@@ -300,3 +300,3 @@ /**

if (0 === selector.indexOf(":host")) if (supportsShadowDOM) rule.selectorText = selector; else {
var match = rule.selectorText.match(/:host\((.*)\)/), matchSelector = match && match[1] || "";
var match = rule.selectorText.match(/:host\((.*)\)/), matchSelector = match ? match[1] : "";
rule.selectorText = rule.options.sheet.options.elem.tagName.toLowerCase() + matchSelector;

@@ -309,3 +309,3 @@ }

if (selector.indexOf("::slotted") > -1) {
var match = selector.match(/(.*)::slotted\((.*)\)/), matchSlot = match && match[1] || "", matchSelector = match && match[2] || "";
var match = selector.match(/(.*)::slotted\((.*)\)/), matchSlot = match ? match[1] : "", matchSelector = match ? match[2] : "";
if (supportsShadowDOMV1) rule.selectorText = selector; else if (supportsShadowDOMV0) rule.selectorText = matchSlot + "::content > " + matchSelector; else {

@@ -312,0 +312,0 @@ var lcTagName = rule.options.sheet.options.elem.tagName.toLowerCase();

@@ -1,1 +0,1 @@

module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var o=n(1),i=n(4),u=r(i),s=n(5),l=r(s),a=n(9),f=r(a);t.enumeration=o.enumeration,t.keyCode=u["default"],t.KeyPressHandler=l["default"],t.style=f["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),s["default"].apply(null,n)}}function i(e){return o({coerce:function(t){return(0,l.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.enumeration=void 0;var u=n(2),s=r(u),l=n(3);t.enumeration=i},function(e,t){e.exports=require("object-assign")},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function o(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||void 0===t,o=!r&&!e.values.filter(n).length;return r?e.hasOwnProperty("missingDefault")?e.missingDefault:null:o?e.hasOwnProperty("invalidDefault")?e.invalidDefault:e.hasOwnProperty("missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function i(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=o,t.setEnumAttribute=i},function(e,t){e.exports=require("keycode")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return new v('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var i=n(6),u=r(i),s=n(7),l=r(s),a=n(4),f=r(a),d=n(8),c=r(d),v=(0,c["default"])("KeyInvalidError"),y=(0,c["default"])("CallbackInvalidError"),p=function(){function e(t,n,r){var i=this;(0,u["default"])(this,e),this.keyListeners={};var s=(0,f["default"])(t);if("undefined"==typeof s)throw o(t);if("function"!=typeof n)throw new y;this.keyListeners[s]=n,this.elem=r||document,this.listener=function(e){i.keyListeners[e.keyCode]&&i.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,l["default"])(e,[{key:"add",value:function(e,t){var n=(0,f["default"])(e);if("undefined"==typeof n)throw o(e);if("function"!=typeof t)throw new y;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,f["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=p,t.KeyInvalidError=v,t.CallbackInvalidError=y},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t){e.exports=require("create-error")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){for(;e=e.parentNode;){if(c&&e instanceof c)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:o(e)});i=n.classes,e.textContent=n.toString()}var r=e.element,i=void 0;return r("style",{css:t,ref:n,skip:!0}),i};var i=n(10),u=r(i),s=n(11),l=r(s),a=window,f=a.HTMLContentElement,d=a.HTMLSlotElement,c=a.ShadowRoot,v=function(e){return(e||"").toString().indexOf("[native code]")>-1},y=v(c),p=y&&f,m=y&&d,h=function(e){return e.name||e.selectorText};u["default"].use((0,l["default"])()),u["default"].use(function(e){var t=h(e);if(0===t.indexOf(":host"))if(y)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n&&n[1]||"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=h(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n&&n[1]||"",o=n&&n[2]||"";if(m)e.selectorText=t;else if(p)e.selectorText=r+"::content > "+o;else{var i=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=i+" slot"+r+" > "+o}}})},function(e,t){e.exports=require("jss")},function(e,t){e.exports=require("jss-nested")}]);
module.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var o=n(1),i=r(o),u=n(2),s=r(u),l=n(5),a=r(l),f=n(9),d=r(f);t.enumeration=s["default"],t.keyCode=i["default"],t.KeyPressHandler=a["default"],t.style=d["default"]},function(e,t){e.exports=require("keycode")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),s["default"].apply(Object,n)}}function i(e){return o({coerce:function(t){return(0,l.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var u=n(3),s=r(u),l=n(4);t["default"]=i},function(e,t){e.exports=require("babel-runtime/core-js/object/assign")},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function o(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||"undefined"==typeof t,o=!r&&!e.values.filter(n).length;return r?{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:o?{}.hasOwnProperty.call(e,"invalidDefault")?e.invalidDefault:{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function i(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=o,t.setEnumAttribute=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){return new v('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var i=n(6),u=r(i),s=n(7),l=r(s),a=n(1),f=r(a),d=n(8),c=r(d),v=(0,c["default"])("KeyInvalidError"),y=(0,c["default"])("CallbackInvalidError"),p=function(){function e(t,n,r){var i=this;(0,u["default"])(this,e),this.keyListeners={};var s=(0,f["default"])(t);if("undefined"==typeof s)throw o(t);if("function"!=typeof n)throw new y;this.keyListeners[s]=n,this.elem=r||document,this.listener=function(e){i.keyListeners[e.keyCode]&&i.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,l["default"])(e,[{key:"add",value:function(e,t){var n=(0,f["default"])(e);if("undefined"==typeof n)throw o(e);if("function"!=typeof t)throw new y;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,f["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=p,t.KeyInvalidError=v,t.CallbackInvalidError=y},function(e,t){e.exports=require("babel-runtime/helpers/classCallCheck")},function(e,t){e.exports=require("babel-runtime/helpers/createClass")},function(e,t){e.exports=require("create-error")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){for(;e=e.parentNode;){if(c&&e instanceof c)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:o(e)});i=n.classes,e.textContent=n.toString()}var r=e.element,i=void 0;return r("style",{css:t,ref:n,skip:!0}),i};var i=n(10),u=r(i),s=n(11),l=r(s),a=window,f=a.HTMLContentElement,d=a.HTMLSlotElement,c=a.ShadowRoot,v=function(e){return(e||"").toString().indexOf("[native code]")>-1},y=v(c),p=y&&f,h=y&&d,m=function(e){return e.name||e.selectorText};u["default"].use((0,l["default"])()),u["default"].use(function(e){var t=m(e);if(0===t.indexOf(":host"))if(y)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n?n[1]:"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=m(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n?n[1]:"",o=n?n[2]:"";if(h)e.selectorText=t;else if(p)e.selectorText=r+"::content > "+o;else{var i=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=i+" slot"+r+" > "+o}}})},function(e,t){e.exports=require("jss")},function(e,t){e.exports=require("jss-nested")}]);

@@ -1,5 +0,5 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akutilCommon=t():e.akutilCommon=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var i=n(1),o=n(4),u=r(o),a=n(5),s=r(a),l=n(27),c=r(l);t.enumeration=i.enumeration,t.keyCode=u["default"],t.KeyPressHandler=s["default"],t.style=c["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),a["default"].apply(null,n)}}function o(e){return i({coerce:function(t){return(0,s.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.enumeration=void 0;var u=n(2),a=r(u),s=n(3);t.enumeration=o},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(e){i[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}var i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,u,a=n(e),s=1;s<arguments.length;s++){r=Object(arguments[s]);for(var l in r)i.call(r,l)&&(a[l]=r[l]);if(Object.getOwnPropertySymbols){u=Object.getOwnPropertySymbols(r);for(var c=0;c<u.length;c++)o.call(r,u[c])&&(a[u[c]]=r[u[c]])}}return a}},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function i(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||void 0===t,i=!r&&!e.values.filter(n).length;return r?e.hasOwnProperty("missingDefault")?e.missingDefault:null:i?e.hasOwnProperty("invalidDefault")?e.invalidDefault:e.hasOwnProperty("missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function o(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=i,t.setEnumAttribute=o},function(e,t){t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return o[e];var i=String(e),u=n[i.toLowerCase()];if(u)return u;var u=r[i.toLowerCase()];return u?u:1===i.length?i.charCodeAt(0):void 0};var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,"delete":46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,"break":19,caps:20,"return":13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.akutilCommon=t():e.akutilCommon=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var i=n(1),o=r(i),u=n(2),s=r(u),a=n(41),l=r(a),c=n(48),f=r(c);t.enumeration=s["default"],t.keyCode=o["default"],t.KeyPressHandler=l["default"],t.style=f["default"]},function(e,t){t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return o[e];var i=String(e),u=n[i.toLowerCase()];if(u)return u;var u=r[i.toLowerCase()];return u?u:1===i.length?i.charCodeAt(0):void 0};var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,"delete":46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,"break":19,caps:20,"return":13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
* Programatically add the following
*/
for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var o=t.names=t.title={};for(i in n)o[n[i]]=i;for(var u in r)n[u]=r[u]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return new h('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var o=n(6),u=r(o),a=n(7),s=r(a),l=n(4),c=r(l),f=n(26),d=r(f),h=(0,d["default"])("KeyInvalidError"),v=(0,d["default"])("CallbackInvalidError"),y=function(){function e(t,n,r){var o=this;(0,u["default"])(this,e),this.keyListeners={};var a=(0,c["default"])(t);if("undefined"==typeof a)throw i(t);if("function"!=typeof n)throw new v;this.keyListeners[a]=n,this.elem=r||document,this.listener=function(e){o.keyListeners[e.keyCode]&&o.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,s["default"])(e,[{key:"add",value:function(e,t){var n=(0,c["default"])(e);if("undefined"==typeof n)throw i(e);if("function"!=typeof t)throw new v;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,c["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=y,t.KeyInvalidError=h,t.CallbackInvalidError=v},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var i=n(8),o=r(i);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(9),__esModule:!0}},function(e,t,n){n(10);var r=n(13).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(11);r(r.S+r.F*!n(21),"Object",{defineProperty:n(17).f})},function(e,t,n){var r=n(12),i=n(13),o=n(14),u=n(16),a="prototype",s=function(e,t,n){var l,c,f,d=e&s.F,h=e&s.G,v=e&s.S,y=e&s.P,p=e&s.B,m=e&s.W,g=h?i:i[t]||(i[t]={}),b=g[a],k=h?r:v?r[t]:(r[t]||{})[a];h&&(n=t);for(l in n)c=!d&&k&&void 0!==k[l],c&&l in g||(f=c?k[l]:n[l],g[l]=h&&"function"!=typeof k[l]?n[l]:p&&c?o(f,r):m&&k[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[a]=e[a],t}(f):y&&"function"==typeof f?o(Function.call,f):f,y&&((g.virtual||(g.virtual={}))[l]=f,e&s.R&&b&&!b[l]&&u(b,l,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(15);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(17),i=n(25);e.exports=n(21)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(18),i=n(20),o=n(24),u=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return u(e,t,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(19);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(21)&&!n(22)(function(){return 7!=Object.defineProperty(n(23)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(22)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(19),i=n(12).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,i;!function(e){"use strict";e(function(){function e(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function t(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function n(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function r(e){var t=[];for(var n in e)t.push(n);return t}function i(e){return"function"==typeof e}function o(e){return e&&"object"==typeof e&&"[object Object]"===s.call(e)}function u(e,t){if(o(t))for(var n=r(t),i=0,u=n.length;i<u;++i)e[n[i]]=a(t[n[i]])}function a(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var s=Object.prototype.toString;return function(){function r(e,t){u(this,c),u(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function i(){this.constructor=r}for(var o=new Array(arguments.length),a=0;a<o.length;++a)o[a]=arguments[a];var s=e(o),l=t(o),c=n(o);return i.prototype=l.prototype,r.prototype=new i,r.prototype.name=""+s||"CustomError",r}})}(function(o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:i(e)});o=n.classes,e.textContent=n.toString()}var r=e.element,o=void 0;return r("style",{css:t,ref:n,skip:!0}),o};var o=n(28),u=r(o),a=n(47),s=r(a),l=window,c=l.HTMLContentElement,f=l.HTMLSlotElement,d=l.ShadowRoot,h=function(e){return(e||"").toString().indexOf("[native code]")>-1},v=h(d),y=v&&c,p=v&&f,m=function(e){return e.name||e.selectorText};u["default"].use((0,s["default"])()),u["default"].use(function(e){var t=m(e);if(0===t.indexOf(":host"))if(v)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n&&n[1]||"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=m(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n&&n[1]||"",i=n&&n[2]||"";if(p)e.selectorText=t;else if(y)e.selectorText=r+"::content > "+i;else{var o=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=o+" slot"+r+" > "+i}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}/**
for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var o=t.names=t.title={};for(i in n)o[n[i]]=i;for(var u in r)n[u]=r[u]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.unshift({},e),s["default"].apply(Object,n)}}function o(e){return i({coerce:function(t){return(0,a.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var u=n(3),s=r(u),a=n(40);t["default"]=o},function(e,t,n){e.exports={"default":n(4),__esModule:!0}},function(e,t,n){n(5),e.exports=n(8).Object.assign},function(e,t,n){var r=n(6);r(r.S+r.F,"Object",{assign:n(21)})},function(e,t,n){var r=n(7),i=n(8),o=n(9),u=n(11),s="prototype",a=function(e,t,n){var l,c,f,d=e&a.F,h=e&a.G,v=e&a.S,p=e&a.P,y=e&a.B,m=e&a.W,g=h?i:i[t]||(i[t]={}),b=g[s],k=h?r:v?r[t]:(r[t]||{})[s];h&&(n=t);for(l in n)c=!d&&k&&void 0!==k[l],c&&l in g||(f=c?k[l]:n[l],g[l]=h&&"function"!=typeof k[l]?n[l]:y&&c?o(f,r):m&&k[l]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(f):p&&"function"==typeof f?o(Function.call,f):f,p&&((g.virtual||(g.virtual={}))[l]=f,e&a.R&&b&&!b[l]&&u(b,l,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,e.exports=a},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(12),i=n(20);e.exports=n(16)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(13),i=n(15),o=n(19),u=Object.defineProperty;t.f=n(16)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return u(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(16)&&!n(17)(function(){return 7!=Object.defineProperty(n(18)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(14),i=n(7).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var r=n(22),i=n(37),o=n(38),u=n(39),s=n(26),a=Object.assign;e.exports=!a||n(17)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=a({},e)[n]||Object.keys(a({},t)).join("")!=r})?function(e,t){for(var n=u(e),a=arguments.length,l=1,c=i.f,f=o.f;a>l;)for(var d,h=s(arguments[l++]),v=c?r(h).concat(c(h)):r(h),p=v.length,y=0;p>y;)f.call(h,d=v[y++])&&(n[d]=h[d]);return n}:a},function(e,t,n){var r=n(23),i=n(36);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(24),i=n(25),o=n(29)(!1),u=n(33)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),a=0,l=[];for(n in s)n!=u&&r(s,n)&&l.push(n);for(;t.length>a;)r(s,n=t[a++])&&(~o(l,n)||l.push(n));return l}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(26),i=n(28);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(27);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(25),i=n(30),o=n(32);e.exports=function(e){return function(t,n,u){var s,a=r(t),l=i(a.length),c=o(u,l);if(e&&n!=n){for(;l>c;)if(s=a[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in a)&&a[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(31),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(31),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(34)("keys"),i=n(35);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(7),i="__core-js_shared__",o=r[i]||(r[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(28);e.exports=function(e){return Object(r(e))}},function(e,t){"use strict";function n(e){return null!==e}function r(e,t,n){n?e.setAttribute(t,""):e.removeAttribute(t)}function i(e,t){var n=function(e){return e.toLowerCase()===t.toLowerCase()},r=null===t||"undefined"==typeof t,i=!r&&!e.values.filter(n).length;return r?{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:i?{}.hasOwnProperty.call(e,"invalidDefault")?e.invalidDefault:{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(n)[0]:null}function o(e,t,n){e.setAttribute(t.attribute,n)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=n,t.setBooleanAttribute=r,t.computeEnumValue=i,t.setEnumAttribute=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return new h('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var o=n(42),u=r(o),s=n(43),a=r(s),l=n(1),c=r(l),f=n(47),d=r(f),h=(0,d["default"])("KeyInvalidError"),v=(0,d["default"])("CallbackInvalidError"),p=function(){function e(t,n,r){var o=this;(0,u["default"])(this,e),this.keyListeners={};var s=(0,c["default"])(t);if("undefined"==typeof s)throw i(t);if("function"!=typeof n)throw new v;this.keyListeners[s]=n,this.elem=r||document,this.listener=function(e){o.keyListeners[e.keyCode]&&o.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,a["default"])(e,[{key:"add",value:function(e,t){var n=(0,c["default"])(e);if("undefined"==typeof n)throw i(e);if("function"!=typeof t)throw new v;this.keyListeners[n]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,c["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=p,t.KeyInvalidError=h,t.CallbackInvalidError=v},function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var i=n(44),o=r(i);t["default"]=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o["default"])(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){e.exports={"default":n(45),__esModule:!0}},function(e,t,n){n(46);var r=n(8).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(6);r(r.S+r.F*!n(16),"Object",{defineProperty:n(12).f})},function(e,t,n){var r,i;!function(e){"use strict";e(function(){function e(e){return 0===e.length?"":i(e[0])?e[1]||"":e[0]}function t(e){return 0===e.length?Error:i(e[0])?e[0]:Error}function n(e){return 0===e.length?null:i(e[0])?e[2]:e[1]}function r(e){var t=[];for(var n in e)t.push(n);return t}function i(e){return"function"==typeof e}function o(e){return e&&"object"==typeof e&&"[object Object]"===a.call(e)}function u(e,t){if(o(t))for(var n=r(t),i=0,u=n.length;i<u;++i)e[n[i]]=s(t[n[i]])}function s(e){if(null==e||"object"!=typeof e)return e;var t=e.constructor?e.constructor():Object.create(null);for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var a=Object.prototype.toString;return function(){function r(e,t){u(this,c),u(this,t),this.message=e||this.message,e instanceof Error?(this.message=e.message,this.stack=e.stack):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}function i(){this.constructor=r}for(var o=new Array(arguments.length),s=0;s<o.length;++s)o[s]=arguments[s];var a=e(o),l=t(o),c=n(o);return i.prototype=l.prototype,r.prototype=new i,r.prototype.name=""+a||"CustomError",r}})}(function(o){r=o,i="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==i&&(e.exports=i))})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function n(e){var n=u["default"].createStyleSheet(t,{elem:i(e)});o=n.classes,e.textContent=n.toString()}var r=e.element,o=void 0;return r("style",{css:t,ref:n,skip:!0}),o};var o=n(49),u=r(o),s=n(68),a=r(s),l=window,c=l.HTMLContentElement,f=l.HTMLSlotElement,d=l.ShadowRoot,h=function(e){return(e||"").toString().indexOf("[native code]")>-1},v=h(d),p=v&&c,y=v&&f,m=function(e){return e.name||e.selectorText};u["default"].use((0,a["default"])()),u["default"].use(function(e){var t=m(e);if(0===t.indexOf(":host"))if(v)e.selectorText=t;else{var n=e.selectorText.match(/:host\((.*)\)/),r=n?n[1]:"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+r}}),u["default"].use(function(e){var t=m(e);if(t.indexOf("::slotted")>-1){var n=t.match(/(.*)::slotted\((.*)\)/),r=n?n[1]:"",i=n?n[2]:"";if(y)e.selectorText=t;else if(p)e.selectorText=r+"::content > "+i;else{var o=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=o+" slot"+r+" > "+i}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}/**
* A better abstraction over CSS.

@@ -11,2 +11,2 @@ *

*/
function i(e){return new u["default"](e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=t.StyleSheet=t.Jss=void 0,t.create=i;var o=n(29),u=r(o),a=n(30),s=r(a),l=n(38),c=r(l);t.Jss=u["default"],t.StyleSheet=s["default"],t.Rule=c["default"],t["default"]=i()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(30),l=r(s),c=n(45),f=r(c),d=n(46),h=r(d),v=n(37),y=r(v),p=n(31),m=r(p),g=n(39),b=function(){function e(t){i(this,e),this.sheets=new h["default"],this.plugins=new f["default"],this.version="5.5.5",this.setup(t)}return a(e,[{key:"setup",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.generateClassName=t.generateClassName||g.generateClassName,t.plugins&&t.plugins.forEach(function(t){e.use(t)}),this}},{key:"createStyleSheet",value:function(e,t){var n=new l["default"](e,u({},t,{jss:this}));return this.sheets.add(n),n}},{key:"removeStyleSheet",value:function(e){return e.detach(),this.sheets.remove(e),this}},{key:"createRule",value:function(e,t,n){"object"==("undefined"==typeof e?"undefined":o(e))&&(n=t,t=e,e=null);var r=(0,y["default"])(e,t,u({jss:this,Renderer:(0,m["default"])(n)},n));return this.plugins.run(r),r}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){return e.plugins.use(t)}),this}}]),e}();t["default"]=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(31),s=r(a),l=n(36),c=r(l),f=function(){function e(t,n){i(this,e);var r=null==n.named||n.named,u="number"==typeof n.index?n.index:0,a=(0,s["default"])(n);this.rules=Object.create(null),this.attached=!1,this.deployed=!1,this.linked=!1,this.classes=Object.create(null),this.renderer=new a(n),this.renderer.createElement(),this.options=o({},n,{sheet:this,parent:this,classes:this.classes,renderer:this.renderer,named:r,index:u,Renderer:a}),this.rules=new c["default"](this.options);for(var l in t)this.rules.createAndRegister(l,t[l]);n.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.create(e,t,n);if(this.attached){if(!this.deployed)return i;if(r)r.push(i);else{var o=this.renderer.insertRule(i);this.options.link&&(i.renderable=o),this.queue&&(this.queue.forEach(this.renderer.insertRule,this.renderer),this.queue=null)}return i}return this.deployed=!1,i}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(e){return this.rules.toString(e)}},{key:"deploy",value:function(){return this.renderer.deploy(this),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();for(var t in e){var n=this.rules.get(t);n&&(n.renderable=e[t])}return this.linked=!0,this}}]),e}();t["default"]=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return e.Renderer?e.Renderer:e.virtual||!c["default"]?s["default"]:u["default"]}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(32),u=r(o),a=n(34),s=r(a),l=n(35),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(33),a=r(u),s=function(){function e(t){i(this,e),this.options=t}return o(e,[{key:"createElement",value:function(){var e=this.options,t=e.media,n=e.meta,r=e.element;this.head=document.head||document.getElementsByTagName("head")[0],this.element=r||document.createElement("style"),this.element.type="text/css",this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),n&&this.element.setAttribute("data-meta",n)}},{key:"style",value:function(e,t,n){try{if(null==n)return e.style[t];e.style[t]=n}catch(r){return!1}return!0}},{key:"selector",value:function(e,t){return null==t?e.selectorText:(e.selectorText=t,e.selectorText===t)}},{key:"attach",value:function(){if(!this.element.parentNode){var e=null,t=this.options,n=t.index,r=t.jss,i=r.sheets.registry;if(i.length>1){if("number"==typeof n)for(var o=0;o<i.length;o++){var u=i[o];if(u.attached&&"number"==typeof u.options.index&&!(u.options.index<=n)){e=u.renderer.element;break}}if(!e)for(var a=i.length-1;a>=0;a--){var s=i[a];if(s.attached){e=s.renderer.element.nextElementSibling;break}}}if(!e)for(var l=0;l<this.head.childNodes.length;l++){var c=this.head.childNodes[l];if("jss"===c.nodeValue){e=c;break}}this.head.insertBefore(this.element,e)}}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(e){this.element.textContent="\n"+e.toString()+"\n"}},{key:"insertRule",value:function(e){var t=this.element.sheet,n=t.cssRules,r=n.length;try{t.insertRule(e.toString(),r)}catch(i){(0,a["default"])(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e.toString())}return n[r]}},{key:"deleteRule",value:function(e){for(var t=this.element.sheet,n=t.cssRules,r=0;r<n.length;r++)if(e===n[r])return t.deleteRule(r),!0;return!1}},{key:"getRules",value:function(){for(var e=this.element.sheet.cssRules,t=Object.create(null),n=0;n<e.length;n++){var r=e[n];t[r.selectorText]=r}return t}}]),e}();t["default"]=s},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e)}return r(e,[{key:"createElement",value:function(){}},{key:"style",value:function(){}},{key:"selector",value:function(){}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){}},{key:"deleteRule",value:function(){}},{key:"getRules",value:function(){return{}}}]),e}();t["default"]=i},function(e,t){e.exports=!0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(37),s=r(a),l=function(){function e(t){i(this,e),this.map=Object.create(null),this.index=[],this.options=t,this.classes=t.classes||{}}return u(e,[{key:"create",value:function(e,t,n){var r=this.createAndRegister(e,t,n);return this.options.jss.plugins.run(r),r}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"get",value:function(e){return this.map[e]}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"register",value:function(e){return e.name&&(this.map[e.name]=e),e.className&&e.name&&(this.classes[e.name]=e.className),e.selector&&(this.map[e.selector]=e),this}},{key:"unregister",value:function(e){return delete this.map[e.name],delete this.map[e.selector],delete this.classes[e.name],this}},{key:"toString",value:function(e){for(var t="",n=0;n<this.index.length;n++){var r=this.index[n],i=r.toString(e);i&&(t&&(t+="\n"),t+=i)}return t}},{key:"getIndex",value:function(){return this.index.slice(0)}},{key:"createAndRegister",value:function(e,t,n){n=o({},n,{classes:this.classes,parent:this.options.parent,sheet:this.options.sheet,jss:this.options.jss,Renderer:this.options.Renderer}),n.className||(n.className=this.classes[e]),null==n.named&&(n.named=this.options.named);var r=(0,s["default"])(e,t,n);this.register(r);var i=void 0===n.index?this.index.length:n.index;return this.index.splice(i,0,r),r}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e&&"@"===e[0]){var r=p.exec(e)[0],i=y[r];return new i(e,t,n)}return null==n.named&&(n.named=!0),new u["default"](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(38),u=r(o),a=n(41),s=r(a),l=n(42),c=r(l),f=n(43),d=r(f),h=n(44),v=r(h),y={"@charset":s["default"],"@import":s["default"],"@namespace":s["default"],"@keyframes":c["default"],"@media":d["default"],"@supports":d["default"],"@font-face":v["default"]},p=/^@[^ ]+/},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(39),a=JSON.parse,s=JSON.stringify,l=function(){function e(t,n,i){r(this,e);var o=s(n);this.style=a(o),this.type="regular",this.options=i,this.selectorText=t||"",this.className=i.className||"",this.originalStyle=n,i.named&&(this.name=t,this.className||(this.className=i.jss.generateClassName(o,this)),this.selectorText="."+this.className),this.renderer=i.sheet?i.sheet.renderer:new i.Renderer}return o(e,[{key:"prop",value:function(e,t){return null!=t?(this.style[e]=t,this.renderable&&this.renderer.style(this.renderable,e,t),this):(this.renderable&&null==this.style[e]&&(this.style[e]=this.renderer.style(this.renderable,e)),this.style[e])}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.style(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e=Object.create(null);for(var t in this.style){var n=this.style[t];"object"!==("undefined"==typeof n?"undefined":i(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,u.toCssValue)(n))}return e}},{key:"toString",value:function(e){return(0,u.toCss)(this.selector,this.style,e)}},{key:"selector",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.sheet;if(t&&t.rules.unregister(this),this.selectorText=e,this.className=(0,u.findClassNames)(e),!this.renderable)return void(t&&t.rules.register(this));var n=this.renderer.selector(this.renderable,e);return n?void t.rules.register(this):(delete this.renderable,t.rules.register(this),void t.deploy().link())},get:function(){return this.renderable?this.renderer.selector(this.renderable):this.selectorText}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=(0,s["default"])(e);return t.name?t.name+"-"+n:n}function o(e,t){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function u(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.indentationLevel||0,i="",u=t.fallbacks;if(n.selector!==!1&&r++,u)if(Array.isArray(u))for(var a=0;a<u.length;a++){var s=u[a];for(var c in s){var f=s[c];null!=f&&(i+="\n"+o(r,c+": "+l(f)+";"))}}else for(var d in u){var h=u[d];null!=h&&(i+="\n"+o(r,d+": "+l(h)+";"))}for(var v in t){var y=t[v];null!=y&&"fallbacks"!==v&&(i+="\n"+o(r,v+": "+l(y)+";"))}return i?(n.selector!==!1&&(r--,i=o(r,e+" {"+i+"\n")+o(r,"}")),i):i}Object.defineProperty(t,"__esModule",{value:!0}),t.findClassNames=t.toCssValue=void 0,t.generateClassName=i,t.toCss=u;var a=n(40),s=r(a),l=t.toCssValue=function(){function e(e){return e.join(" ")}return function t(n){return Array.isArray(n)?Array.isArray(n[0])?t(n.map(e)):n.join(", "):n}}();t.findClassNames=function(){var e=/[.]/g,t=/[.][^ ,]+/g;return function(n){var r=n.match(t);return r?r.join(" ").replace(e,""):""}}()},function(e,t,n){function r(e,t){var n,r,i,o,u,a,s,l;for(n=3&e.length,r=e.length-n,i=t,u=3432918353,a=461845907,l=0;l<r;)s=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=(65535&o)+27492+(((o>>>16)+58964&65535)<<16);switch(s=0,n){case 3:s^=(255&e.charCodeAt(l+2))<<16;case 2:s^=(255&e.charCodeAt(l+1))<<8;case 1:s^=255&e.charCodeAt(l),s=(65535&s)*u+(((s>>>16)*u&65535)<<16)&4294967295,s=s<<15|s>>>17,s=(65535&s)*a+(((s>>>16)*a&65535)<<16)&4294967295,i^=s}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,r,i){n(this,e),this.type="simple",this.name=t,this.value=r,this.options=i}return r(e,[{key:"toString",value:function(){if(Array.isArray(this.value)){for(var e="",t=0;t<this.value.length;t++)e+=this.name+" "+this.value[t]+";",this.value[t+1]&&(e+="\n");return e}return this.name+" "+this.value+";"}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,i){n(this,e),this.type="keyframe",this.selector=t,this.options=i,this.frames=this.formatFrames(r)}return i(e,[{key:"formatFrames",value:function(e){var t=Object.create(null);for(var n in e){var i=r({},this.options,{named:!1,parent:this});t[n]=this.options.jss.createRule(n,e[n],i)}return t}},{key:"toString",value:function(){var e=this.selector+" {\n",t={indentationLevel:1};for(var n in this.frames)e+=this.frames[n].toString(t)+"\n";return e+="}"}}]),e}();t["default"]=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(36),s=r(a),l=function(){function e(t,n,r){i(this,e),this.type="conditional",this.selector=t,this.options=r,this.rules=new s["default"](o({},r,{parent:this}));for(var u in n)this.createAndRegisterRule(u,n[u]);r.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){return this.rules.create(e,t,this.getChildOptions(n))}},{key:"toString",value:function(){var e=this.rules.toString({indentationLevel:1});return e?this.selector+" {\n"+e+"\n}":""}},{key:"getChildOptions",value:function(e){return o({},this.options,{parent:this},e)}},{key:"createAndRegisterRule",value:function(e,t){return this.rules.createAndRegister(e,t,this.getChildOptions())}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(39),u=function(){function e(t,n,i){r(this,e),this.type="font-face",this.options=i,this.selector=t,this.style=n}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,o.toCss)(this.selector,this.style[n],e),this.style[n+1]&&(t+="\n");return t}return(0,o.toCss)(this.selector,this.style,e)}}]),e}();t["default"]=u},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"use",value:function(e){this.registry.push(e)}},{key:"run",value:function(e){return Array.isArray(e)?void e.forEach(this.runOne,this):void this.runOne(e)}},{key:"runOne",value:function(e){for(var t=0;t<this.registry.length;t++)this.registry[t](e)}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(!t.length||n>=t[t.length-1].options.index)return void t.push(e);for(var r=0;r<t.length;r++){var i=t[r].options;if(i.index>n)return void t.splice(r,0,e)}}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.map(function(t){return t.toString(e)}).join("\n")}}]),e}();t["default"]=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,s["default"])(!1,"[JSS] Could not find the referenced rule %s. \r\n%s",n,r),n)}}function t(e,t,n){var r=n.getRule(e);if(!r)return void n.addRule(e,i({},t.name,t.style[e]));var o=r.getRule(t.name);return o?void(o.style=u({},o.style,t.style[e])):void r.addRule(t.name,t.style[e])}return function(n){if("regular"===n.type){var r=n.options.parent,i=void 0,o=void 0;for(var a in n.style){var f="&"===a[0],d="@"===a[0];if(f||d){if(i)i=u({},i,{index:i.index+1});else{var h=n.options.nestingLevel;h=void 0===h?1:h+1,(0,s["default"])(h<2,"[JSS] Nesting is too deep. \r\n%s",n),i=u({},n.options,{named:!1,nestingLevel:h,index:r.indexOf(n)+1})}if(f){o||(o=e(r));var v=a.replace(l,n.selector).replace(c,o);r.addRule(v,n.style[a],i)}else d&&t(a,n,r);delete n.style[a]}}}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var a=n(33),s=r(a),l=/&/g,c=/\$([\w-]+)/g}])});
function i(e){return new u["default"](e)}Object.defineProperty(t,"__esModule",{value:!0}),t.Rule=t.StyleSheet=t.Jss=void 0,t.create=i;var o=n(50),u=r(o),s=n(51),a=r(s),l=n(59),c=r(l);t.Jss=u["default"],t.StyleSheet=a["default"],t.Rule=c["default"],t["default"]=i()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(51),l=r(a),c=n(66),f=r(c),d=n(67),h=r(d),v=n(58),p=r(v),y=n(52),m=r(y),g=n(60),b=function(){function e(t){i(this,e),this.sheets=new h["default"],this.plugins=new f["default"],this.version="5.5.5",this.setup(t)}return s(e,[{key:"setup",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.generateClassName=t.generateClassName||g.generateClassName,t.plugins&&t.plugins.forEach(function(t){e.use(t)}),this}},{key:"createStyleSheet",value:function(e,t){var n=new l["default"](e,u({},t,{jss:this}));return this.sheets.add(n),n}},{key:"removeStyleSheet",value:function(e){return e.detach(),this.sheets.remove(e),this}},{key:"createRule",value:function(e,t,n){"object"==("undefined"==typeof e?"undefined":o(e))&&(n=t,t=e,e=null);var r=(0,p["default"])(e,t,u({jss:this,Renderer:(0,m["default"])(n)},n));return this.plugins.run(r),r}},{key:"use",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){return e.plugins.use(t)}),this}}]),e}();t["default"]=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(52),a=r(s),l=n(57),c=r(l),f=function(){function e(t,n){i(this,e);var r=null==n.named||n.named,u="number"==typeof n.index?n.index:0,s=(0,a["default"])(n);this.rules=Object.create(null),this.attached=!1,this.deployed=!1,this.linked=!1,this.classes=Object.create(null),this.renderer=new s(n),this.renderer.createElement(),this.options=o({},n,{sheet:this,parent:this,classes:this.classes,renderer:this.renderer,named:r,index:u,Renderer:s}),this.rules=new c["default"](this.options);for(var l in t)this.rules.createAndRegister(l,t[l]);n.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"attach",value:function(){return this.attached?this:(this.deployed||this.deploy(),this.renderer.attach(),!this.linked&&this.options.link&&this.link(),this.attached=!0,this)}},{key:"detach",value:function(){return this.attached?(this.renderer.detach(),this.attached=!1,this):this}},{key:"addRule",value:function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var i=this.rules.create(e,t,n);if(this.attached){if(!this.deployed)return i;if(r)r.push(i);else{var o=this.renderer.insertRule(i);this.options.link&&(i.renderable=o),this.queue&&(this.queue.forEach(this.renderer.insertRule,this.renderer),this.queue=null)}return i}return this.deployed=!1,i}},{key:"addRules",value:function(e,t){var n=[];for(var r in e)n.push(this.addRule(r,e[r],t));return n}},{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"deleteRule",value:function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!this.attached||this.renderer.deleteRule(t.renderable))}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"toString",value:function(e){return this.rules.toString(e)}},{key:"deploy",value:function(){return this.renderer.deploy(this),this.deployed=!0,this}},{key:"link",value:function(){var e=this.renderer.getRules();for(var t in e){var n=this.rules.get(t);n&&(n.renderable=e[t])}return this.linked=!0,this}}]),e}();t["default"]=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return e.Renderer?e.Renderer:e.virtual||!c["default"]?a["default"]:u["default"]}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(53),u=r(o),s=n(55),a=r(s),l=n(56),c=r(l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(54),s=r(u),a=function(){function e(t){i(this,e),this.options=t}return o(e,[{key:"createElement",value:function(){var e=this.options,t=e.media,n=e.meta,r=e.element;this.head=document.head||document.getElementsByTagName("head")[0],this.element=r||document.createElement("style"),this.element.type="text/css",this.element.setAttribute("data-jss",""),t&&this.element.setAttribute("media",t),n&&this.element.setAttribute("data-meta",n)}},{key:"style",value:function(e,t,n){try{if(null==n)return e.style[t];e.style[t]=n}catch(r){return!1}return!0}},{key:"selector",value:function(e,t){return null==t?e.selectorText:(e.selectorText=t,e.selectorText===t)}},{key:"attach",value:function(){if(!this.element.parentNode){var e=null,t=this.options,n=t.index,r=t.jss,i=r.sheets.registry;if(i.length>1){if("number"==typeof n)for(var o=0;o<i.length;o++){var u=i[o];if(u.attached&&"number"==typeof u.options.index&&!(u.options.index<=n)){e=u.renderer.element;break}}if(!e)for(var s=i.length-1;s>=0;s--){var a=i[s];if(a.attached){e=a.renderer.element.nextElementSibling;break}}}if(!e)for(var l=0;l<this.head.childNodes.length;l++){var c=this.head.childNodes[l];if("jss"===c.nodeValue){e=c;break}}this.head.insertBefore(this.element,e)}}},{key:"detach",value:function(){this.element.parentNode.removeChild(this.element)}},{key:"deploy",value:function(e){this.element.textContent="\n"+e.toString()+"\n"}},{key:"insertRule",value:function(e){var t=this.element.sheet,n=t.cssRules,r=n.length;try{t.insertRule(e.toString(),r)}catch(i){(0,s["default"])(!1,"[JSS] Can not insert an unsupported rule \n\r%s",e.toString())}return n[r]}},{key:"deleteRule",value:function(e){for(var t=this.element.sheet,n=t.cssRules,r=0;r<n.length;r++)if(e===n[r])return t.deleteRule(r),!0;return!1}},{key:"getRules",value:function(){for(var e=this.element.sheet.cssRules,t=Object.create(null),n=0;n<e.length;n++){var r=e[n];t[r.selectorText]=r}return t}}]),e}();t["default"]=a},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e)}return r(e,[{key:"createElement",value:function(){}},{key:"style",value:function(){}},{key:"selector",value:function(){}},{key:"attach",value:function(){}},{key:"detach",value:function(){}},{key:"deploy",value:function(){}},{key:"insertRule",value:function(){}},{key:"deleteRule",value:function(){}},{key:"getRules",value:function(){return{}}}]),e}();t["default"]=i},function(e,t){e.exports=!0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(58),a=r(s),l=function(){function e(t){i(this,e),this.map=Object.create(null),this.index=[],this.options=t,this.classes=t.classes||{}}return u(e,[{key:"create",value:function(e,t,n){var r=this.createAndRegister(e,t,n);return this.options.jss.plugins.run(r),r}},{key:"remove",value:function(e){this.unregister(e),this.index.splice(this.indexOf(e),1)}},{key:"get",value:function(e){return this.map[e]}},{key:"indexOf",value:function(e){return this.index.indexOf(e)}},{key:"register",value:function(e){return e.name&&(this.map[e.name]=e),e.className&&e.name&&(this.classes[e.name]=e.className),e.selector&&(this.map[e.selector]=e),this}},{key:"unregister",value:function(e){return delete this.map[e.name],delete this.map[e.selector],delete this.classes[e.name],this}},{key:"toString",value:function(e){for(var t="",n=0;n<this.index.length;n++){var r=this.index[n],i=r.toString(e);i&&(t&&(t+="\n"),t+=i)}return t}},{key:"getIndex",value:function(){return this.index.slice(0)}},{key:"createAndRegister",value:function(e,t,n){n=o({},n,{classes:this.classes,parent:this.options.parent,sheet:this.options.sheet,jss:this.options.jss,Renderer:this.options.Renderer}),n.className||(n.className=this.classes[e]),null==n.named&&(n.named=this.options.named);var r=(0,a["default"])(e,t,n);this.register(r);var i=void 0===n.index?this.index.length:n.index;return this.index.splice(i,0,r),r}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];if(e&&"@"===e[0]){var r=y.exec(e)[0],i=p[r];return new i(e,t,n)}return null==n.named&&(n.named=!0),new u["default"](e,t,n)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(59),u=r(o),s=n(62),a=r(s),l=n(63),c=r(l),f=n(64),d=r(f),h=n(65),v=r(h),p={"@charset":a["default"],"@import":a["default"],"@namespace":a["default"],"@keyframes":c["default"],"@media":d["default"],"@supports":d["default"],"@font-face":v["default"]},y=/^@[^ ]+/},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(60),s=JSON.parse,a=JSON.stringify,l=function(){function e(t,n,i){r(this,e);var o=a(n);this.style=s(o),this.type="regular",this.options=i,this.selectorText=t||"",this.className=i.className||"",this.originalStyle=n,i.named&&(this.name=t,this.className||(this.className=i.jss.generateClassName(o,this)),this.selectorText="."+this.className),this.renderer=i.sheet?i.sheet.renderer:new i.Renderer}return o(e,[{key:"prop",value:function(e,t){return null!=t?(this.style[e]=t,this.renderable&&this.renderer.style(this.renderable,e,t),this):(this.renderable&&null==this.style[e]&&(this.style[e]=this.renderer.style(this.renderable,e)),this.style[e])}},{key:"applyTo",value:function(e){var t=this.toJSON();for(var n in t)this.renderer.style(e,n,t[n]);return this}},{key:"toJSON",value:function(){var e=Object.create(null);for(var t in this.style){var n=this.style[t];"object"!==("undefined"==typeof n?"undefined":i(n))?e[t]=n:Array.isArray(n)&&(e[t]=(0,u.toCssValue)(n))}return e}},{key:"toString",value:function(e){return(0,u.toCss)(this.selector,this.style,e)}},{key:"selector",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.sheet;if(t&&t.rules.unregister(this),this.selectorText=e,this.className=(0,u.findClassNames)(e),!this.renderable)return void(t&&t.rules.register(this));var n=this.renderer.selector(this.renderable,e);return n?void t.rules.register(this):(delete this.renderable,t.rules.register(this),void t.deploy().link())},get:function(){return this.renderable?this.renderer.selector(this.renderable):this.selectorText}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){var n=(0,a["default"])(e);return t.name?t.name+"-"+n:n}function o(e,t){for(var n="",r=0;r<e;r++)n+=" ";return n+t}function u(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.indentationLevel||0,i="",u=t.fallbacks;if(n.selector!==!1&&r++,u)if(Array.isArray(u))for(var s=0;s<u.length;s++){var a=u[s];for(var c in a){var f=a[c];null!=f&&(i+="\n"+o(r,c+": "+l(f)+";"))}}else for(var d in u){var h=u[d];null!=h&&(i+="\n"+o(r,d+": "+l(h)+";"))}for(var v in t){var p=t[v];null!=p&&"fallbacks"!==v&&(i+="\n"+o(r,v+": "+l(p)+";"))}return i?(n.selector!==!1&&(r--,i=o(r,e+" {"+i+"\n")+o(r,"}")),i):i}Object.defineProperty(t,"__esModule",{value:!0}),t.findClassNames=t.toCssValue=void 0,t.generateClassName=i,t.toCss=u;var s=n(61),a=r(s),l=t.toCssValue=function(){function e(e){return e.join(" ")}return function t(n){return Array.isArray(n)?Array.isArray(n[0])?t(n.map(e)):n.join(", "):n}}();t.findClassNames=function(){var e=/[.]/g,t=/[.][^ ,]+/g;return function(n){var r=n.match(t);return r?r.join(" ").replace(e,""):""}}()},function(e,t,n){function r(e,t){var n,r,i,o,u,s,a,l;for(n=3&e.length,r=e.length-n,i=t,u=3432918353,s=461845907,l=0;l<r;)a=255&e.charCodeAt(l)|(255&e.charCodeAt(++l))<<8|(255&e.charCodeAt(++l))<<16|(255&e.charCodeAt(++l))<<24,++l,a=(65535&a)*u+(((a>>>16)*u&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a,i=i<<13|i>>>19,o=5*(65535&i)+((5*(i>>>16)&65535)<<16)&4294967295,i=(65535&o)+27492+(((o>>>16)+58964&65535)<<16);switch(a=0,n){case 3:a^=(255&e.charCodeAt(l+2))<<16;case 2:a^=(255&e.charCodeAt(l+1))<<8;case 1:a^=255&e.charCodeAt(l),a=(65535&a)*u+(((a>>>16)*u&65535)<<16)&4294967295,a=a<<15|a>>>17,a=(65535&a)*s+(((a>>>16)*s&65535)<<16)&4294967295,i^=a}return i^=e.length,i^=i>>>16,i=2246822507*(65535&i)+((2246822507*(i>>>16)&65535)<<16)&4294967295,i^=i>>>13,i=3266489909*(65535&i)+((3266489909*(i>>>16)&65535)<<16)&4294967295,i^=i>>>16,i>>>0}e.exports=r},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(t,r,i){n(this,e),this.type="simple",this.name=t,this.value=r,this.options=i}return r(e,[{key:"toString",value:function(){if(Array.isArray(this.value)){for(var e="",t=0;t<this.value.length;t++)e+=this.name+" "+this.value[t]+";",this.value[t+1]&&(e+="\n");return e}return this.name+" "+this.value+";"}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(){function e(t,r,i){n(this,e),this.type="keyframe",this.selector=t,this.options=i,this.frames=this.formatFrames(r)}return i(e,[{key:"formatFrames",value:function(e){var t=Object.create(null);for(var n in e){var i=r({},this.options,{named:!1,parent:this});t[n]=this.options.jss.createRule(n,e[n],i)}return t}},{key:"toString",value:function(){var e=this.selector+" {\n",t={indentationLevel:1};for(var n in this.frames)e+=this.frames[n].toString(t)+"\n";return e+="}"}}]),e}();t["default"]=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(57),a=r(s),l=function(){function e(t,n,r){i(this,e),this.type="conditional",this.selector=t,this.options=r,this.rules=new a["default"](o({},r,{parent:this}));for(var u in n)this.createAndRegisterRule(u,n[u]);r.jss.plugins.run(this.rules.getIndex())}return u(e,[{key:"getRule",value:function(e){return this.rules.get(e)}},{key:"indexOf",value:function(e){return this.rules.indexOf(e)}},{key:"addRule",value:function(e,t,n){return this.rules.create(e,t,this.getChildOptions(n))}},{key:"toString",value:function(){var e=this.rules.toString({indentationLevel:1});return e?this.selector+" {\n"+e+"\n}":""}},{key:"getChildOptions",value:function(e){return o({},this.options,{parent:this},e)}},{key:"createAndRegisterRule",value:function(e,t){return this.rules.createAndRegister(e,t,this.getChildOptions())}}]),e}();t["default"]=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(60),u=function(){function e(t,n,i){r(this,e),this.type="font-face",this.options=i,this.selector=t,this.style=n}return i(e,[{key:"toString",value:function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=(0,o.toCss)(this.selector,this.style[n],e),this.style[n+1]&&(t+="\n");return t}return(0,o.toCss)(this.selector,this.style,e)}}]),e}();t["default"]=u},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"use",value:function(e){this.registry.push(e)}},{key:"run",value:function(e){return Array.isArray(e)?void e.forEach(this.runOne,this):void this.runOne(e)}},{key:"runOne",value:function(e){for(var t=0;t<this.registry.length;t++)this.registry[t](e)}}]),e}();t["default"]=i},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){n(this,e),this.registry=[]}return r(e,[{key:"add",value:function(e){var t=this.registry,n=e.options.index;if(!t.length||n>=t[t.length-1].options.index)return void t.push(e);for(var r=0;r<t.length;r++){var i=t[r].options;if(i.index>n)return void t.splice(r,0,e)}}},{key:"remove",value:function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)}},{key:"toString",value:function(e){return this.registry.map(function(t){return t.toString(e)}).join("\n")}}]),e}();t["default"]=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){function e(e){return function(t,n){var r=e.getRule(n);return r?r.selector:((0,a["default"])(!1,"[JSS] Could not find the referenced rule %s. \r\n%s",n,r),n)}}function t(e,t,n){var r=n.getRule(e);if(!r)return void n.addRule(e,i({},t.name,t.style[e]));var o=r.getRule(t.name);return o?void(o.style=u({},o.style,t.style[e])):void r.addRule(t.name,t.style[e])}return function(n){if("regular"===n.type){var r=n.options.parent,i=void 0,o=void 0;for(var s in n.style){var f="&"===s[0],d="@"===s[0];if(f||d){if(i)i=u({},i,{index:i.index+1});else{var h=n.options.nestingLevel;h=void 0===h?1:h+1,(0,a["default"])(h<2,"[JSS] Nesting is too deep. \r\n%s",n),i=u({},n.options,{named:!1,nestingLevel:h,index:r.indexOf(n)+1})}if(f){o||(o=e(r));var v=s.replace(l,n.selector).replace(c,o);r.addRule(v,n.style[s],i)}else d&&t(s,n,r);delete n.style[s]}}}}}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var s=n(54),a=r(s),l=/&/g,c=/\$([\w-]+)/g}])});
!function(root, factory) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("object-assign"), require("keycode"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("create-error"), require("jss"), require("jss-nested")) : "function" == typeof define && define.amd ? define([ "object-assign", "keycode", "babel-runtime/helpers/classCallCheck", "babel-runtime/helpers/createClass", "create-error", "jss", "jss-nested" ], factory) : "object" == typeof exports ? exports.akutilCommon = factory(require("object-assign"), require("keycode"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("create-error"), require("jss"), require("jss-nested")) : root.akutilCommon = factory(root["object-assign"], root.keycode, root["babel-runtime/helpers/classCallCheck"], root["babel-runtime/helpers/createClass"], root["create-error"], root.jss, root["jss-nested"]);
}(this, function(__WEBPACK_EXTERNAL_MODULE_2__, __WEBPACK_EXTERNAL_MODULE_4__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_10__, __WEBPACK_EXTERNAL_MODULE_11__) {
"object" == typeof exports && "object" == typeof module ? module.exports = factory(require("keycode"), require("babel-runtime/core-js/object/assign"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("create-error"), require("jss"), require("jss-nested")) : "function" == typeof define && define.amd ? define([ "keycode", "babel-runtime/core-js/object/assign", "babel-runtime/helpers/classCallCheck", "babel-runtime/helpers/createClass", "create-error", "jss", "jss-nested" ], factory) : "object" == typeof exports ? exports.akutilCommon = factory(require("keycode"), require("babel-runtime/core-js/object/assign"), require("babel-runtime/helpers/classCallCheck"), require("babel-runtime/helpers/createClass"), require("create-error"), require("jss"), require("jss-nested")) : root.akutilCommon = factory(root.keycode, root["babel-runtime/core-js/object/assign"], root["babel-runtime/helpers/classCallCheck"], root["babel-runtime/helpers/createClass"], root["create-error"], root.jss, root["jss-nested"]);
}(this, function(__WEBPACK_EXTERNAL_MODULE_1__, __WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_6__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_10__, __WEBPACK_EXTERNAL_MODULE_11__) {
/******/

@@ -80,7 +80,11 @@ return function(modules) {

}), exports.style = exports.KeyPressHandler = exports.keyCode = exports.enumeration = void 0;
var _properties = __webpack_require__(1), _keycode = __webpack_require__(4), _keycode2 = _interopRequireDefault(_keycode), _index = __webpack_require__(5), _index2 = _interopRequireDefault(_index), _style = __webpack_require__(9), _style2 = _interopRequireDefault(_style);
exports.enumeration = _properties.enumeration, exports.keyCode = _keycode2["default"],
var _keycode = __webpack_require__(1), _keycode2 = _interopRequireDefault(_keycode), _properties = __webpack_require__(2), _properties2 = _interopRequireDefault(_properties), _index = __webpack_require__(5), _index2 = _interopRequireDefault(_index), _style = __webpack_require__(9), _style2 = _interopRequireDefault(_style);
exports.enumeration = _properties2["default"], exports.keyCode = _keycode2["default"],
exports.KeyPressHandler = _index2["default"], exports.style = _style2["default"];
}, /* 1 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_1__;
}, /* 2 */
/***/
function(module, exports, __webpack_require__) {

@@ -97,3 +101,3 @@ "use strict";

for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) args[_key] = arguments[_key];
return args.unshift({}, def), _objectAssign2["default"].apply(null, args);
return args.unshift({}, def), _assign2["default"].apply(Object, args);
};

@@ -132,10 +136,10 @@ }

value: !0
}), exports.enumeration = void 0;
var _objectAssign = __webpack_require__(2), _objectAssign2 = _interopRequireDefault(_objectAssign), _attributes = __webpack_require__(3);
exports.enumeration = enumeration;
}, /* 2 */
});
var _assign = __webpack_require__(3), _assign2 = _interopRequireDefault(_assign), _attributes = __webpack_require__(4);
exports["default"] = enumeration;
}, /* 3 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_2__;
}, /* 3 */
module.exports = __WEBPACK_EXTERNAL_MODULE_3__;
}, /* 4 */
/***/

@@ -157,4 +161,4 @@ function(module, exports) {

return enumValue.toLowerCase() === value.toLowerCase();
}, isMissing = null === value || void 0 === value, isInvalid = !isMissing && !enumOptions.values.filter(matchesEnumValue).length;
return isMissing ? enumOptions.hasOwnProperty("missingDefault") ? enumOptions.missingDefault : null : isInvalid ? enumOptions.hasOwnProperty("invalidDefault") ? enumOptions.invalidDefault : enumOptions.hasOwnProperty("missingDefault") ? enumOptions.missingDefault : null : enumOptions.values.length ? enumOptions.values.filter(matchesEnumValue)[0] : null;
}, isMissing = null === value || "undefined" == typeof value, isInvalid = !isMissing && !enumOptions.values.filter(matchesEnumValue).length;
return isMissing ? {}.hasOwnProperty.call(enumOptions, "missingDefault") ? enumOptions.missingDefault : null : isInvalid ? {}.hasOwnProperty.call(enumOptions, "invalidDefault") ? enumOptions.invalidDefault : {}.hasOwnProperty.call(enumOptions, "missingDefault") ? enumOptions.missingDefault : null : enumOptions.values.length ? enumOptions.values.filter(matchesEnumValue)[0] : null;
}

@@ -176,6 +180,2 @@ function setEnumAttribute(el, enumOptions, newValue) {

exports.computeEnumValue = computeEnumValue, exports.setEnumAttribute = setEnumAttribute;
}, /* 4 */
/***/
function(module, exports) {
module.exports = __WEBPACK_EXTERNAL_MODULE_4__;
}, /* 5 */

@@ -196,3 +196,3 @@ /***/

}), exports.CallbackInvalidError = exports.KeyInvalidError = void 0;
var _classCallCheck2 = __webpack_require__(6), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(7), _createClass3 = _interopRequireDefault(_createClass2), _keycode = __webpack_require__(4), _keycode2 = _interopRequireDefault(_keycode), _createError = __webpack_require__(8), _createError2 = _interopRequireDefault(_createError), KeyInvalidError = (0,
var _classCallCheck2 = __webpack_require__(6), _classCallCheck3 = _interopRequireDefault(_classCallCheck2), _createClass2 = __webpack_require__(7), _createClass3 = _interopRequireDefault(_createClass2), _keycode = __webpack_require__(1), _keycode2 = _interopRequireDefault(_keycode), _createError = __webpack_require__(8), _createError2 = _interopRequireDefault(_createError), KeyInvalidError = (0,
_createError2["default"])("KeyInvalidError"), CallbackInvalidError = (0, _createError2["default"])("CallbackInvalidError"), KeyPressHandler = function() {

@@ -303,3 +303,3 @@ /**

if (0 === selector.indexOf(":host")) if (supportsShadowDOM) rule.selectorText = selector; else {
var match = rule.selectorText.match(/:host\((.*)\)/), matchSelector = match && match[1] || "";
var match = rule.selectorText.match(/:host\((.*)\)/), matchSelector = match ? match[1] : "";
rule.selectorText = rule.options.sheet.options.elem.tagName.toLowerCase() + matchSelector;

@@ -312,3 +312,3 @@ }

if (selector.indexOf("::slotted") > -1) {
var match = selector.match(/(.*)::slotted\((.*)\)/), matchSlot = match && match[1] || "", matchSelector = match && match[2] || "";
var match = selector.match(/(.*)::slotted\((.*)\)/), matchSlot = match ? match[1] : "", matchSelector = match ? match[2] : "";
if (supportsShadowDOMV1) rule.selectorText = selector; else if (supportsShadowDOMV0) rule.selectorText = matchSlot + "::content > " + matchSelector; else {

@@ -315,0 +315,0 @@ var lcTagName = rule.options.sheet.options.elem.tagName.toLowerCase();

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("object-assign"),require("keycode"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("create-error"),require("jss"),require("jss-nested")):"function"==typeof define&&define.amd?define(["object-assign","keycode","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","create-error","jss","jss-nested"],t):"object"==typeof exports?exports.akutilCommon=t(require("object-assign"),require("keycode"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("create-error"),require("jss"),require("jss-nested")):e.akutilCommon=t(e["object-assign"],e.keycode,e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/createClass"],e["create-error"],e.jss,e["jss-nested"])}(this,function(e,t,r,n,o,i,s){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var o=r(1),i=r(4),s=n(i),u=r(5),l=n(u),a=r(9),f=n(a);t.enumeration=o.enumeration,t.keyCode=s["default"],t.KeyPressHandler=l["default"],t.style=f["default"]},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.unshift({},e),u["default"].apply(null,r)}}function i(e){return o({coerce:function(t){return(0,l.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.enumeration=void 0;var s=r(2),u=n(s),l=r(3);t.enumeration=i},function(t,r){t.exports=e},function(e,t){"use strict";function r(e){return null!==e}function n(e,t,r){r?e.setAttribute(t,""):e.removeAttribute(t)}function o(e,t){var r=function(e){return e.toLowerCase()===t.toLowerCase()},n=null===t||void 0===t,o=!n&&!e.values.filter(r).length;return n?e.hasOwnProperty("missingDefault")?e.missingDefault:null:o?e.hasOwnProperty("invalidDefault")?e.invalidDefault:e.hasOwnProperty("missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(r)[0]:null}function i(e,t,r){e.setAttribute(t.attribute,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=r,t.setBooleanAttribute=n,t.computeEnumValue=o,t.setEnumAttribute=i},function(e,r){e.exports=t},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return new p('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var i=r(6),s=n(i),u=r(7),l=n(u),a=r(4),f=n(a),c=r(8),d=n(c),p=(0,d["default"])("KeyInvalidError"),v=(0,d["default"])("CallbackInvalidError"),m=function(){function e(t,r,n){var i=this;(0,s["default"])(this,e),this.keyListeners={};var u=(0,f["default"])(t);if("undefined"==typeof u)throw o(t);if("function"!=typeof r)throw new v;this.keyListeners[u]=r,this.elem=n||document,this.listener=function(e){i.keyListeners[e.keyCode]&&i.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,l["default"])(e,[{key:"add",value:function(e,t){var r=(0,f["default"])(e);if("undefined"==typeof r)throw o(e);if("function"!=typeof t)throw new v;this.keyListeners[r]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,f["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=m,t.KeyInvalidError=p,t.CallbackInvalidError=v},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function r(e){var r=s["default"].createStyleSheet(t,{elem:o(e)});i=r.classes,e.textContent=r.toString()}var n=e.element,i=void 0;return n("style",{css:t,ref:r,skip:!0}),i};var i=r(10),s=n(i),u=r(11),l=n(u),a=window,f=a.HTMLContentElement,c=a.HTMLSlotElement,d=a.ShadowRoot,p=function(e){return(e||"").toString().indexOf("[native code]")>-1},v=p(d),m=v&&f,y=v&&c,h=function(e){return e.name||e.selectorText};s["default"].use((0,l["default"])()),s["default"].use(function(e){var t=h(e);if(0===t.indexOf(":host"))if(v)e.selectorText=t;else{var r=e.selectorText.match(/:host\((.*)\)/),n=r&&r[1]||"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+n}}),s["default"].use(function(e){var t=h(e);if(t.indexOf("::slotted")>-1){var r=t.match(/(.*)::slotted\((.*)\)/),n=r&&r[1]||"",o=r&&r[2]||"";if(y)e.selectorText=t;else if(m)e.selectorText=n+"::content > "+o;else{var i=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=i+" slot"+n+" > "+o}}})},function(e,t){e.exports=i},function(e,t){e.exports=s}])});
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("keycode"),require("babel-runtime/core-js/object/assign"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("create-error"),require("jss"),require("jss-nested")):"function"==typeof define&&define.amd?define(["keycode","babel-runtime/core-js/object/assign","babel-runtime/helpers/classCallCheck","babel-runtime/helpers/createClass","create-error","jss","jss-nested"],t):"object"==typeof exports?exports.akutilCommon=t(require("keycode"),require("babel-runtime/core-js/object/assign"),require("babel-runtime/helpers/classCallCheck"),require("babel-runtime/helpers/createClass"),require("create-error"),require("jss"),require("jss-nested")):e.akutilCommon=t(e.keycode,e["babel-runtime/core-js/object/assign"],e["babel-runtime/helpers/classCallCheck"],e["babel-runtime/helpers/createClass"],e["create-error"],e.jss,e["jss-nested"])}(this,function(e,t,r,n,o,i,s){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.style=t.KeyPressHandler=t.keyCode=t.enumeration=void 0;var o=r(1),i=n(o),s=r(2),u=n(s),l=r(5),a=n(l),f=r(9),c=n(f);t.enumeration=u["default"],t.keyCode=i["default"],t.KeyPressHandler=a["default"],t.style=c["default"]},function(t,r){t.exports=e},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.unshift({},e),u["default"].apply(Object,r)}}function i(e){return o({coerce:function(t){return(0,l.computeEnumValue)(e,t)},"default":e.missingDefault,initial:e.attribute?e.missingDefault:void 0,deserialize:function(e){return null===e?void 0:e},serialize:function(e){return"undefined"==typeof e?e:String(e)}})}Object.defineProperty(t,"__esModule",{value:!0});var s=r(3),u=n(s),l=r(4);t["default"]=i},function(e,r){e.exports=t},function(e,t){"use strict";function r(e){return null!==e}function n(e,t,r){r?e.setAttribute(t,""):e.removeAttribute(t)}function o(e,t){var r=function(e){return e.toLowerCase()===t.toLowerCase()},n=null===t||"undefined"==typeof t,o=!n&&!e.values.filter(r).length;return n?{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:o?{}.hasOwnProperty.call(e,"invalidDefault")?e.invalidDefault:{}.hasOwnProperty.call(e,"missingDefault")?e.missingDefault:null:e.values.length?e.values.filter(r)[0]:null}function i(e,t,r){e.setAttribute(t.attribute,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.computeBooleanValue=r,t.setBooleanAttribute=n,t.computeEnumValue=o,t.setEnumAttribute=i},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){return new p('Given key "'+e+'" is not valid')}Object.defineProperty(t,"__esModule",{value:!0}),t.CallbackInvalidError=t.KeyInvalidError=void 0;var i=r(6),s=n(i),u=r(7),l=n(u),a=r(1),f=n(a),c=r(8),d=n(c),p=(0,d["default"])("KeyInvalidError"),m=(0,d["default"])("CallbackInvalidError"),y=function(){function e(t,r,n){var i=this;(0,s["default"])(this,e),this.keyListeners={};var u=(0,f["default"])(t);if("undefined"==typeof u)throw o(t);if("function"!=typeof r)throw new m;this.keyListeners[u]=r,this.elem=n||document,this.listener=function(e){i.keyListeners[e.keyCode]&&i.keyListeners[e.keyCode](e)},this.elem.addEventListener("keydown",this.listener)}return(0,l["default"])(e,[{key:"add",value:function(e,t){var r=(0,f["default"])(e);if("undefined"==typeof r)throw o(e);if("function"!=typeof t)throw new m;this.keyListeners[r]=t}},{key:"destroy",value:function(e){e?delete this.keyListeners[(0,f["default"])(e)]:(this.keyListeners=void 0,this.elem.removeEventListener("keydown",this.listener))}}]),e}();t["default"]=y,t.KeyInvalidError=p,t.CallbackInvalidError=m},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e){for(;e=e.parentNode;){if(d&&e instanceof d)return e.parentNode||e.host;if(e.shadowRoot)return e}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=function(e,t){function r(e){var r=s["default"].createStyleSheet(t,{elem:o(e)});i=r.classes,e.textContent=r.toString()}var n=e.element,i=void 0;return n("style",{css:t,ref:r,skip:!0}),i};var i=r(10),s=n(i),u=r(11),l=n(u),a=window,f=a.HTMLContentElement,c=a.HTMLSlotElement,d=a.ShadowRoot,p=function(e){return(e||"").toString().indexOf("[native code]")>-1},m=p(d),y=m&&f,v=m&&c,b=function(e){return e.name||e.selectorText};s["default"].use((0,l["default"])()),s["default"].use(function(e){var t=b(e);if(0===t.indexOf(":host"))if(m)e.selectorText=t;else{var r=e.selectorText.match(/:host\((.*)\)/),n=r?r[1]:"";e.selectorText=e.options.sheet.options.elem.tagName.toLowerCase()+n}}),s["default"].use(function(e){var t=b(e);if(t.indexOf("::slotted")>-1){var r=t.match(/(.*)::slotted\((.*)\)/),n=r?r[1]:"",o=r?r[2]:"";if(v)e.selectorText=t;else if(y)e.selectorText=n+"::content > "+o;else{var i=e.options.sheet.options.elem.tagName.toLowerCase();e.selectorText=i+" slot"+n+" > "+o}}})},function(e,t){e.exports=i},function(e,t){e.exports=s}])});
{
"name": "akutil-common",
"version": "2.7.1",
"version": "2.8.0",
"description": "Utilities shared by AtlasKit components",

@@ -26,3 +26,3 @@ "main": "dist/bundle.js",

"custom-event-polyfill": "^0.3.0",
"skatejs": "3.1.0"
"skatejs": "^3.0.0"
},

@@ -29,0 +29,0 @@ "repository": {

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Bug tracker](https://img.shields.io/badge/support-bugtracker-blue.svg)](https://ecosystem.atlassian.net/browse/AK)
[![Support forum](https://img.shields.io/badge/support-forum-blue.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,akutil-common,akutil-common@2.7.1)
[![Support forum](https://img.shields.io/badge/support-forum-blue.svg)](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,akutil-common,akutil-common@2.8.0)

@@ -117,3 +117,3 @@ # AtlasKit common utilities

Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,akutil-common,akutil-common@2.7.1).
Ask a question in our [forum](https://answers.atlassian.com/questions/ask?title=AtlasKit%3A%20&topics=atlaskit,akutil-common,akutil-common@2.8.0).

@@ -120,0 +120,0 @@ Check [if someone has already asked the same question before](https://answers.atlassian.com/questions/topics/42926171/atlaskit).

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc