| 1 |
- !function(e,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define("ksqlSyntaxParser",[],s):"object"==typeof exports?exports.ksqlSyntaxParser=s():e.ksqlSyntaxParser=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=44)}({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",E="functionArgument",d="statement",p="statementType",h="table",I="unknown",L="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:L,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:E,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:d,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!==d);n--)if(e.yy.allLocations[n]&&e.yy.allLocations[n].type===p)return;var r={type:p,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:L,location:s(t),value:i})},e.addUnknownLocation=function(t,i){var a;return a=i.length&&/\${[^}]*}/.test(i[i.length-1].name)?{type:L,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)}},f=["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"],N=function(){},C=function(e){f.forEach((function(s){e[s]=N})),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}},10:function(e,s,t){"use strict";var i=t(1),a=t(0);s.a={initSqlParser:function(e){Object(a.d)(e),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,E=!1;if(c.length>0)for(var d=0;d<l.length;d++)if(l[d].subQueryAlias)Object(a.b)(l[d].subQueryAlias,c[0].name)&&(g=l[d]);else{if(Object(a.b)(l[d].alias,c[0].name)){g=l[d],E=!0;break}if(l[d].identifierChain.length>1&&c.length>1&&Object(a.b)(l[d].identifierChain[0].name,c[0].name)&&Object(a.b)(l[d].identifierChain[1].name,c[1].name)){g=l[d],T=!0;break}if(!g&&Object(a.b)(l[d].identifierChain[0].name,c[0].name)&&c.length>(u?1:0))g=l[d];else if(!g&&l[d].identifierChain.length>1&&!l[d].alias&&Object(a.b)(l[d].identifierChain[l[d].identifierChain.length-1].name,c[0].name)){g=l[d];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&&E?[{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=["CREATE","DESCRIBE","DROP","INSERT","SELECT","SET","SHOW","UPDATE","LIST"];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.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}},44:function(e,s,t){e.exports=t(45)},45:function(e,s,t){"use strict";t.r(s);var i=t(10),a=function(){var e=function(e,s,t,i){for(t=t||{},i=e.length;i--;t[e[i]]=s);return t},s=[4,9,15,36,42,149,156,168,172,406,419],t=[2,253],a=[168,172],n=[2,254],r=[1,23],o=[1,24],u=[1,18],l=[1,17],c=[1,19],y=[1,25],g=[1,29],T=[1,27],E=[1,28],d=[1,42],p=[1,44],h=[1,43],I=[1,39],L=[1,40],A=[71,168,172],f=[2,990],N=[1,54],C=[1,61],R=[1,62],S=[2,820],O=[1,69],b=[1,70],m=[1,75],x=[40,184],D=[19,23,24,40,50,65,69,71,75,85,97,98,99,102,103,110,115,119,130,132,133,148,168,172,177,178,179,182,183,184,189,190,191,193,194,195,196,199,201,204,205,207,208,209,212,214,215,216,217,220,221,222,223,224,225,226,229,230,231,232,235,236,237,239,241,242,245,247,248,249,251,256,258,259,272,313],k=[71,168,172,251],_=[50,103,168,172,177,178,179],w=[2,410],F=[1,85],B=[50,103,177,178,179,193],v=[50,103,168,172,177,178,179,193,219],P=[2,407],M=[1,90],U=[1,141],K=[1,142],$=[1,105],G=[1,100],V=[1,109],H=[1,114],Q=[1,116],Y=[1,117],W=[1,101],J=[1,98],j=[1,103],X=[1,139],q=[1,102],z=[1,127],Z=[1,145],ee=[1,106],se=[1,128],te=[1,136],ie=[1,104],ae=[1,144],ne=[1,115],re=[1,146],oe=[1,147],ue=[1,148],le=[1,149],ce=[1,137],ye=[1,143],ge=[1,138],Te=[1,140],Ee=[1,150],de=[1,151],pe=[1,152],he=[23,24,50,69,71,85,86,97,102,103,149,177,178,179,181,182,183,184,187,188,192,193,197,198,200,210,211,219,227,228,243,244,246,250,252,253,254,255,257,406],Ie=[69,75,406],Le=[71,75,168,172,214,251],Ae=[2,740],fe=[1,194],Ne=[1,210],Ce=[1,198],Re=[1,195],Se=[1,196],Oe=[1,197],be=[1,209],me=[1,204],xe=[1,203],De=[1,202],ke=[1,205],_e=[1,200],we=[1,199],Fe=[1,193],Be=[1,201],ve=[1,212],Pe=[1,211],Me=[23,24,40,50,65,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,230,231,232,235,236,237,239,241,247,251,258,259,313],Ue=[1,218],Ke=[1,224],$e=[1,226],Ge=[23,24,40,50,65,69,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,230,231,232,235,236,237,239,241,247,251,258,259,313],Ve=[1,231],He=[19,23,24,40,50,65,69,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,184,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,230,231,232,235,236,237,239,241,247,251,258,259,313],Qe=[23,24,40,50,65,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,230,231,232,233,235,236,237,239,241,247,251,258,259,313],Ye=[19,71,75,85,86,99,133,168,172,201,214,215,216,217,221,224,225,226,229,231,232,236,241,251,259],We=[2,13],Je=[1,258],je=[133,168,172],Xe=[115,133,168,172],qe=[19,65,69,115,133,168,172],ze=[19,133],Ze=[23,24,50,71,75,103,115,130,133,148,168,172,177,178,179,193,201,215,216,217,221,224,225,226,229,231,232,236,241,251,259],es=[71,168,172,216,217,226,231,251],ss=[86,206,211,250],ts=[71,75,168,172,201,214,215,216,217,221,224,225,226,229,231,232,236,241,251,259],is=[23,24,50,71,75,85,103,119,133,168,172,177,178,179,189,191,193,194,201,205,208,209,214,215,216,217,221,224,225,226,230,231,232,236,239,241,247,251,258,259,313],as=[23,24,40,50,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,221,224,225,226,230,231,232,236,239,241,247,251,258,259,313],ns=[406,419],rs=[2,718],os=[208,209,258],us=[23,24,50,69,85,86,97,102,103,149,177,178,179,181,183,184,187,188,192,193,197,198,200,210,211,219,227,228,243,244,246,250,252,253,254,255,257],ls=[19,23,24,40,50,65,71,75,85,86,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,229,230,231,232,235,236,237,239,241,247,251,258,259,313],cs=[71,168,172,217,226,231,251],ys=[71,75,168,172,216,217,226,231,251,259],gs=[1,367],Ts=[1,368],Es=[1,369],ds=[1,370],ps=[1,371],hs=[1,372],Is=[1,373],Ls=[1,374],As=[71,75,168,172,201,215,216,217,221,224,225,226,229,231,232,236,241,251,259],fs=[23,24,50,71,75,103,133,168,172,177,178,179,193,201,215,216,217,221,224,225,226,229,231,232,236,241,251,259],Ns=[23,24,40,50,71,75,85,98,99,103,119,132,133,168,172,177,178,179,189,191,193,194,201,205,208,209,214,215,216,217,221,224,225,226,230,231,232,236,239,241,247,251,258,259,313],Cs=[23,24,50,71,75,103,119,133,168,172,177,178,179,189,191,193,201,205,208,209,214,215,216,217,221,224,225,226,230,231,232,236,239,241,247,251,258,259,313],Rs=[1,400],Ss=[71,75],Os=[71,231],bs=[1,415],ms=[1,441],xs=[1,442],Ds=[1,443],ks=[1,429],_s=[1,430],ws=[1,431],Fs=[1,432],Bs=[1,433],vs=[1,434],Ps=[1,435],Ms=[1,436],Us=[1,437],Ks=[1,438],$s=[1,439],Gs=[1,440],Vs=[19,71,75],Hs=[71,168,172,226,231,251],Qs=[50,69,103,177,178,179,193],Ys=[1,476],Ws=[71,75,231],Js=[23,24,40,50,65,71,75,85,98,99,103,119,132,133,168,172,177,178,179,182,183,189,190,191,193,194,201,205,208,209,214,215,216,217,220,221,223,224,225,226,229,230,231,232,235,236,237,239,241,247,251,258,259,313],js=[1,484],Xs=[75,168,172],qs=[1,500],zs=[1,501],Zs=[19,71,75,85,86,99],et=[2,519],st=[1,504],tt=[71,168,172,226,251],it=[71,75,168,172,201,215,216,217,221,224,225,226,231,232,236,241,251,259],at=[2,948],nt=[1,521],rt=[19,71,75,85,86],ot=[71,75,168,172,217,226,231,251],ut=[194,392],lt=[1,577],ct=[75,99],yt=[71,189,202,252,392],gt=[2,776],Tt=[71,75,119,168,172,226,239,251],Et=[71,189],dt=[2,786],pt=[1,610],ht=[1,611],It=[1,612],Lt=[1,620],At=[1,621],ft=[2,791],Nt=[1,628],Ct=[213,234],Rt=[2,176],St=[2,177],Ot={trace:function(){},yy:{},symbols_:{error:2,DataDefinition_EDIT:3,CREATE:4,CURSOR:5,DatabaseDefinition_EDIT:6,TableDefinition_EDIT:7,ViewDefinition_EDIT:8,DROP:9,DropDatabaseStatement_EDIT:10,DropTableStatement_EDIT:11,DropViewStatement_EDIT:12,TruncateTableStatement_EDIT:13,ListStatement_EDIT:14,SET:15,ShowStatement_EDIT:16,OptionalComment:17,Comment:18,COMMENT:19,QuotedValue:20,OptionalComment_INVALID:21,Comment_INVALID:22,SINGLE_QUOTE:23,DOUBLE_QUOTE:24,VALUE:25,DataDefinition:26,DatabaseDefinition:27,RoleDefinition:28,TableDefinition:29,ViewDefinition:30,DropDatabaseStatement:31,DropRoleStatement:32,DropTableStatement:33,DropViewStatement:34,TruncateTableStatement:35,LIST:36,ListStatement:37,ALL:38,SetOption:39,"=":40,SetValue:41,SHOW:42,ShowStatement:43,DatabaseOrSchema:44,OptionalIfNotExists:45,RegularIdentifier:46,DatabaseDefinitionOptionals:47,OptionalIfNotExists_EDIT:48,DatabaseDefinitionOptionals_EDIT:49,ROLE:50,TABLE:51,TableDefinitionRightPart:52,TableDefinitionRightPart_EDIT:53,TableIdentifierAndOptionalColumnSpecification:54,OptionalPartitionedBy:55,OptionalAsSelectStatement:56,TableIdentifierAndOptionalColumnSpecification_EDIT:57,PartitionedBy_EDIT:58,OptionalAsSelectStatement_EDIT:59,SchemaQualifiedIdentifier:60,OptionalColumnSpecificationsOrLike:61,OptionalColumnSpecificationsOrLike_EDIT:62,SchemaQualifiedIdentifier_EDIT:63,ParenthesizedColumnSpecificationList:64,LIKE:65,SchemaQualifiedTableIdentifier:66,ParenthesizedColumnSpecificationList_EDIT:67,SchemaQualifiedTableIdentifier_EDIT:68,"(":69,ColumnSpecificationList:70,")":71,ColumnSpecificationList_EDIT:72,RightParenthesisOrError:73,ColumnSpecification:74,",":75,ColumnSpecification_EDIT:76,ColumnIdentifier:77,ColumnDataType:78,OptionalColumnOptions:79,ColumnDataType_EDIT:80,ColumnOptions_EDIT:81,ColumnOptions:82,ColumnOption:83,ColumnOption_EDIT:84,NOT:85,NULL:86,PrimitiveType:87,ArrayType:88,MapType:89,StructType:90,ArrayType_INVALID:91,MapType_INVALID:92,StructType_INVALID:93,ArrayType_EDIT:94,MapType_EDIT:95,StructType_EDIT:96,ARRAY:97,"<":98,">":99,AnyCursor:100,GreaterThanOrError:101,MAP:102,STRUCT:103,StructDefinitionList:104,StructDefinitionList_EDIT:105,StructDefinition:106,StructDefinition_EDIT:107,Commas:108,RegularOrBacktickedIdentifier:109,":":110,ColumnDataTypeList:111,ColumnDataTypeList_EDIT:112,ColumnDataTypeListInner_EDIT:113,PartitionedBy:114,PARTITION:115,BY:116,RangeClause:117,RangeClause_EDIT:118,RANGE:119,ParenthesizedColumnList:120,ParenthesizedPartitionValuesList:121,ParenthesizedColumnList_EDIT:122,ParenthesizedPartitionValuesList_EDIT:123,PartitionValueList:124,PartitionValueList_EDIT:125,PartitionValue:126,PartitionValue_EDIT:127,ValueExpression:128,LessThanOrEqualTo:129,VALUES:130,ValueExpression_EDIT:131,COMPARISON_OPERATOR:132,AS:133,CommitLocations:134,QuerySpecification:135,QuerySpecification_EDIT:136,VIEW:137,OptionalParenthesizedViewColumnList:138,ParenthesizedViewColumnList_EDIT:139,ParenthesizedViewColumnList:140,ViewColumnList:141,ViewColumnList_EDIT:142,ColumnReference:143,OptionalIfExists:144,OptionalCascade:145,OptionalIfExists_EDIT:146,OptionalPurge:147,PURGE:148,TRUNCATE:149,OptionalPartitionSpec:150,DataManipulation:151,InsertStatement:152,InsertValuesStatement:153,DataManipulation_EDIT:154,InsertValuesStatement_EDIT:155,INSERT:156,INTO:157,OptionalTable:158,InsertValuesList:159,ParenthesizedRowValuesList:160,InValueList:161,TABLES:162,STREAMS:163,TOPICS:164,SqlSyntax:165,NewStatement:166,SqlStatements:167,EOF:168,SqlAutocomplete:169,SqlStatements_EDIT:170,SqlStatement:171,";":172,SqlStatement_EDIT:173,CommonTableExpression:174,SetSpecification_EDIT:175,NonReservedKeyword:176,OPTION:177,REGULAR_IDENTIFIER:178,VARIABLE_REFERENCE:179,NonStartingToken:180,"!":181,"*":182,"-":183,".":184,"[":185,"]":186,"~":187,ANALYTIC:188,AND:189,ARITHMETIC_OPERATOR:190,ASC:191,AVG:192,BACKTICK:193,BETWEEN:194,BIGINT:195,BOOLEAN:196,CASE:197,CAST:198,CHAR:199,COUNT:200,CROSS:201,CURRENT:202,DATABASE:203,DECIMAL:204,DESC:205,DISTINCT:206,DOUBLE:207,ELSE:208,END:209,EXISTS:210,FALSE:211,FLOAT:212,FOLLOWING:213,FROM:214,FULL:215,GROUP:216,HAVING:217,HDFS_START_QUOTE:218,IF:219,IN:220,INNER:221,INT:222,IS:223,JOIN:224,LEFT:225,LIMIT:226,MAX:227,MIN:228,ON:229,OR:230,ORDER:231,OUTER:232,OVER:233,PRECEDING:234,REGEXP:235,RIGHT:236,RLIKE:237,ROW:238,ROWS:239,SCHEMA:240,SEMI:241,SMALLINT:242,STDDEV_POP:243,STDDEV_SAMP:244,STRING:245,SUM:246,THEN:247,TIMESTAMP:248,TINYINT:249,TRUE:250,UNION:251,UNSIGNED_INTEGER:252,UNSIGNED_INTEGER_E:253,VAR_POP:254,VAR_SAMP:255,VARCHAR:256,VARIANCE:257,WHEN:258,WHERE:259,PARTIAL_CURSOR:260,FromOrIn:261,SingleQuotedValue:262,SingleQuotedValue_EDIT:263,PARTIAL_VALUE:264,DoubleQuotedValue:265,DoubleQuotedValue_EDIT:266,QuotedValue_EDIT:267,OptionalFromDatabase:268,DatabaseIdentifier:269,OptionalFromDatabase_EDIT:270,DatabaseIdentifier_EDIT:271,CASCADE:272,OptionalInDatabase:273,PartitionSpec:274,OptionalPartitionSpec_EDIT:275,PartitionSpec_EDIT:276,PartitionSpecList:277,PartitionSpecList_EDIT:278,RangePartitionSpec:279,UnsignedValueSpecification:280,RangePartitionComparisonOperator:281,RangePartitionSpec_EDIT:282,ConfigurationName:283,PartialBacktickedOrAnyCursor:284,PartialBacktickedIdentifier:285,PartialBacktickedOrCursor:286,PartialBacktickedOrPartialCursor:287,OptionalParenthesizedColumnList:288,OptionalParenthesizedColumnList_EDIT:289,ColumnList:290,ColumnList_EDIT:291,ParenthesizedSimpleValueList:292,SimpleValueList:293,PartitionExpression:294,PartitionExpression_EDIT:295,RegularOrBackTickedSchemaQualifiedName:296,RegularOrBackTickedSchemaQualifiedName_EDIT:297,LocalOrSchemaQualifiedName:298,LocalOrSchemaQualifiedName_EDIT:299,BasicIdentifierChain:300,ColumnReference_EDIT:301,BasicIdentifierChain_EDIT:302,DerivedColumnChain:303,DerivedColumnChain_EDIT:304,PartialBacktickedIdentifierOrPartialCursor:305,OptionalTypeLength:306,OptionalTypePrecision:307,NonParenthesizedValueExpressionPrimary:308,OptionalNot:309,TableSubQuery:310,TableSubQueryInner:311,ValueExpressionList:312,BETWEEN_AND:313,LikeRightPart:314,CaseRightPart:315,NonParenthesizedValueExpressionPrimary_EDIT:316,TableSubQuery_EDIT:317,ValueExpressionInSecondPart_EDIT:318,LikeRightPart_EDIT:319,CaseRightPart_EDIT:320,EndOrError:321,ValueExpressionList_EDIT:322,ColumnOrArbitraryFunctionRef:323,ArbitraryFunctionRightPart:324,ArbitraryFunctionName:325,UserDefinedFunction:326,UnsignedValueSpecification_EDIT:327,ColumnOrArbitraryFunctionRef_EDIT:328,ArbitraryFunctionRightPart_EDIT:329,UserDefinedFunction_EDIT:330,SignedInteger:331,UnsignedNumericLiteral:332,"+":333,UnsignedLiteral:334,UnsignedLiteral_EDIT:335,GeneralLiteral:336,GeneralLiteral_EDIT:337,ExactNumericLiteral:338,ApproximateNumericLiteral:339,TruthValue:340,TableReference:341,TablePrimaryOrJoinedTable:342,TableReference_EDIT:343,TablePrimaryOrJoinedTable_EDIT:344,TablePrimary:345,JoinedTable:346,TablePrimary_EDIT:347,JoinedTable_EDIT:348,Joins:349,Joins_EDIT:350,TableOrQueryName:351,OptionalCorrelationName:352,DerivedTable:353,TableOrQueryName_EDIT:354,DerivedTable_EDIT:355,OptionalCorrelationName_EDIT:356,OptionalOnColumn:357,OptionalOnColumn_EDIT:358,PushQueryState:359,PopQueryState:360,TableSubQueryInner_EDIT:361,SubQuery:362,SubQuery_EDIT:363,QueryExpression:364,QueryExpression_EDIT:365,QueryExpressionBody:366,QueryExpressionBody_EDIT:367,NonJoinQueryExpression:368,NonJoinQueryExpression_EDIT:369,NonJoinQueryTerm:370,NonJoinQueryTerm_EDIT:371,NonJoinQueryPrimary:372,NonJoinQueryPrimary_EDIT:373,SimpleTable:374,SimpleTable_EDIT:375,WindowExpression:376,OptionalPartitionBy:377,OptionalOrderByAndWindow:378,WindowExpression_EDIT:379,PartitionBy_EDIT:380,OptionalOrderByAndWindow_EDIT:381,PartitionBy:382,OrderByClause:383,OptionalWindowSpec:384,OrderByClause_EDIT:385,WindowSpec_EDIT:386,WindowSpec:387,RowsOrRange:388,PopLexerState:389,OptionalCurrentOrPreceding:390,OptionalAndFollowing:391,UNBOUNDED:392,OptionalCurrentOrPreceding_EDIT:393,OptionalAndFollowing_EDIT:394,PushHdfsLexerState:395,HdfsPath:396,HDFS_PATH:397,HDFS_END_QUOTE:398,HdfsPath_EDIT:399,IntegerOrUnbounded:400,SelectStatement:401,OptionalUnions:402,SelectStatement_EDIT:403,OptionalUnions_EDIT:404,CommonTableExpression_EDIT:405,SELECT:406,OptionalAllOrDistinct:407,SelectList:408,TableExpression:409,SelectList_EDIT:410,TableExpression_EDIT:411,FromClause:412,OptionalSelectConditions:413,FromClause_EDIT:414,OptionalJoins:415,OptionalSelectConditions_EDIT:416,SelectSpecification:417,SelectSpecification_EDIT:418,WITH:419,WithQueries:420,WithQueries_EDIT:421,WithQuery:422,WithQuery_EDIT:423,TableReferenceList:424,TableReferenceList_EDIT:425,OptionalGroupByClause:426,GroupByClause:427,GroupByColumnList:428,GroupByClause_EDIT:429,GroupByColumnList_EDIT:430,ColumnGroupingSets:431,ColumnGroupingSets_EDIT:432,ColumnGroupingSet_EDIT:433,GroupByColumnListPartTwo_EDIT:434,OptionalHavingClause:435,HavingClause:436,HavingClause_EDIT:437,Joins_INVALID:438,JoinType:439,OptionalJoinCondition:440,Join_EDIT:441,JoinType_EDIT:442,JoinCondition_EDIT:443,UsingColList:444,OptionalLimitClause:445,LimitClause:446,LimitClause_EDIT:447,OptionalOrderByClause:448,OrderByColumnList:449,OrderByColumnList_EDIT:450,OrderByIdentifier:451,OrderByIdentifier_EDIT:452,OptionalAscOrDesc:453,OptionalWhereClause:454,WhereClause_EDIT:455,WhereClause:456,Unions:457,Unions_EDIT:458,UnionClause:459,UnionClause_EDIT:460,SearchCondition:461,SearchCondition_EDIT:462,AggregateFunction:463,OptionalOverClause:464,AnalyticFunction:465,OverClause:466,CastFunction:467,AggregateFunction_EDIT:468,OptionalOverClause_EDIT:469,AnalyticFunction_EDIT:470,OverClause_EDIT:471,CastFunction_EDIT:472,OtherAggregateFunction:473,CountFunction:474,SumFunction:475,OtherAggregateFunction_EDIT:476,CountFunction_EDIT:477,SumFunction_EDIT:478,OtherAggregateFunction_Type:479,UdfArgumentList:480,UdfArgumentList_EDIT:481,ArbitraryFunction:482,ArbitraryFunction_EDIT:483,QUERIES:484,PROPERTIES:485,CaseWhenThenList:486,CaseWhenThenList_EDIT:487,CaseWhenThenListPartTwo:488,CaseWhenThenListPartTwo_EDIT:489,$accept:0,$end:1},terminals_:{2:"error",4:"CREATE",5:"CURSOR",9:"DROP",15:"SET",19:"COMMENT",23:"SINGLE_QUOTE",24:"DOUBLE_QUOTE",25:"VALUE",36:"LIST",38:"ALL",40:"=",42:"SHOW",50:"ROLE",51:"TABLE",65:"LIKE",69:"(",71:")",75:",",85:"NOT",86:"NULL",97:"ARRAY",98:"<",99:">",102:"MAP",103:"STRUCT",110:":",115:"PARTITION",116:"BY",119:"RANGE",130:"VALUES",132:"COMPARISON_OPERATOR",133:"AS",137:"VIEW",148:"PURGE",149:"TRUNCATE",156:"INSERT",157:"INTO",162:"TABLES",163:"STREAMS",164:"TOPICS",168:"EOF",172:";",175:"SetSpecification_EDIT",177:"OPTION",178:"REGULAR_IDENTIFIER",179:"VARIABLE_REFERENCE",181:"!",182:"*",183:"-",184:".",185:"[",186:"]",187:"~",188:"ANALYTIC",189:"AND",190:"ARITHMETIC_OPERATOR",191:"ASC",192:"AVG",193:"BACKTICK",194:"BETWEEN",195:"BIGINT",196:"BOOLEAN",197:"CASE",198:"CAST",199:"CHAR",200:"COUNT",201:"CROSS",202:"CURRENT",203:"DATABASE",204:"DECIMAL",205:"DESC",206:"DISTINCT",207:"DOUBLE",208:"ELSE",209:"END",210:"EXISTS",211:"FALSE",212:"FLOAT",213:"FOLLOWING",214:"FROM",215:"FULL",216:"GROUP",217:"HAVING",218:"HDFS_START_QUOTE",219:"IF",220:"IN",221:"INNER",222:"INT",223:"IS",224:"JOIN",225:"LEFT",226:"LIMIT",227:"MAX",228:"MIN",229:"ON",230:"OR",231:"ORDER",232:"OUTER",233:"OVER",234:"PRECEDING",235:"REGEXP",236:"RIGHT",237:"RLIKE",238:"ROW",239:"ROWS",240:"SCHEMA",241:"SEMI",242:"SMALLINT",243:"STDDEV_POP",244:"STDDEV_SAMP",245:"STRING",246:"SUM",247:"THEN",248:"TIMESTAMP",249:"TINYINT",250:"TRUE",251:"UNION",252:"UNSIGNED_INTEGER",253:"UNSIGNED_INTEGER_E",254:"VAR_POP",255:"VAR_SAMP",256:"VARCHAR",257:"VARIANCE",258:"WHEN",259:"WHERE",260:"PARTIAL_CURSOR",264:"PARTIAL_VALUE",272:"CASCADE",313:"BETWEEN_AND",333:"+",392:"UNBOUNDED",397:"HDFS_PATH",398:"HDFS_END_QUOTE",406:"SELECT",419:"WITH",484:"QUERIES",485:"PROPERTIES"},productions_:[0,[3,2],[3,1],[3,1],[3,1],[3,2],[3,1],[3,1],[3,1],[3,1],[3,1],[3,2],[3,1],[17,0],[17,1],[18,2],[21,1],[22,2],[22,2],[22,3],[22,3],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,4],[26,2],[27,3],[27,5],[6,4],[6,3],[6,5],[6,4],[6,6],[47,1],[49,1],[28,3],[29,4],[7,4],[7,4],[7,3],[52,3],[53,3],[53,3],[53,3],[53,3],[54,2],[57,2],[57,2],[61,0],[61,1],[61,2],[62,1],[62,2],[62,2],[64,3],[67,3],[70,1],[70,3],[72,1],[72,3],[72,3],[72,5],[72,2],[72,4],[72,4],[72,6],[74,3],[76,3],[76,3],[76,3],[79,0],[79,1],[82,1],[82,2],[81,1],[81,2],[81,2],[81,3],[83,2],[83,1],[83,1],[84,2],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[78,1],[80,1],[80,1],[80,1],[88,4],[91,3],[94,4],[94,4],[89,6],[92,3],[95,6],[95,4],[95,6],[95,5],[90,4],[93,3],[96,4],[104,1],[104,3],[105,1],[105,2],[105,3],[105,3],[105,5],[106,4],[107,5],[107,4],[107,4],[107,4],[107,3],[107,3],[111,1],[111,3],[112,1],[112,2],[112,3],[112,3],[112,5],[113,2],[113,2],[113,1],[113,1],[101,1],[101,1],[55,0],[55,1],[114,3],[58,2],[58,3],[58,3],[117,3],[118,2],[118,2],[118,3],[118,3],[118,3],[121,3],[123,3],[123,3],[124,1],[124,3],[125,1],[125,3],[125,5],[125,3],[125,5],[126,6],[126,4],[126,4],[127,2],[127,2],[127,3],[127,4],[127,4],[127,5],[127,6],[127,6],[127,3],[127,4],[127,4],[129,1],[129,1],[56,0],[56,3],[59,3],[59,3],[134,0],[30,8],[8,4],[8,9],[8,3],[8,6],[8,7],[8,8],[8,8],[8,8],[138,0],[138,1],[140,3],[139,3],[141,2],[141,4],[142,3],[142,5],[142,5],[142,7],[31,5],[10,3],[10,3],[10,4],[10,5],[10,5],[10,6],[32,3],[33,5],[11,3],[11,4],[11,5],[11,5],[11,6],[147,0],[147,1],[34,4],[12,4],[12,5],[12,3],[12,4],[12,4],[35,4],[13,2],[13,4],[13,3],[13,4],[13,5],[13,5],[13,5],[151,1],[152,1],[154,1],[153,6],[155,2],[155,4],[155,4],[155,5],[155,6],[159,1],[159,3],[160,3],[158,0],[158,1],[37,1],[37,1],[37,1],[14,2],[165,3],[169,3],[169,3],[166,0],[167,0],[167,1],[167,4],[170,1],[170,4],[170,4],[170,7],[171,1],[171,1],[171,1],[173,1],[173,2],[173,1],[173,1],[173,1],[173,1],[176,1],[176,1],[176,1],[46,1],[46,1],[46,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[180,1],[108,1],[108,2],[100,1],[100,1],[261,1],[261,1],[44,1],[44,1],[262,3],[262,2],[263,2],[265,3],[265,2],[266,2],[20,1],[20,1],[267,1],[267,1],[268,0],[268,2],[270,2],[145,0],[145,1],[144,0],[144,2],[146,2],[45,0],[45,3],[48,2],[48,3],[273,0],[273,2],[273,2],[150,0],[150,1],[275,1],[274,4],[276,4],[279,5],[282,2],[282,3],[282,4],[282,5],[282,5],[282,5],[281,1],[281,1],[281,1],[281,1],[283,1],[283,1],[284,1],[284,1],[286,1],[286,1],[287,1],[287,1],[285,2],[73,1],[73,1],[288,0],[288,1],[289,1],[120,3],[122,3],[122,3],[290,1],[290,3],[291,3],[291,5],[292,3],[293,1],[293,3],[66,1],[66,3],[68,1],[68,3],[68,3],[60,1],[60,3],[63,1],[63,3],[63,3],[269,1],[271,1],[277,1],[277,3],[278,1],[278,3],[278,3],[278,5],[294,3],[295,3],[295,3],[295,3],[295,1],[109,1],[109,3],[109,2],[296,1],[296,3],[297,1],[297,3],[298,1],[298,2],[299,1],[299,2],[143,1],[143,3],[301,1],[300,1],[300,3],[302,3],[302,5],[303,1],[303,3],[304,1],[304,3],[304,5],[304,3],[77,1],[305,1],[305,1],[87,1],[87,1],[87,2],[87,2],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,2],[306,0],[306,3],[307,0],[307,3],[307,5],[128,1],[128,2],[128,2],[128,2],[128,2],[128,4],[128,4],[128,4],[128,6],[128,2],[128,3],[128,3],[128,3],[128,3],[128,3],[128,6],[128,6],[128,5],[128,5],[128,6],[128,5],[128,3],[128,3],[128,3],[128,3],[128,3],[128,2],[128,3],[128,2],[128,3],[131,1],[131,3],[131,2],[131,2],[131,2],[131,2],[131,2],[131,2],[131,2],[131,2],[131,3],[131,4],[131,5],[131,4],[131,4],[131,4],[131,6],[131,6],[131,2],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,4],[131,3],[131,6],[131,6],[131,5],[131,5],[131,6],[131,6],[131,6],[131,6],[131,5],[131,4],[131,5],[131,5],[131,5],[131,5],[131,4],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,3],[131,2],[131,3],[131,2],[131,3],[131,2],[131,3],[131,2],[131,3],[131,3],[131,4],[131,3],[131,3],[131,3],[312,1],[312,3],[322,1],[322,3],[322,3],[322,5],[322,3],[322,5],[322,4],[322,3],[322,2],[322,2],[322,4],[161,1],[161,3],[308,1],[308,1],[308,1],[308,2],[308,2],[308,1],[316,1],[316,1],[316,2],[316,2],[316,1],[323,1],[323,3],[328,1],[331,1],[331,2],[331,2],[280,1],[327,1],[334,1],[334,1],[335,1],[332,1],[332,1],[338,1],[338,2],[338,3],[338,2],[339,2],[339,3],[339,4],[336,1],[336,1],[336,1],[337,1],[337,1],[340,1],[340,1],[309,0],[309,1],[341,1],[343,1],[342,1],[342,1],[344,1],[344,1],[346,2],[348,2],[348,2],[345,2],[345,2],[347,2],[347,2],[347,2],[351,1],[354,1],[353,1],[355,1],[357,0],[357,2],[358,2],[358,2],[359,0],[360,0],[310,3],[310,4],[317,3],[317,3],[311,2],[361,3],[362,1],[363,1],[364,1],[365,1],[366,1],[367,1],[368,1],[369,1],[370,1],[371,1],[372,1],[373,1],[374,1],[375,1],[352,0],[352,1],[352,1],[352,2],[352,2],[356,1],[356,1],[356,2],[356,2],[356,2],[376,4],[379,4],[379,4],[379,5],[379,7],[377,0],[377,1],[382,3],[380,2],[380,3],[380,3],[378,0],[378,2],[381,1],[381,3],[381,2],[384,0],[384,1],[387,5],[387,5],[386,2],[386,6],[386,5],[386,5],[386,5],[386,4],[389,0],[395,0],[396,3],[399,5],[399,4],[399,3],[399,3],[399,2],[388,1],[388,1],[390,0],[390,2],[390,2],[393,2],[393,2],[391,0],[391,3],[391,3],[394,2],[394,3],[394,3],[400,1],[400,1],[135,2],[135,3],[135,5],[136,2],[136,2],[136,4],[136,3],[136,3],[136,1],[136,4],[136,3],[401,3],[401,4],[403,3],[403,3],[403,4],[403,4],[403,4],[403,5],[403,6],[403,4],[407,0],[407,1],[407,1],[409,2],[411,2],[411,4],[411,3],[408,1],[408,3],[410,1],[410,2],[410,3],[410,3],[410,3],[410,4],[410,3],[410,3],[410,4],[410,4],[410,4],[410,5],[410,5],[417,2],[417,1],[418,2],[418,3],[418,2],[174,2],[405,2],[420,1],[420,3],[421,1],[421,3],[421,3],[421,5],[422,5],[423,2],[423,5],[423,5],[412,2],[414,2],[414,2],[424,1],[424,3],[425,1],[425,3],[425,3],[425,5],[425,3],[426,0],[426,1],[427,3],[429,3],[429,3],[429,2],[431,0],[431,1],[431,3],[431,3],[432,1],[432,3],[432,3],[432,5],[432,3],[433,1],[433,1],[428,1],[428,3],[430,1],[430,2],[430,3],[430,3],[430,3],[430,4],[430,5],[434,1],[434,2],[434,1],[435,0],[435,1],[436,2],[437,2],[437,2],[415,0],[415,1],[415,1],[349,3],[349,4],[438,1],[438,2],[441,3],[441,1],[441,3],[441,3],[441,3],[350,1],[350,2],[350,2],[350,3],[439,2],[439,2],[439,3],[439,2],[439,1],[439,3],[439,2],[439,3],[439,3],[439,2],[439,3],[439,2],[439,3],[439,3],[439,2],[442,2],[442,3],[442,3],[442,2],[442,3],[442,3],[442,3],[442,3],[442,2],[442,3],[442,3],[442,3],[442,3],[442,2],[440,0],[440,2],[444,1],[444,3],[443,2],[443,2],[445,0],[445,1],[446,2],[446,4],[446,2],[446,4],[447,2],[448,0],[448,1],[383,3],[385,3],[385,2],[449,1],[449,3],[450,1],[450,2],[450,3],[450,4],[450,5],[451,2],[452,2],[452,2],[453,0],[453,1],[453,1],[413,5],[416,5],[416,5],[416,5],[416,5],[416,5],[416,6],[416,6],[416,6],[416,6],[416,6],[402,0],[402,1],[404,1],[457,1],[457,2],[458,1],[458,2],[458,2],[458,3],[459,4],[460,3],[460,4],[460,4],[454,0],[454,1],[456,2],[455,2],[455,2],[461,1],[462,1],[39,1],[39,3],[41,1],[41,1],[41,2],[41,1],[41,1],[41,1],[41,1],[326,2],[326,2],[326,1],[330,1],[330,2],[330,1],[330,2],[330,2],[330,2],[330,1],[463,1],[463,1],[463,1],[468,1],[468,1],[468,1],[473,4],[473,5],[476,5],[476,6],[476,5],[479,1],[479,1],[479,1],[479,1],[479,1],[479,1],[479,1],[479,1],[474,4],[474,3],[474,5],[477,5],[477,6],[477,5],[475,5],[475,3],[478,5],[478,6],[478,5],[465,3],[465,4],[470,4],[470,5],[470,4],[325,1],[325,1],[325,1],[325,1],[467,6],[467,3],[472,6],[472,5],[472,4],[472,6],[472,5],[472,4],[472,6],[472,5],[472,6],[472,5],[482,2],[482,2],[483,2],[483,2],[324,2],[324,3],[329,3],[329,4],[329,3],[480,1],[480,3],[481,1],[481,3],[481,3],[481,5],[481,3],[481,5],[481,4],[481,3],[481,2],[481,2],[481,4],[464,0],[464,1],[469,1],[466,2],[466,2],[471,2],[43,1],[43,1],[43,1],[43,1],[43,1],[16,2],[318,3],[318,3],[318,3],[314,2],[314,2],[314,2],[319,2],[319,2],[319,2],[319,2],[319,2],[319,2],[315,2],[315,4],[320,2],[320,4],[320,4],[320,3],[320,4],[320,3],[320,4],[320,4],[320,3],[320,4],[320,3],[321,1],[321,1],[486,1],[486,2],[487,1],[487,2],[487,3],[487,3],[487,2],[488,4],[489,2],[489,3],[489,4],[489,4],[489,3],[489,3],[489,4],[489,2],[489,3],[489,2],[489,3],[489,3],[489,4],[489,3],[489,4],[489,4],[489,5],[489,4],[489,3]],performAction:function(e,s,t,i,a,n,r){var o=n.length-1;switch(a){case 1:case 5:Ot.suggestKeywords(["DATABASE","ROLE","SCHEMA","TABLE","VIEW"]);break;case 11:Ot.suggestSetOptions();break;case 35:Ot.addNewDatabaseLocation(r[o-1],[{name:n[o-1]}]);break;case 36:case 46:n[o-1]||Ot.suggestKeywords(["IF NOT EXISTS"]);break;case 38:n[o-2]||Ot.suggestKeywords(["IF NOT EXISTS"]),Ot.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 39:Ot.addNewDatabaseLocation(r[o],[{name:n[o]}]);break;case 40:Ot.addNewDatabaseLocation(r[o-2],[{name:n[o-2]}]);break;case 41:n[o]||Ot.suggestKeywords(["COMMENT"]);break;case 52: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&&Ot.suggestKeywords(u);break;case 53:Ot.addNewTableLocation(r[o-1],n[o-1],n[o]),this.$=n[o];break;case 58:this.$=[];break;case 60:case 459:Ot.suggestTables(),Ot.suggestDatabases({appendDot:!0});break;case 62:case 198:case 200:case 392:case 395:case 481:case 534:case 720:case 799:case 839:case 1085:case 1088:this.$=n[o-1];break;case 64:case 849:this.$=[n[o]];break;case 65:this.$=n[o-2].concat(n[o]);break;case 70:case 72:Ot.checkForKeywords(n[o-1]);break;case 71:case 73:Ot.checkForKeywords(n[o-3]);break;case 74:this.$=n[o-2],this.$.type=n[o-1];u=[];n[o].comment||u.push("COMMENT"),u.length>0&&(this.$.suggestKeywords=u);break;case 75:case 102:case 108:case 109:case 122:case 125:case 134:case 136:Ot.suggestKeywords(Ot.getColumnDataTypeKeywords());break;case 78:this.$={};break;case 80:this.$={},this.$[n[o]]=!0;break;case 81:n[o-1][n[o]]=!0;break;case 86:case 87:this.$="null";break;case 88:this.$="comment";break;case 89:Ot.suggestKeywords(["NULL"]);break;case 107:Ot.suggestKeywords(Ot.getTypeKeywords());break;case 121:case 124:Ot.suggestKeywords(["COMMENT"]);break;case 143:case 758:Ot.suggestKeywords(["BY"]);break;case 144:Ot.suggestKeywords(["RANGE"]);break;case 153:case 158:case 159:Ot.suggestKeywords(["PARTITION"]);break;case 165:Ot.suggestKeywords(["VALUE","VALUES"]);break;case 166:n[o].endsWithLessThanOrEqual&&Ot.suggestKeywords(["VALUES"]);break;case 167:case 170:case 173:Ot.suggestKeywords(["<","<="]);break;case 168:case 424:case 427:Ot.suggestKeywords(["VALUES"]);break;case 171:case 174:Ot.suggestFunctions();break;case 180:case 189:case 265:case 723:case 857:Ot.suggestKeywords(["SELECT"]);break;case 182:Ot.commitLocations();break;case 184:n[o-1]||Ot.suggestKeywords(["IF NOT EXISTS"]),Ot.suggestDatabases({appendDot:!0});break;case 185:n[o-6]||Ot.suggestKeywords(["IF NOT EXISTS"]);break;case 188:u=[{value:"AS",weight:1}];n[o-1]||u.push({value:"COMMENT",weight:3}),Ot.suggestKeywords(u);break;case 195:n[o-1]||Ot.suggestKeywords(["COMMENT"]);break;case 199:case 201:this.$=n[o-3];break;case 205:n[o-1]||Ot.suggestKeywords(["IF EXISTS"]),Ot.suggestDatabases();break;case 206:Ot.suggestKeywords(["CASCADE"]);break;case 208:n[o-3]||Ot.suggestKeywords(["IF EXISTS"]);break;case 210:case 229:Ot.addTablePrimary(n[o-1]);break;case 212:n[o-1]||Ot.suggestKeywords(["IF EXISTS"]),Ot.suggestTables({onlyTables:!0}),Ot.suggestDatabases({appendDot:!0});break;case 213:Ot.yy.result.suggestTables&&(Ot.yy.result.suggestTables.onlyTables=!0);break;case 215:Ot.addTablePrimary(n[o-2]),n[o-1]||Ot.suggestKeywords(["PURGE"]);break;case 218:case 222:case 224:Ot.addTablePrimary(n[o]);break;case 219:n[o-1]||Ot.suggestKeywords(["IF EXISTS"]),Ot.suggestTables({onlyViews:!0}),Ot.suggestDatabases({appendDot:!0});break;case 220:Ot.addTablePrimary(n[o]),n[o-2]||Ot.suggestKeywords(["IF EXISTS"]);break;case 223:Ot.yy.result.suggestTables&&(Ot.yy.result.suggestTables.onlyViews=!0);break;case 225:Ot.suggestKeywords(["TABLE"]);break;case 226:Ot.suggestTables(),Ot.suggestDatabases({appendDot:!0}),n[o-1]||Ot.suggestKeywords(["IF EXISTS"]);break;case 230:Ot.addTablePrimary(n[o-1]),n[o-2]||Ot.suggestKeywords(["IF EXISTS"]);break;case 235:n[o-2].owner="insert",Ot.addTablePrimary(n[o-2]);break;case 236:Ot.suggestKeywords(["INTO"]);break;case 237:n[o-1]||Ot.suggestKeywords(["TABLE"]),Ot.suggestTables(),Ot.suggestDatabases({appendDot:!0});break;case 239:n[o-1].owner="insert",Ot.addTablePrimary(n[o-1]),Ot.suggestKeywords(["VALUES"]);break;case 249:Ot.suggestKeywords(["TABLES","STREAMS","TOPICS"]);break;case 251:case 252:return Ot.yy.result;case 253:Ot.prepareNewStatement();break;case 255:case 257:case 259:Ot.addStatementLocation(r[o]);break;case 258:case 260:Ot.addStatementLocation(r[o-3]);break;case 264:Ot.suggestDdlAndDmlKeywords();break;case 393:case 396:case 482:this.$="";break;case 408:case 411:Ot.yy.correlatedSubQuery=!1;break;case 409:case 413:Ot.suggestKeywords(["EXISTS"]);break;case 412:Ot.suggestKeywords(["NOT EXISTS"]);break;case 423:case 425:case 426:case 428:Ot.suggestKeywords(["<","<=","<>","=",">",">="]);break;case 449:case 452:case 453:case 478:case 479:case 500:case 503:case 884:Ot.suggestColumns();break;case 457:case 483:Ot.addTableLocation(r[o],[{name:n[o]}]),this.$={identifierChain:[{name:n[o]}]};break;case 458:case 484:Ot.addDatabaseLocation(r[o-2],[{name:n[o-2]}]),Ot.addTableLocation(r[o],[{name:n[o-2]},{name:n[o]}]),this.$={identifierChain:[{name:n[o-2]},{name:n[o]}]};break;case 460:case 465:Ot.suggestDatabases(),this.$={identifierChain:[{name:n[o-2]}]};break;case 461:case 486:Ot.suggestTablesOrColumns(n[o-2]);break;case 462:this.$=[{name:n[o]}];break;case 463:this.$=[{name:n[o-2]},{name:n[o-1]}];break;case 464:Ot.suggestDatabases({appendDot:!0});break;case 468:Ot.suggestDatabases();break;case 477:case 716:case 759:case 889:case 890:case 896:case 897:Ot.valueExpressionSuggest();break;case 485:Ot.suggestTables(),Ot.suggestDatabases({prependDot:!0});break;case 488:this.$={identifierChain:n[o-1].identifierChain,alias:n[o]};break;case 491:Ot.yy.locations[Ot.yy.locations.length-1].type="column";break;case 492:case 668:Ot.addAsteriskLocation(r[o],n[o-2].concat({asterisk:!0}));break;case 494:this.$=[n[o].identifier],Ot.yy.firstChainLocation=Ot.addUnknownLocation(n[o].location,[n[o].identifier]);break;case 495:Ot.yy.firstChainLocation&&(Ot.yy.firstChainLocation.firstInChain=!0,delete Ot.yy.firstChainLocation),n[o-2].push(n[o].identifier),Ot.addUnknownLocation(n[o].location,n[o-2].concat());break;case 496:Ot.suggestColumns({identifierChain:n[o-2]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 497:Ot.suggestColumns({identifierChain:n[o-4]}),this.$={suggestKeywords:[{value:"*",weight:1e4}]};break;case 498:this.$=[n[o].identifier];break;case 499:n[o-2].push(n[o].identifier);break;case 501:Ot.suggestColumns({identifierChain:n[o-2]});break;case 502:Ot.suggestColumns({identifierChain:n[o-4]});break;case 504:this.$={identifier:{name:n[o]},location:r[o]};break;case 525:case 526:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 527:case 552:this.$=n[o],Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 528:this.$=n[o],n[o].types=["NUMBER"],Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 529:case 530:case 531:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 532:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 533:this.$={types:["BOOLEAN"]},Ot.yy.correlatedSubQuery=!1;break;case 535:case 536:case 537:case 538:Ot.addColRefToVariableIfExists(n[o-2],n[o]),this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 539:case 540:case 541:case 542:case 572:case 630:case 631:this.$={types:["BOOLEAN"]};break;case 543:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-5],n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 544:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-4],n[o-3],n[o-2],n[o-1],n[o]);break;case 545:case 546:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 547:case 548:case 549:this.$={types:["NUMBER"]},Ot.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 550:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 551:this.$={types:["BOOLEAN"]},Ot.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 553:this.$=n[o],Ot.extractExpressionText(this.$,n[o-2],n[o-1],n[o]);break;case 555:Ot.suggestKeywords(["BETWEEN","EXISTS","IN","LIKE","REGEXP","RLIKE"]),this.$={types:["BOOLEAN"]};break;case 556:case 558:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 557:Ot.suggestFunctions(),Ot.suggestColumns(),Ot.suggestKeywords(["EXISTS"]),this.$={types:["BOOLEAN"]};break;case 559:Ot.suggestFunctions({types:["BOOLEAN"]}),Ot.suggestColumns({types:["BOOLEAN"]}),this.$={types:["BOOLEAN"]};break;case 560:this.$={types:["T"],suggestFilters:n[o].suggestFilters};break;case 561:Ot.suggestFunctions(),Ot.suggestColumns(),this.$={types:["T"]};break;case 562:n[o].typeSet||Ot.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 563:Ot.suggestFunctions({types:["NUMBER"]}),Ot.suggestColumns({types:["NUMBER"]}),this.$={types:["NUMBER"]};break;case 564:Ot.suggestKeywords(["FALSE","NOT NULL","NOT TRUE","NOT FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 565:Ot.suggestKeywords(["FALSE","NULL","TRUE"]),this.$={types:["BOOLEAN"]};break;case 566:this.$={types:["BOOLEAN"]};break;case 567:case 568:case 569:Ot.suggestKeywords(["NOT"]),this.$={types:["BOOLEAN"]};break;case 570:Ot.valueExpressionSuggest(n[o-5],n[o-3]?"IS NOT DISTINCT FROM":"IS DISTINCT FROM"),this.$={types:["BOOLEAN"]};break;case 571:this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 573:this.$=n[o-1];break;case 574:Ot.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 575:Ot.valueExpressionSuggest(n[o],n[o-1]),Ot.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 576:case 577:case 578:Ot.valueExpressionSuggest(n[o],n[o-1]),Ot.applyTypeToSuggestions(n[o]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 579:case 580:case 581:case 582:n[o-2].typeSet||(Ot.applyTypeToSuggestions(n[o]),Ot.addColRefIfExists(n[o])),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 583:case 585:Ot.valueExpressionSuggest(n[o-2],n[o-1]),Ot.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 584:Ot.valueExpressionSuggest(n[o-2],n[o-1]),Ot.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:!0};break;case 586:Ot.valueExpressionSuggest(n[o-2],n[o-1]),Ot.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0,endsWithLessThanOrEqual:"<="===n[o-1]};break;case 587:case 588:case 589:case 590:n[o].typeSet||(Ot.applyTypeToSuggestions(n[o-2]),Ot.addColRefIfExists(n[o-2])),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 591:n[o].inValueEdit&&(Ot.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),Ot.applyTypeToSuggestions(n[o-3])),n[o].cursorAtStart&&Ot.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 592:n[o].inValueEdit&&(Ot.valueExpressionSuggest(n[o-2],n[o-1]),Ot.applyTypeToSuggestions(n[o-2])),n[o].cursorAtStart&&Ot.suggestKeywords(["SELECT"]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 593:case 594:this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 595:case 596:this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 597:n[o-2].types[0]!==n[o].types[0]||n[o-5].typeSet||Ot.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o-5].suggestFilters};break;case 598:n[o-5].types[0]!==n[o].types[0]||n[o-2].typeSet||Ot.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 599:n[o-5].types[0]!==n[o-2].types[0]||n[o].typeSet||Ot.applyTypeToSuggestions(n[o-5]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 600:Ot.valueExpressionSuggest(n[o-5],n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 601:case 607:Ot.suggestValueExpressionKeywords(n[o-1],["AND"]),this.$={types:["BOOLEAN"]};break;case 602:Ot.valueExpressionSuggest(n[o-3],n[o-2]+" "+n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 603:n[o-4].types[0]!==n[o-2].types[0]||n[o-4].typeSet||Ot.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-4].suggestFilters};break;case 604:n[o-4].types[0]!==n[o-2].types[0]||n[o-2].typeSet||Ot.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 605:n[o-4].types[0]!==n[o-2].types[0]||n[o].typeSet||Ot.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 606:Ot.valueExpressionSuggest(n[o-4],n[o-1]),Ot.applyTypeToSuggestions(n[o-4]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 608:Ot.valueExpressionSuggest(n[o-2],n[o-1]),Ot.applyTypeToSuggestions(n[o-2]),this.$={types:["BOOLEAN"],typeSet:!0};break;case 609:case 611:case 613:case 615:Ot.valueExpressionSuggest(void 0,n[o-1]),this.$={types:["BOOLEAN"],typeSet:!0,suggestFilters:!0};break;case 610:case 614:Ot.addColRefIfExists(n[o]),this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 612:case 616:Ot.addColRefIfExists(n[o-2]),this.$={types:["BOOLEAN"],suggestFilters:n[o].suggestFilters};break;case 617:case 618:Ot.valueExpressionSuggest(void 0,n[o-1]),Ot.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 619:case 620:case 621:n[o-2].typeSet||(Ot.applyTypeToSuggestions({types:["NUMBER"]}),Ot.addColRefIfExists(n[o])),this.$={types:["NUMBER"],suggestFilters:n[o-2].suggestFilters};break;case 622:case 623:case 624:Ot.valueExpressionSuggest(void 0,n[o-1]),Ot.applyTypeToSuggestions({types:["NUMBER"]}),this.$={types:["NUMBER"],typeSet:!0};break;case 625:case 626:case 627:n[o].typeSet||(Ot.applyTypeToSuggestions({types:["NUMBER"]}),Ot.addColRefIfExists(n[o-2])),this.$={types:["NUMBER"],suggestFilters:n[o].suggestFilters};break;case 628:this.$={types:["BOOLEAN"],suggestFilters:n[o-1].suggestFilters};break;case 629:this.$={types:["BOOLEAN"],suggestFilters:n[o-2].suggestFilters};break;case 632:Ot.valueExpressionSuggest(void 0,n[o]),Ot.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 633:Ot.valueExpressionSuggest(void 0,n[o-1]+" "+n[o]),Ot.applyTypeToSuggestions({types:["STRING"]}),this.$={types:["BOOLEAN"],typeSet:!0};break;case 634:case 636:case 702:case 757:case 836:case 846:case 847:case 863:case 887:case 963:case 967:case 1005:case 1147:this.$=n[o];break;case 635:Ot.valueExpressionSuggest(),Ot.suggestKeywords(["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 637:Ot.suggestValueExpressionKeywords(n[o-2],["WHEN"]),this.$={types:["T"],typeSet:!0};break;case 638:this.$=n[o],this.$.suggestFilters=n[o-1].suggestFilters;break;case 639:this.$={types:["T"],suggestFilters:n[o-1].suggestFilters};break;case 640:case 1069:case 1074:case 1075:this.$={types:["T"]};break;case 641:case 643:n[o].position=1;break;case 642:n[o].position=n[o-2].position+1,this.$=n[o];break;case 644:n[o-2].position+=1;break;case 645:n[o-2].position=1;break;case 646:n[o-4].position+=1;break;case 647:Ot.valueExpressionSuggest(),n[o-2].position+=1;break;case 648:Ot.valueExpressionSuggest(),n[o-4].position+=1;break;case 649:Ot.suggestValueExpressionKeywords(n[o-3]);break;case 650:case 651:Ot.valueExpressionSuggest(),this.$={cursorAtStart:!0,position:1};break;case 652:case 653:Ot.valueExpressionSuggest(),this.$={position:2};break;case 657:this.$={types:["COLREF"],columnReference:n[o].chain};break;case 658:this.$={types:["NULL"],text:n[o]};break;case 659:var l=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Ot.addFunctionArgumentLocations(l,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=l,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:l,expression:n[o].expressions[n[o].expressions.length-1].expression,types:["UDFREF"]}:this.$={function:l,types:["UDFREF"]};break;case 660:Ot.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 663:n[o].suggestKeywords?this.$={types:["COLREF"],columnReference:n[o],suggestKeywords:n[o].suggestKeywords}:this.$={types:["COLREF"],columnReference:n[o]};break;case 664:l=n[o-1].chain[n[o-1].chain.length-1].name.toLowerCase();Ot.addFunctionArgumentLocations(l,n[o].expressions,n[o-1].chain),n[o-1].lastLoc.type="function",n[o-1].lastLoc.function=l,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&&Ot.applyArgumentTypesToSuggestions(l,n[o].activePosition),this.$={function:l,types:["UDFREF"]};break;case 665:case 1082:case 1083:Ot.addFunctionLocation(r[o-1],n[o-1]),Ot.addFunctionArgumentLocations(n[o-1],n[o].expressions),n[o].activePosition&&Ot.applyArgumentTypesToSuggestions(n[o-1],n[o].activePosition),this.$={function:n[o-1],types:["UDFREF"]};break;case 667:var c=Ot.yy.locations[Ot.yy.locations.length-1];"variable"!==c.type&&(c.type="column");var y=Ot.yy.locations[Ot.yy.locations.length-n[o].length];this.$={chain:n[o],firstLoc:y,lastLoc:c};break;case 674:Ot.suggestValues(n[o]);break;case 675:this.$={types:["NUMBER"],text:n[o]};break;case 681:case 683:case 684:this.$=n[o-1]+n[o];break;case 682:case 685:this.$=n[o-2]+n[o-1]+n[o];break;case 686:this.$=n[o-3]+n[o-2]+n[o-1]+n[o];break;case 687:/\$\{[^}]*\}/.test(n[o])?(Ot.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:"'"+n[o]+"'"}):this.$={types:["STRING"]};break;case 688:/\$\{[^}]*\}/.test(n[o])?(Ot.addVariableLocation(r[o],n[o]),this.$={types:["STRING"],columnReference:[{name:n[o]}],text:'"'+n[o]+'"'}):this.$={types:["STRING"],text:'"'+n[o]+'"'};break;case 689:this.$={types:["BOOLEAN"],text:n[o]};break;case 690:this.$={partialQuote:"'",missingEndQuote:Ot.yy.missingEndQuote};break;case 691:this.$={partialQuote:'"',missingEndQuote:Ot.yy.missingEndQuote};break;case 698:if(this.$=n[o],Ot.yy.latestTablePrimaries.length>0){var g=Ot.yy.latestTablePrimaries.length-1,T=[];do{(p=Ot.yy.latestTablePrimaries[g]).subQueryAlias||T.unshift(p.alias?{identifierChain:p.identifierChain,alias:p.alias}:{identifierChain:p.identifierChain}),g--}while(g>=0&&p.join&&!p.subQueryAlias);T.length>0&&(this.$.suggestJoins={prependJoin:!0,tables:T})}break;case 705:this.$={primary:n[o-1]},n[o-1].identifierChain&&(n[o]&&(n[o-1].alias=n[o].alias,Ot.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain)),Ot.addTablePrimary(n[o-1]));u=[];n[o]?n[o].suggestKeywords&&(u=n[o].suggestKeywords):u=["AS"],u.length>0&&(this.$.suggestKeywords=u);break;case 706:this.$={primary:n[o-1]},n[o]&&(this.$.primary.alias=n[o].alias,Ot.addTablePrimary({subQueryAlias:n[o].alias}),Ot.addSubqueryAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain));u=[];n[o]||(u=["AS"]),u.length>0&&(this.$.suggestKeywords=u);break;case 707:n[o]&&Ot.addTableAliasLocation(n[o].location,n[o].alias,n[o-1].identifierChain);break;case 708:n[o]&&(Ot.addTablePrimary({subQueryAlias:n[o].alias}),Ot.addSubqueryAliasLocation(n[o].location,n[o].alias));break;case 718:Ot.pushQueryState();break;case 719:Ot.popQueryState();break;case 721:n[o-1]&&(n[o-2].alias=n[o-1].alias,Ot.addTablePrimary({subQueryAlias:n[o-1].alias}),Ot.addSubqueryAliasLocation(n[o-1].location,n[o-1].alias,n[o-2].identifierChain)),this.$=n[o-2];break;case 724:var E=Ot.getSubQuery(n[o]);E.columns.forEach((function(e){Ot.expandIdentifierChain({wrapper:e}),delete e.linked})),Ot.popQueryState(E),this.$=E;break;case 741:case 742:case 743:case 744:this.$={alias:n[o],location:r[o]};break;case 751:case 752:Ot.yy.result.suggestFunctions&&Ot.suggestAggregateFunctions();break;case 753:n[o-2]||n[o-1]?n[o-2]||Ot.suggestKeywords(["PARTITION BY"]):Ot.suggestKeywords([{value:"PARTITION BY",weight:2},{value:"ORDER BY",weight:1}]);break;case 754:n[o-1]?Ot.suggestValueExpressionKeywords(n[o-3]):Ot.suggestValueExpressionKeywords(n[o-3],[{value:"ORDER BY",weight:2}]);break;case 763:delete Ot.yy.result.suggestAnalyticFunctions;break;case 764:u=[];n[o-2].suggestKeywords&&(u=Ot.createWeightedKeywords(n[o-2].suggestKeywords,2)),n[o]||(u=u.concat([{value:"RANGE BETWEEN",weight:1},{value:"ROWS BETWEEN",weight:1}])),Ot.suggestKeywords(u);break;case 770:Ot.suggestKeywords(["BETWEEN"]);break;case 771:n[o-2]||n[o-1]?n[o-1]||Ot.suggestKeywords(["AND"]):Ot.suggestKeywords(["CURRENT ROW","UNBOUNDED PRECEDING"]);break;case 776:bt.popState();break;case 777:bt.begin("hdfs");break;case 779:Ot.suggestHdfs({path:n[o-3]});break;case 780:Ot.suggestHdfs({path:n[o-2]});break;case 781:Ot.suggestHdfs({path:n[o-1]});break;case 782:case 783:Ot.suggestHdfs({path:""});break;case 789:Ot.suggestKeywords(["PRECEDING"]);break;case 790:case 795:Ot.suggestKeywords(["ROW"]);break;case 794:Ot.suggestKeywords(["CURRENT ROW","UNBOUNDED FOLLOWING"]);break;case 796:Ot.suggestKeywords(["FOLLOWING"]);break;case 801:case 841:this.$=n[o-2];break;case 804:Ot.addCommonTableExpressions(n[o-3]);break;case 805:case 806:case 852:Ot.addCommonTableExpressions(n[o-2]);break;case 810:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),this.$={selectList:n[o]};break;case 811:Ot.addClauseLocation("selectList",Ot.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 812:if(Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o]),n[o].cursorAtStart){u=Ot.getSelectListKeywords();n[o-1]||(u=u.concat(Ot.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ot.suggestKeywords(u)}else Ot.checkForSelectListKeywords(n[o]);n[o].suggestFunctions&&Ot.suggestFunctions(),n[o].suggestColumns&&Ot.suggestColumns({identifierChain:[],source:"select"}),n[o].suggestTables&&Ot.suggestTables({prependQuestionMark:!0,prependFrom:!0}),n[o].suggestDatabases&&Ot.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0}),!n[o].suggestAggregateFunctions||n[o-1]&&"ALL"!==n[o-1]||(Ot.suggestAggregateFunctions(),Ot.suggestAnalyticFunctions());break;case 813:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-1],r[o-1],n[o-2],r[o-2]),r[o],!0);u=Ot.getSelectListKeywords();n[o-1]&&"ALL"!==n[o-1]||(Ot.suggestAggregateFunctions(),Ot.suggestAnalyticFunctions()),n[o-1]||(u=u.concat(Ot.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ot.suggestKeywords(u),Ot.suggestFunctions(),Ot.suggestColumns({identifierChain:[],source:"select"}),Ot.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Ot.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 814:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]);break;case 815:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Ot.selectListNoTableSuggest(n[o-1],n[o-2]),Ot.yy.result.suggestColumns&&(Ot.yy.result.suggestColumns.source="select");break;case 816:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1],!0);u=Ot.getSelectListKeywords();n[o-2]&&"ALL"!==n[o-2]||(Ot.suggestAggregateFunctions(),Ot.suggestAnalyticFunctions()),n[o-2]||(u=u.concat(Ot.SELECT_FIRST_OPTIONAL_KEYWORDS)),Ot.suggestKeywords(u),Ot.suggestFunctions(),Ot.suggestColumns({identifierChain:[],source:"select"}),Ot.suggestTables({prependQuestionMark:!0,prependFrom:!0}),Ot.suggestDatabases({prependQuestionMark:!0,prependFrom:!0,appendDot:!0});break;case 817:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-3],r[o-3],n[o-4],r[o-4]),r[o-2]),Ot.checkForSelectListKeywords(n[o-2]);break;case 818:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-4],r[o-4],n[o-5],r[o-5]),r[o-3]),Ot.checkForSelectListKeywords(n[o-3]);break;case 819:Ot.addClauseLocation("selectList",Ot.firstDefined(n[o-2],r[o-2],n[o-3],r[o-3]),r[o-1]),Ot.checkForSelectListKeywords(n[o-1]);u=["FROM"];Ot.yy.result.suggestKeywords&&(u=Ot.yy.result.suggestKeywords.concat(u)),Ot.suggestKeywords(u),Ot.suggestTables({prependFrom:!0}),Ot.suggestDatabases({prependFrom:!0,appendDot:!0});break;case 823:case 824:Ot.addClauseLocation("whereClause",r[o-1],n[o].whereClauseLocation),Ot.addClauseLocation("limitClause",n[o].limitClausePreceding||r[o-1],n[o].limitClauseLocation);break;case 825:u=[];if(Ot.addClauseLocation("whereClause",r[o-3],n[o-1].whereClauseLocation),Ot.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=Ot.createWeightedKeywords(n[o-3].suggestKeywords,3)),n[o-3].tableReferenceList.suggestJoinConditions&&Ot.suggestJoinConditions(n[o-3].tableReferenceList.suggestJoinConditions),n[o-3].tableReferenceList.suggestJoins&&Ot.suggestJoins(n[o-3].tableReferenceList.suggestJoins),n[o-3].tableReferenceList.suggestKeywords&&(u=u.concat(Ot.createWeightedKeywords(n[o-3].tableReferenceList.suggestKeywords,3))),u.forEach((function(e){"TABLESAMPLE"===e.value&&(e.weight=1.1)})),n[o-3].tableReferenceList.types)){var d=Ot.getValueExpressionKeywords(n[o-3].tableReferenceList);u=u.concat(d.suggestKeywords),d.suggestColRefKeywords&&(Ot.suggestColRefKeywords(d.suggestColRefKeywords),Ot.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 Ot.suggestKeywords(u);n[o-1].suggestKeywords&&(u=u.concat(Ot.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].suggestFilters&&Ot.suggestFilters(n[o-1].suggestFilters),n[o-1].suggestGroupBys&&Ot.suggestGroupBys(n[o-1].suggestGroupBys),n[o-1].suggestOrderBys&&Ot.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}]),Ot.suggestKeywords(u);break;case 826:if(!n[o-1])return Ot.addClauseLocation("whereClause",r[o-2]),void Ot.addClauseLocation("limitClause",r[o-2]);Ot.addClauseLocation("whereClause",r[o-2],n[o-1].whereClauseLocation),Ot.addClauseLocation("limitClause",n[o-1].limitClausePreceding||r[o-2],n[o-1].limitClauseLocation);u=[];n[o-1].suggestColRefKeywords&&(Ot.suggestColRefKeywords(n[o-1].suggestColRefKeywords),Ot.addColRefIfExists(n[o-1])),n[o-1].suggestKeywords&&n[o-1].suggestKeywords.length&&(u=u.concat(Ot.createWeightedKeywords(n[o-1].suggestKeywords,2))),n[o-1].cursorAtEnd&&u.push({value:"UNION",weight:2.11}),Ot.suggestKeywords(u);break;case 827:this.$=[n[o]];break;case 828:n[o-2].push(n[o]);break;case 830:case 831:this.$={cursorAtStart:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 833:Ot.checkForSelectListKeywords(n[o-2]);break;case 834:Ot.checkForSelectListKeywords(n[o-3]);break;case 835:this.$={suggestKeywords:Ot.getSelectListKeywords(),suggestTables:!0,suggestDatabases:!0,suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 837:case 838:case 840:this.$={suggestKeywords:Ot.getSelectListKeywords(),suggestFunctions:!0,suggestColumns:!0,suggestAggregateFunctions:!0};break;case 842:n[o]?(Ot.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]),this.$={valueExpression:n[o-1],alias:n[o].alias},Ot.yy.selectListAliases||(Ot.yy.selectListAliases=[]),Ot.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 843:Ot.addAsteriskLocation(r[o],[{asterisk:!0}]),this.$={asterisk:!0};break;case 844:n[o]&&Ot.addColumnAliasLocation(n[o].location,n[o].alias,r[o-1]);break;case 845:Ot.suggestFunctions(),Ot.suggestColumns(),Ot.addColumnAliasLocation(r[o],n[o],r[o-2]),this.$={suggestAggregateFunctions:!0};break;case 850:this.$=n[o-2].concat([n[o]]);break;case 854:Ot.addCommonTableExpressions(n[o-4]);break;case 855:Ot.addCteAliasLocation(r[o-4],n[o-4]),n[o-1].alias=n[o-4],this.$=n[o-1];break;case 856:Ot.suggestKeywords(["AS"]);break;case 859:this.$={tableReferenceList:n[o]};break;case 860:case 868:Ot.suggestTables(),Ot.suggestDatabases({appendDot:!0});break;case 871:this.$={valueExpression:n[o]};break;case 872:case 974:Ot.suggestSelectListAliases();break;case 873:Ot.valueExpressionSuggest(),Ot.suggestSelectListAliases(),Ot.suggestGroupBys({tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 874:Ot.suggestKeywords(["BY"]),Ot.suggestGroupBys({prefix:"BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 901:Ot.valueExpressionSuggest(),Ot.suggestAggregateFunctions(),Ot.suggestSelectListAliases(!0);break;case 902:Ot.suggestAggregateFunctions(),Ot.suggestSelectListAliases(!0);break;case 906:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-2],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Ot.yy.latestTablePrimaries.length>0&&(Ot.yy.latestTablePrimaries[Ot.yy.latestTablePrimaries.length-1].join=!0);break;case 907:n[o]&&n[o].valueExpression?this.$=n[o].valueExpression:this.$={},this.$.joinType=n[o-3],n[o].noJoinCondition&&(this.$.suggestJoinConditions={prependOn:!0,tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),n[o].suggestKeywords&&(this.$.suggestKeywords=n[o].suggestKeywords),Ot.yy.latestTablePrimaries.length>0&&(Ot.yy.latestTablePrimaries[Ot.yy.latestTablePrimaries.length-1].join=!0);break;case 908:this.$={joinType:n[o]};break;case 909:this.$={joinType:n[o-1]};break;case 910:n[o-2].suggestKeywords&&Ot.suggestKeywords(n[o-2].suggestKeywords);break;case 911:n[o].suggestKeywords&&Ot.suggestKeywords(n[o].suggestKeywords);break;case 914:if(Ot.yy.latestTablePrimaries.length>0){g=Ot.yy.latestTablePrimaries.length-1,T=[];do{var p;(p=Ot.yy.latestTablePrimaries[g]).subQueryAlias||T.unshift(p.alias?{identifierChain:p.identifierChain,alias:p.alias}:{identifierChain:p.identifierChain}),g--}while(g>=0&&p.join&&!p.subQueryAlias);T.length>0&&Ot.suggestJoins({prependJoin:!1,joinType:n[o-2],tables:T})}Ot.suggestTables(),Ot.suggestDatabases({appendDot:!0});break;case 919:this.$="CROSS JOIN";break;case 920:this.$="FULL JOIN";break;case 921:this.$="FULL OUTER JOIN";break;case 922:this.$="INNER JOIN";break;case 923:this.$="JOIN";break;case 924:this.$="LEFT INNER JOIN";break;case 925:this.$="LEFT JOIN";break;case 926:this.$="LEFT OUTER JOIN";break;case 927:this.$="LEFT SEMI JOIN";break;case 928:this.$="OUTER JOIN";break;case 929:case 931:this.$="RIGHT OUTER JOIN";break;case 930:this.$="RIGHT JOIN";break;case 932:this.$="RIGHT SEMI JOIN";break;case 933:this.$="SEMI JOIN";break;case 934:case 936:case 937:case 939:case 940:case 941:case 942:case 944:case 945:case 946:case 947:this.$={suggestKeywords:["JOIN"]};break;case 935:case 938:case 943:this.$={suggestKeywords:["OUTER"]};break;case 948:this.$={noJoinCondition:!0,suggestKeywords:["ON"]};break;case 949:this.$={valueExpression:n[o]};break;case 953:Ot.valueExpressionSuggest(),Ot.suggestJoinConditions({prependOn:!1});break;case 960:Ot.suggestKeywords([{value:"10",weight:1e4},{value:"100",weight:1e4},{value:"1000",weight:1e4},{value:"5000",weight:1e4},{value:"10000",weight:1e4}]);break;case 964:n[o].emptyOrderBy&&Ot.suggestOrderBys({tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 965:Ot.suggestKeywords(["BY"]),Ot.suggestOrderBys({prefix:"BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 969:this.$={emptyOrderBy:!1},Ot.valueExpressionSuggest(),Ot.suggestAnalyticFunctions(),Ot.suggestSelectListAliases();break;case 970:case 971:case 972:this.$={emptyOrderBy:!1};break;case 973:this.$=Ot.mergeSuggestKeywords(n[o]);break;case 975:this.$={emptyOrderBy:!0},Ot.valueExpressionSuggest(),Ot.suggestAnalyticFunctions(),Ot.suggestSelectListAliases();break;case 976:this.$={suggestKeywords:["ASC","DESC"]};break;case 979:(u=Ot.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=Ot.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:Ot.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||n[o]||(this.$.suggestGroupBys={prefix:"GROUP BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),n[o-1]||n[o]||(this.$.suggestOrderBys={prefix:"ORDER BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 980:Ot.yy.result.suggestColumns&&(Ot.yy.result.suggestColumns.source="where");break;case 981:Ot.yy.result.suggestColumns&&(Ot.yy.result.suggestColumns.source="group by");break;case 983:Ot.yy.result.suggestColumns&&(Ot.yy.result.suggestColumns.source="order by");break;case 985:u=Ot.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(Ot.createWeightedKeywords(n[o-5].suggestKeywords,1))),this.$=Ot.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]||Ot.suggestGroupBys({prefix:"GROUP BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),n[o-3]||n[o-2]||n[o-1]||Ot.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ot.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 986:u=Ot.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(Ot.createWeightedKeywords(n[o-4].suggestKeywords,8))),n[o-4].valueExpression?(this.$=Ot.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]||Ot.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ot.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 987:u=Ot.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]||Ot.suggestOrderBys({prefix:"ORDER BY",tablePrimaries:Ot.yy.latestTablePrimaries.concat()}),this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ot.firstDefined(n[o-1],r[o-1],n[o-3],r[o-3]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 988:u=Ot.getKeywordsForOptionalsLR([n[o]],[{value:"LIMIT",weight:3}],[!0]);n[o-2].suggestKeywords&&(u=u.concat(Ot.createWeightedKeywords(n[o-2].suggestKeywords,4))),this.$={suggestKeywords:u,cursorAtEnd:!n[o]},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ot.firstDefined(n[o-2],r[o-2]),this.$.limitClauseLocation=n[o]?r[o]:void 0;break;case 989:this.$={suggestKeywords:[],cursorAtEnd:!0},this.$.whereClauseLocation=n[o-5]?r[o-5]:void 0,this.$.limitClausePreceding=Ot.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 1e3:Ot.suggestKeywords(["ALL","DISTINCT","SELECT"]);break;case 1001:Ot.suggestKeywords(["ALL","DISTINCT"]);break;case 1006:n[o].suggestFilters&&Ot.suggestFilters({tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 1007:Ot.suggestFunctions(),Ot.suggestColumns(),Ot.suggestKeywords(["EXISTS","NOT EXISTS"]),Ot.suggestFilters({tablePrimaries:Ot.yy.latestTablePrimaries.concat()});break;case 1019:n[o]||(n[o-1].suggestKeywords=["OVER"]);break;case 1026:Ot.suggestKeywords(["OVER"]);break;case 1035:this.$={function:n[o-3],types:["UDFREF"]};break;case 1036:case 1054:Ot.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 1037:Ot.valueExpressionSuggest();u=Ot.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Ot.yy.result.suggestKeywords&&(u=Ot.yy.result.suggestKeywords.concat(u)),Ot.suggestKeywords(u),Ot.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 1038:case 1052:Ot.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-5],types:["UDFREF"]};break;case 1039:if(n[o-1].cursorAtStart){u=Ot.getSelectListKeywords(!0);n[o-2]||("group_concat"===n[o-4].toLowerCase()?u.push("ALL"):u.push("DISTINCT")),Ot.yy.result.suggestKeywords&&(u=Ot.yy.result.suggestKeywords.concat(u)),Ot.suggestKeywords(u)}Ot.yy.result.suggestFunctions&&!Ot.yy.result.suggestFunctions.types&&Ot.applyArgumentTypesToSuggestions(n[o-4],n[o-1].activePosition),this.$={function:n[o-4],types:["UDFREF"]};break;case 1048:Ot.addFunctionArgumentLocations(n[o-3],[{expression:{text:n[o-1]},location:r[o-1]}]),this.$={function:n[o-3],types:["UDFREF"]};break;case 1049:case 1055:this.$={function:n[o-2],types:["UDFREF"]};break;case 1050:Ot.addFunctionArgumentLocations(n[o-4],n[o-1].expressions),this.$={function:n[o-4],types:["UDFREF"]};break;case 1051:Ot.valueExpressionSuggest();u=Ot.getSelectListKeywords();n[o-2]||(u.push("DISTINCT"),Ot.yy.result.suggestKeywords&&(u=Ot.yy.result.suggestKeywords.concat(u))),Ot.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 1053:if(n[o-1].cursorAtStart){u=Ot.getSelectListKeywords();n[o-2]||u.push("DISTINCT"),Ot.suggestKeywords(u)}this.$={function:n[o-4],types:["UDFREF"]};break;case 1056:Ot.valueExpressionSuggest(),Ot.applyArgumentTypesToSuggestions(n[o-4],1);u=Ot.getSelectListKeywords(!0);n[o-2]||u.push("DISTINCT"),Ot.yy.result.suggestKeywords&&(u=Ot.yy.result.suggestKeywords.concat(u)),Ot.suggestKeywords(u),this.$={function:n[o-4],types:["UDFREF"]};break;case 1057:Ot.suggestValueExpressionKeywords(n[o-2]),this.$={function:n[o-5],types:["UDFREF"]};break;case 1058:Ot.yy.result.suggestFunctions&&!Ot.yy.result.suggestFunctions.types&&Ot.applyArgumentTypesToSuggestions(n[o-4],1),this.$={function:n[o-4],types:["UDFREF"]};break;case 1059:this.$={function:n[o-2],types:["UDFREF"]};break;case 1060:Ot.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 1061:Ot.valueExpressionSuggest(),Ot.applyArgumentTypesToSuggestions(n[o-3],1),this.$={function:n[o-3],types:["UDFREF"]};break;case 1062:Ot.addFunctionArgumentLocations(n[o-4],n[o-2].expressions),Ot.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$={function:n[o-4],types:["UDFREF"]};break;case 1063:Ot.addFunctionArgumentLocations(n[o-3],n[o-1].expressions),Ot.applyArgumentTypesToSuggestions(n[o-3],n[o-1].activePosition),this.$={function:n[o-3],types:["UDFREF"]};break;case 1068:var h=n[o-3];Ot.extractExpressionText(h,n[o-3],n[o-2],n[o-1]),Ot.addFunctionArgumentLocations(n[o-5],[{expression:h,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 1070:Ot.valueExpressionSuggest(),this.$={types:[n[o-1].toUpperCase()]};break;case 1071:case 1072:Ot.valueExpressionSuggest(),this.$={types:["T"]};break;case 1073:this.$={types:[n[o-1].toUpperCase()]};break;case 1076:Ot.suggestValueExpressionKeywords(n[o-3],[{value:"AS",weight:2}]),this.$={types:[n[o-1].toUpperCase()]};break;case 1077:Ot.suggestValueExpressionKeywords(n[o-2],[{value:"AS",weight:2}]),this.$={types:["T"]};break;case 1078:case 1079:Ot.suggestKeywords(Ot.getTypeKeywords()),this.$={types:["T"]};break;case 1080:case 1081:Ot.addFunctionLocation(r[o-1],n[o-1]),Ot.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 1086:Ot.valueExpressionSuggest(),this.$={activePosition:1,expressions:[{expression:{text:""},location:r[o-1]}]};break;case 1087:Ot.suggestValueExpressionKeywords(n[o-2].expressions[n[o-2].expressions.length-1].expression),this.$=n[o-3];break;case 1089:case 1091:this.$={activePosition:1,expressions:[{expression:n[o],location:r[o]}]};break;case 1090:case 1092:this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:n[o],location:r[o]}])};break;case 1093:this.$={activePosition:1,expressions:[{expression:n[o-2],location:r[o-2]}].concat(n[o].expressions)};break;case 1094: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 1095:Ot.valueExpressionSuggest(),this.$={activePosition:n[o-2].activePosition+1,expressions:n[o-2].expressions.concat([{expression:{text:""},location:r[o]}])};break;case 1096:Ot.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 1097:Ot.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 1098:Ot.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 1099:Ot.valueExpressionSuggest(),this.$={cursorAtStart:!0,activePosition:1,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 1100:Ot.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-1]},{expression:{text:""},location:r[o]}]};break;case 1101:Ot.valueExpressionSuggest(),this.$={activePosition:2,expressions:[{expression:{text:""},location:r[o-3]},{expression:{text:""},location:r[o-2]}].concat(n[o].expressions)};break;case 1113:Ot.suggestKeywords(["TABLES","STREAMS","TOPICS","QUERIES","PROPERTIES"]);break;case 1115:this.$={inValueEdit:!0};break;case 1116:this.$={inValueEdit:!0,cursorAtStart:!0};break;case 1117:case 1118:case 1119:this.$={suggestKeywords:["NOT"]},Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 1123:case 1124:case 1125:Ot.suggestFunctions({types:["STRING"]}),Ot.suggestColumns({types:["STRING"]}),this.$={types:["BOOLEAN"]};break;case 1126:this.$=Ot.findCaseType(n[o-1]),Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 1127:n[o-3].caseTypes.push(n[o-1]),this.$=Ot.findCaseType(n[o-3]),Ot.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1128:this.$=Ot.findCaseType(n[o-1]);break;case 1129:Ot.suggestValueExpressionKeywords(n[o-1],["END"]),n[o-3].caseTypes.push(n[o-1]),this.$=Ot.findCaseType(n[o-3]);break;case 1130:n[o-3].caseTypes.push(n[o-1]),this.$=Ot.findCaseType(n[o-3]);break;case 1131:this.$=Ot.findCaseType(n[o-2]);break;case 1132:"end"!==n[o].toLowerCase()?Ot.suggestValueExpressionKeywords(n[o-3],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Ot.suggestValueExpressionKeywords(n[o-3],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Ot.findCaseType(n[o-3]);break;case 1133:"end"!==n[o].toLowerCase()?Ot.suggestValueExpressionKeywords(n[o-2],[{value:"END",weight:3},{value:"ELSE",weight:2},{value:"WHEN",weight:1}]):Ot.suggestValueExpressionKeywords(n[o-2],[{value:"ELSE",weight:2},{value:"WHEN",weight:1}]),this.$=Ot.findCaseType(n[o-2]);break;case 1134:n[o-3].caseTypes.push(n[o-1]),this.$=Ot.findCaseType(n[o-3]),this.$.suggestFilters=n[o-1].suggestFilters;break;case 1135:Ot.valueExpressionSuggest(),this.$=Ot.findCaseType(n[o-3]);break;case 1136:Ot.valueExpressionSuggest(),this.$={types:["T"],typeSet:!0};break;case 1137:Ot.valueExpressionSuggest(),Ot.suggestKeywords(["WHEN"]),this.$=n[o-1];break;case 1138:Ot.valueExpressionSuggest(),Ot.suggestKeywords(["WHEN"]),this.$={types:["T"]};break;case 1141:this.$={caseTypes:[n[o]],lastType:n[o]},Ot.extractExpressionText(this.$,n[o]);break;case 1142:n[o-1].caseTypes.push(n[o]),this.$={caseTypes:n[o-1].caseTypes,lastType:n[o]},Ot.extractExpressionText(this.$,n[o-1],n[o]);break;case 1146:Ot.suggestValueExpressionKeywords(n[o-2],["WHEN"]);break;case 1148:this.$=n[o],Ot.extractExpressionText(this.$,n[o-3],n[o-2],n[o-1],n[o]);break;case 1149:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o].suggestFilters};break;case 1150:this.$={caseTypes:[{types:["T"]}],suggestFilters:n[o-1].suggestFilters};break;case 1151:this.$={caseTypes:[n[o]],suggestFilters:n[o-2].suggestFilters};break;case 1152:case 1153:this.$={caseTypes:[n[o]],suggestFilters:n[o].suggestFilters};break;case 1154:Ot.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1155:Ot.suggestKeywords(["WHEN"]),this.$={caseTypes:[n[o]]};break;case 1156:case 1157:Ot.valueExpressionSuggest(),Ot.suggestKeywords(["WHEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1158:case 1160:Ot.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1159:Ot.valueExpressionSuggest(),Ot.suggestKeywords(["THEN"]),this.$={caseTypes:[{types:["T"]}],suggestFilters:!0};break;case 1161:Ot.valueExpressionSuggest(),this.$={caseTypes:[n[o]],suggestFilters:!0};break;case 1162:Ot.suggestValueExpressionKeywords(n[o-1],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1163:Ot.suggestValueExpressionKeywords(n[o-2],["THEN"]),this.$={caseTypes:[{types:["T"]}]};break;case 1164:case 1165:case 1166:case 1167:Ot.valueExpressionSuggest(),this.$={caseTypes:[{types:["T"]}]}}},table:[e(s,t,{165:1,166:2}),{1:[3]},e(a,n,{167:3,171:4,26:5,151:6,135:7,27:8,28:9,29:10,30:11,31:12,32:13,33:14,34:15,35:16,152:20,401:21,174:22,153:26,4:r,9:o,15:u,36:l,42:c,149:y,156:g,406:T,419:E}),{168:[1,30],172:[1,31]},e(a,[2,255]),e(a,[2,261]),e(a,[2,262]),e(a,[2,263]),e(a,[2,21]),e(a,[2,22]),e(a,[2,23]),e(a,[2,24]),e(a,[2,25]),e(a,[2,26]),e(a,[2,27]),e(a,[2,28]),e(a,[2,29]),{37:32,162:[1,33],163:[1,34],164:[1,35]},{38:[1,36],39:37,46:38,50:d,103:p,176:41,177:h,178:I,179:L},{43:45,162:[1,46],163:[1,47],164:[1,48],484:[1,49],485:[1,50]},e(a,[2,232]),e(A,f,{402:51,457:52,459:53,251:N}),{69:[1,56],401:55,406:T},{44:57,50:[1,58],51:[1,59],137:[1,60],203:C,240:R},{44:63,50:[1,64],51:[1,65],137:[1,66],203:C,240:R},{51:[1,67]},e(a,[2,233]),e([23,24,50,69,85,86,97,102,103,149,177,178,179,181,182,183,184,187,188,192,193,197,198,200,210,211,219,227,228,243,244,246,250,252,253,254,255,257],S,{407:68,38:O,206:b}),{46:74,50:d,103:p,109:73,176:41,177:h,178:I,179:L,193:m,420:71,422:72},{157:[1,76]},{1:[2,250]},e(s,t,{166:77}),e(a,[2,30]),e(a,[2,246]),e(a,[2,247]),e(a,[2,248]),e(a,[2,31]),{40:[1,78],184:[1,79]},e(x,[2,1010]),e(D,[2,273]),e(D,[2,274]),e(D,[2,275]),e(D,[2,270]),e(D,[2,271]),e(D,[2,272]),e(a,[2,33]),e(a,[2,1108]),e(a,[2,1109]),e(a,[2,1110]),e(a,[2,1111]),e(a,[2,1112]),e(A,[2,799]),e(A,[2,991],{459:80,251:N}),e(k,[2,993]),e([38,206,406],t,{166:81}),e(A,f,{457:52,459:53,402:82,251:N}),{135:83,174:22,401:21,406:T,419:E},e(_,w,{45:84,219:F}),{46:86,50:d,103:p,176:41,177:h,178:I,179:L},e(B,w,{45:87,219:F}),e(B,w,{45:88,219:F}),e(v,[2,390]),e(v,[2,391]),e(B,P,{144:89,219:M}),{46:91,50:d,103:p,176:41,177:h,178:I,179:L},e(B,P,{144:92,219:M}),e(B,P,{144:93,219:M}),e(B,P,{144:94,219:M}),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:97,149:Y,176:41,177:h,178:I,179:L,181:W,182:J,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,408:95,417:96,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(he,[2,821]),e(he,[2,822]),e([69,406],[2,847],{75:[1,153]}),e(Ie,[2,849]),{133:[1,154]},e(D,[2,480]),{25:[1,155],193:[1,156]},e(B,[2,244],{158:157,51:[1,158]}),e(a,n,{171:4,26:5,151:6,135:7,27:8,28:9,29:10,30:11,31:12,32:13,33:14,34:15,35:16,152:20,401:21,174:22,153:26,167:159,4:r,9:o,15:u,36:l,42:c,149:y,156:g,406:T,419:E}),{20:163,23:U,24:K,41:160,46:161,50:d,86:[1,166],103:p,176:41,177:h,178:I,179:L,183:[1,168],184:X,211:[1,165],250:[1,164],252:ge,253:Te,262:170,265:171,331:162,332:167,333:[1,169],338:129,339:130},{46:172,50:d,103:p,176:41,177:h,178:I,179:L},e(k,[2,994]),{38:O,206:b,406:S,407:173},e(A,[2,800]),{71:[1,174]},e(a,[2,34],{176:41,46:175,50:d,103:p,177:h,178:I,179:L}),{85:[1,176]},e(a,[2,43]),{46:74,50:d,52:177,54:178,60:179,103:p,109:180,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,60:181,103:p,109:180,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,103:p,109:182,176:41,177:h,178:I,179:L,193:m},{210:[1,183]},e(a,[2,209]),{46:74,50:d,66:184,103:p,109:185,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,66:186,103:p,109:185,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,66:187,103:p,109:185,176:41,177:h,178:I,179:L,193:m},e(k,[2,810],{409:188,412:190,75:[1,189],214:[1,191]}),e(Le,[2,827]),e(Le,Ae,{176:41,46:74,262:170,265:171,352:192,314:206,109:207,20:208,23:U,24:K,40:fe,50:d,65:Ne,85:Ce,98:Re,99:Se,103:p,132:Oe,133:be,177:h,178:I,179:L,182:me,183:xe,189:De,190:ke,193:m,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Le,[2,843]),e(Me,[2,524]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:213,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:214,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:215,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:216,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{69:Ue,310:217},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:219,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:221,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,258:Ke,262:131,265:132,280:107,300:113,308:99,315:220,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135,486:222,488:223},e(Me,[2,656]),e(Me,[2,657],{324:225,69:$e}),e(Me,[2,658]),{69:$e,324:227},e(Me,[2,661]),e(Me,[2,673]),e(Ge,[2,667],{184:[1,228]}),{69:[2,1064]},{69:[2,1065]},{69:[2,1066]},{69:[2,1067]},e(Me,[2,1102],{464:229,466:230,233:Ve}),{233:Ve,466:232},e(Me,[2,1021]),e(Me,[2,675]),e(Me,[2,676]),e(He,[2,494]),e(Qe,[2,1029]),e(Qe,[2,1030]),e(Qe,[2,1031]),{69:[1,233]},{69:[1,234]},e(Me,[2,678]),e(Me,[2,679]),e(Me,[2,687]),e(Me,[2,688]),e(Me,[2,689]),e([19,23,24,40,50,65,69,71,75,85,97,98,99,102,103,119,132,133,168,172,177,178,179,182,183,184,189,190,191,193,194,195,196,199,201,204,205,207,208,209,212,214,215,216,217,220,221,222,223,224,225,226,230,231,232,235,236,237,239,241,242,245,247,248,249,251,256,258,259,313],[2,504]),{69:[1,235]},{69:[1,236]},{69:[1,237]},e(Me,[2,680],{184:[1,238]}),{252:[1,239],253:[1,240]},{252:[1,241]},{23:[1,243],25:[1,242]},{24:[1,245],25:[1,244]},e(Me,[2,692]),e(Me,[2,693]),{69:[2,1040]},{69:[2,1041]},{69:[2,1042]},{69:[2,1043]},{69:[2,1044]},{69:[2,1045]},{69:[2,1046]},{69:[2,1047]},{46:74,50:d,103:p,109:73,176:41,177:h,178:I,179:L,193:m,422:246},{69:[1,247]},{193:[1,248]},e(D,[2,482]),{46:74,50:d,66:249,103:p,109:185,176:41,177:h,178:I,179:L,193:m},e(B,[2,245]),e(a,[2,256]),e(a,[2,32]),e(a,[2,1012]),e(a,[2,1013],{176:41,46:250,50:d,103:p,177:h,178:I,179:L}),e(a,[2,1015]),e(a,[2,1016]),e(a,[2,1017]),e(a,[2,1018]),e(_,[2,670]),{184:X,252:ge,253:Te,332:251,338:129,339:130},{184:X,252:ge,253:Te,332:252,338:129,339:130},e(Ye,[2,398]),e(Ye,[2,399]),e(x,[2,1011]),{401:253,406:T},e(A,f,{457:52,459:53,402:254,251:N}),e(a,We,{47:255,17:256,18:257,19:Je}),{210:[1,259]},e(a,[2,44]),e(je,[2,140],{55:260,114:261,115:[1,262]}),e(Xe,[2,56],{61:263,64:264,65:[1,265],69:[1,266]}),e(qe,[2,462],{184:[1,267]}),e(ze,[2,192],{138:268,140:269,69:[1,270]}),e(a,[2,405],{145:271,272:[1,272]}),e(B,[2,408]),e(a,[2,216],{147:273,148:[1,274]}),e(Ze,[2,457],{184:[1,275]}),e(a,[2,218]),e(a,[2,224]),e(k,[2,811]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:97,149:Y,176:41,177:h,178:I,179:L,181:W,182:J,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,417:276,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(es,[2,1003],{413:277,454:278,456:279,259:[1,280]}),{46:74,50:d,66:288,69:Ue,103:p,109:185,176:41,177:h,178:I,179:L,193:m,310:289,341:282,342:283,345:284,346:285,351:286,353:287,424:281},e(Le,[2,842]),e(ss,[2,694],{309:290,85:[1,291]}),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:292,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:293,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:294,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:295,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{65:Ne,194:[1,297],220:[1,296],235:ve,237:Pe,314:298},{69:[1,299]},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:300,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:301,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:302,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:303,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:304,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:305,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Me,[2,550]),e(ts,[2,741]),e(ts,[2,742]),{20:307,23:U,24:K,46:74,50:d,103:p,109:306,176:41,177:h,178:I,179:L,193:m,262:170,265:171},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:308,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:309,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:310,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(is,[2,525],{314:206,40:fe,65:Ne,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(is,[2,526],{314:206,40:fe,65:Ne,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(is,[2,527],{314:206,40:fe,65:Ne,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(as,[2,528],{314:206}),e(Me,[2,533]),e(ns,rs,{310:289,311:311,353:312,359:313,69:Ue}),{40:fe,65:Ne,71:[1,314],85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,314:206},e(Me,[2,552]),{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,258:Ke,314:206,315:315,486:222,488:223},{208:[1,317],209:[1,316],258:Ke,488:318},e(os,[2,1141]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:319,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Me,[2,659]),{23:U,24:K,46:74,50:d,69:$,71:[1,320],77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:322,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135,480:321},e(Me,[2,660]),{46:74,50:d,77:324,103:p,109:134,176:41,177:h,178:I,179:L,182:[1,323],193:m},e(Me,[2,1019]),e(Me,[2,1103]),{46:74,50:d,69:[1,327],103:p,109:325,176:41,177:h,178:I,179:L,193:m,376:326},e(Me,[2,1020]),{23:U,24:K,46:74,50:d,69:$,71:[1,328],77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:322,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135,480:329},{23:U,24:K,46:74,50:d,69:$,71:[1,331],77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:330,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e([23,24,50,69,71,85,86,97,102,103,149,177,178,179,181,183,184,187,188,192,193,197,198,200,210,211,219,227,228,243,244,246,250,252,253,254,255,257],S,{407:332,38:O,206:b}),e(us,S,{407:335,38:O,71:[1,334],182:[1,333],206:b}),e(us,S,{407:336,38:O,71:[1,337],206:b}),e(Me,[2,681],{252:[1,338],253:[1,339]}),e(Me,[2,683]),{252:[1,340]},e(Me,[2,684]),{23:[1,341]},e(ls,[2,393]),{24:[1,342]},e(ls,[2,396]),e(Ie,[2,850]),e(ns,rs,{359:313,311:343}),e(D,[2,481]),{130:[1,344]},e(a,[2,1014]),e(_,[2,671]),e(_,[2,672]),e(k,[2,999]),e(A,[2,801]),e(a,[2,35]),e(a,[2,41]),e([71,75,99,133,168,172],[2,14]),{20:345,23:U,24:K,262:170,265:171},e([50,103,168,172,177,178,179,193],[2,411]),e(a,[2,178],{56:346,133:[1,347]}),e(je,[2,141]),{116:[1,348]},e(Xe,[2,53]),e(Xe,[2,57]),{46:74,50:d,66:349,103:p,109:185,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,70:350,74:351,77:352,103:p,109:134,176:41,177:h,178:I,179:L,193:m},{46:74,50:d,103:p,109:353,176:41,177:h,178:I,179:L,193:m},{17:354,18:257,19:Je,133:We},e(ze,[2,193]),{46:74,50:d,77:123,103:p,109:134,141:355,143:356,176:41,177:h,178:I,179:L,193:m,300:357},e(a,[2,202]),e(a,[2,406]),e(a,[2,210]),e(a,[2,217]),{46:74,50:d,103:p,109:358,176:41,177:h,178:I,179:L,193:m},e(Le,[2,828]),e(k,[2,823]),e(cs,[2,869],{426:359,427:360,216:[1,361]}),e(es,[2,1004]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:363,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,461:362,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e([71,168,172,216,217,226,231,251,259],[2,859],{75:[1,364]}),e(ys,[2,862]),e(ys,[2,696]),e(ys,[2,698],{349:365,439:366,201:gs,215:Ts,221:Es,224:ds,225:ps,232:hs,236:Is,241:Ls}),e(ys,[2,699]),e(As,Ae,{176:41,46:74,262:170,265:171,109:207,20:208,352:375,23:U,24:K,50:d,103:p,133:be,177:h,178:I,179:L,193:m}),e(As,Ae,{176:41,46:74,262:170,265:171,109:207,20:208,352:376,23:U,24:K,50:d,103:p,133:be,177:h,178:I,179:L,193:m}),e(fs,[2,710]),e(fs,[2,712]),{86:[1,377],206:[1,380],211:[1,379],250:[1,378]},e(ss,[2,695]),e(Ns,[2,535],{314:206,65:Ne,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(Ns,[2,536],{314:206,65:Ne,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(Ns,[2,537],{314:206,65:Ne,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(Ns,[2,538],{314:206,65:Ne,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),{69:[1,381]},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:382,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Me,[2,551]),e(ns,rs,{176:41,46:74,308:99,280:107,323:108,325:110,326:111,334:112,300:113,463:118,465:119,467:120,332:121,336:122,77:123,473:124,474:125,475:126,338:129,339:130,262:131,265:132,340:133,109:134,479:135,359:313,311:383,312:384,128:385,23:U,24:K,50:d,69:$,85:G,86:V,97:H,102:Q,103:p,149:Y,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe}),{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,313:[1,386],314:206},e(Cs,[2,545],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,194:_e,220:we,223:Fe,235:ve,237:Pe}),e(Cs,[2,546],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,194:_e,220:we,223:Fe,235:ve,237:Pe}),e(as,[2,547],{314:206,65:Ne,220:we,223:Fe,235:ve,237:Pe}),e(as,[2,548],{314:206,65:Ne,220:we,223:Fe,235:ve,237:Pe}),e(as,[2,549],{314:206,65:Ne,220:we,223:Fe,235:ve,237:Pe}),e(ts,[2,743]),e(ts,[2,744]),e(as,[2,1117],{314:206}),e(as,[2,1118],{314:206}),e(as,[2,1119],{314:206}),{71:[1,387]},{20:208,23:U,24:K,46:74,50:d,71:Ae,103:p,109:207,133:be,176:41,177:h,178:I,179:L,193:m,262:170,265:171,352:388},{135:396,174:22,362:389,364:390,366:391,368:392,370:393,372:394,374:395,401:21,406:T,419:E},e(Me,[2,534]),e(Me,[2,553]),e(Me,[2,1126]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:397,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(os,[2,1142]),{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,247:[1,398],314:206},e(Me,[2,1084]),{71:[1,399],75:Rs},e(Ss,[2,1089],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Ge,[2,668]),e(He,[2,495]),e(Me,[2,1105]),e(Me,[2,1106]),e(Os,[2,755],{377:401,382:402,115:[1,403]}),{233:[2,1059]},{71:[1,404],75:Rs},{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,133:[1,405],182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,314:206},e(Me,[2,1069]),{23:U,24:K,46:74,50:d,69:$,71:[1,406],77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:322,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135,480:407},{71:[1,408]},e(Qe,[2,1049]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:322,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135,480:409},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:410,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Qe,[2,1055]),e(Me,[2,682]),{252:[1,411]},e(Me,[2,685]),e(ls,[2,392]),e(ls,[2,395]),{71:[1,412]},{69:bs,159:413,160:414},e([19,71,75,85,86,99,133,168,172],[2,15]),e(a,[2,48]),e(ns,[2,182],{134:416}),{117:417,119:[1,418]},e(Xe,[2,58]),{71:[1,419],75:[1,420]},e(Ss,[2,64]),{78:421,87:422,88:423,89:424,90:425,91:426,92:427,93:428,97:ms,102:xs,103:Ds,195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},e(qe,[2,463]),{133:[1,444]},{71:[1,445],75:[1,446]},e(Ss,We,{18:257,17:447,19:Je}),e(Vs,[2,491],{184:[1,448]}),e(Ze,[2,458]),e(Hs,[2,898],{435:449,436:450,217:[1,451]}),e(cs,[2,870]),{116:[1,452]},e(es,[2,1005]),e(es,[2,1008],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),{46:74,50:d,66:288,69:Ue,103:p,109:185,176:41,177:h,178:I,179:L,193:m,310:289,341:453,342:283,345:284,346:285,351:286,353:287},e(ys,[2,702],{439:454,201:gs,215:Ts,221:Es,224:ds,225:ps,232:hs,236:Is,241:Ls}),{46:74,50:d,66:288,69:Ue,103:p,109:185,176:41,177:h,178:I,179:L,193:m,310:289,345:455,351:286,353:287},{224:[1,456]},{224:[1,457],232:[1,458]},{224:[1,459]},e(Qs,[2,923]),{221:[1,460],224:[1,461],232:[1,462],241:[1,463]},{224:[1,464]},{221:[1,465],224:[1,466],232:[1,467],241:[1,468]},{224:[1,469]},e(As,[2,705]),e(As,[2,706]),e(Me,[2,529]),e(Me,[2,530]),e(Me,[2,531]),{214:[1,470]},e(ns,rs,{176:41,46:74,308:99,280:107,323:108,325:110,326:111,334:112,300:113,463:118,465:119,467:120,332:121,336:122,77:123,473:124,474:125,475:126,338:129,339:130,262:131,265:132,340:133,109:134,479:135,359:313,128:385,311:471,312:472,23:U,24:K,50:d,69:$,85:G,86:V,97:H,102:Q,103:p,149:Y,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe}),{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,313:[1,473],314:206},{71:[1,474]},{71:[1,475],75:Ys},e(Ws,[2,641],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:477,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Js,[2,720]),{71:[1,478]},{71:[2,724]},{71:[2,726]},{71:[2,728]},{71:[2,730]},{71:[2,732]},{71:[2,734]},{71:[2,736]},{71:[2,738]},{40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,209:[1,479],220:we,223:Fe,230:Be,235:ve,237:Pe,314:206},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:480,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Me,[2,1085]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:481,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{71:[2,761],231:js,378:482,383:483},e(Os,[2,756]),{116:[1,485]},{233:[2,1060]},{87:486,195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},e(Qe,[2,1035]),{71:[1,487],75:Rs},e(Qe,[2,1048]),{71:[1,488],75:Rs},{40:fe,65:Ne,71:[1,489],85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,314:206},e(Me,[2,686]),e(Ie,[2,855]),e(a,[2,235],{75:[1,490]}),e(Xs,[2,241]),{23:U,24:K,46:74,50:d,77:123,86:V,97:H,102:Q,103:p,109:134,149:Y,161:491,176:41,177:h,178:I,179:L,184:X,188:z,192:Z,193:m,198:se,200:te,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:492,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{135:493,174:22,401:21,406:T,419:E},e(je,[2,142]),{69:[1,495],120:494},e(Xe,[2,62]),{46:74,50:d,74:496,77:352,103:p,109:134,176:41,177:h,178:I,179:L,193:m},e(Ss,[2,78],{79:497,82:498,83:499,18:502,19:Je,85:qs,86:zs}),e(Zs,[2,90]),e(Zs,[2,91]),e(Zs,[2,92]),e(Zs,[2,93]),e(Zs,[2,94]),e(Zs,[2,95]),e(Zs,[2,96]),e(Zs,[2,507]),e(Zs,[2,508]),e(Zs,et,{306:503,69:st}),e(Zs,[2,521],{307:505,69:[1,506]}),e(Zs,[2,511]),e(Zs,[2,512]),e(Zs,[2,513]),e(Zs,[2,514]),e(Zs,[2,515]),e(Zs,[2,516]),e(Zs,[2,517]),e(Zs,et,{306:507,69:st}),{98:[1,508]},{98:[1,509]},{98:[1,510]},{135:511,174:22,401:21,406:T,419:E},e(ze,[2,194]),{46:74,50:d,77:123,103:p,109:134,143:512,176:41,177:h,178:I,179:L,193:m,300:357},e(Ss,[2,196]),{46:74,50:d,77:324,103:p,109:134,176:41,177:h,178:I,179:L,182:[1,513],193:m},e(tt,[2,961],{448:514,383:515,231:js}),e(Hs,[2,899]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:516,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:518,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,428:517,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(ys,[2,863]),{46:74,50:d,66:288,69:Ue,103:p,109:185,176:41,177:h,178:I,179:L,193:m,310:289,345:519,351:286,353:287},e(it,at,{440:520,229:nt}),e(Qs,[2,919]),e(Qs,[2,920]),{224:[1,522]},e(Qs,[2,922]),{224:[1,523]},e(Qs,[2,925]),{224:[1,524]},{224:[1,525]},e(Qs,[2,928]),{224:[1,526]},e(Qs,[2,930]),{224:[1,527]},{224:[1,528]},e(Qs,[2,933]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:529,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{71:[1,530]},{71:[1,531],75:Ys},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:532,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Me,[2,541]),e(Me,[2,542]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:533,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e([23,24,50,71,75,103,119,133,168,172,177,178,179,189,191,193,194,201,205,208,209,214,215,216,217,221,224,225,226,230,231,232,236,239,241,247,251,258,259,313],[2,544],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(Js,[2,721]),e(Me,[2,1127]),e(os,[2,1148],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Ss,[2,1090],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),{71:[1,534]},{71:[2,766],119:[1,539],239:[1,538],384:535,387:536,388:537},{116:[1,540]},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:385,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,312:541,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{71:[1,542]},e(Qe,[2,1036]),e(Qe,[2,1050]),e(Qe,[2,1054]),{69:bs,160:543},{71:[1,544],75:[1,545]},e(Ss,[2,654]),e(a,[2,179]),{69:[1,547],121:546},{46:74,50:d,77:549,103:p,109:134,176:41,177:h,178:I,179:L,193:m,290:548},e(Ss,[2,65]),e(Ss,[2,74]),e(Ss,[2,79],{18:502,83:550,19:Je,85:qs,86:zs}),e(rt,[2,80]),{86:[1,551]},e(rt,[2,87]),e(rt,[2,88]),e(Zs,[2,509]),{252:[1,552]},e(Zs,[2,510]),{252:[1,553]},e(Zs,[2,518]),{78:554,87:422,88:423,89:424,90:425,91:426,92:427,93:428,97:ms,99:[1,555],102:xs,103:Ds,195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},{87:556,99:[1,557],195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},{46:74,50:d,99:[1,559],103:p,104:558,106:560,109:561,176:41,177:h,178:I,179:L,193:m},e(a,[2,183]),e(Ss,We,{18:257,17:562,19:Je}),e(Vs,[2,492]),e(k,[2,954],{445:563,446:564,226:[1,565]}),e(tt,[2,962]),e(Hs,[2,900],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(cs,[2,871],{75:[1,566]}),e(ot,[2,886],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(it,at,{440:567,229:nt}),e(it,[2,906]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:568,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Qs,[2,921]),e(Qs,[2,924]),e(Qs,[2,926]),e(Qs,[2,927]),e(Qs,[2,929]),e(Qs,[2,931]),e(Qs,[2,932]),e(as,[2,532],{314:206}),e(Me,[2,539]),e(Me,[2,540]),e(is,[2,543],{314:206,40:fe,65:Ne,98:Re,99:Se,132:Oe,182:me,183:xe,190:ke,220:we,223:Fe,235:ve,237:Pe}),e(Ws,[2,642],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Me,[2,750]),{71:[2,762]},{71:[2,767]},{194:[1,569],392:[1,570]},e(ut,[2,784]),e(ut,[2,785]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:573,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,449:571,451:572,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Os,[2,757],{75:Ys}),e(Me,[2,1068]),e(Xs,[2,242]),e(Xs,[2,243]),{23:U,24:K,46:74,50:d,77:123,86:V,97:H,102:Q,103:p,109:134,149:Y,176:41,177:h,178:I,179:L,184:X,188:z,192:Z,193:m,198:se,200:te,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:574,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(je,[2,146]),{115:lt,124:575,126:576},{71:[1,578],75:[1,579]},e(Ss,[2,450]),e(rt,[2,81]),e(rt,[2,86]),{71:[1,580]},{71:[1,581],75:[1,582]},{99:[1,583]},e(Zs,[2,101]),{75:[1,584]},e(Zs,[2,105]),{75:[1,586],99:[1,585]},e(Zs,[2,111]),e(ct,[2,113]),{110:[1,587]},e(Ss,[2,197]),e(k,[2,979]),e(k,[2,955]),{179:[1,589],184:X,252:ge,253:Te,332:588,338:129,339:130},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:590,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(it,[2,907]),e(it,[2,949],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(yt,gt,{389:591}),e(yt,gt,{389:592}),e([71,119,168,172,226,239,251],[2,963],{75:[1,593]}),e(Tt,[2,966]),e(Tt,[2,976],{314:206,453:594,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,191:[1,595],194:_e,205:[1,596],220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Ss,[2,655]),{71:[1,597],75:[1,598]},e(Ss,[2,155]),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:599,130:[1,600],149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{69:[2,447]},{46:74,50:d,77:601,103:p,109:134,176:41,177:h,178:I,179:L,193:m},e(Zs,[2,520]),e(Zs,[2,522]),{252:[1,602]},e(Zs,[2,100]),{78:603,87:422,88:423,89:424,90:425,91:426,92:427,93:428,97:ms,102:xs,103:Ds,195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},e(Zs,[2,110]),{46:74,50:d,103:p,106:604,109:561,176:41,177:h,178:I,179:L,193:m},{78:605,87:422,88:423,89:424,90:425,91:426,92:427,93:428,97:ms,102:xs,103:Ds,195:ks,196:_s,199:ws,204:Fs,207:Bs,212:vs,222:Ps,242:Ms,245:Us,248:Ks,249:$s,256:Gs},e(k,[2,956],{75:[1,606]}),e(k,[2,958],{75:[1,607]}),e(ot,[2,887],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),e(Et,dt,{390:608,400:609,202:pt,252:ht,392:It}),e(Et,dt,{400:609,390:613,202:pt,252:ht,392:It}),{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:573,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,451:614,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(Tt,[2,973]),e(Tt,[2,977]),e(Tt,[2,978]),e(je,[2,152]),{115:lt,126:615},{40:fe,65:Ne,85:Ce,98:[1,617],99:Se,129:616,132:[1,618],182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe,314:206},{98:Lt,129:619,132:At},e(Ss,[2,451]),{71:[1,622]},{99:[1,623]},e(ct,[2,114]),e(ct,We,{18:257,17:624,19:Je}),{184:X,252:ge,253:Te,332:625,338:129,339:130},{179:[1,626]},{71:ft,189:Nt,391:627},{234:[1,629]},{238:[1,630]},e(Ct,[2,797]),e(Ct,[2,798]),{71:ft,189:Nt,391:631},e(Tt,[2,967]),e(Ss,[2,156]),{130:[1,632]},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:293,130:Rt,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:295,130:St,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:633,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},e(us,Rt),e(us,St),e(Zs,[2,523]),e(Zs,[2,104]),e(ct,[2,120]),e(k,[2,957]),e(k,[2,959]),{71:[2,768]},{202:[1,634],252:ht,392:It,400:635},e(Et,[2,787]),e(Et,[2,788]),{71:[2,769]},e(Ss,[2,164],{129:636,98:Lt,132:At}),e(Ss,[2,163],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe}),{238:[1,637]},{213:[1,638]},{23:U,24:K,46:74,50:d,69:$,77:123,85:G,86:V,97:H,102:Q,103:p,109:134,128:639,149:Y,176:41,177:h,178:I,179:L,181:W,183:j,184:X,187:q,188:z,192:Z,193:m,197:ee,198:se,200:te,210:ie,211:ae,219:ne,227:re,228:oe,243:ue,244:le,246:ce,250:ye,252:ge,253:Te,254:Ee,255:de,257:pe,262:131,265:132,280:107,300:113,308:99,323:108,325:110,326:111,332:121,334:112,336:122,338:129,339:130,340:133,463:118,465:119,467:120,473:124,474:125,475:126,479:135},{71:[2,792]},{71:[2,793]},e(Ss,[2,162],{314:206,40:fe,65:Ne,85:Ce,98:Re,99:Se,132:Oe,182:me,183:xe,189:De,190:ke,194:_e,220:we,223:Fe,230:Be,235:ve,237:Pe})],defaultActions:{30:[2,250],114:[2,1064],115:[2,1065],116:[2,1066],117:[2,1067],145:[2,1040],146:[2,1041],147:[2,1042],148:[2,1043],149:[2,1044],150:[2,1045],151:[2,1046],152:[2,1047],328:[2,1059],389:[2,724],390:[2,726],391:[2,728],392:[2,730],393:[2,732],394:[2,734],395:[2,736],396:[2,738],404:[2,1060],535:[2,762],536:[2,767],578:[2,447],627:[2,768],631:[2,769],637:[2,792],638:[2,793]},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),E={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(E.yy[d]=this.yy[d]);T.setInput(e,E.yy),E.yy.lexer=T,E.yy.parser=this,void 0===T.yylloc&&(T.yylloc={});var p=T.yylloc;a.push(p);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 E.yy.parseError?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var L,A,f,N,C,R,S,O,b,m=function(){var e;return"number"!=typeof(e=T.lex()||y)&&(e=s.symbols_[e]||e),e},x={};;){if(f=t[t.length-1],this.defaultActions[f]?N=this.defaultActions[f]:(null==L&&(L=m()),N=n[f]&&n[f][L]),void 0===N||!N.length||!N[0]){var D,k=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}},_="";if(l)A!==y&&(D=k(f));else{for(R in D=k(f),b=[],n[f])this.terminals_[R]&&R>c&&b.push("'"+this.terminals_[R]+"'");_=T.showPosition?"Parse error on line "+(o+1)+":\n"+T.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[L]||L)+"'":"Parse error on line "+(o+1)+": Unexpected "+(L==y?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(_,{text:T.match,token:this.terminals_[L]||L,line:T.yylineno,loc:T.yylloc,ruleId:t.slice(t.length-2,t.length).join("_"),expected:b,recoverable:!1!==D})}if(3==l){if(L===y||A===y)throw new Error(_||"Parsing halted while starting to recover from another error.");u=T.yyleng,r=T.yytext,o=T.yylineno,p=T.yylloc,L=m()}if(!1===D)throw new Error(_||"Parsing halted. No suitable error recovery rule available.");I(D),A=L==c?null:L,L=c,f=t[t.length-1],N=n[f]&&n[f][c],l=3}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+L);switch(N[0]){case 1:t.push(L),i.push(T.yytext),a.push(T.yylloc),t.push(N[1]),L=null,A?(L=A,A=null):(u=T.yyleng,r=T.yytext,o=T.yylineno,p=T.yylloc,l>0&&l--);break;case 2:if(S=this.productions_[N[1]][1],x.$=i[i.length-S],x._$={first_line:a[a.length-(S||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(S||1)].first_column,last_column:a[a.length-1].last_column},h&&(x._$.range=[a[a.length-(S||1)].range[0],a[a.length-1].range[1]]),void 0!==(C=this.performAction.apply(x,[r,u,o,E.yy,N[1],i,a].concat(g))))return C;S&&(t=t.slice(0,-1*S*2),i=i.slice(0,-1*S),a=a.slice(0,-1*S)),t.push(this.productions_[N[1]][0]),i.push(x.$),a.push(x._$),O=n[t[t.length-2]][t[t.length-1]],t.push(O);break;case 3:return!0}}return!0}};i.a.initSyntaxParser(Ot);var bt={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 Ot.yy.partialCursor=!1,Ot.yy.cursorFound=s.yylloc,5;case 4:return Ot.yy.partialCursor=!0,Ot.yy.cursorFound=s.yylloc,260;case 5:return this.popState(),313;case 6:return"ADVANCE";case 7:return"ANALYZE";case 8:return 189;case 9:return 97;case 10:return 133;case 11:return"AT";case 12:return"BEGINNING";case 13:return this.begin("between"),194;case 14:return 195;case 15:return 196;case 16:return 116;case 17:return 197;case 18:return 198;case 19:return"CATALOG";case 20:return"CHANGES";case 21:return"COLUMN";case 22:return"COLUMNS";case 23:return"CONNECTOR";case 24:return"CONNECTORS";case 25:return Ot.determineCase(s.yytext),4;case 26:return"DATE";case 27:return"DAY";case 28:return 204;case 29:return"DELETE";case 30:return"DESCRIBE";case 31:return 206;case 32:return 207;case 33:return Ot.determineCase(s.yytext),Ot.addStatementTypeLocation("DROP",s.yylloc,e.lexer.upcomingInput()),9;case 34:return 208;case 35:return"EMIT";case 36:return 209;case 37:return Ot.yy.correlatedSubQuery=!0,210;case 38:return Ot.determineCase(s.yytext),"EXPLAIN";case 39:return"EXPORT";case 40:return"EXTENDED";case 41:return Ot.determineCase(s.yytext),214;case 42:return 215;case 43:return"FUNCTION";case 44:return"FUNCTIONS";case 45:return 216;case 46:return 217;case 47:return"HOPPING";case 48:return"HOUR";case 49:return"HOURS";case 50:return 219;case 51:return 220;case 52:return 221;case 53:return 156;case 54:return 222;case 55:return"INTEGER";case 56:return 157;case 57:return 223;case 58:return 224;case 59:return"KEY";case 60:return 225;case 61:return 65;case 62:return 226;case 63:return 36;case 64:return"LOAD";case 65:return 102;case 66:return"MILLISECOND";case 67:return"MILLISECONDS";case 68:return"MINUTE";case 69:return"MINUTES";case 70:return"MONTH";case 71:return"MONTHS";case 72:return 85;case 73:return 86;case 74:return 229;case 75:return 230;case 76:return 232;case 77:return 115;case 78:return"PARTITIONS";case 79:return"PRINT";case 80:return 485;case 81:return 484;case 82:return"QUERY";case 83:return"RENAME";case 84:return"RESET";case 85:return 236;case 86:return"RUN";case 87:return"SAMPLE";case 88:return"SCRIPT";case 89:case 90:return"SECOND";case 91:return Ot.determineCase(s.yytext),Ot.addStatementTypeLocation("SELECT",s.yylloc),406;case 92:return"SESSION";case 93:return Ot.determineCase(s.yytext),Ot.addStatementTypeLocation("SET",s.yylloc),15;case 94:return Ot.determineCase(s.yytext),Ot.addStatementTypeLocation("SHOW",s.yylloc),42;case 95:return"SINK";case 96:return"SOURCE";case 97:return"STREAM";case 98:return 163;case 99:return 245;case 100:return 103;case 101:return 51;case 102:return 162;case 103:return"TERMINATE";case 104:return 247;case 105:return"TIME";case 106:return 248;case 107:return"TO";case 108:return 250;case 109:return"TOPIC";case 110:return 164;case 111:return"TUMBLING";case 112:return"TYPE";case 113:return"TYPES";case 114:return"UNSET";case 115:return 130;case 116:return 256;case 117:return 258;case 118:return 259;case 119:return Ot.determineCase(s.yytext),Ot.addStatementTypeLocation("WITH",s.yylloc),419;case 120:return"WITHIN";case 121:return"YEAR";case 122:return"YEARS";case 123:return"ZONE";case 124:return e.lexer.unput("("),s.yytext="abs",Ot.addFunctionLocation(s.yylloc,s.yytext),"ABS";case 125:return e.lexer.unput("("),s.yytext="arraycontains",Ot.addFunctionLocation(s.yylloc,s.yytext),"ARRAYCONTAINS";case 126:return e.lexer.unput("("),s.yytext="ceil",Ot.addFunctionLocation(s.yylloc,s.yytext),"CEIL";case 127:return e.lexer.unput("("),s.yytext="concat",Ot.addFunctionLocation(s.yylloc,s.yytext),"CONCAT";case 128:return e.lexer.unput("("),s.yytext="datetostring",Ot.addFunctionLocation(s.yylloc,s.yytext),"DATETOSTRING";case 129:return e.lexer.unput("("),s.yytext="elt",Ot.addFunctionLocation(s.yylloc,s.yytext),"ELT";case 130:return e.lexer.unput("("),s.yytext="extractjsonfield",Ot.addFunctionLocation(s.yylloc,s.yytext),"EXTRACTJSONFIELD";case 131:return e.lexer.unput("("),s.yytext="field",Ot.addFunctionLocation(s.yylloc,s.yytext),"FIELD";case 132:return e.lexer.unput("("),s.yytext="floor",Ot.addFunctionLocation(s.yylloc,s.yytext),"FLOOR";case 133:return e.lexer.unput("("),s.yytext="geo_distance",Ot.addFunctionLocation(s.yylloc,s.yytext),"GEO_DISTANCE";case 134:return e.lexer.unput("("),s.yytext="ifnull",Ot.addFunctionLocation(s.yylloc,s.yytext),"IFNULL";case 135:return e.lexer.unput("("),s.yytext="lcase",Ot.addFunctionLocation(s.yylloc,s.yytext),"LCASE";case 136:return e.lexer.unput("("),s.yytext="len",Ot.addFunctionLocation(s.yylloc,s.yytext),"LEN";case 137:return e.lexer.unput("("),s.yytext="msk",Ot.addFunctionLocation(s.yylloc,s.yytext),"MASK";case 138:return e.lexer.unput("("),s.yytext="mask_keep_left",Ot.addFunctionLocation(s.yylloc,s.yytext),"MASK_KEEP_LEFT";case 139:return e.lexer.unput("("),s.yytext="mask_keep_right",Ot.addFunctionLocation(s.yylloc,s.yytext),"MASK_KEEP_RIGHT";case 140:return e.lexer.unput("("),s.yytext="mask_left",Ot.addFunctionLocation(s.yylloc,s.yytext),"MASK_LEFT";case 141:return e.lexer.unput("("),s.yytext="mask_right",Ot.addFunctionLocation(s.yylloc,s.yytext),"MASK_RIGHT";case 142:return e.lexer.unput("("),s.yytext="random",Ot.addFunctionLocation(s.yylloc,s.yytext),"RANDOM";case 143:return e.lexer.unput("("),s.yytext="round",Ot.addFunctionLocation(s.yylloc,s.yytext),"ROUND";case 144:return e.lexer.unput("("),s.yytext="split",Ot.addFunctionLocation(s.yylloc,s.yytext),"SPLIT";case 145:return e.lexer.unput("("),s.yytext="stringtodate",Ot.addFunctionLocation(s.yylloc,s.yytext),"STRINGTODATE";case 146:return e.lexer.unput("("),s.yytext="stringtotimestamp",Ot.addFunctionLocation(s.yylloc,s.yytext),"STRINGTOTIMESTAMP";case 147:return e.lexer.unput("("),s.yytext="substring",Ot.addFunctionLocation(s.yylloc,s.yytext),"SUBSTRING";case 148:return e.lexer.unput("("),s.yytext="timestamptostring",Ot.addFunctionLocation(s.yylloc,s.yytext),"TIMESTAMPTOSTRING";case 149:return e.lexer.unput("("),s.yytext="trim",Ot.addFunctionLocation(s.yylloc,s.yytext),"TRIM";case 150:return e.lexer.unput("("),s.yytext="ucase",Ot.addFunctionLocation(s.yylloc,s.yytext),"UCASE";case 151:return e.lexer.unput("("),s.yytext="url_decode_param",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_DECODE_PARAM";case 152:return e.lexer.unput("("),s.yytext="urel_encode_param",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_ENCODE_PARAM";case 153:return e.lexer.unput("("),s.yytext="url_extract_fragment",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_FRAGMENT";case 154:return e.lexer.unput("("),s.yytext="url_extract_host",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_HOST";case 155:return e.lexer.unput("("),s.yytext="url_extract_parameter",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_PARAMETER";case 156:return e.lexer.unput("("),s.yytext="url_extrct_path",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_PATH";case 157:return e.lexer.unput("("),s.yytext="url_extract_port",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_PORT";case 158:return e.lexer.unput("("),s.yytext="url_extract_protocol",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_PROTOCOL";case 159:return e.lexer.unput("("),s.yytext="url_extract_query",Ot.addFunctionLocation(s.yylloc,s.yytext),"URL_EXTRACT_QUERY";case 160:return e.lexer.unput("("),s.yytext="collect_list",Ot.addFunctionLocation(s.yylloc,s.yytext),"COLLECT_LIST";case 161:return e.lexer.unput("("),s.yytext="collect_set",Ot.addFunctionLocation(s.yylloc,s.yytext),"COLLECT_SET";case 162:return e.lexer.unput("("),s.yytext="count",Ot.addFunctionLocation(s.yylloc,s.yytext),200;case 163:return e.lexer.unput("("),s.yytext="historgram",Ot.addFunctionLocation(s.yylloc,s.yytext),"HISTOGRAM";case 164:return e.lexer.unput("("),s.yytext="max",Ot.addFunctionLocation(s.yylloc,s.yytext),227;case 165:return e.lexer.unput("("),s.yytext="min",Ot.addFunctionLocation(s.yylloc,s.yytext),228;case 166:return e.lexer.unput("("),s.yytext="sum",Ot.addFunctionLocation(s.yylloc,s.yytext),246;case 167:return e.lexer.unput("("),s.yytext="topk",Ot.addFunctionLocation(s.yylloc,s.yytext),"TOPK";case 168:return e.lexer.unput("("),s.yytext="topkdistinct",Ot.addFunctionLocation(s.yylloc,s.yytext),"TOPKDISTINCT";case 169:return e.lexer.unput("("),s.yytext="windowstart",Ot.addFunctionLocation(s.yylloc,s.yytext),"WindowStart";case 170:return e.lexer.unput("("),s.yytext="windowend",Ot.addFunctionLocation(s.yylloc,s.yytext),"WindowEnd";case 171:case 172:return 252;case 173:return 253;case 174:return 178;case 175:return 189;case 176:return 230;case 177:return 40;case 178:return 98;case 179:return 99;case 180:case 181:case 182:case 183:case 184:return 132;case 185:return 183;case 186:return 182;case 187:case 188:case 189:case 190:case 191:case 192:return 190;case 193:return 75;case 194:return 184;case 195:return 110;case 196:return 172;case 197:return 187;case 198:return 181;case 199:return 69;case 200:return 71;case 201:return 185;case 202:return 186;case 203:return 179;case 204:return this.begin("backtickedValue"),193;case 205:return Ot.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"`")?264:25;case 206:return this.popState(),193;case 207:return this.begin("singleQuotedValue"),23;case 208:return Ot.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,"'")?264:25;case 209:return this.popState(),23;case 210:return this.begin("doubleQuotedValue"),24;case 211:return Ot.handleQuotedValueWithCursor(this,s.yytext,s.yylloc,'"')?264:25;case 212:return this.popState(),24;case 213:return 168;case 214:case 215:case 216:case 217:case 218:case 219:break;case 220:console.log(s.yytext)}},rules:[/^(?:\s)/i,/^(?:--.*)/i,/^(?:[/][*][^*]*[*]+([^/*][^*]*[*]+)*[/])/i,/^(?:\u2020)/i,/^(?:\u2021)/i,/^(?:AND)/i,/^(?:ADVANCE)/i,/^(?:ANALYZE)/i,/^(?:AND)/i,/^(?:ARRAY)/i,/^(?:AS)/i,/^(?:AT)/i,/^(?:BEGINNING)/i,/^(?:BETWEEN)/i,/^(?:BIGINT)/i,/^(?:BOOLEAN)/i,/^(?:BY)/i,/^(?:CASE)/i,/^(?:CAST)/i,/^(?:CATALOG)/i,/^(?:CHANGES)/i,/^(?:COLUMN)/i,/^(?:COLUMNS)/i,/^(?:CONNECTOR)/i,/^(?:CONNECTORS)/i,/^(?:CREATE)/i,/^(?:DATE)/i,/^(?:DAY)/i,/^(?:DECIMAL)/i,/^(?:DELETE)/i,/^(?:DESCRIBE)/i,/^(?:DISTINCT)/i,/^(?:DOUBLE)/i,/^(?:DROP)/i,/^(?:ELSE)/i,/^(?:EMIT)/i,/^(?:END)/i,/^(?:EXISTS)/i,/^(?:EXPLAIN)/i,/^(?:EXPORT)/i,/^(?:EXTENDED)/i,/^(?:FROM)/i,/^(?:FULL)/i,/^(?:FUNCTION)/i,/^(?:FUNCTIONS)/i,/^(?:GROUP)/i,/^(?:HAVING)/i,/^(?:HOPPING)/i,/^(?:HOUR)/i,/^(?:HOURS)/i,/^(?:IF)/i,/^(?:IN)/i,/^(?:INNER)/i,/^(?:INSERT)/i,/^(?:INT)/i,/^(?:INTEGER)/i,/^(?:INTO)/i,/^(?:IS)/i,/^(?:JOIN)/i,/^(?:KEY)/i,/^(?:LEFT)/i,/^(?:LIKE)/i,/^(?:LIMIT)/i,/^(?:LIST)/i,/^(?:LOAD)/i,/^(?:MAP)/i,/^(?:MILLISECOND)/i,/^(?:MILLISECONDS)/i,/^(?:MINUTE)/i,/^(?:MINUTES)/i,/^(?:MONTH)/i,/^(?:MONTHS)/i,/^(?:NOT)/i,/^(?:NULL)/i,/^(?:ON)/i,/^(?:OR)/i,/^(?:OUTER)/i,/^(?:PARTITION)/i,/^(?:PARTITIONS)/i,/^(?:PRINT)/i,/^(?:PROPERTIES)/i,/^(?:QUERIES)/i,/^(?:QUERY)/i,/^(?:RENAME)/i,/^(?:RESET)/i,/^(?:RIGHT)/i,/^(?:RUN)/i,/^(?:SAMPLE)/i,/^(?:SCRIPT)/i,/^(?:SECOND)/i,/^(?:SECOND)/i,/^(?:SELECT)/i,/^(?:SESSION)/i,/^(?:SET)/i,/^(?:SHOW)/i,/^(?:SINK)/i,/^(?:SOURCE)/i,/^(?:STREAM)/i,/^(?:STREAMS)/i,/^(?:STRING)/i,/^(?:STRUCT)/i,/^(?:TABLE)/i,/^(?:TABLES)/i,/^(?:TERMINATE)/i,/^(?:THEN)/i,/^(?:TIME)/i,/^(?:TIMESTAMP)/i,/^(?:TO)/i,/^(?:TRUE)/i,/^(?:TOPIC)/i,/^(?:TOPICS)/i,/^(?:TUMBLING)/i,/^(?:TYPE)/i,/^(?:TYPES)/i,/^(?:UNSET)/i,/^(?:VALUES)/i,/^(?:VARCHAR)/i,/^(?:WHEN)/i,/^(?:WHERE)/i,/^(?:WITH)/i,/^(?:WITHIN)/i,/^(?:YEAR)/i,/^(?:YEARS)/i,/^(?:ZONE)/i,/^(?:ABS\s*\()/i,/^(?:ARRAYCONTAINS\s*\()/i,/^(?:CEIL\s*\()/i,/^(?:CONCAT\s*\()/i,/^(?:DATETOSTRING\s*\()/i,/^(?:ELT\s*\()/i,/^(?:EXTRACTJSONFIELD\s*\()/i,/^(?:FIELD\s*\()/i,/^(?:FLOOR\s*\()/i,/^(?:GEO_DISTANCE\s*\()/i,/^(?:IFNULL\s*\()/i,/^(?:LCASE\s*\()/i,/^(?:LEN\s*\()/i,/^(?:MASK\s*\()/i,/^(?:MASK_KEEP_LEFT\s*\()/i,/^(?:MASK_KEEP_RIGHT\s*\()/i,/^(?:MASK_LEFT\s*\()/i,/^(?:MASK_RIGHT\s*\()/i,/^(?:RANDOM\s*\()/i,/^(?:ROUND\s*\()/i,/^(?:SPLIT\s*\()/i,/^(?:STRINGTODATE\s*\()/i,/^(?:STRINGTOTIMESTAMP\s*\()/i,/^(?:SUBSTRING\s*\()/i,/^(?:TIMESTAMPTOSTRING\s*\()/i,/^(?:TRIM\s*\()/i,/^(?:UCASE\s*\()/i,/^(?:URL_DECODE_PARAM\s*\()/i,/^(?:URL_ENCODE_PARAM\s*\()/i,/^(?:URL_EXTRACT_FRAGMENT\s*\()/i,/^(?:URL_EXTRACT_HOST\s*\()/i,/^(?:URL_EXTRACT_PARAMETER\s*\()/i,/^(?:URL_EXTRACT_PATH\s*\()/i,/^(?:URL_EXTRACT_PORT\s*\()/i,/^(?:URL_EXTRACT_PROTOCOL\s*\()/i,/^(?:URL_EXTRACT_QUERY\s*\()/i,/^(?:COLLECT_LIST\s*\()/i,/^(?:COLLECT_SET\s*\()/i,/^(?:COUNT\s*\()/i,/^(?:HISTOGRAM\s*\()/i,/^(?:MAX\s*\()/i,/^(?:MIN\s*\()/i,/^(?:SUM\s*\()/i,/^(?:TOPK\s*\()/i,/^(?:TOPKDISTINCT\s*\()/i,/^(?:WindowStart\s*\()/i,/^(?:WindowEnd\s*\()/i,/^(?:[0-9]+)/i,/^(?:[0-9]+(?:[YSL]|BD)?)/i,/^(?:[0-9]+E)/i,/^(?:[A-Za-z0-9_]+)/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:[216],inclusive:!1},doubleQuotedValue:{rules:[211,212,219],inclusive:!1},singleQuotedValue:{rules:[208,209,218],inclusive:!1},backtickedValue:{rules:[205,206,217],inclusive:!1},between:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,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,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,207,210,213,214,215,220],inclusive:!0},INITIAL:{rules:[0,1,2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,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,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,207,210,213,214,220],inclusive:!0}}};function mt(){this.yy={}}return Ot.lexer=bt,mt.prototype=Ot,Ot.Parser=mt,new mt}();s.default=a}}).default}));
|