dasksqlSyntaxParser.js 117 KB

12
  1. !function(e,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define("dasksqlSyntaxParser",[],s):"object"==typeof exports?exports.dasksqlSyntaxParser=s():e.dasksqlSyntaxParser=s()}("undefined"!=typeof self?self:this,(function(){return(()=>{"use strict";var e={d:(s,t)=>{for(var a in t)e.o(t,a)&&!e.o(s,a)&&Object.defineProperty(s,a,{enumerable:!0,get:t[a]})},o:(e,s)=>Object.prototype.hasOwnProperty.call(e,s)},s={};e.d(s,{default:()=>n});const t=function(e,s,t){t&&(e=e.toLowerCase(),s=s.toLowerCase());var a=e.length,i=s.length;if(0===a)return i;if(0===i)return a;for(var r,n,o,c,u,l=new Array(a),g=0;g<=a;g++){l[g]=new Array(i),l[g][0]=g;for(var y=1;y<=i;y++)g?(r=e[g-1]===s[y-1]?0:1,n=l[g-1][y]+1,o=l[g][y-1]+1,c=l[g-1][y-1]+r,l[g][y]=n<=o&&n<=c?n:o<=n&&o<=c?o:c,g>1&&y>1&&e[g]===s[y-1]&&e[g-1]===s[y]&&(u=l[g-2][y-2]+r)<l[g][y]&&(l[g][y]=u)):l[0][y]=y}return l[a][i]};String.prototype.endsWith||(String.prototype.endsWith=function(e,s){var t=this.toString();("number"!=typeof s||!isFinite(s)||Math.floor(s)!==s||s>t.length)&&(s=t.length),s-=e.length;var a=t.lastIndexOf(e,s);return-1!==a&&a===s});var a=["addAsteriskLocation","addClauseLocation","addColRefIfExists","addColRefToVariableIfExists","addColumnAliasLocation","addColumnLocation","addCommonTableExpressions","addCteAliasLocation","addDatabaseLocation","addFileLocation","addFunctionArgumentLocations","addFunctionLocation","addNewDatabaseLocation","addNewTableLocation","addStatementLocation","addStatementTypeLocation","addSubqueryAliasLocation","addTableAliasLocation","addTableLocation","addTablePrimary","addUnknownLocation","addVariableLocation","applyArgumentTypesToSuggestions","applyTypeToSuggestions","checkForKeywords","checkForSelectListKeywords","commitLocations","extractExpressionText","firstDefined","getSelectListKeywords","getSubQuery","getValueExpressionKeywords","identifyPartials","popQueryState","prepareNewStatement","pushQueryState","selectListNoTableSuggest","suggestAggregateFunctions","suggestAnalyticFunctions","suggestColRefKeywords","suggestColumns","suggestDatabases","suggestDdlAndDmlKeywords","suggestFileFormats","suggestFilters","suggestFunctions","suggestGroupBys","suggestHdfs","suggestIdentifiers","suggestJoinConditions","suggestJoins","suggestKeyValues","suggestKeywords","suggestOrderBys","suggestSelectListAliases","suggestTables","suggestTablesOrColumns","suggestValueExpressionKeywords","suggestValues","valueExpressionSuggest"],i=function(){};var r=function(){var e=function(e,s,t,a){for(t=t||{},a=e.length;a--;t[e[a]]=s);return t},s=[4,17,35,126,209,213,215],r=[2,364],n=[209,213],o=[2,365],c=[1,13],u=[1,17],l=[1,19],g=[1,18],y=[1,6],p=[20,209,213],h=[2,241],d=[1,27],E=[1,36],T=[1,38],b=[1,39],S=[1,40],L=[1,35],O=[1,34],I=[2,203],f=[1,42],m=[1,43],x=[20,148,209,213],C=[18,22,126],k=[15,17,18,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,107,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,226,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],A=[1,69],R=[1,62],N=[1,102],D=[1,103],w=[1,104],_=[1,105],F=[1,106],$=[1,107],v=[1,108],P=[1,109],K=[1,95],U=[1,96],B=[1,89],V=[1,77],W=[1,78],M=[1,79],G=[1,80],Q=[1,90],H=[1,75],J=[1,65],Y=[1,67],j=[1,111],X=[1,66],q=[1,70],z=[1,114],Z=[1,68],ee=[1,116],se=[1,64],te=[1,113],ae=[1,115],ie=[1,110],re=[1,112],ne=[18,20,113,126,139,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,196,219,220,221,222,224,225,226,231,234,238,245,248,249,257,269,275,276,277],oe=[15,17,23],ce=[20,22,37,148,209,213],ue=[2,840],le=[1,151],ge=[1,136],ye=[1,152],pe=[1,146],he=[1,145],de=[1,137],Ee=[1,138],Te=[1,144],be=[1,147],Se=[1,142],Le=[1,139],Oe=[1,141],Ie=[1,135],fe=[1,140],me=[1,143],xe=[1,154],Ce=[1,153],ke=[15,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],Ae=[1,162],Re=[1,168],Ne=[1,170],De=[15,18,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],we=[1,175],_e=[15,18,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,226,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],Fe=[15,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,139,148,150,204,209,213,219,220,221,222,225,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],$e=[17,126],ve=[2,818],Pe=[20,71,86,111,117,148,209,213],Ke=[133,196,249,275],Ue=[20,22,37,71,86,99,100,101,102,103,104,105,106,107,111,117,148,150,209,213],Be=[15,20,22,37,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,148,150,209,213,219,220,221,222,232,234,235,245,246,247,257,258,262,266,269,272,280,341],Ve=[15,20,22,23,37,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,227,228,232,233,234,235,240,245,246,247,257,258,262,266,269,272,280,341],We=[246,247,280],Me=[18,113,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,196,219,220,221,222,224,225,226,231,234,238,245,248,249,257,269,275,276,277],Ge=[15,20,22,23,37,40,71,86,99,100,101,102,103,104,105,106,107,111,113,117,124,125,139,148,150,209,213,219,220,221,222,225,227,228,232,233,234,235,240,245,246,247,253,256,257,258,262,263,264,266,269,272,280,341],Qe=[15,20,22,71,86,99,100,101,102,103,104,105,106,107,111,113,117,148,150,209,213,219,220,221,222,234,245,269],He=[20,86,111,117,148,209,213],Je=[20,22,71,86,111,117,148,150,209,213],Ye=[1,290],je=[1,293],Xe=[1,291],qe=[1,295],ze=[1,292],Ze=[1,294],es=[1,297],ss=[1,296],ts=[20,22,71,86,99,100,101,102,103,104,105,106,107,111,117,148,150,209,213],as=[15,20,22,23,37,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,148,150,209,213,219,220,221,222,227,228,232,234,235,240,245,246,247,257,258,262,266,269,272,280,341],is=[15,20,22,37,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,148,150,209,213,219,220,221,222,232,234,245,246,247,258,262,266,269,272,280,341],rs=[1,315],ns=[20,22],os=[20,117],cs=[20,111,117,148,209,213],us=[18,113,219,220,221,222,234],ls=[1,358],gs=[20,22,117],ys=[1,366],ps=[20,111,148,209,213],hs=[20,22,71,86,99,100,101,102,103,104,105,106,111,117,148,150,209,213],ds=[2,162],Es=[1,393],Ts=[1,416],bs=[2,630],Ss=[20,22,86,111,117,148,209,213],Ls=[235,396],Os=[20,232,241,276,396],Is=[2,876],fs=[20,22,111,148,209,213,262,266],ms=[20,232],xs=[2,886],Cs=[1,449],ks=[1,450],As=[1,451],Rs=[2,891],Ns=[1,458],Ds=[251,260],ws={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,CREATE:4,CURSOR:5,TableDefinition_EDIT:6,ViewDefinition_EDIT:7,ShowStatement_EDIT:8,DataDefinition:9,TableDefinition:10,ViewDefinition:11,ShowStatement:12,TABLE:13,SchemaQualifiedIdentifier:14,AS:15,QuerySpecification:16,WITH:17,"(":18,TableWithDefinition:19,")":20,TableWithDefinitionLine:21,",":22,"=":23,GeneralLiteral:24,EDIT:25,QuerySpecification_EDIT:26,TableWithDefinition_EDIT:27,SchemaQualifiedIdentifier_EDIT:28,TableWithDefinitionLine_EDIT:29,GeneralLiteral_EDIT:30,VIEW:31,ShowColumnsStatement:32,ShowSchemasStatement:33,ShowTablesStatement:34,SHOW:35,COLUMNS:36,FROM:37,SchemaQualifiedTableIdentifier:38,SCHEMAS:39,LIKE:40,SingleQuotedValue:41,TABLES:42,DatabaseIdentifier:43,ShowColumnsStatement_EDIT:44,ShowSchemasStatement_EDIT:45,ShowTablesStatement_EDIT:46,SchemaQualifiedTableIdentifier_EDIT:47,CommonTableExpression:48,SelectStatement:49,OptionalUnions:50,SelectStatement_EDIT:51,OptionalUnions_EDIT:52,CommonTableExpression_EDIT:53,WithQueries:54,WithQueries_EDIT:55,WithQuery:56,WithQuery_EDIT:57,RegularOrBacktickedIdentifier:58,TableSubQueryInner:59,AnyCursor:60,RightParenthesisOrError:61,TableSubQueryInner_EDIT:62,FromClause:63,TableReferenceList:64,FromClause_EDIT:65,TableReferenceList_EDIT:66,TableReference:67,TableReference_EDIT:68,OptionalGroupByClause:69,GroupByClause:70,GROUP:71,BY:72,GroupByColumnList:73,GroupByClause_EDIT:74,GroupByColumnList_EDIT:75,ColumnGroupingSets:76,ColumnReference:77,ColumnGroupingSets_EDIT:78,ColumnGroupingSet_EDIT:79,ColumnReference_EDIT:80,ValueExpression:81,ValueExpression_EDIT:82,GroupByColumnListPartTwo_EDIT:83,OptionalHavingClause:84,HavingClause:85,HAVING:86,HavingClause_EDIT:87,OptionalJoins:88,Joins:89,Joins_INVALID:90,JoinType:91,TablePrimary:92,OptionalJoinCondition:93,Join_EDIT:94,JoinType_EDIT:95,TablePrimary_EDIT:96,JoinCondition_EDIT:97,Joins_EDIT:98,CROSS:99,JOIN:100,FULL:101,OUTER:102,INNER:103,LEFT:104,SEMI:105,RIGHT:106,ON:107,UsingColList:108,OptionalLimitClause:109,LimitClause:110,LIMIT:111,UnsignedNumericLiteral:112,VARIABLE_REFERENCE:113,LimitClause_EDIT:114,OptionalOrderByClause:115,OrderByClause:116,ORDER:117,OrderByColumnList:118,OrderByClause_EDIT:119,OrderByColumnList_EDIT:120,OrderByIdentifier:121,OrderByIdentifier_EDIT:122,OptionalAscOrDesc:123,ASC:124,DESC:125,SELECT:126,OptionalAllOrDistinct:127,SelectList:128,TableExpression:129,SelectList_EDIT:130,TableExpression_EDIT:131,ALL:132,DISTINCT:133,OptionalSelectConditions:134,OptionalSelectConditions_EDIT:135,SelectSpecification:136,SelectSpecification_EDIT:137,OptionalCorrelationName:138,"*":139,OptionalCorrelationName_EDIT:140,OptionalWhereClause:141,WhereClause_EDIT:142,WhereClause:143,Unions:144,Unions_EDIT:145,UnionClause:146,UnionClause_EDIT:147,UNION:148,NewStatement:149,WHERE:150,SearchCondition:151,SearchCondition_EDIT:152,UserDefinedFunction:153,AggregateFunction:154,OptionalOverClause:155,AnalyticFunction:156,OverClause:157,CastFunction:158,UserDefinedFunction_EDIT:159,AggregateFunction_EDIT:160,OptionalOverClause_EDIT:161,AnalyticFunction_EDIT:162,OverClause_EDIT:163,CastFunction_EDIT:164,OtherAggregateFunction:165,CountFunction:166,SumFunction:167,OtherAggregateFunction_EDIT:168,CountFunction_EDIT:169,SumFunction_EDIT:170,OtherAggregateFunction_Type:171,UdfArgumentList:172,UdfArgumentList_EDIT:173,AVG:174,MAX:175,MIN:176,STDDEV_POP:177,STDDEV_SAMP:178,VAR_POP:179,VAR_SAMP:180,VARIANCE:181,COUNT:182,SUM:183,ANALYTIC:184,ArbitraryFunctionName:185,ARRAY:186,IF:187,MAP:188,TRUNCATE:189,CAST:190,PrimitiveType:191,NonParenthesizedValueExpressionPrimary:192,ColumnOrArbitraryFunctionRef:193,ArbitraryFunctionRightPart:194,UnsignedValueSpecification:195,NULL:196,NonParenthesizedValueExpressionPrimary_EDIT:197,ArbitraryFunctionRightPart_EDIT:198,UnsignedValueSpecification_EDIT:199,ColumnOrArbitraryFunctionRef_EDIT:200,ArbitraryFunction:201,RegularIdentifier:202,ArbitraryFunction_EDIT:203,OVER:204,WindowExpression:205,WindowExpression_EDIT:206,SqlSyntax:207,SqlStatements:208,EOF:209,SqlAutocomplete:210,SqlStatements_EDIT:211,SqlStatement:212,";":213,SqlStatement_EDIT:214,DataManipulation:215,DataManipulation_EDIT:216,SetSpecification_EDIT:217,NonReservedKeyword:218,ROLE:219,OPTION:220,STRUCT:221,REGULAR_IDENTIFIER:222,NonStartingToken:223,"!":224,"-":225,".":226,"<":227,">":228,"[":229,"]":230,"~":231,AND:232,ARITHMETIC_OPERATOR:233,BACKTICK:234,BETWEEN:235,BIGINT:236,BOOLEAN:237,CASE:238,CHAR:239,COMPARISON_OPERATOR:240,CURRENT:241,DATABASE:242,DECIMAL:243,DOUBLE:244,DOUBLE_QUOTE:245,ELSE:246,END:247,EXISTS:248,FALSE:249,FLOAT:250,FOLLOWING:251,HDFS_START_QUOTE:252,IN:253,INT:254,INTO:255,IS:256,NOT:257,OR:258,PARTITION:259,PRECEDING:260,PURGE:261,RANGE:262,REGEXP:263,RLIKE:264,ROW:265,ROWS:266,SCHEMA:267,SET:268,SINGLE_QUOTE:269,SMALLINT:270,STRING:271,THEN:272,TIMESTAMP:273,TINYINT:274,TRUE:275,UNSIGNED_INTEGER:276,UNSIGNED_INTEGER_E:277,VALUES:278,VARCHAR:279,WHEN:280,Commas:281,PARTIAL_CURSOR:282,FromOrIn:283,DatabaseOrSchema:284,VALUE:285,SingleQuotedValue_EDIT:286,PARTIAL_VALUE:287,DoubleQuotedValue:288,DoubleQuotedValue_EDIT:289,QuotedValue:290,QuotedValue_EDIT:291,OptionalFromDatabase:292,OptionalFromDatabase_EDIT:293,DatabaseIdentifier_EDIT:294,OptionalCascade:295,CASCADE:296,OptionalIfExists:297,OptionalIfExists_EDIT:298,OptionalIfNotExists:299,OptionalIfNotExists_EDIT:300,OptionalInDatabase:301,OptionalPartitionSpec:302,PartitionSpec:303,OptionalPartitionSpec_EDIT:304,PartitionSpec_EDIT:305,PartitionSpecList:306,PartitionSpecList_EDIT:307,RangePartitionSpec:308,RangePartitionComparisonOperator:309,RangePartitionSpec_EDIT:310,ConfigurationName:311,PartialBacktickedOrAnyCursor:312,PartialBacktickedIdentifier:313,PartialBacktickedOrCursor:314,PartialBacktickedOrPartialCursor:315,OptionalParenthesizedColumnList:316,ParenthesizedColumnList:317,OptionalParenthesizedColumnList_EDIT:318,ParenthesizedColumnList_EDIT:319,ColumnList:320,ColumnList_EDIT:321,ColumnIdentifier:322,ParenthesizedSimpleValueList:323,SimpleValueList:324,PartitionExpression:325,PartitionExpression_EDIT:326,RegularOrBackTickedSchemaQualifiedName:327,RegularOrBackTickedSchemaQualifiedName_EDIT:328,LocalOrSchemaQualifiedName:329,LocalOrSchemaQualifiedName_EDIT:330,BasicIdentifierChain:331,BasicIdentifierChain_EDIT:332,DerivedColumnChain:333,DerivedColumnChain_EDIT:334,PartialBacktickedIdentifierOrPartialCursor:335,OptionalTypeLength:336,OptionalTypePrecision:337,OptionalNot:338,TableSubQuery:339,ValueExpressionList:340,BETWEEN_AND:341,LikeRightPart:342,CaseRightPart:343,TableSubQuery_EDIT:344,ValueExpressionInSecondPart_EDIT:345,LikeRightPart_EDIT:346,CaseRightPart_EDIT:347,EndOrError:348,ValueExpressionList_EDIT:349,InValueList:350,SignedInteger:351,"+":352,UnsignedLiteral:353,UnsignedLiteral_EDIT:354,ExactNumericLiteral:355,ApproximateNumericLiteral:356,TruthValue:357,TablePrimaryOrJoinedTable:358,TablePrimaryOrJoinedTable_EDIT:359,JoinedTable:360,JoinedTable_EDIT:361,TableOrQueryName:362,DerivedTable:363,TableOrQueryName_EDIT:364,DerivedTable_EDIT:365,OptionalOnColumn:366,OptionalOnColumn_EDIT:367,PushQueryState:368,PopQueryState:369,SubQuery:370,SubQuery_EDIT:371,QueryExpression:372,QueryExpression_EDIT:373,QueryExpressionBody:374,QueryExpressionBody_EDIT:375,NonJoinQueryExpression:376,NonJoinQueryExpression_EDIT:377,NonJoinQueryTerm:378,NonJoinQueryTerm_EDIT:379,NonJoinQueryPrimary:380,NonJoinQueryPrimary_EDIT:381,SimpleTable:382,SimpleTable_EDIT:383,OptionalPartitionBy:384,OptionalOrderByAndWindow:385,PartitionBy_EDIT:386,OptionalOrderByAndWindow_EDIT:387,PartitionBy:388,OptionalWindowSpec:389,WindowSpec_EDIT:390,WindowSpec:391,RowsOrRange:392,PopLexerState:393,OptionalCurrentOrPreceding:394,OptionalAndFollowing:395,UNBOUNDED:396,OptionalCurrentOrPreceding_EDIT:397,OptionalAndFollowing_EDIT:398,PushHdfsLexerState:399,HdfsPath:400,HDFS_PATH:401,HDFS_END_QUOTE:402,HdfsPath_EDIT:403,IntegerOrUnbounded:404,CaseWhenThenList:405,CaseWhenThenList_EDIT:406,CaseWhenThenListPartTwo:407,CaseWhenThenListPartTwo_EDIT:408,$accept:0,$end:1},terminals_:{2:"error",4:"CREATE",5:"CURSOR",13:"TABLE",15:"AS",17:"WITH",18:"(",20:")",22:",",23:"=",25:"EDIT",31:"VIEW",35:"SHOW",36:"COLUMNS",37:"FROM",39:"SCHEMAS",40:"LIKE",42:"TABLES",71:"GROUP",72:"BY",86:"HAVING",99:"CROSS",100:"JOIN",101:"FULL",102:"OUTER",103:"INNER",104:"LEFT",105:"SEMI",106:"RIGHT",107:"ON",111:"LIMIT",113:"VARIABLE_REFERENCE",117:"ORDER",124:"ASC",125:"DESC",126:"SELECT",132:"ALL",133:"DISTINCT",139:"*",148:"UNION",150:"WHERE",174:"AVG",175:"MAX",176:"MIN",177:"STDDEV_POP",178:"STDDEV_SAMP",179:"VAR_POP",180:"VAR_SAMP",181:"VARIANCE",182:"COUNT",183:"SUM",184:"ANALYTIC",186:"ARRAY",187:"IF",188:"MAP",189:"TRUNCATE",190:"CAST",196:"NULL",204:"OVER",209:"EOF",213:";",215:"DataManipulation",216:"DataManipulation_EDIT",217:"SetSpecification_EDIT",219:"ROLE",220:"OPTION",221:"STRUCT",222:"REGULAR_IDENTIFIER",224:"!",225:"-",226:".",227:"<",228:">",229:"[",230:"]",231:"~",232:"AND",233:"ARITHMETIC_OPERATOR",234:"BACKTICK",235:"BETWEEN",236:"BIGINT",237:"BOOLEAN",238:"CASE",239:"CHAR",240:"COMPARISON_OPERATOR",241:"CURRENT",242:"DATABASE",243:"DECIMAL",244:"DOUBLE",245:"DOUBLE_QUOTE",246:"ELSE",247:"END",248:"EXISTS",249:"FALSE",250:"FLOAT",251:"FOLLOWING",252:"HDFS_START_QUOTE",253:"IN",254:"INT",255:"INTO",256:"IS",257:"NOT",258:"OR",259:"PARTITION",260:"PRECEDING",261:"PURGE",262:"RANGE",263:"REGEXP",264:"RLIKE",265:"ROW",266:"ROWS",267:"SCHEMA",268:"SET",269:"SINGLE_QUOTE",270:"SMALLINT",271:"STRING",272:"THEN",273:"TIMESTAMP",274:"TINYINT",275:"TRUE",276:"UNSIGNED_INTEGER",277:"UNSIGNED_INTEGER_E",278:"VALUES",279:"VARCHAR",280:"WHEN",282:"PARTIAL_CURSOR",285:"VALUE",287:"PARTIAL_VALUE",296:"CASCADE",341:"BETWEEN_AND",352:"+",396:"UNBOUNDED",401:"HDFS_PATH",402:"HDFS_END_QUOTE"},productions_:[0,[3,2],[3,1],[3,1],[3,1],[9,1],[9,1],[9,1],[10,5],[10,7],[19,1],[19,3],[21,3],[6,3],[6,4],[6,5],[6,5],[6,7],[6,5],[6,7],[6,7],[27,1],[27,2],[27,3],[29,2],[29,3],[29,3],[11,5],[7,3],[7,4],[7,5],[7,5],[7,5],[12,1],[12,1],[12,1],[32,4],[33,2],[33,4],[34,4],[8,2],[8,1],[8,1],[8,1],[45,3],[44,3],[44,4],[44,4],[46,3],[46,4],[16,3],[16,5],[16,2],[26,4],[26,3],[26,3],[26,1],[26,4],[26,3],[26,2],[26,2],[48,2],[53,2],[54,1],[54,3],[55,1],[55,3],[55,3],[55,5],[56,5],[57,2],[57,5],[57,5],[63,2],[65,2],[65,2],[64,1],[64,3],[66,1],[66,3],[66,3],[66,5],[66,3],[69,0],[69,1],[70,3],[74,3],[74,3],[74,2],[76,0],[76,1],[76,3],[76,3],[78,1],[78,3],[78,3],[78,5],[78,3],[79,1],[79,1],[73,1],[73,3],[75,1],[75,2],[75,3],[75,3],[75,3],[75,4],[75,5],[83,1],[83,2],[83,1],[84,0],[84,1],[85,2],[87,2],[87,2],[88,0],[88,1],[88,1],[89,3],[89,4],[90,1],[90,2],[94,3],[94,1],[94,3],[94,3],[94,3],[98,1],[98,2],[98,2],[98,3],[91,2],[91,2],[91,3],[91,2],[91,1],[91,3],[91,2],[91,3],[91,3],[91,2],[91,3],[91,2],[91,3],[91,3],[91,2],[95,2],[95,3],[95,3],[95,2],[95,3],[95,3],[95,3],[95,3],[95,2],[95,3],[95,3],[95,3],[95,3],[95,2],[93,0],[93,2],[108,1],[108,3],[97,2],[97,2],[109,0],[109,1],[110,2],[110,4],[110,2],[110,4],[114,2],[115,0],[115,1],[116,3],[119,3],[119,2],[118,1],[118,3],[120,1],[120,2],[120,3],[120,4],[120,5],[121,2],[122,2],[122,2],[123,0],[123,1],[123,1],[49,3],[49,4],[51,3],[51,3],[51,4],[51,4],[51,4],[51,5],[51,6],[51,4],[127,0],[127,1],[127,1],[129,2],[131,2],[131,4],[131,3],[128,1],[128,3],[130,1],[130,2],[130,3],[130,3],[130,3],[130,4],[130,3],[130,3],[130,4],[130,4],[130,4],[130,5],[130,5],[136,2],[136,1],[137,2],[137,3],[137,2],[134,5],[135,5],[135,5],[135,5],[135,5],[135,5],[135,6],[135,6],[135,6],[135,6],[135,6],[50,0],[50,1],[52,1],[144,1],[144,2],[145,1],[145,2],[145,2],[145,3],[146,4],[147,3],[147,4],[147,4],[141,0],[141,1],[143,2],[142,2],[142,2],[151,1],[152,1],[153,2],[153,2],[153,1],[159,1],[159,2],[159,1],[159,2],[159,2],[159,2],[159,1],[154,1],[154,1],[154,1],[160,1],[160,1],[160,1],[165,4],[165,5],[168,5],[168,6],[168,5],[171,1],[171,1],[171,1],[171,1],[171,1],[171,1],[171,1],[171,1],[166,4],[166,3],[166,5],[169,5],[169,6],[169,5],[167,5],[167,3],[170,5],[170,6],[170,5],[156,3],[156,4],[162,4],[162,5],[162,4],[185,1],[185,1],[185,1],[185,1],[158,6],[158,3],[164,6],[164,5],[164,4],[164,6],[164,5],[164,4],[164,6],[164,5],[164,6],[164,5],[192,2],[192,2],[192,1],[192,1],[192,1],[192,1],[197,2],[197,2],[197,1],[197,1],[197,1],[201,2],[201,2],[203,2],[203,2],[194,2],[194,3],[198,3],[198,4],[198,3],[172,1],[172,3],[173,1],[173,3],[173,3],[173,5],[173,3],[173,5],[173,4],[173,3],[173,2],[173,2],[173,4],[155,0],[155,1],[161,1],[157,2],[157,2],[163,2],[207,3],[210,3],[210,3],[149,0],[208,0],[208,1],[208,4],[211,1],[211,4],[211,4],[211,7],[212,1],[212,1],[212,1],[214,1],[214,2],[214,1],[214,1],[214,1],[214,1],[218,1],[218,1],[218,1],[202,1],[202,1],[202,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[223,1],[281,1],[281,2],[60,1],[60,1],[283,1],[283,1],[284,1],[284,1],[41,3],[41,2],[286,2],[288,3],[288,2],[289,2],[290,1],[290,1],[291,1],[291,1],[292,0],[292,2],[293,2],[295,0],[295,1],[297,0],[297,2],[298,2],[299,0],[299,3],[300,2],[300,3],[301,0],[301,2],[301,2],[302,0],[302,1],[304,1],[303,4],[305,4],[308,5],[310,2],[310,3],[310,4],[310,5],[310,5],[310,5],[309,1],[309,1],[309,1],[309,1],[311,1],[311,1],[312,1],[312,1],[314,1],[314,1],[315,1],[315,1],[313,2],[61,1],[61,1],[316,0],[316,1],[318,1],[317,3],[319,3],[319,3],[320,1],[320,3],[321,3],[321,5],[323,3],[324,1],[324,3],[38,1],[38,3],[47,1],[47,3],[47,3],[14,1],[14,3],[28,1],[28,3],[28,3],[43,1],[294,1],[306,1],[306,3],[307,1],[307,3],[307,3],[307,5],[325,3],[326,3],[326,3],[326,3],[326,1],[58,1],[58,3],[58,2],[327,1],[327,3],[328,1],[328,3],[329,1],[329,2],[330,1],[330,2],[77,1],[77,3],[80,1],[331,1],[331,3],[332,3],[332,5],[333,1],[333,3],[334,1],[334,3],[334,5],[334,3],[322,1],[335,1],[335,1],[191,1],[191,1],[191,2],[191,2],[191,1],[191,1],[191,1],[191,1],[191,1],[191,1],[191,1],[191,2],[336,0],[336,3],[337,0],[337,3],[337,5],[81,1],[81,2],[81,2],[81,2],[81,2],[81,4],[81,4],[81,4],[81,6],[81,2],[81,3],[81,3],[81,3],[81,3],[81,3],[81,6],[81,6],[81,5],[81,5],[81,6],[81,5],[81,3],[81,3],[81,3],[81,3],[81,3],[81,2],[81,3],[81,2],[81,3],[82,1],[82,3],[82,2],[82,2],[82,2],[82,2],[82,2],[82,2],[82,2],[82,2],[82,3],[82,4],[82,5],[82,4],[82,4],[82,4],[82,6],[82,6],[82,2],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,4],[82,3],[82,6],[82,6],[82,5],[82,5],[82,6],[82,6],[82,6],[82,6],[82,5],[82,4],[82,5],[82,5],[82,5],[82,5],[82,4],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,3],[82,2],[82,3],[82,2],[82,3],[82,2],[82,3],[82,2],[82,3],[82,3],[82,4],[82,3],[82,3],[82,3],[340,1],[340,3],[349,1],[349,3],[349,3],[349,5],[349,3],[349,5],[349,4],[349,3],[349,2],[349,2],[349,4],[350,1],[350,3],[193,1],[193,3],[200,1],[351,1],[351,2],[351,2],[195,1],[199,1],[353,1],[353,1],[354,1],[112,1],[112,1],[355,1],[355,2],[355,3],[355,2],[356,2],[356,3],[356,4],[24,1],[24,1],[24,1],[30,1],[30,1],[357,1],[357,1],[338,0],[338,1],[67,1],[68,1],[358,1],[358,1],[359,1],[359,1],[360,2],[361,2],[361,2],[92,2],[92,2],[96,2],[96,2],[96,2],[362,1],[364,1],[363,1],[365,1],[366,0],[366,2],[367,2],[367,2],[368,0],[369,0],[339,3],[339,4],[344,3],[344,3],[59,2],[62,3],[370,1],[371,1],[372,1],[373,1],[374,1],[375,1],[376,1],[377,1],[378,1],[379,1],[380,1],[381,1],[382,1],[383,1],[138,0],[138,1],[138,1],[138,2],[138,2],[140,1],[140,1],[140,2],[140,2],[140,2],[205,4],[206,4],[206,4],[206,5],[206,7],[384,0],[384,1],[388,3],[386,2],[386,3],[386,3],[385,0],[385,2],[387,1],[387,3],[387,2],[389,0],[389,1],[391,5],[391,5],[390,2],[390,6],[390,5],[390,5],[390,5],[390,4],[393,0],[399,0],[400,3],[403,5],[403,4],[403,3],[403,3],[403,2],[392,1],[392,1],[394,0],[394,2],[394,2],[397,2],[397,2],[395,0],[395,3],[395,3],[398,2],[398,3],[398,3],[404,1],[404,1],[345,3],[345,3],[345,3],[342,2],[342,2],[342,2],[346,2],[346,2],[346,2],[346,2],[346,2],[346,2],[343,2],[343,4],[347,2],[347,4],[347,4],[347,3],[347,4],[347,3],[347,4],[347,4],[347,3],[347,4],[347,3],[348,1],[348,1],[405,1],[405,2],[406,1],[406,2],[406,3],[406,3],[406,2],[407,4],[408,2],[408,3],[408,4],[408,4],[408,3],[408,3],[408,4],[408,2],[408,3],[408,2],[408,3],[408,3],[408,4],[408,3],[408,4],[408,4],[408,5],[408,4],[408,3]],performAction:function(e,s,t,a,i,r,n){var o=r.length-1;switch(i){case 1:ws.suggestKeywords(["TABLE","VIEW"]);break;case 14:ws.suggestKeywords(["AS","WITH ("]);break;case 15:case 30:case 71:case 376:case 823:ws.suggestKeywords(["SELECT"]);break;case 19:ws.suggestKeywords([")"]);break;case 22:ws.suggestKeywords([",",")"]);break;case 24:ws.suggestKeywords(["="]);break;case 29:case 70:ws.suggestKeywords(["AS"]);break;case 40:ws.suggestKeywords(["SCHEMAS","TABLES","COLUMNS"]);break;case 44:ws.suggestKeywords(["LIKE"]);break;case 45:case 48:ws.suggestKeywords(["FROM"]);break;case 46:case 570:case 74:case 82:ws.suggestTables(),ws.suggestDatabases({appendDot:!0});break;case 49:ws.suggestDatabases({appendDot:!1});break;case 51:case 224:this.$=r[o-2];break;case 52:case 222:case 338:case 341:case 503:case 506:case 592:case 645:case 820:case 684:this.$=r[o-1];break;case 53:ws.addCommonTableExpressions(r[o-3]);break;case 54:case 55:case 66:ws.addCommonTableExpressions(r[o-2]);break;case 61:case 77:case 101:case 177:case 181:case 219:case 229:case 256:case 745:case 747:case 802:case 857:case 932:this.$=r[o];break;case 63:case 210:this.$=[r[o]];break;case 64:this.$=r[o-2].concat([r[o]]);break;case 68:ws.addCommonTableExpressions(r[o-4]);break;case 69:ws.addCteAliasLocation(n[o-4],r[o-4]),r[o-1].alias=r[o-4],this.$=r[o-1];break;case 73:this.$={tableReferenceList:r[o]};break;case 85:case 163:this.$={valueExpression:r[o]};break;case 86:case 188:ws.suggestSelectListAliases();break;case 87:ws.valueExpressionSuggest(),ws.suggestSelectListAliases(),ws.suggestGroupBys({tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 88:ws.suggestKeywords(["BY"]),ws.suggestGroupBys({prefix:"BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 98:case 560:case 563:case 564:case 589:case 590:case 611:case 614:ws.suggestColumns();break;case 103:case 104:case 110:case 111:case 588:case 816:case 859:ws.valueExpressionSuggest();break;case 115:ws.valueExpressionSuggest(),ws.suggestAggregateFunctions(),ws.suggestSelectListAliases(!0);break;case 116:ws.suggestAggregateFunctions(),ws.suggestSelectListAliases(!0);break;case 120:r[o]&&r[o].valueExpression?this.$=r[o].valueExpression:this.$={},this.$.joinType=r[o-2],r[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:ws.yy.latestTablePrimaries.concat()}),r[o].suggestKeywords&&(this.$.suggestKeywords=r[o].suggestKeywords),ws.yy.latestTablePrimaries.length>0&&(ws.yy.latestTablePrimaries[ws.yy.latestTablePrimaries.length-1].join=!0);break;case 121:r[o]&&r[o].valueExpression?this.$=r[o].valueExpression:this.$={},this.$.joinType=r[o-3],r[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:ws.yy.latestTablePrimaries.concat()}),r[o].suggestKeywords&&(this.$.suggestKeywords=r[o].suggestKeywords),ws.yy.latestTablePrimaries.length>0&&(ws.yy.latestTablePrimaries[ws.yy.latestTablePrimaries.length-1].join=!0);break;case 122:this.$={joinType:r[o]};break;case 123:this.$={joinType:r[o-1]};break;case 124:r[o-2].suggestKeywords&&ws.suggestKeywords(r[o-2].suggestKeywords);break;case 125:r[o].suggestKeywords&&ws.suggestKeywords(r[o].suggestKeywords);break;case 128:if(ws.yy.latestTablePrimaries.length>0){var c=ws.yy.latestTablePrimaries.length-1,u=[];do{(E=ws.yy.latestTablePrimaries[c]).subQueryAlias||u.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),c--}while(c>=0&&E.join&&!E.subQueryAlias);u.length>0&&ws.suggestJoins({prependJoin:!1,joinType:r[o-2],tables:u})}ws.suggestTables(),ws.suggestDatabases({appendDot:!0});break;case 133:this.$="CROSS JOIN";break;case 134:this.$="FULL JOIN";break;case 135:this.$="FULL OUTER JOIN";break;case 136:this.$="INNER JOIN";break;case 137:this.$="JOIN";break;case 138:this.$="LEFT INNER JOIN";break;case 139:this.$="LEFT JOIN";break;case 140:this.$="LEFT OUTER JOIN";break;case 141:this.$="LEFT SEMI JOIN";break;case 142:this.$="OUTER JOIN";break;case 143:case 145:this.$="RIGHT OUTER JOIN";break;case 144:this.$="RIGHT JOIN";break;case 146:this.$="RIGHT SEMI JOIN";break;case 147:this.$="SEMI JOIN";break;case 148:case 150:case 151:case 153:case 154:case 155:case 156:case 158:case 159:case 160:case 161:this.$={suggestKeywords:["JOIN"]};break;case 149:case 152:case 157:this.$={suggestKeywords:["OUTER"]};break;case 162:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 167:ws.valueExpressionSuggest(),ws.suggestJoinConditions({prependOn:!1});break;case 174:ws.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 178:r[o].emptyOrderBy&&ws.suggestOrderBys({tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 179:ws.suggestKeywords(["BY"]),ws.suggestOrderBys({prefix:"BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 183:this.$={emptyOrderBy:!1},ws.valueExpressionSuggest(),ws.suggestAnalyticFunctions(),ws.suggestSelectListAliases();break;case 184:case 185:case 186:this.$={emptyOrderBy:!1};break;case 187:this.$=ws.mergeSuggestKeywords(r[o]);break;case 189:this.$={emptyOrderBy:!0},ws.valueExpressionSuggest(),ws.suggestAnalyticFunctions(),ws.suggestSelectListAliases();break;case 190:this.$={suggestKeywords:["ASC","DESC"]};break;case 193:ws.addClauseLocation("selectList",ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2]),n[o]),this.$={selectList:r[o]};break;case 194:ws.addClauseLocation("selectList",ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3]),n[o-1]),this.$={selectList:r[o-1],tableExpression:r[o]};break;case 195:if(ws.addClauseLocation("selectList",ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2]),n[o]),r[o].cursorAtStart){var l=ws.getSelectListKeywords();r[o-1]||(l=l.concat(ws.SELECT_FIRST_OPTIONAL_KEYWORDS)),ws.suggestKeywords(l)}else ws.checkForSelectListKeywords(r[o]);r[o].suggestFunctions&&ws.suggestFunctions(),r[o].suggestColumns&&ws.suggestColumns({identifierChain:[],source:"select"}),r[o].suggestTables&&ws.suggestTables({prependQuestionMark:!0,prependFrom:!0}),r[o].suggestDatabases&&ws.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!r[o].suggestAggregateFunctions||r[o-1]&&"ALL"!==r[o-1]||(ws.suggestAggregateFunctions(),ws.suggestAnalyticFunctions());break;case 196:ws.addClauseLocation("selectList",ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2]),n[o],!0),l=ws.getSelectListKeywords(),r[o-1]&&"ALL"!==r[o-1]||(ws.suggestAggregateFunctions(),ws.suggestAnalyticFunctions()),r[o-1]||(l=l.concat(ws.SELECT_FIRST_OPTIONAL_KEYWORDS)),ws.suggestKeywords(l),ws.suggestFunctions(),ws.suggestColumns({identifierChain:[],source:"select"}),ws.suggestTables({prependQuestionMark:!0,prependFrom:!0}),ws.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 197:ws.addClauseLocation("selectList",ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3]),n[o-1]);break;case 198:ws.addClauseLocation("selectList",ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3]),n[o-1]),ws.selectListNoTableSuggest(r[o-1],r[o-2]),ws.yy.result.suggestColumns&&(ws.yy.result.suggestColumns.source="select");break;case 199:ws.addClauseLocation("selectList",ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3]),n[o-1],!0),l=ws.getSelectListKeywords(),r[o-2]&&"ALL"!==r[o-2]||(ws.suggestAggregateFunctions(),ws.suggestAnalyticFunctions()),r[o-2]||(l=l.concat(ws.SELECT_FIRST_OPTIONAL_KEYWORDS)),ws.suggestKeywords(l),ws.suggestFunctions(),ws.suggestColumns({identifierChain:[],source:"select"}),ws.suggestTables({prependQuestionMark:!0,prependFrom:!0}),ws.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 200:ws.addClauseLocation("selectList",ws.firstDefined(r[o-3],n[o-3],r[o-4],n[o-4]),n[o-2]),ws.checkForSelectListKeywords(r[o-2]);break;case 201:ws.addClauseLocation("selectList",ws.firstDefined(r[o-4],n[o-4],r[o-5],n[o-5]),n[o-3]),ws.checkForSelectListKeywords(r[o-3]);break;case 202:ws.addClauseLocation("selectList",ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3]),n[o-1]),ws.checkForSelectListKeywords(r[o-1]),l=["FROM"],ws.yy.result.suggestKeywords&&(l=ws.yy.result.suggestKeywords.concat(l)),ws.suggestKeywords(l),ws.suggestTables({prependFrom:!0}),ws.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 206:case 207:ws.addClauseLocation("whereClause",n[o-1],r[o].whereClauseLocation),ws.addClauseLocation("limitClause",r[o].limitClausePreceding||n[o-1],r[o].limitClauseLocation);break;case 208:if(l=[],ws.addClauseLocation("whereClause",n[o-3],r[o-1].whereClauseLocation),ws.addClauseLocation("limitClause",r[o-2].limitClausePreceding||n[o-3],r[o-2].limitClauseLocation),r[o-3]&&(void 0===r[o-3].tableReferenceList.hasJoinCondition||r[o-3].tableReferenceList.hasJoinCondition||l.push({value:"ON",weight:3}),r[o-3].suggestKeywords&&(l=ws.createWeightedKeywords(r[o-3].suggestKeywords,3)),r[o-3].tableReferenceList.suggestJoinConditions&&ws.suggestJoinConditions(r[o-3].tableReferenceList.suggestJoinConditions),r[o-3].tableReferenceList.suggestJoins&&ws.suggestJoins(r[o-3].tableReferenceList.suggestJoins),r[o-3].tableReferenceList.suggestKeywords&&(l=l.concat(ws.createWeightedKeywords(r[o-3].tableReferenceList.suggestKeywords,3))),l.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),r[o-3].tableReferenceList.types)){var g=ws.getValueExpressionKeywords(r[o-3].tableReferenceList);l=l.concat(g.suggestKeywords),g.suggestColRefKeywords&&(ws.suggestColRefKeywords(g.suggestColRefKeywords),ws.addColRefIfExists(r[o-3].tableReferenceList))}if(r[o-1].empty&&r[o]&&"JOIN"===r[o].joinType.toUpperCase())return l=l.concat(["FULL","FULL OUTER","INNER","LEFT","LEFT OUTER","RIGHT","RIGHT OUTER"]),void ws.suggestKeywords(l);r[o-1].suggestKeywords&&(l=l.concat(ws.createWeightedKeywords(r[o-1].suggestKeywords,2))),r[o-1].suggestFilters&&ws.suggestFilters(r[o-1].suggestFilters),r[o-1].suggestGroupBys&&ws.suggestGroupBys(r[o-1].suggestGroupBys),r[o-1].suggestOrderBys&&ws.suggestOrderBys(r[o-1].suggestOrderBys),r[o-1].empty&&l.push({value:"UNION",weight:2.11}),l=l.concat([{value:"FULL JOIN",weight:1},{value:"FULL OUTER JOIN",weight:1},{value:"INNER JOIN",weight:1},{value:"JOIN",weight:1},{value:"LEFT JOIN",weight:1},{value:"LEFT OUTER JOIN",weight:1},{value:"RIGHT JOIN",weight:1},{value:"RIGHT OUTER JOIN",weight:1}]),ws.suggestKeywords(l);break;case 209:if(!r[o-1])return ws.addClauseLocation("whereClause",n[o-2]),void ws.addClauseLocation("limitClause",n[o-2]);ws.addClauseLocation("whereClause",n[o-2],r[o-1].whereClauseLocation),ws.addClauseLocation("limitClause",r[o-1].limitClausePreceding||n[o-2],r[o-1].limitClauseLocation),l=[],r[o-1].suggestColRefKeywords&&(ws.suggestColRefKeywords(r[o-1].suggestColRefKeywords),ws.addColRefIfExists(r[o-1])),r[o-1].suggestKeywords&&r[o-1].suggestKeywords.length&&(l=l.concat(ws.createWeightedKeywords(r[o-1].suggestKeywords,2))),r[o-1].cursorAtEnd&&l.push({value:"UNION",weight:2.11}),ws.suggestKeywords(l);break;case 211:r[o-2].push(r[o]);break;case 213:case 214:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 216:ws.checkForSelectListKeywords(r[o-2]);break;case 217:ws.checkForSelectListKeywords(r[o-3]);break;case 218:this.$={suggestKeywords:ws.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 220:case 221:case 223:this.$={suggestKeywords:ws.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 225:r[o]?(ws.addColumnAliasLocation(r[o].location,r[o].alias,n[o-1]),this.$={valueExpression:r[o-1],alias:r[o].alias},ws.yy.selectListAliases||(ws.yy.selectListAliases=[]),ws.yy.selectListAliases.push(r[o-1].function&&r[o-1].types&&r[o-1].types.length&&"UDFREF"===r[o-1].types[0]?{name:r[o].alias,udfRef:r[o-1].function,types:r[o-1].types}:{name:r[o].alias,types:r[o-1].types||["T"]})):this.$={valueExpression:r[o-1]};break;case 226:ws.addAsteriskLocation(n[o],[{asterisk:!0}]),this.$={asterisk:!0};break;case 227:r[o]&&ws.addColumnAliasLocation(r[o].location,r[o].alias,n[o-1]);break;case 228:ws.suggestFunctions(),ws.suggestColumns(),ws.addColumnAliasLocation(n[o],r[o],n[o-2]),this.$={suggestAggregateFunctions:!0};break;case 230:(l=ws.getKeywordsForOptionalsLR([r[o-4],r[o-3],r[o-2],r[o-1],r[o]],[{value:"WHERE",weight:7},{value:"GROUP BY",weight:6},{value:"HAVING",weight:5},{value:"ORDER BY",weight:4},{value:"LIMIT",weight:3}],[!0,!0,!0,!0,!0])).length>0?this.$={suggestKeywords:l,empty:!(r[o-4]||r[o-3]||r[o-2]||r[o-1]||r[o])}:this.$={},this.$.whereClauseLocation=r[o-4]?n[o-4]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2],r[o-3],n[o-3],r[o-4],n[o-4]),this.$.limitClauseLocation=r[o]?n[o]:void 0,r[o-4]||r[o-3]||r[o-2]||r[o-1]||r[o]||(this.$.suggestFilters={prefix:"WHERE",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),r[o-3]||r[o-2]||r[o-1]||r[o]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),r[o-1]||r[o]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 231:ws.yy.result.suggestColumns&&(ws.yy.result.suggestColumns.source="where");break;case 232:ws.yy.result.suggestColumns&&(ws.yy.result.suggestColumns.source="group by");break;case 234:ws.yy.result.suggestColumns&&(ws.yy.result.suggestColumns.source="order by");break;case 236:l=ws.getKeywordsForOptionalsLR([r[o-3],r[o-2],r[o-1],r[o]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]),r[o-5].suggestKeywords&&(l=l.concat(ws.createWeightedKeywords(r[o-5].suggestKeywords,1))),this.$=ws.getValueExpressionKeywords(r[o-5],l),this.$.cursorAtEnd=!(r[o-3]||r[o-2]||r[o-1]||r[o]),r[o-5].columnReference&&(this.$.columnReference=r[o-5].columnReference),r[o-3]||ws.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),r[o-3]||r[o-2]||r[o-1]||ws.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=r[o-5]?n[o-5]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2],r[o-3],n[o-3],r[o-5],n[o-5]),this.$.limitClauseLocation=r[o]?n[o]:void 0;break;case 237:l=ws.getKeywordsForOptionalsLR([r[o-2],r[o-1],r[o]],[{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0]),r[o-4].suggestKeywords&&(l=l.concat(ws.createWeightedKeywords(r[o-4].suggestKeywords,8))),r[o-4].valueExpression?(this.$=ws.getValueExpressionKeywords(r[o-4].valueExpression,l),r[o-4].valueExpression.columnReference&&(this.$.columnReference=r[o-4].valueExpression.columnReference)):this.$={suggestKeywords:l},this.$.cursorAtEnd=!r[o-2]&&!r[o-1]&&!r[o],r[o-2]||r[o-1]||ws.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=r[o-5]?n[o-5]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-1],n[o-1],r[o-2],n[o-2],r[o-4],n[o-4]),this.$.limitClauseLocation=r[o]?n[o]:void 0;break;case 238:l=ws.getKeywordsForOptionalsLR([r[o-1],r[o]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]),this.$={suggestKeywords:l,cursorAtEnd:!r[o-1]&&!r[o]},r[o-1]||ws.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:ws.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=r[o-5]?n[o-5]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-1],n[o-1],r[o-3],n[o-3]),this.$.limitClauseLocation=r[o]?n[o]:void 0;break;case 239:l=ws.getKeywordsForOptionalsLR([r[o]],[{value:"LIMIT",weight:3}],[!0]),r[o-2].suggestKeywords&&(l=l.concat(ws.createWeightedKeywords(r[o-2].suggestKeywords,4))),this.$={suggestKeywords:l,cursorAtEnd:!r[o]},this.$.whereClauseLocation=r[o-5]?n[o-5]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-2],n[o-2]),this.$.limitClauseLocation=r[o]?n[o]:void 0;break;case 240:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=r[o-5]?n[o-5]:void 0,this.$.limitClausePreceding=ws.firstDefined(r[o-2],n[o-2],r[o-3],n[o-3],r[o-4],n[o-4],r[o-5],n[o-5]),this.$.limitClauseLocation=n[o-1];break;case 251:ws.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 252:ws.suggestKeywords(["ALL","DISTINCT"]);break;case 257:r[o].suggestFilters&&ws.suggestFilters({tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 258:ws.suggestFunctions(),ws.suggestColumns(),ws.suggestKeywords(["EXISTS","NOT EXISTS"]),ws.suggestFilters({tablePrimaries:ws.yy.latestTablePrimaries.concat()});break;case 261:r[o]||(r[o-1].suggestKeywords=["OVER"]);break;case 268:ws.suggestKeywords(["OVER"]);break;case 277:this.$={function:r[o-3],types:["UDFREF"]};break;case 278:case 296:case 292:ws.addFunctionArgumentLocations(r[o-4],r[o-1].expressions),this.$={function:r[o-4],types:["UDFREF"]};break;case 279:ws.valueExpressionSuggest(),l=ws.getSelectListKeywords(!0),r[o-2]||("group_concat"===r[o-4].toLowerCase()?l.push("ALL"):l.push("DISTINCT")),ws.yy.result.suggestKeywords&&(l=ws.yy.result.suggestKeywords.concat(l)),ws.suggestKeywords(l),ws.applyArgumentTypesToSuggestions(r[o-4],1),this.$={function:r[o-4],types:["UDFREF"]};break;case 280:case 294:ws.suggestValueExpressionKeywords(r[o-2].expressions[r[o-2].expressions.length-1].expression),this.$={function:r[o-5],types:["UDFREF"]};break;case 281:r[o-1].cursorAtStart&&(l=ws.getSelectListKeywords(!0),r[o-2]||("group_concat"===r[o-4].toLowerCase()?l.push("ALL"):l.push("DISTINCT")),ws.yy.result.suggestKeywords&&(l=ws.yy.result.suggestKeywords.concat(l)),ws.suggestKeywords(l)),ws.yy.result.suggestFunctions&&!ws.yy.result.suggestFunctions.types&&ws.applyArgumentTypesToSuggestions(r[o-4],r[o-1].activePosition),this.$={function:r[o-4],types:["UDFREF"]};break;case 290:ws.addFunctionArgumentLocations(r[o-3],[{expression:{text:r[o-1]},location:n[o-1]}]),this.$={function:r[o-3],types:["UDFREF"]};break;case 291:case 297:case 301:this.$={function:r[o-2],types:["UDFREF"]};break;case 293:ws.valueExpressionSuggest(),l=ws.getSelectListKeywords(),r[o-2]||(l.push("DISTINCT"),ws.yy.result.suggestKeywords&&(l=ws.yy.result.suggestKeywords.concat(l))),ws.suggestKeywords(l),this.$={function:r[o-4],types:["UDFREF"]};break;case 295:r[o-1].cursorAtStart&&(l=ws.getSelectListKeywords(),r[o-2]||l.push("DISTINCT"),ws.suggestKeywords(l)),this.$={function:r[o-4],types:["UDFREF"]};break;case 298:ws.valueExpressionSuggest(),ws.applyArgumentTypesToSuggestions(r[o-4],1),l=ws.getSelectListKeywords(!0),r[o-2]||l.push("DISTINCT"),ws.yy.result.suggestKeywords&&(l=ws.yy.result.suggestKeywords.concat(l)),ws.suggestKeywords(l),this.$={function:r[o-4],types:["UDFREF"]};break;case 299:ws.suggestValueExpressionKeywords(r[o-2]),this.$={function:r[o-5],types:["UDFREF"]};break;case 300:ws.yy.result.suggestFunctions&&!ws.yy.result.suggestFunctions.types&&ws.applyArgumentTypesToSuggestions(r[o-4],1),this.$={function:r[o-4],types:["UDFREF"]};break;case 302:ws.addFunctionArgumentLocations(r[o-3],r[o-1].expressions),this.$={function:r[o-3],expression:r[o-1].expressions[r[o-1].expressions.length-1].expression,types:["UDFREF"]};break;case 303:ws.valueExpressionSuggest(),ws.applyArgumentTypesToSuggestions(r[o-3],1),this.$={function:r[o-3],types:["UDFREF"]};break;case 304:ws.addFunctionArgumentLocations(r[o-4],r[o-2].expressions),ws.suggestValueExpressionKeywords(r[o-2].expressions[r[o-2].expressions.length-1].expression),this.$={function:r[o-4],types:["UDFREF"]};break;case 305:ws.addFunctionArgumentLocations(r[o-3],r[o-1].expressions),ws.applyArgumentTypesToSuggestions(r[o-3],r[o-1].activePosition),this.$={function:r[o-3],types:["UDFREF"]};break;case 310:var y=r[o-3];ws.extractExpressionText(y,r[o-3],r[o-2],r[o-1]),ws.addFunctionArgumentLocations(r[o-5],[{expression:y,location:{first_line:n[o-3].first_line,last_line:n[o-1].last_line,first_column:n[o-3].first_column,last_column:n[o-1].last_column}}]),this.$={types:[r[o-1].toUpperCase()]};break;case 311:case 316:case 317:case 751:this.$={types:["T"]};break;case 312:ws.valueExpressionSuggest(),this.$={types:[r[o-1].toUpperCase()]};break;case 313:case 314:ws.valueExpressionSuggest(),this.$={types:["T"]};break;case 315:this.$={types:[r[o-1].toUpperCase()]};break;case 318:ws.suggestValueExpressionKeywords(r[o-3],[{value:"AS",weight:2}]),this.$={types:[r[o-1].toUpperCase()]};break;case 319:ws.suggestValueExpressionKeywords(r[o-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 320:case 321:ws.suggestKeywords(ws.getTypeKeywords()),this.$={types:["T"]};break;case 322:var p=r[o-1].chain[r[o-1].chain.length-1].name.toLowerCase();ws.addFunctionArgumentLocations(p,r[o].expressions,r[o-1].chain),r[o-1].lastLoc&&r[o-1].lastLoc.location&&(r[o-1].lastLoc.type="function",r[o-1].lastLoc.function=p,r[o-1].lastLoc.location={first_line:r[o-1].lastLoc.location.first_line,last_line:r[o-1].lastLoc.location.last_line,first_column:r[o-1].lastLoc.location.first_column,last_column:r[o-1].lastLoc.location.last_column-1},r[o-1].lastLoc!==r[o-1].firstLoc?r[o-1].firstLoc.type="database":delete r[o-1].lastLoc.identifierChain),r[o].expressions&&r[o].expressions.length?this.$={function:p,expression:r[o].expressions[r[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:p,types:["UDFREF"]};break;case 323:ws.addFunctionLocation(n[o-1],r[o-1]),r[o].expressions&&r[o].expressions.length?this.$={function:r[o-1],expression:r[o].expressions[r[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:r[o-1],types:["UDFREF"]};break;case 326:this.$={types:["COLREF"],columnReference:r[o].chain};break;case 327:this.$={types:["NULL"],text:r[o]};break;case 328:p=r[o-1].chain[r[o-1].chain.length-1].name.toLowerCase(),ws.addFunctionArgumentLocations(p,r[o].expressions,r[o-1].chain),r[o-1].lastLoc.type="function",r[o-1].lastLoc.function=p,r[o-1].lastLoc.location={first_line:r[o-1].lastLoc.location.first_line,last_line:r[o-1].lastLoc.location.last_line,first_column:r[o-1].lastLoc.location.first_column,last_column:r[o-1].lastLoc.location.last_column-1},r[o-1].lastLoc!==r[o-1].firstLoc?r[o-1].firstLoc.type="database":delete r[o-1].lastLoc.identifierChain,r[o].activePosition&&ws.applyArgumentTypesToSuggestions(p,r[o].activePosition),this.$={function:p,types:["UDFREF"]};break;case 329:case 335:case 336:ws.addFunctionLocation(n[o-1],r[o-1]),ws.addFunctionArgumentLocations(r[o-1],r[o].expressions),r[o].activePosition&&ws.applyArgumentTypesToSuggestions(r[o-1],r[o].activePosition),this.$={function:r[o-1],types:["UDFREF"]};break;case 332:r[o].suggestKeywords?this.$={types:["COLREF"],columnReference:r[o],suggestKeywords:r[o].suggestKeywords}:this.$={types:["COLREF"],columnReference:r[o]};break;case 333:case 334:ws.addFunctionLocation(n[o-1],r[o-1]),ws.addFunctionArgumentLocations(r[o-1],r[o].expressions),r[o].expressions&&r[o].expressions.length?this.$={function:r[o-1],expression:r[o].expressions[r[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:r[o-1],types:["UDFREF"]};break;case 339:ws.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:n[o-1]}]};break;case 340:ws.suggestValueExpressionKeywords(r[o-2].expressions[r[o-2].expressions.length-1].expression),this.$=r[o-3];break;case 342:case 344:this.$={activePosition:1,expressions:[{expression:r[o],location:n[o]}]};break;case 343:case 345:this.$={activePosition:r[o-2].activePosition+1,expressions:r[o-2].expressions.concat([{expression:r[o],location:n[o]}])};break;case 346:this.$={activePosition:1,expressions:[{expression:r[o-2],location:n[o-2]}].concat(r[o].expressions)};break;case 347:this.$={activePosition:r[o-4].activePosition+1,expressions:r[o-4].expressions.concat([{expression:r[o-2],location:n[o-2]}]).concat(r[o].expressions)};break;case 348:ws.valueExpressionSuggest(),this.$={activePosition:r[o-2].activePosition+1,expressions:r[o-2].expressions.concat([{expression:{text:""},location:n[o]}])};break;case 349:ws.valueExpressionSuggest(),this.$={activePosition:r[o-4].activePosition+1,expressions:r[o-4].expressions.concat([{expression:{text:""},location:n[o-2]}]).concat(r[o].expressions)};break;case 350:ws.suggestValueExpressionKeywords(r[o-3].expressions[r[o-3].expressions.length-1].expression),this.$={activePosition:r[o-3].activePosition,expressions:r[o-3].expressions.concat(r[o].expressions)};break;case 351:ws.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:n[o-2]}].concat(r[o].expressions)};break;case 352:ws.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:n[o-1]},{expression:{text:""},location:n[o]}]};break;case 353:ws.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:n[o-1]},{expression:{text:""},location:n[o]}]};break;case 354:ws.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:n[o-3]},{expression:{text:""},location:n[o-2]}].concat(r[o].expressions)};break;case 362:case 363:return ws.yy.result;case 364:ws.prepareNewStatement();break;case 366:case 368:case 370:ws.addStatementLocation(n[o]);break;case 369:case 371:ws.addStatementLocation(n[o-3]);break;case 375:ws.suggestDdlAndDmlKeywords();break;case 504:case 507:case 593:this.$="";break;case 519:case 522:ws.yy.correlatedSubQuery=!1;break;case 520:case 524:ws.suggestKeywords(["EXISTS"]);break;case 523:ws.suggestKeywords(["NOT EXISTS"]);break;case 534:case 536:case 537:case 539:ws.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 535:case 538:ws.suggestKeywords(["VALUES"]);break;case 568:case 594:ws.addTableLocation(n[o],[{name:r[o]}]),this.$={identifierChain:[{name:r[o]}]};break;case 569:case 595:ws.addDatabaseLocation(n[o-2],[{name:r[o-2]}]),ws.addTableLocation(n[o],[{name:r[o-2]},{name:r[o]}]),this.$={identifierChain:[{name:r[o-2]},{name:r[o]}]};break;case 571:case 576:ws.suggestDatabases(),this.$={identifierChain:[{name:r[o-2]}]};break;case 572:case 597:ws.suggestTablesOrColumns(r[o-2]);break;case 573:this.$=[{name:r[o]}];break;case 574:this.$=[{name:r[o-2]},{name:r[o-1]}];break;case 575:ws.suggestDatabases({appendDot:!0});break;case 579:ws.suggestDatabases();break;case 596:ws.suggestTables(),ws.suggestDatabases({prependDot:!0});break;case 599:this.$={identifierChain:r[o-1].identifierChain,alias:r[o]};break;case 602:ws.yy.locations[ws.yy.locations.length-1].type="column";break;case 603:case 768:ws.addAsteriskLocation(n[o],r[o-2].concat({asterisk:!0}));break;case 605:this.$=[r[o].identifier],ws.yy.firstChainLocation=ws.addUnknownLocation(r[o].location,[r[o].identifier]);break;case 606:ws.yy.firstChainLocation&&(ws.yy.firstChainLocation.firstInChain=!0,delete ws.yy.firstChainLocation),r[o-2].push(r[o].identifier),ws.addUnknownLocation(r[o].location,r[o-2].concat());break;case 607:ws.suggestColumns({identifierChain:r[o-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 608:ws.suggestColumns({identifierChain:r[o-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 609:this.$=[r[o].identifier];break;case 610:r[o-2].push(r[o].identifier);break;case 612:ws.suggestColumns({identifierChain:r[o-2]});break;case 613:ws.suggestColumns({identifierChain:r[o-4]});break;case 615:this.$={identifier:{name:r[o]},location:n[o]};break;case 636:case 637:case 661:this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 638:case 663:this.$=r[o],ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 639:this.$=r[o],r[o].types=["NUMBER"],ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 640:case 641:case 642:this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-3],r[o-2],r[o-1],r[o]);break;case 643:case 654:this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-5],r[o-4],r[o-3],r[o-2],r[o-1],r[o]);break;case 644:this.$={types:["BOOLEAN"]},ws.yy.correlatedSubQuery=!1;break;case 646:case 647:case 648:case 649:ws.addColRefToVariableIfExists(r[o-2],r[o]),this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-2],r[o-1],r[o]);break;case 650:case 651:case 652:case 653:case 683:case 741:case 742:case 677:this.$={types:["BOOLEAN"]};break;case 655:this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-4],r[o-3],r[o-2],r[o-1],r[o]);break;case 656:case 657:case 662:this.$={types:["BOOLEAN"]},ws.extractExpressionText(this.$,r[o-2],r[o-1],r[o]);break;case 658:case 659:case 660:this.$={types:["NUMBER"]},ws.extractExpressionText(this.$,r[o-2],r[o-1],r[o]);break;case 664:this.$=r[o],ws.extractExpressionText(this.$,r[o-2],r[o-1],r[o]);break;case 666:ws.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 667:case 669:case 682:this.$={types:["BOOLEAN"],suggestFilters:r[o].suggestFilters};break;case 668:ws.suggestFunctions(),ws.suggestColumns(),ws.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 670:ws.suggestFunctions({types:["BOOLEAN"]}),ws.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 671:this.$={types:["T"],suggestFilters:r[o].suggestFilters};break;case 672:ws.suggestFunctions(),ws.suggestColumns(),this.$={types:["T"]};break;case 673:r[o].typeSet||ws.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:r[o].suggestFilters};break;case 674:ws.suggestFunctions({types:["NUMBER"]}),ws.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 675:ws.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 676:ws.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 678:case 679:case 680:ws.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 681:ws.valueExpressionSuggest(r[o-5],r[o-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 685:case 921:ws.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 686:case 687:case 688:case 689:ws.valueExpressionSuggest(r[o],r[o-1]),ws.applyTypeToSuggestions(r[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 690:case 691:case 692:case 693:r[o-2].typeSet||(ws.applyTypeToSuggestions(r[o]),ws.addColRefIfExists(r[o])),this.$={types:["BOOLEAN"],suggestFilters:r[o-2].suggestFilters};break;case 694:case 696:case 719:ws.valueExpressionSuggest(r[o-2],r[o-1]),ws.applyTypeToSuggestions(r[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 695:ws.valueExpressionSuggest(r[o-2],r[o-1]),ws.applyTypeToSuggestions(r[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 697:ws.valueExpressionSuggest(r[o-2],r[o-1]),ws.applyTypeToSuggestions(r[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===r[o-1]};break;case 698:case 699:case 700:case 701:r[o].typeSet||(ws.applyTypeToSuggestions(r[o-2]),ws.addColRefIfExists(r[o-2])),this.$={types:["BOOLEAN"],suggestFilters:r[o].suggestFilters};break;case 702:r[o].inValueEdit&&(ws.valueExpressionSuggest(r[o-3],r[o-2]+" "+r[o-1]),ws.applyTypeToSuggestions(r[o-3])),r[o].cursorAtStart&&ws.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 703:r[o].inValueEdit&&(ws.valueExpressionSuggest(r[o-2],r[o-1]),ws.applyTypeToSuggestions(r[o-2])),r[o].cursorAtStart&&ws.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 704:case 705:this.$={types:["BOOLEAN"],suggestFilters:r[o-5].suggestFilters};break;case 706:case 707:this.$={types:["BOOLEAN"],suggestFilters:r[o-4].suggestFilters};break;case 708:r[o-2].types[0]!==r[o].types[0]||r[o-5].typeSet||ws.applyTypeToSuggestions(r[o-2]),this.$={types:["BOOLEAN"],suggestFilters:r[o-5].suggestFilters};break;case 709:r[o-5].types[0]!==r[o].types[0]||r[o-2].typeSet||ws.applyTypeToSuggestions(r[o-5]),this.$={types:["BOOLEAN"],suggestFilters:r[o-2].suggestFilters};break;case 710:r[o-5].types[0]!==r[o-2].types[0]||r[o].typeSet||ws.applyTypeToSuggestions(r[o-5]),this.$={types:["BOOLEAN"],suggestFilters:r[o].suggestFilters};break;case 711:ws.valueExpressionSuggest(r[o-5],r[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 712:case 718:ws.suggestValueExpressionKeywords(r[o-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 713:ws.valueExpressionSuggest(r[o-3],r[o-2]+" "+r[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 714:r[o-4].types[0]!==r[o-2].types[0]||r[o-4].typeSet||ws.applyTypeToSuggestions(r[o-4]),this.$={types:["BOOLEAN"],suggestFilters:r[o-4].suggestFilters};break;case 715:r[o-4].types[0]!==r[o-2].types[0]||r[o-2].typeSet||ws.applyTypeToSuggestions(r[o-4]),this.$={types:["BOOLEAN"],suggestFilters:r[o-2].suggestFilters};break;case 716:r[o-4].types[0]!==r[o-2].types[0]||r[o].typeSet||ws.applyTypeToSuggestions(r[o-4]),this.$={types:["BOOLEAN"],suggestFilters:r[o].suggestFilters};break;case 717:ws.valueExpressionSuggest(r[o-4],r[o-1]),ws.applyTypeToSuggestions(r[o-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 720:case 722:case 724:case 726:ws.valueExpressionSuggest(void 0,r[o-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 721:case 725:ws.addColRefIfExists(r[o]),this.$={types:["BOOLEAN"],suggestFilters:r[o-2].suggestFilters};break;case 723:case 727:ws.addColRefIfExists(r[o-2]),this.$={types:["BOOLEAN"],suggestFilters:r[o].suggestFilters};break;case 728:case 729:case 733:case 734:case 735:ws.valueExpressionSuggest(void 0,r[o-1]),ws.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 730:case 731:case 732:r[o-2].typeSet||(ws.applyTypeToSuggestions({types:["NUMBER"]}),ws.addColRefIfExists(r[o])),this.$={types:["NUMBER"],suggestFilters:r[o-2].suggestFilters};break;case 736:case 737:case 738:r[o].typeSet||(ws.applyTypeToSuggestions({types:["NUMBER"]}),ws.addColRefIfExists(r[o-2])),this.$={types:["NUMBER"],suggestFilters:r[o].suggestFilters};break;case 739:this.$={types:["BOOLEAN"],suggestFilters:r[o-1].suggestFilters};break;case 740:this.$={types:["BOOLEAN"],suggestFilters:r[o-2].suggestFilters};break;case 743:ws.valueExpressionSuggest(void 0,r[o]),ws.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 744:ws.valueExpressionSuggest(void 0,r[o-1]+" "+r[o]),ws.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 746:ws.valueExpressionSuggest(),ws.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 748:ws.suggestValueExpressionKeywords(r[o-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 749:this.$=r[o],this.$.suggestFilters=r[o-1].suggestFilters;break;case 750:this.$={types:["T"],suggestFilters:r[o-1].suggestFilters};break;case 752:case 754:r[o].position=1;break;case 753:r[o].position=r[o-2].position+1,this.$=r[o];break;case 755:r[o-2].position+=1;break;case 756:r[o-2].position=1;break;case 757:r[o-4].position+=1;break;case 758:ws.valueExpressionSuggest(),r[o-2].position+=1;break;case 759:ws.valueExpressionSuggest(),r[o-4].position+=1;break;case 760:ws.suggestValueExpressionKeywords(r[o-3]);break;case 761:case 762:ws.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 763:case 764:ws.valueExpressionSuggest(),this.$={position:2};break;case 767:var h=ws.yy.locations[ws.yy.locations.length-1];"variable"!==h.type&&(h.type="column");var d=ws.yy.locations[ws.yy.locations.length-r[o].length];this.$={chain:r[o],firstLoc:d,lastLoc:h};break;case 774:ws.suggestValues(r[o]);break;case 775:this.$={types:["NUMBER"],text:r[o]};break;case 781:case 783:case 784:this.$=r[o-1]+r[o];break;case 782:case 785:this.$=r[o-2]+r[o-1]+r[o];break;case 786:this.$=r[o-3]+r[o-2]+r[o-1]+r[o];break;case 787:/\$\{[^}]*\}/.test(r[o])?(ws.addVariableLocation(n[o],r[o]),this.$={types:["STRING"],columnReference:[{name:r[o]}],text:"'"+r[o]+"'"}):this.$={types:["STRING"]};break;case 788:/\$\{[^}]*\}/.test(r[o])?(ws.addVariableLocation(n[o],r[o]),this.$={types:["STRING"],columnReference:[{name:r[o]}],text:'"'+r[o]+'"'}):this.$={types:["STRING"],text:'"'+r[o]+'"'};break;case 789:this.$={types:["BOOLEAN"],text:r[o]};break;case 790:this.$={partialQuote:"'",missingEndQuote:ws.yy.missingEndQuote};break;case 791:this.$={partialQuote:'"',missingEndQuote:ws.yy.missingEndQuote};break;case 798:if(this.$=r[o],ws.yy.latestTablePrimaries.length>0){c=ws.yy.latestTablePrimaries.length-1,u=[];do{var E;(E=ws.yy.latestTablePrimaries[c]).subQueryAlias||u.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),c--}while(c>=0&&E.join&&!E.subQueryAlias);u.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:u})}break;case 805:this.$={primary:r[o-1]},r[o-1].identifierChain&&(r[o]&&(r[o-1].alias=r[o].alias,ws.addTableAliasLocation(r[o].location,r[o].alias,r[o-1].identifierChain)),ws.addTablePrimary(r[o-1])),l=[],r[o]?r[o].suggestKeywords&&(l=r[o].suggestKeywords):l=["AS"],l.length>0&&(this.$.suggestKeywords=l);break;case 806:this.$={primary:r[o-1]},r[o]&&(this.$.primary.alias=r[o].alias,ws.addTablePrimary({subQueryAlias:r[o].alias}),ws.addSubqueryAliasLocation(r[o].location,r[o].alias,r[o-1].identifierChain)),l=[],r[o]||(l=["AS"]),l.length>0&&(this.$.suggestKeywords=l);break;case 807:r[o]&&ws.addTableAliasLocation(r[o].location,r[o].alias,r[o-1].identifierChain);break;case 808:r[o]&&(ws.addTablePrimary({subQueryAlias:r[o].alias}),ws.addSubqueryAliasLocation(r[o].location,r[o].alias));break;case 818:ws.pushQueryState();break;case 819:ws.popQueryState();break;case 821:r[o-1]&&(r[o-2].alias=r[o-1].alias,ws.addTablePrimary({subQueryAlias:r[o-1].alias}),ws.addSubqueryAliasLocation(r[o-1].location,r[o-1].alias,r[o-2].identifierChain)),this.$=r[o-2];break;case 824:var T=ws.getSubQuery(r[o]);T.columns.forEach((function(e){ws.expandIdentifierChain({wrapper:e}),delete e.linked})),ws.popQueryState(T),this.$=T;break;case 841:case 842:case 843:case 844:this.$={alias:r[o],location:n[o]};break;case 851:case 852:ws.yy.result.suggestFunctions&&ws.suggestAggregateFunctions();break;case 853:r[o-2]||r[o-1]?r[o-2]||ws.suggestKeywords(["PARTITION BY"]):ws.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 854:r[o-1]?ws.suggestValueExpressionKeywords(r[o-3]):ws.suggestValueExpressionKeywords(r[o-3],[{value:"ORDER BY",weight:2}]);break;case 858:ws.suggestKeywords(["BY"]);break;case 863:delete ws.yy.result.suggestAnalyticFunctions;break;case 864:l=[],r[o-2].suggestKeywords&&(l=ws.createWeightedKeywords(r[o-2].suggestKeywords,2)),r[o]||(l=l.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),ws.suggestKeywords(l);break;case 870:ws.suggestKeywords(["BETWEEN"]);break;case 871:r[o-2]||r[o-1]?r[o-1]||ws.suggestKeywords(["AND"]):ws.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 876:_s.popState();break;case 877:_s.begin("hdfs");break;case 879:ws.suggestHdfs({path:r[o-3]});break;case 880:ws.suggestHdfs({path:r[o-2]});break;case 881:ws.suggestHdfs({path:r[o-1]});break;case 882:case 883:ws.suggestHdfs({path:""});break;case 889:ws.suggestKeywords(["PRECEDING"]);break;case 890:case 895:ws.suggestKeywords(["ROW"]);break;case 894:ws.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 896:ws.suggestKeywords(["FOLLOWING"]);break;case 900:this.$={inValueEdit:!0};break;case 901:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 902:case 903:case 904:this.$={suggestKeywords:["NOT"]},ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 908:case 909:case 910:ws.suggestFunctions({types:["STRING"]}),ws.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 911:this.$=ws.findCaseType(r[o-1]),ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 912:r[o-3].caseTypes.push(r[o-1]),this.$=ws.findCaseType(r[o-3]),ws.extractExpressionText(this.$,r[o-3],r[o-2],r[o-1],r[o]);break;case 913:this.$=ws.findCaseType(r[o-1]);break;case 914:ws.suggestValueExpressionKeywords(r[o-1],["END"]),r[o-3].caseTypes.push(r[o-1]),this.$=ws.findCaseType(r[o-3]);break;case 915:r[o-3].caseTypes.push(r[o-1]),this.$=ws.findCaseType(r[o-3]);break;case 916:this.$=ws.findCaseType(r[o-2]);break;case 917:"end"!==r[o].toLowerCase()?ws.suggestValueExpressionKeywords(r[o-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):ws.suggestValueExpressionKeywords(r[o-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=ws.findCaseType(r[o-3]);break;case 918:"end"!==r[o].toLowerCase()?ws.suggestValueExpressionKeywords(r[o-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):ws.suggestValueExpressionKeywords(r[o-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=ws.findCaseType(r[o-2]);break;case 919:r[o-3].caseTypes.push(r[o-1]),this.$=ws.findCaseType(r[o-3]),this.$.suggestFilters=r[o-1].suggestFilters;break;case 920:ws.valueExpressionSuggest(),this.$=ws.findCaseType(r[o-3]);break;case 922:ws.valueExpressionSuggest(),ws.suggestKeywords(["WHEN"]),this.$=r[o-1];break;case 923:ws.valueExpressionSuggest(),ws.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 926:this.$={caseTypes:[r[o]],lastType:r[o]},ws.extractExpressionText(this.$,r[o]);break;case 927:r[o-1].caseTypes.push(r[o]),this.$={caseTypes:r[o-1].caseTypes,lastType:r[o]},ws.extractExpressionText(this.$,r[o-1],r[o]);break;case 931:ws.suggestValueExpressionKeywords(r[o-2],["WHEN"]);break;case 933:this.$=r[o],ws.extractExpressionText(this.$,r[o-3],r[o-2],r[o-1],r[o]);break;case 934:this.$={caseTypes:[{types:["T"]}],suggestFilters:r[o].suggestFilters};break;case 935:this.$={caseTypes:[{types:["T"]}],suggestFilters:r[o-1].suggestFilters};break;case 936:this.$={caseTypes:[r[o]],suggestFilters:r[o-2].suggestFilters};break;case 937:case 938:this.$={caseTypes:[r[o]],suggestFilters:r[o].suggestFilters};break;case 939:ws.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 940:ws.suggestKeywords(["WHEN"]),this.$={caseTypes:[r[o]]};break;case 941:case 942:ws.valueExpressionSuggest(),ws.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 943:case 945:ws.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 944:ws.valueExpressionSuggest(),ws.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 946:ws.valueExpressionSuggest(),this.$={caseTypes:[r[o]],suggestFilters:!0};break;case 947:ws.suggestValueExpressionKeywords(r[o-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 948:ws.suggestValueExpressionKeywords(r[o-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 949:case 950:case 951:case 952:ws.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(s,r,{207:1,149:2}),{1:[3]},e(n,o,{208:3,212:4,9:5,16:7,10:8,11:9,12:10,48:11,49:12,32:14,33:15,34:16,4:c,17:u,35:l,126:g,215:y}),{209:[1,20],213:[1,21]},e(n,[2,366]),e(n,[2,372]),e(n,[2,373]),e(n,[2,374]),e(n,[2,5]),e(n,[2,6]),e(n,[2,7]),{18:[1,23],49:22,126:g},e(p,h,{50:24,144:25,146:26,148:d}),{13:[1,28],31:[1,29]},e(n,[2,33]),e(n,[2,34]),e(n,[2,35]),{54:30,56:31,58:32,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},e([18,113,139,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,196,219,220,221,222,224,225,226,231,234,238,245,248,249,257,269,275,276,277],I,{127:41,132:f,133:m}),{36:[1,44],39:[1,45],42:[1,46]},{1:[2,361]},e(s,r,{149:47}),e(p,h,{144:25,146:26,50:48,148:d}),{16:49,17:u,48:11,49:12,126:g},e(p,[2,52]),e(p,[2,242],{146:50,148:d}),e(x,[2,244]),e([126,132,133],r,{149:51}),{14:52,58:53,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{14:54,58:53,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},e([18,126],[2,61],{22:[1,55]}),e(C,[2,63]),{15:[1,56]},e(k,[2,591]),{234:[1,58],285:[1,57]},e(k,[2,384]),e(k,[2,385]),e(k,[2,386]),e(k,[2,381]),e(k,[2,382]),e(k,[2,383]),{18:A,24:92,41:99,58:93,81:61,112:91,113:E,128:59,136:60,139:R,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ne,[2,204]),e(ne,[2,205]),{37:[1,117]},e(n,[2,37],{40:[1,118]}),{37:[1,119]},e(n,o,{212:4,9:5,16:7,10:8,11:9,12:10,48:11,49:12,32:14,33:15,34:16,208:120,4:c,17:u,35:l,126:g,215:y}),e(p,[2,50]),{20:[1,121]},e(x,[2,245]),{126:I,127:122,132:f,133:m},{15:[1,123],17:[1,124]},e(oe,[2,573],{226:[1,125]}),{15:[1,126]},{56:127,58:32,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{18:[1,128]},{234:[1,129]},e(k,[2,593]),e(x,[2,193],{129:130,63:132,22:[1,131],37:[1,133]}),e(ce,[2,210]),e(ce,ue,{202:33,218:37,138:134,342:148,58:149,290:150,41:155,288:156,15:le,23:ge,40:ye,113:E,139:pe,219:T,220:b,221:S,222:L,225:he,227:de,228:Ee,232:Te,233:be,234:O,235:Se,240:Le,245:z,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,269:te}),e(ce,[2,226]),e(ke,[2,635]),{18:A,24:92,41:99,58:93,81:157,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:158,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:159,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:160,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:Ae,339:161},{18:A,24:92,41:99,58:93,81:163,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:165,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,280:Re,288:100,322:85,331:76,343:164,353:84,355:97,356:98,357:101,405:166,407:167},e(ke,[2,326],{194:169,18:Ne}),{18:Ne,194:171},e(ke,[2,324]),e(ke,[2,325]),e(ke,[2,327]),e(De,[2,767],{226:[1,172]}),{18:[2,306]},{18:[2,307]},{18:[2,308]},{18:[2,309]},e(ke,[2,355],{155:173,157:174,204:we}),{157:176,204:we},e(ke,[2,263]),e(ke,[2,773]),e(_e,[2,605]),e(Fe,[2,271]),e(Fe,[2,272]),e(Fe,[2,273]),{18:[1,177]},{18:[1,178]},e(ke,[2,775]),e(ke,[2,776]),e(_e,[2,615]),{18:[1,179]},{18:[1,180]},{18:[1,181]},e(ke,[2,778]),e(ke,[2,779]),e(ke,[2,787]),e(ke,[2,788]),e(ke,[2,789]),{18:[2,282]},{18:[2,283]},{18:[2,284]},{18:[2,285]},{18:[2,286]},{18:[2,287]},{18:[2,288]},{18:[2,289]},e(ke,[2,780],{226:[1,182]}),{276:[1,183],277:[1,184]},{276:[1,185]},{269:[1,187],285:[1,186]},{245:[1,189],285:[1,188]},e(ke,[2,792]),e(ke,[2,793]),{38:190,58:191,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{41:192,269:te},{43:193,58:194,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},e(n,[2,367]),e(p,h,{144:25,146:26,50:195,148:d}),{49:196,126:g},{16:197,17:u,48:11,49:12,126:g},{18:[1,198]},{58:199,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{16:200,17:u,48:11,49:12,126:g},e(C,[2,64]),e($e,ve,{59:201,368:202}),e(k,[2,592]),e(x,[2,194]),{18:A,24:92,41:99,58:93,81:61,112:91,113:E,136:203,139:R,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(Pe,[2,254],{134:204,141:205,143:206,150:[1,207]}),{18:Ae,38:215,58:191,64:208,67:209,92:211,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O,339:216,358:210,360:212,362:213,363:214},e(ce,[2,225]),e(Ke,[2,794],{338:217,257:[1,218]}),{18:A,24:92,41:99,58:93,81:219,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:220,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:221,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:222,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{40:ye,235:[1,224],253:[1,223],263:xe,264:Ce,342:225},{18:[1,226]},{18:A,24:92,41:99,58:93,81:227,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:228,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:229,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:230,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:231,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:232,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,661]),e(Ue,[2,841]),e(Ue,[2,842]),{41:155,58:233,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O,245:z,269:te,288:156,290:234},{18:A,24:92,41:99,58:93,81:235,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:236,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:237,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(Ue,[2,509]),e(Ue,[2,510]),e(Be,[2,636],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,240:Le,253:Oe,256:Ie,263:xe,264:Ce}),e(Be,[2,637],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,240:Le,253:Oe,256:Ie,263:xe,264:Ce}),e(Be,[2,638],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,240:Le,253:Oe,256:Ie,263:xe,264:Ce}),e(Ve,[2,639],{342:148}),e(ke,[2,644]),e($e,ve,{368:202,339:216,59:238,363:239,18:Ae}),{20:[1,240],23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,342:148},e(ke,[2,663]),{23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,280:Re,342:148,343:241,405:166,407:167},{246:[1,243],247:[1,242],280:Re,407:244},e(We,[2,926]),{18:A,24:92,41:99,58:93,81:245,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,322]),{18:A,20:[1,246],24:92,41:99,58:93,81:248,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,172:247,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,323]),{58:93,113:E,139:[1,249],202:33,218:37,219:T,220:b,221:S,222:L,234:O,322:250},e(ke,[2,261]),e(ke,[2,356]),{18:[1,253],58:251,113:E,202:33,205:252,218:37,219:T,220:b,221:S,222:L,234:O},e(ke,[2,262]),{18:A,20:[1,254],24:92,41:99,58:93,81:248,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,172:255,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,20:[1,257],24:92,41:99,58:93,81:256,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e([18,20,113,174,175,176,177,178,179,180,181,182,183,184,186,187,188,189,190,196,219,220,221,222,224,225,226,231,234,238,245,248,249,257,269,275,276,277],I,{127:258,132:f,133:m}),e(Me,I,{127:261,20:[1,260],132:f,133:m,139:[1,259]}),e(Me,I,{127:262,20:[1,263],132:f,133:m}),e(ke,[2,781],{276:[1,264],277:[1,265]}),e(ke,[2,783]),{276:[1,266]},e(ke,[2,784]),{269:[1,267]},e(Ge,[2,504]),{245:[1,268]},e(Ge,[2,507]),e(n,[2,36]),e(Qe,[2,568],{226:[1,269]}),e(n,[2,38]),e(n,[2,39]),e(n,[2,578]),e(p,[2,51]),e(x,[2,250]),e(n,[2,8]),{14:272,19:270,21:271,58:53,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},e(oe,[2,574]),e(n,[2,27]),{20:[1,273]},{16:281,17:u,48:11,49:12,126:g,370:274,372:275,374:276,376:277,378:278,380:279,382:280},e(ce,[2,211]),e(x,[2,206]),e(He,[2,83],{69:282,70:283,71:[1,284]}),e(Pe,[2,255]),{18:A,24:92,41:99,58:93,81:286,112:91,113:E,151:285,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e([20,71,86,111,117,148,150,209,213],[2,73],{22:[1,287]}),e(Je,[2,76]),e(Je,[2,796]),e(Je,[2,798],{89:288,91:289,99:Ye,100:je,101:Xe,102:qe,103:ze,104:Ze,105:es,106:ss}),e(Je,[2,799]),e(ts,ue,{202:33,218:37,58:149,290:150,41:155,288:156,138:298,15:le,113:E,219:T,220:b,221:S,222:L,234:O,245:z,269:te}),e(ts,ue,{202:33,218:37,58:149,290:150,41:155,288:156,138:299,15:le,113:E,219:T,220:b,221:S,222:L,234:O,245:z,269:te}),e(Qe,[2,810]),e(Qe,[2,812]),{133:[1,303],196:[1,300],249:[1,302],275:[1,301]},e(Ke,[2,795]),e(as,[2,646],{342:148,40:ye,139:pe,225:he,233:be,253:Oe,256:Ie,263:xe,264:Ce}),e(as,[2,647],{342:148,40:ye,139:pe,225:he,233:be,253:Oe,256:Ie,263:xe,264:Ce}),e(as,[2,648],{342:148,40:ye,139:pe,225:he,233:be,253:Oe,256:Ie,263:xe,264:Ce}),e(as,[2,649],{342:148,40:ye,139:pe,225:he,233:be,253:Oe,256:Ie,263:xe,264:Ce}),{18:[1,304]},{18:A,24:92,41:99,58:93,81:305,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,662]),e($e,ve,{202:33,218:37,192:63,193:71,185:72,153:73,195:74,331:76,154:81,156:82,158:83,353:84,322:85,165:86,166:87,167:88,112:91,24:92,58:93,171:94,355:97,356:98,41:99,288:100,357:101,368:202,59:306,340:307,81:308,18:A,113:E,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,186:V,187:W,188:M,189:G,190:Q,196:H,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re}),{23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,341:[1,309],342:148},e(is,[2,656],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,263:xe,264:Ce}),e(is,[2,657],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,263:xe,264:Ce}),e(Ve,[2,658],{342:148,40:ye,253:Oe,256:Ie,263:xe,264:Ce}),e(Ve,[2,659],{342:148,40:ye,253:Oe,256:Ie,263:xe,264:Ce}),e(Ve,[2,660],{342:148,40:ye,253:Oe,256:Ie,263:xe,264:Ce}),e(Ue,[2,843]),e(Ue,[2,844]),e(Ve,[2,902],{342:148}),e(Ve,[2,903],{342:148}),e(Ve,[2,904],{342:148}),{20:[1,310]},{15:le,20:ue,41:155,58:149,113:E,138:311,202:33,218:37,219:T,220:b,221:S,222:L,234:O,245:z,269:te,288:156,290:150},e(ke,[2,645]),e(ke,[2,664]),e(ke,[2,911]),{18:A,24:92,41:99,58:93,81:312,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(We,[2,927]),{23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,272:[1,313],342:148},e(ke,[2,337]),{20:[1,314],22:rs},e(ns,[2,342],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(De,[2,768]),e(_e,[2,606]),e(ke,[2,358]),e(ke,[2,359]),e(os,[2,855],{384:316,388:317,259:[1,318]}),{204:[2,301]},{20:[1,319],22:rs},{15:[1,320],23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,342:148},e(ke,[2,311]),{18:A,20:[1,321],24:92,41:99,58:93,81:248,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,172:322,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{20:[1,323]},e(Fe,[2,291]),{18:A,24:92,41:99,58:93,81:248,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,172:324,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,81:325,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(Fe,[2,297]),e(ke,[2,782]),{276:[1,326]},e(ke,[2,785]),e(Ge,[2,503]),e(Ge,[2,506]),{58:327,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{20:[1,328]},{20:[2,10],22:[1,329]},{23:[1,330]},e(C,[2,69]),{20:[2,824]},{20:[2,826]},{20:[2,828]},{20:[2,830]},{20:[2,832]},{20:[2,834]},{20:[2,836]},{20:[2,838]},e(cs,[2,112],{84:331,85:332,86:[1,333]}),e(He,[2,84]),{72:[1,334]},e(Pe,[2,256]),e(Pe,[2,259],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),{18:Ae,38:215,58:191,67:335,92:211,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O,339:216,358:210,360:212,362:213,363:214},e(Je,[2,802],{91:336,99:Ye,100:je,101:Xe,102:qe,103:ze,104:Ze,105:es,106:ss}),{18:Ae,38:215,58:191,92:337,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O,339:216,362:213,363:214},{100:[1,338]},{100:[1,339],102:[1,340]},{100:[1,341]},e(us,[2,137]),{100:[1,343],102:[1,344],103:[1,342],105:[1,345]},{100:[1,346]},{100:[1,348],102:[1,349],103:[1,347],105:[1,350]},{100:[1,351]},e(ts,[2,805]),e(ts,[2,806]),e(ke,[2,640]),e(ke,[2,641]),e(ke,[2,642]),{37:[1,352]},e($e,ve,{202:33,218:37,192:63,193:71,185:72,153:73,195:74,331:76,154:81,156:82,158:83,353:84,322:85,165:86,166:87,167:88,112:91,24:92,58:93,171:94,355:97,356:98,41:99,288:100,357:101,368:202,81:308,59:353,340:354,18:A,113:E,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,186:V,187:W,188:M,189:G,190:Q,196:H,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re}),{23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,341:[1,355],342:148},{20:[1,356]},{20:[1,357],22:ls},e(gs,[2,752],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),{18:A,24:92,41:99,58:93,81:359,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(Ge,[2,820]),{20:[1,360]},{23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,247:[1,361],253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,342:148},{18:A,24:92,41:99,58:93,81:362,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,338]),{18:A,24:92,41:99,58:93,81:363,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{20:[2,861],116:365,117:ys,385:364},e(os,[2,856]),{72:[1,367]},{204:[2,302]},{191:368,236:[1,369],237:[1,370],239:[1,371],243:[1,372],244:[1,373],250:[1,374],254:[1,375],270:[1,376],271:[1,377],273:[1,378],274:[1,379],279:[1,380]},e(Fe,[2,277]),{20:[1,381],22:rs},e(Fe,[2,290]),{20:[1,382],22:rs},{20:[1,383],23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce,342:148},e(ke,[2,786]),e(Qe,[2,569]),e(n,[2,9]),{14:272,19:384,21:271,58:53,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O},{24:385,41:99,245:z,249:ee,269:te,275:ae,288:100,357:101},e(ps,[2,175],{115:386,116:387,117:ys}),e(cs,[2,113]),{18:A,24:92,41:99,58:93,81:388,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{18:A,24:92,41:99,58:93,73:389,81:390,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(Je,[2,77]),{18:Ae,38:215,58:191,92:391,113:E,202:33,218:37,219:T,220:b,221:S,222:L,234:O,339:216,362:213,363:214},e(hs,ds,{93:392,107:Es}),e(us,[2,133]),e(us,[2,134]),{100:[1,394]},e(us,[2,136]),{100:[1,395]},e(us,[2,139]),{100:[1,396]},{100:[1,397]},e(us,[2,142]),{100:[1,398]},e(us,[2,144]),{100:[1,399]},{100:[1,400]},e(us,[2,147]),{18:A,24:92,41:99,58:93,81:401,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},{20:[1,402]},{20:[1,403],22:ls},{18:A,24:92,41:99,58:93,81:404,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(ke,[2,652]),e(ke,[2,653]),{18:A,24:92,41:99,58:93,81:405,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e([15,20,22,37,71,86,99,100,101,102,103,104,105,106,111,113,117,124,125,148,150,209,213,219,220,221,222,232,234,235,245,246,247,258,262,266,269,272,280,341],[2,655],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,240:Le,253:Oe,256:Ie,257:fe,263:xe,264:Ce}),e(Ge,[2,821]),e(ke,[2,912]),e(We,[2,933],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(ns,[2,343],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),{20:[1,406]},{20:[2,866],262:[1,411],266:[1,410],389:407,391:408,392:409},{72:[1,412]},{18:A,24:92,41:99,58:93,81:308,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,340:413,353:84,355:97,356:98,357:101},{20:[1,414]},{20:[2,618]},{20:[2,619]},{18:Ts,20:bs,336:415},{18:[1,418],20:[2,632],337:417},{20:[2,622]},{20:[2,623]},{20:[2,624]},{20:[2,625]},{20:[2,626]},{20:[2,627]},{20:[2,628]},{18:Ts,20:bs,336:419},e(Fe,[2,278]),e(Fe,[2,292]),e(Fe,[2,296]),{20:[2,11]},e(ns,[2,12]),e(x,[2,168],{109:420,110:421,111:[1,422]}),e(ps,[2,176]),e(cs,[2,114],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(He,[2,85],{22:[1,423]}),e(Ss,[2,100],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(hs,ds,{93:424,107:Es}),e(hs,[2,120]),{18:A,24:92,41:99,58:93,81:425,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(us,[2,135]),e(us,[2,138]),e(us,[2,140]),e(us,[2,141]),e(us,[2,143]),e(us,[2,145]),e(us,[2,146]),e(Ve,[2,643],{342:148}),e(ke,[2,650]),e(ke,[2,651]),e(Be,[2,654],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,233:be,240:Le,253:Oe,256:Ie,263:xe,264:Ce}),e(gs,[2,753],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(ke,[2,850]),{20:[2,862]},{20:[2,867]},{235:[1,426],396:[1,427]},e(Ls,[2,884]),e(Ls,[2,885]),{18:A,24:92,41:99,58:93,81:430,112:91,113:E,118:428,121:429,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(os,[2,857],{22:ls}),e(ke,[2,310]),{20:[2,620]},{276:[1,431]},{20:[2,621]},{276:[1,432]},{20:[2,629]},e(x,[2,230]),e(x,[2,169]),{112:433,113:[1,434],226:j,276:ie,277:re,355:97,356:98},{18:A,24:92,41:99,58:93,81:435,112:91,113:E,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(hs,[2,121]),e(hs,[2,163],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(Os,Is,{393:436}),e(Os,Is,{393:437}),e([20,111,148,209,213,262,266],[2,177],{22:[1,438]}),e(fs,[2,180]),e(fs,[2,190],{342:148,123:439,23:ge,40:ye,124:[1,440],125:[1,441],139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),{20:[1,442]},{20:[1,443],22:[1,444]},e(x,[2,170],{22:[1,445]}),e(x,[2,172],{22:[1,446]}),e(Ss,[2,101],{342:148,23:ge,40:ye,139:pe,225:he,227:de,228:Ee,232:Te,233:be,235:Se,240:Le,253:Oe,256:Ie,257:fe,258:me,263:xe,264:Ce}),e(ms,xs,{394:447,404:448,241:Cs,276:ks,396:As}),e(ms,xs,{404:448,394:452,241:Cs,276:ks,396:As}),{18:A,24:92,41:99,58:93,81:430,112:91,113:E,121:453,153:73,154:81,156:82,158:83,165:86,166:87,167:88,171:94,174:N,175:D,176:w,177:_,178:F,179:$,180:v,181:P,182:K,183:U,184:B,185:72,186:V,187:W,188:M,189:G,190:Q,192:63,193:71,195:74,196:H,202:33,218:37,219:T,220:b,221:S,222:L,224:J,225:Y,226:j,231:X,234:O,238:q,245:z,248:Z,249:ee,257:se,269:te,275:ae,276:ie,277:re,288:100,322:85,331:76,353:84,355:97,356:98,357:101},e(fs,[2,187]),e(fs,[2,191]),e(fs,[2,192]),{20:[2,631]},{20:[2,633]},{276:[1,454]},{112:455,226:j,276:ie,277:re,355:97,356:98},{113:[1,456]},{20:Rs,232:Ns,395:457},{260:[1,459]},{265:[1,460]},e(Ds,[2,897]),e(Ds,[2,898]),{20:Rs,232:Ns,395:461},e(fs,[2,181]),{20:[1,462]},e(x,[2,171]),e(x,[2,173]),{20:[2,868]},{241:[1,463],276:ks,396:As,404:464},e(ms,[2,887]),e(ms,[2,888]),{20:[2,869]},{20:[2,634]},{265:[1,465]},{251:[1,466]},{20:[2,892]},{20:[2,893]}],defaultActions:{20:[2,361],77:[2,306],78:[2,307],79:[2,308],80:[2,309],102:[2,282],103:[2,283],104:[2,284],105:[2,285],106:[2,286],107:[2,287],108:[2,288],109:[2,289],254:[2,301],274:[2,824],275:[2,826],276:[2,828],277:[2,830],278:[2,832],279:[2,834],280:[2,836],281:[2,838],319:[2,302],369:[2,618],370:[2,619],373:[2,622],374:[2,623],375:[2,624],376:[2,625],377:[2,626],378:[2,627],379:[2,628],384:[2,11],407:[2,862],408:[2,867],415:[2,620],417:[2,621],419:[2,629],442:[2,631],443:[2,633],457:[2,868],461:[2,869],462:[2,634],465:[2,892],466:[2,893]},parseError:function(e,s){if(!s.recoverable){var t=new Error(e);throw t.hash=s,t}this.trace(e)},parse:function(e){var s=this,t=[0],a=[null],i=[],r=this.table,n="",o=0,c=0,u=0,l=2,g=1,y=i.slice.call(arguments,1),p=Object.create(this.lexer),h={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(h.yy[d]=this.yy[d]);p.setInput(e,h.yy),h.yy.lexer=p,h.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var E=p.yylloc;i.push(E);var T=p.options&&p.options.ranges;function b(e){t.length=t.length-2*e,a.length=a.length-e,i.length=i.length-e}"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var S,L,O,I,f,m,x,C,k,A=function(){var e;return"number"!=typeof(e=p.lex()||g)&&(e=s.symbols_[e]||e),e},R={};;){if(O=t[t.length-1],this.defaultActions[O]?I=this.defaultActions[O]:(null==S&&(S=A()),I=r[O]&&r[O][S]),void 0===I||!I.length||!I[0]){var N,D=function(e){for(var s=t.length-1,a=0;;){if(l.toString()in r[e])return a;if(0===e||s<2)return!1;e=t[s-=2],++a}},w="";if(u)L!==g&&(N=D(O));else{for(m in N=D(O),k=[],r[O])this.terminals_[m]&&m>l&&k.push("'"+this.terminals_[m]+"'");w=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(o+1)+": Unexpected "+(S==g?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(w,{text:p.match,token:this.terminals_[S]||S,line:p.yylineno,loc:p.yylloc,ruleId:t.slice(t.length-2,t.length).join("_"),expected:k,recoverable:!1!==N})}if(3==u){if(S===g||L===g)throw new Error(w||"Parsing halted while starting to recover from another error.");c=p.yyleng,n=p.yytext,o=p.yylineno,E=p.yylloc,S=A()}if(!1===N)throw new Error(w||"Parsing halted. No suitable error recovery rule available.");b(N),L=S==l?null:S,S=l,O=t[t.length-1],I=r[O]&&r[O][l],u=3}if(I[0]instanceof Array&&I.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+S);switch(I[0]){case 1:t.push(S),a.push(p.yytext),i.push(p.yylloc),t.push(I[1]),S=null,L?(S=L,L=null):(c=p.yyleng,n=p.yytext,o=p.yylineno,E=p.yylloc,u>0&&u--);break;case 2:if(x=this.productions_[I[1]][1],R.$=a[a.length-x],R._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},T&&(R._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(f=this.performAction.apply(R,[n,c,o,h.yy,I[1],a,i].concat(y))))return f;x&&(t=t.slice(0,-1*x*2),a=a.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[I[1]][0]),a.push(R.$),i.push(R._$),C=r[t[t.length-2]][t[t.length-1]],t.push(C);break;case 3:return!0}}return!0}};!function(e){a.forEach((function(s){e[s]=i})),e.yy.locations=[{}],e.determineCase=function(s){e.yy.caseDetermined||(e.yy.lowerCase=s.toLowerCase()===s,e.yy.caseDetermined=!0)},e.getKeywordsForOptionalsLR=function(){return[]},e.mergeSuggestKeywords=function(){return{}},e.getTypeKeywords=function(){return[]},e.getColumnDataTypeKeywords=function(){return[]},e.findCaseType=function(){return{types:["T"]}},e.expandIdentifierChain=function(){return[]},e.createWeightedKeywords=function(){return[]},e.handleQuotedValueWithCursor=function(s,t,a,i){if(-1!==t.indexOf("†")||-1!==t.indexOf("‡")){e.yy.partialCursor=-1!==t.indexOf("‡");var r=e.yy.partialCursor?t.indexOf("‡"):t.indexOf("†");e.yy.cursorFound={first_line:a.first_line,last_line:a.last_line,first_column:a.first_column+r,last_column:a.first_column+r+1};var n=t.substring(r+1),o=(s.upcomingInput().match(new RegExp(i,"g"))||[]).length;return o>0&&0!=(1&o)?(e.yy.missingEndQuote=!1,s.input()):(e.yy.missingEndQuote=!0,s.unput(n)),s.popState(),!0}return!1},e.yy.parseError=function(s,t){e.yy.error=t};var s={";":!0,".":!0,CREATE_REMOTE:!0,EOF:!0,UNSIGNED_INTEGER:!0,UNSIGNED_INTEGER_E:!0,REGULAR_IDENTIFIER:!0,CURSOR:!0,PARTIAL_CURSOR:!0,HDFS_START_QUOTE:!0,HDFS_PATH:!0,HDFS_END_QUOTE:!0,COMPARISON_OPERATOR:!0,ARITHMETIC_OPERATOR:!0,VARIABLE_REFERENCE:!0,BACKTICK:!0,VALUE:!0,PARTIAL_VALUE:!0,SINGLE_QUOTE:!0,DOUBLE_QUOTE:!0},r={BETWEEN_AND:"AND",OVERWRITE_DIRECTORY:"OVERWRITE",STORED_AS_DIRECTORIES:"STORED",LIKE_PARQUET:"LIKE",PARTITION_VALUE:"PARTITION"};e.parseSyntax=function(a,i,n){e.yy.caseDetermined=!1,e.yy.error=void 0,e.yy.latestTablePrimaries=[],e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],e.yy.activeDialect="generic";try{e.yy.error=!1,e.parse(a+i)}catch(s){if(n)throw console.warn(e.yy.error),s}if(e.yy.error&&(e.yy.error.loc.last_column<a.length||!a.endsWith(e.yy.error.text))){var o=[],c={},u=e.yy.caseDetermined&&e.yy.lowerCase||e.yy.error.text.toLowerCase()===e.yy.error.text;if(2===e.yy.error.expected.length&&-1!==e.yy.error.expected.indexOf("';'")&&-1!==e.yy.error.expected.indexOf("'EOF'"))return e.yy.error.expected=[],e.yy.error.expectedStatementEnd=!0,e.yy.error;for(var l=0;l<e.yy.error.expected.length;l++){var g=e.yy.error.expected[l];if("REGULAR_IDENTIFIER"===(g=g.substring(1,g.length-1))){if(e.yy.error.expectedIdentifier=!0,/^<[a-z]+>/.test(e.yy.error.token)){var y="`"+e.yy.error.text+"`";o.push({text:y,distance:t(e.yy.error.text,y,!0)}),e.yy.error.possibleReserved=!0}}else if(!s[g]&&/[a-z_]+/i.test(g)){if(g.toUpperCase()!==g)continue;if((g=r[g]||g)===e.yy.error.text.toUpperCase())return!1;var p=u?g.toLowerCase():g;p&&!c[p]&&(c[p]=!0,o.push({text:p,distance:t(e.yy.error.text,p,!0)}))}}return 0===o.length?(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error):(o.sort((function(e,s){return e.distance===s.distance?e.text.localeCompare(s.text):e.distance-s.distance})),e.yy.error.expected=o,e.yy.error.incompleteStatement=!0,e.yy.error)}return!!e.yy.error&&(e.yy.error.expected=[],e.yy.error.incompleteStatement=!0,e.yy.error)}}(ws);var _s={EOF:1,parseError:function(e,s){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,s)},setInput:function(e,s){return this.yy=s||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var s=e.length,t=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),t.length-1&&(this.yylineno-=t.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:t?(t.length===a.length?this.yylloc.first_column:0)+a[a.length-t.length].length-t[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),s=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+s+"^"},test_match:function(e,s){var t,a,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(a=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,s,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t)return t;if(this._backtrack){for(var r in i)this[r]=i[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,s,t,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),r=0;r<i.length;r++)if((t=this._input.match(this.rules[i[r]]))&&(!s||t[0].length>s[0].length)){if(s=t,a=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(t,i[r])))return e;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(e=this.test_match(s,i[a]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0,flex:!0},performAction:function(e,s,t,a){switch(t){case 0:case 1:case 2:case 164:case 165:case 166:case 167:case 168:case 169:break;case 3:return ws.yy.partialCursor=!1,ws.yy.cursorFound=s.yylloc,5;case 4:return ws.yy.partialCursor=!0,ws.yy.cursorFound=s.yylloc,282;case 5:return this.popState(),341;case 6:return 132;case 7:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("ALTER",s.yylloc,e.lexer.upcomingInput()),"ALTER";case 8:case 125:return 232;case 9:return 15;case 10:return 124;case 11:return this.begin("between"),235;case 12:return 236;case 13:return 237;case 14:return 72;case 15:return 296;case 16:return 238;case 17:return 239;case 18:return 36;case 19:return"COMMENT";case 20:return ws.determineCase(s.yytext),4;case 21:return 99;case 22:return 241;case 23:return 242;case 24:return 243;case 25:return 125;case 26:return 133;case 27:case 137:case 138:case 139:case 140:case 141:case 142:return 233;case 28:return 244;case 29:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("DROP",s.yylloc,e.lexer.upcomingInput()),"DROP";case 30:return 246;case 31:return 247;case 32:return ws.yy.correlatedSubQuery=!0,248;case 33:return 249;case 34:return 250;case 35:return 251;case 36:return ws.determineCase(s.yytext),37;case 37:return 101;case 38:return 71;case 39:return 86;case 40:return 187;case 41:return 253;case 42:return 103;case 43:return"INSERT";case 44:return 254;case 45:return 255;case 46:return 256;case 47:return 100;case 48:return 104;case 49:return 40;case 50:return 111;case 51:return 257;case 52:return 196;case 53:return 107;case 54:return 220;case 55:case 126:return 258;case 56:return 117;case 57:return 102;case 58:return 259;case 59:return 260;case 60:return 261;case 61:return 262;case 62:return 263;case 63:return 106;case 64:return 264;case 65:return 265;case 66:case 95:return 219;case 67:return 266;case 68:return 267;case 69:return 39;case 70:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("SELECT",s.yylloc),126;case 71:return 105;case 72:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("SET",s.yylloc),268;case 73:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("SHOW",s.yylloc),35;case 74:return 270;case 75:return 271;case 76:return 13;case 77:return 42;case 78:return 272;case 79:return 273;case 80:return 274;case 81:return"TO";case 82:return 275;case 83:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("TRUNCATE",s.yylloc,e.lexer.upcomingInput()),189;case 84:return 396;case 85:return 148;case 86:return ws.determineCase(s.yytext),"UPDATE";case 87:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("USE",s.yylloc),"USE";case 88:return 278;case 89:return 279;case 90:return 31;case 91:return 280;case 92:return 150;case 93:return ws.determineCase(s.yytext),ws.addStatementTypeLocation("WITH",s.yylloc),17;case 94:return 204;case 96:return e.lexer.unput("("),s.yytext="avg",ws.addFunctionLocation(s.yylloc,s.yytext),174;case 97:return e.lexer.unput("("),s.yytext="cast",ws.addFunctionLocation(s.yylloc,s.yytext),190;case 98:return e.lexer.unput("("),s.yytext="count",ws.addFunctionLocation(s.yylloc,s.yytext),182;case 99:return e.lexer.unput("("),s.yytext="max",ws.addFunctionLocation(s.yylloc,s.yytext),175;case 100:return e.lexer.unput("("),s.yytext="min",ws.addFunctionLocation(s.yylloc,s.yytext),176;case 101:return e.lexer.unput("("),s.yytext="stddev_pop",ws.addFunctionLocation(s.yylloc,s.yytext),177;case 102:return e.lexer.unput("("),s.yytext="stddev_samp",ws.addFunctionLocation(s.yylloc,s.yytext),178;case 103:return e.lexer.unput("("),s.yytext="sum",ws.addFunctionLocation(s.yylloc,s.yytext),183;case 104:return e.lexer.unput("("),s.yytext="var_pop",ws.addFunctionLocation(s.yylloc,s.yytext),179;case 105:return e.lexer.unput("("),s.yytext="var_samp",ws.addFunctionLocation(s.yylloc,s.yytext),180;case 106:return e.lexer.unput("("),s.yytext="variance",ws.addFunctionLocation(s.yylloc,s.yytext),181;case 107:return e.lexer.unput("("),s.yytext="cume_dist",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 108:return e.lexer.unput("("),s.yytext="dense_rank",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 109:return e.lexer.unput("("),s.yytext="first_value",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 110:return e.lexer.unput("("),s.yytext="lag",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 111:return e.lexer.unput("("),s.yytext="last_value",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 112:return e.lexer.unput("("),s.yytext="lead",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 113:return e.lexer.unput("("),s.yytext="rank",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 114:return e.lexer.unput("("),s.yytext="row_number",ws.addFunctionLocation(s.yylloc,s.yytext),184;case 115:case 116:return 276;case 117:return 277;case 118:return 222;case 119:return ws.yy.cursorFound=!0,5;case 120:return ws.yy.cursorFound=!0,282;case 121:return 252;case 122:return ws.addFileLocation(s.yylloc,s.yytext),401;case 123:return this.popState(),402;case 124:case 163:return 209;case 127:return 23;case 128:return 227;case 129:return 228;case 130:case 131:case 132:case 133:case 134:return 240;case 135:return 225;case 136:return 139;case 143:return 22;case 144:return 226;case 145:return":";case 146:return 213;case 147:return 231;case 148:return 224;case 149:return 18;case 150:return 20;case 151:return 229;case 152:return 230;case 153:return 113;case 154:return this.begin("backtickedValue"),234;case 155:return ws.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"`")?287:285;case 156:return this.popState(),234;case 157:return this.begin("singleQuotedValue"),269;case 158:return ws.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"'")?287:285;case 159:return this.popState(),269;case 160:return this.begin("doubleQuotedValue"),245;case 161:return ws.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,'"')?287:285;case 162:return this.popState(),245;case 170:console.log(s.yytext)}},rules:[/^(?:\s)/i,/^(?:--.*)/i,/^(?:[/][*][^*]*[*]+([^/*][^*]*[*]+)*[/])/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:AND)/i,/^(?:ALL)/i,/^(?:ALTER)/i,/^(?:AND)/i,/^(?:AS)/i,/^(?:ASC)/i,/^(?:BETWEEN)/i,/^(?:BIGINT)/i,/^(?:BOOLEAN)/i,/^(?:BY)/i,/^(?:CASCADE)/i,/^(?:CASE)/i,/^(?:CHAR)/i,/^(?:COLUMNS)/i,/^(?:COMMENT)/i,/^(?:CREATE)/i,/^(?:CROSS)/i,/^(?:CURRENT)/i,/^(?:DATABASE)/i,/^(?:DECIMAL)/i,/^(?:DESC)/i,/^(?:DISTINCT)/i,/^(?:DIV)/i,/^(?:DOUBLE)/i,/^(?:DROP)/i,/^(?:ELSE)/i,/^(?:END)/i,/^(?:EXISTS)/i,/^(?:FALSE)/i,/^(?:FLOAT)/i,/^(?:FOLLOWING)/i,/^(?:FROM)/i,/^(?:FULL)/i,/^(?:GROUP)/i,/^(?:HAVING)/i,/^(?:IF)/i,/^(?:IN)/i,/^(?:INNER)/i,/^(?:INSERT)/i,/^(?:INT)/i,/^(?:INTO)/i,/^(?:IS)/i,/^(?:JOIN)/i,/^(?:LEFT)/i,/^(?:LIKE)/i,/^(?:LIMIT)/i,/^(?:NOT)/i,/^(?:NULL)/i,/^(?:ON)/i,/^(?:OPTION)/i,/^(?:OR)/i,/^(?:ORDER)/i,/^(?:OUTER)/i,/^(?:PARTITION)/i,/^(?:PRECEDING)/i,/^(?:PURGE)/i,/^(?:RANGE)/i,/^(?:REGEXP)/i,/^(?:RIGHT)/i,/^(?:RLIKE)/i,/^(?:ROW)/i,/^(?:ROLE)/i,/^(?:ROWS)/i,/^(?:SCHEMA)/i,/^(?:SCHEMAS)/i,/^(?:SELECT)/i,/^(?:SEMI)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SMALLINT)/i,/^(?:STRING)/i,/^(?:TABLE)/i,/^(?:TABLES)/i,/^(?:THEN)/i,/^(?:TIMESTAMP)/i,/^(?:TINYINT)/i,/^(?:TO)/i,/^(?:TRUE)/i,/^(?:TRUNCATE)/i,/^(?:UNBOUNDED)/i,/^(?:UNION)/i,/^(?:UPDATE)/i,/^(?:USE)/i,/^(?:VALUES)/i,/^(?:VARCHAR)/i,/^(?:VIEW)/i,/^(?:WHEN)/i,/^(?:WHERE)/i,/^(?:WITH)/i,/^(?:OVER)/i,/^(?:ROLE)/i,/^(?:AVG\s*\()/i,/^(?:CAST\s*\()/i,/^(?:COUNT\s*\()/i,/^(?:MAX\s*\()/i,/^(?:MIN\s*\()/i,/^(?:STDDEV_POP\s*\()/i,/^(?:STDDEV_SAMP\s*\()/i,/^(?:SUM\s*\()/i,/^(?:VAR_POP\s*\()/i,/^(?:VAR_SAMP\s*\()/i,/^(?:VARIANCE\s*\()/i,/^(?:CUME_DIST\s*\()/i,/^(?:DENSE_RANK\s*\()/i,/^(?:FIRST_VALUE\s*\()/i,/^(?:LAG\s*\()/i,/^(?:LAST_VALUE\s*\()/i,/^(?:LEAD\s*\()/i,/^(?:RANK\s*\()/i,/^(?:ROW_NUMBER\s*\()/i,/^(?:[0-9]+)/i,/^(?:[0-9]+(?:[YSL]|BD)?)/i,/^(?:[0-9]+E)/i,/^(?:[A-Za-z0-9_]+)/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:\s+['"])/i,/^(?:[^'"\u2020\u2021]+)/i,/^(?:['"])/i,/^(?:$)/i,/^(?:&&)/i,/^(?:\|\|)/i,/^(?:=)/i,/^(?:<)/i,/^(?:>)/i,/^(?:!=)/i,/^(?:<=)/i,/^(?:>=)/i,/^(?:<>)/i,/^(?:<=>)/i,/^(?:-)/i,/^(?:\*)/i,/^(?:\+)/i,/^(?:\/)/i,/^(?:%)/i,/^(?:\|)/i,/^(?:\^)/i,/^(?:&)/i,/^(?:,)/i,/^(?:\.)/i,/^(?::)/i,/^(?:;)/i,/^(?:~)/i,/^(?:!)/i,/^(?:\()/i,/^(?:\))/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\$\{[^}]*\})/i,/^(?:`)/i,/^(?:[^`]+)/i,/^(?:`)/i,/^(?:')/i,/^(?:(?:\\\\|\\[']|[^'])+)/i,/^(?:')/i,/^(?:")/i,/^(?:(?:\\\\|\\["]|[^"])+)/i,/^(?:")/i,/^(?:$)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i,/^(?:.)/i],conditions:{hdfs:{rules:[119,120,121,122,123,124,166],inclusive:!1},doubleQuotedValue:{rules:[161,162,169],inclusive:!1},singleQuotedValue:{rules:[158,159,168],inclusive:!1},backtickedValue:{rules:[155,156,167],inclusive:!1},between:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,157,160,163,164,165,170],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,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,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,157,160,163,164,170],inclusive:!0}}};function Fs(){this.yy={}}return ws.lexer=_s,Fs.prototype=ws,ws.Parser=Fs,new Fs}();const n=r;return s.default})()}));
  2. //# sourceMappingURL=dasksqlSyntaxParser.js.map