WebInspector.ConsoleViewMessage=function(consoleMessage,linkifier,nestingLevel) {this._message=consoleMessage;this._linkifier=linkifier;this._repeatCount=1;this._closeGroupDecorationCount=0;this._nestingLevel=nestingLevel;this._dataGrids=[];this._dataGridParents=new Map();this._customFormatters={"array":this._formatParameterAsArray,"error":this._formatParameterAsError,"function":this._formatParameterAsFunction,"generator":this._formatParameterAsObject,"iterator":this._formatParameterAsObject,"map":this._formatParameterAsObject,"node":this._formatParameterAsNode,"object":this._formatParameterAsObject,"set":this._formatParameterAsObject,"string":this._formatParameterAsString};this._previewFormatter=new WebInspector.RemoteObjectPreviewFormatter();this._searchRegex=null;} WebInspector.ConsoleViewMessage.prototype={_target:function() {return this.consoleMessage().target();},element:function() {return this.toMessageElement();},wasShown:function() {for(var i=0;this._dataGrids&&imaxFlatArrayLength) this._formatParameterAsArrayOrObject(array,elem,this.useArrayPreviewInFormatter(array)||array.arrayLength()<=maxFlatArrayLength);else array.getAllProperties(false,this._printArray.bind(this,array,elem));},_formatParameterAsTable:function(parameters) {var element=createElementWithClass("div","console-message-formatted-table");var table=parameters[0];if(!table||!table.preview) return element;var columnNames=[];var preview=table.preview;var rows=[];for(var i=0;i1){var detailedLink=elem.createChild("a");detailedLink.textContent="(\u2026)";function showDetailed(event) {span.removeChildren();detailedLink.remove();span.appendChild(WebInspector.linkifyStringAsFragment(text));event.consume(true);} detailedLink._showDetailedForTest=showDetailed.bind(null,new MouseEvent('click'));detailedLink.addEventListener("click",showDetailed,false);}},_printArray:function(array,elem,properties) {if(!properties){this._formatParameterAsObject(array,elem,false);return;} var elements=[];for(var i=0;i1){appendUndefined(elem,i);elem.createTextChild(", ");} elem.appendChild(element);lastNonEmptyIndex=i;if(i");element.title=(result.description);}else if(isArrayEntry){rootElement.appendChild(this._formatAsArrayEntry(result));}else{const maxLength=100;var type=result.type;var subtype=result.subtype;var description="";if(type!=="function"&&result.description){if(type==="string"||subtype==="regexp") description=result.description.trimMiddle(maxLength);else description=result.description.trimEnd(maxLength);} rootElement.appendChild(this._previewFormatter.renderPropertyPreview(type,subtype,description));}} return rootElement;},_formatWithSubstitutionString:function(format,parameters,formattedResult) {var formatters={};function parameterFormatter(force,obj) {return this._formatParameter(obj,force,false);} function stringFormatter(obj) {return obj.description;} function floatFormatter(obj) {if(typeof obj.value!=="number") return"NaN";return obj.value;} function integerFormatter(obj) {if(typeof obj.value!=="number") return"NaN";return Math.floor(obj.value);} function bypassFormatter(obj) {return(obj instanceof Node)?obj:"";} var currentStyle=null;function styleFormatter(obj) {currentStyle={};var buffer=createElement("span");buffer.setAttribute("style",obj.description);for(var i=0;i1) this._showRepeatCountElement();this.updateTimestamp(WebInspector.moduleSetting("consoleTimestampsEnabled").get());return this._element;},toMessageElement:function() {if(this._wrapperElement) return this._wrapperElement;this._wrapperElement=createElement("div");this.updateMessageElement();return this._wrapperElement;},updateMessageElement:function() {if(!this._wrapperElement) return;this._wrapperElement.className="console-message-wrapper";this._wrapperElement.removeChildren();this._nestingLevelMarkers=[];for(var i=0;i0?lines[i-1].length+1:0;var isCallFrameLine=/^\s*at\s/.test(lines[i]);if(!isCallFrameLine&&links.length) return null;if(!isCallFrameLine) continue;var openBracketIndex=lines[i].indexOf("(");var closeBracketIndex=lines[i].indexOf(")");var hasOpenBracket=openBracketIndex!==-1;var hasCloseBracket=closeBracketIndex!==-1;if((openBracketIndex>closeBracketIndex)||(hasOpenBracket^hasCloseBracket)) return null;var left=hasOpenBracket?openBracketIndex+1:lines[i].indexOf("at")+3;var right=hasOpenBracket?closeBracketIndex:lines[i].length;var linkCandidate=lines[i].substring(left,right);var splitResult=WebInspector.ParsedURL.splitLineAndColumn(linkCandidate);if(!splitResult) return null;var parsed=splitResult.url.asParsedURL();var url;if(parsed) url=parsed.url;else if(debuggerModel.scriptsForSourceURL(splitResult.url).length) url=splitResult.url;else if(splitResult.url==="") continue;else return null;links.push({url:url,positionLeft:position+left,positionRight:position+right,lineNumber:splitResult.lineNumber,columnNumber:splitResult.columnNumber});} if(!links.length) return null;var formattedResult=createElement("span");var start=0;for(var i=0;i1&&WebInspector.targetManager.mainTarget().isPage()) this._showAllMessagesCheckbox.element.classList.toggle("hidden",false);},targetRemoved:function(target) {},_registerWithMessageSink:function() {WebInspector.console.messages().forEach(this._addSinkMessage,this);WebInspector.console.addEventListener(WebInspector.Console.Events.MessageAdded,messageAdded,this);function messageAdded(event) {this._addSinkMessage((event.data));}},_addSinkMessage:function(message) {var level=WebInspector.ConsoleMessage.MessageLevel.Debug;switch(message.level){case WebInspector.Console.MessageLevel.Error:level=WebInspector.ConsoleMessage.MessageLevel.Error;break;case WebInspector.Console.MessageLevel.Warning:level=WebInspector.ConsoleMessage.MessageLevel.Warning;break;} var consoleMessage=new WebInspector.ConsoleMessage(null,WebInspector.ConsoleMessage.MessageSource.Other,level,message.text,undefined,undefined,undefined,undefined,undefined,undefined,undefined,message.timestamp);this._addConsoleMessage(consoleMessage);},_consoleTimestampsSettingChanged:function(event) {var enabled=(event.data);this._updateMessageList();this._consoleMessages.forEach(function(viewMessage){viewMessage.updateTimestamp(enabled);});},defaultFocusedElement:function() {return this._promptElement;},_executionContextChanged:function() {this._prompt.clearAutoComplete(true);if(!this._showAllMessagesCheckbox.checked()) this._updateMessageList();},willHide:function() {this._hidePromptSuggestBox();},wasShown:function() {this._viewport.refresh();if(!this._prompt.isCaretInsidePrompt()) this._prompt.moveCaretToEndOfPrompt();},focus:function() {if(this._promptElement===WebInspector.currentFocusElement()) return;WebInspector.setCurrentFocusElement(this._promptElement);this._prompt.moveCaretToEndOfPrompt();},restoreScrollPositions:function() {if(this._viewport.scrolledToBottom()) this._immediatelyScrollToBottom();else WebInspector.Widget.prototype.restoreScrollPositions.call(this);},onResize:function() {this._scheduleViewportRefresh();this._hidePromptSuggestBox();if(this._viewport.scrolledToBottom()) this._immediatelyScrollToBottom();},_hidePromptSuggestBox:function() {this._prompt.hideSuggestBox();this._prompt.clearAutoComplete(true);},_scheduleViewportRefresh:function() {function invalidateViewport(finishCallback) {if(this._needsFullUpdate){this._updateMessageList();delete this._needsFullUpdate;}else{this._viewport.invalidate();} finishCallback();} this._viewportThrottler.schedule(invalidateViewport.bind(this));},_immediatelyScrollToBottom:function() {this._promptElement.scrollIntoView(true);},_updateFilterStatus:function() {this._filterStatusTextElement.textContent=WebInspector.UIString(this._hiddenByFilterCount===1?"%d message is hidden by filters.":"%d messages are hidden by filters.",this._hiddenByFilterCount);this._filterStatusMessageElement.style.display=this._hiddenByFilterCount?"":"none";},_onConsoleMessageAdded:function(event) {var message=(event.data);this._addConsoleMessage(message);},_addConsoleMessage:function(message) {function compareTimestamps(viewMessage1,viewMessage2) {return WebInspector.ConsoleMessage.timestampComparator(viewMessage1.consoleMessage(),viewMessage2.consoleMessage());} if(message.type===WebInspector.ConsoleMessage.MessageType.Command||message.type===WebInspector.ConsoleMessage.MessageType.Result) message.timestamp=this._consoleMessages.length?this._consoleMessages.peekLast().consoleMessage().timestamp:0;var viewMessage=this._createViewMessage(message);message[this._viewMessageSymbol]=viewMessage;var insertAt=insertionIndexForObjectInListSortedByFunction(viewMessage,this._consoleMessages,compareTimestamps,true);var insertedInMiddle=insertAt=this.itemCount()||error){stream.close();progressIndicator.done();return;} var lines=[];for(var i=0;i=0){matchRange=this._regexMatchRanges[this._currentMatchRangeIndex];var message=this._visibleViewMessages[matchRange.messageIndex];message.searchHighlightNode(matchRange.matchIndex).classList.remove(currentSearchResultClassName);} index=mod(index,this._regexMatchRanges.length);this._currentMatchRangeIndex=index;this._searchableView.updateCurrentMatchIndex(index);matchRange=this._regexMatchRanges[index];var message=this._visibleViewMessages[matchRange.messageIndex];var highlightNode=message.searchHighlightNode(matchRange.matchIndex);highlightNode.classList.add(currentSearchResultClassName);this._viewport.scrollItemIntoView(matchRange.messageIndex);highlightNode.scrollIntoViewIfNeeded();},__proto__:WebInspector.VBox.prototype} WebInspector.ConsoleViewFilter=function(view) {this._messageURLFiltersSetting=WebInspector.settings.createSetting("messageURLFilters",{});this._messageLevelFiltersSetting=WebInspector.settings.createSetting("messageLevelFilters",{});this._view=view;this._messageURLFilters=this._messageURLFiltersSetting.get();this._filterChanged=this.dispatchEventToListeners.bind(this,WebInspector.ConsoleViewFilter.Events.FilterChanged);};WebInspector.ConsoleViewFilter.Events={FilterChanged:"FilterChanged"};WebInspector.ConsoleViewFilter.prototype={addFilters:function(filterBar) {this._textFilterUI=new WebInspector.TextFilterUI(true);this._textFilterUI.addEventListener(WebInspector.FilterUI.Events.FilterChanged,this._textFilterChanged,this);filterBar.addFilter(this._textFilterUI);this._hideNetworkMessagesCheckbox=new WebInspector.CheckboxFilterUI("hide-network-messages",WebInspector.UIString("Hide network messages"),true,WebInspector.moduleSetting("hideNetworkMessages"));this._hideNetworkMessagesCheckbox.addEventListener(WebInspector.FilterUI.Events.FilterChanged,this._filterChanged.bind(this),this);filterBar.addFilter(this._hideNetworkMessagesCheckbox);var levels=[{name:WebInspector.ConsoleMessage.MessageLevel.Error,label:WebInspector.UIString("Errors")},{name:WebInspector.ConsoleMessage.MessageLevel.Warning,label:WebInspector.UIString("Warnings")},{name:WebInspector.ConsoleMessage.MessageLevel.Info,label:WebInspector.UIString("Info")},{name:WebInspector.ConsoleMessage.MessageLevel.Log,label:WebInspector.UIString("Logs")},{name:WebInspector.ConsoleMessage.MessageLevel.Debug,label:WebInspector.UIString("Debug")},{name:WebInspector.ConsoleMessage.MessageLevel.RevokedError,label:WebInspector.UIString("Handled")}];this._levelFilterUI=new WebInspector.NamedBitSetFilterUI(levels,this._messageLevelFiltersSetting);this._levelFilterUI.addEventListener(WebInspector.FilterUI.Events.FilterChanged,this._filterChanged,this);filterBar.addFilter(this._levelFilterUI);},_textFilterChanged:function(event) {this._filterRegex=this._textFilterUI.regex();this._filterChanged();},addMessageURLFilter:function(url) {this._messageURLFilters[url]=true;this._messageURLFiltersSetting.set(this._messageURLFilters);this._filterChanged();},removeMessageURLFilter:function(url) {if(!url) this._messageURLFilters={};else delete this._messageURLFilters[url];this._messageURLFiltersSetting.set(this._messageURLFilters);this._filterChanged();},get messageURLFilters() {return this._messageURLFilters;},shouldBeVisible:function(viewMessage) {var message=viewMessage.consoleMessage();var executionContext=WebInspector.context.flavor(WebInspector.ExecutionContext);if(!message.target()) return true;if(!this._view._showAllMessagesCheckbox.checked()&&executionContext){if(message.target()!==executionContext.target()) return false;if(message.executionContextId&&message.executionContextId!==executionContext.id){return false;}} if(WebInspector.moduleSetting("hideNetworkMessages").get()&&viewMessage.consoleMessage().source===WebInspector.ConsoleMessage.MessageSource.Network) return false;if(viewMessage.consoleMessage().isGroupMessage()) return true;if(message.type===WebInspector.ConsoleMessage.MessageType.Result||message.type===WebInspector.ConsoleMessage.MessageType.Command) return true;if(message.url&&this._messageURLFilters[message.url]) return false;if(message.level&&!this._levelFilterUI.accept(message.level)) return false;if(this._filterRegex){this._filterRegex.lastIndex=0;if(!viewMessage.matchesFilterRegex(this._filterRegex)) return false;} return true;},reset:function() {this._messageURLFilters={};this._messageURLFiltersSetting.set(this._messageURLFilters);this._messageLevelFiltersSetting.set({});this._view._showAllMessagesCheckbox.inputElement.checked=true;WebInspector.moduleSetting("hideNetworkMessages").set(false);this._textFilterUI.setValue("");this._filterChanged();},__proto__:WebInspector.Object.prototype};WebInspector.ConsoleCommand=function(message,linkifier,nestingLevel) {WebInspector.ConsoleViewMessage.call(this,message,linkifier,nestingLevel);} WebInspector.ConsoleCommand.prototype={searchableElement:function() {return this.contentElement();},contentElement:function() {if(!this._element){this._element=createElementWithClass("div","console-user-command");this._element.message=this;this._formattedCommand=createElementWithClass("span","console-message-text source-code");this._formattedCommand.textContent=this.text;this._element.appendChild(this._formattedCommand);var javascriptSyntaxHighlighter=new WebInspector.DOMSyntaxHighlighter("text/javascript",true);javascriptSyntaxHighlighter.syntaxHighlightNode(this._formattedCommand).then(this._updateSearch.bind(this))} return this._element;},_updateSearch:function() {this.setSearchRegex(this.searchRegex());},__proto__:WebInspector.ConsoleViewMessage.prototype} WebInspector.ConsoleCommandResult=function(message,linkifier,nestingLevel) {WebInspector.ConsoleViewMessage.call(this,message,linkifier,nestingLevel);} WebInspector.ConsoleCommandResult.prototype={useArrayPreviewInFormatter:function(array) {return false;},contentElement:function() {var element=WebInspector.ConsoleViewMessage.prototype.contentElement.call(this);element.classList.add("console-user-command-result");this.updateTimestamp(false);return element;},__proto__:WebInspector.ConsoleViewMessage.prototype} WebInspector.ConsoleGroup=function(parentGroup,groupMessage) {this._parentGroup=parentGroup;this._nestingLevel=parentGroup?parentGroup.nestingLevel()+1:0;this._messagesHidden=groupMessage&&groupMessage.collapsed()||this._parentGroup&&this._parentGroup.messagesHidden();} WebInspector.ConsoleGroup.createTopGroup=function() {return new WebInspector.ConsoleGroup(null,null);} WebInspector.ConsoleGroup.prototype={messagesHidden:function() {return this._messagesHidden;},nestingLevel:function() {return this._nestingLevel;},parentGroup:function() {return this._parentGroup||this;},} WebInspector.ConsoleView.ShowConsoleActionDelegate=function() {} WebInspector.ConsoleView.ShowConsoleActionDelegate.prototype={handleAction:function(context,actionId) {WebInspector.console.show();}} WebInspector.ConsoleView.RegexMatchRange;;WebInspector.ConsolePanel=function() {WebInspector.Panel.call(this,"console");this._view=WebInspector.ConsolePanel._view();} WebInspector.ConsolePanel._view=function() {if(!WebInspector.ConsolePanel._consoleView) WebInspector.ConsolePanel._consoleView=new WebInspector.ConsoleView();return WebInspector.ConsolePanel._consoleView;} WebInspector.ConsolePanel.prototype={defaultFocusedElement:function() {return this._view.defaultFocusedElement();},wasShown:function() {WebInspector.Panel.prototype.wasShown.call(this);this._view.show(this.element);},willHide:function() {WebInspector.Panel.prototype.willHide.call(this);if(WebInspector.ConsolePanel.WrapperView._instance) WebInspector.ConsolePanel.WrapperView._instance._showViewInWrapper();},searchableView:function() {return WebInspector.ConsolePanel._view().searchableView();},__proto__:WebInspector.Panel.prototype} WebInspector.ConsolePanel.WrapperView=function() {WebInspector.VBox.call(this);this.element.classList.add("console-view-wrapper");WebInspector.ConsolePanel.WrapperView._instance=this;this._view=WebInspector.ConsolePanel._view();} WebInspector.ConsolePanel.WrapperView.prototype={wasShown:function() {if(!WebInspector.inspectorView.currentPanel()||WebInspector.inspectorView.currentPanel().name!=="console") this._showViewInWrapper();},defaultFocusedElement:function() {return this._view.defaultFocusedElement();},focus:function() {this._view.focus();},_showViewInWrapper:function() {this._view.show(this.element);},__proto__:WebInspector.VBox.prototype} WebInspector.ConsolePanel.ConsoleRevealer=function() {} WebInspector.ConsolePanel.ConsoleRevealer.prototype={reveal:function(object) {var consoleView=WebInspector.ConsolePanel._view();if(consoleView.isShowing()){consoleView.focus();return Promise.resolve();} WebInspector.inspectorView.showViewInDrawer("console");return Promise.resolve();}} WebInspector.ConsolePanel.show=function() {WebInspector.inspectorView.setCurrentPanel(WebInspector.ConsolePanel._instance());} WebInspector.ConsolePanel._instance=function() {if(!WebInspector.ConsolePanel._instanceObject) WebInspector.ConsolePanel._instanceObject=new WebInspector.ConsolePanel();return WebInspector.ConsolePanel._instanceObject;} WebInspector.ConsolePanelFactory=function() {} WebInspector.ConsolePanelFactory.prototype={createPanel:function() {return WebInspector.ConsolePanel._instance();}};Runtime.cachedResources["console/consoleView.css"]="/*\n * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.\n * Copyright (C) 2009 Anthony Ricaud \n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * 1. Redistributions of source code must retain the above copyright\n * notice, this list of conditions and the following disclaimer.\n * 2. Redistributions in binary form must reproduce the above copyright\n * notice, this list of conditions and the following disclaimer in the\n * documentation and/or other materials provided with the distribution.\n * 3. Neither the name of Apple Computer, Inc. (\"Apple\") nor the names of\n * its contributors may be used to endorse or promote products derived\n * from this software without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS \"AS IS\" AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY\n * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\n * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\n.console-view {\n background-color: white;\n overflow: hidden;\n}\n\n.console-view > .toolbar {\n border-bottom: 1px solid #dadada;\n}\n\n.console-view-wrapper {\n background-color: #eee;\n}\n\n.console-view-fix-select-all {\n height: 0;\n overflow: hidden;\n}\n\n#console-messages {\n flex: 1 1;\n padding: 2px 0;\n overflow-y: auto;\n word-wrap: break-word;\n -webkit-user-select: text;\n transform: translateZ(0);\n}\n\n#console-prompt {\n clear: right;\n position: relative;\n padding: 3px 22px 1px 0;\n margin-left: 24px;\n min-height: 18px; /* Sync with ConsoleViewMessage.js */\n white-space: pre-wrap;\n -webkit-user-modify: read-write-plaintext-only;\n}\n\n#console-prompt::before {\n background-position: -192px -96px;\n}\n\n.console-log-level .console-user-command-result::before {\n background-position: -202px -96px;\n}\n\n.console-message,\n.console-user-command {\n clear: right;\n position: relative;\n padding: 3px 22px 1px 0;\n margin-left: 24px;\n min-height: 18px; /* Sync with ConsoleViewMessage.js */\n flex: auto;\n display: flex;\n}\n\n.console-message > * {\n flex: auto;\n}\n\n.console-adjacent-user-command-result + .console-user-command-result.console-log-level::before {\n background-image: none;\n}\n\n.console-timestamp {\n color: gray;\n -webkit-user-select: none;\n}\n\n.console-message::before,\n.console-user-command::before,\n#console-prompt::before,\n.console-group-title::before {\n position: absolute;\n display: block;\n content: \"\";\n left: -17px;\n top: 9px;\n width: 10px;\n height: 10px;\n margin-top: -4px;\n -webkit-user-select: none;\n background-image: url(Images/toolbarButtonGlyphs.png);\n background-size: 352px 144px;\n}\n\n@media (-webkit-min-device-pixel-ratio: 1.5) {\n.console-message::before,\n.console-user-command::before,\n#console-prompt::before,\n.console-group-title::before {\n background-image: url(Images/toolbarButtonGlyphs_2x.png);\n}\n} /* media */\n\n.console-message > .outline-disclosure li.parent::before {\n top: 0;\n}\n\n.bubble-repeat-count {\n display: inline-block;\n height: 14px;\n background-color: rgb(128, 151, 189);\n vertical-align: middle;\n white-space: nowrap;\n padding: 1px 4px;\n text-align: left;\n font-size: 11px;\n line-height: normal;\n font-weight: bold;\n text-shadow: none;\n color: white;\n margin-top: -1px;\n border-radius: 7px;\n flex: none;\n}\n\n.console-message .bubble-repeat-count {\n margin-right: 4px;\n margin-left: -18px;\n}\n\n.console-error-level .repeated-message::before,\n.console-revokedError-level .repeated-message::before,\n.console-warning-level .repeated-message::before,\n.console-debug-level .repeated-message::before,\n.console-info-level .repeated-message::before {\n visibility: hidden;\n}\n\n.repeated-message .outline-disclosure,\n.repeated-message > .console-message-text {\n flex: 1;\n}\n\n.console-warning-level .repeated-message,\n.console-error-level .repeated-message,\n.console-revokedError-level .repeated-message,\n.console-log-level .repeated-message,\n.console-debug-level .repeated-message,\n.console-info-level .repeated-message {\n display: flex;\n}\n\n.console-info {\n color: rgb(128, 128, 128);\n font-style: italic;\n}\n\n.console-group .console-group > .console-group-messages {\n margin-left: 16px;\n}\n\n.console-group-title {\n font-weight: bold;\n}\n\n.console-group-title::before {\n -webkit-user-select: none;\n -webkit-mask-image: url(Images/toolbarButtonGlyphs.png);\n -webkit-mask-size: 352px 144px;\n float: left;\n width: 8px;\n content: \"a\";\n color: transparent;\n text-shadow: none;\n margin-left: 3px;\n margin-top: -7px;\n}\n\n@media (-webkit-min-device-pixel-ratio: 1.5) {\n.console-group-title::before {\n -webkit-mask-image: url(Images/toolbarButtonGlyphs_2x.png);\n}\n} /* media */\n\n.console-group .console-group-title::before {\n -webkit-mask-position: -20px -96px;\n background-color: rgb(110, 110, 110);\n}\n\n.console-message-wrapper.collapsed .console-group-title::before {\n -webkit-mask-position: -4px -96px;\n}\n\n.console-group {\n position: relative;\n}\n\n.console-message-wrapper {\n display: flex;\n border-bottom: 1px solid rgb(240, 240, 240);\n}\n\n.console-message-wrapper.console-adjacent-user-command-result {\n border-bottom: none;\n}\n\n.console-message-wrapper.console-error-level {\n border-top: 1px solid rgb(255, 216, 216);\n border-bottom: 1px solid rgb(255, 216, 216);\n margin-top: -1px;\n}\n\n.console-message-wrapper.console-warning-level {\n border-top: 1px solid hsl(50, 100%, 88%);\n border-bottom: 1px solid hsl(50, 100%, 88%);\n margin-top: -1px;\n}\n\n.console-message-wrapper .nesting-level-marker {\n width: 14px;\n flex: 0 0 auto;\n border-right: 1px solid #A3A3A3;\n position: relative;\n margin-bottom: -1px;\n}\n\n.console-message-wrapper:last-child .nesting-level-marker::before,\n.console-message-wrapper .nesting-level-marker.group-closed::before {\n content: \"\";\n}\n\n.console-message-wrapper .nesting-level-marker::before {\n border-bottom: 1px solid #A3A3A3;\n position: absolute;\n top: 0;\n left: 0;\n margin-left: 100%;\n width: 3px;\n height: 100%;\n box-sizing: border-box;\n}\n\n.console-error-level {\n background-color: rgb(255, 239, 239);\n}\n\n.console-warning-level {\n background-color: hsl(50, 100%, 95%);\n}\n\n.console-warning-level .console-message-text {\n color: hsl(39, 100%, 18%);\n}\n\n.console-error-level .console-message-text,\n.console-error-level .console-view-object-properties-section {\n color: red !important;\n}\n\n.console-debug-level .console-message-text {\n color: blue;\n}\n\n.console-message.console-warning-level {\n background-color: rgb(255, 250, 224);\n}\n\n.console-error-level .console-message::before,\n.console-revokedError-level .console-message::before,\n.console-warning-level .console-message::before,\n.console-debug-level .console-message::before,\n.console-info-level .console-message::before {\n background-image: url(Images/toolbarButtonGlyphs.png);\n background-size: 352px 144px;\n width: 10px;\n height: 10px;\n}\n\n@media (-webkit-min-device-pixel-ratio: 1.5) {\n.console-error-level .console-message::before,\n.console-revokedError-level .console-message::before,\n.console-warning-level .console-message::before,\n.console-debug-level .console-message::before,\n.console-info-level .console-message::before {\n background-image: url(Images/toolbarButtonGlyphs_2x.png);\n}\n} /* media */\n\n.console-warning-level .console-message::before {\n background-position: -202px -107px;\n}\n\n.console-error-level .console-message::before {\n background-position: -213px -96px;\n}\n\n.console-revokedError-level .console-message::before {\n background-position: -245px -107px;\n}\n\n.console-info-level .console-message::before {\n background-position: -213px -107px;\n}\n\n.console-user-command .console-message {\n margin-left: -24px;\n padding-right: 0;\n border-bottom: none;\n}\n\n.console-user-command::before {\n background-position: -192px -107px;\n}\n\n#console-messages .link {\n text-decoration: underline;\n}\n\n#console-messages .link,\n#console-messages a {\n color: rgb(33%, 33%, 33%);\n cursor: pointer;\n}\n\n#console-messages .link:hover,\n#console-messages a:hover {\n color: rgb(15%, 15%, 15%);\n}\n\n.console-group-messages .section {\n margin: 0 0 0 12px !important;\n}\n\n.console-group-messages .section > .header {\n padding: 0 8px 0 0;\n background-image: none;\n border: none;\n min-height: 0;\n}\n\n.console-group-messages .section > .header::before {\n margin-left: -12px;\n}\n\n.console-group-messages .section > .header .title {\n color: #222;\n font-weight: normal;\n line-height: 13px;\n}\n\n.console-group-messages .section .properties li .info {\n padding-top: 0;\n padding-bottom: 0;\n color: rgb(60%, 60%, 60%);\n}\n\n.console-object-preview {\n font-style: italic;\n white-space: normal;\n word-wrap: break-word;\n}\n\n.console-object-preview .name {\n /* Follows .section .properties .name, .event-properties .name */\n color: rgb(136, 19, 145);\n flex-shrink: 0;\n}\n\n.console-message-text {\n white-space: pre-wrap;\n}\n\n.console-message-formatted-table {\n clear: both;\n}\n\n.console-message-url {\n float: right;\n text-align: right;\n max-width: 100%;\n margin-left: 4px;\n}\n\n.console-message-nowrap-below,\n.console-message-nowrap-below div,\n.console-message-nowrap-below span {\n white-space: nowrap !important;\n}\n\n.object-info-state-note {\n display: inline-block;\n width: 11px;\n height: 11px;\n background-color: rgb(179, 203, 247);\n color: white;\n text-align: center;\n border-radius: 3px;\n line-height: 13px;\n margin: 0 6px;\n font-size: 9px;\n}\n\n.object-info-state-note::before {\n content: \"i\";\n}\n\n.console-view-object-properties-section:not(.expanded) .object-info-state-note {\n display: none;\n}\n\n.object-info-state-note {\n display: inline-block;\n width: 11px;\n height: 11px;\n background-color: rgb(179, 203, 247);\n color: white;\n text-align: center;\n border-radius: 3px;\n line-height: 13px;\n margin: 0 6px;\n font-size: 9px;\n}\n\n.object-info-state-note::before {\n content: \"i\";\n}\n\n.console-view-object-properties-section:not(.expanded) .object-info-state-note {\n display: none;\n}\n\n/*# sourceURL=console/consoleView.css */";