PageSourceSearch

https://app.fastuna.com/npm.reduce-css-calc.b7a5993ffd5a01cc2d09.js

js fastuna.com collected 2026-10-07 01:00:36 UTC 34,817 bytes, 23 lines download raw bytes

1(()=>{(self.webpackChunk_fastuna_front_app=self.webpackChunk_fastuna_front_app||[]).push([[7384],{10720:(C,b,m)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var _=m(4246),x=y(_),d=m(68219),f=m(79892),u=y(f),n=m(73458),v=y(n);function y(h){return h&&h.__esModule?h:{default:h}}var k=/((?:\-[a-z]+\-)?calc)/;b.default=function(h){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5;return(0,x.default)(h).walk(function(c){if(!(c.type!=="function"||!k.test(c.value))){var s=x.default.stringify(c.nodes);if(!(s.indexOf("constant")>=0||s.indexOf("env")>=0)){var e=d.parser.parse(s),r=(0,u.default)(e,l);c.type="word",c.value=(0,v.default)(c.value,r,l)}}},!0).toString()},C.exports=b.default},15658:(C,b,m)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0});var _=m(99823),x=d(_);function d(n){return n&&n.__esModule?n:{default:n}}function f(n,v,y){switch(n.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":return u(n,v,y);default:return{left:n,right:v}}}function u(n,v,y){return v.type===n.type&&(v={type:n.type,value:(0,x.default)(v.value,v.unit,n.unit,y
1),unit:n.unit}),{left:n,right:v}}b.default=f,C.exports=b.default},79892:(C,b,m)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.flip=y;var _=m(15658),x=d(_);function d(e){return e&&e.__esModule?e:{default:e}}function f(e,r){return e.type==="MathExpression"?s(e,r):e.type==="Calc"?f(e.value,r):e}function u(e,r){return e.type===r.type&&e.value===r.value}function n(e){switch(e){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"VwValue":case"VminValue":case"VmaxValue":case"PercentageValue":case"Value":return!0}return!1}function v(e,r){var i=(0,x.default)(e.left,e.right,r),a=f(i.left,r),t=f(i.right,r);return a.type==="MathExpression"&&t.type==="MathExpression"&&(a.operator==="/"&&t.operator==="*"||a.operator==="-"&&t.operator==="+"||a.operator==="*"&&t.operator==="/"||a.operator==="+"&&t.operator==="-")&&(u(a.right,t.right)?i=(0,x.default)(a.left,t.left,r):u(a.right,t.left)&&(i=(0,x.default)(a.left,t.right,r)),a=f(i.left,r),t=f(i.right,r)),e.left=a,e.right=t,e}function y(e){return e==="+"?"-":"+"}function k(e){return n(e.type)?e.value=-e.value:e.type=="MathExpression"&&(e.left=k(e.left),e.right=k(e.right)),e}function h(e,r){var i=e,a=i.left,t=i.right,o=i.operator;if(a.type==="CssVariable"||t.type==="CssVariable")return e;if(t.value===0)return a;if(a.value===0&&o==="+")return t;if(a.value===0&&o==="-")return k(t);if(a.type===t.type&&n(a.type)&&(e=Object.assign({},a),o==="+"?e.value=a.value+t.value:e.value=a.value-t.value),n(a.type)&&(t.operator==="+"||t.operator==="-")&&t.type==="MathExpression"){if(a.type===t.left.type)return e=Object.assign({},e),e.left=f({type:"MathExpression",operator:o,left:a,right:t.left},r),e.right=t.right,e.operator=o==="-"?y(t.operator):t.operator,f(e,r);if(a.type===t.right.type)return e=Object.assign({},e),e.left=f({type:"MathExpression",operator:o==="-"?y(t.operator):t.operator,left:a,right:t.right},r),e.right=t.left,f(e,r)}if(a.type==="MathExpression"&&(a.operator==="+"||a.operator==="-")&&n(t.type)){if(t.type===a.left.type)return e=Object.assign({},a),e.left=f({type:"MathExpression",operator:o,left:a.left,right:t},r),f(e,r);if(t.type===a.right.type)return e=Object.assign({},a),a.operator==="-"?(e.right=f({type:"MathExpression",operator:o==="-"?"+":"-",left:t,right:a.right},r),e.operator=o==="-"?"-":"+"):e.right=f({type:"MathExpression",operator:o,left:a.right,right:t},r),e.right.value<0&&(e.right.value*=-1,e.operator=e.operator==="-"?"+":"-"),f(e,r)}return e}function l(e,r){if(!n(e.right.type))return e;if(e.right.type!=="Value")throw new Error('Cannot divide by "'+e.right.unit+'", number expected');if(e.right.value===0)throw new Error("Cannot divide by zero");return e.left.type==="MathExpression"?n(e.left.left.type)&&n(e.left.right.type)?(e.left.left.value/=e.right.value,e.left.right.value/=e.right.value,f(e.left,r)):e:n(e.left.type)?(e.left.value/=e.right.value,e.left):e}function c(e){if(e.left.type==="MathExpression"&&e.right.type==="Value"){if(n(e.left.left.type)&&n(e.left.right.type))return e.left.left.value*=e.right.value,e.left.right.value*=e.right.value,e.left}else{if(n(e.left.type)&&e.right.type==="Value")return e.left.value*=e.right.value,e.left;if(e.left.type==="Value"&&e.right.type==="MathExpression"){if(n(e.right.left.type)&&n(e.right.right.type))return e.right.left.value*=e.left.value,e.right.right.value*=e.left.value,e.right}else if(e.left.type==="Value"&&n(e.right.type))return e.right.value*=e.left.value,e.right}return e}function s(e,r){switch(e=v(e,r),e.operator){case"+":case"-":return h(e,r);case"/":return l(e,r);case"*":return c(e)}return e}b.default=f},73458:(C,b,m)=>{"use strict";Object.defineProperty(b,"__esModule",{value:!0}),b.default=function(u,n,v){var y=f(n,v);return n.type==="MathExpression"&&(y=u+"("+y+")"),y};var _=m(79892),x={"*":0,"/":0,"+":1,"-":1};function d(u,n){if(n!==!1){var v=Math.pow(10,n);return Math.round(u*v)/v}return u}function f(u,n){switch(u.type){case"MathExpression":{var v=u.left,y=u.right,k=u.operator,h="";return v.type==="MathExpression"&&x[k]<x[v.operator]?h+="("+f(v,n)+")":h+=f(v,n),h+=" "+u.operator+" ",y.type==="MathExpression"&&x[k]<x[y.operator]?h+="("+f(y,n)+")":(y.type==="MathExpression"&&k==="-"&&["+","-"].includes(y.operator)&&(y.operator=(0,_.flip)(y.operator)),h+=f(y,n)),h}case"Value":return d(u.value,n);case"CssVariable":return u.fallback?"var("+u.value+", "+f(u.fallback,n,!0)+")":"var("+u.value+")";case"Calc":return u.prefix?"-"+u.prefix+"-calc("+f(u.value,n)+")":"calc("+f(u.value,n)+")";default:return d(u.value,n)+u.unit}}C.exports=b.default},68219:(C,b)=>{var m=function(){function _(l,c){Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonParserError"}),l==null&&(l="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:l}),this.hash=c;var s;if(c&&c.exception instanceof Error){var e=c.exception;this.message=e.message||l,s=e.stack}s||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):s=new Error(l).stack),s&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:s})}typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(_.prototype,Error.prototype):_.prototype=Object.create(Error.prototype),_.prototype.constructor=_,_.prototype.name="JisonParserError";function x(l){for(var c=[],s=l.pop,e=l.rule,r=0,i=s.length;r<i;r++)c.push([s[r],e[r]]);return c}function d(l){for(var c={},s=l.idx,e=l.goto,r=0,i=s.length;r<i;r++){var a=s[r];c[a]=e[r]}return c}function f(l){for(var c=[],s=l.len,e=l.symbol,r=l.type,i=l.state,a=l.mode,t=l.goto,o=0,R=s.length;o<R;o++){for(var P=s[o],E={},w=0;w<P;w++){var p=e.shift();switch(r.shift()){case 2:E[p]=[a.shift(),t.shift()];break;case 0:E[p]=i.shift();break;default:E[p]=[3]}}c.push(E)}return c}function u(l,c,s){s=s||0;for(var e=0;e<c;e++)this.push(l),l+=s}function n(l,c){for(l=this.length-l,c+=l;l<c;l++)this.push(this[l])}function v(l){for(var c=[],s=0,e=l.length;s<e;s++){var r=l[s];typeof r=="function"?(s++,r.apply(c,l[s])):c.push(r)}return c}var y={trace:function(){},JisonParserError:_,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:!0,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:3,ANGLE:16,CHS:22,COMMA:14,CSS_CPROP:13,CSS_VAR:12,DIV:6,EMS:20,EOF:1,EXS:21,FREQ:18,LENGTH:15,LPAREN:7,MUL:5,NESTED_CALC:9,NUMBER:11,PERCENTAGE:28,PREFIX:10,REMS:23,RES:19,RPAREN:8,SUB:4,TIME:17,VHS:24,VMAXS:27,VMINS:26,VWS:25,css_value:33,css_variable:32,error:2,expression:29,math_expression:30,value:31},terminals_:{1:"EOF",2:"error",3:"ADD",4:"SUB",5:"MUL",6:"DIV",7:"LPAREN",8:"RPAREN",9:"NESTED_CALC",10:"PREFIX",11:"NUMBER",12:"CSS_VAR",13:"CSS_CPROP",14:"COMMA",15:"LENGTH",16:"ANGLE",17:"TIME",18:"FREQ",19:"RES",20:"EMS",21:"EXS",22:"CHS",23:"REMS",24:"VHS",25:"VWS",26:"VMINS",27:"VMAXS",28:"PERCENTAGE"},TERROR:2,EOF:1,originalQuoteName:null,originalParseError:null,cleanupAfterParse:null,constructParseErrorInfo:null,yyMergeLocationInfo:null,__reentrant_call_depth:0,__error_infos:[],__error_recovery_infos:[],quoteName:function(c){return'"'+c+'"'},getSymbolName:function(c){if(this.terminals_[c])return this.terminals_[c];var s=this.symbols_;for(var e in s)if(s[e]===c)return e;return null},describeSymbol:function(c){if(c!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[c])return this.terminal_descriptions_[c];if(c===this.EOF)return"end of input";var s=this.getSymbolName(c);return s?this.quoteName(s):null},collect_expected_token_set:function(c,s){var e=this.TERROR,r=[],i={};if(!s&&this.state_descriptions_&&this.state_descriptions_[c])return[this.state_descriptions_[c]];for(var a in this.table[c])if(a=+a,a!==e){var t=s?a:this.describeSymbol(a);t&&!i[t]&&(r.push(t),i[t]=!0)}return r},productions_:x({pop:v([29,u,[30,10],31,31,32,32,u,[33,15]]),rule:v([2,u,[3,5],4,7,u,[1,4],2,4,6,u,[1,14],2])}),performAction:function(c,s,e){var r=this.yy,i=r.parser,a=r.lexer;switch(c){case 0:this.$=e[s-1];break;case 1:return this.$=e[s-1],e[s-1];break;case 2:case 3:case 4:case 5:this.$={type:"MathExpression",operator:e[s-1],left:e[s-2],right:e[s]};break;case 6:this.$=e[s-1];break;case 7:this.$={type:"Calc",value:e[s-1]};break;
1case 8:this.$={type:"Calc",value:e[s-1],prefix:e[s-5]};break;case 9:case 10:case 11:this.$=e[s];break;case 12:this.$={type:"Value",value:parseFloat(e[s])};break;case 13:this.$={type:"Value",value:parseFloat(e[s])*-1};break;case 14:this.$={type:"CssVariable",value:e[s-1]};break;case 15:this.$={type:"CssVariable",value:e[s-3],fallback:e[s-1]};break;case 16:this.$={type:"LengthValue",value:parseFloat(e[s]),unit:/[a-z]+/.exec(e[s])[0]};break;case 17:this.$={type:"AngleValue",value:parseFloat(e[s]),unit:/[a-z]+/.exec(e[s])[0]};break;case 18:this.$={type:"TimeValue",value:parseFloat(e[s]),unit:/[a-z]+/.exec(e[s])[0]};break;case 19:this.$={type:"FrequencyValue",value:parseFloat(e[s]),unit:/[a-z]+/.exec(e[s])[0]};break;case 20:this.$={type:"ResolutionValue",value:parseFloat(e[s]),unit:/[a-z]+/.exec(e[s])[0]};break;case 21:this.$={type:"EmValue",value:parseFloat(e[s]),unit:"em"};break;case 22:this.$={type:"ExValue",value:parseFloat(e[s]),unit:"ex"};break;case 23:this.$={type:"ChValue",value:parseFloat(e[s]),unit:"ch"};break;case 24:this.$={type:"RemValue",value:parseFloat(e[s]),unit:"rem"};break;case 25:this.$={type:"VhValue",value:parseFloat(e[s]),unit:"vh"};break;case 26:this.$={type:"VwValue",value:parseFloat(e[s]),unit:"vw"};break;case 27:this.$={type:"VminValue",value:parseFloat(e[s]),unit:"vmin"};break;case 28:this.$={type:"VmaxValue",value:parseFloat(e[s]),unit:"vmax"};break;case 29:this.$={type:"PercentageValue",value:parseFloat(e[s]),unit:"%"};break;case 30:var t=e[s];t.value*=-1,this.$=t;break}},table:f({len:v([24,1,5,23,1,18,u,[0,3],1,u,[0,16],u,[23,4],n,[28,3],0,0,16,1,6,6,u,[0,3],5,1,2,n,[37,3],n,[20,3],5,0,0]),symbol:v([4,7,9,11,12,u,[15,19,1],1,1,u,[3,4,1],n,[30,19],n,[29,4],7,4,10,11,n,[22,14],n,[19,3],n,[43,22],n,[23,69],n,[139,4],8,n,[51,24],4,n,[138,15],13,n,[186,5],8,n,[6,6],n,[5,5],9,8,14,n,[159,47],n,[60,10]]),type:v([u,[2,19],u,[0,5],1,u,[2,24],u,[0,4],n,[22,19],n,[43,42],n,[23,70],n,[28,25],n,[45,25],n,[113,54]]),state:v([1,2,8,6,7,30,n,[4,3],33,37,n,[5,3],38,n,[4,3],39,n,[4,3],40,n,[4,3],42,n,[21,4],50,n,[5,3],51,n,[4,3]]),mode:v([u,[1,179],u,[2,3],n,[5,5],n,[6,4],u,[1,57]]),goto:v([5,3,4,24,u,[9,15,1],u,[25,5,1],n,[24,19],31,35,32,34,n,[18,14],36,n,[38,19],n,[19,57],n,[118,4],41,n,[24,19],43,35,n,[16,14],44,u,[2,3],28,29,2,u,[3,3],28,29,3,n,[53,4],u,[45,5,1],n,[100,42],52,n,[5,4],53])}),defaultActions:d({idx:v([6,7,8,u,[10,16,1],33,34,39,40,41,45,47,52,53]),goto:v([9,10,11,u,[16,14,1],12,1,30,13,u,[4,4,1],14,15,8])}),parseError:function(c,s,e){if(s.recoverable)typeof this.trace=="function"&&this.trace(c),s.destroy();else throw typeof this.trace=="function"&&this.trace(c),e||(e=this.JisonParserError),new e(c,s)},parse:function(c){var s=this,e=new Array(128),r=new Array(128),i=new Array(128),a=this.table,t=0,o=0,R=this.TERROR,P=this.EOF,E=this.options.errorRecoveryTokenDiscardCount|0||3,w=[0,54],p;this.__lexer__?p=this.__lexer__:p=this.__lexer__=Object.create(this.lexer);var g={parseError:void 0,quoteName:void 0,lexer:void 0,parser:void 0,pre_parse:void 0,post_parse:void 0,pre_lex:void 0,post_lex:void 0},I;typeof assert!="function"?I=function(O,T){if(!O)throw new Error("assertion failed: "+(T||"***"))}:I=assert,this.yyGetSharedState=function(){return g};function q(A,O){for(var T in O)typeof A[T]=="undefined"&&Object.prototype.hasOwnProperty.call(O,T)&&(A[T]=O[T])}q(g,this.yy),g.lexer=p,g.parser=this,typeof g.parseError=="function"?this.parseError=function(O,T,J){return J||(J=this.JisonParserError),g.parseError.call(this,O,T,J)}:this.parseError=this.originalParseError,typeof g.quoteName=="function"?this.quoteName=function(O){return g.quoteName.call(this,O)}:this.quoteName=this.originalQuoteName,this.cleanupAfterParse=function(O,T,J){var U;if(T){var j;(g.post_parse||this.post_parse)&&(j=this.constructParseErrorInfo(null,null,null,!1)),g.post_parse&&(U=g.post_parse.call(this,g,O,j),typeof U!="undefined"&&(O=U)),this.post_parse&&(U=this.post_parse.call(this,g,O,j),typeof U!="undefined"&&(O=U)),j&&j.destroy&&j.destroy()}if(this.__reentrant_call_depth>1)return O;if(p.cleanupAfterLex&&p.cleanupAfterLex(J),g&&(g.lexer=void 0,g.parser=void 0,p.yy===g&&(p.yy=void 0)),g=void 0,this.parseError=this.originalParseError,this.quoteName=this.originalQuoteName,e.length=0,r.length=0,i.length=0,t=0,!J){for(var B=this.__error_infos.length-1;B>=0;B--){var Q=this.__error_infos[B];Q&&typeof Q.destroy=="function"&&Q.destroy()}this.__error_infos.length=0}return O},this.constructParseErrorInfo=function(O,T,J,U){var j={errStr:O,exception:T,text:p.match,value:p.yytext,token:this.describeSymbol(o)||o,token_id:o,line:p.yylineno,expected:J,recoverable:U,state:M,action:F,new_state:L,symbol_stack:e,state_stack:r,value_stack:i,stack_pointer:t,yy:g,lexer:p,parser:this,destroy:function(){var Q=!!this.recoverable;for(var ee in this)this.hasOwnProperty(ee)&&typeof ee=="object"&&(this[ee]=void 0);this.recoverable=Q}};return this.__error_infos.push(j),j};function W(A){var O=s.getSymbolName(A);return O||(O=A),O}function K(){var A=p.lex();return typeof A!="number"&&(A=s.symbols_[A]||A),A||P}function X(){var A=p.fastLex();return typeof A!="number"&&(A=s.symbols_[A]||A),A||P}var Z=K,M,F,S,Y,D={$:!0,_$:void 0,yy:g},V,G,$,L,N=!1;try{if(this.__reentrant_call_depth++,p.setInput(c,g),typeof p.canIUse=="function"){var ie=p.canIUse();ie.fastLex&&typeof X=="function"&&(Z=X)}for(i[t]=null,r[t]=0,e[t]=0,++t,this.pre_parse&&this.pre_parse.call(this,g),g.pre_parse&&g.pre_parse.call(this,g),L=r[t-1];;){if(M=L,this.defaultActions[M])F=2,L=this.defaultActions[M];else if(o||(o=Z()),Y=a[M]&&a[M][o]||w,L=Y[1],F=Y[0],!F){var H,te=this.describeSymbol(o)||o,z=this.collect_expected_token_set(M);typeof p.yylineno=="number"?H="Parse error on line "+(p.yylineno+1)+": ":H="Parse error: ",typeof p.showPosition=="function"&&(H+=`
2`+p.showPosition(79-10,10)+`
3`),z.length?H+="Expecting "+z.join(", ")+", got unexpected "+te:H+="Unexpected "+te,V=this.constructParseErrorInfo(H,null,z,!1),S=this.parseError(V.errStr,V,this.JisonParserError),typeof S!="undefined"&&(N=S);break}switch(F){default:if(F instanceof Array){V=this.constructParseErrorInfo("Parse Error: multiple actions possible at state: "+M+", token: "+o,null,null,!1),S=this.parseError(V.errStr,V,this.JisonParserError),typeof S!="undefined"&&(N=S);break}V=this.constructParseErrorInfo("Parsing halted. No viable error recovery approach available due to internal system failure.",null,null,!1),S=this.parseError(V.errStr,V,this.JisonParserError),typeof S!="undefined"&&(N=S);break;case 1:e[t]=o,i[t]=p.yytext,r[t]=L,++t,o=0;continue;case 2:if($=this.productions_[L-1],G=$[1],S=this.performAction.call(D,L,t-1,i),typeof S!="undefined"){N=S;break}t-=G;var re=$[0];e[t]=re,i[t]=D.$,L=a[r[t-1]][re],r[t]=L,++t;continue;case 3:t!==-2&&(N=!0,t--,typeof i[t]!="undefined"&&(N=i[t]));break}break}}catch(A){if(A instanceof this.JisonParserError)throw A;if(p&&typeof p.JisonLexerError=="function"&&A instanceof p.JisonLexerError)throw A;V=this.constructParseErrorInfo("Parsing aborted due to exception.",A,null,!1),N=!1,S=this.parseError(V.errStr,V,this.JisonParserError),typeof S!="undefined"&&(N=S)}finally{N=this.cleanupAfterParse(N,!0,!0),this.__reentrant_call_depth--}return N}};y.originalParseError=y.parseError,y.originalQuoteName=y.quoteName;var k=function(){function l(s,e){Object.defineProperty(this,"name",{enumerable:!1,writable:!1,value:"JisonLexerError"}),s==null&&(s="???"),Object.defineProperty(this,"message",{enumerable:!1,writable:!0,value:s}),this.hash=e;var r;if(e&&e.exception instanceof Error){var i=e.exception;this.message=i.message||s,r=i.stack}r||(Error.hasOwnProperty("captureStackTrace")?Error.captureStackTrace(this,this.constructor):r=new Error(s).stack),r&&Object.defineProperty(this,"stack",{enumerable:!1,writable:!1,value:r})}typeof Object.setPrototypeOf=="function"?Object.setPrototypeOf(l.prototype,Error.prototype):l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l.prototype.name="JisonLexerError";var c={EOF:1,ERROR:2,__currentRuleSet__:null,__error_infos:[],__decompressed:!1,done:!1,_backtrack:!1,_input
3:"",_more:!1,_signaled_error_token:!1,conditionStack:[],match:"",matched:"",matches:!1,yytext:"",offset:0,yyleng:0,yylineno:0,yylloc:null,constructLexErrorInfo:function(e,r,i){if(e=""+e,i==null&&(i=!(e.indexOf(`
4`)>0&&e.indexOf("^")>0)),this.yylloc&&i){if(typeof this.prettyPrintRange=="function"){var a=this.prettyPrintRange(this.yylloc);/\n\s*$/.test(e)||(e+=`
5`),e+=`
6  Erroneous area:
7`+this.prettyPrintRange(this.yylloc)}else if(typeof this.showPosition=="function"){var t=this.showPosition();t&&(e.length&&e[e.length-1]!==`
8`&&t[0]!==`
9`?e+=`
10`+t:e+=t)}}var o={errStr:e,recoverable:!!r,text:this.match,token:null,line:this.yylineno,loc:this.yylloc,yy:this.yy,lexer:this,destroy:function(){var P=!!this.recoverable;for(var E in this)this.hasOwnProperty(E)&&typeof E=="object"&&(this[E]=void 0);this.recoverable=P}};return this.__error_infos.push(o),o},parseError:function(e,r,i){if(i||(i=this.JisonLexerError),this.yy){if(this.yy.parser&&typeof this.yy.parser.parseError=="function")return this.yy.parser.parseError.call(this,e,r,i)||this.ERROR;if(typeof this.yy.parseError=="function")return this.yy.parseError.call(this,e,r,i)||this.ERROR}throw new i(e,r)},yyerror:function(e){var r="";this.yylloc&&(r=" on line "+(this.yylineno+1));var i=this.constructLexErrorInfo("Lexical error"+r+": "+e,this.options.lexerErrorsAreRecoverable),a=Array.prototype.slice.call(arguments,1);return a.length&&(i.extra_error_attributes=a),this.parseError(i.errStr,i,this.JisonLexerError)||this.ERROR},cleanupAfterLex:function(e){if(this.setInput("",{}),!e){for(var r=this.__error_infos.length-1;r>=0;r--){var i=this.__error_infos[r];i&&typeof i.destroy=="function"&&i.destroy()}this.__error_infos.length=0}return this},clear:function(){this.yytext="",this.yyleng=0,this.match="",this.matches=!1,this._more=!1,this._backtrack=!1;var e=this.yylloc?this.yylloc.last_column:0;this.yylloc={first_line:this.yylineno+1,first_column:e,last_line:this.yylineno+1,last_column:e,range:[this.offset,this.offset]}},setInput:function(e,r){if(this.yy=r||this.yy||{},!this.__decompressed){for(var i=this.rules,a=0,t=i.length;a<t;a++){var o=i[a];typeof o=="number"&&(i[a]=i[o])}var R=this.conditions;for(var P in R){for(var E=R[P],w=E.rules,t=w.length,p=new Array(t+1),g=new Array(t+1),a=0;a<t;a++){var I=w[a],o=i[I];p[a+1]=o,g[a+1]=I}E.rules=g,E.__rule_regexes=p,E.__rule_count=t}this.__decompressed=!0}return this._input=e||"",this.clear(),this._signaled_error_token=!1,this.done=!1,this.yylineno=0,this.matched="",this.conditionStack=["INITIAL"],this.__currentRuleSet__=null,this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]},this.offset=0,this},editRemainingInput:function(e,r){var i=e.call(this,this._input,r);return typeof i!="string"?i&&(this._input=""+i):this._input=i,this},input:function(){if(!this._input)return null;var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var r=1,i=!1;if(e===`
11`)i=!0;else if(e==="\r"){i=!0;var a=this._input[1];a===`
12`&&(r++,e+=a,this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,this.yylloc.range[1]++)}return i?(this.yylineno++,this.yylloc.last_line++,this.yylloc.last_column=0):this.yylloc.last_column++,this.yylloc.range[1]++,this._input=this._input.slice(r),e},unput:function(e){var r=e.length,i=e.split(/(?:\r\n?|\n)/g);if(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.yyleng=this.yytext.length,this.offset-=r,this.match=this.match.substr(0,this.match.length-r),this.matched=this.matched.substr(0,this.matched.length-r),i.length>1){this.yylineno-=i.length-1,this.yylloc.last_line=this.yylineno+1;var a=this.match,t=a.split(/(?:\r\n?|\n)/g);t.length===1&&(a=this.matched,t=a.split(/(?:\r\n?|\n)/g)),this.yylloc.last_column=t[t.length-1].length}else this.yylloc.last_column-=r;return this.yylloc.range[1]=this.yylloc.range[0]+this.yyleng,this.done=!1,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else{var e="";this.yylloc&&(e=" on line "+(this.yylineno+1));var r=this.constructLexErrorInfo("Lexical error"+e+": You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).",!1);this._signaled_error_token=this.parseError(r.errStr,r,this.JisonLexerError)||this.ERROR}return this},less:function(e){return this.unput(this.match.slice(e))},pastInput:function(e,r){var i=this.matched.substring(0,this.matched.length-this.match.length);e<0?e=i.length:e||(e=20),r<0?r=i.length:r||(r=1),i=i.substr(-e*2-2);var a=i.replace(/\r\n|\r/g,`
13`).split(`
14`);return a=a.slice(-r),i=a.join(`
15`),i.length>e&&(i="..."+i.substr(-e)),i},upcomingInput:function(e,r){var i=this.match;e<0?e=i.length+this._input.length:e||(e=20),r<0?r=e:r||(r=1),i.length<e*2+2&&(i+=this._input.substring(0,e*2+2));var a=i.replace(/\r\n|\r/g,`
16`).split(`
17`);return a=a.slice(0,r),i=a.join(`
18`),i.length>e&&(i=i.substring(0,e)+"..."),i},showPosition:function(e,r){var i=this.pastInput(e).replace(/\s/g," "),a=new Array(i.length+1).join("-");return i+this.upcomingInput(r).replace(/\s/g," ")+`
19`+a+"^"},deriveLocationInfo:function(e,r,i,a){var t={first_line:1,first_column:0,last_line:1,last_column:0,range:[0,0]};return e&&(t.first_line=e.first_line|0,t.last_line=e.last_line|0,t.first_column=e.first_column|0,t.last_column=e.last_column|0,e.range&&(t.range[0]=e.range[0]|0,t.range[1]=e.range[1]|0)),(t.first_line<=0||t.last_line<t.first_line)&&(t.first_line<=0&&r&&(t.first_line=r.last_line|0,t.first_column=r.last_column|0,r.range&&(t.range[0]=e.range[1]|0)),(t.last_line<=0||t.last_line<t.first_line)&&i&&(t.last_line=i.first_line|0,t.last_column=i.first_column|0,i.range&&(t.range[1]=e.range[0]|0)),t.first_line<=0&&a&&(t.last_line<=0||a.last_line<=t.last_line)&&(t.first_line=a.first_line|0,t.first_column=a.first_column|0,a.range&&(t.range[0]=a.range[0]|0)),t.last_line<=0&&a&&(t.first_line<=0||a.first_line>=t.first_line)&&(t.last_line=a.last_line|0,t.last_column=a.last_column|0,a.range&&(t.range[1]=a.range[1]|0))),t.last_line<=0&&(t.first_line<=0?(t.first_line=this.yylloc.first_line,t.last_line=this.yylloc.last_line,t.first_column=this.yylloc.first_column,t.last_column=this.yylloc.last_column,t.range[0]=this.yylloc.range[0],t.range[1]=this.yylloc.range[1]):(t.last_line=this.yylloc.last_line,t.last_column=this.yylloc.last_column,t.range[1]=this.yylloc.range[1])),t.first_line<=0&&(t.first_line=t.last_line,t.first_column=0,t.range[1]=t.range[0]),t.first_column<0&&(t.first_column=0),t.last_column<0&&(t.last_column=t.first_column>
190?t.first_column:80),t},prettyPrintRange:function(e,r,i){e=this.deriveLocationInfo(e,r,i);const a=3,t=1,o=2;var R=this.matched+this._input,P=R.split(`
20`),E=Math.max(1,r?r.first_line:e.first_line-a),w=Math.max(1,i?i.last_line:e.last_line+t),p=1+Math.log10(w|1)|0,g=new Array(p).join(" "),I=[],q=P.slice(E-1,w+1).map(function(M,F){var S=F+E,Y=(g+S).substr(-p),D=Y+": "+M,V=new Array(p+1).join("^"),G=2+1,$=0;if(S===e.first_line?(G+=e.first_column,$=Math.max(2,(S===e.last_line?e.last_column:M.length)-e.first_column+1)):S===e.last_line?$=Math.max(2,e.last_column+1):S>e.first_line&&S<e.last_line&&($=Math.max(2,M.length+1)),$){var L=new Array(G).join("."),N=new Array($).join("^");D+=`
21`+V+L+N,M.trim().length>0&&I.push(F)}return D=D.replace(/\t/g," "),D});if(I.length>2*o){var W=I[o-1]+1,K=I[I.length-o]-1,X=new Array(p+1).join(" ")+"  (...continued...)";X+=`
22`+new Array(p+1).join("-")+"  (---------------)",q.splice(W,K-W+1,X)}return q.join(`
23`)},describeYYLLOC:function(e,r){var i=e.first_line,a=e.last_line,t=e.first_column,o=e.last_column,R=a-i,P=o-t,E;if(R===0?(E="line "+i+", ",P<=1?E+="column "+t:E+="columns "+t+" .. "+o):E="lines "+i+"(column "+t+") .. "+a+"(column "+o+")",e.range&&r){var w=e.range[0],p=e.range[1]-1;p<=w?E+=" {String Offset: "+w+"}":E+=" {String Offset range: "+w+" .. "+p+"}"}return E},test_match:function(e,r){var i,a,t,o,R;if(this.options.backtrack_lexer&&(t={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.yylloc.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column,range:this.yylloc.range.slice(0)},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done}),o=e[0],R=o.length,a=o.split(/(?:\r\n?|\n)/g),a.length>1?(this.yylineno+=a.length-1,this.yylloc.last_line=this.yylineno+1,this.yylloc.last_column=a[a.length-1].length):this.yylloc.last_column+=R,this.yytext+=o,this.match+=o,this.matched+=o,this.matches=e,this.yyleng=this.yytext.length,this.yylloc.range[1]+=R,this.offset+=R,this._more=!1,this._backtrack=!1,this._input=this._input.slice(R),i=this.performAction.call(this,this.yy,r,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var P in t)this[P]=t[P];return this.__currentRuleSet__=null,!1}else if(this._signaled_error_token)return i=this._signaled_error_token,this._signaled_error_token=!1,i;return!1},next:function(){if(this.done)return this.clear(),this.EOF;this._input||(this.done=!0);var e,r,i,a;this._more||this.clear();var t=this.__currentRuleSet__;if(!t&&(t=this.__currentRuleSet__=this._currentRules(),!t||!t.rules)){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var R=this.constructLexErrorInfo("Internal lexer engine error"+o+': The lex grammar programmer pushed a non-existing condition name "'+this.topState()+'"; this is a fatal error and should be reported to the application programmer team!',!1);return this.parseError(R.errStr,R,this.JisonLexerError)||this.ERROR}for(var P=t.rules,E=t.__rule_regexes,w=t.__rule_count,p=1;p<=w;p++)if(i=this._input.match(E[p]),i&&(!r||i[0].length>r[0].length)){if(r=i,a=p,this.options.backtrack_lexer){if(e=this.test_match(i,P[p]),e!==!1)return e;if(this._backtrack){r=void 0;continue}else return!1}else if(!this.options.flex)break}if(r)return e=this.test_match(r,P[a]),e!==!1?e:!1;if(this._input){var o="";this.options.trackPosition&&(o=" on line "+(this.yylineno+1));var R=this.constructLexErrorInfo("Lexical error"+o+": Unrecognized text.",this.options.lexerErrorsAreRecoverable),g=this._input,I=this.topState(),q=this.conditionStack.length;return e=this.parseError(R.errStr,R,this.JisonLexerError)||this.ERROR,e===this.ERROR&&!this.matches&&g===this._input&&I===this.topState()&&q===this.conditionStack.length&&this.input(),e}else return this.done=!0,this.clear(),this.EOF},lex:function(){var e;for(typeof this.pre_lex=="function"&&(e=this.pre_lex.call(this,0)),typeof this.options.pre_lex=="function"&&(e=this.options.pre_lex.call(this,e)||e),this.yy&&typeof this.yy.pre_lex=="function"&&(e=this.yy.pre_lex.call(this,e)||e);!e;)e=this.next();return this.yy&&typeof this.yy.post_lex=="function"&&(e=this.yy.post_lex.call(this,e)||e),typeof this.options.post_lex=="function"&&(e=this.options.post_lex.call(this,e)||e),typeof this.post_lex=="function"&&(e=this.post_lex.call(this,e)||e),e},fastLex:function(){for(var e;!e;)e=this.next();return e},canIUse:function(){var e={fastLex:!(typeof this.pre_lex=="function"||typeof this.options.pre_lex=="function"||this.yy&&typeof this.yy.pre_lex=="function"||this.yy&&typeof this.yy.post_lex=="function"||typeof this.options.post_lex=="function"||typeof this.post_lex=="function")&&typeof this.fastLex=="function"};return e},begin:function(e){return this.pushState(e)},pushState:function(e){return this.conditionStack.push(e),this.__currentRuleSet__=null,this},popState:function(){var e=this.conditionStack.length-1;return e>0?(this.__currentRuleSet__=null,this.conditionStack.pop()):this.conditionStack[0]},topState:function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:"INITIAL"},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]]:this.conditions.INITIAL},stateStackSize:function(){return this.conditionStack.length},options:{trackPosition:!0},JisonLexerError:l,performAction:function(e,r,i){var a=this,t=i;switch(r){case 1:break;default:return this.simpleCaseActionClusters[r]}},simpleCaseActionClusters:{0:13,2:5,3:6,4:3,5:4,6:15,7:15,8:15,9:15,10:15,11:15,12:16,13:16,14:16,15:16,16:17,17:17,18:18,19:18,20:19,21:19,22:19,23:20,24:21,25:22,26:23,27:25,28:24,29:26,30:27,31:28,32:11,33:9,34:12,35:10,36:7,37:8,38:14,39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}};return c}();y.lexer=k;function h(){this.yy={}}return h.prototype=y,y.Parser=h,new h}();b.parser=m,b.Parser=m.Parser,b.parse=function(){return m.parse.apply(m,arguments)}},4246:(C,b,m)=>{var _=m(49879),x=m(81638),d=m(92802);function f(u){return this instanceof f?(this.nodes=_(u),this):new f(u)}f.prototype.toString=function(){return Array.isArray(this.nodes)?d(this.nodes):""},f.prototype.walk=function(u,n){return x(this.nodes,u,n),this},f.unit=m(98179),f.walk=x,f.stringify=d,C.exports=f},49879:C=>{var b="(".charCodeAt(0),m=")".charCodeAt(0),_="'".charCodeAt(0),x='"'.charCodeAt(0),d="\\".charCodeAt(0),f="/".charCodeAt(0),u=",".charCodeAt(0),n=":".charCodeAt(0),v="*".charCodeAt(0);C.exports=function(y){for(var k=[],h=y,l,c,s,e,r,i,a,t=0,o=h.charCo
23deAt(t),R=h.length,P=[{nodes:k}],E=0,w,p="",g="",I="";t<R;)if(o<=32){l=t;do l+=1,o=h.charCodeAt(l);while(o<=32);e=h.slice(t,l),s=k[k.length-1],o===m&&E?I=e:s&&s.type==="div"?s.after=e:o===u||o===n||o===f&&h.charCodeAt(l+1)!==v?g=e:k.push({type:"space",sourceIndex:t,value:e}),t=l}else if(o===_||o===x){l=t,c=o===_?"'":'"',e={type:"string",sourceIndex:t,quote:c};do if(r=!1,l=h.indexOf(c,l+1),~l)for(i=l;h.charCodeAt(i-1)===d;)i-=1,r=!r;else h+=c,l=h.length-1,e.unclosed=!0;while(r);e.value=h.slice(t+1,l),k.push(e),t=l+1,o=h.charCodeAt(t)}else if(o===f&&h.charCodeAt(t+1)===v)e={type:"comment",sourceIndex:t},l=h.indexOf("*/",t),l===-1&&(e.unclosed=!0,l=h.length),e.value=h.slice(t+2,l),k.push(e),t=l+2,o=h.charCodeAt(t);else if(o===f||o===u||o===n)e=h[t],k.push({type:"div",sourceIndex:t-g.length,value:e,before:g,after:""}),g="",t+=1,o=h.charCodeAt(t);else if(b===o){l=t;do l+=1,o=h.charCodeAt(l);while(o<=32);if(e={type:"function",sourceIndex:t-p.length,value:p,before:h.slice(t+1,l)},t=l,p==="url"&&o!==_&&o!==x){l-=1;do if(r=!1,l=h.indexOf(")",l+1),~l)for(i=l;h.charCodeAt(i-1)===d;)i-=1,r=!r;else h+=")",l=h.length-1,e.unclosed=!0;while(r);a=l;
23do a-=1,o=h.charCodeAt(a);while(o<=32);t!==a+1?e.nodes=[{type:"word",sourceIndex:t,value:h.slice(t,a+1)}]:e.nodes=[],e.unclosed&&a+1!==l?(e.after="",e.nodes.push({type:"space",sourceIndex:a+1,value:h.slice(a+1,l)})):e.after=h.slice(a+1,l),t=l+1,o=h.charCodeAt(t),k.push(e)}else E+=1,e.after="",k.push(e),P.push(e),k=e.nodes=[],w=e;p=""}else if(m===o&&E)t+=1,o=h.charCodeAt(t),w.after=I,I="",E-=1,P.pop(),w=P[E],k=w.nodes;else{l=t;do o===d&&(l+=1),l+=1,o=h.charCodeAt(l);while(l<R&&!(o<=32||o===_||o===x||o===u||o===n||o===f||o===b||o===m&&E));e=h.slice(t,l),b===o?p=e:k.push({type:"word",sourceIndex:t,value:e}),t=l}for(t=P.length-1;t;t-=1)P[t].unclosed=!0;return P[0].nodes}},92802:C=>{function b(_,x){var d=_.type,f=_.value,u,n;return x&&(n=x(_))!==void 0?n:d==="word"||d==="space"?f:d==="string"?(u=_.quote||"",u+f+(_.unclosed?"":u)):d==="comment"?"/*"+f+(_.unclosed?"":"*/"):d==="div"?(_.before||"")+f+(_.after||""):Array.isArray(_.nodes)?(u=m(_.nodes),d!=="function"?u:f+"("+(_.before||"")+u+(_.after||"")+(_.unclosed?"":")")):f}function m(_,x){var d,f;if(Array.isArray(_)){for(d="",f=_.length-1;~f;f-=1)d=b(_[f],x)+d;return d}return b(_,x)}C.exports=m},98179:C=>{var b="-".charCodeAt(0),m="+".charCodeAt(0),_=".".charCodeAt(0),x="e".charCodeAt(0),d="E".charCodeAt(0);C.exports=function(f){for(var u=0,n=f.length,v=!1,y=-1,k=!1,h;u<n;){if(h=f.charCodeAt(u),h>=48&&h<=57)k=!0;else if(h===x||h===d){if(y>-1)break;y=u}else if(h===_){if(v)break;v=!0}else if(h===m||h===b){if(u!==0)break}else break;u+=1}return y+1===u&&u--,k?{number:f.slice(0,u),unit:f.slice(u)}:!1}},81638:C=>{C.exports=function b(m,_,x){var d,f,u,n;for(d=0,f=m.length;d<f;d+=1)u=m[d],x||(n=_(u,d,m)),n!==!1&&u.type==="function"&&Array.isArray(u.nodes)&&b(u.nodes,_,x),x&&_(u,d,m)}}}]);})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.