mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
1 line
8.2 KiB
JavaScript
1 line
8.2 KiB
JavaScript
|
|
(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[4952],{46065:function(){var t=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function e(e){return r(function(e){var r=new t;r.start=0,r.end=e.length;for(var n=r,o=0,a=e.length;o<a;o++)if(e[o]===s){n.rules||(n.rules=[]);var u=n,c=u.rules[u.rules.length-1]||null;(n=new t).start=o+1,n.parent=u,n.previous=c,u.rules.push(n)}else e[o]===i&&(n.end=o+1,n=n.parent||r);return r}(e=e.replace(o.comments,"").replace(o.port,"")),e)}function r(t,e){var s=e.substring(t.start,t.end-1);if(t.parsedCssText=t.cssText=s.trim(),t.parent){s=(s=(s=function(t){return t.replace(/\\([0-9a-f]{1,6})\s/gi,function(){for(var t=arguments[1],e=6-t.length;e--;)t="0"+t;return"\\"+t})}(s=e.substring(t.previous?t.previous.end:t.parent.start,t.start-1))).replace(o.multipleSpaces," ")).substring(s.lastIndexOf(";")+1);var i=t.parsedSelector=t.selector=s.trim();t.atRule=0===i.indexOf(c),t.atRule?0===i.indexOf(u)?t.type=n.MEDIA_RULE:i.match(o.keyframesRule)&&(t.type=n.KEYFRAMES_RULE,t.keyframesName=t.selector.split(o.multipleSpaces).pop()):t.type=0===i.indexOf(a)?n.MIXIN_RULE:n.STYLE_RULE}var l=t.rules;if(l)for(var p=0,f=l.length,h=void 0;p<f&&(h=l[p]);p++)r(h,e);return t}var n={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},s="{",i="}",o={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},a="--",u="@media",c="@";function l(t,e,r){t.lastIndex=0;var n=e.substring(r).match(t);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var p=/\bvar\(/,f=/\B--[\w-]+\s*:/,h=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,m=/^[\t ]+\n/gm;function v(t,e,r){var n=function(t,e){var r=l(p,t,e);if(!r)return null;var n=function(t,e){for(var r=0,n=e;n<t.length;n++){var s=t[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}(t,r.start),s=t.substring(r.end,n-1).split(","),i=s[0],o=s.slice(1);return{start:r.start,end:n,propName:i.trim(),fallback:o.length>0?o.join(",").trim():void 0}}(t,r);if(!n)return e.push(t.substring(r,t.length)),t.length;var s=n.propName,i=null!=n.fallback?y(n.fallback):void 0;return e.push(t.substring(r,n.start),function(t){return function(t,e,r){return t[e]?t[e]:r?d(r,t):""}(t,s,i)}),n.end}function d(t,e){for(var r="",n=0;n<t.length;n++){var s=t[n];r+="string"==typeof s?s:s(e)}return r}function g(t,e){for(var r=!1,n=!1,s=e;s<t.length;s++){var i=t[s];if(r)n&&'"'===i&&(r=!1),n||"'"!==i||(r=!1);else if('"'===i)r=!0,n=!0;else if("'"===i)r=!0,n=!1;else{if(";"===i)return s+1;if("}"===i)return s}}return s}function y(t){var e=0;t=function(t){for(var e="",r=0;;){var n=l(f,t,r),s=n?n.start:t.length;if(e+=t.substring(r,s),!n)break;r=g(t,s)}return e}(t=t.replace(h,"")).replace(m,"");for(var r=[];e<t.length;)e=v(t,r,e);return r}function S(t){var e={};t.forEach(function(t){t.declarations.forEach(function(t){e[t.prop]=t.value})});for(var r={},n=Object.entries(e),s=function(t){var e=!1;if(n.forEach(function(t){var n=t[0],s=d(t[1],r);s!==r[n]&&(r[n]=s,e=!0)}),!e)return"break"},i=0;i<10&&"break"!==s();i++);return r}function b(t,e){if(void 0===e&&(e=0),!t.rules)return[];var r=[];return t.rules.filter(function(t){return t.type===n.STYLE_RULE}).forEach(function(t){var n=function(t){for(var e,r=[];e=E.exec(t.trim());){var n=x(e[2]),s=n.value,i=n.important;r.push({prop:e[1].trim(),value:y(s),important:i})}return r}(t.cssText);n.length>0&&t.parsedSelector.split(",").forEach(function(t){t=t.trim(),r.push({selector:t,declarations:n,specificity:1,nu:e})}),e++}),r}var E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function x(t){var e=(
|