{"version":3,"file":"NavigateNext-C-hSjpcH.js","sources":["../../node_modules/react-router-hash-link/dist/react-router-hash-link.esm.js","../../node_modules/@mui/icons-material/esm/KeyboardArrowDown.js","../../node_modules/@mui/icons-material/esm/Check.js","../../node_modules/@mui/icons-material/esm/PriorityHigh.js","../../node_modules/@mui/icons-material/esm/NavigateNext.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link, NavLink } from 'react-router-dom';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\nfunction __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\n\nvar hashFragment = '';\r\nvar observer = null;\r\nvar asyncTimerId = null;\r\nvar scrollFunction = null;\r\nfunction reset() {\r\n hashFragment = '';\r\n if (observer !== null)\r\n observer.disconnect();\r\n if (asyncTimerId !== null) {\r\n window.clearTimeout(asyncTimerId);\r\n asyncTimerId = null;\r\n }\r\n}\r\nfunction isInteractiveElement(element) {\r\n var formTags = ['BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];\r\n var linkTags = ['A', 'AREA'];\r\n return ((formTags.includes(element.tagName) && !element.hasAttribute('disabled')) ||\r\n (linkTags.includes(element.tagName) && element.hasAttribute('href')));\r\n}\r\nfunction getElAndScroll() {\r\n var element = null;\r\n if (hashFragment === '#') {\r\n // use document.body instead of document.documentElement because of a bug in smoothscroll-polyfill in safari\r\n // see https://github.com/iamdustan/smoothscroll/issues/138\r\n // while smoothscroll-polyfill is not included, it is the recommended way to implement smoothscroll\r\n // in browsers that don't natively support el.scrollIntoView({ behavior: 'smooth' })\r\n element = document.body;\r\n }\r\n else {\r\n // check for element with matching id before assume '#top' is the top of the document\r\n // see https://html.spec.whatwg.org/multipage/browsing-the-web.html#target-element\r\n var id = hashFragment.replace('#', '');\r\n element = document.getElementById(id);\r\n if (element === null && hashFragment === '#top') {\r\n // see above comment for why document.body instead of document.documentElement\r\n element = document.body;\r\n }\r\n }\r\n if (element !== null) {\r\n scrollFunction(element);\r\n // update focus to where the page is scrolled to\r\n // unfortunately this doesn't work in safari (desktop and iOS) when blur() is called\r\n var originalTabIndex = element.getAttribute('tabindex');\r\n if (originalTabIndex === null && !isInteractiveElement(element)) {\r\n element.setAttribute('tabindex', -1);\r\n }\r\n element.focus({ preventScroll: true });\r\n if (originalTabIndex === null && !isInteractiveElement(element)) {\r\n // for some reason calling blur() in safari resets the focus region to where it was previously,\r\n // if blur() is not called it works in safari, but then are stuck with default focus styles\r\n // on an element that otherwise might never had focus styles applied, so not an option\r\n element.blur();\r\n element.removeAttribute('tabindex');\r\n }\r\n reset();\r\n return true;\r\n }\r\n return false;\r\n}\r\nfunction hashLinkScroll(timeout) {\r\n // Push onto callback queue so it runs after the DOM is updated\r\n window.setTimeout(function () {\r\n if (getElAndScroll() === false) {\r\n if (observer === null) {\r\n observer = new MutationObserver(getElAndScroll);\r\n }\r\n observer.observe(document, {\r\n attributes: true,\r\n childList: true,\r\n subtree: true,\r\n });\r\n // if the element doesn't show up in specified timeout or 10 seconds, stop checking\r\n asyncTimerId = window.setTimeout(function () {\r\n reset();\r\n }, timeout || 10000);\r\n }\r\n }, 0);\r\n}\r\nfunction genericHashLink(As) {\r\n return React.forwardRef(function (props, ref) {\r\n var linkHash = '';\r\n if (typeof props.to === 'string' && props.to.includes('#')) {\r\n linkHash = \"#\" + props.to.split('#').slice(1).join('#');\r\n }\r\n else if (typeof props.to === 'object' &&\r\n typeof props.to.hash === 'string') {\r\n linkHash = props.to.hash;\r\n }\r\n var passDownProps = {};\r\n if (As === NavLink) {\r\n passDownProps.isActive = function (match, location) {\r\n return match && match.isExact && location.hash === linkHash;\r\n };\r\n }\r\n function handleClick(e) {\r\n reset();\r\n hashFragment = props.elementId ? \"#\" + props.elementId : linkHash;\r\n if (props.onClick)\r\n props.onClick(e);\r\n if (hashFragment !== '' &&\r\n // ignore non-vanilla click events, same as react-router\r\n // below logic adapted from react-router: https://github.com/ReactTraining/react-router/blob/fc91700e08df8147bd2bb1be19a299cbb14dbcaa/packages/react-router-dom/modules/Link.js#L43-L48\r\n !e.defaultPrevented && // onClick prevented default\r\n e.button === 0 && // ignore everything but left clicks\r\n (!props.target || props.target === '_self') && // let browser handle \"target=_blank\" etc\r\n !(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) // ignore clicks with modifier keys\r\n ) {\r\n scrollFunction =\r\n props.scroll ||\r\n (function (el) {\r\n return props.smooth\r\n ? el.scrollIntoView({ behavior: 'smooth' })\r\n : el.scrollIntoView();\r\n });\r\n hashLinkScroll(props.timeout);\r\n }\r\n }\r\n var filteredProps = __rest(props, [\"scroll\", \"smooth\", \"timeout\", \"elementId\"]);\r\n return (React.createElement(As, __assign({}, passDownProps, filteredProps, { onClick: handleClick, ref: ref }), props.children));\r\n });\r\n}\r\nvar HashLink = genericHashLink(Link);\r\nvar NavHashLink = genericHashLink(NavLink);\r\nif (process.env.NODE_ENV !== 'production') {\r\n HashLink.displayName = 'HashLink';\r\n NavHashLink.displayName = 'NavHashLink';\r\n var propTypes = {\r\n onClick: PropTypes.func,\r\n children: PropTypes.node,\r\n scroll: PropTypes.func,\r\n timeout: PropTypes.number,\r\n elementId: PropTypes.string,\r\n to: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),\r\n };\r\n HashLink.propTypes = propTypes;\r\n NavHashLink.propTypes = propTypes;\r\n}\n\nexport { HashLink, NavHashLink, genericHashLink };\n//# sourceMappingURL=react-router-hash-link.esm.js.map\n","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z\"\n}), 'KeyboardArrowDown');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z\"\n}), 'Check');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon([/*#__PURE__*/_jsx(\"circle\", {\n cx: \"12\",\n cy: \"19\",\n r: \"2\"\n}, \"0\"), /*#__PURE__*/_jsx(\"path\", {\n d: \"M10 3h4v12h-4z\"\n}, \"1\")], 'PriorityHigh');","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n d: \"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'NavigateNext');"],"names":["React","importShared","Link","NavLink","__assign","t","s","i","n","p","__rest","hashFragment","observer","asyncTimerId","scrollFunction","reset","isInteractiveElement","element","formTags","linkTags","getElAndScroll","id","originalTabIndex","hashLinkScroll","timeout","genericHashLink","As","props","ref","linkHash","passDownProps","match","location","handleClick","e","el","filteredProps","HashLink","KeyboardArrowDownIcon","createSvgIcon","_jsx","CheckIcon","PriorityHighIcon","NavigateNextIcon"],"mappings":"iIAAA,MAAAA,EAAA,MAAAC,EAAA,OAAA,EAEA,CAAA,KAAAC,EAAA,QAAAC,CAAA,EAAA,MAAAF,EAAA,kBAAA,EAEA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gFAeA,IAAIG,EAAW,UAAW,CACtB,OAAAA,EAAW,OAAO,QAAU,SAAkBC,EAAG,CACpC,QAAAC,EAAGC,EAAI,EAAGC,EAAI,UAAU,OAAQD,EAAIC,EAAGD,IAAK,CACjDD,EAAI,UAAUC,CAAC,EACf,QAASE,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,IAAGJ,EAAEI,CAAC,EAAIH,EAAEG,CAAC,EAAA,CAExE,OAAAJ,CACX,EACOD,EAAS,MAAM,KAAM,SAAS,CACzC,EAEA,SAASM,EAAOJ,EAAG,EAAG,CAClB,IAAID,EAAI,CAAC,EACT,QAASI,KAAKH,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGG,CAAC,GAAK,EAAE,QAAQA,CAAC,EAAI,IAC5EJ,EAAAI,CAAC,EAAIH,EAAEG,CAAC,GACd,GAAIH,GAAK,MAAQ,OAAO,OA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