Skip to content

Instantly share code, notes, and snippets.

@clintandrewhall
Created June 22, 2021 00:14
Show Gist options
  • Save clintandrewhall/b493b17858b674296657e4fd416c2890 to your computer and use it in GitHub Desktop.
Save clintandrewhall/b493b17858b674296657e4fd416c2890 to your computer and use it in GitHub Desktop.
/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements.
* Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */
(window.canvas_bundle_jsonpfunction=window.canvas_bundle_jsonpfunction||[]).push([[5],{177:function(module,exports,__webpack_require__){"use strict";var memo,isOldIE=function(){return void 0===memo&&(memo=Boolean(window&&document&&document.all&&!window.atob)),memo},getTarget=function(){var memo={};return function(target){if(void 0===memo[target]){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]}}(),stylesInDom=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i<stylesInDom.length;i++)if(stylesInDom[i].identifier===identifier){result=i;break}return result}function modulesToDom(list,options){for(var idCountMap={},identifiers=[],i=0;i<list.length;i++){var item=list[i],id=options.base?item[0]+options.base:item[0],count=idCountMap[id]||0,identifier="".concat(id," ").concat(count);idCountMap[id]=count+1;var index=getIndexByIdentifier(identifier),obj={css:item[1],media:item[2],sourceMap:item[3]};-1!==index?(stylesInDom[index].references++,stylesInDom[index].updater(obj)):stylesInDom.push({identifier:identifier,updater:addStyle(obj,options),references:1}),identifiers.push(identifier)}return identifiers}function insertStyleElement(options){var style=document.createElement("style"),attributes=options.attributes||{};if(void 0===attributes.nonce){var nonce=__webpack_require__.nc;nonce&&(attributes.nonce=nonce)}if(Object.keys(attributes).forEach((function(key){style.setAttribute(key,attributes[key])})),"function"==typeof options.insert)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}var textStore,replaceText=(textStore=[],function(index,replacement){return textStore[index]=replacement,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),childNodes=style.childNodes;childNodes[index]&&style.removeChild(childNodes[index]),childNodes.length?style.insertBefore(cssNode,childNodes[index]):style.appendChild(cssNode)}}function applyToTag(style,options,obj){var css=obj.css,media=obj.media,sourceMap=obj.sourceMap;if(media?style.setAttribute("media",media):style.removeAttribute("media"),sourceMap&&btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),style.styleSheet)style.styleSheet.cssText=css;else{for(;style.firstChild;)style.removeChild(style.firstChild);style.appendChild(document.createTextNode(css))}}var singleton=null,singletonCounter=0;function addStyle(obj,options){var style,update,remove;if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=insertStyleElement(options)),update=applyToSingletonTag.bind(null,style,styleIndex,!1),remove=applyToSingletonTag.bind(null,style,styleIndex,!0)}else style=insertStyleElement(options),update=applyToTag.bind(null,style,options),remove=function(){!function(style){if(null===style.parentNode)return!1;style.parentNode.removeChild(style)}(style)};return update(obj),function(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||{}).singleton||"boolean"==typeof options.singleton||(options.singleton=isOldIE());var lastIdentifiers=modulesToDom(list=list||[],options);return function(newList){if(newList=newList||[],"[object Array]"===Object.prototype.toString.call(newList)){for(var i=0;i<lastIdentifiers.length;i++){var index=getIndexByIdentifier(lastIdentifiers[i]);stylesInDom[index].references--}for(var newLastIdentifiers=modulesToDom(newList,options),_i=0;_i<lastIdentifiers.length;_i++){var _index=getIndexByIdentifier(lastIdentifiers[_i]);0===stylesInDom[_index].references&&(stylesInDom[_index].updater(),stylesInDom.splice(_index,1))}lastIdentifiers=newLastIdentifiers}}}},178:function(module,exports,__webpack_require__){"use strict";module.exports=function(useSourceMap){var list=[];return list.toString=function(){return this.map((function(item){var content=function(item,useSourceMap){var content=item[1]||"",cssMapping=item[3];if(!cssMapping)return content;if(useSourceMap&&"function"==typeof btoa){var sourceMapping=(sourceMap=cssMapping,base64=btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),"/*# ".concat(data," */")),sourceURLs=cssMapping.sources.map((function(source){return"/*# sourceURL=".concat(cssMapping.sourceRoot||"").concat(source," */")}));return[content].concat(sourceURLs).concat([sourceMapping]).join("\n")}var sourceMap,base64,data;return[content].join("\n")}(item,useSourceMap);return item[2]?"@media ".concat(item[2]," {").concat(content,"}"):content})).join("")},list.i=function(modules,mediaQuery,dedupe){"string"==typeof modules&&(modules=[[null,modules,""]]);var alreadyImportedModules={};if(dedupe)for(var i=0;i<this.length;i++){var id=this[i][0];null!=id&&(alreadyImportedModules[id]=!0)}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);dedupe&&alreadyImportedModules[item[0]]||(mediaQuery&&(item[2]?item[2]="".concat(mediaQuery," and ").concat(item[2]):item[2]=mediaQuery),list.push(item))}},list}},372:function(module,exports,__webpack_require__){switch(window.__kbnThemeTag__){case"v7dark":return __webpack_require__(373);case"v7light":return __webpack_require__(375);case"v8dark":return __webpack_require__(377);case"v8light":return __webpack_require__(379)}},373:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(374);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},374:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:'fadeIn'}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.fadeOut{animation-name:'fadeOut'}\n",""]),module.exports=exports},375:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(376);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},376:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:'fadeIn'}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.fadeOut{animation-name:'fadeOut'}\n",""]),module.exports=exports},377:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(378);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},378:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:'fadeIn'}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.fadeOut{animation-name:'fadeOut'}\n",""]),module.exports=exports},379:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(380);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},380:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes fadeIn{from{opacity:0}to{opacity:1}}.fadeIn{animation-name:'fadeIn'}@keyframes fadeOut{from{opacity:1}to{opacity:0}}.fadeOut{animation-name:'fadeOut'}\n",""]),module.exports=exports},381:function(module,exports,__webpack_require__){switch(window.__kbnThemeTag__){case"v7dark":return __webpack_require__(382);case"v7light":return __webpack_require__(384);case"v8dark":return __webpack_require__(386);case"v8light":return __webpack_require__(388)}},382:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(383);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},383:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes rotateIn{from{transform-origin:left bottom;transform:rotate3d(0, 0, 1, 45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0, 0, 0);opacity:1}}.rotateIn{animation-name:'rotateIn'}@keyframes rotateOut{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0, 0, 1, -45deg);opacity:0}}.rotateOut{animation-name:'rotateOut'}\n",""]),module.exports=exports},384:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(385);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},385:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes rotateIn{from{transform-origin:left bottom;transform:rotate3d(0, 0, 1, 45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0, 0, 0);opacity:1}}.rotateIn{animation-name:'rotateIn'}@keyframes rotateOut{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0, 0, 1, -45deg);opacity:0}}.rotateOut{animation-name:'rotateOut'}\n",""]),module.exports=exports},386:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(387);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},387:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes rotateIn{from{transform-origin:left bottom;transform:rotate3d(0, 0, 1, 45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0, 0, 0);opacity:1}}.rotateIn{animation-name:'rotateIn'}@keyframes rotateOut{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0, 0, 1, -45deg);opacity:0}}.rotateOut{animation-name:'rotateOut'}\n",""]),module.exports=exports},388:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(389);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},389:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes rotateIn{from{transform-origin:left bottom;transform:rotate3d(0, 0, 1, 45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0, 0, 0);opacity:1}}.rotateIn{animation-name:'rotateIn'}@keyframes rotateOut{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0, 0, 1, -45deg);opacity:0}}.rotateOut{animation-name:'rotateOut'}\n",""]),module.exports=exports},390:function(module,exports,__webpack_require__){switch(window.__kbnThemeTag__){case"v7dark":return __webpack_require__(391);case"v7light":return __webpack_require__(393);case"v8dark":return __webpack_require__(395);case"v8light":return __webpack_require__(397)}},391:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(392);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},392:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes slideIn{from{transform:translate3d(100%, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideIn{animation-name:'slideIn'}@keyframes slideOut{from{transform:translate3d(0, 0, 0)}to{visibility:hidden;transform:translate3d(-100%, 0, 0)}}.slideOut{animation-name:'slideOut'}\n",""]),module.exports=exports},393:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(394);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},394:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes slideIn{from{transform:translate3d(100%, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideIn{animation-name:'slideIn'}@keyframes slideOut{from{transform:translate3d(0, 0, 0)}to{visibility:hidden;transform:translate3d(-100%, 0, 0)}}.slideOut{animation-name:'slideOut'}\n",""]),module.exports=exports},395:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(396);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},396:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes slideIn{from{transform:translate3d(100%, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideIn{animation-name:'slideIn'}@keyframes slideOut{from{transform:translate3d(0, 0, 0)}to{visibility:hidden;transform:translate3d(-100%, 0, 0)}}.slideOut{animation-name:'slideOut'}\n",""]),module.exports=exports},397:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(398);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},398:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes slideIn{from{transform:translate3d(100%, 0, 0);visibility:visible}to{transform:translate3d(0, 0, 0)}}.slideIn{animation-name:'slideIn'}@keyframes slideOut{from{transform:translate3d(0, 0, 0)}to{visibility:hidden;transform:translate3d(-100%, 0, 0)}}.slideOut{animation-name:'slideOut'}\n",""]),module.exports=exports},399:function(module,exports,__webpack_require__){switch(window.__kbnThemeTag__){case"v7dark":return __webpack_require__(400);case"v7light":return __webpack_require__(402);case"v8dark":return __webpack_require__(404);case"v8light":return __webpack_require__(406)}},400:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(401);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},401:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes zoomIn{from{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}.zoomIn{animation-name:'zoomIn'}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}to{opacity:0}}.zoomOut{animation-name:'zoomOut'}\n",""]),module.exports=exports},402:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(403);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},403:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes zoomIn{from{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}.zoomIn{animation-name:'zoomIn'}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}to{opacity:0}}.zoomOut{animation-name:'zoomOut'}\n",""]),module.exports=exports},404:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(405);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},405:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes zoomIn{from{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}.zoomIn{animation-name:'zoomIn'}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}to{opacity:0}}.zoomOut{animation-name:'zoomOut'}\n",""]),module.exports=exports},406:function(module,exports,__webpack_require__){var api=__webpack_require__(177),content=__webpack_require__(407);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},407:function(module,exports,__webpack_require__){(exports=__webpack_require__(178)(!1)).push([module.i,"@keyframes zoomIn{from{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}50%{opacity:1}}.zoomIn{animation-name:'zoomIn'}@keyframes zoomOut{from{opacity:1}50%{opacity:0;transform:scale3d(0.3, 0.3, 0.3)}to{opacity:0}}.zoomOut{animation-name:'zoomOut'}\n",""]),module.exports=exports},447:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"transitions",(function(){return transitions}));__webpack_require__(372);var i18n=__webpack_require__(2);const{fade:strings}=i18n.q;__webpack_require__(381);const{rotate:rotate_strings}=i18n.q;__webpack_require__(390);const{slide:slide_strings}=i18n.q;__webpack_require__(399);const{zoom:zoom_strings}=i18n.q,transitions=[()=>({name:"fade",displayName:strings.getDisplayName(),help:strings.getHelp(),enter:"fadeIn",exit:"fadeOut"}),()=>({name:"rotate",displayName:rotate_strings.getDisplayName(),help:rotate_strings.getHelp(),enter:"rotateIn",exit:"rotateOut"}),()=>({name:"slide",displayName:slide_strings.getDisplayName(),help:slide_strings.getHelp(),enter:"slideIn",exit:"slideOut"}),()=>({name:"zoom",displayName:zoom_strings.getDisplayName(),help:zoom_strings.getHelp(),enter:"zoomIn",exit:"zoomOut"})]}}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment