forked from silevis/reactgrid-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-templates-docs-post-js-c0894b9577c3822b8a46.js.map
1 lines (1 loc) · 65.5 KB
/
component---src-templates-docs-post-js-c0894b9577c3822b8a46.js.map
1
{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es6.reflect.construct.js","webpack:///./node_modules/gatsby-plugin-mdx/mdx-renderer.js","webpack:///./node_modules/reactstrap/es/DropdownContext.js","webpack:///./node_modules/reactstrap/es/DropdownItem.js","webpack:///./node_modules/reactstrap/es/Dropdown.js","webpack:///./node_modules/reactstrap/es/UncontrolledDropdown.js","webpack:///./node_modules/reactstrap/es/DropdownToggle.js","webpack:///./node_modules/reactstrap/es/DropdownMenu.js","webpack:///./src/components/sidebar/TreeNode.js","webpack:///./src/components/sidebar/Tree.js","webpack:///./src/components/DocsSideNav.js","webpack:///./src/templates/docs-post.js","webpack:///./node_modules/reactstrap/es/Table.js","webpack:///./src/components/CustomMDXComponents.jsx"],"names":["$export","create","aFunction","anObject","isObject","fails","bind","rConstruct","Reflect","construct","NEW_TARGET_BUG","F","ARGS_BUG","S","Target","args","newTarget","arguments","length","$args","push","apply","proto","prototype","instance","Object","result","Function","call","React","require","useMDXComponents","mdx","useMDXScope","module","scope","components","children","props","mdxComponents","mdxScope","End","fullScope","keys","values","key","fn","DropdownContext","createContext","propTypes","node","active","bool","disabled","divider","tag","header","onClick","func","className","string","cssModule","object","toggle","_React$Component","DropdownItem","_this","this","getTabIndex","_proto","e","preventDefault","context","render","tabIndex","role","undefined","_omit","Tag","classes","href","createElement","type","Component","defaultProps","contextType","direction","oneOf","group","isOpen","nav","addonType","oneOfType","size","inNavbar","setActiveFromChild","Dropdown","addEvents","handleDocumentClick","handleKeyDown","removeEvents","containerRef","createRef","getContextValue","dropup","componentDidMount","handleProps","componentDidUpdate","prevProps","componentWillUnmount","getContainer","current","getMenuCtrl","_$menuCtrl","querySelector","getMenuItems","slice","querySelectorAll","_this2","forEach","event","document","addEventListener","_this3","removeEventListener","which","tab","container","contains","target","_this4","test","tagName","getAttribute","space","enter","up","down","indexOf","setTimeout","focus","esc","click","n","p","ctrlKey","$menuitems","index","end","_$menuitems","home","_$menuitems3","charPressed","String","fromCharCode","toLowerCase","i","textContent","_classNames","_ref","attrs","subItemIsActive","Children","map","dropdownItem","dropdown","show","Provider","value","onKeyDown","omitKeys","_Component","UncontrolledDropdown","state","defaultOpen","setState","caret","color","split","DropdownToggle","_this$props","ariaLabel","Button","_ref2","ref","isRequired","right","flip","modifiers","persist","noFlipModifier","enabled","directionPositionMap","left","DropdownMenu","poperPlacement","poperModifiers","placement","style","TreeNode","setCollapsed","collapsed","url","lvl","title","items","location","docsRoute","isCollapsed","includes","pathname","calculatedClassName","classNames","calculatedTitleClassName","NavItem","to","fontSize","item","idx","Tree","edges","navOrder","version","treeData","useState","tree","filter","fields","slug","reduce","accu","frontmatter","parts","prevItems","part","tmp","find","label","existingItem","sort","a","b","findIndex","unshift","splice","calculateTreeData","Nav","card","vertical","DocsSideNav","isFloating","query","finalNavItems","allMdx","innerItems","tableOfContents","innerItem","itemId","replace","navWrapperClasses","top","paddingTop","borderLeft","DocsPostTemplate","isDocsNavFloating","handleScroll","documentElement","scrollTop","body","scrollingElement","classList","add","remove","post","data","posts","site","siteMetadata","description","pages","social","docsVersions","docsPagesOrder","docsPage","page","id","dropdownItemsList","desc","Link","route","currentPostIndex","previousPost","nextPost","metaDescription","Container","Row","Col","md","lg","xl","metaTitle","CustomMDXComponents","docsPageRoute","DocsNavButton","pageQuery","bordered","borderless","striped","dark","hover","responsive","responsiveTag","innerRef","ResponsiveTag","attributes","table","responsiveClassName","h1","toString","borderBottom","paddingBottom","h2","h3","h4","h5","h6","lineHeight","overflowX","th","li"],"mappings":"+6SACA,IAAIA,EAAU,EAAQ,QAClBC,EAAS,EAAQ,QACjBC,EAAY,EAAQ,QACpBC,EAAW,EAAQ,QACnBC,EAAW,EAAQ,QACnBC,EAAQ,EAAQ,QAChBC,EAAO,E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AY2I,MAAO,CAACyH,aAAc,qCAAsCC,cAAe,WAC7G1R,EAAMD,YAIb8R,GAAI,SAAA7R,GAAK,OACP,oCACE,0BAAMqB,UAAU,SAASkO,GAAIvP,EAAMD,UAAYC,EAAMD,SAASyR,WAAW5D,QAAQ,KAAK,IAAIvG,gBAC1F,wCAAQrH,EAAR,CAAegK,MAAO,CAACyH,aAAc,qCAAsCC,cAAe,WACvF1R,EAAMD,YAIb+R,GAAI,SAAA9R,GAAK,OACP,oCACE,0BAAMqB,UAAU,SAASkO,GAAIvP,EAAMD,UAAYC,EAAMD,SAASyR,WAAW5D,QAAQ,KAAK,IAAIvG,gBAC1F,wCAAQrH,EAAR,CAAegK,MAAO,CAACyH,aAAc,qCAAsCC,cAAe,WACvF1R,EAAMD,YAIbgS,GAAI,SAAA/R,GAAK,OACP,oCACE,0BAAMqB,UAAU,SAASkO,GAAIvP,EAAMD,UAAYC,EAAMD,SAASyR,WAAW5D,QAAQ,KAAK,IAAIvG,gBAC1F,wCAAQrH,EAAR,CAAegK,MAAO,CAACyH,aAAc,qCAAsCC,cAAe,WACvF1R,EAAMD,YAIb2G,EAAI,SAAA1G,GAAK,OAAI,uCAAOA,EAAP,CAAcgK,MAAO,CAAC0H,cAAe,MAAOM,WAAY,SAAShS,EAAMD,WACpFsR,MAAO,SAAArR,GAAK,OAAI,yBAAKgK,MAAO,CAACiI,UAAW,SAAS,kBAAC,EAAUjS,EAAQA,EAAMD,YAC1EmS,GAAI,SAAAlS,GAAK,OAAI,wCAAQA,EAAR,CAAeqB,UAAU,qBAAoBrB,EAAMD,WAChEoS,GAAI,SAAAnS,GAAK,OAAI,uBAAQA,EAAO,2BAAIA,EAAMD,cAGvCA,G","file":"component---src-templates-docs-post-js-c0894b9577c3822b8a46.js","sourcesContent":["// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export');\nvar create = require('./_object-create');\nvar aFunction = require('./_a-function');\nvar anObject = require('./_an-object');\nvar isObject = require('./_is-object');\nvar fails = require('./_fails');\nvar bind = require('./_bind');\nvar rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() { /* empty */ }\n return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /* , newTarget */) {\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0: return new Target();\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : Object.prototype);\n var result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n","const React = require(`react`)\nconst { useMDXComponents, mdx } = require(`@mdx-js/react`)\nconst { useMDXScope } = require(`./context`)\n\nmodule.exports = function MDXRenderer({\n scope,\n components,\n children,\n ...props\n}) {\n const mdxComponents = useMDXComponents(components)\n const mdxScope = useMDXScope(scope)\n\n // Memoize the compiled component\n const End = React.useMemo(() => {\n if (!children) {\n return null\n }\n\n const fullScope = {\n // React is here just in case the user doesn't pass them in\n // in a manual usage of the renderer\n React,\n mdx,\n ...mdxScope,\n }\n\n const keys = Object.keys(fullScope)\n const values = keys.map(key => fullScope[key])\n const fn = new Function(`_fn`, ...keys, `${children}`)\n\n return fn({}, ...values)\n }, [children, scope])\n\n return React.createElement(End, { components: mdxComponents, ...props })\n}\n","import React from 'react';\n/**\n * DropdownContext\n * {\n * toggle: PropTypes.func.isRequired,\n * isOpen: PropTypes.bool.isRequired,\n * direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired,\n * inNavbar: PropTypes.bool.isRequired,\n * }\n */\n\nexport var DropdownContext = React.createContext({});","import \"core-js/modules/es6.function.bind\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { DropdownContext } from './DropdownContext';\nimport { mapToCssModules, omit, tagPropType } from './utils';\nvar propTypes = {\n children: PropTypes.node,\n active: PropTypes.bool,\n disabled: PropTypes.bool,\n divider: PropTypes.bool,\n tag: tagPropType,\n header: PropTypes.bool,\n onClick: PropTypes.func,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n toggle: PropTypes.bool\n};\nvar defaultProps = {\n tag: 'button',\n toggle: true\n};\n\nvar DropdownItem =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DropdownItem, _React$Component);\n\n function DropdownItem(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n _this.getTabIndex = _this.getTabIndex.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = DropdownItem.prototype;\n\n _proto.onClick = function onClick(e) {\n if (this.props.disabled || this.props.header || this.props.divider) {\n e.preventDefault();\n return;\n }\n\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n\n if (this.props.toggle) {\n this.context.toggle(e);\n }\n };\n\n _proto.getTabIndex = function getTabIndex() {\n if (this.props.disabled || this.props.header || this.props.divider) {\n return '-1';\n }\n\n return '0';\n };\n\n _proto.render = function render() {\n var tabIndex = this.getTabIndex();\n var role = tabIndex > -1 ? 'menuitem' : undefined;\n\n var _omit = omit(this.props, ['toggle']),\n className = _omit.className,\n cssModule = _omit.cssModule,\n divider = _omit.divider,\n Tag = _omit.tag,\n header = _omit.header,\n active = _omit.active,\n props = _objectWithoutPropertiesLoose(_omit, [\"className\", \"cssModule\", \"divider\", \"tag\", \"header\", \"active\"]);\n\n var classes = mapToCssModules(classNames(className, {\n disabled: props.disabled,\n 'dropdown-item': !divider && !header,\n active: active,\n 'dropdown-header': header,\n 'dropdown-divider': divider\n }), cssModule);\n\n if (Tag === 'button') {\n if (header) {\n Tag = 'h6';\n } else if (divider) {\n Tag = 'div';\n } else if (props.href) {\n Tag = 'a';\n }\n }\n\n return React.createElement(Tag, _extends({\n type: Tag === 'button' && (props.onClick || this.props.toggle) ? 'button' : undefined\n }, props, {\n tabIndex: tabIndex,\n role: role,\n className: classes,\n onClick: this.onClick\n }));\n };\n\n return DropdownItem;\n}(React.Component);\n\nDropdownItem.propTypes = propTypes;\nDropdownItem.defaultProps = defaultProps;\nDropdownItem.contextType = DropdownContext;\nexport default DropdownItem;","import \"core-js/modules/es6.array.map\";\nimport \"core-js/modules/es6.array.index-of\";\nimport \"core-js/modules/es6.array.for-each\";\nimport \"core-js/modules/es6.function.bind\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n/* eslint react/no-find-dom-node: 0 */\n// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-find-dom-node.md\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { Manager } from 'react-popper';\nimport classNames from 'classnames';\nimport { DropdownContext } from './DropdownContext';\nimport { mapToCssModules, omit, keyCodes, tagPropType } from './utils';\nvar propTypes = {\n disabled: PropTypes.bool,\n direction: PropTypes.oneOf(['up', 'down', 'left', 'right']),\n group: PropTypes.bool,\n isOpen: PropTypes.bool,\n nav: PropTypes.bool,\n active: PropTypes.bool,\n addonType: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['prepend', 'append'])]),\n size: PropTypes.string,\n tag: tagPropType,\n toggle: PropTypes.func,\n children: PropTypes.node,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n inNavbar: PropTypes.bool,\n setActiveFromChild: PropTypes.bool\n};\nvar defaultProps = {\n isOpen: false,\n direction: 'down',\n nav: false,\n active: false,\n addonType: false,\n inNavbar: false,\n setActiveFromChild: false\n};\n\nvar Dropdown =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Dropdown, _React$Component);\n\n function Dropdown(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.addEvents = _this.addEvents.bind(_assertThisInitialized(_this));\n _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized(_this));\n _this.handleKeyDown = _this.handleKeyDown.bind(_assertThisInitialized(_this));\n _this.removeEvents = _this.removeEvents.bind(_assertThisInitialized(_this));\n _this.toggle = _this.toggle.bind(_assertThisInitialized(_this));\n _this.containerRef = React.createRef();\n return _this;\n }\n\n var _proto = Dropdown.prototype;\n\n _proto.getContextValue = function getContextValue() {\n return {\n toggle: this.props.toggle,\n isOpen: this.props.isOpen,\n direction: this.props.direction === 'down' && this.props.dropup ? 'up' : this.props.direction,\n inNavbar: this.props.inNavbar\n };\n };\n\n _proto.componentDidMount = function componentDidMount() {\n this.handleProps();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n if (this.props.isOpen !== prevProps.isOpen) {\n this.handleProps();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.removeEvents();\n };\n\n _proto.getContainer = function getContainer() {\n return this.containerRef.current;\n };\n\n _proto.getMenuCtrl = function getMenuCtrl() {\n if (this._$menuCtrl) return this._$menuCtrl;\n this._$menuCtrl = this.getContainer().querySelector('[aria-expanded]');\n return this._$menuCtrl;\n };\n\n _proto.getMenuItems = function getMenuItems() {\n return [].slice.call(this.getContainer().querySelectorAll('[role=\"menuitem\"]'));\n };\n\n _proto.addEvents = function addEvents() {\n var _this2 = this;\n\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.addEventListener(event, _this2.handleDocumentClick, true);\n });\n };\n\n _proto.removeEvents = function removeEvents() {\n var _this3 = this;\n\n ['click', 'touchstart', 'keyup'].forEach(function (event) {\n return document.removeEventListener(event, _this3.handleDocumentClick, true);\n });\n };\n\n _proto.handleDocumentClick = function handleDocumentClick(e) {\n if (e && (e.which === 3 || e.type === 'keyup' && e.which !== keyCodes.tab)) return;\n var container = this.getContainer();\n\n if (container.contains(e.target) && container !== e.target && (e.type !== 'keyup' || e.which === keyCodes.tab)) {\n return;\n }\n\n this.toggle(e);\n };\n\n _proto.handleKeyDown = function handleKeyDown(e) {\n var _this4 = this;\n\n if (/input|textarea/i.test(e.target.tagName) || keyCodes.tab === e.which && e.target.getAttribute('role') !== 'menuitem') {\n return;\n }\n\n e.preventDefault();\n if (this.props.disabled) return;\n\n if (this.getMenuCtrl() === e.target) {\n if (!this.props.isOpen && [keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.down].indexOf(e.which) > -1) {\n this.toggle(e);\n setTimeout(function () {\n return _this4.getMenuItems()[0].focus();\n });\n }\n }\n\n if (this.props.isOpen && e.target.getAttribute('role') === 'menuitem') {\n if ([keyCodes.tab, keyCodes.esc].indexOf(e.which) > -1) {\n this.toggle(e);\n this.getMenuCtrl().focus();\n } else if ([keyCodes.space, keyCodes.enter].indexOf(e.which) > -1) {\n e.target.click();\n this.getMenuCtrl().focus();\n } else if ([keyCodes.down, keyCodes.up].indexOf(e.which) > -1 || [keyCodes.n, keyCodes.p].indexOf(e.which) > -1 && e.ctrlKey) {\n var $menuitems = this.getMenuItems();\n var index = $menuitems.indexOf(e.target);\n\n if (keyCodes.up === e.which || keyCodes.p === e.which && e.ctrlKey) {\n index = index !== 0 ? index - 1 : $menuitems.length - 1;\n } else if (keyCodes.down === e.which || keyCodes.n === e.which && e.ctrlKey) {\n index = index === $menuitems.length - 1 ? 0 : index + 1;\n }\n\n $menuitems[index].focus();\n } else if (keyCodes.end === e.which) {\n var _$menuitems = this.getMenuItems();\n\n _$menuitems[_$menuitems.length - 1].focus();\n } else if (keyCodes.home === e.which) {\n var _$menuitems2 = this.getMenuItems();\n\n _$menuitems2[0].focus();\n } else if (e.which >= 48 && e.which <= 90) {\n var _$menuitems3 = this.getMenuItems();\n\n var charPressed = String.fromCharCode(e.which).toLowerCase();\n\n for (var i = 0; i < _$menuitems3.length; i += 1) {\n var firstLetter = _$menuitems3[i].textContent && _$menuitems3[i].textContent[0].toLowerCase();\n\n if (firstLetter === charPressed) {\n _$menuitems3[i].focus();\n\n break;\n }\n }\n }\n }\n };\n\n _proto.handleProps = function handleProps() {\n if (this.props.isOpen) {\n this.addEvents();\n } else {\n this.removeEvents();\n }\n };\n\n _proto.toggle = function toggle(e) {\n if (this.props.disabled) {\n return e && e.preventDefault();\n }\n\n return this.props.toggle(e);\n };\n\n _proto.render = function render() {\n var _classNames, _ref;\n\n var _omit = omit(this.props, ['toggle', 'disabled', 'inNavbar']),\n className = _omit.className,\n cssModule = _omit.cssModule,\n direction = _omit.direction,\n isOpen = _omit.isOpen,\n group = _omit.group,\n size = _omit.size,\n nav = _omit.nav,\n setActiveFromChild = _omit.setActiveFromChild,\n active = _omit.active,\n addonType = _omit.addonType,\n tag = _omit.tag,\n attrs = _objectWithoutPropertiesLoose(_omit, [\"className\", \"cssModule\", \"direction\", \"isOpen\", \"group\", \"size\", \"nav\", \"setActiveFromChild\", \"active\", \"addonType\", \"tag\"]);\n\n var Tag = tag || (nav ? 'li' : 'div');\n var subItemIsActive = false;\n\n if (setActiveFromChild) {\n React.Children.map(this.props.children[1].props.children, function (dropdownItem) {\n if (dropdownItem && dropdownItem.props.active) subItemIsActive = true;\n });\n }\n\n var classes = mapToCssModules(classNames(className, direction !== 'down' && \"drop\" + direction, nav && active ? 'active' : false, setActiveFromChild && subItemIsActive ? 'active' : false, (_classNames = {}, _classNames[\"input-group-\" + addonType] = addonType, _classNames['btn-group'] = group, _classNames[\"btn-group-\" + size] = !!size, _classNames.dropdown = !group && !addonType, _classNames.show = isOpen, _classNames['nav-item'] = nav, _classNames)), cssModule);\n return React.createElement(DropdownContext.Provider, {\n value: this.getContextValue()\n }, React.createElement(Manager, null, React.createElement(Tag, _extends({}, attrs, (_ref = {}, _ref[typeof Tag === 'string' ? 'ref' : 'innerRef'] = this.containerRef, _ref), {\n onKeyDown: this.handleKeyDown,\n className: classes\n }))));\n };\n\n return Dropdown;\n}(React.Component);\n\nDropdown.propTypes = propTypes;\nDropdown.defaultProps = defaultProps;\nexport default Dropdown;","import \"core-js/modules/es6.function.bind\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport Dropdown from './Dropdown';\nimport { omit } from './utils';\nvar omitKeys = ['defaultOpen'];\n\nvar UncontrolledDropdown =\n/*#__PURE__*/\nfunction (_Component) {\n _inheritsLoose(UncontrolledDropdown, _Component);\n\n function UncontrolledDropdown(props) {\n var _this;\n\n _this = _Component.call(this, props) || this;\n _this.state = {\n isOpen: props.defaultOpen || false\n };\n _this.toggle = _this.toggle.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = UncontrolledDropdown.prototype;\n\n _proto.toggle = function toggle() {\n this.setState({\n isOpen: !this.state.isOpen\n });\n };\n\n _proto.render = function render() {\n return React.createElement(Dropdown, _extends({\n isOpen: this.state.isOpen,\n toggle: this.toggle\n }, omit(this.props, omitKeys)));\n };\n\n return UncontrolledDropdown;\n}(Component);\n\nexport { UncontrolledDropdown as default };\nUncontrolledDropdown.propTypes = _objectSpread({\n defaultOpen: PropTypes.bool\n}, Dropdown.propTypes);","import \"core-js/modules/es6.regexp.split\";\nimport \"core-js/modules/es6.function.bind\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Reference } from 'react-popper';\nimport { DropdownContext } from './DropdownContext';\nimport { mapToCssModules, tagPropType } from './utils';\nimport Button from './Button';\nvar propTypes = {\n caret: PropTypes.bool,\n color: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n disabled: PropTypes.bool,\n onClick: PropTypes.func,\n 'aria-haspopup': PropTypes.bool,\n split: PropTypes.bool,\n tag: tagPropType,\n nav: PropTypes.bool\n};\nvar defaultProps = {\n 'aria-haspopup': true,\n color: 'secondary'\n};\n\nvar DropdownToggle =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DropdownToggle, _React$Component);\n\n function DropdownToggle(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_this));\n return _this;\n }\n\n var _proto = DropdownToggle.prototype;\n\n _proto.onClick = function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n\n if (this.props.nav && !this.props.tag) {\n e.preventDefault();\n }\n\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n\n this.context.toggle(e);\n };\n\n _proto.render = function render() {\n var _this2 = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n color = _this$props.color,\n cssModule = _this$props.cssModule,\n caret = _this$props.caret,\n split = _this$props.split,\n nav = _this$props.nav,\n tag = _this$props.tag,\n props = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"color\", \"cssModule\", \"caret\", \"split\", \"nav\", \"tag\"]);\n\n var ariaLabel = props['aria-label'] || 'Toggle Dropdown';\n var classes = mapToCssModules(classNames(className, {\n 'dropdown-toggle': caret || split,\n 'dropdown-toggle-split': split,\n 'nav-link': nav\n }), cssModule);\n var children = props.children || React.createElement(\"span\", {\n className: \"sr-only\"\n }, ariaLabel);\n var Tag;\n\n if (nav && !tag) {\n Tag = 'a';\n props.href = '#';\n } else if (!tag) {\n Tag = Button;\n props.color = color;\n props.cssModule = cssModule;\n } else {\n Tag = tag;\n }\n\n if (this.context.inNavbar) {\n return React.createElement(Tag, _extends({}, props, {\n className: classes,\n onClick: this.onClick,\n \"aria-expanded\": this.context.isOpen,\n children: children\n }));\n }\n\n return React.createElement(Reference, null, function (_ref) {\n var _ref2;\n\n var ref = _ref.ref;\n return React.createElement(Tag, _extends({}, props, (_ref2 = {}, _ref2[typeof Tag === 'string' ? 'ref' : 'innerRef'] = ref, _ref2), {\n className: classes,\n onClick: _this2.onClick,\n \"aria-expanded\": _this2.context.isOpen,\n children: children\n }));\n });\n };\n\n return DropdownToggle;\n}(React.Component);\n\nDropdownToggle.propTypes = propTypes;\nDropdownToggle.defaultProps = defaultProps;\nDropdownToggle.contextType = DropdownContext;\nexport default DropdownToggle;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectSpread from \"@babel/runtime/helpers/esm/objectSpread\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { Popper } from 'react-popper';\nimport { DropdownContext } from './DropdownContext';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n children: PropTypes.node.isRequired,\n right: PropTypes.bool,\n flip: PropTypes.bool,\n modifiers: PropTypes.object,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n persist: PropTypes.bool\n};\nvar defaultProps = {\n tag: 'div',\n flip: true\n};\nvar noFlipModifier = {\n flip: {\n enabled: false\n }\n};\nvar directionPositionMap = {\n up: 'top',\n left: 'left',\n right: 'right',\n down: 'bottom'\n};\n\nvar DropdownMenu =\n/*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(DropdownMenu, _React$Component);\n\n function DropdownMenu() {\n return _React$Component.apply(this, arguments) || this;\n }\n\n var _proto = DropdownMenu.prototype;\n\n _proto.render = function render() {\n var _this = this;\n\n var _this$props = this.props,\n className = _this$props.className,\n cssModule = _this$props.cssModule,\n right = _this$props.right,\n tag = _this$props.tag,\n flip = _this$props.flip,\n modifiers = _this$props.modifiers,\n persist = _this$props.persist,\n attrs = _objectWithoutPropertiesLoose(_this$props, [\"className\", \"cssModule\", \"right\", \"tag\", \"flip\", \"modifiers\", \"persist\"]);\n\n var classes = mapToCssModules(classNames(className, 'dropdown-menu', {\n 'dropdown-menu-right': right,\n show: this.context.isOpen\n }), cssModule);\n var Tag = tag;\n\n if (persist || this.context.isOpen && !this.context.inNavbar) {\n var position1 = directionPositionMap[this.context.direction] || 'bottom';\n var position2 = right ? 'end' : 'start';\n var poperPlacement = position1 + \"-\" + position2;\n var poperModifiers = !flip ? _objectSpread({}, modifiers, noFlipModifier) : modifiers;\n return React.createElement(Popper, {\n placement: poperPlacement,\n modifiers: poperModifiers\n }, function (_ref) {\n var ref = _ref.ref,\n style = _ref.style,\n placement = _ref.placement;\n return React.createElement(Tag, _extends({\n tabIndex: \"-1\",\n role: \"menu\",\n ref: ref,\n style: style\n }, attrs, {\n \"aria-hidden\": !_this.context.isOpen,\n className: classes,\n \"x-placement\": placement\n }));\n });\n }\n\n return React.createElement(Tag, _extends({\n tabIndex: \"-1\",\n role: \"menu\"\n }, attrs, {\n \"aria-hidden\": !this.context.isOpen,\n className: classes,\n \"x-placement\": attrs.placement\n }));\n };\n\n return DropdownMenu;\n}(React.Component);\n\n;\nDropdownMenu.propTypes = propTypes;\nDropdownMenu.defaultProps = defaultProps;\nDropdownMenu.contextType = DropdownContext;\nexport default DropdownMenu;","import React from \"react\";\nimport { Link } from \"gatsby\";\nimport classNames from 'classnames';\n\nimport {\n NavItem,\n} from \"reactstrap\";\n\nconst TreeNode = ({ className = '', setCollapsed, collapsed, url, lvl, title, items, location, docsRoute, ...rest }) => {\n const isCollapsed = Object.keys(collapsed).includes(url) && collapsed[url];\n\n // const collapse = () => {\n // setCollapsed(url);\n // }\n\n // const hasChildren = items.length > 0;\n\n const active = location && location.pathname === (docsRoute + url);\n const calculatedClassName = classNames({\n 'nav-docs-item': true,\n className: true,\n 'active': active\n });\n const calculatedTitleClassName = classNames({\n 'font-weight-md-bold': lvl < 3,\n 'font-weight-md-light': lvl >= 3,\n });\n\n return (\n <NavItem className={calculatedClassName}>\n {title && (\n <>\n {/* {\n <span onClick={collapse} className='collapser pr-1 float-left'>\n {!isCollapsed ? <i className=\"fas fa-chevron-right\"></i> : <i className=\"fas fa-chevron-down\"></i>}\n </span>\n } */}\n <Link to={docsRoute + url} className=\"text-white d-inline-block\">\n <h4 className=\"mb-0\">\n <span className={calculatedTitleClassName} style={{ fontSize: '0.75em' }}>{title}</span>\n </h4>\n </Link>\n </>\n )}\n\n {!isCollapsed ? (\n <ul className={`${lvl > 1 ? 'pl-2' : ''} mb-0 list-unstyled`}>\n {items.map((item, idx) => {\n return (<TreeNode key={idx} setCollapsed={setCollapsed} lvl={lvl + 1} collapsed={collapsed}\n docsRoute={docsRoute} location={location} url={url} {...item} />\n )\n })}\n </ul>\n ) : null}\n </NavItem>\n );\n}\nexport default TreeNode\n","import React, {useState} from 'react';\nimport TreeNode from './TreeNode';\n\nimport {\n Nav\n} from \"reactstrap\";\n\nconst calculateTreeData = (navOrder, edges, version) => {\n const originalData = true ? edges.filter(({node: {fields: {slug}}}) => slug !== '/') : edges;\n const tree = originalData.reduce((accu, {node: {fields: {slug}, frontmatter : {title}}}) => {\n const parts = slug.split('/');\n if (parts[1] !== version) return accu;\n let {items: prevItems} = accu;\n for (const part of parts.slice(1, -1)) {\n let tmp = prevItems.find(({label}) => label === part);\n if (tmp) {\n if (!tmp.items) {\n tmp.items = [];\n }\n } else {\n tmp = {label: part, items: []};\n prevItems.push(tmp)\n }\n prevItems = tmp.items;\n }\n const existingItem = prevItems.find(({label}) => label === parts[parts.length - 1]);\n if (existingItem) {\n existingItem.url = slug;\n existingItem.title = title;\n } else {\n prevItems.push({\n label: parts[parts.length - 1],\n url: slug,\n items: [],\n title\n });\n }\n return accu;\n }, {items: []});\n const tmp = [...navOrder];\n // tmp.reverse();\n return tmp.reduce((accu, slug) => {\n const parts = slug.split('/');\n let {items: prevItems} = accu;\n for (const part of parts.slice(1, -1)) {\n let tmp = prevItems.find(({label}) => label === part);\n if (tmp) {\n if (!tmp.items) {\n tmp.items = [];\n }\n } else {\n tmp = {label: part, items: []};\n prevItems.push(tmp)\n }\n prevItems = tmp.items;\n }\n // sort items alphabetically.\n prevItems.map((item) => {\n item.items = item.items\n .sort(function (a, b) {\n if (a.label < b.label)\n return -1;\n if (a.label > b.label)\n return 1;\n return 0;\n });\n return 0;\n })\n const index = prevItems.findIndex(({label}) => label === parts[parts.length - 1]);\n accu.items.unshift(prevItems.splice(index, 1)[0]);\n return accu;\n }, tree);\n}\n\n\nconst Tree = ({edges, location, navOrder, version, docsRoute}) => {\n const [treeData] = useState(() => {\n return calculateTreeData(navOrder, edges, version);\n });\n const lvl = 0;\n const [collapsed, setCollapsed] = useState({})\n const toggle = (url) => {\n setCollapsed({\n ...collapsed,\n [url]: !collapsed[url],\n });\n }\n\n return (\n <>\n <Nav className=\"\" card vertical>\n {treeData.items.map((item, idx) => {\n return <TreeNode key={idx} lvl={lvl} setCollapsed={toggle} collapsed={collapsed} url={location.pathname} \n location={location} docsRoute={docsRoute} items={item.items}/>\n })}\n </Nav>\n </>\n );\n}\n\nexport default Tree \n","import React from \"react\";\nimport { StaticQuery, graphql } from \"gatsby\";\nimport { Nav, NavItem } from 'reactstrap';\nimport classNames from 'classnames';\n\nconst DocsSideNav = ({ location, isFloating, docsRoute }) => (\n <StaticQuery\n query={graphql`\n query {\n allMdx {\n edges {\n node {\n fields {\n slug\n }\n tableOfContents\n }\n }\n }\n }\n `}\n render={({ allMdx }) => {\n let finalNavItems;\n if (allMdx.edges !== undefined && allMdx.edges.length > 0) {\n allMdx.edges.map(item => {\n let innerItems;\n if(item !== undefined) {\n if ((item.node.fields.slug === location.pathname) || (docsRoute + item.node.fields.slug) === location.pathname) {\n if (item.node.tableOfContents.items) {\n innerItems = item.node.tableOfContents.items.map((innerItem, index) => {\n const itemId = innerItem.title ? innerItem.title.replace(/\\s+/g, '').toLowerCase() : '#';\n return (\n <NavItem key={index} className=\"py-1\">\n <a href={`#${itemId}`} className=\"text-white\">{innerItem.title}</a>\n </NavItem>\n );\n });\n }\n }\n }\n if (innerItems)\n finalNavItems = innerItems;\n return item;\n });\n }\n const navWrapperClasses = classNames({\n 'overflow-auto': true,\n 'vh-100 position-fixed px-3 ml-n3': isFloating,\n })\n if (finalNavItems && finalNavItems.length) {\n return (\n <div style={{top: 0, fontSize: '0.9em'}} className={navWrapperClasses}>\n <Nav vertical style={{paddingTop: isFloating ? '102px' : '0'}}>\n <div style={{borderLeft: '1px solid rgba(255, 255, 255, 0.25)'}} className=\"pl-2\">\n <div className=\"h5 text-white\">CONTENTS</div>\n {finalNavItems}\n </div>\n </Nav>\n </div>\n );\n } else {\n return (\n <Nav><ul></ul></Nav>\n );\n }\n }}\n />\n);\n\nexport default DocsSideNav;\n","import React from \"react\"\nimport { graphql, Link } from \"gatsby\"\nimport Layout from \"../components/layout\"\nimport SEO from \"../components/seo\"\nimport {\n Container,\n Row,\n Col,\n UncontrolledDropdown,\n DropdownToggle,\n DropdownMenu,\n DropdownItem,\n Button,\n} from \"reactstrap\";\nimport Tree from \"../components/sidebar/Tree\";\nimport SidebarLayout from \"../components/DocsSideNav\";\nimport CustomMDXComponents from \"../components/CustomMDXComponents\";\n\nimport MDXRenderer from \"gatsby-plugin-mdx/mdx-renderer\"\n\nclass DocsPostTemplate extends React.Component {\n state = {\n isDocsNavFloating: true,\n };\n componentDidMount() {\n document.documentElement.scrollTop = 0;\n document.scrollingElement.scrollTop = 0;\n document.body.classList.add(\"blog-post\");\n // window.addEventListener(\"scroll\", this.handleScroll);\n }\n\n componentWillUnmount() {\n document.body.classList.remove(\"blog-post\");\n // window.removeEventListener(\"scroll\", this.handleScroll);\n }\n\n handleScroll = () => {\n if (document.documentElement.scrollTop > 145 || document.body.scrollTop > 145) {\n this.setState({ isDocsNavFloating: true });\n } else if (document.documentElement.scrollTop < 146 || document.body.scrollTop < 146) {\n this.setState({ isDocsNavFloating: false });\n }\n };\n\n render() {\n const post = this.props.data.mdx;\n const posts = this.props.data.allMdx.edges;\n const location = this.props.location;\n const { title, description, pages, social, docsVersions, docsPagesOrder } = this.props.data.site.siteMetadata;\n const slug = this.props.location.pathname.split('/');\n const version = slug[2];\n const docsPage = pages.find(page => page.id === 'docs')\n\n const dropdownItemsList = docsVersions.filter(version => version.active).map(version => {\n return (\n <DropdownItem active={version === version.desc} key={version.slug} tag={Link} to={`${docsPage.route + version.slug + version.index}/`}>\n <h4 className=\"text-darker mb-0\">{version.desc}</h4>\n </DropdownItem>\n );\n });\n const currentPostIndex = posts.findIndex(item => `${docsPage.route}${item.node.fields.slug}` === location.pathname)\n const previousPost = posts[currentPostIndex - 1];\n const nextPost = posts[currentPostIndex + 1];\n return (\n <Layout location={location} pages={pages} social={social} description={description} title={title}>\n <SEO title={post.frontmatter.title} description={post.frontmatter.metaDescription} />\n <div className=\"docs-page section\">\n <Container>\n <div className=\"space-50\"></div>\n <Row>\n <Col md=\"3\" lg=\"3\" xl=\"3\" className=\"pb-5 pb-md-0\">\n <UncontrolledDropdown className=\"dropdown-version-wrapper\">\n <DropdownToggle caret size=\"md\" className=\"btn-success text-nowrap px-3\">\n v{version}\n </DropdownToggle>\n <DropdownMenu right>\n {dropdownItemsList}\n </DropdownMenu>\n </UncontrolledDropdown>\n <Tree version={version} edges={posts} docsRoute={docsPage.route} location={location} navOrder={docsPagesOrder} />\n </Col>\n <Col md=\"9\" lg=\"7\" xl=\"7\" className=\"pl-md-5 pr-lg-5 pl-lg-2\">\n <h1 className=\"mb\" id=\"docs-header\"><span className=\"text-success\">{post.frontmatter.metaTitle}</span></h1>\n <CustomMDXComponents>\n <MDXRenderer>{post.body}</MDXRenderer>\n </CustomMDXComponents>\n <div className=\"d-flex justify-content-between pt-5\">\n <DocsNavButton post={previousPost} title=\"Prev:\" docsPageRoute={docsPage.route} />\n <div className=\"mx-auto\"></div>\n <DocsNavButton post={nextPost} title=\"Next:\" docsPageRoute={docsPage.route} />\n </div>\n </Col>\n <Col lg=\"2\" xl=\"2\" className=\"d-none d-lg-flex position-relative justify-content-start\">\n <SidebarLayout isFloating={this.state.isDocsNavFloating} docsRoute={docsPage.route} location={location} />\n </Col>\n </Row>\n </Container>\n </div>\n </Layout>\n )\n }\n}\n\nexport default DocsPostTemplate\n\nconst DocsNavButton = ({ post, title, docsPageRoute, children }) => {\n return (\n <>\n {post &&\n <Button tag={Link} to={`${docsPageRoute}${post.node.fields.slug}`} className=\"btn-link text-left px-0\" color=\"success\">\n <p className=\"\">{title}</p>\n <span className=\"h4 text-white mb-0\">{post.node.frontmatter.title}</span>\n {children}\n </Button>\n }\n </>\n )\n}\n\nexport const pageQuery = graphql`\n query DocsPostBySlug($slug: String!) {\n site {\n siteMetadata {\n title\n description\n pages {\n description\n id\n route\n title\n active\n }\n social {\n description\n fontAwesomeIcon\n title\n url\n }\n docsVersions {\n slug\n desc\n index\n active\n }\n docsPagesOrder\n }\n }\n mdx(fields: { slug: { eq: $slug } }) {\n body\n id\n excerpt(pruneLength: 160)\n frontmatter {\n title\n metaDescription\n metaTitle\n }\n }\n allMdx(filter: {frontmatter: {posttype: {eq: \"docs\"}}, fields: {slug: {}}}, sort: {fields: fields___slug, order: ASC}) {\n edges {\n node {\n excerpt\n fields {\n slug\n }\n frontmatter {\n posttype\n title\n metaDescription\n metaTitle\n }\n }\n }\n }\n }\n`\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n className: PropTypes.string,\n cssModule: PropTypes.object,\n size: PropTypes.string,\n bordered: PropTypes.bool,\n borderless: PropTypes.bool,\n striped: PropTypes.bool,\n dark: PropTypes.bool,\n hover: PropTypes.bool,\n responsive: PropTypes.oneOfType([PropTypes.bool, PropTypes.string]),\n tag: tagPropType,\n responsiveTag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.string, PropTypes.object])\n};\nvar defaultProps = {\n tag: 'table',\n responsiveTag: 'div'\n};\n\nvar Table = function Table(props) {\n var className = props.className,\n cssModule = props.cssModule,\n size = props.size,\n bordered = props.bordered,\n borderless = props.borderless,\n striped = props.striped,\n dark = props.dark,\n hover = props.hover,\n responsive = props.responsive,\n Tag = props.tag,\n ResponsiveTag = props.responsiveTag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"size\", \"bordered\", \"borderless\", \"striped\", \"dark\", \"hover\", \"responsive\", \"tag\", \"responsiveTag\", \"innerRef\"]);\n\n var classes = mapToCssModules(classNames(className, 'table', size ? 'table-' + size : false, bordered ? 'table-bordered' : false, borderless ? 'table-borderless' : false, striped ? 'table-striped' : false, dark ? 'table-dark' : false, hover ? 'table-hover' : false), cssModule);\n var table = React.createElement(Tag, _extends({}, attributes, {\n ref: innerRef,\n className: classes\n }));\n\n if (responsive) {\n var responsiveClassName = mapToCssModules(responsive === true ? 'table-responsive' : \"table-responsive-\" + responsive, cssModule);\n return React.createElement(ResponsiveTag, {\n className: responsiveClassName\n }, table);\n }\n\n return table;\n};\n\nTable.propTypes = propTypes;\nTable.defaultProps = defaultProps;\nexport default Table;","import { MDXProvider } from \"@mdx-js/react\";\nimport React from 'react';\nimport { Table } from 'reactstrap';\nexport default function CustomMDXComponents({ children }) {\n return (\n <MDXProvider\n components={{\n h1: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h1 {...props} className=\"pt-4 mb-2\" style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.5em'}}>\n {props.children}\n </h1>\n </>\n ),\n h2: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h2 {...props} className=\"pt-4 mb-2\" style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.3em'}}>\n {props.children}\n </h2>\n </>\n ),\n h3: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h3 {...props} className=\"pt-4 mb-2\" style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.3em'}}>\n {props.children}\n </h3>\n </>\n ),\n h4: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h4 {...props} style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.3em'}}>\n {props.children}\n </h4>\n </>\n ),\n h5: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h5 {...props} style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.3em'}}>\n {props.children}\n </h5>\n </>\n ),\n h6: props => (\n <>\n <span className=\"anchor\" id={props.children && props.children.toString().replace(/ /g,\"\").toLowerCase()}></span>\n <h6 {...props} style={{borderBottom: '1px solid rgba(255, 255, 255, 0.1)', paddingBottom: '0.3em'}}>\n {props.children}\n </h6>\n </>\n ),\n p: props => <p {...props} style={{paddingBottom: '1em', lineHeight: '2em'}}>{props.children}</p>,\n table: props => <div style={{overflowX: 'auto'}}><Table {...props}>{props.children}</Table></div>,\n th: props => <th {...props} className=\"font-weight-bold\">{props.children}</th>,\n li: props => <li {...props}><p>{props.children}</p></li>,\n }}\n >\n {children}\n </MDXProvider>\n )\n}"],"sourceRoot":""}