1(function(modules){function webpackJsonpCallback(data){var chunkIds=data[0];var moreModules=data[1];var moduleId,chunkId,i=0,resolves=[];for(;i<chunkIds.length;i++){chunkId=chunkIds[i];if(Object.prototype.hasOwnProperty.call(installedChunks,chunkId)&&installedChunks[chunkId]){resolves.push(installedChunks[chunkId][0])}installedChunks[chunkId]=0}for(moduleId in moreModules){if(Object.prototype.hasOwnProperty.call(moreModules,moduleId)){modules[moduleId]=moreModules[moduleId]}}if(parentJsonpFunction)parentJsonpFunction(data);while(resolves.length){resolves.shift()()}}var installedModules={};var installedChunks={1:0};function jsonpScriptSrc(chunkId){return __webpack_require__.p+"visTypeVega.chunk."+chunkId+".js"}function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}var module=installedModules[moduleId]={i:moduleId,l:false,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=true;return module.exports}__webpack_require__.e=function requireEnsure(chunkId){var promises=[];var installedChunkData=installedChunks[chunkId];if(installedChunkData!==0){if(installedChunkData){promises.push(installedChunkData[2])}else{var promise=new Promise((function(resolve,reject){installedChunkData=installedChunks[chunkId]=[resolve,reject]}));promises.push(installedChunkData[2]=promise);var script=document.createElement("script");var onScriptComplete;script.charset="utf-8";script.timeout=120;if(__webpack_require__.nc){script.setAttribute("nonce",__webpack_require__.nc)}script.src=jsonpScriptSrc(chunkId);var error=new Error;onScriptComplete=function(event){script.onerror=script.onload=null;clearTimeout(timeout);var chunk=installedChunks[chunkId];if(chunk!==0){if(chunk){var errorType=event&&(event.type==="load"?"missing":event.type);var realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")";error.name="ChunkLoadError";error.type=errorType;error.request=realSrc;chunk[1](error)}installedChunks[chunkId]=undefined}};var timeout=setTimeout((function(){onScriptComplete({type:"timeout",target:script})}),12e4);script.onerror=script.onload=onScriptComplete;document.head.appendChild(script)}}return Promise.all(promises)};__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{enumerable:true,get:getter})}};__webpack_require__.r=function(exports){if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(exports,"__esModule",{value:true})};__webpack_require__.t=function(value,mode){if(mode&1)value=__webpack_require__(value);if(mode&8)return value;if(mode&4&&typeof value==="object"&&value&&value.__esModule)return value;var ns=Object.create(null);__webpack_require__.r(ns);Object.defineProperty(ns,"default",{enumerable:true,value:value});if(mode&2&&typeof value!="string")for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module["default"]}:function getModuleExports(){return module};__webpack_require__.d(getter,"a",getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="";__webpack_require__.oe=function(err){console.error(err);throw err};var jsonpArray=window["visTypeVega_bundle_jsonpfunction"]=window["visTypeVega_bundle_jsonpfunction"]||[];var oldJsonpFunction=jsonpArray.push.bind(jsonpArray);jsonpArray.push=webpackJsonpCallback;jsonpArray=jsonpArray.slice();for(var i=0;i<jsonpArray.length;i++)webpackJsonpCallback(jsonpArray[i]);var parentJsonpFunction=oldJsonpFunction;return __webpack_require__(__webpack_require__.s=22)})([function(module,exports){module.exports=__osdSharedDeps__.React},function(module,exports){module.exports=__osdSharedDeps__.OsdI18n},function(module,exports){module.exports=__osdSharedDeps__.ElasticEui},function(module,exports,__webpack_require__){"use strict";module.exports=function(cssWithMappingToString){var list=[];list.toString=function toString(){return this.map((function(item){var content=cssWithMappingToString(item);if(item[2]){return"@media ".concat(item[2]," {").concat(content,"}")}return content})).join("")};list.i=function(modules,mediaQuery,dedupe){if(typeof modules==="str
1ing"){modules=[[null,modules,""]]}var alreadyImportedModules={};if(dedupe){for(var i=0;i<this.length;i++){var id=this[i][0];if(id!=null){alreadyImportedModules[id]=true}}}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);if(dedupe&&alreadyImportedModules[item[0]]){continue}if(mediaQuery){if(!item[2]){item[2]=mediaQuery}else{item[2]="".concat(mediaQuery," and ").concat(item[2])}}list.push(item)}};return list}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return getData}));__webpack_require__.d(__webpack_exports__,"k",(function(){return setData}));__webpack_require__.d(__webpack_exports__,"b",(function(){return getDataSourceEnabled}));__webpack_require__.d(__webpack_exports__,"l",(function(){return setDataSourceEnabled}));__webpack_require__.d(__webpack_exports__,"h",(function(){return getSavedObjectsClient}));__webpack_require__.d(__webpack_exports__,"q",(function(){return setSavedObjectsClient}));__webpack_require__.d(__webpack_exports__,"g",(function(){return getNotifications}));__webpack_require__.d(__webpack_exports__,"p",(function(){return setNotifications}));__webpack_require__.d(__webpack_exports__,"s",(function(){return setUiActions}));__webpack_require__.d(__webpack_exports__,"j",(function(){return getUISettings}));__webpack_require__.d(__webpack_exports__,"r",(function(){return setUISettings}));__webpack_require__.d(__webpack_exports__,"f",(function(){return getInjectedMetadata}));__webpack_require__.d(__webpack_exports__,"m",(function(){return setInjectedMetadata}));__webpack_require__.d(__webpack_exports__,"n",(function(){return setInjectedVars}));__webpack_require__.d(__webpack_exports__,"o",(function(){return setMapsLegacyConfig}));__webpack_require__.d(__webpack_exports__,"d",(function(){return getEnableExternalUrls}));__webpack_require__.d(__webpack_exports__,"e",(function(){return getExposeDebugObjectToWindow}));__webpack_require__.d(__webpack_exports__,"c",(function(){return getEmsTileLayerId}));__webpack_require__.d(__webpack_exports__,"i",(function(){return getShowRegionDeniedWarning}));var _opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(8);var _opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__);const[getData,setData]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("Data");const[getDataSourceEnabled,setDataSourceEnabled]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("DataSource");const[getSavedObjectsClient,setSavedObjectsClient]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("SavedObjects");const[getNotifications,setNotifications]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("Notifications");const[getUiActions,setUiActions]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("UIActions");const[getUISettings,setUISettings]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("UISettings");const[getInjectedMetadata,setInjectedMetadata]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("InjectedMetadata");const[getInjectedVars,setInjectedVars]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("InjectedVars");const[getMapsLegacyConfig,setMapsLegacyConfig]=Object(_opensearch_dashboards_utils_public__WEBPACK_IMPORTED_MODULE_0__["createGetterSetter"])("MapsLegacyConfig");const getEnableExternalUrls=()=>getInjectedVars().enableExternalUrls;const getExposeDebugObjectToWindow=()=>getInjectedVars().exposeDebugObjectToWindow;const getEmsTileLayerId=()=>getMapsLegacyConfig().emsTileLayerId;const getShowRegionDeniedWarning=()=>getMapsLegacyConfig().showRegionDeniedWarning},function(module,exports){module.exports=__osdSharedDeps__.RxjsOperators},function(module,exports,__webpack_require__){"use strict";var isOldIE=function isOldIE(){var memo;return function memorize(){if(typeof memo==="undefined"){memo=Boolean(window&&document&&document.all&&!window.atob)}return memo}}();var getTarget=function getTarget(){var memo={};return function memorize(target){if(typeof memo[target]==="undefined"){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement){try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}}memo[target]=styleTarget}return memo[target]}}();var stylesInDom=[];function getIndexByIdentifier(identifier){var result=-1;for(var i=0;i<stylesInDom.length;i++){if(stylesInDom[i].identifier===identifier){result=i;break}}return result}function modulesToDom(list,options){var idCountMap={};var identifiers=[];for(var i=0;i<list.length;i++){var item=list[i];var id=options.base?item[0]+options.base:item[0];var count=idCountMap[id]||0;var identifier="".concat(id," ").concat(count);idCountMap[id]=count+1;var index=getIndexByIdentifier(identifier);var obj={css:item[1],media:item[2],sourceMap:item[3]};if(index!==-1){stylesInDom[index].references++;stylesInDom[index].updater(obj)}else{stylesInDom.push({identifier:identifier,updater:addStyle(obj,options),references:1})}identifiers.push(identifier)}return identifiers}function insertStyleElement(options){var style=document.createElement("style");var attributes=options.attributes||{};if(typeof attributes.nonce==="undefined"){var nonce=true?__webpack_require__.nc:undefined;if(nonce){attributes.nonce=nonce}}
1Object.keys(attributes).forEach((function(key){style.setAttribute(key,attributes[key])}));if(typeof options.insert==="function"){options.insert(style)}else{var target=getTarget(options.insert||"head");if(!target){throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.")}target.appendChild(style)}return style}function removeStyleElement(style){if(style.parentNode===null){return false}style.parentNode.removeChild(style)}var replaceText=function replaceText(){var textStore=[];return function replace(index,replacement){textStore[index]=replacement;return textStore.filter(Boolean).join("\n")}}();function applyToSingletonTag(style,index,remove,obj){var css=remove?"":obj.media?"@media ".concat(obj.media," {").concat(obj.css,"}"):obj.css;if(style.styleSheet){style.styleSheet.cssText=replaceText(index,css)}else{var cssNode=document.createTextNode(css);var childNodes=style.childNodes;if(childNodes[index]){style.removeChild(childNodes[index])}if(childNodes.length){style.insertBefore(cssNode,childNodes[index])}else{style.appendChild(cssNode)}}}function applyToTag(style,options,obj){var css=obj.css;var media=obj.media;var sourceMap=obj.sourceMap;if(media){style.setAttribute("media",media)}else{style.removeAttribute("media")}if(sourceMap&&typeof btoa!=="undefined"){css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")}if(style.styleSheet){style.styleSheet.cssText=css}else{while(style.firstChild){style.removeChild(style.firstChild)}style.appendChild(document.createTextNode(css))}}var singleton=null;var singletonCounter=0;function addStyle(obj,options){var style;var update;var remove;if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=insertStyleElement(options));update=applyToSingletonTag.bind(null,style,styleIndex,false);remove=applyToSingletonTag.bind(null,style,styleIndex,true)}else{style=insertStyleElement(options);update=applyToTag.bind(null,style,options);remove=function remove(){removeStyleElement(style)}}update(obj);return function updateStyle(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap){return}update(obj=newObj)}else{remove()}}}module.exports=function(list,options){options=options||{};if(!options.singleton&&typeof options.singleton!=="boolean"){options.singleton=isOldIE()}list=list||[];var lastIdentifiers=modulesToDom(list,options);return function update(newList){newList=newList||[];if(Object.prototype.toString.call(newList)!=="[object Array]"){return}for(var i=0;i<lastIdentifiers.length;i++){var identifier=lastIdentifiers[i];var index=getIndexByIdentifier(identifier);stylesInDom[index].references--}var newLastIdentifiers=modulesToDom(newList,options);for(var _i=0;_i<lastIdentifiers.length;_i++){var _identifier=lastIdentifiers[_i];var _index=getIndexByIdentifier(_identifier);if(stylesInDom[_index].references===0){stylesInDom[_index].updater();stylesInDom.splice(_index,1)}}lastIdentifiers=newLastIdentifiers}}},function(module,exports){module.exports=__osdSharedDeps__.Lodash},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/opensearchDashboardsUtils/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/visAugmenter/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,exports){module.exports=__osdSharedDeps__.Rxjs},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/data/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,exports){module.exports=__osdSharedDeps__.OsdI18nReact},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/opensearchDashboardsReact/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,exports,__webpack_require__){"use strict"; 2/*! 3 * Hjson v3.2.1 4 * http://hjson.org 5 * 6 * Copyright 2014-2017 Christian Zangl, MIT license 7 * Details and documentation: 8 * https://github.com/hjson/hjson-js 9 * 10 * This code is based on the the JSON version by Douglas Crockford: 11 * https://github.com/douglascrockford/JSON-js (json_parse.js, json2.js) 12 */var common=__webpack_require__(15);var version=__webpack_require__(25);var parse=__webpack_require__(26);var stringify=__webpack_require__(27);var comments=__webpack_require__(28);var dsf=__webpack_require__(16);module.exports={parse:parse,stringify:stringify,endOfLine:function(){return common.EOL},setEndOfLine:function(eol){if(eol==="\n"||eol==="\r\n")common.EOL=eol},version:version,rt:{parse:function(text,options){(options=options||{}).keepWsc=true;return parse(text,options)}
12,stringify:function(value,options){(options=options||{}).keepWsc=true;return stringify(value,options)}},comments:comments,dsf:dsf.std}},function(module,exports,__webpack_require__){"use strict";var os=__webpack_require__(24);function tryParseNumber(text,stopAtNext){var number,string="",leadingZeros=0,testLeading=true;var at=0;var ch;function next(){ch=text.charAt(at);at++;return ch}next();if(ch==="-"){string="-";next()}while(ch>="0"&&ch<="9"){if(testLeading){if(ch=="0")leadingZeros++;else testLeading=false}string+=ch;next()}if(testLeading)leadingZeros--;if(ch==="."){string+=".";while(next()&&ch>="0"&&ch<="9")string+=ch}if(ch==="e"||ch==="E"){string+=ch;next();if(ch==="-"||ch==="+"){string+=ch;next()}while(ch>="0"&&ch<="9"){string+=ch;next()}}while(ch&&ch<=" ")next();if(stopAtNext){if(ch===","||ch==="}"||ch==="]"||ch==="#"||ch==="/"&&(text[at]==="/"||text[at]==="*"))ch=0}number=+string;if(ch||leadingZeros||!isFinite(number))return undefined;else return number}function createComment(value,comment){if(Object.defineProperty)Object.defineProperty(value,"__COMMENTS__",{enumerable:false,writable:true});return value.__COMMENTS__=comment||{}}function removeComment(value){Object.defineProperty(value,"__COMMENTS__",{value:undefined})}function getComment(value){return value.__COMMENTS__}function forceComment(text){if(!text)return"";var a=text.split("\n");var str,i,j,len;for(j=0;j<a.length;j++){str=a[j];len=str.length;for(i=0;i<len;i++){var c=str[i];if(c==="#")break;else if(c==="/"&&(str[i+1]==="/"||str[i+1]==="*")){if(str[i+1]==="*")j=a.length;break}else if(c>" "){a[j]="# "+str;break}}}return a.join("\n")}module.exports={EOL:os.EOL||"\n",tryParseNumber:tryParseNumber,createComment:createComment,removeComment:removeComment,getComment:getComment,forceComment:forceComment}},function(module,exports,__webpack_require__){"use strict";function loadDsf(col,type){if(Object.prototype.toString.apply(col)!=="[object Array]"){if(col)throw new Error("dsf option must contain an array!");else return nopDsf}else if(col.length===0)return nopDsf;var dsf=[];function isFunction(f){return{}.toString.call(f)==="[object Function]"}col.forEach((function(x){if(!x.name||!isFunction(x.parse)||!isFunction(x.stringify))throw new Error("extension does not match the DSF interface");dsf.push((function(){try{if(type=="parse"){return x.parse.apply(null,arguments)}else if(type=="stringify"){var res=x.stringify.apply(null,arguments);if(res!==undefined&&(typeof res!=="string"||res.length===0||res[0]==='"'||[].some.call(res,(function(c){return isInvalidDsfChar(c)}))))throw new Error("value may not be empty, start with a quote or contain a punctuator character except colon: "+res);return res}else throw new Error("Invalid type")}catch(e){throw new Error("DSF-"+x.name+" failed; "+e.message)}}))}));return runDsf.bind(null,dsf)}function runDsf(dsf,value){if(dsf){for(var i=0;i<dsf.length;i++){var res=dsf[i](value);if(res!==undefined)return res}}}function nopDsf(){}function isInvalidDsfChar(c){return c==="{"||c==="}"||c==="["||c==="]"||c===","}function math(){return{name:"math",parse:function(value){switch(value){case"+inf":case"inf":case"+Inf":case"Inf":return Infinity;case"-inf":case"-Inf":return-Infinity;case"nan":case"NaN":return NaN}},stringify:function(value){if(typeof value!=="number")return;if(1/value===-Infinity)return"-0";if(value===Infinity)return"Inf";if(value===-Infinity)return"-Inf";if(isNaN(value))return"NaN"}}}math.description="support for Inf/inf, -Inf/-inf, Nan/naN and -0";function hex(opt){var out=opt&&opt.out;return{name:"hex",parse:function(value){if(/^0x[0-9A-Fa-f]+$/.test(value))return parseInt(value,16)},stringify:function(value){if(out&&Number.isInteger(value))return"0x"+value.toString(16)}}}hex.description="parse hexadecimal numbers prefixed with 0x";function date(){return{name:"date",parse:function(value){if(/^\d{4}-\d{2}-\d{2}$/.test(value)||/^\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}(?:.\d+)(?:Z|[+-]\d{2}:\d{2})$/.test(value)){var dt=Date.parse(value);if(!isNaN(dt))return new Date(dt)}},stringify:function(value){if(Object.prototype.toString.call(value)==="[object Date]"){var dt=value.toISOString();if(dt.indexOf("T00:00:00.000Z",dt.length-14)!==-1)return dt.substr(0,10);else return dt}}}}date.description="support ISO dates";module.exports={loadDsf:loadDsf,std:{math:math,hex:hex,date:date}}},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/visualizations/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,exports){function stringify(obj,options){options=options||{};var indent=JSON.stringify([1],null,get(options,"indent",2)).slice(2,-3);var addMargin=get(options,"margins",false);var maxLength=indent===""?Infinity:get(options,"maxLength",80);return function _stringify(obj,currentIndent,reserved){if(obj&&typeof obj.toJSON==="function"){obj=obj.toJSON()}var string=JSON.stringify(obj);if(string===undefined){return string}var length=maxLength-currentIndent.length-reserved;if(string.length<=length){var prettified=prettify(string,addMargin);if(prettified.length<=length){return prettified}}if(typeof obj==="object"&&obj!==null){var nextIndent=currentIndent+indent;var items=[];var delimiters;var comma=function(array,index){return index===array.length-1?0:1};if(Array.isArray(obj)){for(var index=0;
12index<obj.length;index++){items.push(_stringify(obj[index],nextIndent,comma(obj,index))||"null")}delimiters="[]"}else{Object.keys(obj).forEach((function(key,index,array){var keyPart=JSON.stringify(key)+": ";var value=_stringify(obj[key],nextIndent,keyPart.length+comma(array,index));if(value!==undefined){items.push(keyPart+value)}}));delimiters="{}"}if(items.length>0){return[delimiters[0],indent+items.join(",\n"+nextIndent),delimiters[1]].join("\n"+currentIndent)}}return string}(obj,"",0)}var stringOrChar=/("(?:[^\\"]|\\.)*")|[:,\][}{]/g;function prettify(string,addMargin){var m=addMargin?" ":"";var tokens={"{":"{"+m,"[":"["+m,"}":m+"}","]":m+"]",",":", ",":":": "};return string.replace(stringOrChar,(function(match,string){return string?match:tokens[match]}))}function get(options,name,defaultValue){return name in options?options[name]:defaultValue}module.exports=stringify},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return extractIndexPatternsFromSpec}));var lodash__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(7);var lodash__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_0__);var _services__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(4);const extractIndexPatternsFromSpec=async spec=>{const{indexPatterns:indexPatterns}=Object(_services__WEBPACK_IMPORTED_MODULE_1__["a"])();let data=[];if(Array.isArray(spec.data)){data=spec.data}else if(spec.data){data=[spec.data]}return Object(lodash__WEBPACK_IMPORTED_MODULE_0__["flatten"])(await Promise.all(data.reduce((accumulator,currentValue)=>{var _currentValue$url;if((_currentValue$url=currentValue.url)!==null&&_currentValue$url!==void 0&&_currentValue$url.index){accumulator.push(indexPatterns.find(currentValue.url.index))}return accumulator},[])))}},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/visDefaultEditor/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/inspector/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_val_loader_dist_cjs_js_key_visTypeVega_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23);var _node_modules_val_loader_dist_cjs_js_key_visTypeVega_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_val_loader_dist_cjs_js_key_visTypeVega_osd_ui_shared_deps_public_path_module_creator_js__WEBPACK_IMPORTED_MODULE_0__);__osdBundles__.define("plugin/visTypeVega/public",__webpack_require__,56)},function(module,exports,__webpack_require__){__webpack_require__.p=window.__osdPublicPath__["visTypeVega"]},function(module,exports){exports.endianness=function(){return"LE"};exports.hostname=function(){if(typeof location!=="undefined"){return location.hostname}else return""};exports.loadavg=function(){return[]};exports.uptime=function(){return 0};exports.freemem=function(){return Number.MAX_VALUE};exports.totalmem=function(){return Number.MAX_VALUE};exports.cpus=function(){return[]};exports.type=function(){return"Browser"};exports.release=function(){if(typeof navigator!=="undefined"){return navigator.appVersion}return""};exports.networkInterfaces=exports.getNetworkInterfaces=function(){return{}};exports.arch=function(){return"javascript"};exports.platform=function(){return"browser"};exports.tmpdir=exports.tmpDir=function(){return"/tmp"};exports.EOL="\n";exports.homedir=function(){return"/"}},function(module,exports){module.exports="3.2.1"},function(module,exports,__webpack_require__){"use strict";module.exports=function(source,opt){var common=__webpack_require__(15);var dsf=__webpack_require__(16);var text;var at;var ch;var escapee={'"':'"',"'":"'","\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};var keepComments;var runDsf;function resetAt(){at=0;ch=" "}function isPunctuatorChar(c){return c==="{"||c==="}"||c==="["||c==="]"||c===","||c===":"}function error(m){var i,col=0,line=1;for(i=at-1;i>0&&text[i]!=="\n";i--,col++){}for(;i>0;i--)if(text[i]==="\n")line++;throw new Error(m+" at line "+line+","+col+" >>>"+text.substr(at-col,20)+" ...")}function next(){ch=text.charAt(at);at++;return ch}function peek(offs){return text.charAt(at+offs)}function string(allowML){var string="";var exitCh=ch;
12while(next()){if(ch===exitCh){next();if(allowML&&exitCh==="'"&&ch==="'"&&string.length===0){next();return mlString()}else return string}if(ch==="\\"){next();if(ch==="u"){var uffff=0;for(var i=0;i<4;i++){next();var c=ch.charCodeAt(0),hex;if(ch>="0"&&ch<="9")hex=c-48;else if(ch>="a"&&ch<="f")hex=c-97+10;else if(ch>="A"&&ch<="F")hex=c-65+10;else error("Bad \\u char "+ch);uffff=uffff*16+hex}string+=String.fromCharCode(uffff)}else if(typeof escapee[ch]==="string"){string+=escapee[ch]}else break}else if(ch==="\n"||ch==="\r"){error("Bad string containing newline")}else{string+=ch}}error("Bad string")}function mlString(){var string="",triple=0;var indent=0;for(;;){var c=peek(-indent-5);if(!c||c==="\n")break;indent++}function skipIndent(){var skip=indent;while(ch&&ch<=" "&&ch!=="\n"&&skip-- >0)next()}while(ch&&ch<=" "&&ch!=="\n")next();if(ch==="\n"){next();skipIndent()}for(;;){if(!ch){error("Bad multiline string")}else if(ch==="'"){triple++;next();if(triple===3){if(string.slice(-1)==="\n")string=string.slice(0,-1);return string}else continue}else{while(triple>0){string+="'";triple--}}if(ch==="\n"){string+="\n";next();skipIndent()}else{if(ch!=="\r")string+=ch;next()}}}function keyname(){if(ch==='"'||ch==="'")return string(false);var name="",start=at,space=-1;for(;;){if(ch===":"){if(!name)error("Found ':' but no key name (for an empty key name use quotes)");else if(space>=0&&space!==name.length){at=start+space;error("Found whitespace in your key name (use quotes to include)")}return name}else if(ch<=" "){if(!ch)error("Found EOF while looking for a key name (check your syntax)");else if(space<0)space=name.length}else if(isPunctuatorChar(ch)){error("Found '"+ch+"' where a key name was expected (check your syntax or use quotes if the key name includes {}[],: or whitespace)")}else{name+=ch}next()}}function white(){while(ch){while(ch&&ch<=" ")next();if(ch==="#"||ch==="/"&&peek(0)==="/"){while(ch&&ch!=="\n")next()}else if(ch==="/"&&peek(0)==="*"){next();next();while(ch&&!(ch==="*"&&peek(0)==="/"))next();if(ch){next();next()}}else break}}function tfnns(){var value=ch;if(isPunctuatorChar(ch))error("Found a punctuator character '"+ch+"' when expecting a quoteless string (check your syntax)");for(;;){next();var isEol=ch==="\r"||ch==="\n"||ch==="";if(isEol||ch===","||ch==="}"||ch==="]"||ch==="#"||ch==="/"&&(peek(0)==="/"||peek(0)==="*")){var chf=value[0];switch(chf){case"f":if(value.trim()==="false")return false;break;case"n":if(value.trim()==="null")return null;break;case"t":if(value.trim()==="true")return true;break;default:if(chf==="-"||chf>="0"&&chf<="9"){var n=common.tryParseNumber(value);if(n!==undefined)return n}}if(isEol){value=value.trim();var dsfValue=runDsf(value);return dsfValue!==undefined?dsfValue:value}}value+=ch}}function getComment(cAt,first){var i;cAt--;for(i=at-2;i>cAt&&text[i]<=" "&&text[i]!=="\n";i--);if(text[i]==="\n")i--;if(text[i]==="\r")i--;var res=text.substr(cAt,i-cAt+1);for(i=0;i<res.length;i++){if(res[i]>" "){var j=res.indexOf("\n");if(j>=0){var c=[res.substr(0,j),res.substr(j+1)];if(first&&c[0].trim().length===0)c.shift();return c}else return[res]}}return[]}function errorClosingHint(value){function search(value,ch){var i,k,length,res;switch(typeof value){case"string":if(value.indexOf(ch)>=0)res=value;break;case"object":if(Object.prototype.toString.apply(value)==="[object Array]"){for(i=0,length=value.length;i<length;i++){res=search(value[i],ch)||res}}else{for(k in value){if(!Object.prototype.hasOwnProperty.call(value,k))continue;res=search(value[k],ch)||res}}}return res}function report(ch){var possibleErr=search(value,ch);if(possibleErr){return"found '"+ch+"' in a string value, your mistake could be with:\n"+" > "+possibleErr+"\n"+" (unquoted strings contain everything up to the next line!)"}else return""}return report("}")||report("]")}function array(){var array=[];var comments,cAt,nextComment;try{if(keepComments)comments=common.createComment(array,{a:[]});next();cAt=at;white();if(comments)nextComment=getComment(cAt,true).join("\n");if(ch==="]"){next();if(comments)comments.e=[nextComment];return array}while(ch){array.push(value());cAt=at;white();if(ch===","){next();cAt=at;white()}if(comments){var c=getComment(cAt);comments.a.push([nextComment||"",c[0]||""]);nextComment=c[1]}if(ch==="]"){next();if(comments)comments.a[comments.a.length-1][1]+=nextComment||"";return array}white()}error("End of input while parsing an array (missing ']')")}catch(e){e.hint=e.hint||errorClosingHint(array);throw e}}function object(withoutBraces){var key="",object={};var comments,cAt,nextComment;try{if(keepComments)comments=common.createComment(object,{c:{},o:[]});if(!withoutBraces){next();cAt=at}else cAt=1;white();if(comments)nextComment=getComment(cAt,true).join("\n");if(ch==="}"&&!withoutBraces){if(comments)comments.e=[nextComment];next();return object}while(ch){key=keyname();white();if(ch!==":")error("Expected ':' instead of '"+ch+"'");next();object[key]=value();cAt=at;white();if(ch===","){next();cAt=at;white()}if(comments){var c=getComment(cAt);comments.c[key]=[nextComment||"",c[0]||""];nextComment=c[1];comments.o.push(key)}if(ch==="}"&&!withoutBraces){next();if(comments)comments.c[key][1]+=nextComment||"";return object}white()}if(withoutBraces)return object;else error("End of input while parsing an object (missing '}')")}catch(e){e.hint=e.hint||errorClosingHint(object);throw e}}function value(){white();switch(ch){case"{":return object();case"[":return array();case"'":case'"':return string(true);default:return tfnns()}}function checkTrailing(v,c){var cAt=at;white();if(ch)error("Syntax error, found trailing characters");if(keepComments){var b=c.join("\n"),a=getComment(cAt).join("\n");if(a||b){var comments=common.createComment(v,common.getComment(v));
12comments.r=[b,a]}}return v}function rootValue(){white();var c=keepComments?getComment(1):null;switch(ch){case"{":return checkTrailing(object(),c);case"[":return checkTrailing(array(),c);default:return checkTrailing(value(),c)}}function legacyRootValue(){white();var c=keepComments?getComment(1):null;switch(ch){case"{":return checkTrailing(object(),c);case"[":return checkTrailing(array(),c)}try{return checkTrailing(object(true),c)}catch(e){resetAt();try{return checkTrailing(value(),c)}catch(e2){throw e}}}if(typeof source!=="string")throw new Error("source is not a string");var dsfDef=null;var legacyRoot=true;if(opt&&typeof opt==="object"){keepComments=opt.keepWsc;dsfDef=opt.dsf;legacyRoot=opt.legacyRoot!==false}runDsf=dsf.loadDsf(dsfDef,"parse");text=source;resetAt();return legacyRoot?legacyRootValue():rootValue()}},function(module,exports,__webpack_require__){"use strict";module.exports=function(data,opt){var common=__webpack_require__(15);var dsf=__webpack_require__(16);var plainToken={obj:["{","}"],arr:["[","]"],key:["",""],qkey:['"','"'],col:[":",""],com:[",",""],str:["",""],qstr:['"','"'],mstr:["'''","'''"],num:["",""],lit:["",""],dsf:["",""],esc:["\\",""],uni:["\\u",""],rem:["",""]};var eol=common.EOL;var indent=" ";var keepComments=false;var bracesSameLine=false;var quoteKeys=false;var quoteStrings=false;var condense=0;var multiline=1;var separator="";var dsfDef=null;var sortProps=false;var token=plainToken;if(opt&&typeof opt==="object"){opt.quotes=opt.quotes==="always"?"strings":opt.quotes;if(opt.eol==="\n"||opt.eol==="\r\n")eol=opt.eol;keepComments=opt.keepWsc;condense=opt.condense||0;bracesSameLine=opt.bracesSameLine;quoteKeys=opt.quotes==="all"||opt.quotes==="keys";quoteStrings=opt.quotes==="all"||opt.quotes==="strings"||opt.separator===true;if(quoteStrings||opt.multiline=="off")multiline=0;else multiline=opt.multiline=="no-tabs"?2:1;separator=opt.separator===true?token.com[0]:"";dsfDef=opt.dsf;sortProps=opt.sortProps;if(typeof opt.space==="number"){indent=new Array(opt.space+1).join(" ")}else if(typeof opt.space==="string"){indent=opt.space}if(opt.colors===true){token={obj:["�[37m{�[0m","�[37m}�[0m"],arr:["�[37m[�[0m","�[37m]�[0m"],key:["�[33m","�[0m"],qkey:['�[33m"','"�[0m'],col:["�[37m:�[0m",""],com:["�[37m,�[0m",""],str:["�[37;1m","�[0m"],qstr:['�[37;1m"','"�[0m'],mstr:["�[37;1m'''","'''�[0m"],num:["�[36;1m","�[0m"],lit:["�[36m","�[0m"],dsf:["�[37m","�[0m"],esc:["�[31m\\","�[0m"],uni:["�[31m\\u","�[0m"],rem:["�[35m","�[0m"]}}var i,ckeys=Object.keys(plainToken);for(i=ckeys.length-1;i>=0;i--){var k=ckeys[i];token[k].push(plainToken[k][0].length,plainToken[k][1].length)}}var runDsf;var commonRange="�-ÂÂØ-ØÜá´áµâ-â\u2028-â¯â -â¯\ufeffï¿°-ï¿¿";var needsEscape=new RegExp('[\\\\\\"\0-�'+commonRange+"]","g");var needsQuotes=new RegExp("^\\s|^\"|^'|^#|^\\/\\*|^\\/\\/|^\\{|^\\}|^\\[|^\\]|^:|^,|\\s$|[\0-�"+commonRange+"]","g");var needsEscapeML=new RegExp("'''|^[\\s]+$|[\0-"+(multiline===2?"\t":"\b")+"\v\f�-�"+commonRange+"]","g");var startsWithKeyword=new RegExp("^(true|false|null)\\s*((,|\\]|\\}|#|//|/\\*).*)?$");var meta={"\b":"b","\t":"t","\n":"n","\f":"f","\r":"r",'"':'"',"\\":"\\"};var needsEscapeName=/[,\{\[\}\]\s:#"']|\/\/|\/\*/;var gap="";var wrapLen=0;function wrap(tk,v){wrapLen+=tk[0].length+tk[1].length-tk[2]-tk[3];return tk[0]+v+tk[1]}function quoteReplace(string){return string.replace(needsEscape,(function(a){var c=meta[a];
12if(typeof c==="string")return wrap(token.esc,c);else return wrap(token.uni,("0000"+a.charCodeAt(0).toString(16)).slice(-4))}))}function quote(string,gap,hasComment,isRootObject){if(!string)return wrap(token.qstr,"");needsQuotes.lastIndex=0;startsWithKeyword.lastIndex=0;if(quoteStrings||hasComment||needsQuotes.test(string)||common.tryParseNumber(string,true)!==undefined||startsWithKeyword.test(string)){needsEscape.lastIndex=0;needsEscapeML.lastIndex=0;if(!needsEscape.test(string))return wrap(token.qstr,string);else if(!needsEscapeML.test(string)&&!isRootObject&&multiline)return mlString(string,gap);else return wrap(token.qstr,quoteReplace(string))}else{return wrap(token.str,string)}}function mlString(string,gap){var i,a=string.replace(/\r/g,"").split("\n");gap+=indent;if(a.length===1){return wrap(token.mstr,a[0])}else{var res=eol+gap+token.mstr[0];for(i=0;i<a.length;i++){res+=eol;if(a[i])res+=gap+a[i]}return res+eol+gap+token.mstr[1]}}function quoteKey(name){if(!name)return'""';if(quoteKeys||needsEscapeName.test(name)){needsEscape.lastIndex=0;return wrap(token.qkey,needsEscape.test(name)?quoteReplace(name):name)}else{return wrap(token.key,name)}}function str(value,hasComment,noIndent,isRootObject){function startsWithNL(str){return str&&str[str[0]==="\r"?1:0]==="\n"}function commentOnThisLine(str){return str&&!startsWithNL(str)}function makeComment(str,prefix,trim){if(!str)return"";str=common.forceComment(str);var i,len=str.length;for(i=0;i<len&&str[i]<=" ";i++){}if(trim&&i>0)str=str.substr(i);if(i<len)return prefix+wrap(token.rem,str);else return str}var dsfValue=runDsf(value);if(dsfValue!==undefined)return wrap(token.dsf,dsfValue);switch(typeof value){case"string":return quote(value,gap,hasComment,isRootObject);case"number":return isFinite(value)?wrap(token.num,String(value)):wrap(token.lit,"null");case"boolean":return wrap(token.lit,String(value));case"object":if(!value)return wrap(token.lit,"null");var comments;if(keepComments)comments=common.getComment(value);var isArray=Object.prototype.toString.apply(value)==="[object Array]";var mind=gap;gap+=indent;var eolMind=eol+mind;var eolGap=eol+gap;var prefix=noIndent||bracesSameLine?"":eolMind;var partial=[];var setsep;var cpartial=condense?[]:null;var saveQuoteStrings=quoteStrings,saveMultiline=multiline;var iseparator=separator?"":token.com[0];var cwrapLen=0;var i,length;var k,v,vs;var c,ca;var res,cres;if(isArray){for(i=0,length=value.length;i<length;i++){setsep=i<length-1;if(comments){c=comments.a[i]||[];ca=commentOnThisLine(c[1]);partial.push(makeComment(c[0],"\n")+eolGap);if(cpartial&&(c[0]||c[1]||ca))cpartial=null}else partial.push(eolGap);wrapLen=0;v=value[i];partial.push(str(v,comments?ca:false,true)+(setsep?separator:""));if(cpartial){switch(typeof v){case"string":wrapLen=0;quoteStrings=true;multiline=0;cpartial.push(str(v,false,true)+(setsep?token.com[0]:""));quoteStrings=saveQuoteStrings;multiline=saveMultiline;break;case"object":if(v){cpartial=null;break}default:cpartial.push(partial[partial.length-1]+(setsep?iseparator:""));break}if(setsep)wrapLen+=token.com[0].length-token.com[2];cwrapLen+=wrapLen}
12if(comments&&c[1])partial.push(makeComment(c[1],ca?" ":"\n",ca))}if(length===0){if(comments&&comments.e)partial.push(makeComment(comments.e[0],"\n")+eolMind)}else partial.push(eolMind);if(partial.length===0)res=wrap(token.arr,"");else{res=prefix+wrap(token.arr,partial.join(""));if(cpartial){cres=cpartial.join(" ");if(cres.length-cwrapLen<=condense)res=wrap(token.arr,cres)}}}else{var commentKeys=comments?comments.o.slice():[];var objectKeys=[];for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)&&commentKeys.indexOf(k)<0)objectKeys.push(k)}if(sortProps){objectKeys.sort()}var keys=commentKeys.concat(objectKeys);for(i=0,length=keys.length;i<length;i++){setsep=i<length-1;k=keys[i];if(comments){c=comments.c[k]||[];ca=commentOnThisLine(c[1]);partial.push(makeComment(c[0],"\n")+eolGap);if(cpartial&&(c[0]||c[1]||ca))cpartial=null}else partial.push(eolGap);wrapLen=0;v=value[k];vs=str(v,comments&&ca);partial.push(quoteKey(k)+token.col[0]+(startsWithNL(vs)?"":" ")+vs+(setsep?separator:""));if(comments&&c[1])partial.push(makeComment(c[1],ca?" ":"\n",ca
12));if(cpartial){switch(typeof v){case"string":wrapLen=0;quoteStrings=true;multiline=0;vs=str(v,false);quoteStrings=saveQuoteStrings;multiline=saveMultiline;cpartial.push(quoteKey(k)+token.col[0]+" "+vs+(setsep?token.com[0]:""));break;case"object":if(v){cpartial=null;break}default:cpartial.push(partial[partial.length-1]+(setsep?iseparator:""));break}wrapLen+=token.col[0].length-token.col[2];if(setsep)wrapLen+=token.com[0].length-token.com[2];cwrapLen+=wrapLen}}if(length===0){if(comments&&comments.e)partial.push(makeComment(comments.e[0],"\n")+eolMind)}else partial.push(eolMind);if(partial.length===0){res=wrap(token.obj,"")}else{res=prefix+wrap(token.obj,partial.join(""));if(cpartial){cres=cpartial.join(" ");if(cres.length-cwrapLen<=condense)res=wrap(token.obj,cres)}}}gap=mind;return res}}runDsf=dsf.loadDsf(dsfDef,"stringify");var res="";var comments=keepComments?comments=(common.getComment(data)||{}).r:null;if(comments&&comments[0])res=comments[0]+"\n";res+=str(data,null,true,true);if(comments)res+=comments[1]||"";return res}},function(module,exports,__webpack_require__){"use strict";var common=__webpack_require__(15);function makeComment(b,a,x){var c;if(b)c={b:b};if(a)(c=c||{}).a=a;if(x)(c=c||{}).x=x;return c}function extractComments(value,root){if(value===null||typeof value!=="object")return;var comments=common.getComment(value);if(comments)common.removeComment(value);var i,length;var any,res;if(Object.prototype.toString.apply(value)==="[object Array]"){res={a:{}};for(i=0,length=value.length;i<length;i++){if(saveComment(res.a,i,comments.a[i],extractComments(value[i])))any=true}if(!any&&comments.e){res.e=makeComment(comments.e[0],comments.e[1]);any=true}}else{res={s:{}};var keys,currentKeys=Object.keys(value);if(comments&&comments.o){keys=[];comments.o.concat(currentKeys).forEach((function(key){if(Object.prototype.hasOwnProperty.call(value,key)&&keys.indexOf(key)<0)keys.push(key)}))}else keys=currentKeys;res.o=keys;for(i=0,length=keys.length;i<length;i++){var key=keys[i];if(saveComment(res.s,key,comments.c[key],extractComments(value[key])))any=true}if(!any&&comments.e){res.e=makeComment(comments.e[0],comments.e[1]);any=true}}if(root&&comments&&comments.r){res.r=makeComment(comments.r[0],comments.r[1])}return any?res:undefined}function mergeStr(){var res="";[].forEach.call(arguments,(function(c){if(c&&c.trim()!==""){if(res)res+="; ";res+=c.trim()}}));return res}function mergeComments(comments,value){var dropped=[];merge(comments,value,dropped,[]);if(dropped.length>0){var text=rootComment(value,null,1);text+="\n# Orphaned comments:\n";dropped.forEach((function(c){text+=("# "+c.path.join("/")+": "+mergeStr(c.b,c.a,c.e)).replace("\n","\\n ")+"\n"}));rootComment(value,text,1)}}function saveComment(res,key,item,col){var c=makeComment(item?item[0]:undefined,item?item[1]:undefined,col);if(c)res[key]=c;return c}function droppedComment(path,c){var res=makeComment(c.b,c.a);res.path=path;return res}function dropAll(comments,dropped,path){if(!comments)return;var i,length;if(comments.a){for(i=0,length=comments.a.length;i<length;i++){var kpath=path.slice().concat([i]);var c=comments.a[i];if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}}else if(comments.o){comments.o.forEach((function(key){var kpath=path.slice().concat([key]);var c=comments.s[key];if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}))}if(comments.e)dropped.push(droppedComment(path,comments.e))}function merge(comments,value,dropped,path){if(!comments)return;if(value===null||typeof value!=="object"){dropAll(comments,dropped,path);return}var i;var setComments=common.createComment(value);if(path.length===0&&comments.r)setComments.r=[comments.r.b,comments.r.a];if(Object.prototype.toString.apply(value)==="[object Array]"){setComments.a=[];var a=comments.a||{};for(var key in a){if(a.hasOwnProperty(key)){i=parseInt(key);var c=comments.a[key];if(c){var kpath=path.slice().concat([i]);if(i<value.length){setComments.a[i]=[c.b,c.a];merge(c.x,value[i],dropped,kpath)}else{dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}}}
12if(i===0&&comments.e)setComments.e=[comments.e.b,comments.e.a]}else{setComments.c={};setComments.o=[];(comments.o||[]).forEach((function(key){var kpath=path.slice().concat([key]);var c=comments.s[key];if(Object.prototype.hasOwnProperty.call(value,key)){setComments.o.push(key);if(c){setComments.c[key]=[c.b,c.a];merge(c.x,value[key],dropped,kpath)}}else if(c){dropped.push(droppedComment(kpath,c));dropAll(c.x,dropped,kpath)}}));if(comments.e)setComments.e=[comments.e.b,comments.e.a]}}function rootComment(value,setText,header){var comment=common.createComment(value,common.getComment(value));if(!comment.r)comment.r=["",""];if(setText||setText==="")comment.r[header]=common.forceComment(setText);return comment.r[header]||""}module.exports={extract:function(value){return extractComments(value,true)},merge:mergeComments,header:function(value,setText){return rootComment(value,setText,0)},footer:function(value,setText){return rootComment(value,setText,1)}}},function(module,exports){ace.define("ace/mode/hjson_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextHighlightRules=acequire("./text_highlight_rules").TextHighlightRules;var HjsonHighlightRules=function(){this.$rules={start:[{include:"#comments"},{include:"#rootObject"},{include:"#value"}],"#array":[{token:"paren.lparen",regex:/\[/,push:[{token:"paren.rparen",regex:/\]/,next:"pop"},{include:"#value"},{include:"#comments"},{token:"text",regex:/,|$/},{token:"invalid.illegal",regex:/[^\s\]]/},{defaultToken:"array"}]}],"#comments":[{token:["comment.punctuation","comment.line"],regex:/(#)(.*$)/},{token:"comment.punctuation",regex:/\/\*/,push:[{token:"comment.punctuation",regex:/\*\//,next:"pop"},{defaultToken:"comment.block"}]},{token:["comment.punctuation","comment.line"],regex:/(\/\/)(.*$)/}],"#constant":[{token:"constant",regex:/\b(?:true|false|null)\b/}],"#keyname":[{token:"keyword",regex:/(?:[^,\{\[\}\]\s]+|"(?:[^"\\]|\\.)*")\s*(?=:)/}],"#mstring":[{token:"string",regex:/'''/,push:[{token:"string",regex:/'''/,next:"pop"},{defaultToken:"string"}]}],"#number":[{token:"constant.numeric",regex:/-?(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:[eE][+-]?\d+)?)?/,comment:"handles integer and decimal numbers"}],"#object":[{token:"paren.lparen",regex:/\{/,push:[{token:"paren.rparen",regex:/\}/,next:"pop"},{include:"#keyname"},{include:"#value"},{token:"text",regex:/:/},{token:"text",regex:/,/},{defaultToken:"paren"}]}],"#rootObject":[{token:"paren",regex:/(?=\s*(?:[^,\{\[\}\]\s]+|"(?:[^"\\]|\\.)*")\s*:)/,push:[{token:"paren.rparen",regex:/---none---/,next:"pop"},{include:"#keyname"},{include:"#value"},{token:"text",regex:/:/},{token:"text",regex:/,/},{defaultToken:"paren"}]}],"#string":[{token:"string",regex:/"/,push:[{token:"string",regex:/"/,next:"pop"},{token:"constant.language.escape",regex:/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/},{token:"invalid.illegal",regex:/\\./},{defaultToken:"string"}]}],"#ustring":[{token:"string",regex:/\b[^:,0-9\-\{\[\}\]\s].*$/}],"#value":[{include:"#constant"},{include:"#number"},{include:"#string"},{include:"#array"},{include:"#object"},{include:"#comments"},{include:"#mstring"},{include:"#ustring"}]};this.normalizeRules()};HjsonHighlightRules.metaData={fileTypes:["hjson"],foldingStartMarker:"(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [{\\[] # the start of an object or array\n (?! # but not followed by\n .* # whatever\n [}\\]] # and the close of an object or array\n ,? # an optional comma\n \\s* # some optional space\n $ # at the end of the line\n )\n | # ...or...\n [{\\[] # the start of an object or array\n \\s* # some optional space\n $ # at the end of the line\n )",foldingStopMarker:"(?x: # turn on extended mode\n ^ # a line beginning with\n \\s* # some optional space\n [}\\]] # and the close of an object or array\n )",keyEquivalent:"^~J",name:"Hjson",scopeName:"source.hjson"};oop.inherits(HjsonHighlightRules,TextHighlightRules);exports.HjsonHighlightRules=HjsonHighlightRules}));ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(acequire,exports,module){"use strict";var oop=acequire("../../lib/oop");var Range=acequire("../../range").Range;var BaseFoldMode=acequire("./fold_mode").FoldMode;var FoldMode=exports.FoldMode=function(commentRegex){if(commentRegex){this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.start));this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+commentRegex.end))}};oop.inherits(FoldMode,BaseFoldMode);(function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/;this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/;this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/;this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/;this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/;this._getFoldWidgetBase=this.getFoldWidget;this.getFoldWidget=function(session,foldStyle,row){var line=session.getLine(row);
12if(this.singleLineBlockCommentRe.test(line)){if(!this.startRegionRe.test(line)&&!this.tripleStarBlockCommentRe.test(line))return""}var fw=this._getFoldWidgetBase(session,foldStyle,row);if(!fw&&this.startRegionRe.test(line))return"start";return fw};this.getFoldWidgetRange=function(session,foldStyle,row,forceMultiline){var line=session.getLine(row);if(this.startRegionRe.test(line))return this.getCommentRegionBlock(session,line,row);var match=line.match(this.foldingStartMarker);if(match){var i=match.index;if(match[1])return this.openingBracketBlock(session,match[1],row,i);var range=session.getCommentFoldRange(row,i+match[0].length,1);if(range&&!range.isMultiLine()){if(forceMultiline){range=this.getSectionRange(session,row)}else if(foldStyle!="all")range=null}return range}if(foldStyle==="markbegin")return;var match=line.match(this.foldingStopMarker);if(match){var i=match.index+match[0].length;if(match[1])return this.closingBracketBlock(session,match[1],row,i);return session.getCommentFoldRange(row,i,-1)}};this.getSectionRange=function(session,row){var line=session.getLine(row);var startIndent=line.search(/\S/);var startRow=row;var startColumn=line.length;row=row+1;var endRow=row;var maxRow=session.getLength();while(++row<maxRow){line=session.getLine(row);var indent=line.search(/\S/);if(indent===-1)continue;if(startIndent>indent)break;var subRange=this.getFoldWidgetRange(session,"all",row);if(subRange){if(subRange.start.row<=startRow){break}else if(subRange.isMultiLine()){row=subRange.end.row}else if(startIndent==indent){break}}endRow=row}return new Range(startRow,startColumn,endRow,session.getLine(endRow).length)};this.getCommentRegionBlock=function(session,line,row){var startColumn=line.search(/\s*$/);var maxRow=session.getLength();var startRow=row;var re=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/;var depth=1;while(++row<maxRow){line=session.getLine(row);var m=re.exec(line);if(!m)continue;if(m[1])depth--;else depth++;if(!depth)break}var endRow=row;if(endRow>startRow){return new Range(startRow,startColumn,endRow,line.length)}}}).call(FoldMode.prototype)}));ace.define("ace/mode/hjson",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/hjson_highlight_rules","ace/mode/folding/cstyle"],(function(acequire,exports,module){"use strict";var oop=acequire("../lib/oop");var TextMode=acequire("./text").Mode;var HjsonHighlightRules=acequire("./hjson_highlight_rules").HjsonHighlightRules;var FoldMode=acequire("./folding/cstyle").FoldMode;var Mode=function(){this.HighlightRules=HjsonHighlightRules;this.foldingRules=new FoldMode};oop.inherits(Mode,TextMode);(function(){this.lineCommentStart="//";this.blockComment={start:"/*",end:"*/"};this.$id="ace/mode/hjson"}).call(Mode.prototype);exports.Mode=Mode}))},function(module,exports,__webpack_require__){switch(window.__osdThemeTag__){case"v7dark":return __webpack_require__(31);case"v7light":return __webpack_require__(33);case"v8dark":return __webpack_require__(35);case"v8light":return __webpack_require__(37);case"v9dark":return __webpack_require__(39);case"v9light":return __webpack_require__(41)}},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(32);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(34);
12content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(36);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(38);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(40);
12content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(42);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVegaDataInspector,.vgaVegaDataInspector__specViewer{height:100%}.vgaVegaDataInspector{display:flex;flex-direction:column}.vgaVegaDataInspector [role=tablist]{flex-shrink:0}.vgaVegaDataInspector [role=tabpanel]{flex-grow:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){switch(window.__osdThemeTag__){case"v7dark":return __webpack_require__(44);case"v7light":return __webpack_require__(46);case"v8dark":return __webpack_require__(48);case"v8light":return __webpack_require__(50);case"v9dark":return __webpack_require__(52);case"v9light":return __webpack_require__(54)}},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(45);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:14px;font-size:0.875rem;line-height:1.5;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#4d3e25;color:#ffce7a}.vgaVis__message--err .vgaVis__messageCode{background-color:#4d1f1f;color:#f66}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#535966;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(152,162,179,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(47);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:14px;font-size:0.875rem;line-height:1.5;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#fef6e6;color:#936400}.vgaVis__message--err .vgaVis__messageCode{background-color:#f8e9e9;color:#bd271e}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#98a2b3;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(105,112,125,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(49);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:15.75px;font-size:0.875rem;line-height:1.333333;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#544a37;color:#ffce7a}.vgaVis__message--err .vgaVis__messageCode{background-color:#542b31;color:#ff7575}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#5b6875;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(141,152,163,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(141,152,163,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(141,152,163,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(51);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:15.75px;font-size:0.875rem;line-height:1.333333;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#fbf5e6;color:#8f680b}.vgaVis__message--err .vgaVis__messageCode{background-color:#f6e9e9;color:#bd271e}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#adb4ba;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(53);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:14px;font-size:1rem;line-height:1.5;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#4b3616;color:#f4ae27}.vgaVis__message--err .vgaVis__messageCode{background-color:#3f1d24;color:#d17671}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#5c666f;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(149,155,162,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(149,155,162,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(149,155,162,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,exports,__webpack_require__){var api=__webpack_require__(6);var content=__webpack_require__(55);content=content.__esModule?content.default:content;if(typeof content==="string"){content=[[module.i,content,""]]}var options={};options.insert="head";options.singleton=false;var update=api(content,options);module.exports=content.locals||{}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3);var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);var ___CSS_LOADER_EXPORT___=_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()((function(i){return i[1]}));___CSS_LOADER_EXPORT___.push([module.i,"/*!\n * SPDX-License-Identifier: Apache-2.0\n *\n * The OpenSearch Contributors require contributions made to\n * this file be licensed under the Apache-2.0 license or a\n * compatible open source license.\n *\n * Modifications Copyright OpenSearch Contributors. See\n * GitHub history for details.\n */\n\n.vgaVis{display:flex;flex:1 1 100%;position:relative}.vgaVis__view{z-index:0;flex:1 1 100%;display:block;max-width:100%;max-height:100%;width:100%;height:100%}.vgaVis__view .vega-bindings{display:none !important}.vgaVis__controls{font-size:14px;font-size:1rem;line-height:1.5;display:flex}.vgaVis__controls:not(:empty){padding:8px 0}.vgaVis__controls.vgaVis__controls--column{flex-direction:column}.vgaVis__controls.vgaVis__controls--row{flex-direction:row}.vgaVis__controls.vgaVis__controls--row>.vega-bind{flex-grow:1}.vgaVis__controls>.vega-bind .vega-bind-name{display:inline-block;width:104px}.vgaVis__controls>.vega-bind input[type=range]{width:120px;
12display:inline-block;vertical-align:middle}.vgaVis__controls>.vega-bind label{margin:0 0 0 8px}.vgaVis__controls>.vega-bind select{max-width:160px}.vgaVis__controls>.vega-bind .vega-bind-radio label{margin:0 8px 0 4px}.vgaVis__messages{position:absolute;top:0;width:100%;margin:auto;opacity:.8;z-index:1;list-style:none}.vgaVis__message{margin:8px}.vgaVis__message .vgaVis__messageCode{white-space:pre-wrap;padding:8px}.vgaVis__message--warn .vgaVis__messageCode{background-color:#f9f5ea;color:#8e6625}.vgaVis__message--err .vgaVis__messageCode{background-color:#f6ebeb;color:#ba3a33}.vgaVis__tooltip{max-width:100%;position:fixed}.vgaVis__tooltip h2{margin-bottom:8px}.vgaVis__tooltip td{max-width:100%;overflow:hidden !important;text-overflow:ellipsis !important;white-space:nowrap !important;word-wrap:normal !important;padding-top:4px;padding-bottom:4px}.vgaVis__tooltip td.key{color:#adb4ba;max-width:160px;text-align:right;padding-right:4px}.vgaVis__tooltip td.value{max-width:240px;text-align:left}@media only screen and (max-width: 768px){.vgaVis__tooltip td.key{max-width:96px}.vgaVis__tooltip td.value{max-width:160px}}.visEditor--vega .visEditorSidebar__config{padding:0}@media only screen and (max-width: 574px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 575px)and (max-width: 767px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}@media only screen and (min-width: 768px)and (max-width: 991px){.vgaEditor{scrollbar-width:thin;max-height:240px;overflow-y:auto}.vgaEditor::-webkit-scrollbar{width:16px;height:16px}.vgaEditor::-webkit-scrollbar-thumb{background-color:rgba(90,104,117,.5);border:6px solid rgba(0,0,0,0);background-clip:content-box}.vgaEditor::-webkit-scrollbar-corner,.vgaEditor::-webkit-scrollbar-track{background-color:rgba(0,0,0,0)}}.vgaEditor__aceEditorActions{position:absolute;z-index:1000;top:8px;right:40px;line-height:1}\n",""]);__webpack_exports__["default"]=___CSS_LOADER_EXPORT___},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"plugin",(function(){return public_plugin}));__webpack_require__.d(__webpack_exports__,"LineVegaSpecExpressionFunctionDefinition",(function(){return undefined}));__webpack_require__.d(__webpack_exports__,"VegaExpressionFunctionDefinition",(function(){return undefined}));__webpack_require__.d(__webpack_exports__,"YAxisConfig",(function(){return undefined}));var public_services=__webpack_require__(4);var external_osdSharedDeps_Lodash_=__webpack_require__(7);var external_osdSharedDeps_OsdI18n_=__webpack_require__(1);var public_=__webpack_require__(11);var external_osdSharedDeps_Rxjs_=__webpack_require__(10);var external_osdSharedDeps_RxjsOperators_=__webpack_require__(5);class search_api_SearchAPI{constructor(dependencies,abortSignal,inspectorAdapters){this.dependencies=dependencies;this.abortSignal=abortSignal;this.inspectorAdapters=inspectorAdapters}async search(searchRequests,options){const{search:search}=this.dependencies.search;const requestResponders={};return Object(external_osdSharedDeps_Rxjs_["combineLatest"])(await Promise.all(searchRequests.map(async request=>{const requestId=request.name;const dataSourceId=!!request.data_source_name?await this.findDataSourceIdbyName(request.data_source_name):undefined;const params=Object(public_["getSearchParamsFromRequest"])(request,{getConfig:this.dependencies.uiSettings.get.bind(this.dependencies.uiSettings)});if(this.inspectorAdapters){requestResponders[requestId]=this.inspectorAdapters.requests.start(requestId,request);requestResponders[requestId].json(params.body)}const searchApiParams=dataSourceId&&this.dependencies.dataSourceEnabled?{params:params,dataSourceId:dataSourceId}:{params:params};
12return search(searchApiParams,{abortSignal:this.abortSignal,strategy:options===null||options===void 0?void 0:options.strategy}).pipe(Object(external_osdSharedDeps_RxjsOperators_["tap"])(data=>this.inspectSearchResult(data,requestResponders[requestId])),Object(external_osdSharedDeps_RxjsOperators_["map"])(data=>({name:requestId,rawResponse:data.rawResponse})))})))}async findDataSourceIdbyName(dataSourceName){var _possibleDataSourceId;if(!this.dependencies.dataSourceEnabled){throw new Error("data_source_name cannot be used because data_source.enabled is false")}const dataSources=await this.dataSourceFindQuery(dataSourceName);const possibleDataSourceIds=dataSources.savedObjects.filter(obj=>obj.attributes.title===dataSourceName);if(possibleDataSourceIds.length!==1){throw new Error(`Expected exactly 1 result for data_source_name "${dataSourceName}" but got ${possibleDataSourceIds.length} results`)}return(_possibleDataSourceId=possibleDataSourceIds.pop())===null||_possibleDataSourceId===void 0?void 0:_possibleDataSourceId.id}async dataSourceFindQuery(dataSourceName){return await this.dependencies.savedObjectsClient.find({type:"data-source",perPage:10,search:`"${dataSourceName}"`,searchFields:["title"],fields:["id","title"]})}resetSearchStats(){if(this.inspectorAdapters){this.inspectorAdapters.requests.reset()}}getPPLRawResponseInspectorStats(response){const stats={};stats.hitsTotal={label:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.search.searchSource.hitsTotalLabel",{defaultMessage:"Hits (total)"}),value:`${response.total}`,description:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.search.searchSource.hitsTotalDescription",{defaultMessage:"The number of documents that match the query."})};stats.hits={label:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.search.searchSource.hitsLabel",{defaultMessage:"Hits"}),value:`${response.size}`,description:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.search.searchSource.hitsDescription",{defaultMessage:"The number of documents returned by the query."})};return stats}inspectSearchResult(response,requestResponder){if(requestResponder){if("jsonData"in response.rawResponse){requestResponder.stats(this.getPPLRawResponseInspectorStats(response.rawResponse)).ok({json:response.rawResponse})}else{requestResponder.stats(public_["search"].getResponseInspectorStats(response.rawResponse)).ok({json:response.rawResponse})}}}}function _defineProperty(e,r,t){return(r=_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _toPropertyKey(t){var i=_toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}function _toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}const AlwaysCacheMaxAge=40;class TimeCache{constructor(timefilter,maxAge){_defineProperty(this,"_timefilter",void 0);_defineProperty(this,"_maxAge",void 0);_defineProperty(this,"_cachedBounds",void 0);_defineProperty(this,"_cacheTS",void 0);_defineProperty(this,"_timeRange",void 0);this._timefilter=timefilter;this._maxAge=maxAge;this._cacheTS=0}_now(){return Date.now()}getTimeBounds(){const ts=this._now();let bounds=null;if(this._cachedBounds){const diff=ts-this._cacheTS;if(diff<AlwaysCacheMaxAge){return this._cachedBounds}if(diff<this._maxAge){bounds=this._getBounds();if(Math.abs(bounds.min-this._cachedBounds.min)<this._maxAge&&Math.abs(bounds.max-this._cachedBounds.max)<this._maxAge){return this._cachedBounds}}}this._cacheTS=ts;this._cachedBounds=bounds||this._getBounds();return this._cachedBounds}setTimeRange(timeRange){this._timeRange=timeRange}_getBounds(){const bounds=this._timefilter.calculateBounds(this._timeRange);return{min:bounds.min.valueOf(),max:bounds.max.valueOf()}}}function createVegaRequestHandler(_ref){let{plugins:{data:data},core:{uiSettings:uiSettings},getServiceSettings:getServiceSettings}=_ref;let context=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let searchAPI;const{timefilter:timefilter}=data.query.timefilter;const timeCache=new TimeCache(timefilter,3*1e3);return async function vegaRequestHandler(_ref2){let{timeRange:timeRange,filters:filters,query:query,visParams:visParams}=_ref2;
12if(!searchAPI){searchAPI=new search_api_SearchAPI({uiSettings:uiSettings,search:Object(public_services["a"])().search,injectedMetadata:Object(public_services["f"])(),dataSourceEnabled:Object(public_services["b"])().enabled,savedObjectsClient:Object(public_services["h"])().client},context.abortSignal,context.inspectorAdapters)}timeCache.setTimeRange(timeRange);const opensearchQueryConfigs=public_["opensearchQuery"].getOpenSearchQueryConfig(uiSettings);const filtersDsl=public_["opensearchQuery"].buildOpenSearchQuery(undefined,query,filters,opensearchQueryConfigs);const{VegaParser:VegaParser}=await Promise.all([__webpack_require__.e(0),__webpack_require__.e(2)]).then(__webpack_require__.bind(null,83));const vp=new VegaParser(visParams.spec,searchAPI,timeCache,filtersDsl,getServiceSettings);return await vp.parseAsync()}}const createVegaFn=dependencies=>({name:"vega",type:"render",inputTypes:["opensearch_dashboards_context","null"],help:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.function.help",{defaultMessage:"Vega visualization"}),args:{spec:{types:["string"],default:"",help:""}},async fn(input,args,context){const vegaRequestHandler=createVegaRequestHandler(dependencies,context);const response=await vegaRequestHandler({timeRange:Object(external_osdSharedDeps_Lodash_["get"])(input,"timeRange"),query:Object(external_osdSharedDeps_Lodash_["get"])(input,"query"),filters:Object(external_osdSharedDeps_Lodash_["get"])(input,"filters"),visParams:{spec:args.spec}});return{type:"render",as:"visualization",value:{visData:response,visType:"vega",visConfig:{spec:args.spec}}}}});var hjson=__webpack_require__(14);var hjson_default=__webpack_require__.n(hjson);var visDefaultEditor_public_=__webpack_require__(20);var external_osdSharedDeps_React_=__webpack_require__(0);var external_osdSharedDeps_React_default=__webpack_require__.n(external_osdSharedDeps_React_);var external_osdSharedDeps_ElasticEui_=__webpack_require__(2);var json_stringify_pretty_compact=__webpack_require__(18);var json_stringify_pretty_compact_default=__webpack_require__.n(json_stringify_pretty_compact);var mode_hjson=__webpack_require__(29);var external_osdSharedDeps_OsdI18nReact_=__webpack_require__(12);var opensearchDashboardsReact_public_=__webpack_require__(13);function VegaHelpMenu(){var _useOpenSearchDashboa;const[isPopoverOpen,setIsPopoverOpen]=Object(external_osdSharedDeps_React_["useState"])(false);const onButtonClick=Object(external_osdSharedDeps_React_["useCallback"])(()=>setIsPopoverOpen(!isPopoverOpen),[isPopoverOpen]);const closePopover=Object(external_osdSharedDeps_React_["useCallback"])(()=>setIsPopoverOpen(false),[]);const vegaHelpDoc=(_useOpenSearchDashboa=Object(opensearchDashboardsReact_public_["useOpenSearchDashboards"])().services.docLinks)===null||_useOpenSearchDashboa===void 0?void 0:_useOpenSearchDashboa.links.noDocumentation.vega;const button=external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiSmallButtonIcon"],{iconType:"questionInCircle",onClick:onButtonClick,"aria-label":external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.editor.vegaHelpButtonAriaLabel",{defaultMessage:"Vega help"})});const items=[external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuItem"],{key:"vegaHelp",href:vegaHelpDoc,target:"_blank",onClick:closePopover},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_OsdI18nReact_["FormattedMessage"],{id:"visTypeVega.editor.vegaHelpLinkText",defaultMessage:"OpenSearch Dashboards Vega help"})),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuItem"],{key:"vegaLiteDocs",href:"https://vega.github.io/vega-lite/docs/",target:"_blank",onClick:closePopover},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_OsdI18nReact_["FormattedMessage"],{id:"visTypeVega.editor.vegaLiteDocumentationLinkText",defaultMessage:"Vega-Lite documentation"})),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuItem"],{key:"vegaDoc",href:"https://vega.github.io/vega/docs/",target:"_blank",onClick:closePopover},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_OsdI18nReact_["FormattedMessage"],{id:"visTypeVega.editor.vegaDocumentationLinkText",defaultMessage:"Vega documentation"}))];return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiPopover"],{id:"helpMenu",button:button,isOpen:isPopoverOpen,closePopover:closePo
12pover,panelPaddingSize:"none",anchorPosition:"downLeft"},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuPanel"],{items:items,size:"s"}))}function VegaActionsMenu(_ref){let{formatHJson:formatHJson,formatJson:formatJson}=_ref;const[isPopoverOpen,setIsPopoverOpen]=Object(external_osdSharedDeps_React_["useState"])(false);const onButtonClick=Object(external_osdSharedDeps_React_["useCallback"])(()=>setIsPopoverOpen(isOpen=>!isOpen),[]);const onHJsonCLick=Object(external_osdSharedDeps_React_["useCallback"])(()=>{formatHJson();setIsPopoverOpen(false)},[formatHJson]);const onJsonCLick=Object(external_osdSharedDeps_React_["useCallback"])(()=>{formatJson();setIsPopoverOpen(false)},[formatJson]);const closePopover=Object(external_osdSharedDeps_React_["useCallback"])(()=>setIsPopoverOpen(false),[]);const button=external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiSmallButtonIcon"],{iconType:"wrench",onClick:onButtonClick,"aria-label":external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.editor.vegaEditorOptionsButtonAriaLabel",{defaultMessage:"Vega editor options"})});const items=[external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuItem"],{key:"hjson",onClick:onHJsonCLick},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_OsdI18nReact_["FormattedMessage"],{id:"visTypeVega.editor.reformatAsHJSONButtonLabel",defaultMessage:"Reformat as HJSON"})),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuItem"],{key:"json",onClick:onJsonCLick},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_OsdI18nReact_["FormattedMessage"],{id:"visTypeVega.editor.reformatAsJSONButtonLabel",defaultMessage:"Reformat as JSON, delete comments"}))];return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiPopover"],{id:"actionsMenu",button:button,isOpen:isPopoverOpen,closePopover:closePopover,panelPaddingSize:"none",anchorPosition:"downLeft"},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiContextMenuPanel"],{items:items,size:"s"}))}const aceOptions={maxLines:Infinity,highlightActiveLine:false,showPrintMargin:false,tabSize:2,useSoftTabs:true,wrap:true};const hjsonStringifyOptions={bracesSameLine:true,keepWsc:true};function format(value,stringify,options){try{const spec=hjson_default.a.parse(value,{legacyRoot:false,keepWsc:true});return stringify(spec,options)}catch(err){Object(public_services["g"])().toasts.addError(err,{title:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.editor.formatError",{defaultMessage:"Error formatting spec"})});return value}}function VegaVisEditor(_ref){let{stateParams:stateParams,setValue:setValue}=_ref;const onChange=Object(external_osdSharedDeps_React_["useCallback"])(value=>{setValue("spec",value)},[setValue]);const formatJson=Object(external_osdSharedDeps_React_["useCallback"])(()=>setValue("spec",format(stateParams.spec,json_stringify_pretty_compact_default.a)),[setValue,stateParams.spec]);const formatHJson=Object(external_osdSharedDeps_React_["useCallback"])(()=>setValue("spec",format(stateParams.spec,hjson_default.a.stringify,hjsonStringifyOptions)),[setValue,stateParams.spec]);return external_osdSharedDeps_React_default.a.createElement("div",{className:"vgaEditor"},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiCodeEditor"],{"data-test-subj":"vega-editor",mode:"hjson",theme:"textmate",width:"100%",height:"auto",onChange:onChange,value:stateParams.spec,setOptions:aceOptions}),external_osdSharedDeps_React_default.a.createElement("div",{className:"vgaEditor__aceEditorActions"},external_osdSharedDeps_React_default.a.createElement(VegaHelpMenu,null),external_osdSharedDeps_React_default.a.createElement(VegaActionsMenu,{formatHJson:formatHJson,formatJson:formatJson})))}var extract_index_pattern=__webpack_require__(19);const createVegaVisualization=_ref=>{let{getServiceSettings:getServiceSettings}=_ref;return class VegaVisualization{constructor(el,vis){this._el=el;this._vis=vis;this.dataPlugin=Object(public_services["a"])()}async render(visData){const{toasts:toasts}=Object(public_services["g"])();if(!visData&&!this._vegaView){toasts.addWarning(external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.visualization.unableToRenderWithoutDataWarningMessage",{defaultMessage:"Unable to render without data"}));return}try{await this._render(visData)}catch(error){if(this._vegaView){this._vegaView.onError(error)}else{toasts.addError(error,{title:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.visualization.renderErrorTitle",{defaultMessage:"Vega error"})})}}}async _render(vegaParser){if(vegaParser){if(this._vegaView){await this._vegaView.destroy();this._vegaView=null}const serviceSettings=await getServiceSettings();const{filterManager:filterManager}=this.dataPlugin.query;const{timefilter:timefilter}=this.dataPlugin.query.timefilter;const vegaViewParams={parentEl:this._el,applyFilter:this._vis.API.events.applyFilter,vegaParser:vegaParser,serviceSettings:serviceSettings,filterManager:filterManager,timefilter:timefilter,externalAction:this._vis.API.events.externalAction};if(vegaParser.useMap){const services={toastService:Object(public_services["g"])().toasts};const{VegaMapView:VegaMapView}=await Promise.all([__webpack_require__.e(0),__webpack_require__.e(3)]).then(__webpack_require__.bind(null,84));this._vegaView=new VegaMapView(vegaViewParams,services)}else{const{VegaView:VegaView}=await Promise.all([__webpack_require__.e(0),__webpack_require__.e(4)]).then(__webpack_require__.bind(null,82));this._vegaView=new VegaView(vegaViewParams)}await this._vegaView.init()}}destroy(){return this._vegaView&&this._vegaView.destroy()}}};var default_spec_hjson='{\n /*\n\n Welcome to Vega visualizations. Here you can design your own dataviz from scratch using a declarative language called Vega, or its simpler form Vega-Lite. In Vega, you have the full control of what data is loaded, even from multiple sources, how that data is transformed, and what visual elements are used to show it. Use help icon to view Vega examples, tutorials, and other docs. Use the wrench icon to reformat this text, or to remove comments.\n\n This example graph shows the document count in all indexes in the current time range. You might need to adjust the time filter in the upper right corner.\n */\n\n $schema: https://vega.github.io/schema/vega-lite/v5.json\n title: Event counts from all indexes\n\n // Define the data source\n data: {\n url: {\n /*\n An object instead of a string for the "url" param is treated as an OpenSearch query. Anything inside this object is not part of the Vega language, but only understood by OpenSearch Dashboards and OpenSearch server. This query counts the number of documents per time interval, assuming you have a @timestamp field in your data.\n\n OpenSearch Dashboards has a special handling for the fields surrounded by "%". They are processed before the query is sent to OpenSearch. This way the query becomes context aware, and can use the time range and the dashboard filters.\n */\n\n // Apply dashboard context filters when set\n %context%: true\n // Filter the time picker (upper right corner) with this field\n %timefield%: @timestamp\n\n /*\n See .search() documentation for : https://opensearch.org/docs/latest/clients/javascript/\n */\n\n // Which index to search\n index: _all\n\n // If "data_source.enabled: true", optionally set the data source name to query from (omit field if querying from local cluster)\n // data_source_name: Example US Cluster\n\n // Aggregate data by the time field into time buckets, counting the number of documents in each bucket.\n body: {\n aggs: {\n time_buckets: {\n date_histogram: {\n // Use date histogram aggregation on @timestamp field\n field: @timestamp\n // The interval value will depend on the daterange picker (true), or use an integer to set an approximate bucket count\n interval: {%autointerval%: true}\n // Make sure we get an entire range, even if it has no data\n extended_boun
12ds: {\n // Use the current time range\'s start and end\n min: {%timefilter%: "min"}\n max: {%timefilter%: "max"}\n }\n // Use this for linear (e.g. line, area) graphs. Without it, empty buckets will not show up\n min_doc_count: 0\n }\n }\n }\n // Speed up the response by only including aggregation results\n size: 0\n }\n }\n /*\n OpenSearch will return results in this format:\n\n aggregations: {\n time_buckets: {\n buckets: [\n {\n key_as_string: 2015-11-30T22:00:00.000Z\n key: 1448920800000\n doc_count: 0\n },\n {\n key_as_string: 2015-11-30T23:00:00.000Z\n key: 1448924400000\n doc_count: 0\n }\n ...\n ]\n }\n }\n\n For our graph, we only need the list of bucket values. Use the format.property to discard everything else.\n */\n format: {property: "aggregations.time_buckets.buckets"}\n }\n\n // "mark" is the graphics element used to show our data. Other mark values are: area, bar, circle, line, point, rect, rule, square, text, and tick. See https://vega.github.io/vega-lite/docs/mark.html\n mark: line\n\n // "encoding" tells the "mark" what data to use and in what way. See https://vega.github.io/vega-lite/docs/encoding.html\n encoding: {\n x: {\n // The "key" value is the timestamp in milliseconds. Use it for X axis.\n field: key\n type: temporal\n axis: {title: false} // Customize X axis format\n }\n y: {\n // The "doc_count" is the count per bucket. Use it for Y axis.\n field: doc_count\n type: quantitative\n axis: {title: "Document count"}\n }\n }\n}\n';const getDefaultSpec=()=>default_spec_hjson;function vega_adapter_defineProperty(e,r,t){return(r=vega_adapter_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function vega_adapter_toPropertyKey(t){var i=vega_adapter_toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}function vega_adapter_toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}const vegaAdapterSignalLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.vegaAdapter.signal",{defaultMessage:"Signal"});const vegaAdapterValueLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.vegaAdapter.value",{defaultMessage:"Value"});const getVegaRuntimeScope=debugValues=>debugValues.view._runtime;const serializeColumns=(item,columns)=>{const nonSerializableFieldLabel="(..)";return columns.reduce((row,column)=>{try{const cell=item[column];row[column]=typeof cell==="object"?JSON.stringify(cell):`${cell}`}catch(e){row[column]=nonSerializableFieldLabel}return row},{})};class vega_adapter_VegaAdapter{constructor(){vega_adapter_defineProperty(this,"debugValuesSubject",new external_osdSharedDeps_Rxjs_["ReplaySubject"])}bindInspectValues(debugValues){this.debugValuesSubject.next(debugValues)}getDataSetsSubscription(){return this.debugValuesSubject.pipe(Object(external_osdSharedDeps_RxjsOperators_["filter"])(debugValues=>Boolean(debugValues)),Object(external_osdSharedDeps_RxjsOperators_["map"])(debugValues=>{const runtimeScope=getVegaRuntimeScope(debugValues);return Object.keys(runtimeScope.data||[]).reduce((acc,key)=>{const value=runtimeScope.data[key].values.value;if(value&&value[0]){const columns=Object.keys(value[0]);acc.push({id:key,columns:columns.map(column=>({id:column,schema:"json"})),data:value.map(item=>serializeColumns(item,columns))})}return acc},[])}))}getSignalsSetsSubscription(){const signalsListener=this.debugValuesSubject.pipe(Object(external_osdSharedDeps_RxjsOperators_["filter"])(debugValues=>Boolean(debugValues)),Object(external_osdSharedDeps_RxjsOperators_["switchMap"])(debugValues=>{const runtimeScope=getVegaRuntimeScope(debugValues);return Object(external_osdSharedDeps_Rxjs_["merge"])(...Object.keys(runtimeScope.signals).map(key=>Object(external_osdSharedDeps_Rxjs_["fromEventPattern"])(handler=>debugValues.view.addSignalListener(key,handler),handler=>debugValues.view.removeSignalListener(key,handler)))).pipe(Object(external_osdSharedDeps_RxjsOperators_["debounce"])(val=>Object(external_osdSharedDeps_Rxjs_["timer"])(350)),Object(external_osdSharedDeps_RxjsOperators_["map"])(()=>debugValues))}));return Object(external_osdSharedDeps_Rxjs_["merge"])(this.debugValuesSubject,signalsListener).pipe(Object(external_osdSharedDeps_RxjsOperators_["filter"])(debugValues=>Boolean(debugValues)),Object(external_osdSharedDeps_RxjsOperators_["map"])(debugValues=>{const runtimeScope=getVegaRuntimeScope(debugValues);return{columns:[{id:vegaAdapterSignalLabel,schema:"text"},{id:vegaAdapterValueLabel,schema:"json"}],data:Object.keys(runtimeScope.signals).map(key=>serializeColumns({[vegaAdapterSignalLabel]:key,[vegaAdapterValueLabel]:runtimeScope.signals[key].value},[vegaAdapterSignalLabel,vegaAdapterValueLabel]))}}))}getSpecSubscription(){return this.debugValuesSubject.pipe(Object(external_osdSharedDeps_RxjsOperators_["filter"])(debugValues=>Boolean(debugValues)),Object(external_osdSharedDeps_RxjsOperators_["map"])(debugValues=>JSON.stringify(debugValues.spec,null,2)))}}var vega_data_inspector=__webpack_require__(30);const DEFAULT_PAGE_SIZE=15;const InspectorDataGrid=_ref=>{let{columns:columns,data:data,dataGridAriaLabel:dataGridAriaLabel}=_ref;const[pagination,setPagination]=Object(external_osdSharedDeps_React_["useState"])({pageIndex:0,pageSize:DEFAULT_PAGE_SIZE});const onChangeItemsPerPage=Object(external_osdSharedDeps_React_["useCallback"])(pageSize=>setPagination(p=>({...p,pageSize:pageSize,pageIndex:0})),[setPagination]);const onChangePage=Object(external_osdSharedDeps_React_["useCallback"])(pageIndex=>setPagination(p=>({...p,pageIndex:pageIndex})),[setPagination]);const[visibleColumns,setVisibleColumns]=Object(external_osdSharedDeps_React_["useState"])([]);Object(external_osdSharedDeps_React_["useEffect"])(()=>{setPagination({...pagination,pageIndex:0});setVisibleColumns(columns.map(column=>column.id))},[dataGridAriaLabel]);const[sortingColumns,setSortingColumns]=Object(external_osdSharedDeps_React_["useState"])([]);const onSort=Object(external_osdSharedDeps_React_["useCallback"])(newSortingColumns=>{setSortingColumns(newSortingColumns)},[setSortingColumns]);let gridData=Object(external_osdSharedDeps_React_["useMemo"])(()=>[...data].sort((a,b)=>{for(let i=0;i<sortingColumns.length;i++){const column=sortingColumns[i];const aValue=a[column.id];const bValue=b[column.id];if(aValue<bValue)return column.direction==="asc"?-1:1;if(aValue>bValue)return column.direction==="asc"?1:-1}return 0}),[data,sortingColumns]);const renderCellValue=Object(external_osdSharedDeps_React_["useMemo"])(()=>_ref2=>{let{rowIndex:rowIndex,columnId:columnId}=_ref2;let adjustedRowIndex=rowIndex;adjustedRowIndex=rowIndex-pagination.pageIndex*pagination.pageSize;return gridData.hasOwnProperty(adjustedRowIndex)?gridData[adjustedRowIndex][columnId]||null:null},[gridData,pagination.pageIndex,pagination.pageSize]);gridData=Object(external_osdSharedDeps_React_["useMemo"])(()=>{const rowStart=pagination.pageIndex*pagination.pageSize;const rowEnd=Math.min(rowStart+pagination.pageSize,gridData.length);return gridData.slice(rowStart,rowEnd)},[gridData,pagination]);const[columnWidths,setColumnWidths]=Object(external_osdSharedDeps_React_["useState"])({});const onColumnResize=Object(external_osdSharedDeps_React_["useCallback"])(_ref3=>{let{columnId:columnId,width:width}=_ref3;setColumnWidths({...columnWidths,[columnId]:width})},[columnWidths]);return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiDataGrid"],{"aria-label":dataGridAriaLabel,columns:columns.map(column=>{if(columnWidths[column.id]){return{...column,initialWidth:columnWidths[column.id]}}return column}),columnVisibility:{visibleColumns:visibleColumns,setVisibleColumns:setVisibleColumns},rowCount:data.length,renderCellValue:renderCellValue,sorting:{columns:sortingColumns,onSort:onSort},toolbarVisibility:{showFullScreenSelector:false},onColumnResize:onColumnResize,pagination:{...pagination,pageSizeOptions:[DEFAULT_PAGE_SIZE,25,50],onChangeItemsPerPage:onChangeItemsPerPage,onChangePage:onChangePage}})};function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}const getDataGridArialabel=view=>external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.dataViewer.gridAriaLabel",{defaultMessage:"{name} data grid",values:{name:view.id}});const dataSetAriaLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.dataViewer.dataSetAriaLabel",{defaultMessage:"Data set"});const DataViewer=_ref=>{let{vegaAdapter:vegaAdapter,...rest}=_ref;const[inspectDataSets,setInspectDataSets]=Object(external_osdSharedDeps_React_["useState"])([]);const[selectedView,setSelectedView]=Object(external_osdSharedDeps_React_["useState"])();const[dataGridAriaLabel,setDataGridAriaLabel]=Object(external_osdSharedDeps_React_["useState"])("");const onViewChange=Object(external_osdSharedDeps_React_["useCallback"])(selectedOptions=>{const newView=inspectDataSets.find(view=>view.id===selectedOptions[0].label);
12if(newView){setDataGridAriaLabel(getDataGridArialabel(newView));setSelectedView(newView)}},[inspectDataSets]);Object(external_osdSharedDeps_React_["useEffect"])(()=>{const subscription=vegaAdapter.getDataSetsSubscription().subscribe(dataSets=>{setInspectDataSets(dataSets)});return()=>{subscription.unsubscribe()}},[vegaAdapter]);Object(external_osdSharedDeps_React_["useEffect"])(()=>{if(inspectDataSets){if(!selectedView){setSelectedView(inspectDataSets[0])}else{setDataGridAriaLabel(getDataGridArialabel(selectedView))}}},[selectedView,inspectDataSets]);if(!selectedView){return null}return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexGroup"],_extends({direction:"column",gutterSize:"s",wrap:false,responsive:false},rest),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexItem"],{grow:false},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiSpacer"],{size:"s"}),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiCompressedComboBox"],{fullWidth:true,options:inspectDataSets.map(item=>({label:item.id})),"aria-label":dataSetAriaLabel,onChange:onViewChange,isClearable:false,singleSelection:{asPlainText:true},selectedOptions:[{label:selectedView.id}]})),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexItem"],{grow:true},external_osdSharedDeps_React_default.a.createElement(InspectorDataGrid,{columns:selectedView.columns,data:selectedView.data,dataGridAriaLabel:dataGridAriaLabel})))};const initialSignalColumnWidth=150;const signalDataGridAriaLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.signalViewer.gridAriaLabel",{defaultMessage:"Signal values data grid"});const SignalViewer=_ref=>{let{vegaAdapter:vegaAdapter}=_ref;const[inspectSignalsSets,setInspectSignalsSets]=Object(external_osdSharedDeps_React_["useState"])();Object(external_osdSharedDeps_React_["useEffect"])(()=>{const subscription=vegaAdapter.getSignalsSetsSubscription().subscribe(signalSets=>{if(signalSets){setInspectSignalsSets(signalSets)}});return()=>{subscription.unsubscribe()}},[vegaAdapter]);if(!inspectSignalsSets){return null}return external_osdSharedDeps_React_default.a.createElement("div",null,external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiSpacer"],{size:"s"}),external_osdSharedDeps_React_default.a.createElement(InspectorDataGrid,{columns:inspectSignalsSets.columns.map((column,index)=>{if(index===0){return{...column,initialWidth:initialSignalColumnWidth}}return column}),data:inspectSignalsSets.data,dataGridAriaLabel:signalDataGridAriaLabel}))};function spec_viewer_extends(){return spec_viewer_extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},spec_viewer_extends.apply(null,arguments)}const copyToClipboardLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.specViewer.copyToClipboardLabel",{defaultMessage:"Copy to clipboard"});const SpecViewer=_ref=>{let{vegaAdapter:vegaAdapter,...rest}=_ref;const[spec,setSpec]=Object(external_osdSharedDeps_React_["useState"])();Object(external_osdSharedDeps_React_["useEffect"])(()=>{const subscription=vegaAdapter.getSpecSubscription().subscribe(data=>{if(data){setSpec(data)}});return()=>{subscription.unsubscribe()}},[vegaAdapter]);if(!spec){return null}return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexGroup"],spec_viewer_extends({direction:"column",gutterSize:"s",wrap:false,responsive:false},rest),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexItem"],{grow:false},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiSpacer"],{size:"s"}),external_osdSharedDeps_React_default.a.createElement("div",{className:"eui-textRight"},external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiCopy"],{textToCopy:spec},copy=>external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiButtonEmpty"],{size:"xs",flush:"right",iconType:"copyClipboard",onClick:copy,"data-test-subj":"vegaDataInspectorCopyClipboardButton"},copyToClipboardLabel)))),external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiFlexItem"],{grow:true},external_osdSharedDeps_React_default.a.createElement(opensearchDashboardsReact_public_["CodeEditor"],{languageId:"json",value:spec,onChange:()=>{},options:{readOnly:true,lineNumbers:"off",fontSize:12,minimap:{enabled:false},scrollBeyondLastLine:false,wordWrap:"on",wrappingIndent:"indent",automaticLayout:true}})))};const dataSetsLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.dataSetsLabel",{defaultMessage:"Data sets"});const signalValuesLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.signalValuesLabel",{defaultMessage:"Signal values"});const specLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.specLabel",{defaultMessage:"Spec"});const VegaDataInspector=_ref=>{let{adapters:adapters}=_ref;const tabs=[{id:"data-viewer--id",name:dataSetsLabel,content:external_osdSharedDeps_React_default.a.createElement(DataViewer,{vegaAdapter:adapter
12s.vega}),"data-test-subj":"vegaDataInspectorDataViewerButton"},{id:"signal-viewer--id",name:signalValuesLabel,content:external_osdSharedDeps_React_default.a.createElement(SignalViewer,{vegaAdapter:adapters.vega}),"data-test-subj":"vegaDataInspectorSignalViewerButton"},{id:"spec-viewer--id",name:specLabel,content:external_osdSharedDeps_React_default.a.createElement(SpecViewer,{className:"vgaVegaDataInspector__specViewer",vegaAdapter:adapters.vega}),"data-test-subj":"vegaDataInspectorSpecViewerButton"}];return external_osdSharedDeps_React_default.a.createElement(external_osdSharedDeps_ElasticEui_["EuiTabbedContent"],{className:"vgaVegaDataInspector",size:"s",tabs:tabs,initialSelectedTab:tabs[0],autoFocus:"selected"})};var inspector_public_=__webpack_require__(21);const vegaDebugLabel=external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.inspector.vegaDebugLabel",{defaultMessage:"Vega debug"});const getVegaInspectorView=dependencies=>({title:vegaDebugLabel,shouldShow(adapters){return Boolean(adapters.vega)},component:props=>external_osdSharedDeps_React_default.a.createElement(opensearchDashboardsReact_public_["OpenSearchDashboardsContextProvider"],{services:dependencies},external_osdSharedDeps_React_default.a.createElement(VegaDataInspector,props," "))});const createInspectorAdapters=()=>({requests:new inspector_public_["RequestAdapter"],vega:new vega_adapter_VegaAdapter});var visualizations_public_=__webpack_require__(17);const createVegaTypeDefinition=dependencies=>{const requestHandler=createVegaRequestHandler(dependencies);const visualization=createVegaVisualization(dependencies);return{name:"vega",title:"Vega",description:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.type.vegaDescription",{defaultMessage:"Create custom visualizations using Vega and Vega-Lite",description:"Vega and Vega-Lite are product names and should not be translated"}),icon:"visVega",visConfig:{defaults:{spec:getDefaultSpec()}},editorConfig:{optionsTemplate:VegaVisEditor,enableAutoApply:true,defaultSize:visDefaultEditor_public_["DefaultEditorSize"].MEDIUM},visualization:visualization,requestHandler:requestHandler,responseHandler:"none",options:{showIndexSelection:false,showQueryBar:true,showFilterBar:true},getSupportedTriggers:()=>[visualizations_public_["VIS_EVENT_TO_TRIGGER"].applyFilter,visualizations_public_["VIS_EVENT_TO_TRIGGER"].externalAction],getUsedIndexPattern:async visParams=>{try{const spec=Object(hjson["parse"])(visParams.spec,{legacyRoot:false,keepWsc:true});return Object(extract_index_pattern["a"])(spec)}catch(e){}return[]},inspectorAdapters:createInspectorAdapters}};var public_0=__webpack_require__(43);var visAugmenter_public_=__webpack_require__(9);const getXAxisId=(dimensions,columns)=>columns.filter(column=>column.name===dimensions.x.label)[0].id;const cleanString=rawString=>rawString.replaceAll('"',"");const calculateLegendOffset=legendPosition=>legendPosition==="top"||legendPosition==="bottom"?0:18;const formatDatatable=datatable=>{datatable.columns.forEach(column=>{column.name=cleanString(column.name);column.id=column.id.replaceAll(".","-")});const updatedRows=datatable.rows.map(row=>Object.entries(row).reduce((updatedRow,_ref)=>{let[key,value]=_ref;const cleanKey=key.replaceAll(".","-");return Object.assign(updatedRow,{[cleanKey]:value})},{}));datatable.rows=updatedRows;return datatable};const setupConfig=(visParams,config)=>{const legendPosition=visParams.legendPosition;return{view:{stroke:null},concat:{spacing:0},legend:{orient:legendPosition,offset:calculateLegendOffset(legendPosition)},kibana:{hideWarnings:true,visAugmenterConfig:config}}};const buildLayerMark=seriesParams=>({type:seriesParams.type,interpolate:seriesParams.interpolate,strokeWidth:seriesParams.lineWidth,point:seriesParams.showCircles});const buildXAxis=(xAxisTitle,xAxisId,visParams)=>({axis:{title:xAxisTitle,grid:visParams.grid.categoryLines},field:xAxisId,type:"temporal"});const buildYAxis=(column,valueAxis,visParams)=>{var _column$meta;const subAxis={title:cleanString(valueAxis.title.text)||column.name,grid:visParams.grid.valueAxis!==undefined,orient:valueAxis.position,labels:valueAxis.labels.show,labelAngle:valueAxis.labels.rotate};
12if(((_column$meta=column.meta)===null||_column$meta===void 0?void 0:_column$meta.type)==="percentile_ranks")Object.assign(subAxis,{format:".0%"});return{axis:subAxis,field:column.id,type:"quantitative"}};const isXAxisColumn=column=>{var _column$meta2;return((_column$meta2=column.meta)===null||_column$meta2===void 0||(_column$meta2=_column$meta2.aggConfigParams)===null||_column$meta2===void 0?void 0:_column$meta2.interval)!==undefined};const createSpecFromXYChartDatatable=(datatable,visParams,dimensions,config)=>{var _visParams$valueAxes;const spec={};spec.$schema="https://vega.github.io/schema/vega-lite/v5.json";spec.data={values:datatable.rows};spec.config=setupConfig(visParams,config);const valueAxis=new Map;visParams===null||visParams===void 0||(_visParams$valueAxes=visParams.valueAxes)===null||_visParams$valueAxes===void 0||_visParams$valueAxes.forEach(yAxis=>{valueAxis.set(yAxis.id,yAxis)});spec.layer=[];if(datatable.rows.length>0&&dimensions.x!==null){const xAxisId=getXAxisId(dimensions,datatable.columns);const xAxisTitle=cleanString(dimensions.x.label);datatable.columns.forEach((column,index)=>{if(isXAxisColumn(column)||Object(visAugmenter_public_["isVisLayerColumn"])(column))return;const seriesParamsId=column.id.split("-")[2];const currentSeriesParams=visParams.seriesParams.find(param=>{var _param$data;return(param===null||param===void 0||(_param$data=param.data)===null||_param$data===void 0?void 0:_param$data.id)===seriesParamsId});if(!currentSeriesParams){console.error(`Failed to find matching series param for column of id: ${column.id}`);return}const currentValueAxis=valueAxis.get(currentSeriesParams.valueAxis.toString());let tooltip=[];if(visParams.addTooltip){tooltip=[{field:xAxisId,type:"temporal",title:xAxisTitle},{field:column.id,type:"quantitative",title:column.name}]}spec.layer.push({mark:buildLayerMark(currentSeriesParams),encoding:{x:buildXAxis(xAxisTitle,xAxisId,visParams),y:buildYAxis(column,currentValueAxis,visParams),tooltip:tooltip,color:{datum:column.name}}})})}if(visParams.addTimeMarker){spec.transform=[{calculate:"now()",as:"now_field"}];spec.layer.push({mark:"rule",encoding:{x:{type:"temporal",field:"now_field"},color:{value:"red"},size:{value:1}}})}if(visParams.thresholdLine.show){const layer={mark:{type:"rule",color:visParams.thresholdLine.color,strokeDash:[1,0]},encoding:{y:{datum:visParams.thresholdLine.value}}};if(visParams.thresholdLine.style!=="full"){layer.mark.strokeDash=[8,8]}spec.layer.push(layer)}return spec};const createLineVegaSpecFn=dependencies=>({name:"line_vega_spec",type:"string",inputTypes:["opensearch_dashboards_datatable"],help:external_osdSharedDeps_OsdI18n_["i18n"].translate("visTypeVega.function.helpSpec",{defaultMessage:"Construct line vega spec"}),args:{visLayers:{types:["string","null"],default:"",help:""},visParams:{types:["string"],default:'""',help:""},dimensions:{types:["string"],default:'""',help:""},visAugmenterConfig:{types:["string"],default:'""',help:""}},async fn(input,args,context){let table=formatDatatable(Object(external_osdSharedDeps_Lodash_["cloneDeep"])(input));const visParams=JSON.parse(args.visParams);const dimensions=JSON.parse(args.dimensions);const allVisLayers=args.visLayers?JSON.parse(args.visLayers):[];const visAugmenterConfig=JSON.parse(args.visAugmenterConfig);const pointInTimeEventsVisLayers=allVisLayers.filter(visLayer=>Object(visAugmenter_public_["isPointInTimeEventsVisLayer"])(visLayer));if(!Object(external_osdSharedDeps_Lodash_["isEmpty"])(pointInTimeEventsVisLayers)&&dimensions.x!==null){table=Object(visAugmenter_public_["addPointInTimeEventsLayersToTable"])(table,dimensions,pointInTimeEventsVisLayers)}let spec=createSpecFromXYChartDatatable(table,visParams,dimensions,visAugmenterConfig);if(!Object(external_osdSharedDeps_Lodash_["isEmpty"])(pointInTimeEventsVisLayers)&&dimensions.x!==null){spec=Object(visAugmenter_public_["addPointInTimeEventsLayersToSpec"])(table,dimensions,spec);spec.config=Object(visAugmenter_public_["enableVisLayersInSpecConfig"])(spec,pointInTimeEventsVisLayers);spec.config=Object(visAugmenter_public_["addVisEventSignalsToSpecConfig"])(spec)}spec=Object(visAugmenter_public_["augmentEventChartSpec"])(visAugmenterConfig,spec);return JSON.stringify(spec)}});function plugin_defineProperty(e,r,t){return(r=plugin_toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function plugin_toPropertyKey(t){var i=plugin_toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}function plugin_toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}class plugin_VegaPlugin{constructor(initializerContext){plugin_defineProperty(this,"initializerContext",void 0);this.initializerContext=initializerContext}async setup(core,_ref){let{inspector:inspector,data:data,expressions:expressions,visualizations:visualizations,mapsLegacy:mapsLegacy,dataSource:dataSource}=_ref;Object(public_services["n"])({enableExternalUrls:this.initializerContext.config.get().enableExternalUrls,exposeDebugObjectToWindow:this.initializerContext.config.get().exposeDebugObjectToWindow,emsTileLayerId:core.injectedMetadata.getInjectedVar("emsTileLayerId",true)});Object(public_services["r"])(core.uiSettings);Object(public_services["o"])(mapsLegacy.config);Object(public_services["l"])({enabled:!!dataSource});const visualizationDependencies={core:core,plugins:{data:data},getServiceSettings:mapsLegacy.getServiceSettings};
12inspector.registerView(getVegaInspectorView({uiSettings:core.uiSettings}));expressions.registerFunction(()=>createVegaFn(visualizationDependencies));expressions.registerFunction(()=>createLineVegaSpecFn(visualizationDependencies));visualizations.createBaseVisualization(createVegaTypeDefinition(visualizationDependencies))}start(core,_ref2){let{data:data,uiActions:uiActions}=_ref2;Object(public_services["p"])(core.notifications);Object(public_services["k"])(data);Object(public_services["q"])(core.savedObjects);Object(public_services["s"])(uiActions);Object(public_services["m"])(core.injectedMetadata)}}function public_plugin(initializerContext){return new plugin_VegaPlugin(initializerContext)}},function(module,exports){module.exports=__osdSharedDeps__.Moment},function(module,exports){module.exports=__osdSharedDeps__.Jquery},function(module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__);var ns=__osdBundles__.get("plugin/mapsLegacy/public");Object.defineProperties(__webpack_exports__,Object.getOwnPropertyDescriptors(ns))},function(module,exports){module.exports=__osdSharedDeps__.Theme}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.