import{hasCSSTOMSupport as r}from"../../jss/dist/jss.esm.js";var t=r&&CSS?CSS.px:"px",i=r&&CSS?CSS.ms:"ms",o=r&&CSS?CSS.percent:"%";function n(r){var t=/(-[a-z])/g,i=function(r){return r[1].toUpperCase()},o={};for(var n in r)o[n]=r[n],o[n.replace(t,i)]=r[n];return o}var e=n({"animation-delay":i,"animation-duration":i,"background-position":t,"background-position-x":t,"background-position-y":t,"background-size":t,border:t,"border-bottom":t,"border-bottom-left-radius":t,"border-bottom-right-radius":t,"border-bottom-width":t,"border-left":t,"border-left-width":t,"border-radius":t,"border-right":t,"border-right-width":t,"border-top":t,"border-top-left-radius":t,"border-top-right-radius":t,"border-top-width":t,"border-width":t,"border-block":t,"border-block-end":t,"border-block-end-width":t,"border-block-start":t,"border-block-start-width":t,"border-block-width":t,"border-inline":t,"border-inline-end":t,"border-inline-end-width":t,"border-inline-start":t,"border-inline-start-width":t,"border-inline-width":t,"border-start-start-radius":t,"border-start-end-radius":t,"border-end-start-radius":t,"border-end-end-radius":t,margin:t,"margin-bottom":t,"margin-left":t,"margin-right":t,"margin-top":t,"margin-block":t,"margin-block-end":t,"margin-block-start":t,"margin-inline":t,"margin-inline-end":t,"margin-inline-start":t,padding:t,"padding-bottom":t,"padding-left":t,"padding-right":t,"padding-top":t,"padding-block":t,"padding-block-end":t,"padding-block-start":t,"padding-inline":t,"padding-inline-end":t,"padding-inline-start":t,"mask-position-x":t,"mask-position-y":t,"mask-size":t,height:t,width:t,"min-height":t,"max-height":t,"min-width":t,"max-width":t,bottom:t,left:t,top:t,right:t,inset:t,"inset-block":t,"inset-block-end":t,"inset-block-start":t,"inset-inline":t,"inset-inline-end":t,"inset-inline-start":t,"box-shadow":t,"text-shadow":t,"column-gap":t,"column-rule":t,"column-rule-width":t,"column-width":t,"font-size":t,"font-size-delta":t,"letter-spacing":t,"text-decoration-thickness":t,"text-indent":t,"text-stroke":t,"text-stroke-width":t,"word-spacing":t,motion:t,"motion-offset":t,outline:t,"outline-offset":t,"outline-width":t,perspective:t,"perspective-origin-x":o,"perspective-origin-y":o,"transform-origin":o,"transform-origin-x":o,"transform-origin-y":o,"transform-origin-z":o,"transition-delay":i,"transition-duration":i,"vertical-align":t,"flex-basis":t,"shape-margin":t,size:t,gap:t,grid:t,"grid-gap":t,"row-gap":t,"grid-row-gap":t,"grid-column-gap":t,"grid-template-rows":t,"grid-template-columns":t,"grid-auto-rows":t,"grid-auto-columns":t,"box-shadow-x":t,"box-shadow-y":t,"box-shadow-blur":t,"box-shadow-spread":t,"font-line-height":t,"text-shadow-x":t,"text-shadow-y":t,"text-shadow-blur":t});function d(r,i,o){if(null==i)return i;if(Array.isArray(i))for(var n=0;n<i.length;n++)i[n]=d(r,i[n],o);else if("object"==typeof i)if("fallbacks"===r)for(var a in i)i[a]=d(a,i[a],o);else for(var s in i)i[s]=d(r+"-"+s,i[s],o);else if("number"==typeof i&&!1===isNaN(i)){var l=o[r]||e[r];return!l||0===i&&l===t?i.toString():"function"==typeof l?l(i).toString():""+i+l}return i}function a(r){void 0===r&&(r={});var t=n(r);return{onProcessStyle:function(r,i){if("style"!==i.type)return r;for(var o in r)r[o]=d(o,r[o],t);return r},onChangeValue:function(r,i){return d(i,r,t)}}}export default a;
//# sourceMappingURL=jss-plugin-default-unit.esm.js.map
