next
Version:
The React Framework
125 lines • 268 kB
JavaScript
(()=>{var l={6615:(l,m,v)=>{"use strict";Object.defineProperty(m,"__esModule",{value:true});m.getBrowserScope=m.setBrowserScope=m.getLatestStableBrowsers=m.find=m.isSupported=m.getSupport=m.features=undefined;var y=v(4953);var w=_interopRequireDefault(y);var _=v(4907);var k=_interopRequireDefault(_);var S=v(9613);var C=v(4532);function _interopRequireDefault(l){return l&&l.__esModule?l:{default:l}}var E=Object.keys(S.features);var O=void 0;function setBrowserScope(l){O=(0,C.cleanBrowsersList)(l)}function getBrowserScope(){return O}var P=(0,w.default)(C.parseCaniuseData,(function(l,m){return l.title+m}));function getSupport(l){var m=void 0;try{m=(0,S.feature)(S.features[l])}catch(m){var v=find(l);if(v.length===1)return getSupport(v[0]);throw new ReferenceError("Please provide a proper feature name. Cannot find "+l)}return P(m,O)}function isSupported(l,m){var v=void 0;try{v=(0,S.feature)(S.features[l])}catch(m){var y=find(l);if(y.length===1){v=S.features[y[0]]}else{throw new ReferenceError("Please provide a proper feature name. Cannot find "+l)}}return(0,k.default)(m,{ignoreUnknownVersions:true}).map((function(l){return l.split(" ")})).every((function(l){return v.stats[l[0]]&&v.stats[l[0]][l[1]]==="y"}))}function find(l){if(typeof l!=="string"){throw new TypeError("The `query` parameter should be a string.")}if(~E.indexOf(l)){return l}return E.filter((function(m){return(0,C.contains)(m,l)}))}function getLatestStableBrowsers(){return(0,k.default)("last 1 version")}setBrowserScope();m.features=E;m.getSupport=getSupport;m.isSupported=isSupported;m.find=find;m.getLatestStableBrowsers=getLatestStableBrowsers;m.setBrowserScope=setBrowserScope;m.getBrowserScope=getBrowserScope},4532:(l,m,v)=>{"use strict";Object.defineProperty(m,"__esModule",{value:true});m.contains=contains;m.parseCaniuseData=parseCaniuseData;m.cleanBrowsersList=cleanBrowsersList;var y=v(2583);var w=_interopRequireDefault(y);var _=v(4907);var k=_interopRequireDefault(_);function _interopRequireDefault(l){return l&&l.__esModule?l:{default:l}}function contains(l,m){return!!~l.indexOf(m)}function parseCaniuseData(l,m){var v={};var y;var w;m.forEach((function(m){v[m]={};for(var _ in l.stats[m]){y=l.stats[m][_].replace(/#\d+/,"").trim().split(" ");_=parseFloat(_.split("-")[0]);if(isNaN(_))continue;for(var k=0;k<y.length;k++){w=y[k];if(w==="d"){continue}else if(w==="y"){if(typeof v[m][w]==="undefined"||_<v[m][w]){v[m][w]=_}}else{if(typeof v[m][w]==="undefined"||_>v[m][w]){v[m][w]=_}}}}}));return v}function cleanBrowsersList(l){return(0,w.default)((0,k.default)(l).map((function(l){return l.split(" ")[0]})))}},3251:(l,m)=>{Object.defineProperty(m,"__esModule",{value:!0});var v={grad:.9,turn:360,rad:360/(2*Math.PI)},t=function(l){return"string"==typeof l?l.length>0:"number"==typeof l},n=function(l,m,v){return void 0===m&&(m=0),void 0===v&&(v=Math.pow(10,m)),Math.round(v*l)/v+0},e=function(l,m,v){return void 0===m&&(m=0),void 0===v&&(v=1),l>v?v:l>m?l:m},u=function(l){return(l=isFinite(l)?l%360:0)>0?l:l+360},o=function(l){return{r:e(l.r,0,255),g:e(l.g,0,255),b:e(l.b,0,255),a:e(l.a)}},a=function(l){return{r:n(l.r),g:n(l.g),b:n(l.b),a:n(l.a,3)}},y=/^#([0-9a-f]{3,8})$/i,i=function(l){var m=l.toString(16);return m.length<2?"0"+m:m},h=function(l){var m=l.r,v=l.g,y=l.b,w=l.a,_=Math.max(m,v,y),k=_-Math.min(m,v,y),S=k?_===m?(v-y)/k:_===v?2+(y-m)/k:4+(m-v)/k:0;return{h:60*(S<0?S+6:S),s:_?k/_*100:0,v:_/255*100,a:w}},b=function(l){var m=l.h,v=l.s,y=l.v,w=l.a;m=m/360*6,v/=100,y/=100;var _=Math.floor(m),k=y*(1-v),S=y*(1-(m-_)*v),C=y*(1-(1-m+_)*v),E=_%6;return{r:255*[y,S,k,k,C,y][E],g:255*[C,y,y,S,k,k][E],b:255*[k,k,C,y,y,S][E],a:w}},d=function(l){return{h:u(l.h),s:e(l.s,0,100),l:e(l.l,0,100),a:e(l.a)}},g=function(l){return{h:n(l.h),s:n(l.s),l:n(l.l),a:n(l.a,3)}},f=function(l){return b((v=(m=l).s,{h:m.h,s:(v*=((y=m.l)<50?y:100-y)/100)>0?2*v/(y+v)*100:0,v:y+v,a:m.a}));var m,v,y},p=function(l){return{h:(m=h(l)).h,s:(w=(200-(v=m.s))*(y=m.v)/100)>0&&w<200?v*y/100/(w<=100?w:200-w)*100:0,l:w/2,a:m.a};var m,v,y,w},w=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,_=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,k=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,S=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,C={string:[[function(l){var m=y.exec(l);return m?(l=m[1]).length<=4?{r:parseInt(l[0]+l[0],16),g:parseInt(l[1]+l[1],16),b:parseInt(l[2]+l[2],16),a:4===l.length?n(parseInt(l[3]+l[3],16)/255,2):1}:6===l.length||8===l.length?{r:parseInt(l.substr(0,2),16),g:parseInt(l.substr(2,2),16),b:parseInt(l.substr(4,2),16),a:8===l.length?n(parseInt(l.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(l){var m=k.exec(l)||S.exec(l);return m?m[2]!==m[4]||m[4]!==m[6]?null:o({r:Number(m[1])/(m[2]?100/255:1),g:Number(m[3])/(m[4]?100/255:1),b:Number(m[5])/(m[6]?100/255:1),a:void 0===m[7]?1:Number(m[7])/(m[8]?100:1)}):null},"rgb"],[function(l){var m=w.exec(l)||_.exec(l);if(!m)return null;var y,k,S=d({h:(y=m[1],k=m[2],void 0===k&&(k="deg"),Number(y)*(v[k]||1)),s:Number(m[3]),l:Number(m[4]),a:void 0===m[5]?1:Number(m[5])/(m[6]?100:1)});return f(S)},"hsl"]],object:[[function(l){var m=l.r,v=l.g,y=l.b,w=l.a,_=void 0===w?1:w;return t(m)&&t(v)&&t(y)?o({r:Number(m),g:Number(v),b:Number(y),a:Number(_)}):null},"rgb"],[function(l){var m=l.h,v=l.s,y=l.l,w=l.a,_=void 0===w?1:w;if(!t(m)||!t(v)||!t(y))return null;var k=d({h:Number(m),s:Number(v),l:Number(y),a:Number(_)});return f(k)},"hsl"],[function(l){var m=l.h,v=l.s,y=l.v,w=l.a,_=void 0===w?1:w;if(!t(m)||!t(v)||!t(y))return null;var k=function(l){return{h:u(l.h),s:e(l.s,0,100),v:e(l.v,0,100),a:e(l.a)}}({h:Number(m),s:Number(v),v:Number(y),a:Number(_)});return b(k)},"hsv"]]},N=function(l,m){for(var v=0;v<m.length;v++){var y=m[v][0](l);if(y)return[y,m[v][1]]}return[null,void 0]},x=function(l){return"string"==typeof l?N(l.trim(),C.string):"object"==typeof l&&null!==l?N(l,C.object):[null,void 0]},M=function(l,m){var v=p(l);return{h:v.h,s:e(v.s+100*m,0,100),l:v.l,a:v.a}},I=function(l){return(299*l.r+587*l.g+114*l.b)/1e3/255},H=function(l,m){var v=p(l);return{h:v.h,s:v.s,l:e(v.l+100*m,0,100),a:v.a}},E=function(){function r(l){this.parsed=x(l)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return r.prototype.isValid=function(){return null!==this.parsed},r.prototype.brightness=function(){return n(I(this.rgba),2)},r.prototype.isDark=function(){return I(this.rgba)<.5},r.prototype.isLight=function(){return I(this.rgba)>=.5},r.prototype.toHex=function(){return l=a(this.rgba),m=l.r,v=l.g,y=l.b,_=(w=l.a)<1?i(n(255*w)):"","#"+i(m)+i(v)+i(y)+_;var l,m,v,y,w,_},r.prototype.toRgb=function(){return a(this.rgba)},r.prototype.toRgbString=function(){return l=a(this.rgba),m=l.r,v=l.g,y=l.b,(w=l.a)<1?"rgba("+m+", "+v+", "+y+", "+w+")":"rgb("+m+", "+v+", "+y+")";var l,m,v,y,w},r.prototype.toHsl=function(){return g(p(this.rgba))},r.prototype.toHslString=function(){return l=g(p(this.rgba)),m=l.h,v=l.s,y=l.l,(w=l.a)<1?"hsla("+m+", "+v+"%, "+y+"%, "+w+")":"hsl("+m+", "+v+"%, "+y+"%)";var l,m,v,y,w},r.prototype.toHsv=function(){return l=h(this.rgba),{h:n(l.h),s:n(l.s),v:n(l.v),a:n(l.a,3)};var l},r.prototype.invert=function(){return j({r:255-(l=this.rgba).r,g:255-l.g,b:255-l.b,a:l.a});var l},r.prototype.saturate=function(l){return void 0===l&&(l=.1),j(M(this.rgba,l))},r.prototype.desaturate=function(l){return void 0===l&&(l=.1),j(M(this.rgba,-l))},r.prototype.grayscale=function(){return j(M(this.rgba,-1))},r.prototype.lighten=function(l){return void 0===l&&(l=.1),j(H(this.rgba,l))},r.prototype.darken=function(l){return void 0===l&&(l=.1),j(H(this.rgba,-l))},r.prototype.rotate=function(l){return void 0===l&&(l=15),this.hue(this.hue()+l)},r.prototype.alpha=function(l){return"number"==typeof l?j({r:(m=this.rgba).r,g:m.g,b:m.b,a:l}):n(this.rgba.a,3);var m},r.prototype.hue=function(l){var m=p(this.rgba);return"number"==typeof l?j({h:l,s:m.s,l:m.l,a:m.a}):n(m.h)},r.prototype.isEqual=function(l){return this.toHex()===j(l).toHex()},r}(),j=function(l){return l instanceof E?l:new E(l)},O=[];m.Colord=E,m.colord=j,m.extend=function(l){l.forEach((function(l){O.indexOf(l)<0&&(l(E,C),O.push(l))}))},m.getFormat=function(l){return x(l)[1]},m.random=function(){return new E({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}},47:l=>{l.exports=function(l){var r=function(l){var m,v,y,w=l.toHex(),_=l.alpha(),k=w.split(""),S=k[1],C=k[2],E=k[3],O=k[4],P=k[5],L=k[6],T=k[7],D=k[8];if(_>0&&_<1&&(m=parseInt(T+D,16)/255,void 0===(v=2)&&(v=0),void 0===y&&(y=Math.pow(10,v)),Math.round(y*m)/y+0!==_))return null;if(S===C&&E===O&&P===L){if(1===_)return"#"+S+E+P;if(T===D)return"#"+S+E+P+T}return w},n=function(l){return l>0&&l<1?l.toString().replace("0.","."):l};l.prototype.minify=function(l){void 0===l&&(l={});var m=this.toRgb(),v=n(m.r),y=n(m.g),w=n(m.b),_=this.toHsl(),k=n(_.h),S=n(_.s),C=n(_.l),E=n(this.alpha()),O=Object.assign({hex:!0,rgb:!0,hsl:!0},l),P=[];if(O.hex&&(1===E||O.alphaHex)){var L=r(this);L&&P.push(L)}if(O.rgb&&P.push(1===E?"rgb("+v+","+y+","+w+")":"rgba("+v+","+y+","+w+","+E+")"),O.hsl&&P.push(1===E?"hsl("+k+","+S+"%,"+C+"%)":"hsla("+k+","+S+"%,"+C+"%,"+E+")"),O.transparent&&0===v&&0===y&&0===w&&0===E)P.push("transparent");else if(1===E&&O.name&&"function"==typeof this.toName){var T=this.toName();T&&P.push(T)}return function(l){for(var m=l[0],v=1;v<l.length;v++)l[v].length<m.length&&(m=l[v]);return m}(P)}}},2338:l=>{l.exports=function(l,m){var v={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},y={};for(var w in v)y[v[w]]=w;var _={};l.prototype.toName=function(m){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var w,k,S=y[this.toHex()];if(S)return S;if(null==m?void 0:m.closest){var C=this.toRgb(),E=1/0,O="black";if(!_.length)for(var P in v)_[P]=new l(v[P]).toRgb();for(var L in v){var T=(w=C,k=_[L],Math.pow(w.r-k.r,2)+Math.pow(w.g-k.g,2)+Math.pow(w.b-k.b,2));T<E&&(E=T,O=L)}return O}};m.string.push([function(m){var y=m.toLowerCase(),w="transparent"===y?"#0000":v[y];return w?new l(w).toRgb():null},"name"])}},441:l=>{"use strict";
/*! https://mths.be/cssesc v3.0.0 by @mathias */var m={};var v=m.hasOwnProperty;var y=function merge(l,m){if(!l){return m}var y={};for(var w in m){y[w]=v.call(l,w)?l[w]:m[w]}return y};var w=/[ -,\.\/:-@\[-\^`\{-~]/;var _=/[ -,\.\/:-@\[\]\^`\{-~]/;var k=/['"\\]/;var S=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var C=function cssesc(l,m){m=y(m,cssesc.options);if(m.quotes!="single"&&m.quotes!="double"){m.quotes="single"}var v=m.quotes=="double"?'"':"'";var k=m.isIdentifier;var C=l.charAt(0);var E="";var O=0;var P=l.length;while(O<P){var L=l.charAt(O++);var T=L.charCodeAt();var D=void 0;if(T<32||T>126){if(T>=55296&&T<=56319&&O<P){var R=l.charCodeAt(O++);if((R&64512)==56320){T=((T&1023)<<10)+(R&1023)+65536}else{O--}}D="\\"+T.toString(16).toUpperCase()+" "}else{if(m.escapeEverything){if(w.test(L)){D="\\"+L}else{D="\\"+T.toString(16).toUpperCase()+" "}}else if(/[\t\n\f\r\x0B]/.test(L)){D="\\"+T.toString(16).toUpperCase()+" "}else if(L=="\\"||!k&&(L=='"'&&v==L||L=="'"&&v==L)||k&&_.test(L)){D="\\"+L}else{D=L}}E+=D}if(k){if(/^-[-\d]/.test(E)){E="\\-"+E.slice(1)}else if(/\d/.test(C)){E="\\3"+C+" "+E.slice(1)}}E=E.replace(S,(function(l,m,v){if(m&&m.length%2){return l}return(m||"")+v}));if(!k&&m.wrap){return v+E+v}return E};C.options={escapeEverything:false,isIdentifier:false,quotes:"single",wrap:false};C.version="3.0.0";l.exports=C},9231:(l,m,v)=>{"use strict";
/**
* @author Ben Briggs
* @license MIT
* @module cssnano:preset:default
* @overview
*
* This default preset for cssnano only includes transforms that make no
* assumptions about your CSS other than what is passed in. In previous
* iterations of cssnano, assumptions were made about your CSS which caused
* output to look different in certain use cases, but not others. These
* transforms have been moved from the defaults to other presets, to make
* this preset require only minimal configuration.
*/const y=v(6680);const w=v(2487);const _=v(3252);const k=v(288);const S=v(8248);const C=v(1367);const E=v(6517);const O=v(9348);const P=v(4868);const L=v(3873);const T=v(5547);const D=v(9434);const R=v(949);const A=v(1927);const q=v(8508);const F=v(7969);const V=v(4277);const $=v(4967);const z=v(8041);const U=v(5505);const W=v(8553);const B=v(6512);const Q=v(8344);const Y=v(3434);const G=v(9255);const J=v(6242);const X=v(710);const Z=v(4675);const{rawCache:K}=v(8402);function configurePlugins(l,m={}){const{overrideBrowserslist:v,stats:y,env:w,path:_}=m;const k={overrideBrowserslist:v,stats:y,env:w,path:_};const S={colormin:{...k},convertValues:{length:false,...k},mergeRules:{...k},minifyParams:{...k},normalizeCharset:{add:false},normalizeUnicode:{...k},reduceInitial:{...k},cssDeclarationSorter:{keepOverrides:true},svgo:{plugins:[{name:"preset-default",params:{overrides:{removeViewBox:false,removeTitle:false}}}]}};return l.map((([l,v])=>{const y=S[v]??{};const w=m[v]??{};return[l,w!==false?{...y,...w}:{exclude:true}]}))}function defaultPreset(l={}){return{plugins:configurePlugins([[w,"discardComments"],[k,"minifyGradients"],[_,"reduceInitial"],[S,"svgo"],[X,"normalizeDisplayValues"],[C,"reduceTransforms"],[P,"colormin"],[Z,"normalizeTimingFunctions"],[O,"calc"],[E,"convertValues"],[L,"orderedValues"],[T,"minifySelectors"],[D,"minifyParams"],[R,"normalizeCharset"],[$,"discardOverridden"],[Q,"normalizeString"],[J,"normalizeUnicode"],[A,"minifyFontValues"],[q,"normalizeUrl"],[z,"normalizeRepeatStyle"],[Y,"normalizePositions"],[G,"normalizeWhitespace"],[F,"mergeLonghand"],[V,"discardDuplicates"],[U,"mergeRules"],[W,"discardEmpty"],[B,"uniqueSelectors"],[y,"cssDeclarationSorter"],[K,"rawCache"]],l)}}l.exports=defaultPreset},289:l=>{"use strict";l.exports=function getArguments(l){const m=[[]];for(const v of l.nodes){if(v.type!=="div"){m[m.length-1].push(v)}else{m.push([])}}return m}},8402:(l,m,v)=>{"use strict";const y=v(2923);const w=v(289);const _=v(5805);l.exports={rawCache:y,getArguments:w,sameParent:_}},2923:l=>{"use strict";function pluginCreator(){return{postcssPlugin:"cssnano-util-raw-cache",OnceExit(l,{result:m}){m.root.rawCache={colon:":",indent:"",beforeDecl:"",beforeRule:"",beforeOpen:"",beforeClose:"",beforeComment:"",after:"",emptyBody:"",commentLeft:"",commentRight:""}}}}pluginCreator.postcss=true;l.exports=pluginCreator},5805:l=>{"use strict";function checkMatch(l,m){if(l.type==="atrule"&&m.type==="atrule"){return l.params===m.params&&l.name.toLowerCase()===m.name.toLowerCase()}return l.type===m.type}function sameParent(l,m){if(!l.parent){return!m.parent}if(!m.parent){return false}if(!checkMatch(l.parent,m.parent)){return false}return sameParent(l.parent,m.parent)}l.exports=sameParent},4953:l=>{var m="Expected a function";var v="__lodash_hash_undefined__";var y="[object Function]",w="[object GeneratorFunction]";var _=/[\\^$.*+?()[\]{}|]/g;var k=/^\[object .+?Constructor\]$/;var S=typeof global=="object"&&global&&global.Object===Object&&global;var C=typeof self=="object"&&self&&self.Object===Object&&self;var E=S||C||Function("return this")();function getValue(l,m){return l==null?undefined:l[m]}function isHostObject(l){var m=false;if(l!=null&&typeof l.toString!="function"){try{m=!!(l+"")}catch(l){}}return m}var O=Array.prototype,P=Function.prototype,L=Object.prototype;var T=E["__core-js_shared__"];var D=function(){var l=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}();var R=P.toString;var A=L.hasOwnProperty;var q=L.toString;var F=RegExp("^"+R.call(A).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var V=O.splice;var $=getNative(E,"Map"),z=getNative(Object,"create");function Hash(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function hashClear(){this.__data__=z?z(null):{}}function hashDelete(l){return this.has(l)&&delete this.__data__[l]}function hashGet(l){var m=this.__data__;if(z){var y=m[l];return y===v?undefined:y}return A.call(m,l)?m[l]:undefined}function hashHas(l){var m=this.__data__;return z?m[l]!==undefined:A.call(m,l)}function hashSet(l,m){var y=this.__data__;y[l]=z&&m===undefined?v:m;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(l){var m=this.__data__,v=assocIndexOf(m,l);if(v<0){return false}var y=m.length-1;if(v==y){m.pop()}else{V.call(m,v,1)}return true}function listCacheGet(l){var m=this.__data__,v=assocIndexOf(m,l);return v<0?undefined:m[v][1]}function listCacheHas(l){return assocIndexOf(this.__data__,l)>-1}function listCacheSet(l,m){var v=this.__data__,y=assocIndexOf(v,l);if(y<0){v.push([l,m])}else{v[y][1]=m}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new($||ListCache),string:new Hash}}function mapCacheDelete(l){return getMapData(this,l)["delete"](l)}function mapCacheGet(l){return getMapData(this,l).get(l)}function mapCacheHas(l){return getMapData(this,l).has(l)}function mapCacheSet(l,m){getMapData(this,l).set(l,m);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function assocIndexOf(l,m){var v=l.length;while(v--){if(eq(l[v][0],m)){return v}}return-1}function baseIsNative(l){if(!isObject(l)||isMasked(l)){return false}var m=isFunction(l)||isHostObject(l)?F:k;return m.test(toSource(l))}function getMapData(l,m){var v=l.__data__;return isKeyable(m)?v[typeof m=="string"?"string":"hash"]:v.map}function getNative(l,m){var v=getValue(l,m);return baseIsNative(v)?v:undefined}function isKeyable(l){var m=typeof l;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?l!=="__proto__":l===null}function isMasked(l){return!!D&&D in l}function toSource(l){if(l!=null){try{return R.call(l)}catch(l){}try{return l+""}catch(l){}}return""}function memoize(l,v){if(typeof l!="function"||v&&typeof v!="function"){throw new TypeError(m)}var memoized=function(){var m=arguments,y=v?v.apply(this,m):m[0],w=memoized.cache;if(w.has(y)){return w.get(y)}var _=l.apply(this,m);memoized.cache=w.set(y,_);return _};memoized.cache=new(memoize.Cache||MapCache);return memoized}memoize.Cache=MapCache;function eq(l,m){return l===m||l!==l&&m!==m}function isFunction(l){var m=isObject(l)?q.call(l):"";return m==y||m==w}function isObject(l){var m=typeof l;return!!l&&(m=="object"||m=="function")}l.exports=memoize},2583:l=>{var m=200;var v="__lodash_hash_undefined__";var y=1/0;var w="[object Function]",_="[object GeneratorFunction]";var k=/[\\^$.*+?()[\]{}|]/g;var S=/^\[object .+?Constructor\]$/;var C=typeof global=="object"&&global&&global.Object===Object&&global;var E=typeof self=="object"&&self&&self.Object===Object&&self;var O=C||E||Function("return this")();function arrayIncludes(l,m){var v=l?l.length:0;return!!v&&baseIndexOf(l,m,0)>-1}function arrayIncludesWith(l,m,v){var y=-1,w=l?l.length:0;while(++y<w){if(v(m,l[y])){return true}}return false}function baseFindIndex(l,m,v,y){var w=l.length,_=v+(y?1:-1);while(y?_--:++_<w){if(m(l[_],_,l)){return _}}return-1}function baseIndexOf(l,m,v){if(m!==m){return baseFindIndex(l,baseIsNaN,v)}var y=v-1,w=l.length;while(++y<w){if(l[y]===m){return y}}return-1}function baseIsNaN(l){return l!==l}function cacheHas(l,m){return l.has(m)}function getValue(l,m){return l==null?undefined:l[m]}function isHostObject(l){var m=false;if(l!=null&&typeof l.toString!="function"){try{m=!!(l+"")}catch(l){}}return m}function setToArray(l){var m=-1,v=Array(l.size);l.forEach((function(l){v[++m]=l}));return v}var P=Array.prototype,L=Function.prototype,T=Object.prototype;var D=O["__core-js_shared__"];var R=function(){var l=/[^.]+$/.exec(D&&D.keys&&D.keys.IE_PROTO||"");return l?"Symbol(src)_1."+l:""}();var A=L.toString;var q=T.hasOwnProperty;var F=T.toString;var V=RegExp("^"+A.call(q).replace(k,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var $=P.splice;var z=getNative(O,"Map"),U=getNative(O,"Set"),W=getNative(Object,"create");function Hash(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function hashClear(){this.__data__=W?W(null):{}}function hashDelete(l){return this.has(l)&&delete this.__data__[l]}function hashGet(l){var m=this.__data__;if(W){var y=m[l];return y===v?undefined:y}return q.call(m,l)?m[l]:undefined}function hashHas(l){var m=this.__data__;return W?m[l]!==undefined:q.call(m,l)}function hashSet(l,m){var y=this.__data__;y[l]=W&&m===undefined?v:m;return this}Hash.prototype.clear=hashClear;Hash.prototype["delete"]=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;function ListCache(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function listCacheClear(){this.__data__=[]}function listCacheDelete(l){var m=this.__data__,v=assocIndexOf(m,l);if(v<0){return false}var y=m.length-1;if(v==y){m.pop()}else{$.call(m,v,1)}return true}function listCacheGet(l){var m=this.__data__,v=assocIndexOf(m,l);return v<0?undefined:m[v][1]}function listCacheHas(l){return assocIndexOf(this.__data__,l)>-1}function listCacheSet(l,m){var v=this.__data__,y=assocIndexOf(v,l);if(y<0){v.push([l,m])}else{v[y][1]=m}return this}ListCache.prototype.clear=listCacheClear;ListCache.prototype["delete"]=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;function MapCache(l){var m=-1,v=l?l.length:0;this.clear();while(++m<v){var y=l[m];this.set(y[0],y[1])}}function mapCacheClear(){this.__data__={hash:new Hash,map:new(z||ListCache),string:new Hash}}function mapCacheDelete(l){return getMapData(this,l)["delete"](l)}function mapCacheGet(l){return getMapData(this,l).get(l)}function mapCacheHas(l){return getMapData(this,l).has(l)}function mapCacheSet(l,m){getMapData(this,l).set(l,m);return this}MapCache.prototype.clear=mapCacheClear;MapCache.prototype["delete"]=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;function SetCache(l){var m=-1,v=l?l.length:0;this.__data__=new MapCache;while(++m<v){this.add(l[m])}}function setCacheAdd(l){this.__data__.set(l,v);return this}function setCacheHas(l){return this.__data__.has(l)}SetCache.prototype.add=SetCache.prototype.push=setCacheAdd;SetCache.prototype.has=setCacheHas;function assocIndexOf(l,m){var v=l.length;while(v--){if(eq(l[v][0],m)){return v}}return-1}function baseIsNative(l){if(!isObject(l)||isMasked(l)){return false}var m=isFunction(l)||isHostObject(l)?V:S;return m.test(toSource(l))}function baseUniq(l,v,y){var w=-1,_=arrayIncludes,k=l.length,S=true,C=[],E=C;if(y){S=false;_=arrayIncludesWith}else if(k>=m){var O=v?null:B(l);if(O){return setToArray(O)}S=false;_=cacheHas;E=new SetCache}else{E=v?[]:C}e:while(++w<k){var P=l[w],L=v?v(P):P;P=y||P!==0?P:0;if(S&&L===L){var T=E.length;while(T--){if(E[T]===L){continue e}}if(v){E.push(L)}C.push(P)}else if(!_(E,L,y)){if(E!==C){E.push(L)}C.push(P)}}return C}var B=!(U&&1/setToArray(new U([,-0]))[1]==y)?noop:function(l){return new U(l)};function getMapData(l,m){var v=l.__data__;return isKeyable(m)?v[typeof m=="string"?"string":"hash"]:v.map}function getNative(l,m){var v=getValue(l,m);return baseIsNative(v)?v:undefined}function isKeyable(l){var m=typeof l;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?l!=="__proto__":l===null}function isMasked(l){return!!R&&R in l}function toSource(l){if(l!=null){try{return A.call(l)}catch(l){}try{return l+""}catch(l){}}return""}function uniq(l){return l&&l.length?baseUniq(l):[]}function eq(l,m){return l===m||l!==l&&m!==m}function isFunction(l){var m=isObject(l)?F.call(l):"";return m==w||m==_}function isObject(l){var m=typeof l;return!!l&&(m=="object"||m=="function")}function noop(){}l.exports=uniq},9348:(l,m,v)=>{"use strict";const y=v(4498);function pluginCreator(l){const m=Object.assign({precision:5,preserve:false,warnWhenCannotResolve:false,mediaQueries:false,selectors:false},l);return{postcssPlugin:"postcss-calc",OnceExit(l,{result:v}){l.walk((l=>{const{type:w}=l;if(w==="decl"){y(l,"value",m,v)}if(w==="atrule"&&m.mediaQueries){y(l,"params",m,v)}if(w==="rule"&&m.selectors){y(l,"selector",m,v)}}))}}}pluginCreator.postcss=true;l.exports=pluginCreator},3048:l=>{"use strict";const m={px:{px:1,cm:96/2.54,mm:96/25.4,q:96/101.6,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,q:.025,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,q:.25,in:25.4,pt:25.4/72,pc:25.4/6},q:{px:101.6/96,cm:40,mm:4,q:1,in:101.6,pt:101.6/72,pc:101.6/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,q:1/101.6,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,q:72/101.6,in:72,pt:1,pc:12},pc:{px:.0625,cm:6/2.54,mm:6/25.4,q:6/101.6,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:Math.PI*2},turn:{deg:1/360,grad:.0025,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},hz:{hz:1,khz:1e3},khz:{hz:.001,khz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};function convertUnit(l,v,y,w){const _=v.toLowerCase();const k=y.toLowerCase();if(!m[k]){throw new Error("Cannot convert to "+y)}if(!m[k][_]){throw new Error("Cannot convert from "+v+" to "+y)}const S=m[k][_]*l;if(w!==false){w=Math.pow(10,Math.ceil(w)||5);return Math.round(S*w)/w}return S}l.exports=convertUnit},6689:(l,m,v)=>{"use strict";const y=v(3048);function isValueType(l){switch(l.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":case"EmValue":case"ExValue":case"ChValue":case"RemValue":case"VhValue":case"SvhValue":case"LvhValue":case"DvhValue":case"VwValue":case"SvwValue":case"LvwValue":case"DvwValue":case"VminValue":case"SvminValue":case"LvminValue":case"DvminValue":case"VmaxValue":case"SvmaxValue":case"LvmaxValue":case"DvmaxValue":case"VbValue":case"SvbValue":case"LvbValue":case"DvbValue":case"ViValue":case"SviValue":case"LviValue":case"DviValue":case"CqwValue":case"CqhValue":case"CqiValue":case"CqbValue":case"CqminValue":case"CqmaxValue":case"PercentageValue":case"Number":return true}return false}function flip(l){return l==="+"?"-":"+"}function isAddSubOperator(l){return l==="+"||l==="-"}function collectAddSubItems(l,m,v,y){if(!isAddSubOperator(l)){throw new Error(`invalid operator ${l}`)}if(isValueType(m)){const w=v.findIndex((l=>l.node.type===m.type));if(w>=0){if(m.value===0){return}const _=v[w].node;const{left:k,right:S}=convertNodesUnits(_,m,y);if(v[w].preOperator==="-"){v[w].preOperator="+";k.value*=-1}if(l==="+"){k.value+=S.value}else{k.value-=S.value}if(k.value>=0){v[w]={node:k,preOperator:"+"}}else{k.value*=-1;v[w]={node:k,preOperator:"-"}}}else{if(m.value>=0){v.push({node:m,preOperator:l})}else{m.value*=-1;v.push({node:m,preOperator:flip(l)})}}}else if(m.type==="MathExpression"){if(isAddSubOperator(m.operator)){collectAddSubItems(l,m.left,v,y);const w=l==="-"?flip(m.operator):m.operator;collectAddSubItems(w,m.right,v,y)}else{const w=reduce(m,y);if(w.type!=="MathExpression"||isAddSubOperator(w.operator)){collectAddSubItems(l,w,v,y)}else{v.push({node:w,preOperator:l})}}}else if(m.type==="ParenthesizedExpression"){collectAddSubItems(l,m.content,v,y)}else{v.push({node:m,preOperator:l})}}function reduceAddSubExpression(l,m){const v=[];collectAddSubItems("+",l,v,m);const y=v.filter((l=>!(isValueType(l.node)&&l.node.value===0)));const w=y[0];if(!w||w.preOperator==="-"&&!isValueType(w.node)){const l=v.find((l=>isValueType(l.node)&&l.node.value===0));if(l){y.unshift(l)}}if(y[0].preOperator==="-"&&isValueType(y[0].node)){y[0].node.value*=-1;y[0].preOperator="+"}let _=y[0].node;for(let l=1;l<y.length;l++){_={type:"MathExpression",operator:y[l].preOperator,left:_,right:y[l].node}}return _}function reduceDivisionExpression(l){if(!isValueType(l.right)){return l}if(l.right.type!=="Number"){throw new Error(`Cannot divide by "${l.right.unit}", number expected`)}return applyNumberDivision(l.left,l.right.value)}function applyNumberDivision(l,m){if(m===0){throw new Error("Cannot divide by zero")}if(isValueType(l)){l.value/=m;return l}if(l.type==="MathExpression"&&isAddSubOperator(l.operator)){return{type:"MathExpression",operator:l.operator,left:applyNumberDivision(l.left,m),right:applyNumberDivision(l.right,m)}}return{type:"MathExpression",operator:"/",left:l,right:{type:"Number",value:m}}}function reduceMultiplicationExpression(l){if(l.right.type==="Number"){return applyNumberMultiplication(l.left,l.right.value)}if(l.left.type==="Number"){return applyNumberMultiplication(l.right,l.left.value)}return l}function applyNumberMultiplication(l,m){if(isValueType(l)){l.value*=m;return l}if(l.type==="MathExpression"&&isAddSubOperator(l.operator)){return{type:"MathExpression",operator:l.operator,left:applyNumberMultiplication(l.left,m),right:applyNumberMultiplication(l.right,m)}}return{type:"MathExpression",operator:"*",left:l,right:{type:"Number",value:m}}}function convertNodesUnits(l,m,v){switch(l.type){case"LengthValue":case"AngleValue":case"TimeValue":case"FrequencyValue":case"ResolutionValue":if(m.type===l.type&&m.unit&&l.unit){const w=y(m.value,m.unit,l.unit,v);m={type:l.type,value:w,unit:l.unit}}return{left:l,right:m};default:return{left:l,right:m}}}function includesNoCssProperties(l){return l.content.type!=="Function"&&(l.content.type!=="MathExpression"||l.content.right.type!=="Function"&&l.content.left.type!=="Function")}function reduce(l,m){if(l.type==="MathExpression"){if(isAddSubOperator(l.operator)){return reduceAddSubExpression(l,m)}l.left=reduce(l.left,m);l.right=reduce(l.right,m);switch(l.operator){case"/":return reduceDivisionExpression(l);case"*":return reduceMultiplicationExpression(l)}return l}if(l.type==="ParenthesizedExpression"){if(includesNoCssProperties(l)){return reduce(l.content,m)}}return l}l.exports=reduce},3080:l=>{"use strict";const m={"*":0,"/":0,"+":1,"-":1};function round(l,m){if(m!==false){const v=Math.pow(10,m);return Math.round(l*v)/v}return l}function stringify(l,v){switch(l.type){case"MathExpression":{const{left:y,right:w,operator:_}=l;let k="";if(y.type==="MathExpression"&&m[_]<m[y.operator]){k+=`(${stringify(y,v)})`}else{k+=stringify(y,v)}k+=m[_]?` ${l.operator} `:l.operator;if(w.type==="MathExpression"&&m[_]<m[w.operator]){k+=`(${stringify(w,v)})`}else{k+=stringify(w,v)}return k}case"Number":return round(l.value,v).toString();case"Function":return l.value.toString();case"ParenthesizedExpression":return`(${stringify(l.content,v)})`;default:return round(l.value,v)+l.unit}}l.exports=function(l,m,v,y,w,_){let k=stringify(m,y.precision);const S=m.type==="MathExpression"||m.type==="Function"||m.type==="ParenthesizedExpression";if(S){if(m.type==="ParenthesizedExpression"){k=`${l}${k}`}else{k=`${l}(${k})`}if(y.warnWhenCannotResolve){w.warn("Could not reduce expression: "+v,{plugin:"postcss-calc",node:_})}}return k}},4498:(l,m,v)=>{"use strict";const y=v(6206);const w=v(2045);const{parser:_}=v(5376);const k=v(6689);const S=v(3080);const C=/((?:-(moz|webkit)-)?calc)/i;function transformValue(l,m,v,y){return w(l).walk((E=>{if(E.type!=="function"||!C.test(E.value)){return}const O=w.stringify(E.nodes);const P=_.parse(O);const L=k(P,m.precision);E.type="word";E.value=S(E.value,L,l,m,v,y);return false})).toString()}function transformSelector(l,m,v,w){return y((l=>{l.walk((l=>{if(l.type==="attribute"&&l.value){l.setValue(transformValue(l.value,m,v,w))}if(l.type==="tag"){l.value=transformValue(l.value,m,v,w)}return}))})).processSync(l)}l.exports=(l,m,v,y)=>{let w=l[m];try{w=m==="selector"?transformSelector(l[m],v,y,l):transformValue(l[m],v,y,l)}catch(m){if(m instanceof Error){y.warn(m.message,{node:l})}else{y.warn("Error",{node:l})}return}if(v.preserve&&l[m]!==w){const v=l.clone();v[m]=w;l.parent.insertBefore(l,v)}else{l[m]=w}}},5376:(l,m)=>{var v=function(){function JisonParserError(l,m){Object.defineProperty(this,"name",{enumerable:false,writable:false,value:"JisonParserError"});if(l==null)l="???";Object.defineProperty(this,"message",{enumerable:false,writable:true,value:l});this.hash=m;var v;if(m&&m.exception instanceof Error){var y=m.exception;this.message=y.message||l;v=y.stack}if(!v){if(Error.hasOwnProperty("captureStackTrace")){Error.captureStackTrace(this,this.constructor)}else{v=new Error(l).stack}}if(v){Object.defineProperty(this,"stack",{enumerable:false,writable:false,value:v})}}if(typeof Object.setPrototypeOf==="function"){Object.setPrototypeOf(JisonParserError.prototype,Error.prototype)}else{JisonParserError.prototype=Object.create(Error.prototype)}JisonParserError.prototype.constructor=JisonParserError;JisonParserError.prototype.name="JisonParserError";function bp(l){var m=[];var v=l.pop;var y=l.rule;for(var w=0,_=v.length;w<_;w++){m.push([v[w],y[w]])}return m}function bda(l){var m={};var v=l.idx;var y=l.goto;for(var w=0,_=v.length;w<_;w++){var k=v[w];m[k]=y[w]}return m}function bt(l){var m=[];var v=l.len;var y=l.symbol;var w=l.type;var _=l.state;var k=l.mode;var S=l.goto;for(var C=0,E=v.length;C<E;C++){var O=v[C];var P={};for(var L=0;L<O;L++){var T=y.shift();switch(w.shift()){case 2:P[T]=[k.shift(),S.shift()];break;case 0:P[T]=_.shift();break;default:P[T]=[3]}}m.push(P)}return m}function s(l,m,v){v=v||0;for(var y=0;y<m;y++){this.push(l);l+=v}}function c(l,m){l=this.length-l;for(m+=l;l<m;l++){this.push(this[l])}}function u(l){var m=[];for(var v=0,y=l.length;v<y;v++){var w=l[v];if(typeof w==="function"){v++;w.apply(m,l[v])}else{m.push(w)}}return m}var l={trace:function no_op_trace(){},JisonParserError:JisonParserError,yy:{},options:{type:"lalr",hasPartialLrUpgradeOnConflict:true,errorRecoveryTokenDiscardCount:3},symbols_:{$accept:0,$end:1,ADD:6,ANGLE:12,CALC:3,CHS:19,CQBS:48,CQHS:46,CQIS:47,CQMAXS:50,CQMINS:49,CQWS:45,DIV:9,DVBS:40,DVHS:24,DVIS:44,DVMAXS:36,DVMINS:32,DVWS:28,EMS:17,EOF:1,EXS:18,FREQ:14,FUNCTION:10,LENGTH:11,LPAREN:4,LVBS:39,LVHS:23,LVIS:43,LVMAXS:35,LVMINS:31,LVWS:27,MUL:8,NUMBER:52,PERCENTAGE:51,REMS:20,RES:15,RPAREN:5,SUB:7,SVBS:38,SVHS:22,SVIS:42,SVMAXS:34,SVMINS:30,SVWS:26,TIME:13,UNKNOWN_DIMENSION:16,VBS:37,VHS:21,VIS:41,VMAXS:33,VMINS:29,VWS:25,dimension:56,error:2,expression:53,function:55,math_expression:54,number:57},terminals_:{1:"EOF",2:"error",3:"CALC",4:"LPAREN",5:"RPAREN",6:"ADD",7:"SUB",8:"MUL",9:"DIV",10:"FUNCTION",11:"LENGTH",12:"ANGLE",13:"TIME",14:"FREQ",15:"RES",16:"UNKNOWN_DIMENSION",17:"EMS",18:"EXS",19:"CHS",20:"REMS",21:"VHS",22:"SVHS",23:"LVHS",24:"DVHS",25:"VWS",26:"SVWS",27:"LVWS",28:"DVWS",29:"VMINS",30:"SVMINS",31:"LVMINS",32:"DVMINS",33:"VMAXS",34:"SVMAXS",35:"LVMAXS",36:"DVMAXS",37:"VBS",38:"SVBS",39:"LVBS",40:"DVBS",41:"VIS",42:"SVIS",43:"LVIS",44:"DVIS",45:"CQWS",46:"CQHS",47:"CQIS",48:"CQBS",49:"CQMINS",50:"CQMAXS",51:"PERCENTAGE",52:"NUMBER"},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 parser_quoteName(l){return'"'+l+'"'},getSymbolName:function parser_getSymbolName(l){if(this.terminals_[l]){return this.terminals_[l]}var m=this.symbols_;for(var v in m){if(m[v]===l){return v}}return null},describeSymbol:function parser_describeSymbol(l){if(l!==this.EOF&&this.terminal_descriptions_&&this.terminal_descriptions_[l]){return this.terminal_descriptions_[l]}else if(l===this.EOF){return"end of input"}var m=this.getSymbolName(l);if(m){return this.quoteName(m)}return null},collect_expected_token_set:function parser_collect_expected_token_set(l,m){var v=this.TERROR;var y=[];var w={};if(!m&&this.state_descriptions_&&this.state_descriptions_[l]){return[this.state_descriptions_[l]]}for(var _ in this.table[l]){_=+_;if(_!==v){var k=m?_:this.describeSymbol(_);if(k&&!w[k]){y.push(k);w[k]=true}}}return y},productions_:bp({pop:u([53,s,[54,9],55,s,[56,43],s,[57,3]]),rule:u([2,4,s,[3,5],s,[1,45],2,2,c,[3,3]])}),performAction:function parser__PerformAction(l,m,v){var y=this.yy;var w=y.parser;var _=y.lexer;switch(l){case 0:
/*! Production:: $accept : expression $end */
this.$=v[m-1];break;case 1:
/*! Production:: expression : math_expression EOF */
this.$=v[m-1];return v[m-1];break;case 2:
/*! Production:: math_expression : CALC LPAREN math_expression RPAREN */
this.$=v[m-1];break;case 3:
/*! Production:: math_expression : math_expression ADD math_expression */case 4:
/*! Production:: math_expression : math_expression SUB math_expression */case 5:
/*! Production:: math_expression : math_expression MUL math_expression */case 6:
/*! Production:: math_expression : math_expression DIV math_expression */
this.$={type:"MathExpression",operator:v[m-1],left:v[m-2],right:v[m]};break;case 7:
/*! Production:: math_expression : LPAREN math_expression RPAREN */
this.$={type:"ParenthesizedExpression",content:v[m-1]};break;case 8:
/*! Production:: math_expression : function */case 9:
/*! Production:: math_expression : dimension */case 10:
/*! Production:: math_expression : number */
this.$=v[m];break;case 11:
/*! Production:: function : FUNCTION */
this.$={type:"Function",value:v[m]};break;case 12:
/*! Production:: dimension : LENGTH */
this.$={type:"LengthValue",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 13:
/*! Production:: dimension : ANGLE */
this.$={type:"AngleValue",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 14:
/*! Production:: dimension : TIME */
this.$={type:"TimeValue",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 15:
/*! Production:: dimension : FREQ */
this.$={type:"FrequencyValue",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 16:
/*! Production:: dimension : RES */
this.$={type:"ResolutionValue",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 17:
/*! Production:: dimension : UNKNOWN_DIMENSION */
this.$={type:"UnknownDimension",value:parseFloat(v[m]),unit:/[a-z]+$/i.exec(v[m])[0]};break;case 18:
/*! Production:: dimension : EMS */
this.$={type:"EmValue",value:parseFloat(v[m]),unit:"em"};break;case 19:
/*! Production:: dimension : EXS */
this.$={type:"ExValue",value:parseFloat(v[m]),unit:"ex"};break;case 20:
/*! Production:: dimension : CHS */
this.$={type:"ChValue",value:parseFloat(v[m]),unit:"ch"};break;case 21:
/*! Production:: dimension : REMS */
this.$={type:"RemValue",value:parseFloat(v[m]),unit:"rem"};break;case 22:
/*! Production:: dimension : VHS */
this.$={type:"VhValue",value:parseFloat(v[m]),unit:"vh"};break;case 23:
/*! Production:: dimension : SVHS */
this.$={type:"SvhValue",value:parseFloat(v[m]),unit:"svh"};break;case 24:
/*! Production:: dimension : LVHS */
this.$={type:"LvhValue",value:parseFloat(v[m]),unit:"lvh"};break;case 25:
/*! Production:: dimension : DVHS */
this.$={type:"DvhValue",value:parseFloat(v[m]),unit:"dvh"};break;case 26:
/*! Production:: dimension : VWS */
this.$={type:"VwValue",value:parseFloat(v[m]),unit:"vw"};break;case 27:
/*! Production:: dimension : SVWS */
this.$={type:"SvwValue",value:parseFloat(v[m]),unit:"svw"};break;case 28:
/*! Production:: dimension : LVWS */
this.$={type:"LvwValue",value:parseFloat(v[m]),unit:"lvw"};break;case 29:
/*! Production:: dimension : DVWS */
this.$={type:"DvwValue",value:parseFloat(v[m]),unit:"dvw"};break;case 30:
/*! Production:: dimension : VMINS */
this.$={type:"VminValue",value:parseFloat(v[m]),unit:"vmin"};break;case 31:
/*! Production:: dimension : SVMINS */
this.$={type:"SvminValue",value:parseFloat(v[m]),unit:"svmin"};break;case 32:
/*! Production:: dimension : LVMINS */
this.$={type:"LvminValue",value:parseFloat(v[m]),unit:"lvmin"};break;case 33:
/*! Production:: dimension : DVMINS */
this.$={type:"DvminValue",value:parseFloat(v[m]),unit:"dvmin"};break;case 34:
/*! Production:: dimension : VMAXS */
this.$={type:"VmaxValue",value:parseFloat(v[m]),unit:"vmax"};break;case 35:
/*! Production:: dimension : SVMAXS */
this.$={type:"SvmaxValue",value:parseFloat(v[m]),unit:"svmax"};break;case 36:
/*! Production:: dimension : LVMAXS */
this.$={type:"LvmaxValue",value:parseFloat(v[m]),unit:"lvmax"};break;case 37:
/*! Production:: dimension : DVMAXS */
this.$={type:"DvmaxValue",value:parseFloat(v[m]),unit:"dvmax"};break;case 38:
/*! Production:: dimension : VBS */
this.$={type:"VbValue",value:parseFloat(v[m]),unit:"vb"};break;case 39:
/*! Production:: dimension : SVBS */
this.$={type:"SvbValue",value:parseFloat(v[m]),unit:"svb"};break;case 40:
/*! Production:: dimension : LVBS */
this.$={type:"LvbValue",value:parseFloat(v[m]),unit:"lvb"};break;case 41:
/*! Production:: dimension : DVBS */
this.$={type:"DvbValue",value:parseFloat(v[m]),unit:"dvb"};break;case 42:
/*! Production:: dimension : VIS */
this.$={type:"VhValue",value:parseFloat(v[m]),unit:"vi"};break;case 43:
/*! Production:: dimension : SVIS */
this.$={type:"SvhValue",value:parseFloat(v[m]),unit:"svi"};break;case 44:
/*! Production:: dimension : LVIS */
this.$={type:"LvhValue",value:parseFloat(v[m]),unit:"lvi"};break;case 45:
/*! Production:: dimension : DVIS */
this.$={type:"DvhValue",value:parseFloat(v[m]),unit:"dvi"};break;case 46:
/*! Production:: dimension : CQWS */
this.$={type:"CqwValue",value:parseFloat(v[m]),unit:"cqw"};break;case 47:
/*! Production:: dimension : CQHS */
this.$={type:"CqhValue",value:parseFloat(v[m]),unit:"cqh"};break;case 48:
/*! Production:: dimension : CQIS */
this.$={type:"CqiValue",value:parseFloat(v[m]),unit:"cqi"};break;case 49:
/*! Production:: dimension : CQBS */
this.$={type:"CqbValue",value:parseFloat(v[m]),unit:"cqb"};break;case 50:
/*! Production:: dimension : CQMINS */
this.$={type:"CqminValue",value:parseFloat(v[m]),unit:"cqmin"};break;case 51:
/*! Production:: dimension : CQMAXS */
this.$={type:"CqmaxValue",value:parseFloat(v[m]),unit:"cqmax"};break;case 52:
/*! Production:: dimension : PERCENTAGE */
this.$={type:"PercentageValue",value:parseFloat(v[m]),unit:"%"};break;case 53:
/*! Production:: dimension : ADD dimension */
var k=v[m];this.$=k;break;case 54:
/*! Production:: dimension : SUB dimension */
var k=v[m];k.value*=-1;this.$=k;break;case 55:
/*! Production:: number : NUMBER */case 56:
/*! Production:: number : ADD NUMBER */
this.$={type:"Number",value:parseFloat(v[m])};break;case 57:
/*! Production:: number : SUB NUMBER */
this.$={type:"Number",value:parseFloat(v[m])*-1};break}},table:bt({len:u([52,1,5,1,51,s,[0,45],45,45,0,0,s,[51,5],5,0,0,44,44,0,0,6,6,0,0,c,[11,3]]),symbol:u([3,4,6,7,s,[10,48,1],1,1,s,[6,4,1],4,c,[59,47],c,[58,4],6,7,c,[48,42],56,c,[45,45],c,[141,51],c,[51,204],s,[5,5,1],c,[305,43],c,[349,44],56,1,c,[94,5],c,[6,6],c,[5,5]]),type:u([s,[2,47],s,[0,5],1,s,[2,53],s,[0,4],c,[48,45],c,[45,89],c,[141,51],c,[51,207],c,[304,45],c,[44,18]]),state:u([1,2,5,6,7,59,c,[4,3],60,64,66,c,[6,3],67,c,[4,3],68,c,[4,3],69,c,[4,3],70,c,[22,5]]),mode:u([s,[1,514],s,[2,4],c,[6,8],s,[1,5]]),goto:u([3,4,50,51,s,[8,42,1],s,[52,7,1],c,[53,47],62,63,c,[44,41],61,c,[44,43],65,c,[135,47],c,[47,188],71,c,[376,4],c,[284,43],c,[43,43],s,[3,4],56,57,s,[4,4],56,57,72,c,[103,4]])}),defaultActions:bda({idx:u([s,[5,45,1],52,53,60,61,64,65,68,69,71,72]),goto:u([s,[8,45,1],55,1,53,56,54,57,5,6,7,2])}),parseError:function parseError(l,m,v){if(m.recoverable){if(typeof this.trace==="function"){this.trace(l)}m.destroy()}else{if(typeof this.trace==="function"){this.trace(l)}if(!v){v=this.JisonParserError}throw new v(l,m)}},parse:function parse(l){var m=this;var v=new Array(128);var y=new Array(128);var w=new Array(128);var _=this.table;var k=0;var S=0;var C=this.TERROR;var E=this.EOF;var O=this.options.errorRecoveryTokenDiscardCount|0||3;var P=[0,73];var L;if(this.__lexer__){L=this.__lexer__}else{L=this.__lexer__=Object.create(this.lexer)}var T={parseError:undefined,quoteName:undefined,lexer:undefined,parser:undefined,pre_parse:undefined,post_parse:undefined,pre_lex:undefined,post_lex:undefined};var D;if(typeof assert!=="function"){D=function JisonAssert(l,m){if(!l){throw new Error("assertion failed: "+(m||"***"))}}}else{D=assert}this.yyGetSharedState=function yyGetSharedState(){return T};function shallow_copy_noclobber(l,m){for(var v in m){if(typeof l[v]==="undefined"&&Object.prototype.hasOwnProperty.call(m,v)){l[v]=m[v]}}}shallow_copy_noclobber(T,this.yy);T.lexer=L;T.parser=this;if(typeof T.parseError==="function"){this.parseError=function parseErrorAlt(l,m,v){if(!v){v=this.JisonParserError}return T.parseError.call(this,l,m,v)}}else{this.parseError=this.originalParseError}if(typeof T.quoteName==="function"){this.quoteName=function quoteNameAlt(l){return T.quoteName.call(this,l)}}else{this.quoteName=this.originalQuoteName}this.cleanupAfterParse=function parser_cleanupAfterParse(l,m,_){var S;if(m){var C;if(T.post_parse||this.post_parse){C=this.constructParseErrorInfo(null,null,null,false)}if(T.post_parse){S=T.post_parse.call(this,T,l,C);if(typeof S!=="undefined")l=S}if(this.post_parse){S=this.post_parse.call(this,T,l,C);if(typeof S!=="undefined")l=S}if(C&&C.destroy){C.destroy()}}if(this.__reentrant_call_depth>1)return l;if(L.cleanupAfterLex){L.cleanupAfterLex(_)}if(T){T.lexer=undefined;T.parser=undefined;if(L.yy===T){L.yy=undefined}}T=undefined;this.parseError=this.originalParseError;this.quoteName=this.originalQuoteName;v.length=0;y.length=0;w.length=0;k=0;if(!_){for(var E=this.__error_infos.length-1;E>=0;E--){var O=this.__error_infos[E];if(O&&typeof O.destroy==="function"){O.destroy()}}this.__error_infos.length=0}return l};this.constructParseErrorInfo=function parser_constructParseErrorInfo(l,m,_,C){var E={errStr:l,exception:m,text:L.match,value:L.yytext,token:this.describeSymbol(S)||S,token_id:S,line:L.yylineno,expected:_,recoverable:C,state:A,action:q,new_state:B,symbol_stack:v,state_stack:y,value_stack:w,stack_pointer:k,yy:T,lexer:L,parser:this,destroy:function destructParseErrorInfo(){var l=!!this.recoverable;for(var m in this){if(this.hasOwnProperty(m)&&typeof m==="object"){this[m]=undefined}}this.recoverable=l}};this.__error_infos.push(E);return E};function getNonTerminalFromCode(l){var v=m.getSymbolName(l);if(!v){v=l}return v}function stdLex(){var l=L.lex();if(typeof l!=="number"){l=m.symbols_[l]||l}return l||E}function fastLex(){var l=L.fastLex();if(typeof l!=="number"){l=m.symbols_[l]||l}return l||E}var R=stdLex;va