monaco-sqlpad-test
Version:

1 lines • 705 kB
JavaScript
(("undefined"!==typeof self?self:this)["webpackJsonpmonaco_sqlpad"]=("undefined"!==typeof self?self:this)["webpackJsonpmonaco_sqlpad"]||[]).push([[3],{db4f:function(e,t,n){"use strict";n.r(t),n.d(t,"setupMode",(function(){return us}));var i,r=12e4,o=function(){function e(e){var t=this;this._defaults=e,this._worker=null,this._idleCheckInterval=window.setInterval((function(){return t._checkIfIdle()}),3e4),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange((function(){return t._stopWorker()}))}return e.prototype._stopWorker=function(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null},e.prototype.dispose=function(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()},e.prototype._checkIfIdle=function(){if(this._worker){var e=Date.now()-this._lastUsedTime;e>r&&this._stopWorker()}},e.prototype._getClient=function(){return this._lastUsedTime=Date.now(),this._client||(this._worker=monaco.editor.createWebWorker({moduleId:"vs/language/css/cssWorker",label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId}}),this._client=this._worker.getProxy()),this._client},e.prototype.getLanguageServiceWorker=function(){for(var e,t=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return this._getClient().then((function(t){e=t})).then((function(e){return t._worker.withSyncedResources(n)})).then((function(t){return e}))},e}();(function(e){e[e["Ident"]=0]="Ident",e[e["AtKeyword"]=1]="AtKeyword",e[e["String"]=2]="String",e[e["BadString"]=3]="BadString",e[e["UnquotedString"]=4]="UnquotedString",e[e["Hash"]=5]="Hash",e[e["Num"]=6]="Num",e[e["Percentage"]=7]="Percentage",e[e["Dimension"]=8]="Dimension",e[e["UnicodeRange"]=9]="UnicodeRange",e[e["CDO"]=10]="CDO",e[e["CDC"]=11]="CDC",e[e["Colon"]=12]="Colon",e[e["SemiColon"]=13]="SemiColon",e[e["CurlyL"]=14]="CurlyL",e[e["CurlyR"]=15]="CurlyR",e[e["ParenthesisL"]=16]="ParenthesisL",e[e["ParenthesisR"]=17]="ParenthesisR",e[e["BracketL"]=18]="BracketL",e[e["BracketR"]=19]="BracketR",e[e["Whitespace"]=20]="Whitespace",e[e["Includes"]=21]="Includes",e[e["Dashmatch"]=22]="Dashmatch",e[e["SubstringOperator"]=23]="SubstringOperator",e[e["PrefixOperator"]=24]="PrefixOperator",e[e["SuffixOperator"]=25]="SuffixOperator",e[e["Delim"]=26]="Delim",e[e["EMS"]=27]="EMS",e[e["EXS"]=28]="EXS",e[e["Length"]=29]="Length",e[e["Angle"]=30]="Angle",e[e["Time"]=31]="Time",e[e["Freq"]=32]="Freq",e[e["Exclamation"]=33]="Exclamation",e[e["Resolution"]=34]="Resolution",e[e["Comma"]=35]="Comma",e[e["Charset"]=36]="Charset",e[e["EscapedJavaScript"]=37]="EscapedJavaScript",e[e["BadEscapedJavaScript"]=38]="BadEscapedJavaScript",e[e["Comment"]=39]="Comment",e[e["SingleLineComment"]=40]="SingleLineComment",e[e["EOF"]=41]="EOF",e[e["CustomToken"]=42]="CustomToken"})(i||(i={}));var s=function(){function e(e){this.source=e,this.len=e.length,this.position=0}return e.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},e.prototype.eos=function(){return this.len<=this.position},e.prototype.pos=function(){return this.position},e.prototype.goBackTo=function(e){this.position=e},e.prototype.goBack=function(e){this.position-=e},e.prototype.advance=function(e){this.position+=e},e.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position+e)||0},e.prototype.lookbackChar=function(e){return void 0===e&&(e=0),this.source.charCodeAt(this.position-e)||0},e.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},e.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;t<e.length;t++)if(this.source.charCodeAt(this.position+t)!==e[t])return!1;return this.advance(t),!0},e.prototype.advanceWhileChar=function(e){var t=this.position;while(this.position<this.len&&e(this.source.charCodeAt(this.position)))this.position++;return this.position-t},e}(),a="a".charCodeAt(0),l="f".charCodeAt(0),c="z".charCodeAt(0),d="A".charCodeAt(0),p="F".charCodeAt(0),h="Z".charCodeAt(0),m="0".charCodeAt(0),u="9".charCodeAt(0),f="~".charCodeAt(0),g="^".charCodeAt(0),b="=".charCodeAt(0),y="|".charCodeAt(0),v="-".charCodeAt(0),w="_".charCodeAt(0),x="%".charCodeAt(0),S="*".charCodeAt(0),k="(".charCodeAt(0),C=")".charCodeAt(0),F="<".charCodeAt(0),z=">".charCodeAt(0),D="@".charCodeAt(0),T="#".charCodeAt(0),R="$".charCodeAt(0),E="\\".charCodeAt(0),I="/".charCodeAt(0),M="\n".charCodeAt(0),N="\r".charCodeAt(0),P="\f".charCodeAt(0),_='"'.charCodeAt(0),A="'".charCodeAt(0),W=" ".charCodeAt(0),O="\t".charCodeAt(0),L=";".charCodeAt(0),U=":".charCodeAt(0),j="{".charCodeAt(0),V="}".charCodeAt(0),B="[".charCodeAt(0),$="]".charCodeAt(0),q=",".charCodeAt(0),K=".".charCodeAt(0),G="!".charCodeAt(0),J={};J[L]=i.SemiColon,J[U]=i.Colon,J[j]=i.CurlyL,J[V]=i.CurlyR,J[$]=i.BracketR,J[B]=i.BracketL,J[k]=i.ParenthesisL,J[C]=i.ParenthesisR,J[q]=i.Comma;var H={};H["em"]=i.EMS,H["ex"]=i.EXS,H["px"]=i.Length,H["cm"]=i.Length,H["mm"]=i.Length,H["in"]=i.Length,H["pt"]=i.Length,H["pc"]=i.Length,H["deg"]=i.Angle,H["rad"]=i.Angle,H["grad"]=i.Angle,H["ms"]=i.Time,H["s"]=i.Time,H["hz"]=i.Freq,H["khz"]=i.Freq,H["%"]=i.Percentage,H["fr"]=i.Percentage,H["dpi"]=i.Resolution,H["dpcm"]=i.Resolution;var Y,X,Z=function(){function e(){this.stream=new s(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}return e.prototype.setSource=function(e){this.stream=new s(e)},e.prototype.finishToken=function(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}},e.prototype.substring=function(e,t){return this.stream.substring(e,e+t)},e.prototype.pos=function(){return this.stream.pos()},e.prototype.goBackTo=function(e){this.stream.goBackTo(e)},e.prototype.scanUnquotedString=function(){var e=this.stream.pos(),t=[];return this._unquotedString(t)?this.finishToken(e,i.UnquotedString,t.join("")):null},e.prototype.scan=function(){var e=this.trivia();if(null!==e)return e;var t=this.stream.pos();return this.stream.eos()?this.finishToken(t,i.EOF):this.scanNext(t)},e.prototype.scanNext=function(e){if(this.stream.advanceIfChars([F,G,v,v]))return this.finishToken(e,i.CDO);if(this.stream.advanceIfChars([v,v,z]))return this.finishToken(e,i.CDC);var t=[];if(this.ident(t))return this.finishToken(e,i.Ident,t.join(""));if(this.stream.advanceIfChar(D)){if(t=["@"],this._name(t)){var n=t.join("");return"@charset"===n?this.finishToken(e,i.Charset,n):this.finishToken(e,i.AtKeyword,n)}return this.finishToken(e,i.Delim)}if(this.stream.advanceIfChar(T))return t=["#"],this._name(t)?this.finishToken(e,i.Hash,t.join("")):this.finishToken(e,i.Delim);if(this.stream.advanceIfChar(G))return this.finishToken(e,i.Exclamation);if(this._number()){var r=this.stream.pos();if(t=[this.stream.substring(e,r)],this.stream.advanceIfChar(x))return this.finishToken(e,i.Percentage);if(this.ident(t)){var o=this.stream.substring(r).toLowerCase(),s=H[o];return"undefined"!==typeof s?this.finishToken(e,s,t.join("")):this.finishToken(e,i.Dimension,t.join(""))}return this.finishToken(e,i.Num)}t=[];var a=this._string(t);return null!==a?this.finishToken(e,a,t.join("")):(a=J[this.stream.peekChar()],"undefined"!==typeof a?(this.stream.advance(1),this.finishToken(e,a)):this.stream.peekChar(0)===f&&this.stream.peekChar(1)===b?(this.stream.advance(2),this.finishToken(e,i.Includes)):this.stream.peekChar(0)===y&&this.stream.peekChar(1)===b?(this.stream.advance(2),this.finishToken(e,i.Dashmatch)):this.stream.peekChar(0)===S&&this.stream.peekChar(1)===b?(this.stream.advance(2),this.finishToken(e,i.SubstringOperator)):this.stream.peekChar(0)===g&&this.stream.peekChar(1)===b?(this.stream.advance(2),this.finishToken(e,i.PrefixOperator)):this.stream.peekChar(0)===R&&this.stream.peekChar(1)===b?(this.stream.advance(2),this.finishToken(e,i.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,i.Delim)))},e.prototype._matchWordAnyCase=function(e){var t=0;return this.stream.advanceWhileChar((function(n){var i=e[t]===n||e[t+1]===n;return i&&(t+=2),i})),t===e.length||(this.stream.goBack(t/2),!1)},e.prototype.trivia=function(){while(1){var e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,i.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(e,i.Comment)}}},e.prototype.comment=function(){if(this.stream.advanceIfChars([I,S])){var e=!1,t=!1;return this.stream.advanceWhileChar((function(n){return t&&n===I?(e=!0,!1):(t=n===S,!0)})),e&&this.stream.advance(1),!0}return!1},e.prototype._number=function(){var e,t=0;return this.stream.peekChar()===K&&(t=1),e=this.stream.peekChar(t),e>=m&&e<=u&&(this.stream.advance(t+1),this.stream.advanceWhileChar((function(e){return e>=m&&e<=u||0===t&&e===K})),!0)},e.prototype._newline=function(e){var t=this.stream.peekChar();switch(t){case N:case P:case M:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===N&&this.stream.advanceIfChar(M)&&e.push("\n"),!0}return!1},e.prototype._escape=function(e,t){var n=this.stream.peekChar();if(n===E){this.stream.advance(1),n=this.stream.peekChar();var i=0;while(i<6&&(n>=m&&n<=u||n>=a&&n<=l||n>=d&&n<=p))this.stream.advance(1),n=this.stream.peekChar(),i++;if(i>0){try{var r=parseInt(this.stream.substring(this.stream.pos()-i),16);r&&e.push(String.fromCharCode(r))}catch(o){}return n===W||n===O?this.stream.advance(1):this._newline([]),!0}if(n!==N&&n!==P&&n!==M)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1},e.prototype._stringChar=function(e,t){var n=this.stream.peekChar();return 0!==n&&n!==e&&n!==E&&n!==N&&n!==P&&n!==M&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)},e.prototype._string=function(e){if(this.stream.peekChar()===A||this.stream.peekChar()===_){var t=this.stream.nextChar();e.push(String.fromCharCode(t));while(this._stringChar(t,e)||this._escape(e,!0));return this.stream.peekChar()===t?(this.stream.nextChar(),e.push(String.fromCharCode(t)),i.String):i.BadString}return null},e.prototype._unquotedChar=function(e){var t=this.stream.peekChar();return 0!==t&&t!==E&&t!==A&&t!==_&&t!==k&&t!==C&&t!==W&&t!==O&&t!==M&&t!==P&&t!==N&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._unquotedString=function(e){var t=!1;while(this._unquotedChar(e)||this._escape(e))t=!0;return t},e.prototype._whitespace=function(){var e=this.stream.advanceWhileChar((function(e){return e===W||e===O||e===M||e===P||e===N}));return e>0},e.prototype._name=function(e){var t=!1;while(this._identChar(e)||this._escape(e))t=!0;return t},e.prototype.ident=function(e){var t=this.stream.pos(),n=this._minus(e);if(n&&this._minus(e)){if(this._identFirstChar(e)||this._escape(e)){while(this._identChar(e)||this._escape(e));return!0}}else if(this._identFirstChar(e)||this._escape(e)){while(this._identChar(e)||this._escape(e));return!0}return this.stream.goBackTo(t),!1},e.prototype._identFirstChar=function(e){var t=this.stream.peekChar();return(t===w||t>=a&&t<=c||t>=d&&t<=h||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._minus=function(e){var t=this.stream.peekChar();return t===v&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e.prototype._identChar=function(e){var t=this.stream.peekChar();return(t===w||t===v||t>=a&&t<=c||t>=d&&t<=h||t>=m&&t<=u||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)},e}(),Q=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function ee(e,t){var n=null;return!e||t<e.offset||t>e.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0)})),n)}function te(e,t){var n=ee(e,t),i=[];while(n)i.unshift(n),n=n.parent;return i}function ne(e){var t=e.findParent(Y.Declaration),n=t&&t.getValue();return n&&n.encloses(e)?t:null}(function(e){e[e["Undefined"]=0]="Undefined",e[e["Identifier"]=1]="Identifier",e[e["Stylesheet"]=2]="Stylesheet",e[e["Ruleset"]=3]="Ruleset",e[e["Selector"]=4]="Selector",e[e["SimpleSelector"]=5]="SimpleSelector",e[e["SelectorInterpolation"]=6]="SelectorInterpolation",e[e["SelectorCombinator"]=7]="SelectorCombinator",e[e["SelectorCombinatorParent"]=8]="SelectorCombinatorParent",e[e["SelectorCombinatorSibling"]=9]="SelectorCombinatorSibling",e[e["SelectorCombinatorAllSiblings"]=10]="SelectorCombinatorAllSiblings",e[e["SelectorCombinatorShadowPiercingDescendant"]=11]="SelectorCombinatorShadowPiercingDescendant",e[e["Page"]=12]="Page",e[e["PageBoxMarginBox"]=13]="PageBoxMarginBox",e[e["ClassSelector"]=14]="ClassSelector",e[e["IdentifierSelector"]=15]="IdentifierSelector",e[e["ElementNameSelector"]=16]="ElementNameSelector",e[e["PseudoSelector"]=17]="PseudoSelector",e[e["AttributeSelector"]=18]="AttributeSelector",e[e["Declaration"]=19]="Declaration",e[e["Declarations"]=20]="Declarations",e[e["Property"]=21]="Property",e[e["Expression"]=22]="Expression",e[e["BinaryExpression"]=23]="BinaryExpression",e[e["Term"]=24]="Term",e[e["Operator"]=25]="Operator",e[e["Value"]=26]="Value",e[e["StringLiteral"]=27]="StringLiteral",e[e["URILiteral"]=28]="URILiteral",e[e["EscapedValue"]=29]="EscapedValue",e[e["Function"]=30]="Function",e[e["NumericValue"]=31]="NumericValue",e[e["HexColorValue"]=32]="HexColorValue",e[e["MixinDeclaration"]=33]="MixinDeclaration",e[e["MixinReference"]=34]="MixinReference",e[e["VariableName"]=35]="VariableName",e[e["VariableDeclaration"]=36]="VariableDeclaration",e[e["Prio"]=37]="Prio",e[e["Interpolation"]=38]="Interpolation",e[e["NestedProperties"]=39]="NestedProperties",e[e["ExtendsReference"]=40]="ExtendsReference",e[e["SelectorPlaceholder"]=41]="SelectorPlaceholder",e[e["Debug"]=42]="Debug",e[e["If"]=43]="If",e[e["Else"]=44]="Else",e[e["For"]=45]="For",e[e["Each"]=46]="Each",e[e["While"]=47]="While",e[e["MixinContent"]=48]="MixinContent",e[e["Media"]=49]="Media",e[e["Keyframe"]=50]="Keyframe",e[e["FontFace"]=51]="FontFace",e[e["Import"]=52]="Import",e[e["Namespace"]=53]="Namespace",e[e["Invocation"]=54]="Invocation",e[e["FunctionDeclaration"]=55]="FunctionDeclaration",e[e["ReturnStatement"]=56]="ReturnStatement",e[e["MediaQuery"]=57]="MediaQuery",e[e["FunctionParameter"]=58]="FunctionParameter",e[e["FunctionArgument"]=59]="FunctionArgument",e[e["KeyframeSelector"]=60]="KeyframeSelector",e[e["ViewPort"]=61]="ViewPort",e[e["Document"]=62]="Document",e[e["AtApplyRule"]=63]="AtApplyRule",e[e["CustomPropertyDeclaration"]=64]="CustomPropertyDeclaration",e[e["CustomPropertySet"]=65]="CustomPropertySet",e[e["ListEntry"]=66]="ListEntry",e[e["Supports"]=67]="Supports",e[e["SupportsCondition"]=68]="SupportsCondition",e[e["NamespacePrefix"]=69]="NamespacePrefix",e[e["GridLine"]=70]="GridLine",e[e["Plugin"]=71]="Plugin",e[e["UnknownAtRule"]=72]="UnknownAtRule",e[e["Use"]=73]="Use",e[e["ModuleConfiguration"]=74]="ModuleConfiguration",e[e["Forward"]=75]="Forward",e[e["ForwardVisibility"]=76]="ForwardVisibility",e[e["Module"]=77]="Module"})(Y||(Y={})),function(e){e[e["Mixin"]=0]="Mixin",e[e["Rule"]=1]="Rule",e[e["Variable"]=2]="Variable",e[e["Function"]=3]="Function",e[e["Keyframe"]=4]="Keyframe",e[e["Unknown"]=5]="Unknown",e[e["Module"]=6]="Module",e[e["Forward"]=7]="Forward",e[e["ForwardVisibility"]=8]="ForwardVisibility"}(X||(X={}));var ie,re=function(){function e(e,t,n){void 0===e&&(e=-1),void 0===t&&(t=-1),this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}return Object.defineProperty(e.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.nodeType||Y.Undefined},set:function(e){this.nodeType=e},enumerable:!0,configurable:!0}),e.prototype.getTextProvider=function(){var e=this;while(e&&!e.textProvider)e=e.parent;return e?e.textProvider:function(){return"unknown"}},e.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},e.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},e.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},e.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},e.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;t<n.length;t++){var i=n[t];i.accept(e)}},e.prototype.acceptVisitor=function(e){this.accept(e.visitNode.bind(e))},e.prototype.adoptChild=function(e,t){if(void 0===t&&(t=-1),e.parent&&e.parent.children){var n=e.parent.children.indexOf(e);n>=0&&e.parent.children.splice(n,1)}e.parent=this;var i=this.children;return i||(i=this.children=[]),-1!==t?i.splice(t,0,e):i.push(e),e},e.prototype.attachTo=function(e,t){return void 0===t&&(t=-1),e&&e.adoptChild(this,t),this},e.prototype.collectIssues=function(e){this.issues&&e.push.apply(e,this.issues)},e.prototype.addIssue=function(e){this.issues||(this.issues=[]),this.issues.push(e)},e.prototype.hasIssue=function(e){return Array.isArray(this.issues)&&this.issues.some((function(t){return t.getRule()===e}))},e.prototype.isErroneous=function(e){return void 0===e&&(e=!1),!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((function(e){return e.isErroneous(!0)}))},e.prototype.setNode=function(e,t,n){return void 0===n&&(n=-1),!!t&&(t.attachTo(this,n),this[e]=t,!0)},e.prototype.addChild=function(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)},e.prototype.updateOffsetAndLength=function(e){(e.offset<this.offset||-1===this.offset)&&(this.offset=e.offset);var t=e.end;(t>this.end||-1===this.length)&&(this.length=t-this.offset)},e.prototype.hasChildren=function(){return!!this.children&&this.children.length>0},e.prototype.getChildren=function(){return this.children?this.children.slice(0):[]},e.prototype.getChild=function(e){return this.children&&e<this.children.length?this.children[e]:null},e.prototype.addChildren=function(e){for(var t=0,n=e;t<n.length;t++){var i=n[t];this.addChild(i)}},e.prototype.findFirstChildBeforeOffset=function(e){if(this.children)for(var t=null,n=this.children.length-1;n>=0;n--)if(t=this.children[n],t.offset<=e)return t;return null},e.prototype.findChildAtOffset=function(e,t){var n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null},e.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},e.prototype.getParent=function(){var e=this.parent;while(e instanceof oe)e=e.parent;return e},e.prototype.findParent=function(e){var t=this;while(t&&t.type!==e)t=t.parent;return t},e.prototype.findAParent=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this;while(n&&!e.some((function(e){return n.type===e})))n=n.parent;return n},e.prototype.setData=function(e,t){this.options||(this.options={}),this.options[e]=t},e.prototype.getData=function(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null},e}(),oe=function(e){function t(t,n){void 0===n&&(n=-1);var i=e.call(this,-1,-1)||this;return i.attachTo(t,n),i.offset=-1,i.length=-1,i}return Q(t,e),t}(re),se=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.isCustomProperty=!1,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Identifier},enumerable:!0,configurable:!0}),t.prototype.containsInterpolation=function(){return this.hasChildren()},t}(re),ae=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Stylesheet},enumerable:!0,configurable:!0}),t}(re),le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declarations},enumerable:!0,configurable:!0}),t}(re),ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getDeclarations=function(){return this.declarations},t.prototype.setDeclarations=function(e){return this.setNode("declarations",e)},t}(re),de=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Ruleset},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new oe(this)),this.selectors},t.prototype.isNested=function(){return!!this.parent&&null!==this.parent.findParent(Y.Declarations)},t}(ce),pe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Selector},enumerable:!0,configurable:!0}),t}(re),he=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SimpleSelector},enumerable:!0,configurable:!0}),t}(re),me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AtApplyRule},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(re),ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t}(re),fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertyDeclaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setPropertySet=function(e){return this.setNode("propertySet",e)},t.prototype.getPropertySet=function(){return this.propertySet},t}(ue),ge=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.CustomPropertySet},enumerable:!0,configurable:!0}),t}(ce),be=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.property=null,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Declaration},enumerable:!0,configurable:!0}),t.prototype.setProperty=function(e){return this.setNode("property",e)},t.prototype.getProperty=function(){return this.property},t.prototype.getFullPropertyName=function(){var e=this.property?this.property.getName():"unknown";if(this.parent instanceof le&&this.parent.getParent()instanceof Ie){var n=this.parent.getParent().getParent();if(n instanceof t)return n.getFullPropertyName()+e}return e},t.prototype.getNonPrefixedPropertyName=function(){var e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){var t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t.prototype.setNestedProperties=function(e){return this.setNode("nestedProperties",e)},t.prototype.getNestedProperties=function(){return this.nestedProperties},t}(ue),ye=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Property},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.getText()},t.prototype.isCustomProperty=function(){return!!this.identifier&&this.identifier.isCustomProperty},t}(re),ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Invocation},enumerable:!0,configurable:!0}),t.prototype.getArguments=function(){return this.arguments||(this.arguments=new oe(this)),this.arguments},t}(re),we=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Function},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(ve),xe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionParameter},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setDefaultValue=function(e){return this.setNode("defaultValue",e,0)},t.prototype.getDefaultValue=function(){return this.defaultValue},t}(re),Se=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionArgument},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(re),ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.If},enumerable:!0,configurable:!0}),t.prototype.setExpression=function(e){return this.setNode("expression",e,0)},t.prototype.setElseClause=function(e){return this.setNode("elseClause",e)},t}(ce),Ce=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.For},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return this.setNode("variable",e,0)},t}(ce),Fe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Each},enumerable:!0,configurable:!0}),t.prototype.getVariables=function(){return this.variables||(this.variables=new oe(this)),this.variables},t}(ce),ze=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.While},enumerable:!0,configurable:!0}),t}(ce),De=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Else},enumerable:!0,configurable:!0}),t}(ce),Te=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FunctionDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new oe(this)),this.parameters},t}(ce),Re=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ViewPort},enumerable:!0,configurable:!0}),t}(ce),Ee=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.FontFace},enumerable:!0,configurable:!0}),t}(ce),Ie=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NestedProperties},enumerable:!0,configurable:!0}),t}(ce),Me=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Keyframe},enumerable:!0,configurable:!0}),t.prototype.setKeyword=function(e){return this.setNode("keyword",e,0)},t.prototype.getKeyword=function(){return this.keyword},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t}(ce),Ne=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.KeyframeSelector},enumerable:!0,configurable:!0}),t}(ce),Pe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Import},enumerable:!0,configurable:!0}),t.prototype.setMedialist=function(e){return!!e&&(e.attachTo(this),!0)},t}(re),_e=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Use},enumerable:!0,configurable:!0}),t.prototype.getParameters=function(){return this.parameters||(this.parameters=new oe(this)),this.parameters},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ModuleConfiguration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.setValue=function(e){return this.setNode("value",e,0)},t.prototype.getValue=function(){return this.value},t}(re),We=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Forward},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),Oe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ForwardVisibility},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re),Le=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Namespace},enumerable:!0,configurable:!0}),t}(re),Ue=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Media},enumerable:!0,configurable:!0}),t}(ce),je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Supports},enumerable:!0,configurable:!0}),t}(ce),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Document},enumerable:!0,configurable:!0}),t}(ce),Be=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),t.prototype.getMediums=function(){return this.mediums||(this.mediums=new oe(this)),this.mediums},t}(re),$e=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MediaQuery},enumerable:!0,configurable:!0}),t}(re),qe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.SupportsCondition},enumerable:!0,configurable:!0}),t}(re),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Page},enumerable:!0,configurable:!0}),t}(ce),Ge=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.PageBoxMarginBox},enumerable:!0,configurable:!0}),t}(ce),Je=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Expression},enumerable:!0,configurable:!0}),t}(re),He=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.BinaryExpression},enumerable:!0,configurable:!0}),t.prototype.setLeft=function(e){return this.setNode("left",e)},t.prototype.getLeft=function(){return this.left},t.prototype.setRight=function(e){return this.setNode("right",e)},t.prototype.getRight=function(){return this.right},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t}(re),Ye=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Term},enumerable:!0,configurable:!0}),t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setExpression=function(e){return this.setNode("expression",e)},t.prototype.getExpression=function(){return this.expression},t}(re),Xe=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.AttributeSelector},enumerable:!0,configurable:!0}),t.prototype.setNamespacePrefix=function(e){return this.setNode("namespacePrefix",e)},t.prototype.getNamespacePrefix=function(){return this.namespacePrefix},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.setOperator=function(e){return this.setNode("operator",e)},t.prototype.getOperator=function(){return this.operator},t.prototype.setValue=function(e){return this.setNode("value",e)},t.prototype.getValue=function(){return this.value},t}(re),Ze=(function(e){function t(t,n){return e.call(this,t,n)||this}Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Operator},enumerable:!0,configurable:!0})}(re),function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.HexColorValue},enumerable:!0,configurable:!0}),t}(re)),Qe=".".charCodeAt(0),et="0".charCodeAt(0),tt="9".charCodeAt(0),nt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.NumericValue},enumerable:!0,configurable:!0}),t.prototype.getValue=function(){for(var e,t=this.getText(),n=0,i=0,r=t.length;i<r;i++){if(e=t.charCodeAt(i),!(et<=e&&e<=tt||e===Qe))break;n+=1}return{value:t.substring(0,n),unit:n<t.length?t.substring(n):void 0}},t}(re),it=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.variable=null,i.value=null,i.needsSemicolon=!0,i}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableDeclaration},enumerable:!0,configurable:!0}),t.prototype.setVariable=function(e){return!!e&&(e.attachTo(this),this.variable=e,!0)},t.prototype.getVariable=function(){return this.variable},t.prototype.getName=function(){return this.variable?this.variable.getName():""},t.prototype.setValue=function(e){return!!e&&(e.attachTo(this),this.value=e,!0)},t.prototype.getValue=function(){return this.value},t}(ue),rt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Interpolation},enumerable:!0,configurable:!0}),t}(re),ot=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.VariableName},enumerable:!0,configurable:!0}),t.prototype.getName=function(){return this.getText()},t}(re),st=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ExtendsReference},enumerable:!0,configurable:!0}),t.prototype.getSelectors=function(){return this.selectors||(this.selectors=new oe(this)),this.selectors},t}(re),at=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinReference},enumerable:!0,configurable:!0}),t.prototype.getNamespaces=function(){return this.namespaces||(this.namespaces=new oe(this)),this.namespaces},t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getArguments=function(){return this.arguments||(this.arguments=new oe(this)),this.arguments},t.prototype.setContent=function(e){return this.setNode("content",e)},t.prototype.getContent=function(){return this.content},t}(re),lt=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.MixinDeclaration},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t.prototype.getName=function(){return this.identifier?this.identifier.getText():""},t.prototype.getParameters=function(){return this.parameters||(this.parameters=new oe(this)),this.parameters},t.prototype.setGuard=function(e){return e&&(e.attachTo(this),this.guard=e),!1},t}(ce),ct=function(e){function t(t,n){return e.call(this,t,n)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.UnknownAtRule},enumerable:!0,configurable:!0}),t.prototype.setAtRuleName=function(e){this.atRuleName=e},t.prototype.getAtRuleName=function(){return this.atRuleName},t}(ce),dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.ListEntry},enumerable:!0,configurable:!0}),t.prototype.setKey=function(e){return this.setNode("key",e,0)},t.prototype.setValue=function(e){return this.setNode("value",e,1)},t}(re),pt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.getConditions=function(){return this.conditions||(this.conditions=new oe(this)),this.conditions},t}(re),ht=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),t.prototype.setVariable=function(e){return this.setNode("variable",e)},t}(re),mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Q(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return Y.Module},enumerable:!0,configurable:!0}),t.prototype.setIdentifier=function(e){return this.setNode("identifier",e,0)},t.prototype.getIdentifier=function(){return this.identifier},t}(re);(function(e){e[e["Ignore"]=1]="Ignore",e[e["Warning"]=2]="Warning",e[e["Error"]=4]="Error"})(ie||(ie={}));var ut=function(){function e(e,t,n,i,r,o){void 0===r&&(r=e.offset),void 0===o&&(o=e.length),this.node=e,this.rule=t,this.level=n,this.message=i||t.message,this.offset=r,this.length=o}return e.prototype.getRule=function(){return this.rule},e.prototype.getLevel=function(){return this.level},e.prototype.getOffset=function(){return this.offset},e.prototype.getLength=function(){return this.length},e.prototype.getNode=function(){return this.node},e.prototype.getMessage=function(){return this.message},e}(),ft=function(){function e(){this.entries=[]}return e.entries=function(t){var n=new e;return t.acceptVisitor(n),n.entries},e.prototype.visitNode=function(e){return e.isErroneous()&&e.collectIssues(this.entries),!0},e}();function gt(e,t){var n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var i=n[0];return"undefined"!==typeof t[i]?t[i]:e})),n}function bt(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return gt(t,n)}function yt(e){return bt}var vt=yt(),wt=function(){function e(e,t){this.id=e,this.message=t}return e}(),xt={NumberExpected:new wt("css-numberexpected",vt("expected.number","number expected")),ConditionExpected:new wt("css-conditionexpected",vt("expected.condt","condition expected")),RuleOrSelectorExpected:new wt("css-ruleorselectorexpected",vt("expected.ruleorselector","at-rule or selector expected")),DotExpected:new wt("css-dotexpected",vt("expected.dot","dot expected")),ColonExpected:new wt("css-colonexpected",vt("expected.colon","colon expected")),SemiColonExpected:new wt("css-semicolonexpected",vt("expected.semicolon","semi-colon expected")),TermExpected:new wt("css-termexpected",vt("expected.term","term expected")),ExpressionExpected:new wt("css-expressionexpected",vt("expected.expression","expression expected")),OperatorExpected:new wt("css-operatorexpected",vt("expected.operator","operator expected")),IdentifierExpected:new wt("css-identifierexpected",vt("expected.ident","identifier expected")),PercentageExpected:new wt("css-percentageexpected",vt("expected.percentage","percentage expected")),URIOrStringExpected:new wt("css-uriorstringexpected",vt("expected.uriorstring","uri or string expected")),URIExpected:new wt("css-uriexpected",vt("expected.uri","URI expected")),VariableNameExpected:new wt("css-varnameexpected",vt("expected.varname","variable name expected")),VariableValueExpected:new wt("css-varvalueexpected",vt("expected.varvalue","variable value expected")),PropertyValueExpected:new wt("css-propertyvalueexpected",vt("expected.propvalue","property value expected")),LeftCurlyExpected:new wt("css-lcurlyexpected",vt("expected.lcurly","{ expected")),RightCurlyExpected:new wt("css-rcurlyexpected",vt("expected.rcurly","} expected")),LeftSquareBracketExpected:new wt("css-rbracketexpected",vt("expected.lsquare","[ expected")),RightSquareBracketExpected:new wt("css-lbracketexpected",vt("expected.rsquare","] expected")),LeftParenthesisExpected:new wt("css-lparentexpected",vt("expected.lparen","( expected")),RightParenthesisExpected:new wt("css-rparentexpected",vt("expected.rparent",") expected")),CommaExpected:new wt("css-commaexpected",vt("expected.comma","comma expected")),PageDirectiveOrDeclarationExpected:new wt("css-pagedirordeclexpected",vt("expected.pagedirordecl","page directive or declaraton expected")),UnknownAtRule:new wt("css-unknownatrule",vt("unknown.atrule","at-rule unknown")),UnknownKeyword:new wt("css-unknownkeyword",vt("unknown.keyword","unknown keyword")),SelectorExpected:new wt("css-selectorexpected",vt("expected.selector","selector expected")),StringLiteralExpected:new wt("css-stringliteralexpected",vt("expected.stringliteral","string literal expected")),WhitespaceExpected:new wt("css-whitespaceexpected",vt("expected.whitespace","whitespace expected")),MediaQueryExpected:new wt("css-mediaqueryexpected",vt("expected.mediaquery","media query expected")),IdentifierOrWildcardExpected:new wt("css-idorwildcardexpected",vt("expected.idorwildcard","identifier or wildcard expected")),WildcardExpected:new wt("css-wildcardexpected",vt("expected.wildcard","wildcard expected")),IdentifierOrVariableExpected:new wt("css-idorvarexpected",vt("expected.idorvar","identifier or variable expected"))},St={version:1.1,properties:[{name:"width",values:[{name:"auto",description:"The width depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/width"}],description:"Specifies the width of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"height",values:[{name:"auto",description:"The height depends on the values of other properties."},{name:"fit-content",description:"Use the fit-content inline size or fit-content block size, as appropriate to the writing mode."},{name:"max-content",description:"Use the max-content inline size or max-content block size, as appropriate to the writing mode."},{name:"min-content",description:"Use the min-content inline size or min-content block size, as appropriate to the writing mode."}],syntax:"<viewport-length>{1,2}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/height"}],description:"Specifies the height of the content area, padding area or border area (depending on 'box-sizing') of certain boxes.",restrictions:["length","percentage"]},{name:"display",values:[{name:"block",description:"The element generates a block-level box"},{name:"contents",description:"The element itself does not generate any boxes, but its children and pseudo-elements still generate boxes as normal."},{name:"flex",description:"The element generates a principal flex container box and establishes a flex formatting context."},{name:"flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"flow-root",description:"The element generates a block container box, and lays out its contents using flow layout."},{name:"grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"inline",description:"The element generates an inline-level box."},{name:"inline-block",description:"A block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the box itself is formatted as an inline box."},{name:"inline-flex",description:"Inline-level flex container."},{name:"inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"inline-table",description:"Inline-level table wrapper box containing table box."},{name:"list-item",description:"One or more block boxes and one marker box."},{name:"-moz-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-moz-deck"},{name:"-moz-grid"},{name:"-moz-grid-group"},{name:"-moz-grid-line"},{name:"-moz-groupbox"},{name:"-moz-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-moz-inline-grid"},{name:"-moz-inline-stack"},{name:"-moz-marker"},{name:"-moz-popup"},{name:"-moz-stack"},{name:"-ms-flexbox",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-ms-grid",description:"The element generates a principal grid container box, and establishes a grid formatting context."},{name:"-ms-inline-flexbox",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-ms-inline-grid",description:"Inline-level grid container."},{name:"none",description:"The element and its descendants generates no boxes."},{name:"ruby",description:"The element generates a principal ruby container box, and establishes a ruby formatting context."},{name:"ruby-base"},{name:"ruby-base-container"},{name:"ruby-text"},{name:"ruby-text-container"},{name:"run-in",description:"The element generates a run-in box. Run-in elements act like inlines or blocks, depending on the surrounding elements."},{name:"table",description:"The element generates a principal table wrapper box containing an additionally-generated table box, and establishes a table formatting context."},{name:"table-caption"},{name:"table-cell"},{name:"table-column"},{name:"table-column-group"},{name:"table-footer-group"},{name:"table-header-group"},{name:"table-row"},{name:"table-row-group"},{name:"-webkit-box",description:"The element lays out its contents using flow layout (block-and-inline layout). Standardized as 'flex'."},{name:"-webkit-flex",description:"The element lays out its contents using flow layout (block-and-inline layout)."},{name:"-webkit-inline-box",description:"Inline-level flex container. Standardized as 'inline-flex'"},{name:"-webkit-inline-flex",description:"Inline-level flex container."}],syntax:"[ <display-outside> || <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy>",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/display"}],description:"In combination with 'float' and 'position', determines the type of box or boxes that are generated for an element.",restrictions:["enum"]},{name:"padding",values:[],syntax:"[ <length> | <percentage> ]{1,4}",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/padding"}],description:"Shorthand property to set values the thickness of the padding area. If left is omitted, it is the same as right. If bottom is omitted it is the same as top, if right is omitted it is the same as top. The value may not be negative.",restrictions:["length","percentage"]},{name:"position",values:[{name:"absolute",description:"The box's position (and possibly size) is specified with the 'top', 'right', 'bottom', and 'left' prop