-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsfuck.min.js
2 lines (2 loc) · 171 KB
/
jsfuck.min.js
1
2
var Obfuscator=function(t){var e={};function i(a){if(e[a])return e[a].exports;var s=e[a]={i:a,l:!1,exports:{}};return t[a].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,a){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(i.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(a,s,function(e){return t[e]}.bind(null,s));return a},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=28)}([function(t,e,i){var a;void 0===(a=function(t,e,i){e.LINE="\n",e.ENTER="\r",e.BLANK=" ",e.TAB="\t",e.UNDERLINE="_",e.DOLLAR="$",e.SHARP="#",e.MINUS="-",e.AT="@",e.SLASH="/",e.BACK_SLASH="\\",e.DECIMAL=".",e.LEFT_BRACKET="[",e.RIGHT_BRACKET="]",e.STAR="*",e.LEFT_PARENTHESE="(",e.RIGHT_PARENTHESE=")",e.COMMA=",",e.SEMICOLON=";",e.EQUAL="=",e.isDigit=function(t){return t>="0"&&t<="9"},e.isDigit16=function(t){return e.isDigit(t)||t>="a"&&t<="f"||t>="A"&&t<="F"},e.isDigit2=function(t){return"0"==t||"1"==t},e.isDigit8=function(t){return t>="0"&&t<="7"},e.isLetter=function(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"},e.count=function(t,e){for(var i=0,a=-1;-1!=(a=t.indexOf(e,a+1));)i++;return i},e.isUndefined=function(t){return void 0===t},e.isString=function(t){return"[object String]"==Object.prototype.toString.call(t)},e.isNumber=function(t){return"[object Number]"==Object.prototype.toString.call(t)}}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s,u=i(2),r=i(0),n=0,o=u(function(t,e,i,a){this.t=t,this.c=e,this.pr=null,this.ne=null,r.isNumber(i)?(a=i,i=e):r.isUndefined(i)&&(i=e,a=-1),this.v=i,this.id=n++,this.si=a}).methods({type:function(t){return void 0!==t&&(this.t=t),this.t},content:function(t){return void 0!==t&&(this.c=t),this.c},val:function(t){return void 0!==t&&(this.v=t),this.v},tag:function(t){return void 0!==t&&(this.t=t),o.type(this.t)},tid:function(t){return void 0!==t&&(this.id=t),this.id},sIndex:function(t){return void 0!==t&&(this.si=t),this.si},prev:function(t){return void 0!==t&&(this.pr=t),this.pr},next:function(t){return void 0!==t&&(this.ne=t),this.ne},cancel:function(){n--},isVirtual:function(){return this.t==o.VIRTUAL}}).statics({IGNORE:-2,VIRTUAL:-1,OTHER:0,BLANK:1,TAB:2,LINE:3,NUMBER:4,ID:5,COMMENT:6,STRING:7,SIGN:8,KEYWORD:10,REG:9,TEMPLATE:13,ANNOT:11,ENTER:14,type:function(t){var e=this;return r.isUndefined(s)&&(s=[],Object.keys(e).forEach(function(t){"number"==typeof e[t]&&(s[e[t]]=t)})),s[t]},reset:function(){n=0}});a.exports=o}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,i){function a(t,e){var i=Object.create(e.prototype);return i.constructor=t,t.prototype=i,Object.keys(e).forEach(function(i){t[i]=e[i]}),t}function s(t){return function t(e){return e.extend=function(i){return a(i,e),t(i)},e.methods=function(t){return Object.keys(t).forEach(function(i){e.prototype[i]=t[i]}),e},e.statics=function(t){return Object.keys(t).forEach(function(i){e[i]=t[i]}),e},e}(t||function(){})}s.extend=a,i.exports=s}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(0),r=i(1),n=i(16),o=s(function(t){this.rule=t,this.init()}).methods({init:function(){this.code="",this.peek="",this.index=0,this.isReg=o.IS_REG,this.tokenList=[],this.parentheseState=!1,this.parentheseStack=[],this.cacheLine=0,this.totalLine=1,this.colNum=0,this.colMax=0,this.last=null},parse:function(t){this.code=t||"";var e=[];return this.scan(e),e},parseOn:function(){var t=[];return this.scan(t),t},tokens:function(t){return t?n.plainObject(this.tokenList):this.tokenList},scan:function(t){var e=this.rule.perlReg(),i=this.code.length,a=0;t:for(;this.index<i&&!(this.cacheLine>0&&a>=this.cacheLine);)if(this.readch(),e&&this.isReg==o.IS_REG&&this.peek==u.SLASH&&!{"/":!0,"*":!0}[this.code.charAt(this.index)])this.dealReg(t,i),this.isReg=o.NOT_REG;else{for(var s=0,n=this.rule.matches(),h=n.length;s<h;s++){var c=n[s];if(c.match(this.peek,this.code,this.index)){var d=new r(c.tokenType(),c.content(),c.val(),this.index-1),l=c.error(),f=c.content().length;if(l&&this.error(l,this.code.slice(this.index-f,this.index)),d.type()==r.ID&&this.rule.keyWords().hasOwnProperty(d.content())&&d.type(r.KEYWORD),c.callback&&c.callback.call(c,d,this.tokenList),c.cancel){d.cancel();continue}this.last&&(d.prev(this.last),this.last.next(d)),this.last=d,t.push(d),this.tokenList.push(d),this.index+=f-1;var m=u.count(d.val(),u.LINE);if(a+=m,this.totalLine+=m,m){var p=c.content().indexOf(u.LINE),b=c.content().lastIndexOf(u.LINE);this.colMax=Math.max(this.colMax,this.colNum+p),this.colNum=c.content().length-b}else this.colNum+=f;this.colMax=Math.max(this.colMax,this.colNum),e&&c.perlReg()!=o.IGNORE&&(c.perlReg()==o.SPECIAL?this.isReg=c.special():this.isReg=c.perlReg(),this.peek==u.LEFT_PARENTHESE?(this.parentheseStack.push(this.parentheseState),this.parentheseState=!1):this.peek==u.RIGHT_PARENTHESE?this.isReg=this.parentheseStack.pop()?o.IS_REG:o.NOT_REG:this.parentheseState=c.parenthese());continue t}}this.error("unknow token")}return this},readch:function(){this.peek=this.code.charAt(this.index++)},dealReg:function(t,e){var i=this.index-1,a=!1;t:do{if(this.readch(),this.peek==u.LINE){this.error("SyntaxError: unterminated regular expression literal "+this.peek,this.code.slice(i,this.index));break}if(this.peek==u.BACK_SLASH)this.index++;else if(this.peek==u.LEFT_BRACKET)do{if(this.readch(),this.peek==u.LINE){this.error("SyntaxError: unterminated regular expression literal "+this.peek,this.code.slice(i,this.index));break t}if(this.peek==u.BACK_SLASH)this.index++;else if(this.peek==u.RIGHT_BRACKET)continue t}while(this.index<e);else if(this.peek==u.SLASH){a=!0;var s={},n={g:!0,i:!0,m:!0,u:!0,y:!0};do{if(this.readch(),!u.isLetter(this.peek))break t;if(s.hasOwnProperty(this.peek)||!n.hasOwnProperty(this.peek)){this.error("SyntaxError: invalid regular expression flag "+this.peek,this.code.slice(i,this.index));break t}s[this.peek]=!0}while(this.index<=e)}}while(this.index<e);a||this.error("SyntaxError: unterminated regular expression literal",this.code.slice(i,this.index-1));var o=new r(r.REG,this.code.slice(i,--this.index),i);return this.last&&(o.prev(this.last),this.last.next(o)),this.last=o,t.push(o),this.tokenList.push(o),this.colNum+=this.index-i,this.colMax=Math.max(this.colMax,this.colNum),this},cache:function(t){return u.isUndefined(t)||null===t||(this.cacheLine=t),this.cacheLine},finish:function(){return this.index>=this.code.length},line:function(){return this.totalLine},col:function(){return this.colMax},error:function(t,e){if(u.isUndefined(e)&&(e=this.code.substr(this.index-1,20)),o.mode()===o.STRICT)throw new Error(t+", line "+this.line()+" col "+this.colNum+"\n"+e);return o.mode()===o.LOOSE&&void 0!==typeof console&&console.warn(t+", line "+this.line()+" col "+this.colNum+"\n"+e),this}}).statics({IGNORE:0,IS_REG:1,NOT_REG:2,SPECIAL:3,STRICT:0,LOOSE:1,mode:function(t){return u.isUndefined(t)||(h=t),h}}),h=o.STRICT;a.exports=o}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(5),u=s.extend(function(t,e,i,a,u,r){"number"==typeof i&&(r=u,u=a,a=i,i=null),s.call(this,t,a,u,r),this.reg=e,this.valid=i}).methods({match:function(t,e,i){var a=this.reg.exec(e.slice(i-1));if(this.msg=null,a){if(this.result=a[0],this.valid)for(var s=0,u=Object.keys(this.valid),r=u.length;s<r;s++)if(this.valid[u[s]].test(this.result)){this.msg=u[s];break}return!0}return!1},error:function(){return this.msg}});a.exports=u}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(0),r=i(3);a.exports=s(function(t,e,i,a){this.type=t,u.isUndefined(e)&&(e=r.IGNORE),this.setPReg=e,this.result=null,e&&(u.isUndefined(i)&&(i=function(){return r.IGNORE}),u.isUndefined(a)&&(a=function(){return!1})),this.special=i,this.parenthese=a}).methods({tokenType:function(){return this.type},perlReg:function(){return this.setPReg},val:function(){return this.content()},content:function(){return this.result},match:function(t,e,i){throw new Error("match needs to be implement")},error:function(){return!1}})}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2)(function(t,e){var i=this;i.kw={},t.forEach(function(t){i.kw[t]=!0}),i.pReg=e||!1,i.matchList=[]}).methods({perlReg:function(){return this.pReg},addMatch:function(t){return this.matchList.push(t),this},matches:function(){return this.matchList},keyWords:function(){return this.kw},addKeyWord:function(t){return this.kw[t]=!0,this.kw}});a.exports=s}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(5),u=i(1),r=i(0),n=s.extend(function(t,e,i,a,u){r.isUndefined(a)&&(a=!1),s.call(this,t,u),this.begin=e,this.end=i,this.contain=a,this.msg=null}).methods({match:function(t,e,i){if(this.msg=null,this.begin==e.substr(--i,this.begin.length)){if(!this.contain&&Array.isArray(this.end)){for(var a=0,s=this.end.length;a<s;a++){if(-1!=(r=e.indexOf(this.end[a],i+this.begin.length)))return this.result=e.slice(i,r),!0}return this.result=e.slice(i),!0}var r;return-1==(r=e.indexOf(this.end,i+this.begin.length))?(this.contain&&(this.msg="SyntaxError: unterminated "+u.type(this.type).toLowerCase()),r=e.length):this.contain&&(r+=this.end.length),this.result=e.slice(i,r),!0}return!1},error:function(){return this.msg}});a.exports=n}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(5),u=(i(0),s.extend(function(t,e,i,a){s.call(this,t,i),this.result=e,this.ignoreCase=a,this.temp=null}).methods({match:function(t,e,i){return this.temp=e.substr(--i,this.result.length),this.ignoreCase?this.temp.toLowerCase()==this.result.toLowerCase():this.temp==this.result},content:function(){return this.temp}}));a.exports=u}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a=i(30)(function(t){this.original=t||!1}).methods({gen:function(t){throw new Error("#gen muse be implemented")},length:function(){return 0}});t.exports=a},function(module,exports){function wrap(t){return"("+t+")"}function trueString(){var t=["!''+[]","!''+''"];return t[Math.floor(Math.random()*t.length)]}function falseString(){var t=["![]+[]","!{}+[]","![]+''","!{}+''","!!''+[]"];return t[Math.floor(Math.random()*t.length)]}function objectString(){return"''+{}"}function undefinedString(){var t=["[][+[]]+''","''[+[]]+''"];return t[Math.floor(Math.random()*t.length)]}function nanString(){return"+{}+''"}var inNumber=Object.create(null);function getChar(c,original){switch(c){case"a":return original?wrap(falseString())+".charAt("+getNumber(1)+")":wrap(falseString())+"["+exports.CHAR_AT+"]("+getNumber(1)+")";case"b":return original?wrap(objectString())+".charAt("+getNumber(2)+")":wrap(objectString())+"["+exports.CHAR_AT+"]("+getNumber(2)+")";case"c":return original?wrap(objectString())+".charAt("+getNumber(5)+")":wrap(objectString())+"["+exports.CHAR_AT+"]("+getNumber(5)+")";case"d":return original?wrap(undefinedString())+".charAt("+getNumber(2)+")":wrap(undefinedString())+"["+exports.CHAR_AT+"]("+getNumber(2)+")";case"e":return original?wrap(undefinedString())+".charAt("+getNumber(3)+")":wrap(undefinedString())+"["+exports.CHAR_AT+"]("+getNumber(3)+")";case"f":return original?wrap(falseString())+".charAt("+getNumber(0)+")":wrap(falseString())+"["+exports.CHAR_AT+"]("+getNumber(0)+")";case"i":return original?wrap(undefinedString())+".charAt("+getNumber(5)+")":wrap(undefinedString())+"["+exports.CHAR_AT+"]("+getNumber(5)+")";case"j":return original?wrap(objectString())+".charAt("+getNumber(3)+")":wrap(objectString())+"["+exports.CHAR_AT+"]("+getNumber(3)+")";case"l":return original?wrap(falseString())+".charAt("+getNumber(2)+")":wrap(falseString())+"["+exports.CHAR_AT+"]("+getNumber(2)+")";case"n":return original?wrap(undefinedString())+".charAt("+getNumber(1)+")":wrap(undefinedString())+"["+exports.CHAR_AT+"]("+getNumber(1)+")";case"o":return original?wrap(objectString())+".charAt("+getNumber(1)+")":wrap(objectString())+"["+exports.CHAR_AT+"]("+getNumber(1)+")";case"r":return original?wrap(trueString())+".charAt("+getNumber(1)+")":wrap(trueString())+"["+exports.CHAR_AT+"]("+getNumber(1)+")";case"s":return original?wrap(falseString())+".charAt("+getNumber(3)+")":wrap(falseString())+"["+exports.CHAR_AT+"]("+getNumber(3)+")";case"t":return original?wrap(trueString())+".charAt("+getNumber(0)+")":wrap(trueString())+"["+exports.CHAR_AT+"]("+getNumber(0)+")";case"u":return original?wrap(undefinedString())+".charAt("+getNumber(0)+")":wrap(undefinedString())+"["+exports.CHAR_AT+"]("+getNumber(0)+")";case"N":return original?wrap(nanString())+".charAt("+getNumber(0)+")":wrap(nanString())+"["+exports.CHAR_AT+"]("+getNumber(0)+")";case"O":return original?wrap(objectString())+".charAt("+getNumber(8)+")":wrap(objectString())+"["+exports.CHAR_AT+"]("+getNumber(8)+")";case"1":return wrap(getNumber(1))+"+''";case"2":return wrap(getNumber(2))+"+''";case"3":return wrap(getNumber(3))+"+''";case"4":return wrap(getNumber(4))+"+''";case"5":return wrap(getNumber(5))+"+''";case"6":return wrap(getNumber(6))+"+''";case"7":return wrap(getNumber(7))+"+''";case"8":return wrap(getNumber(8))+"+''";case"9":return wrap(getNumber(9))+"+''";case"0":return wrap(getNumber(0))+"+''";default:return original?c>="A"&&c<="Z"&&inNumber[c.toLowerCase()]?wrap(getChar(c.toLowerCase(),!0))+"["+getString("to",!0)+"+'Upp'+"+getString("er",!0)+"+'C'+"+getString("ase",!0)+"]()":"'"+c.replace("'","\\'")+"'":c>="A"&&c<="Z"&&inNumber[c.toLowerCase()]?wrap(getChar(c.toLowerCase()))+"["+exports.TO_UPPER_CASE+"]()":(c.length>1&&(c=eval('"'+c+'"')),"''["+exports.FROM_CHAR_CODE+"]"+wrap(getNumber(c.charCodeAt(0))))}}function getString(t,e){if(1==(t=String(t)).length)return getChar(t,e);var i=t.split("");decode(i);var a=[];i.forEach(function(t){a.push(getChar(t,e))});for(var s=0;s<a.length;s++){for(var u=0,r=[];;){var n=a[s+u];if(u++,!(/^'.'$/.test(n)||/^'\\u[a-fA-F\d]{4}'$/.test(n)||/^'\\x[a-fA-F\d]{2}'$/.test(n)||/^'\\[^']'$/.test(n)))break;r.push(n)}r.length>1&&(a.splice(s,r.length,r.join("").replace(/''/g,"")),s+=u)}return wrap(a.join("+"))}function getPostiveNumber(t){var e;if(0==t)return(e=["-[]","-''","+[]","+''"])[Math.floor(Math.random()*e.length)];if(1==t)return(e=["-~[]","-~''"])[Math.floor(Math.random()*e.length)];if(2==t)return(e=["-~-~[]","-~-~''"])[Math.floor(Math.random()*e.length)];if(3==t)return getPostiveNumber(2)+getPostiveNumber(1);for(var i=2,a=0;;){if(!(i<t))return i==t?wrap(getPostiveNumber(2)+"<<"+getPostiveNumber(a)):wrap(getPostiveNumber(2)+"<<"+getPostiveNumber(a-1))+"+"+getPostiveNumber(t-(i>>1));i<<=1,a++}}function getNumber(t){return t<0?"-"+wrap(getNumber(-t)):wrap(getPostiveNumber(t))}function getAnbuChar(c){var i="abcdefghijklmnopqrstuvwxyz_$1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(c);return-1==i?(c.length>1&&(c=eval('"'+c+'"')),"''["+exports.FROM_CHAR_CODE+"]"+wrap(getNumber(c.charCodeAt(0)))):"''["+exports.CACHE+"]["+getNumber(i)+"]"}function getAnbuString(t,e){if(t=String(t),e)return getString(t,!0);if(1==t.length)return getAnbuChar(t);var i=t.split("");decode(i);var a=[];return i.forEach(function(t){a.push(getAnbuChar(t))}),wrap(a.join("+"))}function decode(t){for(var e=0;e<t.length;e++){var i=t[e];"\\"==i&&(i=t[e+1],t[e]+="u"==i?t.splice(e+1,5).join(""):"x"==i?t.splice(e+1,3).join(""):t.splice(e+1,1).join(""))}return t}"abcdefijlnorstu0123456789".split("").forEach(function(t){inNumber[t]=!0}),exports.getNumber=getNumber,exports.getString=getString,exports.getAnbuString=getAnbuString,exports.STRING=getString("00",!0),exports.STRING_PROTOTYE=getString("01",!0),exports.CHAR_AT=getString("02",!0),exports.TO_UPPER_CASE=getString("03",!0),exports.FROM_CHAR_CODE=getString("04",!0),exports.CACHE=getString("05",!0);var PRE_CODE="''["+getString("constructor",!0)+"]["+getString("prototype",!0)+"]["+exports.STRING+"]=String;''["+exports.STRING+"]["+getString("prototype",!0)+"]["+exports.STRING_PROTOTYE+"]=String["+getString("prototype",!0)+"];''["+exports.STRING_PROTOTYE+"]["+exports.CHAR_AT+"]=''["+getString("charAt",!0)+"];''["+exports.STRING_PROTOTYE+"]["+exports.TO_UPPER_CASE+"]=''["+getString("toUpperCase",!0)+"];''["+exports.STRING_PROTOTYE+"]["+exports.FROM_CHAR_CODE+"]=String["+getString("fromCharCode",!0)+"];\n",PRE_CODE2="''["+exports.STRING_PROTOTYE+"]["+exports.CACHE+"]=[";arr=[],"abcdefghijklmnopqrstuvwxyz_$1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").forEach(function(t){arr.push(getChar(t))}),PRE_CODE2+=arr.join(", ")+"];\n",exports.PRE_CODE=PRE_CODE+PRE_CODE2},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(1),u=s.extend(function(t,e,i,a){s.call(this,t,e,i,a)}).statics({HEAD:12,PROPERTY:15,VARS:16,HACK:17,IMPORTANT:18,PSEUDO:19,UNITS:20,SELECTOR:21,ATTR:22,COLOR:23});a.exports=u}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(1),u=s.extend(function(t,e,i,a){s.call(this,t,e,i,a)}).statics({HEAD:12,PROPERTY:15,DATA:24,TEXT:25,MARK:26});a.exports=u}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(5),u=i(1),r=i(0),n=s.extend(function(t,e,i,a,u){r.isUndefined(a)&&(a=!1),s.call(this,t,u),this.begin=e,this.end=i,this.msg=null,this.mutiline=a}).methods({match:function(t,e,i){if(this.msg=null,this.begin==e.charAt(i-1)){for(var a=e.length,s=i-1,n=!1;i<a;){if((t=e.charAt(i++))==r.BACK_SLASH)e.charAt(i++)==r.ENTER&&i++;else{if(t==r.LINE&&!this.mutiline)break;if(t==this.end){n=!0;break}}}return n||(this.msg="SyntaxError: unterminated "+u.type(this.type).toLowerCase()+" literal"),this.result=e.slice(s,i),!0}return!1},error:function(){return this.msg},val:function(){return this.content().slice(this.begin.length,-this.end.length)}});a.exports=n}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(16),r=s(function(t){return this.lexer=t,this.tree={},this.ignores={},this}).methods({parse:function(t){return this.tree},ast:function(t){return t?u.plainObject(this.tree):this.tree},ignore:function(){return this.ignores}});a.exports=r}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(0),r=0,n=s(function(t,e){return this.type=t,t==n.TOKEN?this.children=e:Array.isArray(e)?this.children=e:this.children=e?[e]:[],this.p=null,this.pr=null,this.ne=null,this.id=r++,this}).methods({nid:function(){return this.id},name:function(t){return u.isUndefined(t)||(this.type=t),this.type},leaves:function(){return this.children},leaf:function(t){return this.children[t]},size:function(){return this.children.length},first:function(){return this.leaf(0)},last:function(){return this.leaf(this.size()-1)},isEmpty:function(){return 0===this.size()},add:function(){var t=this,e=Array.prototype.slice.call(arguments,0);return e.forEach(function(e){if(Array.isArray(e))e.forEach(function(e){e.parent(t);var i=t.children[t.children.length-1];i&&(i.next(e),e.prev(i)),t.children.push(e)});else{e.parent(t);var i=t.children[t.children.length-1];i&&(i.next(e),e.prev(i)),t.children.push(e)}}),t},addFirst:function(){var t=this,e=Array.prototype.slice.call(arguments,0);return e.forEach(function(e){if(Array.isArray(e))e.forEach(function(e){e.parent(t);var i=t.children[0];i&&(i.next(e),e.prev(i)),t.children.unshift(e)});else{e.parent(t);var i=t.children[0];i&&(i.next(e),e.prev(i)),t.children.unshift(e)}}),t},token:function(){return this.children},parent:function(t){return t&&(this.p=t),this.p},prev:function(t){return t&&(this.pr=t),this.pr},next:function(t){return t&&(this.ne=t),this.ne},isToken:function(){return this.type==n.TOKEN},toString:function(){return this.name()}}).statics({TOKEN:"token"});a.exports=n}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,i){var a;e.simple=function(t,i,a){e.simpleIgnore(t,{},i,a)},e.simpleIgnore=function(t,e,i,s){for(a=0;e[a];)e[a++];(function t(e,i,s,u){if(e.isToken()){var r=e.token();if(!r.isVirtual()){for(var n=[];i[++a];)n.push(i[a]);u.hasOwnProperty(r.type())&&u[r.type()](r,n)}}else s.hasOwnProperty(e.name())&&s[e.name()](e),e.leaves().forEach(function(e){t(e,i,s,u)})})(t,e,i=i||{},s=s||{})},e.recursion=function(t,e){!function t(e,i){if(e.isToken()){var a=e.token();a.isVirtual()||i(a,!0)}else i(e),e.leaves().forEach(function(e){t(e,i)})}(t,e)},e.plainObject=function(t){if(Array.isArray(t)){var e=[];return t.forEach(function(t){e.push(t.content())}),e}return function t(e,i){if(e.isToken()){var a=e.token();a.isVirtual()||i.push(a.content())}else{i.push(e.name().toUpperCase());var s=[];i.push(s),e.leaves().forEach(function(e){t(e,s)})}return i}(t,[])}}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(6),u=i(7),r=i(13),n=i(8),o=i(4),h=i(21),c=i(1),d=i(3),l=i(0),f=!1,m=s.extend(function(){var t=this;s.call(t,m.KEYWORDS,!0),t.addMatch(new n(c.BLANK,l.BLANK)),t.addMatch(new n(c.TAB,l.TAB)),t.addMatch(new n(c.LINE,l.ENTER+l.LINE)),t.addMatch(new n(c.LINE,l.ENTER)),t.addMatch(new n(c.LINE,l.LINE)),t.addMatch(new u(c.COMMENT,"//",[l.ENTER+l.LINE,l.ENTER,l.LINE])),t.addMatch(new u(c.COMMENT,"\x3c!--",[l.ENTER+l.LINE,l.ENTER,l.LINE]));var e=new u(c.COMMENT,"--\x3e",[l.ENTER+l.LINE,l.ENTER,l.LINE]);e.callback=function(t,e){for(var i=e.length-1;i>=0;i--){var a=e[i];if([c.LINE,c.ENTER].indexOf(a.type())>-1)return;if(-1==[c.COMMENT,c.BLANK,c.TAB].indexOf(a.type()))return void(this.cancel=!0)}},t.addMatch(e),t.addMatch(new u(c.COMMENT,"/*","*/",!0)),t.addMatch(new r(c.STRING,'"','"',!1,d.IS_REG)),t.addMatch(new r(c.STRING,"'","'",!1,d.IS_REG)),t.addMatch(new r(c.TEMPLATE,"`","`",!0,d.IS_REG));var i=new o(c.ID,/^[$a-zA-Z_\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0-\u08b2\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c59\u0c60-\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5-\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64-\uab65\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7][$\w\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8-\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c-\u200d\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64-\uab65\uabc0-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7]*/,d.SPECIAL,function(){return!!t.keyWords().hasOwnProperty(this.content())},function(){return-1!=["if","for","while"].indexOf(this.content())});i.callback=function(t){t.content();f&&t.type(c.ID),f=!1},t.addMatch(i),t.addMatch(new o(c.NUMBER,/^\.\d+(?:E[+-]?\d*)?/i,{"SyntaxError: missing exponent":/E[+-]?$/i},d.NOT_REG)),t.addMatch(new n(c.SIGN,"]",d.NOT_REG)),["*=","/=","+=","-=","%=","^=","&=","|=","&&","--","++","===","==","!==","!=","||",">>>=","<<<=","<<<",">>>",">>=","<<=","<<",">>",">=","<=","...","?:","=>"].forEach(function(e){t.addMatch(new n(c.SIGN,e,d.IS_REG))});var a=new h(c.SIGN,":;/?.,[]{}~!^|%=-+*()~><&\\",d.IS_REG);a.callback=function(t){var e=t.content();f="."==e},t.addMatch(a),t.addMatch(new o(c.NUMBER,/^0x[\da-f]*/i,{"SyntaxError: missing hexadecimal digits after '0x'":/^0x$/i},d.NOT_REG)),t.addMatch(new o(c.NUMBER,/^0b[01]*/i,{"SyntaxError: missing binary digits after '0b'":/^0b$/i},d.NOT_REG)),t.addMatch(new o(c.NUMBER,/^0o[01234567]*/i,{"SyntaxError: missing octal digits after '0b'":/^0o$/i},d.NOT_REG)),t.addMatch(new o(c.NUMBER,/^\d+\.?\d*(?:E[+-]?\d*)?/i,{"SyntaxError: missing exponent":/E[+-]?$/i},d.NOT_REG)),t.addMatch(new h(c.LINE,"\u2028\u2029")),t.addMatch(new h(c.BLANK,"\f\v \ufeff "))}).statics({KEYWORDS:"break case catch class const continue debugger default delete do else enum export extends false finally for function if implements import in instanceof interface let new null package private protected public return static super switch this throw true try typeof var void while with yield".split(" ")});a.exports=m}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s,u=i(15),r=u.extend(function(t,e){return u.call(this,t,e),this}).statics({PROGRAM:"program",ELEM:"elem",VARSTMT:"varstmt",VARDECL:"vardecl",FNBODY:"fnbody",BLOCK:"block",ITERSTMT:"iterstmt",FNPARAMS:"fnparams",EXPR:"expr",PROGRAM:"program",STMT:"stmt",ASSIGN:"assign",EMPTSTMT:"emptstmt",IFSTMT:"ifstmt",CNTNSTMT:"cntnstmt",BRKSTMT:"brkstmt",RETSTMT:"retstmt",WITHSTMT:"withstmt",SWCHSTMT:"swchstmt",CASEBLOCK:"caseblock",CASECLAUSE:"caseclause",DFTCLAUSE:"dftclause",LABSTMT:"labstmt",THRSTMT:"thrstmt",TRYSTMT:"trystmt",DEBSTMT:"debstmt",EXPRSTMT:"exprstmt",CACH:"cach",FINL:"finl",FNDECL:"fndecl",FNEXPR:"fnexpr",ASSIGNEXPR:"assignexpr",CNDTEXPR:"cndtexpr",LOGOREXPR:"logorexpr",LOGANDEXPR:"logandexpr",BITOREXPR:"bitorexpr",BITANDEXPR:"bitandexpr",BITXOREXPR:"bitxorexpr",EQEXPR:"eqexpr",RELTEXPR:"reltexpr",SHIFTEXPR:"shiftexpr",ADDEXPR:"addexpr",MTPLEXPR:"mtplexpr",UNARYEXPR:"unaryexpr",MMBEXPR:"mmbexpr",PRMREXPR:"prmrexpr",ARRLTR:"arrltr",OBJLTR:"objltr",PROPTASSIGN:"proptassign",ARGS:"args",ARGLIST:"arglist",POSTFIXEXPR:"postfixexpr",NEWEXPR:"newexpr",CALLEXPR:"callexpr",getKey:function(t){if(!t)throw new Error("empty value");if(!s){var e=this;s={},Object.keys(this).forEach(function(t){var i=e[t];s[i]=t})}return s[t]}});a.exports=r}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){a.exports=i(32)}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(0),r=i(12),n=s(function(t){this.rule=t,this.init()}).methods({init:function(){this.code="",this.peek="",this.index=0,this.index2=0,this.tokenList=[],this.cacheLine=0,this.totalLine=1,this.colNum=0,this.colMax=0,this.state=!1,this.style=!1,this.script=!1,this.last=null},parse:function(t){this.code=t||"";var e=[];return this.scan(e),e},parseOn:function(){var t=[];return this.scan(t),t},tokens:function(){return this.tokenList},scan:function(t){var e=this.code.length,i=0;t:for(;this.index<e&&!(this.cacheLine>0&&i>=this.cacheLine);)if(this.state){if(this.readch(),"/"==this.peek){if(">"==this.code.charAt(this.index)){this.state=!1;var a=new r(r.MARK,this.peek+">",this.peek+">");t.push(a),this.tokenList.push(a),this.index2=++this.index;continue}this.error()}else if(">"==this.peek){this.state=!1;a=new r(r.MARK,this.peek,this.peek);t.push(a),this.tokenList.push(a),this.index2=this.index;continue}for(var s=0,n=this.rule.matches(),o=n.length;s<o;s++){var h=n[s];if(h.match(this.peek,this.code,this.index)){a=new r(h.tokenType(),h.content(),h.val(),this.index-1);var c=h.error(),d=h.content().length;c&&this.error(c,this.code.slice(this.index-d,this.index)),a.type()==r.ID&&this.rule.keyWords().hasOwnProperty(a.content())&&a.type(r.KEYWORD),this.last&&(a.prev(this.last),this.last.next(a)),this.last=a,h.callback&&h.callback(a),t.push(a),this.tokenList.push(a),this.index2=this.index+=d-1;var l=u.count(a.val(),u.LINE);if(i+=l,this.totalLine+=l,l){var f=h.content().indexOf(u.LINE),m=h.content().lastIndexOf(u.LINE);this.colMax=Math.max(this.colMax,this.colNum+f),this.colNum=h.content().length-m}else this.colNum+=d;this.colMax=Math.max(this.colMax,this.colNum);continue t}}this.error("unknow token")}else if(this.style||this.script)this.dealStSc(this.style?"style":"script",t),this.style=this.script=!1;else{var p=this.code.indexOf("<",this.index);if(-1==p)return(p=e)>this.index2&&this.addText(this.code.slice(this.index2,p),t),this;var b=this.code.slice(p,p+4).toLowerCase(),k=this.code.charAt(p),g=this.code.charAt(p+1);if("\x3c!--"==b){var x=this.code.indexOf("--\x3e",this.index+4);-1==x?x=e:x+=3,p>this.index2&&this.addText(this.code.slice(this.index2,p),t),b=this.code.slice(p,x);a=new r(r.COMMENT,b,b);this.last=a,t.push(a),this.tokenList.push(a),this.index2=this.index=x}else if("<"==k)if("/"==g){p>this.index2&&this.addText(this.code.slice(this.index2,p),t),this.state=!0,b=k+g;a=new r(r.MARK,b,b);this.last=a,t.push(a),this.tokenList.push(a),this.index2=this.index=p+2}else if(u.isLetter(g)||"!"==g){p>this.index2&&this.addText(this.code.slice(this.index2,p),t),b=this.code.slice(p+1,p+7).toLowerCase(),/^style\b/i.test(b)?this.style=!0:/^script\b/i.test(b)&&(this.script=!0),this.state=!0;a=new r(r.MARK,k,k);this.last=a,t.push(a),this.tokenList.push(a),this.index2=this.index=p+1}}return this},dealStSc:function(t,e){for(var i=new RegExp("^/"+t+"\\b"),a=this.index;a<this.code.length;a++)if("<"==this.code.charAt(a)&&i.test(this.code.slice(a+1,a+8))){t=this.code.slice(this.index,a);return this.index=this.index2=a,void this.addText(t,e)}t=this.code.slice(this.index);this.index=this.index2=this.code.length,this.addText(t,e)},addText:function(t,e){var i=new r(r.TEXT,t,t);this.last=i,e.push(i),this.tokenList.push(i)},readch:function(){this.peek=this.code.charAt(this.index++)},cache:function(t){return u.isUndefined(t)||null===t||(this.cacheLine=t),this.cacheLine},finish:function(){return this.index>=this.code.length},line:function(){return this.totalLine},col:function(){return this.colMax},error:function(t,e){if(u.isUndefined(e)&&(e=this.code.substr(this.index-1,20)),n.mode()===n.STRICT)throw new Error(t+", line "+this.line()+" col "+this.colNum+"\n"+e);return n.mode()===n.LOOSE&&void 0!==typeof console&&console.warn(t+", line "+this.line()+" col "+this.colNum+"\n"+e),this}}).statics({STRICT:0,LOOSE:1,mode:function(t){return u.isUndefined(t)||(o=t),o}}),o=n.STRICT;a.exports=n}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(5),u=(i(0),s.extend(function(t,e,i){s.call(this,t,i),this.str=e}).methods({match:function(t,e,i){var a=this.str.indexOf(t)>-1;return a&&(this.result=t),a}}));a.exports=u}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(6),u=i(7),r=i(13),n=i(8),o=i(21),h=i(4),c=i(11),d=i(0),l=s.extend(function(){var t=this;s.call(t,l.KEYWORDS),t.vl={},l.VALUES.forEach(function(e){t.vl[e]=!0}),t.cl={},l.COLORS.forEach(function(e){t.cl[e]=!0}),t.addMatch(new n(c.BLANK,d.BLANK)),t.addMatch(new n(c.TAB,d.TAB)),t.addMatch(new n(c.LINE,d.ENTER+d.LINE)),t.addMatch(new n(c.LINE,d.ENTER)),t.addMatch(new n(c.LINE,d.LINE)),t.addMatch(new u(c.COMMENT,"//",[d.ENTER+d.LINE,d.ENTER,d.LINE])),t.addMatch(new u(c.COMMENT,"/*","*/",!0)),t.addMatch(new r(c.STRING,'"','"',!1)),t.addMatch(new r(c.STRING,"'","'",!1)),t.addMatch(new h(c.NUMBER,/^[+-]?\d+\.?\d*/i)),t.addMatch(new h(c.NUMBER,/^[+-]?\.\d+/i)),t.addMatch(new n(c.UNITS,"%",null,!0)),t.addMatch(new n(c.HACK,"\\9\\0")),t.addMatch(new n(c.HACK,"\\0/")),t.addMatch(new n(c.HACK,"\\0")),t.addMatch(new n(c.HACK,"\\9")),t.addMatch(new n(c.HACK,"\\,")),t.addMatch(new n(c.HACK,"-vx-"),null,!0),t.addMatch(new n(c.HACK,"-hp-"),null,!0),t.addMatch(new n(c.HACK,"-khtml-"),null,!0),t.addMatch(new n(c.HACK,"mso-"),null,!0),t.addMatch(new n(c.HACK,"-prince-"),null,!0),t.addMatch(new n(c.HACK,"-rim-"),null,!0),t.addMatch(new n(c.HACK,"-ro-"),null,!0),t.addMatch(new n(c.HACK,"-tc-"),null,!0),t.addMatch(new n(c.HACK,"-wap-"),null,!0),t.addMatch(new n(c.HACK,"-apple-"),null,!0),t.addMatch(new n(c.HACK,"-atsc-"),null,!0),t.addMatch(new n(c.HACK,"-ah-"),null,!0),t.addMatch(new n(c.HACK,"-moz-"),null,!0),t.addMatch(new n(c.HACK,"-webkit-"),null,!0),t.addMatch(new n(c.HACK,"-ms-"),null,!0),t.addMatch(new n(c.HACK,"-o-"),null,!0),t.addMatch(new h(c.COLOR,/^#[\da-f]{3,6}/i)),t.addMatch(new h(c.SELECTOR,/^\.[a-z_][\w_\-]*/i)),t.addMatch(new h(c.SELECTOR,/^#\w[\w\-]*/i)),t.addMatch(new n(c.SELECTOR,"&")),t.addMatch(new h(c.VARS,/^var-[\w\-]+/i)),t.addMatch(new h(c.VARS,/^--[\w\-]+/i)),t.addMatch(new n(c.KEYWORD,"min--moz-device-pixel-ratio")),t.addMatch(new n(c.KEYWORD,"max--moz-device-pixel-ratio")),t.addMatch(new h(c.ID,/^[a-z][\w\-\.]*/i)),t.addMatch(new h(c.STRING,/^(\\[a-z\d]{4})+/i)),t.addMatch(new n(c.IMPORTANT,"!important",null,!0)),t.addMatch(new h(c.HACK,/^![a-z]+/i)),t.addMatch(new h(c.PSEUDO,/^::?(?:-(?:moz|webkit|ms|o)-)?[a-z]+(?:-[a-z]+)*(?:\(:?[\[\]+*\w\-]+\))?/i)),["$=","|=","*=","~=","^="].forEach(function(e){t.addMatch(new n(c.SIGN,e))});var e=new h(c.HEAD,/^@[\w-]+/);e.callback=function(t){var e=t.content().toLowerCase();e=e.replace(/^@(-moz-|-o-|-ms-|-webkit-|-vx-|-hp-|-khtml-|mso-|-prince-|-rim-|-ro-|-tc-|-wap-|-apple-|-atsc-|-ah-)/,"@"),{"@page":!0,"@import":!0,"@charset":!0,"@media":!0,"@font-face":!0,"@keyframes":!0,"@namespace":!0,"@document":!0,"@counter-style":!0,"@viewport":!0,"@supports":!0,"@region":!0,"@navigation":!0,"@footnote":!0,"@layout":!0,"@top":!0,"@top-left":!0,"@top-center":!0,"@top-right":!0,"@extend":!0,"@if":!0,"@elseif":!0,"@else":!0,"@for":!0}.hasOwnProperty(e)||t.type(c.VARS)},t.addMatch(e),t.addMatch(new h(c.VARS,/^@\{[\w\-\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8-\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c-\u200d\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64-\uab65\uabc0-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7]+\}/)),t.addMatch(new h(c.VARS,/^\$[\w\-\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8-\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c-\u200d\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64-\uab65\uabc0-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7]+/)),t.addMatch(new h(c.VARS,/^\$\{[\w\-\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05f0-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u0800-\u082d\u0840-\u085b\u08a0-\u08b2\u08e4-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c03\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c59\u0c60-\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d01-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d57\u0d60-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1877\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19d9\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1cd0-\u1cd2\u1cd4-\u1cf6\u1cf8-\u1cf9\u1d00-\u1df5\u1dfc-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u200c-\u200d\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u2e2f\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua69d\ua69f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua7ad\ua7b0-\ua7b1\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c4\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua900-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab5f\uab64-\uab65\uabc0-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe00-\ufe0f\ufe20-\ufe2d\ufe33-\ufe34\ufe4d-\ufe4f\ufe70-\ufe74\ufe76-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7]+\}/)),t.addMatch(new o(c.SIGN,"{},:();-{}><+/[]=*~")),t.addMatch(new o(c.HACK,"_`?|%"))}).methods({values:function(){return this.vl},colors:function(){return this.cl},addValue:function(t){return this.vl[t]=!0,this.vl},addColor:function(t){return this.cl[t]=!0,this.cl}}).statics({KEYWORDS:"handler-blocked transform-3d -replace -set-link-source -use-link-source accelerator additive-symbols align-content align-items align-self alignment-adjust alignment-baseline anchor-point animation animation-delay animation-duration animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function app-region appearance ascent aspect-ratio autohiding-scrollbar azimuth backface-visibility background background-attachment background-clip background-color background-image background-origin background-origin-x background-origin-y background-position background-position-x background-position-y background-repeat background-size baseline baseline-shift behavior binding blend-mode block-progression bookmark-label bookmark-level bookmark-state bookmark-target border border-after border-after-color border-after-style border-after-width border-before border-before-color border-before-style border-before-width border-bottom border-bottom-color border-bottom-colors border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-clip-bottom border-clip-left border-clip-right border-clip-top border-collapse border-color border-fit border-horizontal-spacing border-image border-image-outset border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-colors border-left-style border-left-width border-radius border-radius-bottomleft border-radius-bottomright border-radius-topleft border-radius-topright border-right border-right-color border-right-colors border-right-style border-right-width border-spacing border-start border-start-color border-start-style border-start-width border-style border-top border-top-color border-top-colors border-top-left-radius border-top-right-radius border-top-style border-top-width border-vertical-spacing border-width bottom bottom-left-radius bottom-right-radius box box-align box-decoration-break box-direction box-flex box-flex-group box-lines box-ordinal-group box-orient box-pack box-reflect box-shadow box-sizing box-snap break-after break-before break-inside cap-height caption-side centerline chains clear clip clip-path clip-rule color color-correction color-index color-profile column-axis column-break-after column-break-before column-break-inside column-count column-fill column-gap column-progression column-rule column-rule-color column-rule-style column-rule-width column-span column-width columns content content-zoom-chaining content-zoom-limit content-zoom-limit-max content-zoom-limit-min content-zoom-snap content-zoom-snap-points content-zoom-snap-type content-zooming counter-increment counter-reset cue cue-after cue-before cursor dashboard-region definition-src descent device-aspect-ratio device-height device-pixel-ratio device-width direction display display-box display-extras display-inside display-outside dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align drop-initial-size drop-initial-value elevation empty-cells fallback fill fill-opacity fill-rule filter fit fit-position flavor flex flex-basis flex-direction flex-flow flex-grow flex-pack flex-shrink flex-wrap float float-edge float-offset flood-color flood-opacity flow-from flow-into focus-ring-color font font-color font-emphasize font-emphasize-position font-emphasize-style font-family font-feature-settings font-kerning font-language-override font-size font-size-adjust font-size-delta font-smooth font-smoothing font-stretch font-style font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position font-weight footnote force-broken-image-icon glyph-orientation-horizontal glyph-orientation-vertical grid grid-area grid-auto-columns grid-auto-flow grid-auto-rows grid-column grid-column-align grid-column-position grid-column-span grid-columns grid-definition-columns grid-definition-rows grid-position grid-row grid-row-align grid-row-position grid-row-span grid-rows grid-span grid-template hanging-punctuation height high-contrast high-contrast-adjust highlight horiz-align hyphenate-character hyphenate-limit-after hyphenate-limit-before hyphenate-limit-chars hyphenate-limit-last hyphenate-limit-lines hyphenate-limit-zone hyphenate-resource hyphens icon image-orientation image-rendering image-resolution images-in-menus ime-mode include-source inherit initial inline-box-align inline-flex inline-table input-format input-required interpolation-mode interpret-as justify-content justify-items justify-self kerning languages layer-background-color layer-background-image layout-flow layout-grid layout-grid-char layout-grid-char-spacing layout-grid-line layout-grid-mode layout-grid-type left letter-spacing lighting-color line-align line-box-contain line-break line-clamp line-grid line-height line-slack line-snap line-stacking line-stacking-ruby line-stacking-shift line-stacking-strategy linear-gradient link link-source list-image-1 list-image-2 list-image-3 list-style list-style-image list-style-position list-style-type locale logical-height logical-width mac-graphite-theme maemo-classic margin margin-after margin-after-collapse margin-before margin-before-collapse margin-bottom margin-bottom-collapse margin-collapse margin-end margin-left margin-right margin-start margin-top margin-top-collapse marker marker-end marker-mid marker-offset marker-start marks marquee marquee-dir marquee-direction marquee-increment marquee-loop marquee-play-count marquee-repetition marquee-speed marquee-style mask mask-attachment mask-box-image mask-box-image-outset mask-box-image-repeat mask-box-image-slice mask-box-image-source mask-box-image-width mask-clip mask-composite mask-image mask-origin mask-position mask-position-x mask-position-y mask-repeat mask-repeat-x mask-repeat-y mask-size mask-type match-nearest-mail-blockquote-color mathline max-aspect-ratio max-color max-color-index max-device-aspect-ratio max-device-height max-device-pixel-ratio max-device-width max-height max-logical-height max-logical-width max-monochrome max-resolution max-width max-zoom min-aspect-ratio min-color min-color-index min-device-aspect-ratio min-device-height min-device-pixel-ratio min-device-width min-height min-logical-height min-logical-width min-monochrome min-resolution min-width min-zoom mini-fold monochrome move-to nav-banner-image nav-bottom nav-down nav-down-shift nav-index nav-left nav-left-shift nav-right nav-right-shift nav-up nav-up-shift navbutton-* nbsp-mode negative none normal object-fit object-position oeb-column-number oeb-page-foot oeb-page-head opacity order orient orientation orphans osx-font-smoothing outline outline-color outline-offset outline-radius outline-radius-bottomleft outline-radius-bottomright outline-radius-topleft outline-radius-topright outline-style outline-width overflow overflow-scrolling overflow-style overflow-x overflow-y pad padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before page-break-inside page-policy panose-1 pause pause-after pause-before perspective perspective-origin perspective-origin-x perspective-origin-y phonemes pitch pitch-range play-during pointer-events position prefix presentation-level print-color-adjust progress-appearance property-name punctuation-trim punctuation-wrap quotes radial-gradient range region-break-after region-break-before region-break-inside region-overflow rendering-intent replace resize resolution rest rest-after rest-before richness right rotation-point row-span rtl-ordering ruby-align ruby-overhang ruby-position ruby-span scan script-level script-min-size script-size-multiplier scroll-chaining scroll-limit scroll-limit-x-max scroll-limit-x-min scroll-limit-y-max scroll-limit-y-min scroll-rails scroll-snap-points-x scroll-snap-points-y scroll-snap-type scroll-snap-x scroll-snap-y scroll-translation scrollbar-3d-light-color scrollbar-3dlight-color scrollbar-arrow-color scrollbar-base-color scrollbar-dark-shadow-color scrollbar-darkshadow-color scrollbar-end-backward scrollbar-end-forward scrollbar-face-color scrollbar-highlight-color scrollbar-shadow-color scrollbar-start-backward scrollbar-start-forward scrollbar-thumb-proportional scrollbar-track-color separator-image set-link-source shape-image-threshold shape-inside shape-margin shape-outside shape-padding shape-rendering size slope speak speak-as speak-header speak-numeral speak-punctuation speech-rate src stack-sizing stemh stemv stop-color stop-opacity stress string-set stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width suffix svg-shadow symbols system tab-size tab-stops table-baseline table-border-color-dark table-border-color-light table-layout tap-highlight-color target target-name target-new target-position text-align text-align-last text-anchor text-autospace text-blink text-combine text-combine-horizontal text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-decorations-in-effect text-effect text-emphasis text-emphasis-color text-emphasis-position text-emphasis-skip text-emphasis-style text-fill-color text-fit text-height text-indent text-justify text-justify-trim text-kashida text-kashida-space text-line-through text-orientation text-outline text-overflow text-rendering text-security text-shadow text-size-adjust text-space-collapse text-spacing text-stroke text-stroke-color text-stroke-width text-transform text-trim text-underline text-underline-color text-underline-position text-underline-style text-wrap top top-bar-button top-left-radius top-right-radius touch-action touch-callout touch-enabled transform transform-origin transform-origin-x transform-origin-y transform-origin-z transform-style transition transition-delay transition-duration transition-property transition-repeat-count transition-timing-function unicode-bidi unicode-range units-per-em use-link-source user-drag user-focus user-input user-modify user-select user-zoom vector-effect version vertical-align viewport visibility voice-balance voice-duration voice-family voice-pitch voice-pitch-range voice-range voice-rate voice-stress voice-volume volume white-space widows width widths window-shadow windows-classic windows-compositor windows-default-theme word-break word-spacing word-wrap wrap wrap-flow wrap-margin wrap-padding wrap-through writing-mode x-height z-index zoom".split(" "),VALUES:"domain regexp farthest-corner closest-side closest-corner farthest-side above absolute additive all alpha alphabetic always and antialiased aqua armenian attr aural auto avoid background baseline behind below bicubic bidi-override black blink block blue bold bolder border-box both bottom braille break-all break-word calc canvas capitalize caption center center-left center-right circle cjk-decimal cjk-ideographic close-quote code collapse color compact condensed contain content-box continuous counter counters cover crop cross cross-fade crosshair cubic-bezier cursive cycle cyclic dashed decimal decimal-leading-zero default device-cmyk digits disabled disc disclosure-closed disclosure-open dotted double e-resize ease ease-in ease-in-out ease-out element embed embossed enabled expanded extra-condensed extra-expanded false fantasy far-left far-right fast faster fixed flipouttobottom flipouttoleft flipouttoright flipouttotop format fuchsia georgian gray grayscale green groove handheld hebrew help hidden hide high higher hiragana hiragana-iroha hsl hsla icon image image-rect image-region infinite inherit inline inline-table inset inside inter-ideograph invert italic japanese-formal japanese-informal justify katakana katakana-iroha korean-hangul-formal korean-hanja-formal korean-hanja-informal landscape large larger leader left-side leftwards level lighter lime line-through linear linear-gradient list-item local loud low lower lower-alpha lower-greek lower-latin lower-roman lowercase ltr marker maroon medium message-box middle min max mix move n-resize narrower navy ne-resize no-close-quote no-open-quote no-repeat none normal not nowrap numeric nw-resize oblique olive once only opacity open-quote outset outside overline padding-box pending perspective pointer portrait pre print projection purple rebeccapurple rect red relative repeat repeat-x repeat-y repeating-linear-gradient repeating-radial-gradient rgb rgba ridge right right-side rightwards rotate rotate3d rotateX rotateY rotateZ round rounddown roundup rtl run-in running s-resize scale scale3D scaleX scaleY scaleZ screen scroll se-resize semi-condensed semi-expanded separate show silent silver simp-chinese-formal simp-chinese-informal skew skew3D skewX skewY skewZ slow slower small small-caps small-caption smaller soft solid space speech spell-out square static status-bar steps string sub super sw-resize symbolic symbols table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group target-counter target-counters target-pull target-text teal text text-bottom text-top thick thin toggle top trad-chinese-formal trad-chinese-informal translate translate3d translateX translateY translateZ true tty tv ultra-condensed ultra-expanded underline upper-alpha upper-latin upper-roman uppercase url url-prefix var visible w-resize wait white wider width x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow".split(" "),COLORS:"transparent activeborder aliceblue antiquewhite appworkspace aqua aqua aquamarine azure beige bisque black black blanchedalmond blue blue blueviolet brown burlywood buttonface buttonshadow cadetblue captiontext chartreuse chocolate coral cornflowerblue cornsilk crimson cyan darkblue darkcyan darkgoldenrod darkgray darkgreen darkgrey darkkhaki darkmagenta darkolivegreen darkorange darkorchid darkred darksalmon darkseagreen darkslateblue darkslategray darkslategrey darkturquoise darkviolet deeppink deepskyblue dimgray dimgrey dodgerblue firebrick floralwhite forestgreen fuchsia fuchsia gainsboro ghostwhite gold goldenrod gray gray green green greenyellow grey highlight honeydew hotpink inactiveborder inactivecaptiontext indianred indigo infotext ivory khaki lavender lavenderblush lawngreen lemonchiffon lightblue lightcoral lightcyan lightgoldenrodyellow lightgray lightgreen lightgrey lightpink lightsalmon lightseagreen lightskyblue lightslategray lightslategrey lightsteelblue lightyellow lime lime limegreen linen magenta maroon maroon mediumaquamarine mediumblue mediumorchid mediumpurple mediumseagreen mediumslateblue mediumspringgreen mediumturquoise mediumvioletred menutext midnightblue mintcream mistyrose moccasin navajowhite navy navy oldlace olive olive olivedrab orange orangered orchid palegoldenrod palegreen paleturquoise palevioletred papayawhip peachpuff peru pink plum powderblue purple purple red red rosybrown royalblue saddlebrown salmon sandybrown seagreen seashell sienna silver silver skyblue slateblue slategray slategrey snow springgreen steelblue tan teal teal thistle threeddarkshadow threedhighlight threedshadow tomato turquoise violet wheat white white whitesmoke windowframe yellow yellow yellowgreen".split(" "),addKeyWord:function(t){Array.isArray(t)?l.KEYWORDS=l.KEYWORDS.concat(t):l.KEYWORDS.push(t.trim())},addValue:function(t){Array.isArray(t)?l.VALUES=l.VALUES.concat(t):l.VALUES.push(t.trim())},addColor:function(t){Array.isArray(t)?l.COLORS=l.COLORS.concat(t):l.COLORS.push(t.trim())}});a.exports=l}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(6),u=i(7),r=i(8),n=i(4),o=i(0),h=i(12),c=s.extend(function(){s.call(this,c.KEYWORDS),this.addMatch(new r(h.BLANK,o.BLANK)),this.addMatch(new r(h.TAB,o.TAB)),this.addMatch(new r(h.LINE,o.ENTER+o.LINE)),this.addMatch(new r(h.LINE,o.ENTER)),this.addMatch(new r(h.LINE,o.LINE)),this.addMatch(new r(h.HEAD,"!DOCTYPE",null,!0)),this.addMatch(new u(h.STRING,'"','"',!0)),this.addMatch(new u(h.STRING,"'","'",!0)),this.addMatch(new r(h.SIGN,"=",null,!0)),this.addMatch(new n(h.NUMBER,/^\d+/));var t=new n(h.PROPERTY,/^[a-z]+(-\w+)*/i);t.callback=function(t){var e=t.prev();if(e&&e.type()==h.MARK)t.type(h.KEYWORD);else{var i=t.content();/^data-/i.test(i)&&t.type(h.DATA)}},this.addMatch(t)}).statics({KEYWORDS:"doctype a abbr acronym address applet area article aside audio b base basefont bdi bdo big blockquote body br button canvas caption center cite code col colgroup command datalist dd del details dfn dialog dir div dl dt em embed fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noframes noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td textarea tfoot th thead time title tr track tt u ul var video wbr".split(" ")});a.exports=c}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(14),u=i(0),r=i(3),n=i(17),o=i(1),h=i(18),c={};c[o.BLANK]=c[o.TAB]=c[o.COMMENT]=c[o.LINE]=c[o.ENTER]=!0;var d={};d[h.CNDTEXPR]=d[h.LOGOREXPR]=d[h.LOGANDEXPR]=d[h.BITOREXPR]=d[h.BITXOREXPR]=d[h.BITANDEXPR]=d[h.EQEXPR]=d[h.RELTEXPR]=d[h.SHIFTEXPR]=d[h.ADDEXPR]=d[h.MTPLEXPR]=d[h.UNARYEXPR]=d[h.POSTFIXEXPR]=!0;var l=s.extend(function(t){return s.call(this,t),this.init(t),this}).methods({parse:function(t){return this.lexer.parse(t),this.tree=this.program(),this.tree},init:function(t){this.look=null,this.tokens=null,this.lastLine=1,this.lastCol=1,this.line=1,this.col=1,this.index=0,this.length=0,this.ignores={},this.hasMoveLine=!1,this.tree={},t?this.lexer=t:this.lexer?this.lexer.init():this.lexer=new r(new n)},program:function(){this.tokens=this.lexer.tokens(),this.length=this.tokens.length,this.tokens.length&&this.move();for(var t=new h(h.PROGRAM);this.look;)t.add(this.element());return t},element:function(){return"function"==this.look.content()?this.fndecl():this.stmt()},stmt:function(){switch(this.look||this.error(),this.look.content()){case"var":return this.varstmt();case"{":return this.block();case";":return this.emptstmt();case"if":return this.ifstmt();case"do":case"while":case"for":return this.iterstmt();case"continue":return this.cntnstmt();case"break":return this.brkstmt();case"return":return this.retstmt();case"with":return this.withstmt();case"switch":return this.swchstmt();case"throw":return this.thrstmt();case"try":return this.trystmt();case"debugger":return this.debstmt();default:if(this.look.type()==o.ID)for(var t=this.index;t<this.length;t++){var e=this.tokens[t];if(!c[e.type()])return":"==e.content()?this.labstmt():this.exprstmt()}return this.exprstmt()}},exprstmt:function(){var t=new h(h.EXPRSTMT);return t.add(this.expr(),this.match(";")),t},varstmt:function(t){var e=new h(h.VARSTMT);for(e.add(this.match("var"),this.vardecl());this.look&&","==this.look.content();)e.add(this.match(),this.vardecl());return t||e.add(this.match(";")),e},vardecl:function(){var t=new h(h.VARDECL);return this.look||this.error("missing variable name"),t.add(this.match(o.ID,"missing variable name")),this.look&&"="==this.look.content()&&t.add(this.assign()),t},assign:function(){var t=new h(h.ASSIGN);return t.add(this.match("=")),this.look||this.error(),t.add(this.assignexpr()),t},block:function(){var t=new h(h.BLOCK);for(t.add(this.match("{"));this.look&&"}"!=this.look.content();)t.add(this.stmt());return t.add(this.match("}","missing } in compound statement")),t},emptstmt:function(){var t=new h(h.EMPTSTMT);return t.add(this.match(";")),t},ifstmt:function(){var t=new h(h.IFSTMT);return t.add(this.match("if"),this.match("("),this.expr(),this.match(")"),this.stmt()),this.look&&"else"==this.look.content()&&t.add(this.match("else"),this.stmt()),t},iterstmt:function(){var t=new h(h.ITERSTMT);switch(this.look.content()){case"do":t.add(this.match(),this.stmt(),this.match("while"),this.match("("),this.expr(),this.match(")"),this.match(";"));break;case"while":t.add(this.match(),this.match("("),this.expr(),this.match(")"),this.stmt());break;case"for":if(t.add(this.match(),this.match("(")),this.look||this.error(),"var"==this.look.content()){var e=this.varstmt(!0);this.look||this.error("missing ; after for-loop initializer"),"in"==this.look.content()?(e.size()>2&&this.error("invalid for/in left-hand side"),t.add(e),t.add(this.match(),this.expr())):(t.add(e),t.add(this.match(";")),";"!=this.look.content()&&t.add(this.expr()),t.add(this.match(";")),this.look||this.error(),")"!=this.look.content()&&t.add(this.expr()))}else{var i;"in"==this.look.content()&&this.error(),";"!=this.look.content()&&(i=this.expr(!0),t.add(i)),this.look||this.error("missing ;"),"in"==this.look.content()?i.name()==h.MMBEXPR||i.name()==h.PRMREXPR||i.name()==h.NEWEXPR?t.add(this.match(),this.expr()):this.error("invalid for/in left-hand side"):(t.add(this.match(";","missing ;")),this.look||this.error(),";"!=this.look.content()&&t.add(this.expr()),t.add(this.match(";","missing ;")),this.look||this.error(),")"!=this.look.content()&&t.add(this.expr()))}t.add(this.match(")")),t.add(this.stmt())}return t},cntnstmt:function(){var t=new h(h.CNTNSTMT);return t.add(this.match("continue",!0)),this.look&&this.look.type()==o.ID&&t.add(this.match()),t.add(this.match(";")),t},brkstmt:function(){var t=new h(h.BRKSTMT);return t.add(this.match("break",!0)),this.look&&this.look.type()==o.ID&&t.add(this.match()),t.add(this.match(";")),t},retstmt:function(){var t=new h(h.RETSTMT);return t.add(this.match("return",!0)),this.look?";"==this.look.content()||"}"==this.look.content()||this.look.type()==o.LINE||this.look.type()==o.COMMENT?t.add(this.match(";")):t.add(this.expr(),this.match(";")):t.add(this.match(";")),t},withstmt:function(){var t=new h(h.WITHSTMT);return t.add(this.match("with"),this.match("("),this.expr(),this.match(")"),this.stmt()),t},swchstmt:function(){var t=new h(h.SWCHSTMT);return t.add(this.match("switch"),this.match("("),this.expr(),this.match(")"),this.caseblock()),t},caseblock:function(){var t=new h(h.CASEBLOCK);for(t.add(this.match("{"));this.look&&"}"!=this.look.content();)"case"==this.look.content()?t.add(this.caseclause()):"default"==this.look.content()?t.add(this.dftclause()):this.error("invalid switch statement");return t.add(this.match("}")),t},caseclause:function(){var t=new h(h.CASECLAUSE);for(t.add(this.match("case"),this.expr(),this.match(":"));this.look&&"case"!=this.look.content()&&"default"!=this.look.content()&&"}"!=this.look.content();)t.add(this.stmt());return t},dftclause:function(){var t=new h(h.DFTCLAUSE);for(t.add(this.match("default"),this.match(":"));this.look&&"case"==this.look.content();)t.add(this.match("case"),this.expr(),this.match(":"));for(;this.look&&"}"!=this.look.content();)t.add(this.stmt());return t},labstmt:function(){var t=new h(h.LABSTMT);return t.add(this.match(o.ID),this.match(":"),this.stmt()),t},thrstmt:function(){var t=new h(h.THRSTMT);return t.add(this.match("throw",!0),this.expr(),this.match(";")),t},trystmt:function(){var t=new h(h.TRYSTMT);return t.add(this.match("try"),this.block()),this.look&&"catch"==this.look.content()?(t.add(this.cach()),this.look&&"finally"==this.look.content()&&t.add(this.finl())):t.add(this.finl()),t},debstmt:function(){var t=new h(h.DEBSTMT);return t.add(this.match("debugger"),this.match(";")),t},cach:function(){var t=new h(h.CACH);return t.add(this.match("catch"),this.match("("),this.match(o.ID,"missing identifier in catch"),this.match(")"),this.block()),t},finl:function(){var t=new h(h.FINL);return t.add(this.match("finally"),this.block()),t},fndecl:function(){var t=new h(h.FNDECL);return t.add(this.match("function"),this.match(o.ID,"function statement requires a name"),this.match("(")),this.look||this.error("missing formal parameter"),")"!=this.look.content()&&t.add(this.fnparams()),t.add(this.match(")"),this.match("{"),this.fnbody(),this.match("}")),t},fnexpr:function(t){var e=new h(h.FNEXPR);return e.add(this.match("function")),this.look||this.error("missing formal parameter"),this.look.type()==o.ID&&(t&&"in"==this.look.content()&&this.error(),e.add(this.match())),e.add(this.match("(")),this.look||this.error(),")"!=this.look.content()&&e.add(this.fnparams()),e.add(this.match(")"),this.match("{"),this.fnbody(),this.match("}","missing } in compound statement")),e},fnparams:function(){for(var t=new h(h.FNPARAMS);this.look;)if(t.add(this.match(o.ID,"missing formal parameter")),this.look)if(","==this.look.content())t.add(this.match());else if(")"==this.look.content())break;return t},fnbody:function(){for(var t=new h(h.FNBODY);this.look&&"}"!=this.look.content();)t.add(this.element());return t},expr:function(t){var e=new h(h.EXPR),i=this.assignexpr(t);if(!this.look||","!=this.look.content())return i;for(e.add(i);this.look&&","==this.look.content();)e.add(this.match(),this.assignexpr(t));return e},assignexpr:function(t){var e=new h(h.ASSIGNEXPR),i=this.cndtexpr(t);return this.look&&{"*=":!0,"/=":!0,"%=":!0,"+=":!0,"-=":!0,"<<=":!0,">>=":!0,">>>=":!0,"&=":!0,"^=":!0,"|=":!0,"=":!0}.hasOwnProperty(this.look.content())&&!d.hasOwnProperty(i.name())?(e.add(i,this.match(),this.assignexpr(t)),e):i},cndtexpr:function(t){var e=new h(h.CNDTEXPR),i=this.logorexpr(t);return this.look&&"?"==this.look.content()?(e.add(i,this.match(),this.assignexpr(t),this.match(":"),this.assignexpr(t)),e):i},logorexpr:function(t){var e=new h(h.LOGOREXPR),i=this.logandexpr(t);if(!this.look||"||"!=this.look.content())return i;for(e.add(i);this.look&&"||"==this.look.content();)e.add(this.match(),this.logandexpr(t));return e},logandexpr:function(t){var e=new h(h.LOGANDEXPR),i=this.bitorexpr(t);if(!this.look||"&&"!=this.look.content())return i;for(e.add(i);this.look&&"&&"==this.look.content();)e.add(this.match(),this.bitorexpr(t));return e},bitorexpr:function(t){var e=new h(h.BITOREXPR),i=this.bitxorexpr(t);if(!this.look||"|"!=this.look.content())return i;for(e.add(i);this.look&&"|"==this.look.content();)e.add(this.match(),this.bitxorexpr(t));return e},bitxorexpr:function(t){var e=new h(h.BITXOREXPR),i=this.bitandexpr(t);if(!this.look||"^"!=this.look.content())return i;for(e.add(i);this.look&&"^"==this.look.content();)e.add(this.match(),this.bitandexpr(t));return e},bitandexpr:function(t){var e=new h(h.BITANDEXPR),i=this.eqexpr(t);if(!this.look||"&"!=this.look.content())return i;for(e.add(i);this.look&&"&"==this.look.content();)e.add(this.match(),this.eqexpr(t));return e},eqexpr:function(t){var e=new h(h.EQEXPR),i=this.reltexpr(t);if(!this.look||!{"==":!0,"===":!0,"!==":!0,"!=":!0}.hasOwnProperty(this.look.content()))return i;for(e.add(i);this.look&&{"==":!0,"===":!0,"!==":!0,"!=":!0}.hasOwnProperty(this.look.content());)e.add(this.match(),this.reltexpr(t));return e},reltexpr:function(t){var e=new h(h.RELTEXPR),i=this.shiftexpr(t);if(!this.look||!{"<":!0,">":!0,">=":!0,"<=":!0,instanceof:!0}.hasOwnProperty(this.look.content())&&(t||"in"!=this.look.content()))return i;for(e.add(i);this.look&&({"<":!0,">":!0,">=":!0,"<=":!0,instanceof:!0}.hasOwnProperty(this.look.content())||!t&&"in"==this.look.content());)e.add(this.match(),this.shiftexpr(t));return e},shiftexpr:function(t){var e=new h(h.SHIFTEXPR),i=this.addexpr(t);if(!this.look||-1==["<<",">>",">>>"].indexOf(this.look.content()))return i;for(e.add(i);this.look&&-1!=["<<",">>",">>>"].indexOf(this.look.content());)e.add(this.match(),this.addexpr(t));return e},addexpr:function(t){var e=new h(h.ADDEXPR),i=this.mtplexpr(t);if(!this.look||-1==["+","-"].indexOf(this.look.content()))return i;for(e.add(i);this.look&&-1!=["+","-"].indexOf(this.look.content());)e.add(this.match(),this.mtplexpr(t));return e},mtplexpr:function(t){var e=new h(h.MTPLEXPR),i=this.unaryexpr(t);if(!this.look||-1==["*","/","%"].indexOf(this.look.content()))return i;for(e.add(i);this.look&&-1!=["*","/","%"].indexOf(this.look.content());)e.add(this.match(),this.unaryexpr(t));return e},unaryexpr:function(t){var e=new h(h.UNARYEXPR);switch(this.look||this.error(),this.look.content()){case"++":case"--":e.add(this.match(),this.leftexpr(t));break;case"delete":case"void":case"typeof":case"+":case"-":case"~":case"!":e.add(this.match(),this.unaryexpr(t));break;default:return this.postfixexpr(t)}return e},postfixexpr:function(t){var e=new h(h.POSTFIXEXPR),i=this.leftexpr(t);return this.look&&["++","--"].indexOf(this.look.content())>-1&&!this.hasMoveLine?(e.add(i,this.match(void 0,!0)),e):i},leftexpr:function(t){return"new"==this.look.content()?this.newexpr(0,t):this.callexpr(null,t)},newexpr:function(t,e){t=t||0;var i=new h(h.NEWEXPR);if(i.add(this.match("new")),this.look||this.error(),"new"==this.look.content()?i.add(this.newexpr(t+1,e)):i.add(this.mmbexpr(e)),this.look&&"("==this.look.content()&&i.add(this.args()),this.look&&[".","["].indexOf(this.look.content())>-1){var a=new h(h.MMBEXPR);for(a.add(i);this.look;)if("."==this.look.content())a.add(this.match(),this.match(o.ID,"missing name after . operator"));else{if("["!=this.look.content())break;a.add(this.match(),this.expr(e),this.match("]"))}return 0==t&&this.look&&"("==this.look.content()?this.callexpr(a,e):a}return i},callexpr:function(t,e){var i=new h(h.CALLEXPR);if(t=t||this.mmbexpr(e),!this.look||"("!=this.look.content())return t;for(i.add(t,this.args());this.look;){var a;if("."==this.look.content())(a=new h(h.MMBEXPR)).add(i,this.match(),this.match(o.ID,"missing name after . operator")),i=a;else if("["==this.look.content())(a=new h(h.MMBEXPR)).add(i,this.match(),this.expr(e),this.match("]")),i=a;else{if("("!=this.look.content())break;(a=new h(h.CALLEXPR)).add(i,this.args()),i=a}}return i},mmbexpr:function(t){var e,i=new h(h.MMBEXPR);if(e="function"==this.look.content()?this.fnexpr(t):this.prmrexpr(t),!(this.look&&[".","["].indexOf(this.look.content())>-1))return e;for(i.add(e),"."==this.look.content()?i.add(this.match(),this.match(o.ID,"missing name after . operator")):i.add(this.match(),this.expr(t),this.match("]"));this.look;){var a;if("."==this.look.content())(a=new h(h.MMBEXPR)).add(i,this.match(),this.match(o.ID,"missing name after . operator")),i=a;else{if("["!=this.look.content())break;(a=new h(h.MMBEXPR)).add(i,this.match(),this.expr(t),this.match("]")),i=a}}return i},prmrexpr:function(t){var e=new h(h.PRMREXPR);switch(this.look.type()){case o.ID:t&&"in"==this.look.content()&&this.error();case o.NUMBER:case o.STRING:case o.REG:case o.TEMPLATE:e.add(this.match());break;default:switch(this.look.content()){case"this":case"null":case"true":case"false":e.add(this.match());break;case"(":e.add(this.match(),this.expr(),this.match(")"));break;case"[":e.add(this.arrltr());break;case"{":e.add(this.objltr());break;default:this.error()}}return e},arrltr:function(){var t=new h(h.ARRLTR);for(t.add(this.match("["));this.look&&"]"!=this.look.content();)","==this.look.content()?t.add(this.match()):t.add(this.assignexpr());return t.add(this.match("]","missing ] after element list")),t},objltr:function(){var t=new h(h.OBJLTR);for(t.add(this.match("{"));this.look&&"}"!=this.look.content();)t.add(this.proptassign()),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match("}","missing } after property list")),t},proptassign:function(){var t=new h(h.PROPTASSIGN);switch(this.look.type()){case o.ID:if("get"==this.look.content()){t.add(this.match()),this.look||this.error("missing : after property id"),this.look.type()==o.ID||this.look.type()==o.KEYWORD?t.add(this.match(),this.match("(","missing ( before formal parameters"),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(),this.match("}","missing } after function body")):t.add(this.match(":","missing : after property id"),this.assignexpr());break}if("set"==this.look.content()){t.add(this.match()),this.look||this.error("missing : after property id"),this.look.type()==o.ID||this.look.type()==o.KEYWORD?t.add(this.match(),this.match("(","missing ( before formal parameters"),this.match(o.ID,"setter functions must have one argument"),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(),this.match("}","missing } after function body")):t.add(this.match(":","missing : after property id"),this.assignexpr());break}case o.STRING:case o.NUMBER:case o.KEYWORD:t.add(this.match(),this.match(":","missing : after property id"),this.assignexpr());break;default:this.error("invalid property id")}return t},args:function(){var t=new h(h.ARGS);return t.add(this.match("(")),this.look||this.error(),")"!=this.look.content()&&t.add(this.arglist()),t.add(this.match(")")),t},arglist:function(){for(var t=new h(h.ARGLIST);this.look;)if(t.add(this.assignexpr()),this.look)if(","==this.look.content())t.add(this.match());else if(")"==this.look.content())break;return t},virtual:function(t){return new h(h.TOKEN,new o(o.VIRTUAL,t))},match:function(t,e,i){if("boolean"==typeof t&&(i=e,e=t,t=void 0),"boolean"!=typeof e&&(i=e=!1),u.isUndefined(t)){if(this.look){var a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("syntax error"+(i||""))}else if("string"==typeof t){if(";"==t&&(!this.look||this.look.content()!=t&&this.hasMoveLine||"}"==this.look.content()))return this.look&&c[this.look.type()]&&this.move(),this.virtual(";");if(this.look&&this.look.content()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+t+(i||""))}else if("number"==typeof t){if(this.look&&this.look.type()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+o.type(t)+(i||""))}},move:function(t){this.lastLine=this.line,this.lastCol=this.col,this.hasMoveLine=!1;do{if(this.look=this.tokens[this.index++],!this.look)return;if(c[this.look.type()]&&(this.ignores[this.index-1]=this.look),this.look.type()==o.LINE){if(this.line++,this.col=1,this.hasMoveLine=!0,t)break}else if(this.look.type()==o.COMMENT){var e=this.look.content(),i=u.count(this.look.content(),u.LINE);if(i>0){this.line+=i;var a=e.lastIndexOf(u.LINE);if(this.col+=e.length-a-1,this.hasMoveLine=!0,t)break}}else if(this.col+=this.look.content().length,!c[this.look.type()])break}while(this.index<=this.length)},error:function(t){throw t="SyntaxError: "+(t||" syntax error"),new Error(t+" line "+this.lastLine+" col "+this.lastCol)}});a.exports=l}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s,u=i(15),r=u.extend(function(t,e){return u.call(this,t,e),this}).statics({SCRIPT:"script",SCRIPTBODY:"scriptbody",VARSTMT:"varstmt",VARDECL:"vardecl",FNBODY:"fnbody",BLOCKSTMT:"blockstmt",BLOCK:"block",ITERSTMT:"iterstmt",FNPARAMS:"fnparams",RESTPARAM:"restparam",EXPR:"expr",STMT:"stmt",ASSIGN:"assign",EMPTSTMT:"emptstmt",IFSTMT:"ifstmt",CNTNSTMT:"cntnstmt",BRKSTMT:"brkstmt",RETSTMT:"retstmt",WITHSTMT:"withstmt",SWCHSTMT:"swchstmt",CASEBLOCK:"caseblock",CASECLAUSE:"caseclause",DFTCLAUSE:"dftclause",LABSTMT:"labstmt",THRSTMT:"thrstmt",TRYSTMT:"trystmt",DEBSTMT:"debstmt",EXPRSTMT:"exprstmt",CACH:"cach",CACHPARAM:"cachparam",FINL:"finl",FNDECL:"fndecl",FNEXPR:"fnexpr",ASSIGNEXPR:"assignexpr",CNDTEXPR:"cndtexpr",LOGOREXPR:"logorexpr",LOGANDEXPR:"logandexpr",BITOREXPR:"bitorexpr",BITANDEXPR:"bitandexpr",BITXOREXPR:"bitxorexpr",EQEXPR:"eqexpr",RELTEXPR:"reltexpr",SHIFTEXPR:"shiftexpr",ADDEXPR:"addexpr",MTPLEXPR:"mtplexpr",UNARYEXPR:"unaryexpr",MMBEXPR:"mmbexpr",PRMREXPR:"prmrexpr",ARRLTR:"arrltr",OBJLTR:"objltr",PROPTDEF:"proptdef",ARGS:"args",ARGLIST:"arglist",IMPTSTMT:"imptstmt",POSTFIXEXPR:"postfixexpr",NEWEXPR:"newexpr",CALLEXPR:"callexpr",SPREAD:"spread",ARRCMPH:"arrcmph",CMPHFOR:"cmphfor",INITLZ:"initlz",BINDID:"bindid",ARRBINDPAT:"arrbindpat",OBJBINDPAT:"objbindpat",BINDELEM:"bindelem",BINDREST:"bindrest",PROPTNAME:"proptname",SINGLENAME:"singlename",BINDPROPT:"bindpropt",LTRPROPT:"ltrpropt",CMPTPROPT:"cmptpropt",LEXDECL:"lexdecl",LEXBIND:"lexbind",FMPARAMS:"fmparams",CMPHIF:"cmphif",YIELDEXPR:"yieldexpr",ARROWFN:"arrowfn",ARROWPARAMS:"arrowparams",CPEAPL:"cpeapl",CLASSEXPR:"classexpr",GENEXPR:"genexpr",GENDECL:"gendecl",GENCMPH:"gencmph",CMPH:"cmph",CNCSBODY:"cncsbody",CLASSDECL:"classdecl",HERITAGE:"heritage",CLASSBODY:"classbody",CLASSELEM:"classelem",METHOD:"method",GENMETHOD:"genmethod",MODULEBODY:"moduelbody",IMPORT:"import",EXPORT:"export",IMPORTDECL:"importdecl",MODULEIMPORT:"moduleimport",FROMCAULSE:"formcaulse",IMPORTCAULSE:"importcaulse",NAMEIMPORT:"nameimport",IMPORTSPEC:"importspec",EXPORTDECL:"exportdecl",EXPORTCAULSE:"exportcaulse",EXPORTSPEC:"exportspec",getKey:function(t){if(!t)throw new Error("empty value");if(!s){var e=this;s={},Object.keys(this).forEach(function(t){var i=e[t];s[i]=t})}return s[t]}});a.exports=r}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s,u=i(15),r=u.extend(function(t,e){return u.call(this,t,e),this}).statics({SHEET:"sheet",ELEMENT:"element",IMPORT:"import",MEDIA:"media",CHARSET:"charset",MEDIAQLIST:"mediaqlist",MEDIAQUERY:"mediaquer",MEDIATYPE:"mediatype",NAMESPACE:"namespace",DOC:"doc",EXPR:"expression",BLOCK:"block",STYLESET:"styleset",STYLE:"style",SELECTORS:"selectors",SELECTOR:"selector",KEY:"key",VALUE:"value",FONTFACE:"fontface",KEYFRAMES:"kframes",PAGE:"page",URL:"url",LINEARGRADIENT:"lineargradient",POINT:"point",COLORSTOP:"colorstop",RADIOGRADIENT:"radiogradient",POS:"pos",LEN:"len",LENGTH:"length",RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",MAX:"max",MIN:"min",VARDECL:"vardecl",EXTEND:"extend",FORMAT:"format",FN:"function",PARAMS:"params",FNC:"fncall",CPARAMS:"cparams",CTSTYLE:"ctstyle",VIEWPORT:"viewport",SUPPORTS:"supports",CNDT:"cndt",ADDEXPR:"addexpr",MTPLEXPR:"mtplexpr",PRMREXPR:"prmrexpr",PARAM:"param",COUNTER:"counter",CALC:"calc",TOGGLE:"toggle",ATTR:"attr",FILTER:"filter",TRANSLATE:"translate",VARS:"vars",BRACKET:"bracket",URLPREFIX:"ulrprefix",DOMAIN:"domain",REGEXP:"regexp",IFSTMT:"ifstmt",getKey:function(t){if(!t)throw new Error("empty value");if(!s){var e=this;s={},Object.keys(this).forEach(function(t){var i=e[t];s[i]=t})}return s[t]}});a.exports=r}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s,u=i(15),r=u.extend(function(t,e){return u.call(this,t,e),this}).statics({DOCUMENT:"document",TEXT:"text",MARK:"mark",ATTR:"attr",getKey:function(t){if(!t)throw new Error("empty value");if(!s){var e=this;s={},Object.keys(this).forEach(function(t){var i=e[t];s[i]=t})}return s[t]}});a.exports=r}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a,s=i(29),u=i(31),r=i(40),n=i(41),o=i(19),h=o.getClass("node","js"),c=o.getClass("token","js"),d=i(10);e.encrypt=function(t,e){var i=o.getContext("js");i.parse(t);var l=i.parser.ast(),f=i.parser.lexer.tokens();a=Object.create(null),function t(e,i){var r=e.name()==h.TOKEN;var n=r&&e.token().type()==c.VIRTUAL;if(r){if(!n){if(e.parent().name()==h.PROPTASSIGN)return;var o=e.token();o.type()==c.STRING&&o.val().length?a[o.tid()]||(a[o.tid()]=new u(i,o)):o.type()==c.NUMBER&&-1==o.content().indexOf(".")&&(a[o.tid()]||(a[o.tid()]=new u(i,o)))}}else e.name()==h.PRMREXPR&&function(t,e){var i=t.next();for(;i;){if(i&&i.name()==h.TOKEN&&"."==i.token().content()){var u=i.token();(i=i.next())&&i.name()==h.TOKEN&&i.token().type()==c.ID&&(a[u.tid()]||(a[u.tid()]=new s(e,i.token())))}i=i.next()}}(e,i),e.leaves().forEach(function(e,a){t(e,i)})}(l,e),function(t,e){t.getVars().forEach(function(t){var i=t.leaves()[0].token(),s=t.prev();s&&s.name()==h.TOKEN&&"var"==s.token().content()&&(s=s.token(),a[s.tid()]||(a[s.tid()]=new n)),a[i.tid()]||(a[i.tid()]=new r(e,t))})}(i,e);for(var m="",p=0,b=f.length;p<b;p++){var k=f[p],g=a[k.tid()];g?(m+=g.gen(),p+=g.length()):m+=k.content()}return(e?"":d.PRE_CODE)+m}},function(t,e,i){var a=i(9),s=i(10),u=a.extend(function(t,e){a.call(this,t),this.propety=e}).methods({gen:function(){return"["+s.getAnbuString(this.propety.content(),this.original)+"]"},length:function(){return 1}});t.exports=u},function(t,e){function i(t,e){var i=Object.create(e.prototype);return i.constructor=t,t.prototype=i,Object.keys(e).forEach(function(i){t[i]=e[i]}),t}function a(t){return function t(e){return e.extend=function(a){return i(a,e),t(a)},e.methods=function(t){return Object.keys(t).forEach(function(i){e.prototype[i]=t[i]}),e},e.statics=function(t){return Object.keys(t).forEach(function(i){e[i]=t[i]}),e},e}(t||function(){})}a.extend=i,t.exports=a},function(t,e,i){var a=i(9),s=i(10),u=i(19).getClass("token","js"),r=a.extend(function(t,e){a.call(this,t),this.token=e}).methods({gen:function(){var t;return this.token.type()==u.STRING?t=s.getAnbuString(this.token.val(),this.original):this.token.type()==u.NUMBER&&(t=s.getNumber(this.token.content(),this.original)),t}});t.exports=r},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(3),u=i(33),r=i(20),n=i(17),o=i(22),h=i(34),c=i(35),d=i(23),l=i(1),f=i(11),m=i(12),p=i(24),b=i(36),k=i(37),g=i(38),x=i(18),v=i(25),E=i(26),w=i(27),R=i(39),y=i(16);e.getClass=function(t,e){switch(t=(t||"").toLowerCase(),e=(e||"").toLowerCase(),t){case"lexer":switch(e){case"js":case"javascript":case"es":case"es5":case"ecmascript":case"es6":case"as":case"actionscript":return s;case"css":return u;case"html":case"htm":return r;default:throw new Error("Unsupport Language Lexer: "+e)}break;case"parser":switch(e){case"js":case"javascript":case"es":case"es5":case"ecmascript":return p;case"es6":return b;case"css":return k;case"html":case"htm":return g;default:throw new Error("Unsupport Language Parser: "+e)}break;case"node":switch(e){case"js":case"javascript":case"es":case"es5":case"ecmascript":return x;case"es6":return v;case"css":return E;case"html":case"htm":return w;default:throw new Error("Unsupport Language Node: "+e)}break;case"context":switch(e){case"js":case"javascript":case"es":case"es5":case"ecmascript":return R;default:throw new Error("Unsupport Language Context: "+e)}break;case"token":switch(e){case"css":return f;case"htm":case"html":return m;default:return l}case"rule":switch(e){case"js":case"javascript":case"es":case"es5":case"es6":case"ecmascript":return n;case"css":return o;case"htm":case"html":return d;default:throw new Error("Unsupport Language Context: "+e)}case"walk":return y;default:throw new Error("Unsupport Class Type: "+t)}},e.getLexer=function(t){switch(t=t.toLowerCase()){case"js":case"javascript":case"es":case"es5":case"ecmascript":case"es6":case"as":case"actionscript":return new s(new n);case"css":return new u(new o);case"java":return new s(new h);case"c":case"c++":case"cpp":case"cplusplus":return new s(new c);case"html":case"htm":return new r(new d);default:throw new Error("Unsupport Language Lexer: "+t)}},e.getParser=function(t){switch(t=t.toLowerCase()){case"js":case"javascript":case"es":case"es5":case"ecmascript":return new p(e.getLexer(t));case"es6":return new b(e.getLexer(t));case"css":return new k(e.getLexer(t));case"html":case"htm":return new g(e.getLexer(t));default:throw new Error("Unsupport Language Parser: "+t)}},e.getContext=function(t){switch(t=t.toLowerCase()){case"js":case"javascript":case"es":case"es5":case"ecmascript":return new R;default:throw new Error("Unsupport Language Context: "+t)}},e.reset=function(){l.reset()}}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(3),u=i(11),r=i(0),n=i(4),o={"\n":!0,"\r":!0," ":!0,"\t":!0},h=new n(u.ID,/^[a-z][\w\-\+\.]*/i),c=s.extend(function(t){s.call(this,t),this.media=!1,this.import=!1,this.value=!1,this.parenthese=!1,this.bracket=!1,this.number=!1,this.url=!1,this.kw=!1,this.sel=!0,this.var=!1,this.cvar=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1,this.supports=!1,this.extend=!1,this.param=!1,this.depth=0}).methods({scan:function(t){var e=this.code.length,i=0;t:for(;this.index<e&&!(this.cacheLine>0&&i>=this.cacheLine);){if(this.readch(),this.parenthese&&this.url){if(!o.hasOwnProperty(this.peek)&&!{"'":!0,'"':!0,")":!0,$:!0}.hasOwnProperty(this.peek)){this.dealPt(t),this.url=!1;continue t}this.url=!1}for(var a=0,s=this.rule.matches(),n=s.length;a<n;a++){var c=s[a];if(c.match(this.peek,this.code,this.index)){var d=new u(c.tokenType(),c.content(),c.val(),this.index-1),l=c.content().length;c.callback&&c.callback(d);var f=d.content().toLowerCase();switch(d.type()){case u.BLANK:case u.TAB:case u.LINE:this.number=!1;break;case u.HEAD:switch(f=f.replace(/^@(-moz-|-o-|-ms-|-webkit-|-vx-|-hp-|-khtml-|mso-|-prince-|-rim-|-ro-|-tc-|-wap-|-apple-|-atsc-|-ah-)/,"@"),this.sel=!1,this.kw=!1,this.value=!0,this.number=!1,this.var=!1,f){case"@import":this.import=!0;break;case"@media":this.media=!0;break;case"@page":this.page=!0;break;case"@keyframes":this.kf=!0;break;case"@document":this.doc=!0;break;case"@supports":this.supports=!0;break;case"@extend":this.extend=!0,this.value=!1,this.sel=!0}break;case u.UNITS:if(!this.number)continue;this.sel=!1,this.kw=!1,this.var=!1,this.number=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.KEYWORD:this.value&&!this.supports||(this.kw=!0,this.url=!1,this.var=!1,this.sel=!1,this.number=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1,this.parenthese=!1);break;case u.COLOR:this.value||this.param||this.cvar||d.type(u.SELECTOR);break;case u.ID:if(this.bracket&&this.sel)d.type(u.ATTR),this.url=!1,this.var=!1;else if(this.extend)d.type(u.SELECTOR);else if(this.number)d.type(u.UNITS),this.url=!1,this.kw=!1,this.var=!1;else if(this.page||this.kf||this.ns)this.sel=!0,this.url=!1,this.kw=!1,this.var=!1,this.value=!1;else if(this.var)d.type(u.VARS),this.url=!1,this.var=!1;else if(this.supports)this.rule.keyWords().hasOwnProperty(f)?d.type(u.KEYWORD):d.type(u.PROPERTY);else if(this.param||this.cvar){if("+"==this.code.charAt(this.index)&&(h.match(this.peek,this.code,this.index),d=new u(h.tokenType(),h.content(),h.val(),this.index-1),l=h.content().length),this.rule.keyWords().hasOwnProperty(f))if(this.tokenList[this.tokenList.length-1].type()==u.HACK)d.type(u.KEYWORD),this.kw=!0;else for(var m=this.index+l-1;m<e;m++){var p=this.code.charAt(m);if(!o.hasOwnProperty(p)){":"==p?(d.type(u.KEYWORD),this.kw=!0):(d.type(u.PROPERTY),this.value=!0);break}}else this.rule.values().hasOwnProperty(f)&&(d.type(u.PROPERTY),this.url=["url","format","url-prefix","domain","regexp"].indexOf(f)>-1);this.sel=!1,this.cvar=!1}else if(this.value)"+"==this.code.charAt(this.index)&&(h.match(this.peek,this.code,this.index),d=new u(h.tokenType(),h.content(),h.val(),this.index-1),l=h.content().length),this.rule.colors().hasOwnProperty(f)?(d.type(u.COLOR),this.url=!1,this.var=!1):(this.rule.keyWords().hasOwnProperty(f)||this.rule.values().hasOwnProperty(f))&&(d.type(u.PROPERTY),this.url=["url","format","url-prefix","domain","regexp"].indexOf(f)>-1,this.var="var"==f),this.kw=!1,this.sel=!1;else{if(this.rule.keyWords().hasOwnProperty(f))d.type(u.KEYWORD),this.kw=!0,this.sel=!1,this.parenthese=!1;else{var b=!1;for(a=this.index+f.length-1;a<e;a++){p=this.code.charAt(a);if(!o.hasOwnProperty(p)){b="("==p;break}}b?(d.type(u.VARS),this.sel=!1):(d.type(u.SELECTOR),this.sel=!0),this.kw=!1}this.url=!1,this.var=!1}this.number=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.PSEUDO:if((this.kw||this.value||this.cvar)&&!this.page){d.cancel();continue}this.var=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.SELECTOR:this.sel=!0,this.kw=!1,this.number=!1,this.var=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.IMPORTANT:this.url=!1,this.var=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.SIGN:switch(this.number=!1,f){case":":this.kw&&(this.value=!0),this.url=!1,this.sel=!1,this.var=!1;break;case"(":if(this.parenthese=!0,this.media||this.import||this.doc)this.value=!1;else if(this.depth>0)for(m=this.tokenList.length-1;m>=2;m--){var k=this.tokenList[m];if(-1==[u.IGNORE,u.BLANK,u.LINE,u.VIRTUAL,u.COMMENT].indexOf(k.type())){k.type()==u.VARS&&(this.param=!0,this.parenthese=!1);break}}this.sel=!1;break;case")":(this.media||this.import||this.doc)&&(this.value=!0),this.url=!1,this.parenthese=!1,this.sel=!1,this.var=!1,this.number=!0,this.param=!1;break;case"[":if(!this.value)for(m=this.index;m<e;m++){p=this.code.charAt(m);if(!o.hasOwnProperty(p)){";"==p&&(d.type(u.HACK),this.sel=!1);break}}this.bracket=!0,this.url=!1,this.var=!1;break;case"]":this.value||this.sel||d.type(u.HACK),this.bracket=!1,this.url=!1,this.var=!1;break;case";":this.bracket&&!this.sel&&d.type(u.HACK),this.value=!1,this.import=!1,this.url=!1,this.sel=!1,this.var=!1,this.cvar=!1,this.extend=!1,this.param=!1;break;case"{":this.depth++,this.value=!1,this.media=!1,this.import=!1,this.url=!1,this.sel=!0,this.var=!1,this.supports=!1,this.cvar=!1,this.extend=!1,this.param=!1;break;case"}":this.value=!1,this.media=!1,this.import=!1,this.url=!1,this.sel=!0,this.depth--,this.var=!1,this.cvar=!1,this.extend=!1,this.param=!1;break;case"*":if(this.cvar&&!this.value)d.type(u.HACK);else if(this.param)for(m=this.tokenList.length-1;m>=2;m--){k=this.tokenList[m];if(-1==[u.IGNORE,u.BLANK,u.LINE,u.VIRTUAL,u.COMMENT].indexOf(k.type())){"("==k.content()&&d.type(u.HACK);break}}else if(this.depth&&!this.value)for(m=this.index;m<e;m++){p=this.code.charAt(m);if(!o.hasOwnProperty(p)){":{,+([#>.".indexOf(p)>-1?(d.type(u.SELECTOR),this.sel=!0):(d.type(u.HACK),this.sel=!1);break}}else this.value||(d.type(u.SELECTOR),this.sel=!0);this.var=!1;break;case"-":case"/":this.value||d.type(u.HACK),this.url=!1,this.sel=!1,this.var=!1;break;case"~":this.value||d.type(u.HACK);default:this.url=!1,this.var=!1}this.kw=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1;break;case u.NUMBER:this.number=!0,this.url=!1,this.var=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1,(this.cvar||this.param)&&(this.value=!0);break;case u.STRING:(this.cvar||this.param)&&(this.value=!0);break;case u.VARS:this.sel=!1,this.url=!1,this.number=!1,this.var=!1,this.page=!1,this.kf=!1,this.ns=!1,this.doc=!1,this.cvar?this.value=!0:this.value||(this.cvar=!0)}this.last&&(d.prev(this.last),this.last.next(d)),this.last=d,t.push(d),this.tokenList.push(d),this.index+=l-1;var g=r.count(d.val(),r.LINE);if(i+=g,this.totalLine+=g,g){a=c.content().indexOf(r.LINE),m=c.content().lastIndexOf(r.LINE);this.colMax=Math.max(this.colMax,this.colNum+a),this.colNum=c.content().length-m}else this.colNum+=l;this.colMax=Math.max(this.colMax,this.colNum);continue t}}-1==(m=this.code.indexOf(";",this.index))&&(-1==(m=this.code.indexOf("}",this.index))?m=this.code.length:this.depth&&m--);f=this.code.slice(this.index-1,++m),d=new u(u.IGNORE,f,this.index-1);this.last&&(d.prev(this.last),this.last.next(d)),this.last=d,t.push(d),this.tokenList.push(d),this.index=m}return this},dealPt:function(t){var e=this.code.indexOf(")",this.index);if(-1!=e){var i=this.code.slice(this.index-1,e),a=/[\s\r\n]/.exec(i.trim());if(s=new u(a?u.IGNORE:u.STRING,i,this.index-1),this.last&&(s.prev(this.last),this.last.next(s)),this.last=s,t.push(s),this.tokenList.push(s),this.index+=i.length-1,this.parenthese=!1,this.url=!1,r.count(s.val(),r.LINE)>0){n=s.content().indexOf(r.LINE),o=s.content().lastIndexOf(r.LINE);this.colMax=Math.max(this.colMax,this.colNum+n),this.colNum=s.content().length-o}else this.colNum+=s.content().length;this.colMax=Math.max(this.colMax,this.colNum)}else{var s=new u(u.IGNORE,this.code.slice(this.index-1,this.code.length),this.index-1);if(t.push(s),this.tokenList.push(s),this.index=this.code.length,r.count(s.val(),r.LINE)>0){var n=s.content().indexOf(r.LINE),o=s.content().lastIndexOf(r.LINE);this.colMax=Math.max(this.colMax,this.colNum+n),this.colNum=s.content().length-o}else this.colNum+=s.content().length;this.colMax=Math.max(this.colMax,this.colNum)}}});a.exports=c}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(6),u=i(7),r=i(13),n=i(8),o=i(4),h=i(1),c=s.extend(function(){var t=this;s.call(t,c.KEYWORDS),t.addMatch(new u(h.COMMENT,"//","\n")),t.addMatch(new u(h.COMMENT,"/*","*/",!0)),t.addMatch(new r(h.STRING,'"','"')),t.addMatch(new r(h.STRING,"'","'")),t.addMatch(new o(h.ID,/^[a-zA-Z_]\w*/)),t.addMatch(new o(h.ANNOT,/^@\w+/)),["~","!","%","^","&&","&","*","(",")","--","-","++","+","===","==","=","!==","!=","[","]","{","}","||","|","\\","<<<",">>>","<<",">>","<",">",">=","<=",",","...",".","?:","?",":",";","/"].forEach(function(e){t.addMatch(new n(h.SIGN,e))})}).statics({KEYWORDS:"if else for break case continue function true false switch default do while int float double long throws transient abstract assert boolean byte class const enum instanceof try volatilechar extends final finally goto implements import protected return void char interface native new package private protected throw short public return strictfp super synchronized this static null String".split(" ")});a.exports=c}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(6),u=i(7),r=i(4),n=i(13),o=i(8),h=i(1),c=s.extend(function(){var t=this;s.call(t,c.KEYWORDS),t.addMatch(new u(h.COMMENT,"//","\n")),t.addMatch(new u(h.COMMENT,"/*","*/",!0)),t.addMatch(new n(h.STRING,'"','"')),t.addMatch(new n(h.STRING,"'","'")),t.addMatch(new r(h.ID,/^[a-zA-Z_]\w*/)),t.addMatch(new r(h.HEAD,/^#\w+/)),["~","!","%","^","&&","&","*","(",")","--","-","++","+","===","==","=","!==","!=","[","]","{","}","||","|","\\","<<<",">>>","<<",">>","<",">",">=","<=",",","...",".","?:","?",":",";","/"].forEach(function(e){t.addMatch(new o(h.SIGN,e))})}).statics({KEYWORDS:"if else for break case continue function true false switch default do while int float double long const_cast private short char return void static null whcar_t volatile uuid explicit extern class const __finally __exception __try virtual using signed namespace new public protected __declspec delete unsigned friend goto inline mutable deprecated dllexport dllimport dynamic_cast enum union bool naked typeid noinline noreturn nothrow register this reinterpret_cast selectany sizeof static_cast struct template thread throw try typedef typename".split(" ")});a.exports=c}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(14),u=i(0),r=i(3),n=i(17),o=i(1),h=i(25),c={};c[o.BLANK]=c[o.TAB]=c[o.COMMENT]=c[o.LINE]=c[o.ENTER]=!0;var d={};d[h.CNDTEXPR]=d[h.LOGOREXPR]=d[h.LOGANDEXPR]=d[h.BITOREXPR]=d[h.BITXOREXPR]=d[h.BITANDEXPR]=d[h.EQEXPR]=d[h.RELTEXPR]=d[h.SHIFTEXPR]=d[h.ADDEXPR]=d[h.MTPLEXPR]=d[h.UNARYEXPR]=d[h.POSTFIXEXPR]=!0;var l=s.extend(function(t){return s.call(this,t),this.init(t),this}).methods({parse:function(t){return this.lexer.parse(t),this.tree=this.script(),this.tree},init:function(t){this.look=null,this.tokens=null,this.lastLine=1,this.lastCol=1,this.line=1,this.col=1,this.index=0,this.length=0,this.ignores={},this.hasMoveLine=!1,this.module=!1,this.tree={},t?this.lexer=t:this.lexer?this.lexer.init():this.lexer=new r(new n)},script:function(){this.tokens=this.lexer.tokens(),this.length=this.tokens.length,this.tokens.length&&this.move();var t=new h(h.SCRIPT);return this.look&&(t.add(this.modulebody()),this.module||t.leaf(0).name(h.SCRIPTBODY)),t},modulebody:function(){for(var t=new h(h.MODULEBODY);this.look;)t.add(this.moduleitem());return t},moduleitem:function(){if("module"==this.look.content())for(var t=this.index;t<this.length;t++){var e=this.tokens[t];if(!c[e.type()]){if(e.type()==o.ID)return this.module=!0,this.moduleimport();break}}else{if("import"==this.look.content())return this.module=!0,this.importdecl();if("export"==this.look.content())return this.module=!0,this.exportdecl()}return this.stmtlitem()},importdecl:function(){var t=new h(h.IMPORTDECL);return t.add(this.match("import")),this.look||this.error(),this.look.type()==o.STRING?t.add(this.match()):t.add(this.importcaulse(),this.fromcaulse()),t.add(this.match(";")),t},moduleimport:function(){var t=new h(h.MODULEIMPORT);return t.add(this.match("module",!0),this.bindid(),this.fromcaulse(),this.match(";")),t},fromcaulse:function(){var t=new h(h.FROMCAULSE);return t.add(this.match("from"),this.match(o.STRING)),t},importcaulse:function(){for(var t=new h(h.IMPORTCAULSE);this.look;){if(this.look.type()!=o.ID){if("{"==this.look.content()){t.add(this.nameimport());break}break}if(t.add(this.match()),!this.look||","!=this.look.content())break;t.add(this.match())}return t},nameimport:function(){var t=new h(h.NAMEIMPORT);for(t.add(this.match("{"));this.look&&"}"!=this.look.content();)t.add(this.importspec()),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match("}")),t},importspec:function(){var t=new h(h.IMPORTSPEC);this.look&&this.look.type()==o.ID||this.error();for(var e=this.index;e<this.length;e++){var i=this.tokens[e];if(!c[i.type()]){if("as"==i.content())return t.add(this.match(),this.match(),this.bindid()),t;break}}return t.add(this.idref()),t},exportdecl:function(){var t=new h(h.EXPORTDECL);return t.add(this.match("export")),this.look||this.error(),"*"==this.look.content()?t.add(this.match(),this.fromcaulse(),this.match(";")):"{"==this.look.content()?(t.add(this.exportcaulse()),this.look&&"from"==this.look.content()&&t.add(this.fromcaulse()),t.add(this.match(";"))):"default"==this.look.content()?t.add(this.match(),this.assignexpr(),this.match(";")):"var"==this.look.content()?t.add(this.varstmt()):t.add(this.decl()),t},exportcaulse:function(){for(var t=new h(h.EXPORTCAULSE);this.look&&"}"!=this.look.content();)t.add(this.match("{")),t.add(this.exportspec()),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match("}")),t},exportspec:function(){var t=new h(h.EXPORTSPEC);return t.add(this.idref()),this.look&&"as"==this.look.content()&&t.add(this.match("as"),this.match(o.ID)),t},stmtlitem:function(t){return["function","class","let","const"].indexOf(this.look.content())>-1?this.decl(t):this.stmt(t)},decl:function(t){switch(this.look||this.error(),this.look.content()){case"let":case"const":return this.lexdecl(t);case"function":for(var e=this.index;e<this.length;e++){var i=this.tokens[e];if(!c[i.type()])return"*"==i.content()?this.gendecl():this.fndecl()}return this.fndecl();case"class":return this.classdecl();default:this.error()}},stmt:function(t){switch(this.look||this.error(),this.look.content()){case"var":return this.varstmt(null,t);case"{":return this.blockstmt(t);case";":return this.emptstmt();case"if":return this.ifstmt(t);case"do":case"while":case"for":return this.iterstmt(t);case"continue":return this.cntnstmt();case"break":return this.brkstmt();case"return":return this.retstmt();case"with":return this.withstmt(t);case"switch":return this.swchstmt(t);case"throw":return this.thrstmt(t);case"try":return this.trystmt(t);case"debugger":return this.debstmt();default:if(this.look.type()==o.ID)for(var e=this.index;e<this.length;e++){var i=this.tokens[e];if(!c[i.type()])return":"==i.content()?this.labstmt():this.exprstmt(t)}return this.exprstmt(t)}},exprstmt:function(t){var e=new h(h.EXPRSTMT);return e.add(this.expr(null,null,t),this.match(";")),e},lexdecl:function(t){var e=new h(h.LEXDECL);for("let"==this.look.content()?e.add(this.match()):"const"==this.look.content()?e.add(this.match()):this.error(),e.add(this.lexbind(t));this.look&&","==this.look.content();)e.add(this.match(),this.lexbind(t));return e.add(this.match(";")),e},lexbind:function(t){var e=new h(h.LEXBIND);return this.declnode(e,t),e},declnode:function(t,e){this.look||this.error("missing variable name"),["[","{"].indexOf(this.look.content())>-1?(t.add(this.bindpat()),this.look&&"="==this.look.content()||this.error("missing = in destructuring declaration"),t.add(this.initlz(null,null,e))):(t.add(this.bindid("missing variable name")),this.look&&"="==this.look.content()&&t.add(this.initlz(null,null,e)))},varstmt:function(t,e){var i=new h(h.VARSTMT);for(i.add(this.match("var"),this.vardecl(e));this.look&&","==this.look.content();)i.add(this.match(),this.vardecl(e));return t||i.add(this.match(";")),i},vardecl:function(t){var e=new h(h.VARDECL);return this.declnode(e,t),e},bindid:function(t,e,i,a){var s=new h(h.BINDID);return this.look||this.error(t),e&&"in"==this.look.content()&&this.error(),i&&"of"==this.look.content()&&this.error(),a&&this.look.type()==o.KEYWORD?s.add(this.match(void 0,t)):s.add(this.match(o.ID,t)),s},bindpat:function(){return"["==this.look.content()?this.arrbindpat():"{"==this.look.content()?this.objbindpat():void this.error()},arrbindpat:function(){var t=new h(h.ARRBINDPAT);for(t.add(this.match("["));this.look&&"]"!=this.look.content();)if(","==this.look.content())t.add(this.match());else{if("..."==this.look.content())break;t.add(this.bindelem())}return this.look&&"..."==this.look.content()&&t.add(this.bindrest()),t.add(this.match("]","missing ] after element list")),t},bindelem:function(){var t=new h(h.BINDELEM);return["[","{"].indexOf(this.look.content())>-1?(t.add(this.bindpat()),this.look&&"="==this.look.content()&&t.add(this.initlz()),t):this.singlename()},singlename:function(t){var e=new h(h.SINGLENAME);return e.add(this.bindid(null,null,null,t)),this.look&&"="==this.look.content()&&e.add(this.initlz()),e},bindrest:function(){var t=new h(h.BINDREST);return t.add(this.match("..."),this.bindid("no parameter name after ...")),t},objbindpat:function(){var t=new h(h.OBJBINDPAT);for(t.add(this.match("{"));this.look&&"}"!=this.look.content();)t.add(this.bindpropt()),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match("}","missing } after property list")),t},bindpropt:function(){var t=new h(h.BINDPROPT);switch(this.look.type()){case o.ID:case o.STRING:case o.NUMBER:case o.KEYWORD:break;default:"["!=this.look.content()&&this.error("invalid property id")}if("["==this.look.content())return t.add(this.proptname(),this.match(":"),this.bindelem()),t;for(var e=this.index;e<this.length;e++){var i=this.tokens[e];if(!c[i.type()])return":"==i.content()?t.add(this.proptname(),this.match(":"),this.bindelem()):t.add(this.singlename(!0)),t}this.error("missing : after property id")},blockstmt:function(t){var e=new h(h.BLOCKSTMT);return e.add(this.block(null,t)),e},block:function(t,e){var i=new h(h.BLOCK);for(i.add(this.match("{",t));this.look&&"}"!=this.look.content();)i.add(this.stmtlitem(e));return i.add(this.match("}","missing } in compound statement")),i},emptstmt:function(){var t=new h(h.EMPTSTMT);return t.add(this.match(";")),t},ifstmt:function(t){var e=new h(h.IFSTMT);return e.add(this.match("if"),this.match("("),this.expr(),this.match(")"),this.stmt(t)),this.look&&"else"==this.look.content()&&e.add(this.match("else"),this.stmt(t)),e},iterstmt:function(t){var e=new h(h.ITERSTMT);switch(this.look.content()){case"do":e.add(this.match(),this.stmt(t),this.match("while"),this.match("("),this.expr(),this.match(")"),this.match(";"));break;case"while":e.add(this.match(),this.match("("),this.expr(),this.match(")"),this.stmt(t));break;case"for":if(e.add(this.match(),this.match("(")),this.look||this.error(),"var"==this.look.content()){var i=!1;t:for(var a=this.index;a<this.length;a++){var s=this.tokens[a];if(!c[s.type()]){if(["{","["].indexOf(s.content())>-1)e.add(this.match(),this.forbind());else if(s.type()==o.ID)for(var u=a+1;u<this.length;u++){var r=this.tokens[u];if(!c[r.type()]){["in","of"].indexOf(r.content())>-1?e.add(this.match(),this.forbind()):e.add(this.varstmt(!0)),i=!0;break t}}else this.error();i=!0;break}}if(i&&this.look||this.error("missing ; after for-loop initializer"),["in","of"].indexOf(this.look.content())>-1){e.leaf(2).name()==h.VARSTMT&&e.leaf(2).size()>2&&this.error("invalid for/in left-hand side");var n="of"==this.look.content();e.add(this.match(),n?this.assignexpr():this.expr())}else e.add(this.match(";")),";"!=this.look.content()&&e.add(this.expr()),e.add(this.match(";")),this.look||this.error(),")"!=this.look.content()&&e.add(this.expr())}else if(["let","const"].indexOf(this.look.content())>-1)t:for(a=this.index;a<this.length;a++){s=this.tokens[a];if(!c[s.type()]){if(["{","["].indexOf(s.content())>-1){e.add(this.lexdecl(t)),this.look&&";"!=this.look.content()&&e.add(this.expr()),e.add(this.match(";")),this.look&&")"!=this.look.content()&&e.add(this.expr());break}if(s.type()==o.ID)for(u=a+1;u<this.length;u++){r=this.tokens[u];if(!c[r.type()]){if(["in","of"].indexOf(r.content())>-1){e.add(this.match(),this.forbind());n="of"==r.content();e.add(this.match(),n?this.assignexpr():this.expr())}else e.add(this.lexdecl(t)),this.look&&";"!=this.look.content()&&e.add(this.expr()),e.add(this.match(";")),this.look&&")"!=this.look.content()&&e.add(this.expr());break t}}else this.error()}}else{var d;["in","of"].indexOf(this.look.content())>-1&&this.error(),";"!=this.look.content()&&(d=this.expr(!0,!0),e.add(d)),this.look||this.error("missing ;"),"in"==this.look.content()?d.name()==h.MMBEXPR||d.name()==h.PRMREXPR||d.name()==h.NEWEXPR?e.add(this.match(),this.expr()):this.error("invalid for/in left-hand side"):"of"==this.look.content()?d.name()==h.MMBEXPR||d.name()==h.PRMREXPR||d.name()==h.NEWEXPR?e.add(this.match(),this.assignexpr()):this.error("invalid for/in left-hand side"):(e.add(this.match(";","missing ;")),this.look||this.error(),";"!=this.look.content()&&e.add(this.expr()),e.add(this.match(";","missing ;")),this.look||this.error(),")"!=this.look.content()&&e.add(this.expr()))}e.add(this.match(")")),e.add(this.stmt(t))}return e},cntnstmt:function(){var t=new h(h.CNTNSTMT);return t.add(this.match("continue",!0)),this.look&&this.look.type()==o.ID&&t.add(this.match()),t.add(this.match(";")),t},brkstmt:function(){var t=new h(h.BRKSTMT);return t.add(this.match("break",!0)),this.look&&this.look.type()==o.ID&&t.add(this.match()),t.add(this.match(";")),t},retstmt:function(){var t=new h(h.RETSTMT);return t.add(this.match("return",!0)),this.look?";"==this.look.content()||"}"==this.look.content()||this.look.type()==o.LINE||this.look.type()==o.COMMENT?t.add(this.match(";")):t.add(this.expr(),this.match(";")):t.add(this.match(";")),t},withstmt:function(t){var e=new h(h.WITHSTMT);return e.add(this.match("with","missing ( before with-statement object"),this.match("("),this.expr(),this.match(")","missing ) after with-statement object"),this.stmt(t)),e},swchstmt:function(t){var e=new h(h.SWCHSTMT);return e.add(this.match("switch"),this.match("("),this.expr(),this.match(")"),this.caseblock(t)),e},caseblock:function(t){var e=new h(h.CASEBLOCK);for(e.add(this.match("{"));this.look&&"}"!=this.look.content();)"case"==this.look.content()?e.add(this.caseclause(t)):"default"==this.look.content()?e.add(this.dftclause(t)):this.error("invalid switch statement");return e.add(this.match("}")),e},caseclause:function(t){var e=new h(h.CASECLAUSE);for(e.add(this.match("case"),this.expr(),this.match(":"));this.look&&"case"!=this.look.content()&&"default"!=this.look.content()&&"}"!=this.look.content();)e.add(this.stmt(t));return e},dftclause:function(t){var e=new h(h.DFTCLAUSE);for(e.add(this.match("default"),this.match(":"));this.look&&"case"==this.look.content();)e.add(this.match("case"),this.expr(),this.match(":"));for(;this.look&&"}"!=this.look.content();)e.add(this.stmt(t));return e},labstmt:function(){var t=new h(h.LABSTMT);return t.add(this.match(o.ID),this.match(":"),this.stmt()),t},thrstmt:function(){var t=new h(h.THRSTMT);return t.add(this.match("throw",!0),this.expr(),this.match(";")),t},trystmt:function(t){var e=new h(h.TRYSTMT);return e.add(this.match("try"),this.block("missing { before try block",t)),this.look&&"catch"==this.look.content()?(e.add(this.cach(t)),this.look&&"finally"==this.look.content()&&e.add(this.finl(t))):e.add(this.finl(t)),e},debstmt:function(){var t=new h(h.DEBSTMT);return t.add(this.match("debugger"),this.match(";")),t},cach:function(t){var e=new h(h.CACH);return e.add(this.match("catch","missing catch or finally after try"),this.match("(","missing ( before catch"),this.cachparam(),this.match(")","missing ) after catch"),this.block("missing { before catch block",t)),e},cachparam:function(){var t=new h(h.CACHPARAM);return["[","{"].indexOf(this.look.content())>-1?t.add(this.bindpat()):t.add(this.bindid("missing identifier in catch")),t},finl:function(t){var e=new h(h.FINL);return e.add(this.match("finally"),this.block("missing { before finally block",t)),e},imptstmt:function(){return new h(h.IMPTSTMT)},fndecl:function(){var t=new h(h.FNDECL);return t.add(this.match("function"),this.bindid("function statement requires a name"),this.match("(","missing ( before formal parameters"),this.fmparams(),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(),this.match("}","missing } after function body")),t},fnexpr:function(t,e){var i=new h(h.FNEXPR);return i.add(this.match("function")),this.look||this.error("missing formal parameter"),this.look.type()==o.ID&&i.add(this.bindid(null,t,e)),i.add(this.match("(","missing ( before formal parameters"),this.fmparams(),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(),this.match("}","missing } after function body")),i},genexpr:function(t,e){var i=new h(h.GENEXPR);return i.add(this.match("function"),this.match("*")),this.look||this.error("missing formal parameter"),this.look.type()==o.ID&&i.add(this.bindid(null,t,e)),i.add(this.match("(","missing ( before formal parameters"),this.fmparams(),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(!0),this.match("}","missing } after function body")),i},gendecl:function(t,e){var i=new h(h.GENDECL);return i.add(this.match("function"),this.match("*")),i.add(this.bindid("missing formal parameter",t,e)),i.add(this.match("(","missing ( before formal parameters"),this.fmparams(),this.match(")","missing ) after formal parameters"),this.match("{"),this.fnbody(!0),this.match("}","missing } after function body")),i},fmparams:function(){var t=new h(h.FMPARAMS);if(this.look||this.error("missing formal parameter"),")"!=this.look.content())for(;this.look&&"..."!=this.look.content()&&(t.add(this.bindelem(!0)),!this.look||")"!=this.look.content());)this.look&&","==this.look.content()&&t.add(this.match());return this.look||this.error("missing ) after formal parameters"),"..."==this.look.content()&&t.add(this.bindrest(!0)),t},fnbody:function(t){for(var e=new h(h.FNBODY);this.look&&"}"!=this.look.content();)e.add(this.stmtlitem(t));return e},classdecl:function(){var t=new h(h.CLASSDECL);return t.add(this.match("class"),this.bindid()),this.look||this.error(),"extends"==this.look.content()&&t.add(this.heratige()),t.add(this.match("{"),this.classbody(),this.match("}")),t},classexpr:function(t,e){var i=new h(h.CLASSEXPR);return i.add(this.match("class")),this.look||this.error(),this.look.type()==o.ID&&i.add(this.bindid(null,t,e)),this.look||this.error(),"extends"==this.look.content()&&i.add(this.heratige(t,e)),i.add(this.match("{"),this.classbody(t,e),this.match("}")),i},heratige:function(t,e){var i=new h(h.HERITAGE);return i.add(this.match("extends"),this.leftexpr(t,e)),i},classbody:function(t,e){for(var i=new h(h.CLASSBODY);this.look&&"}"!=this.look.content();)i.add(this.classelem(t,e));return i},classelem:function(t,e){var i=new h(h.CLASSELEM);return";"==this.look.content()?i.add(this.match()):"static"==this.look.content()?i.add(this.match(),this.method(t,e)):i.add(this.method(t,e)),i},method:function(t,e){var i=new h(h.METHOD);if("get"==this.look.content())i.add(this.match(),this.proptname(t,e),this.match("("),this.match(")"),this.match("{"),this.fnbody(),this.match("}"));else if("set"==this.look.content())i.add(this.match(),this.proptname(t,e),this.match("("),this.fmparams(),this.match(")"),this.match("{"),this.fnbody(),this.match("}"));else{if("*"==this.look.content())return this.genmethod(t,e);i.add(this.proptname(t,e),this.match("("),this.fmparams(),this.match(")"),this.match("{"),this.fnbody(),this.match("}"))}return i},genmethod:function(t,e){var i=new h(h.GENMETHOD);return i.add(this.match("*"),this.proptname(t,e),this.match("("),this.fmparams(),this.match(")"),this.match("{"),this.fnbody(),this.match("}")),i},expr:function(t,e,i){var a=new h(h.EXPR),s=this.assignexpr(t,e,i);if(!this.look||","!=this.look.content())return s;for(var u=this.index;u<this.length;u++){var r=this.tokens[u];if(!c[r.type()]){if("..."==r.content())return s;break}}a.add(s);t:for(;this.look&&","==this.look.content();){for(u=this.index;u<this.length;u++){r=this.tokens[u];if(!c[r.type()]){if("..."==r.content())break t;break}}a.add(this.match(),this.assignexpr(t,e,i))}return a},initlz:function(t,e,i){var a=new h(h.INITLZ);return a.add(this.match("="),this.assignexpr(t,e,i)),a},assignexpr:function(t,e,i){var a=new h(h.ASSIGNEXPR);if(this.look||this.error(),"yield"==this.look.content())return i||this.error("yield not in generator function"),this.yieldexpr(t,e,i);var s=this.cndtexpr(t,e,i);if(this.look&&"=>"==this.look.content()&&0==this.hasMoveLine&&s.name()==h.PRMREXPR&&1==s.size()&&(s.first().name()==h.CPEAPL||s.first().name()==h.TOKEN&&s.first().token().type()==o.ID)){a=new h(h.ARROWFN);var u=new h(h.ARROWPARAMS);u.add(s.first()),a.add(u,this.match(),this.cncsbody(t,e,i))}else{if(!this.look||!{"*=":!0,"/=":!0,"%=":!0,"+=":!0,"-=":!0,"<<=":!0,">>=":!0,">>>=":!0,"&=":!0,"^=":!0,"|=":!0,"=":!0}.hasOwnProperty(this.look.content())||d.hasOwnProperty(s.name()))return s;a.add(s,this.match(),this.assignexpr(t,e,i))}return a},yieldexpr:function(t,e,i){var a=new h(h.YIELDEXPR);return a.add(this.match("yield")),this.look&&"*"==this.look.content()&&a.add(this.match()),this.look||this.error(),-1==[";","}"].indexOf(this.look.content())&&this.look.type()!=o.KEYWORD&&a.add(this.assignexpr(t,e,i)),a},cpeapl:function(){var t=new h(h.CPEAPL);return t.add(this.match("(")),this.look||this.error(),"..."==this.look.content()?(t.add(this.match(),this.bindid(),this.match(")")),t):(")"!=this.look.content()&&t.add(this.expr()),","==this.look.content()&&t.add(this.match(),this.match("..."),this.bindid()),t.add(this.match(")")),t)},cncsbody:function(t,e){var i=new h(h.CNCSBODY);return this.look||this.error(),"{"==this.look.content()?i.add(this.match(),this.fnbody(),this.match("}")):i.add(this.assignexpr(t,e)),i},cndtexpr:function(t,e,i){var a=new h(h.CNDTEXPR),s=this.logorexpr(t,e,i);return this.look&&"?"==this.look.content()?(a.add(s,this.match(),this.assignexpr(t,e,i),this.match(":"),this.assignexpr(t,e,i)),a):s},logorexpr:function(t,e,i){var a=new h(h.LOGOREXPR),s=this.logandexpr(t,e,i);if(!this.look||"||"!=this.look.content())return s;for(a.add(s);this.look&&"||"==this.look.content();)a.add(this.match(),this.logandexpr(t,e,i));return a},logandexpr:function(t,e,i){var a=new h(h.LOGANDEXPR),s=this.bitorexpr(t,e);if(!this.look||"&&"!=this.look.content())return s;for(a.add(s);this.look&&"&&"==this.look.content();)a.add(this.match(),this.bitorexpr(t,e,i));return a},bitorexpr:function(t,e,i){var a=new h(h.BITOREXPR),s=this.bitxorexpr(t,e,i);if(!this.look||"|"!=this.look.content())return s;for(a.add(s);this.look&&"|"==this.look.content();)a.add(this.match(),this.bitxorexpr(t,e,i));return a},bitxorexpr:function(t,e,i){var a=new h(h.BITXOREXPR),s=this.bitandexpr(t,e,i);if(!this.look||"^"!=this.look.content())return s;for(a.add(s);this.look&&"^"==this.look.content();)a.add(this.match(),this.bitandexpr(t,e,i));return a},bitandexpr:function(t,e,i){var a=new h(h.BITANDEXPR),s=this.eqexpr(t,e,i);if(!this.look||"&"!=this.look.content())return s;for(a.add(s);this.look&&"&"==this.look.content();)a.add(this.match(),this.eqexpr(t,e,i));return a},eqexpr:function(t,e,i){var a=new h(h.EQEXPR),s=this.reltexpr(t,e,i);if(!this.look||!{"==":!0,"===":!0,"!==":!0,"!=":!0}.hasOwnProperty(this.look.content()))return s;for(a.add(s);this.look&&{"==":!0,"===":!0,"!==":!0,"!=":!0}.hasOwnProperty(this.look.content());)a.add(this.match(),this.reltexpr(t,e,i));return a},reltexpr:function(t,e,i){var a=new h(h.RELTEXPR),s=this.shiftexpr();if(!this.look||!{"<":!0,">":!0,">=":!0,"<=":!0,instanceof:!0}.hasOwnProperty(this.look.content())&&(t||"in"!=this.look.content()))return s;for(a.add(s);this.look&&({"<":!0,">":!0,">=":!0,"<=":!0,instanceof:!0}.hasOwnProperty(this.look.content())||!t&&"in"==this.look.content());)a.add(this.match(),this.shiftexpr(t,e,i));return a},shiftexpr:function(t,e,i){var a=new h(h.SHIFTEXPR),s=this.addexpr(t,e,i);if(!this.look||-1==["<<",">>",">>>"].indexOf(this.look.content()))return s;for(a.add(s);this.look&&-1!=["<<",">>",">>>"].indexOf(this.look.content());)a.add(this.match(),this.addexpr(t,e,i));return a},addexpr:function(t,e,i){var a=new h(h.ADDEXPR),s=this.mtplexpr(t,e,i);if(!this.look||-1==["+","-"].indexOf(this.look.content()))return s;for(a.add(s);this.look&&-1!=["+","-"].indexOf(this.look.content());)a.add(this.match(),this.mtplexpr(t,e,i));return a},mtplexpr:function(t,e,i){var a=new h(h.MTPLEXPR),s=this.unaryexpr(t,e,i);if(!this.look||-1==["*","/","%"].indexOf(this.look.content()))return s;for(a.add(s);this.look&&-1!=["*","/","%"].indexOf(this.look.content());)a.add(this.match(),this.unaryexpr(t,e,i));return a},unaryexpr:function(t,e,i){var a=new h(h.UNARYEXPR);switch(this.look||this.error(),this.look.content()){case"++":case"--":a.add(this.match(),this.leftexpr(t,e,i));break;case"delete":case"void":case"typeof":case"+":case"-":case"~":case"!":a.add(this.match(),this.unaryexpr(t,e,i));break;default:return this.postfixexpr(t,e,i)}return a},postfixexpr:function(t,e,i){var a=new h(h.POSTFIXEXPR),s=this.leftexpr(t,e,i);return this.look&&["++","--"].indexOf(this.look.content())>-1&&!this.hasMoveLine?(a.add(s,this.match(void 0,!0)),a):s},leftexpr:function(t,e,i){return"new"==this.look.content()?this.newexpr(0,t,e,i):this.callexpr(null,t,e,i)},newexpr:function(t,e,i,a){t=t||0;var s=new h(h.NEWEXPR);if(s.add(this.match("new")),this.look||this.error(),"new"==this.look.content())s.add(this.newexpr(t+1,e,i,a));else if("super"==this.look.content()){for(var u=!1,r=this.index;r<this.length;r++){var n=this.tokens[r];if(!c[n.type()]){[".","["].indexOf(n.content())>-1?s.add(this.mmbexpr(e,i,a)):s.add(this.match()),u=!0;break}}u||s.add(this.match())}else s.add(this.mmbexpr(e,i,a));if(this.look&&"("==this.look.content()&&s.add(this.args()),this.look&&[".","["].indexOf(this.look.content())>-1){var d=new h(h.MMBEXPR);for(d.add(s);this.look;)if("."==this.look.content())d.add(this.match(),this.match(o.ID,"missing name after . operator"));else{if("["!=this.look.content())break;d.add(this.match(),this.expr(e,i,a),this.match("]"))}return 0==t&&this.look&&"("==this.look.content()?this.callexpr(d,e,i,a):d}return s},callexpr:function(t,e,i,a){var s=new h(h.CALLEXPR);if(!t)if("super"==this.look.content())for(var u=this.index;u<this.length;u++){var r=this.tokens[u];if(!c[r.type()]){"("==r.content()?(s.add(this.match(),this.args()),t=s,s=new h(h.CALLEXPR)):t=this.mmbexpr(e,i,a);break}}else t=this.mmbexpr(e,i,a);if(!this.look||"("!=this.look.content())return t;for(s.add(t,this.args());this.look;){var n;if("."==this.look.content())(n=new h(h.MMBEXPR)).add(s,this.match(),this.match(o.ID,"missing name after . operator")),s=n;else if("["==this.look.content())(n=new h(h.MMBEXPR)).add(s,this.match(),this.expr(e,i,a),this.match("]")),s=n;else if("("==this.look.content())(n=new h(h.CALLEXPR)).add(s,this.args()),s=n;else{if(this.look.type()!=o.TEMPLATE)break;(n=new h(h.CALLEXPR)).add(s,this.match()),s=n}}return s},mmbexpr:function(t,e,i){var a,s=new h(h.MMBEXPR);if("super"==this.look.content()?(a=this.match(),this.look&&-1!=[".","["].indexOf(this.look.content())||this.error()):a=this.prmrexpr(t,e,i),!this.look||!([".","["].indexOf(this.look.content())>-1||this.look.type()==o.TEMPLATE))return a;for(s.add(a),"."==this.look.content()?s.add(this.match(),this.match(o.ID,"missing name after . operator")):"["==this.look.content()?s.add(this.match(),this.expr(t,e,i),this.match("]")):s.add(this.match());this.look;){var u;if("."==this.look.content())(u=new h(h.MMBEXPR)).add(s,this.match(),this.match(o.ID,"missing name after . operator")),s=u;else if("["==this.look.content())(u=new h(h.MMBEXPR)).add(s,this.match(),this.expr(t,e,i),this.match("]")),s=u;else{if(this.look.type()!=o.TEMPLATE)break;(u=new h(h.MMBEXPR)).add(s,this.match()),s=u}}return s},prmrexpr:function(t,e,i){var a=new h(h.PRMREXPR);switch(this.look.type()){case o.ID:t&&"in"==this.look.content()&&this.error(),e&&"of"==this.look.content()&&this.error(),a.add(this.idref(t,e));break;case o.NUMBER:case o.STRING:case o.REG:case o.TEMPLATE:a.add(this.match());break;default:switch(this.look.content()){case"function":for(var s=this.index;s<this.length;s++){var u=this.tokens[s];if(!c[u.type()]){"*"==u.content()?a.add(this.genexpr(t,e)):a.add(this.fnexpr(t,e));break}}break;case"class":a.add(this.classexpr(t,e));break;case"this":case"null":case"true":case"false":a.add(this.match());break;case"(":for(s=this.index;s<this.length;s++){u=this.tokens[s];if(!c[u.type()]){"for"==u.content()?a.add(this.gencmph(t,e,i)):a.add(this.cpeapl(t,e,i));break}}break;case"[":a.add(this.arrinit(t,e));break;case"{":a.add(this.objltr(t,e));break;default:this.error()}}return a},arrinit:function(t,e){for(var i=this.index;i<this.length;i++){var a=this.tokens[i];if(!c[a.type()])return"for"==a.content()?this.arrcmph(t,e):this.arrltr(t,e)}this.error()},gencmph:function(t,e,i){var a=new h(h.GENCMPH);return a.add(this.match("("),this.cmph(t,e,i),this.match(")")),a},arrcmph:function(t,e){var i=new h(h.ARRCMPH);return i.add(this.match("["),this.cmph(t,e),this.match("]","missing ] after element list")),i},cmph:function(t,e,i){var a=new h(h.CMPH);for(a.add(this.cmphfor());this.look&&"]"!=this.look.content();)if("for"==this.look.content())a.add(this.cmphfor(t,e,i));else{if("if"!=this.look.content()){a.add(this.assignexpr(t,e,i));break}a.add(this.cmphif(t,e,i))}return a},cmphfor:function(t,e){var i=new h(h.CMPHFOR);return i.add(this.match("for"),this.match("("),this.forbind(t,e),this.match("of"),this.assignexpr(t,e),this.match(")")),i},forbind:function(t,e){return this.look||this.error(),["[","{"].indexOf(this.look.content())>-1?this.bindpat():this.bindid(t,e)},cmphif:function(t,e){var i=new h(h.CMPHIF);return i.add(this.match("if"),this.match("("),this.assignexpr(t,e),this.match(")")),i},arrltr:function(t,e){var i=new h(h.ARRLTR);for(i.add(this.match("["));this.look&&"]"!=this.look.content();)","==this.look.content()?i.add(this.match()):"..."==this.look.content()?i.add(this.spread(t,e)):(i.add(this.assignexpr(t,e)),this.look&&","==this.look.content()&&i.add(this.match()));return i.add(this.match("]","missing ] after element list")),i},spread:function(t,e){var i=new h(h.SPREAD);return i.add(this.match("..."),this.assignexpr(t,e)),i},objltr:function(t,e){var i=new h(h.OBJLTR);for(i.add(this.match("{"));this.look&&"}"!=this.look.content();)i.add(this.proptdef(t,e)),this.look&&","==this.look.content()&&i.add(this.match());return i.add(this.match("}","missing } after property list")),i},proptdef:function(t,e){var i=new h(h.PROPTDEF);if(this.look||this.error(),"["==this.look.content()){var a=this.cmptpropt(t,e);this.look||this.error(),":"==this.look.content()?i.add(this.proptname(a,t,e),this.match(),this.assignexpr(t,e)):i.add(a)}else switch(this.look.type()){case o.ID:for(var s=!1,u=this.index;u<this.length;u++){var r=this.tokens[u];if(!c[r.type()]){[o.KEYWORD,o.ID].indexOf(r.type())>-1||"("==r.content()?(i.add(this.method(t,e)),s=!0):"="==r.content()?(i.add(this.match(),this.initlz(t,e)),s=!0):[",","}"].indexOf(r.content())>-1&&(i.add(this.idref(t,e)),s=!0);break}}if(s)break;case o.STRING:case o.NUMBER:case o.KEYWORD:i.add(this.proptname(t,e),this.match(":","missing : after property id"),this.assignexpr(t,e));break;default:this.error("invalid property id")}return i},idref:function(t,e){return this.look||this.error("invalid property id"),t&&"in"==this.look.content()&&this.error(),e&&"of"==this.look.content()&&this.error(),this.match(o.ID,"invalid property id")},proptname:function(t,e,i){var a=new h(h.PROPTNAME);return this.look||this.error("invalid property id"),t?a.add(t):"["==this.look.content()?a.add(this.cmptpropt(e,i)):a.add(this.ltrpropt(e,i)),a},ltrpropt:function(t,e){var i=new h(h.LTRPROPT);switch(this.look.type()){case o.ID:t&&"in"==this.look.content()&&this.error(),e&&"of"==this.look.content()&&this.error();case o.NUMBER:case o.STRING:case o.KEYWORD:return i.add(this.match()),i;default:this.error("invalid property id")}},cmptpropt:function(t,e){var i=new h(h.CMPTPROPT);return i.add(this.match("["),this.assignexpr(t,e),this.match("]")),i},args:function(){var t=new h(h.ARGS);return t.add(this.match("(")),this.look||this.error(),t.add(this.arglist()),t.add(this.match(")")),t},arglist:function(){var t=new h(h.ARGLIST);if(this.look&&"..."==this.look.content())t.add(this.match(),this.assignexpr());else if(this.look&&")"!=this.look.content())for(;this.look;)if(t.add(this.assignexpr()),this.look)if(","==this.look.content()){if(t.add(this.match()),this.look&&"..."==this.look.content()){t.add(this.match(),this.assignexpr());break}}else if(")"==this.look.content())break;return t},virtual:function(t){return new h(h.TOKEN,new o(o.VIRTUAL,t))},match:function(t,e,i){if("boolean"==typeof t&&(i=e,e=t,t=void 0),"boolean"!=typeof e&&(i=e=!1),u.isUndefined(t)){if(this.look){var a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("syntax error"+(i||""))}else if("string"==typeof t){if(";"==t&&(!this.look||this.look.content()!=t&&this.hasMoveLine||"}"==this.look.content()))return this.look&&c[this.look.type()]&&this.move(),this.virtual(";");if(this.look&&this.look.content()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+t+(i||""))}else if("number"==typeof t){if(this.look&&this.look.type()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+o.type(t)+(i||""))}},move:function(t){this.lastLine=this.line,this.lastCol=this.col,this.hasMoveLine=!1;do{if(this.look=this.tokens[this.index++],!this.look)return;if(c[this.look.type()]&&(this.ignores[this.index-1]=this.look),this.look.type()==o.LINE){if(this.line++,this.col=1,this.hasMoveLine=!0,t)break}else if(this.look.type()==o.COMMENT){var e=this.look.content(),i=u.count(this.look.content(),u.LINE);if(i>0){this.line+=i;var a=e.lastIndexOf(u.LINE);if(this.col+=e.length-a-1,this.hasMoveLine=!0,t)break}}else if(this.col+=this.look.content().length,!c[this.look.type()])break}while(this.index<=this.length)},error:function(t){throw t="SyntaxError: "+(t||" syntax error"),new Error(t+" line "+this.lastLine+" col "+this.lastCol)}});a.exports=l}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(14),u=i(0),r=i(3),n=i(22),o=i(11),h=i(26),c={};c[o.BLANK]=c[o.TAB]=c[o.COMMENT]=c[o.LINE]=!0;var d={only:!0,not:!0,all:!0,aural:!0,braille:!0,handheld:!0,print:!0,projection:!0,screen:!0,tty:!0,embossed:!0,tv:!0,"(":!0},l={all:!0,aural:!0,braille:!0,handheld:!0,print:!0,projection:!0,screen:!0,tty:!0,embossed:!0,tv:!0},f={font:!0,"border-image":!0,"device-aspect-ratio":!0,"device-pixel-ratio":!0,"min-device-pixel-ratio":!0,"max-device-pixel-ratio":!0,"min--moz-device-pixel-ratio":!0,"max--moz-device-pixel-ratio":!0},m=s.extend(function(t){return s.call(this,t),this.init(t),this}).methods({init:function(t){t?this.lexer=t:this.lexer?this.lexer.init():this.lexer=new r(new n),this.look=null,this.tokens=null,this.lastLine=1,this.lastCol=1,this.line=1,this.col=1,this.index=0,this.length=0,this.ignores={},this.tree={}},parse:function(t){return this.lexer.parse(t),this.tree=this.sheet(),this.tree},ast:function(){return this.tree},sheet:function(){this.tokens=this.lexer.tokens(),this.length=this.tokens.length,this.tokens.length&&this.move();for(var t=new h(h.SHEET);this.look;){var e=this.element();e&&t.add(e)}return t},element:function(){switch(this.look.type()){case o.HEAD:return this.head();case o.VARS:for(var t=!1,e=this.index;e<this.length;e++){var i=this.tokens[e];if(!c.hasOwnProperty(i.type())){t="("==i.content();break}}return t?this.fn():this.vardecl();case o.SELECTOR:case o.PSEUDO:return this.styleset();default:return"["==this.look.content()&&this.look.type()!=o.HACK?this.styleset():(["{","}"].indexOf(this.look.content())>-1&&this.error(),this.match())}},head:function(){var t=this.look.content().toLowerCase();switch(t=t.replace(/^@(-moz-|-o-|-ms-|-webkit-)/,"@")){case"@import":return this.impt();case"@media":return this.media();case"@charset":return this.charset();case"@font-face":return this.fontface();case"@keyframes":return this.kframes();case"@page":return this.page();case"@namespace":return this.namespace();case"@document":return this.doc();case"@counter-style":return this.ctstyle();case"@viewport":return this.viewport();case"@supports":return this.supports();case"@extend":return this.extend();case"@if":return this.ifstmt();default:this.error("unknow head")}},extend:function(){var t=new h(h.EXTEND);return t.add(this.match()),this.look||this.error(),t.add(this.selectors()),t.add(this.match(";")),t},supports:function(){var t=new h(h.SUPPORTS);for(t.add(this.match());this.look&&"{"!=this.look.content();)t.add(this.cndt());return t.add(this.block()),t},cndt:function(){var t=new h(h.CNDT);switch(this.look||this.error(),this.look.content().toLowerCase()){case"and":case"not":case"or":t.add(this.match()),t.add(this.cndt());break;case"(":t.add(this.match(),this.cndt(),this.match(")"));break;default:t.add(this.style(null,!0))}return t},viewport:function(){var t=new h(h.VIEWPORT);return t.add(this.match()),t.add(this.block()),t},ctstyle:function(){var t=new h(h.CTSTYLE);return t.add(this.match()),t.add(this.match(o.ID)),t.add(this.block()),t},impt:function(){var t=new h(h.IMPORT);return t.add(this.match()),t.add(this.url(!0)),this.look&&d.hasOwnProperty(this.look.content().toLowerCase())&&t.add(this.mediaQList()),t.add(this.match(";")),t},media:function(){var t=new h(h.MEDIA);return t.add(this.match()),this.look||this.error(),(d.hasOwnProperty(this.look.content().toLowerCase())||this.look.type()==o.HACK)&&t.add(this.mediaQList()),this.look&&"{"==this.look.content()&&t.add(this.block()),t},mediaQList:function(){var t=new h(h.MEDIAQLIST);for(t.add(this.mediaQuery());this.look&&","==this.look.content();)t.add(this.match(),this.mediaQuery());return t},mediaQuery:function(){var t=new h(h.MEDIAQUERY);for(this.look&&["only","not"].indexOf(this.look.content().toLowerCase())>-1&&t.add(this.match()),this.look||this.error(),"("==this.look.content()?t.add(this.expr()):t.add(this.mediaType());this.look&&"and"==this.look.content().toLowerCase();)t.add(this.match(),this.expr());return t},mediaType:function(){var t=new h(h.MEDIATYPE);if(this.look&&this.look.type()==o.HACK&&t.add(this.match()),this.look&&l.hasOwnProperty(this.look.content().toLowerCase()))t.add(this.match());else for(;this.look&&[o.ID,o.NUMBER,o.UNITS,o.PROPERTY].indexOf(this.look.type())>-1&&!l.hasOwnProperty(this.look.content().toLowerCase());)t.add(this.match());for(;this.look&&this.look.type()==o.HACK;)if(t.add(this.match()),this.look&&l.hasOwnProperty(this.look.content().toLowerCase()))t.add(this.match());else for(;this.look&&[o.ID,o.NUMBER,o.UNITS,o.PROPERTY].indexOf(this.look.type())>-1&&!l.hasOwnProperty(this.look.content().toLowerCase());)t.add(this.match());return t},expr:function(){var t=new h(h.EXPR);t.add(this.match("("));var e=this.key();t.add(e);var i=e.first();i.token().type()==o.HACK&&(i=i.next());var a=i.token().content().toLowerCase();return this.look&&":"==this.look.content()&&(t.add(this.match(":")),t.add(this.value(a))),t.add(this.match(")")),t},charset:function(){var t=new h(h.CHARSET);return t.add(this.match()),t.add(this.addexpr(o.STRING)),t.add(this.match(";")),t},fontface:function(){var t=new h(h.FONTFACE);t.add(this.match());var e=new h(h.BLOCK);e.add(this.match("{"));t:for(;this.look;){if(this.look.type()==o.VARS){for(var i=!1,a=this.index;a<this.length;a++){var s=this.tokens[a];if(!c.hasOwnProperty(s.type())){i="("==s.content();break}}i?e.add(this.fnc()):(e.add(this.addexpr()),this.look&&":"==this.look.content()?e.add(this.match(),this.value()):e.add(this.match(";")));break}switch(this.look.content().toLowerCase()){case"font-family":case"src":case"font-weight":case"font-style":e.add(this.style(this.look.content()));break;default:break t}}for(;this.look&&"}"!=this.look.content();)e.add(this.style());return e.add(this.match("}")),t.add(e),t},kframes:function(){var t=new h(h.KEYFRAMES);return t.add(this.match()),t.add(this.match(o.ID)),t.add(this.block(!0)),t},page:function(){var t=new h(h.PAGE);return t.add(this.match()),this.look&&this.look.type()==o.ID&&t.add(this.match()),this.look&&this.look.type()==o.PSEUDO&&t.add(this.match()),t.add(this.block()),t},fn:function(){var t=new h(h.FN);return t.add(this.match(o.VARS),this.params(),this.block()),t},params:function(){var t=new h(h.PARAMS);for(t.add(this.match("("));this.look&&")"!=this.look.content();)t.add(this.match(o.VARS)),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match(")")),t},fnc:function(){var t=new h(h.FNC);return t.add(this.match(),this.cparams(),this.match(";")),t},cparams:function(){var t=new h(h.CPARAMS);for(t.add(this.match("("));this.look&&")"!=this.look.content();)this.look.type()==o.KEYWORD||this.look.type()==o.HACK?t.add(this.style(null,!0,!0)):t.add(this.value(null,!0)),this.look&&","==this.look.content()&&t.add(this.match());return t.add(this.match(")")),t},namespace:function(){var t=new h(h.NAMESPACE);return t.add(this.match()),this.look&&this.look.type()==o.ID&&t.add(this.match()),t.add(this.addexpr(o.STRING)),t.add(this.match(";")),t},doc:function(){var t=new h(h.DOC);switch(t.add(this.match()),this.look||this.error(),this.look.content().toLowerCase()){case"url-prefix":case"domain":case"regexp":t.add(this.urlPrefix(this.look.content().toUpperCase().replace("-","")));break;case"url":t.add(this.url());break;default:this.error()}for(;this.look&&","==this.look.content();)switch(t.add(this.match()),this.look||this.error(),this.look.content().toLowerCase()){case"url-prefix":case"domain":case"regexp":t.add(this.urlPrefix(this.look.content().toUpperCase().replace("-","")));break;case"url":t.add(this.url());break;default:this.error()}return this.look&&"{"==this.look.content()&&t.add(this.block()),t},urlPrefix:function(t){var e=new h(h[t]);return e.add(this.match(),this.match("(")),this.look&&")"!=this.look.content()&&e.add(this.addexpr(o.STRING)),e.add(this.match(")")),e},vardecl:function(){var t=new h(h.VARDECL);return t.add(this.match()),this.look||this.error(),[":","="].indexOf(this.look.content())>-1?t.add(this.match()):this.error(),this.look||this.error(),this.look.type()==o.KEYWORD||this.look.type()==o.HACK?t.add(this.style(null,!0)):t.add(this.value()),t.add(this.match(";")),t},styleset:function(t){var e=new h(h.STYLESET);if(e.add(this.selectors(t)),this.look&&[";","}"].indexOf(this.look.content())>-1){e.name(h.EXTEND);var i=new o(o.VIRTUAL,"@extend");return i=new h(h.TOKEN,i),e.addFirst(i),e}return e.add(this.block()),e},selectors:function(t){var e=new h(h.SELECTORS);for(e.add(this.selector(t));this.look&&","==this.look.content();)e.add(this.match()),e.add(this.selector(t));return e},selector:function(t){var e=new h(h.SELECTOR);if(this.look||this.error(),t&&this.look.type()==o.NUMBER)e.add(this.match()),e.add(this.match("%"));else{if("["==this.look.content().toLowerCase()&&this.look.type()!=o.HACK){for(e.add(this.match());this.look&&"]"!=this.look.content();)e.add(this.match([o.ATTR,o.SIGN,o.VARS,o.NUMBER,o.UNITS,o.STRING]));e.add(this.match("]"))}else e.add(this.match([o.SELECTOR,o.PSEUDO,o.HACK]));for(;this.look&&-1==[",",";","{","}"].indexOf(this.look.content());)if("["==this.look.content()&&this.look.type()!=o.HACK){for(e.add(this.match());this.look&&"]"!=this.look.content();)e.add(this.match([o.ATTR,o.SIGN,o.VARS,o.NUMBER,o.UNITS,o.STRING]));e.add(this.match("]"))}else e.add(this.match([o.SELECTOR,o.PSEUDO,o.SIGN,o.HACK]))}return e},block:function(t){var e=new h(h.BLOCK);for(e.add(this.match("{"));this.look&&"}"!=this.look.content();)if(this.look.type()==o.SELECTOR||"["==this.look.content()&&this.look.type()!=o.HACK)e.add(this.styleset());else if(t&&this.look.type()==o.NUMBER)e.add(this.styleset(t));else if(this.look.type()==o.HEAD)e.add(this.head());else if(this.look.type()==o.VARS){for(var i=!1,a=!1,s=this.index;s<this.length;s++){var u=this.tokens[s];if(!c.hasOwnProperty(u.type())){i="("==u.content(),a=[":","="].indexOf(u.content())>-1;break}}i?e.add(this.fnc()):a?e.add(this.vardecl()):(e.add(this.addexpr()),this.look&&":"==this.look.content()?e.add(this.match(),this.value()):e.add(this.match(";")))}else e.add(this.style());return e.add(this.match("}")),e},style:function(t,e,i){var a=new h(h.STYLE),s=this.key(t);a.add(s);var u=s.first();for(u.token().type()==o.HACK&&(u=u.next()),t=u.token().content().toLowerCase(),a.add(this.match(":")),a.add(this.value(t,i));this.look&&this.look.type()==o.HACK;)a.add(this.match());return e||a.add(this.match(";")),a},key:function(t){for(var e=new h(h.KEY);this.look&&this.look.type()==o.HACK;)e.add(this.match());return this.look||this.error(),t?this.look.type()==o.VARS?e.add(this.match()):e.add(this.match(t)):e.add(this.addexpr([o.STRING,o.KEYWORD])),e},value:function(t,e){var i=new h(h.VALUE);this.look||this.error();var a=this.look.content().toLowerCase(),s=0;if([o.COLOR,o.HACK,o.VARS,o.ID,o.PROPERTY,o.NUMBER,o.STRING,o.HEAD,o.SIGN,o.UNITS,o.KEYWORD].indexOf(this.look.type())>-1&&-1==[";","}"].indexOf(a))switch(a){case"var":i.add(this.vars());break;case"url":i.add(this.url());break;case"format":i.add(this.format());break;case"rgb":i.add(this.rgb());break;case"rgba":i.add(this.rgb(!0));break;case"hsl":i.add(this.hsl());break;case"hsla":i.add(this.hsl(!0));break;case"max":i.add(this.minmax(!0));break;case"min":i.add(this.minmax());break;case"calc":i.add(this.calc());break;case"cycle":case"toggle":case"counter":case"attr":case"translate":case"rect":case"translate3d":i.add(this.counter(a));break;case"linear-gradient":case"repeating-linear-gradient":i.add(this.lg());break;case"radial-gradient":case"repeating-radial-gradient":i.add(this.rg());break;case"alpha":case"blur":case"chroma":case"dropshadow":case"fliph":case"flipv":case"glow":case"gray":case"invert":case"light":case"mask":case"shadow":case"wave":case"xray":case"dximagetransform.microsoft.gradient":i.add(this.filter());break;default:"("==a?s++:")"==a?this.error():e&&","==a&&this.error();var u=!1;if(this.look.type()==o.VARS)for(var r=this.index;r<this.length;r++){var n=this.tokens[r];if(!c.hasOwnProperty(n.type())){"("==n.content()&&(u=!0);break}}u?i.add(this.fnc()):f.hasOwnProperty(t)?i.add(this.addexpr(void 0,null,!0)):i.add(this.addexpr())}else this.error();t:for(;this.look&&(a=this.look.content().toLowerCase(),[o.COLOR,o.HACK,o.VARS,o.ID,o.PROPERTY,o.NUMBER,o.STRING,o.HEAD,o.KEYWORD,o.SIGN,o.UNITS,o.KEYWORD].indexOf(this.look.type())>-1&&-1==[";","}"].indexOf(this.look.content()));)switch(a){case"var":i.add(this.vars());break;case"url":i.add(this.url());break;case"format":i.add(this.format());break;case"rgb":i.add(this.rgb());break;case"rgba":i.add(this.rgb(!0));break;case"hsl":i.add(this.hsl());break;case"hsla":i.add(this.hsl(!0));break;case"min":i.add(this.minmax());break;case"max":i.add(this.minmax(!0));break;case"calc":i.add(this.calc());break;case"cycle":case"toggle":case"counter":case"attr":case"translate":case"rect":case"translate3d":i.add(this.counter(a));break;case"linear-gradient":case"repeating-linear-gradient":i.add(this.lg());break;case"radial-gradient":case"repeating-radial-gradient":i.add(this.rg());break;case"alpha":case"blur":case"chroma":case"dropshadow":case"fliph":case"flipv":case"glow":case"gray":case"invert":case"light":case"mask":case"shadow":case"wave":case"xray":case"dximagetransform.microsoft.gradient":i.add(this.filter());break;default:if("("==a)s++;else if(")"==a){if(--s<0)break t}else if(e&&","==a)break t;u=!1;if(this.look.type()==o.VARS)for(r=this.index;r<this.length;r++){n=this.tokens[r];if(!c.hasOwnProperty(n.type())){"("==n.content()&&(u=!0);break}}u?i.add(this.fnc()):f.hasOwnProperty(t)?i.add(this.addexpr(void 0,null,!0)):i.add(this.addexpr())}return this.look&&this.look.type()==o.IMPORTANT&&i.add(this.match()),i},rg:function(){var t=new h(h.RADIOGRADIENT);for(t.add(this.match(),this.match("(")),this.look||this.error(),(this.look.type()==o.NUMBER||["left","center","right"].indexOf(this.look.content().toLowerCase())>-1)&&(t.add(this.pos()),t.add(this.match(","))),this.look||this.error(),this.look.type()==o.NUMBER?(t.add(this.len()),t.add(this.len())):t.add(this.match(["circle","ellipse","closest-side","closest-corner","farthest-side","farthest-corner","contain","cover"])),t.add(this.match(","),this.colorstop());this.look&&","==this.look.content();)t.add(this.match(),this.colorstop());return t.add(this.match(")")),t},pos:function(){var t=new h(h.POS);return this.look.type()==o.NUMBER?t.add(this.len()):t.add(this.match(["left","center","right"])),this.look&&(this.look.type()==o.NUMBER?t.add(this.len()):["top","center","bottom"].indexOf(this.look.content().toLowerCase())>-1&&t.add(this.match())),t},len:function(){var t=new h(h.LEN),e="0"==this.look.content();return t.add(this.match(o.NUMBER)),this.look&&this.look.type()==o.UNITS?t.add(this.match()):e||this.error(),t},lg:function(){var t=new h(h.LINEARGRADIENT);switch(t.add(this.match(),this.match("(")),this.look||this.error(),this.look.type()){case o.NUMBER:case o.PROPERTY:case o.ID:t.add(this.point()),t.add(this.match(","))}for(t.add(this.colorstop(),this.match(","),this.colorstop());this.look&&","==this.look.content();)t.add(this.match(),this.colorstop());return t.add(this.match(")")),t},point:function(){var t=new h(h.POINT);return this.look.type()==o.NUMBER?t.add(this.match(),this.match("deg")):(this.look&&"to"==this.look.content().toLowerCase()&&t.add(this.match()),t.add(this.match(["left","right","top","bottom","center"])),this.look&&"to"==this.look.content().toLowerCase()&&t.add(this.match()),this.look&&this.look.type()==o.PROPERTY&&t.add(this.match(["left","right","top","bottom","center"]))),t},colorstop:function(){var t=new h(h.COLORSTOP);if(this.look||this.error(),this.look.type()==o.COLOR)t.add(this.match(o.COLOR));else switch(this.look.content()){case"rgb":t.add(this.rgb());break;case"rgba":t.add(this.rgb(!0));break;case"hsl":t.add(this.hsl());break;case"hsla":t.add(this.hsl(!0));break;default:this.error()}if(this.look&&this.look.type()==o.NUMBER){var e="0"==this.look.content();t.add(this.match()),this.look&&this.look.type()==o.UNITS?t.add(this.match()):e||this.error()}return t},minmax:function(t){var e=new h(t?h.MAX:h.MIN);for(e.add(this.match(),this.match("(")),e.add(this.param());this.look&&","==this.look.content();)e.add(this.match()),e.add(this.param());return e.add(this.match(")")),e},param:function(t){var e=new h(h.PARAM),i=this.look.content().toLowerCase();for([o.COLOR,o.HACK,o.VARS,o.ID,o.PROPERTY,o.NUMBER,o.STRING,o.HEAD,o.SIGN,o.UNITS,o.KEYWORD].indexOf(this.look.type())>-1&&-1==[";","}",")",","].indexOf(i)?e.add(t?this.addexpr():this.match()):this.error();this.look&&(i=this.look.content().toLowerCase(),[o.COLOR,o.HACK,o.VARS,o.ID,o.PROPERTY,o.NUMBER,o.STRING,o.HEAD,o.KEYWORD,o.SIGN,o.UNITS,o.KEYWORD].indexOf(this.look.type())>-1&&-1==[";","}",")",","].indexOf(this.look.content()));)e.add(t?this.addexpr():this.match());return e},vars:function(){var t=new h(h.VARS);return t.add(this.match(),this.match("("),this.addexpr(),this.match(")")),t},calc:function(){var t=new h(h.CALC);return t.add(this.match(),this.match("("),this.addexpr(),this.match(")")),t},counter:function(t){var e=new h(h[t.toUpperCase()]);for(e.add(this.match(),this.match("("),this.param(!0));this.look&&","==this.look.content();)e.add(this.match(),this.param(!0));return e.add(this.match(")")),e},filter:function(){for(var t=new h(h.FILTER),e=!1,i=this.index;i<this.length;i++){var a=this.tokens[i];if(!c.hasOwnProperty(a.type())){e="("==a.content();break}}if(!e)return this.match();for(t.add(this.match(),this.match("(")),t.add(this.param(!0));this.look&&","==this.look.content();)t.add(this.match(),this.param(!0));return t.add(this.match(")")),t},rgb:function(t){var e=new h(t?h.RGBA:h.RGB);return e.add(this.match(),this.match("("),this.addexpr(o.NUMBER),this.match(","),this.addexpr(o.NUMBER),this.match(","),this.addexpr(o.NUMBER)),t&&e.add(this.match(","),this.addexpr(o.NUMBER)),e.add(this.match(")")),e},hsl:function(t){var e=new h(t?h.HSLA:h.HSL);e.add(this.match(),this.match("("),this.addexpr(o.NUMBER),this.match(","));var i=this.look&&"0"==this.look.content(),a=this.look&&this.look.type()==o.VARS;e.add(this.addexpr(o.NUMBER,!0)),this.look&&"%"==this.look.content()?e.add(this.match()):i||a||this.error(),e.add(this.match(","));i=this.look&&"0"==this.look.content(),a=this.look&&this.look.type()==o.VARS;return e.add(this.addexpr(o.NUMBER,!0)),this.look&&"%"==this.look.content()?e.add(this.match()):i||a||this.error(),t&&e.add(this.match(","),this.addexpr(o.NUMBER)),e.add(this.match(")")),e},url:function(t){this.look||this.error();var e=new h(h.URL);return t&&this.look.type()==o.STRING?'"'==this.look.content().charAt(0)?e.add(this.match()):this.error("missing quotation"):(e.add(this.match("url"),this.match("(")),this.look&&")"!=this.look.content()&&e.add(this.addexpr(o.STRING)),e.add(this.match(")"))),e},format:function(){var t=new h(h.FORMAT);return t.add(this.match()),t.add(this.match("(")),t.add(this.addexpr(o.STRING)),t.add(this.match(")")),t},addexpr:function(t,e,i){t&&!Array.isArray(t)&&(t=[t]),t&&-1==t.indexOf(o.VARS)&&(t=t.concat([o.VARS])),t&&-1==t.indexOf(o.NUMBER)&&(t=t.concat([o.NUMBER]));var a=new h(h.ADDEXPR),s=this.mtplexpr(t,e,i);if(!this.look||-1==["+","-"].indexOf(this.look.content()))return s;for(a.add(s);this.look&&-1!=["+","-"].indexOf(this.look.content());)a.add(this.match(),this.mtplexpr(t,e,i)),!e&&this.look&&this.look.type()==o.UNITS&&a.add(this.match());return a},mtplexpr:function(t,e,i){var a=new h(h.MTPLEXPR),s=this.prmrexpr(t,e);if(i||!this.look||-1==["*","/"].indexOf(this.look.content()))return s;for(a.add(s);this.look&&-1!=["*","/"].indexOf(this.look.content());)a.add(this.match(),this.prmrexpr(t)),!e&&this.look&&this.look.type()==o.UNITS&&a.add(this.match());return a},prmrexpr:function(t,e){var i=new h(h.PRMREXPR);if(this.look&&"("==this.look.content())return i.add(this.match("("),this.addexpr(t,e),this.match(")")),i;var a=this.tokens[this.index];if(a&&"("==a.content()&&[o.PROPERTY,o.ID].indexOf(this.look.type())>-1)return this.bracket();var s=this.match(t);return!e&&this.look&&this.look.type()==o.UNITS&&(s=[s,this.match()]),s},bracket:function(){var t=new h(h.BRACKET);for(t.add(this.match([o.ID,o.PROPERTY]),this.match("("));this.look&&")"!=this.look.content();)t.add(this.addexpr());return t.add(this.match(")")),t},ifstmt:function(){var t=new h(h.IFSTMT);return t.add(this.match(),this.match("("),this.addexpr(),this.match(")"),this.block()),this.look&&("@elseif"==this.look.content()?t.add(this.ifstmt()):"@else"==this.look.content()&&t.add(this.match(),this.block())),t},match:function(t,e){if(u.isUndefined(t)){if(this.look){var i=this.look;return this.move(),new h(h.TOKEN,i)}this.error("syntax error"+(e||""))}else if(Array.isArray(t)){if(this.look)for(var a=0,s=t.length;a<s;a++){var r=t[a];if("string"==typeof r&&this.look.content()==r){i=this.look;return this.move(),new h(h.TOKEN,i)}if("number"==typeof r&&this.look.type()==r){i=this.look;return this.move(),new h(h.TOKEN,i)}}this.error("missing "+t.join("|")+(e||""))}else if("string"==typeof t){if(this.look&&this.look.content().toLowerCase()==t){i=this.look;return this.move(),new h(h.TOKEN,i)}if(";"==t&&this.look&&"}"==this.look.content()){i=new o(o.VIRTUAL,";");return new h(h.TOKEN,i)}this.error("missing "+t+(e||""))}else if("number"==typeof t){if(this.look&&this.look.type()==t){i=this.look;return this.move(),new h(h.TOKEN,i)}this.error("missing "+o.type(t)+(e||""))}},error:function(t){throw t="SyntaxError: "+(t||" syntax error"),new Error(t+" line "+this.lastLine+" col "+this.lastCol+" look "+(this.look&&this.look.content()))},move:function(){this.lastLine=this.line,this.lastCol=this.col;do{if(this.look=this.tokens[this.index++],!this.look)return;if(-1!=[o.BLANK,o.TAB,o.ENTER,o.LINE,o.COMMENT,o.IGNORE].indexOf(this.look.type())&&(this.ignores[this.index-1]=this.look),this.look.type()==o.LINE)this.line++,this.col=1;else if(this.look.type()==o.COMMENT){var t=this.look.content();if((i=u.count(t,u.LINE))>0){this.line+=i;var e=t.lastIndexOf(u.LINE);this.col+=t.length-e-1}}else if(this.look.type()==o.IGNORE){var i;t=this.look.content();if((i=u.count(t,u.LINE))>0){this.line+=i;e=t.lastIndexOf(u.LINE);this.col+=t.length-e-1}}else if(this.col+=this.look.content().length,-1==[o.BLANK,o.TAB,o.ENTER].indexOf(this.look.type()))break}while(this.index<=this.length)},ignore:function(){return this.ignores}});a.exports=m}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(14),u=i(0),r=i(20),n=i(23),o=i(12),h=i(27),c={};c[o.BLANK]=c[o.TAB]=c[o.COMMENT]=c[o.LINE]=c[o.ENTER]=!0;var d={img:!0,meta:!0,link:!0,"!doctype":!0,br:!0,"!doctype":!0,basefont:!0,base:!0,col:!0,embed:!0,frame:!0,hr:!0,input:!0,keygen:!0,area:!0,param:!0,source:!0,track:!0},l=s.extend(function(t){return s.call(this,t),this.init(t),this}).methods({parse:function(t){return this.lexer.parse(t),this.tree=this.document(),this.tree},init:function(t){this.look=null,this.tokens=null,this.lastLine=1,this.lastCol=1,this.line=1,this.col=1,this.index=0,this.length=0,this.ignores={},this.hasMoveLine=!1,this.tree={},t?this.lexer=t:this.lexer?this.lexer.init():this.lexer=new r(new n)},document:function(){this.tokens=this.lexer.tokens(),this.length=this.tokens.length,this.tokens.length&&this.move();for(var t=new h(h.DOCUMENT),e=!0;this.look;)t.add(this.element(e)),e=!1;return t},element:function(t){var e;if(this.look.type()==o.TEXT)(e=new h(h.TEXT)).add(this.match());else if(this.look.type()==o.MARK)return this.mark(t);return e},mark:function(t){var e=new h(h.MARK);e.add(this.match("<")),this.look||this.error();var i=this.look;for(t&&this.look.type()==o.HEAD?e.add(this.match()):e.add(this.match(o.KEYWORD)),i=i.content().toLowerCase();this.look&&this.look.type()!=o.MARK&&this.look.type()!=o.KEYWORD;)e.add(this.attr());return this.look||this.error(),d.hasOwnProperty(i)?"/>"==this.look.content()?e.add(this.match("/>")):e.add(this.match(">")):"/>"==this.look.content()?e.add(this.match("/>")):(e.add(this.match(">")),this.look||this.error(),this.look.type()==o.TEXT&&e.add(this.match()),this.look&&"<"==this.look.content()&&(e.add(this.element()),this.look&&this.look.type()==o.TEXT&&e.add(this.match())),e.add(this.match("</")),e.add(this.match(i)),e.add(this.match(">"))),e},attr:function(){var t=new h(h.ATTR);if(this.look.type()==o.PROPERTY?t.add(this.match()):t.add(this.match(o.DATA)),this.look&&"="==this.look.content())switch(t.add(this.match("=")),this.look||this.error(),this.look.type()){case o.STRING:case o.NUMBER:case o.PROPERTY:t.add(this.match());break;default:this.error()}return t},match:function(t,e,i){if("boolean"==typeof t&&(i=e,e=t,t=void 0),"boolean"!=typeof e&&(i=e=!1),u.isUndefined(t)){if(this.look){var a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("syntax error"+(i||""))}else if("string"==typeof t){if(";"==t&&(!this.look||this.look.content()!=t&&this.hasMoveLine||"}"==this.look.content()))return this.look&&c[this.look.type()]&&this.move(),this.virtual(";");if(this.look&&this.look.content()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+t+(i||""))}else if("number"==typeof t){if(this.look&&this.look.type()==t){a=this.look;return this.move(e),new h(h.TOKEN,a)}this.error("missing "+o.type(t)+(i||""))}},move:function(t){this.lastLine=this.line,this.lastCol=this.col,this.hasMoveLine=!1;do{if(this.look=this.tokens[this.index++],!this.look)return;if(c[this.look.type()]&&(this.ignores[this.index-1]=this.look),this.look.type()==o.LINE){if(this.line++,this.col=1,this.hasMoveLine=!0,t)break}else if(this.look.type()==o.COMMENT){var e=this.look.content(),i=u.count(this.look.content(),u.LINE);if(i>0){this.line+=i;var a=e.lastIndexOf(u.LINE);if(this.col+=e.length-a-1,this.hasMoveLine=!0,t)break}}else if(this.col+=this.look.content().length,!c[this.look.type()])break}while(this.index<=this.length)},error:function(t){throw t="SyntaxError: "+(t||" syntax error"),new Error(t+" line "+this.lastLine+" col "+this.lastCol)}});a.exports=l}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a;void 0===(a=function(t,e,a){var s=i(2),u=i(18),r=i(1),n=i(24),o=0,h=s(function(t,e){this.id=o++,this.parser=new n,this.parent=t||null,this.name=e||null,this.children=[],this.childrenMap=Object.create(null),this.vars=[],this.varsMap=Object.create(null),this.vardeclMap=Object.create(null),this.params=[],this.paramsMap=Object.create(null),this.aParams=[],this.vids=[],this.vidsMap=Object.create(null),this.returns=[],this.node=null,this.thisIs=null,this.isTop()||this.parent.addChild(this)}).methods({parse:function(t){return function t(e,i){var a=e.name()==u.TOKEN;var s=a&&e.token().type()==r.VIRTUAL;if(a){if(!s){var n=e.token(),o=n.content();"return"==o&&i.addReturn(e)}}else e.name()==u.VARDECL?function(t,e){var i=!!t.leaves()[1];e.addVar(t,i)}(e,i):e.name()==u.FNDECL?i=function(t,e){var i=t.leaves()[1].leaves().content(),a=new h(e,i);a.setNode(t);var s=t.leaves()[3];s.name()==u.FNPARAMS&&c(s,a);return a}(e,i):e.name()==u.FNEXPR?i=function(t,e){var i,a=new h(e);a.setNode(t),i="("!=t.leaves()[1].token().content()?t.leaves()[3]:t.leaves()[2];i.name()==u.FNPARAMS&&c(i,a);var s=t.next();if(s&&s.name()==u.ARGS){3==(p=s.leaves()).length&&d(p[1],a)}else if(s&&s.name()==u.TOKEN&&"."==s.token().content()&&s.next()&&s.next().name()==u.TOKEN&&["call","apply"].indexOf(s.next().token().content())>-1){if((m=t.parent()).name()==u.MMBEXPR)if(m.parent().name()==u.CALLEXPR){var r="apply"==s.next().token().content();if((s=m.next())&&s.name()==u.ARGS)3==(p=s.leaves()).length&&(r?f(p[1],a):l(p[1],a))}}else{var n=t.parent(),o=t.prev();if(n.name()==u.PRMREXPR&&o&&o.name()==u.TOKEN&&"("==o.token().content())if((s=n.next())&&s.name()==u.ARGS)3==(p=s.leaves()).length&&d(p[1],a);else if(s&&s.name()==u.TOKEN&&"."==s.token().content()&&s.next()&&s.next().name()==u.TOKEN&&["call","apply"].indexOf(s.next().token().content())>-1){var m;if((m=n.parent()).name()==u.MMBEXPR)if(m.parent().name()==u.CALLEXPR){var p;r="apply"==s.next().token().content();if((s=m.next())&&s.name()==u.ARGS)3==(p=s.leaves()).length?r?f(p[1],a):l(p[1],a):a.setThis(void 0)}}}return a}(e,i):e.name()==u.PRMREXPR&&function(t,e){var i=t.leaves()[0];if(i.name()==u.TOKEN){var a=i.token();a.type()!=r.ID&&"this"!=a.content()||e.addVid(i)}}(e,i),e.leaves().forEach(function(e,a){t(e,i)})}(t instanceof u?t:this.parser.parse(t),this),this},getId:function(){return this.id},getName:function(){return this.name},getParent:function(){return this.parent},isTop:function(){return!this.parent},isFnexpr:function(){return!this.isTop()&&!this.name},hasParam:function(t){return t in this.paramsMap},getParams:function(){return this.params},addParam:function(t){return this.paramsMap[t]=this.params.length,this.params.push(t),this},getAParams:function(){return this.aParams},addAParam:function(t){return this.aParams.push(t),this},getChild:function(t){return this.childrenMap[t]},getChildren:function(){return this.children},hasChild:function(t){return t in this.childrenMap},addChild:function(t){var e=t.getName();if(e){if(e in this.vardeclMap)return this;this.delVar(e),this.delChild(e)}else this.delChild(t.getId());return e=e||t.getId(),this.childrenMap[e]=t,this.children.push(t),this},delChild:function(t){if(this.hasChild(t)){var e=this.children.indexOf(this.childrenMap[t]);this.children.splice(e,1),delete this.childrenMap[t]}return this},hasVar:function(t){return t in this.varsMap},addVar:function(t,e){var i=t.leaves()[0].token().content();if(e)this.delVar(i),this.delChild(i),this.vardeclMap[i]=!0;else if(this.hasVar(i)||this.hasChild(i))return this;return this.varsMap[i]=t,this.vars.push(t),this},delVar:function(t){if(this.hasVar(t)){var e=this.vars.indexOf(this.varsMap[t]);this.vars.splice(e,1),delete this.varsMap[t]}return this},getVars:function(){return this.vars},addReturn:function(t){return this.returns.push(t),this},getReturns:function(){return this.returns},hasVid:function(t){return t in this.vidsMap},getVid:function(t){return this.vidsMap[t]},addVid:function(t){var e=t.token().content();return this.vids.push(t),this.vidsMap[e]=this.vidsMap[e]||[],this.vidsMap[e].push(t),this},getVids:function(){return this.vids},getNode:function(){return this.node},setNode:function(t){return this.node=t,this},setThis:function(t){return this.thisIs=t,this},getThis:function(){return this.thisIs}});function c(t,e){t.leaves().forEach(function(t,i){t.name()==u.TOKEN&&","!=t.token().content()&&e.addParam(t.token().content())})}function d(t,e){t.leaves().forEach(function(t,i){i%2==0&&e.addAParam(t)})}function l(t,e){t.leaves().forEach(function(t,i){0==i?e.setThis(t):i%2==1&&e.addAParam(t)})}function f(t,e){e.setThis(t.leaves()[0]),t.leaves()[2]&&t.leaves()[2].leaves()[0].leaves().forEach(function(t,i){i%2==1&&e.addAParam(t)})}a.exports=h}.call(e,i,e,t))||(t.exports=a)},function(t,e,i){var a=i(9),s=i(10),u=a.extend(function(t,e){a.call(this,t),this.vardecl=e}).methods({gen:function(){var t="this["+s.getAnbuString(this.vardecl.leaves()[0].token().content(),this.original)+"]";return 1==this.vardecl.leaves().length&&(t+="=[][1]"),t}});t.exports=u},function(t,e,i){var a=i(9),s=a.extend(function(){a.call(this)}).methods({gen:function(){return""}});t.exports=s}]);
//# sourceMappingURL=jsfuck.min.js.map