mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
2 lines
6.2 KiB
JavaScript
2 lines
6.2 KiB
JavaScript
|
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("jss")):"function"==typeof define&&define.amd?define(["exports","jss"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).jssPluginVendorPrefixer={},e.jss)}(this,(function(e,r){"use strict";var t="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},n="object"===("undefined"==typeof window?"undefined":t(window))&&"object"===("undefined"==typeof document?"undefined":t(document))&&9===document.nodeType;function o(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,r){if(e){if("string"==typeof e)return o(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,r):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 u="",f="",a="",l="",s=n&&"ontouchstart"in document.documentElement;if(n){var p={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},c=document.createElement("p").style;for(var d in p)if(d+"Transform"in c){u=d,f=p[d];break}"Webkit"===u&&"msHyphens"in c&&(u="ms",f=p.ms,l="edge"),"Webkit"===u&&"-apple-trailing-word"in c&&(a="apple")}var y=u,m=f,b=a,v=l,g=s;var x={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===y?"-webkit-"+e:m+e)}},P={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===y?m+"print-"+e:e)}},k=/[-\s]+(.)?/g;function w(e,r){return r?r.toUpperCase():""}function h(e){return e.replace(k,w)}function j(e){return h("-"+e)}var S,A={noPrefill:["mask"],supportedProperty:function(e,r){if(!/^mask/.test(e))return!1;if("Webkit"===y){var t="mask-image";if(h(t)in r)return e;if(y+j(t)in r)return m+e}return e}},W={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==b||g?e:m+e)}},C={noPrefill:["transform"],supportedProperty:function(e,r,t){return"transform"===e&&(t.transform?e:m+e)}},E={noPrefill:["transition"],supportedProperty:function(e,r,t){return"transition"===e&&(t.transition?e:m+e)}},O={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===y||"ms"===y&&"edge"!==v?m+e:e)}},z={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===y||"ms"===y||"apple"===b?m+e:e)}},M={supportedProperty:function(e,r){return!!/^break-/.test(e)&&("Webkit"===y?"WebkitColumn"+j(e)in r&&m+"column-"+e:"Moz"===y&&("page"+j(e)in r&&"page-"+e))}},T={supportedProperty:function(e,r){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===y)return e;var t=e.replace("-inline","");return y+j(t)in r&&m+t}},I={supportedProperty:function(e,r){return h(e)in r&&e}},N={supportedProperty:function(e,r){var t=j(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:y+t in r?m+e:"Webkit"!==y&&"Webkit"+t in r&&"-webkit-"+e}},V={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===y?""+m+e:e)}},U={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===y?m+"scroll-chaining":e)}},_={"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"},q={supportedProperty:function(e,r){var t=_[e];return!!t&&(y+j(t)in r&&m+t)}},H={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"},R
|