-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-index-tsx-9f57ab62917fc7eec00a.js.map
1 lines (1 loc) · 339 KB
/
component---src-pages-index-tsx-9f57ab62917fc7eec00a.js.map
1
{"version":3,"file":"component---src-pages-index-tsx-9f57ab62917fc7eec00a.js","mappings":";sHAAA,OAOA,WACE,aAEA,IAAIA,EAAS,CAAC,EAAEC,eAGhB,SAASC,IAGP,IAFA,IAAIC,EAAU,GAELC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAMF,UAAUD,GACpB,GAAKG,EAAL,CACA,IAAIC,SAAiBD,EAErB,GAAgB,WAAZC,GAAoC,WAAZA,EAC1BL,EAAQM,KAAKF,QACR,GAAIG,MAAMC,QAAQJ,IACvB,GAAIA,EAAID,OAAQ,CACd,IAAIM,EAAQV,EAAWW,MAAM,KAAMN,GAE/BK,GACFT,EAAQM,KAAKG,EAEjB,OACK,GAAgB,WAAZJ,EAAsB,CAC/B,GAAID,EAAIO,WAAaC,OAAOC,UAAUF,WAAaP,EAAIO,SAASA,WAAWG,SAAS,iBAAkB,CACpGd,EAAQM,KAAKF,EAAIO,YACjB,QACF,CAEA,IAAK,IAAII,KAAOX,EACVP,EAAOmB,KAAKZ,EAAKW,IAAQX,EAAIW,IAC/Bf,EAAQM,KAAKS,EAGnB,CAxBkB,CAyBpB,CAEA,OAAOf,EAAQiB,KAAK,IACtB,CAEqCC,EAAOC,SAC1CpB,EAAWqB,QAAUrB,EACrBmB,EAAOC,QAAUpB,QAKhB,KAFwB,EAAF,WACrB,OAAOA,CACR,UAFoB,OAEpB,YAIJ,CApDD,sCCLA,IAAIsB,EAAkB,EAAQ,MAE1BC,EAA4B,CAC9B,aAAc,OACd,YAAa,MACb,QAAW,QA+GbJ,EAAOC,QAtGP,SAAcI,EAAMC,GAClB,IAAIC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAAU,EAETP,IACHA,EAAU,CAAC,GAGbC,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AAC+9B,EAAD,MACA/9B,EAAAA,cAACg+B,EAAD,CAAUn3B,UAAWA,IACrB7G,EAAAA,cAACi+B,EAAAA,EAAD,QA/DV","sources":["webpack://gatsby-starter-default/./node_modules/classnames/index.js","webpack://gatsby-starter-default/./node_modules/copy-to-clipboard/index.js","webpack://gatsby-starter-default/./node_modules/react-intersection-observer/react-intersection-observer.m.js","webpack://gatsby-starter-default/./node_modules/react-vertical-timeline-component/dist-es6/VerticalTimeline.js","webpack://gatsby-starter-default/./node_modules/react-vertical-timeline-component/dist-es6/VerticalTimelineElement.js","webpack://gatsby-starter-default/./node_modules/react-vertical-timeline-component/dist-es6/index.js","webpack://gatsby-starter-default/./node_modules/toggle-selection/index.js","webpack://gatsby-starter-default/./src/components/banner/index.tsx","webpack://gatsby-starter-default/./node_modules/react-circular-progressbar/dist/index.esm.js","webpack://gatsby-starter-default/./src/components/countdown/index.tsx","webpack://gatsby-starter-default/./src/components/timeline/index.tsx","webpack://gatsby-starter-default/./src/components/prizeMoney/index.tsx","webpack://gatsby-starter-default/./src/components/dateBanner/index.tsx","webpack://gatsby-starter-default/./node_modules/@chakra-ui/hooks/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/aria-hidden/dist/es2015/index.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/constants.js","webpack://gatsby-starter-default/./node_modules/use-callback-ref/dist/es2015/useMergeRef.js","webpack://gatsby-starter-default/./node_modules/use-callback-ref/dist/es2015/useRef.js","webpack://gatsby-starter-default/./node_modules/use-callback-ref/dist/es2015/assignRef.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/FocusGuard.js","webpack://gatsby-starter-default/./node_modules/use-sidecar/dist/es2015/medium.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/medium.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/Lock.js","webpack://gatsby-starter-default/./node_modules/react-clientside-effect/lib/index.es.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/array.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/is.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/tabOrder.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/tabUtils.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/tabbables.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/DOMutils.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/getActiveElement.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/all-affected.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/focusInside.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/correctFocus.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/firstFocus.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/solver.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/auto-focus.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/utils/parenting.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/focusMerge.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/setFocus.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/index.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/focusables.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/util.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/Trap.js","webpack://gatsby-starter-default/./node_modules/focus-lock/dist/es2015/focusIsHidden.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/Combination.js","webpack://gatsby-starter-default/./node_modules/react-focus-lock/dist/es2015/index.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/dom-utils/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/focus-lock/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll-bar/dist/es2015/constants.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/medium.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/UI.js","webpack://gatsby-starter-default/./node_modules/use-sidecar/dist/es2015/exports.js","webpack://gatsby-starter-default/./node_modules/get-nonce/dist/es2015/index.js","webpack://gatsby-starter-default/./node_modules/react-style-singleton/dist/es2015/singleton.js","webpack://gatsby-starter-default/./node_modules/react-style-singleton/dist/es2015/component.js","webpack://gatsby-starter-default/./node_modules/react-style-singleton/dist/es2015/hook.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll-bar/dist/es2015/utils.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll-bar/dist/es2015/component.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/handleScroll.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/SideEffect.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/sidecar.js","webpack://gatsby-starter-default/./node_modules/react-remove-scroll/dist/es2015/Combination.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/modal/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/breakpoint-utils/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/object-utils/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/react-children-utils/dist/index.esm.js","webpack://gatsby-starter-default/./node_modules/@chakra-ui/layout/dist/index.esm.js","webpack://gatsby-starter-default/./src/pages/index.tsx"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n\n/* global define */\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n var nativeCodeString = '[native code]';\n\n function classNames() {\n var classes = [];\n\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = typeof arg;\n\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n if (arg.length) {\n var inner = classNames.apply(null, arg);\n\n if (inner) {\n classes.push(inner);\n }\n }\n } else if (argType === 'object') {\n if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n classes.push(arg.toString());\n continue;\n }\n\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n }\n }\n\n return classes.join(' ');\n }\n\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();","\"use strict\";\n\nvar deselectCurrent = require(\"toggle-selection\");\n\nvar clipboardToIE11Formatting = {\n \"text/plain\": \"Text\",\n \"text/html\": \"Url\",\n \"default\": \"Text\"\n};\nvar defaultMessage = \"Copy to clipboard: #{key}, Enter\";\n\nfunction format(message) {\n var copyKey = (/mac os x/i.test(navigator.userAgent) ? \"⌘\" : \"Ctrl\") + \"+C\";\n return message.replace(/#{\\s*key\\s*}/g, copyKey);\n}\n\nfunction copy(text, options) {\n var debug,\n message,\n reselectPrevious,\n range,\n selection,\n mark,\n success = false;\n\n if (!options) {\n options = {};\n }\n\n debug = options.debug || false;\n\n try {\n reselectPrevious = deselectCurrent();\n range = document.createRange();\n selection = document.getSelection();\n mark = document.createElement(\"span\");\n mark.textContent = text; // reset user styles for span element\n\n mark.style.all = \"unset\"; // prevents scrolling to the end of the page\n\n mark.style.position = \"fixed\";\n mark.style.top = 0;\n mark.style.clip = \"rect(0, 0, 0, 0)\"; // used to preserve spaces and line breaks\n\n mark.style.whiteSpace = \"pre\"; // do not inherit user-select (it may be `none`)\n\n mark.style.webkitUserSelect = \"text\";\n mark.style.MozUserSelect = \"text\";\n mark.style.msUserSelect = \"text\";\n mark.style.userSelect = \"text\";\n mark.addEventListener(\"copy\", function (e) {\n e.stopPropagation();\n\n if (options.format) {\n e.preventDefault();\n\n if (typeof e.clipboardData === \"undefined\") {\n // IE 11\n debug && console.warn(\"unable to use e.clipboardData\");\n debug && console.warn(\"trying IE specific stuff\");\n window.clipboardData.clearData();\n var format = clipboardToIE11Formatting[options.format] || clipboardToIE11Formatting[\"default\"];\n window.clipboardData.setData(format, text);\n } else {\n // all other browsers\n e.clipboardData.clearData();\n e.clipboardData.setData(options.format, text);\n }\n }\n\n if (options.onCopy) {\n e.preventDefault();\n options.onCopy(e.clipboardData);\n }\n });\n document.body.appendChild(mark);\n range.selectNodeContents(mark);\n selection.addRange(range);\n var successful = document.execCommand(\"copy\");\n\n if (!successful) {\n throw new Error(\"copy command was unsuccessful\");\n }\n\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using execCommand: \", err);\n debug && console.warn(\"trying IE specific stuff\");\n\n try {\n window.clipboardData.setData(options.format || \"text\", text);\n options.onCopy && options.onCopy(window.clipboardData);\n success = true;\n } catch (err) {\n debug && console.error(\"unable to copy using clipboardData: \", err);\n debug && console.error(\"falling back to prompt\");\n message = format(\"message\" in options ? options.message : defaultMessage);\n window.prompt(message, text);\n }\n } finally {\n if (selection) {\n if (typeof selection.removeRange == \"function\") {\n selection.removeRange(range);\n } else {\n selection.removeAllRanges();\n }\n }\n\n if (mark) {\n document.body.removeChild(mark);\n }\n\n reselectPrevious();\n }\n\n return success;\n}\n\nmodule.exports = copy;","import * as React from 'react';\nimport { useEffect } from 'react';\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n\n _setPrototypeOf(subClass, superClass);\n}\n\nfunction _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n\n return _setPrototypeOf(o, p);\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nvar observerMap = new Map();\nvar RootIds = new WeakMap();\nvar rootId = 0;\nvar unsupportedValue = undefined;\n/**\r\n * What should be the default behavior if the IntersectionObserver is unsupported?\r\n * Ideally the polyfill has been loaded, you can have the following happen:\r\n * - `undefined`: Throw an error\r\n * - `true` or `false`: Set the `inView` value to this regardless of intersection state\r\n * **/\n\nfunction defaultFallbackInView(inView) {\n unsupportedValue = inView;\n}\n/**\r\n * Generate a unique ID for the root element\r\n * @param root\r\n */\n\n\nfunction getRootId(root) {\n if (!root) return '0';\n if (RootIds.has(root)) return RootIds.get(root);\n rootId += 1;\n RootIds.set(root, rootId.toString());\n return RootIds.get(root);\n}\n/**\r\n * Convert the options to a string Id, based on the values.\r\n * Ensures we can reuse the same observer when observing elements with the same options.\r\n * @param options\r\n */\n\n\nfunction optionsToId(options) {\n return Object.keys(options).sort().filter(function (key) {\n return options[key] !== undefined;\n }).map(function (key) {\n return key + \"_\" + (key === 'root' ? getRootId(options.root) : options[key]);\n }).toString();\n}\n\nfunction createObserver(options) {\n // Create a unique ID for this observer instance, based on the root, root margin and threshold.\n var id = optionsToId(options);\n var instance = observerMap.get(id);\n\n if (!instance) {\n // Create a map of elements this observer is going to observe. Each element has a list of callbacks that should be triggered, once it comes into view.\n var elements = new Map();\n var thresholds;\n var observer = new IntersectionObserver(function (entries) {\n entries.forEach(function (entry) {\n var _elements$get; // While it would be nice if you could just look at isIntersecting to determine if the component is inside the viewport, browsers can't agree on how to use it.\n // -Firefox ignores `threshold` when considering `isIntersecting`, so it will never be false again if `threshold` is > 0\n\n\n var inView = entry.isIntersecting && thresholds.some(function (threshold) {\n return entry.intersectionRatio >= threshold;\n }); // @ts-ignore support IntersectionObserver v2\n\n if (options.trackVisibility && typeof entry.isVisible === 'undefined') {\n // The browser doesn't support Intersection Observer v2, falling back to v1 behavior.\n // @ts-ignore\n entry.isVisible = inView;\n }\n\n (_elements$get = elements.get(entry.target)) == null ? void 0 : _elements$get.forEach(function (callback) {\n callback(inView, entry);\n });\n });\n }, options); // Ensure we have a valid thresholds array. If not, use the threshold from the options\n\n thresholds = observer.thresholds || (Array.isArray(options.threshold) ? options.threshold : [options.threshold || 0]);\n instance = {\n id: id,\n observer: observer,\n elements: elements\n };\n observerMap.set(id, instance);\n }\n\n return instance;\n}\n/**\r\n * @param element - DOM Element to observe\r\n * @param callback - Callback function to trigger when intersection status changes\r\n * @param options - Intersection Observer options\r\n * @param fallbackInView - Fallback inView value.\r\n * @return Function - Cleanup function that should be triggered to unregister the observer\r\n */\n\n\nfunction observe(element, callback, options, fallbackInView) {\n if (options === void 0) {\n options = {};\n }\n\n if (fallbackInView === void 0) {\n fallbackInView = unsupportedValue;\n }\n\n if (typeof window.IntersectionObserver === 'undefined' && fallbackInView !== undefined) {\n var bounds = element.getBoundingClientRect();\n callback(fallbackInView, {\n isIntersecting: fallbackInView,\n target: element,\n intersectionRatio: typeof options.threshold === 'number' ? options.threshold : 0,\n time: 0,\n boundingClientRect: bounds,\n intersectionRect: bounds,\n rootBounds: bounds\n });\n return function () {// Nothing to cleanup\n };\n } // An observer with the same options can be reused, so lets use this fact\n\n\n var _createObserver = createObserver(options),\n id = _createObserver.id,\n observer = _createObserver.observer,\n elements = _createObserver.elements; // Register the callback listener for this element\n\n\n var callbacks = elements.get(element) || [];\n\n if (!elements.has(element)) {\n elements.set(element, callbacks);\n }\n\n callbacks.push(callback);\n observer.observe(element);\n return function unobserve() {\n // Remove the callback from the callback list\n callbacks.splice(callbacks.indexOf(callback), 1);\n\n if (callbacks.length === 0) {\n // No more callback exists for element, so destroy it\n elements[\"delete\"](element);\n observer.unobserve(element);\n }\n\n if (elements.size === 0) {\n // No more elements are being observer by this instance, so destroy it\n observer.disconnect();\n observerMap[\"delete\"](id);\n }\n };\n}\n\nvar _excluded = [\"children\", \"as\", \"triggerOnce\", \"threshold\", \"root\", \"rootMargin\", \"onChange\", \"skip\", \"trackVisibility\", \"delay\", \"initialInView\", \"fallbackInView\"];\n\nfunction isPlainChildren(props) {\n return typeof props.children !== 'function';\n}\n/**\r\n ## Render props\r\n\n To use the `<InView>` component, you pass it a function. It will be called\r\n whenever the state changes, with the new value of `inView`. In addition to the\r\n `inView` prop, children also receive a `ref` that should be set on the\r\n containing DOM element. This is the element that the IntersectionObserver will\r\n monitor.\r\n\n If you need it, you can also access the\r\n [`IntersectionObserverEntry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry)\r\n on `entry`, giving you access to all the details about the current intersection\r\n state.\r\n\n ```jsx\r\n import { InView } from 'react-intersection-observer';\r\n\n const Component = () => (\r\n <InView>\r\n {({ inView, ref, entry }) => (\r\n <div ref={ref}>\r\n <h2>{`Header inside viewport ${inView}.`}</h2>\r\n </div>\r\n )}\r\n </InView>\r\n );\r\n\n export default Component;\r\n ```\r\n\n ## Plain children\r\n\n You can pass any element to the `<InView />`, and it will handle creating the\r\n wrapping DOM element. Add a handler to the `onChange` method, and control the\r\n state in your own component. Any extra props you add to `<InView>` will be\r\n passed to the HTML element, allowing you set the `className`, `style`, etc.\r\n\n ```jsx\r\n import { InView } from 'react-intersection-observer';\r\n\n const Component = () => (\r\n <InView as=\"div\" onChange={(inView, entry) => console.log('Inview:', inView)}>\r\n <h2>Plain children are always rendered. Use onChange to monitor state.</h2>\r\n </InView>\r\n );\r\n\n export default Component;\r\n ```\r\n */\n\n\nvar InView = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(InView, _React$Component);\n\n function InView(props) {\n var _this;\n\n _this = _React$Component.call(this, props) || this;\n _this.node = null;\n _this._unobserveCb = null;\n\n _this.handleNode = function (node) {\n if (_this.node) {\n // Clear the old observer, before we start observing a new element\n _this.unobserve();\n\n if (!node && !_this.props.triggerOnce && !_this.props.skip) {\n // Reset the state if we get a new node, and we aren't ignoring updates\n _this.setState({\n inView: !!_this.props.initialInView,\n entry: undefined\n });\n }\n }\n\n _this.node = node ? node : null;\n\n _this.observeNode();\n };\n\n _this.handleChange = function (inView, entry) {\n if (inView && _this.props.triggerOnce) {\n // If `triggerOnce` is true, we should stop observing the element.\n _this.unobserve();\n }\n\n if (!isPlainChildren(_this.props)) {\n // Store the current State, so we can pass it to the children in the next render update\n // There's no reason to update the state for plain children, since it's not used in the rendering.\n _this.setState({\n inView: inView,\n entry: entry\n });\n }\n\n if (_this.props.onChange) {\n // If the user is actively listening for onChange, always trigger it\n _this.props.onChange(inView, entry);\n }\n };\n\n _this.state = {\n inView: !!props.initialInView,\n entry: undefined\n };\n return _this;\n }\n\n var _proto = InView.prototype;\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n // If a IntersectionObserver option changed, reinit the observer\n if (prevProps.rootMargin !== this.props.rootMargin || prevProps.root !== this.props.root || prevProps.threshold !== this.props.threshold || prevProps.skip !== this.props.skip || prevProps.trackVisibility !== this.props.trackVisibility || prevProps.delay !== this.props.delay) {\n this.unobserve();\n this.observeNode();\n }\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.unobserve();\n this.node = null;\n };\n\n _proto.observeNode = function observeNode() {\n if (!this.node || this.props.skip) return;\n var _this$props = this.props,\n threshold = _this$props.threshold,\n root = _this$props.root,\n rootMargin = _this$props.rootMargin,\n trackVisibility = _this$props.trackVisibility,\n delay = _this$props.delay,\n fallbackInView = _this$props.fallbackInView;\n this._unobserveCb = observe(this.node, this.handleChange, {\n threshold: threshold,\n root: root,\n rootMargin: rootMargin,\n // @ts-ignore\n trackVisibility: trackVisibility,\n // @ts-ignore\n delay: delay\n }, fallbackInView);\n };\n\n _proto.unobserve = function unobserve() {\n if (this._unobserveCb) {\n this._unobserveCb();\n\n this._unobserveCb = null;\n }\n };\n\n _proto.render = function render() {\n if (!isPlainChildren(this.props)) {\n var _this$state = this.state,\n inView = _this$state.inView,\n entry = _this$state.entry;\n return this.props.children({\n inView: inView,\n entry: entry,\n ref: this.handleNode\n });\n }\n\n var _this$props2 = this.props,\n children = _this$props2.children,\n as = _this$props2.as,\n props = _objectWithoutPropertiesLoose(_this$props2, _excluded);\n\n return /*#__PURE__*/React.createElement(as || 'div', _extends({\n ref: this.handleNode\n }, props), children);\n };\n\n return InView;\n}(React.Component);\n\nInView.displayName = 'InView';\nInView.defaultProps = {\n threshold: 0,\n triggerOnce: false,\n initialInView: false\n};\n/**\r\n * React Hooks make it easy to monitor the `inView` state of your components. Call\r\n * the `useInView` hook with the (optional) [options](#options) you need. It will\r\n * return an array containing a `ref`, the `inView` status and the current\r\n * [`entry`](https://developer.mozilla.org/en-US/docs/Web/API/IntersectionObserverEntry).\r\n * Assign the `ref` to the DOM element you want to monitor, and the hook will\r\n * report the status.\r\n *\r\n * @example\r\n * ```jsx\r\n * import React from 'react';\r\n * import { useInView } from 'react-intersection-observer';\r\n *\r\n * const Component = () => {\r\n * const { ref, inView, entry } = useInView({\r\n * threshold: 0,\r\n * });\r\n *\r\n * return (\r\n * <div ref={ref}>\r\n * <h2>{`Header inside viewport ${inView}.`}</h2>\r\n * </div>\r\n * );\r\n * };\r\n * ```\r\n */\n\nfunction useInView(_temp) {\n var _ref = _temp === void 0 ? {} : _temp,\n threshold = _ref.threshold,\n delay = _ref.delay,\n trackVisibility = _ref.trackVisibility,\n rootMargin = _ref.rootMargin,\n root = _ref.root,\n triggerOnce = _ref.triggerOnce,\n skip = _ref.skip,\n initialInView = _ref.initialInView,\n fallbackInView = _ref.fallbackInView;\n\n var unobserve = React.useRef();\n\n var _React$useState = React.useState({\n inView: !!initialInView\n }),\n state = _React$useState[0],\n setState = _React$useState[1];\n\n var setRef = React.useCallback(function (node) {\n if (unobserve.current !== undefined) {\n unobserve.current();\n unobserve.current = undefined;\n } // Skip creating the observer\n\n\n if (skip) return;\n\n if (node) {\n unobserve.current = observe(node, function (inView, entry) {\n setState({\n inView: inView,\n entry: entry\n });\n\n if (entry.isIntersecting && triggerOnce && unobserve.current) {\n // If it should only trigger once, unobserve the element after it's inView\n unobserve.current();\n unobserve.current = undefined;\n }\n }, {\n root: root,\n rootMargin: rootMargin,\n threshold: threshold,\n // @ts-ignore\n trackVisibility: trackVisibility,\n // @ts-ignore\n delay: delay\n }, fallbackInView);\n }\n }, // We break the rule here, because we aren't including the actual `threshold` variable\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [// If the threshold is an array, convert it to a string so it won't change between renders.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n Array.isArray(threshold) ? threshold.toString() : threshold, root, rootMargin, triggerOnce, skip, trackVisibility, fallbackInView, delay]);\n /* eslint-disable-next-line */\n\n useEffect(function () {\n if (!unobserve.current && state.entry && !triggerOnce && !skip) {\n // If we don't have a ref, then reset the state (unless the hook is set to only `triggerOnce` or `skip`)\n // This ensures we correctly reflect the current state - If you aren't observing anything, then nothing is inView\n setState({\n inView: !!initialInView\n });\n }\n });\n var result = [setRef, state.inView, state.entry]; // Support object destructuring, by adding the specific values.\n\n result.ref = result[0];\n result.inView = result[1];\n result.entry = result[2];\n return result;\n}\n\nexport { InView, InView as default, defaultFallbackInView, observe, useInView };","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nvar VerticalTimeline = function VerticalTimeline(_ref) {\n var _ref$animate = _ref.animate,\n animate = _ref$animate === void 0 ? true : _ref$animate,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n _ref$layout = _ref.layout,\n layout = _ref$layout === void 0 ? '2-columns' : _ref$layout,\n _ref$lineColor = _ref.lineColor,\n lineColor = _ref$lineColor === void 0 ? '#FFF' : _ref$lineColor,\n children = _ref.children;\n\n if (typeof window === 'object') {\n document.documentElement.style.setProperty('--line-color', lineColor);\n }\n\n return /*#__PURE__*/_react.default.createElement(\"div\", {\n className: (0, _classnames.default)(className, 'vertical-timeline', {\n 'vertical-timeline--animate': animate,\n 'vertical-timeline--two-columns': layout === '2-columns',\n 'vertical-timeline--one-column-left': layout === '1-column' || layout === '1-column-left',\n 'vertical-timeline--one-column-right': layout === '1-column-right'\n })\n }, children);\n};\n\nVerticalTimeline.propTypes = {\n children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]).isRequired,\n className: _propTypes.default.string,\n animate: _propTypes.default.bool,\n layout: _propTypes.default.oneOf(['1-column-left', '1-column', '2-columns', '1-column-right']),\n lineColor: _propTypes.default.string\n};\nvar _default = VerticalTimeline;\nexports.default = _default;","\"use strict\";\n\nexports.__esModule = true;\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _classnames = _interopRequireDefault(require(\"classnames\"));\n\nvar _reactIntersectionObserver = require(\"react-intersection-observer\");\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nvar VerticalTimelineElement = function VerticalTimelineElement(_ref) {\n var _ref$children = _ref.children,\n children = _ref$children === void 0 ? '' : _ref$children,\n _ref$className = _ref.className,\n className = _ref$className === void 0 ? '' : _ref$className,\n _ref$contentArrowStyl = _ref.contentArrowStyle,\n contentArrowStyle = _ref$contentArrowStyl === void 0 ? null : _ref$contentArrowStyl,\n _ref$contentStyle = _ref.contentStyle,\n contentStyle = _ref$contentStyle === void 0 ? null : _ref$contentStyle,\n _ref$date = _ref.date,\n date = _ref$date === void 0 ? '' : _ref$date,\n _ref$dateClassName = _ref.dateClassName,\n dateClassName = _ref$dateClassName === void 0 ? '' : _ref$dateClassName,\n _ref$icon = _ref.icon,\n icon = _ref$icon === void 0 ? null : _ref$icon,\n _ref$iconClassName = _ref.iconClassName,\n iconClassName = _ref$iconClassName === void 0 ? '' : _ref$iconClassName,\n _ref$iconOnClick = _ref.iconOnClick,\n iconOnClick = _ref$iconOnClick === void 0 ? null : _ref$iconOnClick,\n _ref$onTimelineElemen = _ref.onTimelineElementClick,\n onTimelineElementClick = _ref$onTimelineElemen === void 0 ? null : _ref$onTimelineElemen,\n _ref$iconStyle = _ref.iconStyle,\n iconStyle = _ref$iconStyle === void 0 ? null : _ref$iconStyle,\n _ref$id = _ref.id,\n id = _ref$id === void 0 ? '' : _ref$id,\n _ref$position = _ref.position,\n position = _ref$position === void 0 ? '' : _ref$position,\n _ref$style = _ref.style,\n style = _ref$style === void 0 ? null : _ref$style,\n _ref$textClassName = _ref.textClassName,\n textClassName = _ref$textClassName === void 0 ? '' : _ref$textClassName,\n _ref$intersectionObse = _ref.intersectionObserverProps,\n intersectionObserverProps = _ref$intersectionObse === void 0 ? {\n rootMargin: '0px 0px -40px 0px',\n triggerOnce: true\n } : _ref$intersectionObse,\n _ref$visible = _ref.visible,\n visible = _ref$visible === void 0 ? false : _ref$visible;\n return /*#__PURE__*/_react.default.createElement(_reactIntersectionObserver.InView, intersectionObserverProps, function (_ref2) {\n var inView = _ref2.inView,\n ref = _ref2.ref;\n return /*#__PURE__*/_react.default.createElement(\"div\", {\n ref: ref,\n id: id,\n className: (0, _classnames.default)(className, 'vertical-timeline-element', {\n 'vertical-timeline-element--left': position === 'left',\n 'vertical-timeline-element--right': position === 'right',\n 'vertical-timeline-element--no-children': children === ''\n }),\n style: style\n }, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(\"span\", {\n // eslint-disable-line jsx-a11y/no-static-element-interactions\n style: iconStyle,\n onClick: iconOnClick,\n className: (0, _classnames.default)(iconClassName, 'vertical-timeline-element-icon', {\n 'bounce-in': inView || visible,\n 'is-hidden': !(inView || visible)\n })\n }, icon), /*#__PURE__*/_react.default.createElement(\"div\", {\n style: contentStyle,\n onClick: onTimelineElementClick,\n className: (0, _classnames.default)(textClassName, 'vertical-timeline-element-content', {\n 'bounce-in': inView || visible,\n 'is-hidden': !(inView || visible)\n })\n }, /*#__PURE__*/_react.default.createElement(\"div\", {\n style: contentArrowStyle,\n className: \"vertical-timeline-element-content-arrow\"\n }), children, /*#__PURE__*/_react.default.createElement(\"span\", {\n className: (0, _classnames.default)(dateClassName, 'vertical-timeline-element-date')\n }, date))));\n });\n};\n\nVerticalTimelineElement.propTypes = {\n children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]),\n className: _propTypes.default.string,\n contentArrowStyle: _propTypes.default.shape({}),\n contentStyle: _propTypes.default.shape({}),\n date: _propTypes.default.node,\n dateClassName: _propTypes.default.string,\n icon: _propTypes.default.element,\n iconClassName: _propTypes.default.string,\n iconStyle: _propTypes.default.shape({}),\n iconOnClick: _propTypes.default.func,\n onTimelineElementClick: _propTypes.default.func,\n id: _propTypes.default.string,\n position: _propTypes.default.string,\n style: _propTypes.default.shape({}),\n textClassName: _propTypes.default.string,\n visible: _propTypes.default.bool,\n intersectionObserverProps: _propTypes.default.shape({\n root: _propTypes.default.object,\n rootMargin: _propTypes.default.string,\n threshold: _propTypes.default.number,\n triggerOnce: _propTypes.default.bool\n })\n};\nvar _default = VerticalTimelineElement;\nexports.default = _default;","\"use strict\"; // this should be the entry point to your library\n\nmodule.exports = {\n VerticalTimeline: require('./VerticalTimeline').default,\n // eslint-disable-line global-require\n VerticalTimelineElement: require('./VerticalTimelineElement').default // eslint-disable-line global-require\n\n};","module.exports = function () {\n var selection = document.getSelection();\n\n if (!selection.rangeCount) {\n return function () {};\n }\n\n var active = document.activeElement;\n var ranges = [];\n\n for (var i = 0; i < selection.rangeCount; i++) {\n ranges.push(selection.getRangeAt(i));\n }\n\n switch (active.tagName.toUpperCase()) {\n // .toUpperCase handles XHTML\n case 'INPUT':\n case 'TEXTAREA':\n active.blur();\n break;\n\n default:\n active = null;\n break;\n }\n\n selection.removeAllRanges();\n return function () {\n selection.type === 'Caret' && selection.removeAllRanges();\n\n if (!selection.rangeCount) {\n ranges.forEach(function (range) {\n selection.addRange(range);\n });\n }\n\n active && active.focus();\n };\n};","import React from 'react';\nimport { themeObj } from '../../utils/customTheme';\nimport './styles.scss';\n\nconst Banner = () => {\n return (\n <div\n style={{\n background: themeObj.dark.palette.accent.main,\n display: 'flex',\n textAlign: 'center',\n justifyContent: 'center',\n width: '100%',\n height: 'auto',\n flexDirection: 'column',\n alignItems: 'center'\n }}\n >\n <div>\n <h1\n className=\"sponsorsText\"\n style={{ color: themeObj.dark.palette.primary.main }}\n >\n Sponsors\n </h1>\n </div>\n <div className=\"banner\">\n <img src=\"/images/sponsors/balsamic_logo.png\"></img>\n <img src=\"/images/sponsors/echoAR.png\"></img>\n </div>\n </div>\n );\n};\n\nexport default Banner;\n\n/* // <h1 style={{color: themeObj.dark.palette.primary.main, fontSize: \"64px\", padding: \"15vh\", letterSpacing: \"12px\"}}>$1000 in prizes</h1> */\n","import { createElement, Component } from 'react';\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\n\n/* global Reflect, Promise */\n\nvar _extendStatics = function extendStatics(d, b) {\n _extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) {\n if (b.hasOwnProperty(p)) d[p] = b[p];\n }\n };\n\n return _extendStatics(d, b);\n};\n\nfunction __extends(d, b) {\n _extendStatics(d, b);\n\n function __() {\n this.constructor = d;\n }\n\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nvar _assign = function __assign() {\n _assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n }\n\n return t;\n };\n\n return _assign.apply(this, arguments);\n};\n\nfunction __rest(s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0) t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nvar VIEWBOX_WIDTH = 100;\nvar VIEWBOX_HEIGHT = 100;\nvar VIEWBOX_HEIGHT_HALF = 50;\nvar VIEWBOX_CENTER_X = 50;\nvar VIEWBOX_CENTER_Y = 50;\n\nfunction Path(_a) {\n var className = _a.className,\n counterClockwise = _a.counterClockwise,\n dashRatio = _a.dashRatio,\n pathRadius = _a.pathRadius,\n strokeWidth = _a.strokeWidth,\n style = _a.style;\n return createElement(\"path\", {\n className: className,\n style: Object.assign({}, style, getDashStyle({\n pathRadius: pathRadius,\n dashRatio: dashRatio,\n counterClockwise: counterClockwise\n })),\n d: getPathDescription({\n pathRadius: pathRadius,\n counterClockwise: counterClockwise\n }),\n strokeWidth: strokeWidth,\n fillOpacity: 0\n });\n}\n\nfunction getPathDescription(_a) {\n var pathRadius = _a.pathRadius,\n counterClockwise = _a.counterClockwise;\n var radius = pathRadius;\n var rotation = counterClockwise ? 1 : 0;\n return \"\\n M \" + VIEWBOX_CENTER_X + \",\" + VIEWBOX_CENTER_Y + \"\\n m 0,-\" + radius + \"\\n a \" + radius + \",\" + radius + \" \" + rotation + \" 1 1 0,\" + 2 * radius + \"\\n a \" + radius + \",\" + radius + \" \" + rotation + \" 1 1 0,-\" + 2 * radius + \"\\n \";\n}\n\nfunction getDashStyle(_a) {\n var counterClockwise = _a.counterClockwise,\n dashRatio = _a.dashRatio,\n pathRadius = _a.pathRadius;\n var diameter = Math.PI * 2 * pathRadius;\n var gapLength = (1 - dashRatio) * diameter;\n return {\n strokeDasharray: diameter + \"px \" + diameter + \"px\",\n strokeDashoffset: (counterClockwise ? -gapLength : gapLength) + \"px\"\n };\n}\n\nvar CircularProgressbar = function (_super) {\n __extends(CircularProgressbar, _super);\n\n function CircularProgressbar() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n\n CircularProgressbar.prototype.getBackgroundPadding = function () {\n if (!this.props.background) {\n return 0;\n }\n\n return this.props.backgroundPadding;\n };\n\n CircularProgressbar.prototype.getPathRadius = function () {\n return VIEWBOX_HEIGHT_HALF - this.props.strokeWidth / 2 - this.getBackgroundPadding();\n };\n\n CircularProgressbar.prototype.getPathRatio = function () {\n var _a = this.props,\n value = _a.value,\n minValue = _a.minValue,\n maxValue = _a.maxValue;\n var boundedValue = Math.min(Math.max(value, minValue), maxValue);\n return (boundedValue - minValue) / (maxValue - minValue);\n };\n\n CircularProgressbar.prototype.render = function () {\n var _a = this.props,\n circleRatio = _a.circleRatio,\n className = _a.className,\n classes = _a.classes,\n counterClockwise = _a.counterClockwise,\n styles = _a.styles,\n strokeWidth = _a.strokeWidth,\n text = _a.text;\n var pathRadius = this.getPathRadius();\n var pathRatio = this.getPathRatio();\n return createElement(\"svg\", {\n className: classes.root + \" \" + className,\n style: styles.root,\n viewBox: \"0 0 \" + VIEWBOX_WIDTH + \" \" + VIEWBOX_HEIGHT,\n \"data-test-id\": \"CircularProgressbar\"\n }, this.props.background ? createElement(\"circle\", {\n className: classes.background,\n style: styles.background,\n cx: VIEWBOX_CENTER_X,\n cy: VIEWBOX_CENTER_Y,\n r: VIEWBOX_HEIGHT_HALF\n }) : null, createElement(Path, {\n className: classes.trail,\n counterClockwise: counterClockwise,\n dashRatio: circleRatio,\n pathRadius: pathRadius,\n strokeWidth: strokeWidth,\n style: styles.trail\n }), createElement(Path, {\n className: classes.path,\n counterClockwise: counterClockwise,\n dashRatio: pathRatio * circleRatio,\n pathRadius: pathRadius,\n strokeWidth: strokeWidth,\n style: styles.path\n }), text ? createElement(\"text\", {\n className: classes.text,\n style: styles.text,\n x: VIEWBOX_CENTER_X,\n y: VIEWBOX_CENTER_Y\n }, text) : null);\n };\n\n CircularProgressbar.defaultProps = {\n background: false,\n backgroundPadding: 0,\n circleRatio: 1,\n classes: {\n root: 'CircularProgressbar',\n trail: 'CircularProgressbar-trail',\n path: 'CircularProgressbar-path',\n text: 'CircularProgressbar-text',\n background: 'CircularProgressbar-background'\n },\n counterClockwise: false,\n className: '',\n maxValue: 100,\n minValue: 0,\n strokeWidth: 8,\n styles: {\n root: {},\n trail: {},\n path: {},\n text: {},\n background: {}\n },\n text: ''\n };\n return CircularProgressbar;\n}(Component);\n\nfunction CircularProgressbarWithChildren(props) {\n var children = props.children,\n circularProgressbarProps = __rest(props, [\"children\"]);\n\n return createElement(\"div\", {\n \"data-test-id\": \"CircularProgressbarWithChildren\"\n }, createElement(\"div\", {\n style: {\n position: 'relative',\n width: '100%',\n height: '100%'\n }\n }, createElement(CircularProgressbar, _assign({}, circularProgressbarProps)), props.children ? createElement(\"div\", {\n \"data-test-id\": \"CircularProgressbarWithChildren__children\",\n style: {\n position: 'absolute',\n width: '100%',\n height: '100%',\n marginTop: '-100%',\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'center',\n alignItems: 'center'\n }\n }, props.children) : null));\n}\n\nfunction buildStyles(_a) {\n var rotation = _a.rotation,\n strokeLinecap = _a.strokeLinecap,\n textColor = _a.textColor,\n textSize = _a.textSize,\n pathColor = _a.pathColor,\n pathTransition = _a.pathTransition,\n pathTransitionDuration = _a.pathTransitionDuration,\n trailColor = _a.trailColor,\n backgroundColor = _a.backgroundColor;\n var rotationTransform = rotation == null ? undefined : \"rotate(\" + rotation + \"turn)\";\n var rotationTransformOrigin = rotation == null ? undefined : 'center center';\n return {\n root: {},\n path: removeUndefinedValues({\n stroke: pathColor,\n strokeLinecap: strokeLinecap,\n transform: rotationTransform,\n transformOrigin: rotationTransformOrigin,\n transition: pathTransition,\n transitionDuration: pathTransitionDuration == null ? undefined : pathTransitionDuration + \"s\"\n }),\n trail: removeUndefinedValues({\n stroke: trailColor,\n strokeLinecap: strokeLinecap,\n transform: rotationTransform,\n transformOrigin: rotationTransformOrigin\n }),\n text: removeUndefinedValues({\n fill: textColor,\n fontSize: textSize\n }),\n background: removeUndefinedValues({\n fill: backgroundColor\n })\n };\n}\n\nfunction removeUndefinedValues(obj) {\n Object.keys(obj).forEach(function (key) {\n if (obj[key] == null) {\n delete obj[key];\n }\n });\n return obj;\n}\n\nexport { CircularProgressbar, CircularProgressbarWithChildren, buildStyles };","import React from 'react';\nimport './styles.scss';\nimport { themeObj } from '../../utils/customTheme';\nimport { useState, useEffect } from 'react';\nimport { CircularProgressbarWithChildren, buildStyles } from 'react-circular-progressbar';\nimport 'react-circular-progressbar/dist/styles.css';\n\n//TODO: COMMENTED OUT CODE IS OG CODE -- EDITS FOR OLD WEBSITE\ninterface timeProps {\n currentTime: Date;\n timeOfEvent: Date;\n}\n\nconst getTimeLeft = ({ currentTime, timeOfEvent }: timeProps) => {\n const timeDifferenceMinutes = (timeOfEvent.getTime() - currentTime.getTime()) / (1000 * 60); // divide by 1000 x 60 bc it's in milliseconds\n const daysLeft = Math.floor(timeDifferenceMinutes / (60 * 24)); // minutes in an hour x hours in a day\n const hoursLeft = Math.floor((timeDifferenceMinutes - daysLeft * 60 * 24) / 60);\n const minutesLeft = Math.ceil(timeDifferenceMinutes - daysLeft * 60 * 24 - hoursLeft * 60);\n\n return [daysLeft, hoursLeft, minutesLeft];\n};\n\ninterface eventDateProps {\n year: number;\n month: number;\n day: number;\n hour: number;\n}\n\nconst Countdown = ({ year, month, day, hour }: eventDateProps) => {\n const timeOfEvent = new Date(year, month, day, hour, 0, 0);\n\n const currentTime = new Date();\n const [timeLeft, setTimeLeft] = useState(getTimeLeft({ currentTime, timeOfEvent }));\n\n useEffect(() => {\n const interval = setInterval(() => {\n const currentTime = new Date();\n setTimeLeft(() => getTimeLeft({ currentTime, timeOfEvent }));\n }, 1000); // run the interval every 1000 milliseconds (1 second)\n return () => clearInterval(interval);\n }, []); // only run the effect once\n\n function getPercentage(current: number, maximum: number) {\n const percentage = 100 - Math.round(100 * (current / maximum));\n return percentage;\n }\n\n const hoursPercentage = getPercentage(timeLeft[1], 24);\n const dayPercentage = getPercentage(timeLeft[0], 30.5);\n const minutesPercentage = getPercentage(timeLeft[2], 60);\n\n const circularProgressStyles = buildStyles({\n // Rotation of path and trail, in number of turns (0-1)\n rotation: 0.5,\n // Whether to use rounded or flat corners on the ends - can use 'butt' or 'round'\n strokeLinecap: 'butt',\n // Text size\n textSize: '16px',\n // Colors\n pathColor: themeObj.dark.palette.primary.main,\n textColor: themeObj.dark.palette.secondary.main,\n trailColor: themeObj.dark.palette.accent.main\n });\n\n return (\n <>\n <div\n style={{\n paddingTop: '10vh',\n background: themeObj.dark.palette.primary.main,\n color: themeObj.dark.palette.secondary.main,\n margin: 0\n }}\n >\n <div className=\"progressBars\">\n {/* display: \"grid\", gridTemplateColumns: \"repeat(3, 1fr)\" */}\n <CircularProgressbarWithChildren\n // value={dayPercentage}\n value={0}\n className=\"progressCircle\"\n styles={circularProgressStyles}\n >\n {/* <div className=\"circleBigText\">{timeLeft[0]}</div> */}\n <div className=\"circleBigText\">0</div>\n <div>Days</div>\n </CircularProgressbarWithChildren>\n <CircularProgressbarWithChildren\n // value={hoursPercentage}\n value={0}\n className=\"progressCircle\"\n styles={circularProgressStyles}\n >\n {/* <div className=\"circleBigText\">{timeLeft[1]}</div> */}\n <div className=\"circleBigText\">0</div>\n {/* used to be 128px */}\n <div>Hours</div>\n </CircularProgressbarWithChildren>\n <CircularProgressbarWithChildren\n // value={minutesPercentage}\n value={0}\n className=\"progressCircle\"\n styles={circularProgressStyles}\n >\n {/* <div className=\"circleBigText\">{timeLeft[2]}</div> */}\n <div className=\"circleBigText\">0</div>\n <div>Minutes</div>\n </CircularProgressbarWithChildren>\n </div>\n {/* {timeLeft[0]} days {timeLeft[1]} hours {timeLeft[2]} minutes remaining */}\n </div>\n </>\n );\n};\n\nexport default Countdown;\n","import React from 'react';\nimport { themeObj } from '../../utils/customTheme';\nimport './layout.scss';\n\nimport { VerticalTimeline, VerticalTimelineElement } from 'react-vertical-timeline-component';\nimport 'react-vertical-timeline-component/style.min.css';\n\ninterface EventInfo {\n name: string;\n description: string;\n time: string;\n descriptionLinked?: boolean;\n descriptionLink?: string;\n}\n\ninterface TimelineProps {\n eventInfo: EventInfo[];\n}\n\nconst Timeline = ({ eventInfo }: TimelineProps) => {\n return (\n <>\n <VerticalTimeline lineColor={themeObj.dark.palette.accent.main}>\n {eventInfo.map((event, index) => {\n return (\n <VerticalTimelineElement\n key={index}\n className=\"vertical-timeline-element--work\"\n contentStyle={{\n background: themeObj.dark.palette.primary.main,\n color: themeObj.dark.palette.secondary.secondary,\n boxShadow: 'none',\n outline: '2px solid'\n }}\n contentArrowStyle={{\n borderRight: '8px solid',\n color: themeObj.dark.palette.secondary.secondary\n }}\n date={event.time}\n iconStyle={{\n background: themeObj.dark.palette.primary.main,\n color: themeObj.dark.palette.accent.main,\n boxShadow: 'none',\n border: '4px solid'\n }}\n dateClassName=\"test\"\n textClassName=\"t2\"\n >\n <h1\n className=\"vertical-timeline-element-title\"\n style={{ color: themeObj.dark.palette.secondary.main, fontSize: '24px' }}\n >\n {event.name}\n </h1>\n {\n event.descriptionLinked ? (\n <h2\n className=\"vertical-timeline-element-subtitle\"\n style={{ color: themeObj.dark.palette.secondary.main, fontSize: '18px' }}\n >\n <u>\n <a href={event.descriptionLink} target='_blank'>{event.description}</a>\n </u>\n </h2>\n ) : (\n <h2\n className=\"vertical-timeline-element-subtitle\"\n style={{ color: themeObj.dark.palette.secondary.main, fontSize: '18px' }}\n >\n {event.description}\n </h2>\n )\n }\n </VerticalTimelineElement>\n );\n })}\n </VerticalTimeline>\n </>\n );\n};\n\nexport default Timeline;\n","import React from 'react';\nimport { themeObj } from '../../utils/customTheme';\nimport './styles.scss';\n\nconst PrizeMoney = () => {\n return (\n <div\n style={{\n background: themeObj.dark.palette.accent.main,\n display: 'flex',\n textAlign: 'center',\n justifyContent: 'center',\n width: '100%'\n }}\n >\n <h1\n className=\"prizeMoney\"\n style={{ color: themeObj.dark.palette.primary.main }}\n >\n $1000 in prizes\n </h1>\n </div>\n );\n};\n\nexport default PrizeMoney;\n","import React from 'react';\nimport { themeObj } from '../../utils/customTheme';\nimport './styles.scss';\n\nconst DateBanner = () => {\n return (\n <div\n style={{\n background: themeObj.dark.palette.accent.main,\n display: 'flex',\n textAlign: 'center',\n justifyContent: 'center',\n width: '100%',\n marginTop: '15vh',\n }}\n >\n <h1\n className=\"dateBanner\"\n style={{ color: themeObj.dark.palette.primary.main }}\n >\n Join us virtually on June 17th!\n </h1>\n </div>\n );\n};\n\nexport default DateBanner;\n","import _toConsumableArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\nimport _defineProperty from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _objectWithoutProperties from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nimport _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nvar _excluded = [\"timeout\"];\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n// src/use-animation-state.ts\nimport { getOwnerWindow } from \"@chakra-ui/utils\";\nimport { useEffect as useEffect3, useState } from \"react\"; // src/use-event-listener.ts\n\nimport { runIfFn } from \"@chakra-ui/utils\";\nimport { useEffect as useEffect2 } from \"react\"; // src/use-callback-ref.ts\n\nimport { useCallback, useRef } from \"react\"; // src/use-safe-layout-effect.ts\n\nimport { isBrowser } from \"@chakra-ui/utils\";\nimport { useEffect, useLayoutEffect } from \"react\";\nvar useSafeLayoutEffect = isBrowser ? useLayoutEffect : useEffect; // src/use-callback-ref.ts\n\nfunction useCallbackRef(fn) {\n var deps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var ref = useRef(fn);\n useSafeLayoutEffect(function () {\n ref.current = fn;\n });\n return useCallback(function () {\n var _a2;\n\n var _a;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (_a = ref.current) == null ? void 0 : (_a2 = _a).call.apply(_a2, [ref].concat(args));\n }, deps);\n} // src/use-event-listener.ts\n\n\nfunction useEventListener(event, handler, env, options) {\n var listener = useCallbackRef(handler);\n useEffect2(function () {\n var _runIfFn;\n\n var node = (_runIfFn = runIfFn(env)) !== null && _runIfFn !== void 0 ? _runIfFn : document;\n\n if (!handler) {\n return;\n }\n\n node.addEventListener(event, listener, options);\n return function () {\n node.removeEventListener(event, listener, options);\n };\n }, [event, env, options, listener, handler]);\n return function () {\n var _runIfFn2;\n\n var node = (_runIfFn2 = runIfFn(env)) !== null && _runIfFn2 !== void 0 ? _runIfFn2 : document;\n node.removeEventListener(event, listener, options);\n };\n} // src/use-animation-state.ts\n\n\nfunction useAnimationState(props) {\n var isOpen = props.isOpen,\n ref = props.ref;\n\n var _useState = useState(isOpen),\n _useState2 = _slicedToArray(_useState, 2),\n mounted = _useState2[0],\n setMounted = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n once = _useState4[0],\n setOnce = _useState4[1];\n\n useEffect3(function () {\n if (!once) {\n setMounted(isOpen);\n setOnce(true);\n }\n }, [isOpen, once, mounted]);\n useEventListener(\"animationend\", function () {\n setMounted(isOpen);\n }, function () {\n return ref.current;\n });\n var hidden = isOpen ? false : !mounted;\n return {\n present: !hidden,\n onComplete: function onComplete() {\n var _a;\n\n var win = getOwnerWindow(ref.current);\n var evt = new win.CustomEvent(\"animationend\", {\n bubbles: true\n });\n (_a = ref.current) == null ? void 0 : _a.dispatchEvent(evt);\n }\n };\n} // src/use-boolean.ts\n\n\nimport { useMemo, useState as useState2 } from \"react\";\n\nfunction useBoolean() {\n var initialState = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n var _useState5 = useState2(initialState),\n _useState6 = _slicedToArray(_useState5, 2),\n value = _useState6[0],\n setValue = _useState6[1];\n\n var callbacks = useMemo(function () {\n return {\n on: function on() {\n return setValue(true);\n },\n off: function off() {\n return setValue(false);\n },\n toggle: function toggle() {\n return setValue(function (prev) {\n return !prev;\n });\n }\n };\n }, []);\n return [value, callbacks];\n} // src/use-clipboard.ts\n\n\nimport { useState as useState3, useCallback as useCallback2, useEffect as useEffect4 } from \"react\";\nimport copy from \"copy-to-clipboard\";\n\nfunction useClipboard(initialValue) {\n var optionsOrTimeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var _useState7 = useState3(false),\n _useState8 = _slicedToArray(_useState7, 2),\n hasCopied = _useState8[0],\n setHasCopied = _useState8[1];\n\n var _useState9 = useState3(initialValue),\n _useState10 = _slicedToArray(_useState9, 2),\n value = _useState10[0],\n setValue = _useState10[1];\n\n var _ref = typeof optionsOrTimeout === \"number\" ? {\n timeout: optionsOrTimeout\n } : optionsOrTimeout,\n _ref$timeout = _ref.timeout,\n timeout = _ref$timeout === void 0 ? 1500 : _ref$timeout,\n copyOptions = _objectWithoutProperties(_ref, _excluded);\n\n var onCopy = useCallback2(function () {\n var didCopy = copy(value, copyOptions);\n setHasCopied(didCopy);\n }, [value, copyOptions]);\n useEffect4(function () {\n var timeoutId = null;\n\n if (hasCopied) {\n timeoutId = window.setTimeout(function () {\n setHasCopied(false);\n }, timeout);\n }\n\n return function () {\n if (timeoutId) {\n window.clearTimeout(timeoutId);\n }\n };\n }, [timeout, hasCopied]);\n return {\n value: value,\n setValue: setValue,\n onCopy: onCopy,\n hasCopied: hasCopied\n };\n} // src/use-const.ts\n\n\nimport { useRef as useRef2 } from \"react\";\n\nfunction useConst(init) {\n var ref = useRef2(null);\n\n if (ref.current === null) {\n ref.current = typeof init === \"function\" ? init() : init;\n }\n\n return ref.current;\n} // src/use-controllable.ts\n\n\nimport { runIfFn as runIfFn2 } from \"@chakra-ui/utils\";\nimport { useCallback as useCallback3, useState as useState4 } from \"react\";\n\nfunction useControllableProp(prop, state) {\n var isControlled = prop !== void 0;\n var value = isControlled && typeof prop !== \"undefined\" ? prop : state;\n return [isControlled, value];\n}\n\nfunction useControllableState(props) {\n var valueProp = props.value,\n defaultValue = props.defaultValue,\n onChange = props.onChange,\n _props$shouldUpdate = props.shouldUpdate,\n shouldUpdate = _props$shouldUpdate === void 0 ? function (prev, next) {\n return prev !== next;\n } : _props$shouldUpdate;\n var onChangeProp = useCallbackRef(onChange);\n var shouldUpdateProp = useCallbackRef(shouldUpdate);\n\n var _useState11 = useState4(defaultValue),\n _useState12 = _slicedToArray(_useState11, 2),\n valueState = _useState12[0],\n setValue = _useState12[1];\n\n var isControlled = valueProp !== void 0;\n var value = isControlled ? valueProp : valueState;\n var updateValue = useCallback3(function (next) {\n var nextValue = runIfFn2(next, value);\n\n if (!shouldUpdateProp(value, nextValue)) {\n return;\n }\n\n if (!isControlled) {\n setValue(nextValue);\n }\n\n onChangeProp(nextValue);\n }, [isControlled, onChangeProp, value, shouldUpdateProp]);\n return [value, updateValue];\n} // src/use-dimensions.ts\n\n\nimport { getBox } from \"@chakra-ui/utils\";\nimport { useRef as useRef3, useState as useState5 } from \"react\";\n\nfunction useDimensions(ref, observe) {\n var _useState13 = useState5(null),\n _useState14 = _slicedToArray(_useState13, 2),\n dimensions = _useState14[0],\n setDimensions = _useState14[1];\n\n var rafId = useRef3();\n useSafeLayoutEffect(function () {\n if (!ref.current) return void 0;\n var node = ref.current;\n\n function measure() {\n rafId.current = requestAnimationFrame(function () {\n var boxModel = getBox(node);\n setDimensions(boxModel);\n });\n }\n\n measure();\n\n if (observe) {\n window.addEventListener(\"resize\", measure);\n window.addEventListener(\"scroll\", measure);\n }\n\n return function () {\n if (observe) {\n window.removeEventListener(\"resize\", measure);\n window.removeEventListener(\"scroll\", measure);\n }\n\n if (rafId.current) {\n cancelAnimationFrame(rafId.current);\n }\n };\n }, [observe]);\n return dimensions;\n} // src/use-disclosure.ts\n\n\nimport { callAllHandlers } from \"@chakra-ui/utils\"; // src/use-id.ts\n\nimport { useCallback as useCallback4, useId as useReactId, useMemo as useMemo2, useState as useState6 } from \"react\";\n\nfunction useId(idProp, prefix) {\n var id = useReactId();\n return useMemo2(function () {\n return idProp || [prefix, id].filter(Boolean).join(\"-\");\n }, [idProp, prefix, id]);\n}\n\nfunction useIds(idProp) {\n for (var _len2 = arguments.length, prefixes = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n prefixes[_key2 - 1] = arguments[_key2];\n }\n\n var id = useId(idProp);\n return useMemo2(function () {\n return prefixes.map(function (prefix) {\n return \"\".concat(prefix, \"-\").concat(id);\n });\n }, [id, prefixes]);\n}\n\nfunction useOptionalPart(partId) {\n var _useState15 = useState6(null),\n _useState16 = _slicedToArray(_useState15, 2),\n id = _useState16[0],\n setId = _useState16[1];\n\n var ref = useCallback4(function (node) {\n setId(node ? partId : null);\n }, [partId]);\n return {\n ref: ref,\n id: id,\n isRendered: Boolean(id)\n };\n} // src/use-disclosure.ts\n\n\nimport { useCallback as useCallback5, useState as useState7 } from \"react\";\n\nfunction useDisclosure() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var onCloseProp = props.onClose,\n onOpenProp = props.onOpen,\n isOpenProp = props.isOpen,\n idProp = props.id;\n var onOpenPropCallbackRef = useCallbackRef(onOpenProp);\n var onClosePropCallbackRef = useCallbackRef(onCloseProp);\n\n var _useState17 = useState7(props.defaultIsOpen || false),\n _useState18 = _slicedToArray(_useState17, 2),\n isOpenState = _useState18[0],\n setIsOpen = _useState18[1];\n\n var _useControllableProp = useControllableProp(isOpenProp, isOpenState),\n _useControllableProp2 = _slicedToArray(_useControllableProp, 2),\n isControlled = _useControllableProp2[0],\n isOpen = _useControllableProp2[1];\n\n var id = useId(idProp, \"disclosure\");\n var onClose = useCallback5(function () {\n if (!isControlled) {\n setIsOpen(false);\n }\n\n onClosePropCallbackRef == null ? void 0 : onClosePropCallbackRef();\n }, [isControlled, onClosePropCallbackRef]);\n var onOpen = useCallback5(function () {\n if (!isControlled) {\n setIsOpen(true);\n }\n\n onOpenPropCallbackRef == null ? void 0 : onOpenPropCallbackRef();\n }, [isControlled, onOpenPropCallbackRef]);\n var onToggle = useCallback5(function () {\n var action = isOpen ? onClose : onOpen;\n action();\n }, [isOpen, onOpen, onClose]);\n return {\n isOpen: !!isOpen,\n onOpen: onOpen,\n onClose: onClose,\n onToggle: onToggle,\n isControlled: isControlled,\n getButtonProps: function getButtonProps() {\n var props2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return _objectSpread(_objectSpread({}, props2), {}, {\n \"aria-expanded\": isOpen,\n \"aria-controls\": id,\n onClick: callAllHandlers(props2.onClick, onToggle)\n });\n },\n getDisclosureProps: function getDisclosureProps() {\n var props2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n return _objectSpread(_objectSpread({}, props2), {}, {\n hidden: !isOpen,\n id: id\n });\n }\n };\n} // src/use-event-listener-map.ts\n\n\nimport { getPointerEventName, wrapPointerEventHandler } from \"@chakra-ui/utils\";\nimport { useCallback as useCallback6, useEffect as useEffect5, useRef as useRef4 } from \"react\";\n\nfunction useEventListenerMap() {\n var listeners = useRef4( /* @__PURE__ */new Map());\n var currentListeners = listeners.current;\n var add = useCallback6(function (el, type, listener, options) {\n var pointerEventListener = wrapPointerEventHandler(listener, type === \"pointerdown\");\n listeners.current.set(listener, {\n __listener: pointerEventListener,\n type: getPointerEventName(type),\n el: el,\n options: options\n });\n el.addEventListener(type, pointerEventListener, options);\n }, []);\n var remove = useCallback6(function (el, type, listener, options) {\n var _listeners$current$ge = listeners.current.get(listener),\n pointerEventListener = _listeners$current$ge.__listener;\n\n el.removeEventListener(type, pointerEventListener, options);\n listeners.current.delete(pointerEventListener);\n }, []);\n useEffect5(function () {\n return function () {\n currentListeners.forEach(function (value, key) {\n remove(value.el, value.type, key, value.options);\n });\n };\n }, [remove, currentListeners]);\n return {\n add: add,\n remove: remove\n };\n} // src/use-focus-effect.ts\n\n\nimport { hasFocusWithin, focus } from \"@chakra-ui/utils\"; // src/use-update-effect.ts\n\nimport { useEffect as useEffect6, useRef as useRef5 } from \"react\";\n\nvar useUpdateEffect = function useUpdateEffect(effect, deps) {\n var renderCycleRef = useRef5(false);\n var effectCycleRef = useRef5(false);\n useEffect6(function () {\n var isMounted = renderCycleRef.current;\n var shouldRun = isMounted && effectCycleRef.current;\n\n if (shouldRun) {\n return effect();\n }\n\n effectCycleRef.current = true;\n }, deps);\n useEffect6(function () {\n renderCycleRef.current = true;\n return function () {\n renderCycleRef.current = false;\n };\n }, []);\n}; // src/use-focus-effect.ts\n\n\nfunction useFocusEffect(ref, options) {\n var shouldFocus = options.shouldFocus,\n preventScroll = options.preventScroll;\n useUpdateEffect(function () {\n var node = ref.current;\n if (!node || !shouldFocus) return;\n\n if (!hasFocusWithin(node)) {\n focus(node, {\n preventScroll: preventScroll,\n nextTick: true\n });\n }\n }, [shouldFocus, ref, preventScroll]);\n} // src/use-focus-on-hide.ts\n\n\nimport { contains, focus as focus2, getActiveElement, isTabbable } from \"@chakra-ui/utils\";\n\nfunction preventReturnFocus(containerRef) {\n var el = containerRef.current;\n if (!el) return false;\n var activeElement = getActiveElement(el);\n if (!activeElement) return false;\n if (contains(el, activeElement)) return false;\n if (isTabbable(activeElement)) return true;\n return false;\n}\n\nfunction useFocusOnHide(containerRef, options) {\n var shouldFocusProp = options.shouldFocus,\n visible = options.visible,\n focusRef = options.focusRef;\n var shouldFocus = shouldFocusProp && !visible;\n useUpdateEffect(function () {\n if (!shouldFocus) return;\n\n if (preventReturnFocus(containerRef)) {\n return;\n }\n\n var el = (focusRef == null ? void 0 : focusRef.current) || containerRef.current;\n\n if (el) {\n focus2(el, {\n nextTick: true\n });\n }\n }, [shouldFocus, containerRef, focusRef]);\n} // src/use-focus-on-pointerdown.ts\n\n\nimport { contains as contains2, detectBrowser, focus as focus3, getOwnerDocument, isActiveElement, isRefObject } from \"@chakra-ui/utils\"; // src/use-pointer-event.ts\n\nimport { getPointerEventName as getPointerEventName2, wrapPointerEventHandler as wrapPointerEventHandler2 } from \"@chakra-ui/utils\";\n\nfunction usePointerEvent(env, eventName, handler, options) {\n return useEventListener(getPointerEventName2(eventName), wrapPointerEventHandler2(handler, eventName === \"pointerdown\"), env, options);\n} // src/use-focus-on-pointerdown.ts\n\n\nfunction useFocusOnPointerDown(props) {\n var ref = props.ref,\n elements = props.elements,\n enabled = props.enabled;\n var isSafari = detectBrowser(\"Safari\");\n\n var doc = function doc() {\n return getOwnerDocument(ref.current);\n };\n\n usePointerEvent(doc, \"pointerdown\", function (event) {\n if (!isSafari || !enabled) return;\n var target = event.target;\n var els = elements !== null && elements !== void 0 ? elements : [ref];\n var isValidTarget = els.some(function (elementOrRef) {\n var el = isRefObject(elementOrRef) ? elementOrRef.current : elementOrRef;\n return contains2(el, target);\n });\n\n if (!isActiveElement(target) && isValidTarget) {\n event.preventDefault();\n focus3(target);\n }\n });\n} // src/use-focus-on-show.ts\n\n\nimport { contains as contains3, focus as focus4, getAllFocusable, isRefObject as isRefObject2 } from \"@chakra-ui/utils\";\nimport { useCallback as useCallback7 } from \"react\";\nvar defaultOptions = {\n preventScroll: true,\n shouldFocus: false\n};\n\nfunction useFocusOnShow(target) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOptions;\n var focusRef = options.focusRef,\n preventScroll = options.preventScroll,\n shouldFocus = options.shouldFocus,\n visible = options.visible;\n var element = isRefObject2(target) ? target.current : target;\n var autoFocus = shouldFocus && visible;\n var onFocus = useCallback7(function () {\n if (!element || !autoFocus) return;\n if (contains3(element, document.activeElement)) return;\n\n if (focusRef == null ? void 0 : focusRef.current) {\n focus4(focusRef.current, {\n preventScroll: preventScroll,\n nextTick: true\n });\n } else {\n var tabbableEls = getAllFocusable(element);\n\n if (tabbableEls.length > 0) {\n focus4(tabbableEls[0], {\n preventScroll: preventScroll,\n nextTick: true\n });\n }\n }\n }, [autoFocus, preventScroll, element, focusRef]);\n useUpdateEffect(function () {\n onFocus();\n }, [onFocus]);\n useEventListener(\"transitionend\", onFocus, element);\n} // src/use-force-update.ts\n\n\nimport { useCallback as useCallback8, useRef as useRef6, useState as useState8 } from \"react\"; // src/use-unmount-effect.ts\n\nimport { useEffect as useEffect7 } from \"react\";\n\nfunction useUnmountEffect(fn) {\n var deps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n return useEffect7(function () {\n return function () {\n return fn();\n };\n }, deps);\n} // src/use-force-update.ts\n\n\nfunction useForceUpdate() {\n var unloadingRef = useRef6(false);\n\n var _useState19 = useState8(0),\n _useState20 = _slicedToArray(_useState19, 2),\n count = _useState20[0],\n setCount = _useState20[1];\n\n useUnmountEffect(function () {\n unloadingRef.current = true;\n });\n return useCallback8(function () {\n if (!unloadingRef.current) {\n setCount(count + 1);\n }\n }, [count]);\n} // src/use-interval.ts\n\n\nimport { useEffect as useEffect8 } from \"react\";\n\nfunction useInterval(callback, delay) {\n var fn = useCallbackRef(callback);\n useEffect8(function () {\n var intervalId = null;\n\n var tick = function tick() {\n return fn();\n };\n\n if (delay !== null) {\n intervalId = window.setInterval(tick, delay);\n }\n\n return function () {\n if (intervalId) {\n window.clearInterval(intervalId);\n }\n };\n }, [delay, fn]);\n} // src/use-latest-ref.ts\n\n\nimport { useRef as useRef7 } from \"react\";\n\nfunction useLatestRef(value) {\n var ref = useRef7(null);\n ref.current = value;\n return ref;\n} // src/use-merge-refs.ts\n\n\nimport { useMemo as useMemo3 } from \"react\";\n\nfunction assignRef(ref, value) {\n if (ref == null) return;\n\n if (typeof ref === \"function\") {\n ref(value);\n return;\n }\n\n try {\n ref.current = value;\n } catch (error) {\n throw new Error(\"Cannot assign value '\".concat(value, \"' to ref '\").concat(ref, \"'\"));\n }\n}\n\nfunction useMergeRefs() {\n for (var _len3 = arguments.length, refs = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n refs[_key3] = arguments[_key3];\n }\n\n return useMemo3(function () {\n if (refs.every(function (ref) {\n return ref == null;\n })) {\n return null;\n }\n\n return function (node) {\n refs.forEach(function (ref) {\n if (ref) assignRef(ref, node);\n });\n };\n }, refs);\n} // src/use-mouse-down-ref.ts\n\n\nimport { useRef as useRef8 } from \"react\";\n\nfunction useMouseDownRef() {\n var shouldListen = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n var mouseDownRef = useRef8();\n useEventListener(\"mousedown\", function (event) {\n if (shouldListen) {\n mouseDownRef.current = event.target;\n }\n });\n return mouseDownRef;\n} // src/use-outside-click.ts\n\n\nimport { getOwnerDocument as getOwnerDocument2 } from \"@chakra-ui/utils\";\nimport { useEffect as useEffect9, useRef as useRef9 } from \"react\";\n\nfunction useOutsideClick(props) {\n var ref = props.ref,\n handler = props.handler,\n _props$enabled = props.enabled,\n enabled = _props$enabled === void 0 ? true : _props$enabled;\n var savedHandler = useCallbackRef(handler);\n var stateRef = useRef9({\n isPointerDown: false,\n ignoreEmulatedMouseEvents: false\n });\n var state = stateRef.current;\n useEffect9(function () {\n if (!enabled) return;\n\n var onPointerDown = function onPointerDown(e) {\n if (isValidEvent(e, ref)) {\n state.isPointerDown = true;\n }\n };\n\n var onMouseUp = function onMouseUp(event) {\n if (state.ignoreEmulatedMouseEvents) {\n state.ignoreEmulatedMouseEvents = false;\n return;\n }\n\n if (state.isPointerDown && handler && isValidEvent(event, ref)) {\n state.isPointerDown = false;\n savedHandler(event);\n }\n };\n\n var onTouchEnd = function onTouchEnd(event) {\n state.ignoreEmulatedMouseEvents = true;\n\n if (handler && state.isPointerDown && isValidEvent(event, ref)) {\n state.isPointerDown = false;\n savedHandler(event);\n }\n };\n\n var doc = getOwnerDocument2(ref.current);\n doc.addEventListener(\"mousedown\", onPointerDown, true);\n doc.addEventListener(\"mouseup\", onMouseUp, true);\n doc.addEventListener(\"touchstart\", onPointerDown, true);\n doc.addEventListener(\"touchend\", onTouchEnd, true);\n return function () {\n doc.removeEventListener(\"mousedown\", onPointerDown, true);\n doc.removeEventListener(\"mouseup\", onMouseUp, true);\n doc.removeEventListener(\"touchstart\", onPointerDown, true);\n doc.removeEventListener(\"touchend\", onTouchEnd, true);\n };\n }, [handler, ref, savedHandler, state, enabled]);\n}\n\nfunction isValidEvent(event, ref) {\n var _a;\n\n var target = event.target;\n if (event.button > 0) return false;\n\n if (target) {\n var doc = getOwnerDocument2(target);\n if (!doc.contains(target)) return false;\n }\n\n return !((_a = ref.current) == null ? void 0 : _a.contains(target));\n} // src/use-pan-gesture.ts\n\n\nimport { noop, PanSession } from \"@chakra-ui/utils\";\nimport { useEffect as useEffect10, useRef as useRef10 } from \"react\";\n\nfunction usePanGesture(ref, props) {\n var onPan = props.onPan,\n onPanStart = props.onPanStart,\n onPanEnd = props.onPanEnd,\n onPanSessionStart = props.onPanSessionStart,\n onPanSessionEnd = props.onPanSessionEnd,\n threshold = props.threshold;\n var hasPanEvents = Boolean(onPan || onPanStart || onPanEnd || onPanSessionStart || onPanSessionEnd);\n var panSession = useRef10(null);\n var handlers = {\n onSessionStart: onPanSessionStart,\n onSessionEnd: onPanSessionEnd,\n onStart: onPanStart,\n onMove: onPan,\n onEnd: function onEnd(event, info) {\n panSession.current = null;\n onPanEnd == null ? void 0 : onPanEnd(event, info);\n }\n };\n useEffect10(function () {\n var _a;\n\n (_a = panSession.current) == null ? void 0 : _a.updateHandlers(handlers);\n });\n\n function onPointerDown(event) {\n panSession.current = new PanSession(event, handlers, threshold);\n }\n\n usePointerEvent(function () {\n return ref.current;\n }, \"pointerdown\", hasPanEvents ? onPointerDown : noop);\n useUnmountEffect(function () {\n var _a;\n\n (_a = panSession.current) == null ? void 0 : _a.end();\n panSession.current = null;\n });\n} // src/use-previous.ts\n\n\nimport { useRef as useRef11, useEffect as useEffect11 } from \"react\";\n\nfunction usePrevious(value) {\n var ref = useRef11();\n useEffect11(function () {\n ref.current = value;\n }, [value]);\n return ref.current;\n} // src/use-shortcut.ts\n\n\nimport { useEffect as useEffect12, useRef as useRef12, useState as useState9 } from \"react\";\n\nfunction isPrintableCharacter(event) {\n var key = event.key;\n return key.length === 1 || key.length > 1 && /[^a-zA-Z0-9]/.test(key);\n}\n\nfunction useShortcut() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? 300 : _props$timeout,\n _props$preventDefault = props.preventDefault,\n preventDefault = _props$preventDefault === void 0 ? function () {\n return true;\n } : _props$preventDefault;\n\n var _useState21 = useState9([]),\n _useState22 = _slicedToArray(_useState21, 2),\n keys = _useState22[0],\n setKeys = _useState22[1];\n\n var timeoutRef = useRef12();\n\n var flush = function flush() {\n if (timeoutRef.current) {\n clearTimeout(timeoutRef.current);\n timeoutRef.current = null;\n }\n };\n\n var clearKeysAfterDelay = function clearKeysAfterDelay() {\n flush();\n timeoutRef.current = setTimeout(function () {\n setKeys([]);\n timeoutRef.current = null;\n }, timeout);\n };\n\n useEffect12(function () {\n return flush;\n }, []);\n\n function onKeyDown(fn) {\n return function (event) {\n if (event.key === \"Backspace\") {\n var keysCopy = _toConsumableArray(keys);\n\n keysCopy.pop();\n setKeys(keysCopy);\n return;\n }\n\n if (isPrintableCharacter(event)) {\n var _keysCopy = keys.concat(event.key);\n\n if (preventDefault(event)) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n setKeys(_keysCopy);\n fn(_keysCopy.join(\"\"));\n clearKeysAfterDelay();\n }\n };\n }\n\n return onKeyDown;\n} // src/use-timeout.ts\n\n\nimport { useEffect as useEffect13 } from \"react\";\n\nfunction useTimeout(callback, delay) {\n var fn = useCallbackRef(callback);\n useEffect13(function () {\n if (delay == null) return void 0;\n var timeoutId = null;\n timeoutId = window.setTimeout(function () {\n fn();\n }, delay);\n return function () {\n if (timeoutId) {\n window.clearTimeout(timeoutId);\n }\n };\n }, [delay, fn]);\n} // src/use-why-update.ts\n\n\nimport { useEffect as useEffect14, useRef as useRef13 } from \"react\";\n\nfunction useWhyDidYouUpdate(name, props) {\n var previousProps = useRef13();\n useEffect14(function () {\n if (previousProps.current) {\n var allKeys = Object.keys(_objectSpread(_objectSpread({}, previousProps.current), props));\n var changesObj = {};\n allKeys.forEach(function (key) {\n if (previousProps.current[key] !== props[key]) {\n changesObj[key] = {\n from: previousProps.current[key],\n to: props[key]\n };\n }\n });\n\n if (Object.keys(changesObj).length) {\n console.log(\"[why-did-you-update]\", name, changesObj);\n }\n }\n\n previousProps.current = props;\n });\n}\n\nexport { assignRef, useAnimationState, useBoolean, useCallbackRef, useClipboard, useConst, useControllableProp, useControllableState, useDimensions, useDisclosure, useEventListener, useEventListenerMap, useFocusEffect, useFocusOnHide, useFocusOnPointerDown, useFocusOnShow, useForceUpdate, useId, useIds, useInterval, useLatestRef, useMergeRefs, useMouseDownRef, useOptionalPart, useOutsideClick, usePanGesture, usePointerEvent, usePrevious, useSafeLayoutEffect, useShortcut, useTimeout, useUnmountEffect, useUpdateEffect, useWhyDidYouUpdate };","var getDefaultParent = function getDefaultParent(originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\n\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\n\nvar applyAttributeToOthers = function applyAttributeToOthers(originalTarget, parentNode, markerName, controlAttribute) {\n var targets = Array.isArray(originalTarget) ? originalTarget : [originalTarget];\n\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n\n var keep = function keep(el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n\n targets.forEach(keep);\n\n var deep = function deep(parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n } else {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n });\n };\n\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n\n uncontrolledNodes.delete(node);\n }\n\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\n\n\nexport var hideOthers = function hideOthers(originalTarget, parentNode, markerName) {\n if (markerName === void 0) {\n markerName = 'data-aria-hidden';\n }\n\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n\n if (!activeParentNode) {\n return function () {\n return null;\n };\n } // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n\n\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\n\nexport var inertOthers = function inertOthers(originalTarget, parentNode, markerName) {\n if (markerName === void 0) {\n markerName = 'data-inert-ed';\n }\n\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n\n if (!activeParentNode) {\n return function () {\n return null;\n };\n }\n\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\n\nexport var supportsInert = function supportsInert() {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\n\nexport var suppressOthers = function suppressOthers(originalTarget, parentNode, markerName) {\n if (markerName === void 0) {\n markerName = 'data-suppressed';\n }\n\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};","/**\n * defines a focus group\n */\nexport var FOCUS_GROUP = 'data-focus-lock';\n/**\n * disables element discovery inside a group marked by key\n */\n\nexport var FOCUS_DISABLED = 'data-focus-lock-disabled';\n/**\n * allows uncontrolled focus within the marked area, effectively disabling focus lock for it's content\n */\n\nexport var FOCUS_ALLOW = 'data-no-focus-lock';\n/**\n * instructs autofocus engine to pick default autofocus inside a given node\n * can be set on the element or container\n */\n\nexport var FOCUS_AUTO = 'data-autofocus-inside';\n/**\n * instructs autofocus to ignore elements within a given node\n * can be set on the element or container\n */\n\nexport var FOCUS_NO_AUTOFOCUS = 'data-no-autofocus';","import { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\n\nexport function useMergeRefs(refs, defaultValue) {\n return useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) {\n return assignRef(ref, newValue);\n });\n });\n}","import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\n\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () {\n return {\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n\n set current(value) {\n var last = ref.value;\n\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n }\n\n }\n };\n })[0]; // update callback\n\n ref.callback = callback;\n return ref.facade;\n}","/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n\n return ref;\n}","import * as React from 'react';\nexport var hiddenGuard = {\n width: '1px',\n height: '0px',\n padding: 0,\n overflow: 'hidden',\n position: 'fixed',\n top: '1px',\n left: '1px'\n};\n\nvar InFocusGuard = function InFocusGuard(_ref) {\n var children = _ref.children;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-first\",\n \"data-focus-guard\": true,\n \"data-focus-auto-guard\": true,\n style: hiddenGuard\n }), children, children && /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-last\",\n \"data-focus-guard\": true,\n \"data-focus-auto-guard\": true,\n style: hiddenGuard\n }));\n};\n\nInFocusGuard.defaultProps = {\n children: null\n};\nexport default InFocusGuard;","import { __assign } from \"tslib\";\n\nfunction ItoI(a) {\n return a;\n}\n\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) {\n middleware = ItoI;\n }\n\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function read() {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n\n return defaults;\n },\n useMedium: function useMedium(data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) {\n return x !== item;\n });\n };\n },\n assignSyncMedium: function assignSyncMedium(cb) {\n assigned = true;\n\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n\n buffer = {\n push: function push(x) {\n return cb(x);\n },\n filter: function filter() {\n return buffer;\n }\n };\n },\n assignMedium: function assignMedium(cb) {\n assigned = true;\n var pendingQueue = [];\n\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n\n var executeQueue = function executeQueue() {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n\n var cycle = function cycle() {\n return Promise.resolve().then(executeQueue);\n };\n\n cycle();\n buffer = {\n push: function push(x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function filter(_filter) {\n pendingQueue = pendingQueue.filter(_filter);\n return buffer;\n }\n };\n }\n };\n return medium;\n}\n\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) {\n middleware = ItoI;\n }\n\n return innerCreateMedium(defaults, middleware);\n} // eslint-disable-next-line @typescript-eslint/ban-types\n\nexport function createSidecarMedium(options) {\n if (options === void 0) {\n options = {};\n }\n\n var medium = innerCreateMedium(null);\n medium.options = __assign({\n async: true,\n ssr: false\n }, options);\n return medium;\n}","import { createMedium, createSidecarMedium } from 'use-sidecar';\nexport var mediumFocus = createMedium({}, function (_ref) {\n var target = _ref.target,\n currentTarget = _ref.currentTarget;\n return {\n target: target,\n currentTarget: currentTarget\n };\n});\nexport var mediumBlur = createMedium();\nexport var mediumEffect = createMedium();\nexport var mediumSidecar = createSidecarMedium({\n async: true\n});","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport * as constants from 'focus-lock/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { useEffect } from 'react';\nimport { hiddenGuard } from './FocusGuard';\nimport { mediumFocus, mediumBlur, mediumSidecar } from './medium';\nvar emptyArray = [];\nvar FocusLock = /*#__PURE__*/React.forwardRef(function FocusLockUI(props, parentRef) {\n var _extends2;\n\n var _React$useState = React.useState(),\n realObserved = _React$useState[0],\n setObserved = _React$useState[1];\n\n var observed = React.useRef();\n var isActive = React.useRef(false);\n var originalFocusedElement = React.useRef(null);\n var children = props.children,\n disabled = props.disabled,\n noFocusGuards = props.noFocusGuards,\n persistentFocus = props.persistentFocus,\n crossFrame = props.crossFrame,\n autoFocus = props.autoFocus,\n allowTextSelection = props.allowTextSelection,\n group = props.group,\n className = props.className,\n whiteList = props.whiteList,\n hasPositiveIndices = props.hasPositiveIndices,\n _props$shards = props.shards,\n shards = _props$shards === void 0 ? emptyArray : _props$shards,\n _props$as = props.as,\n Container = _props$as === void 0 ? 'div' : _props$as,\n _props$lockProps = props.lockProps,\n containerProps = _props$lockProps === void 0 ? {} : _props$lockProps,\n SideCar = props.sideCar,\n shouldReturnFocus = props.returnFocus,\n focusOptions = props.focusOptions,\n onActivationCallback = props.onActivation,\n onDeactivationCallback = props.onDeactivation;\n\n var _React$useState2 = React.useState({}),\n id = _React$useState2[0]; // SIDE EFFECT CALLBACKS\n\n\n var onActivation = React.useCallback(function () {\n originalFocusedElement.current = originalFocusedElement.current || document && document.activeElement;\n\n if (observed.current && onActivationCallback) {\n onActivationCallback(observed.current);\n }\n\n isActive.current = true;\n }, [onActivationCallback]);\n var onDeactivation = React.useCallback(function () {\n isActive.current = false;\n\n if (onDeactivationCallback) {\n onDeactivationCallback(observed.current);\n }\n }, [onDeactivationCallback]);\n useEffect(function () {\n if (!disabled) {\n // cleanup return focus on trap deactivation\n // sideEffect/returnFocus should happen by this time\n originalFocusedElement.current = null;\n }\n }, []);\n var returnFocus = React.useCallback(function (allowDefer) {\n var returnFocusTo = originalFocusedElement.current;\n\n if (returnFocusTo && returnFocusTo.focus) {\n var howToReturnFocus = typeof shouldReturnFocus === 'function' ? shouldReturnFocus(returnFocusTo) : shouldReturnFocus;\n\n if (howToReturnFocus) {\n var returnFocusOptions = typeof howToReturnFocus === 'object' ? howToReturnFocus : undefined;\n originalFocusedElement.current = null;\n\n if (allowDefer) {\n // React might return focus after update\n // it's safer to defer the action\n Promise.resolve().then(function () {\n return returnFocusTo.focus(returnFocusOptions);\n });\n } else {\n returnFocusTo.focus(returnFocusOptions);\n }\n }\n }\n }, [shouldReturnFocus]); // MEDIUM CALLBACKS\n\n var onFocus = React.useCallback(function (event) {\n if (isActive.current) {\n mediumFocus.useMedium(event);\n }\n }, []);\n var onBlur = mediumBlur.useMedium; // REF PROPAGATION\n // not using real refs due to race conditions\n\n var setObserveNode = React.useCallback(function (newObserved) {\n if (observed.current !== newObserved) {\n observed.current = newObserved;\n setObserved(newObserved);\n }\n }, []);\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof allowTextSelection !== 'undefined') {\n // eslint-disable-next-line no-console\n console.warn('React-Focus-Lock: allowTextSelection is deprecated and enabled by default');\n }\n\n React.useEffect(function () {\n if (!observed.current) {\n // eslint-disable-next-line no-console\n console.error('FocusLock: could not obtain ref to internal node');\n }\n }, []);\n }\n\n var lockProps = _extends((_extends2 = {}, _extends2[constants.FOCUS_DISABLED] = disabled && 'disabled', _extends2[constants.FOCUS_GROUP] = group, _extends2), containerProps);\n\n var hasLeadingGuards = noFocusGuards !== true;\n var hasTailingGuards = hasLeadingGuards && noFocusGuards !== 'tail';\n var mergedRef = useMergeRefs([parentRef, setObserveNode]);\n return /*#__PURE__*/React.createElement(React.Fragment, null, hasLeadingGuards && [\n /*#__PURE__*/\n // nearest focus guard\n React.createElement(\"div\", {\n key: \"guard-first\",\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 0,\n style: hiddenGuard\n }), // first tabbed element guard\n hasPositiveIndices ? /*#__PURE__*/React.createElement(\"div\", {\n key: \"guard-nearest\",\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 1,\n style: hiddenGuard\n }) : null], !disabled && /*#__PURE__*/React.createElement(SideCar, {\n id: id,\n sideCar: mediumSidecar,\n observed: realObserved,\n disabled: disabled,\n persistentFocus: persistentFocus,\n crossFrame: crossFrame,\n autoFocus: autoFocus,\n whiteList: whiteList,\n shards: shards,\n onActivation: onActivation,\n onDeactivation: onDeactivation,\n returnFocus: returnFocus,\n focusOptions: focusOptions\n }), /*#__PURE__*/React.createElement(Container, _extends({\n ref: mergedRef\n }, lockProps, {\n className: className,\n onBlur: onBlur,\n onFocus: onFocus\n }), children), hasTailingGuards && /*#__PURE__*/React.createElement(\"div\", {\n \"data-focus-guard\": true,\n tabIndex: disabled ? -1 : 0,\n style: hiddenGuard\n }));\n});\nFocusLock.defaultProps = {\n children: undefined,\n disabled: false,\n returnFocus: false,\n focusOptions: undefined,\n noFocusGuards: false,\n autoFocus: true,\n persistentFocus: false,\n crossFrame: true,\n hasPositiveIndices: undefined,\n allowTextSelection: undefined,\n group: undefined,\n className: undefined,\n whiteList: undefined,\n shards: undefined,\n as: 'div',\n lockProps: {},\n onActivation: undefined,\n onDeactivation: undefined\n};\nexport default FocusLock;","import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport _defineProperty from '@babel/runtime/helpers/esm/defineProperty';\nimport React, { PureComponent } from 'react';\n\nfunction withSideEffect(reducePropsToState, handleStateChangeOnClient) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof reducePropsToState !== 'function') {\n throw new Error('Expected reducePropsToState to be a function.');\n }\n\n if (typeof handleStateChangeOnClient !== 'function') {\n throw new Error('Expected handleStateChangeOnClient to be a function.');\n }\n }\n\n function getDisplayName(WrappedComponent) {\n return WrappedComponent.displayName || WrappedComponent.name || 'Component';\n }\n\n return function wrap(WrappedComponent) {\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof WrappedComponent !== 'function') {\n throw new Error('Expected WrappedComponent to be a React component.');\n }\n }\n\n var mountedInstances = [];\n var state;\n\n function emitChange() {\n state = reducePropsToState(mountedInstances.map(function (instance) {\n return instance.props;\n }));\n handleStateChangeOnClient(state);\n }\n\n var SideEffect = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(SideEffect, _PureComponent);\n\n function SideEffect() {\n return _PureComponent.apply(this, arguments) || this;\n } // Try to use displayName of wrapped component\n\n\n SideEffect.peek = function peek() {\n return state;\n };\n\n var _proto = SideEffect.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n mountedInstances.push(this);\n emitChange();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n emitChange();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n var index = mountedInstances.indexOf(this);\n mountedInstances.splice(index, 1);\n emitChange();\n };\n\n _proto.render = function render() {\n return /*#__PURE__*/React.createElement(WrappedComponent, this.props);\n };\n\n return SideEffect;\n }(PureComponent);\n\n _defineProperty(SideEffect, \"displayName\", \"SideEffect(\" + getDisplayName(WrappedComponent) + \")\");\n\n return SideEffect;\n };\n}\n\nexport default withSideEffect;","/*\nIE11 support\n */\nexport var toArray = function toArray(a) {\n var ret = Array(a.length);\n\n for (var i = 0; i < a.length; ++i) {\n ret[i] = a[i];\n }\n\n return ret;\n};\nexport var asArray = function asArray(a) {\n return Array.isArray(a) ? a : [a];\n};","import { FOCUS_NO_AUTOFOCUS } from '../constants';\n\nvar isElementHidden = function isElementHidden(node) {\n // we can measure only \"elements\"\n // consider others as \"visible\"\n if (node.nodeType !== Node.ELEMENT_NODE) {\n return false;\n }\n\n var computedStyle = window.getComputedStyle(node, null);\n\n if (!computedStyle || !computedStyle.getPropertyValue) {\n return false;\n }\n\n return computedStyle.getPropertyValue('display') === 'none' || computedStyle.getPropertyValue('visibility') === 'hidden';\n};\n\nvar getParentNode = function getParentNode(node) {\n // DOCUMENT_FRAGMENT_NODE can also point on ShadowRoot. In this case .host will point on the next node\n return node.parentNode && node.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? // eslint-disable-next-line @typescript-eslint/no-explicit-any\n node.parentNode.host : node.parentNode;\n};\n\nvar isTopNode = function isTopNode(node) {\n // @ts-ignore\n return node === document || node && node.nodeType === Node.DOCUMENT_NODE;\n};\n\nvar isVisibleUncached = function isVisibleUncached(node, checkParent) {\n return !node || isTopNode(node) || !isElementHidden(node) && checkParent(getParentNode(node));\n};\n\nexport var isVisibleCached = function isVisibleCached(visibilityCache, node) {\n var cached = visibilityCache.get(node);\n\n if (cached !== undefined) {\n return cached;\n }\n\n var result = isVisibleUncached(node, isVisibleCached.bind(undefined, visibilityCache));\n visibilityCache.set(node, result);\n return result;\n};\n\nvar isAutoFocusAllowedUncached = function isAutoFocusAllowedUncached(node, checkParent) {\n return node && !isTopNode(node) ? isAutoFocusAllowed(node) ? checkParent(getParentNode(node)) : false : true;\n};\n\nexport var isAutoFocusAllowedCached = function isAutoFocusAllowedCached(cache, node) {\n var cached = cache.get(node);\n\n if (cached !== undefined) {\n return cached;\n }\n\n var result = isAutoFocusAllowedUncached(node, isAutoFocusAllowedCached.bind(undefined, cache));\n cache.set(node, result);\n return result;\n};\nexport var getDataset = function getDataset(node) {\n // @ts-ignore\n return node.dataset;\n};\nexport var isHTMLButtonElement = function isHTMLButtonElement(node) {\n return node.tagName === 'BUTTON';\n};\nexport var isHTMLInputElement = function isHTMLInputElement(node) {\n return node.tagName === 'INPUT';\n};\nexport var isRadioElement = function isRadioElement(node) {\n return isHTMLInputElement(node) && node.type === 'radio';\n};\nexport var notHiddenInput = function notHiddenInput(node) {\n return !((isHTMLInputElement(node) || isHTMLButtonElement(node)) && (node.type === 'hidden' || node.disabled));\n};\nexport var isAutoFocusAllowed = function isAutoFocusAllowed(node) {\n var attribute = node.getAttribute(FOCUS_NO_AUTOFOCUS);\n return ![true, 'true', ''].includes(attribute);\n};\nexport var isGuard = function isGuard(node) {\n var _a;\n\n return Boolean(node && ((_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.focusGuard));\n};\nexport var isNotAGuard = function isNotAGuard(node) {\n return !isGuard(node);\n};\nexport var isDefined = function isDefined(x) {\n return Boolean(x);\n};","import { toArray } from './array';\nexport var tabSort = function tabSort(a, b) {\n var tabDiff = a.tabIndex - b.tabIndex;\n var indexDiff = a.index - b.index;\n\n if (tabDiff) {\n if (!a.tabIndex) {\n return 1;\n }\n\n if (!b.tabIndex) {\n return -1;\n }\n }\n\n return tabDiff || indexDiff;\n};\nexport var orderByTabIndex = function orderByTabIndex(nodes, filterNegative, keepGuards) {\n return toArray(nodes).map(function (node, index) {\n return {\n node: node,\n index: index,\n tabIndex: keepGuards && node.tabIndex === -1 ? (node.dataset || {}).focusGuard ? 0 : -1 : node.tabIndex\n };\n }).filter(function (data) {\n return !filterNegative || data.tabIndex >= 0;\n }).sort(tabSort);\n};","import { FOCUS_AUTO } from '../constants';\nimport { toArray } from './array';\nimport { tabbables } from './tabbables';\nvar queryTabbables = tabbables.join(',');\nvar queryGuardTabbables = \"\".concat(queryTabbables, \", [data-focus-guard]\");\n\nvar getFocusablesWithShadowDom = function getFocusablesWithShadowDom(parent, withGuards) {\n var _a;\n\n return toArray(((_a = parent.shadowRoot) === null || _a === void 0 ? void 0 : _a.children) || parent.children).reduce(function (acc, child) {\n return acc.concat(child.matches(withGuards ? queryGuardTabbables : queryTabbables) ? [child] : [], getFocusablesWithShadowDom(child));\n }, []);\n};\n\nexport var getFocusables = function getFocusables(parents, withGuards) {\n return parents.reduce(function (acc, parent) {\n return acc.concat( // add all tabbables inside and within shadow DOMs in DOM order\n getFocusablesWithShadowDom(parent, withGuards), // add if node is tabbable itself\n parent.parentNode ? toArray(parent.parentNode.querySelectorAll(queryTabbables)).filter(function (node) {\n return node === parent;\n }) : []);\n }, []);\n};\n/**\n * return a list of focusable nodes within an area marked as \"auto-focusable\"\n * @param parent\n */\n\nexport var getParentAutofocusables = function getParentAutofocusables(parent) {\n var parentFocus = parent.querySelectorAll(\"[\".concat(FOCUS_AUTO, \"]\"));\n return toArray(parentFocus).map(function (node) {\n return getFocusables([node]);\n }).reduce(function (acc, nodes) {\n return acc.concat(nodes);\n }, []);\n};","/**\n * list of the object to be considered as focusable\n */\nexport var tabbables = ['button:enabled', 'select:enabled', 'textarea:enabled', 'input:enabled', // elements with explicit roles will also use explicit tabindex\n// '[role=\"button\"]',\n'a[href]', 'area[href]', 'summary', 'iframe', 'object', 'embed', 'audio[controls]', 'video[controls]', '[tabindex]', '[contenteditable]', '[autofocus]'];","import { toArray } from './array';\nimport { isAutoFocusAllowedCached, isVisibleCached, notHiddenInput } from './is';\nimport { orderByTabIndex } from './tabOrder';\nimport { getFocusables, getParentAutofocusables } from './tabUtils';\n/**\n * given list of focusable elements keeps the ones user can interact with\n * @param nodes\n * @param visibilityCache\n */\n\nexport var filterFocusable = function filterFocusable(nodes, visibilityCache) {\n return toArray(nodes).filter(function (node) {\n return isVisibleCached(visibilityCache, node);\n }).filter(function (node) {\n return notHiddenInput(node);\n });\n};\nexport var filterAutoFocusable = function filterAutoFocusable(nodes, cache) {\n if (cache === void 0) {\n cache = new Map();\n }\n\n return toArray(nodes).filter(function (node) {\n return isAutoFocusAllowedCached(cache, node);\n });\n};\n/**\n * only tabbable ones\n * (but with guards which would be ignored)\n */\n\nexport var getTabbableNodes = function getTabbableNodes(topNodes, visibilityCache, withGuards) {\n return orderByTabIndex(filterFocusable(getFocusables(topNodes, withGuards), visibilityCache), true, withGuards);\n};\n/**\n * actually anything \"focusable\", not only tabbable\n * (without guards, as long as they are not expected to be focused)\n */\n\nexport var getAllTabbableNodes = function getAllTabbableNodes(topNodes, visibilityCache) {\n return orderByTabIndex(filterFocusable(getFocusables(topNodes), visibilityCache), false);\n};\n/**\n * return list of nodes which are expected to be auto-focused\n * @param topNode\n * @param visibilityCache\n */\n\nexport var parentAutofocusables = function parentAutofocusables(topNode, visibilityCache) {\n return filterFocusable(getParentAutofocusables(topNode), visibilityCache);\n};\n/*\n * Determines if element is contained in scope, including nested shadow DOMs\n */\n\nexport var contains = function contains(scope, element) {\n if (scope.shadowRoot) {\n return contains(scope.shadowRoot, element);\n } else {\n if (Object.getPrototypeOf(scope).contains !== undefined && Object.getPrototypeOf(scope).contains.call(scope, element)) {\n return true;\n }\n\n return toArray(scope.children).some(function (child) {\n return contains(child, element);\n });\n }\n};","var getNestedShadowActiveElement = function getNestedShadowActiveElement(shadowRoot) {\n return shadowRoot.activeElement ? shadowRoot.activeElement.shadowRoot ? getNestedShadowActiveElement(shadowRoot.activeElement.shadowRoot) : shadowRoot.activeElement : undefined;\n};\n/**\n * returns active element from document or from nested shadowdoms\n */\n\n\nexport var getActiveElement = function getActiveElement() {\n return document.activeElement ? document.activeElement.shadowRoot ? getNestedShadowActiveElement(document.activeElement.shadowRoot) : document.activeElement : undefined; // eslint-disable-next-line @typescript-eslint/no-explicit-any\n};","import { FOCUS_DISABLED, FOCUS_GROUP } from '../constants';\nimport { asArray, toArray } from './array';\n/**\n * in case of multiple nodes nested inside each other\n * keeps only top ones\n * this is O(nlogn)\n * @param nodes\n * @returns {*}\n */\n\nvar filterNested = function filterNested(nodes) {\n var contained = new Set();\n var l = nodes.length;\n\n for (var i = 0; i < l; i += 1) {\n for (var j = i + 1; j < l; j += 1) {\n var position = nodes[i].compareDocumentPosition(nodes[j]);\n /* eslint-disable no-bitwise */\n\n if ((position & Node.DOCUMENT_POSITION_CONTAINED_BY) > 0) {\n contained.add(j);\n }\n\n if ((position & Node.DOCUMENT_POSITION_CONTAINS) > 0) {\n contained.add(i);\n }\n /* eslint-enable */\n\n }\n }\n\n return nodes.filter(function (_, index) {\n return !contained.has(index);\n });\n};\n/**\n * finds top most parent for a node\n * @param node\n * @returns {*}\n */\n\n\nvar getTopParent = function getTopParent(node) {\n return node.parentNode ? getTopParent(node.parentNode) : node;\n};\n/**\n * returns all \"focus containers\" inside a given node\n * @param node\n * @returns {T}\n */\n\n\nexport var getAllAffectedNodes = function getAllAffectedNodes(node) {\n var nodes = asArray(node);\n return nodes.filter(Boolean).reduce(function (acc, currentNode) {\n var group = currentNode.getAttribute(FOCUS_GROUP);\n acc.push.apply(acc, group ? filterNested(toArray(getTopParent(currentNode).querySelectorAll(\"[\".concat(FOCUS_GROUP, \"=\\\"\").concat(group, \"\\\"]:not([\").concat(FOCUS_DISABLED, \"=\\\"disabled\\\"])\")))) : [currentNode]);\n return acc;\n }, []);\n};","import { contains } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\n\nvar focusInFrame = function focusInFrame(frame) {\n return frame === document.activeElement;\n};\n\nvar focusInsideIframe = function focusInsideIframe(topNode) {\n return Boolean(toArray(topNode.querySelectorAll('iframe')).some(function (node) {\n return focusInFrame(node);\n }));\n};\n/**\n * @returns {Boolean} true, if the current focus is inside given node or nodes\n */\n\n\nexport var focusInside = function focusInside(topNode) {\n var activeElement = document && getActiveElement();\n\n if (!activeElement || activeElement.dataset && activeElement.dataset.focusGuard) {\n return false;\n }\n\n return getAllAffectedNodes(topNode).some(function (node) {\n return contains(node, activeElement) || focusInsideIframe(node);\n });\n};","import { isRadioElement } from './is';\n\nvar findSelectedRadio = function findSelectedRadio(node, nodes) {\n return nodes.filter(isRadioElement).filter(function (el) {\n return el.name === node.name;\n }).filter(function (el) {\n return el.checked;\n })[0] || node;\n};\n\nexport var correctNode = function correctNode(node, nodes) {\n if (isRadioElement(node) && node.name) {\n return findSelectedRadio(node, nodes);\n }\n\n return node;\n};\n/**\n * giving a set of radio inputs keeps only selected (tabbable) ones\n * @param nodes\n */\n\nexport var correctNodes = function correctNodes(nodes) {\n // IE11 has no Set(array) constructor\n var resultSet = new Set();\n nodes.forEach(function (node) {\n return resultSet.add(correctNode(node, nodes));\n }); // using filter to support IE11\n\n return nodes.filter(function (node) {\n return resultSet.has(node);\n });\n};","import { correctNode } from './correctFocus';\nexport var pickFirstFocus = function pickFirstFocus(nodes) {\n if (nodes[0] && nodes.length > 1) {\n return correctNode(nodes[0], nodes);\n }\n\n return nodes[0];\n};\nexport var pickFocusable = function pickFocusable(nodes, index) {\n if (nodes.length > 1) {\n return nodes.indexOf(correctNode(nodes[index], nodes));\n }\n\n return index;\n};","import { correctNodes } from './utils/correctFocus';\nimport { pickFocusable } from './utils/firstFocus';\nimport { isGuard } from './utils/is';\nexport var NEW_FOCUS = 'NEW_FOCUS';\n/**\n * Main solver for the \"find next focus\" question\n * @param innerNodes\n * @param outerNodes\n * @param activeElement\n * @param lastNode\n * @returns {number|string|undefined|*}\n */\n\nexport var newFocus = function newFocus(innerNodes, outerNodes, activeElement, lastNode) {\n var cnt = innerNodes.length;\n var firstFocus = innerNodes[0];\n var lastFocus = innerNodes[cnt - 1];\n var isOnGuard = isGuard(activeElement); // focus is inside\n\n if (activeElement && innerNodes.indexOf(activeElement) >= 0) {\n return undefined;\n }\n\n var activeIndex = activeElement !== undefined ? outerNodes.indexOf(activeElement) : -1;\n var lastIndex = lastNode ? outerNodes.indexOf(lastNode) : activeIndex;\n var lastNodeInside = lastNode ? innerNodes.indexOf(lastNode) : -1;\n var indexDiff = activeIndex - lastIndex;\n var firstNodeIndex = outerNodes.indexOf(firstFocus);\n var lastNodeIndex = outerNodes.indexOf(lastFocus);\n var correctedNodes = correctNodes(outerNodes);\n var correctedIndex = activeElement !== undefined ? correctedNodes.indexOf(activeElement) : -1;\n var correctedIndexDiff = correctedIndex - (lastNode ? correctedNodes.indexOf(lastNode) : activeIndex);\n var returnFirstNode = pickFocusable(innerNodes, 0);\n var returnLastNode = pickFocusable(innerNodes, cnt - 1); // new focus\n\n if (activeIndex === -1 || lastNodeInside === -1) {\n return NEW_FOCUS;\n } // old focus\n\n\n if (!indexDiff && lastNodeInside >= 0) {\n return lastNodeInside;\n } // first element\n\n\n if (activeIndex <= firstNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n return returnLastNode;\n } // last element\n\n\n if (activeIndex >= lastNodeIndex && isOnGuard && Math.abs(indexDiff) > 1) {\n return returnFirstNode;\n } // jump out, but not on the guard\n\n\n if (indexDiff && Math.abs(correctedIndexDiff) > 1) {\n return lastNodeInside;\n } // focus above lock\n\n\n if (activeIndex <= firstNodeIndex) {\n return returnLastNode;\n } // focus below lock\n\n\n if (activeIndex > lastNodeIndex) {\n return returnFirstNode;\n } // index is inside tab order, but outside Lock\n\n\n if (indexDiff) {\n if (Math.abs(indexDiff) > 1) {\n return lastNodeInside;\n }\n\n return (cnt + lastNodeInside + indexDiff) % cnt;\n } // do nothing\n\n\n return undefined;\n};","import { filterAutoFocusable } from './DOMutils';\nimport { pickFirstFocus } from './firstFocus';\nimport { getDataset } from './is';\n\nvar findAutoFocused = function findAutoFocused(autoFocusables) {\n return function (node) {\n var _a;\n\n var autofocus = (_a = getDataset(node)) === null || _a === void 0 ? void 0 : _a.autofocus;\n return (// @ts-expect-error\n node.autofocus || //\n autofocus !== undefined && autofocus !== 'false' || //\n autoFocusables.indexOf(node) >= 0\n );\n };\n};\n\nexport var pickAutofocus = function pickAutofocus(nodesIndexes, orderedNodes, groups) {\n var nodes = nodesIndexes.map(function (_a) {\n var node = _a.node;\n return node;\n });\n var autoFocusable = filterAutoFocusable(nodes.filter(findAutoFocused(groups)));\n\n if (autoFocusable && autoFocusable.length) {\n return pickFirstFocus(autoFocusable);\n }\n\n return pickFirstFocus(filterAutoFocusable(orderedNodes));\n};","import { parentAutofocusables } from './DOMutils';\nimport { contains } from './DOMutils';\nimport { asArray } from './array';\n\nvar getParents = function getParents(node, parents) {\n if (parents === void 0) {\n parents = [];\n }\n\n parents.push(node);\n\n if (node.parentNode) {\n getParents(node.parentNode.host || node.parentNode, parents);\n }\n\n return parents;\n};\n/**\n * finds a parent for both nodeA and nodeB\n * @param nodeA\n * @param nodeB\n * @returns {boolean|*}\n */\n\n\nexport var getCommonParent = function getCommonParent(nodeA, nodeB) {\n var parentsA = getParents(nodeA);\n var parentsB = getParents(nodeB); // tslint:disable-next-line:prefer-for-of\n\n for (var i = 0; i < parentsA.length; i += 1) {\n var currentParent = parentsA[i];\n\n if (parentsB.indexOf(currentParent) >= 0) {\n return currentParent;\n }\n }\n\n return false;\n};\nexport var getTopCommonParent = function getTopCommonParent(baseActiveElement, leftEntry, rightEntries) {\n var activeElements = asArray(baseActiveElement);\n var leftEntries = asArray(leftEntry);\n var activeElement = activeElements[0];\n var topCommon = false;\n leftEntries.filter(Boolean).forEach(function (entry) {\n topCommon = getCommonParent(topCommon || entry, entry) || topCommon;\n rightEntries.filter(Boolean).forEach(function (subEntry) {\n var common = getCommonParent(activeElement, subEntry);\n\n if (common) {\n if (!topCommon || contains(common, topCommon)) {\n topCommon = common;\n } else {\n topCommon = getCommonParent(common, topCommon);\n }\n }\n });\n }); // TODO: add assert here?\n\n return topCommon;\n};\n/**\n * return list of nodes which are expected to be autofocused inside a given top nodes\n * @param entries\n * @param visibilityCache\n */\n\nexport var allParentAutofocusables = function allParentAutofocusables(entries, visibilityCache) {\n return entries.reduce(function (acc, node) {\n return acc.concat(parentAutofocusables(node, visibilityCache));\n }, []);\n};","import { NEW_FOCUS, newFocus } from './solver';\nimport { getAllTabbableNodes, getTabbableNodes } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { pickAutofocus } from './utils/auto-focus';\nimport { getActiveElement } from './utils/getActiveElement';\nimport { isDefined, isNotAGuard } from './utils/is';\nimport { allParentAutofocusables, getTopCommonParent } from './utils/parenting';\n\nvar reorderNodes = function reorderNodes(srcNodes, dstNodes) {\n var remap = new Map(); // no Set(dstNodes) for IE11 :(\n\n dstNodes.forEach(function (entity) {\n return remap.set(entity.node, entity);\n }); // remap to dstNodes\n\n return srcNodes.map(function (node) {\n return remap.get(node);\n }).filter(isDefined);\n};\n/**\n * given top node(s) and the last active element return the element to be focused next\n * @param topNode\n * @param lastNode\n */\n\n\nexport var getFocusMerge = function getFocusMerge(topNode, lastNode) {\n var activeElement = document && getActiveElement();\n var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n var commonParent = getTopCommonParent(activeElement || topNode, topNode, entries);\n var visibilityCache = new Map();\n var anyFocusable = getAllTabbableNodes(entries, visibilityCache);\n var innerElements = getTabbableNodes(entries, visibilityCache).filter(function (_a) {\n var node = _a.node;\n return isNotAGuard(node);\n });\n\n if (!innerElements[0]) {\n innerElements = anyFocusable;\n\n if (!innerElements[0]) {\n return undefined;\n }\n }\n\n var outerNodes = getAllTabbableNodes([commonParent], visibilityCache).map(function (_a) {\n var node = _a.node;\n return node;\n });\n var orderedInnerElements = reorderNodes(outerNodes, innerElements);\n var innerNodes = orderedInnerElements.map(function (_a) {\n var node = _a.node;\n return node;\n });\n var newId = newFocus(innerNodes, outerNodes, activeElement, lastNode);\n\n if (newId === NEW_FOCUS) {\n return {\n node: pickAutofocus(anyFocusable, innerNodes, allParentAutofocusables(entries, visibilityCache))\n };\n }\n\n if (newId === undefined) {\n return newId;\n }\n\n return orderedInnerElements[newId];\n};","import { getFocusMerge } from './focusMerge';\nexport var focusOn = function focusOn(target, focusOptions) {\n if ('focus' in target) {\n target.focus(focusOptions);\n }\n\n if ('contentWindow' in target && target.contentWindow) {\n target.contentWindow.focus();\n }\n};\nvar guardCount = 0;\nvar lockDisabled = false;\n/**\n * Sets focus at a given node. The last focused element will help to determine which element(first or last) should be focused.\n * HTML markers (see {@link import('./constants').FOCUS_AUTO} constants) can control autofocus\n * @param topNode\n * @param lastNode\n * @param options\n */\n\nexport var setFocus = function setFocus(topNode, lastNode, options) {\n if (options === void 0) {\n options = {};\n }\n\n var focusable = getFocusMerge(topNode, lastNode);\n\n if (lockDisabled) {\n return;\n }\n\n if (focusable) {\n if (guardCount > 2) {\n // tslint:disable-next-line:no-console\n console.error('FocusLock: focus-fighting detected. Only one focus management system could be active. ' + 'See https://github.com/theKashey/focus-lock/#focus-fighting');\n lockDisabled = true;\n setTimeout(function () {\n lockDisabled = false;\n }, 1);\n return;\n }\n\n guardCount++;\n focusOn(focusable.node, options.focusOptions);\n guardCount--;\n }\n};","import * as constants from './constants';\nimport { focusInside } from './focusInside';\nimport { focusIsHidden } from './focusIsHidden';\nimport { getFocusMerge as focusMerge } from './focusMerge';\nimport { getFocusabledIn, getFocusableIn } from './focusables';\nimport { setFocus } from './setFocus';\nimport { focusNextElement, focusPrevElement } from './sibling';\nimport tabHook from './tabHook';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { getActiveElement } from './utils/getActiveElement';\nexport { tabHook, focusInside, focusIsHidden, focusMerge, getFocusableIn, getFocusabledIn, constants, getAllAffectedNodes, focusNextElement, focusPrevElement, getActiveElement };\nexport default setFocus; //","import { getTabbableNodes } from './utils/DOMutils';\nimport { getAllAffectedNodes } from './utils/all-affected';\nimport { isGuard, isNotAGuard } from './utils/is';\nimport { getTopCommonParent } from './utils/parenting';\n/**\n * return list of focusable elements inside a given top node\n * @deprecated use {@link getFocusableIn}. Yep, there is typo in the function name\n */\n\nexport var getFocusabledIn = function getFocusabledIn(topNode) {\n var entries = getAllAffectedNodes(topNode).filter(isNotAGuard);\n var commonParent = getTopCommonParent(topNode, topNode, entries);\n var visibilityCache = new Map();\n var outerNodes = getTabbableNodes([commonParent], visibilityCache, true);\n var innerElements = getTabbableNodes(entries, visibilityCache).filter(function (_a) {\n var node = _a.node;\n return isNotAGuard(node);\n }).map(function (_a) {\n var node = _a.node;\n return node;\n });\n return outerNodes.map(function (_a) {\n var node = _a.node,\n index = _a.index;\n return {\n node: node,\n index: index,\n lockItem: innerElements.indexOf(node) >= 0,\n guard: isGuard(node)\n };\n });\n};\n/**\n * return list of focusable elements inside a given top node\n */\n\nexport var getFocusableIn = getFocusabledIn;","export function deferAction(action) {\n // Hidding setImmediate from Webpack to avoid inserting polyfill\n var _window = window,\n setImmediate = _window.setImmediate;\n\n if (typeof setImmediate !== 'undefined') {\n setImmediate(action);\n } else {\n setTimeout(action, 1);\n }\n}\nexport var inlineProp = function inlineProp(name, value) {\n var obj = {};\n obj[name] = value;\n return obj;\n};","/* eslint-disable no-mixed-operators */\nimport * as React from 'react';\nimport withSideEffect from 'react-clientside-effect';\nimport moveFocusInside, { focusInside, focusIsHidden, getFocusabledIn } from 'focus-lock';\nimport { deferAction } from './util';\nimport { mediumFocus, mediumBlur, mediumEffect } from './medium';\n\nvar focusOnBody = function focusOnBody() {\n return document && document.activeElement === document.body;\n};\n\nvar isFreeFocus = function isFreeFocus() {\n return focusOnBody() || focusIsHidden();\n};\n\nvar lastActiveTrap = null;\nvar lastActiveFocus = null;\nvar lastPortaledElement = null;\nvar focusWasOutsideWindow = false;\n\nvar defaultWhitelist = function defaultWhitelist() {\n return true;\n};\n\nvar focusWhitelisted = function focusWhitelisted(activeElement) {\n return (lastActiveTrap.whiteList || defaultWhitelist)(activeElement);\n};\n\nvar recordPortal = function recordPortal(observerNode, portaledElement) {\n lastPortaledElement = {\n observerNode: observerNode,\n portaledElement: portaledElement\n };\n};\n\nvar focusIsPortaledPair = function focusIsPortaledPair(element) {\n return lastPortaledElement && lastPortaledElement.portaledElement === element;\n};\n\nfunction autoGuard(startIndex, end, step, allNodes) {\n var lastGuard = null;\n var i = startIndex;\n\n do {\n var item = allNodes[i];\n\n if (item.guard) {\n if (item.node.dataset.focusAutoGuard) {\n lastGuard = item;\n }\n } else if (item.lockItem) {\n if (i !== startIndex) {\n // we will tab to the next element\n return;\n }\n\n lastGuard = null;\n } else {\n break;\n }\n } while ((i += step) !== end);\n\n if (lastGuard) {\n lastGuard.node.tabIndex = 0;\n }\n}\n\nvar extractRef = function extractRef(ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\n\nvar focusWasOutside = function focusWasOutside(crossFrameOption) {\n if (crossFrameOption) {\n // with cross frame return true for any value\n return Boolean(focusWasOutsideWindow);\n } // in other case return only of focus went a while aho\n\n\n return focusWasOutsideWindow === 'meanwhile';\n};\n\nvar checkInHost = function checkInHost(check, el, boundary) {\n return el && ( // find host equal to active element and check nested active element\n el.host === check && (!el.activeElement || boundary.contains(el.activeElement)) // dive up\n || el.parentNode && checkInHost(check, el.parentNode, boundary));\n};\n\nvar withinHost = function withinHost(activeElement, workingArea) {\n return workingArea.some(function (area) {\n return checkInHost(activeElement, area, area);\n });\n};\n\nvar activateTrap = function activateTrap() {\n var result = false;\n\n if (lastActiveTrap) {\n var _lastActiveTrap = lastActiveTrap,\n observed = _lastActiveTrap.observed,\n persistentFocus = _lastActiveTrap.persistentFocus,\n autoFocus = _lastActiveTrap.autoFocus,\n shards = _lastActiveTrap.shards,\n crossFrame = _lastActiveTrap.crossFrame,\n focusOptions = _lastActiveTrap.focusOptions;\n var workingNode = observed || lastPortaledElement && lastPortaledElement.portaledElement;\n var activeElement = document && document.activeElement;\n\n if (workingNode) {\n var workingArea = [workingNode].concat(shards.map(extractRef).filter(Boolean));\n\n if (!activeElement || focusWhitelisted(activeElement)) {\n if (persistentFocus || focusWasOutside(crossFrame) || !isFreeFocus() || !lastActiveFocus && autoFocus) {\n if (workingNode && !( // active element is \"inside\" working area\n focusInside(workingArea) || // check for shadow-dom contained elements\n activeElement && withinHost(activeElement, workingArea) || focusIsPortaledPair(activeElement, workingNode))) {\n if (document && !lastActiveFocus && activeElement && !autoFocus) {\n // Check if blur() exists, which is missing on certain elements on IE\n if (activeElement.blur) {\n activeElement.blur();\n }\n\n document.body.focus();\n } else {\n result = moveFocusInside(workingArea, lastActiveFocus, {\n focusOptions: focusOptions\n });\n lastPortaledElement = {};\n }\n }\n\n focusWasOutsideWindow = false;\n lastActiveFocus = document && document.activeElement;\n }\n }\n\n if (document) {\n var newActiveElement = document && document.activeElement;\n var allNodes = getFocusabledIn(workingArea);\n var focusedIndex = allNodes.map(function (_ref) {\n var node = _ref.node;\n return node;\n }).indexOf(newActiveElement);\n\n if (focusedIndex > -1) {\n // remove old focus\n allNodes.filter(function (_ref2) {\n var guard = _ref2.guard,\n node = _ref2.node;\n return guard && node.dataset.focusAutoGuard;\n }).forEach(function (_ref3) {\n var node = _ref3.node;\n return node.removeAttribute('tabIndex');\n });\n autoGuard(focusedIndex, allNodes.length, +1, allNodes);\n autoGuard(focusedIndex, -1, -1, allNodes);\n }\n }\n }\n }\n\n return result;\n};\n\nvar onTrap = function onTrap(event) {\n if (activateTrap() && event) {\n // prevent scroll jump\n event.stopPropagation();\n event.preventDefault();\n }\n};\n\nvar onBlur = function onBlur() {\n return deferAction(activateTrap);\n};\n\nvar onFocus = function onFocus(event) {\n // detect portal\n var source = event.target;\n var currentNode = event.currentTarget;\n\n if (!currentNode.contains(source)) {\n recordPortal(currentNode, source);\n }\n};\n\nvar FocusWatcher = function FocusWatcher() {\n return null;\n};\n\nvar FocusTrap = function FocusTrap(_ref4) {\n var children = _ref4.children;\n return /*#__PURE__*/React.createElement(\"div\", {\n onBlur: onBlur,\n onFocus: onFocus\n }, children);\n};\n\nvar onWindowBlur = function onWindowBlur() {\n focusWasOutsideWindow = 'just'; // using setTimeout to set this variable after React/sidecar reaction\n\n setTimeout(function () {\n focusWasOutsideWindow = 'meanwhile';\n }, 0);\n};\n\nvar attachHandler = function attachHandler() {\n document.addEventListener('focusin', onTrap);\n document.addEventListener('focusout', onBlur);\n window.addEventListener('blur', onWindowBlur);\n};\n\nvar detachHandler = function detachHandler() {\n document.removeEventListener('focusin', onTrap);\n document.removeEventListener('focusout', onBlur);\n window.removeEventListener('blur', onWindowBlur);\n};\n\nfunction reducePropsToState(propsList) {\n return propsList.filter(function (_ref5) {\n var disabled = _ref5.disabled;\n return !disabled;\n });\n}\n\nfunction handleStateChangeOnClient(traps) {\n var trap = traps.slice(-1)[0];\n\n if (trap && !lastActiveTrap) {\n attachHandler();\n }\n\n var lastTrap = lastActiveTrap;\n var sameTrap = lastTrap && trap && trap.id === lastTrap.id;\n lastActiveTrap = trap;\n\n if (lastTrap && !sameTrap) {\n lastTrap.onDeactivation(); // return focus only of last trap was removed\n\n if (!traps.filter(function (_ref6) {\n var id = _ref6.id;\n return id === lastTrap.id;\n }).length) {\n // allow defer is no other trap is awaiting restore\n lastTrap.returnFocus(!trap);\n }\n }\n\n if (trap) {\n lastActiveFocus = null;\n\n if (!sameTrap || lastTrap.observed !== trap.observed) {\n trap.onActivation();\n }\n\n activateTrap(true);\n deferAction(activateTrap);\n } else {\n detachHandler();\n lastActiveFocus = null;\n }\n} // bind medium\n\n\nmediumFocus.assignSyncMedium(onFocus);\nmediumBlur.assignMedium(onBlur);\nmediumEffect.assignMedium(function (cb) {\n return cb({\n moveFocusInside: moveFocusInside,\n focusInside: focusInside\n });\n});\nexport default withSideEffect(reducePropsToState, handleStateChangeOnClient)(FocusWatcher);","import { FOCUS_ALLOW } from './constants';\nimport { contains } from './utils/DOMutils';\nimport { toArray } from './utils/array';\nimport { getActiveElement } from './utils/getActiveElement';\n/**\n * focus is hidden FROM the focus-lock\n * ie contained inside a node focus-lock shall ignore\n * @returns {boolean} focus is currently is in \"allow\" area\n */\n\nexport var focusIsHidden = function focusIsHidden() {\n var activeElement = document && getActiveElement();\n\n if (!activeElement) {\n return false;\n } // this does not support setting FOCUS_ALLOW within shadow dom\n\n\n return toArray(document.querySelectorAll(\"[\".concat(FOCUS_ALLOW, \"]\"))).some(function (node) {\n return contains(node, activeElement);\n });\n};","import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport FocusLockUI from './Lock';\nimport FocusTrap from './Trap';\n/* that would be a BREAKING CHANGE!\n// delaying sidecar execution till the first usage\nconst RequireSideCar = (props) => {\n // eslint-disable-next-line global-require\n const SideCar = require('./Trap').default;\n return <SideCar {...props} />;\n};\n*/\n\nvar FocusLockCombination = /*#__PURE__*/React.forwardRef(function FocusLockUICombination(props, ref) {\n return /*#__PURE__*/React.createElement(FocusLockUI, _extends({\n sideCar: FocusTrap,\n ref: ref\n }, props));\n});\n\nvar _ref = FocusLockUI.propTypes || {},\n sideCar = _ref.sideCar;\n\nexport default FocusLockCombination;","import FocusLock from './Combination';\nexport * from './UI';\nexport default FocusLock;","import _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport \"core-js/modules/esnext.global-this.js\";\n\n// src/dom.ts\nfunction isElement(el) {\n return el != null && typeof el == \"object\" && \"nodeType\" in el && el.nodeType === Node.ELEMENT_NODE;\n}\n\nfunction isHTMLElement(el) {\n var _el$ownerDocument$def;\n\n if (!isElement(el)) return false;\n var win = (_el$ownerDocument$def = el.ownerDocument.defaultView) !== null && _el$ownerDocument$def !== void 0 ? _el$ownerDocument$def : window;\n return el instanceof win.HTMLElement;\n}\n\nfunction getOwnerWindow(node) {\n var _ref;\n\n var _a;\n\n return (_ref = (_a = getOwnerDocument(node)) == null ? void 0 : _a.defaultView) !== null && _ref !== void 0 ? _ref : window;\n}\n\nfunction getOwnerDocument(node) {\n return isElement(node) ? node.ownerDocument : document;\n}\n\nfunction getEventWindow(event) {\n var _event$view;\n\n return (_event$view = event.view) !== null && _event$view !== void 0 ? _event$view : window;\n}\n\nfunction isBrowser() {\n return Boolean(globalThis == null ? void 0 : globalThis.document);\n}\n\nfunction getActiveElement(node) {\n return getOwnerDocument(node).activeElement;\n}\n\nfunction contains(parent, child) {\n if (!parent) return false;\n return parent === child || parent.contains(child);\n} // src/tabbable.ts\n\n\nvar hasDisplayNone = function hasDisplayNone(element) {\n return window.getComputedStyle(element).display === \"none\";\n};\n\nvar hasTabIndex = function hasTabIndex(element) {\n return element.hasAttribute(\"tabindex\");\n};\n\nvar hasNegativeTabIndex = function hasNegativeTabIndex(element) {\n return hasTabIndex(element) && element.tabIndex === -1;\n};\n\nfunction isDisabled(element) {\n return Boolean(element.getAttribute(\"disabled\")) === true || Boolean(element.getAttribute(\"aria-disabled\")) === true;\n}\n\nfunction isInputElement(element) {\n return isHTMLElement(element) && element.localName === \"input\" && \"select\" in element;\n}\n\nfunction isActiveElement(element) {\n var doc = isHTMLElement(element) ? getOwnerDocument(element) : document;\n return doc.activeElement === element;\n}\n\nfunction hasFocusWithin(element) {\n if (!document.activeElement) return false;\n return element.contains(document.activeElement);\n}\n\nfunction isHidden(element) {\n if (element.parentElement && isHidden(element.parentElement)) return true;\n return element.hidden;\n}\n\nfunction isContentEditable(element) {\n var value = element.getAttribute(\"contenteditable\");\n return value !== \"false\" && value != null;\n}\n\nfunction isFocusable(element) {\n if (!isHTMLElement(element) || isHidden(element) || isDisabled(element)) {\n return false;\n }\n\n var localName = element.localName;\n var focusableTags = [\"input\", \"select\", \"textarea\", \"button\"];\n if (focusableTags.indexOf(localName) >= 0) return true;\n var others = {\n a: function a() {\n return element.hasAttribute(\"href\");\n },\n audio: function audio() {\n return element.hasAttribute(\"controls\");\n },\n video: function video() {\n return element.hasAttribute(\"controls\");\n }\n };\n\n if (localName in others) {\n return others[localName]();\n }\n\n if (isContentEditable(element)) return true;\n return hasTabIndex(element);\n}\n\nfunction isTabbable(element) {\n if (!element) return false;\n return isHTMLElement(element) && isFocusable(element) && !hasNegativeTabIndex(element);\n} // src/index.ts\n\n\nvar focusableElList = [\"input:not(:disabled):not([disabled])\", \"select:not(:disabled):not([disabled])\", \"textarea:not(:disabled):not([disabled])\", \"embed\", \"iframe\", \"object\", \"a[href]\", \"area[href]\", \"button:not(:disabled):not([disabled])\", \"[tabindex]\", \"audio[controls]\", \"video[controls]\", \"*[tabindex]:not([aria-disabled])\", \"*[contenteditable]\"];\nvar focusableElSelector = focusableElList.join();\n\nvar isVisible = function isVisible(el) {\n return el.offsetWidth > 0 && el.offsetHeight > 0;\n};\n\nfunction getAllFocusable(container) {\n var focusableEls = Array.from(container.querySelectorAll(focusableElSelector));\n focusableEls.unshift(container);\n return focusableEls.filter(function (el) {\n return isFocusable(el) && isVisible(el);\n });\n}\n\nfunction getFirstFocusable(container) {\n var allFocusable = getAllFocusable(container);\n return allFocusable.length ? allFocusable[0] : null;\n}\n\nfunction getAllTabbable(container, fallbackToFocusable) {\n var allFocusable = Array.from(container.querySelectorAll(focusableElSelector));\n var allTabbable = allFocusable.filter(isTabbable);\n\n if (isTabbable(container)) {\n allTabbable.unshift(container);\n }\n\n if (!allTabbable.length && fallbackToFocusable) {\n return allFocusable;\n }\n\n return allTabbable;\n}\n\nfunction getFirstTabbableIn(container, fallbackToFocusable) {\n var _getAllTabbable = getAllTabbable(container, fallbackToFocusable),\n _getAllTabbable2 = _slicedToArray(_getAllTabbable, 1),\n first = _getAllTabbable2[0];\n\n return first || null;\n}\n\nfunction getLastTabbableIn(container, fallbackToFocusable) {\n var allTabbable = getAllTabbable(container, fallbackToFocusable);\n return allTabbable[allTabbable.length - 1] || null;\n}\n\nfunction getNextTabbable(container, fallbackToFocusable) {\n var allFocusable = getAllFocusable(container);\n var index = allFocusable.indexOf(document.activeElement);\n var slice = allFocusable.slice(index + 1);\n return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);\n}\n\nfunction getPreviousTabbable(container, fallbackToFocusable) {\n var allFocusable = getAllFocusable(container).reverse();\n var index = allFocusable.indexOf(document.activeElement);\n var slice = allFocusable.slice(index + 1);\n return slice.find(isTabbable) || allFocusable.find(isTabbable) || (fallbackToFocusable ? slice[0] : null);\n}\n\nexport { contains, getActiveElement, getAllFocusable, getAllTabbable, getEventWindow, getFirstFocusable, getFirstTabbableIn, getLastTabbableIn, getNextTabbable, getOwnerDocument, getOwnerWindow, getPreviousTabbable, hasDisplayNone, hasFocusWithin, hasNegativeTabIndex, hasTabIndex, isActiveElement, isBrowser, isContentEditable, isDisabled, isElement, isFocusable, isHTMLElement, isHidden, isInputElement, isTabbable };","// ../../../react-shim.js\nimport React from \"react\"; // src/focus-lock.tsx\n\nimport ReactFocusLock from \"react-focus-lock\";\nimport { getAllFocusable } from \"@chakra-ui/dom-utils\";\nimport { useCallback } from \"react\";\n\nvar FocusLock = function FocusLock(props) {\n var initialFocusRef = props.initialFocusRef,\n finalFocusRef = props.finalFocusRef,\n contentRef = props.contentRef,\n restoreFocus = props.restoreFocus,\n children = props.children,\n isDisabled = props.isDisabled,\n autoFocus = props.autoFocus,\n persistentFocus = props.persistentFocus,\n lockFocusAcrossFrames = props.lockFocusAcrossFrames;\n var onActivation = useCallback(function () {\n if (initialFocusRef == null ? void 0 : initialFocusRef.current) {\n initialFocusRef.current.focus();\n } else if (contentRef == null ? void 0 : contentRef.current) {\n var focusables = getAllFocusable(contentRef.current);\n\n if (focusables.length === 0) {\n requestAnimationFrame(function () {\n var _a;\n\n (_a = contentRef.current) == null ? void 0 : _a.focus();\n });\n }\n }\n }, [initialFocusRef, contentRef]);\n var onDeactivation = useCallback(function () {\n var _a;\n\n (_a = finalFocusRef == null ? void 0 : finalFocusRef.current) == null ? void 0 : _a.focus();\n }, [finalFocusRef]);\n var returnFocus = restoreFocus && !finalFocusRef;\n return /* @__PURE__ */React.createElement(ReactFocusLock, {\n crossFrame: lockFocusAcrossFrames,\n persistentFocus: persistentFocus,\n autoFocus: autoFocus,\n disabled: isDisabled,\n onActivation: onActivation,\n onDeactivation: onDeactivation,\n returnFocus: returnFocus\n }, children);\n};\n\nFocusLock.displayName = \"FocusLock\";\nexport { FocusLock };","export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\n\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';","import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();","import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\n\nvar nothing = function nothing() {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\n\n\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing\n }),\n callbacks = _a[0],\n setCallbacks = _a[1];\n\n var forwardProps = props.forwardProps,\n children = props.children,\n className = props.className,\n removeScrollBar = props.removeScrollBar,\n enabled = props.enabled,\n shards = props.shards,\n sideCar = props.sideCar,\n noIsolation = props.noIsolation,\n inert = props.inert,\n allowPinchZoom = props.allowPinchZoom,\n _b = props.as,\n Container = _b === void 0 ? 'div' : _b,\n rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\"]);\n\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n\n var containerProps = __assign(__assign({}, rest), callbacks);\n\n return React.createElement(React.Fragment, null, enabled && React.createElement(SideCar, {\n sideCar: effectCar,\n removeScrollBar: removeScrollBar,\n shards: shards,\n noIsolation: noIsolation,\n inert: inert,\n setCallbacks: setCallbacks,\n allowPinchZoom: !!allowPinchZoom,\n lockRef: ref\n }), forwardProps ? React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), {\n ref: containerRef\n })) : React.createElement(Container, __assign({}, containerProps, {\n className: className,\n ref: containerRef\n }), children));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName\n};\nexport { RemoveScroll };","import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\n\nvar SideCar = function SideCar(_a) {\n var sideCar = _a.sideCar,\n rest = __rest(_a, [\"sideCar\"]);\n\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n\n var Target = sideCar.read();\n\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n\n return React.createElement(Target, __assign({}, rest));\n};\n\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}","var currentNonce;\nexport var setNonce = function setNonce(nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function getNonce() {\n if (currentNonce) {\n return currentNonce;\n }\n\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n\n return undefined;\n};","import { getNonce } from 'get-nonce';\n\nfunction makeStyleTag() {\n if (!document) return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n\n return tag;\n}\n\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n } else {\n tag.appendChild(document.createTextNode(css));\n }\n}\n\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\n\nexport var stylesheetSingleton = function stylesheetSingleton() {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function add(style) {\n if (counter == 0) {\n if (stylesheet = makeStyleTag()) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n\n counter++;\n },\n remove: function remove() {\n counter--;\n\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n }\n };\n};","import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\n\nexport var styleSingleton = function styleSingleton() {\n var useStyle = styleHookSingleton();\n\n var Sheet = function Sheet(_a) {\n var styles = _a.styles,\n dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n\n return Sheet;\n};","import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\n\nexport var styleHookSingleton = function styleHookSingleton() {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};","export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0\n};\n\nvar parse = function parse(x) {\n return parseInt(x || '', 10) || 0;\n};\n\nvar getOffset = function getOffset(gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\n\nexport var getGapWidth = function getGapWidth(gapMode) {\n if (gapMode === void 0) {\n gapMode = 'margin';\n }\n\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0])\n };\n};","import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton(); // important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\n\nvar getStyles = function getStyles(_a, allowRelative, gapMode, important) {\n var left = _a.left,\n top = _a.top,\n right = _a.right,\n gap = _a.gap;\n\n if (gapMode === void 0) {\n gapMode = 'margin';\n }\n\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([allowRelative && \"position: relative \".concat(important, \";\"), gapMode === 'margin' && \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"), gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\")].filter(Boolean).join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\n\n\nexport var RemoveScrollBar = function RemoveScrollBar(props) {\n var noRelative = props.noRelative,\n noImportant = props.noImportant,\n _a = props.gapMode,\n gapMode = _a === void 0 ? 'margin' : _a;\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n\n var gap = React.useMemo(function () {\n return getGapWidth(gapMode);\n }, [gapMode]);\n return React.createElement(Style, {\n styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '')\n });\n};","var passiveSupported = false;\n\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function get() {\n passiveSupported = true;\n return true;\n }\n }); // @ts-ignore\n\n window.addEventListener('test', options, options); // @ts-ignore\n\n window.removeEventListener('test', options, options);\n } catch (err) {\n passiveSupported = false;\n }\n}\n\nexport var nonPassive = passiveSupported ? {\n passive: false\n} : false;","var alwaysContainsScroll = function alwaysContainsScroll(node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\n\nvar elementCanBeScrolled = function elementCanBeScrolled(node, overflow) {\n var styles = window.getComputedStyle(node);\n return (// not-not-scrollable\n styles[overflow] !== 'hidden' && // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible')\n );\n};\n\nvar elementCouldBeVScrolled = function elementCouldBeVScrolled(node) {\n return elementCanBeScrolled(node, 'overflowY');\n};\n\nvar elementCouldBeHScrolled = function elementCouldBeHScrolled(node) {\n return elementCanBeScrolled(node, 'overflowX');\n};\n\nexport var locationCouldBeScrolled = function locationCouldBeScrolled(axis, node) {\n var current = node;\n\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n\n var isScrollable = elementCouldBeScrolled(axis, current);\n\n if (isScrollable) {\n var _a = getScrollVariables(axis, current),\n s = _a[1],\n d = _a[2];\n\n if (s > d) {\n return true;\n }\n }\n\n current = current.parentNode;\n } while (current && current !== document.body);\n\n return false;\n};\n\nvar getVScrollVariables = function getVScrollVariables(_a) {\n var scrollTop = _a.scrollTop,\n scrollHeight = _a.scrollHeight,\n clientHeight = _a.clientHeight;\n return [scrollTop, scrollHeight, clientHeight];\n};\n\nvar getHScrollVariables = function getHScrollVariables(_a) {\n var scrollLeft = _a.scrollLeft,\n scrollWidth = _a.scrollWidth,\n clientWidth = _a.clientWidth;\n return [scrollLeft, scrollWidth, clientWidth];\n};\n\nvar elementCouldBeScrolled = function elementCouldBeScrolled(axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\n\nvar getScrollVariables = function getScrollVariables(axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\n\nvar getDirectionFactor = function getDirectionFactor(axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\n\nexport var handleScroll = function handleScroll(axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta; // find scrollable target\n\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n\n do {\n var _a = getScrollVariables(axis, target),\n position = _a[0],\n scroll_1 = _a[1],\n capacity = _a[2];\n\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n\n target = target.parentNode;\n } while ( // portaled content\n !targetInLock && target !== document.body || // self content\n targetInLock && (endTarget.contains(target) || endTarget === target));\n\n if (isDeltaPositive && (noOverscroll && availableScroll === 0 || !noOverscroll && delta > availableScroll)) {\n shouldCancelScroll = true;\n } else if (!isDeltaPositive && (noOverscroll && availableScrollTop === 0 || !noOverscroll && -delta > availableScrollTop)) {\n shouldCancelScroll = true;\n }\n\n return shouldCancelScroll;\n};","import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function getTouchXY(event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function getDeltaXY(event) {\n return [event.deltaX, event.deltaY];\n};\n\nvar extractRef = function extractRef(ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\n\nvar deltaCompare = function deltaCompare(x, y) {\n return x[0] === y[0] && x[1] === y[1];\n};\n\nvar generateStyle = function generateStyle(id) {\n return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\");\n};\n\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(function () {\n return styleSingleton();\n })[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n\n allow_1.forEach(function (el) {\n return el.classList.add(\"allow-interactivity-\".concat(id));\n });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) {\n return el.classList.remove(\"allow-interactivity-\".concat(id));\n });\n };\n }\n\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if ('touches' in event && event.touches.length === 2) {\n return !lastProps.current.allowPinchZoom;\n }\n\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v'; // allow horizontal touch move on Range inputs. They will not cause any scroll\n\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n } else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target); // other axis might be not scrollable\n }\n\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n\n if (!currentAxis) {\n return true;\n }\n\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) {\n return e.name === event.type && e.target === event.target && deltaCompare(e.delta, delta);\n })[0]; // self event, and should be canceled\n\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n\n return;\n } // outside or shard event\n\n\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || []).map(extractRef).filter(Boolean).filter(function (node) {\n return node.contains(event.target);\n });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = {\n name: name,\n delta: delta,\n target: target,\n should: should\n };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) {\n return e !== event;\n });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) {\n return inst !== Style;\n });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar,\n inert = props.inert;\n return React.createElement(React.Fragment, null, inert ? React.createElement(Style, {\n styles: generateStyle(id)\n }) : null, removeScrollBar ? React.createElement(RemoveScrollBar, {\n gapMode: \"margin\"\n }) : null);\n}","import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);","import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) {\n return React.createElement(RemoveScroll, __assign({}, props, {\n ref: ref,\n sideCar: SideCar\n }));\n});\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;","import _objectWithoutProperties from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nimport _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport _classCallCheck from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/classCallCheck.js\";\nimport _createClass from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/createClass.js\";\nimport _defineProperty from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nvar _excluded = [\"className\"],\n _excluded2 = [\"onClick\", \"className\"],\n _excluded3 = [\"preset\", \"motionProps\"],\n _excluded4 = [\"className\", \"children\", \"containerProps\", \"motionProps\"],\n _excluded5 = [\"className\"],\n _excluded6 = [\"className\"],\n _excluded7 = [\"className\", \"transition\", \"motionProps\"],\n _excluded8 = [\"leastDestructiveRef\"],\n _excluded9 = [\"isOpen\", \"onClose\", \"placement\", \"children\"],\n _excluded10 = [\"className\", \"children\", \"motionProps\", \"containerProps\"];\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n// ../../../react-shim.js\nimport React from \"react\"; // src/modal.tsx\n\nimport { Portal } from \"@chakra-ui/portal\";\nimport { createContext } from \"@chakra-ui/react-context\";\nimport { useMultiStyleConfig } from \"@chakra-ui/system\";\nimport { AnimatePresence } from \"framer-motion\"; // ../../utilities/shared-utils/src/index.ts\n\nvar cx = function cx() {\n for (var _len = arguments.length, classNames = new Array(_len), _key = 0; _key < _len; _key++) {\n classNames[_key] = arguments[_key];\n }\n\n return classNames.filter(Boolean).join(\" \");\n};\n\nfunction callAllHandlers() {\n for (var _len2 = arguments.length, fns = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n fns[_key2] = arguments[_key2];\n }\n\n return function func(event) {\n fns.some(function (fn) {\n fn == null ? void 0 : fn(event);\n return event == null ? void 0 : event.defaultPrevented;\n });\n };\n} // src/use-modal.ts\n\n\nimport { mergeRefs } from \"@chakra-ui/react-use-merge-refs\";\nimport { hideOthers } from \"aria-hidden\";\nimport { useCallback, useEffect as useEffect2, useId, useMemo, useRef, useState } from \"react\"; // src/modal-manager.ts\n\nimport { useEffect } from \"react\";\n\nvar ModalManager = /*#__PURE__*/function () {\n function ModalManager() {\n _classCallCheck(this, ModalManager);\n\n _defineProperty(this, \"modals\", void 0);\n\n this.modals = [];\n }\n\n _createClass(ModalManager, [{\n key: \"add\",\n value: function add(modal) {\n this.modals.push(modal);\n }\n }, {\n key: \"remove\",\n value: function remove(modal) {\n this.modals = this.modals.filter(function (_modal) {\n return _modal !== modal;\n });\n }\n }, {\n key: \"isTopModal\",\n value: function isTopModal(modal) {\n var topmostModal = this.modals[this.modals.length - 1];\n return topmostModal === modal;\n }\n }]);\n\n return ModalManager;\n}();\n\nvar manager = new ModalManager();\n\nfunction useModalManager(ref, isOpen) {\n useEffect(function () {\n if (isOpen) {\n manager.add(ref);\n }\n\n return function () {\n manager.remove(ref);\n };\n }, [isOpen, ref]);\n} // src/use-modal.ts\n\n\nfunction useModal(props) {\n var isOpen = props.isOpen,\n onClose = props.onClose,\n id = props.id,\n _props$closeOnOverlay = props.closeOnOverlayClick,\n closeOnOverlayClick = _props$closeOnOverlay === void 0 ? true : _props$closeOnOverlay,\n _props$closeOnEsc = props.closeOnEsc,\n closeOnEsc = _props$closeOnEsc === void 0 ? true : _props$closeOnEsc,\n _props$useInert = props.useInert,\n useInert = _props$useInert === void 0 ? true : _props$useInert,\n onOverlayClickProp = props.onOverlayClick,\n onEsc = props.onEsc;\n var dialogRef = useRef(null);\n var overlayRef = useRef(null);\n\n var _useIds = useIds(id, \"chakra-modal\", \"chakra-modal--header\", \"chakra-modal--body\"),\n _useIds2 = _slicedToArray(_useIds, 3),\n dialogId = _useIds2[0],\n headerId = _useIds2[1],\n bodyId = _useIds2[2];\n\n useAriaHidden(dialogRef, isOpen && useInert);\n useModalManager(dialogRef, isOpen);\n var mouseDownTarget = useRef(null);\n var onMouseDown = useCallback(function (event) {\n mouseDownTarget.current = event.target;\n }, []);\n var onKeyDown = useCallback(function (event) {\n if (event.key === \"Escape\") {\n event.stopPropagation();\n\n if (closeOnEsc) {\n onClose == null ? void 0 : onClose();\n }\n\n onEsc == null ? void 0 : onEsc();\n }\n }, [closeOnEsc, onClose, onEsc]);\n\n var _useState = useState(false),\n _useState2 = _slicedToArray(_useState, 2),\n headerMounted = _useState2[0],\n setHeaderMounted = _useState2[1];\n\n var _useState3 = useState(false),\n _useState4 = _slicedToArray(_useState3, 2),\n bodyMounted = _useState4[0],\n setBodyMounted = _useState4[1];\n\n var getDialogProps = useCallback(function () {\n var props2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n return _objectSpread(_objectSpread({\n role: \"dialog\"\n }, props2), {}, {\n ref: mergeRefs(ref, dialogRef),\n id: dialogId,\n tabIndex: -1,\n \"aria-modal\": true,\n \"aria-labelledby\": headerMounted ? headerId : void 0,\n \"aria-describedby\": bodyMounted ? bodyId : void 0,\n onClick: callAllHandlers(props2.onClick, function (event) {\n return event.stopPropagation();\n })\n });\n }, [bodyId, bodyMounted, dialogId, headerId, headerMounted]);\n var onOverlayClick = useCallback(function (event) {\n event.stopPropagation();\n if (mouseDownTarget.current !== event.target) return;\n if (!manager.isTopModal(dialogRef)) return;\n\n if (closeOnOverlayClick) {\n onClose == null ? void 0 : onClose();\n }\n\n onOverlayClickProp == null ? void 0 : onOverlayClickProp();\n }, [onClose, closeOnOverlayClick, onOverlayClickProp]);\n var getDialogContainerProps = useCallback(function () {\n var props2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n return _objectSpread(_objectSpread({}, props2), {}, {\n ref: mergeRefs(ref, overlayRef),\n onClick: callAllHandlers(props2.onClick, onOverlayClick),\n onKeyDown: callAllHandlers(props2.onKeyDown, onKeyDown),\n onMouseDown: callAllHandlers(props2.onMouseDown, onMouseDown)\n });\n }, [onKeyDown, onMouseDown, onOverlayClick]);\n return {\n isOpen: isOpen,\n onClose: onClose,\n headerId: headerId,\n bodyId: bodyId,\n setBodyMounted: setBodyMounted,\n setHeaderMounted: setHeaderMounted,\n dialogRef: dialogRef,\n overlayRef: overlayRef,\n getDialogProps: getDialogProps,\n getDialogContainerProps: getDialogContainerProps\n };\n}\n\nfunction useAriaHidden(ref, shouldHide) {\n var currentElement = ref.current;\n useEffect2(function () {\n if (!ref.current || !shouldHide) return void 0;\n return hideOthers(ref.current);\n }, [shouldHide, ref, currentElement]);\n}\n\nfunction useIds(idProp) {\n for (var _len3 = arguments.length, prefixes = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {\n prefixes[_key3 - 1] = arguments[_key3];\n }\n\n var reactId = useId();\n var id = idProp || reactId;\n return useMemo(function () {\n return prefixes.map(function (prefix) {\n return \"\".concat(prefix, \"-\").concat(id);\n });\n }, [id, prefixes]);\n} // src/modal.tsx\n\n\nvar _createContext = createContext({\n name: \"ModalStylesContext\",\n errorMessage: \"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \\\"<Modal />\\\" \"\n}),\n _createContext2 = _slicedToArray(_createContext, 2),\n ModalStylesProvider = _createContext2[0],\n useModalStyles = _createContext2[1];\n\nvar _createContext3 = createContext({\n strict: true,\n name: \"ModalContext\",\n errorMessage: \"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`\"\n}),\n _createContext4 = _slicedToArray(_createContext3, 2),\n ModalContextProvider = _createContext4[0],\n useModalContext = _createContext4[1];\n\nvar Modal = function Modal(props) {\n var portalProps = props.portalProps,\n children = props.children,\n autoFocus = props.autoFocus,\n trapFocus = props.trapFocus,\n initialFocusRef = props.initialFocusRef,\n finalFocusRef = props.finalFocusRef,\n returnFocusOnClose = props.returnFocusOnClose,\n blockScrollOnMount = props.blockScrollOnMount,\n allowPinchZoom = props.allowPinchZoom,\n preserveScrollBarGap = props.preserveScrollBarGap,\n motionPreset = props.motionPreset,\n lockFocusAcrossFrames = props.lockFocusAcrossFrames,\n onCloseComplete = props.onCloseComplete;\n var styles = useMultiStyleConfig(\"Modal\", props);\n var modal = useModal(props);\n\n var context = _objectSpread(_objectSpread({}, modal), {}, {\n autoFocus: autoFocus,\n trapFocus: trapFocus,\n initialFocusRef: initialFocusRef,\n finalFocusRef: finalFocusRef,\n returnFocusOnClose: returnFocusOnClose,\n blockScrollOnMount: blockScrollOnMount,\n allowPinchZoom: allowPinchZoom,\n preserveScrollBarGap: preserveScrollBarGap,\n motionPreset: motionPreset,\n lockFocusAcrossFrames: lockFocusAcrossFrames\n });\n\n return /* @__PURE__ */React.createElement(ModalContextProvider, {\n value: context\n }, /* @__PURE__ */React.createElement(ModalStylesProvider, {\n value: styles\n }, /* @__PURE__ */React.createElement(AnimatePresence, {\n onExitComplete: onCloseComplete\n }, context.isOpen && /* @__PURE__ */React.createElement(Portal, _objectSpread({}, portalProps), children))));\n};\n\nModal.defaultProps = {\n lockFocusAcrossFrames: true,\n returnFocusOnClose: true,\n scrollBehavior: \"outside\",\n trapFocus: true,\n autoFocus: true,\n blockScrollOnMount: true,\n allowPinchZoom: false,\n motionPreset: \"scale\"\n};\nModal.displayName = \"Modal\"; // src/modal-body.tsx\n\nimport { chakra, forwardRef } from \"@chakra-ui/system\";\nimport { useEffect as useEffect3 } from \"react\";\nvar ModalBody = forwardRef(function (props, ref) {\n var className = props.className,\n rest = _objectWithoutProperties(props, _excluded);\n\n var _useModalContext = useModalContext(),\n bodyId = _useModalContext.bodyId,\n setBodyMounted = _useModalContext.setBodyMounted;\n\n useEffect3(function () {\n setBodyMounted(true);\n return function () {\n return setBodyMounted(false);\n };\n }, [setBodyMounted]);\n\n var _className = cx(\"chakra-modal__body\", className);\n\n var styles = useModalStyles();\n return /* @__PURE__ */React.createElement(chakra.div, _objectSpread(_objectSpread({\n ref: ref,\n className: _className,\n id: bodyId\n }, rest), {}, {\n __css: styles.body\n }));\n});\nModalBody.displayName = \"ModalBody\"; // src/modal-close-button.tsx\n\nimport { CloseButton } from \"@chakra-ui/close-button\";\nimport { forwardRef as forwardRef2 } from \"@chakra-ui/system\";\nvar ModalCloseButton = forwardRef2(function (props, ref) {\n var onClick = props.onClick,\n className = props.className,\n rest = _objectWithoutProperties(props, _excluded2);\n\n var _useModalContext2 = useModalContext(),\n onClose = _useModalContext2.onClose;\n\n var _className = cx(\"chakra-modal__close-btn\", className);\n\n var styles = useModalStyles();\n return /* @__PURE__ */React.createElement(CloseButton, _objectSpread({\n ref: ref,\n __css: styles.closeButton,\n className: _className,\n onClick: callAllHandlers(onClick, function (event) {\n event.stopPropagation();\n onClose();\n })\n }, rest));\n});\nModalCloseButton.displayName = \"ModalCloseButton\"; // src/modal-content.tsx\n\nimport { chakra as chakra3, forwardRef as forwardRef4 } from \"@chakra-ui/system\"; // src/modal-focus.tsx\n\nimport { FocusLock } from \"@chakra-ui/focus-lock\";\nimport { usePresence } from \"framer-motion\";\nimport { useEffect as useEffect4 } from \"react\";\nimport { RemoveScroll } from \"react-remove-scroll\";\n\nfunction ModalFocusScope(props) {\n var _useModalContext3 = useModalContext(),\n autoFocus = _useModalContext3.autoFocus,\n trapFocus = _useModalContext3.trapFocus,\n dialogRef = _useModalContext3.dialogRef,\n initialFocusRef = _useModalContext3.initialFocusRef,\n blockScrollOnMount = _useModalContext3.blockScrollOnMount,\n allowPinchZoom = _useModalContext3.allowPinchZoom,\n finalFocusRef = _useModalContext3.finalFocusRef,\n returnFocusOnClose = _useModalContext3.returnFocusOnClose,\n preserveScrollBarGap = _useModalContext3.preserveScrollBarGap,\n lockFocusAcrossFrames = _useModalContext3.lockFocusAcrossFrames;\n\n var _usePresence = usePresence(),\n _usePresence2 = _slicedToArray(_usePresence, 2),\n isPresent = _usePresence2[0],\n safeToRemove = _usePresence2[1];\n\n useEffect4(function () {\n if (!isPresent && safeToRemove) {\n setTimeout(safeToRemove);\n }\n }, [isPresent, safeToRemove]);\n return /* @__PURE__ */React.createElement(FocusLock, {\n autoFocus: autoFocus,\n isDisabled: !trapFocus,\n initialFocusRef: initialFocusRef,\n finalFocusRef: finalFocusRef,\n restoreFocus: returnFocusOnClose,\n contentRef: dialogRef,\n lockFocusAcrossFrames: lockFocusAcrossFrames\n }, /* @__PURE__ */React.createElement(RemoveScroll, {\n removeScrollBar: !preserveScrollBarGap,\n allowPinchZoom: allowPinchZoom,\n enabled: blockScrollOnMount,\n forwardProps: true\n }, props.children));\n} // src/modal-transition.tsx\n\n\nimport { chakra as chakra2 } from \"@chakra-ui/system\";\nimport { scaleFadeConfig, slideFadeConfig } from \"@chakra-ui/transition\";\nimport { motion } from \"framer-motion\";\nimport { forwardRef as forwardRef3 } from \"react\";\nvar transitions = {\n slideInBottom: _objectSpread(_objectSpread({}, slideFadeConfig), {}, {\n custom: {\n offsetY: 16,\n reverse: true\n }\n }),\n slideInRight: _objectSpread(_objectSpread({}, slideFadeConfig), {}, {\n custom: {\n offsetX: 16,\n reverse: true\n }\n }),\n scale: _objectSpread(_objectSpread({}, scaleFadeConfig), {}, {\n custom: {\n initialScale: 0.95,\n reverse: true\n }\n }),\n none: {}\n};\nvar MotionSection = chakra2(motion.section);\n\nvar getMotionProps = function getMotionProps(preset) {\n return transitions[preset || \"none\"];\n};\n\nvar ModalTransition = forwardRef3(function (props, ref) {\n var preset = props.preset,\n _props$motionProps = props.motionProps,\n motionProps = _props$motionProps === void 0 ? getMotionProps(preset) : _props$motionProps,\n rest = _objectWithoutProperties(props, _excluded3);\n\n return /* @__PURE__ */React.createElement(MotionSection, _objectSpread(_objectSpread({\n ref: ref\n }, motionProps), rest));\n});\nModalTransition.displayName = \"ModalTransition\"; // src/modal-content.tsx\n\nvar ModalContent = forwardRef4(function (props, ref) {\n var className = props.className,\n children = props.children,\n rootProps = props.containerProps,\n motionProps = props.motionProps,\n rest = _objectWithoutProperties(props, _excluded4);\n\n var _useModalContext4 = useModalContext(),\n getDialogProps = _useModalContext4.getDialogProps,\n getDialogContainerProps = _useModalContext4.getDialogContainerProps;\n\n var dialogProps = getDialogProps(rest, ref);\n var containerProps = getDialogContainerProps(rootProps);\n\n var _className = cx(\"chakra-modal__content\", className);\n\n var styles = useModalStyles();\n\n var dialogStyles = _objectSpread({\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n width: \"100%\",\n outline: 0\n }, styles.dialog);\n\n var dialogContainerStyles = _objectSpread({\n display: \"flex\",\n width: \"100vw\",\n height: \"$100vh\",\n position: \"fixed\",\n left: 0,\n top: 0\n }, styles.dialogContainer);\n\n var _useModalContext5 = useModalContext(),\n motionPreset = _useModalContext5.motionPreset;\n\n return /* @__PURE__ */React.createElement(ModalFocusScope, null, /* @__PURE__ */React.createElement(chakra3.div, _objectSpread(_objectSpread({}, containerProps), {}, {\n className: \"chakra-modal__content-container\",\n tabIndex: -1,\n __css: dialogContainerStyles\n }), /* @__PURE__ */React.createElement(ModalTransition, _objectSpread(_objectSpread({\n preset: motionPreset,\n motionProps: motionProps,\n className: _className\n }, dialogProps), {}, {\n __css: dialogStyles\n }), children)));\n});\nModalContent.displayName = \"ModalContent\"; // src/modal-footer.tsx\n\nimport { chakra as chakra4, forwardRef as forwardRef5 } from \"@chakra-ui/system\";\nvar ModalFooter = forwardRef5(function (props, ref) {\n var className = props.className,\n rest = _objectWithoutProperties(props, _excluded5);\n\n var _className = cx(\"chakra-modal__footer\", className);\n\n var styles = useModalStyles();\n\n var footerStyles = _objectSpread({\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"flex-end\"\n }, styles.footer);\n\n return /* @__PURE__ */React.createElement(chakra4.footer, _objectSpread(_objectSpread({\n ref: ref\n }, rest), {}, {\n __css: footerStyles,\n className: _className\n }));\n});\nModalFooter.displayName = \"ModalFooter\"; // src/modal-header.tsx\n\nimport { chakra as chakra5, forwardRef as forwardRef6 } from \"@chakra-ui/system\";\nimport { useEffect as useEffect5 } from \"react\";\nvar ModalHeader = forwardRef6(function (props, ref) {\n var className = props.className,\n rest = _objectWithoutProperties(props, _excluded6);\n\n var _useModalContext6 = useModalContext(),\n headerId = _useModalContext6.headerId,\n setHeaderMounted = _useModalContext6.setHeaderMounted;\n\n useEffect5(function () {\n setHeaderMounted(true);\n return function () {\n return setHeaderMounted(false);\n };\n }, [setHeaderMounted]);\n\n var _className = cx(\"chakra-modal__header\", className);\n\n var styles = useModalStyles();\n\n var headerStyles = _objectSpread({\n flex: 0\n }, styles.header);\n\n return /* @__PURE__ */React.createElement(chakra5.header, _objectSpread(_objectSpread({\n ref: ref,\n className: _className,\n id: headerId\n }, rest), {}, {\n __css: headerStyles\n }));\n});\nModalHeader.displayName = \"ModalHeader\"; // src/modal-overlay.tsx\n\nimport { chakra as chakra6, forwardRef as forwardRef7 } from \"@chakra-ui/system\";\nimport { fadeConfig } from \"@chakra-ui/transition\";\nimport { motion as motion2 } from \"framer-motion\";\nvar MotionDiv = chakra6(motion2.div);\nvar ModalOverlay = forwardRef7(function (props, ref) {\n var className = props.className,\n transition = props.transition,\n _motionProps = props.motionProps,\n rest = _objectWithoutProperties(props, _excluded7);\n\n var _className = cx(\"chakra-modal__overlay\", className);\n\n var styles = useModalStyles();\n\n var overlayStyle = _objectSpread({\n pos: \"fixed\",\n left: \"0\",\n top: \"0\",\n w: \"100vw\",\n h: \"100vh\"\n }, styles.overlay);\n\n var _useModalContext7 = useModalContext(),\n motionPreset = _useModalContext7.motionPreset;\n\n var defaultMotionProps = motionPreset === \"none\" ? {} : fadeConfig;\n var motionProps = _motionProps || defaultMotionProps;\n return /* @__PURE__ */React.createElement(MotionDiv, _objectSpread(_objectSpread({}, motionProps), {}, {\n __css: overlayStyle,\n ref: ref,\n className: _className\n }, rest));\n});\nModalOverlay.displayName = \"ModalOverlay\"; // src/alert-dialog.tsx\n\nimport { forwardRef as forwardRef8 } from \"@chakra-ui/system\";\n\nfunction AlertDialog(props) {\n var leastDestructiveRef = props.leastDestructiveRef,\n rest = _objectWithoutProperties(props, _excluded8);\n\n return /* @__PURE__ */React.createElement(Modal, _objectSpread(_objectSpread({}, rest), {}, {\n initialFocusRef: leastDestructiveRef\n }));\n}\n\nvar AlertDialogContent = forwardRef8(function (props, ref) {\n return /* @__PURE__ */React.createElement(ModalContent, _objectSpread({\n ref: ref,\n role: \"alertdialog\"\n }, props));\n}); // src/drawer.tsx\n\nimport { createContext as createContext2 } from \"@chakra-ui/react-context\";\nimport { useTheme } from \"@chakra-ui/system\";\n\nvar _createContext5 = createContext2(),\n _createContext6 = _slicedToArray(_createContext5, 2),\n DrawerContextProvider = _createContext6[0],\n useDrawerContext = _createContext6[1];\n\nvar placementMap = {\n start: {\n ltr: \"left\",\n rtl: \"right\"\n },\n end: {\n ltr: \"right\",\n rtl: \"left\"\n }\n};\n\nfunction getDrawerPlacement(placement, dir) {\n var _ref;\n\n var _a;\n\n if (!placement) return;\n return (_ref = (_a = placementMap[placement]) == null ? void 0 : _a[dir]) !== null && _ref !== void 0 ? _ref : placement;\n}\n\nfunction Drawer(props) {\n var _a;\n\n var isOpen = props.isOpen,\n onClose = props.onClose,\n _props$placement = props.placement,\n placementProp = _props$placement === void 0 ? \"right\" : _props$placement,\n children = props.children,\n rest = _objectWithoutProperties(props, _excluded9);\n\n var theme = useTheme();\n var drawerStyleConfig = (_a = theme.components) == null ? void 0 : _a.Drawer;\n var placement = getDrawerPlacement(placementProp, theme.direction);\n return /* @__PURE__ */React.createElement(DrawerContextProvider, {\n value: {\n placement: placement\n }\n }, /* @__PURE__ */React.createElement(Modal, _objectSpread({\n isOpen: isOpen,\n onClose: onClose,\n styleConfig: drawerStyleConfig\n }, rest), children));\n} // src/drawer-content.tsx\n\n\nimport { chakra as chakra7, forwardRef as forwardRef9 } from \"@chakra-ui/system\";\nimport { Slide } from \"@chakra-ui/transition\";\nvar MotionDiv2 = chakra7(Slide);\nvar DrawerContent = forwardRef9(function (props, ref) {\n var className = props.className,\n children = props.children,\n motionProps = props.motionProps,\n rootProps = props.containerProps,\n rest = _objectWithoutProperties(props, _excluded10);\n\n var _useModalContext8 = useModalContext(),\n getDialogProps = _useModalContext8.getDialogProps,\n getDialogContainerProps = _useModalContext8.getDialogContainerProps,\n isOpen = _useModalContext8.isOpen;\n\n var dialogProps = getDialogProps(rest, ref);\n var containerProps = getDialogContainerProps(rootProps);\n\n var _className = cx(\"chakra-modal__content\", className);\n\n var styles = useModalStyles();\n\n var dialogStyles = _objectSpread({\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n width: \"100%\",\n outline: 0\n }, styles.dialog);\n\n var dialogContainerStyles = _objectSpread({\n display: \"flex\",\n width: \"100vw\",\n height: \"$100vh\",\n position: \"fixed\",\n left: 0,\n top: 0\n }, styles.dialogContainer);\n\n var _useDrawerContext = useDrawerContext(),\n placement = _useDrawerContext.placement;\n\n return /* @__PURE__ */React.createElement(ModalFocusScope, null, /* @__PURE__ */React.createElement(chakra7.div, _objectSpread(_objectSpread({}, containerProps), {}, {\n className: \"chakra-modal__content-container\",\n __css: dialogContainerStyles\n }), /* @__PURE__ */React.createElement(MotionDiv2, _objectSpread(_objectSpread({\n motionProps: motionProps,\n direction: placement,\n in: isOpen,\n className: _className\n }, dialogProps), {}, {\n __css: dialogStyles\n }), children)));\n});\nDrawerContent.displayName = \"DrawerContent\";\nexport { AlertDialog, ModalBody as AlertDialogBody, ModalCloseButton as AlertDialogCloseButton, AlertDialogContent, ModalFooter as AlertDialogFooter, ModalHeader as AlertDialogHeader, ModalOverlay as AlertDialogOverlay, Drawer, ModalBody as DrawerBody, ModalCloseButton as DrawerCloseButton, DrawerContent, ModalFooter as DrawerFooter, ModalHeader as DrawerHeader, ModalOverlay as DrawerOverlay, Modal, ModalBody, ModalCloseButton, ModalContent, ModalContextProvider, ModalFocusScope, ModalFooter, ModalHeader, ModalOverlay, useAriaHidden, useDrawerContext, useModal, useModalContext, useModalStyles };","import _toConsumableArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\";\nimport _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport \"core-js/modules/es.object.from-entries.js\";\n\n// ../shared-utils/src/index.ts\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type === \"object\" || type === \"function\") && !Array.isArray(value);\n} // src/responsive.ts\n\n\nvar breakpoints = Object.freeze([\"base\", \"sm\", \"md\", \"lg\", \"xl\", \"2xl\"]);\n\nfunction mapResponsive(prop, mapper) {\n if (Array.isArray(prop)) {\n return prop.map(function (item) {\n return item === null ? null : mapper(item);\n });\n }\n\n if (isObject(prop)) {\n return Object.keys(prop).reduce(function (result, key) {\n result[key] = mapper(prop[key]);\n return result;\n }, {});\n }\n\n if (prop != null) {\n return mapper(prop);\n }\n\n return null;\n}\n\nfunction objectToArrayNotation(obj) {\n var bps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : breakpoints;\n var result = bps.map(function (br) {\n var _obj$br;\n\n return (_obj$br = obj[br]) !== null && _obj$br !== void 0 ? _obj$br : null;\n });\n var lastItem = result[result.length - 1];\n\n while (lastItem === null) {\n result.pop();\n }\n\n return result;\n}\n\nfunction arrayToObjectNotation(values) {\n var bps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : breakpoints;\n var result = {};\n values.forEach(function (value, index) {\n var key = bps[index];\n if (value == null) return;\n result[key] = value;\n });\n return result;\n}\n\nfunction isResponsiveObjectLike(obj) {\n var bps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : breakpoints;\n var keys2 = Object.keys(obj);\n return keys2.length > 0 && keys2.every(function (key) {\n return bps.includes(key);\n });\n}\n\nvar isCustomBreakpoint = function isCustomBreakpoint(v) {\n return Number.isNaN(Number(v));\n}; // src/breakpoint.ts\n\n\nfunction getLastItem(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : void 0;\n}\n\nfunction analyzeCSSValue(value) {\n var num = parseFloat(value.toString());\n var unit = value.toString().replace(String(num), \"\");\n return {\n unitless: !unit,\n value: num,\n unit: unit\n };\n}\n\nfunction px(value) {\n if (value == null) return value;\n\n var _analyzeCSSValue = analyzeCSSValue(value),\n unitless = _analyzeCSSValue.unitless;\n\n return unitless || typeof value === \"number\" ? \"\".concat(value, \"px\") : value;\n}\n\nvar sortByBreakpointValue = function sortByBreakpointValue(a, b) {\n return parseInt(a[1], 10) > parseInt(b[1], 10) ? 1 : -1;\n};\n\nvar sortBps = function sortBps(breakpoints2) {\n return Object.fromEntries(Object.entries(breakpoints2).sort(sortByBreakpointValue));\n};\n\nfunction normalize(breakpoints2) {\n var sorted = sortBps(breakpoints2);\n return Object.assign(Object.values(sorted), sorted);\n}\n\nfunction keys(breakpoints2) {\n var value = Object.keys(sortBps(breakpoints2));\n return new Set(value);\n}\n\nfunction subtract(value) {\n var _px;\n\n if (!value) return value;\n value = (_px = px(value)) !== null && _px !== void 0 ? _px : value;\n var factor = value.endsWith(\"px\") ? -1 : -0.0625;\n return typeof value === \"number\" ? \"\".concat(value + factor) : value.replace(/([0-9]+\\.?[0-9]*)/, function (m) {\n return \"\".concat(parseFloat(m) + factor);\n });\n}\n\nfunction toMediaQueryString(min, max) {\n var query = [\"@media screen\"];\n if (min) query.push(\"and\", \"(min-width: \".concat(px(min), \")\"));\n if (max) query.push(\"and\", \"(max-width: \".concat(px(max), \")\"));\n return query.join(\" \");\n}\n\nfunction analyzeBreakpoints(breakpoints2) {\n var _breakpoints2$base;\n\n if (!breakpoints2) return null;\n breakpoints2.base = (_breakpoints2$base = breakpoints2.base) !== null && _breakpoints2$base !== void 0 ? _breakpoints2$base : \"0px\";\n var normalized = normalize(breakpoints2);\n var queries = Object.entries(breakpoints2).sort(sortByBreakpointValue).map(function (_ref, index, entry) {\n var _entry;\n\n var _ref2 = _slicedToArray(_ref, 2),\n breakpoint = _ref2[0],\n minW = _ref2[1];\n\n var _ref3 = (_entry = entry[index + 1]) !== null && _entry !== void 0 ? _entry : [],\n _ref4 = _slicedToArray(_ref3, 2),\n maxW = _ref4[1];\n\n maxW = parseFloat(maxW) > 0 ? subtract(maxW) : void 0;\n return {\n _minW: subtract(minW),\n breakpoint: breakpoint,\n minW: minW,\n maxW: maxW,\n maxWQuery: toMediaQueryString(null, maxW),\n minWQuery: toMediaQueryString(minW),\n minMaxQuery: toMediaQueryString(minW, maxW)\n };\n });\n\n var _keys = keys(breakpoints2);\n\n var _keysArr = Array.from(_keys.values());\n\n return {\n keys: _keys,\n normalized: normalized,\n isResponsive: function isResponsive(test) {\n var keys2 = Object.keys(test);\n return keys2.length > 0 && keys2.every(function (key) {\n return _keys.has(key);\n });\n },\n asObject: sortBps(breakpoints2),\n asArray: normalize(breakpoints2),\n details: queries,\n media: [null].concat(_toConsumableArray(normalized.map(function (minW) {\n return toMediaQueryString(minW);\n }).slice(1))),\n toArrayValue: function toArrayValue(test) {\n if (!isObject(test)) {\n throw new Error(\"toArrayValue: value must be an object\");\n }\n\n var result = _keysArr.map(function (bp) {\n var _test$bp;\n\n return (_test$bp = test[bp]) !== null && _test$bp !== void 0 ? _test$bp : null;\n });\n\n while (getLastItem(result) === null) {\n result.pop();\n }\n\n return result;\n },\n toObjectValue: function toObjectValue(test) {\n if (!Array.isArray(test)) {\n throw new Error(\"toObjectValue: value must be an array\");\n }\n\n return test.reduce(function (acc, value, index) {\n var key = _keysArr[index];\n if (key != null && value != null) acc[key] = value;\n return acc;\n }, {});\n }\n };\n}\n\nexport { analyzeBreakpoints, arrayToObjectNotation, breakpoints, isCustomBreakpoint, isResponsiveObjectLike, mapResponsive, objectToArrayNotation, px, toMediaQueryString };","import _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\n\nfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n// src/index.ts\nfunction compact(object) {\n var clone = Object.assign({}, object);\n\n for (var key in clone) {\n if (clone[key] === void 0) delete clone[key];\n }\n\n return clone;\n}\n\nfunction omit(object) {\n var keysToOmit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var clone = Object.assign({}, object);\n\n var _iterator = _createForOfIteratorHelper(keysToOmit),\n _step;\n\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var key = _step.value;\n if (key in clone) delete clone[key];\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n\n return clone;\n}\n\nfunction pick(object, keysToPick) {\n var result = {};\n\n var _iterator2 = _createForOfIteratorHelper(keysToPick),\n _step2;\n\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var key = _step2.value;\n\n if (key in object) {\n result[key] = object[key];\n }\n }\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n\n return result;\n}\n\nfunction split(object, keys) {\n var picked = {};\n var omitted = {};\n\n for (var _i = 0, _Object$entries = Object.entries(object); _i < _Object$entries.length; _i++) {\n var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),\n key = _Object$entries$_i[0],\n value = _Object$entries$_i[1];\n\n if (keys.includes(key)) picked[key] = value;else omitted[key] = value;\n }\n\n return [picked, omitted];\n}\n\nexport { compact, omit, pick, split };","// src/index.ts\nimport { Children, isValidElement } from \"react\";\n\nfunction getValidChildren(children) {\n return Children.toArray(children).filter(function (child) {\n return isValidElement(child);\n });\n}\n\nexport { getValidChildren };","import _slicedToArray from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/slicedToArray.js\";\nimport _defineProperty from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport _objectWithoutProperties from \"/Users/trouble2/github/mvhacks/website-6.0/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js\";\nvar _excluded = [\"ratio\", \"children\", \"className\"],\n _excluded2 = [\"className\"],\n _excluded3 = [\"size\", \"centerContent\"],\n _excluded4 = [\"size\"],\n _excluded5 = [\"axis\"],\n _excluded6 = [\"className\"],\n _excluded7 = [\"className\", \"centerContent\"],\n _excluded8 = [\"borderLeftWidth\", \"borderBottomWidth\", \"borderTopWidth\", \"borderRightWidth\", \"borderWidth\", \"borderStyle\", \"borderColor\"],\n _excluded9 = [\"className\", \"orientation\", \"__css\"],\n _excluded10 = [\"direction\", \"align\", \"justify\", \"wrap\", \"basis\", \"grow\", \"shrink\"],\n _excluded11 = [\"templateAreas\", \"gap\", \"rowGap\", \"columnGap\", \"column\", \"row\", \"autoFlow\", \"autoRows\", \"templateRows\", \"autoColumns\", \"templateColumns\"],\n _excluded12 = [\"area\", \"colSpan\", \"colStart\", \"colEnd\", \"rowEnd\", \"rowSpan\", \"rowStart\"],\n _excluded13 = [\"className\"],\n _excluded14 = [\"className\"],\n _excluded15 = [\"className\", \"isExternal\"],\n _excluded16 = [\"isExternal\", \"target\", \"rel\", \"className\"],\n _excluded17 = [\"className\"],\n _excluded18 = [\"children\", \"styleType\", \"stylePosition\", \"spacing\"],\n _excluded19 = [\"as\"],\n _excluded20 = [\"as\"],\n _excluded21 = [\"columns\", \"spacingX\", \"spacingY\", \"spacing\", \"minChildWidth\"],\n _excluded22 = [\"isInline\", \"direction\", \"align\", \"justify\", \"spacing\", \"wrap\", \"children\", \"divider\", \"className\", \"shouldWrapChildren\"],\n _excluded23 = [\"className\", \"align\", \"decoration\", \"casing\"],\n _excluded24 = [\"spacing\", \"spacingX\", \"spacingY\", \"children\", \"justify\", \"direction\", \"align\", \"className\", \"shouldWrapChildren\"],\n _excluded25 = [\"className\"];\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\n// ../../../react-shim.js\nimport React from \"react\"; // src/aspect-ratio.tsx\n\nimport { chakra, forwardRef } from \"@chakra-ui/system\";\nimport { mapResponsive } from \"@chakra-ui/breakpoint-utils\";\nimport { cx } from \"@chakra-ui/shared-utils\";\nimport { Children } from \"react\";\nvar AspectRatio = forwardRef(function (props, ref) {\n var _props$ratio = props.ratio,\n ratio = _props$ratio === void 0 ? 4 / 3 : _props$ratio,\n children = props.children,\n className = props.className,\n rest = _objectWithoutProperties(props, _excluded);\n\n var child = Children.only(children);\n\n var _className = cx(\"chakra-aspect-ratio\", className);\n\n return /* @__PURE__ */React.createElement(chakra.div, _objectSpread({\n ref: ref,\n position: \"relative\",\n className: _className,\n _before: {\n height: 0,\n content: \"\\\"\\\"\",\n display: \"block\",\n paddingBottom: mapResponsive(ratio, function (r) {\n return \"\".concat(1 / r * 100, \"%\");\n })\n },\n __css: {\n \"& > *:not(style)\": {\n overflow: \"hidden\",\n position: \"absolute\",\n top: \"0\",\n right: \"0\",\n bottom: \"0\",\n left: \"0\",\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"100%\"\n },\n \"& > img, & > video\": {\n objectFit: \"cover\"\n }\n }\n }, rest), child);\n});\nAspectRatio.displayName = \"AspectRatio\"; // src/badge.tsx\n\nimport { chakra as chakra2, forwardRef as forwardRef2, omitThemingProps, useStyleConfig } from \"@chakra-ui/system\";\nimport { cx as cx2 } from \"@chakra-ui/shared-utils\";\nvar Badge = forwardRef2(function Badge2(props, ref) {\n var styles = useStyleConfig(\"Badge\", props);\n\n var _omitThemingProps = omitThemingProps(props),\n className = _omitThemingProps.className,\n rest = _objectWithoutProperties(_omitThemingProps, _excluded2);\n\n return /* @__PURE__ */React.createElement(chakra2.span, _objectSpread(_objectSpread({\n ref: ref,\n className: cx2(\"chakra-badge\", props.className)\n }, rest), {}, {\n __css: _objectSpread({\n display: \"inline-block\",\n whiteSpace: \"nowrap\",\n verticalAlign: \"middle\"\n }, styles)\n }));\n});\nBadge.displayName = \"Badge\"; // src/box.tsx\n\nimport { chakra as chakra3, forwardRef as forwardRef3 } from \"@chakra-ui/system\";\nvar Box = chakra3(\"div\");\nBox.displayName = \"Box\";\nvar Square = forwardRef3(function Square2(props, ref) {\n var size = props.size,\n _props$centerContent = props.centerContent,\n centerContent = _props$centerContent === void 0 ? true : _props$centerContent,\n rest = _objectWithoutProperties(props, _excluded3);\n\n var styles = centerContent ? {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n } : {};\n return /* @__PURE__ */React.createElement(Box, _objectSpread({\n ref: ref,\n boxSize: size,\n __css: _objectSpread(_objectSpread({}, styles), {}, {\n flexShrink: 0,\n flexGrow: 0\n })\n }, rest));\n});\nSquare.displayName = \"Square\";\nvar Circle = forwardRef3(function Circle2(props, ref) {\n var size = props.size,\n rest = _objectWithoutProperties(props, _excluded4);\n\n return /* @__PURE__ */React.createElement(Square, _objectSpread({\n size: size,\n ref: ref,\n borderRadius: \"9999px\"\n }, rest));\n});\nCircle.displayName = \"Circle\"; // src/center.tsx\n\nimport { chakra as chakra4, forwardRef as forwardRef4 } from \"@chakra-ui/system\";\nvar Center = chakra4(\"div\", {\n baseStyle: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\"\n }\n});\nCenter.displayName = \"Center\";\nvar centerStyles = {\n horizontal: {\n insetStart: \"50%\",\n transform: \"translateX(-50%)\"\n },\n vertical: {\n top: \"50%\",\n transform: \"translateY(-50%)\"\n },\n both: {\n insetStart: \"50%\",\n top: \"50%\",\n transform: \"translate(-50%, -50%)\"\n }\n};\nvar AbsoluteCenter = forwardRef4(function AbsoluteCenter2(props, ref) {\n var _props$axis = props.axis,\n axis = _props$axis === void 0 ? \"both\" : _props$axis,\n rest = _objectWithoutProperties(props, _excluded5);\n\n return /* @__PURE__ */React.createElement(chakra4.div, _objectSpread(_objectSpread({\n ref: ref,\n __css: centerStyles[axis]\n }, rest), {}, {\n position: \"absolute\"\n }));\n}); // src/code.tsx\n\nimport { chakra as chakra5, forwardRef as forwardRef5, omitThemingProps as omitThemingProps2, useStyleConfig as useStyleConfig2 } from \"@chakra-ui/system\";\nimport { cx as cx3 } from \"@chakra-ui/shared-utils\";\nvar Code = forwardRef5(function Code2(props, ref) {\n var styles = useStyleConfig2(\"Code\", props);\n\n var _omitThemingProps2 = omitThemingProps2(props),\n className = _omitThemingProps2.className,\n rest = _objectWithoutProperties(_omitThemingProps2, _excluded6);\n\n return /* @__PURE__ */React.createElement(chakra5.code, _objectSpread(_objectSpread({\n ref: ref,\n className: cx3(\"chakra-code\", props.className)\n }, rest), {}, {\n __css: _objectSpread({\n display: \"inline-block\"\n }, styles)\n }));\n});\nCode.displayName = \"Code\"; // src/container.tsx\n\nimport { chakra as chakra6, forwardRef as forwardRef6, omitThemingProps as omitThemingProps3, useStyleConfig as useStyleConfig3 } from \"@chakra-ui/system\";\nimport { cx as cx4 } from \"@chakra-ui/shared-utils\";\nvar Container = forwardRef6(function Container2(props, ref) {\n var _omitThemingProps3 = omitThemingProps3(props),\n className = _omitThemingProps3.className,\n centerContent = _omitThemingProps3.centerContent,\n rest = _objectWithoutProperties(_omitThemingProps3, _excluded7);\n\n var styles = useStyleConfig3(\"Container\", props);\n return /* @__PURE__ */React.createElement(chakra6.div, _objectSpread(_objectSpread({\n ref: ref,\n className: cx4(\"chakra-container\", className)\n }, rest), {}, {\n __css: _objectSpread(_objectSpread({}, styles), centerContent && {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\"\n })\n }));\n});\nContainer.displayName = \"Container\"; // src/divider.tsx\n\nimport { chakra as chakra7, forwardRef as forwardRef7, omitThemingProps as omitThemingProps4, useStyleConfig as useStyleConfig4 } from \"@chakra-ui/system\";\nimport { cx as cx5 } from \"@chakra-ui/shared-utils\";\nvar Divider = forwardRef7(function Divider2(props, ref) {\n var _useStyleConfig = useStyleConfig4(\"Divider\", props),\n borderLeftWidth = _useStyleConfig.borderLeftWidth,\n borderBottomWidth = _useStyleConfig.borderBottomWidth,\n borderTopWidth = _useStyleConfig.borderTopWidth,\n borderRightWidth = _useStyleConfig.borderRightWidth,\n borderWidth = _useStyleConfig.borderWidth,\n borderStyle = _useStyleConfig.borderStyle,\n borderColor = _useStyleConfig.borderColor,\n styles = _objectWithoutProperties(_useStyleConfig, _excluded8);\n\n var _omitThemingProps4 = omitThemingProps4(props),\n className = _omitThemingProps4.className,\n _omitThemingProps4$or = _omitThemingProps4.orientation,\n orientation = _omitThemingProps4$or === void 0 ? \"horizontal\" : _omitThemingProps4$or,\n __css = _omitThemingProps4.__css,\n rest = _objectWithoutProperties(_omitThemingProps4, _excluded9);\n\n var dividerStyles = {\n vertical: {\n borderLeftWidth: borderLeftWidth || borderRightWidth || borderWidth || \"1px\",\n height: \"100%\"\n },\n horizontal: {\n borderBottomWidth: borderBottomWidth || borderTopWidth || borderWidth || \"1px\",\n width: \"100%\"\n }\n };\n return /* @__PURE__ */React.createElement(chakra7.hr, _objectSpread(_objectSpread({\n ref: ref,\n \"aria-orientation\": orientation\n }, rest), {}, {\n __css: _objectSpread(_objectSpread(_objectSpread({}, styles), {}, {\n border: \"0\",\n borderColor: borderColor,\n borderStyle: borderStyle\n }, dividerStyles[orientation]), __css),\n className: cx5(\"chakra-divider\", className)\n }));\n});\nDivider.displayName = \"Divider\"; // src/flex.tsx\n\nimport { chakra as chakra8, forwardRef as forwardRef8 } from \"@chakra-ui/system\";\nvar Flex = forwardRef8(function Flex2(props, ref) {\n var direction = props.direction,\n align = props.align,\n justify = props.justify,\n wrap = props.wrap,\n basis = props.basis,\n grow = props.grow,\n shrink = props.shrink,\n rest = _objectWithoutProperties(props, _excluded10);\n\n var styles = {\n display: \"flex\",\n flexDirection: direction,\n alignItems: align,\n justifyContent: justify,\n flexWrap: wrap,\n flexBasis: basis,\n flexGrow: grow,\n flexShrink: shrink\n };\n return /* @__PURE__ */React.createElement(chakra8.div, _objectSpread({\n ref: ref,\n __css: styles\n }, rest));\n});\nFlex.displayName = \"Flex\"; // src/grid.tsx\n\nimport { chakra as chakra9, forwardRef as forwardRef9 } from \"@chakra-ui/system\";\nvar Grid = forwardRef9(function Grid2(props, ref) {\n var templateAreas = props.templateAreas,\n gap = props.gap,\n rowGap = props.rowGap,\n columnGap = props.columnGap,\n column = props.column,\n row = props.row,\n autoFlow = props.autoFlow,\n autoRows = props.autoRows,\n templateRows = props.templateRows,\n autoColumns = props.autoColumns,\n templateColumns = props.templateColumns,\n rest = _objectWithoutProperties(props, _excluded11);\n\n var styles = {\n display: \"grid\",\n gridTemplateAreas: templateAreas,\n gridGap: gap,\n gridRowGap: rowGap,\n gridColumnGap: columnGap,\n gridAutoColumns: autoColumns,\n gridColumn: column,\n gridRow: row,\n gridAutoFlow: autoFlow,\n gridAutoRows: autoRows,\n gridTemplateRows: templateRows,\n gridTemplateColumns: templateColumns\n };\n return /* @__PURE__ */React.createElement(chakra9.div, _objectSpread({\n ref: ref,\n __css: styles\n }, rest));\n});\nGrid.displayName = \"Grid\"; // src/grid-item.tsx\n\nimport { forwardRef as forwardRef10, chakra as chakra10 } from \"@chakra-ui/system\";\nimport { compact } from \"@chakra-ui/object-utils\";\nimport { mapResponsive as mapResponsive2 } from \"@chakra-ui/breakpoint-utils\";\n\nfunction spanFn(span) {\n return mapResponsive2(span, function (value) {\n return value === \"auto\" ? \"auto\" : \"span \".concat(value, \"/span \").concat(value);\n });\n}\n\nvar GridItem = forwardRef10(function GridItem2(props, ref) {\n var area = props.area,\n colSpan = props.colSpan,\n colStart = props.colStart,\n colEnd = props.colEnd,\n rowEnd = props.rowEnd,\n rowSpan = props.rowSpan,\n rowStart = props.rowStart,\n rest = _objectWithoutProperties(props, _excluded12);\n\n var styles = compact({\n gridArea: area,\n gridColumn: spanFn(colSpan),\n gridRow: spanFn(rowSpan),\n gridColumnStart: colStart,\n gridColumnEnd: colEnd,\n gridRowStart: rowStart,\n gridRowEnd: rowEnd\n });\n return /* @__PURE__ */React.createElement(chakra10.div, _objectSpread({\n ref: ref,\n __css: styles\n }, rest));\n});\nGridItem.displayName = \"GridItem\"; // src/heading.tsx\n\nimport { chakra as chakra11, forwardRef as forwardRef11, omitThemingProps as omitThemingProps5, useStyleConfig as useStyleConfig5 } from \"@chakra-ui/system\";\nimport { cx as cx6 } from \"@chakra-ui/shared-utils\";\nvar Heading = forwardRef11(function Heading2(props, ref) {\n var styles = useStyleConfig5(\"Heading\", props);\n\n var _omitThemingProps5 = omitThemingProps5(props),\n className = _omitThemingProps5.className,\n rest = _objectWithoutProperties(_omitThemingProps5, _excluded13);\n\n return /* @__PURE__ */React.createElement(chakra11.h2, _objectSpread(_objectSpread({\n ref: ref,\n className: cx6(\"chakra-heading\", props.className)\n }, rest), {}, {\n __css: styles\n }));\n});\nHeading.displayName = \"Heading\"; // src/highlight.tsx\n\nimport { forwardRef as forwardRef12, omitThemingProps as omitThemingProps6, useStyleConfig as useStyleConfig6 } from \"@chakra-ui/system\";\nimport { Fragment, useMemo } from \"react\";\n\nvar escapeRegexp = function escapeRegexp(term) {\n return term.replace(/[|\\\\{}()[\\]^$+*?.-]/g, function (char) {\n return \"\\\\\".concat(char);\n });\n};\n\nfunction buildRegex(query) {\n var _query = query.filter(function (text) {\n return text.length !== 0;\n }).map(function (text) {\n return escapeRegexp(text.trim());\n });\n\n if (!_query.length) {\n return null;\n }\n\n return new RegExp(\"(\".concat(_query.join(\"|\"), \")\"), \"ig\");\n}\n\nfunction highlightWords(_ref) {\n var text = _ref.text,\n query = _ref.query;\n var regex = buildRegex(Array.isArray(query) ? query : [query]);\n\n if (!regex) {\n return [{\n text: text,\n match: false\n }];\n }\n\n var result = text.split(regex).filter(Boolean);\n return result.map(function (str) {\n return {\n text: str,\n match: regex.test(str)\n };\n });\n}\n\nfunction useHighlight(props) {\n var text = props.text,\n query = props.query;\n return useMemo(function () {\n return highlightWords({\n text: text,\n query: query\n });\n }, [text, query]);\n}\n\nvar Mark = forwardRef12(function Mark2(props, ref) {\n var styles = useStyleConfig6(\"Mark\", props);\n var ownProps = omitThemingProps6(props);\n return /* @__PURE__ */React.createElement(Box, _objectSpread(_objectSpread({\n ref: ref\n }, ownProps), {}, {\n as: \"mark\",\n __css: _objectSpread({\n bg: \"transparent\",\n whiteSpace: \"nowrap\"\n }, styles)\n }));\n});\n\nfunction Highlight(props) {\n var children = props.children,\n query = props.query,\n styles = props.styles;\n\n if (typeof children !== \"string\") {\n throw new Error(\"The children prop of Highlight must be a string\");\n }\n\n var chunks = useHighlight({\n query: query,\n text: children\n });\n return /* @__PURE__ */React.createElement(React.Fragment, null, chunks.map(function (chunk, index) {\n return chunk.match ? /* @__PURE__ */React.createElement(Mark, {\n key: index,\n sx: styles\n }, chunk.text) : /* @__PURE__ */React.createElement(Fragment, {\n key: index\n }, chunk.text);\n }));\n} // src/kbd.tsx\n\n\nimport { chakra as chakra12, forwardRef as forwardRef13, omitThemingProps as omitThemingProps7, useStyleConfig as useStyleConfig7 } from \"@chakra-ui/system\";\nimport { cx as cx7 } from \"@chakra-ui/shared-utils\";\nvar Kbd = forwardRef13(function Kbd2(props, ref) {\n var styles = useStyleConfig7(\"Kbd\", props);\n\n var _omitThemingProps6 = omitThemingProps7(props),\n className = _omitThemingProps6.className,\n rest = _objectWithoutProperties(_omitThemingProps6, _excluded14);\n\n return /* @__PURE__ */React.createElement(chakra12.kbd, _objectSpread(_objectSpread({\n ref: ref,\n className: cx7(\"chakra-kbd\", className)\n }, rest), {}, {\n __css: _objectSpread({\n fontFamily: \"mono\"\n }, styles)\n }));\n});\nKbd.displayName = \"Kbd\"; // src/link.tsx\n\nimport { chakra as chakra13, forwardRef as forwardRef14, omitThemingProps as omitThemingProps8, useStyleConfig as useStyleConfig8 } from \"@chakra-ui/system\";\nimport { cx as cx8 } from \"@chakra-ui/shared-utils\";\nvar Link = forwardRef14(function Link2(props, ref) {\n var styles = useStyleConfig8(\"Link\", props);\n\n var _omitThemingProps7 = omitThemingProps8(props),\n className = _omitThemingProps7.className,\n isExternal = _omitThemingProps7.isExternal,\n rest = _objectWithoutProperties(_omitThemingProps7, _excluded15);\n\n return /* @__PURE__ */React.createElement(chakra13.a, _objectSpread(_objectSpread({\n target: isExternal ? \"_blank\" : void 0,\n rel: isExternal ? \"noopener\" : void 0,\n ref: ref,\n className: cx8(\"chakra-link\", className)\n }, rest), {}, {\n __css: styles\n }));\n});\nLink.displayName = \"Link\"; // src/link-box.tsx\n\nimport { chakra as chakra14, forwardRef as forwardRef15 } from \"@chakra-ui/system\";\nimport { cx as cx9 } from \"@chakra-ui/shared-utils\";\nvar LinkOverlay = forwardRef15(function LinkOverlay2(props, ref) {\n var isExternal = props.isExternal,\n target = props.target,\n rel = props.rel,\n className = props.className,\n rest = _objectWithoutProperties(props, _excluded16);\n\n return /* @__PURE__ */React.createElement(chakra14.a, _objectSpread(_objectSpread({}, rest), {}, {\n ref: ref,\n className: cx9(\"chakra-linkbox__overlay\", className),\n rel: isExternal ? \"noopener noreferrer\" : rel,\n target: isExternal ? \"_blank\" : target,\n __css: {\n position: \"static\",\n \"&::before\": {\n content: \"''\",\n cursor: \"inherit\",\n display: \"block\",\n position: \"absolute\",\n top: 0,\n left: 0,\n zIndex: 0,\n width: \"100%\",\n height: \"100%\"\n }\n }\n }));\n});\nvar LinkBox = forwardRef15(function LinkBox2(props, ref) {\n var className = props.className,\n rest = _objectWithoutProperties(props, _excluded17);\n\n return /* @__PURE__ */React.createElement(chakra14.div, _objectSpread(_objectSpread({\n ref: ref,\n position: \"relative\"\n }, rest), {}, {\n className: cx9(\"chakra-linkbox\", className),\n __css: {\n \"a[href]:not(.chakra-linkbox__overlay), abbr[title]\": {\n position: \"relative\",\n zIndex: 1\n }\n }\n }));\n}); // src/list.tsx\n\nimport { Icon } from \"@chakra-ui/icon\";\nimport { createContext } from \"@chakra-ui/react-context\";\nimport { getValidChildren } from \"@chakra-ui/react-children-utils\";\nimport { chakra as chakra15, forwardRef as forwardRef16, omitThemingProps as omitThemingProps9, useMultiStyleConfig } from \"@chakra-ui/system\";\n\nvar _createContext = createContext({\n name: \"ListStylesContext\",\n errorMessage: \"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \\\"<List />\\\" \"\n}),\n _createContext2 = _slicedToArray(_createContext, 2),\n ListStylesProvider = _createContext2[0],\n useListStyles = _createContext2[1];\n\nvar List = forwardRef16(function List2(props, ref) {\n var styles = useMultiStyleConfig(\"List\", props);\n\n var _omitThemingProps8 = omitThemingProps9(props),\n children = _omitThemingProps8.children,\n _omitThemingProps8$st = _omitThemingProps8.styleType,\n styleType = _omitThemingProps8$st === void 0 ? \"none\" : _omitThemingProps8$st,\n stylePosition = _omitThemingProps8.stylePosition,\n spacing = _omitThemingProps8.spacing,\n rest = _objectWithoutProperties(_omitThemingProps8, _excluded18);\n\n var validChildren = getValidChildren(children);\n var selector2 = \"& > *:not(style) ~ *:not(style)\";\n var spacingStyle = spacing ? _defineProperty({}, selector2, {\n mt: spacing\n }) : {};\n return /* @__PURE__ */React.createElement(ListStylesProvider, {\n value: styles\n }, /* @__PURE__ */React.createElement(chakra15.ul, _objectSpread({\n ref: ref,\n listStyleType: styleType,\n listStylePosition: stylePosition,\n role: \"list\",\n __css: _objectSpread(_objectSpread({}, styles.container), spacingStyle)\n }, rest), validChildren));\n});\nList.displayName = \"List\";\nvar OrderedList = forwardRef16(function (props, ref) {\n var as = props.as,\n rest = _objectWithoutProperties(props, _excluded19);\n\n return /* @__PURE__ */React.createElement(List, _objectSpread({\n ref: ref,\n as: \"ol\",\n styleType: \"decimal\",\n marginStart: \"1em\"\n }, rest));\n});\nOrderedList.displayName = \"OrderedList\";\nvar UnorderedList = forwardRef16(function UnorderedList2(props, ref) {\n var as = props.as,\n rest = _objectWithoutProperties(props, _excluded20);\n\n return /* @__PURE__ */React.createElement(List, _objectSpread({\n ref: ref,\n as: \"ul\",\n styleType: \"initial\",\n marginStart: \"1em\"\n }, rest));\n});\nUnorderedList.displayName = \"UnorderedList\";\nvar ListItem = forwardRef16(function ListItem2(props, ref) {\n var styles = useListStyles();\n return /* @__PURE__ */React.createElement(chakra15.li, _objectSpread(_objectSpread({\n ref: ref\n }, props), {}, {\n __css: styles.item\n }));\n});\nListItem.displayName = \"ListItem\";\nvar ListIcon = forwardRef16(function ListIcon2(props, ref) {\n var styles = useListStyles();\n return /* @__PURE__ */React.createElement(Icon, _objectSpread(_objectSpread({\n ref: ref,\n role: \"presentation\"\n }, props), {}, {\n __css: styles.icon\n }));\n});\nListIcon.displayName = \"ListIcon\"; // src/simple-grid.tsx\n\nimport { forwardRef as forwardRef17, getToken, useTheme } from \"@chakra-ui/system\";\nimport { mapResponsive as mapResponsive3 } from \"@chakra-ui/breakpoint-utils\";\nvar SimpleGrid = forwardRef17(function SimpleGrid2(props, ref) {\n var columns = props.columns,\n spacingX = props.spacingX,\n spacingY = props.spacingY,\n spacing = props.spacing,\n minChildWidth = props.minChildWidth,\n rest = _objectWithoutProperties(props, _excluded21);\n\n var theme = useTheme();\n var templateColumns = minChildWidth ? widthToColumns(minChildWidth, theme) : countToColumns(columns);\n return /* @__PURE__ */React.createElement(Grid, _objectSpread({\n ref: ref,\n gap: spacing,\n columnGap: spacingX,\n rowGap: spacingY,\n templateColumns: templateColumns\n }, rest));\n});\nSimpleGrid.displayName = \"SimpleGrid\";\n\nfunction toPx(n) {\n return typeof n === \"number\" ? \"\".concat(n, \"px\") : n;\n}\n\nfunction widthToColumns(width, theme) {\n return mapResponsive3(width, function (value) {\n var _value = getToken(\"sizes\", value, toPx(value))(theme);\n\n return value === null ? null : \"repeat(auto-fit, minmax(\".concat(_value, \", 1fr))\");\n });\n}\n\nfunction countToColumns(count) {\n return mapResponsive3(count, function (value) {\n return value === null ? null : \"repeat(\".concat(value, \", minmax(0, 1fr))\");\n });\n} // src/spacer.tsx\n\n\nimport { chakra as chakra16 } from \"@chakra-ui/system\";\nvar Spacer = chakra16(\"div\", {\n baseStyle: {\n flex: 1,\n justifySelf: \"stretch\",\n alignSelf: \"stretch\"\n }\n});\nSpacer.displayName = \"Spacer\"; // src/stack/h-stack.tsx\n\nimport { forwardRef as forwardRef19 } from \"@chakra-ui/system\"; // src/stack/stack.tsx\n\nimport { chakra as chakra18, forwardRef as forwardRef18 } from \"@chakra-ui/system\";\nimport { cx as cx10 } from \"@chakra-ui/shared-utils\";\nimport { getValidChildren as getValidChildren2 } from \"@chakra-ui/react-children-utils\";\nimport { cloneElement, Fragment as Fragment2, useMemo as useMemo2 } from \"react\"; // src/stack/stack.utils.tsx\n\nimport { mapResponsive as mapResponsive4 } from \"@chakra-ui/breakpoint-utils\";\nvar selector = \"& > *:not(style) ~ *:not(style)\";\n\nfunction getStackStyles(options) {\n var spacing = options.spacing,\n direction = options.direction;\n var directionStyles = {\n column: {\n marginTop: spacing,\n marginEnd: 0,\n marginBottom: 0,\n marginStart: 0\n },\n row: {\n marginTop: 0,\n marginEnd: 0,\n marginBottom: 0,\n marginStart: spacing\n },\n \"column-reverse\": {\n marginTop: 0,\n marginEnd: 0,\n marginBottom: spacing,\n marginStart: 0\n },\n \"row-reverse\": {\n marginTop: 0,\n marginEnd: spacing,\n marginBottom: 0,\n marginStart: 0\n }\n };\n return _defineProperty({\n flexDirection: direction\n }, selector, mapResponsive4(direction, function (value) {\n return directionStyles[value];\n }));\n}\n\nfunction getDividerStyles(options) {\n var spacing = options.spacing,\n direction = options.direction;\n var dividerStyles = {\n column: {\n my: spacing,\n mx: 0,\n borderLeftWidth: 0,\n borderBottomWidth: \"1px\"\n },\n \"column-reverse\": {\n my: spacing,\n mx: 0,\n borderLeftWidth: 0,\n borderBottomWidth: \"1px\"\n },\n row: {\n mx: spacing,\n my: 0,\n borderLeftWidth: \"1px\",\n borderBottomWidth: 0\n },\n \"row-reverse\": {\n mx: spacing,\n my: 0,\n borderLeftWidth: \"1px\",\n borderBottomWidth: 0\n }\n };\n return {\n \"&\": mapResponsive4(direction, function (value) {\n return dividerStyles[value];\n })\n };\n} // src/stack/stack-item.tsx\n\n\nimport { chakra as chakra17 } from \"@chakra-ui/system\";\n\nvar StackItem = function StackItem(props) {\n return /* @__PURE__ */React.createElement(chakra17.div, _objectSpread(_objectSpread({\n className: \"chakra-stack__item\"\n }, props), {}, {\n __css: _objectSpread({\n display: \"inline-block\",\n flex: \"0 0 auto\",\n minWidth: 0\n }, props[\"__css\"])\n }));\n};\n\nStackItem.displayName = \"StackItem\"; // src/stack/stack.tsx\n\nvar Stack = forwardRef18(function (props, ref) {\n var isInline = props.isInline,\n directionProp = props.direction,\n align = props.align,\n justify = props.justify,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? \"0.5rem\" : _props$spacing,\n wrap = props.wrap,\n children = props.children,\n divider = props.divider,\n className = props.className,\n shouldWrapChildren = props.shouldWrapChildren,\n rest = _objectWithoutProperties(props, _excluded22);\n\n var direction = isInline ? \"row\" : directionProp !== null && directionProp !== void 0 ? directionProp : \"column\";\n var styles = useMemo2(function () {\n return getStackStyles({\n direction: direction,\n spacing: spacing\n });\n }, [direction, spacing]);\n var dividerStyle = useMemo2(function () {\n return getDividerStyles({\n spacing: spacing,\n direction: direction\n });\n }, [spacing, direction]);\n var hasDivider = !!divider;\n var shouldUseChildren = !shouldWrapChildren && !hasDivider;\n var clones = useMemo2(function () {\n var validChildren = getValidChildren2(children);\n return shouldUseChildren ? validChildren : validChildren.map(function (child, index) {\n var key = typeof child.key !== \"undefined\" ? child.key : index;\n var isLast = index + 1 === validChildren.length;\n var wrappedChild = /* @__PURE__ */React.createElement(StackItem, {\n key: key\n }, child);\n\n var _child = shouldWrapChildren ? wrappedChild : child;\n\n if (!hasDivider) return _child;\n var clonedDivider = cloneElement(divider, {\n __css: dividerStyle\n });\n\n var _divider = isLast ? null : clonedDivider;\n\n return /* @__PURE__ */React.createElement(Fragment2, {\n key: key\n }, _child, _divider);\n });\n }, [divider, dividerStyle, hasDivider, shouldUseChildren, shouldWrapChildren, children]);\n\n var _className = cx10(\"chakra-stack\", className);\n\n return /* @__PURE__ */React.createElement(chakra18.div, _objectSpread({\n ref: ref,\n display: \"flex\",\n alignItems: align,\n justifyContent: justify,\n flexDirection: styles.flexDirection,\n flexWrap: wrap,\n className: _className,\n __css: hasDivider ? {} : _defineProperty({}, selector, styles[selector])\n }, rest), clones);\n});\nStack.displayName = \"Stack\"; // src/stack/h-stack.tsx\n\nvar HStack = forwardRef19(function (props, ref) {\n return /* @__PURE__ */React.createElement(Stack, _objectSpread(_objectSpread({\n align: \"center\"\n }, props), {}, {\n direction: \"row\",\n ref: ref\n }));\n});\nHStack.displayName = \"HStack\"; // src/stack/stack-divider.tsx\n\nimport { chakra as chakra19 } from \"@chakra-ui/system\";\n\nvar StackDivider = function StackDivider(props) {\n return /* @__PURE__ */React.createElement(chakra19.div, _objectSpread(_objectSpread({\n className: \"chakra-stack__divider\"\n }, props), {}, {\n __css: _objectSpread(_objectSpread({}, props[\"__css\"]), {}, {\n borderWidth: 0,\n alignSelf: \"stretch\",\n borderColor: \"inherit\",\n width: \"auto\",\n height: \"auto\"\n })\n }));\n};\n\nStackDivider.displayName = \"StackDivider\"; // src/stack/v-stack.tsx\n\nimport { forwardRef as forwardRef20 } from \"@chakra-ui/system\";\nvar VStack = forwardRef20(function (props, ref) {\n return /* @__PURE__ */React.createElement(Stack, _objectSpread(_objectSpread({\n align: \"center\"\n }, props), {}, {\n direction: \"column\",\n ref: ref\n }));\n});\nVStack.displayName = \"VStack\"; // src/text.tsx\n\nimport { chakra as chakra20, forwardRef as forwardRef21, omitThemingProps as omitThemingProps10, useStyleConfig as useStyleConfig9 } from \"@chakra-ui/system\";\nimport { cx as cx11 } from \"@chakra-ui/shared-utils\";\nimport { compact as compact2 } from \"@chakra-ui/object-utils\";\nvar Text = forwardRef21(function Text2(props, ref) {\n var styles = useStyleConfig9(\"Text\", props);\n\n var _omitThemingProps9 = omitThemingProps10(props),\n className = _omitThemingProps9.className,\n align = _omitThemingProps9.align,\n decoration = _omitThemingProps9.decoration,\n casing = _omitThemingProps9.casing,\n rest = _objectWithoutProperties(_omitThemingProps9, _excluded23);\n\n var aliasedProps = compact2({\n textAlign: props.align,\n textDecoration: props.decoration,\n textTransform: props.casing\n });\n return /* @__PURE__ */React.createElement(chakra20.p, _objectSpread(_objectSpread(_objectSpread({\n ref: ref,\n className: cx11(\"chakra-text\", props.className)\n }, aliasedProps), rest), {}, {\n __css: styles\n }));\n});\nText.displayName = \"Text\"; // src/wrap.tsx\n\nimport { chakra as chakra21, forwardRef as forwardRef22, tokenToCSSVar } from \"@chakra-ui/system\";\nimport { cx as cx12 } from \"@chakra-ui/shared-utils\";\nimport { mapResponsive as mapResponsive5 } from \"@chakra-ui/breakpoint-utils\";\nimport { Children as Children2, useMemo as useMemo3 } from \"react\";\n\nfunction px(value) {\n return typeof value === \"number\" ? \"\".concat(value, \"px\") : value;\n}\n\nvar Wrap = forwardRef22(function Wrap2(props, ref) {\n var _props$spacing2 = props.spacing,\n spacing = _props$spacing2 === void 0 ? \"0.5rem\" : _props$spacing2,\n spacingX = props.spacingX,\n spacingY = props.spacingY,\n children = props.children,\n justify = props.justify,\n direction = props.direction,\n align = props.align,\n className = props.className,\n shouldWrapChildren = props.shouldWrapChildren,\n rest = _objectWithoutProperties(props, _excluded24);\n\n var styles = useMemo3(function () {\n var _spacingX$spacingY = {\n spacingX: spacingX,\n spacingY: spacingY\n },\n _spacingX$spacingY$sp = _spacingX$spacingY.spacingX,\n x = _spacingX$spacingY$sp === void 0 ? spacing : _spacingX$spacingY$sp,\n _spacingX$spacingY$sp2 = _spacingX$spacingY.spacingY,\n y = _spacingX$spacingY$sp2 === void 0 ? spacing : _spacingX$spacingY$sp2;\n return {\n \"--chakra-wrap-x-spacing\": function chakraWrapXSpacing(theme) {\n return mapResponsive5(x, function (value) {\n return px(tokenToCSSVar(\"space\", value)(theme));\n });\n },\n \"--chakra-wrap-y-spacing\": function chakraWrapYSpacing(theme) {\n return mapResponsive5(y, function (value) {\n return px(tokenToCSSVar(\"space\", value)(theme));\n });\n },\n \"--wrap-x-spacing\": \"calc(var(--chakra-wrap-x-spacing) / 2)\",\n \"--wrap-y-spacing\": \"calc(var(--chakra-wrap-y-spacing) / 2)\",\n display: \"flex\",\n flexWrap: \"wrap\",\n justifyContent: justify,\n alignItems: align,\n flexDirection: direction,\n listStyleType: \"none\",\n padding: \"0\",\n margin: \"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)\",\n \"& > *:not(style)\": {\n margin: \"var(--wrap-y-spacing) var(--wrap-x-spacing)\"\n }\n };\n }, [spacing, spacingX, spacingY, justify, align, direction]);\n var childrenToRender = useMemo3(function () {\n return shouldWrapChildren ? Children2.map(children, function (child, index) {\n return /* @__PURE__ */React.createElement(WrapItem, {\n key: index\n }, child);\n }) : children;\n }, [children, shouldWrapChildren]);\n return /* @__PURE__ */React.createElement(chakra21.div, _objectSpread({\n ref: ref,\n className: cx12(\"chakra-wrap\", className),\n overflow: \"hidden\"\n }, rest), /* @__PURE__ */React.createElement(chakra21.ul, {\n className: \"chakra-wrap__list\",\n __css: styles\n }, childrenToRender));\n});\nWrap.displayName = \"Wrap\";\nvar WrapItem = forwardRef22(function WrapItem2(props, ref) {\n var className = props.className,\n rest = _objectWithoutProperties(props, _excluded25);\n\n return /* @__PURE__ */React.createElement(chakra21.li, _objectSpread({\n ref: ref,\n __css: {\n display: \"flex\",\n alignItems: \"flex-start\"\n },\n className: cx12(\"chakra-wrap__listitem\", className)\n }, rest));\n});\nWrapItem.displayName = \"WrapItem\";\nexport { AbsoluteCenter, AspectRatio, Badge, Box, Center, Circle, Code, Container, Divider, Flex, Grid, GridItem, HStack, Heading, Highlight, Kbd, Link, LinkBox, LinkOverlay, List, ListIcon, ListItem, Mark, OrderedList, SimpleGrid, Spacer, Square, Stack, StackDivider, StackItem, Text, UnorderedList, VStack, Wrap, WrapItem, getDividerStyles, getStackStyles, selector, useHighlight, useListStyles };","import React from 'react';\n\nimport Layout from '../components/layout';\nimport Seo from '../components/seo';\nimport './index.scss';\nimport { Button } from '@chakra-ui/react';\nimport { ChakraProvider } from '@chakra-ui/react';\nimport theme from '../utils/customTheme';\nimport { themeObj } from '../utils/customTheme';\nimport Countdown from '../components/countdown';\nimport Timeline from '../components/timeline';\nimport PrizeMoney from '../components/prizeMoney';\nimport eventInfo from '../data/schedule.json';\nimport Banner from '../components/banner';\nimport DateBanner from '../components/dateBanner';\n\nimport { useDisclosure, Modal, ModalOverlay, ModalContent, ModalHeader, ModalFooter, ModalBody, ModalCloseButton, Link } from \"@chakra-ui/react\";\n\nconst IndexPage = () => {\n const { isOpen, onOpen, onClose } = useDisclosure({ defaultIsOpen: true });\n\n return (\n <ChakraProvider theme={theme}>\n <Layout>\n <Seo\n title=\"Home\"\n children={undefined}\n />\n <Modal isOpen={isOpen} onClose={onClose} isCentered>\n <ModalOverlay />\n <ModalContent>\n <ModalHeader>This Website Is Not Updated</ModalHeader>\n <ModalCloseButton />\n <ModalBody>\n <p>This websited used our old url and is no longer updated. Please visit our new and improved website (mvhacks.dev) for the latest information.</p>\n </ModalBody>\n <ModalFooter>\n <Button colorScheme=\"blue\" mr={3} onClick={onClose}>\n Close\n </Button>\n <Button colorScheme='blue' variant=\"solid\">\n <Link href=\"https://mvhacks.dev\" isExternal>\n Go to mvhacks.dev\n </Link>\n </Button>\n </ModalFooter>\n </ModalContent>\n </Modal>\n <div className=\"center\">\n <div\n id=\"backgroundText\"\n style={{ color: themeObj.dark.palette.accent.secondary }}\n >\n <span>2023</span>\n <div\n id=\"foregroundText\"\n style={{ color: themeObj.dark.palette.secondary.main }}\n >\n MVHacks 6.0\n </div>\n </div>\n <div\n id=\"subtitle\"\n style={{ color: themeObj.dark.palette.secondary.main }}\n >\n The hackathon for everyone. Especially beginners.\n </div>\n\n <Button variant=\"outline\">\n <a href=\"https://forms.gle/ivGpBxPEDeNZ2JaM6\" target='_blank'>Apply for the 7.0 team!</a>\n </Button>\n <div style={{padding: \"10vh\"}}></div>\n <DateBanner></DateBanner>\n <Countdown\n year={2023}\n month={5}\n day={17}\n hour={8}\n ></Countdown>\n <PrizeMoney></PrizeMoney>\n <Timeline eventInfo={eventInfo}></Timeline>\n <Banner></Banner>\n </div>\n </Layout>\n </ChakraProvider>\n );\n};\n\n/**\n * Head export to define metadata for the page\n *\n * See: https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-head/\n */\nexport const Head = () => (\n <Seo\n title=\"Home\"\n children={undefined}\n />\n);\n\nexport default IndexPage;\n"],"names":["hasOwn","hasOwnProperty","classNames","classes","i","arguments","length","arg","argType","push","Array","isArray","inner","apply","toString","Object","prototype","includes","key","call","join","module","exports","default","deselectCurrent","clipboardToIE11Formatting","text","options","debug","message","reselectPrevious","range","selection","mark","success","document","createRange","getSelection","createElement","textContent","style","all","position","top","clip","whiteSpace","webkitUserSelect","MozUserSelect","msUserSelect","userSelect","addEventListener","e","stopPropagation","format","preventDefault","clipboardData","console","warn","window","clearData","setData","onCopy","body","appendChild","selectNodeContents","addRange","execCommand","Error","err","error","copyKey","test","navigator","userAgent","replace","prompt","removeRange","removeAllRanges","removeChild","_extends","assign","target","source","this","_setPrototypeOf","o","p","setPrototypeOf","__proto__","observerMap","Map","RootIds","WeakMap","rootId","unsupportedValue","undefined","defaultFallbackInView","inView","optionsToId","keys","sort","filter","map","root","has","set","get","observe","element","callback","fallbackInView","IntersectionObserver","bounds","getBoundingClientRect","isIntersecting","intersectionRatio","threshold","time","boundingClientRect","intersectionRect","rootBounds","_createObserver","id","instance","thresholds","elements","observer","entries","forEach","entry","_elements$get","some","trackVisibility","isVisible","createObserver","callbacks","splice","indexOf","unobserve","size","disconnect","_excluded","isPlainChildren","props","children","InView","_React$Component","subClass","superClass","_this","node","_unobserveCb","handleNode","triggerOnce","skip","setState","initialInView","observeNode","handleChange","onChange","state","create","constructor","_proto","componentDidUpdate","prevProps","rootMargin","delay","componentWillUnmount","_this$props","render","_this$state","ref","_this$props2","as","excluded","sourceKeys","_objectWithoutPropertiesLoose","useInView","_temp","_ref","_React$useState","setRef","current","useEffect","result","displayName","defaultProps","_react","_interopRequireDefault","_propTypes","_classnames","obj","__esModule","VerticalTimeline","_ref$animate","animate","_ref$className","className","_ref$layout","layout","_ref$lineColor","lineColor","documentElement","setProperty","propTypes","oneOfType","arrayOf","isRequired","string","bool","oneOf","_default","_reactIntersectionObserver","VerticalTimelineElement","_ref$children","_ref$contentArrowStyl","contentArrowStyle","_ref$contentStyle","contentStyle","_ref$date","date","_ref$dateClassName","dateClassName","_ref$icon","icon","_ref$iconClassName","iconClassName","_ref$iconOnClick","iconOnClick","_ref$onTimelineElemen","onTimelineElementClick","_ref$iconStyle","iconStyle","_ref$id","_ref$position","_ref$style","_ref$textClassName","textClassName","_ref$intersectionObse","intersectionObserverProps","_ref$visible","visible","_ref2","Fragment","onClick","shape","func","object","number","rangeCount","active","activeElement","ranges","getRangeAt","tagName","toUpperCase","blur","type","focus","React","background","themeObj","display","textAlign","justifyContent","width","height","flexDirection","alignItems","color","src","_extendStatics","d","b","_assign","t","s","n","Path","_a","counterClockwise","dashRatio","pathRadius","strokeWidth","getDashStyle","getPathDescription","fillOpacity","rotation","diameter","Math","PI","gapLength","strokeDasharray","strokeDashoffset","CircularProgressbar","_super","__","__extends","getBackgroundPadding","backgroundPadding","getPathRadius","getPathRatio","value","minValue","maxValue","min","max","circleRatio","styles","pathRatio","viewBox","cx","cy","r","trail","path","x","y","Component","CircularProgressbarWithChildren","circularProgressbarProps","getOwnPropertySymbols","__rest","marginTop","removeUndefinedValues","getTimeLeft","currentTime","timeDifferenceMinutes","timeOfEvent","getTime","daysLeft","floor","hoursLeft","ceil","year","month","day","hour","Date","useState","timeLeft","setTimeLeft","getPercentage","maximum","round","interval","setInterval","clearInterval","strokeLinecap","textColor","textSize","pathColor","pathTransition","pathTransitionDuration","trailColor","backgroundColor","rotationTransform","rotationTransformOrigin","circularProgressStyles","stroke","transform","transformOrigin","transition","transitionDuration","fill","fontSize","paddingTop","margin","eventInfo","event","index","boxShadow","outline","borderRight","border","name","descriptionLinked","href","descriptionLink","description","ownKeys","enumerableOnly","symbols","sym","getOwnPropertyDescriptor","enumerable","_objectSpread","getOwnPropertyDescriptors","defineProperties","defineProperty","useSafeLayoutEffect","useLayoutEffect","useCallbackRef","fn","deps","useRef","useCallback","_a2","_len","args","_key","concat","useControllableProp","prop","isControlled","useId","idProp","prefix","useMemo","Boolean","getDefaultParent","originalTarget","ownerDocument","counterMap","uncontrolledNodes","markerMap","lockCount","applyAttributeToOthers","parentNode","markerName","controlAttribute","targets","markerCounter","hiddenNodes","elementsToKeep","Set","elementsToStop","keep","el","add","deep","parent","attr","getAttribute","alreadyHidden","counterValue","markerValue","setAttribute","clear","removeAttribute","delete","hideOthers","from","activeParentNode","querySelectorAll","FOCUS_GROUP","FOCUS_DISABLED","refs","defaultValue","initialValue","newValue","facade","last","hiddenGuard","padding","overflow","left","InFocusGuard","ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","read","useMedium","data","item","assignSyncMedium","cb","cbs","assignMedium","pendingQueue","executeQueue","cycle","Promise","resolve","then","_filter","createMedium","createSidecarMedium","medium","async","ssr","mediumFocus","currentTarget","mediumBlur","mediumEffect","mediumSidecar","emptyArray","FocusLock","parentRef","_extends2","realObserved","setObserved","observed","isActive","originalFocusedElement","disabled","noFocusGuards","persistentFocus","crossFrame","autoFocus","group","allowTextSelection","whiteList","hasPositiveIndices","_props$shards","shards","_props$as","Container","_props$lockProps","lockProps","containerProps","SideCar","sideCar","shouldReturnFocus","returnFocus","focusOptions","onActivationCallback","onActivation","onDeactivationCallback","onDeactivation","allowDefer","returnFocusTo","howToReturnFocus","returnFocusOptions","onFocus","onBlur","setObserveNode","newObserved","hasLeadingGuards","hasTailingGuards","mergedRef","tabIndex","reducePropsToState","handleStateChangeOnClient","WrappedComponent","mountedInstances","emitChange","SideEffect","_PureComponent","peek","componentDidMount","PureComponent","getDisplayName","toArray","ret","asArray","getParentNode","nodeType","Node","DOCUMENT_FRAGMENT_NODE","host","isTopNode","DOCUMENT_NODE","isVisibleUncached","checkParent","ELEMENT_NODE","computedStyle","getComputedStyle","getPropertyValue","isElementHidden","isVisibleCached","visibilityCache","cached","bind","isAutoFocusAllowedCached","cache","isAutoFocusAllowed","isAutoFocusAllowedUncached","getDataset","dataset","isHTMLInputElement","isRadioElement","attribute","isGuard","focusGuard","isNotAGuard","isDefined","tabSort","tabDiff","indexDiff","orderByTabIndex","nodes","filterNegative","keepGuards","queryTabbables","queryGuardTabbables","getFocusablesWithShadowDom","withGuards","shadowRoot","reduce","acc","child","matches","getFocusables","parents","filterFocusable","isHTMLButtonElement","notHiddenInput","filterAutoFocusable","getTabbableNodes","topNodes","getAllTabbableNodes","parentAutofocusables","topNode","parentFocus","contains","scope","getPrototypeOf","getNestedShadowActiveElement","getTopParent","getAllAffectedNodes","currentNode","contained","l","j","compareDocumentPosition","DOCUMENT_POSITION_CONTAINED_BY","DOCUMENT_POSITION_CONTAINS","_","filterNested","focusInsideIframe","focusInside","correctNode","checked","findSelectedRadio","pickFirstFocus","pickFocusable","NEW_FOCUS","newFocus","innerNodes","outerNodes","lastNode","cnt","firstFocus","lastFocus","isOnGuard","resultSet","activeIndex","lastIndex","lastNodeInside","firstNodeIndex","lastNodeIndex","correctedNodes","correctedIndexDiff","returnFirstNode","returnLastNode","abs","pickAutofocus","nodesIndexes","orderedNodes","groups","autoFocusables","autoFocusable","autofocus","getParents","getCommonParent","nodeA","nodeB","parentsA","parentsB","currentParent","getTopCommonParent","baseActiveElement","leftEntry","rightEntries","activeElements","leftEntries","topCommon","subEntry","common","allParentAutofocusables","getFocusMerge","commonParent","anyFocusable","innerElements","srcNodes","dstNodes","remap","orderedInnerElements","entity","newId","guardCount","lockDisabled","focusable","setTimeout","contentWindow","getFocusabledIn","lockItem","guard","deferAction","action","setImmediate","isFreeFocus","lastActiveTrap","lastActiveFocus","lastPortaledElement","focusWasOutsideWindow","defaultWhitelist","autoGuard","startIndex","end","step","allNodes","lastGuard","focusAutoGuard","extractRef","checkInHost","check","boundary","activateTrap","_lastActiveTrap","workingNode","portaledElement","workingArea","focusWhitelisted","area","withinHost","newActiveElement","focusedIndex","_ref3","onTrap","observerNode","onWindowBlur","moveFocusInside","propsList","_ref5","traps","trap","slice","lastTrap","sameTrap","_ref6","removeEventListener","FocusLockCombination","isElement","isHTMLElement","_el$ownerDocument$def","defaultView","HTMLElement","hasTabIndex","hasAttribute","isHidden","parentElement","hidden","isFocusable","isDisabled","localName","others","audio","video","isContentEditable","focusableElSelector","container","focusableEls","unshift","offsetWidth","offsetHeight","initialFocusRef","finalFocusRef","contentRef","restoreFocus","lockFocusAcrossFrames","requestAnimationFrame","zeroRightClassName","fullWidthClassName","effectCar","nothing","RemoveScroll","onScrollCapture","onWheelCapture","onTouchMoveCapture","setCallbacks","forwardProps","removeScrollBar","enabled","noIsolation","inert","allowPinchZoom","_b","rest","containerRef","lockRef","fullWidth","zeroRight","currentNonce","Target","isSideCarExport","makeStyleTag","tag","nonce","stylesheetSingleton","counter","stylesheet","css","styleSheet","cssText","createTextNode","head","getElementsByTagName","insertStyleTag","remove","styleSingleton","sheet","useStyle","isDynamic","dynamic","zeroGap","right","gap","parse","parseInt","getGapWidth","gapMode","offsets","cs","getOffset","documentWidth","clientWidth","windowWidth","innerWidth","Style","getStyles","allowRelative","important","RemoveScrollBar","noRelative","noImportant","passiveSupported","nonPassive","passive","elementCanBeScrolled","overflowY","overflowX","alwaysContainsScroll","locationCouldBeScrolled","axis","ShadowRoot","elementCouldBeScrolled","getScrollVariables","elementCouldBeVScrolled","elementCouldBeHScrolled","scrollTop","scrollHeight","clientHeight","scrollLeft","scrollWidth","getHScrollVariables","getTouchXY","changedTouches","clientX","clientY","getDeltaXY","deltaX","deltaY","generateStyle","idCounter","lockStack","exported","shouldPreventQueue","touchStartRef","activeAxis","lastProps","classList","allow_1","shouldCancelEvent","touches","currentAxis","touch","touchStart","moveDirection","canBeScrolledInMainDirection","cancelingAxis","endTarget","sourceDelta","noOverscroll","directionFactor","direction","getDirectionFactor","delta","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","elementScroll","handleScroll","shouldPrevent","_event","sourceEvent","should","cancelable","shardNodes","shouldCancel","scrollTouchStart","scrollWheel","scrollTouchMove","inst","ReactRemoveScroll","_excluded2","_excluded3","_excluded4","_excluded5","_excluded6","_excluded7","_excluded10","callAllHandlers","_len2","fns","_key2","defaultPrevented","manager","ModalManager","modals","modal","_modal","useModal","shouldHide","currentElement","isOpen","onClose","_props$closeOnOverlay","closeOnOverlayClick","_props$closeOnEsc","closeOnEsc","_props$useInert","useInert","onOverlayClickProp","onOverlayClick","onEsc","dialogRef","overlayRef","_useIds","_len3","prefixes","_key3","reactId","_useIds2","dialogId","headerId","bodyId","useModalManager","mouseDownTarget","onMouseDown","onKeyDown","_useState","_useState2","headerMounted","setHeaderMounted","_useState3","_useState4","bodyMounted","setBodyMounted","getDialogProps","props2","role","isTopModal","getDialogContainerProps","_createContext","errorMessage","_createContext2","ModalStylesProvider","useModalStyles","_createContext3","strict","_createContext4","ModalContextProvider","useModalContext","Modal","portalProps","trapFocus","returnFocusOnClose","blockScrollOnMount","preserveScrollBarGap","motionPreset","onCloseComplete","context","AnimatePresence","onExitComplete","scrollBehavior","ModalBody","_useModalContext","_className","__css","ModalCloseButton","closeButton","ModalFocusScope","_useModalContext3","_usePresence","_usePresence2","isPresent","safeToRemove","transitions","slideInBottom","custom","offsetY","reverse","slideInRight","offsetX","scale","initialScale","none","MotionSection","motion","ModalTransition","forwardRef","preset","_props$motionProps","motionProps","getMotionProps","ModalContent","rootProps","_useModalContext4","dialogProps","dialogStyles","dialog","dialogContainerStyles","dialogContainer","ModalFooter","footerStyles","footer","ModalHeader","_useModalContext6","headerStyles","flex","header","MotionDiv","ModalOverlay","_motionProps","overlayStyle","pos","w","h","overlay","defaultMotionProps","_createContext5","_createContext6","useDrawerContext","MotionDiv2","_useModalContext8","placement","in","isObject","freeze","mapResponsive","mapper","compact","clone","getValidChildren","Children","isValidElement","_excluded11","_excluded12","_excluded13","_excluded14","_excluded15","_excluded16","_excluded17","_excluded18","_excluded19","_excluded20","_excluded21","_excluded22","_excluded23","_excluded24","_excluded25","_props$ratio","ratio","_before","content","paddingBottom","bottom","objectFit","_omitThemingProps","verticalAlign","Box","Square","_props$centerContent","centerContent","boxSize","flexShrink","flexGrow","borderRadius","baseStyle","centerStyles","horizontal","insetStart","vertical","both","_props$axis","_omitThemingProps2","_omitThemingProps3","_useStyleConfig","borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor","_omitThemingProps4","_omitThemingProps4$or","orientation","dividerStyles","align","justify","wrap","basis","grow","shrink","flexWrap","flexBasis","Grid","templateAreas","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","gridTemplateAreas","gridGap","gridRowGap","gridColumnGap","gridAutoColumns","gridColumn","gridRow","gridAutoFlow","gridAutoRows","gridTemplateRows","gridTemplateColumns","spanFn","span","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart","gridArea","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","_omitThemingProps5","ownProps","bg","_omitThemingProps6","fontFamily","Link","_omitThemingProps7","isExternal","rel","cursor","zIndex","ListStylesProvider","useListStyles","List","_omitThemingProps8","_omitThemingProps8$st","styleType","stylePosition","spacing","validChildren","spacingStyle","mt","listStyleType","listStylePosition","marginStart","columns","spacingX","spacingY","minChildWidth","theme","_value","widthToColumns","justifySelf","alignSelf","selector","StackItem","minWidth","Stack","isInline","directionProp","_props$spacing","divider","shouldWrapChildren","directionStyles","marginEnd","marginBottom","getStackStyles","dividerStyle","my","mx","getDividerStyles","hasDivider","shouldUseChildren","clones","isLast","_child","clonedDivider","cloneElement","_divider","_omitThemingProps9","decoration","casing","aliasedProps","textDecoration","textTransform","_props$spacing2","_spacingX$spacingY","_spacingX$spacingY$sp","_spacingX$spacingY$sp2","childrenToRender","WrapItem","Head","Seo","title","onCloseProp","onOpenProp","onOpen","isOpenProp","onOpenPropCallbackRef","onClosePropCallbackRef","_useState17","defaultIsOpen","_useState18","isOpenState","setIsOpen","_useControllableProp","_useControllableProp2","onToggle","getButtonProps","getDisclosureProps","useDisclosure","ChakraProvider","Layout","isCentered","Button","colorScheme","mr","variant","DateBanner","Countdown","PrizeMoney","Timeline","Banner"],"sourceRoot":""}