UNPKG

typescript-windows

Version:

Typescript React components for draggable and resizable windows.

2 lines 276 kB
/*! For license information please see 2.8b44372e.chunk.js.LICENSE.txt */ (this["webpackJsonptypescript-windows"]=this["webpackJsonptypescript-windows"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(34)},function(e,t,n){"use strict";e.exports=n(33)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(4);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t,n){e.exports=n(43)()},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(13);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";function r(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)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(8);var o=n(13);function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.isFunction=function(e){return"function"===typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"===typeof e&&!isNaN(e)},t.int=function(e){return parseInt(e,10)},t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(35)},function(e,t,n){"use strict";var r=n(42),o=r.default,i=r.DraggableCore;e.exports=o,e.exports.default=o,e.exports.DraggableCore=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(8);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";var r=n(50),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=c(n);f&&(a=a.concat(f(n)));for(var l=s(t),g=s(n),y=0;y<a.length;++y){var v=a[y];if(!i[v]&&(!r||!r[v])&&(!g||!g[v])&&(!l||!l[v])){var m=d(n,v);try{u(t,v,m)}catch(b){}}}}return t}},function(e,t,n){"use strict";function r(){return(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}).apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return k})),n.d(t,"b",(function(){return nr}));var a=n(0),l=n.n(a),s=n(14),u=n.n(s),c=n(3),f=n.n(c);n(52);function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=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}).apply(this,arguments)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return function(t){var n,r;function o(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return d(h(h(n=t.call.apply(t,[this].concat(o))||this)),"cachedTheme",void 0),d(h(h(n)),"lastOuterTheme",void 0),d(h(h(n)),"lastTheme",void 0),d(h(h(n)),"renderProvider",(function(t){var r=n.props.children;return l.a.createElement(e.Provider,{value:n.getTheme(t)},r)})),n}r=t,(n=o).prototype=Object.create(r.prototype),n.prototype.constructor=n,n.__proto__=r;var i=o.prototype;return i.getTheme=function(e){if(this.props.theme!==this.lastTheme||e!==this.lastOuterTheme||!this.cachedTheme)if(this.lastOuterTheme=e,this.lastTheme=this.props.theme,"function"===typeof this.lastTheme){var t=this.props.theme;this.cachedTheme=t(e)}else{var n=this.props.theme;this.cachedTheme=e?p({},e,n):n}return this.cachedTheme},i.render=function(){return this.props.children?l.a.createElement(e.Consumer,null,this.renderProvider):null},o}(l.a.Component)}function y(e){return function(t){var n=l.a.forwardRef((function(n,r){return l.a.createElement(e.Consumer,null,(function(e){return l.a.createElement(t,p({theme:e,ref:r},n))}))}));return u()(n,t),n}}function v(e){return function(){return l.a.useContext(e)}}var m,b=Object(a.createContext)(),w={context:m=b,withTheme:y(m),useTheme:v(m),ThemeProvider:g(m)},k=w.ThemeProvider,S="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},x="object"===("undefined"===typeof window?"undefined":S(window))&&"object"===("undefined"===typeof document?"undefined":S(document))&&9===document.nodeType;var O=function(e,t){},P=n(6),E=n(7),C={}.constructor;function j(e){if(null==e||"object"!==typeof e)return e;if(Array.isArray(e))return e.map(j);if(e.constructor!==C)return e;var t={};for(var n in e)t[n]=j(e[n]);return t}function R(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=j(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var _=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},N=function(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=_(e[r]," ");else n=_(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function T(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function L(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var l=0;l<a.length;l++){var s=a[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+T(u+": "+N(c)+";",i))}}else for(var f in a){var d=a[f];null!=d&&(r&&(r+="\n"),r+=""+T(f+": "+N(d)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+T(p+": "+N(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),T(e+" {"+r,--i)+T("}",i)):r}var D=/([[\].#*$><+~=|^:(),"'`\s])/g,M="undefined"!==typeof CSS&&CSS.escape,z=function(e){return M?M(e):e.replace(D,"\\$1")},A=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),I=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(Object(E.a)(Object(E.a)(o)),l),o.selectorText="."+z(o.id)),o}o(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=N(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?r({},e,{allowEmpty:!0}):e;return L(this.selectorText,this.style,n)},Object(P.a)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(A),F={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new I(e,t,n)}},U={indent:1,children:!0},V=/@([\w-]+)/,H=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var o=e.match(V);for(var i in this.at=o?o[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new fe(r({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=U),null==e.indent&&(e.indent=U.indent),null==e.children&&(e.children=U.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),W=/@media|@supports\s+/,B={onCreateRule:function(e,t,n){return W.test(e)?new H(e,t,n):null}},$={indent:1,children:!0},q=/@keyframes\s+([\w-]+)/,Y=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var o=e.match(q);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,a=n.sheet,l=n.generateId;for(var s in this.id=!1===i?this.name:z(l(this,a)),this.rules=new fe(r({},n,{parent:this})),t)this.rules.add(s,t[s],r({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=$),null==e.indent&&(e.indent=$.indent),null==e.children&&(e.children=$.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Q=/@keyframes\s+/,K=/\$([\w-]+)/g,X=function(e,t){return"string"===typeof e?e.replace(K,(function(e,n){return n in t?t[n]:e})):e},G=function(e,t,n){var r=e[t],o=X(r,n);o!==r&&(e[t]=o)},J={onCreateRule:function(e,t,n){return"string"===typeof e&&Q.test(e)?new Y(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&G(e,"animation-name",n.keyframes),"animation"in e&&G(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return X(e,r.keyframes);default:return e}}},Z=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return o(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?r({},e,{allowEmpty:!0}):e;return L(this.key,this.style,n)},t}(A),ee={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Z(e,t,n):null}},te=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=L(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return L(this.at,this.style,e)},e}(),ne=/@font-face/,re={onCreateRule:function(e,t,n){return ne.test(e)?new te(e,t,n):null}},oe=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return L(this.key,this.style,e)},e}(),ie={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new oe(e,t,n):null}},ae=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),le={"@charset":!0,"@import":!0,"@namespace":!0},se=[F,B,J,ee,re,ie,{onCreateRule:function(e,t,n){return e in le?new ae(e,t,n):null}}],ue={process:!0},ce={force:!0,process:!0},fe=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var o=this.options,i=o.parent,a=o.sheet,l=o.jss,s=o.Renderer,u=o.generateId,c=o.scoped,f=r({classes:this.classes,parent:i,sheet:a,jss:l,Renderer:s,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},n),d=e;e in this.raw&&(d=e+"-d"+this.counter++),this.raw[d]=t,d in this.classes&&(f.selector="."+z(this.classes[d]));var p=R(d,t,f);if(!p)return null;this.register(p);var h=void 0===f.index?this.index.length:f.index;return this.index.splice(h,0,p),p},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof I?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Y&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof I?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Y&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"===typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=ue);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,ce)}for(var f in s){var d=l.style[f],p=s[f];null==d&&d!==p&&l.prop(f,null,ce)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),de=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=r({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new fe(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"===typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),pe=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),he=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=i(t,["attached"]),o="",a=0;a<this.registry.length;a++){var l=this.registry[a];null!=n&&l.attached!==n||(o&&(o+="\n"),o+=l.toString(r))}return o},Object(P.a)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),ge=new he,ye="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ve="2f1acc6c3a606b082e5eef5e54414ffb";null==ye[ve]&&(ye[ve]=0);var me=ye[ve]++,be=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+me+o+t:i+n.key+"-"+me+(o?"-"+o:"")+"-"+t}},we=function(e){var t;return function(){return t||(t=e()),t}},ke=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(n){return""}},Se=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=N(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(o){return!1}return!0},xe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(n){}},Oe=function(e,t){return e.selectorText=t,e.selectorText===t},Pe=we((function(){return document.querySelector("head")}));function Ee(e){var t=ge.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var o=function(e){for(var t=Pe(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var Ce=we((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),je=function(e,t,n){try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(r){return!1}return e.cssRules[n]},Re=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},_e=function(){function e(e){this.getPropertyValue=ke,this.setProperty=Se,this.removeProperty=xe,this.setSelector=Oe,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&ge.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=Ce();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Ee(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else Pe().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;if("conditional"===e.type||"keyframes"===e.type){var i=Re(n,t);if(!1===(o=je(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=Re(n,t),s=je(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof de&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Ne=0,Te=function(){function e(e){this.id=Ne++,this.version="10.5.0",this.plugins=new pe,this.options={id:{minify:!1},createGenerateId:be,Renderer:x?_e:null,plugins:[]},this.generateId=be({minify:!1});for(var t=0;t<se.length;t++)this.plugins.use(se[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=r({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!==typeof n&&(n=0===ge.index?0:ge.index+1);var o=new de(e,r({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(o),o},t.removeStyleSheet=function(e){return e.detach(),ge.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"===typeof e)return this.createRule(void 0,e,t);var o=r({},n,{name:e,jss:this,Renderer:this.options.Renderer});o.generateId||(o.generateId=this.generateId),o.classes||(o.classes={}),o.keyframes||(o.keyframes={});var i=R(e,t,o);return i&&this.plugins.onProcessRule(i),i},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();function Le(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Le(r);i&&(t||(t={}),t[n]=i)}}return t}var De=function(){function e(){this.length=0,this.sheets=new WeakMap}var t=e.prototype;return t.get=function(e){var t=this.sheets.get(e);return t&&t.sheet},t.add=function(e,t){this.sheets.has(e)||(this.length++,this.sheets.set(e,{sheet:t,refs:0}))},t.manage=function(e){var t=this.sheets.get(e);if(t)return 0===t.refs&&t.sheet.attach(),t.refs++,t.sheet;O(!1,"[JSS] SheetsManager: can't find sheet to manage")},t.unmanage=function(e){var t=this.sheets.get(e);t?t.refs>0&&(t.refs--,0===t.refs&&t.sheet.detach()):O(!1,"SheetsManager: can't find sheet to unmanage")},Object(P.a)(e,[{key:"size",get:function(){return this.length}}]),e}(),Me="object"===typeof CSS&&null!=CSS&&"number"in CSS,ze=function(e){return new Te(e)},Ae=ze(),Ie=Date.now(),Fe="fnValues"+Ie,Ue="fnStyle"+ ++Ie,Ve=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=R(e,{},n);return r[Ue]=t,r},onProcessStyle:function(e,t){if(Fe in t||Ue in t)return e;var n={};for(var r in e){var o=e[r];"function"===typeof o&&(delete e[r],n[r]=o)}return t[Fe]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Ue];i&&(o.style=i(e)||{});var a=o[Fe];if(a)for(var l in a)o.prop(l,a[l](e),r)}}},He=n(19),We=function(e){return e&&e[He.a]&&e===e[He.a]()},Be=function(e){return{onCreateRule:function(t,n,r){if(!We(n))return null;var o=n,i=R(t,{},r);return o.subscribe((function(t){for(var n in t)i.prop(n,t[n],e)})),i},onProcessRule:function(t){if(!t||"style"===t.type){var n=t,r=n.style,o=function(t){var o=r[t];if(!We(o))return"continue";delete r[t],o.subscribe({next:function(r){n.prop(t,r,e)}})};for(var i in r)o(i)}}}},$e=/;\n/,qe=function(e){"string"===typeof e.style&&(e.style=function(e){for(var t={},n=e.split($e),r=0;r<n.length;r++){var o=(n[r]||"").trim();if(o){var i=o.indexOf(":");if(-1!==i){var a=o.substr(0,i).trim(),l=o.substr(i+1).trim();t[a]=l}}}return t}(e.style))};var Ye=function(){return{onProcessRule:qe}},Qe="@global",Ke="@global ",Xe=function(){function e(e,t,n){for(var o in this.type="global",this.at=Qe,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new fe(r({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Ge=function(){function e(e,t,n){this.type="global",this.at=Qe,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var o=e.substr(Ke.length);this.rule=n.jss.createRule(o,t,r({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Je=/\s*,\s*/g;function Ze(e,t){for(var n=e.split(Je),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}var et=function(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Qe)return new Xe(e,t,n);if("@"===e[0]&&e.substr(0,Ke.length)===Ke)return new Ge(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var n=e.options,o=e.style,i=o?o[Qe]:null;if(i){for(var a in i)t.addRule(a,i[a],r({},n,{selector:Ze(a,e.selector)}));delete o[Qe]}}(e,t),function(e,t){var n=e.options,o=e.style;for(var i in o)if("@"===i[0]&&i.substr(0,Qe.length)===Qe){var a=Ze(i.substr(Qe.length),e.selector);t.addRule(a,o[i],r({},n,{selector:a})),delete o[i]}}(e,t))}}},tt=function(e){return e&&"object"===typeof e&&!Array.isArray(e)},nt="extendCurrValue"+Date.now();function rt(e,t,n,o){return void 0===o&&(o={}),function(e,t,n,o){if("string"!==typeof e.extend)if(Array.isArray(e.extend))for(var i=0;i<e.extend.length;i++){var a=e.extend[i];rt("string"===typeof a?r({},e,{extend:a}):e.extend[i],t,n,o)}else for(var l in e.extend)"extend"!==l?tt(e.extend[l])?(l in o||(o[l]={}),rt(e.extend[l],t,n,o[l])):o[l]=e.extend[l]:rt(e.extend.extend,t,n,o);else{if(!n)return;var s=n.getRule(e.extend);if(!s)return;if(s===t)return;var u=s.options.parent;u&&rt(u.rules.raw[e.extend],t,n,o)}}(e,t,n,o),function(e,t,n,r){for(var o in e)"extend"!==o&&(tt(r[o])&&tt(e[o])?rt(e[o],t,n,r[o]):tt(e[o])?r[o]=rt(e[o],t,n):r[o]=e[o])}(e,t,n,o),o}var ot=function(){return{onProcessStyle:function(e,t,n){return"extend"in e?rt(e,t,n):e},onChangeValue:function(e,t,n){if("extend"!==t)return e;if(null==e||!1===e){for(var r in n[nt])n.prop(r,null);return n[nt]=null,null}if("object"===typeof e){for(var o in e)n.prop(o,e[o]);n[nt]=e}return null}}},it=/\s*,\s*/g,at=/&/g,lt=/\$([\w-]+)/g;var st=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(it),r=e.split(it),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(at,a):a+" "+s}return o}function n(e,t,n){if(n)return r({},n,{index:n.index+1});var o=e.options.nestingLevel;o=void 0===o?1:o+1;var i=r({},e.options,{nestingLevel:o,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(o,i,a){if("style"!==i.type)return o;var l,s,u=i,c=u.options.parent;for(var f in o){var d=-1!==f.indexOf("&"),p="@"===f[0];if(d||p){if(l=n(u,c,l),d){var h=t(f,u.selector);s||(s=e(c,a)),h=h.replace(lt,s),c.addRule(h,o[f],r({},l,{selector:h}))}else p&&c.addRule(f,{},l).addRule(u.key,o[f],{selector:u.selector});delete o[f]}}return o}}};function ut(e,t){if(!t)return!0;if(Array.isArray(t)){for(var n=0;n<t.length;n++){if(!ut(e,t[n]))return!1}return!0}if(t.indexOf(" ")>-1)return ut(e,t.split(" "));var r=e.options.parent;if("$"===t[0]){var o=r.getRule(t.substr(1));return!!o&&(o!==e&&(r.classes[e.key]+=" "+r.classes[o.key],!0))}return r.classes[e.key]+=" "+t,!0}var ct=function(){return{onProcessStyle:function(e,t){return"composes"in e?(ut(t,e.composes),delete e.composes,e):e}}},ft=/[A-Z]/g,dt=/^ms-/,pt={};function ht(e){return"-"+e.toLowerCase()}var gt=function(e){if(pt.hasOwnProperty(e))return pt[e];var t=e.replace(ft,ht);return pt[e]=dt.test(t)?"-"+t:t};function yt(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:gt(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(yt):t.fallbacks=yt(e.fallbacks)),t}var vt=function(){return{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=yt(e[t]);return e}return yt(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=gt(t);return t===r?e:(n.prop(r,e),null)}}},mt=Me&&CSS?CSS.px:"px",bt=Me&&CSS?CSS.ms:"ms",wt=Me&&CSS?CSS.percent:"%";function kt(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var St=kt({"animation-delay":bt,"animation-duration":bt,"background-position":mt,"background-position-x":mt,"background-position-y":mt,"background-size":mt,border:mt,"border-bottom":mt,"border-bottom-left-radius":mt,"border-bottom-right-radius":mt,"border-bottom-width":mt,"border-left":mt,"border-left-width":mt,"border-radius":mt,"border-right":mt,"border-right-width":mt,"border-top":mt,"border-top-left-radius":mt,"border-top-right-radius":mt,"border-top-width":mt,"border-width":mt,"border-block":mt,"border-block-end":mt,"border-block-end-width":mt,"border-block-start":mt,"border-block-start-width":mt,"border-block-width":mt,"border-inline":mt,"border-inline-end":mt,"border-inline-end-width":mt,"border-inline-start":mt,"border-inline-start-width":mt,"border-inline-width":mt,"border-start-start-radius":mt,"border-start-end-radius":mt,"border-end-start-radius":mt,"border-end-end-radius":mt,margin:mt,"margin-bottom":mt,"margin-left":mt,"margin-right":mt,"margin-top":mt,"margin-block":mt,"margin-block-end":mt,"margin-block-start":mt,"margin-inline":mt,"margin-inline-end":mt,"margin-inline-start":mt,padding:mt,"padding-bottom":mt,"padding-left":mt,"padding-right":mt,"padding-top":mt,"padding-block":mt,"padding-block-end":mt,"padding-block-start":mt,"padding-inline":mt,"padding-inline-end":mt,"padding-inline-start":mt,"mask-position-x":mt,"mask-position-y":mt,"mask-size":mt,height:mt,width:mt,"min-height":mt,"max-height":mt,"min-width":mt,"max-width":mt,bottom:mt,left:mt,top:mt,right:mt,inset:mt,"inset-block":mt,"inset-block-end":mt,"inset-block-start":mt,"inset-inline":mt,"inset-inline-end":mt,"inset-inline-start":mt,"box-shadow":mt,"text-shadow":mt,"column-gap":mt,"column-rule":mt,"column-rule-width":mt,"column-width":mt,"font-size":mt,"font-size-delta":mt,"letter-spacing":mt,"text-indent":mt,"text-stroke":mt,"text-stroke-width":mt,"word-spacing":mt,motion:mt,"motion-offset":mt,outline:mt,"outline-offset":mt,"outline-width":mt,perspective:mt,"perspective-origin-x":wt,"perspective-origin-y":wt,"transform-origin":wt,"transform-origin-x":wt,"transform-origin-y":wt,"transform-origin-z":wt,"transition-delay":bt,"transition-duration":bt,"vertical-align":mt,"flex-basis":mt,"shape-margin":mt,size:mt,gap:mt,grid:mt,"grid-gap":mt,"grid-row-gap":mt,"grid-column-gap":mt,"grid-template-rows":mt,"grid-template-columns":mt,"grid-auto-rows":mt,"grid-auto-columns":mt,"box-shadow-x":mt,"box-shadow-y":mt,"box-shadow-blur":mt,"box-shadow-spread":mt,"font-line-height":mt,"text-shadow-x":mt,"text-shadow-y":mt,"text-shadow-blur":mt});function xt(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=xt(e,t[r],n);else if("object"===typeof t)if("fallbacks"===e)for(var o in t)t[o]=xt(o,t[o],n);else for(var i in t)t[i]=xt(e+"-"+i,t[i],n);else if("number"===typeof t){var a=n[e]||St[e];return!a||0===t&&a===mt?t.toString():"function"===typeof a?a(t).toString():""+t+a}return t}var Ot=function(e){void 0===e&&(e={});var t=kt(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=xt(r,e[r],t);return e},onChangeValue:function(e,n){return xt(n,e,t)}}},Pt={"background-size":!0,"background-position":!0,border:!0,"border-bottom":!0,"border-left":!0,"border-top":!0,"border-right":!0,"border-radius":!0,"border-image":!0,"border-width":!0,"border-style":!0,"border-color":!0,"box-shadow":!0,flex:!0,margin:!0,padding:!0,outline:!0,"transform-origin":!0,transform:!0,transition:!0},Et={position:!0,size:!0},Ct={padding:{top:0,right:0,bottom:0,left:0},margin:{top:0,right:0,bottom:0,left:0},background:{attachment:null,color:null,image:null,position:null,repeat:null},border:{width:null,style:null,color:null},"border-top":{width:null,style:null,color:null},"border-right":{width:null,style:null,color:null},"border-bottom":{width:null,style:null,color:null},"border-left":{width:null,style:null,color:null},outline:{width:null,style:null,color:null},"list-style":{type:null,position:null,image:null},transition:{property:null,duration:null,"timing-function":null,timingFunction:null,delay:null},animation:{name:null,duration:null,"timing-function":null,timingFunction:null,delay:null,"iteration-count":null,iterationCount:null,direction:null,"fill-mode":null,fillMode:null,"play-state":null,playState:null},"box-shadow":{x:0,y:0,blur:0,spread:0,color:null,inset:null},"text-shadow":{x:0,y:0,blur:null,color:null}},jt={border:{radius:"border-radius",image:"border-image",width:"border-width",style:"border-style",color:"border-color"},"border-bottom":{width:"border-bottom-width",style:"border-bottom-style",color:"border-bottom-color"},"border-top":{width:"border-top-width",style:"border-top-style",color:"border-top-color"},"border-left":{width:"border-left-width",style:"border-left-style",color:"border-left-color"},"border-right":{width:"border-right-width",style:"border-right-style",color:"border-right-color"},background:{size:"background-size",image:"background-image"},font:{style:"font-style",variant:"font-variant",weight:"font-weight",stretch:"font-stretch",size:"font-size",family:"font-family",lineHeight:"line-height","line-height":"line-height"},flex:{grow:"flex-grow",basis:"flex-basis",direction:"flex-direction",wrap:"flex-wrap",flow:"flex-flow",shrink:"flex-shrink"},align:{self:"align-self",items:"align-items",content:"align-content"},grid:{"template-columns":"grid-template-columns",templateColumns:"grid-template-columns","template-rows":"grid-template-rows",templateRows:"grid-template-rows","template-areas":"grid-template-areas",templateAreas:"grid-template-areas",template:"grid-template","auto-columns":"grid-auto-columns",autoColumns:"grid-auto-columns","auto-rows":"grid-auto-rows",autoRows:"grid-auto-rows","auto-flow":"grid-auto-flow",autoFlow:"grid-auto-flow",row:"grid-row",column:"grid-column","row-start":"grid-row-start",rowStart:"grid-row-start","row-end":"grid-row-end",rowEnd:"grid-row-end","column-start":"grid-column-start",columnStart:"grid-column-start","column-end":"grid-column-end",columnEnd:"grid-column-end",area:"grid-area",gap:"grid-gap","row-gap":"grid-row-gap",rowGap:"grid-row-gap","column-gap":"grid-column-gap",columnGap:"grid-column-gap"}};function Rt(e,t,n,r){return null==n[t]?e:0===e.length?[]:Array.isArray(e[0])?Rt(e[0],t,n,r):"object"===typeof e[0]?function(e,t,n){return e.map((function(e){return _t(e,t,n,!1,!0)}))}(e,t,r):[e]}function _t(e,t,n,r,o){if(!Ct[t]&&!jt[t])return[];var i=[];if(jt[t]&&(e=function(e,t,n,r){for(var o in n){var i=n[o];if("undefined"!==typeof e[o]&&(r||!t.prop(i))){var a,l=Nt((a={},a[i]=e[o],a),t)[i];r?t.style.fallbacks[i]=l:t.style[i]=l}delete e[o]}return e}(e,n,jt[t],r)),Object.keys(e).length)for(var a in Ct[t])e[a]?Array.isArray(e[a])?i.push(null===Et[a]?e[a]:e[a].join(" ")):i.push(e[a]):null!=Ct[t][a]&&i.push(Ct[t][a]);return!i.length||o?i:[i]}function Nt(e,t,n){for(var r in e){var o=e[r];if(Array.isArray(o)){if(!Array.isArray(o[0])){if("fallbacks"===r){for(var i=0;i<e.fallbacks.length;i++)e.fallbacks[i]=Nt(e.fallbacks[i],t,!0);continue}e[r]=Rt(o,r,Pt,t),e[r].length||delete e[r]}}else if("object"===typeof o){if("fallbacks"===r){e.fallbacks=Nt(e.fallbacks,t,!0);continue}e[r]=_t(o,r,t,n),e[r].length||delete e[r]}else""===e[r]&&delete e[r]}return e}var Tt=function(){return{onProcessStyle:function(e,t){if(!e||"style"!==t.type)return e;if(Array.isArray(e)){for(var n=0;n<e.length;n++)e[n]=Nt(e[n],t);return e}return Nt(e,t)}}};function Lt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Dt(e){return function(e){if(Array.isArray(e))return Lt(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"===typeof e)return Lt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lt(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Mt="",zt="",At="",It="",Ft=x&&"ontouchstart"in document.documentElement;if(x){var Ut={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},Vt=document.createElement("p").style;for(var Ht in Ut)if(Ht+"Transform"in Vt){Mt=Ht,zt=Ut[Ht];break}"Webkit"===Mt&&"msHyphens"in Vt&&(Mt="ms",zt=Ut.ms,It="edge"),"Webkit"===Mt&&"-apple-trailing-word"in Vt&&(At="apple")}var Wt=Mt,Bt=zt,$t=At,qt=It,Yt=Ft;var Qt={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===Wt?"-webkit-"+e:Bt+e)}},Kt={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===Wt?Bt+"print-"+e:e)}},Xt=/[-\s]+(.)?/g;function Gt(e,t){return t?t.toUpperCase():""}function Jt(e){return e.replace(Xt,Gt)}function Zt(e){return Jt("-"+e)}var en,tn={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===Wt){var n="mask-image";if(Jt(n)in t)return e;if(Wt+Zt(n)in t)return Bt+e}return e}},nn={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==$t||Yt?e:Bt+e)}},rn={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:Bt+e)}},on={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:Bt+e)}},an={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===Wt||"ms"===Wt&&"edge"!==qt?Bt+e:e)}},ln={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===Wt||"ms"===Wt||"apple"===$t?Bt+e:e)}},sn={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===Wt?"WebkitColumn"+Zt(e)in t&&Bt+"column-"+e:"Moz"===Wt&&("page"+Zt(e)in t&&"page-"+e))}},un={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===Wt)return e;var n=e.replace("-inline","");return Wt+Zt(n)in t&&Bt+n}},cn={supportedProperty:function(e,t){return Jt(e)in t&&e}},fn={supportedProperty:function(e,t){var n=Zt(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:Wt+n in t?Bt+e:"Webkit"!==Wt&&"Webkit"+n in t&&"-webkit-"+e}},dn={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===Wt?""+Bt+e:e)}},pn={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===Wt?Bt+"scroll-chaining":e)}},hn={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},gn={supportedProperty:function(e,t){var n=hn[e];return!!n&&(Wt+Zt(n)in t&&Bt+n)}},yn={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},vn=Object.keys(yn),mn=function(e){return Bt+e},bn=[Qt,Kt,tn,nn,rn,on,an,ln,sn,un,cn,fn,dn,pn,gn,{supportedProperty:function(e,t,n){var r=n.multiple;if(vn.indexOf(e)>-1){var o=yn[e];if(!Array.isArray(o))return Wt+Zt(o)in t&&Bt+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(Wt+Zt(o[0])in t))return!1;return o.map(mn)}return!1}}],wn=bn.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),kn=bn.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Dt(t.noPrefill)),e}),[]),Sn={};if(x){en=document.createElement("p");var xn=window.getComputedStyle(document.documentElement,"");for(var On in xn)isNaN(On)||(Sn[xn[On]]=xn[On]);kn.forEach((function(e){return delete Sn[e]}))}function Pn(e,t){if(void 0===t&&(t={}),!en)return e;if(null!=Sn[e])return Sn[e];"transition"!==e&&"transform"!==e||(t[e]=e in en.style);for(var n=0;n<wn.length&&(Sn[e]=wn[n](e,en.style,t),!Sn[e]);n++);try{en.style[e]=""}catch(r){return!1}return Sn[e]}var En,Cn={},jn={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Rn=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function _n(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Pn(t):", "+Pn(n);return r||(t||n)}function Nn(e,t){var n=t;if(!En||"content"===e)return t;if("string"!==typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Cn[r])return Cn[r];try{En.style[e]=n}catch(o){return Cn[r]=!1,!1}if(jn[e])n=n.replace(Rn,_n);else if(""===En.style[e]&&("-ms-flex"===(n=Bt+n)&&(En.style[e]="-ms-flexbox"),En.style[e]=n,""===En.style[e]))return Cn[r]=!1,!1;return En.style[e]="",Cn[r]=n,Cn[r]}x&&(En=document.createElement("p"));var Tn=function(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Pn(n);i&&i!==n&&(o=!0);var a=!1,l=Nn(i,N(r));l&&l!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=l||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at="-"===(n=t.at)[1]||"ms"===Wt?n:"@"+Bt+"keyframes"+n.substr(10)}var n},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Nn(t,N(e))||e}}};var Ln=function(){var e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}}},Dn=function(e){return void 0===e&&(e={}),{plugins:[Ve(),Be(e.observable),Ye(),et(),ot(),st(),ct(),vt(),Ot(e.defaultUnit),Tt(),Tn(),Ln()]}};function Mn(e,t){if(e===t)return!0;if(!e||!t)return!1;var n=Object.keys(e),r=Object.keys(t),o=n.length;if(r.length!==o)return!1;for(var i=0;i<o;i++){var a=n[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}var zn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLan