New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jss-preset-default

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-preset-default - npm Package Compare versions

Comparing version 10.1.1 to 10.2.0

59

dist/jss-preset-default.js

@@ -5,3 +5,3 @@ (function (global, factory) {

(global = global || self, factory(global.jssPresetDefault = {}, global.jss));
}(this, function (exports, jss) { 'use strict';
}(this, (function (exports, jss) { 'use strict';

@@ -70,3 +70,3 @@ function warning(condition, message) {

if (typeof styleRule.style[prop] === 'function') {
warning(false, '[JSS] Function values inside function rules are not supported.');
warning(false, '[JSS] Function values inside function rules are not supported.') ;
break;

@@ -189,3 +189,3 @@ }

if (colonIndex === -1) {
warning(false, "[JSS] Malformed CSS string \"" + decl + "\"");
warning(false, "[JSS] Malformed CSS string \"" + decl + "\"") ;
continue;

@@ -431,3 +431,3 @@ }

if (refRule === rule) {
warning(false, "[JSS] A rule tries to extend itself \n" + rule.toString());
warning(false, "[JSS] A rule tries to extend itself \n" + rule.toString()) ;
return;

@@ -573,3 +573,3 @@ }

warning(false, "[JSS] Could not find the referenced rule \"" + key + "\" in \"" + (container.options.meta || container.toString()) + "\".");
warning(false, "[JSS] Could not find the referenced rule \"" + key + "\" in \"" + (container.options.meta || container.toString()) + "\".") ;
return key;

@@ -693,3 +693,3 @@ };

if (!refRule) {
warning(false, "[JSS] Referenced rule is not defined. \n" + rule.toString());
warning(false, "[JSS] Referenced rule is not defined. \n" + rule.toString()) ;
return false;

@@ -699,3 +699,3 @@ }

if (refRule === rule) {
warning(false, "[JSS] Cyclic composition detected. \n" + rule.toString());
warning(false, "[JSS] Cyclic composition detected. \n" + rule.toString()) ;
return false;

@@ -1411,22 +1411,35 @@ }

function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) {
for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {
arr2[i] = arr[i];
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
return arr2;
for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i];
}
return arr2;
}
function _arrayWithoutHoles(arr) {
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
}
function _iterableToArray(iter) {
if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter);
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(n);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance");
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 _toConsumableArray(arr) {
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
}

@@ -1645,3 +1658,3 @@

if (prefix.js === 'Webkit' || prefix.js === 'ms') {
if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {
return prefix.css + prop;

@@ -1887,3 +1900,3 @@ }

if (cache$1[prop] != null) {
if ( cache$1[prop] != null) {
return cache$1[prop];

@@ -1967,3 +1980,3 @@ } // Check if 'transition' or 'transform' natively supported in browser.

if (cache$1$1[cacheKey] != null) {
if ( cache$1$1[cacheKey] != null) {
return cache$1$1[cacheKey];

@@ -2033,8 +2046,8 @@ } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.

var changeValue = false;
var supportedValue$$1 = supportedValue(supportedProp, jss.toCssValue(value));
if (supportedValue$$1 && supportedValue$$1 !== value) changeValue = true;
var supportedValue$1 = supportedValue(supportedProp, jss.toCssValue(value));
if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;
if (changeProp || changeValue) {
if (changeProp) delete style[prop];
style[supportedProp || prop] = supportedValue$$1 || value;
style[supportedProp || prop] = supportedValue$1 || value;
}

@@ -2103,3 +2116,3 @@ }

}));
})));
//# sourceMappingURL=jss-preset-default.js.map

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

!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jss")):"function"==typeof define&&define.amd?define(["exports","jss"],e):e((r=r||self).jssPresetDefault={},r.jss)}(this,function(r,e){"use strict";var t=Date.now(),n="fnValues"+t,o="fnStyle"+ ++t;var i=function(r){var e,t=r.Symbol;return"function"==typeof t?t.observable?e=t.observable:(e=t("observable"),t.observable=e):e="@@observable",e}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()),l=function(r){return r&&r[i]&&r===r[i]()};var s=/;\n/,u=function(r){"string"==typeof r.style&&(r.style=function(r){for(var e={},t=r.split(s),n=0;n<t.length;n++){var o=(t[n]||"").trim();if(o){var i=o.indexOf(":");if(-1!==i){var l=o.substr(0,i).trim(),u=o.substr(i+1).trim();e[l]=u}}}return e}(r.style))};function a(){return(a=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}).apply(this,arguments)}var f="@global",d="@global ",c=function(){function r(r,t,n){for(var o in this.type="global",this.at=f,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=r,this.options=n,this.rules=new e.RuleList(a({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=r.prototype;return t.getRule=function(r){return this.rules.get(r)},t.addRule=function(r,e,t){var n=this.rules.add(r,e,t);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(r){return this.rules.indexOf(r)},t.toString=function(){return this.rules.toString()},r}(),p=function(){function r(r,e,t){this.type="global",this.at=f,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=r,this.options=t;var n=r.substr(d.length);this.rule=t.jss.createRule(n,e,a({},t,{parent:this}))}return r.prototype.toString=function(r){return this.rule?this.rule.toString(r):""},r}(),g=/\s*,\s*/g;function y(r,e){for(var t=r.split(g),n="",o=0;o<t.length;o++)n+=e+" "+t[o].trim(),t[o+1]&&(n+=", ");return n}function b(){return{onCreateRule:function(r,e,t){if(!r)return null;if(r===f)return new c(r,e,t);if("@"===r[0]&&r.substr(0,d.length)===d)return new p(r,e,t);var n=t.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(t.scoped=!1),!1===t.scoped&&(t.selector=r),null},onProcessRule:function(r){"style"===r.type&&(function(r){var e=r.options,t=r.style,n=t?t[f]:null;if(n){for(var o in n)e.sheet.addRule(o,n[o],a({},e,{selector:y(o,r.selector)}));delete t[f]}}(r),function(r){var e=r.options,t=r.style;for(var n in t)if("@"===n[0]&&n.substr(0,f.length)===f){var o=y(n.substr(f.length),r.selector);e.sheet.addRule(o,t[n],a({},e,{selector:o})),delete t[n]}}(r))}}}var m=function(r){return r&&"object"==typeof r&&!Array.isArray(r)},h="extendCurrValue"+Date.now();function v(r,e,t,n){return void 0===n&&(n={}),function(r,e,t,n){if("string"!=typeof r.extend)if(Array.isArray(r.extend))for(var o=0;o<r.extend.length;o++)v(r.extend[o],e,t,n);else for(var i in r.extend)"extend"!==i?m(r.extend[i])?(i in n||(n[i]={}),v(r.extend[i],e,t,n[i])):n[i]=r.extend[i]:v(r.extend.extend,e,t,n);else{if(!t)return;var l=t.getRule(r.extend);if(!l)return;if(l===e)return;var s=l.options.parent;s&&v(s.rules.raw[r.extend],e,t,n)}}(r,e,t,n),function(r,e,t,n){for(var o in r)"extend"!==o&&(m(n[o])&&m(r[o])?v(r[o],e,t,n[o]):m(r[o])?n[o]=v(r[o],e,t):n[o]=r[o])}(r,e,t,n),n}function w(){return{onProcessStyle:function(r,e,t){return"extend"in r?v(r,e,t):r},onChangeValue:function(r,e,t){if("extend"!==e)return r;if(null==r||!1===r){for(var n in t[h])t.prop(n,null);return t[h]=null,null}if("object"==typeof r){for(var o in r)t.prop(o,r[o]);t[h]=r}return null}}}var x=/\s*,\s*/g,k=/&/g,j=/\$([\w-]+)/g;function S(){function r(r,e){return function(t,n){var o=r.getRule(n)||e&&e.getRule(n);return o?(o=o).selector:n}}function e(r,e){for(var t=e.split(x),n=r.split(x),o="",i=0;i<t.length;i++)for(var l=t[i],s=0;s<n.length;s++){var u=n[s];o&&(o+=", "),o+=-1!==u.indexOf("&")?u.replace(k,l):l+" "+u}return o}function t(r,e,t){if(t)return a({},t,{index:t.index+1});var n=r.options.nestingLevel;n=void 0===n?1:n+1;var o=a({},r.options,{nestingLevel:n,index:e.indexOf(r)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var l,s,u=o,f=u.options.parent;for(var d in n){var c=-1!==d.indexOf("&"),p="@"===d[0];if(c||p){if(l=t(u,f,l),c){var g=e(d,u.selector);s||(s=r(f,i)),g=g.replace(j,s),f.addRule(g,n[d],a({},l,{selector:g}))}else p&&f.addRule(d,{},l).addRule(u.key,n[d],{selector:u.selector});delete n[d]}}return n}}}function P(){return{onProcessStyle:function(r,e){return"composes"in r?(function r(e,t){if(!t)return!0;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(!r(e,t[n]))return!1;return!0}if(t.indexOf(" ")>-1)return r(e,t.split(" "));var o=e.options.parent;if("$"===t[0]){var i=o.getRule(t.substr(1));return!!i&&i!==e&&(o.classes[e.key]+=" "+o.classes[i.key],!0)}return o.classes[e.key]+=" "+t,!0}(e,r.composes),delete r.composes,r):r}}}var A=/[A-Z]/g,C=/^ms-/,R={};function O(r){return"-"+r.toLowerCase()}function z(r){if(R.hasOwnProperty(r))return R[r];var e=r.replace(A,O);return R[r]=C.test(e)?"-"+e:e}function W(r){var e={};for(var t in r){e[0===t.indexOf("--")?t:z(t)]=r[t]}return r.fallbacks&&(Array.isArray(r.fallbacks)?e.fallbacks=r.fallbacks.map(W):e.fallbacks=W(r.fallbacks)),e}function E(){return{onProcessStyle:function(r){if(Array.isArray(r)){for(var e=0;e<r.length;e++)r[e]=W(r[e]);return r}return W(r)},onChangeValue:function(r,e,t){if(0===e.indexOf("--"))return r;var n=z(e);return e===n?r:(t.prop(n,r),null)}}}var M=e.hasCSSTOMSupport&&CSS?CSS.px:"px",T=e.hasCSSTOMSupport&&CSS?CSS.ms:"ms",V=e.hasCSSTOMSupport&&CSS?CSS.percent:"%";function F(r){var e=/(-[a-z])/g,t=function(r){return r[1].toUpperCase()},n={};for(var o in r)n[o]=r[o],n[o.replace(e,t)]=r[o];return n}var L=F({"animation-delay":T,"animation-duration":T,"background-position":M,"background-position-x":M,"background-position-y":M,"background-size":M,border:M,"border-bottom":M,"border-bottom-left-radius":M,"border-bottom-right-radius":M,"border-bottom-width":M,"border-left":M,"border-left-width":M,"border-radius":M,"border-right":M,"border-right-width":M,"border-top":M,"border-top-left-radius":M,"border-top-right-radius":M,"border-top-width":M,"border-width":M,margin:M,"margin-bottom":M,"margin-left":M,"margin-right":M,"margin-top":M,padding:M,"padding-bottom":M,"padding-left":M,"padding-right":M,"padding-top":M,"mask-position-x":M,"mask-position-y":M,"mask-size":M,height:M,width:M,"min-height":M,"max-height":M,"min-width":M,"max-width":M,bottom:M,left:M,top:M,right:M,"box-shadow":M,"text-shadow":M,"column-gap":M,"column-rule":M,"column-rule-width":M,"column-width":M,"font-size":M,"font-size-delta":M,"letter-spacing":M,"text-indent":M,"text-stroke":M,"text-stroke-width":M,"word-spacing":M,motion:M,"motion-offset":M,outline:M,"outline-offset":M,"outline-width":M,perspective:M,"perspective-origin-x":V,"perspective-origin-y":V,"transform-origin":V,"transform-origin-x":V,"transform-origin-y":V,"transform-origin-z":V,"transition-delay":T,"transition-duration":T,"vertical-align":M,"flex-basis":M,"shape-margin":M,size:M,grid:M,"grid-gap":M,"grid-row-gap":M,"grid-column-gap":M,"grid-template-rows":M,"grid-template-columns":M,"grid-auto-rows":M,"grid-auto-columns":M,"box-shadow-x":M,"box-shadow-y":M,"box-shadow-blur":M,"box-shadow-spread":M,"font-line-height":M,"text-shadow-x":M,"text-shadow-y":M,"text-shadow-blur":M});function N(r,e,t){if(!e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=N(r,e[n],t);else if("object"==typeof e)if("fallbacks"===r)for(var o in e)e[o]=N(o,e[o],t);else for(var i in e)e[i]=N(r+"-"+i,e[i],t);else if("number"==typeof e){var l=t[r]||L[r];return l?"function"==typeof l?l(e).toString():""+e+l:e.toString()}return e}function U(r){void 0===r&&(r={});var e=F(r);return{onProcessStyle:function(r,t){if("style"!==t.type)return r;for(var n in r)r[n]=N(n,r[n],e);return r},onChangeValue:function(r,t){return N(t,r,e)}}}var D={"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},G={position:!0,size:!0},H={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}},I={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 $(r,e,t,n){return null==t[e]?r:0===r.length?[]:Array.isArray(r[0])?$(r[0],e,t,n):"object"==typeof r[0]?function(r,e,t){return r.map(function(r){return _(r,e,t,!1,!0)})}(r,e,n):[r]}function _(r,e,t,n,o){if(!H[e]&&!I[e])return[];var i=[];if(I[e]&&(r=function(r,e,t,n){for(var o in t){var i=t[o];if(void 0!==r[o]&&(n||!e.prop(i))){var l,s=q((l={},l[i]=r[o],l),e)[i];n?e.style.fallbacks[i]=s:e.style[i]=s}delete r[o]}return r}(r,t,I[e],n)),Object.keys(r).length)for(var l in H[e])r[l]?Array.isArray(r[l])?i.push(null===G[l]?r[l]:r[l].join(" ")):i.push(r[l]):null!=H[e][l]&&i.push(H[e][l]);return!i.length||o?i:[i]}function q(r,e,t){for(var n in r){var o=r[n];if(Array.isArray(o)){if(!Array.isArray(o[0])){if("fallbacks"===n){for(var i=0;i<r.fallbacks.length;i++)r.fallbacks[i]=q(r.fallbacks[i],e,!0);continue}r[n]=$(o,n,D,e),r[n].length||delete r[n]}}else if("object"==typeof o){if("fallbacks"===n){r.fallbacks=q(r.fallbacks,e,!0);continue}r[n]=_(o,n,e,t),r[n].length||delete r[n]}else""===r[n]&&delete r[n]}return r}function Z(){return{onProcessStyle:function(r,e){if(!r||"style"!==e.type)return r;if(Array.isArray(r)){for(var t=0;t<r.length;t++)r[t]=q(r[t],e);return r}return q(r,e)}}}var B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},J="object"===("undefined"==typeof window?"undefined":B(window))&&"object"===("undefined"==typeof document?"undefined":B(document))&&9===document.nodeType;function K(r){return function(r){if(Array.isArray(r)){for(var e=0,t=new Array(r.length);e<r.length;e++)t[e]=r[e];return t}}(r)||function(r){if(Symbol.iterator in Object(r)||"[object Arguments]"===Object.prototype.toString.call(r))return Array.from(r)}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Q="",X="",Y="",rr="",er=J&&"ontouchstart"in document.documentElement;if(J){var tr={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},nr=document.createElement("p").style;for(var or in tr)if(or+"Transform"in nr){Q=or,X=tr[or];break}"Webkit"===Q&&"msHyphens"in nr&&(Q="ms",X=tr.ms,rr="edge"),"Webkit"===Q&&"-apple-trailing-word"in nr&&(Y="apple")}var ir={js:Q,css:X,vendor:Y,browser:rr,isTouch:er};var lr={noPrefill:["appearance"],supportedProperty:function(r){return"appearance"===r&&("ms"===ir.js?"-webkit-"+r:ir.css+r)}},sr={noPrefill:["color-adjust"],supportedProperty:function(r){return"color-adjust"===r&&("Webkit"===ir.js?ir.css+"print-"+r:r)}},ur=/[-\s]+(.)?/g;function ar(r,e){return e?e.toUpperCase():""}function fr(r){return r.replace(ur,ar)}function dr(r){return fr("-"+r)}var cr,pr={noPrefill:["mask"],supportedProperty:function(r,e){if(!/^mask/.test(r))return!1;if("Webkit"===ir.js){if(fr("mask-image")in e)return r;if(ir.js+dr("mask-image")in e)return ir.css+r}return r}},gr={noPrefill:["text-orientation"],supportedProperty:function(r){return"text-orientation"===r&&("apple"!==ir.vendor||ir.isTouch?r:ir.css+r)}},yr={noPrefill:["transform"],supportedProperty:function(r,e,t){return"transform"===r&&(t.transform?r:ir.css+r)}},br={noPrefill:["transition"],supportedProperty:function(r,e,t){return"transition"===r&&(t.transition?r:ir.css+r)}},mr={noPrefill:["writing-mode"],supportedProperty:function(r){return"writing-mode"===r&&("Webkit"===ir.js||"ms"===ir.js?ir.css+r:r)}},hr={noPrefill:["user-select"],supportedProperty:function(r){return"user-select"===r&&("Moz"===ir.js||"ms"===ir.js||"apple"===ir.vendor?ir.css+r:r)}},vr={supportedProperty:function(r,e){return!!/^break-/.test(r)&&("Webkit"===ir.js?"WebkitColumn"+dr(r)in e&&ir.css+"column-"+r:"Moz"===ir.js&&("page"+dr(r)in e&&"page-"+r))}},wr={supportedProperty:function(r,e){if(!/^(border|margin|padding)-inline/.test(r))return!1;if("Moz"===ir.js)return r;var t=r.replace("-inline","");return ir.js+dr(t)in e&&ir.css+t}},xr={supportedProperty:function(r,e){return fr(r)in e&&r}},kr={supportedProperty:function(r,e){var t=dr(r);return"-"===r[0]?r:"-"===r[0]&&"-"===r[1]?r:ir.js+t in e?ir.css+r:"Webkit"!==ir.js&&"Webkit"+t in e&&"-webkit-"+r}},jr={supportedProperty:function(r){return"scroll-snap"===r.substring(0,11)&&("ms"===ir.js?""+ir.css+r:r)}},Sr={supportedProperty:function(r){return"overscroll-behavior"===r&&("ms"===ir.js?ir.css+"scroll-chaining":r)}},Pr={"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"},Ar={supportedProperty:function(r,e){var t=Pr[r];return!!t&&(ir.js+dr(t)in e&&ir.css+t)}},Cr={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"},Rr=Object.keys(Cr),Or=function(r){return ir.css+r},zr=[lr,sr,pr,gr,yr,br,mr,hr,vr,wr,xr,kr,jr,Sr,Ar,{supportedProperty:function(r,e,t){var n=t.multiple;if(Rr.indexOf(r)>-1){var o=Cr[r];if(!Array.isArray(o))return ir.js+dr(o)in e&&ir.css+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(ir.js+dr(o[0])in e))return!1;return o.map(Or)}return!1}}],Wr=zr.filter(function(r){return r.supportedProperty}).map(function(r){return r.supportedProperty}),Er=zr.filter(function(r){return r.noPrefill}).reduce(function(r,e){return r.push.apply(r,K(e.noPrefill)),r},[]),Mr={};if(J){cr=document.createElement("p");var Tr=window.getComputedStyle(document.documentElement,"");for(var Vr in Tr)isNaN(Vr)||(Mr[Tr[Vr]]=Tr[Vr]);Er.forEach(function(r){return delete Mr[r]})}function Fr(r,e){if(void 0===e&&(e={}),!cr)return r;if(null!=Mr[r])return Mr[r];"transition"!==r&&"transform"!==r||(e[r]=r in cr.style);for(var t=0;t<Wr.length&&(Mr[r]=Wr[t](r,cr.style,e),!Mr[r]);t++);try{cr.style[r]=""}catch(r){return!1}return Mr[r]}var Lr,Nr={},Ur={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Dr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Gr(r,e,t){if("var"===e)return"var";if("all"===e)return"all";if("all"===t)return", all";var n=e?Fr(e):", "+Fr(t);return n||(e||t)}function Hr(r,e){var t=e;if(!Lr||"content"===r)return e;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var n=r+t;if(null!=Nr[n])return Nr[n];try{Lr.style[r]=t}catch(r){return Nr[n]=!1,!1}if(Ur[r])t=t.replace(Dr,Gr);else if(""===Lr.style[r]&&("-ms-flex"===(t=ir.css+t)&&(Lr.style[r]="-ms-flexbox"),Lr.style[r]=t,""===Lr.style[r]))return Nr[n]=!1,!1;return Lr.style[r]="",Nr[n]=t,Nr[n]}function Ir(){function r(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(r);else{var i=!1,l=Fr(n);l&&l!==n&&(i=!0);var s=!1,u=Hr(l,e.toCssValue(o));u&&u!==o&&(s=!0),(i||s)&&(i&&delete t[n],t[l||n]=u||o)}}return t}return{onProcessRule:function(r){if("keyframes"===r.type){var e=r;e.at="-"===(t=e.at)[1]?t:"ms"===ir.js?t:"@"+ir.css+"keyframes"+t.substr(10)}var t},onProcessStyle:function(e,t){return"style"!==t.type?e:r(e)},onChangeValue:function(r,t){return Hr(t,e.toCssValue(r))||r}}}J&&(Lr=document.createElement("p"));r.default=function(r){return void 0===r&&(r={}),{plugins:[{onCreateRule:function(r,t,n){if("function"!=typeof t)return null;var i=e.createRule(r,{},n);return i[o]=t,i},onProcessStyle:function(r,e){if(n in e||o in e)return r;var t={};for(var i in r){var l=r[i];"function"==typeof l&&(delete r[i],t[i]=l)}return e[n]=t,r},onUpdate:function(r,e,t,i){var l=e,s=l[o];s&&(l.style=s(r)||{});var u=l[n];if(u)for(var a in u)l.prop(a,u[a](r),i)}},(i=r.observable,{onCreateRule:function(r,t,n){if(!l(t))return null;var o=t,s=e.createRule(r,{},n);return o.subscribe(function(r){for(var e in r)s.prop(e,r[e],i)}),s},onProcessRule:function(r){if(!r||"style"===r.type){var e=r,t=e.style,n=function(r){var n=t[r];if(!l(n))return"continue";delete t[r],n.subscribe({next:function(t){e.prop(r,t,i)}})};for(var o in t)n(o)}}}),{onProcessRule:u},b(),w(),S(),P(),E(),U(r.defaultUnit),Z(),Ir(),(t=function(r,e){return r.length===e.length?r>e?1:-1:r.length-e.length},{onProcessStyle:function(r,e){if("style"!==e.type)return r;for(var n={},o=Object.keys(r).sort(t),i=0;i<o.length;i++)n[o[i]]=r[o[i]];return n}})]};var t,i},Object.defineProperty(r,"__esModule",{value:!0})});
!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jss")):"function"==typeof define&&define.amd?define(["exports","jss"],e):e((r=r||self).jssPresetDefault={},r.jss)}(this,function(r,e){"use strict";var t=Date.now(),n="fnValues"+t,o="fnStyle"+ ++t;var i=function(r){var e,t=r.Symbol;return"function"==typeof t?t.observable?e=t.observable:(e=t("observable"),t.observable=e):e="@@observable",e}("undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof module?module:Function("return this")()),l=function(r){return r&&r[i]&&r===r[i]()};var s=/;\n/,u=function(r){"string"==typeof r.style&&(r.style=function(r){for(var e={},t=r.split(s),n=0;n<t.length;n++){var o=(t[n]||"").trim();if(o){var i=o.indexOf(":");if(-1!==i){var l=o.substr(0,i).trim(),u=o.substr(i+1).trim();e[l]=u}}}return e}(r.style))};function a(){return(a=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}).apply(this,arguments)}var f="@global",d="@global ",c=function(){function r(r,t,n){for(var o in this.type="global",this.at=f,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=r,this.options=n,this.rules=new e.RuleList(a({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=r.prototype;return t.getRule=function(r){return this.rules.get(r)},t.addRule=function(r,e,t){var n=this.rules.add(r,e,t);return this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(r){return this.rules.indexOf(r)},t.toString=function(){return this.rules.toString()},r}(),p=function(){function r(r,e,t){this.type="global",this.at=f,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=r,this.options=t;var n=r.substr(d.length);this.rule=t.jss.createRule(n,e,a({},t,{parent:this}))}return r.prototype.toString=function(r){return this.rule?this.rule.toString(r):""},r}(),g=/\s*,\s*/g;function y(r,e){for(var t=r.split(g),n="",o=0;o<t.length;o++)n+=e+" "+t[o].trim(),t[o+1]&&(n+=", ");return n}function b(){return{onCreateRule:function(r,e,t){if(!r)return null;if(r===f)return new c(r,e,t);if("@"===r[0]&&r.substr(0,d.length)===d)return new p(r,e,t);var n=t.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(t.scoped=!1),!1===t.scoped&&(t.selector=r),null},onProcessRule:function(r){"style"===r.type&&(function(r){var e=r.options,t=r.style,n=t?t[f]:null;if(n){for(var o in n)e.sheet.addRule(o,n[o],a({},e,{selector:y(o,r.selector)}));delete t[f]}}(r),function(r){var e=r.options,t=r.style;for(var n in t)if("@"===n[0]&&n.substr(0,f.length)===f){var o=y(n.substr(f.length),r.selector);e.sheet.addRule(o,t[n],a({},e,{selector:o})),delete t[n]}}(r))}}}var m=function(r){return r&&"object"==typeof r&&!Array.isArray(r)},h="extendCurrValue"+Date.now();function v(r,e,t,n){return void 0===n&&(n={}),function(r,e,t,n){if("string"!=typeof r.extend)if(Array.isArray(r.extend))for(var o=0;o<r.extend.length;o++)v(r.extend[o],e,t,n);else for(var i in r.extend)"extend"!==i?m(r.extend[i])?(i in n||(n[i]={}),v(r.extend[i],e,t,n[i])):n[i]=r.extend[i]:v(r.extend.extend,e,t,n);else{if(!t)return;var l=t.getRule(r.extend);if(!l)return;if(l===e)return;var s=l.options.parent;s&&v(s.rules.raw[r.extend],e,t,n)}}(r,e,t,n),function(r,e,t,n){for(var o in r)"extend"!==o&&(m(n[o])&&m(r[o])?v(r[o],e,t,n[o]):m(r[o])?n[o]=v(r[o],e,t):n[o]=r[o])}(r,e,t,n),n}function w(){return{onProcessStyle:function(r,e,t){return"extend"in r?v(r,e,t):r},onChangeValue:function(r,e,t){if("extend"!==e)return r;if(null==r||!1===r){for(var n in t[h])t.prop(n,null);return t[h]=null,null}if("object"==typeof r){for(var o in r)t.prop(o,r[o]);t[h]=r}return null}}}var x=/\s*,\s*/g,k=/&/g,S=/\$([\w-]+)/g;function j(){function r(r,e){return function(t,n){var o=r.getRule(n)||e&&e.getRule(n);return o?(o=o).selector:n}}function e(r,e){for(var t=e.split(x),n=r.split(x),o="",i=0;i<t.length;i++)for(var l=t[i],s=0;s<n.length;s++){var u=n[s];o&&(o+=", "),o+=-1!==u.indexOf("&")?u.replace(k,l):l+" "+u}return o}function t(r,e,t){if(t)return a({},t,{index:t.index+1});var n=r.options.nestingLevel;n=void 0===n?1:n+1;var o=a({},r.options,{nestingLevel:n,index:e.indexOf(r)+1});return delete o.name,o}return{onProcessStyle:function(n,o,i){if("style"!==o.type)return n;var l,s,u=o,f=u.options.parent;for(var d in n){var c=-1!==d.indexOf("&"),p="@"===d[0];if(c||p){if(l=t(u,f,l),c){var g=e(d,u.selector);s||(s=r(f,i)),g=g.replace(S,s),f.addRule(g,n[d],a({},l,{selector:g}))}else p&&f.addRule(d,{},l).addRule(u.key,n[d],{selector:u.selector});delete n[d]}}return n}}}function P(){return{onProcessStyle:function(r,e){return"composes"in r?(function r(e,t){if(!t)return!0;if(Array.isArray(t)){for(var n=0;n<t.length;n++)if(!r(e,t[n]))return!1;return!0}if(t.indexOf(" ")>-1)return r(e,t.split(" "));var o=e.options.parent;if("$"===t[0]){var i=o.getRule(t.substr(1));return!!i&&i!==e&&(o.classes[e.key]+=" "+o.classes[i.key],!0)}return o.classes[e.key]+=" "+t,!0}(e,r.composes),delete r.composes,r):r}}}var A=/[A-Z]/g,C=/^ms-/,O={};function R(r){return"-"+r.toLowerCase()}function z(r){if(O.hasOwnProperty(r))return O[r];var e=r.replace(A,R);return O[r]=C.test(e)?"-"+e:e}function M(r){var e={};for(var t in r){e[0===t.indexOf("--")?t:z(t)]=r[t]}return r.fallbacks&&(Array.isArray(r.fallbacks)?e.fallbacks=r.fallbacks.map(M):e.fallbacks=M(r.fallbacks)),e}function W(){return{onProcessStyle:function(r){if(Array.isArray(r)){for(var e=0;e<r.length;e++)r[e]=M(r[e]);return r}return M(r)},onChangeValue:function(r,e,t){if(0===e.indexOf("--"))return r;var n=z(e);return e===n?r:(t.prop(n,r),null)}}}var E=e.hasCSSTOMSupport&&CSS?CSS.px:"px",T=e.hasCSSTOMSupport&&CSS?CSS.ms:"ms",V=e.hasCSSTOMSupport&&CSS?CSS.percent:"%";function U(r){var e=/(-[a-z])/g,t=function(r){return r[1].toUpperCase()},n={};for(var o in r)n[o]=r[o],n[o.replace(e,t)]=r[o];return n}var F=U({"animation-delay":T,"animation-duration":T,"background-position":E,"background-position-x":E,"background-position-y":E,"background-size":E,border:E,"border-bottom":E,"border-bottom-left-radius":E,"border-bottom-right-radius":E,"border-bottom-width":E,"border-left":E,"border-left-width":E,"border-radius":E,"border-right":E,"border-right-width":E,"border-top":E,"border-top-left-radius":E,"border-top-right-radius":E,"border-top-width":E,"border-width":E,margin:E,"margin-bottom":E,"margin-left":E,"margin-right":E,"margin-top":E,padding:E,"padding-bottom":E,"padding-left":E,"padding-right":E,"padding-top":E,"mask-position-x":E,"mask-position-y":E,"mask-size":E,height:E,width:E,"min-height":E,"max-height":E,"min-width":E,"max-width":E,bottom:E,left:E,top:E,right:E,"box-shadow":E,"text-shadow":E,"column-gap":E,"column-rule":E,"column-rule-width":E,"column-width":E,"font-size":E,"font-size-delta":E,"letter-spacing":E,"text-indent":E,"text-stroke":E,"text-stroke-width":E,"word-spacing":E,motion:E,"motion-offset":E,outline:E,"outline-offset":E,"outline-width":E,perspective:E,"perspective-origin-x":V,"perspective-origin-y":V,"transform-origin":V,"transform-origin-x":V,"transform-origin-y":V,"transform-origin-z":V,"transition-delay":T,"transition-duration":T,"vertical-align":E,"flex-basis":E,"shape-margin":E,size:E,grid:E,"grid-gap":E,"grid-row-gap":E,"grid-column-gap":E,"grid-template-rows":E,"grid-template-columns":E,"grid-auto-rows":E,"grid-auto-columns":E,"box-shadow-x":E,"box-shadow-y":E,"box-shadow-blur":E,"box-shadow-spread":E,"font-line-height":E,"text-shadow-x":E,"text-shadow-y":E,"text-shadow-blur":E});function I(r,e,t){if(!e)return e;if(Array.isArray(e))for(var n=0;n<e.length;n++)e[n]=I(r,e[n],t);else if("object"==typeof e)if("fallbacks"===r)for(var o in e)e[o]=I(o,e[o],t);else for(var i in e)e[i]=I(r+"-"+i,e[i],t);else if("number"==typeof e){var l=t[r]||F[r];return l?"function"==typeof l?l(e).toString():""+e+l:e.toString()}return e}function L(r){void 0===r&&(r={});var e=U(r);return{onProcessStyle:function(r,t){if("style"!==t.type)return r;for(var n in r)r[n]=I(n,r[n],e);return r},onChangeValue:function(r,t){return I(t,r,e)}}}var N={"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},D={position:!0,size:!0},$={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}},G={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 H(r,e,t,n){return null==t[e]?r:0===r.length?[]:Array.isArray(r[0])?H(r[0],e,t,n):"object"==typeof r[0]?function(r,e,t){return r.map(function(r){return _(r,e,t,!1,!0)})}(r,e,n):[r]}function _(r,e,t,n,o){if(!$[e]&&!G[e])return[];var i=[];if(G[e]&&(r=function(r,e,t,n){for(var o in t){var i=t[o];if(void 0!==r[o]&&(n||!e.prop(i))){var l,s=q((l={},l[i]=r[o],l),e)[i];n?e.style.fallbacks[i]=s:e.style[i]=s}delete r[o]}return r}(r,t,G[e],n)),Object.keys(r).length)for(var l in $[e])r[l]?Array.isArray(r[l])?i.push(null===D[l]?r[l]:r[l].join(" ")):i.push(r[l]):null!=$[e][l]&&i.push($[e][l]);return!i.length||o?i:[i]}function q(r,e,t){for(var n in r){var o=r[n];if(Array.isArray(o)){if(!Array.isArray(o[0])){if("fallbacks"===n){for(var i=0;i<r.fallbacks.length;i++)r.fallbacks[i]=q(r.fallbacks[i],e,!0);continue}r[n]=H(o,n,N,e),r[n].length||delete r[n]}}else if("object"==typeof o){if("fallbacks"===n){r.fallbacks=q(r.fallbacks,e,!0);continue}r[n]=_(o,n,e,t),r[n].length||delete r[n]}else""===r[n]&&delete r[n]}return r}function Z(){return{onProcessStyle:function(r,e){if(!r||"style"!==e.type)return r;if(Array.isArray(r)){for(var t=0;t<r.length;t++)r[t]=q(r[t],e);return r}return q(r,e)}}}var B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},J="object"===("undefined"==typeof window?"undefined":B(window))&&"object"===("undefined"==typeof document?"undefined":B(document))&&9===document.nodeType;function K(r,e){(null==e||e>r.length)&&(e=r.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=r[t];return n}function Q(r){return function(r){if(Array.isArray(r))return K(r)}(r)||function(r){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r))return Array.from(r)}(r)||function(r,e){if(r){if("string"==typeof r)return K(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?K(r,e):void 0}}(r)||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 X="",Y="",rr="",er="",tr=J&&"ontouchstart"in document.documentElement;if(J){var nr={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},or=document.createElement("p").style;for(var ir in nr)if(ir+"Transform"in or){X=ir,Y=nr[ir];break}"Webkit"===X&&"msHyphens"in or&&(X="ms",Y=nr.ms,er="edge"),"Webkit"===X&&"-apple-trailing-word"in or&&(rr="apple")}var lr={js:X,css:Y,vendor:rr,browser:er,isTouch:tr};var sr={noPrefill:["appearance"],supportedProperty:function(r){return"appearance"===r&&("ms"===lr.js?"-webkit-"+r:lr.css+r)}},ur={noPrefill:["color-adjust"],supportedProperty:function(r){return"color-adjust"===r&&("Webkit"===lr.js?lr.css+"print-"+r:r)}},ar=/[-\s]+(.)?/g;function fr(r,e){return e?e.toUpperCase():""}function dr(r){return r.replace(ar,fr)}function cr(r){return dr("-"+r)}var pr,gr={noPrefill:["mask"],supportedProperty:function(r,e){if(!/^mask/.test(r))return!1;if("Webkit"===lr.js){if(dr("mask-image")in e)return r;if(lr.js+cr("mask-image")in e)return lr.css+r}return r}},yr={noPrefill:["text-orientation"],supportedProperty:function(r){return"text-orientation"===r&&("apple"!==lr.vendor||lr.isTouch?r:lr.css+r)}},br={noPrefill:["transform"],supportedProperty:function(r,e,t){return"transform"===r&&(t.transform?r:lr.css+r)}},mr={noPrefill:["transition"],supportedProperty:function(r,e,t){return"transition"===r&&(t.transition?r:lr.css+r)}},hr={noPrefill:["writing-mode"],supportedProperty:function(r){return"writing-mode"===r&&("Webkit"===lr.js||"ms"===lr.js&&"edge"!==lr.browser?lr.css+r:r)}},vr={noPrefill:["user-select"],supportedProperty:function(r){return"user-select"===r&&("Moz"===lr.js||"ms"===lr.js||"apple"===lr.vendor?lr.css+r:r)}},wr={supportedProperty:function(r,e){return!!/^break-/.test(r)&&("Webkit"===lr.js?"WebkitColumn"+cr(r)in e&&lr.css+"column-"+r:"Moz"===lr.js&&("page"+cr(r)in e&&"page-"+r))}},xr={supportedProperty:function(r,e){if(!/^(border|margin|padding)-inline/.test(r))return!1;if("Moz"===lr.js)return r;var t=r.replace("-inline","");return lr.js+cr(t)in e&&lr.css+t}},kr={supportedProperty:function(r,e){return dr(r)in e&&r}},Sr={supportedProperty:function(r,e){var t=cr(r);return"-"===r[0]?r:"-"===r[0]&&"-"===r[1]?r:lr.js+t in e?lr.css+r:"Webkit"!==lr.js&&"Webkit"+t in e&&"-webkit-"+r}},jr={supportedProperty:function(r){return"scroll-snap"===r.substring(0,11)&&("ms"===lr.js?""+lr.css+r:r)}},Pr={supportedProperty:function(r){return"overscroll-behavior"===r&&("ms"===lr.js?lr.css+"scroll-chaining":r)}},Ar={"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"},Cr={supportedProperty:function(r,e){var t=Ar[r];return!!t&&(lr.js+cr(t)in e&&lr.css+t)}},Or={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"},Rr=Object.keys(Or),zr=function(r){return lr.css+r},Mr=[sr,ur,gr,yr,br,mr,hr,vr,wr,xr,kr,Sr,jr,Pr,Cr,{supportedProperty:function(r,e,t){var n=t.multiple;if(Rr.indexOf(r)>-1){var o=Or[r];if(!Array.isArray(o))return lr.js+cr(o)in e&&lr.css+o;if(!n)return!1;for(var i=0;i<o.length;i++)if(!(lr.js+cr(o[0])in e))return!1;return o.map(zr)}return!1}}],Wr=Mr.filter(function(r){return r.supportedProperty}).map(function(r){return r.supportedProperty}),Er=Mr.filter(function(r){return r.noPrefill}).reduce(function(r,e){return r.push.apply(r,Q(e.noPrefill)),r},[]),Tr={};if(J){pr=document.createElement("p");var Vr=window.getComputedStyle(document.documentElement,"");for(var Ur in Vr)isNaN(Ur)||(Tr[Vr[Ur]]=Vr[Ur]);Er.forEach(function(r){return delete Tr[r]})}function Fr(r,e){if(void 0===e&&(e={}),!pr)return r;if(null!=Tr[r])return Tr[r];"transition"!==r&&"transform"!==r||(e[r]=r in pr.style);for(var t=0;t<Wr.length&&(Tr[r]=Wr[t](r,pr.style,e),!Tr[r]);t++);try{pr.style[r]=""}catch(r){return!1}return Tr[r]}var Ir,Lr={},Nr={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Dr=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function $r(r,e,t){if("var"===e)return"var";if("all"===e)return"all";if("all"===t)return", all";var n=e?Fr(e):", "+Fr(t);return n||(e||t)}function Gr(r,e){var t=e;if(!Ir||"content"===r)return e;if("string"!=typeof t||!isNaN(parseInt(t,10)))return t;var n=r+t;if(null!=Lr[n])return Lr[n];try{Ir.style[r]=t}catch(r){return Lr[n]=!1,!1}if(Nr[r])t=t.replace(Dr,$r);else if(""===Ir.style[r]&&("-ms-flex"===(t=lr.css+t)&&(Ir.style[r]="-ms-flexbox"),Ir.style[r]=t,""===Ir.style[r]))return Lr[n]=!1,!1;return Ir.style[r]="",Lr[n]=t,Lr[n]}function Hr(){function r(t){for(var n in t){var o=t[n];if("fallbacks"===n&&Array.isArray(o))t[n]=o.map(r);else{var i=!1,l=Fr(n);l&&l!==n&&(i=!0);var s=!1,u=Gr(l,e.toCssValue(o));u&&u!==o&&(s=!0),(i||s)&&(i&&delete t[n],t[l||n]=u||o)}}return t}return{onProcessRule:function(r){if("keyframes"===r.type){var e=r;e.at="-"===(t=e.at)[1]?t:"ms"===lr.js?t:"@"+lr.css+"keyframes"+t.substr(10)}var t},onProcessStyle:function(e,t){return"style"!==t.type?e:r(e)},onChangeValue:function(r,t){return Gr(t,e.toCssValue(r))||r}}}J&&(Ir=document.createElement("p"));r.default=function(r){return void 0===r&&(r={}),{plugins:[{onCreateRule:function(r,t,n){if("function"!=typeof t)return null;var i=e.createRule(r,{},n);return i[o]=t,i},onProcessStyle:function(r,e){if(n in e||o in e)return r;var t={};for(var i in r){var l=r[i];"function"==typeof l&&(delete r[i],t[i]=l)}return e[n]=t,r},onUpdate:function(r,e,t,i){var l=e,s=l[o];s&&(l.style=s(r)||{});var u=l[n];if(u)for(var a in u)l.prop(a,u[a](r),i)}},(i=r.observable,{onCreateRule:function(r,t,n){if(!l(t))return null;var o=t,s=e.createRule(r,{},n);return o.subscribe(function(r){for(var e in r)s.prop(e,r[e],i)}),s},onProcessRule:function(r){if(!r||"style"===r.type){var e=r,t=e.style,n=function(r){var n=t[r];if(!l(n))return"continue";delete t[r],n.subscribe({next:function(t){e.prop(r,t,i)}})};for(var o in t)n(o)}}}),{onProcessRule:u},b(),w(),j(),P(),W(),L(r.defaultUnit),Z(),Hr(),(t=function(r,e){return r.length===e.length?r>e?1:-1:r.length-e.length},{onProcessStyle:function(r,e){if("style"!==e.type)return r;for(var n={},o=Object.keys(r).sort(t),i=0;i<o.length;i++)n[o[i]]=r[o[i]];return n}})]};var t,i},Object.defineProperty(r,"__esModule",{value:!0})});
{
"name": "jss-preset-default",
"description": "Default preset for JSS with selected plugins.",
"version": "10.1.1",
"version": "10.2.0",
"license": "MIT",

@@ -35,17 +35,17 @@ "homepage": "https://cssinjs.org/jss-preset-default",

"@babel/runtime": "^7.3.1",
"jss": "10.1.1",
"jss-plugin-camel-case": "10.1.1",
"jss-plugin-compose": "10.1.1",
"jss-plugin-default-unit": "10.1.1",
"jss-plugin-expand": "10.1.1",
"jss-plugin-extend": "10.1.1",
"jss-plugin-global": "10.1.1",
"jss-plugin-nested": "10.1.1",
"jss-plugin-props-sort": "10.1.1",
"jss-plugin-rule-value-function": "10.1.1",
"jss-plugin-rule-value-observable": "10.1.1",
"jss-plugin-template": "10.1.1",
"jss-plugin-vendor-prefixer": "10.1.1"
"jss": "10.2.0",
"jss-plugin-camel-case": "10.2.0",
"jss-plugin-compose": "10.2.0",
"jss-plugin-default-unit": "10.2.0",
"jss-plugin-expand": "10.2.0",
"jss-plugin-extend": "10.2.0",
"jss-plugin-global": "10.2.0",
"jss-plugin-nested": "10.2.0",
"jss-plugin-props-sort": "10.2.0",
"jss-plugin-rule-value-function": "10.2.0",
"jss-plugin-rule-value-observable": "10.2.0",
"jss-plugin-template": "10.2.0",
"jss-plugin-vendor-prefixer": "10.2.0"
},
"gitHead": "2ed79e0139cfc06922ef74a6e5745f219d23ee80"
"gitHead": "671c03fabb07b1a750e1b949fa89b1415654e077"
}

@@ -12,3 +12,3 @@ # jss-preset-default

See our website [jss-preset-default](https://cssinjs.org/jss-preset-default?v=v10.1.1) for more information.
See our website [jss-preset-default](https://cssinjs.org/jss-preset-default?v=v10.2.0) for more information.

@@ -15,0 +15,0 @@ ## Install

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

Sorry, the diff of this file is not supported yet

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