react / wstein / node_modules / jest-cli / node_modules / istanbul / node_modules / handlebars / lib / handlebars / compiler / parser.js
80713 views/* jshint ignore:start */1/* istanbul ignore next */2/* Jison generated parser */3var handlebars = (function(){4var parser = {trace: function trace() { },5yy: {},6symbols_: {"error":2,"root":3,"program":4,"EOF":5,"program_repetition0":6,"statement":7,"mustache":8,"block":9,"rawBlock":10,"partial":11,"content":12,"COMMENT":13,"CONTENT":14,"openRawBlock":15,"END_RAW_BLOCK":16,"OPEN_RAW_BLOCK":17,"helperName":18,"openRawBlock_repetition0":19,"openRawBlock_option0":20,"CLOSE_RAW_BLOCK":21,"openBlock":22,"block_option0":23,"closeBlock":24,"openInverse":25,"block_option1":26,"OPEN_BLOCK":27,"openBlock_repetition0":28,"openBlock_option0":29,"openBlock_option1":30,"CLOSE":31,"OPEN_INVERSE":32,"openInverse_repetition0":33,"openInverse_option0":34,"openInverse_option1":35,"openInverseChain":36,"OPEN_INVERSE_CHAIN":37,"openInverseChain_repetition0":38,"openInverseChain_option0":39,"openInverseChain_option1":40,"inverseAndProgram":41,"INVERSE":42,"inverseChain":43,"inverseChain_option0":44,"OPEN_ENDBLOCK":45,"OPEN":46,"mustache_repetition0":47,"mustache_option0":48,"OPEN_UNESCAPED":49,"mustache_repetition1":50,"mustache_option1":51,"CLOSE_UNESCAPED":52,"OPEN_PARTIAL":53,"partialName":54,"partial_repetition0":55,"partial_option0":56,"param":57,"sexpr":58,"OPEN_SEXPR":59,"sexpr_repetition0":60,"sexpr_option0":61,"CLOSE_SEXPR":62,"hash":63,"hash_repetition_plus0":64,"hashSegment":65,"ID":66,"EQUALS":67,"blockParams":68,"OPEN_BLOCK_PARAMS":69,"blockParams_repetition_plus0":70,"CLOSE_BLOCK_PARAMS":71,"path":72,"dataName":73,"STRING":74,"NUMBER":75,"BOOLEAN":76,"DATA":77,"pathSegments":78,"SEP":79,"$accept":0,"$end":1},7terminals_: {2:"error",5:"EOF",13:"COMMENT",14:"CONTENT",16:"END_RAW_BLOCK",17:"OPEN_RAW_BLOCK",21:"CLOSE_RAW_BLOCK",27:"OPEN_BLOCK",31:"CLOSE",32:"OPEN_INVERSE",37:"OPEN_INVERSE_CHAIN",42:"INVERSE",45:"OPEN_ENDBLOCK",46:"OPEN",49:"OPEN_UNESCAPED",52:"CLOSE_UNESCAPED",53:"OPEN_PARTIAL",59:"OPEN_SEXPR",62:"CLOSE_SEXPR",66:"ID",67:"EQUALS",69:"OPEN_BLOCK_PARAMS",71:"CLOSE_BLOCK_PARAMS",74:"STRING",75:"NUMBER",76:"BOOLEAN",77:"DATA",79:"SEP"},8productions_: [0,[3,2],[4,1],[7,1],[7,1],[7,1],[7,1],[7,1],[7,1],[12,1],[10,3],[15,5],[9,4],[9,4],[22,6],[25,6],[36,6],[41,2],[43,3],[43,1],[24,3],[8,5],[8,5],[11,5],[57,1],[57,1],[58,5],[63,1],[65,3],[68,3],[18,1],[18,1],[18,1],[18,1],[18,1],[54,1],[54,1],[73,2],[72,1],[78,3],[78,1],[6,0],[6,2],[19,0],[19,2],[20,0],[20,1],[23,0],[23,1],[26,0],[26,1],[28,0],[28,2],[29,0],[29,1],[30,0],[30,1],[33,0],[33,2],[34,0],[34,1],[35,0],[35,1],[38,0],[38,2],[39,0],[39,1],[40,0],[40,1],[44,0],[44,1],[47,0],[47,2],[48,0],[48,1],[50,0],[50,2],[51,0],[51,1],[55,0],[55,2],[56,0],[56,1],[60,0],[60,2],[61,0],[61,1],[64,1],[64,2],[70,1],[70,2]],9performAction: function anonymous(yytext,yyleng,yylineno,yy,yystate,$$,_$) {1011var $0 = $$.length - 1;12switch (yystate) {13case 1: return $$[$0-1];14break;15case 2:this.$ = new yy.Program($$[$0], null, {}, yy.locInfo(this._$));16break;17case 3:this.$ = $$[$0];18break;19case 4:this.$ = $$[$0];20break;21case 5:this.$ = $$[$0];22break;23case 6:this.$ = $$[$0];24break;25case 7:this.$ = $$[$0];26break;27case 8:this.$ = new yy.CommentStatement(yy.stripComment($$[$0]), yy.stripFlags($$[$0], $$[$0]), yy.locInfo(this._$));28break;29case 9:this.$ = new yy.ContentStatement($$[$0], yy.locInfo(this._$));30break;31case 10:this.$ = yy.prepareRawBlock($$[$0-2], $$[$0-1], $$[$0], this._$);32break;33case 11:this.$ = { path: $$[$0-3], params: $$[$0-2], hash: $$[$0-1] };34break;35case 12:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], false, this._$);36break;37case 13:this.$ = yy.prepareBlock($$[$0-3], $$[$0-2], $$[$0-1], $$[$0], true, this._$);38break;39case 14:this.$ = { path: $$[$0-4], params: $$[$0-3], hash: $$[$0-2], blockParams: $$[$0-1], strip: yy.stripFlags($$[$0-5], $$[$0]) };40break;41case 15:this.$ = { path: $$[$0-4], params: $$[$0-3], hash: $$[$0-2], blockParams: $$[$0-1], strip: yy.stripFlags($$[$0-5], $$[$0]) };42break;43case 16:this.$ = { path: $$[$0-4], params: $$[$0-3], hash: $$[$0-2], blockParams: $$[$0-1], strip: yy.stripFlags($$[$0-5], $$[$0]) };44break;45case 17:this.$ = { strip: yy.stripFlags($$[$0-1], $$[$0-1]), program: $$[$0] };46break;47case 18:48var inverse = yy.prepareBlock($$[$0-2], $$[$0-1], $$[$0], $$[$0], false, this._$),49program = new yy.Program([inverse], null, {}, yy.locInfo(this._$));50program.chained = true;5152this.$ = { strip: $$[$0-2].strip, program: program, chain: true };5354break;55case 19:this.$ = $$[$0];56break;57case 20:this.$ = {path: $$[$0-1], strip: yy.stripFlags($$[$0-2], $$[$0])};58break;59case 21:this.$ = yy.prepareMustache($$[$0-3], $$[$0-2], $$[$0-1], $$[$0-4], yy.stripFlags($$[$0-4], $$[$0]), this._$);60break;61case 22:this.$ = yy.prepareMustache($$[$0-3], $$[$0-2], $$[$0-1], $$[$0-4], yy.stripFlags($$[$0-4], $$[$0]), this._$);62break;63case 23:this.$ = new yy.PartialStatement($$[$0-3], $$[$0-2], $$[$0-1], yy.stripFlags($$[$0-4], $$[$0]), yy.locInfo(this._$));64break;65case 24:this.$ = $$[$0];66break;67case 25:this.$ = $$[$0];68break;69case 26:this.$ = new yy.SubExpression($$[$0-3], $$[$0-2], $$[$0-1], yy.locInfo(this._$));70break;71case 27:this.$ = new yy.Hash($$[$0], yy.locInfo(this._$));72break;73case 28:this.$ = new yy.HashPair($$[$0-2], $$[$0], yy.locInfo(this._$));74break;75case 29:this.$ = $$[$0-1];76break;77case 30:this.$ = $$[$0];78break;79case 31:this.$ = $$[$0];80break;81case 32:this.$ = new yy.StringLiteral($$[$0], yy.locInfo(this._$));82break;83case 33:this.$ = new yy.NumberLiteral($$[$0], yy.locInfo(this._$));84break;85case 34:this.$ = new yy.BooleanLiteral($$[$0], yy.locInfo(this._$));86break;87case 35:this.$ = $$[$0];88break;89case 36:this.$ = $$[$0];90break;91case 37:this.$ = yy.preparePath(true, $$[$0], this._$);92break;93case 38:this.$ = yy.preparePath(false, $$[$0], this._$);94break;95case 39: $$[$0-2].push({part: $$[$0], separator: $$[$0-1]}); this.$ = $$[$0-2];96break;97case 40:this.$ = [{part: $$[$0]}];98break;99case 41:this.$ = [];100break;101case 42:$$[$0-1].push($$[$0]);102break;103case 43:this.$ = [];104break;105case 44:$$[$0-1].push($$[$0]);106break;107case 51:this.$ = [];108break;109case 52:$$[$0-1].push($$[$0]);110break;111case 57:this.$ = [];112break;113case 58:$$[$0-1].push($$[$0]);114break;115case 63:this.$ = [];116break;117case 64:$$[$0-1].push($$[$0]);118break;119case 71:this.$ = [];120break;121case 72:$$[$0-1].push($$[$0]);122break;123case 75:this.$ = [];124break;125case 76:$$[$0-1].push($$[$0]);126break;127case 79:this.$ = [];128break;129case 80:$$[$0-1].push($$[$0]);130break;131case 83:this.$ = [];132break;133case 84:$$[$0-1].push($$[$0]);134break;135case 87:this.$ = [$$[$0]];136break;137case 88:$$[$0-1].push($$[$0]);138break;139case 89:this.$ = [$$[$0]];140break;141case 90:$$[$0-1].push($$[$0]);142break;143}144},145table: [{3:1,4:2,5:[2,41],6:3,13:[2,41],14:[2,41],17:[2,41],27:[2,41],32:[2,41],46:[2,41],49:[2,41],53:[2,41]},{1:[3]},{5:[1,4]},{5:[2,2],7:5,8:6,9:7,10:8,11:9,12:10,13:[1,11],14:[1,18],15:16,17:[1,21],22:14,25:15,27:[1,19],32:[1,20],37:[2,2],42:[2,2],45:[2,2],46:[1,12],49:[1,13],53:[1,17]},{1:[2,1]},{5:[2,42],13:[2,42],14:[2,42],17:[2,42],27:[2,42],32:[2,42],37:[2,42],42:[2,42],45:[2,42],46:[2,42],49:[2,42],53:[2,42]},{5:[2,3],13:[2,3],14:[2,3],17:[2,3],27:[2,3],32:[2,3],37:[2,3],42:[2,3],45:[2,3],46:[2,3],49:[2,3],53:[2,3]},{5:[2,4],13:[2,4],14:[2,4],17:[2,4],27:[2,4],32:[2,4],37:[2,4],42:[2,4],45:[2,4],46:[2,4],49:[2,4],53:[2,4]},{5:[2,5],13:[2,5],14:[2,5],17:[2,5],27:[2,5],32:[2,5],37:[2,5],42:[2,5],45:[2,5],46:[2,5],49:[2,5],53:[2,5]},{5:[2,6],13:[2,6],14:[2,6],17:[2,6],27:[2,6],32:[2,6],37:[2,6],42:[2,6],45:[2,6],46:[2,6],49:[2,6],53:[2,6]},{5:[2,7],13:[2,7],14:[2,7],17:[2,7],27:[2,7],32:[2,7],37:[2,7],42:[2,7],45:[2,7],46:[2,7],49:[2,7],53:[2,7]},{5:[2,8],13:[2,8],14:[2,8],17:[2,8],27:[2,8],32:[2,8],37:[2,8],42:[2,8],45:[2,8],46:[2,8],49:[2,8],53:[2,8]},{18:22,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{18:31,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{4:32,6:3,13:[2,41],14:[2,41],17:[2,41],27:[2,41],32:[2,41],37:[2,41],42:[2,41],45:[2,41],46:[2,41],49:[2,41],53:[2,41]},{4:33,6:3,13:[2,41],14:[2,41],17:[2,41],27:[2,41],32:[2,41],42:[2,41],45:[2,41],46:[2,41],49:[2,41],53:[2,41]},{12:34,14:[1,18]},{18:36,54:35,58:37,59:[1,38],66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{5:[2,9],13:[2,9],14:[2,9],16:[2,9],17:[2,9],27:[2,9],32:[2,9],37:[2,9],42:[2,9],45:[2,9],46:[2,9],49:[2,9],53:[2,9]},{18:39,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{18:40,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{18:41,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{31:[2,71],47:42,59:[2,71],66:[2,71],74:[2,71],75:[2,71],76:[2,71],77:[2,71]},{21:[2,30],31:[2,30],52:[2,30],59:[2,30],62:[2,30],66:[2,30],69:[2,30],74:[2,30],75:[2,30],76:[2,30],77:[2,30]},{21:[2,31],31:[2,31],52:[2,31],59:[2,31],62:[2,31],66:[2,31],69:[2,31],74:[2,31],75:[2,31],76:[2,31],77:[2,31]},{21:[2,32],31:[2,32],52:[2,32],59:[2,32],62:[2,32],66:[2,32],69:[2,32],74:[2,32],75:[2,32],76:[2,32],77:[2,32]},{21:[2,33],31:[2,33],52:[2,33],59:[2,33],62:[2,33],66:[2,33],69:[2,33],74:[2,33],75:[2,33],76:[2,33],77:[2,33]},{21:[2,34],31:[2,34],52:[2,34],59:[2,34],62:[2,34],66:[2,34],69:[2,34],74:[2,34],75:[2,34],76:[2,34],77:[2,34]},{21:[2,38],31:[2,38],52:[2,38],59:[2,38],62:[2,38],66:[2,38],69:[2,38],74:[2,38],75:[2,38],76:[2,38],77:[2,38],79:[1,43]},{66:[1,30],78:44},{21:[2,40],31:[2,40],52:[2,40],59:[2,40],62:[2,40],66:[2,40],69:[2,40],74:[2,40],75:[2,40],76:[2,40],77:[2,40],79:[2,40]},{50:45,52:[2,75],59:[2,75],66:[2,75],74:[2,75],75:[2,75],76:[2,75],77:[2,75]},{23:46,36:48,37:[1,50],41:49,42:[1,51],43:47,45:[2,47]},{26:52,41:53,42:[1,51],45:[2,49]},{16:[1,54]},{31:[2,79],55:55,59:[2,79],66:[2,79],74:[2,79],75:[2,79],76:[2,79],77:[2,79]},{31:[2,35],59:[2,35],66:[2,35],74:[2,35],75:[2,35],76:[2,35],77:[2,35]},{31:[2,36],59:[2,36],66:[2,36],74:[2,36],75:[2,36],76:[2,36],77:[2,36]},{18:56,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{28:57,31:[2,51],59:[2,51],66:[2,51],69:[2,51],74:[2,51],75:[2,51],76:[2,51],77:[2,51]},{31:[2,57],33:58,59:[2,57],66:[2,57],69:[2,57],74:[2,57],75:[2,57],76:[2,57],77:[2,57]},{19:59,21:[2,43],59:[2,43],66:[2,43],74:[2,43],75:[2,43],76:[2,43],77:[2,43]},{18:63,31:[2,73],48:60,57:61,58:64,59:[1,38],63:62,64:65,65:66,66:[1,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{66:[1,68]},{21:[2,37],31:[2,37],52:[2,37],59:[2,37],62:[2,37],66:[2,37],69:[2,37],74:[2,37],75:[2,37],76:[2,37],77:[2,37],79:[1,43]},{18:63,51:69,52:[2,77],57:70,58:64,59:[1,38],63:71,64:65,65:66,66:[1,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{24:72,45:[1,73]},{45:[2,48]},{4:74,6:3,13:[2,41],14:[2,41],17:[2,41],27:[2,41],32:[2,41],37:[2,41],42:[2,41],45:[2,41],46:[2,41],49:[2,41],53:[2,41]},{45:[2,19]},{18:75,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{4:76,6:3,13:[2,41],14:[2,41],17:[2,41],27:[2,41],32:[2,41],45:[2,41],46:[2,41],49:[2,41],53:[2,41]},{24:77,45:[1,73]},{45:[2,50]},{5:[2,10],13:[2,10],14:[2,10],17:[2,10],27:[2,10],32:[2,10],37:[2,10],42:[2,10],45:[2,10],46:[2,10],49:[2,10],53:[2,10]},{18:63,31:[2,81],56:78,57:79,58:64,59:[1,38],63:80,64:65,65:66,66:[1,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{59:[2,83],60:81,62:[2,83],66:[2,83],74:[2,83],75:[2,83],76:[2,83],77:[2,83]},{18:63,29:82,31:[2,53],57:83,58:64,59:[1,38],63:84,64:65,65:66,66:[1,67],69:[2,53],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{18:63,31:[2,59],34:85,57:86,58:64,59:[1,38],63:87,64:65,65:66,66:[1,67],69:[2,59],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{18:63,20:88,21:[2,45],57:89,58:64,59:[1,38],63:90,64:65,65:66,66:[1,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{31:[1,91]},{31:[2,72],59:[2,72],66:[2,72],74:[2,72],75:[2,72],76:[2,72],77:[2,72]},{31:[2,74]},{21:[2,24],31:[2,24],52:[2,24],59:[2,24],62:[2,24],66:[2,24],69:[2,24],74:[2,24],75:[2,24],76:[2,24],77:[2,24]},{21:[2,25],31:[2,25],52:[2,25],59:[2,25],62:[2,25],66:[2,25],69:[2,25],74:[2,25],75:[2,25],76:[2,25],77:[2,25]},{21:[2,27],31:[2,27],52:[2,27],62:[2,27],65:92,66:[1,93],69:[2,27]},{21:[2,87],31:[2,87],52:[2,87],62:[2,87],66:[2,87],69:[2,87]},{21:[2,40],31:[2,40],52:[2,40],59:[2,40],62:[2,40],66:[2,40],67:[1,94],69:[2,40],74:[2,40],75:[2,40],76:[2,40],77:[2,40],79:[2,40]},{21:[2,39],31:[2,39],52:[2,39],59:[2,39],62:[2,39],66:[2,39],69:[2,39],74:[2,39],75:[2,39],76:[2,39],77:[2,39],79:[2,39]},{52:[1,95]},{52:[2,76],59:[2,76],66:[2,76],74:[2,76],75:[2,76],76:[2,76],77:[2,76]},{52:[2,78]},{5:[2,12],13:[2,12],14:[2,12],17:[2,12],27:[2,12],32:[2,12],37:[2,12],42:[2,12],45:[2,12],46:[2,12],49:[2,12],53:[2,12]},{18:96,66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{36:48,37:[1,50],41:49,42:[1,51],43:98,44:97,45:[2,69]},{31:[2,63],38:99,59:[2,63],66:[2,63],69:[2,63],74:[2,63],75:[2,63],76:[2,63],77:[2,63]},{45:[2,17]},{5:[2,13],13:[2,13],14:[2,13],17:[2,13],27:[2,13],32:[2,13],37:[2,13],42:[2,13],45:[2,13],46:[2,13],49:[2,13],53:[2,13]},{31:[1,100]},{31:[2,80],59:[2,80],66:[2,80],74:[2,80],75:[2,80],76:[2,80],77:[2,80]},{31:[2,82]},{18:63,57:102,58:64,59:[1,38],61:101,62:[2,85],63:103,64:65,65:66,66:[1,67],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{30:104,31:[2,55],68:105,69:[1,106]},{31:[2,52],59:[2,52],66:[2,52],69:[2,52],74:[2,52],75:[2,52],76:[2,52],77:[2,52]},{31:[2,54],69:[2,54]},{31:[2,61],35:107,68:108,69:[1,106]},{31:[2,58],59:[2,58],66:[2,58],69:[2,58],74:[2,58],75:[2,58],76:[2,58],77:[2,58]},{31:[2,60],69:[2,60]},{21:[1,109]},{21:[2,44],59:[2,44],66:[2,44],74:[2,44],75:[2,44],76:[2,44],77:[2,44]},{21:[2,46]},{5:[2,21],13:[2,21],14:[2,21],17:[2,21],27:[2,21],32:[2,21],37:[2,21],42:[2,21],45:[2,21],46:[2,21],49:[2,21],53:[2,21]},{21:[2,88],31:[2,88],52:[2,88],62:[2,88],66:[2,88],69:[2,88]},{67:[1,94]},{18:63,57:110,58:64,59:[1,38],66:[1,30],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{5:[2,22],13:[2,22],14:[2,22],17:[2,22],27:[2,22],32:[2,22],37:[2,22],42:[2,22],45:[2,22],46:[2,22],49:[2,22],53:[2,22]},{31:[1,111]},{45:[2,18]},{45:[2,70]},{18:63,31:[2,65],39:112,57:113,58:64,59:[1,38],63:114,64:65,65:66,66:[1,67],69:[2,65],72:23,73:24,74:[1,25],75:[1,26],76:[1,27],77:[1,29],78:28},{5:[2,23],13:[2,23],14:[2,23],17:[2,23],27:[2,23],32:[2,23],37:[2,23],42:[2,23],45:[2,23],46:[2,23],49:[2,23],53:[2,23]},{62:[1,115]},{59:[2,84],62:[2,84],66:[2,84],74:[2,84],75:[2,84],76:[2,84],77:[2,84]},{62:[2,86]},{31:[1,116]},{31:[2,56]},{66:[1,118],70:117},{31:[1,119]},{31:[2,62]},{14:[2,11]},{21:[2,28],31:[2,28],52:[2,28],62:[2,28],66:[2,28],69:[2,28]},{5:[2,20],13:[2,20],14:[2,20],17:[2,20],27:[2,20],32:[2,20],37:[2,20],42:[2,20],45:[2,20],46:[2,20],49:[2,20],53:[2,20]},{31:[2,67],40:120,68:121,69:[1,106]},{31:[2,64],59:[2,64],66:[2,64],69:[2,64],74:[2,64],75:[2,64],76:[2,64],77:[2,64]},{31:[2,66],69:[2,66]},{21:[2,26],31:[2,26],52:[2,26],59:[2,26],62:[2,26],66:[2,26],69:[2,26],74:[2,26],75:[2,26],76:[2,26],77:[2,26]},{13:[2,14],14:[2,14],17:[2,14],27:[2,14],32:[2,14],37:[2,14],42:[2,14],45:[2,14],46:[2,14],49:[2,14],53:[2,14]},{66:[1,123],71:[1,122]},{66:[2,89],71:[2,89]},{13:[2,15],14:[2,15],17:[2,15],27:[2,15],32:[2,15],42:[2,15],45:[2,15],46:[2,15],49:[2,15],53:[2,15]},{31:[1,124]},{31:[2,68]},{31:[2,29]},{66:[2,90],71:[2,90]},{13:[2,16],14:[2,16],17:[2,16],27:[2,16],32:[2,16],37:[2,16],42:[2,16],45:[2,16],46:[2,16],49:[2,16],53:[2,16]}],146defaultActions: {4:[2,1],47:[2,48],49:[2,19],53:[2,50],62:[2,74],71:[2,78],76:[2,17],80:[2,82],90:[2,46],97:[2,18],98:[2,70],103:[2,86],105:[2,56],108:[2,62],109:[2,11],121:[2,68],122:[2,29]},147parseError: function parseError(str, hash) {148throw new Error(str);149},150parse: function parse(input) {151var self = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;152this.lexer.setInput(input);153this.lexer.yy = this.yy;154this.yy.lexer = this.lexer;155this.yy.parser = this;156if (typeof this.lexer.yylloc == "undefined")157this.lexer.yylloc = {};158var yyloc = this.lexer.yylloc;159lstack.push(yyloc);160var ranges = this.lexer.options && this.lexer.options.ranges;161if (typeof this.yy.parseError === "function")162this.parseError = this.yy.parseError;163function popStack(n) {164stack.length = stack.length - 2 * n;165vstack.length = vstack.length - n;166lstack.length = lstack.length - n;167}168function lex() {169var token;170token = self.lexer.lex() || 1;171if (typeof token !== "number") {172token = self.symbols_[token] || token;173}174return token;175}176var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;177while (true) {178state = stack[stack.length - 1];179if (this.defaultActions[state]) {180action = this.defaultActions[state];181} else {182if (symbol === null || typeof symbol == "undefined") {183symbol = lex();184}185action = table[state] && table[state][symbol];186}187if (typeof action === "undefined" || !action.length || !action[0]) {188var errStr = "";189if (!recovering) {190expected = [];191for (p in table[state])192if (this.terminals_[p] && p > 2) {193expected.push("'" + this.terminals_[p] + "'");194}195if (this.lexer.showPosition) {196errStr = "Parse error on line " + (yylineno + 1) + ":\n" + this.lexer.showPosition() + "\nExpecting " + expected.join(", ") + ", got '" + (this.terminals_[symbol] || symbol) + "'";197} else {198errStr = "Parse error on line " + (yylineno + 1) + ": Unexpected " + (symbol == 1?"end of input":"'" + (this.terminals_[symbol] || symbol) + "'");199}200this.parseError(errStr, {text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected});201}202}203if (action[0] instanceof Array && action.length > 1) {204throw new Error("Parse Error: multiple actions possible at state: " + state + ", token: " + symbol);205}206switch (action[0]) {207case 1:208stack.push(symbol);209vstack.push(this.lexer.yytext);210lstack.push(this.lexer.yylloc);211stack.push(action[1]);212symbol = null;213if (!preErrorSymbol) {214yyleng = this.lexer.yyleng;215yytext = this.lexer.yytext;216yylineno = this.lexer.yylineno;217yyloc = this.lexer.yylloc;218if (recovering > 0)219recovering--;220} else {221symbol = preErrorSymbol;222preErrorSymbol = null;223}224break;225case 2:226len = this.productions_[action[1]][1];227yyval.$ = vstack[vstack.length - len];228yyval._$ = {first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column};229if (ranges) {230yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];231}232r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);233if (typeof r !== "undefined") {234return r;235}236if (len) {237stack = stack.slice(0, -1 * len * 2);238vstack = vstack.slice(0, -1 * len);239lstack = lstack.slice(0, -1 * len);240}241stack.push(this.productions_[action[1]][0]);242vstack.push(yyval.$);243lstack.push(yyval._$);244newState = table[stack[stack.length - 2]][stack[stack.length - 1]];245stack.push(newState);246break;247case 3:248return true;249}250}251return true;252}253};254/* Jison generated lexer */255var lexer = (function(){256var lexer = ({EOF:1,257parseError:function parseError(str, hash) {258if (this.yy.parser) {259this.yy.parser.parseError(str, hash);260} else {261throw new Error(str);262}263},264setInput:function (input) {265this._input = input;266this._more = this._less = this.done = false;267this.yylineno = this.yyleng = 0;268this.yytext = this.matched = this.match = '';269this.conditionStack = ['INITIAL'];270this.yylloc = {first_line:1,first_column:0,last_line:1,last_column:0};271if (this.options.ranges) this.yylloc.range = [0,0];272this.offset = 0;273return this;274},275input:function () {276var ch = this._input[0];277this.yytext += ch;278this.yyleng++;279this.offset++;280this.match += ch;281this.matched += ch;282var lines = ch.match(/(?:\r\n?|\n).*/g);283if (lines) {284this.yylineno++;285this.yylloc.last_line++;286} else {287this.yylloc.last_column++;288}289if (this.options.ranges) this.yylloc.range[1]++;290291this._input = this._input.slice(1);292return ch;293},294unput:function (ch) {295var len = ch.length;296var lines = ch.split(/(?:\r\n?|\n)/g);297298this._input = ch + this._input;299this.yytext = this.yytext.substr(0, this.yytext.length-len-1);300//this.yyleng -= len;301this.offset -= len;302var oldLines = this.match.split(/(?:\r\n?|\n)/g);303this.match = this.match.substr(0, this.match.length-1);304this.matched = this.matched.substr(0, this.matched.length-1);305306if (lines.length-1) this.yylineno -= lines.length-1;307var r = this.yylloc.range;308309this.yylloc = {first_line: this.yylloc.first_line,310last_line: this.yylineno+1,311first_column: this.yylloc.first_column,312last_column: lines ?313(lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length:314this.yylloc.first_column - len315};316317if (this.options.ranges) {318this.yylloc.range = [r[0], r[0] + this.yyleng - len];319}320return this;321},322more:function () {323this._more = true;324return this;325},326less:function (n) {327this.unput(this.match.slice(n));328},329pastInput:function () {330var past = this.matched.substr(0, this.matched.length - this.match.length);331return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");332},333upcomingInput:function () {334var next = this.match;335if (next.length < 20) {336next += this._input.substr(0, 20-next.length);337}338return (next.substr(0,20)+(next.length > 20 ? '...':'')).replace(/\n/g, "");339},340showPosition:function () {341var pre = this.pastInput();342var c = new Array(pre.length + 1).join("-");343return pre + this.upcomingInput() + "\n" + c+"^";344},345next:function () {346if (this.done) {347return this.EOF;348}349if (!this._input) this.done = true;350351var token,352match,353tempMatch,354index,355col,356lines;357if (!this._more) {358this.yytext = '';359this.match = '';360}361var rules = this._currentRules();362for (var i=0;i < rules.length; i++) {363tempMatch = this._input.match(this.rules[rules[i]]);364if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {365match = tempMatch;366index = i;367if (!this.options.flex) break;368}369}370if (match) {371lines = match[0].match(/(?:\r\n?|\n).*/g);372if (lines) this.yylineno += lines.length;373this.yylloc = {first_line: this.yylloc.last_line,374last_line: this.yylineno+1,375first_column: this.yylloc.last_column,376last_column: lines ? lines[lines.length-1].length-lines[lines.length-1].match(/\r?\n?/)[0].length : this.yylloc.last_column + match[0].length};377this.yytext += match[0];378this.match += match[0];379this.matches = match;380this.yyleng = this.yytext.length;381if (this.options.ranges) {382this.yylloc.range = [this.offset, this.offset += this.yyleng];383}384this._more = false;385this._input = this._input.slice(match[0].length);386this.matched += match[0];387token = this.performAction.call(this, this.yy, this, rules[index],this.conditionStack[this.conditionStack.length-1]);388if (this.done && this._input) this.done = false;389if (token) return token;390else return;391}392if (this._input === "") {393return this.EOF;394} else {395return this.parseError('Lexical error on line '+(this.yylineno+1)+'. Unrecognized text.\n'+this.showPosition(),396{text: "", token: null, line: this.yylineno});397}398},399lex:function lex() {400var r = this.next();401if (typeof r !== 'undefined') {402return r;403} else {404return this.lex();405}406},407begin:function begin(condition) {408this.conditionStack.push(condition);409},410popState:function popState() {411return this.conditionStack.pop();412},413_currentRules:function _currentRules() {414return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules;415},416topState:function () {417return this.conditionStack[this.conditionStack.length-2];418},419pushState:function begin(condition) {420this.begin(condition);421}});422lexer.options = {};423lexer.performAction = function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {424425426function strip(start, end) {427return yy_.yytext = yy_.yytext.substr(start, yy_.yyleng-end);428}429430431var YYSTATE=YY_START432switch($avoiding_name_collisions) {433case 0:434if(yy_.yytext.slice(-2) === "\\\\") {435strip(0,1);436this.begin("mu");437} else if(yy_.yytext.slice(-1) === "\\") {438strip(0,1);439this.begin("emu");440} else {441this.begin("mu");442}443if(yy_.yytext) return 14;444445break;446case 1:return 14;447break;448case 2:449this.popState();450return 14;451452break;453case 3:454yy_.yytext = yy_.yytext.substr(5, yy_.yyleng-9);455this.popState();456return 16;457458break;459case 4: return 14;460break;461case 5:462this.popState();463return 13;464465break;466case 6:return 59;467break;468case 7:return 62;469break;470case 8: return 17;471break;472case 9:473this.popState();474this.begin('raw');475return 21;476477break;478case 10:return 53;479break;480case 11:return 27;481break;482case 12:return 45;483break;484case 13:this.popState(); return 42;485break;486case 14:this.popState(); return 42;487break;488case 15:return 32;489break;490case 16:return 37;491break;492case 17:return 49;493break;494case 18:return 46;495break;496case 19:497this.unput(yy_.yytext);498this.popState();499this.begin('com');500501break;502case 20:503this.popState();504return 13;505506break;507case 21:return 46;508break;509case 22:return 67;510break;511case 23:return 66;512break;513case 24:return 66;514break;515case 25:return 79;516break;517case 26:// ignore whitespace518break;519case 27:this.popState(); return 52;520break;521case 28:this.popState(); return 31;522break;523case 29:yy_.yytext = strip(1,2).replace(/\\"/g,'"'); return 74;524break;525case 30:yy_.yytext = strip(1,2).replace(/\\'/g,"'"); return 74;526break;527case 31:return 77;528break;529case 32:return 76;530break;531case 33:return 76;532break;533case 34:return 75;534break;535case 35:return 69;536break;537case 36:return 71;538break;539case 37:return 66;540break;541case 38:yy_.yytext = strip(1,2); return 66;542break;543case 39:return 'INVALID';544break;545case 40:return 5;546break;547}548};549lexer.rules = [/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{\/)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[[^\]]*\])/,/^(?:.)/,/^(?:$)/];550lexer.conditions = {"mu":{"rules":[6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"inclusive":false},"emu":{"rules":[2],"inclusive":false},"com":{"rules":[5],"inclusive":false},"raw":{"rules":[3,4],"inclusive":false},"INITIAL":{"rules":[0,1,40],"inclusive":true}};551return lexer;})()552parser.lexer = lexer;553function Parser () { this.yy = {}; }Parser.prototype = parser;parser.Parser = Parser;554return new Parser;555})();export default handlebars;556/* jshint ignore:end */557558559