calciteSyntaxParser.js 181 KB

1
  1. !function(e,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define("calciteSyntaxParser",[],s):"object"==typeof exports?exports.calciteSyntaxParser=s():e.calciteSyntaxParser=s()}("undefined"!=typeof self?self:this,(function(){return function(e){var s={};function t(i){if(s[i])return s[i].exports;var a=s[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=s,t.d=function(e,s,i){t.o(e,s)||Object.defineProperty(e,s,{enumerable:!0,get:i})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,s){if(1&s&&(e=t(e)),8&s)return e;if(4&s&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(t.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&s&&"string"!=typeof e)for(var a in e)t.d(i,a,function(s){return e[s]}.bind(null,a));return i},t.n=function(e){var s=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(s,"a",s),s},t.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},t.p="",t(t.s=16)}({0:function(e,s,t){"use strict";t.d(s,"c",(function(){return n})),t.d(s,"b",(function(){return r})),t.d(s,"a",(function(){return o})),t.d(s,"d",(function(){return A})),t.d(s,"e",(function(){return C}));var i=function(e,s,t){t&&(e=e.toLowerCase(),s=s.toLowerCase());var i=e.length,a=s.length;if(0===i)return a;if(0===a)return i;for(var n,r,o,u,l,c=new Array(i),y=0;y<=i;y++){c[y]=new Array(a),c[y][0]=y;for(var g=1;g<=a;g++)y?(n=e[y-1]===s[g-1]?0:1,r=c[y-1][g]+1,o=c[y][g-1]+1,u=c[y-1][g-1]+n,c[y][g]=r<=o&&r<=u?r:o<=r&&o<=u?o:u,y>1&&g>1&&e[y]===s[g-1]&&e[y-1]===s[g]&&(l=c[y-2][g-2]+n)<c[y][g]&&(c[y][g]=l)):c[0][g]=g}return c[i][a]};function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}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 i=t.lastIndexOf(e,s);return-1!==i&&i===s});var n=function(e,s){return e&&s&&e.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()===s.replace(/^\s*`/,"").replace(/`\s*$/,"").toLowerCase()},r=function(e,s){return e&&s&&e.toLowerCase()===s.toLowerCase()},o=["suggestJoinConditions","suggestAggregateFunctions","suggestFilters","suggestGroupBys","suggestOrderBys"],u="alias",l="asterisk",c="column",y="database",g="file",T="function",d="functionArgument",p="statement",E="statementType",h="table",I="unknown",f="variable",A=function(e){e.SELECT_FIRST_OPTIONAL_KEYWORDS=[{value:"ALL",weight:2},{value:"DISTINCT",weight:2}];var s=function(s){var t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+1};if(e.yy.cursorFound&&e.yy.cursorFound.first_line===t.first_line&&e.yy.cursorFound.last_column<=t.first_column){var i=e.yy.partialLengths.left+e.yy.partialLengths.right;i-=e.yy.partialCursor?1:3,t.first_column=t.first_column+i,t.last_column=t.last_column+i}return t};e.addAsteriskLocation=function(t,i){e.yy.locations.push({type:l,location:s(t),identifierChain:i})},e.addClauseLocation=function(t,i,a,n){var r;r=n?0===e.yy.partialLengths.left&&0===e.yy.partialLengths.right?{type:t,missing:!0,location:s({first_line:i.last_line,first_column:i.last_column,last_line:i.last_line,last_column:i.last_column})}:{type:t,missing:!1,location:{first_line:a.last_line,first_column:a.last_column-1,last_line:a.last_line,last_column:a.last_column-1+e.yy.partialLengths.right+e.yy.partialLengths.left}}:{type:t,missing:!a,location:s(a||{first_line:i.last_line,first_column:i.last_column,last_line:i.last_line,last_column:i.last_column})},e.isInSubquery()&&(r.subquery=!0),e.yy.locations.push(r)},e.addColumnAliasLocation=function(t,i,a){var n={type:u,source:"column",alias:i,location:s(t),parentLocation:s(a)};if(e.yy.locations.length&&"column"===e.yy.locations[e.yy.locations.length-1].type){var r=e.yy.locations[e.yy.locations.length-1];r.location.first_line===n.parentLocation.first_line&&r.location.last_line===n.parentLocation.last_line&&r.location.first_column===n.parentLocation.first_column&&r.location.last_column===n.parentLocation.last_column&&(e.yy.locations[e.yy.locations.length-1].alias=i)}e.yy.locations.push(n)},e.addColumnLocation=function(t,i){i.length&&/\${[^}]*}/.test(i[i.length-1].name)?e.yy.locations.push({type:f,location:s(t),value:i[i.length-1].name}):e.yy.locations.push({type:c,location:s(t),identifierChain:i,qualified:i.length>1})},e.addCteAliasLocation=function(t,i){e.yy.locations.push({type:u,source:"cte",alias:i,location:s(t)})},e.addDatabaseLocation=function(t,i){e.yy.locations.push({type:y,location:s(t),identifierChain:i})},e.addFileLocation=function(t,i){e.yy.locations.push({type:g,location:s(t),path:i})},e.addFunctionLocation=function(t,i){var a={first_line:t.first_line,last_line:t.last_line,first_column:t.first_column,last_column:t.last_column-1};e.yy.locations.push({type:T,location:s(a),function:i.toLowerCase()})},e.addFunctionArgumentLocations=function(t,i,a){i&&i.length&&i.forEach((function(i,n){var r={type:d,location:s(i.location),function:t.toLowerCase(),argumentPosition:n,identifierChain:a||[{name:t}],expression:i.expression};i.suffix&&(r.suffix=i.suffix),e.yy.locations.push(r)}))},e.addNewDatabaseLocation=function(t,i){e.yy.definitions.push({type:y,location:s(t),identifierChain:i})},e.addNewTableLocation=function(t,i,a){var n=[];a&&a.forEach((function(e){n.push({identifierChain:[e.identifier],type:e.type,location:s(e.location)})})),e.yy.definitions.push({type:h,location:s(t),identifierChain:i,columns:n})},e.addStatementLocation=function(s){if(s.first_line!==s.last_line||1!==Math.abs(s.last_column-s.first_column)){var t;if(e.yy.cursorFound&&e.yy.cursorFound.last_line===s.last_line&&e.yy.cursorFound.first_column>=s.first_column&&e.yy.cursorFound.last_column<=s.last_column){var i=e.yy.partialLengths.left+e.yy.partialLengths.right;t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+i-(e.yy.partialCursor?0:2)}}else t={first_line:s.first_line,last_line:s.last_line,first_column:s.first_column+1,last_column:s.last_column+1};e.yy.locations.push({type:p,location:t})}},e.addStatementTypeLocation=function(t,i,a){if("SELECT"!==t&&e.yy.allLocations)for(var n=e.yy.allLocations.length-1;n>=0&&(!e.yy.allLocations[n]||e.yy.allLocations[n].type!==p);n--)if(e.yy.allLocations[n]&&e.yy.allLocations[n].type===E)return;var r={type:E,location:s(i),identifier:t};if(void 0!==a)switch(t){case"ALTER":/ALTER\s+VIEW/i.test(a)?r.identifier="ALTER VIEW":r.identifier="ALTER TABLE";break;case"COMPUTE":r.identifier="COMPUTE STATS";break;case"CREATE":/CREATE\s+VIEW/i.test(a)?r.identifier="CREATE VIEW":/CREATE\s+TABLE/i.test(a)?r.identifier="CREATE TABLE":/CREATE\s+DATABASE/i.test(a)?r.identifier="CREATE DATABASE":/CREATE\s+ROLE/i.test(a)?r.identifier="CREATE ROLE":/CREATE\s+FUNCTION/i.test(a)?r.identifier="CREATE FUNCTION":r.identifier="CREATE TABLE";break;case"DROP":/DROP\s+VIEW/i.test(a)?r.identifier="DROP VIEW":/DROP\s+TABLE/i.test(a)?r.identifier="DROP TABLE":/DROP\s+DATABASE/i.test(a)?r.identifier="DROP DATABASE":/DROP\s+ROLE/i.test(a)?r.identifier="DROP ROLE":/DROP\s+STATS/i.test(a)?r.identifier="DROP STATS":/DROP\s+FUNCTION/i.test(a)?r.identifier="DROP FUNCTION":r.identifier="DROP TABLE";break;case"INVALIDATE":r.identifier="INVALIDATE METADATA";break;case"LOAD":r.identifier="LOAD DATA";break;case"TRUNCATE":r.identifier="TRUNCATE TABLE"}e.yy.locations.push(r)},e.addSubqueryAliasLocation=function(t,i){e.yy.locations.push({type:u,source:"subquery",alias:i,location:s(t)})},e.addTableAliasLocation=function(t,i,a){e.yy.locations.push({type:u,source:"table",alias:i,location:s(t),identifierChain:a})},e.addTableLocation=function(t,i){e.yy.locations.push({type:h,location:s(t),identifierChain:i})},e.addVariableLocation=function(t,i){/\${[^}]*}/.test(i)&&e.yy.locations.push({type:f,location:s(t),value:i})},e.addUnknownLocation=function(t,i){var a;return a=i.length&&/\${[^}]*}/.test(i[i.length-1].name)?{type:f,location:s(t),value:i[i.length-1].name}:{type:I,location:s(t),identifierChain:i,qualified:i.length>1},e.yy.locations.push(a),a},e.applyTypes=function(e,s){e.types=s.types,s.types&&"UDFREF"===s.types[0]&&(s.function?e.udfRef=s.function:e.types=["T"])},e.applyTypeToSuggestions=function(s){s.types||console.trace(),"BOOLEAN"!==s.types[0]&&(e.yy.result.suggestFunctions&&!e.yy.result.suggestFunctions.types&&e.applyTypes(e.yy.result.suggestFunctions,s),e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.types&&e.applyTypes(e.yy.result.suggestColumns,s))},e.extractExpressionText=function(e){for(var s=[],t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=i.some((function(e){if(void 0===e)return!1;if("string"==typeof e||"number"==typeof e)s.push(e);else if("object"===a(e))if(e.text)s.push(e.text);else{if(!e.columnReference)return!0;s.push(e.columnReference.map((function(e){return e.name})).join("."))}}));r||(e.text=s.join(" "))},e.getSubQuery=function(e){var s=[];return e.selectList.forEach((function(e){var t={};e.alias&&(t.alias=e.alias),e.valueExpression&&e.valueExpression.columnReference?t.identifierChain=e.valueExpression.columnReference:e.asterisk&&(t.identifierChain=[{asterisk:!0}]),e.valueExpression&&e.valueExpression.types&&1===e.valueExpression.types.length&&(t.type=e.valueExpression.types[0],"UDFREF"===t.type&&(e.valueExpression.function?t.udfRef=e.valueExpression.function:t.type=["T"])),s.push(t)})),{columns:s}},e.suggestKeywords=function(s){"string"==typeof s&&(s=e.KEYWORDS&&e.KEYWORDS[s]||[]);var t=[];0!==s.length&&(s.forEach((function(e){void 0!==e.weight?t.push(e):t.push({value:e,weight:-1})})),t.sort((function(e,s){return e.weight!==s.weight?s.weight-e.weight:e.value.localeCompare(s.value)})),e.yy.result.suggestKeywords=t)},e.valueExpressionSuggest=function(s,t){s&&s.columnReference&&(e.suggestValues(),e.yy.result.colRef={identifierChain:s.columnReference}),e.suggestColumns(),e.suggestFunctions();var i=[{value:"CASE",weight:450},{value:"FALSE",weight:450},{value:"NULL",weight:450},{value:"TRUE",weight:450}];void 0!==s&&void 0!==t||(i=i.concat(["EXISTS","NOT"])),s&&"NUMBER"===s.types[0]&&e.applyTypeToSuggestions(s),e.suggestKeywords(i)}},L=["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"],b=function(){},C=function(e){L.forEach((function(s){e[s]=b})),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,i,a){if(-1!==t.indexOf("†")||-1!==t.indexOf("‡")){e.yy.partialCursor=-1!==t.indexOf("‡");var n=e.yy.partialCursor?t.indexOf("‡"):t.indexOf("†");e.yy.cursorFound={first_line:i.first_line,last_line:i.last_line,first_column:i.first_column+n,last_column:i.first_column+n+1};var r=t.substring(n+1),o=(s.upcomingInput().match(new RegExp(a,"g"))||[]).length;return o>0&&0!=(1&o)?(e.yy.missingEndQuote=!1,s.input()):(e.yy.missingEndQuote=!0,s.unput(r)),s.popState(),!0}return!1},e.yy.parseError=function(s,t){e.yy.error=t};var s={";":!0,".":!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},t={BETWEEN_AND:"AND",OVERWRITE_DIRECTORY:"OVERWRITE",STORED_AS_DIRECTORIES:"STORED",LIKE_PARQUET:"LIKE",PARTITION_VALUE:"PARTITION"};e.parseSyntax=function(a,n,r){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+n)}catch(s){if(r)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=[],u={},l=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 c=0;c<e.yy.error.expected.length;c++){var y=e.yy.error.expected[c];if("REGULAR_IDENTIFIER"===(y=y.substring(1,y.length-1))){if(e.yy.error.expectedIdentifier=!0,/^<[a-z]+>/.test(e.yy.error.token)){var g="`"+e.yy.error.text+"`";o.push({text:g,distance:i(e.yy.error.text,g,!0)}),e.yy.error.possibleReserved=!0}}else if(!s[y]&&/[a-z_]+/i.test(y)){if(y.toUpperCase()!==y)continue;if((y=t[y]||y)===e.yy.error.text.toUpperCase())return!1;var T=l?y.toLowerCase():y;T&&!u[T]&&(u[T]=!0,o.push({text:T,distance:i(e.yy.error.text,T,!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)}}},1:function(e,s,t){"use strict";t.d(s,"a",(function(){return r}));var i={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!1,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DATE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!0,BINARY:!1,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BINARY:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!0,TINYINT:!1,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!1,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!1,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!1,INTEGER:!1,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!1,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!1,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!1,DECIMAL:!1,NUMBER:!0,STRING:!1,CHAR:!1,VARCHAR:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!1,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,DATE:!1,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!0,DATE:!0,BINARY:!1,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,DATE:!0,BINARY:!0,TINYINT:!0,SMALLINT:!0,INT:!0,INTEGER:!0,BIGINT:!0,FLOAT:!0,DOUBLE:!0,DECIMAL:!0,NUMBER:!0,STRING:!0,CHAR:!0,VARCHAR:!0,T:!0}},a={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},n={BOOLEAN:{BOOLEAN:!0,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},TIMESTAMP:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!1,VARCHAR:!1,STRING:!0,T:!0},TINYINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},SMALLINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},INT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},BIGINT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DOUBLE:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},REAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},DECIMAL:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},FLOAT:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},NUMBER:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!1,VARCHAR:!1,STRING:!1,T:!0},CHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!1,T:!0},VARCHAR:{BOOLEAN:!1,TIMESTAMP:!1,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!0,STRING:!1,T:!0},STRING:{BOOLEAN:!1,TIMESTAMP:!0,TINYINT:!1,SMALLINT:!1,INT:!1,BIGINT:!1,DOUBLE:!1,REAL:!1,DECIMAL:!1,FLOAT:!1,NUMBER:!1,CHAR:!0,VARCHAR:!1,STRING:!0,T:!0},T:{BOOLEAN:!0,TIMESTAMP:!0,TINYINT:!0,SMALLINT:!0,INT:!0,BIGINT:!0,DOUBLE:!0,REAL:!0,DECIMAL:!0,FLOAT:!0,NUMBER:!0,CHAR:!0,VARCHAR:!0,STRING:!0,T:!0}},r=function(e,s,t){if(1===s.length&&"T"===s[0])return!0;var r,o=(r=[],t.forEach((function(e){e.indexOf("(")>-1?r.push(e.substring(0,e.indexOf("("))):r.push(e)})),r);if(-1!==o.indexOf("ARRAY")||-1!==o.indexOf("MAP")||-1!==o.indexOf("STRUCT"))return!0;for(var u=function(e){return"impala"===e?a:"hive"===e?i:n}(e),l=0;l<s.length;l++)for(var c=0;c<o.length;c++){if(void 0===u[s[l]]||void 0===u[s[l]][o[c]])return!0;if(u[s[l]]&&u[s[l]][o[c]])return!0}return!1}},16:function(e,s,t){e.exports=t(17)},17:function(e,s,t){"use strict";t.r(s);var i=t(2),a=function(){var e=function(e,s,t,i){for(t=t||{},i=e.length;i--;t[e[i]]=s);return t},s=[4,8,12,16,164,176,243,274,324,340,343,347,510],t=[2,628],a=[343,347],n=[2,629],r=[1,37],o=[1,28],u=[1,29],l=[1,18],c=[1,38],y=[1,35],g=[1,36],T=[1,30],d=[1,34],p=[1,31],E=[1,32],h=[1,47],I=[1,49],f=[1,45],A=[1,48],L=[1,44],b=[83,343,347],C=[2,455],N=[1,55],R=[1,63],S=[1,64],O=[1,74],m=[56,57,65,81,97,98,109,114,115,230,256,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,351,352,354,355,358,361,365,373,392,393],D=[2,417],k=[1,85],x=[1,86],w=[33,270],_=[16,33,45,52,56,57,65,79,81,83,87,97,109,110,111,114,115,122,127,131,142,144,156,184,192,203,216,217,218,219,220,221,222,223,224,228,230,234,241,242,256,265,267,270,343,347,351,352,355,359,360,361,362,363,364,366,369,370,371,372,374,377,378,379,380,382,383,385,387,388,389,390,391,394,395,408,442],F=[83,265,343,347],v=[65,115,230,343,347,351,352],B=[2,785],P=[1,100],M=[65,115,230,351,352,361],U=[65,115,230,309,343,347,351,352,361],K=[2,782],$=[1,105],V=[2,832],G=[16,65,115,230,351,352,361],H=[81,87,243],Q=[1,172],W=[1,173],Y=[1,128],J=[1,123],j=[1,134],X=[1,136],q=[1,138],z=[1,121],Z=[1,170],ee=[1,174],se=[1,175],te=[1,139],ie=[1,161],ae=[1,162],ne=[1,163],re=[1,164],oe=[1,165],ue=[1,166],le=[1,167],ce=[1,168],ye=[1,154],ge=[1,155],Te=[1,148],de=[1,137],pe=[1,149],Ee=[1,124],he=[1,126],Ie=[1,125],fe=[1,129],Ae=[1,127],Le=[1,169],be=[1,171],Ce=[56,57,65,81,83,97,98,109,114,115,230,243,256,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,351,352,354,355,358,361,365,373,392,393],Ne=[1,225],Re=[83,87,184,265,343,347],Se=[2,1104],Oe=[1,230],me=[1,245],De=[1,246],ke=[1,234],xe=[1,231],we=[1,232],_e=[1,233],Fe=[1,240],ve=[1,239],Be=[1,238],Pe=[1,241],Me=[1,236],Ue=[1,235],Ke=[1,229],$e=[1,237],Ve=[1,248],Ge=[1,247],He=[33,45,56,57,65,79,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],Qe=[1,254],We=[1,260],Ye=[1,262],Je=[33,45,56,57,65,79,81,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],je=[1,267],Xe=[33,45,52,56,57,65,79,81,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,270,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],qe=[33,45,56,57,65,79,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,321,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],ze=[45,56,57,65,83,87,115,127,142,156,192,203,216,217,218,219,220,221,222,223,224,228,230,234,265,267,343,347,351,352,361],Ze=[1,283],es=[45,52,83,87,97,98,111,184,192,203,216,217,218,219,220,221,222,223,224,228,234,265,267,343,347],ss=[83,87],ts=[2,48],is=[1,296],as=[45,343,347],ns=[45,127,343,347],rs=[45,52,79,81,127,343,347],os=[45,52],us=[2,833],ls=[267,343,347],cs=[87,184,267,343,347],ys=[33,52,83,87],gs=[176,243],Ts=[2,1082],ds=[83,192,203,228,234,265,343,347],ps=[2,468],Es=[1,324],hs=[98,250,272,273],Is=[83,87,184,192,203,216,217,218,219,220,221,222,223,224,228,234,265,267,343,347],fs=[45,56,57,65,83,87,97,115,131,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,265,267,343,347,351,352,359,361,362,371,372,380,385,389,395,442],As=[33,45,56,57,65,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,343,347,351,352,355,359,360,361,362,371,372,380,385,389,395,442],Ls=[371,372,395],bs=[56,57,65,81,97,98,109,114,115,230,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,351,352,354,355,358,361,365,373,392,393],Cs=[33,45,52,56,57,65,79,83,87,97,98,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,224,228,230,234,241,242,256,265,267,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],Ns=[83,203,228,234,265,343,347],Rs=[83,87,192,203,228,234,265,267,343,347],Ss=[1,425],Os=[1,428],ms=[1,426],Ds=[1,430],ks=[1,427],xs=[1,429],ws=[1,432],_s=[1,431],Fs=[83,87,192,203,216,217,218,219,220,221,222,223,224,228,234,265,267,343,347],vs=[45,56,57,65,83,87,115,192,203,216,217,218,219,220,221,222,223,224,228,230,234,265,267,343,347,351,352,361],Bs=[33,45,56,57,65,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,265,267,343,347,351,352,359,361,362,371,372,380,385,389,395,442],Ps=[45,56,57,65,83,87,115,131,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,265,267,343,347,351,352,359,361,371,372,380,385,389,395,442],Ms=[1,450],Us=[83,234],Ks=[1,464],$s=[1,490],Vs=[1,491],Gs=[1,492],Hs=[1,478],Qs=[1,479],Ws=[1,480],Ys=[1,481],Js=[1,482],js=[1,483],Xs=[1,484],qs=[1,485],zs=[1,486],Zs=[1,487],et=[1,488],st=[1,489],tt=[83,228,234,265,343,347],it=[65,81,115,230,351,352,361],at=[1,524],nt=[83,87,234],rt=[33,45,56,57,65,79,83,87,97,110,111,115,131,144,184,192,203,216,217,218,219,220,221,222,223,224,228,230,234,241,242,256,265,267,343,347,351,352,355,359,360,361,362,371,372,377,379,380,382,383,385,389,395,442],ot=[1,532],ut=[87,343,347],lt=[1,548],ct=[1,549],yt=[52,83,87,97,98,111],gt=[2,894],Tt=[1,552],dt=[83,228,265,343,347],pt=[83,87,192,203,216,217,218,219,220,221,222,223,228,234,265,267,343,347],Et=[2,374],ht=[1,568],It=[52,83,87,97,98],ft=[83,87,203,228,234,265,343,347],At=[362,497],Lt=[1,624],bt=[87,111],Ct=[83,359,367,392,497],Nt=[2,1140],Rt=[83,87,131,228,265,343,347,385],St=[83,359],Ot=[2,1150],mt=[1,657],Dt=[1,658],kt=[1,659],xt=[1,667],wt=[1,668],_t=[2,1155],Ft=[1,675],vt=[375,381],Bt=[2,198],Pt=[2,199],Mt={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,ALTER:4,CURSOR:5,AlterTable_EDIT:6,AlterView_EDIT:7,CREATE:8,DatabaseDefinition_EDIT:9,TableDefinition_EDIT:10,ViewDefinition_EDIT:11,DROP:12,DropDatabaseStatement_EDIT:13,DropTableStatement_EDIT:14,DropViewStatement_EDIT:15,SET:16,TruncateTableStatement_EDIT:17,UseStatement_EDIT:18,DescribeStatement_EDIT:19,DataDefinition:20,AlterTable:21,AlterView:22,DatabaseDefinition:23,RoleDefinition:24,TableDefinition:25,ViewDefinition:26,DropDatabaseStatement:27,DropRoleStatement:28,DropTableStatement:29,DropViewStatement:30,ALL:31,SetOption:32,"=":33,SetValue:34,TruncateTableStatement:35,UseStatement:36,DescribeStatement:37,AlterTableLeftSide:38,PartitionSpec:39,AlterTableLeftSide_EDIT:40,TABLE:41,SchemaQualifiedTableIdentifier:42,SchemaQualifiedTableIdentifier_EDIT:43,AlterViewLeftSide:44,AS:45,QuerySpecification:46,AlterViewLeftSide_EDIT:47,QuerySpecification_EDIT:48,VIEW:49,OptionalComment:50,Comment:51,COMMENT:52,QuotedValue:53,OptionalComment_INVALID:54,Comment_INVALID:55,SINGLE_QUOTE:56,DOUBLE_QUOTE:57,VALUE:58,DatabaseOrSchema:59,OptionalIfNotExists:60,RegularIdentifier:61,DatabaseDefinitionOptionals:62,OptionalIfNotExists_EDIT:63,DatabaseDefinitionOptionals_EDIT:64,ROLE:65,TableDefinitionRightPart:66,TableDefinitionRightPart_EDIT:67,TableIdentifierAndOptionalColumnSpecification:68,OptionalPartitionedBy:69,OptionalAsSelectStatement:70,TableIdentifierAndOptionalColumnSpecification_EDIT:71,PartitionedBy_EDIT:72,OptionalAsSelectStatement_EDIT:73,SchemaQualifiedIdentifier:74,OptionalColumnSpecificationsOrLike:75,OptionalColumnSpecificationsOrLike_EDIT:76,SchemaQualifiedIdentifier_EDIT:77,ParenthesizedColumnSpecificationList:78,LIKE:79,ParenthesizedColumnSpecificationList_EDIT:80,"(":81,ColumnSpecificationList:82,")":83,ColumnSpecificationList_EDIT:84,RightParenthesisOrError:85,ColumnSpecification:86,",":87,ColumnSpecification_EDIT:88,ColumnIdentifier:89,ColumnDataType:90,OptionalColumnOptions:91,ColumnDataType_EDIT:92,ColumnOptions_EDIT:93,ColumnOptions:94,ColumnOption:95,ColumnOption_EDIT:96,NOT:97,NULL:98,PrimitiveType:99,ArrayType:100,MapType:101,StructType:102,ArrayType_INVALID:103,MapType_INVALID:104,StructType_INVALID:105,ArrayType_EDIT:106,MapType_EDIT:107,StructType_EDIT:108,ARRAY:109,"<":110,">":111,AnyCursor:112,GreaterThanOrError:113,MAP:114,STRUCT:115,StructDefinitionList:116,StructDefinitionList_EDIT:117,StructDefinition:118,StructDefinition_EDIT:119,Commas:120,RegularOrBacktickedIdentifier:121,":":122,ColumnDataTypeList:123,ColumnDataTypeList_EDIT:124,ColumnDataTypeListInner_EDIT:125,PartitionedBy:126,PARTITION:127,BY:128,RangeClause:129,RangeClause_EDIT:130,RANGE:131,ParenthesizedColumnList:132,ParenthesizedPartitionValuesList:133,ParenthesizedColumnList_EDIT:134,ParenthesizedPartitionValuesList_EDIT:135,PartitionValueList:136,PartitionValueList_EDIT:137,PartitionValue:138,PartitionValue_EDIT:139,ValueExpression:140,LessThanOrEqualTo:141,VALUES:142,ValueExpression_EDIT:143,COMPARISON_OPERATOR:144,CommitLocations:145,OptionalParenthesizedViewColumnList:146,ParenthesizedViewColumnList_EDIT:147,ParenthesizedViewColumnList:148,ViewColumnList:149,ViewColumnList_EDIT:150,ColumnReference:151,OptionalIfExists:152,OptionalCascade:153,OptionalIfExists_EDIT:154,OptionalPurge:155,PURGE:156,DataManipulation:157,InsertStatement:158,UpdateStatement:159,InsertValuesStatement:160,DataManipulation_EDIT:161,InsertValuesStatement_EDIT:162,UpdateStatement_EDIT:163,INSERT:164,INTO:165,OptionalTable:166,InsertValuesList:167,ParenthesizedRowValuesList:168,InValueList:169,CommonTableExpression:170,SelectStatement:171,OptionalUnions:172,SelectStatement_EDIT:173,OptionalUnions_EDIT:174,CommonTableExpression_EDIT:175,WITH:176,WithQueries:177,WithQueries_EDIT:178,WithQuery:179,WithQuery_EDIT:180,TableSubQueryInner:181,TableSubQueryInner_EDIT:182,FromClause:183,FROM:184,TableReferenceList:185,FromClause_EDIT:186,TableReferenceList_EDIT:187,TableReference:188,TableReference_EDIT:189,OptionalGroupByClause:190,GroupByClause:191,GROUP:192,GroupByColumnList:193,GroupByClause_EDIT:194,GroupByColumnList_EDIT:195,ColumnGroupingSets:196,ColumnGroupingSets_EDIT:197,ColumnGroupingSet_EDIT:198,ColumnReference_EDIT:199,GroupByColumnListPartTwo_EDIT:200,OptionalHavingClause:201,HavingClause:202,HAVING:203,HavingClause_EDIT:204,OptionalJoins:205,Joins:206,Joins_INVALID:207,JoinType:208,TablePrimary:209,OptionalJoinCondition:210,Join_EDIT:211,JoinType_EDIT:212,TablePrimary_EDIT:213,JoinCondition_EDIT:214,Joins_EDIT:215,CROSS:216,JOIN:217,FULL:218,OUTER:219,INNER:220,LEFT:221,SEMI:222,RIGHT:223,ON:224,UsingColList:225,OptionalLimitClause:226,LimitClause:227,LIMIT:228,UnsignedNumericLiteral:229,VARIABLE_REFERENCE:230,LimitClause_EDIT:231,OptionalOrderByClause:232,OrderByClause:233,ORDER:234,OrderByColumnList:235,OrderByClause_EDIT:236,OrderByColumnList_EDIT:237,OrderByIdentifier:238,OrderByIdentifier_EDIT:239,OptionalAscOrDesc:240,ASC:241,DESC:242,SELECT:243,OptionalAllOrDistinct:244,SelectList:245,TableExpression:246,STREAM:247,SelectList_EDIT:248,TableExpression_EDIT:249,DISTINCT:250,OptionalSelectConditions:251,OptionalSelectConditions_EDIT:252,SelectSpecification:253,SelectSpecification_EDIT:254,OptionalCorrelationName:255,"*":256,OptionalCorrelationName_EDIT:257,OptionalWhereClause:258,WhereClause_EDIT:259,WhereClause:260,Unions:261,Unions_EDIT:262,UnionClause:263,UnionClause_EDIT:264,UNION:265,NewStatement:266,WHERE:267,SearchCondition:268,SearchCondition_EDIT:269,".":270,SignedInteger:271,TRUE:272,FALSE:273,TRUNCATE:274,OptionalPartitionSpec:275,UserDefinedFunction:276,AggregateFunction:277,OptionalOverClause:278,AnalyticFunction:279,OverClause:280,CastFunction:281,UserDefinedFunction_EDIT:282,AggregateFunction_EDIT:283,OptionalOverClause_EDIT:284,AnalyticFunction_EDIT:285,OverClause_EDIT:286,CastFunction_EDIT:287,OtherAggregateFunction:288,CountFunction:289,SumFunction:290,OtherAggregateFunction_EDIT:291,CountFunction_EDIT:292,SumFunction_EDIT:293,OtherAggregateFunction_Type:294,UdfArgumentList:295,UdfArgumentList_EDIT:296,AVG:297,MAX:298,MIN:299,STDDEV_POP:300,STDDEV_SAMP:301,VAR_POP:302,VAR_SAMP:303,VARIANCE:304,COUNT:305,SUM:306,ANALYTIC:307,ArbitraryFunctionName:308,IF:309,CAST:310,NonParenthesizedValueExpressionPrimary:311,ColumnOrArbitraryFunctionRef:312,ArbitraryFunctionRightPart:313,UnsignedValueSpecification:314,NonParenthesizedValueExpressionPrimary_EDIT:315,ArbitraryFunctionRightPart_EDIT:316,UnsignedValueSpecification_EDIT:317,ColumnOrArbitraryFunctionRef_EDIT:318,ArbitraryFunction:319,ArbitraryFunction_EDIT:320,OVER:321,WindowExpression:322,WindowExpression_EDIT:323,UPDATE:324,TargetTable:325,SetClauseList:326,OptionalFromJoinedTable:327,TargetTable_EDIT:328,SetClauseList_EDIT:329,FromJoinedTable_EDIT:330,TableName:331,TableName_EDIT:332,LocalOrSchemaQualifiedName:333,LocalOrSchemaQualifiedName_EDIT:334,SetClause:335,SetClause_EDIT:336,SetTarget:337,UpdateSource:338,UpdateSource_EDIT:339,USE:340,SqlSyntax:341,SqlStatements:342,EOF:343,SqlAutocomplete:344,SqlStatements_EDIT:345,SqlStatement:346,";":347,SqlStatement_EDIT:348,SetSpecification_EDIT:349,NonReservedKeyword:350,OPTION:351,REGULAR_IDENTIFIER:352,NonStartingToken:353,"!":354,"-":355,"[":356,"]":357,"~":358,AND:359,ARITHMETIC_OPERATOR:360,BACKTICK:361,BETWEEN:362,BIGINT:363,BOOLEAN:364,CASE:365,CHAR:366,CURRENT:367,DATABASE:368,DECIMAL:369,DOUBLE:370,ELSE:371,END:372,EXISTS:373,FLOAT:374,FOLLOWING:375,HDFS_START_QUOTE:376,IN:377,INT:378,IS:379,OR:380,PRECEDING:381,REGEXP:382,RLIKE:383,ROW:384,ROWS:385,SCHEMA:386,SMALLINT:387,STRING:388,THEN:389,TIMESTAMP:390,TINYINT:391,UNSIGNED_INTEGER:392,UNSIGNED_INTEGER_E:393,VARCHAR:394,WHEN:395,PARTIAL_CURSOR:396,FromOrIn:397,SingleQuotedValue:398,SingleQuotedValue_EDIT:399,PARTIAL_VALUE:400,DoubleQuotedValue:401,DoubleQuotedValue_EDIT:402,QuotedValue_EDIT:403,OptionalFromDatabase:404,DatabaseIdentifier:405,OptionalFromDatabase_EDIT:406,DatabaseIdentifier_EDIT:407,CASCADE:408,OptionalInDatabase:409,OptionalPartitionSpec_EDIT:410,PartitionSpec_EDIT:411,PartitionSpecList:412,PartitionSpecList_EDIT:413,RangePartitionSpec:414,RangePartitionComparisonOperator:415,RangePartitionSpec_EDIT:416,ConfigurationName:417,PartialBacktickedOrAnyCursor:418,PartialBacktickedIdentifier:419,PartialBacktickedOrCursor:420,PartialBacktickedOrPartialCursor:421,OptionalParenthesizedColumnList:422,OptionalParenthesizedColumnList_EDIT:423,ColumnList:424,ColumnList_EDIT:425,ParenthesizedSimpleValueList:426,SimpleValueList:427,PartitionExpression:428,PartitionExpression_EDIT:429,RegularOrBackTickedSchemaQualifiedName:430,RegularOrBackTickedSchemaQualifiedName_EDIT:431,BasicIdentifierChain:432,BasicIdentifierChain_EDIT:433,DerivedColumnChain:434,DerivedColumnChain_EDIT:435,PartialBacktickedIdentifierOrPartialCursor:436,OptionalTypeLength:437,OptionalTypePrecision:438,OptionalNot:439,TableSubQuery:440,ValueExpressionList:441,BETWEEN_AND:442,LikeRightPart:443,CaseRightPart:444,TableSubQuery_EDIT:445,ValueExpressionInSecondPart_EDIT:446,LikeRightPart_EDIT:447,CaseRightPart_EDIT:448,EndOrError:449,ValueExpressionList_EDIT:450,"+":451,UnsignedLiteral:452,UnsignedLiteral_EDIT:453,GeneralLiteral:454,GeneralLiteral_EDIT:455,ExactNumericLiteral:456,ApproximateNumericLiteral:457,TruthValue:458,TablePrimaryOrJoinedTable:459,TablePrimaryOrJoinedTable_EDIT:460,JoinedTable:461,JoinedTable_EDIT:462,TableOrQueryName:463,DerivedTable:464,TableOrQueryName_EDIT:465,DerivedTable_EDIT:466,OptionalOnColumn:467,OptionalOnColumn_EDIT:468,PushQueryState:469,PopQueryState:470,SubQuery:471,SubQuery_EDIT:472,QueryExpression:473,QueryExpression_EDIT:474,QueryExpressionBody:475,QueryExpressionBody_EDIT:476,NonJoinQueryExpression:477,NonJoinQueryExpression_EDIT:478,NonJoinQueryTerm:479,NonJoinQueryTerm_EDIT:480,NonJoinQueryPrimary:481,NonJoinQueryPrimary_EDIT:482,SimpleTable:483,SimpleTable_EDIT:484,OptionalPartitionBy:485,OptionalOrderByAndWindow:486,PartitionBy_EDIT:487,OptionalOrderByAndWindow_EDIT:488,PartitionBy:489,OptionalWindowSpec:490,WindowSpec_EDIT:491,WindowSpec:492,RowsOrRange:493,PopLexerState:494,OptionalCurrentOrPreceding:495,OptionalAndFollowing:496,UNBOUNDED:497,OptionalCurrentOrPreceding_EDIT:498,OptionalAndFollowing_EDIT:499,PushHdfsLexerState:500,HdfsPath:501,HDFS_PATH:502,HDFS_END_QUOTE:503,HdfsPath_EDIT:504,IntegerOrUnbounded:505,CaseWhenThenList:506,CaseWhenThenList_EDIT:507,CaseWhenThenListPartTwo:508,CaseWhenThenListPartTwo_EDIT:509,DESCRIBE:510,$accept:0,$end:1},terminals_:{2:"error",4:"ALTER",5:"CURSOR",8:"CREATE",12:"DROP",16:"SET",31:"ALL",33:"=",41:"TABLE",45:"AS",49:"VIEW",52:"COMMENT",56:"SINGLE_QUOTE",57:"DOUBLE_QUOTE",58:"VALUE",65:"ROLE",79:"LIKE",81:"(",83:")",87:",",97:"NOT",98:"NULL",109:"ARRAY",110:"<",111:">",114:"MAP",115:"STRUCT",122:":",127:"PARTITION",128:"BY",131:"RANGE",142:"VALUES",144:"COMPARISON_OPERATOR",156:"PURGE",164:"INSERT",165:"INTO",176:"WITH",184:"FROM",192:"GROUP",203:"HAVING",216:"CROSS",217:"JOIN",218:"FULL",219:"OUTER",220:"INNER",221:"LEFT",222:"SEMI",223:"RIGHT",224:"ON",228:"LIMIT",230:"VARIABLE_REFERENCE",234:"ORDER",241:"ASC",242:"DESC",243:"SELECT",247:"STREAM",250:"DISTINCT",256:"*",265:"UNION",267:"WHERE",270:".",272:"TRUE",273:"FALSE",274:"TRUNCATE",297:"AVG",298:"MAX",299:"MIN",300:"STDDEV_POP",301:"STDDEV_SAMP",302:"VAR_POP",303:"VAR_SAMP",304:"VARIANCE",305:"COUNT",306:"SUM",307:"ANALYTIC",309:"IF",310:"CAST",321:"OVER",324:"UPDATE",340:"USE",343:"EOF",347:";",349:"SetSpecification_EDIT",351:"OPTION",352:"REGULAR_IDENTIFIER",354:"!",355:"-",356:"[",357:"]",358:"~",359:"AND",360:"ARITHMETIC_OPERATOR",361:"BACKTICK",362:"BETWEEN",363:"BIGINT",364:"BOOLEAN",365:"CASE",366:"CHAR",367:"CURRENT",368:"DATABASE",369:"DECIMAL",370:"DOUBLE",371:"ELSE",372:"END",373:"EXISTS",374:"FLOAT",375:"FOLLOWING",376:"HDFS_START_QUOTE",377:"IN",378:"INT",379:"IS",380:"OR",381:"PRECEDING",382:"REGEXP",383:"RLIKE",384:"ROW",385:"ROWS",386:"SCHEMA",387:"SMALLINT",388:"STRING",389:"THEN",390:"TIMESTAMP",391:"TINYINT",392:"UNSIGNED_INTEGER",393:"UNSIGNED_INTEGER_E",394:"VARCHAR",395:"WHEN",396:"PARTIAL_CURSOR",400:"PARTIAL_VALUE",408:"CASCADE",442:"BETWEEN_AND",451:"+",497:"UNBOUNDED",502:"HDFS_PATH",503:"HDFS_END_QUOTE",510:"DESCRIBE"},productions_:[0,[3,2],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,1],[20,2],[20,4],[20,1],[20,1],[20,1],[21,2],[6,1],[6,2],[6,2],[6,3],[38,3],[40,3],[40,3],[22,3],[7,1],[7,2],[7,3],[7,3],[7,3],[44,3],[47,3],[47,3],[50,0],[50,1],[51,2],[54,1],[55,2],[55,2],[55,3],[55,3],[23,3],[23,5],[9,4],[9,3],[9,5],[9,4],[9,6],[62,1],[64,1],[24,3],[25,4],[10,4],[10,4],[10,3],[66,3],[67,3],[67,3],[67,3],[67,3],[68,2],[71,2],[71,2],[75,0],[75,1],[75,2],[76,1],[76,2],[76,2],[78,3],[80,3],[82,1],[82,3],[84,1],[84,3],[84,3],[84,5],[84,2],[84,4],[84,4],[84,6],[86,3],[88,3],[88,3],[88,3],[91,0],[91,1],[94,1],[94,2],[93,1],[93,2],[93,2],[93,3],[95,2],[95,1],[95,1],[96,2],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[92,1],[92,1],[92,1],[100,4],[103,3],[106,4],[106,4],[101,6],[104,3],[107,6],[107,4],[107,6],[107,5],[102,4],[105,3],[108,4],[116,1],[116,3],[117,1],[117,2],[117,3],[117,3],[117,5],[118,4],[119,5],[119,4],[119,4],[119,4],[119,3],[119,3],[123,1],[123,3],[124,1],[124,2],[124,3],[124,3],[124,5],[125,2],[125,2],[125,1],[125,1],[113,1],[113,1],[69,0],[69,1],[126,3],[72,2],[72,3],[72,3],[129,3],[130,2],[130,2],[130,3],[130,3],[130,3],[133,3],[135,3],[135,3],[136,1],[136,3],[137,1],[137,3],[137,5],[137,3],[137,5],[138,6],[138,4],[138,4],[139,2],[139,2],[139,3],[139,4],[139,4],[139,5],[139,6],[139,6],[139,3],[139,4],[139,4],[141,1],[141,1],[70,0],[70,3],[73,3],[73,3],[145,0],[26,8],[11,4],[11,9],[11,3],[11,6],[11,7],[11,8],[11,8],[11,8],[146,0],[146,1],[148,3],[147,3],[149,2],[149,4],[150,3],[150,5],[150,5],[150,7],[27,5],[13,3],[13,3],[13,4],[13,5],[13,5],[13,6],[28,3],[29,5],[14,3],[14,4],[14,5],[14,5],[14,6],[155,0],[155,1],[30,4],[15,4],[15,5],[15,3],[15,4],[15,4],[157,1],[157,1],[158,1],[161,1],[161,1],[160,6],[162,2],[162,4],[162,4],[162,5],[162,6],[167,1],[167,3],[168,3],[166,0],[166,1],[46,3],[46,5],[46,2],[48,4],[48,3],[48,3],[48,1],[48,4],[48,3],[48,2],[48,2],[170,2],[175,2],[177,1],[177,3],[178,1],[178,3],[178,3],[178,5],[179,5],[180,2],[180,5],[180,5],[183,2],[186,2],[186,2],[185,1],[185,3],[187,1],[187,3],[187,3],[187,5],[187,3],[190,0],[190,1],[191,3],[194,3],[194,3],[194,2],[196,0],[196,1],[196,3],[196,3],[197,1],[197,3],[197,3],[197,5],[197,3],[198,1],[198,1],[193,1],[193,3],[195,1],[195,2],[195,3],[195,3],[195,3],[195,4],[195,5],[200,1],[200,2],[200,1],[201,0],[201,1],[202,2],[204,2],[204,2],[205,0],[205,1],[205,1],[206,3],[206,4],[207,1],[207,2],[211,3],[211,1],[211,3],[211,3],[211,3],[215,1],[215,2],[215,2],[215,3],[208,2],[208,2],[208,3],[208,2],[208,1],[208,3],[208,2],[208,3],[208,3],[208,2],[208,3],[208,2],[208,3],[208,3],[208,2],[212,2],[212,3],[212,3],[212,2],[212,3],[212,3],[212,3],[212,3],[212,2],[212,3],[212,3],[212,3],[212,3],[212,2],[210,0],[210,2],[225,1],[225,3],[214,2],[214,2],[226,0],[226,1],[227,2],[227,4],[227,2],[227,4],[231,2],[232,0],[232,1],[233,3],[236,3],[236,2],[235,1],[235,3],[237,1],[237,2],[237,3],[237,4],[237,5],[238,2],[239,2],[239,2],[240,0],[240,1],[240,1],[171,3],[171,4],[171,4],[173,3],[173,3],[173,4],[173,4],[173,4],[173,5],[173,6],[173,4],[173,4],[244,0],[244,1],[244,1],[246,2],[249,2],[249,4],[249,3],[245,1],[245,3],[248,1],[248,2],[248,3],[248,3],[248,3],[248,4],[248,3],[248,3],[248,4],[248,4],[248,4],[248,5],[248,5],[253,2],[253,1],[254,2],[254,3],[254,2],[251,5],[252,5],[252,5],[252,5],[252,5],[252,5],[252,6],[252,6],[252,6],[252,6],[252,6],[172,0],[172,1],[174,1],[261,1],[261,2],[262,1],[262,2],[262,2],[262,3],[263,4],[264,3],[264,4],[264,4],[258,0],[258,1],[260,2],[259,2],[259,2],[268,1],[269,1],[32,1],[32,3],[34,1],[34,1],[34,2],[34,1],[34,1],[34,1],[34,1],[35,4],[17,2],[17,4],[17,3],[17,4],[17,5],[17,5],[17,5],[276,2],[276,2],[276,1],[282,1],[282,2],[282,1],[282,2],[282,2],[282,2],[282,1],[277,1],[277,1],[277,1],[283,1],[283,1],[283,1],[288,4],[288,5],[291,5],[291,6],[291,5],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[294,1],[289,4],[289,3],[289,5],[292,5],[292,6],[292,5],[290,5],[290,3],[293,5],[293,6],[293,5],[279,3],[279,4],[285,4],[285,5],[285,4],[308,1],[308,1],[308,1],[308,1],[281,6],[281,3],[287,6],[287,5],[287,4],[287,6],[287,5],[287,4],[287,6],[287,5],[287,6],[287,5],[311,2],[311,2],[311,1],[311,1],[311,1],[311,1],[315,2],[315,2],[315,1],[315,1],[315,1],[319,2],[319,2],[320,2],[320,2],[313,2],[313,3],[316,3],[316,4],[316,3],[295,1],[295,3],[296,1],[296,3],[296,3],[296,5],[296,3],[296,5],[296,4],[296,3],[296,2],[296,2],[296,4],[278,0],[278,1],[284,1],[280,2],[280,2],[286,2],[159,6],[163,6],[163,6],[163,6],[163,6],[163,7],[163,3],[163,2],[163,2],[163,2],[325,1],[328,1],[331,1],[332,1],[326,1],[326,3],[329,1],[329,3],[329,3],[329,5],[335,3],[336,3],[336,2],[336,1],[337,1],[338,1],[339,1],[327,0],[327,2],[330,2],[330,2],[36,2],[18,2],[341,3],[344,3],[344,3],[266,0],[342,0],[342,1],[342,4],[345,1],[345,4],[345,4],[345,7],[346,1],[346,1],[346,1],[348,1],[348,2],[348,1],[348,1],[348,1],[348,1],[350,1],[350,1],[350,1],[61,1],[61,1],[61,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[353,1],[120,1],[120,2],[112,1],[112,1],[397,1],[397,1],[59,1],[59,1],[398,3],[398,2],[399,2],[401,3],[401,2],[402,2],[53,1],[53,1],[403,1],[403,1],[404,0],[404,2],[406,2],[153,0],[153,1],[152,0],[152,2],[154,2],[60,0],[60,3],[63,2],[63,3],[409,0],[409,2],[409,2],[275,0],[275,1],[410,1],[39,4],[411,4],[414,5],[416,2],[416,3],[416,4],[416,5],[416,5],[416,5],[415,1],[415,1],[415,1],[415,1],[417,1],[417,1],[418,1],[418,1],[420,1],[420,1],[421,1],[421,1],[419,2],[85,1],[85,1],[422,0],[422,1],[423,1],[132,3],[134,3],[134,3],[424,1],[424,3],[425,3],[425,5],[426,3],[427,1],[427,3],[42,1],[42,3],[43,1],[43,3],[43,3],[74,1],[74,3],[77,1],[77,3],[77,3],[405,1],[407,1],[412,1],[412,3],[413,1],[413,3],[413,3],[413,5],[428,3],[429,3],[429,3],[429,3],[429,1],[121,1],[121,3],[121,2],[430,1],[430,3],[431,1],[431,3],[333,1],[333,2],[334,1],[334,2],[151,1],[151,3],[199,1],[432,1],[432,3],[433,3],[433,5],[434,1],[434,3],[435,1],[435,3],[435,5],[435,3],[89,1],[436,1],[436,1],[99,1],[99,1],[99,2],[99,2],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,1],[99,2],[437,0],[437,3],[438,0],[438,3],[438,5],[140,1],[140,2],[140,2],[140,2],[140,2],[140,4],[140,4],[140,4],[140,6],[140,2],[140,3],[140,3],[140,3],[140,3],[140,3],[140,6],[140,6],[140,5],[140,5],[140,6],[140,5],[140,3],[140,3],[140,3],[140,3],[140,3],[140,2],[140,3],[140,2],[140,3],[143,1],[143,3],[143,2],[143,2],[143,2],[143,2],[143,2],[143,2],[143,2],[143,2],[143,3],[143,4],[143,5],[143,4],[143,4],[143,4],[143,6],[143,6],[143,2],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,4],[143,3],[143,6],[143,6],[143,5],[143,5],[143,6],[143,6],[143,6],[143,6],[143,5],[143,4],[143,5],[143,5],[143,5],[143,5],[143,4],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,3],[143,2],[143,3],[143,2],[143,3],[143,2],[143,3],[143,2],[143,3],[143,3],[143,4],[143,3],[143,3],[143,3],[441,1],[441,3],[450,1],[450,3],[450,3],[450,5],[450,3],[450,5],[450,4],[450,3],[450,2],[450,2],[450,4],[169,1],[169,3],[312,1],[312,3],[318,1],[271,1],[271,2],[271,2],[314,1],[317,1],[452,1],[452,1],[453,1],[229,1],[229,1],[456,1],[456,2],[456,3],[456,2],[457,2],[457,3],[457,4],[454,1],[454,1],[454,1],[455,1],[455,1],[458,1],[458,1],[439,0],[439,1],[188,1],[189,1],[459,1],[459,1],[460,1],[460,1],[461,2],[462,2],[462,2],[209,2],[209,2],[213,2],[213,2],[213,2],[463,1],[465,1],[464,1],[466,1],[467,0],[467,2],[468,2],[468,2],[469,0],[470,0],[440,3],[440,4],[445,3],[445,3],[181,2],[182,3],[471,1],[472,1],[473,1],[474,1],[475,1],[476,1],[477,1],[478,1],[479,1],[480,1],[481,1],[482,1],[483,1],[484,1],[255,0],[255,1],[255,1],[255,2],[255,2],[257,1],[257,1],[257,2],[257,2],[257,2],[322,4],[323,4],[323,4],[323,5],[323,7],[485,0],[485,1],[489,3],[487,2],[487,3],[487,3],[486,0],[486,2],[488,1],[488,3],[488,2],[490,0],[490,1],[492,5],[492,5],[491,2],[491,6],[491,5],[491,5],[491,5],[491,4],[494,0],[500,0],[501,3],[504,5],[504,4],[504,3],[504,3],[504,2],[493,1],[493,1],[495,0],[495,2],[495,2],[498,2],[498,2],[496,0],[496,3],[496,3],[499,2],[499,3],[499,3],[505,1],[505,1],[446,3],[446,3],[446,3],[443,2],[443,2],[443,2],[447,2],[447,2],[447,2],[447,2],[447,2],[447,2],[444,2],[444,4],[448,2],[448,4],[448,4],[448,3],[448,4],[448,3],[448,4],[448,4],[448,3],[448,4],[448,3],[449,1],[449,1],[506,1],[506,2],[507,1],[507,2],[507,3],[507,3],[507,2],[508,4],[509,2],[509,3],[509,4],[509,4],[509,3],[509,3],[509,4],[509,2],[509,3],[509,2],[509,3],[509,3],[509,4],[509,3],[509,4],[509,4],[509,5],[509,4],[509,3],[37,2],[37,4],[19,2],[19,2],[19,3],[19,4]],performAction:function(e,s,t,i,a,n,r){var o=n.length-1;switch(a){case 1:Mt.suggestKeywords(["TABLE","VIEW"]);break;case 4:case 8:Mt.suggestKeywords(["DATABASE","ROLE","SCHEMA","TABLE","VIEW"]);break;case 12:Mt.suggestSetOptions();break;case 36:case 45:case 240:case 244:case 484:case 604:case 1217:case 1218:case 1221:case 1222:Mt.addTablePrimary(n[o]);break;case 37:case 235:Mt.yy.result.suggestTables&&(Mt.yy.result.suggestTables.onlyTables=!0);break;case 38:Mt.suggestTables({onlyTables:!0}),Mt.suggestDatabases({appendDot:!0});break;case 41:case 282:Mt.suggestKeywords(["AS"]);break;case 43:case 202:case 211:case 283:case 640:case 1087:Mt.suggestKeywords(["SELECT"]);break;case 46:case 245:Mt.yy.result.suggestTables&&(Mt.yy.result.suggestTables.onlyViews=!0);break;case 47:Mt.suggestTables({onlyViews:!0}),Mt.suggestDatabases({appendDot:!0});break;case 57:Mt.addNewDatabaseLocation(r[o-1],[{name:n[o-1]}]);break;case 58:case 68:n[o-1]||Mt.suggestKeywords(["IF NOT EXISTS"]);break;case 60:n[o-2]||Mt.suggestKeywords(["IF NOT EXISTS"]),Mt.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 61:Mt.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 62:Mt.addNewDatabaseLocation(r[o-2],[{name:n[o-2]}]);break;case 63:n[o]||Mt.suggestKeywords(["COMMENT"]);break;case 74:var u=[];n[o-2]||n[o-1]?(n[o-1]||u.push({value:"PARTITIONED BY",weight:12}),u.push({value:"AS",weight:1})):u.push({value:"LIKE",weight:1}),u.length>0&&Mt.suggestKeywords(u);break;case 75:Mt.addNewTableLocation(r[o-1],n[o-1],n[o]),this.$=n[o];break;case 80:this.$=[];break;case 82:case 601:case 621:case 834:case 1219:Mt.suggestTables(),Mt.suggestDatabases({appendDot:!0});break;case 84:case 220:case 222:case 264:case 436:case 569:case 572:case 767:case 770:case 856:case 909:case 1084:this.$=n[o-1];break;case 86:case 275:this.$=[n[o]];break;case 87:this.$=n[o-2].concat(n[o]);break;case 92:case 94:Mt.checkForKeywords(n[o-1]);break;case 93:case 95:Mt.checkForKeywords(n[o-3]);break;case 96:this.$=n[o-2],this.$.type=n[o-1];u=[];n[o].comment||u.push("COMMENT"),u.length>0&&(this.$.suggestKeywords=u);break;case 97:case 124:case 130:case 131:case 144:case 147:case 156:case 158:Mt.suggestKeywords(Mt.getColumnDataTypeKeywords());break;case 100:this.$={};break;case 102:this.$={},this.$[n[o]]=!0;break;case 103:n[o-1][n[o]]=!0;break;case 108:case 109:this.$="null";break;case 110:this.$="comment";break;case 111:Mt.suggestKeywords(["NULL"]);break;case 129:Mt.suggestKeywords(Mt.getTypeKeywords());break;case 143:case 146:Mt.suggestKeywords(["COMMENT"]);break;case 165:case 1122:Mt.suggestKeywords(["BY"]);break;case 166:Mt.suggestKeywords(["RANGE"]);break;case 175:case 180:case 181:Mt.suggestKeywords(["PARTITION"]);break;case 187:Mt.suggestKeywords(["VALUE","VALUES"]);break;case 188:n[o].endsWithLessThanOrEqual&&Mt.suggestKeywords(["VALUES"]);break;case 189:case 192:case 195:Mt.suggestKeywords(["<","<="]);break;case 190:case 799:case 802:Mt.suggestKeywords(["VALUES"]);break;case 193:case 196:Mt.suggestFunctions();break;case 204:Mt.commitLocations();break;case 206:n[o-1]||Mt.suggestKeywords(["IF NOT EXISTS"]),Mt.suggestDatabases({appendDot:!0});break;case 207:n[o-6]||Mt.suggestKeywords(["IF NOT EXISTS"]);break;case 210:u=[{value:"AS",weight:1}];n[o-1]||u.push({value:"COMMENT",weight:3}),Mt.suggestKeywords(u);break;case 217:n[o-1]||Mt.suggestKeywords(["COMMENT"]);break;case 221:case 223:this.$=n[o-3];break;case 227:n[o-1]||Mt.suggestKeywords(["IF EXISTS"]),Mt.suggestDatabases();break;case 228:Mt.suggestKeywords(["CASCADE"]);break;case 230:n[o-3]||Mt.suggestKeywords(["IF EXISTS"]);break;case 232:case 489:Mt.addTablePrimary(n[o-1]);break;case 234:n[o-1]||Mt.suggestKeywords(["IF EXISTS"]),Mt.suggestTables({onlyTables:!0}),Mt.suggestDatabases({appendDot:!0});break;case 237:Mt.addTablePrimary(n[o-2]),n[o-1]||Mt.suggestKeywords(["PURGE"]);break;case 241:n[o-1]||Mt.suggestKeywords(["IF EXISTS"]),Mt.suggestTables({onlyViews:!0}),Mt.suggestDatabases({appendDot:!0});break;case 242:Mt.addTablePrimary(n[o]),n[o-2]||Mt.suggestKeywords(["IF EXISTS"]);break;case 251:n[o-2].owner="insert",Mt.addTablePrimary(n[o-2]);break;case 252:Mt.suggestKeywords(["INTO"]);break;case 253:n[o-1]||Mt.suggestKeywords(["TABLE"]),Mt.suggestTables(),Mt.suggestDatabases({appendDot:!0});break;case 255:n[o-1].owner="insert",Mt.addTablePrimary(n[o-1]),Mt.suggestKeywords(["VALUES"]);break;case 263:case 438:this.$=n[o-2];break;case 265:Mt.addCommonTableExpressions(n[o-3]);break;case 266:case 267:case 278:Mt.addCommonTableExpressions(n[o-2]);break;case 273:case 289:case 313:case 389:case 393:case 433:case 443:case 470:case 620:case 1009:case 1011:case 1066:case 1121:case 1196:this.$=n[o];break;case 276:this.$=n[o-2].concat([n[o]]);break;case 280:Mt.addCommonTableExpressions(n[o-4]);break;case 281:Mt.addCteAliasLocation(r[o-4],n[o-4]),n[o-1].alias=n[o-4],this.$=n[o-1];break;case 285:this.$={tableReferenceList:n[o]};break;case 286:case 294:Mt.suggestTables(),Mt.suggestDatabases({appendDot:!0});break;case 297:this.$={valueExpression:n[o]};break;case 298:case 400:Mt.suggestSelectListAliases();break;case 299:Mt.valueExpressionSuggest(),Mt.suggestSelectListAliases(),Mt.suggestGroupBys({tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 300:Mt.suggestKeywords(["BY"]),Mt.suggestGroupBys({prefix:"BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 310:case 615:case 824:case 827:case 828:case 853:case 854:case 875:case 878:Mt.suggestColumns();break;case 315:case 316:case 322:case 323:case 852:case 1080:case 1123:Mt.valueExpressionSuggest();break;case 327:Mt.valueExpressionSuggest(),Mt.suggestAggregateFunctions(),Mt.suggestSelectListAliases(!0);break;case 328:Mt.suggestAggregateFunctions(),Mt.suggestSelectListAliases(!0);break;case 332:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-2],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Mt.yy.latestTablePrimaries.length>0&&(Mt.yy.latestTablePrimaries[Mt.yy.latestTablePrimaries.length-1].join=!0);break;case 333:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-3],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Mt.yy.latestTablePrimaries.length>0&&(Mt.yy.latestTablePrimaries[Mt.yy.latestTablePrimaries.length-1].join=!0);break;case 334:this.$={joinType:n[o]};break;case 335:this.$={joinType:n[o-1]};break;case 336:n[o-2].suggestKeywords&&Mt.suggestKeywords(n[o-2].suggestKeywords);break;case 337:n[o].suggestKeywords&&Mt.suggestKeywords(n[o].suggestKeywords);break;case 340:if(Mt.yy.latestTablePrimaries.length>0){var l=Mt.yy.latestTablePrimaries.length-1,c=[];do{(E=Mt.yy.latestTablePrimaries[l]).subQueryAlias||c.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),l--}while(l>=0&&E.join&&!E.subQueryAlias);c.length>0&&Mt.suggestJoins({prependJoin:!1,joinType:n[o-2],tables:c})}Mt.suggestTables(),Mt.suggestDatabases({appendDot:!0});break;case 345:this.$="CROSS JOIN";break;case 346:this.$="FULL JOIN";break;case 347:this.$="FULL OUTER JOIN";break;case 348:this.$="INNER JOIN";break;case 349:this.$="JOIN";break;case 350:this.$="LEFT INNER JOIN";break;case 351:this.$="LEFT JOIN";break;case 352:this.$="LEFT OUTER JOIN";break;case 353:this.$="LEFT SEMI JOIN";break;case 354:this.$="OUTER JOIN";break;case 355:case 357:this.$="RIGHT OUTER JOIN";break;case 356:this.$="RIGHT JOIN";break;case 358:this.$="RIGHT SEMI JOIN";break;case 359:this.$="SEMI JOIN";break;case 360:case 362:case 363:case 365:case 366:case 367:case 368:case 370:case 371:case 372:case 373:this.$={suggestKeywords:["JOIN"]};break;case 361:case 364:case 369:this.$={suggestKeywords:["OUTER"]};break;case 374:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 375:this.$={valueExpression:n[o]};break;case 379:Mt.valueExpressionSuggest(),Mt.suggestJoinConditions({prependOn:!1});break;case 386:Mt.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 390:n[o].emptyOrderBy&&Mt.suggestOrderBys({tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 391:Mt.suggestKeywords(["BY"]),Mt.suggestOrderBys({prefix:"BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 395:this.$={emptyOrderBy:!1},Mt.valueExpressionSuggest(),Mt.suggestAnalyticFunctions(),Mt.suggestSelectListAliases();break;case 396:case 397:case 398:this.$={emptyOrderBy:!1};break;case 399:this.$=Mt.mergeSuggestKeywords(n[o]);break;case 401:this.$={emptyOrderBy:!0},Mt.valueExpressionSuggest(),Mt.suggestAnalyticFunctions(),Mt.suggestSelectListAliases();break;case 402:this.$={suggestKeywords:["ASC","DESC"]};break;case 405:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),this.$={selectList:n[o]};break;case 406:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),this.$={selectList:n[o-1],tableExpression:n[o]};break;case 408:if(Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),n[o].cursorAtStart){u=Mt.getSelectListKeywords();n[o-1]||(u=u.concat(Mt.SELECT_FIRST_OPTIONAL_KEYWORDS)),Mt.suggestKeywords(u)}else Mt.checkForSelectListKeywords(n[o]);n[o].suggestFunctions&&Mt.suggestFunctions(),n[o].suggestColumns&&Mt.suggestColumns({identifierChain:[],source:"select"}),n[o].suggestTables&&Mt.suggestTables({prependQuestionMark:!0,prependFrom:!0}),n[o].suggestDatabases&&Mt.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!n[o].suggestAggregateFunctions||n[o-1]&&"ALL"!==n[o-1]||(Mt.suggestAggregateFunctions(),Mt.suggestAnalyticFunctions());break;case 409:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o],!0);u=Mt.getSelectListKeywords();n[o-1]&&"ALL"!==n[o-1]||(Mt.suggestAggregateFunctions(),Mt.suggestAnalyticFunctions()),n[o-1]||(u=u.concat(Mt.SELECT_FIRST_OPTIONAL_KEYWORDS)),Mt.suggestKeywords(u),Mt.suggestFunctions(),Mt.suggestColumns({identifierChain:[],source:"select"}),Mt.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Mt.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 410:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]);break;case 411:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Mt.selectListNoTableSuggest(n[o-1],n[o-2]),Mt.yy.result.suggestColumns&&(Mt.yy.result.suggestColumns.source="select");break;case 412:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1],!0);u=Mt.getSelectListKeywords();n[o-2]&&"ALL"!==n[o-2]||(Mt.suggestAggregateFunctions(),Mt.suggestAnalyticFunctions()),n[o-2]||(u=u.concat(Mt.SELECT_FIRST_OPTIONAL_KEYWORDS)),Mt.suggestKeywords(u),Mt.suggestFunctions(),Mt.suggestColumns({identifierChain:[],source:"select"}),Mt.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Mt.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 413:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-3],r[o-3],n[o-4],r[o-4]),r[o-2]),Mt.checkForSelectListKeywords(n[o-2]);break;case 414:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-4],r[o-4],n[o-5],r[o-5]),r[o-3]),Mt.checkForSelectListKeywords(n[o-3]);break;case 415:Mt.addClauseLocation("selectList",Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Mt.checkForSelectListKeywords(n[o-1]);u=["FROM"];Mt.yy.result.suggestKeywords&&(u=Mt.yy.result.suggestKeywords.concat(u)),Mt.suggestKeywords(u),Mt.suggestTables({prependFrom:!0}),Mt.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 416:n[o-1]||Mt.suggestKeywords(["ALL","DISTINCT"]);break;case 420:case 421:Mt.addClauseLocation("whereClause",r[o-1],n[o].whereClauseLocation),Mt.addClauseLocation("limitClause",n[o].limitClausePreceding||r[o-1],n[o].limitClauseLocation);break;case 422:u=[];if(Mt.addClauseLocation("whereClause",r[o-3],n[o-1].whereClauseLocation),Mt.addClauseLocation("limitClause",n[o-2].limitClausePreceding||r[o-3],n[o-2].limitClauseLocation),n[o-3]&&(void 0===n[o-3].tableReferenceList.hasJoinCondition||n[o-3].tableReferenceList.hasJoinCondition||u.push({value:"ON",weight:3}),n[o-3].suggestKeywords&&(u=Mt.createWeightedKeywords(n[o-3].suggestKeywords,3)),n[o-3].tableReferenceList.suggestJoinConditions&&Mt.suggestJoinConditions(n[o-3].tableReferenceList.suggestJoinConditions),n[o-3].tableReferenceList.suggestJoins&&Mt.suggestJoins(n[o-3].tableReferenceList.suggestJoins),n[o-3].tableReferenceList.suggestKeywords&&(u=u.concat(Mt.createWeightedKeywords(n[o-3].tableReferenceList.suggestKeywords,3))),u.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),n[o-3].tableReferenceList.types)){var y=Mt.getValueExpressionKeywords(n[o-3].tableReferenceList);u=u.concat(y.suggestKeywords),y.suggestColRefKeywords&&(Mt.suggestColRefKeywords(y.suggestColRefKeywords),Mt.addColRefIfExists(n[o-3].tableReferenceList))}if(n[o-1].empty&&n[o]&&"JOIN"===n[o].joinType.toUpperCase())return u=u.concat(["FULL","FULL OUTER","INNER","LEFT","LEFT OUTER","RIGHT","RIGHT OUTER"]),void Mt.suggestKeywords(u);n[o-1].suggestKeywords&&(u=u.concat(Mt.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].suggestFilters&&Mt.suggestFilters(n[o-1].suggestFilters),n[o-1].suggestGroupBys&&Mt.suggestGroupBys(n[o-1].suggestGroupBys),n[o-1].suggestOrderBys&&Mt.suggestOrderBys(n[o-1].suggestOrderBys),n[o-1].empty&&u.push({value:"UNION",weight:2.11}),u=u.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}]),Mt.suggestKeywords(u);break;case 423:if(!n[o-1])return Mt.addClauseLocation("whereClause",r[o-2]),void Mt.addClauseLocation("limitClause",r[o-2]);Mt.addClauseLocation("whereClause",r[o-2],n[o-1].whereClauseLocation),Mt.addClauseLocation("limitClause",n[o-1].limitClausePreceding||r[o-2],n[o-1].limitClauseLocation);u=[];n[o-1].suggestColRefKeywords&&(Mt.suggestColRefKeywords(n[o-1].suggestColRefKeywords),Mt.addColRefIfExists(n[o-1])),n[o-1].suggestKeywords&&n[o-1].suggestKeywords.length&&(u=u.concat(Mt.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].cursorAtEnd&&u.push({value:"UNION",weight:2.11}),Mt.suggestKeywords(u);break;case 424:this.$=[n[o]];break;case 425:n[o-2].push(n[o]);break;case 427:case 428:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 430:Mt.checkForSelectListKeywords(n[o-2]);break;case 431:Mt.checkForSelectListKeywords(n[o-3]);break;case 432:this.$={suggestKeywords:Mt.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 434:case 435:case 437:this.$={suggestKeywords:Mt.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 439:n[o]?(Mt.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]),this.$={valueExpression:n[o-1],alias:n[o].alias},Mt.yy.selectListAliases||(Mt.yy.selectListAliases=[]),Mt.yy.selectListAliases.push(n[o-1].function&&n[o-1].types&&n[o-1].types.length&&"UDFREF"===n[o-1].types[0]?{name:n[o].alias,udfRef:n[o-1].function,types:n[o-1].types}:{name:n[o].alias,types:n[o-1].types||["T"]})):this.$={valueExpression:n[o-1]};break;case 440:Mt.addAsteriskLocation(r[o],[{asterisk:!0}]),this.$={asterisk:!0};break;case 441:n[o]&&Mt.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]);break;case 442:Mt.suggestFunctions(),Mt.suggestColumns(),Mt.addColumnAliasLocation(r[o],n[o],r[o-2]),this.$={suggestAggregateFunctions:!0};break;case 444:(u=Mt.getKeywordsForOptionalsLR([n[o-4],n[o-3],n[o-2],n[o-1],n[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:u,empty:!(n[o-4]||n[o-3]||n[o-2]||n[o-1]||n[o])}:this.$={},this.$.whereClauseLocation=n[o-4]?r[o-4]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-3],r[o-3],n[o-4],r[o-4]),this.$.limitClauseLocation=n[o]?r[o]:void 0,n[o-4]||n[o-3]||n[o-2]||n[o-1]||n[o]||(this.$.suggestFilters={prefix:"WHERE",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||n[o]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),n[o-1]||n[o]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 445:Mt.yy.result.suggestColumns&&(Mt.yy.result.suggestColumns.source="where");break;case 446:Mt.yy.result.suggestColumns&&(Mt.yy.result.suggestColumns.source="group by");break;case 448:Mt.yy.result.suggestColumns&&(Mt.yy.result.suggestColumns.source="order by");break;case 450:u=Mt.getKeywordsForOptionalsLR([n[o-3],n[o-2],n[o-1],n[o]],[{value:"GROUP BY",weight:8},{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0,!0]);n[o-5].suggestKeywords&&(u=u.concat(Mt.createWeightedKeywords(n[o-5].suggestKeywords,1))),this.$=Mt.getValueExpressionKeywords(n[o-5],u),this.$.cursorAtEnd=!(n[o-3]||n[o-2]||n[o-1]||n[o]),n[o-5].columnReference&&(this.$.columnReference=n[o-5].columnReference),n[o-3]||Mt.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||Mt.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-3],r[o-3],n[o-5],r[o-5]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 451:u=Mt.getKeywordsForOptionalsLR([n[o-2],n[o-1],n[o]],[{value:"HAVING",weight:7},{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0,!0]);n[o-4].suggestKeywords&&(u=u.concat(Mt.createWeightedKeywords(n[o-4].suggestKeywords,8))),n[o-4].valueExpression?(this.$=Mt.getValueExpressionKeywords(n[o-4].valueExpression,u),n[o-4].valueExpression.columnReference&&(this.$.columnReference=n[o-4].valueExpression.columnReference)):this.$={suggestKeywords:u},this.$.cursorAtEnd=!n[o-2]&&!n[o-1]&&!n[o],n[o-2]||n[o-1]||Mt.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2],n[o-4],r[o-4]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 452:u=Mt.getKeywordsForOptionalsLR([n[o-1],n[o]],[{value:"ORDER BY",weight:5},{value:"LIMIT",weight:3}],[!0,!0]);this.$={suggestKeywords:u,cursorAtEnd:!n[o-1]&&!n[o]},n[o-1]||Mt.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Mt.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-1],r[o-1],n[o-3],r[o-3]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 453:u=Mt.getKeywordsForOptionalsLR([n[o]],[{value:"LIMIT",weight:3}],[!0]);n[o-2].suggestKeywords&&(u=u.concat(Mt.createWeightedKeywords(n[o-2].suggestKeywords,4))),this.$={suggestKeywords:u,cursorAtEnd:!n[o]},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-2],r[o-2]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 454:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Mt.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3],n[o-4],r[o-4],n[o-5],r[o-5]),this.$.limitClauseLocation=r[o-1];break;case 465:Mt.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 466:Mt.suggestKeywords(["ALL","DISTINCT"]);break;case 471:n[o].suggestFilters&&Mt.suggestFilters({tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 472:Mt.suggestFunctions(),Mt.suggestColumns(),Mt.suggestKeywords(["EXISTS","NOT EXISTS"]),Mt.suggestFilters({tablePrimaries:Mt.yy.latestTablePrimaries.concat()});break;case 485:Mt.suggestKeywords(["TABLE"]);break;case 486:Mt.suggestTables(),Mt.suggestDatabases({appendDot:!0}),n[o-1]||Mt.suggestKeywords(["IF EXISTS"]);break;case 490:Mt.addTablePrimary(n[o-1]),n[o-2]||Mt.suggestKeywords(["IF EXISTS"]);break;case 492:n[o]||(n[o-1].suggestKeywords=["OVER"]);break;case 499:Mt.suggestKeywords(["OVER"]);break;case 508:this.$={function:n[o-3],types:["UDFREF"]};break;case 509:case 527:Mt.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 510:Mt.valueExpressionSuggest();u=Mt.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Mt.yy.result.suggestKeywords&&(u=Mt.yy.result.suggestKeywords.concat(u)),Mt.suggestKeywords(u),Mt.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 511:case 525:Mt.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-5],types:["UDFREF"]};break;case 512:if(n[o-1].cursorAtStart){u=Mt.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Mt.yy.result.suggestKeywords&&(u=Mt.yy.result.suggestKeywords.concat(u)),Mt.suggestKeywords(u)}Mt.yy.result.suggestFunctions&&!Mt.yy.result.suggestFunctions.types&&Mt.applyArgumentTypesToSuggestions(n[o-4],n[o-1].activePosition),this.$={function:n[o-4],types:["UDFREF"]};break;case 521:Mt.addFunctionArgumentLocations(n[o-3],[{expression:{text:n[o-1]},location:r[o-1]}]),this.$={function:n[o-3],types:["UDFREF"]};break;case 522:case 528:this.$={function:n[o-2],types:["UDFREF"]};break;case 523:Mt.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 524:Mt.valueExpressionSuggest();u=Mt.getSelectListKeywords();n[o-2]||(u.push("DISTINCT"),Mt.yy.result.suggestKeywords&&(u=Mt.yy.result.suggestKeywords.concat(u))),Mt.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 526:if(n[o-1].cursorAtStart){u=Mt.getSelectListKeywords();n[o-2]||u.push("DISTINCT"),Mt.suggestKeywords(u)}this.$={function:n[o-4],types:["UDFREF"]};break;case 529:Mt.valueExpressionSuggest(),Mt.applyArgumentTypesToSuggestions(n[o-4],1);u=Mt.getSelectListKeywords(!0);n[o-2]||u.push("DISTINCT"),Mt.yy.result.suggestKeywords&&(u=Mt.yy.result.suggestKeywords.concat(u)),Mt.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 530:Mt.suggestValueExpressionKeywords(n[o-2]),this.$={function:n[o-5],types:["UDFREF"]};break;case 531:Mt.yy.result.suggestFunctions&&!Mt.yy.result.suggestFunctions.types&&Mt.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 532:this.$={function:n[o-2],types:["UDFREF"]};break;case 533:Mt.addFunctionArgumentLocations(n[o-3],n[o-1].expressions),this.$={function:n[o-3],expression:n[o-1].expressions[n[o-1].expressions.length-1].expression,types:["UDFREF"]};break;case 534:Mt.valueExpressionSuggest(),Mt.applyArgumentTypesToSuggestions(n[o-3],1),this.$={function:n[o-3],types:["UDFREF"]};break;case 535:Mt.addFunctionArgumentLocations(n[o-4],n[o-2].expressions),Mt.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-4],types:["UDFREF"]};break;case 536:Mt.addFunctionArgumentLocations(n[o-3],n[o-1].expressions),Mt.applyArgumentTypesToSuggestions(n[o-3],n[o-1].activePosition),this.$={function:n[o-3],types:["UDFREF"]};break;case 541:var g=n[o-3];Mt.extractExpressionText(g,n[o-3],n[o-2],n[o-1]),Mt.addFunctionArgumentLocations(n[o-5],[{expression:g,location:{first_line:r[o-3].first_line,last_line:r[o-1].last_line,first_column:r[o-3].first_column,last_column:r[o-1].last_column}}]),this.$={types:[n[o-1].toUpperCase()]};break;case 542:case 547:case 548:case 1015:this.$={types:["T"]};break;case 543:Mt.valueExpressionSuggest(),this.$={types:[n[o-1].toUpperCase()]};break;case 544:case 545:Mt.valueExpressionSuggest(),this.$={types:["T"]};break;case 546:this.$={types:[n[o-1].toUpperCase()]};break;case 549:Mt.suggestValueExpressionKeywords(n[o-3],[{value:"AS",weight:2}]),this.$={types:[n[o-1].toUpperCase()]};break;case 550:Mt.suggestValueExpressionKeywords(n[o-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 551:case 552:Mt.suggestKeywords(Mt.getTypeKeywords()),this.$={types:["T"]};break;case 553:var T=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Mt.addFunctionArgumentLocations(T,n[o].expressions,n[o-1].chain),n[o-1].lastLoc&&n[o-1].lastLoc.location&&(n[o-1].lastLoc.type="function",n[o-1].lastLoc.function=T,n[o-1].lastLoc.location={first_line:n[o-1].lastLoc.location.first_line,last_line:n[o-1].lastLoc.location.last_line,first_column:n[o-1].lastLoc.location.first_column,last_column:n[o-1].lastLoc.location.last_column-1},n[o-1].lastLoc!==n[o-1].firstLoc?n[o-1].firstLoc.type="database":delete n[o-1].lastLoc.identifierChain),n[o].expressions&&n[o].expressions.length?this.$={function:T,expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:T,types:["UDFREF"]};break;case 554:Mt.addFunctionLocation(r[o-1],n[o-1]),n[o].expressions&&n[o].expressions.length?this.$={function:n[o-1],expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:n[o-1],types:["UDFREF"]};break;case 557:this.$={types:["COLREF"],columnReference:n[o].chain};break;case 558:this.$={types:["NULL"],text:n[o]};break;case 559:T=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Mt.addFunctionArgumentLocations(T,n[o].expressions,n[o-1].chain),n[o-1].lastLoc.type="function",n[o-1].lastLoc.function=T,n[o-1].lastLoc.location={first_line:n[o-1].lastLoc.location.first_line,last_line:n[o-1].lastLoc.location.last_line,first_column:n[o-1].lastLoc.location.first_column,last_column:n[o-1].lastLoc.location.last_column-1},n[o-1].lastLoc!==n[o-1].firstLoc?n[o-1].firstLoc.type="database":delete n[o-1].lastLoc.identifierChain,n[o].activePosition&&Mt.applyArgumentTypesToSuggestions(T,n[o].activePosition),this.$={function:T,types:["UDFREF"]};break;case 560:case 566:case 567:Mt.addFunctionLocation(r[o-1],n[o-1]),Mt.addFunctionArgumentLocations(n[o-1],n[o].expressions),n[o].activePosition&&Mt.applyArgumentTypesToSuggestions(n[o-1],n[o].activePosition),this.$={function:n[o-1],types:["UDFREF"]};break;case 563:n[o].suggestKeywords?this.$={types:["COLREF"],columnReference:n[o],suggestKeywords:n[o].suggestKeywords}:this.$={types:["COLREF"],columnReference:n[o]};break;case 564:case 565:Mt.addFunctionLocation(r[o-1],n[o-1]),Mt.addFunctionArgumentLocations(n[o-1],n[o].expressions),n[o].expressions&&n[o].expressions.length?this.$={function:n[o-1],expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:n[o-1],types:["UDFREF"]};break;case 570:Mt.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:r[o-1]}]};break;case 571:Mt.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$=n[o-3];break;case 573:case 575:this.$={activePosition:1,expressions:[{expression:n[o],location:r[o]}]};break;case 574:case 576:this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:n[o],location:r[o]}])};break;case 577:this.$={activePosition:1,expressions:[{expression:n[o-2],location:r[o-2]}].concat(n[o].expressions)};break;case 578:this.$={activePosition:n[o-4].activePosition+1,expressions:n[o-4].expressions.concat([{expression:n[o-2],location:r[o-2]}]).concat(n[o].expressions)};break;case 579:Mt.valueExpressionSuggest(),this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:{text:""},location:r[o]}])};break;case 580:Mt.valueExpressionSuggest(),this.$={activePosition:n[o-4].activePosition+1,expressions:n[o-4].expressions.concat([{expression:{text:""},location:r[o-2]}]).concat(n[o].expressions)};break;case 581:Mt.suggestValueExpressionKeywords(n[o-3].expressions[n[o-3].expressions.length-1].expression),this.$={activePosition:n[o-3].activePosition,expressions:n[o-3].expressions.concat(n[o].expressions)};break;case 582:Mt.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 583:Mt.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 584:Mt.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 585:Mt.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-3]},{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 597:Mt.suggestKeywords(["WHERE"]);break;case 598:Mt.suggestKeywords(["SET"]);break;case 614:Mt.suggestKeywords(["="]);break;case 623:Mt.yy.cursorFound||(Mt.yy.result.useDatabase=n[o]);break;case 624:case 843:Mt.suggestDatabases();break;case 626:case 627:return Mt.yy.result;case 628:Mt.prepareNewStatement();break;case 630:case 632:case 634:Mt.addStatementLocation(r[o]);break;case 633:case 635:Mt.addStatementLocation(r[o-3]);break;case 639:Mt.suggestDdlAndDmlKeywords();break;case 768:case 771:case 857:this.$="";break;case 783:case 786:Mt.yy.correlatedSubQuery=!1;break;case 784:case 788:Mt.suggestKeywords(["EXISTS"]);break;case 787:Mt.suggestKeywords(["NOT EXISTS"]);break;case 798:case 800:case 801:case 803:Mt.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 832:case 858:Mt.addTableLocation(r[o],[{name:n[o]}]),this.$={identifierChain:[{name:n[o]}]};break;case 833:case 859:Mt.addDatabaseLocation(r[o-2],[{name:n[o-2]}]),Mt.addTableLocation(r[o],[{name:n[o-2]},{name:n[o]}]),this.$={identifierChain:[{name:n[o-2]},{name:n[o]}]};break;case 835:case 840:Mt.suggestDatabases(),this.$={identifierChain:[{name:n[o-2]}]};break;case 836:case 861:Mt.suggestTablesOrColumns(n[o-2]);break;case 837:this.$=[{name:n[o]}];break;case 838:this.$=[{name:n[o-2]},{name:n[o-1]}];break;case 839:Mt.suggestDatabases({appendDot:!0});break;case 860:Mt.suggestTables(),Mt.suggestDatabases({prependDot:!0});break;case 863:this.$={identifierChain:n[o-1].identifierChain,alias:n[o]};break;case 866:Mt.yy.locations[Mt.yy.locations.length-1].type="column";break;case 867:case 1032:Mt.addAsteriskLocation(r[o],n[o-2].concat({asterisk:!0}));break;case 869:this.$=[n[o].identifier],Mt.yy.firstChainLocation=Mt.addUnknownLocation(n[o].location,[n[o].identifier]);break;case 870:Mt.yy.firstChainLocation&&(Mt.yy.firstChainLocation.firstInChain=!0,delete Mt.yy.firstChainLocation),n[o-2].push(n[o].identifier),Mt.addUnknownLocation(n[o].location,n[o-2].concat());break;case 871:Mt.suggestColumns({identifierChain:n[o-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 872:Mt.suggestColumns({identifierChain:n[o-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 873:this.$=[n[o].identifier];break;case 874:n[o-2].push(n[o].identifier);break;case 876:Mt.suggestColumns({identifierChain:n[o-2]});break;case 877:Mt.suggestColumns({identifierChain:n[o-4]});break;case 879:this.$={identifier:{name:n[o]},location:r[o]};break;case 900:case 901:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 902:case 927:this.$=n[o],Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 903:this.$=n[o],n[o].types=["NUMBER"],Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 904:case 905:case 906:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 907:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 908:this.$={types:["BOOLEAN"]},Mt.yy.correlatedSubQuery=!1;break;case 910:case 911:case 912:case 913:Mt.addColRefToVariableIfExists(n[o-2],n[o]),this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 914:case 915:case 916:case 917:case 947:case 1005:case 1006:this.$={types:["BOOLEAN"]};break;case 918:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 919:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 920:case 921:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 922:case 923:case 924:this.$={types:["NUMBER"]},Mt.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 925:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 926:this.$={types:["BOOLEAN"]},Mt.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 928:this.$=n[o],Mt.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 930:Mt.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 931:case 933:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 932:Mt.suggestFunctions(),Mt.suggestColumns(),Mt.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 934:Mt.suggestFunctions({types:["BOOLEAN"]}),Mt.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 935:this.$={types:["T"],suggestFilters:n[o].suggestFilters};break;case 936:Mt.suggestFunctions(),Mt.suggestColumns(),this.$={types:["T"]};break;case 937:n[o].typeSet||Mt.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 938:Mt.suggestFunctions({types:["NUMBER"]}),Mt.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 939:Mt.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 940:Mt.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 941:this.$={types:["BOOLEAN"]};break;case 942:case 943:case 944:Mt.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 945:Mt.valueExpressionSuggest(n[o-5],n[o-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 946:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 948:this.$=n[o-1];break;case 949:Mt.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 950:Mt.valueExpressionSuggest(n[o],n[o-1]),Mt.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 951:case 952:case 953:Mt.valueExpressionSuggest(n[o],n[o-1]),Mt.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 954:case 955:case 956:case 957:n[o-2].typeSet||(Mt.applyTypeToSuggestions(n[o]),Mt.addColRefIfExists(n[o])),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 958:case 960:Mt.valueExpressionSuggest(n[o-2],n[o-1]),Mt.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 959:Mt.valueExpressionSuggest(n[o-2],n[o-1]),Mt.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 961:Mt.valueExpressionSuggest(n[o-2],n[o-1]),Mt.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===n[o-1]};break;case 962:case 963:case 964:case 965:n[o].typeSet||(Mt.applyTypeToSuggestions(n[o-2]),Mt.addColRefIfExists(n[o-2])),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 966:n[o].inValueEdit&&(Mt.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),Mt.applyTypeToSuggestions(n[o-3])),n[o].cursorAtStart&&Mt.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 967:n[o].inValueEdit&&(Mt.valueExpressionSuggest(n[o-2],n[o-1]),Mt.applyTypeToSuggestions(n[o-2])),n[o].cursorAtStart&&Mt.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 968:case 969:this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 970:case 971:this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 972:n[o-2].types[0]!==n[o].types[0]||n[o-5].typeSet||Mt.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 973:n[o-5].types[0]!==n[o].types[0]||n[o-2].typeSet||Mt.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 974:n[o-5].types[0]!==n[o-2].types[0]||n[o].typeSet||Mt.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 975:Mt.valueExpressionSuggest(n[o-5],n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 976:case 982:Mt.suggestValueExpressionKeywords(n[o-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 977:Mt.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 978:n[o-4].types[0]!==n[o-2].types[0]||n[o-4].typeSet||Mt.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 979:n[o-4].types[0]!==n[o-2].types[0]||n[o-2].typeSet||Mt.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 980:n[o-4].types[0]!==n[o-2].types[0]||n[o].typeSet||Mt.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 981:Mt.valueExpressionSuggest(n[o-4],n[o-1]),Mt.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 983:Mt.valueExpressionSuggest(n[o-2],n[o-1]),Mt.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 984:case 986:case 988:case 990:Mt.valueExpressionSuggest(void 0,n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 985:case 989:Mt.addColRefIfExists(n[o]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 987:case 991:Mt.addColRefIfExists(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 992:case 993:Mt.valueExpressionSuggest(void 0,n[o-1]),Mt.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 994:case 995:case 996:n[o-2].typeSet||(Mt.applyTypeToSuggestions({types:["NUMBER"]}),Mt.addColRefIfExists(n[o])),this.$={types:["NUMBER"],suggestFilters:n[o-2].suggestFilters};break;case 997:case 998:case 999:Mt.valueExpressionSuggest(void 0,n[o-1]),Mt.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 1e3:case 1001:case 1002:n[o].typeSet||(Mt.applyTypeToSuggestions({types:["NUMBER"]}),Mt.addColRefIfExists(n[o-2])),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 1003:this.$={types:["BOOLEAN"],suggestFilters:n[o-1].suggestFilters};break;case 1004:this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 1007:Mt.valueExpressionSuggest(void 0,n[o]),Mt.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1008:Mt.valueExpressionSuggest(void 0,n[o-1]+" "+n[o]),Mt.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 1010:Mt.valueExpressionSuggest(),Mt.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1012:Mt.suggestValueExpressionKeywords(n[o-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 1013:this.$=n[o],this.$.suggestFilters=n[o-1].suggestFilters;break;case 1014:this.$={types:["T"],suggestFilters:n[o-1].suggestFilters};break;case 1016:case 1018:n[o].position=1;break;case 1017:n[o].position=n[o-2].position+1,this.$=n[o];break;case 1019:n[o-2].position+=1;break;case 1020:n[o-2].position=1;break;case 1021:n[o-4].position+=1;break;case 1022:Mt.valueExpressionSuggest(),n[o-2].position+=1;break;case 1023:Mt.valueExpressionSuggest(),n[o-4].position+=1;break;case 1024:Mt.suggestValueExpressionKeywords(n[o-3]);break;case 1025:case 1026:Mt.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 1027:case 1028:Mt.valueExpressionSuggest(),this.$={position:2};break;case 1031:var d=Mt.yy.locations[Mt.yy.locations.length-1];"variable"!==d.type&&(d.type="column");var p=Mt.yy.locations[Mt.yy.locations.length-n[o].length];this.$={chain:n[o],firstLoc:p,lastLoc:d};break;case 1038:Mt.suggestValues(n[o]);break;case 1039:this.$={types:["NUMBER"],text:n[o]};break;case 1045:case 1047:case 1048:this.$=n[o-1]+n[o];break;case 1046:case 1049:this.$=n[o-2]+n[o-1]+n[o];break;case 1050:this.$=n[o-3]+n[o-2]+n[o-1]+n[o];break;case 1051:/\$\{[^}]*\}/.test(n[o])?(Mt.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:"'"+n[o]+"'"}):this.$={types:["STRING"]};break;case 1052:/\$\{[^}]*\}/.test(n[o])?(Mt.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:'"'+n[o]+'"'}):this.$={types:["STRING"],text:'"'+n[o]+'"'};break;case 1053:this.$={types:["BOOLEAN"],text:n[o]};break;case 1054:this.$={partialQuote:"'",missingEndQuote:Mt.yy.missingEndQuote};break;case 1055:this.$={partialQuote:'"',missingEndQuote:Mt.yy.missingEndQuote};break;case 1062:if(this.$=n[o],Mt.yy.latestTablePrimaries.length>0){l=Mt.yy.latestTablePrimaries.length-1,c=[];do{var E;(E=Mt.yy.latestTablePrimaries[l]).subQueryAlias||c.unshift(E.alias?{identifierChain:E.identifierChain,alias:E.alias}:{identifierChain:E.identifierChain}),l--}while(l>=0&&E.join&&!E.subQueryAlias);c.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:c})}break;case 1069:this.$={primary:n[o-1]},n[o-1].identifierChain&&(n[o]&&(n[o-1].alias=n[o].alias,Mt.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain)),Mt.addTablePrimary(n[o-1]));u=[];n[o]?n[o].suggestKeywords&&(u=n[o].suggestKeywords):u=["AS"],u.length>0&&(this.$.suggestKeywords=u);break;case 1070:this.$={primary:n[o-1]},n[o]&&(this.$.primary.alias=n[o].alias,Mt.addTablePrimary({subQueryAlias:n[o].alias}),Mt.addSubqueryAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain));u=[];n[o]||(u=["AS"]),u.length>0&&(this.$.suggestKeywords=u);break;case 1071:n[o]&&Mt.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain);break;case 1072:n[o]&&(Mt.addTablePrimary({subQueryAlias:n[o].alias}),Mt.addSubqueryAliasLocation(n[o].location,n[o].alias));break;case 1082:Mt.pushQueryState();break;case 1083:Mt.popQueryState();break;case 1085:n[o-1]&&(n[o-2].alias=n[o-1].alias,Mt.addTablePrimary({subQueryAlias:n[o-1].alias}),Mt.addSubqueryAliasLocation(n[o-1].location,n[o-1].alias,n[o-2].identifierChain)),this.$=n[o-2];break;case 1088:var h=Mt.getSubQuery(n[o]);h.columns.forEach((function(e){Mt.expandIdentifierChain({wrapper:e}),delete e.linked})),Mt.popQueryState(h),this.$=h;break;case 1105:case 1106:case 1107:case 1108:this.$={alias:n[o],location:r[o]};break;case 1115:case 1116:Mt.yy.result.suggestFunctions&&Mt.suggestAggregateFunctions();break;case 1117:n[o-2]||n[o-1]?n[o-2]||Mt.suggestKeywords(["PARTITION BY"]):Mt.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 1118:n[o-1]?Mt.suggestValueExpressionKeywords(n[o-3]):Mt.suggestValueExpressionKeywords(n[o-3],[{value:"ORDER BY",weight:2}]);break;case 1127:delete Mt.yy.result.suggestAnalyticFunctions;break;case 1128:u=[];n[o-2].suggestKeywords&&(u=Mt.createWeightedKeywords(n[o-2].suggestKeywords,2)),n[o]||(u=u.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),Mt.suggestKeywords(u);break;case 1134:Mt.suggestKeywords(["BETWEEN"]);break;case 1135:n[o-2]||n[o-1]?n[o-1]||Mt.suggestKeywords(["AND"]):Mt.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 1140:Ut.popState();break;case 1141:Ut.begin("hdfs");break;case 1143:Mt.suggestHdfs({path:n[o-3]});break;case 1144:Mt.suggestHdfs({path:n[o-2]});break;case 1145:Mt.suggestHdfs({path:n[o-1]});break;case 1146:case 1147:Mt.suggestHdfs({path:""});break;case 1153:Mt.suggestKeywords(["PRECEDING"]);break;case 1154:case 1159:Mt.suggestKeywords(["ROW"]);break;case 1158:Mt.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 1160:Mt.suggestKeywords(["FOLLOWING"]);break;case 1164:this.$={inValueEdit:!0};break;case 1165:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 1166:case 1167:case 1168:this.$={suggestKeywords:["NOT"]},Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 1172:case 1173:case 1174:Mt.suggestFunctions({types:["STRING"]}),Mt.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 1175:this.$=Mt.findCaseType(n[o-1]),Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 1176:n[o-3].caseTypes.push(n[o-1]),this.$=Mt.findCaseType(n[o-3]),Mt.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1177:this.$=Mt.findCaseType(n[o-1]);break;case 1178:Mt.suggestValueExpressionKeywords(n[o-1],["END"]),n[o-3].caseTypes.push(n[o-1]),this.$=Mt.findCaseType(n[o-3]);break;case 1179:n[o-3].caseTypes.push(n[o-1]),this.$=Mt.findCaseType(n[o-3]);break;case 1180:this.$=Mt.findCaseType(n[o-2]);break;case 1181:"end"!==n[o].toLowerCase()?Mt.suggestValueExpressionKeywords(n[o-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Mt.suggestValueExpressionKeywords(n[o-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Mt.findCaseType(n[o-3]);break;case 1182:"end"!==n[o].toLowerCase()?Mt.suggestValueExpressionKeywords(n[o-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Mt.suggestValueExpressionKeywords(n[o-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Mt.findCaseType(n[o-2]);break;case 1183:n[o-3].caseTypes.push(n[o-1]),this.$=Mt.findCaseType(n[o-3]),this.$.suggestFilters=n[o-1].suggestFilters;break;case 1184:Mt.valueExpressionSuggest(),this.$=Mt.findCaseType(n[o-3]);break;case 1185:Mt.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 1186:Mt.valueExpressionSuggest(),Mt.suggestKeywords(["WHEN"]),this.$=n[o-1];break;case 1187:Mt.valueExpressionSuggest(),Mt.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 1190:this.$={caseTypes:[n[o]],lastType:n[o]},Mt.extractExpressionText(this.$,n[o]);break;case 1191:n[o-1].caseTypes.push(n[o]),this.$={caseTypes:n[o-1].caseTypes,lastType:n[o]},Mt.extractExpressionText(this.$,n[o-1],n[o]);break;case 1195:Mt.suggestValueExpressionKeywords(n[o-2],["WHEN"]);break;case 1197:this.$=n[o],Mt.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1198:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o].suggestFilters};break;case 1199:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o-1].suggestFilters};break;case 1200:this.$={caseTypes:[n[o]],suggestFilters:n[o-2].suggestFilters};break;case 1201:case 1202:this.$={caseTypes:[n[o]],suggestFilters:n[o].suggestFilters};break;case 1203:Mt.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1204:Mt.suggestKeywords(["WHEN"]),this.$={caseTypes:[n[o]]};break;case 1205:case 1206:Mt.valueExpressionSuggest(),Mt.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1207:case 1209:Mt.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1208:Mt.valueExpressionSuggest(),Mt.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1210:Mt.valueExpressionSuggest(),this.$={caseTypes:[n[o]],suggestFilters:!0};break;case 1211:Mt.suggestValueExpressionKeywords(n[o-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1212:Mt.suggestValueExpressionKeywords(n[o-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1213:case 1214:case 1215:case 1216:Mt.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(s,t,{341:1,266:2}),{1:[3]},e(a,n,{342:3,346:4,20:5,157:6,46:7,21:8,22:9,23:10,24:11,25:12,26:13,27:14,28:15,29:16,30:17,35:19,36:20,37:21,158:22,159:23,170:24,171:25,38:26,44:27,160:33,4:r,8:o,12:u,16:l,164:c,176:y,243:g,274:T,324:d,340:p,510:E}),{343:[1,39],347:[1,40]},e(a,[2,630]),e(a,[2,636]),e(a,[2,637]),e(a,[2,638]),e(a,[2,16]),e(a,[2,17]),e(a,[2,18]),e(a,[2,19]),e(a,[2,20]),e(a,[2,21]),e(a,[2,22]),e(a,[2,23]),e(a,[2,24]),e(a,[2,25]),{31:[1,41],32:42,61:43,65:h,115:I,230:f,350:46,351:A,352:L},e(a,[2,28]),e(a,[2,29]),e(a,[2,30]),e(a,[2,246]),e(a,[2,247]),{81:[1,51],171:50,243:g},e(b,C,{172:52,261:53,263:54,265:N}),{39:56,127:[1,57]},{45:[1,58]},{41:[1,61],49:[1,62],59:59,65:[1,60],368:R,386:S},{41:[1,67],49:[1,68],59:65,65:[1,66],368:R,386:S},{41:[1,69]},{61:70,65:h,115:I,230:f,350:46,351:A,352:L},{42:71,61:73,65:h,115:I,121:72,230:f,350:46,351:A,352:L,361:O},e(a,[2,248]),{61:73,65:h,115:I,121:79,230:f,325:75,331:76,333:77,350:46,351:A,352:L,361:O,430:78},{61:73,65:h,115:I,121:82,177:80,179:81,230:f,350:46,351:A,352:L,361:O},e(m,D,{244:83,31:k,247:[1,84],250:x}),{41:[1,87],49:[1,88]},{165:[1,89]},{1:[2,625]},e(s,t,{266:90}),e(a,[2,26]),{33:[1,91],270:[1,92]},e(w,[2,475]),e(_,[2,648]),e(_,[2,649]),e(_,[2,650]),e(_,[2,645]),e(_,[2,646]),e(_,[2,647]),e(b,C,{261:53,263:54,172:93,265:N}),{46:94,170:24,171:25,176:y,243:g},e(b,[2,264]),e(b,[2,456],{263:95,265:N}),e(F,[2,458]),e([31,243,250],t,{266:96}),e(a,[2,31]),{81:[1,97]},{46:98,170:24,171:25,176:y,243:g},e(v,B,{60:99,309:P}),{61:101,65:h,115:I,230:f,350:46,351:A,352:L},e(M,B,{60:102,309:P}),e(M,B,{60:103,309:P}),e(U,[2,765]),e(U,[2,766]),e(M,K,{152:104,309:$}),{61:106,65:h,115:I,230:f,350:46,351:A,352:L},e(M,K,{152:107,309:$}),e(M,K,{152:108,309:$}),e(M,K,{152:109,309:$}),e(a,[2,623]),e(a,[2,1217]),e(a,V,{270:[1,110]}),e(_,[2,855]),{58:[1,111],361:[1,112]},{16:[1,113]},{16:[2,602]},{16:[2,604]},{16:[2,862],61:73,65:h,115:I,121:114,230:f,350:46,351:A,352:L,361:O},e(G,[2,858],{270:[1,115]}),e([81,243],[2,273],{87:[1,116]}),e(H,[2,275]),{45:[1,117]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:120,229:150,230:f,245:118,253:119,256:z,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(m,D,{244:176,31:k,250:x}),e(Ce,[2,418]),e(Ce,[2,419]),{42:177,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},{42:179,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},e(M,[2,260],{166:180,41:[1,181]}),e(a,n,{346:4,20:5,157:6,46:7,21:8,22:9,23:10,24:11,25:12,26:13,27:14,28:15,29:16,30:17,35:19,36:20,37:21,158:22,159:23,170:24,171:25,38:26,44:27,160:33,342:182,4:r,8:o,12:u,16:l,164:c,176:y,243:g,274:T,324:d,340:p,510:E}),{34:183,53:186,56:Q,57:W,61:184,65:h,98:[1,189],115:I,229:190,230:f,270:Z,271:185,272:[1,187],273:[1,188],350:46,351:A,352:L,355:[1,191],392:Le,393:be,398:193,401:194,451:[1,192],456:156,457:157},{61:195,65:h,115:I,230:f,350:46,351:A,352:L},e(b,[2,262]),{83:[1,196]},e(F,[2,459]),{31:k,243:D,244:197,250:x},{61:73,65:h,89:200,115:I,121:152,230:f,350:46,351:A,352:L,361:O,412:198,428:199},e(a,[2,39]),e(a,[2,56],{350:46,61:201,65:h,115:I,230:f,351:A,352:L}),{97:[1,202]},e(a,[2,65]),{61:73,65:h,66:203,68:204,74:205,115:I,121:206,230:f,350:46,351:A,352:L,361:O},{61:73,65:h,74:207,115:I,121:206,230:f,350:46,351:A,352:L,361:O},{61:73,65:h,115:I,121:208,230:f,350:46,351:A,352:L,361:O},{373:[1,209]},e(a,[2,231]),{42:210,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},{42:211,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},{42:212,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},{42:213,61:73,65:h,115:I,121:214,230:f,350:46,351:A,352:L,361:O},{361:[1,215]},e(_,[2,857]),{61:73,65:h,89:144,115:I,121:152,151:219,230:f,326:216,335:217,337:218,350:46,351:A,352:L,361:O,432:220},{16:[2,863]},{61:73,65:h,115:I,121:221,230:f,350:46,351:A,352:L,361:O},{61:73,65:h,115:I,121:82,179:222,230:f,350:46,351:A,352:L,361:O},{81:[1,223]},e(F,[2,405],{246:224,183:226,87:Ne,184:[1,227]}),e(Re,[2,424]),e(Re,Se,{350:46,61:73,398:193,401:194,255:228,443:242,121:243,53:244,33:Oe,45:me,56:Q,57:W,65:h,79:De,97:ke,110:xe,111:we,115:I,144:_e,230:f,256:Fe,351:A,352:L,355:ve,359:Be,360:Pe,361:O,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(Re,[2,440]),e(He,[2,899]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:249,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:250,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:251,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:252,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{81:Qe,440:253},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:255,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:257,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,395:We,398:158,401:159,432:135,444:256,452:143,454:151,456:156,457:157,458:160,506:258,508:259},e(He,[2,557],{313:261,81:Ye}),{81:Ye,313:263},e(He,[2,555]),e(He,[2,556]),e(He,[2,558]),e(Je,[2,1031],{270:[1,264]}),{81:[2,537]},{81:[2,538]},{81:[2,539]},{81:[2,540]},e(He,[2,586],{278:265,280:266,321:je}),{280:268,321:je},e(He,[2,494]),e(He,[2,1037]),e(Xe,[2,869]),e(qe,[2,502]),e(qe,[2,503]),e(qe,[2,504]),{81:[1,269]},{81:[1,270]},e(He,[2,1039]),e(He,[2,1040]),e([33,45,52,56,57,65,79,81,83,87,97,109,110,111,114,115,131,144,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,256,265,267,270,343,347,351,352,355,359,360,361,362,363,364,366,369,370,371,372,374,377,378,379,380,382,383,385,387,388,389,390,391,394,395,442],[2,879]),{81:[1,271]},{81:[1,272]},{81:[1,273]},e(He,[2,1042]),e(He,[2,1043]),e(He,[2,1051]),e(He,[2,1052]),e(He,[2,1053]),{81:[2,513]},{81:[2,514]},{81:[2,515]},{81:[2,516]},{81:[2,517]},{81:[2,518]},{81:[2,519]},{81:[2,520]},e(He,[2,1044],{270:[1,274]}),{392:[1,275],393:[1,276]},{392:[1,277]},{56:[1,279],58:[1,278]},{57:[1,281],58:[1,280]},e(He,[2,1056]),e(He,[2,1057]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:120,229:150,230:f,245:282,253:119,256:z,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{127:[2,36]},e(ze,V,{270:Ze}),{45:[2,45]},{42:284,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},e(M,[2,261]),e(a,[2,631]),e(a,[2,27]),e(a,[2,477]),e(a,[2,478],{350:46,61:285,65:h,115:I,230:f,351:A,352:L}),e(a,[2,480]),e(a,[2,481]),e(a,[2,482]),e(a,[2,483]),e(v,[2,1034]),{229:286,270:Z,392:Le,393:be,456:156,457:157},{229:287,270:Z,392:Le,393:be,456:156,457:157},e(es,[2,773]),e(es,[2,774]),e(w,[2,476]),e(b,C,{261:53,263:54,172:288,265:N}),{171:289,243:g},{83:[1,290],87:[1,291]},e(ss,[2,844]),{33:[1,292]},e(a,ts,{62:293,50:294,51:295,52:is}),{373:[1,297]},e(a,[2,66]),e(as,[2,162],{69:298,126:299,127:[1,300]}),e(ns,[2,78],{75:301,78:302,79:[1,303],81:[1,304]}),e(rs,[2,837],{270:[1,305]}),e(os,[2,214],{146:306,148:307,81:[1,308]}),e(a,[2,780],{153:309,408:[1,310]}),e(M,[2,783]),e(a,[2,238],{155:311,156:[1,312]}),e(a,[2,240]),e(a,[2,484]),e(a,[2,1218]),e(a,us,{270:Ze}),e(_,[2,856]),e(ls,[2,619],{327:313,87:[1,314],184:[1,315]}),e(cs,[2,606]),{33:[1,316]},{33:[2,616]},e(ys,[2,866],{270:[1,317]}),e(G,[2,859]),e(H,[2,276]),e(gs,Ts,{181:318,469:319}),e(F,[2,406]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:120,229:150,230:f,253:320,256:z,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(ds,ps,{251:321,258:322,260:323,267:Es}),{42:332,61:73,65:h,81:Qe,115:I,121:178,185:325,188:326,209:328,230:f,350:46,351:A,352:L,361:O,440:333,459:327,461:329,463:330,464:331},e(Re,[2,439]),e(hs,[2,1058],{439:334,97:[1,335]}),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:336,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:337,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:338,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:339,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{79:De,362:[1,341],377:[1,340],382:Ve,383:Ge,443:342},{81:[1,343]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:344,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:345,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:346,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:347,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:348,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:349,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,925]),e(Is,[2,1105]),e(Is,[2,1106]),{53:351,56:Q,57:W,61:73,65:h,115:I,121:350,230:f,350:46,351:A,352:L,361:O,398:193,401:194},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:352,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:353,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:354,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(fs,[2,900],{443:242,33:Oe,79:De,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(fs,[2,901],{443:242,33:Oe,79:De,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(fs,[2,902],{443:242,33:Oe,79:De,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(As,[2,903],{443:242}),e(He,[2,908]),e(gs,Ts,{469:319,440:333,181:355,464:356,81:Qe}),{33:Oe,79:De,83:[1,357],97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,443:242},e(He,[2,927]),{33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,395:We,443:242,444:358,506:258,508:259},{371:[1,360],372:[1,359],395:We,508:361},e(Ls,[2,1190]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:362,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,553]),{56:Q,57:W,61:73,65:h,81:Y,83:[1,363],89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:365,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,295:364,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,554]),{61:73,65:h,89:367,115:I,121:152,230:f,256:[1,366],350:46,351:A,352:L,361:O},e(He,[2,492]),e(He,[2,587]),{61:73,65:h,81:[1,370],115:I,121:368,230:f,322:369,350:46,351:A,352:L,361:O},e(He,[2,493]),{56:Q,57:W,61:73,65:h,81:Y,83:[1,371],89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:365,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,295:372,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,83:[1,374],89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:373,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e([56,57,65,81,83,97,98,109,114,115,230,270,272,273,274,297,298,299,300,301,302,303,304,305,306,307,309,310,351,352,354,355,358,361,365,373,392,393],D,{244:375,31:k,250:x}),e(bs,D,{244:378,31:k,83:[1,377],250:x,256:[1,376]}),e(bs,D,{244:379,31:k,83:[1,380],250:x}),e(He,[2,1045],{392:[1,381],393:[1,382]}),e(He,[2,1047]),{392:[1,383]},e(He,[2,1048]),{56:[1,384]},e(Cs,[2,768]),{57:[1,385]},e(Cs,[2,771]),e(F,[2,407],{87:Ne}),{61:73,65:h,115:I,121:386,230:f,350:46,351:A,352:L,361:O},{142:[1,387]},e(a,[2,479]),e(v,[2,1035]),e(v,[2,1036]),e(b,[2,263]),e(F,[2,464]),e(a,[2,795]),{61:73,65:h,89:200,115:I,121:152,230:f,350:46,351:A,352:L,361:O,428:388},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:389,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(a,[2,57]),e(a,[2,63]),e([45,83,87,111,343,347],[2,49]),{53:390,56:Q,57:W,398:193,401:194},e([65,115,230,343,347,351,352,361],[2,786]),e(a,[2,200],{70:391,45:[1,392]}),e(as,[2,163]),{128:[1,393]},e(ns,[2,75]),e(ns,[2,79]),{42:394,61:73,65:h,115:I,121:178,230:f,350:46,351:A,352:L,361:O},{61:73,65:h,82:395,86:396,89:397,115:I,121:152,230:f,350:46,351:A,352:L,361:O},{61:73,65:h,115:I,121:398,230:f,350:46,351:A,352:L,361:O},{45:ts,50:399,51:295,52:is},e(os,[2,215]),{61:73,65:h,89:144,115:I,121:152,149:400,151:401,230:f,350:46,351:A,352:L,361:O,432:220},e(a,[2,224]),e(a,[2,781]),e(a,[2,232]),e(a,[2,239]),e(a,ps,{260:323,258:402,267:Es}),{61:73,65:h,89:144,115:I,121:152,151:219,230:f,335:403,337:218,350:46,351:A,352:L,361:O,432:220},{42:332,61:73,65:h,81:Qe,115:I,121:178,188:404,209:328,230:f,350:46,351:A,352:L,361:O,440:333,459:327,461:329,463:330,464:331},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:406,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,338:405,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{61:73,65:h,89:367,115:I,121:152,230:f,256:[1,407],350:46,351:A,352:L,361:O},{83:[1,408]},{46:416,170:24,171:25,176:y,243:g,471:409,473:410,475:411,477:412,479:413,481:414,483:415},e(Re,[2,425]),e(F,[2,420]),e(Ns,[2,295],{190:417,191:418,192:[1,419]}),e(ds,[2,469]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:421,229:150,230:f,268:420,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e([83,192,203,228,234,265,267,343,347],[2,285],{87:[1,422]}),e(Rs,[2,288]),e(Rs,[2,1060]),e(Rs,[2,1062],{206:423,208:424,216:Ss,217:Os,218:ms,219:Ds,220:ks,221:xs,222:ws,223:_s}),e(Rs,[2,1063]),e(Fs,Se,{350:46,61:73,398:193,401:194,121:243,53:244,255:433,45:me,56:Q,57:W,65:h,115:I,230:f,351:A,352:L,361:O}),e(Fs,Se,{350:46,61:73,398:193,401:194,121:243,53:244,255:434,45:me,56:Q,57:W,65:h,115:I,230:f,351:A,352:L,361:O}),e(vs,[2,1074]),e(vs,[2,1076]),{98:[1,435],250:[1,438],272:[1,436],273:[1,437]},e(hs,[2,1059]),e(Bs,[2,910],{443:242,79:De,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(Bs,[2,911],{443:242,79:De,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(Bs,[2,912],{443:242,79:De,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(Bs,[2,913],{443:242,79:De,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),{81:[1,439]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:440,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,926]),e(gs,Ts,{350:46,61:73,311:122,312:130,308:131,276:132,314:133,432:135,277:140,279:141,281:142,452:143,89:144,288:145,289:146,290:147,229:150,454:151,121:152,294:153,456:156,457:157,398:158,401:159,458:160,469:319,181:441,441:442,140:443,56:Q,57:W,65:h,81:Y,97:J,98:j,109:X,114:q,115:I,230:f,270:Z,272:ee,273:se,274:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,309:de,310:pe,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be}),{33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,442:[1,444],443:242},e(Ps,[2,920],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,362:Me,377:Ue,379:Ke,382:Ve,383:Ge}),e(Ps,[2,921],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,362:Me,377:Ue,379:Ke,382:Ve,383:Ge}),e(As,[2,922],{443:242,79:De,377:Ue,379:Ke,382:Ve,383:Ge}),e(As,[2,923],{443:242,79:De,377:Ue,379:Ke,382:Ve,383:Ge}),e(As,[2,924],{443:242,79:De,377:Ue,379:Ke,382:Ve,383:Ge}),e(Is,[2,1107]),e(Is,[2,1108]),e(As,[2,1166],{443:242}),e(As,[2,1167],{443:242}),e(As,[2,1168],{443:242}),{83:[1,445]},{45:me,53:244,56:Q,57:W,61:73,65:h,83:Se,115:I,121:243,230:f,255:446,350:46,351:A,352:L,361:O,398:193,401:194},e(He,[2,909]),e(He,[2,928]),e(He,[2,1175]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:447,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(Ls,[2,1191]),{33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,389:[1,448],443:242},e(He,[2,568]),{83:[1,449],87:Ms},e(ss,[2,573],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(Je,[2,1032]),e(Xe,[2,870]),e(He,[2,589]),e(He,[2,590]),e(Us,[2,1119],{485:451,489:452,127:[1,453]}),{321:[2,532]},{83:[1,454],87:Ms},{33:Oe,45:[1,455],79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,443:242},e(He,[2,542]),{56:Q,57:W,61:73,65:h,81:Y,83:[1,456],89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:365,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,295:457,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{83:[1,458]},e(qe,[2,522]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:365,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,295:459,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:460,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(qe,[2,528]),e(He,[2,1046]),{392:[1,461]},e(He,[2,1049]),e(Cs,[2,767]),e(Cs,[2,770]),e(ze,us),{81:Ks,167:462,168:463},e(ss,[2,845]),e(ss,[2,850],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e([45,52,83,87,97,98,111,343,347],[2,50]),e(a,[2,70]),e(gs,[2,204],{145:465}),{129:466,131:[1,467]},e(ns,[2,80]),{83:[1,468],87:[1,469]},e(ss,[2,86]),{90:470,99:471,100:472,101:473,102:474,103:475,104:476,105:477,109:$s,114:Vs,115:Gs,363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},e(rs,[2,838]),{45:[1,493]},{83:[1,494],87:[1,495]},e(ss,ts,{51:295,50:496,52:is}),e(a,[2,592]),e(cs,[2,607]),e(ls,[2,620]),e(cs,[2,612]),e(cs,[2,617],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(ys,[2,867]),e(H,[2,281]),{83:[2,1088]},{83:[2,1090]},{83:[2,1092]},{83:[2,1094]},{83:[2,1096]},{83:[2,1098]},{83:[2,1100]},{83:[2,1102]},e(tt,[2,324],{201:497,202:498,203:[1,499]}),e(Ns,[2,296]),{128:[1,500]},e(ds,[2,470]),e(ds,[2,473],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),{42:332,61:73,65:h,81:Qe,115:I,121:178,188:501,209:328,230:f,350:46,351:A,352:L,361:O,440:333,459:327,461:329,463:330,464:331},e(Rs,[2,1066],{208:502,216:Ss,217:Os,218:ms,219:Ds,220:ks,221:xs,222:ws,223:_s}),{42:332,61:73,65:h,81:Qe,115:I,121:178,209:503,230:f,350:46,351:A,352:L,361:O,440:333,463:330,464:331},{217:[1,504]},{217:[1,505],219:[1,506]},{217:[1,507]},e(it,[2,349]),{217:[1,509],219:[1,510],220:[1,508],222:[1,511]},{217:[1,512]},{217:[1,514],219:[1,515],220:[1,513],222:[1,516]},{217:[1,517]},e(Fs,[2,1069]),e(Fs,[2,1070]),e(He,[2,904]),e(He,[2,905]),e(He,[2,906]),{184:[1,518]},e(gs,Ts,{350:46,61:73,311:122,312:130,308:131,276:132,314:133,432:135,277:140,279:141,281:142,452:143,89:144,288:145,289:146,290:147,229:150,454:151,121:152,294:153,456:156,457:157,398:158,401:159,458:160,469:319,140:443,181:519,441:520,56:Q,57:W,65:h,81:Y,97:J,98:j,109:X,114:q,115:I,230:f,270:Z,272:ee,273:se,274:te,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,309:de,310:pe,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be}),{33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,442:[1,521],443:242},{83:[1,522]},{83:[1,523],87:at},e(nt,[2,1016],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:525,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(rt,[2,1084]),{83:[1,526]},{33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,372:[1,527],377:Ue,379:Ke,380:$e,382:Ve,383:Ge,443:242},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:528,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,569]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:529,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{83:[2,1125],233:531,234:ot,486:530},e(Us,[2,1120]),{128:[1,533]},{321:[2,533]},{99:534,363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},e(qe,[2,508]),{83:[1,535],87:Ms},e(qe,[2,521]),{83:[1,536],87:Ms},{33:Oe,79:De,83:[1,537],97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,443:242},e(He,[2,1050]),e(a,[2,251],{87:[1,538]}),e(ut,[2,257]),{56:Q,57:W,61:73,65:h,89:144,98:j,109:X,114:q,115:I,121:152,169:539,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:540,312:130,314:133,350:46,351:A,352:L,361:O,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{46:541,170:24,171:25,176:y,243:g},e(as,[2,164]),{81:[1,543],132:542},e(ns,[2,84]),{61:73,65:h,86:544,89:397,115:I,121:152,230:f,350:46,351:A,352:L,361:O},e(ss,[2,100],{91:545,94:546,95:547,51:550,52:is,97:lt,98:ct}),e(yt,[2,112]),e(yt,[2,113]),e(yt,[2,114]),e(yt,[2,115]),e(yt,[2,116]),e(yt,[2,117]),e(yt,[2,118]),e(yt,[2,882]),e(yt,[2,883]),e(yt,gt,{437:551,81:Tt}),e(yt,[2,896],{438:553,81:[1,554]}),e(yt,[2,886]),e(yt,[2,887]),e(yt,[2,888]),e(yt,[2,889]),e(yt,[2,890]),e(yt,[2,891]),e(yt,[2,892]),e(yt,gt,{437:555,81:Tt}),{110:[1,556]},{110:[1,557]},{110:[1,558]},{46:559,170:24,171:25,176:y,243:g},e(os,[2,216]),{61:73,65:h,89:144,115:I,121:152,151:560,230:f,350:46,351:A,352:L,361:O,432:220},e(ss,[2,218]),e(dt,[2,387],{232:561,233:562,234:ot}),e(tt,[2,325]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:563,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:565,193:564,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(Rs,[2,289]),{42:332,61:73,65:h,81:Qe,115:I,121:178,209:566,230:f,350:46,351:A,352:L,361:O,440:333,463:330,464:331},e(pt,Et,{210:567,224:ht}),e(it,[2,345]),e(it,[2,346]),{217:[1,569]},e(it,[2,348]),{217:[1,570]},e(it,[2,351]),{217:[1,571]},{217:[1,572]},e(it,[2,354]),{217:[1,573]},e(it,[2,356]),{217:[1,574]},{217:[1,575]},e(it,[2,359]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:576,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{83:[1,577]},{83:[1,578],87:at},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:579,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(He,[2,916]),e(He,[2,917]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:580,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e([45,56,57,65,83,87,115,131,184,192,203,216,217,218,219,220,221,222,223,228,230,234,241,242,265,267,343,347,351,352,359,361,362,371,372,380,385,389,395,442],[2,919],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(rt,[2,1085]),e(He,[2,1176]),e(Ls,[2,1197],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(ss,[2,574],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),{83:[1,581]},{83:[2,1130],131:[1,586],385:[1,585],490:582,492:583,493:584},{128:[1,587]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:443,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,441:588,452:143,454:151,456:156,457:157,458:160},{83:[1,589]},e(qe,[2,509]),e(qe,[2,523]),e(qe,[2,527]),{81:Ks,168:590},{83:[1,591],87:[1,592]},e(ss,[2,1029]),e(a,[2,201]),{81:[1,594],133:593},{61:73,65:h,89:596,115:I,121:152,230:f,350:46,351:A,352:L,361:O,424:595},e(ss,[2,87]),e(ss,[2,96]),e(ss,[2,101],{51:550,95:597,52:is,97:lt,98:ct}),e(It,[2,102]),{98:[1,598]},e(It,[2,109]),e(It,[2,110]),e(yt,[2,884]),{392:[1,599]},e(yt,[2,885]),{392:[1,600]},e(yt,[2,893]),{90:601,99:471,100:472,101:473,102:474,103:475,104:476,105:477,109:$s,111:[1,602],114:Vs,115:Gs,363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},{99:603,111:[1,604],363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},{61:73,65:h,111:[1,606],115:I,116:605,118:607,121:608,230:f,350:46,351:A,352:L,361:O},e(a,[2,205]),e(ss,ts,{51:295,50:609,52:is}),e(F,[2,380],{226:610,227:611,228:[1,612]}),e(dt,[2,388]),e(tt,[2,326],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(Ns,[2,297],{87:[1,613]}),e(ft,[2,312],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(pt,Et,{210:614,224:ht}),e(pt,[2,332]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:615,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(it,[2,347]),e(it,[2,350]),e(it,[2,352]),e(it,[2,353]),e(it,[2,355]),e(it,[2,357]),e(it,[2,358]),e(As,[2,907],{443:242}),e(He,[2,914]),e(He,[2,915]),e(fs,[2,918],{443:242,33:Oe,79:De,110:xe,111:we,144:_e,256:Fe,355:ve,360:Pe,377:Ue,379:Ke,382:Ve,383:Ge}),e(nt,[2,1017],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(He,[2,1114]),{83:[2,1126]},{83:[2,1131]},{362:[1,616],497:[1,617]},e(At,[2,1148]),e(At,[2,1149]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:620,229:150,230:f,235:618,238:619,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(Us,[2,1121],{87:at}),e(He,[2,541]),e(ut,[2,258]),e(ut,[2,259]),{56:Q,57:W,61:73,65:h,89:144,98:j,109:X,114:q,115:I,121:152,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:621,312:130,314:133,350:46,351:A,352:L,361:O,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(as,[2,168]),{127:Lt,136:622,138:623},{83:[1,625],87:[1,626]},e(ss,[2,825]),e(It,[2,103]),e(It,[2,108]),{83:[1,627]},{83:[1,628],87:[1,629]},{111:[1,630]},e(yt,[2,123]),{87:[1,631]},e(yt,[2,127]),{87:[1,633],111:[1,632]},e(yt,[2,133]),e(bt,[2,135]),{122:[1,634]},e(ss,[2,219]),e(F,[2,444]),e(F,[2,381]),{229:635,230:[1,636],270:Z,392:Le,393:be,456:156,457:157},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:637,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(pt,[2,333]),e(pt,[2,375],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(Ct,Nt,{494:638}),e(Ct,Nt,{494:639}),e([83,131,228,265,343,347,385],[2,389],{87:[1,640]}),e(Rt,[2,392]),e(Rt,[2,402],{443:242,240:641,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,241:[1,642],242:[1,643],256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(ss,[2,1030]),{83:[1,644],87:[1,645]},e(ss,[2,177]),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:646,142:[1,647],229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{81:[2,822]},{61:73,65:h,89:648,115:I,121:152,230:f,350:46,351:A,352:L,361:O},e(yt,[2,895]),e(yt,[2,897]),{392:[1,649]},e(yt,[2,122]),{90:650,99:471,100:472,101:473,102:474,103:475,104:476,105:477,109:$s,114:Vs,115:Gs,363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},e(yt,[2,132]),{61:73,65:h,115:I,118:651,121:608,230:f,350:46,351:A,352:L,361:O},{90:652,99:471,100:472,101:473,102:474,103:475,104:476,105:477,109:$s,114:Vs,115:Gs,363:Hs,364:Qs,366:Ws,369:Ys,370:Js,374:js,378:Xs,387:qs,388:zs,390:Zs,391:et,394:st},e(F,[2,382],{87:[1,653]}),e(F,[2,384],{87:[1,654]}),e(ft,[2,313],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),e(St,Ot,{495:655,505:656,367:mt,392:Dt,497:kt}),e(St,Ot,{505:656,495:660,367:mt,392:Dt,497:kt}),{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:620,229:150,230:f,238:661,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(Rt,[2,399]),e(Rt,[2,403]),e(Rt,[2,404]),e(as,[2,174]),{127:Lt,138:662},{33:Oe,79:De,97:ke,110:[1,664],111:we,141:663,144:[1,665],256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge,443:242},{110:xt,141:666,144:wt},e(ss,[2,826]),{83:[1,669]},{111:[1,670]},e(bt,[2,136]),e(bt,ts,{51:295,50:671,52:is}),{229:672,270:Z,392:Le,393:be,456:156,457:157},{230:[1,673]},{83:_t,359:Ft,496:674},{381:[1,676]},{384:[1,677]},e(vt,[2,1161]),e(vt,[2,1162]),{83:_t,359:Ft,496:678},e(Rt,[2,393]),e(ss,[2,178]),{142:[1,679]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:337,142:Bt,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:339,142:Pt,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:680,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},e(bs,Bt),e(bs,Pt),e(yt,[2,898]),e(yt,[2,126]),e(bt,[2,142]),e(F,[2,383]),e(F,[2,385]),{83:[2,1132]},{367:[1,681],392:Dt,497:kt,505:682},e(St,[2,1151]),e(St,[2,1152]),{83:[2,1133]},e(ss,[2,186],{141:683,110:xt,144:wt}),e(ss,[2,185],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge}),{384:[1,684]},{375:[1,685]},{56:Q,57:W,61:73,65:h,81:Y,89:144,97:J,98:j,109:X,114:q,115:I,121:152,140:686,229:150,230:f,270:Z,272:ee,273:se,274:te,276:132,277:140,279:141,281:142,288:145,289:146,290:147,294:153,297:ie,298:ae,299:ne,300:re,301:oe,302:ue,303:le,304:ce,305:ye,306:ge,307:Te,308:131,309:de,310:pe,311:122,312:130,314:133,350:46,351:A,352:L,354:Ee,355:he,358:Ie,361:O,365:fe,373:Ae,392:Le,393:be,398:158,401:159,432:135,452:143,454:151,456:156,457:157,458:160},{83:[2,1156]},{83:[2,1157]},e(ss,[2,184],{443:242,33:Oe,79:De,97:ke,110:xe,111:we,144:_e,256:Fe,355:ve,359:Be,360:Pe,362:Me,377:Ue,379:Ke,380:$e,382:Ve,383:Ge})],defaultActions:{39:[2,625],76:[2,602],77:[2,604],114:[2,863],136:[2,537],137:[2,538],138:[2,539],139:[2,540],161:[2,513],162:[2,514],163:[2,515],164:[2,516],165:[2,517],166:[2,518],167:[2,519],168:[2,520],177:[2,36],179:[2,45],219:[2,616],371:[2,532],409:[2,1088],410:[2,1090],411:[2,1092],412:[2,1094],413:[2,1096],414:[2,1098],415:[2,1100],416:[2,1102],454:[2,533],582:[2,1126],583:[2,1131],625:[2,822],674:[2,1132],678:[2,1133],684:[2,1156],685:[2,1157]},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],i=[null],a=[],n=this.table,r="",o=0,u=0,l=0,c=2,y=1,g=a.slice.call(arguments,1),T=Object.create(this.lexer),d={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(d.yy[p]=this.yy[p]);T.setInput(e,d.yy),d.yy.lexer=T,d.yy.parser=this,void 0===T.yylloc&&(T.yylloc={});var E=T.yylloc;a.push(E);var h=T.options&&T.options.ranges;function I(e){t.length=t.length-2*e,i.length=i.length-e,a.length=a.length-e}"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,A,L,b,C,N,R,S,O,m=function(){var e;return"number"!=typeof(e=T.lex()||y)&&(e=s.symbols_[e]||e),e},D={};;){if(L=t[t.length-1],this.defaultActions[L]?b=this.defaultActions[L]:(null==f&&(f=m()),b=n[L]&&n[L][f]),void 0===b||!b.length||!b[0]){var k,x=function(e){for(var s=t.length-1,i=0;;){if(c.toString()in n[e])return i;if(0===e||s<2)return!1;e=t[s-=2],++i}},w="";if(l)A!==y&&(k=x(L));else{for(N in k=x(L),O=[],n[L])this.terminals_[N]&&N>c&&O.push("'"+this.terminals_[N]+"'");w=T.showPosition?"Parse error on line "+(o+1)+":\n"+T.showPosition()+"\nExpecting "+O.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(f==y?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(w,{text:T.match,token:this.terminals_[f]||f,line:T.yylineno,loc:T.yylloc,ruleId:t.slice(t.length-2,t.length).join("_"),expected:O,recoverable:!1!==k})}if(3==l){if(f===y||A===y)throw new Error(w||"Parsing halted while starting to recover from another error.");u=T.yyleng,r=T.yytext,o=T.yylineno,E=T.yylloc,f=m()}if(!1===k)throw new Error(w||"Parsing halted. No suitable error recovery rule available.");I(k),A=f==c?null:f,f=c,L=t[t.length-1],b=n[L]&&n[L][c],l=3}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+f);switch(b[0]){case 1:t.push(f),i.push(T.yytext),a.push(T.yylloc),t.push(b[1]),f=null,A?(f=A,A=null):(u=T.yyleng,r=T.yytext,o=T.yylineno,E=T.yylloc,l>0&&l--);break;case 2:if(R=this.productions_[b[1]][1],D.$=i[i.length-R],D._$={first_line:a[a.length-(R||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(R||1)].first_column,last_column:a[a.length-1].last_column},h&&(D._$.range=[a[a.length-(R||1)].range[0],a[a.length-1].range[1]]),void 0!==(C=this.performAction.apply(D,[r,u,o,d.yy,b[1],i,a].concat(g))))return C;R&&(t=t.slice(0,-1*R*2),i=i.slice(0,-1*R),a=a.slice(0,-1*R)),t.push(this.productions_[b[1]][0]),i.push(D.$),a.push(D._$),S=n[t[t.length-2]][t[t.length-1]],t.push(S);break;case 3:return!0}}return!0}};i.a.initSyntaxParser(Mt);var Ut={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 i=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 a=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===i.length?this.yylloc.first_column:0)+i[i.length-t.length].length-t[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[a[0],a[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,i,a;if(this.options.backtrack_lexer&&(a={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&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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 n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,s,t,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;n<a.length;n++)if((t=this._input.match(this.rules[a[n]]))&&(!s||t[0].length>s[0].length)){if(s=t,i=n,this.options.backtrack_lexer){if(!1!==(e=this.test_match(t,a[n])))return e;if(this._backtrack){s=!1;continue}return!1}if(!this.options.flex)break}return s?!1!==(e=this.test_match(s,a[i]))&&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(){var e=this.next();return e||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,i){switch(t){case 0:case 1:case 2:break;case 3:return Mt.yy.partialCursor=!1,Mt.yy.cursorFound=s.yylloc,5;case 4:return Mt.yy.partialCursor=!0,Mt.yy.cursorFound=s.yylloc,396;case 5:return this.popState(),442;case 6:return 31;case 7:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("ALTER",s.yylloc,e.lexer.upcomingInput()),4;case 8:return 359;case 9:return 45;case 10:return 241;case 11:return this.begin("between"),362;case 12:return 363;case 13:return 364;case 14:return 128;case 15:return 408;case 16:return 365;case 17:return 366;case 18:return 52;case 19:return Mt.determineCase(s.yytext),8;case 20:return 216;case 21:return 367;case 22:return 368;case 23:return 369;case 24:return 242;case 25:return 250;case 26:return 360;case 27:return 370;case 28:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("DROP",s.yylloc,e.lexer.upcomingInput()),12;case 29:return 371;case 30:return 372;case 31:return Mt.yy.correlatedSubQuery=!0,373;case 32:return 273;case 33:return 374;case 34:return 375;case 35:return Mt.determineCase(s.yytext),184;case 36:return 218;case 37:return 192;case 38:return 203;case 39:return 309;case 40:return 377;case 41:return 220;case 42:return 164;case 43:return 378;case 44:return 165;case 45:return 379;case 46:return 217;case 47:return 221;case 48:return 79;case 49:return 228;case 50:return 97;case 51:return 98;case 52:return 224;case 53:return 351;case 54:return 380;case 55:return 234;case 56:return 219;case 57:return 127;case 58:return 381;case 59:return 156;case 60:return 131;case 61:return 382;case 62:return 223;case 63:return 383;case 64:return 384;case 65:return 65;case 66:return 385;case 67:return 386;case 68:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("SELECT",s.yylloc),243;case 69:return 222;case 70:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("SET",s.yylloc),16;case 71:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("SHOW",s.yylloc),"SHOW";case 72:return 387;case 73:return 388;case 74:return 41;case 75:return 389;case 76:return 390;case 77:return 391;case 78:return"TO";case 79:return 272;case 80:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("TRUNCATE",s.yylloc,e.lexer.upcomingInput()),274;case 81:return 497;case 82:return 265;case 83:return Mt.determineCase(s.yytext),324;case 84:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("USE",s.yylloc),340;case 85:return 142;case 86:return 394;case 87:return 49;case 88:return 395;case 89:return 267;case 90:return Mt.determineCase(s.yytext),Mt.addStatementTypeLocation("WITH",s.yylloc),176;case 91:return 321;case 92:return 65;case 93:return e.lexer.unput("("),s.yytext="avg",Mt.addFunctionLocation(s.yylloc,s.yytext),297;case 94:return e.lexer.unput("("),s.yytext="cast",Mt.addFunctionLocation(s.yylloc,s.yytext),310;case 95:return e.lexer.unput("("),s.yytext="count",Mt.addFunctionLocation(s.yylloc,s.yytext),305;case 96:return e.lexer.unput("("),s.yytext="max",Mt.addFunctionLocation(s.yylloc,s.yytext),298;case 97:return e.lexer.unput("("),s.yytext="min",Mt.addFunctionLocation(s.yylloc,s.yytext),299;case 98:return e.lexer.unput("("),s.yytext="stddev_pop",Mt.addFunctionLocation(s.yylloc,s.yytext),300;case 99:return e.lexer.unput("("),s.yytext="stddev_samp",Mt.addFunctionLocation(s.yylloc,s.yytext),301;case 100:return e.lexer.unput("("),s.yytext="sum",Mt.addFunctionLocation(s.yylloc,s.yytext),306;case 101:return e.lexer.unput("("),s.yytext="var_pop",Mt.addFunctionLocation(s.yylloc,s.yytext),302;case 102:return e.lexer.unput("("),s.yytext="var_samp",Mt.addFunctionLocation(s.yylloc,s.yytext),303;case 103:return e.lexer.unput("("),s.yytext="variance",Mt.addFunctionLocation(s.yylloc,s.yytext),304;case 104:return e.lexer.unput("("),s.yytext="cume_dist",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 105:return e.lexer.unput("("),s.yytext="dense_rank",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 106:return e.lexer.unput("("),s.yytext="first_value",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 107:return e.lexer.unput("("),s.yytext="lag",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 108:return e.lexer.unput("("),s.yytext="last_value",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 109:return e.lexer.unput("("),s.yytext="lead",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 110:return e.lexer.unput("("),s.yytext="rank",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 111:return e.lexer.unput("("),s.yytext="row_number",Mt.addFunctionLocation(s.yylloc,s.yytext),307;case 112:case 113:return 392;case 114:return 393;case 115:return 352;case 116:return Mt.yy.cursorFound=!0,5;case 117:return Mt.yy.cursorFound=!0,396;case 118:return 376;case 119:return Mt.addFileLocation(s.yylloc,s.yytext),502;case 120:return this.popState(),503;case 121:return 343;case 122:return 359;case 123:return 380;case 124:return 33;case 125:return 110;case 126:return 111;case 127:case 128:case 129:case 130:case 131:return 144;case 132:return 355;case 133:return 256;case 134:case 135:case 136:case 137:case 138:case 139:return 360;case 140:return 87;case 141:return 270;case 142:return 122;case 143:return 347;case 144:return 358;case 145:return 354;case 146:return 81;case 147:return 83;case 148:return 356;case 149:return 357;case 150:return 230;case 151:return this.begin("backtickedValue"),361;case 152:return Mt.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"`")?400:58;case 153:return this.popState(),361;case 154:return this.begin("singleQuotedValue"),56;case 155:return Mt.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"'")?400:58;case 156:return this.popState(),56;case 157:return this.begin("doubleQuotedValue"),57;case 158:return Mt.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,'"')?400:58;case 159:return this.popState(),57;case 160:return 343;case 161:case 162:case 163:case 164:case 165:case 166:break;case 167: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,/^(?: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,/^(?:SELECT)/i,/^(?:SEMI)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SMALLINT)/i,/^(?:STRING)/i,/^(?:TABLE)/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:[116,117,118,119,120,121,163],inclusive:!1},doubleQuotedValue:{rules:[158,159,166],inclusive:!1},singleQuotedValue:{rules:[155,156,165],inclusive:!1},backtickedValue:{rules:[152,153,164],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,122,123,124,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,154,157,160,161,162,167],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,122,123,124,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,154,157,160,161,167],inclusive:!0}}};function Kt(){this.yy={}}return Mt.lexer=Ut,Kt.prototype=Mt,Mt.Parser=Kt,new Kt}();s.default=a},2:function(e,s,t){"use strict";var i=t(1),a=t(0);s.a={initSqlParser:function(e){Object(a.d)(e),e.SELECT_FIRST_OPTIONAL_KEYWORDS=[{value:"STREAM",weight:3},{value:"ALL",weight:2},{value:"DISTINCT",weight:2}],e.prepareNewStatement=function(){o(),e.commitLocations(),delete e.yy.latestCommonTableExpressions,delete e.yy.correlatedSubQuery,e.yy.subQueries=[],e.yy.selectListAliases=[],e.yy.latestTablePrimaries=[],s()},e.yy.parseError=function(s,t){return e.yy.errors.push(t),s},e.addCommonTableExpressions=function(s){e.yy.result.commonTableExpressions=s,e.yy.latestCommonTableExpressions=s},e.isInSubquery=function(){return!!e.yy.primariesStack.length},e.pushQueryState=function(){e.yy.resultStack.push(e.yy.result),e.yy.locationsStack.push(e.yy.locations),e.yy.selectListAliasesStack.push(e.yy.selectListAliases),e.yy.primariesStack.push(e.yy.latestTablePrimaries),e.yy.subQueriesStack.push(e.yy.subQueries),e.yy.result={},e.yy.locations=[],e.yy.selectListAliases=[],e.yy.correlatedSubQuery?(e.yy.latestTablePrimaries=e.yy.latestTablePrimaries.concat(),e.yy.subQueries=e.yy.subQueries.concat()):(e.yy.latestTablePrimaries=[],e.yy.subQueries=[])},e.popQueryState=function(s){o(),e.commitLocations(),0===Object.keys(e.yy.result).length?e.yy.result=e.yy.resultStack.pop():e.yy.resultStack.pop();var t=e.yy.subQueries;e.yy.subQueries=e.yy.subQueriesStack.pop(),s&&(t.length>0&&(s.subQueries=t),e.yy.subQueries.push(s)),e.yy.latestTablePrimaries=e.yy.primariesStack.pop(),e.yy.locations=e.yy.locationsStack.pop(),e.yy.selectListAliases=e.yy.selectListAliasesStack.pop()},e.suggestSelectListAliases=function(){e.yy.selectListAliases&&e.yy.selectListAliases.length>0&&e.yy.result.suggestColumns&&(void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length)&&(e.yy.result.suggestColumnAliases=e.yy.selectListAliases)},e.mergeSuggestKeywords=function(){var e=[];return Array.prototype.slice.call(arguments).forEach((function(s){void 0!==s&&void 0!==s.suggestKeywords&&(e=e.concat(s.suggestKeywords))})),e.length>0?{suggestKeywords:e}:{}},e.suggestValueExpressionKeywords=function(s,t){var i=e.getValueExpressionKeywords(s,t);e.suggestKeywords(i.suggestKeywords),i.suggestColRefKeywords&&e.suggestColRefKeywords(i.suggestColRefKeywords),s.lastType?e.addColRefIfExists(s.lastType):e.addColRefIfExists(s)},e.getSelectListKeywords=function(e){var s=[{value:"CASE",weight:450},"FALSE","TRUE","NULL"];return e||s.push({value:"*",weight:1e4}),s},e.getValueExpressionKeywords=function(s,t){var a=s.lastType?s.lastType.types:s.types,n=["<","<=","<=>","<>","=",">",">=","BETWEEN","IN","IS NOT NULL","IS NULL","IS NOT TRUE","IS TRUE","IS NOT FALSE","IS FALSE","NOT BETWEEN","NOT IN"];return t&&(n=n.concat(t)),s.suggestKeywords&&(n=n.concat(s.suggestKeywords)),1===a.length&&"COLREF"===a[0]?{suggestKeywords:n,suggestColRefKeywords:{BOOLEAN:["AND","OR"],NUMBER:["+","-","*","/","%","DIV"],STRING:["LIKE","NOT LIKE","REGEXP","RLIKE"]}}:(Object(i.a)(e.yy.activeDialect,["BOOLEAN"],a)&&(n=n.concat(["AND","OR"])),Object(i.a)(e.yy.activeDialect,["NUMBER"],a)&&(n=n.concat(["+","-","*","/","%","DIV"])),Object(i.a)(e.yy.activeDialect,["STRING"],a)&&(n=n.concat(["LIKE","NOT LIKE","REGEXP","RLIKE"])),{suggestKeywords:n})},e.getTypeKeywords=function(){return["BIGINT","BOOLEAN","CHAR","DECIMAL","DOUBLE","FLOAT","INT","SMALLINT","TIMESTAMP","STRING","TINYINT","VARCHAR"]},e.getColumnDataTypeKeywords=function(){return e.getTypeKeywords()},e.addColRefIfExists=function(s){s.columnReference&&(e.yy.result.colRef={identifierChain:s.columnReference})},e.selectListNoTableSuggest=function(s,t){if(s.cursorAtStart){var i=e.getSelectListKeywords();t||(i=i.concat([{value:"ALL",weight:2},{value:"DISTINCT",weight:2}])),e.suggestKeywords(i)}else e.checkForKeywords(s);s.suggestFunctions&&e.suggestFunctions(),s.suggestColumns&&e.suggestColumns(),!s.suggestAggregateFunctions||t&&"ALL"!==t||(e.suggestAggregateFunctions(),e.suggestAnalyticFunctions())},e.suggestJoinConditions=function(s){e.yy.result.suggestJoinConditions=s||{},e.yy.latestTablePrimaries&&!e.yy.result.suggestJoinConditions.tablePrimaries&&(e.yy.result.suggestJoinConditions.tablePrimaries=e.yy.latestTablePrimaries.concat())},e.suggestJoins=function(s){e.yy.result.suggestJoins=s||{}},e.findCaseType=function(e){var s={};return e.caseTypes.forEach((function(e){e.types.forEach((function(e){s[e]=!0}))})),1===Object.keys(s).length?{types:[Object.keys(s)[0]]}:{types:["T"]}},e.applyArgumentTypesToSuggestions=function(s,t){(e.yy.result.suggestFunctions||e.yy.result.suggestColumns)&&(e.yy.result.udfArgument={name:s.toLowerCase(),position:t})},e.commitLocations=function(){if(0!==e.yy.locations.length){for(var s=e.yy.latestTablePrimaries,t=e.yy.locations.length,i=function(){var i=e.yy.locations[t];if("variable"===i.type&&i.colRef&&(e.expandIdentifierChain({wrapper:i.colRef,tablePrimaries:s,isColumnWrapper:!0}),delete i.colRef.linked),"unknown"===i.type&&void 0!==i.identifierChain&&i.identifierChain.length>0&&i.identifierChain.length<=2&&s){var n=s.filter((function(e){return Object(a.b)(e.alias,i.identifierChain[0].name)||e.identifierChain&&Object(a.b)(e.identifierChain[0].name,i.identifierChain[0].name)}));!n.length&&i.firstInChain&&(n=s.filter((function(e){return!e.alias&&e.identifierChain&&Object(a.b)(e.identifierChain[e.identifierChain.length-1].name,i.identifierChain[0].name)}))),n.length?n[0].identifierChain.length>1&&1===i.identifierChain.length&&Object(a.b)(n[0].identifierChain[0].name,i.identifierChain[0].name)?i.type="database":n[0].alias&&Object(a.b)(i.identifierChain[0].name,n[0].alias)&&i.identifierChain.length>1||!n[0].alias&&n[0].identifierChain&&Object(a.b)(i.identifierChain[0].name,n[0].identifierChain[n[0].identifierChain.length-1].name)&&i.identifierChain.length>1?(i.type="column",e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0})):(i.type="table",e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0})):e.yy.subQueries&&(n=e.yy.subQueries.filter((function(e){return Object(a.b)(e.alias,i.identifierChain[0].name)}))).length>0&&(i.type="subQuery",i.identifierChain=[{subQuery:n[0].alias}])}if("asterisk"!==i.type||i.linked||(s&&s.length>0?(i.tables=[],i.linked=!1,i.identifierChain||(i.identifierChain=[{asterisk:!0}]),e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!1}),0===i.tables.length&&e.yy.locations.splice(t,1)):e.yy.locations.splice(t,1)),"table"===i.type&&void 0!==i.identifierChain&&1===i.identifierChain.length&&i.identifierChain[0].name&&e.yy.locations.some((function(e){if("alias"===e.type&&"cte"===e.source&&Object(a.c)(e.alias,i.identifierChain[0].name))return i.type="alias",i.target="cte",i.alias=i.identifierChain[0].name,delete i.identifierChain,!0})),"table"!==i.type||void 0!==i.identifierChain&&0!==i.identifierChain.length||e.yy.locations.splice(t,1),"unknown"===i.type&&(i.type="column"),"column"===i.type)for(var r=t-1;r>=0;r--){var o=e.yy.locations[r];if("alias"===o.type&&"column"===o.source&&i.identifierChain&&1===i.identifierChain.length&&i.identifierChain[0].name&&o.alias&&i.identifierChain[0].name.toLowerCase()===o.alias.toLowerCase()){i.type="alias",i.source="column",i.alias=i.identifierChain[0].name,delete i.identifierChain,i.parentLocation=o.parentLocation;break}}if("column"===i.type){var u=i.identifierChain?i.identifierChain.concat():void 0;e.expandIdentifierChain({tablePrimaries:s,wrapper:i,anyOwner:!0,isColumnWrapper:!0,isColumnLocation:!0}),void 0===i.identifierChain?e.yy.locations.splice(t,1):0===i.identifierChain.length&&u&&1===u.length&&(i.identifierChain=u)}"column"===i.type&&i.identifierChain&&i.identifierChain.length>1&&i.tables&&i.tables.length>0&&(i.type="complex"),delete i.firstInChain,"column"!==i.type&&"complex"!==i.type?delete i.qualified:void 0===i.qualified&&(i.qualified=!1)};t--;)i();e.yy.locations.length>0&&(e.yy.allLocations=e.yy.allLocations.concat(e.yy.locations),e.yy.locations=[])}};var s=function(){e.yy.result.lowerCase=e.yy.lowerCase||!1;var s={};if(void 0!==e.yy.latestCommonTableExpressions&&e.yy.latestCommonTableExpressions.forEach((function(e){s[e.alias.toLowerCase()]=e})),a.a.forEach((function(t){if("suggestAggregateFunctions"!==t&&void 0!==e.yy.result[t]&&0===e.yy.result[t].tables.length)delete e.yy.result[t];else if(void 0!==e.yy.result[t]&&void 0!==e.yy.result[t].tables)for(var i=e.yy.result[t].tables.length-1;i>=0;i--){var a=e.yy.result[t].tables[i];1===a.identifierChain.length&&void 0!==a.identifierChain[0].name&&void 0!==s[a.identifierChain[0].name.toLowerCase()]&&e.yy.result[t].tables.splice(i,1)}})),void 0!==e.yy.result.colRef&&(e.yy.result.colRef.linked&&void 0!==e.yy.result.colRef.identifierChain&&0!==e.yy.result.colRef.identifierChain.length||(delete e.yy.result.colRef,void 0!==e.yy.result.suggestColRefKeywords&&(Object.keys(e.yy.result.suggestColRefKeywords).forEach((function(s){e.yy.result.suggestKeywords=e.yy.result.suggestKeywords.concat(e.createWeightedKeywords(e.yy.result.suggestColRefKeywords[s],-1))})),delete e.yy.result.suggestColRefKeywords),e.yy.result.suggestColumns&&1===e.yy.result.suggestColumns.types.length&&"COLREF"===e.yy.result.suggestColumns.types[0]&&(e.yy.result.suggestColumns.types=["T"]),delete e.yy.result.suggestValues)),void 0!==e.yy.result.colRef&&(e.yy.result.suggestValues||e.yy.result.suggestColRefKeywords||e.yy.result.suggestColumns&&"COLREF"===e.yy.result.suggestColumns.types[0]||delete e.yy.result.colRef),void 0!==e.yy.result.suggestIdentifiers&&e.yy.result.suggestIdentifiers.length>0&&(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases),void 0!==e.yy.result.suggestColumns){var t=e.yy.result.suggestColumns;void 0===t.tables||0===t.tables.length?(delete e.yy.result.suggestColumns,delete e.yy.result.subQueries):(delete e.yy.result.suggestTables,delete e.yy.result.suggestDatabases,t.tables.forEach((function(e){if(void 0!==e.identifierChain&&1===e.identifierChain.length&&void 0!==e.identifierChain[0].name){var t=s[e.identifierChain[0].name.toLowerCase()];void 0!==t&&(delete e.identifierChain[0].name,e.identifierChain[0].cte=t.alias)}else void 0===e.identifierChain&&e.subQuery&&(e.identifierChain=[{subQuery:e.subQuery}],delete e.subQuery)})),void 0!==t.identifierChain&&0===t.identifierChain.length&&delete t.identifierChain)}else delete e.yy.result.subQueries;if(void 0!==e.yy.result.suggestJoinConditions&&(void 0!==e.yy.result.suggestJoinConditions.tables&&0!==e.yy.result.suggestJoinConditions.tables.length||delete e.yy.result.suggestJoinConditions),void 0!==e.yy.result.suggestTables&&void 0!==e.yy.result.commonTableExpressions){var i=[];e.yy.result.commonTableExpressions.forEach((function(s){var t={name:s.alias};e.yy.result.suggestTables.prependFrom&&(t.prependFrom=!0),e.yy.result.suggestTables.prependQuestionMark&&(t.prependQuestionMark=!0),i.push(t)})),i.length>0&&(e.yy.result.suggestCommonTableExpressions=i)}};e.identifyPartials=function(e,s){var t=e.match(/[0-9a-zA-Z_]*$/),i=s.match(/^[0-9a-zA-Z_]*(?:\((?:[^)]*\))?)?/);return{left:t?t[0].length:0,right:i?i[0].length:0}};var t=function(e,s){s.alias?e.push({alias:s.alias,identifierChain:s.identifierChain}):e.push({identifierChain:s.identifierChain})};e.expandIdentifierChain=function(s){var i=s.wrapper,r=s.anyOwner,o=s.isColumnWrapper,u=s.isColumnLocation,l=s.tablePrimaries||e.yy.latestTablePrimaries;if(void 0!==i.identifierChain&&void 0!==l){var c=i.identifierChain.concat();if(0!==l.length){if(r||(l=n(l,i.owner)),c.length>0&&c[c.length-1].asterisk){var y=[];if(l.forEach((function(e){c.length>1&&!e.subQueryAlias?(2===c.length&&Object(a.b)(e.alias,c[0].name)||2===c.length&&Object(a.b)(e.identifierChain[0].name,c[0].name)||3===c.length&&e.identifierChain.length>1&&Object(a.b)(e.identifierChain[0].name,c[0].name)&&Object(a.b)(e.identifierChain[1].name,c[1].name))&&t(y,e):e.subQueryAlias?y.push({identifierChain:[{subQuery:e.subQueryAlias}]}):t(y,e)})),y.length>0)return i.tables=y,void delete i.identifierChain}var g,T=!1,d=!1;if(c.length>0)for(var p=0;p<l.length;p++)if(l[p].subQueryAlias)Object(a.b)(l[p].subQueryAlias,c[0].name)&&(g=l[p]);else{if(Object(a.b)(l[p].alias,c[0].name)){g=l[p],d=!0;break}if(l[p].identifierChain.length>1&&c.length>1&&Object(a.b)(l[p].identifierChain[0].name,c[0].name)&&Object(a.b)(l[p].identifierChain[1].name,c[1].name)){g=l[p],T=!0;break}if(!g&&Object(a.b)(l[p].identifierChain[0].name,c[0].name)&&c.length>(u?1:0))g=l[p];else if(!g&&l[p].identifierChain.length>1&&!l[p].alias&&Object(a.b)(l[p].identifierChain[l[p].identifierChain.length-1].name,c[0].name)){g=l[p];break}}g?(c.shift(),T&&c.shift()):1!==l.length||o||(g=l[0]),g?o?(i.identifierChain=c,g.subQueryAlias?i.tables=[{subQuery:g.subQueryAlias}]:g.alias?i.tables=!u&&o&&d?[{identifierChain:g.identifierChain}]:[{identifierChain:g.identifierChain,alias:g.alias}]:i.tables=[{identifierChain:g.identifierChain}]):(g.subQueryAlias?c.unshift({subQuery:g.subQueryAlias}):c=g.identifierChain.concat(c),i.tables?(i.tables.push({identifierChain:c}),delete i.identifierChain):i.identifierChain=c):(o&&(i.tables=[]),l.forEach((function(e){var s=e.subQueryAlias?{subQuery:e.subQueryAlias}:{identifierChain:e.identifierChain};e.alias&&(s.alias=e.alias),i.tables&&i.tables.push(s)}))),delete i.owner,i.linked=!0}else delete i.identifierChain}};var n=function(e,s){var t=[];return e.forEach((function(e){(void 0===s&&void 0===e.owner||s===e.owner)&&t.push(e)})),t},r=function(s){var t=[],i=[];s.forEach((function(e){if(e.identifierChain&&e.identifierChain.length>0){var s={identifierChain:e.identifierChain};if(e.alias)s.alias=e.alias,i.push({name:s.alias+".",type:"alias"});else{var a=e.identifierChain[e.identifierChain.length-1];void 0!==a.name?i.push({name:a.name+".",type:"table"}):void 0!==a.subQuery&&i.push({name:a.subQuery+".",type:"sub-query"})}t.push(s)}else e.subQueryAlias&&(i.push({name:e.subQueryAlias+".",type:"sub-query"}),t.push({identifierChain:[{subQuery:e.subQueryAlias}]}))})),i.length>0&&(void 0===e.yy.result.suggestIdentifiers?e.yy.result.suggestIdentifiers=i:e.yy.result.suggestIdentifiers=i.concat(e.yy.result.suggestIdentifiers)),e.yy.result.suggestColumns.tables=t,e.yy.result.suggestColumns.identifierChain&&0===e.yy.result.suggestColumns.identifierChain.length&&delete e.yy.result.suggestColumns.identifierChain,e.yy.result.suggestColumns.linked=!0},o=function(){if(e.yy.cursorFound&&void 0!==e.yy.latestTablePrimaries){if(a.a.forEach((function(s){void 0!==e.yy.result[s]&&e.yy.result[s].tablePrimaries&&!e.yy.result[s].linked&&(e.yy.result[s].tables=[],e.yy.result[s].tablePrimaries.forEach((function(t){t.subQueryAlias||e.yy.result[s].tables.push(t.alias?{identifierChain:t.identifierChain.concat(),alias:t.alias}:{identifierChain:t.identifierChain.concat()})})),delete e.yy.result[s].tablePrimaries,e.yy.result[s].linked=!0)})),void 0!==e.yy.result.suggestColumns&&!e.yy.result.suggestColumns.linked){var s=n(e.yy.latestTablePrimaries,e.yy.result.suggestColumns.owner);e.yy.result.suggestColumns.tables||(e.yy.result.suggestColumns.tables=[]),e.yy.subQueries.length>0&&(e.yy.result.subQueries=e.yy.subQueries),void 0===e.yy.result.suggestColumns.identifierChain||0===e.yy.result.suggestColumns.identifierChain.length?s.length>1?r(s):(1===s.length&&(s[0].alias||s[0].subQueryAlias)&&r(s),e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})):e.expandIdentifierChain({wrapper:e.yy.result.suggestColumns,anyOwner:!1,isColumnWrapper:!0})}if(void 0!==e.yy.result.colRef&&!e.yy.result.colRef.linked){e.expandIdentifierChain({wrapper:e.yy.result.colRef});var t=n(e.yy.latestTablePrimaries);(0===t.length||t.length>1&&1===e.yy.result.colRef.identifierChain.length)&&(e.yy.result.colRef.identifierChain=[])}void 0===e.yy.result.suggestKeyValues||e.yy.result.suggestKeyValues.linked||e.expandIdentifierChain({wrapper:e.yy.result.suggestKeyValues})}};e.addTablePrimary=function(s){void 0===e.yy.latestTablePrimaries&&(e.yy.latestTablePrimaries=[]),e.yy.latestTablePrimaries.push(s)},e.suggestFileFormats=function(){e.suggestKeywords(["AVRO","KUDU","ORC","PARQUET","RCFILE","SEQUENCEFILE","TEXTFILE"])},e.getKeywordsForOptionalsLR=function(e,s,t){for(var i=[],a=0;a<e.length;a++)if(e[a]||void 0!==t&&!t[a]){if(e[a])break}else s[a]instanceof Array?i=i.concat(s[a]):i.push(s[a]);return i},e.suggestDdlAndDmlKeywords=function(s){var t=["ALTER","CREATE","DESCRIBE","DROP","GRANT","INSERT","REVOKE","SELECT","SET","SHOW","TRUNCATE","UPDATE","USE","WITH"];s&&(t=t.concat(s)),e.suggestKeywords(t)},e.checkForSelectListKeywords=function(s){if(0!==s.length){var t=s[s.length-1];if(t&&t.valueExpression){var i=e.getValueExpressionKeywords(t.valueExpression),a=[];t.suggestKeywords&&(a=a.concat(t.suggestKeywords)),i.suggestKeywords&&(a=a.concat(i.suggestKeywords)),i.suggestColRefKeywords&&(e.suggestColRefKeywords(i.suggestColRefKeywords),e.addColRefIfExists(t.valueExpression)),t.alias||a.push("AS"),a.length>0&&e.suggestKeywords(a)}}},e.checkForKeywords=function(s){s&&(s.suggestKeywords&&s.suggestKeywords.length>0&&e.suggestKeywords(s.suggestKeywords),s.suggestColRefKeywords&&(e.suggestColRefKeywords(s.suggestColRefKeywords),e.addColRefIfExists(s)))},e.createWeightedKeywords=function(e,s){var t=[];return e.forEach((function(e){void 0!==e.weight?(e.weight=s+e.weight/10,t.push(e)):t.push({value:e,weight:s})})),t},e.suggestKeywords=function(s){var t=[];0!==s.length&&(s.forEach((function(e){void 0!==e.weight?t.push(e):t.push({value:e,weight:-1})})),t.sort((function(e,s){return e.weight!==s.weight?s.weight-e.weight:e.value.localeCompare(s.value)})),e.yy.result.suggestKeywords=t)},e.suggestColRefKeywords=function(s){e.yy.result.suggestColRefKeywords=s},e.suggestTablesOrColumns=function(s){void 0!==e.yy.latestTablePrimaries?e.yy.latestTablePrimaries.filter((function(e){return Object(a.b)(e.alias,s)})).length>0?e.suggestColumns({identifierChain:[{name:s}]}):e.suggestTables({identifierChain:[{name:s}]}):e.suggestTables({identifierChain:[{name:s}]})},e.suggestFunctions=function(s){e.yy.result.suggestFunctions=s||{}},e.suggestAggregateFunctions=function(){var s=[],t={};e.yy.latestTablePrimaries.forEach((function(e){void 0!==e.alias&&(t[e.alias]=!0),void 0===e.identifierChain||t[e.identifierChain[0].name]||void 0!==e.owner||s.push(e)})),e.yy.result.suggestAggregateFunctions={tablePrimaries:s}},e.suggestAnalyticFunctions=function(){e.yy.result.suggestAnalyticFunctions=!0},e.suggestSetOptions=function(){e.yy.result.suggestSetOptions=!0},e.suggestIdentifiers=function(s){e.yy.result.suggestIdentifiers=s},e.suggestColumns=function(s){void 0===s?s={identifierChain:[]}:void 0===s.identifierChain&&(s.identifierChain=[]),e.yy.result.suggestColumns=s},e.suggestGroupBys=function(s){e.yy.result.suggestGroupBys=s||{}},e.suggestOrderBys=function(s){e.yy.result.suggestOrderBys=s||{}},e.suggestFilters=function(s){e.yy.result.suggestFilters=s||{}},e.suggestKeyValues=function(s){e.yy.result.suggestKeyValues=s||{}},e.suggestTables=function(s){e.yy.result.suggestTables=s||{}},e.firstDefined=function(){for(var e=0;e+1<arguments.length;e+=2)if(arguments[e])return arguments[e+1]},e.addColRefToVariableIfExists=function(s,t){if(s&&s.columnReference&&s.columnReference.length&&t&&t.columnReference&&t.columnReference.length&&e.yy.locations.length>1){var i=function(s,t){1===t.length&&t[0].name&&e.yy.locations.some((function(e){if("column"===e.type&&e.alias===t[0].name)return t=e.identifierChain,!0}));for(var i=e.yy.locations.length-1;i>0;i--){var a=e.yy.locations[i];if("variable"===a.type&&a.value===s){a.colRef={identifierChain:t};break}}};/\${[^}]*}/.test(s.columnReference[0].name)?i(s.columnReference[0].name,t.columnReference):/\${[^}]*}/.test(t.columnReference[0].name)&&i(t.columnReference[0].name,s.columnReference)}},e.suggestDatabases=function(s){e.yy.result.suggestDatabases=s||{}},e.suggestHdfs=function(s){e.yy.result.suggestHdfs=s||{}},e.suggestValues=function(s){e.yy.result.suggestValues=s||{}},e.determineCase=function(s){e.yy.caseDetermined||(e.yy.lowerCase=s.toLowerCase()===s,e.yy.caseDetermined=!0)},e.handleQuotedValueWithCursor=function(s,t,i,a){if(-1!==t.indexOf("†")||-1!==t.indexOf("‡")){e.yy.partialCursor=-1!==t.indexOf("‡");var n=e.yy.partialCursor?t.indexOf("‡"):t.indexOf("†");e.yy.cursorFound={first_line:i.first_line,last_line:i.last_line,first_column:i.first_column+n,last_column:i.first_column+n+1};var r=t.substring(n+1),o=(s.upcomingInput().match(new RegExp(a,"g"))||[]).length;return o>0&&0!=(1&o)?(e.yy.missingEndQuote=!1,s.input()):(e.yy.missingEndQuote=!0,s.unput(r)),s.popState(),!0}return!1};var u=!1;e.parseSql=function(t,i,n){if(t=t.replace(/\r\n|\n\r/gm,"\n"),i=i.replace(/\r\n|\n\r/gm,"\n"),e.yy.result={locations:[]},e.yy.lowerCase=!1,e.yy.locations=[],e.yy.definitions=[],e.yy.allLocations=[],e.yy.subQueries=[],e.yy.errors=[],e.yy.selectListAliases=[],e.yy.activeDialect="generic",e.yy.locationsStack=[],e.yy.primariesStack=[],e.yy.subQueriesStack=[],e.yy.resultStack=[],e.yy.selectListAliasesStack=[],delete e.yy.caseDetermined,delete e.yy.cursorFound,delete e.yy.partialCursor,!u){var r=e.lexer.setInput;e.lexer.setInput=function(s,t){return r.bind(e.lexer)(s,t)},u=!0}e.prepareNewStatement();var l;if(t.length>15e4){if(t.length-t.lastIndexOf(";")>15e4)return{};var c=t.substring(t.length-15e4);t=c.substring(c.indexOf(";")+1)}if(i.length>15e4)if(i.length-i.indexOf(";")>15e4)i="";else{var y=i.substring(0,15e4);i=y.substring(0,y.lastIndexOf(";"))}e.yy.partialLengths=e.identifyPartials(t,i),e.yy.partialLengths.left>0&&(t=t.substring(0,t.length-e.yy.partialLengths.left)),e.yy.partialLengths.right>0&&(i=i.substring(e.yy.partialLengths.right));try{l=e.parse(t+(0===t.length||/[\s(]$/.test(t)?" † ":"‡")+i)}catch(s){if(void 0===e.yy.result)throw s;n&&(console.warn(s),console.warn(s.stack)),l=e.yy.result}e.yy.errors.length>0&&(e.yy.result.errors=e.yy.errors,n&&console.warn(e.yy.errors));try{o(),e.commitLocations(),s()}catch(e){n&&(console.warn(e),console.warn(e.stack))}e.yy.allLocations.sort((function(e,s){return e.location.first_line!==s.location.first_line?e.location.first_line-s.location.first_line:e.location.first_column!==s.location.first_column?e.location.first_column-s.location.first_column:e.location.last_column!==s.location.last_column?s.location.last_column-e.location.last_column:s.type.localeCompare(e.type)})),e.yy.result.locations=e.yy.allLocations,e.yy.result.definitions=e.yy.definitions,e.yy.result.locations.forEach((function(e){delete e.linked})),void 0!==e.yy.result.suggestColumns&&delete e.yy.result.suggestColumns.linked,a.a.forEach((function(s){void 0!==e.yy.result[s]&&delete e.yy.result[s].linked})),void 0!==e.yy.result.colRef&&delete e.yy.result.colRef.linked,void 0!==e.yy.result.suggestKeyValues&&delete e.yy.result.suggestKeyValues.linked,void 0!==l.error&&void 0!==l.error.expected&&(l.error.expected=l.error.expected.filter((function(e){return-1===e.indexOf("CURSOR")}))),void 0!==l.error&&l.error.recoverable&&delete l.error;var g=null;return l.locations.forEach((function(e){"statement"===e.type&&(null===g?(e.location.first_line=1,e.location.first_column=1):(e.location.first_line=g.location.last_line,e.location.first_column=g.location.last_column+1),g=e)})),l}},initSyntaxParser:a.e}}}).default}));