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/@chakra-ui/image/dist/index.esm.js","webpack://_N_E/./node_modules/@chakra-ui/media-query/dist/index.esm.js","webpack://_N_E/./node_modules/next/dist/client/link.js","webpack://_N_E/./node_modules/next/link.js","webpack://_N_E/"],"sourcesContent":["// ../../../react-shim.js\nimport React from \"react\";\n\n// src/image.tsx\nimport {\n chakra,\n forwardRef as forwardRef2\n} from \"@chakra-ui/system\";\n\n// ../../utilities/object-utils/src/index.ts\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone)\n delete clone[key];\n }\n return clone;\n}\n\n// src/use-image.ts\nimport { useSafeLayoutEffect } from \"@chakra-ui/react-use-safe-layout-effect\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\nfunction useImage(props) {\n const {\n loading,\n src,\n srcSet,\n onLoad,\n onError,\n crossOrigin,\n sizes,\n ignoreFallback\n } = props;\n const [status, setStatus] = useState(\"pending\");\n useEffect(() => {\n setStatus(src ? \"loading\" : \"pending\");\n }, [src]);\n const imageRef = useRef();\n const load = useCallback(() => {\n if (!src)\n return;\n flush();\n const img = new Image();\n img.src = src;\n if (crossOrigin)\n img.crossOrigin = crossOrigin;\n if (srcSet)\n img.srcset = srcSet;\n if (sizes)\n img.sizes = sizes;\n if (loading)\n img.loading = loading;\n img.onload = (event) => {\n flush();\n setStatus(\"loaded\");\n onLoad == null ? void 0 : onLoad(event);\n };\n img.onerror = (error) => {\n flush();\n setStatus(\"failed\");\n onError == null ? void 0 : onError(error);\n };\n imageRef.current = img;\n }, [src, crossOrigin, srcSet, sizes, onLoad, onError, loading]);\n const flush = () => {\n if (imageRef.current) {\n imageRef.current.onload = null;\n imageRef.current.onerror = null;\n imageRef.current = null;\n }\n };\n useSafeLayoutEffect(() => {\n if (ignoreFallback)\n return void 0;\n if (status === \"loading\") {\n load();\n }\n return () => {\n flush();\n };\n }, [status, load, ignoreFallback]);\n return ignoreFallback ? \"loaded\" : status;\n}\nvar shouldShowFallbackImage = (status, fallbackStrategy) => status !== \"loaded\" && fallbackStrategy === \"beforeLoadOrError\" || status === \"failed\" && fallbackStrategy === \"onError\";\n\n// src/native-image.tsx\nimport { forwardRef } from \"@chakra-ui/system\";\nvar NativeImage = forwardRef(function NativeImage2(props, ref) {\n const { htmlWidth, htmlHeight, alt, ...rest } = props;\n return /* @__PURE__ */ React.createElement(\"img\", {\n width: htmlWidth,\n height: htmlHeight,\n ref,\n alt,\n ...rest\n });\n});\nNativeImage.displayName = \"NativeImage\";\n\n// src/image.tsx\nvar Image2 = forwardRef2(function Image3(props, ref) {\n const {\n fallbackSrc,\n fallback,\n src,\n srcSet,\n align,\n fit,\n loading,\n ignoreFallback,\n crossOrigin,\n fallbackStrategy = \"beforeLoadOrError\",\n referrerPolicy,\n ...rest\n } = props;\n const providedFallback = fallbackSrc !== void 0 || fallback !== void 0;\n const shouldIgnoreFallbackImage = loading != null || ignoreFallback || !providedFallback;\n const status = useImage({\n ...props,\n ignoreFallback: shouldIgnoreFallbackImage\n });\n const showFallbackImage = shouldShowFallbackImage(status, fallbackStrategy);\n const shared = {\n ref,\n objectFit: fit,\n objectPosition: align,\n ...shouldIgnoreFallbackImage ? rest : omit(rest, [\"onError\", \"onLoad\"])\n };\n if (showFallbackImage) {\n if (fallback)\n return fallback;\n return /* @__PURE__ */ React.createElement(chakra.img, {\n as: NativeImage,\n className: \"chakra-image__placeholder\",\n src: fallbackSrc,\n ...shared\n });\n }\n return /* @__PURE__ */ React.createElement(chakra.img, {\n as: NativeImage,\n src,\n srcSet,\n crossOrigin,\n loading,\n referrerPolicy,\n className: \"chakra-image\",\n ...shared\n });\n});\nImage2.displayName = \"Image\";\n\n// src/img.tsx\nimport { chakra as chakra2, forwardRef as forwardRef3 } from \"@chakra-ui/system\";\nvar Img = forwardRef3((props, ref) => /* @__PURE__ */ React.createElement(chakra2.img, {\n ref,\n as: NativeImage,\n className: \"chakra-image\",\n ...props\n}));\nexport {\n Image2 as Image,\n Img,\n shouldShowFallbackImage,\n useImage\n};\n","// ../../../react-shim.js\nimport React from \"react\";\n\n// src/media-query.tsx\nimport { useTheme } from \"@chakra-ui/system\";\nvar getBreakpoint = (theme, value) => {\n var _a;\n return ((_a = theme == null ? void 0 : theme.breakpoints) == null ? void 0 : _a[value]) ?? value;\n};\nfunction useQuery(props) {\n const { breakpoint = \"\", below, above } = props;\n const theme = useTheme();\n const bpBelow = getBreakpoint(theme, below);\n const bpAbove = getBreakpoint(theme, above);\n let query = breakpoint;\n if (bpBelow) {\n query = `(max-width: ${bpBelow})`;\n } else if (bpAbove) {\n query = `(min-width: ${bpAbove})`;\n }\n return query;\n}\n\n// src/use-media-query.ts\nimport { useEnvironment } from \"@chakra-ui/react-env\";\nimport { useEffect, useState } from \"react\";\nfunction useMediaQuery(query, options = {}) {\n const { ssr = true, fallback } = options;\n const env = useEnvironment();\n const queries = Array.isArray(query) ? query : [query];\n let fallbackValues = Array.isArray(fallback) ? fallback : [fallback];\n fallbackValues = fallbackValues.filter((v) => v != null);\n const [value, setValue] = useState(() => {\n return queries.map((query2, index) => ({\n media: query2,\n matches: ssr ? !!fallbackValues[index] : env.window.matchMedia(query2).matches\n }));\n });\n useEffect(() => {\n setValue(queries.map((query2) => ({\n media: query2,\n matches: env.window.matchMedia(query2).matches\n })));\n const mql = queries.map((query2) => env.window.matchMedia(query2));\n const handler = (evt) => {\n setValue((prev) => {\n return prev.slice().map((item) => {\n if (item.media === evt.media)\n return { ...item, matches: evt.matches };\n return item;\n });\n });\n };\n mql.forEach((mql2) => {\n if (typeof mql2.addListener === \"function\") {\n mql2.addListener(handler);\n } else {\n mql2.addEventListener(\"change\", handler);\n }\n });\n return () => {\n mql.forEach((mql2) => {\n if (typeof mql2.removeListener === \"function\") {\n mql2.removeListener(handler);\n } else {\n mql2.removeEventListener(\"change\", handler);\n }\n });\n };\n }, [env.window]);\n return value.map((item) => item.matches);\n}\n\n// src/media-query.hook.ts\nfunction usePrefersReducedMotion(options) {\n const [prefersReducedMotion] = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return prefersReducedMotion;\n}\nfunction useColorModePreference(options) {\n const [isLight, isDark] = useMediaQuery([\"(prefers-color-scheme: light)\", \"(prefers-color-scheme: dark)\"], options);\n if (isLight)\n return \"light\";\n if (isDark)\n return \"dark\";\n return void 0;\n}\n\n// src/use-breakpoint.ts\nimport { useTheme as useTheme2 } from \"@chakra-ui/system\";\n\n// ../../utilities/shared-utils/src/index.ts\nfunction isObject(value) {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\") && !Array.isArray(value);\n}\n\n// src/use-breakpoint.ts\nfunction useBreakpoint(arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const theme = useTheme2();\n const breakpoints = theme.__breakpoints.details.map(({ minMaxQuery, breakpoint }) => ({\n breakpoint,\n query: minMaxQuery.replace(\"@media screen and \", \"\")\n }));\n const fallback = breakpoints.map((bp) => bp.breakpoint === opts.fallback);\n const values = useMediaQuery(breakpoints.map((bp) => bp.query), { fallback, ssr: opts.ssr });\n const index = values.findIndex((value) => value == true);\n return ((_a = breakpoints[index]) == null ? void 0 : _a.breakpoint) ?? opts.fallback;\n}\n\n// src/use-breakpoint-value.ts\nimport { useTheme as useTheme3 } from \"@chakra-ui/system\";\nimport { arrayToObjectNotation } from \"@chakra-ui/breakpoint-utils\";\n\n// src/media-query.utils.ts\nimport { breakpoints as defaultBreakPoints } from \"@chakra-ui/breakpoint-utils\";\nfunction getClosestValue(values, breakpoint, breakpoints = defaultBreakPoints) {\n let index = Object.keys(values).indexOf(breakpoint);\n if (index !== -1) {\n return values[breakpoint];\n }\n let stopIndex = breakpoints.indexOf(breakpoint);\n while (stopIndex >= 0) {\n const key = breakpoints[stopIndex];\n if (values.hasOwnProperty(key)) {\n index = stopIndex;\n break;\n }\n stopIndex -= 1;\n }\n if (index !== -1) {\n const key = breakpoints[index];\n return values[key];\n }\n return void 0;\n}\n\n// src/use-breakpoint-value.ts\nfunction useBreakpointValue(values, arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const breakpoint = useBreakpoint(opts);\n const theme = useTheme3();\n if (!breakpoint)\n return;\n const breakpoints = Array.from(((_a = theme.__breakpoints) == null ? void 0 : _a.keys) || []);\n const obj = Array.isArray(values) ? Object.fromEntries(Object.entries(arrayToObjectNotation(values, breakpoints)).map(([key, value]) => [key, value])) : values;\n return getClosestValue(obj, breakpoint, breakpoints);\n}\n\n// src/visibility.tsx\nfunction Visibility(props) {\n const { breakpoint, hide, children, ssr } = props;\n const [show] = useMediaQuery(breakpoint, { ssr });\n const isVisible = hide ? !show : show;\n const rendered = isVisible ? children : null;\n return rendered;\n}\n\n// src/show.tsx\nfunction Show(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ React.createElement(Visibility, {\n breakpoint: query,\n ssr\n }, children);\n}\nShow.displayName = \"Show\";\n\n// src/hide.tsx\nfunction Hide(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ React.createElement(Visibility, {\n breakpoint: query,\n hide: true,\n ssr\n }, children);\n}\nHide.displayName = \"Hide\";\nexport {\n Hide,\n Show,\n useBreakpoint,\n useBreakpointValue,\n useColorModePreference,\n useMediaQuery,\n usePrefersReducedMotion,\n useQuery\n};\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _react = _interopRequireDefault(require(\"react\"));\nvar _router = require(\"../shared/lib/router/router\");\nvar _router1 = require(\"./router\");\nvar _useIntersection = require(\"./use-intersection\");\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = _objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n for(i = 0; i < sourceSymbolKeys.length; i++){\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n return target;\n}\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\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 return target;\n}\nconst prefetched = {};\nfunction prefetch(router, href, as, options) {\n if (typeof window === 'undefined' || !router) return;\n if (!(0, _router).isLocalURL(href)) return;\n // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n router.prefetch(href, as, options).catch((err)=>{\n if (process.env.NODE_ENV !== 'production') {\n // rethrow to show invalid URL errors\n throw err;\n }\n });\n const curLocale = options && typeof options.locale !== 'undefined' ? options.locale : router && router.locale;\n // Join on an invalid URI character\n prefetched[href + '%' + as + (curLocale ? '%' + curLocale : '')] = true;\n}\nfunction isModifiedEvent(event) {\n const { target } = event.currentTarget;\n return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.nativeEvent && event.nativeEvent.which === 2;\n}\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale) {\n const { nodeName } = e.currentTarget;\n // anchors inside an svg have a lowercase nodeName\n const isAnchorNodeName = nodeName.toUpperCase() === 'A';\n if (isAnchorNodeName && (isModifiedEvent(e) || !(0, _router).isLocalURL(href))) {\n // ignore click for browser’s default behavior\n return;\n }\n e.preventDefault();\n // replace state instead of push if prop is present\n router[replace ? 'replace' : 'push'](href, as, {\n shallow,\n locale,\n scroll\n });\n}\nconst Link = /*#__PURE__*/ _react.default.forwardRef((props, forwardedRef)=>{\n const { legacyBehavior =Boolean(process.env.__NEXT_NEW_LINK_BEHAVIOR) !== true , } = props;\n if (process.env.NODE_ENV !== 'production') {\n function createPropError(args) {\n return new Error(`Failed prop type: The prop \\`${args.key}\\` expects a ${args.expected} in \\`\\`, but got \\`${args.actual}\\` instead.` + (typeof window !== 'undefined' ? \"\\nOpen your browser's console to view the Component stack trace.\" : ''));\n }\n // TypeScript trick for type-guarding:\n const requiredPropsGuard = {\n href: true\n };\n const requiredProps = Object.keys(requiredPropsGuard);\n requiredProps.forEach((key)=>{\n if (key === 'href') {\n if (props[key] == null || typeof props[key] !== 'string' && typeof props[key] !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: props[key] === null ? 'null' : typeof props[key]\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // TypeScript trick for type-guarding:\n const optionalPropsGuard = {\n as: true,\n replace: true,\n scroll: true,\n shallow: true,\n passHref: true,\n prefetch: true,\n locale: true,\n onClick: true,\n onMouseEnter: true,\n legacyBehavior: true\n };\n const optionalProps = Object.keys(optionalPropsGuard);\n optionalProps.forEach((key)=>{\n const valType = typeof props[key];\n if (key === 'as') {\n if (props[key] && valType !== 'string' && valType !== 'object') {\n throw createPropError({\n key,\n expected: '`string` or `object`',\n actual: valType\n });\n }\n } else if (key === 'locale') {\n if (props[key] && valType !== 'string') {\n throw createPropError({\n key,\n expected: '`string`',\n actual: valType\n });\n }\n } else if (key === 'onClick' || key === 'onMouseEnter') {\n if (props[key] && valType !== 'function') {\n throw createPropError({\n key,\n expected: '`function`',\n actual: valType\n });\n }\n } else if (key === 'replace' || key === 'scroll' || key === 'shallow' || key === 'passHref' || key === 'prefetch' || key === 'legacyBehavior') {\n if (props[key] != null && valType !== 'boolean') {\n throw createPropError({\n key,\n expected: '`boolean`',\n actual: valType\n });\n }\n } else {\n // TypeScript trick for type-guarding:\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const _ = key;\n }\n });\n // This hook is in a conditional but that is ok because `process.env.NODE_ENV` never changes\n // eslint-disable-next-line react-hooks/rules-of-hooks\n const hasWarned = _react.default.useRef(false);\n if (props.prefetch && !hasWarned.current) {\n hasWarned.current = true;\n console.warn('Next.js auto-prefetches automatically based on viewport. The prefetch attribute is no longer needed. More: https://nextjs.org/docs/messages/prefetch-true-deprecated');\n }\n }\n let children;\n const { href: hrefProp , as: asProp , children: childrenProp , prefetch: prefetchProp , passHref , replace , shallow , scroll , locale , onClick , onMouseEnter } = props, restProps = _objectWithoutProperties(props, [\n \"href\",\n \"as\",\n \"children\",\n \"prefetch\",\n \"passHref\",\n \"replace\",\n \"shallow\",\n \"scroll\",\n \"locale\",\n \"onClick\",\n \"onMouseEnter\"\n ]);\n children = childrenProp;\n if (legacyBehavior && typeof children === 'string') {\n children = /*#__PURE__*/ _react.default.createElement(\"a\", null, children);\n }\n const p = prefetchProp !== false;\n const router = (0, _router1).useRouter();\n const { href , as } = _react.default.useMemo(()=>{\n const [resolvedHref, resolvedAs] = (0, _router).resolveHref(router, hrefProp, true);\n return {\n href: resolvedHref,\n as: asProp ? (0, _router).resolveHref(router, asProp) : resolvedAs || resolvedHref\n };\n }, [\n router,\n hrefProp,\n asProp\n ]);\n const previousHref = _react.default.useRef(href);\n const previousAs = _react.default.useRef(as);\n // This will return the first child, if multiple are provided it will throw an error\n let child;\n if (legacyBehavior) {\n if (process.env.NODE_ENV === 'development') {\n if (onClick) {\n console.warn(`\"onClick\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onClick be set on the child of next/link`);\n }\n if (onMouseEnter) {\n console.warn(`\"onMouseEnter\" was passed to with \\`href\\` of \\`${hrefProp}\\` but \"legacyBehavior\" was set. The legacy behavior requires onMouseEnter be set on the child of next/link`);\n }\n try {\n child = _react.default.Children.only(children);\n } catch (err) {\n if (!children) {\n throw new Error(`No children were passed to with \\`href\\` of \\`${hrefProp}\\` but one child is required https://nextjs.org/docs/messages/link-no-children`);\n }\n throw new Error(`Multiple children were passed to with \\`href\\` of \\`${hrefProp}\\` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children` + (typeof window !== 'undefined' ? \" \\nOpen your browser's console to view the Component stack trace.\" : ''));\n }\n } else {\n child = _react.default.Children.only(children);\n }\n }\n const childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;\n const [setIntersectionRef, isVisible, resetVisible] = (0, _useIntersection).useIntersection({\n rootMargin: '200px'\n });\n const setRef = _react.default.useCallback((el)=>{\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n setIntersectionRef(el);\n if (childRef) {\n if (typeof childRef === 'function') childRef(el);\n else if (typeof childRef === 'object') {\n childRef.current = el;\n }\n }\n }, [\n as,\n childRef,\n href,\n resetVisible,\n setIntersectionRef\n ]);\n _react.default.useEffect(()=>{\n const shouldPrefetch = isVisible && p && (0, _router).isLocalURL(href);\n const curLocale = typeof locale !== 'undefined' ? locale : router && router.locale;\n const isPrefetched = prefetched[href + '%' + as + (curLocale ? '%' + curLocale : '')];\n if (shouldPrefetch && !isPrefetched) {\n prefetch(router, href, as, {\n locale: curLocale\n });\n }\n }, [\n as,\n href,\n isVisible,\n locale,\n p,\n router\n ]);\n const childProps = {\n ref: setRef,\n onClick: (e)=>{\n if (process.env.NODE_ENV !== 'production') {\n if (!e) {\n throw new Error(`Component rendered inside next/link has to pass click event to \"onClick\" prop.`);\n }\n }\n if (!legacyBehavior && typeof onClick === 'function') {\n onClick(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n if (!e.defaultPrevented) {\n linkClicked(e, router, href, as, replace, shallow, scroll, locale);\n }\n },\n onMouseEnter: (e)=>{\n if (!legacyBehavior && typeof onMouseEnter === 'function') {\n onMouseEnter(e);\n }\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {\n child.props.onMouseEnter(e);\n }\n if ((0, _router).isLocalURL(href)) {\n prefetch(router, href, as, {\n priority: true\n });\n }\n }\n };\n // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {\n const curLocale = typeof locale !== 'undefined' ? locale : router && router.locale;\n // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n const localeDomain = router && router.isLocaleDomain && (0, _router).getDomainLocale(as, curLocale, router && router.locales, router && router.domainLocales);\n childProps.href = localeDomain || (0, _router).addBasePath((0, _router).addLocale(as, curLocale, router && router.defaultLocale));\n }\n return legacyBehavior ? /*#__PURE__*/ _react.default.cloneElement(child, childProps) : /*#__PURE__*/ _react.default.createElement(\"a\", Object.assign({}, restProps, childProps), children);\n});\nvar _default = Link;\nexports.default = _default;\n\nif (typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) {\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=link.js.map","module.exports = require('./dist/client/link')\n","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[987,1590,2223],{\n\n/***/ 23887:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Ee\": function() { return /* binding */ Image2; },\n/* harmony export */ \"Ei\": function() { return /* binding */ Img; }\n/* harmony export */ });\n/* unused harmony exports shouldShowFallbackImage, useImage */\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var _chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(83904);\n/* harmony import */ var _chakra_ui_react_use_safe_layout_effect__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(44040);\n// ../../../react-shim.js\n\n\n// src/image.tsx\n\n\n// ../../utilities/object-utils/src/index.ts\nfunction omit(object, keysToOmit = []) {\n const clone = Object.assign({}, object);\n for (const key of keysToOmit) {\n if (key in clone)\n delete clone[key];\n }\n return clone;\n}\n\n// src/use-image.ts\n\n\nfunction useImage(props) {\n const {\n loading,\n src,\n srcSet,\n onLoad,\n onError,\n crossOrigin,\n sizes,\n ignoreFallback\n } = props;\n const [status, setStatus] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(\"pending\");\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\n setStatus(src ? \"loading\" : \"pending\");\n }, [src]);\n const imageRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\n const load = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(() => {\n if (!src)\n return;\n flush();\n const img = new Image();\n img.src = src;\n if (crossOrigin)\n img.crossOrigin = crossOrigin;\n if (srcSet)\n img.srcset = srcSet;\n if (sizes)\n img.sizes = sizes;\n if (loading)\n img.loading = loading;\n img.onload = (event) => {\n flush();\n setStatus(\"loaded\");\n onLoad == null ? void 0 : onLoad(event);\n };\n img.onerror = (error) => {\n flush();\n setStatus(\"failed\");\n onError == null ? void 0 : onError(error);\n };\n imageRef.current = img;\n }, [src, crossOrigin, srcSet, sizes, onLoad, onError, loading]);\n const flush = () => {\n if (imageRef.current) {\n imageRef.current.onload = null;\n imageRef.current.onerror = null;\n imageRef.current = null;\n }\n };\n (0,_chakra_ui_react_use_safe_layout_effect__WEBPACK_IMPORTED_MODULE_1__/* .useSafeLayoutEffect */ .G)(() => {\n if (ignoreFallback)\n return void 0;\n if (status === \"loading\") {\n load();\n }\n return () => {\n flush();\n };\n }, [status, load, ignoreFallback]);\n return ignoreFallback ? \"loaded\" : status;\n}\nvar shouldShowFallbackImage = (status, fallbackStrategy) => status !== \"loaded\" && fallbackStrategy === \"beforeLoadOrError\" || status === \"failed\" && fallbackStrategy === \"onError\";\n\n// src/native-image.tsx\n\nvar NativeImage = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .forwardRef */ .Gp)(function NativeImage2(props, ref) {\n const { htmlWidth, htmlHeight, alt, ...rest } = props;\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(\"img\", {\n width: htmlWidth,\n height: htmlHeight,\n ref,\n alt,\n ...rest\n });\n});\nNativeImage.displayName = \"NativeImage\";\n\n// src/image.tsx\nvar Image2 = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .forwardRef */ .Gp)(function Image3(props, ref) {\n const {\n fallbackSrc,\n fallback,\n src,\n srcSet,\n align,\n fit,\n loading,\n ignoreFallback,\n crossOrigin,\n fallbackStrategy = \"beforeLoadOrError\",\n referrerPolicy,\n ...rest\n } = props;\n const providedFallback = fallbackSrc !== void 0 || fallback !== void 0;\n const shouldIgnoreFallbackImage = loading != null || ignoreFallback || !providedFallback;\n const status = useImage({\n ...props,\n ignoreFallback: shouldIgnoreFallbackImage\n });\n const showFallbackImage = shouldShowFallbackImage(status, fallbackStrategy);\n const shared = {\n ref,\n objectFit: fit,\n objectPosition: align,\n ...shouldIgnoreFallbackImage ? rest : omit(rest, [\"onError\", \"onLoad\"])\n };\n if (showFallbackImage) {\n if (fallback)\n return fallback;\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .chakra.img */ .m$.img, {\n as: NativeImage,\n className: \"chakra-image__placeholder\",\n src: fallbackSrc,\n ...shared\n });\n }\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .chakra.img */ .m$.img, {\n as: NativeImage,\n src,\n srcSet,\n crossOrigin,\n loading,\n referrerPolicy,\n className: \"chakra-image\",\n ...shared\n });\n});\nImage2.displayName = \"Image\";\n\n// src/img.tsx\n\nvar Img = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .forwardRef */ .Gp)((props, ref) => /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__/* .chakra.img */ .m$.img, {\n ref,\n as: NativeImage,\n className: \"chakra-image\",\n ...props\n}));\n\n\n\n/***/ }),\n\n/***/ 51469:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Sx\": function() { return /* binding */ useBreakpointValue; }\n/* harmony export */ });\n/* unused harmony exports Hide, Show, useBreakpoint, useColorModePreference, useMediaQuery, usePrefersReducedMotion, useQuery */\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var _chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(83904);\n/* harmony import */ var _chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18229);\n/* harmony import */ var _chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54302);\n// ../../../react-shim.js\n\n\n// src/media-query.tsx\n\nvar getBreakpoint = (theme, value) => {\n var _a;\n return ((_a = theme == null ? void 0 : theme.breakpoints) == null ? void 0 : _a[value]) ?? value;\n};\nfunction useQuery(props) {\n const { breakpoint = \"\", below, above } = props;\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n const bpBelow = getBreakpoint(theme, below);\n const bpAbove = getBreakpoint(theme, above);\n let query = breakpoint;\n if (bpBelow) {\n query = `(max-width: ${bpBelow})`;\n } else if (bpAbove) {\n query = `(min-width: ${bpAbove})`;\n }\n return query;\n}\n\n// src/use-media-query.ts\n\n\nfunction useMediaQuery(query, options = {}) {\n const { ssr = true, fallback } = options;\n const env = (0,_chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__/* .useEnvironment */ .O)();\n const queries = Array.isArray(query) ? query : [query];\n let fallbackValues = Array.isArray(fallback) ? fallback : [fallback];\n fallbackValues = fallbackValues.filter((v) => v != null);\n const [value, setValue] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(() => {\n return queries.map((query2, index) => ({\n media: query2,\n matches: ssr ? !!fallbackValues[index] : env.window.matchMedia(query2).matches\n }));\n });\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\n setValue(queries.map((query2) => ({\n media: query2,\n matches: env.window.matchMedia(query2).matches\n })));\n const mql = queries.map((query2) => env.window.matchMedia(query2));\n const handler = (evt) => {\n setValue((prev) => {\n return prev.slice().map((item) => {\n if (item.media === evt.media)\n return { ...item, matches: evt.matches };\n return item;\n });\n });\n };\n mql.forEach((mql2) => {\n if (typeof mql2.addListener === \"function\") {\n mql2.addListener(handler);\n } else {\n mql2.addEventListener(\"change\", handler);\n }\n });\n return () => {\n mql.forEach((mql2) => {\n if (typeof mql2.removeListener === \"function\") {\n mql2.removeListener(handler);\n } else {\n mql2.removeEventListener(\"change\", handler);\n }\n });\n };\n }, [env.window]);\n return value.map((item) => item.matches);\n}\n\n// src/media-query.hook.ts\nfunction usePrefersReducedMotion(options) {\n const [prefersReducedMotion] = useMediaQuery(\"(prefers-reduced-motion: reduce)\", options);\n return prefersReducedMotion;\n}\nfunction useColorModePreference(options) {\n const [isLight, isDark] = useMediaQuery([\"(prefers-color-scheme: light)\", \"(prefers-color-scheme: dark)\"], options);\n if (isLight)\n return \"light\";\n if (isDark)\n return \"dark\";\n return void 0;\n}\n\n// src/use-breakpoint.ts\n\n\n// ../../utilities/shared-utils/src/index.ts\nfunction isObject(value) {\n const type = typeof value;\n return value != null && (type === \"object\" || type === \"function\") && !Array.isArray(value);\n}\n\n// src/use-breakpoint.ts\nfunction useBreakpoint(arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n const breakpoints = theme.__breakpoints.details.map(({ minMaxQuery, breakpoint }) => ({\n breakpoint,\n query: minMaxQuery.replace(\"@media screen and \", \"\")\n }));\n const fallback = breakpoints.map((bp) => bp.breakpoint === opts.fallback);\n const values = useMediaQuery(breakpoints.map((bp) => bp.query), { fallback, ssr: opts.ssr });\n const index = values.findIndex((value) => value == true);\n return ((_a = breakpoints[index]) == null ? void 0 : _a.breakpoint) ?? opts.fallback;\n}\n\n// src/use-breakpoint-value.ts\n\n\n\n// src/media-query.utils.ts\n\nfunction getClosestValue(values, breakpoint, breakpoints = _chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__/* .breakpoints */ .AV) {\n let index = Object.keys(values).indexOf(breakpoint);\n if (index !== -1) {\n return values[breakpoint];\n }\n let stopIndex = breakpoints.indexOf(breakpoint);\n while (stopIndex >= 0) {\n const key = breakpoints[stopIndex];\n if (values.hasOwnProperty(key)) {\n index = stopIndex;\n break;\n }\n stopIndex -= 1;\n }\n if (index !== -1) {\n const key = breakpoints[index];\n return values[key];\n }\n return void 0;\n}\n\n// src/use-breakpoint-value.ts\nfunction useBreakpointValue(values, arg) {\n var _a;\n const opts = isObject(arg) ? arg : { fallback: arg ?? \"base\" };\n const breakpoint = useBreakpoint(opts);\n const theme = (0,_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__/* .useTheme */ .Fg)();\n if (!breakpoint)\n return;\n const breakpoints = Array.from(((_a = theme.__breakpoints) == null ? void 0 : _a.keys) || []);\n const obj = Array.isArray(values) ? Object.fromEntries(Object.entries((0,_chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__/* .arrayToObjectNotation */ .Yq)(values, breakpoints)).map(([key, value]) => [key, value])) : values;\n return getClosestValue(obj, breakpoint, breakpoints);\n}\n\n// src/visibility.tsx\nfunction Visibility(props) {\n const { breakpoint, hide, children, ssr } = props;\n const [show] = useMediaQuery(breakpoint, { ssr });\n const isVisible = hide ? !show : show;\n const rendered = isVisible ? children : null;\n return rendered;\n}\n\n// src/show.tsx\nfunction Show(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(Visibility, {\n breakpoint: query,\n ssr\n }, children);\n}\nShow.displayName = \"Show\";\n\n// src/hide.tsx\nfunction Hide(props) {\n const { children, ssr } = props;\n const query = useQuery(props);\n return /* @__PURE__ */ react__WEBPACK_IMPORTED_MODULE_0__.createElement(Visibility, {\n breakpoint: query,\n hide: true,\n ssr\n }, children);\n}\nHide.displayName = \"Hide\";\n\n\n\n/***/ }),\n\n/***/ 77913:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _slicedToArray = __webpack_require__(85696);\n\nObject.defineProperty(exports, \"__esModule\", ({\n value: true\n}));\nexports[\"default\"] = void 0;\n\nvar _react = _interopRequireDefault(__webpack_require__(67294));\n\nvar _router = __webpack_require__(12199);\n\nvar _router1 = __webpack_require__(61587);\n\nvar _useIntersection = __webpack_require__(27215);\n\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {\n default: obj\n };\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\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 prefetched = {};\n\nfunction prefetch(router, href, as, options) {\n if ( false || !router) return;\n if (!(0, _router).isLocalURL(href)) return; // Prefetch the JSON page if asked (only in the client)\n // We need to handle a prefetch error here since we may be\n // loading with priority which can reject but we don't\n // want to force navigation since this is only a prefetch\n\n router.prefetch(href, as, options).catch(function (err) {\n if (false) {}\n });\n var curLocale = options && typeof options.locale !== 'undefined' ? options.locale : router && router.locale; // Join on an invalid URI character\n\n prefetched[href + '%' + as + (curLocale ? '%' + curLocale : '')] = true;\n}\n\nfunction isModifiedEvent(event) {\n var target = event.currentTarget.target;\n return target && target !== '_self' || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.nativeEvent && event.nativeEvent.which === 2;\n}\n\nfunction linkClicked(e, router, href, as, replace, shallow, scroll, locale) {\n var nodeName = e.currentTarget.nodeName; // anchors inside an svg have a lowercase nodeName\n\n var isAnchorNodeName = nodeName.toUpperCase() === 'A';\n\n if (isAnchorNodeName && (isModifiedEvent(e) || !(0, _router).isLocalURL(href))) {\n // ignore click for browser’s default behavior\n return;\n }\n\n e.preventDefault(); // replace state instead of push if prop is present\n\n router[replace ? 'replace' : 'push'](href, as, {\n shallow: shallow,\n locale: locale,\n scroll: scroll\n });\n}\n\nvar Link = /*#__PURE__*/_react.default.forwardRef(function (props, forwardedRef) {\n var _props$legacyBehavior = props.legacyBehavior,\n legacyBehavior = _props$legacyBehavior === void 0 ? Boolean(false) !== true : _props$legacyBehavior;\n\n if (false) { var hasWarned, optionalProps, optionalPropsGuard, requiredProps, requiredPropsGuard, createPropError; }\n\n var children;\n\n var hrefProp = props.href,\n asProp = props.as,\n childrenProp = props.children,\n prefetchProp = props.prefetch,\n passHref = props.passHref,\n replace = props.replace,\n shallow = props.shallow,\n scroll = props.scroll,\n locale = props.locale,\n _onClick = props.onClick,\n _onMouseEnter = props.onMouseEnter,\n restProps = _objectWithoutProperties(props, [\"href\", \"as\", \"children\", \"prefetch\", \"passHref\", \"replace\", \"shallow\", \"scroll\", \"locale\", \"onClick\", \"onMouseEnter\"]);\n\n children = childrenProp;\n\n if (legacyBehavior && typeof children === 'string') {\n children = /*#__PURE__*/_react.default.createElement(\"a\", null, children);\n }\n\n var p = prefetchProp !== false;\n var router = (0, _router1).useRouter();\n\n var _react$default$useMem = _react.default.useMemo(function () {\n var _resolveHref = (0, _router).resolveHref(router, hrefProp, true),\n _resolveHref2 = _slicedToArray(_resolveHref, 2),\n resolvedHref = _resolveHref2[0],\n resolvedAs = _resolveHref2[1];\n\n return {\n href: resolvedHref,\n as: asProp ? (0, _router).resolveHref(router, asProp) : resolvedAs || resolvedHref\n };\n }, [router, hrefProp, asProp]),\n href = _react$default$useMem.href,\n as = _react$default$useMem.as;\n\n var previousHref = _react.default.useRef(href);\n\n var previousAs = _react.default.useRef(as); // This will return the first child, if multiple are provided it will throw an error\n\n\n var child;\n\n if (legacyBehavior) {\n if (false) {} else {\n child = _react.default.Children.only(children);\n }\n }\n\n var childRef = legacyBehavior ? child && typeof child === 'object' && child.ref : forwardedRef;\n\n var _useIntersection2 = (0, _useIntersection).useIntersection({\n rootMargin: '200px'\n }),\n _useIntersection3 = _slicedToArray(_useIntersection2, 3),\n setIntersectionRef = _useIntersection3[0],\n isVisible = _useIntersection3[1],\n resetVisible = _useIntersection3[2];\n\n var setRef = _react.default.useCallback(function (el) {\n // Before the link getting observed, check if visible state need to be reset\n if (previousAs.current !== as || previousHref.current !== href) {\n resetVisible();\n previousAs.current = as;\n previousHref.current = href;\n }\n\n setIntersectionRef(el);\n\n if (childRef) {\n if (typeof childRef === 'function') childRef(el);else if (typeof childRef === 'object') {\n childRef.current = el;\n }\n }\n }, [as, childRef, href, resetVisible, setIntersectionRef]);\n\n _react.default.useEffect(function () {\n var shouldPrefetch = isVisible && p && (0, _router).isLocalURL(href);\n var curLocale = typeof locale !== 'undefined' ? locale : router && router.locale;\n var isPrefetched = prefetched[href + '%' + as + (curLocale ? '%' + curLocale : '')];\n\n if (shouldPrefetch && !isPrefetched) {\n prefetch(router, href, as, {\n locale: curLocale\n });\n }\n }, [as, href, isVisible, locale, p, router]);\n\n var childProps = {\n ref: setRef,\n onClick: function onClick(e) {\n if (false) {}\n\n if (!legacyBehavior && typeof _onClick === 'function') {\n _onClick(e);\n }\n\n if (legacyBehavior && child.props && typeof child.props.onClick === 'function') {\n child.props.onClick(e);\n }\n\n if (!e.defaultPrevented) {\n linkClicked(e, router, href, as, replace, shallow, scroll, locale);\n }\n },\n onMouseEnter: function onMouseEnter(e) {\n if (!legacyBehavior && typeof _onMouseEnter === 'function') {\n _onMouseEnter(e);\n }\n\n if (legacyBehavior && child.props && typeof child.props.onMouseEnter === 'function') {\n child.props.onMouseEnter(e);\n }\n\n if ((0, _router).isLocalURL(href)) {\n prefetch(router, href, as, {\n priority: true\n });\n }\n }\n }; // If child is an tag and doesn't have a href attribute, or if the 'passHref' property is\n // defined, we specify the current 'href', so that repetition is not needed by the user\n\n if (!legacyBehavior || passHref || child.type === 'a' && !('href' in child.props)) {\n var curLocale = typeof locale !== 'undefined' ? locale : router && router.locale; // we only render domain locales if we are currently on a domain locale\n // so that locale links are still visitable in development/preview envs\n\n var localeDomain = router && router.isLocaleDomain && (0, _router).getDomainLocale(as, curLocale, router && router.locales, router && router.domainLocales);\n childProps.href = localeDomain || (0, _router).addBasePath((0, _router).addLocale(as, curLocale, router && router.defaultLocale));\n }\n\n return legacyBehavior ? /*#__PURE__*/_react.default.cloneElement(child, childProps) : /*#__PURE__*/_react.default.createElement(\"a\", Object.assign({}, restProps, childProps), children);\n});\n\nvar _default = Link;\nexports[\"default\"] = _default;\n\nif (typeof exports.default === 'function' || typeof exports.default === 'object' && exports.default !== null) {\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n/***/ }),\n\n/***/ 41664:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(77913)\n\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","d","Image2","Img","react__WEBPACK_IMPORTED_MODULE_0__","_chakra_ui_system__WEBPACK_IMPORTED_MODULE_2__","_chakra_ui_react_use_safe_layout_effect__WEBPACK_IMPORTED_MODULE_1__","shouldShowFallbackImage","status","fallbackStrategy","NativeImage","Gp","props","ref","htmlWidth","htmlHeight","alt","rest","createElement","width","height","displayName","fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin","referrerPolicy","shouldIgnoreFallbackImage","useImage","onLoad","onError","sizes","setStatus","useState","useEffect","imageRef","useRef","load","useCallback","flush","img","Image","srcset","onload","event","onerror","error","current","G","showFallbackImage","shared","objectFit","objectPosition","omit","object","keysToOmit","clone","Object","assign","key","m$","as","className","useBreakpointValue","_chakra_ui_system__WEBPACK_IMPORTED_MODULE_1__","_chakra_ui_react_env__WEBPACK_IMPORTED_MODULE_2__","_chakra_ui_breakpoint_utils__WEBPACK_IMPORTED_MODULE_3__","getBreakpoint","theme","value","_a","breakpoints","useQuery","breakpoint","below","above","Fg","bpBelow","bpAbove","query","useMediaQuery","options","ssr","env","O","queries","Array","isArray","fallbackValues","filter","v","setValue","map","query2","index","media","matches","window","matchMedia","mql","handler","prev","slice","evt","item","forEach","mql2","addListener","addEventListener","removeListener","removeEventListener","isObject","type","values","arg","opts","useBreakpoint","__breakpoints","details","minMaxQuery","replace","bp","findIndex","from","keys","obj","fromEntries","entries","Yq","getClosestValue","AV","indexOf","stopIndex","hasOwnProperty","Visibility","hide","children","show","isVisible","Hide","module","exports","_slicedToArray","defineProperty","_react","__esModule","default","_router","_router1","_useIntersection","prefetched","prefetch","router","href","isLocalURL","catch","err","curLocale","locale","Link","forwardRef","forwardedRef","child","_props$legacyBehavior","legacyBehavior","Boolean","hrefProp","asProp","childrenProp","prefetchProp","passHref","shallow","scroll","_onClick","onClick","_onMouseEnter","onMouseEnter","restProps","_objectWithoutProperties","source","excluded","i","target","_objectWithoutPropertiesLoose","sourceKeys","length","getOwnPropertySymbols","sourceSymbolKeys","prototype","propertyIsEnumerable","call","p","useRouter","_react$default$useMem","useMemo","_resolveHref2","resolveHref","resolvedHref","resolvedAs","previousHref","previousAs","Children","only","childRef","_useIntersection2","useIntersection","rootMargin","_useIntersection3","setIntersectionRef","resetVisible","setRef","el","shouldPrefetch","isPrefetched","childProps","e","defaultPrevented","isAnchorNodeName","nodeName","currentTarget","toUpperCase","metaKey","ctrlKey","shiftKey","altKey","nativeEvent","which","preventDefault","priority","localeDomain","isLocaleDomain","getDomainLocale","locales","domainLocales","addBasePath","addLocale","defaultLocale","cloneElement","__unused_webpack_exports"],"sourceRoot":""}