0
owncast/docs/components/278.8c43ebf87614c094bfac.manager.bundle.js

2 lines
96 KiB
JavaScript
Raw Normal View History

2022-05-12 06:35:32 +00:00
/*! For license information please see 278.8c43ebf87614c094bfac.manager.bundle.js.LICENSE.txt */
(self.webpackChunkowncast_admin=self.webpackChunkowncast_admin||[]).push([[278],{33278:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{SyntaxHighlighter:()=>syntaxhighlighter_SyntaxHighlighter,createCopyToClipboardFunction:()=>createCopyToClipboardFunction,default:()=>syntaxhighlighter});__webpack_require__(35666),__webpack_require__(69720),__webpack_require__(19601),__webpack_require__(73210),__webpack_require__(41539),__webpack_require__(39714),__webpack_require__(82526),__webpack_require__(41817),__webpack_require__(32165),__webpack_require__(78783),__webpack_require__(66992),__webpack_require__(33948),__webpack_require__(47042),__webpack_require__(68309),__webpack_require__(91038),__webpack_require__(88674),__webpack_require__(47941);var react=__webpack_require__(67294),esm=__webpack_require__(23827),dist_esm=__webpack_require__(65316),global_window=__webpack_require__(58908),window_default=__webpack_require__.n(global_window),memoizerific=__webpack_require__(52326),memoizerific_default=__webpack_require__.n(memoizerific),jsx=__webpack_require__(96412);const prism_jsx=__webpack_require__.n(jsx)();var bash=__webpack_require__(6979);const prism_bash=__webpack_require__.n(bash)();var css=__webpack_require__(12049);const prism_css=__webpack_require__.n(css)();var js_extras=__webpack_require__(46155);const prism_js_extras=__webpack_require__.n(js_extras)();var json=__webpack_require__(45950);const prism_json=__webpack_require__.n(json)();var graphql=__webpack_require__(94055);const prism_graphql=__webpack_require__.n(graphql)();var markup=__webpack_require__(2717);const prism_markup=__webpack_require__.n(markup)();var markdown=__webpack_require__(90542);const prism_markdown=__webpack_require__.n(markdown)();var yaml=__webpack_require__(65039);const prism_yaml=__webpack_require__.n(yaml)();var tsx=__webpack_require__(87041);const prism_tsx=__webpack_require__.n(tsx)();var typescript=__webpack_require__(4979);const prism_typescript=__webpack_require__.n(typescript)();var objectWithoutPropertiesLoose=__webpack_require__(63366);var defineProperty=__webpack_require__(4942);function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?Object(arguments[i]):{},ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&ownKeys.push.apply(ownKeys,Object.getOwnPropertySymbols(source).filter((function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach((function(key){(0,defineProperty.Z)(target,key,source[key])}))}return target}var esm_extends=__webpack_require__(87462);function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return _objectSpread({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet,useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?_objectSpread({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.c