@bgord/design 0.27.74 → 0.27.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/design.cjs.development.js +1 -1
- package/dist/design.cjs.development.js.map +1 -1
- package/dist/design.cjs.production.min.js +1 -1
- package/dist/design.cjs.production.min.js.map +1 -1
- package/dist/design.esm.js +1 -1
- package/dist/design.esm.js.map +1 -1
- package/dist/main.css +1 -1
- package/dist/main.min.css +1 -1
- package/dist/main.min.css.br +0 -0
- package/dist/main.min.css.gz +0 -0
- package/dist/normalize.min.css.gz +0 -0
- package/package.json +1 -1
- package/src/transforms-generator.ts +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var t,e=require("fs"),n=(t=require("lodash.pick"))&&"object"==typeof t&&"default"in t?t.default:t;function r(t,e,n,r,a,i,o){try{var s=t[i](o),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,a)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,c,"next",t)}function c(t){r(o,a,i,s,c,"throw",t)}s(void 0)}))}}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t,e){var n,r;t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n=t,r=e,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(n,r)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var h,l=(function(t){var e=function(t){var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var a=Object.create((e&&e.prototype instanceof u?e:u).prototype),i=new O(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return{value:void 0,done:!0}}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=x(o,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,i),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function u(){}function p(){}function f(){}var d={};d[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&n.call(v,a)&&(d=v);var b=f.prototype=u.prototype=Object.create(d);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var r;this._invoke=function(a,i){function o(){return new e((function(r,o){!function r(a,i,o,s){var c=h(t[a],t,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}(a,i,r,o)}))}return r=r?r.then(o,o):o()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var a=r.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=b.constructor=f,f.constructor=p,p.displayName=s(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,o,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(m.prototype),m.prototype[i]=function(){return this},t.AsyncIterator=m,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new m(c(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(b),s(b,o,"Generator"),b[a]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}(h={exports:{}}),h.exports),u=function(){function t(t){this.path=t}var n=t.prototype;return n.save=function(){var t=a(l.mark((function t(n){return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.promises.writeFile(this.path,n));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),n.read=function(){var t=a(l.mark((function t(){return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.promises.readFile(this.path);case 3:return t.abrupt("return",t.sent.toString());case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,this,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),t}(),p=function(){function t(t){this.name=t}var e=t.prototype;return e.generateHeader=function(){return"/* "+this.name+" */\n\n"},e.generateFooter=function(){return"/* ===================== */\n\n"},t}(),f=function(t){function e(e){var n;return(n=t.call(this,"Margins")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-m='"+r[0]+"'] {\n margin: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.spacing);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-mx='"+o[0]+"'] {\n margin-left: "+s+";\n margin-right: "+s+";\n}\n"}for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-my='"+l[0]+"'] {\n margin-top: "+u+";\n margin-bottom: "+u+";\n}\n"}for(var p=0,f=Object.entries(this.spacing);p<f.length;p++){var d=f[p];t+="*[data-mt='"+d[0]+"'] {\n margin-top: "+d[1]+";\n}\n"}for(var g=0,v=Object.entries(this.spacing);g<v.length;g++){var b=v[g];t+="*[data-mr='"+b[0]+"'] {\n margin-right: "+b[1]+";\n}\n"}for(var w=0,m=Object.entries(this.spacing);w<m.length;w++){var x=m[w];t+="*[data-mb='"+x[0]+"'] {\n margin-bottom: "+x[1]+";\n}\n"}for(var y=0,j=Object.entries(this.spacing);y<j.length;y++){var O=j[y];t+="*[data-ml='"+O[0]+"'] {\n margin-left: "+O[1]+";\n}\n"}for(var k=0,C=Object.entries(this.breakpoints);k<C.length;k++){var E=C[k],F=E[0];t+="@media (max-width: "+E[1]+"px) {\n";for(var L=0,P=Object.entries(this.spacing);L<P.length;L++){var S=P[L];t+=" *[data-"+F+"-m='"+S[0]+"'] {\n margin: "+S[1]+";\n }\n"}for(var W=0,_=Object.entries(this.spacing);W<_.length;W++){var z=_[W],G=z[1];t+=" *[data-"+F+"-mx='"+z[0]+"'] {\n margin-left: "+G+";\n margin-right: "+G+";\n }\n"}for(var A=0,H=Object.entries(this.spacing);A<H.length;A++){var B=H[A],I=B[1];t+=" *[data-"+F+"-my='"+B[0]+"'] {\n margin-top: "+I+";\n margin-bottom: "+I+";\n }\n"}for(var D=0,N=Object.entries(this.spacing);D<N.length;D++){var R=N[D];t+=" *[data-"+F+"-mt='"+R[0]+"'] {\n margin-top: "+R[1]+";\n }\n"}for(var T=0,M=Object.entries(this.spacing);T<M.length;T++){var q=M[T];t+=" *[data-"+F+"-mr='"+q[0]+"'] {\n margin-right: "+q[1]+";\n }\n"}for(var Y=0,U=Object.entries(this.spacing);Y<U.length;Y++){var Z=U[Y];t+=" *[data-"+F+"-mb='"+Z[0]+"'] {\n margin-bottom: "+Z[1]+";\n }\n"}for(var $=0,J=Object.entries(this.spacing);$<J.length;$++){var K=J[$];t+=" *[data-"+F+"-ml='"+K[0]+"'] {\n margin-left: "+K[1]+";\n }\n"}t+="}\n"}return t},e}(p),d=function(t){function e(e){var n;return(n=t.call(this,"Paddings")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-p='"+r[0]+"'] {\n padding: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.spacing);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-px='"+o[0]+"'] {\n padding-left: "+s+";\n padding-right: "+s+";\n}\n"}for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-py='"+l[0]+"'] {\n padding-top: "+u+";\n padding-bottom: "+u+";\n}\n"}for(var p=0,f=Object.entries(this.spacing);p<f.length;p++){var d=f[p];t+="*[data-pt='"+d[0]+"'] {\n padding-top: "+d[1]+";\n}\n"}for(var g=0,v=Object.entries(this.spacing);g<v.length;g++){var b=v[g];t+="*[data-pr='"+b[0]+"'] {\n padding-right: "+b[1]+";\n}\n"}for(var w=0,m=Object.entries(this.spacing);w<m.length;w++){var x=m[w];t+="*[data-pb='"+x[0]+"'] {\n padding-bottom: "+x[1]+";\n}\n"}for(var y=0,j=Object.entries(this.spacing);y<j.length;y++){var O=j[y];t+="*[data-pl='"+O[0]+"'] {\n padding-left: "+O[1]+";\n}\n"}for(var k=0,C=Object.entries(this.breakpoints);k<C.length;k++){var E=C[k],F=E[0];t+="@media (max-width: "+E[1]+"px) {\n";for(var L=0,P=Object.entries(this.spacing);L<P.length;L++){var S=P[L];t+=" *[data-"+F+"-p='"+S[0]+"'] {\n padding: "+S[1]+";\n }\n"}for(var W=0,_=Object.entries(this.spacing);W<_.length;W++){var z=_[W],G=z[1];t+=" *[data-"+F+"-px='"+z[0]+"'] {\n padding-left: "+G+";\n padding-right: "+G+";\n }\n"}for(var A=0,H=Object.entries(this.spacing);A<H.length;A++){var B=H[A],I=B[1];t+=" *[data-"+F+"-py='"+B[0]+"'] {\n padding-top: "+I+";\n padding-bottom: "+I+";\n }\n"}for(var D=0,N=Object.entries(this.spacing);D<N.length;D++){var R=N[D];t+=" *[data-"+F+"-pt='"+R[0]+"'] {\n padding-top: "+R[1]+";\n }\n"}for(var T=0,M=Object.entries(this.spacing);T<M.length;T++){var q=M[T];t+=" *[data-"+F+"-pr='"+q[0]+"'] {\n padding-right: "+q[1]+";\n }\n"}for(var Y=0,U=Object.entries(this.spacing);Y<U.length;Y++){var Z=U[Y];t+=" *[data-"+F+"-pb='"+Z[0]+"'] {\n padding-bottom: "+Z[1]+";\n }\n"}for(var $=0,J=Object.entries(this.spacing);$<J.length;$++){var K=J[$];t+=" *[data-"+F+"-pl='"+K[0]+"'] {\n padding-left: "+K[1]+";\n }\n"}t+="}\n"}return t},e}(p),g=function(t){function e(e){var n;return(n=t.call(this,"Displays")||this).displays=e.displays,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.displays);e<n.length;e++){var r=n[e],a=r[0],i=r[1];t+="flex"===i?"*[data-display='"+a+"'] {\n display: "+i+";\nflex-wrap: wrap;\n}\n":"*[data-display='"+a+"'] {\n display: "+i+";\n}\n"}for(var o=0,s=Object.entries(this.breakpoints);o<s.length;o++){var c=s[o],h=c[0];t+="@media (max-width: "+c[1]+"px) {\n";for(var l=0,u=Object.entries(this.displays);l<u.length;l++){var p=u[l],f=p[0],d=p[1];t+="flex"===d?"*[data-"+h+"-display='"+f+"'] {\n display: "+d+";\nflex-wrap: wrap;\n}\n":"*[data-"+h+"-display='"+f+"'] {\n display: "+d+";\n}\n"}t+="}\n"}return t},e}(p),v=function(t){function e(e){var n;return(n=t.call(this,"Axis placements")||this).axisPlacements=e.axisPlacements,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,r=Object.entries(this.axisPlacements);e<r.length;e++){var a=r[e];t+="*[data-main='"+a[0]+"'] {\n justify-content: "+a[1]+";\n}\n"}for(var i=0,o=Object.entries(this.axisPlacements);i<o.length;i++){var s=o[i];t+="*[data-cross='"+s[0]+"'] {\n align-items: "+s[1]+";\n}\n"}for(var c=0,h=Object.entries(n(this.axisPlacements,["start","end","center","baseline"]));c<h.length;c++){var l=h[c];t+="*[data-self='"+l[0]+"'] {\n align-self: "+l[1]+";\n}\n"}for(var u=0,p=Object.entries(this.breakpoints);u<p.length;u++){var f=p[u],d=f[0];t+="@media (max-width: "+f[1]+"px) {\n";for(var g=0,v=Object.entries(this.axisPlacements);g<v.length;g++){var b=v[g];t+=" *[data-"+d+"-main='"+b[0]+"'] {\n justify-content: "+b[1]+";\n }\n"}for(var w=0,m=Object.entries(this.axisPlacements);w<m.length;w++){var x=m[w];t+=" *[data-"+d+"-cross='"+x[0]+"'] {\n align-items: "+x[1]+";\n }\n"}for(var y=0,j=Object.entries(n(this.axisPlacements,["start","end","center","baseline"]));y<j.length;y++){var O=j[y];t+=" *[data-"+d+"-self='"+O[0]+"'] {\n align-self: "+O[1]+";\n }\n"}t+="}\n"}return t},e}(p),b=function(t){function e(e){var n;return(n=t.call(this,"Positions")||this).positions=e.positions,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.positions);e<n.length;e++){var r=n[e];t+="*[data-position='"+r[0]+"'] {\n position: "+r[1]+";\n}\n"}return t},e}(p),w=function(t){function e(e){var n;return(n=t.call(this,"Flex wraps")||this).flexWraps=e.flexWraps,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexWraps);e<n.length;e++){var r=n[e];t+="*[data-wrap='"+r[0]+"'] {\n flex-wrap: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexWraps);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-wrap='"+l[0]+"'] {\n flex-wrap: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),m=function(t){function e(e){var n;return(n=t.call(this,"Z indexes")||this).zIndexes=e.zIndexes,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.zIndexes);e<n.length;e++){var r=n[e];t+="*[data-z='"+r[0]+"'] {\n z-index: "+r[1]+";\n}\n"}return t},e}(p),x=function(t){function e(e){var n;return(n=t.call(this,"Widths")||this).widths=e.widths,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.widths);e<n.length;e++){var r=n[e];t+="*[data-width='"+r[0]+"'] {\n width: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.widths);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-width='"+l[0]+"'] {\n width: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),y=function(t){function e(e){var n;return(n=t.call(this,"Font sizes")||this).fontSizes=e.fontSizes,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.fontSizes);e<n.length;e++){var r=n[e];t+="*[data-fs='"+r[0]+"'] {\n font-size: "+r[1]+"px;\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.fontSizes);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-fs='"+l[0]+"'] {\n font-size: "+l[1]+"px;\n }\n"}t+="}\n"}return t},e}(p),j=function(t){function e(e){var n;return(n=t.call(this,"Font weights")||this).fontWeights=e.fontWeights,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.fontWeights);e<n.length;e++){var r=n[e];t+="*[data-fw='"+r[0]+"'] {\n font-weight: "+r[1]+";\n}\n"}return t},e}(p),O=function(t){function e(e){var n;return(n=t.call(this,"Line heights")||this).lineHeights=e.lineHeights,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.lineHeights);e<n.length;e++){var r=n[e];t+="*[data-lh='"+r[0]+"'] {\n line-height: "+r[1]+"px;\n}\n"}return t},e}(p),k=function(t){function e(e){var n;return(n=t.call(this,"Flex directions")||this).flexDirections=e.flexDirections,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexDirections);e<n.length;e++){var r=n[e];t+="*[data-direction='"+r[0]+"'] {\n flex-direction: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexDirections);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-direction='"+l[0]+"'] {\n flex-direction: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),C=function(t){function e(e){var n;return(n=t.call(this,"Backgrounds")||this).colors=i({},e.grayscale,e.greens,e.reds,e.oranges),n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.colors);e<n.length;e++){var r=n[e];t+="*[data-bg='"+r[0]+"'] {\n background-color: "+r[1]+";\n}\n"}return t},e}(p),E=function(t){function e(e){var n;return(n=t.call(this,"Font colors")||this).colors=i({},e.grayscale,e.greens,e.reds,e.oranges),n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.colors);e<n.length;e++){var r=n[e];t+="*[data-color='"+r[0]+"'] {\n color: "+r[1]+";\n}\n"}return t},e}(p),F=function(t){function e(e){var n;return(n=t.call(this,"Letter spacings")||this).letterSpacings=e.letterSpacings,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.letterSpacings);e<n.length;e++){var r=n[e];t+="*[data-ls='"+r[0]+"'] {\n letter-spacing: "+r[1]+"px;\n}\n"}return t},e}(p),L=function(t){function e(e){var n;return(n=t.call(this,"Flex grows")||this).flexGrows=e.flexGrows,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexGrows);e<n.length;e++){var r=n[e];t+="*[data-grow='"+r[0]+"'] {\n flex-grow: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexGrows);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-grow='"+l[0]+"'] {\n flex-grow: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),P=function(t){function e(e){var n;return(n=t.call(this,"Flex shrinks")||this).flexShrinks=e.flexShrinks,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexShrinks);e<n.length;e++){var r=n[e];t+="*[data-shrink='"+r[0]+"'] {\n flex-shrink: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexShrinks);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-shrink='"+l[0]+"'] {\n flex-shrink: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),S=function(t){function e(e){var n;return(n=t.call(this,"Border widths")||this).borderWidths=e.borderWidths,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.borderWidths);e<n.length;e++){var r=n[e];t+="*[data-bw='"+r[0]+"'] {\n border-width: "+r[1]+"px;\n}\n"}for(var a=0,i=Object.entries(this.borderWidths);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-bwx='"+o[0]+"'] {\n border-left-width: "+s+"px;\n border-right-width: "+s+"px;\n}\n"}for(var c=0,h=Object.entries(this.borderWidths);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-bwy='"+l[0]+"'] {\n border-top-width: "+u+"px;\n border-bottom-width: "+u+"px;\n}\n"}for(var p=0,f=Object.entries(this.borderWidths);p<f.length;p++){var d=f[p];t+="*[data-bwt='"+d[0]+"'] {\n border-top-width: "+d[1]+"px;\n}\n"}for(var g=0,v=Object.entries(this.borderWidths);g<v.length;g++){var b=v[g];t+="*[data-bwr='"+b[0]+"'] {\n border-right-width: "+b[1]+"px;\n}\n"}for(var w=0,m=Object.entries(this.borderWidths);w<m.length;w++){var x=m[w];t+="*[data-bwb='"+x[0]+"'] {\n border-bottom-width: "+x[1]+"px;\n}\n"}for(var y=0,j=Object.entries(this.borderWidths);y<j.length;y++){var O=j[y];t+="*[data-bwl='"+O[0]+"'] {\n border-left-width: "+O[1]+"px;\n}\n"}return t},e}(p),W=function(t){function e(e){var n;return(n=t.call(this,"Border colors")||this).borderColors=e.borderColors,n.greens=e.greens,n.oranges=e.oranges,n.reds=e.reds,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(i({},this.borderColors,this.greens,this.oranges,this.reds));e<n.length;e++){var r=n[e];t+="*[data-bc='"+r[0]+"'] {\n border-color: "+r[1]+";\n border-style: solid;\n}\n"}for(var a=0,o=Object.entries(this.borderColors);a<o.length;a++){var s=o[a],c=s[1];t+="*[data-bcx='"+s[0]+"'] {\n border-right-color: "+c+";\n border-left-color: "+c+";\n border-right-style: solid;\n border-left-style: solid;\n}\n"}for(var h=0,l=Object.entries(this.borderColors);h<l.length;h++){var u=l[h],p=u[1];t+="*[data-bcy='"+u[0]+"'] {\n border-top-color: "+p+";\n border-bottom-color: "+p+";\n border-top-style: solid;\n border-bottom-style: solid;\n}\n"}for(var f=0,d=Object.entries(this.borderColors);f<d.length;f++){var g=d[f];t+="*[data-bct='"+g[0]+"'] {\n border-top-color: "+g[1]+";\n border-top-style: solid;\n}\n"}for(var v=0,b=Object.entries(this.borderColors);v<b.length;v++){var w=b[v];t+="*[data-bcr='"+w[0]+"'] {\n border-right-color: "+w[1]+";\n border-right-style: solid;\n}\n"}for(var m=0,x=Object.entries(this.borderColors);m<x.length;m++){var y=x[m];t+="*[data-bcb='"+y[0]+"'] {\n border-bottom-color: "+y[1]+";\n border-bottom-style: solid;\n}\n"}for(var j=0,O=Object.entries(this.borderColors);j<O.length;j++){var k=O[j];t+="*[data-bcl='"+k[0]+"'] {\n border-left-color: "+k[1]+";\n border-left-style: solid;\n}\n"}return t},e}(p),_=function(t){function e(e){var n;return(n=t.call(this,"Border radiuses")||this).borderRadiuses=e.borderRadiuses,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.borderRadiuses);e<n.length;e++){var r=n[e];t+="*[data-br='"+r[0]+"'] {\n border-radius: "+r[1]+";\n}\n"}return t},e}(p),z=function(t){function e(e){var n;return(n=t.call(this,"Max widths")||this).maxWidths=e.maxWidths,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.maxWidths);e<n.length;e++){var r=n[e];t+="*[data-max-width='"+r[0]+"'] {\n max-width: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.maxWidths);c<h.length;c++){var l=h[c];t+="*[data-"+s+"-max-width='"+l[0]+"'] {\n max-width: "+l[1]+";\n}\n"}t+="}\n"}return t},e}(p),G=function(t){function e(e){var n;return(n=t.call(this,"Transforms")||this).transforms=e.transforms,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.transforms);e<n.length;e++){var r=n[e],a=r[0];t+="truncate"!==a?"line-clamp"!==a?"center"!==a?"upper-first"!==a?"nowrap"!==a?"*[data-transform~='"+a+"'] {\n text-transform: "+r[1]+";\n}\n":"*[data-transform~='nowrap'] {\n white-space: nowrap;\n}\n":"*[data-transform~='upper-first']:first-letter {\n text-transform: uppercase;\n}\n":"*[data-transform~='"+a+"'] {\n text-align: center;\n}\n":"*[data-transform~='"+a+"'] {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lines, 2);\n}\n":"*[data-transform~='"+a+"'] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n"}return t},e}(p),A=function(t){function e(e){var n;return(n=t.call(this,"Overflows")||this).overflows=e.overflows,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.overflows);e<n.length;e++){var r=n[e];t+="*[data-overflow='"+r[0]+"'] {\n overflow: "+r[1]+";\n}\n"}return t},e}(p),H=function(t){function e(e){var n;return(n=t.call(this,"Positioners")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e],a=r[0],i=r[1];t+="*[data-top='"+a+"'] {\n top: "+i+";\n}\n",t+="*[data-right='"+a+"'] {\n right: "+i+";\n}\n",t+="*[data-bottom='"+a+"'] {\n bottom: "+i+";\n}\n",t+="*[data-left='"+a+"'] {\n left: "+i+";\n}\n",t+="*[data-inset='"+a+"'] {\n inset: "+i+";\n}\n"}for(var o=0,s=Object.entries(this.breakpoints);o<s.length;o++){var c=s[o],h=c[0];t+="@media (max-width: "+c[1]+"px) {\n";for(var l=0,u=Object.entries(this.spacing);l<u.length;l++){var p=u[l],f=p[0],d=p[1];t+="*[data-"+h+"-top='"+f+"'] {\n top: "+d+";\n}\n",t+="*[data-"+h+"-right='"+f+"'] {\n right: "+d+";\n}\n",t+="*[data-"+h+"-bottom='"+f+"'] {\n bottom: "+d+";\n}\n",t+="*[data-"+h+"-left='"+f+"'] {\n left: "+d+";\n}\n",t+="*[data-"+h+"-inset='"+f+"'] {\n inset: "+d+";\n}\n"}t+="}\n"}return t},e}(p),B=function(t){function e(e){var n;return(n=t.call(this,"Heights")||this).heights=e.heights,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.heights);e<n.length;e++){var r=n[e];t+="*[data-height='"+r[0]+"'] {\n height: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.heights);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-height='"+l[0]+"'] {\n height: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),I=function(t){function e(e){var n;return(n=t.call(this,"Gaps")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-gap='"+r[0]+"'] {\n gap: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-gap='"+l[0]+"'] {\n gap: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),D=function(t){function e(e){var n;return(n=t.call(this,"Cursors")||this).cursors=e.cursors,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.cursors);e<n.length;e++){var r=n[e];t+="*[data-cursor='"+r[0]+"'] {\n cursor: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.cursors);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-cursor='"+l[0]+"'] {\n cursor: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),N=function(t){function e(e){var n;return(n=t.call(this,"Pointer events")||this).pointerEvents=e.pointerEvents,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.pointerEvents);e<n.length;e++){var r=n[e];t+="*[data-pointer-events='"+r[0]+"'] {\n pointer-events: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.pointerEvents);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-pointer-events='"+l[0]+"'] {\n pointer-events: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),R=function(t){function e(e){var n;return(n=t.call(this,"Backdrops")||this).backdrops=e.backdrops,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.backdrops);e<n.length;e++){var r=n[e];t+="*[data-backdrop='"+r[0]+"']::backdrop {\n background: "+r[1]+";\n}\n"}return t},e}(p),T=function(t){function e(e){var n;return(n=t.call(this,"Object fits")||this).objectFits=e.objectFits,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.objectFits);e<n.length;e++){var r=n[e];t+="*[data-object-fit='"+r[0]+"'] {\n object-fit: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.objectFits);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-object-fit='"+l[0]+"'] {\n object-fit: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),M=function(t){function e(e){var n;return(n=t.call(this,"Object positions")||this).objectPositions=e.objectPositions,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.objectPositions);e<n.length;e++){var r=n[e];t+="*[data-object-position='"+r[0]+"'] {\n object-position: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.objectPositions);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-object-position='"+l[0]+"'] {\n object-position: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),q=function(t){function e(e){var n;return(n=t.call(this,"Rotates")||this).rotates=e.rotates,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.rotates);e<n.length;e++){var r=n[e];t+="*[data-rotate='"+r[0]+"'] {\n transform: rotate("+r[1]+"deg);\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.rotates);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-rotate='"+l[0]+"'] {\n transform: rotate("+l[1]+"deg);\n }\n"}t+="}\n"}return t},e}(p),Y=function(t){function e(e){var n;return(n=t.call(this,"Max heights")||this).maxHeights=e.maxHeights,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.maxHeights);e<n.length;e++){var r=n[e];t+="*[data-max-height='"+r[0]+"'] {\n max-height: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.maxHeights);c<h.length;c++){var l=h[c];t+="*[data-"+s+"-max-height='"+l[0]+"'] {\n max-height: "+l[1]+";\n}\n"}t+="}\n"}return t},e}(p),U={0:"0",3:"3px",6:"6px",12:"12px",24:"24px",36:"36px",48:"48px",72:"72px",auto:"auto",unset:"unset"},Z={flex:"flex",block:"block","inline-block":"inline-block",none:"none"},$={contain:"contain",cover:"cover",fill:"fill","scale-down":"scale-down",none:"none"},J={top:"top",bottom:"bottom",left:"left",right:"right",center:"center","top-left":"top left","top-right":"top right"},K={start:"flex-start",end:"flex-end",around:"space-around",evenly:"space-evenly",between:"space-between",center:"center",baseline:"baseline"},Q={static:"static",relative:"relative",absolute:"absolute",fixed:"fixed",sticky:"sticky",unset:"unset"},V={nowrap:"nowrap",wrap:"wrap","wrap-reverse":"wrap-reverse",unset:"unset"},X={"-1":"-1",0:"0",1:"1",2:"2",3:"3"},tt={"100%":"100%",auto:"auto",unset:"unset"},et={"100%":"100%",auto:"auto",unset:"unset"},nt={12:"12",14:"14",16:"16",20:"20",24:"24",32:"32",36:"36"},rt={300:"300",400:"400",500:"500",700:"700",900:"900",unset:"unset"},at={12:"12",16:"16",20:"20",24:"24",32:"32",36:"36",unset:"unset"},it={row:"row","row-reverse":"row-reverse",column:"column","column-reverse":"column-reverse"},ot={white:"#F9FAFB","gray-100":"#F3F4F6","gray-200":"#E5E7EB","gray-300":"#D1D5DB","gray-400":"#9CA3AF","gray-500":"#6B7280","gray-600":"#4B5563","gray-700":"#374151","gray-800":"#1F2937",black:"#111827"},st={"green-100":"hsl(112, 50%, 85%)","green-200":"hsl(112, 50%, 75%)","green-300":"hsl(112, 50%, 65%)","green-400":"hsl(112, 50%, 55%)","green-500":"hsl(112, 50%, 45%)","green-600":"hsl(112, 50%, 35%)","green-700":"hsl(112, 50%, 25%)","green-800":"hsl(112, 50%, 20%)"},ct={"red-100":"hsl(5, 80%, 90%)","red-200":"hsl(5, 80%, 83%)","red-300":"hsl(5, 80%, 72.5%)","red-400":"hsl(5, 80%, 62.5%)","red-500":"hsl(5, 80%, 52.5%)","red-600":"hsl(5, 80%, 42%)","red-700":"hsl(5, 80%, 32.5%)","red-800":"hsl(5, 80%, 22.5%)"},ht={"orange-100":"hsl(25, 88%, 85%)","orange-200":"hsl(25, 88%, 75%)","orange-300":"hsl(25, 88%, 65%)","orange-400":"hsl(25, 88%, 55%)","orange-500":"hsl(25, 88%, 45%)","orange-600":"hsl(25, 88%, 37.5%)","orange-700":"hsl(25, 88%, 27.5%)","orange-800":"hsl(25, 88%, 20%)"},lt={md:768},ut={.5:.5,1:1,1.5:1.5,2:2,4:4,6:6},pt={1:"1",unset:"unset"},ft={0:"0",unset:"unset"},dt={1:1,2:2,4:4,6:6,12:12},gt=i({},ot,{transparent:"transparent"}),vt={0:"0",1:"1px",2:"2px",4:"4px","50%":"50%"},bt={"100%":"100%",1296:"1296px",768:"768px",528:"528px",320:"320px",unset:"unset"},wt={"100%":"100%",unset:"unset"},mt={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize","upper-first":"upper-first",truncate:"truncate",center:"center",nowrap:"nowrap",none:"none","line-clamp":"line-clamp"},xt={auto:"auto",scroll:"scroll",hidden:"hidden"},yt={wait:"wait",auto:"auto",pointer:"pointer","not-allowed":"not-allowed"},jt={none:"none",auto:"auto"},Ot={black:"rgba(0, 0, 0, 0.75)",none:"none"},kt={0:"0",90:"90",180:"180",270:"270"},Ct=function(){function t(){}return t.prototype.process=function(){var t=a(l.mark((function t(e){var n,r,a,i;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=n="",t.next=4,new u("src/ui/button.css").read();case 4:return n=t.t0+=t.sent,t.t1=n,t.next=8,new u("src/ui/input.css").read();case 8:return n=t.t1+=t.sent,t.t2=n,t.next=12,new u("src/ui/label.css").read();case 12:return n=t.t2+=t.sent,t.t3=n,t.next=16,new u("src/ui/link.css").read();case 16:return n=t.t3+=t.sent,t.t4=n,t.next=20,new u("src/ui/select.css").read();case 20:return n=t.t4+=t.sent,t.t5=n,t.next=24,new u("src/ui/checkbox.css").read();case 24:return n=t.t5+=t.sent,t.t6=n,t.next=28,new u("src/ui/textarea.css").read();case 28:return n=t.t6+=t.sent,t.t7=n,t.next=32,new u("src/ui/anima.css").read();case 32:return n=t.t7+=t.sent,t.t8=n,t.next=36,new u("src/ui/range.css").read();case 36:return n=t.t8+=t.sent,t.t9=n,t.next=40,new u("src/ui/badge.css").read();case 40:return n=t.t9+=t.sent,t.t10=n,t.next=44,new u("src/ui/file-explorer.css").read();case 44:return n=t.t10+=t.sent,t.t11=n,t.next=48,new u("src/ui/visually-hidden.css").read();case 48:return n=t.t11+=t.sent,t.t12=n,t.next=52,new u("src/ui/switch.css").read();case 52:return n=t.t12+=t.sent,t.t13=n,t.next=56,new u("src/rules/title-truncate.css").read();case 56:return n=t.t13+=t.sent,t.t14=n,t.next=60,new u("src/rules/target-blank-referer.css").read();case 60:return n=t.t14+=t.sent,t.t15=n,t.next=64,new u("src/rules/image-alt.css").read();case 64:return n=t.t15+=t.sent,t.t16=n,t.next=68,new u("src/rules/button-icon-title.css").read();case 68:for(n=t.t16+=t.sent,r=c(e);!(a=r()).done;)n+=(i=a.value).generateHeader(),n+=i.generateCss(),n+=i.generateFooter();return t.next=72,new u("dist/main.css").save(n);case 72:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t}();function Et(){return(Et=a(l.mark((function t(){var e;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={spacing:U,displays:Z,axisPlacements:K,positions:Q,flexWraps:V,zIndexes:X,widths:tt,fontSizes:nt,fontWeights:rt,lineHeights:at,flexDirections:it,grayscale:ot,greens:st,reds:ct,oranges:ht,breakpoints:lt,letterSpacings:ut,flexGrows:pt,flexShrinks:ft,borderWidths:dt,borderColors:gt,borderRadiuses:vt,maxWidths:bt,transforms:mt,overflows:xt,heights:et,cursors:yt,pointerEvents:jt,backdrops:Ot,objectFits:$,objectPositions:J,rotates:kt,maxHeights:wt},t.next=3,(new Ct).process([new f(e),new d(e),new g(e),new v(e),new w(e),new k(e),new L(e),new P(e),new I(e),new x(e),new b(e),new m(e),new y(e),new j(e),new E(e),new O(e),new F(e),new C(e),new S(e),new W(e),new _(e),new z(e),new G(e),new A(e),new H(e),new B(e),new D(e),new N(e),new R(e),new T(e),new M(e),new q(e),new Y(e)]);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}!function(){Et.apply(this,arguments)}();
|
|
1
|
+
"use strict";var t,e=require("fs"),n=(t=require("lodash.pick"))&&"object"==typeof t&&"default"in t?t.default:t;function r(t,e,n,r,a,i,o){try{var s=t[i](o),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,a)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(a,i){var o=t.apply(e,n);function s(t){r(o,a,i,s,c,"next",t)}function c(t){r(o,a,i,s,c,"throw",t)}s(void 0)}))}}function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function o(t,e){var n,r;t.prototype=Object.create(e.prototype),t.prototype.constructor=t,n=t,r=e,(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(n,r)}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return s(t,void 0);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,void 0):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var h,l=(function(t){var e=function(t){var e=Object.prototype,n=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function s(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,n){return t[e]=n}}function c(t,e,n,r){var a=Object.create((e&&e.prototype instanceof u?e:u).prototype),i=new O(r||[]);return a._invoke=function(t,e,n){var r="suspendedStart";return function(a,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw i;return{value:void 0,done:!0}}for(n.method=a,n.arg=i;;){var o=n.delegate;if(o){var s=x(o,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,i),a}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l={};function u(){}function p(){}function f(){}var d={};d[a]=function(){return this};var g=Object.getPrototypeOf,v=g&&g(g(k([])));v&&v!==e&&n.call(v,a)&&(d=v);var b=f.prototype=u.prototype=Object.create(d);function w(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function m(t,e){var r;this._invoke=function(a,i){function o(){return new e((function(r,o){!function r(a,i,o,s){var c=h(t[a],t,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){r("next",t,o,s)}),(function(t){r("throw",t,o,s)})):e.resolve(u).then((function(t){l.value=t,o(l)}),(function(t){return r("throw",t,o,s)}))}s(c.arg)}(a,i,r,o)}))}return r=r?r.then(o,o):o()}}function x(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method))return l;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=h(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,l;var a=r.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,l):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,l)}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function k(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:C}}function C(){return{value:void 0,done:!0}}return p.prototype=b.constructor=f,f.constructor=p,p.displayName=s(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,s(t,o,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},w(m.prototype),m.prototype[i]=function(){return this},t.AsyncIterator=m,t.async=function(e,n,r,a,i){void 0===i&&(i=Promise);var o=new m(c(e,n,r,a),i);return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},w(b),s(b,o,"Generator"),b[a]=function(){return this},b.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return o.type="throw",o.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],o=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var i=a;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),l},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),j(n),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}(h={exports:{}}),h.exports),u=function(){function t(t){this.path=t}var n=t.prototype;return n.save=function(){var t=a(l.mark((function t(n){return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.promises.writeFile(this.path,n));case 1:case"end":return t.stop()}}),t,this)})));return function(e){return t.apply(this,arguments)}}(),n.read=function(){var t=a(l.mark((function t(){return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.promises.readFile(this.path);case 3:return t.abrupt("return",t.sent.toString());case 7:return t.prev=7,t.t0=t.catch(0),t.abrupt("return",null);case 10:case"end":return t.stop()}}),t,this,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),t}(),p=function(){function t(t){this.name=t}var e=t.prototype;return e.generateHeader=function(){return"/* "+this.name+" */\n\n"},e.generateFooter=function(){return"/* ===================== */\n\n"},t}(),f=function(t){function e(e){var n;return(n=t.call(this,"Margins")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-m='"+r[0]+"'] {\n margin: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.spacing);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-mx='"+o[0]+"'] {\n margin-left: "+s+";\n margin-right: "+s+";\n}\n"}for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-my='"+l[0]+"'] {\n margin-top: "+u+";\n margin-bottom: "+u+";\n}\n"}for(var p=0,f=Object.entries(this.spacing);p<f.length;p++){var d=f[p];t+="*[data-mt='"+d[0]+"'] {\n margin-top: "+d[1]+";\n}\n"}for(var g=0,v=Object.entries(this.spacing);g<v.length;g++){var b=v[g];t+="*[data-mr='"+b[0]+"'] {\n margin-right: "+b[1]+";\n}\n"}for(var w=0,m=Object.entries(this.spacing);w<m.length;w++){var x=m[w];t+="*[data-mb='"+x[0]+"'] {\n margin-bottom: "+x[1]+";\n}\n"}for(var y=0,j=Object.entries(this.spacing);y<j.length;y++){var O=j[y];t+="*[data-ml='"+O[0]+"'] {\n margin-left: "+O[1]+";\n}\n"}for(var k=0,C=Object.entries(this.breakpoints);k<C.length;k++){var E=C[k],F=E[0];t+="@media (max-width: "+E[1]+"px) {\n";for(var L=0,P=Object.entries(this.spacing);L<P.length;L++){var S=P[L];t+=" *[data-"+F+"-m='"+S[0]+"'] {\n margin: "+S[1]+";\n }\n"}for(var W=0,_=Object.entries(this.spacing);W<_.length;W++){var z=_[W],G=z[1];t+=" *[data-"+F+"-mx='"+z[0]+"'] {\n margin-left: "+G+";\n margin-right: "+G+";\n }\n"}for(var A=0,H=Object.entries(this.spacing);A<H.length;A++){var B=H[A],I=B[1];t+=" *[data-"+F+"-my='"+B[0]+"'] {\n margin-top: "+I+";\n margin-bottom: "+I+";\n }\n"}for(var D=0,N=Object.entries(this.spacing);D<N.length;D++){var R=N[D];t+=" *[data-"+F+"-mt='"+R[0]+"'] {\n margin-top: "+R[1]+";\n }\n"}for(var T=0,M=Object.entries(this.spacing);T<M.length;T++){var q=M[T];t+=" *[data-"+F+"-mr='"+q[0]+"'] {\n margin-right: "+q[1]+";\n }\n"}for(var Y=0,U=Object.entries(this.spacing);Y<U.length;Y++){var Z=U[Y];t+=" *[data-"+F+"-mb='"+Z[0]+"'] {\n margin-bottom: "+Z[1]+";\n }\n"}for(var $=0,J=Object.entries(this.spacing);$<J.length;$++){var K=J[$];t+=" *[data-"+F+"-ml='"+K[0]+"'] {\n margin-left: "+K[1]+";\n }\n"}t+="}\n"}return t},e}(p),d=function(t){function e(e){var n;return(n=t.call(this,"Paddings")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-p='"+r[0]+"'] {\n padding: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.spacing);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-px='"+o[0]+"'] {\n padding-left: "+s+";\n padding-right: "+s+";\n}\n"}for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-py='"+l[0]+"'] {\n padding-top: "+u+";\n padding-bottom: "+u+";\n}\n"}for(var p=0,f=Object.entries(this.spacing);p<f.length;p++){var d=f[p];t+="*[data-pt='"+d[0]+"'] {\n padding-top: "+d[1]+";\n}\n"}for(var g=0,v=Object.entries(this.spacing);g<v.length;g++){var b=v[g];t+="*[data-pr='"+b[0]+"'] {\n padding-right: "+b[1]+";\n}\n"}for(var w=0,m=Object.entries(this.spacing);w<m.length;w++){var x=m[w];t+="*[data-pb='"+x[0]+"'] {\n padding-bottom: "+x[1]+";\n}\n"}for(var y=0,j=Object.entries(this.spacing);y<j.length;y++){var O=j[y];t+="*[data-pl='"+O[0]+"'] {\n padding-left: "+O[1]+";\n}\n"}for(var k=0,C=Object.entries(this.breakpoints);k<C.length;k++){var E=C[k],F=E[0];t+="@media (max-width: "+E[1]+"px) {\n";for(var L=0,P=Object.entries(this.spacing);L<P.length;L++){var S=P[L];t+=" *[data-"+F+"-p='"+S[0]+"'] {\n padding: "+S[1]+";\n }\n"}for(var W=0,_=Object.entries(this.spacing);W<_.length;W++){var z=_[W],G=z[1];t+=" *[data-"+F+"-px='"+z[0]+"'] {\n padding-left: "+G+";\n padding-right: "+G+";\n }\n"}for(var A=0,H=Object.entries(this.spacing);A<H.length;A++){var B=H[A],I=B[1];t+=" *[data-"+F+"-py='"+B[0]+"'] {\n padding-top: "+I+";\n padding-bottom: "+I+";\n }\n"}for(var D=0,N=Object.entries(this.spacing);D<N.length;D++){var R=N[D];t+=" *[data-"+F+"-pt='"+R[0]+"'] {\n padding-top: "+R[1]+";\n }\n"}for(var T=0,M=Object.entries(this.spacing);T<M.length;T++){var q=M[T];t+=" *[data-"+F+"-pr='"+q[0]+"'] {\n padding-right: "+q[1]+";\n }\n"}for(var Y=0,U=Object.entries(this.spacing);Y<U.length;Y++){var Z=U[Y];t+=" *[data-"+F+"-pb='"+Z[0]+"'] {\n padding-bottom: "+Z[1]+";\n }\n"}for(var $=0,J=Object.entries(this.spacing);$<J.length;$++){var K=J[$];t+=" *[data-"+F+"-pl='"+K[0]+"'] {\n padding-left: "+K[1]+";\n }\n"}t+="}\n"}return t},e}(p),g=function(t){function e(e){var n;return(n=t.call(this,"Displays")||this).displays=e.displays,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.displays);e<n.length;e++){var r=n[e],a=r[0],i=r[1];t+="flex"===i?"*[data-display='"+a+"'] {\n display: "+i+";\nflex-wrap: wrap;\n}\n":"*[data-display='"+a+"'] {\n display: "+i+";\n}\n"}for(var o=0,s=Object.entries(this.breakpoints);o<s.length;o++){var c=s[o],h=c[0];t+="@media (max-width: "+c[1]+"px) {\n";for(var l=0,u=Object.entries(this.displays);l<u.length;l++){var p=u[l],f=p[0],d=p[1];t+="flex"===d?"*[data-"+h+"-display='"+f+"'] {\n display: "+d+";\nflex-wrap: wrap;\n}\n":"*[data-"+h+"-display='"+f+"'] {\n display: "+d+";\n}\n"}t+="}\n"}return t},e}(p),v=function(t){function e(e){var n;return(n=t.call(this,"Axis placements")||this).axisPlacements=e.axisPlacements,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,r=Object.entries(this.axisPlacements);e<r.length;e++){var a=r[e];t+="*[data-main='"+a[0]+"'] {\n justify-content: "+a[1]+";\n}\n"}for(var i=0,o=Object.entries(this.axisPlacements);i<o.length;i++){var s=o[i];t+="*[data-cross='"+s[0]+"'] {\n align-items: "+s[1]+";\n}\n"}for(var c=0,h=Object.entries(n(this.axisPlacements,["start","end","center","baseline"]));c<h.length;c++){var l=h[c];t+="*[data-self='"+l[0]+"'] {\n align-self: "+l[1]+";\n}\n"}for(var u=0,p=Object.entries(this.breakpoints);u<p.length;u++){var f=p[u],d=f[0];t+="@media (max-width: "+f[1]+"px) {\n";for(var g=0,v=Object.entries(this.axisPlacements);g<v.length;g++){var b=v[g];t+=" *[data-"+d+"-main='"+b[0]+"'] {\n justify-content: "+b[1]+";\n }\n"}for(var w=0,m=Object.entries(this.axisPlacements);w<m.length;w++){var x=m[w];t+=" *[data-"+d+"-cross='"+x[0]+"'] {\n align-items: "+x[1]+";\n }\n"}for(var y=0,j=Object.entries(n(this.axisPlacements,["start","end","center","baseline"]));y<j.length;y++){var O=j[y];t+=" *[data-"+d+"-self='"+O[0]+"'] {\n align-self: "+O[1]+";\n }\n"}t+="}\n"}return t},e}(p),b=function(t){function e(e){var n;return(n=t.call(this,"Positions")||this).positions=e.positions,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.positions);e<n.length;e++){var r=n[e];t+="*[data-position='"+r[0]+"'] {\n position: "+r[1]+";\n}\n"}return t},e}(p),w=function(t){function e(e){var n;return(n=t.call(this,"Flex wraps")||this).flexWraps=e.flexWraps,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexWraps);e<n.length;e++){var r=n[e];t+="*[data-wrap='"+r[0]+"'] {\n flex-wrap: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexWraps);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-wrap='"+l[0]+"'] {\n flex-wrap: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),m=function(t){function e(e){var n;return(n=t.call(this,"Z indexes")||this).zIndexes=e.zIndexes,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.zIndexes);e<n.length;e++){var r=n[e];t+="*[data-z='"+r[0]+"'] {\n z-index: "+r[1]+";\n}\n"}return t},e}(p),x=function(t){function e(e){var n;return(n=t.call(this,"Widths")||this).widths=e.widths,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.widths);e<n.length;e++){var r=n[e];t+="*[data-width='"+r[0]+"'] {\n width: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.widths);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-width='"+l[0]+"'] {\n width: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),y=function(t){function e(e){var n;return(n=t.call(this,"Font sizes")||this).fontSizes=e.fontSizes,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.fontSizes);e<n.length;e++){var r=n[e];t+="*[data-fs='"+r[0]+"'] {\n font-size: "+r[1]+"px;\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.fontSizes);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-fs='"+l[0]+"'] {\n font-size: "+l[1]+"px;\n }\n"}t+="}\n"}return t},e}(p),j=function(t){function e(e){var n;return(n=t.call(this,"Font weights")||this).fontWeights=e.fontWeights,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.fontWeights);e<n.length;e++){var r=n[e];t+="*[data-fw='"+r[0]+"'] {\n font-weight: "+r[1]+";\n}\n"}return t},e}(p),O=function(t){function e(e){var n;return(n=t.call(this,"Line heights")||this).lineHeights=e.lineHeights,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.lineHeights);e<n.length;e++){var r=n[e];t+="*[data-lh='"+r[0]+"'] {\n line-height: "+r[1]+"px;\n}\n"}return t},e}(p),k=function(t){function e(e){var n;return(n=t.call(this,"Flex directions")||this).flexDirections=e.flexDirections,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexDirections);e<n.length;e++){var r=n[e];t+="*[data-direction='"+r[0]+"'] {\n flex-direction: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexDirections);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-direction='"+l[0]+"'] {\n flex-direction: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),C=function(t){function e(e){var n;return(n=t.call(this,"Backgrounds")||this).colors=i({},e.grayscale,e.greens,e.reds,e.oranges),n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.colors);e<n.length;e++){var r=n[e];t+="*[data-bg='"+r[0]+"'] {\n background-color: "+r[1]+";\n}\n"}return t},e}(p),E=function(t){function e(e){var n;return(n=t.call(this,"Font colors")||this).colors=i({},e.grayscale,e.greens,e.reds,e.oranges),n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.colors);e<n.length;e++){var r=n[e];t+="*[data-color='"+r[0]+"'] {\n color: "+r[1]+";\n}\n"}return t},e}(p),F=function(t){function e(e){var n;return(n=t.call(this,"Letter spacings")||this).letterSpacings=e.letterSpacings,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.letterSpacings);e<n.length;e++){var r=n[e];t+="*[data-ls='"+r[0]+"'] {\n letter-spacing: "+r[1]+"px;\n}\n"}return t},e}(p),L=function(t){function e(e){var n;return(n=t.call(this,"Flex grows")||this).flexGrows=e.flexGrows,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexGrows);e<n.length;e++){var r=n[e];t+="*[data-grow='"+r[0]+"'] {\n flex-grow: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexGrows);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-grow='"+l[0]+"'] {\n flex-grow: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),P=function(t){function e(e){var n;return(n=t.call(this,"Flex shrinks")||this).flexShrinks=e.flexShrinks,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.flexShrinks);e<n.length;e++){var r=n[e];t+="*[data-shrink='"+r[0]+"'] {\n flex-shrink: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.flexShrinks);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-shrink='"+l[0]+"'] {\n flex-shrink: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),S=function(t){function e(e){var n;return(n=t.call(this,"Border widths")||this).borderWidths=e.borderWidths,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.borderWidths);e<n.length;e++){var r=n[e];t+="*[data-bw='"+r[0]+"'] {\n border-width: "+r[1]+"px;\n}\n"}for(var a=0,i=Object.entries(this.borderWidths);a<i.length;a++){var o=i[a],s=o[1];t+="*[data-bwx='"+o[0]+"'] {\n border-left-width: "+s+"px;\n border-right-width: "+s+"px;\n}\n"}for(var c=0,h=Object.entries(this.borderWidths);c<h.length;c++){var l=h[c],u=l[1];t+="*[data-bwy='"+l[0]+"'] {\n border-top-width: "+u+"px;\n border-bottom-width: "+u+"px;\n}\n"}for(var p=0,f=Object.entries(this.borderWidths);p<f.length;p++){var d=f[p];t+="*[data-bwt='"+d[0]+"'] {\n border-top-width: "+d[1]+"px;\n}\n"}for(var g=0,v=Object.entries(this.borderWidths);g<v.length;g++){var b=v[g];t+="*[data-bwr='"+b[0]+"'] {\n border-right-width: "+b[1]+"px;\n}\n"}for(var w=0,m=Object.entries(this.borderWidths);w<m.length;w++){var x=m[w];t+="*[data-bwb='"+x[0]+"'] {\n border-bottom-width: "+x[1]+"px;\n}\n"}for(var y=0,j=Object.entries(this.borderWidths);y<j.length;y++){var O=j[y];t+="*[data-bwl='"+O[0]+"'] {\n border-left-width: "+O[1]+"px;\n}\n"}return t},e}(p),W=function(t){function e(e){var n;return(n=t.call(this,"Border colors")||this).borderColors=e.borderColors,n.greens=e.greens,n.oranges=e.oranges,n.reds=e.reds,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(i({},this.borderColors,this.greens,this.oranges,this.reds));e<n.length;e++){var r=n[e];t+="*[data-bc='"+r[0]+"'] {\n border-color: "+r[1]+";\n border-style: solid;\n}\n"}for(var a=0,o=Object.entries(this.borderColors);a<o.length;a++){var s=o[a],c=s[1];t+="*[data-bcx='"+s[0]+"'] {\n border-right-color: "+c+";\n border-left-color: "+c+";\n border-right-style: solid;\n border-left-style: solid;\n}\n"}for(var h=0,l=Object.entries(this.borderColors);h<l.length;h++){var u=l[h],p=u[1];t+="*[data-bcy='"+u[0]+"'] {\n border-top-color: "+p+";\n border-bottom-color: "+p+";\n border-top-style: solid;\n border-bottom-style: solid;\n}\n"}for(var f=0,d=Object.entries(this.borderColors);f<d.length;f++){var g=d[f];t+="*[data-bct='"+g[0]+"'] {\n border-top-color: "+g[1]+";\n border-top-style: solid;\n}\n"}for(var v=0,b=Object.entries(this.borderColors);v<b.length;v++){var w=b[v];t+="*[data-bcr='"+w[0]+"'] {\n border-right-color: "+w[1]+";\n border-right-style: solid;\n}\n"}for(var m=0,x=Object.entries(this.borderColors);m<x.length;m++){var y=x[m];t+="*[data-bcb='"+y[0]+"'] {\n border-bottom-color: "+y[1]+";\n border-bottom-style: solid;\n}\n"}for(var j=0,O=Object.entries(this.borderColors);j<O.length;j++){var k=O[j];t+="*[data-bcl='"+k[0]+"'] {\n border-left-color: "+k[1]+";\n border-left-style: solid;\n}\n"}return t},e}(p),_=function(t){function e(e){var n;return(n=t.call(this,"Border radiuses")||this).borderRadiuses=e.borderRadiuses,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.borderRadiuses);e<n.length;e++){var r=n[e];t+="*[data-br='"+r[0]+"'] {\n border-radius: "+r[1]+";\n}\n"}return t},e}(p),z=function(t){function e(e){var n;return(n=t.call(this,"Max widths")||this).maxWidths=e.maxWidths,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.maxWidths);e<n.length;e++){var r=n[e];t+="*[data-max-width='"+r[0]+"'] {\n max-width: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.maxWidths);c<h.length;c++){var l=h[c];t+="*[data-"+s+"-max-width='"+l[0]+"'] {\n max-width: "+l[1]+";\n}\n"}t+="}\n"}return t},e}(p),G=function(t){function e(e){var n;return(n=t.call(this,"Transforms")||this).transforms=e.transforms,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.transforms);e<n.length;e++){var r=n[e],a=r[0];t+="truncate"!==a?"line-clamp"!==a?"center"!==a?"upper-first"!==a?"nowrap"!==a?"*[data-transform~='"+a+"'] {\n text-transform: "+r[1]+";\n}\n":"*[data-transform~='nowrap'] {\n white-space: nowrap;\n}\n":"*[data-transform~='upper-first']:first-letter {\n text-transform: uppercase;\n}\n":"*[data-transform~='"+a+"'] {\n text-align: center;\n}\n":"*[data-transform~='"+a+"'] {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lines, 2); overflow: hidden;\n}\n":"*[data-transform~='"+a+"'] {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n"}return t},e}(p),A=function(t){function e(e){var n;return(n=t.call(this,"Overflows")||this).overflows=e.overflows,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.overflows);e<n.length;e++){var r=n[e];t+="*[data-overflow='"+r[0]+"'] {\n overflow: "+r[1]+";\n}\n"}return t},e}(p),H=function(t){function e(e){var n;return(n=t.call(this,"Positioners")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e],a=r[0],i=r[1];t+="*[data-top='"+a+"'] {\n top: "+i+";\n}\n",t+="*[data-right='"+a+"'] {\n right: "+i+";\n}\n",t+="*[data-bottom='"+a+"'] {\n bottom: "+i+";\n}\n",t+="*[data-left='"+a+"'] {\n left: "+i+";\n}\n",t+="*[data-inset='"+a+"'] {\n inset: "+i+";\n}\n"}for(var o=0,s=Object.entries(this.breakpoints);o<s.length;o++){var c=s[o],h=c[0];t+="@media (max-width: "+c[1]+"px) {\n";for(var l=0,u=Object.entries(this.spacing);l<u.length;l++){var p=u[l],f=p[0],d=p[1];t+="*[data-"+h+"-top='"+f+"'] {\n top: "+d+";\n}\n",t+="*[data-"+h+"-right='"+f+"'] {\n right: "+d+";\n}\n",t+="*[data-"+h+"-bottom='"+f+"'] {\n bottom: "+d+";\n}\n",t+="*[data-"+h+"-left='"+f+"'] {\n left: "+d+";\n}\n",t+="*[data-"+h+"-inset='"+f+"'] {\n inset: "+d+";\n}\n"}t+="}\n"}return t},e}(p),B=function(t){function e(e){var n;return(n=t.call(this,"Heights")||this).heights=e.heights,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.heights);e<n.length;e++){var r=n[e];t+="*[data-height='"+r[0]+"'] {\n height: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.heights);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-height='"+l[0]+"'] {\n height: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),I=function(t){function e(e){var n;return(n=t.call(this,"Gaps")||this).spacing=e.spacing,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.spacing);e<n.length;e++){var r=n[e];t+="*[data-gap='"+r[0]+"'] {\n gap: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.spacing);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-gap='"+l[0]+"'] {\n gap: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),D=function(t){function e(e){var n;return(n=t.call(this,"Cursors")||this).cursors=e.cursors,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.cursors);e<n.length;e++){var r=n[e];t+="*[data-cursor='"+r[0]+"'] {\n cursor: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.cursors);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-cursor='"+l[0]+"'] {\n cursor: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),N=function(t){function e(e){var n;return(n=t.call(this,"Pointer events")||this).pointerEvents=e.pointerEvents,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.pointerEvents);e<n.length;e++){var r=n[e];t+="*[data-pointer-events='"+r[0]+"'] {\n pointer-events: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.pointerEvents);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-pointer-events='"+l[0]+"'] {\n pointer-events: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),R=function(t){function e(e){var n;return(n=t.call(this,"Backdrops")||this).backdrops=e.backdrops,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.backdrops);e<n.length;e++){var r=n[e];t+="*[data-backdrop='"+r[0]+"']::backdrop {\n background: "+r[1]+";\n}\n"}return t},e}(p),T=function(t){function e(e){var n;return(n=t.call(this,"Object fits")||this).objectFits=e.objectFits,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.objectFits);e<n.length;e++){var r=n[e];t+="*[data-object-fit='"+r[0]+"'] {\n object-fit: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.objectFits);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-object-fit='"+l[0]+"'] {\n object-fit: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),M=function(t){function e(e){var n;return(n=t.call(this,"Object positions")||this).objectPositions=e.objectPositions,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.objectPositions);e<n.length;e++){var r=n[e];t+="*[data-object-position='"+r[0]+"'] {\n object-position: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.objectPositions);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-object-position='"+l[0]+"'] {\n object-position: "+l[1]+";\n }\n"}t+="}\n"}return t},e}(p),q=function(t){function e(e){var n;return(n=t.call(this,"Rotates")||this).rotates=e.rotates,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.rotates);e<n.length;e++){var r=n[e];t+="*[data-rotate='"+r[0]+"'] {\n transform: rotate("+r[1]+"deg);\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.rotates);c<h.length;c++){var l=h[c];t+=" *[data-"+s+"-rotate='"+l[0]+"'] {\n transform: rotate("+l[1]+"deg);\n }\n"}t+="}\n"}return t},e}(p),Y=function(t){function e(e){var n;return(n=t.call(this,"Max heights")||this).maxHeights=e.maxHeights,n.breakpoints=e.breakpoints,n}return o(e,t),e.prototype.generateCss=function(){for(var t="",e=0,n=Object.entries(this.maxHeights);e<n.length;e++){var r=n[e];t+="*[data-max-height='"+r[0]+"'] {\n max-height: "+r[1]+";\n}\n"}for(var a=0,i=Object.entries(this.breakpoints);a<i.length;a++){var o=i[a],s=o[0];t+="@media (max-width: "+o[1]+"px) {\n";for(var c=0,h=Object.entries(this.maxHeights);c<h.length;c++){var l=h[c];t+="*[data-"+s+"-max-height='"+l[0]+"'] {\n max-height: "+l[1]+";\n}\n"}t+="}\n"}return t},e}(p),U={0:"0",3:"3px",6:"6px",12:"12px",24:"24px",36:"36px",48:"48px",72:"72px",auto:"auto",unset:"unset"},Z={flex:"flex",block:"block","inline-block":"inline-block",none:"none"},$={contain:"contain",cover:"cover",fill:"fill","scale-down":"scale-down",none:"none"},J={top:"top",bottom:"bottom",left:"left",right:"right",center:"center","top-left":"top left","top-right":"top right"},K={start:"flex-start",end:"flex-end",around:"space-around",evenly:"space-evenly",between:"space-between",center:"center",baseline:"baseline"},Q={static:"static",relative:"relative",absolute:"absolute",fixed:"fixed",sticky:"sticky",unset:"unset"},V={nowrap:"nowrap",wrap:"wrap","wrap-reverse":"wrap-reverse",unset:"unset"},X={"-1":"-1",0:"0",1:"1",2:"2",3:"3"},tt={"100%":"100%",auto:"auto",unset:"unset"},et={"100%":"100%",auto:"auto",unset:"unset"},nt={12:"12",14:"14",16:"16",20:"20",24:"24",32:"32",36:"36"},rt={300:"300",400:"400",500:"500",700:"700",900:"900",unset:"unset"},at={12:"12",16:"16",20:"20",24:"24",32:"32",36:"36",unset:"unset"},it={row:"row","row-reverse":"row-reverse",column:"column","column-reverse":"column-reverse"},ot={white:"#F9FAFB","gray-100":"#F3F4F6","gray-200":"#E5E7EB","gray-300":"#D1D5DB","gray-400":"#9CA3AF","gray-500":"#6B7280","gray-600":"#4B5563","gray-700":"#374151","gray-800":"#1F2937",black:"#111827"},st={"green-100":"hsl(112, 50%, 85%)","green-200":"hsl(112, 50%, 75%)","green-300":"hsl(112, 50%, 65%)","green-400":"hsl(112, 50%, 55%)","green-500":"hsl(112, 50%, 45%)","green-600":"hsl(112, 50%, 35%)","green-700":"hsl(112, 50%, 25%)","green-800":"hsl(112, 50%, 20%)"},ct={"red-100":"hsl(5, 80%, 90%)","red-200":"hsl(5, 80%, 83%)","red-300":"hsl(5, 80%, 72.5%)","red-400":"hsl(5, 80%, 62.5%)","red-500":"hsl(5, 80%, 52.5%)","red-600":"hsl(5, 80%, 42%)","red-700":"hsl(5, 80%, 32.5%)","red-800":"hsl(5, 80%, 22.5%)"},ht={"orange-100":"hsl(25, 88%, 85%)","orange-200":"hsl(25, 88%, 75%)","orange-300":"hsl(25, 88%, 65%)","orange-400":"hsl(25, 88%, 55%)","orange-500":"hsl(25, 88%, 45%)","orange-600":"hsl(25, 88%, 37.5%)","orange-700":"hsl(25, 88%, 27.5%)","orange-800":"hsl(25, 88%, 20%)"},lt={md:768},ut={.5:.5,1:1,1.5:1.5,2:2,4:4,6:6},pt={1:"1",unset:"unset"},ft={0:"0",unset:"unset"},dt={1:1,2:2,4:4,6:6,12:12},gt=i({},ot,{transparent:"transparent"}),vt={0:"0",1:"1px",2:"2px",4:"4px","50%":"50%"},bt={"100%":"100%",1296:"1296px",768:"768px",528:"528px",320:"320px",unset:"unset"},wt={"100%":"100%",unset:"unset"},mt={uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize","upper-first":"upper-first",truncate:"truncate",center:"center",nowrap:"nowrap",none:"none","line-clamp":"line-clamp"},xt={auto:"auto",scroll:"scroll",hidden:"hidden"},yt={wait:"wait",auto:"auto",pointer:"pointer","not-allowed":"not-allowed"},jt={none:"none",auto:"auto"},Ot={black:"rgba(0, 0, 0, 0.75)",none:"none"},kt={0:"0",90:"90",180:"180",270:"270"},Ct=function(){function t(){}return t.prototype.process=function(){var t=a(l.mark((function t(e){var n,r,a,i;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=n="",t.next=4,new u("src/ui/button.css").read();case 4:return n=t.t0+=t.sent,t.t1=n,t.next=8,new u("src/ui/input.css").read();case 8:return n=t.t1+=t.sent,t.t2=n,t.next=12,new u("src/ui/label.css").read();case 12:return n=t.t2+=t.sent,t.t3=n,t.next=16,new u("src/ui/link.css").read();case 16:return n=t.t3+=t.sent,t.t4=n,t.next=20,new u("src/ui/select.css").read();case 20:return n=t.t4+=t.sent,t.t5=n,t.next=24,new u("src/ui/checkbox.css").read();case 24:return n=t.t5+=t.sent,t.t6=n,t.next=28,new u("src/ui/textarea.css").read();case 28:return n=t.t6+=t.sent,t.t7=n,t.next=32,new u("src/ui/anima.css").read();case 32:return n=t.t7+=t.sent,t.t8=n,t.next=36,new u("src/ui/range.css").read();case 36:return n=t.t8+=t.sent,t.t9=n,t.next=40,new u("src/ui/badge.css").read();case 40:return n=t.t9+=t.sent,t.t10=n,t.next=44,new u("src/ui/file-explorer.css").read();case 44:return n=t.t10+=t.sent,t.t11=n,t.next=48,new u("src/ui/visually-hidden.css").read();case 48:return n=t.t11+=t.sent,t.t12=n,t.next=52,new u("src/ui/switch.css").read();case 52:return n=t.t12+=t.sent,t.t13=n,t.next=56,new u("src/rules/title-truncate.css").read();case 56:return n=t.t13+=t.sent,t.t14=n,t.next=60,new u("src/rules/target-blank-referer.css").read();case 60:return n=t.t14+=t.sent,t.t15=n,t.next=64,new u("src/rules/image-alt.css").read();case 64:return n=t.t15+=t.sent,t.t16=n,t.next=68,new u("src/rules/button-icon-title.css").read();case 68:for(n=t.t16+=t.sent,r=c(e);!(a=r()).done;)n+=(i=a.value).generateHeader(),n+=i.generateCss(),n+=i.generateFooter();return t.next=72,new u("dist/main.css").save(n);case 72:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),t}();function Et(){return(Et=a(l.mark((function t(){var e;return l.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={spacing:U,displays:Z,axisPlacements:K,positions:Q,flexWraps:V,zIndexes:X,widths:tt,fontSizes:nt,fontWeights:rt,lineHeights:at,flexDirections:it,grayscale:ot,greens:st,reds:ct,oranges:ht,breakpoints:lt,letterSpacings:ut,flexGrows:pt,flexShrinks:ft,borderWidths:dt,borderColors:gt,borderRadiuses:vt,maxWidths:bt,transforms:mt,overflows:xt,heights:et,cursors:yt,pointerEvents:jt,backdrops:Ot,objectFits:$,objectPositions:J,rotates:kt,maxHeights:wt},t.next=3,(new Ct).process([new f(e),new d(e),new g(e),new v(e),new w(e),new k(e),new L(e),new P(e),new I(e),new x(e),new b(e),new m(e),new y(e),new j(e),new E(e),new O(e),new F(e),new C(e),new S(e),new W(e),new _(e),new z(e),new G(e),new A(e),new H(e),new B(e),new D(e),new N(e),new R(e),new T(e),new M(e),new q(e),new Y(e)]);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}!function(){Et.apply(this,arguments)}();
|
|
2
2
|
//# sourceMappingURL=design.cjs.production.min.js.map
|