@pinerohit11/testwidget 0.1.29 → 0.1.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +9 -0
- package/dist/index.css +1 -1
- package/dist/index.js +9 -0
- package/package.json +1 -1
- package/.next/app-build-manifest.json +0 -16
- package/.next/build-manifest.json +0 -20
- package/.next/cache/.rscinfo +0 -1
- package/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development/10.pack.gz +0 -0
- package/.next/cache/webpack/client-development/11.pack.gz +0 -0
- package/.next/cache/webpack/client-development/12.pack.gz +0 -0
- package/.next/cache/webpack/client-development/13.pack.gz +0 -0
- package/.next/cache/webpack/client-development/14.pack.gz +0 -0
- package/.next/cache/webpack/client-development/15.pack.gz +0 -0
- package/.next/cache/webpack/client-development/16.pack.gz +0 -0
- package/.next/cache/webpack/client-development/17.pack.gz +0 -0
- package/.next/cache/webpack/client-development/18.pack.gz +0 -0
- package/.next/cache/webpack/client-development/19.pack.gz +0 -0
- package/.next/cache/webpack/client-development/2.pack.gz +0 -0
- package/.next/cache/webpack/client-development/3.pack.gz +0 -0
- package/.next/cache/webpack/client-development/4.pack.gz +0 -0
- package/.next/cache/webpack/client-development/5.pack.gz +0 -0
- package/.next/cache/webpack/client-development/6.pack.gz +0 -0
- package/.next/cache/webpack/client-development/7.pack.gz +0 -0
- package/.next/cache/webpack/client-development/8.pack.gz +0 -0
- package/.next/cache/webpack/client-development/9.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/client-development-fallback/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz.old +0 -0
- package/.next/cache/webpack/server-development/0.pack.gz +0 -0
- package/.next/cache/webpack/server-development/1.pack.gz +0 -0
- package/.next/cache/webpack/server-development/10.pack.gz +0 -0
- package/.next/cache/webpack/server-development/11.pack.gz +0 -0
- package/.next/cache/webpack/server-development/12.pack.gz +0 -0
- package/.next/cache/webpack/server-development/13.pack.gz +0 -0
- package/.next/cache/webpack/server-development/14.pack.gz +0 -0
- package/.next/cache/webpack/server-development/15.pack.gz +0 -0
- package/.next/cache/webpack/server-development/2.pack.gz +0 -0
- package/.next/cache/webpack/server-development/3.pack.gz +0 -0
- package/.next/cache/webpack/server-development/4.pack.gz +0 -0
- package/.next/cache/webpack/server-development/5.pack.gz +0 -0
- package/.next/cache/webpack/server-development/6.pack.gz +0 -0
- package/.next/cache/webpack/server-development/7.pack.gz +0 -0
- package/.next/cache/webpack/server-development/8.pack.gz +0 -0
- package/.next/cache/webpack/server-development/9.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/.next/package.json +0 -1
- package/.next/react-loadable-manifest.json +0 -1
- package/.next/server/app/favicon.ico/route.js +0 -86
- package/.next/server/app/page.js +0 -417
- package/.next/server/app/page_client-reference-manifest.js +0 -1
- package/.next/server/app-paths-manifest.json +0 -4
- package/.next/server/interception-route-rewrite-manifest.js +0 -1
- package/.next/server/middleware-build-manifest.js +0 -22
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/next-font-manifest.js +0 -1
- package/.next/server/next-font-manifest.json +0 -1
- package/.next/server/pages-manifest.json +0 -1
- package/.next/server/server-reference-manifest.js +0 -1
- package/.next/server/server-reference-manifest.json +0 -5
- package/.next/server/vendor-chunks/@babel.js +0 -45
- package/.next/server/vendor-chunks/@restart.js +0 -275
- package/.next/server/vendor-chunks/@swc.js +0 -55
- package/.next/server/vendor-chunks/asynckit.js +0 -114
- package/.next/server/vendor-chunks/axios.js +0 -555
- package/.next/server/vendor-chunks/bootstrap.js +0 -35
- package/.next/server/vendor-chunks/classnames.js +0 -24
- package/.next/server/vendor-chunks/combined-stream.js +0 -24
- package/.next/server/vendor-chunks/debug.js +0 -54
- package/.next/server/vendor-chunks/delayed-stream.js +0 -24
- package/.next/server/vendor-chunks/dom-helpers.js +0 -215
- package/.next/server/vendor-chunks/follow-redirects.js +0 -34
- package/.next/server/vendor-chunks/form-data.js +0 -34
- package/.next/server/vendor-chunks/has-flag.js +0 -25
- package/.next/server/vendor-chunks/mime-db.js +0 -35
- package/.next/server/vendor-chunks/mime-types.js +0 -25
- package/.next/server/vendor-chunks/ms.js +0 -24
- package/.next/server/vendor-chunks/next.js +0 -3185
- package/.next/server/vendor-chunks/object-assign.js +0 -25
- package/.next/server/vendor-chunks/prop-types.js +0 -67
- package/.next/server/vendor-chunks/proxy-from-env.js +0 -25
- package/.next/server/vendor-chunks/react-bootstrap.js +0 -195
- package/.next/server/vendor-chunks/react-is.js +0 -35
- package/.next/server/vendor-chunks/react-transition-group.js +0 -65
- package/.next/server/vendor-chunks/supports-color.js +0 -25
- package/.next/server/webpack-runtime.js +0 -220
- package/.next/static/chunks/app/layout.js +0 -156
- package/.next/static/chunks/app/page.js +0 -1465
- package/.next/static/chunks/app-pages-internals.js +0 -193
- package/.next/static/chunks/main-app.js +0 -2398
- package/.next/static/chunks/polyfills.js +0 -1
- package/.next/static/chunks/webpack.js +0 -1411
- package/.next/static/css/app/layout.css +0 -26
- package/.next/static/css/app/page.css +0 -699
- package/.next/static/development/_buildManifest.js +0 -1
- package/.next/static/development/_ssgManifest.js +0 -1
- package/.next/static/media/4473ecc91f70f139-s.p.woff +0 -0
- package/.next/static/media/463dafcda517f24f-s.p.woff +0 -0
- package/.next/static/webpack/02da99e3a0af6a36.webpack.hot-update.json +0 -1
- package/.next/static/webpack/044cdadb3b0d6bb3.webpack.hot-update.json +0 -1
- package/.next/static/webpack/633457081244afec._.hot-update.json +0 -1
- package/.next/static/webpack/app/layout.02da99e3a0af6a36.hot-update.js +0 -31
- package/.next/static/webpack/app/layout.044cdadb3b0d6bb3.hot-update.js +0 -31
- package/.next/static/webpack/webpack.02da99e3a0af6a36.hot-update.js +0 -18
- package/.next/static/webpack/webpack.044cdadb3b0d6bb3.hot-update.js +0 -18
- package/.next/trace +0 -7
- package/.next/types/app/layout.ts +0 -84
- package/.next/types/app/page.ts +0 -84
- package/.next/types/cache-life.d.ts +0 -139
- package/.next/types/package.json +0 -1
@@ -1,275 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* ATTENTION: An "eval-source-map" devtool has been used.
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
5
|
-
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
7
|
-
* or disable the default devtool with "devtool: false".
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
9
|
-
*/
|
10
|
-
exports.id = "vendor-chunks/@restart";
|
11
|
-
exports.ids = ["vendor-chunks/@restart"];
|
12
|
-
exports.modules = {
|
13
|
-
|
14
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useCommittedRef.js":
|
15
|
-
/*!************************************************************!*\
|
16
|
-
!*** ./node_modules/@restart/hooks/cjs/useCommittedRef.js ***!
|
17
|
-
\************************************************************/
|
18
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
19
|
-
|
20
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/**\n * Creates a `Ref` whose value is updated in an effect, ensuring the most recent\n * value is the one rendered with. Generally only required for Concurrent mode usage\n * where previous work in `render()` may be discarded before being used.\n *\n * This is safe to access in an event handler.\n *\n * @param value The `Ref` value\n */\nfunction useCommittedRef(value) {\n const ref = (0, _react.useRef)(value);\n (0, _react.useEffect)(() => {\n ref.current = value;\n }, [value]);\n return ref;\n}\nvar _default = useCommittedRef;\nexports[\"default\"] = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZUNvbW1pdHRlZFJlZi5qcyIsIm1hcHBpbmdzIjoiQUFBYTs7QUFFYixrQkFBa0I7QUFDbEIsa0JBQWU7QUFDZixhQUFhLG1CQUFPLENBQUMsaUdBQU87QUFDNUI7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHO0FBQ0g7QUFDQTtBQUNBO0FBQ0Esa0JBQWUiLCJzb3VyY2VzIjpbIkM6XFxVc2Vyc1xcUGluZXN1Y2NlZWRcXERlc2t0b3BcXFdvcmtTcGFjZVxcdGVzdHdpZGdldFxcbm9kZV9tb2R1bGVzXFxAcmVzdGFydFxcaG9va3NcXGNqc1xcdXNlQ29tbWl0dGVkUmVmLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5leHBvcnRzLl9fZXNNb2R1bGUgPSB0cnVlO1xuZXhwb3J0cy5kZWZhdWx0ID0gdm9pZCAwO1xudmFyIF9yZWFjdCA9IHJlcXVpcmUoXCJyZWFjdFwiKTtcbi8qKlxuICogQ3JlYXRlcyBhIGBSZWZgIHdob3NlIHZhbHVlIGlzIHVwZGF0ZWQgaW4gYW4gZWZmZWN0LCBlbnN1cmluZyB0aGUgbW9zdCByZWNlbnRcbiAqIHZhbHVlIGlzIHRoZSBvbmUgcmVuZGVyZWQgd2l0aC4gR2VuZXJhbGx5IG9ubHkgcmVxdWlyZWQgZm9yIENvbmN1cnJlbnQgbW9kZSB1c2FnZVxuICogd2hlcmUgcHJldmlvdXMgd29yayBpbiBgcmVuZGVyKClgIG1heSBiZSBkaXNjYXJkZWQgYmVmb3JlIGJlaW5nIHVzZWQuXG4gKlxuICogVGhpcyBpcyBzYWZlIHRvIGFjY2VzcyBpbiBhbiBldmVudCBoYW5kbGVyLlxuICpcbiAqIEBwYXJhbSB2YWx1ZSBUaGUgYFJlZmAgdmFsdWVcbiAqL1xuZnVuY3Rpb24gdXNlQ29tbWl0dGVkUmVmKHZhbHVlKSB7XG4gIGNvbnN0IHJlZiA9ICgwLCBfcmVhY3QudXNlUmVmKSh2YWx1ZSk7XG4gICgwLCBfcmVhY3QudXNlRWZmZWN0KSgoKSA9PiB7XG4gICAgcmVmLmN1cnJlbnQgPSB2YWx1ZTtcbiAgfSwgW3ZhbHVlXSk7XG4gIHJldHVybiByZWY7XG59XG52YXIgX2RlZmF1bHQgPSB1c2VDb21taXR0ZWRSZWY7XG5leHBvcnRzLmRlZmF1bHQgPSBfZGVmYXVsdDsiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useCommittedRef.js\n");
|
21
|
-
|
22
|
-
/***/ }),
|
23
|
-
|
24
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useEventCallback.js":
|
25
|
-
/*!*************************************************************!*\
|
26
|
-
!*** ./node_modules/@restart/hooks/cjs/useEventCallback.js ***!
|
27
|
-
\*************************************************************/
|
28
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
29
|
-
|
30
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useEventCallback;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nvar _useCommittedRef = _interopRequireDefault(__webpack_require__(/*! ./useCommittedRef */ \"(ssr)/./node_modules/@restart/hooks/cjs/useCommittedRef.js\"));\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\nfunction useEventCallback(fn) {\n const ref = (0, _useCommittedRef.default)(fn);\n return (0, _react.useCallback)(function (...args) {\n return ref.current && ref.current(...args);\n }, [ref]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZUV2ZW50Q2FsbGJhY2suanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLGtCQUFlO0FBQ2YsYUFBYSxtQkFBTyxDQUFDLGlHQUFPO0FBQzVCLDhDQUE4QyxtQkFBTyxDQUFDLHFGQUFtQjtBQUN6RSx1Q0FBdUMsdUNBQXVDO0FBQzlFO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsR0FBRztBQUNIIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXGhvb2tzXFxjanNcXHVzZUV2ZW50Q2FsbGJhY2suanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5leHBvcnRzLmRlZmF1bHQgPSB1c2VFdmVudENhbGxiYWNrO1xudmFyIF9yZWFjdCA9IHJlcXVpcmUoXCJyZWFjdFwiKTtcbnZhciBfdXNlQ29tbWl0dGVkUmVmID0gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChyZXF1aXJlKFwiLi91c2VDb21taXR0ZWRSZWZcIikpO1xuZnVuY3Rpb24gX2ludGVyb3BSZXF1aXJlRGVmYXVsdChvYmopIHsgcmV0dXJuIG9iaiAmJiBvYmouX19lc01vZHVsZSA/IG9iaiA6IHsgZGVmYXVsdDogb2JqIH07IH1cbmZ1bmN0aW9uIHVzZUV2ZW50Q2FsbGJhY2soZm4pIHtcbiAgY29uc3QgcmVmID0gKDAsIF91c2VDb21taXR0ZWRSZWYuZGVmYXVsdCkoZm4pO1xuICByZXR1cm4gKDAsIF9yZWFjdC51c2VDYWxsYmFjaykoZnVuY3Rpb24gKC4uLmFyZ3MpIHtcbiAgICByZXR1cm4gcmVmLmN1cnJlbnQgJiYgcmVmLmN1cnJlbnQoLi4uYXJncyk7XG4gIH0sIFtyZWZdKTtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useEventCallback.js\n");
|
31
|
-
|
32
|
-
/***/ }),
|
33
|
-
|
34
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useIsomorphicEffect.js":
|
35
|
-
/*!****************************************************************!*\
|
36
|
-
!*** ./node_modules/@restart/hooks/cjs/useIsomorphicEffect.js ***!
|
37
|
-
\****************************************************************/
|
38
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
39
|
-
|
40
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nconst isReactNative = typeof global !== 'undefined' &&\n// @ts-ignore\nglobal.navigator &&\n// @ts-ignore\nglobal.navigator.product === 'ReactNative';\nconst isDOM = typeof document !== 'undefined';\n\n/**\n * Is `useLayoutEffect` in a DOM or React Native environment, otherwise resolves to useEffect\n * Only useful to avoid the console warning.\n *\n * PREFER `useEffect` UNLESS YOU KNOW WHAT YOU ARE DOING.\n *\n * @category effects\n */\nvar _default = isDOM || isReactNative ? _react.useLayoutEffect : _react.useEffect;\nexports[\"default\"] = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21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vaWQgdGhlIGNvbnNvbGUgd2FybmluZy5cbiAqXG4gKiBQUkVGRVIgYHVzZUVmZmVjdGAgVU5MRVNTIFlPVSBLTk9XIFdIQVQgWU9VIEFSRSBET0lORy5cbiAqXG4gKiBAY2F0ZWdvcnkgZWZmZWN0c1xuICovXG52YXIgX2RlZmF1bHQgPSBpc0RPTSB8fCBpc1JlYWN0TmF0aXZlID8gX3JlYWN0LnVzZUxheW91dEVmZmVjdCA6IF9yZWFjdC51c2VFZmZlY3Q7XG5leHBvcnRzLmRlZmF1bHQgPSBfZGVmYXVsdDsiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useIsomorphicEffect.js\n");
|
41
|
-
|
42
|
-
/***/ }),
|
43
|
-
|
44
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useMergedRefs.js":
|
45
|
-
/*!**********************************************************!*\
|
46
|
-
!*** ./node_modules/@restart/hooks/cjs/useMergedRefs.js ***!
|
47
|
-
\**********************************************************/
|
48
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
49
|
-
|
50
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nexports.mergeRefs = mergeRefs;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nconst toFnRef = ref => !ref || typeof ref === 'function' ? ref : value => {\n ref.current = value;\n};\nfunction mergeRefs(refA, refB) {\n const a = toFnRef(refA);\n const b = toFnRef(refB);\n return value => {\n if (a) a(value);\n if (b) b(value);\n };\n}\n\n/**\n * Create and returns a single callback ref composed from two other Refs.\n *\n * ```tsx\n * const Button = React.forwardRef((props, ref) => {\n * const [element, attachRef] = useCallbackRef<HTMLButtonElement>();\n * const mergedRef = useMergedRefs(ref, attachRef);\n *\n * return <button ref={mergedRef} {...props}/>\n * })\n * ```\n *\n * @param refA A Callback or mutable Ref\n * @param refB A Callback or mutable Ref\n * @category refs\n */\nfunction useMergedRefs(refA, refB) {\n return (0, _react.useMemo)(() => mergeRefs(refA, refB), [refA, refB]);\n}\nvar _default = useMergedRefs;\nexports[\"default\"] = _default;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZU1lcmdlZFJlZnMuanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLGtCQUFlO0FBQ2YsaUJBQWlCO0FBQ2pCLGFBQWEsbUJBQU8sQ0FBQyxpR0FBTztBQUM1QjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx5QkFBeUIsWUFBWSxTQUFTO0FBQzlDLElBQUk7QUFDSjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLGtCQUFlIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXGhvb2tzXFxjanNcXHVzZU1lcmdlZFJlZnMuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5leHBvcnRzLmRlZmF1bHQgPSB2b2lkIDA7XG5leHBvcnRzLm1lcmdlUmVmcyA9IG1lcmdlUmVmcztcbnZhciBfcmVhY3QgPSByZXF1aXJlKFwicmVhY3RcIik7XG5jb25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ZXJnZVJlZnMocmVmQSwgcmVmQiksIFtyZWZBLCByZWZCXSk7XG59XG52YXIgX2RlZmF1bHQgPSB1c2VNZXJnZWRSZWZzO1xuZXhwb3J0cy5kZWZhdWx0ID0gX2RlZmF1bHQ7Il0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useMergedRefs.js\n");
|
51
|
-
|
52
|
-
/***/ }),
|
53
|
-
|
54
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useMounted.js":
|
55
|
-
/*!*******************************************************!*\
|
56
|
-
!*** ./node_modules/@restart/hooks/cjs/useMounted.js ***!
|
57
|
-
\*******************************************************/
|
58
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
59
|
-
|
60
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useMounted;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/**\n * Track whether a component is current mounted. Generally less preferable than\n * properlly canceling effects so they don't run after a component is unmounted,\n * but helpful in cases where that isn't feasible, such as a `Promise` resolution.\n *\n * @returns a function that returns the current isMounted state of the component\n *\n * ```ts\n * const [data, setData] = useState(null)\n * const isMounted = useMounted()\n *\n * useEffect(() => {\n * fetchdata().then((newData) => {\n * if (isMounted()) {\n * setData(newData);\n * }\n * })\n * })\n * ```\n */\nfunction useMounted() {\n const mounted = (0, _react.useRef)(true);\n const isMounted = (0, _react.useRef)(() => mounted.current);\n (0, _react.useEffect)(() => {\n mounted.current = true;\n return () => {\n mounted.current = false;\n };\n }, []);\n return isMounted.current;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZU1vdW50ZW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V0dXJucyB0aGUgY3VycmVudCBpc01vdW50ZWQgc3RhdGUgb2YgdGhlIGNvbXBvbmVudFxuICpcbiAqIGBgYHRzXG4gKiBjb25zdCBbZGF0YSwgc2V0RGF0YV0gPSB1c2VTdGF0ZShudWxsKVxuICogY29uc3QgaXNNb3VudGVkID0gdXNlTW91bnRlZCgpXG4gKlxuICogdXNlRWZmZWN0KCgpID0+IHtcbiAqICAgZmV0Y2hkYXRhKCkudGhlbigobmV3RGF0YSkgPT4ge1xuICogICAgICBpZiAoaXNNb3VudGVkKCkpIHtcbiAqICAgICAgICBzZXREYXRhKG5ld0RhdGEpO1xuICogICAgICB9XG4gKiAgIH0pXG4gKiB9KVxuICogYGBgXG4gKi9cbmZ1bmN0aW9uIHVzZU1vdW50ZWQoKSB7XG4gIGNvbnN0IG1vdW50ZWQgPSAoMCwgX3JlYWN0LnVzZVJlZikodHJ1ZSk7XG4gIGNvbnN0IGlzTW91bnRlZCA9ICgwLCBfcmVhY3QudXNlUmVmKSgoKSA9PiBtb3VudGVkLmN1cnJlbnQpO1xuICAoMCwgX3JlYWN0LnVzZUVmZmVjdCkoKCkgPT4ge1xuICAgIG1vdW50ZWQuY3VycmVudCA9IHRydWU7XG4gICAgcmV0dXJuICgpID0+IHtcbiAgICAgIG1vdW50ZWQuY3VycmVudCA9IGZhbHNlO1xuICAgIH07XG4gIH0sIFtdKTtcbiAgcmV0dXJuIGlzTW91bnRlZC5jdXJyZW50O1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useMounted.js\n");
|
61
|
-
|
62
|
-
/***/ }),
|
63
|
-
|
64
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/usePrevious.js":
|
65
|
-
/*!********************************************************!*\
|
66
|
-
!*** ./node_modules/@restart/hooks/cjs/usePrevious.js ***!
|
67
|
-
\********************************************************/
|
68
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
69
|
-
|
70
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = usePrevious;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/**\n * Store the last of some value. Tracked via a `Ref` only updating it\n * after the component renders.\n *\n * Helpful if you need to compare a prop value to it's previous value during render.\n *\n * ```ts\n * function Component(props) {\n * const lastProps = usePrevious(props)\n *\n * if (lastProps.foo !== props.foo)\n * resetValueFromProps(props.foo)\n * }\n * ```\n *\n * @param value the value to track\n */\nfunction usePrevious(value) {\n const ref = (0, _react.useRef)(null);\n (0, _react.useEffect)(() => {\n ref.current = value;\n });\n return ref.current;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZVByZXZpb3VzLmpzIiwibWFwcGluZ3MiOiJBQUFhOztBQUViLGtCQUFrQjtBQUNsQixrQkFBZTtBQUNmLGFBQWEsbUJBQU8sQ0FBQyxpR0FBTztBQUM1QjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHO0FBQ0g7QUFDQSIsInNvdXJjZXMiOlsiQzpcXFVzZXJzXFxQaW5lc3VjY2VlZFxcRGVza3RvcFxcV29ya1NwYWNlXFx0ZXN0d2lkZ2V0XFxub2RlX21vZHVsZXNcXEByZXN0YXJ0XFxob29rc1xcY2pzXFx1c2VQcmV2aW91cy5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcbmV4cG9ydHMuZGVmYXVsdCA9IHVzZVByZXZpb3VzO1xudmFyIF9yZWFjdCA9IHJlcXVpcmUoXCJyZWFjdFwiKTtcbi8qKlxuICogU3RvcmUgdGhlIGxhc3Qgb2Ygc29tZSB2YWx1ZS4gVHJhY2tlZCB2aWEgYSBgUmVmYCBvbmx5IHVwZGF0aW5nIGl0XG4gKiBhZnRlciB0aGUgY29tcG9uZW50IHJlbmRlcnMuXG4gKlxuICogSGVscGZ1bCBpZiB5b3UgbmVlZCB0byBjb21wYXJlIGEgcHJvcCB2YWx1ZSB0byBpdCdzIHByZXZpb3VzIHZhbHVlIGR1cmluZyByZW5kZXIuXG4gKlxuICogYGBgdHNcbiAqIGZ1bmN0aW9uIENvbXBvbmVudChwcm9wcykge1xuICogICBjb25zdCBsYXN0UHJvcHMgPSB1c2VQcmV2aW91cyhwcm9wcylcbiAqXG4gKiAgIGlmIChsYXN0UHJvcHMuZm9vICE9PSBwcm9wcy5mb28pXG4gKiAgICAgcmVzZXRWYWx1ZUZyb21Qcm9wcyhwcm9wcy5mb28pXG4gKiB9XG4gKiBgYGBcbiAqXG4gKiBAcGFyYW0gdmFsdWUgdGhlIHZhbHVlIHRvIHRyYWNrXG4gKi9cbmZ1bmN0aW9uIHVzZVByZXZpb3VzKHZhbHVlKSB7XG4gIGNvbnN0IHJlZiA9ICgwLCBfcmVhY3QudXNlUmVmKShudWxsKTtcbiAgKDAsIF9yZWFjdC51c2VFZmZlY3QpKCgpID0+IHtcbiAgICByZWYuY3VycmVudCA9IHZhbHVlO1xuICB9KTtcbiAgcmV0dXJuIHJlZi5jdXJyZW50O1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/usePrevious.js\n");
|
71
|
-
|
72
|
-
/***/ }),
|
73
|
-
|
74
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useUpdatedRef.js":
|
75
|
-
/*!**********************************************************!*\
|
76
|
-
!*** ./node_modules/@restart/hooks/cjs/useUpdatedRef.js ***!
|
77
|
-
\**********************************************************/
|
78
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
79
|
-
|
80
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useUpdatedRef;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/**\n * Returns a ref that is immediately updated with the new value\n *\n * @param value The Ref value\n * @category refs\n */\nfunction useUpdatedRef(value) {\n const valueRef = (0, _react.useRef)(value);\n valueRef.current = value;\n return valueRef;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvY2pzL3VzZVVwZGF0ZWRSZWYuanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLGtCQUFlO0FBQ2YsYUFBYSxtQkFBTyxDQUFDLGlHQUFPO0FBQzVCO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIkM6XFxVc2Vyc1xcUGluZXN1Y2NlZWRcXERlc2t0b3BcXFdvcmtTcGFjZVxcdGVzdHdpZGdldFxcbm9kZV9tb2R1bGVzXFxAcmVzdGFydFxcaG9va3NcXGNqc1xcdXNlVXBkYXRlZFJlZi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJpY3RcIjtcblxuZXhwb3J0cy5fX2VzTW9kdWxlID0gdHJ1ZTtcbmV4cG9ydHMuZGVmYXVsdCA9IHVzZVVwZGF0ZWRSZWY7XG52YXIgX3JlYWN0ID0gcmVxdWlyZShcInJlYWN0XCIpO1xuLyoqXG4gKiBSZXR1cm5zIGEgcmVmIHRoYXQgaXMgaW1tZWRpYXRlbHkgdXBkYXRlZCB3aXRoIHRoZSBuZXcgdmFsdWVcbiAqXG4gKiBAcGFyYW0gdmFsdWUgVGhlIFJlZiB2YWx1ZVxuICogQGNhdGVnb3J5IHJlZnNcbiAqL1xuZnVuY3Rpb24gdXNlVXBkYXRlZFJlZih2YWx1ZSkge1xuICBjb25zdCB2YWx1ZVJlZiA9ICgwLCBfcmVhY3QudXNlUmVmKSh2YWx1ZSk7XG4gIHZhbHVlUmVmLmN1cnJlbnQgPSB2YWx1ZTtcbiAgcmV0dXJuIHZhbHVlUmVmO1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useUpdatedRef.js\n");
|
81
|
-
|
82
|
-
/***/ }),
|
83
|
-
|
84
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/cjs/useWillUnmount.js":
|
85
|
-
/*!***********************************************************!*\
|
86
|
-
!*** ./node_modules/@restart/hooks/cjs/useWillUnmount.js ***!
|
87
|
-
\***********************************************************/
|
88
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
89
|
-
|
90
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useWillUnmount;\nvar _useUpdatedRef = _interopRequireDefault(__webpack_require__(/*! ./useUpdatedRef */ \"(ssr)/./node_modules/@restart/hooks/cjs/useUpdatedRef.js\"));\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n/**\n * Attach a callback that fires when a component unmounts\n *\n * @param fn Handler to run when the component unmounts\n * @category effects\n */\nfunction useWillUnmount(fn) {\n const onUnmount = (0, _useUpdatedRef.default)(fn);\n (0, _react.useEffect)(() => () => onUnmount.current(), []);\n}//# sourceURL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ciB0byBydW4gd2hlbiB0aGUgY29tcG9uZW50IHVubW91bnRzXG4gKiBAY2F0ZWdvcnkgZWZmZWN0c1xuICovXG5mdW5jdGlvbiB1c2VXaWxsVW5tb3VudChmbikge1xuICBjb25zdCBvblVubW91bnQgPSAoMCwgX3VzZVVwZGF0ZWRSZWYuZGVmYXVsdCkoZm4pO1xuICAoMCwgX3JlYWN0LnVzZUVmZmVjdCkoKCkgPT4gKCkgPT4gb25Vbm1vdW50LmN1cnJlbnQoKSwgW10pO1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/cjs/useWillUnmount.js\n");
|
91
|
-
|
92
|
-
/***/ }),
|
93
|
-
|
94
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useCallbackRef.js":
|
95
|
-
/*!***********************************************************!*\
|
96
|
-
!*** ./node_modules/@restart/hooks/esm/useCallbackRef.js ***!
|
97
|
-
\***********************************************************/
|
98
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
99
|
-
|
100
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ useCallbackRef)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n\n/**\n * A convenience hook around `useState` designed to be paired with\n * the component [callback ref](https://reactjs.org/docs/refs-and-the-dom.html#callback-refs) api.\n * Callback refs are useful over `useRef()` when you need to respond to the ref being set\n * instead of lazily accessing it in an effect.\n *\n * ```ts\n * const [element, attachRef] = useCallbackRef<HTMLDivElement>()\n *\n * useEffect(() => {\n * if (!element) return\n *\n * const calendar = new FullCalendar.Calendar(element)\n *\n * return () => {\n * calendar.destroy()\n * }\n * }, [element])\n *\n * return <div ref={attachRef} />\n * ```\n *\n * @category refs\n */\nfunction useCallbackRef() {\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(null);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZUNhbGxiYWNrUmVmLmpzIiwibWFwcGluZ3MiOiI7Ozs7OztBQUFpQzs7QUFFakM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLElBQUk7QUFDSjtBQUNBLG9CQUFvQixXQUFXO0FBQy9CO0FBQ0E7QUFDQTtBQUNBO0FBQ2U7QUFDZixTQUFTLCtDQUFRO0FBQ2pCIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXGhvb2tzXFxlc21cXHVzZUNhbGxiYWNrUmVmLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZVN0YXRlIH0gZnJvbSAncmVhY3QnO1xuXG4vKipcbiAqIEEgY29udmVuaWVuY2UgaG9vayBhcm91bmQgYHVzZVN0YXRlYCBkZXNpZ25lZCB0byBiZSBwYWlyZWQgd2l0aFxuICogdGhlIGNvbXBvbmVudCBbY2FsbGJhY2sgcmVmXShodHRwczovL3JlYWN0anMub3JnL2RvY3MvcmVmcy1hbmQtdGhlLWRvbS5odG1sI2NhbGxiYWNrLXJlZnMpIGFwaS5cbiAqIENhbGxiYWNrIHJlZnMgYXJlIHVzZWZ1bCBvdmVyIGB1c2VSZWYoKWAgd2hlbiB5b3UgbmVlZCB0byByZXNwb25kIHRvIHRoZSByZWYgYmVpbmcgc2V0XG4gKiBpbnN0ZWFkIG9mIGxhemlseSBhY2Nlc3NpbmcgaXQgaW4gYW4gZWZmZWN0LlxuICpcbiAqIGBgYHRzXG4gKiBjb25zdCBbZWxlbWVudCwgYXR0YWNoUmVmXSA9IHVzZUNhbGxiYWNrUmVmPEhUTUxEaXZFbGVtZW50PigpXG4gKlxuICogdXNlRWZmZWN0KCgpID0+IHtcbiAqICAgaWYgKCFlbGVtZW50KSByZXR1cm5cbiAqXG4gKiAgIGNvbnN0IGNhbGVuZGFyID0gbmV3IEZ1bGxDYWxlbmRhci5DYWxlbmRhcihlbGVtZW50KVxuICpcbiAqICAgcmV0dXJuICgpID0+IHtcbiAqICAgICBjYWxlbmRhci5kZXN0cm95KClcbiAqICAgfVxuICogfSwgW2VsZW1lbnRdKVxuICpcbiAqIHJldHVybiA8ZGl2IHJlZj17YXR0YWNoUmVmfSAvPlxuICogYGBgXG4gKlxuICogQGNhdGVnb3J5IHJlZnNcbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdXNlQ2FsbGJhY2tSZWYoKSB7XG4gIHJldHVybiB1c2VTdGF0ZShudWxsKTtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useCallbackRef.js\n");
|
101
|
-
|
102
|
-
/***/ }),
|
103
|
-
|
104
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useCommittedRef.js":
|
105
|
-
/*!************************************************************!*\
|
106
|
-
!*** ./node_modules/@restart/hooks/esm/useCommittedRef.js ***!
|
107
|
-
\************************************************************/
|
108
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
109
|
-
|
110
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n\n/**\n * Creates a `Ref` whose value is updated in an effect, ensuring the most recent\n * value is the one rendered with. Generally only required for Concurrent mode usage\n * where previous work in `render()` may be discarded before being used.\n *\n * This is safe to access in an event handler.\n *\n * @param value The `Ref` value\n */\nfunction useCommittedRef(value) {\n const ref = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value);\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\n ref.current = value;\n }, [value]);\n return ref;\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useCommittedRef);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZUNvbW1pdHRlZFJlZi5qcyIsIm1hcHBpbmdzIjoiOzs7Ozs7QUFBMEM7O0FBRTFDO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsY0FBYyw2Q0FBTTtBQUNwQixFQUFFLGdEQUFTO0FBQ1g7QUFDQSxHQUFHO0FBQ0g7QUFDQTtBQUNBLGlFQUFlLGVBQWUiLCJzb3VyY2VzIjpbIkM6XFxVc2Vyc1xcUGluZXN1Y2NlZWRcXERlc2t0b3BcXFdvcmtTcGFjZVxcdGVzdHdpZGdldFxcbm9kZV9tb2R1bGVzXFxAcmVzdGFydFxcaG9va3NcXGVzbVxcdXNlQ29tbWl0dGVkUmVmLmpzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHVzZUVmZmVjdCwgdXNlUmVmIH0gZnJvbSAncmVhY3QnO1xuXG4vKipcbiAqIENyZWF0ZXMgYSBgUmVmYCB3aG9zZSB2YWx1ZSBpcyB1cGRhdGVkIGluIGFuIGVmZmVjdCwgZW5zdXJpbmcgdGhlIG1vc3QgcmVjZW50XG4gKiB2YWx1ZSBpcyB0aGUgb25lIHJlbmRlcmVkIHdpdGguIEdlbmVyYWxseSBvbmx5IHJlcXVpcmVkIGZvciBDb25jdXJyZW50IG1vZGUgdXNhZ2VcbiAqIHdoZXJlIHByZXZpb3VzIHdvcmsgaW4gYHJlbmRlcigpYCBtYXkgYmUgZGlzY2FyZGVkIGJlZm9yZSBiZWluZyB1c2VkLlxuICpcbiAqIFRoaXMgaXMgc2FmZSB0byBhY2Nlc3MgaW4gYW4gZXZlbnQgaGFuZGxlci5cbiAqXG4gKiBAcGFyYW0gdmFsdWUgVGhlIGBSZWZgIHZhbHVlXG4gKi9cbmZ1bmN0aW9uIHVzZUNvbW1pdHRlZFJlZih2YWx1ZSkge1xuICBjb25zdCByZWYgPSB1c2VSZWYodmFsdWUpO1xuICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgIHJlZi5jdXJyZW50ID0gdmFsdWU7XG4gIH0sIFt2YWx1ZV0pO1xuICByZXR1cm4gcmVmO1xufVxuZXhwb3J0IGRlZmF1bHQgdXNlQ29tbWl0dGVkUmVmOyJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useCommittedRef.js\n");
|
111
|
-
|
112
|
-
/***/ }),
|
113
|
-
|
114
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useEventCallback.js":
|
115
|
-
/*!*************************************************************!*\
|
116
|
-
!*** ./node_modules/@restart/hooks/esm/useEventCallback.js ***!
|
117
|
-
\*************************************************************/
|
118
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
119
|
-
|
120
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ useEventCallback)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _useCommittedRef__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./useCommittedRef */ \"(ssr)/./node_modules/@restart/hooks/esm/useCommittedRef.js\");\n\n\nfunction useEventCallback(fn) {\n const ref = (0,_useCommittedRef__WEBPACK_IMPORTED_MODULE_1__[\"default\"])(fn);\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (...args) {\n return ref.current && ref.current(...args);\n }, [ref]);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZUV2ZW50Q2FsbGJhY2suanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFvQztBQUNZO0FBQ2pDO0FBQ2YsY0FBYyw0REFBZTtBQUM3QixTQUFTLGtEQUFXO0FBQ3BCO0FBQ0EsR0FBRztBQUNIIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXGhvb2tzXFxlc21cXHVzZUV2ZW50Q2FsbGJhY2suanMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgdXNlQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlQ29tbWl0dGVkUmVmIGZyb20gJy4vdXNlQ29tbWl0dGVkUmVmJztcbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHVzZUV2ZW50Q2FsbGJhY2soZm4pIHtcbiAgY29uc3QgcmVmID0gdXNlQ29tbWl0dGVkUmVmKGZuKTtcbiAgcmV0dXJuIHVzZUNhbGxiYWNrKGZ1bmN0aW9uICguLi5hcmdzKSB7XG4gICAgcmV0dXJuIHJlZi5jdXJyZW50ICYmIHJlZi5jdXJyZW50KC4uLmFyZ3MpO1xuICB9LCBbcmVmXSk7XG59Il0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useEventCallback.js\n");
|
121
|
-
|
122
|
-
/***/ }),
|
123
|
-
|
124
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useMergedRefs.js":
|
125
|
-
/*!**********************************************************!*\
|
126
|
-
!*** ./node_modules/@restart/hooks/esm/useMergedRefs.js ***!
|
127
|
-
\**********************************************************/
|
128
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
129
|
-
|
130
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ mergeRefs: () => (/* binding */ mergeRefs)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\nconst toFnRef = ref => !ref || typeof ref === 'function' ? ref : value => {\n ref.current = value;\n};\nfunction mergeRefs(refA, refB) {\n const a = toFnRef(refA);\n const b = toFnRef(refB);\n return value => {\n if (a) a(value);\n if (b) b(value);\n };\n}\n\n/**\n * Create and returns a single callback ref composed from two other Refs.\n *\n * ```tsx\n * const Button = React.forwardRef((props, ref) => {\n * const [element, attachRef] = useCallbackRef<HTMLButtonElement>();\n * const mergedRef = useMergedRefs(ref, attachRef);\n *\n * return <button ref={mergedRef} {...props}/>\n * })\n * ```\n *\n * @param refA A Callback or mutable Ref\n * @param refB A Callback or mutable Ref\n * @category refs\n */\nfunction useMergedRefs(refA, refB) {\n return (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => mergeRefs(refA, refB), [refA, refB]);\n}\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (useMergedRefs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZU1lcmdlZFJlZnMuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7OztBQUFnQztBQUNoQztBQUNBO0FBQ0E7QUFDTztBQUNQO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSx5QkFBeUIsWUFBWSxTQUFTO0FBQzlDLElBQUk7QUFDSjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLFNBQVMsOENBQU87QUFDaEI7QUFDQSxpRUFBZSxhQUFhIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXH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2FsbGJhY2sgb3IgbXV0YWJsZSBSZWZcbiAqIEBjYXRlZ29yeSByZWZzXG4gKi9cbmZ1bmN0aW9uIHVzZU1lcmdlZFJlZnMocmVmQSwgcmVmQikge1xuICByZXR1cm4gdXNlTWVtbygoKSA9PiBtZXJnZVJlZnMocmVmQSwgcmVmQiksIFtyZWZBLCByZWZCXSk7XG59XG5leHBvcnQgZGVmYXVsdCB1c2VNZXJnZWRSZWZzOyJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useMergedRefs.js\n");
|
131
|
-
|
132
|
-
/***/ }),
|
133
|
-
|
134
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useUpdatedRef.js":
|
135
|
-
/*!**********************************************************!*\
|
136
|
-
!*** ./node_modules/@restart/hooks/esm/useUpdatedRef.js ***!
|
137
|
-
\**********************************************************/
|
138
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
139
|
-
|
140
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ useUpdatedRef)\n/* harmony export */ });\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n\n\n/**\n * Returns a ref that is immediately updated with the new value\n *\n * @param value The Ref value\n * @category refs\n */\nfunction useUpdatedRef(value) {\n const valueRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value);\n valueRef.current = value;\n return valueRef;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZVVwZGF0ZWRSZWYuanMiLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQStCOztBQUUvQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDZTtBQUNmLG1CQUFtQiw2Q0FBTTtBQUN6QjtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIkM6XFxVc2Vyc1xcUGluZXN1Y2NlZWRcXERlc2t0b3BcXFdvcmtTcGFjZVxcdGVzdHdpZGdldFxcbm9kZV9tb2R1bGVzXFxAcmVzdGFydFxcaG9va3NcXGVzbVxcdXNlVXBkYXRlZFJlZi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB1c2VSZWYgfSBmcm9tICdyZWFjdCc7XG5cbi8qKlxuICogUmV0dXJucyBhIHJlZiB0aGF0IGlzIGltbWVkaWF0ZWx5IHVwZGF0ZWQgd2l0aCB0aGUgbmV3IHZhbHVlXG4gKlxuICogQHBhcmFtIHZhbHVlIFRoZSBSZWYgdmFsdWVcbiAqIEBjYXRlZ29yeSByZWZzXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHVzZVVwZGF0ZWRSZWYodmFsdWUpIHtcbiAgY29uc3QgdmFsdWVSZWYgPSB1c2VSZWYodmFsdWUpO1xuICB2YWx1ZVJlZi5jdXJyZW50ID0gdmFsdWU7XG4gIHJldHVybiB2YWx1ZVJlZjtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useUpdatedRef.js\n");
|
141
|
-
|
142
|
-
/***/ }),
|
143
|
-
|
144
|
-
/***/ "(ssr)/./node_modules/@restart/hooks/esm/useWillUnmount.js":
|
145
|
-
/*!***********************************************************!*\
|
146
|
-
!*** ./node_modules/@restart/hooks/esm/useWillUnmount.js ***!
|
147
|
-
\***********************************************************/
|
148
|
-
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
149
|
-
|
150
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ useWillUnmount)\n/* harmony export */ });\n/* harmony import */ var _useUpdatedRef__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./useUpdatedRef */ \"(ssr)/./node_modules/@restart/hooks/esm/useUpdatedRef.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n/**\n * Attach a callback that fires when a component unmounts\n *\n * @param fn Handler to run when the component unmounts\n * @category effects\n */\nfunction useWillUnmount(fn) {\n const onUnmount = (0,_useUpdatedRef__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(fn);\n (0,react__WEBPACK_IMPORTED_MODULE_1__.useEffect)(() => () => onUnmount.current(), []);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvaG9va3MvZXNtL3VzZVdpbGxVbm1vdW50LmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBNEM7QUFDVjs7QUFFbEM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ2U7QUFDZixvQkFBb0IsMERBQWE7QUFDakMsRUFBRSxnREFBUztBQUNYIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXGhvb2tzXFxlc21cXHVzZVdpbGxVbm1vdW50LmpzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB1c2VVcGRhdGVkUmVmIGZyb20gJy4vdXNlVXBkYXRlZFJlZic7XG5pbXBvcnQgeyB1c2VFZmZlY3QgfSBmcm9tICdyZWFjdCc7XG5cbi8qKlxuICogQXR0YWNoIGEgY2FsbGJhY2sgdGhhdCBmaXJlcyB3aGVuIGEgY29tcG9uZW50IHVubW91bnRzXG4gKlxuICogQHBhcmFtIGZuIEhhbmRsZXIgdG8gcnVuIHdoZW4gdGhlIGNvbXBvbmVudCB1bm1vdW50c1xuICogQGNhdGVnb3J5IGVmZmVjdHNcbiAqL1xuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gdXNlV2lsbFVubW91bnQoZm4pIHtcbiAgY29uc3Qgb25Vbm1vdW50ID0gdXNlVXBkYXRlZFJlZihmbik7XG4gIHVzZUVmZmVjdCgoKSA9PiAoKSA9PiBvblVubW91bnQuY3VycmVudCgpLCBbXSk7XG59Il0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/hooks/esm/useWillUnmount.js\n");
|
151
|
-
|
152
|
-
/***/ }),
|
153
|
-
|
154
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/Button.js":
|
155
|
-
/*!************************************************!*\
|
156
|
-
!*** ./node_modules/@restart/ui/cjs/Button.js ***!
|
157
|
-
\************************************************/
|
158
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
159
|
-
|
160
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nexports.isTrivialHref = isTrivialHref;\nexports.useButtonProps = useButtonProps;\nvar React = _interopRequireWildcard(__webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\"));\nvar _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js\");\nconst _excluded = [\"as\", \"disabled\"];\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }\nfunction isTrivialHref(href) {\n return !href || href.trim() === '#';\n}\nfunction useButtonProps({\n tagName,\n disabled,\n href,\n target,\n rel,\n role,\n onClick,\n tabIndex = 0,\n type\n}) {\n if (!tagName) {\n if (href != null || target != null || rel != null) {\n tagName = 'a';\n } else {\n tagName = 'button';\n }\n }\n const meta = {\n tagName\n };\n if (tagName === 'button') {\n return [{\n type: type || 'button',\n disabled\n }, meta];\n }\n const handleClick = event => {\n if (disabled || tagName === 'a' && isTrivialHref(href)) {\n event.preventDefault();\n }\n if (disabled) {\n event.stopPropagation();\n return;\n }\n onClick == null ? void 0 : onClick(event);\n };\n const handleKeyDown = event => {\n if (event.key === ' ') {\n event.preventDefault();\n handleClick(event);\n }\n };\n if (tagName === 'a') {\n // Ensure there's a href so Enter can trigger anchor button.\n href || (href = '#');\n if (disabled) {\n href = undefined;\n }\n }\n return [{\n role: role != null ? role : 'button',\n // explicitly undefined so that it overrides the props disabled in a spread\n // e.g. <Tag {...props} {...hookProps} />\n disabled: undefined,\n tabIndex: disabled ? undefined : tabIndex,\n href,\n target: tagName === 'a' ? target : undefined,\n 'aria-disabled': !disabled ? undefined : disabled,\n rel: tagName === 'a' ? rel : undefined,\n onClick: handleClick,\n onKeyDown: handleKeyDown\n }, meta];\n}\nconst Button = /*#__PURE__*/React.forwardRef((_ref, ref) => {\n let {\n as: asProp,\n disabled\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const [buttonProps, {\n tagName: Component\n }] = useButtonProps(Object.assign({\n tagName: asProp,\n disabled\n }, props));\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, Object.assign({}, props, buttonProps, {\n ref: ref\n }));\n});\nButton.displayName = 'Button';\nvar _default = exports[\"default\"] = Button;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL0J1dHRvbi5qcyIsIm1hcHBpbmdzIjoiQUFBYTs7QUFFYixrQkFBa0I7QUFDbEIsa0JBQWU7QUFDZixxQkFBcUI7QUFDckIsc0JBQXNCO0FBQ3RCLG9DQUFvQyxtQkFBTyxDQUFDLGlHQUFPO0FBQ25ELGtCQUFrQixtQkFBTyxDQUFDLHlIQUFtQjtBQUM3QztBQUNBLHVDQUF1QywrQ0FBK0MsMENBQTBDLGtEQUFrRCxtQkFBbUI7QUFDck0seUNBQXlDLHVDQUF1QywyRUFBMkUsY0FBYyxxQ0FBcUMsb0NBQW9DLFVBQVUsaUJBQWlCLGdFQUFnRSwwQ0FBMEMsOEJBQThCLDBEQUEwRCx3RUFBd0U7QUFDdmhCLCtDQUErQywwQkFBMEIsWUFBWSx1QkFBdUIsOEJBQThCLGlDQUFpQyxlQUFlO0FBQzFMO0FBQ0E7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m5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/Button.js\n");
|
161
|
-
|
162
|
-
/***/ }),
|
163
|
-
|
164
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/DataKey.js":
|
165
|
-
/*!*************************************************!*\
|
166
|
-
!*** ./node_modules/@restart/ui/cjs/DataKey.js ***!
|
167
|
-
\*************************************************/
|
168
|
-
/***/ ((__unused_webpack_module, exports) => {
|
169
|
-
|
170
|
-
eval("\n\nexports.__esModule = true;\nexports.PROPERTY_PREFIX = exports.ATTRIBUTE_PREFIX = void 0;\nexports.dataAttr = dataAttr;\nexports.dataProp = dataProp;\nconst ATTRIBUTE_PREFIX = exports.ATTRIBUTE_PREFIX = `data-rr-ui-`;\nconst PROPERTY_PREFIX = exports.PROPERTY_PREFIX = `rrUi`;\nfunction dataAttr(property) {\n return `${ATTRIBUTE_PREFIX}${property}`;\n}\nfunction dataProp(property) {\n return `${PROPERTY_PREFIX}${property}`;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL0RhdGFLZXkuanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLHVCQUF1QixHQUFHLHdCQUF3QjtBQUNsRCxnQkFBZ0I7QUFDaEIsZ0JBQWdCO0FBQ2hCLHlCQUF5Qix3QkFBd0I7QUFDakQsd0JBQXdCLHVCQUF1QjtBQUMvQztBQUNBLFlBQVksaUJBQWlCLEVBQUUsU0FBUztBQUN4QztBQUNBO0FBQ0EsWUFBWSxnQkFBZ0IsRUFBRSxTQUFTO0FBQ3ZDIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXHVpXFxjanNcXERhdGFLZXkuanMiXSwic291cmNlc0NvbnRlbnQiOlsiXCJ1c2Ugc3RyaWN0XCI7XG5cbmV4cG9ydHMuX19lc01vZHVsZSA9IHRydWU7XG5leHBvcnRzLlBST1BFUlRZX1BSRUZJWCA9IGV4cG9ydHMuQVRUUklCVVRFX1BSRUZJWCA9IHZvaWQgMDtcbmV4cG9ydHMuZGF0YUF0dHIgPSBkYXRhQXR0cjtcbmV4cG9ydHMuZGF0YVByb3AgPSBkYXRhUHJvcDtcbmNvbnN0IEFUVFJJQlVURV9QUkVGSVggPSBleHBvcnRzLkFUVFJJQlVURV9QUkVGSVggPSBgZGF0YS1yci11aS1gO1xuY29uc3QgUFJPUEVSVFlfUFJFRklYID0gZXhwb3J0cy5QUk9QRVJUWV9QUkVGSVggPSBgcnJVaWA7XG5mdW5jdGlvbiBkYXRhQXR0cihwcm9wZXJ0eSkge1xuICByZXR1cm4gYCR7QVRUUklCVVRFX1BSRUZJWH0ke3Byb3BlcnR5fWA7XG59XG5mdW5jdGlvbiBkYXRhUHJvcChwcm9wZXJ0eSkge1xuICByZXR1cm4gYCR7UFJPUEVSVFlfUFJFRklYfSR7cHJvcGVydHl9YDtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/DataKey.js\n");
|
171
|
-
|
172
|
-
/***/ }),
|
173
|
-
|
174
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/ImperativeTransition.js":
|
175
|
-
/*!**************************************************************!*\
|
176
|
-
!*** ./node_modules/@restart/ui/cjs/ImperativeTransition.js ***!
|
177
|
-
\**************************************************************/
|
178
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
179
|
-
|
180
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = ImperativeTransition;\nexports.renderTransition = renderTransition;\nexports.useTransition = useTransition;\nvar _useMergedRefs = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useMergedRefs */ \"(ssr)/./node_modules/@restart/hooks/cjs/useMergedRefs.js\"));\nvar _useEventCallback = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useEventCallback */ \"(ssr)/./node_modules/@restart/hooks/cjs/useEventCallback.js\"));\nvar _useIsomorphicEffect = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useIsomorphicEffect */ \"(ssr)/./node_modules/@restart/hooks/cjs/useIsomorphicEffect.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\"));\nvar _NoopTransition = _interopRequireDefault(__webpack_require__(/*! ./NoopTransition */ \"(ssr)/./node_modules/@restart/ui/cjs/NoopTransition.js\"));\nvar _RTGTransition = _interopRequireDefault(__webpack_require__(/*! ./RTGTransition */ \"(ssr)/./node_modules/@restart/ui/cjs/RTGTransition.js\"));\nvar _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js\");\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction useTransition({\n in: inProp,\n onTransition\n}) {\n const ref = (0, _react.useRef)(null);\n const isInitialRef = (0, _react.useRef)(true);\n const handleTransition = (0, _useEventCallback.default)(onTransition);\n (0, _useIsomorphicEffect.default)(() => {\n if (!ref.current) {\n return undefined;\n }\n let stale = false;\n handleTransition({\n in: inProp,\n element: ref.current,\n initial: isInitialRef.current,\n isStale: () => stale\n });\n return () => {\n stale = true;\n };\n }, [inProp, handleTransition]);\n (0, _useIsomorphicEffect.default)(() => {\n isInitialRef.current = false;\n // this is for strict mode\n return () => {\n isInitialRef.current = true;\n };\n }, []);\n return ref;\n}\n/**\n * Adapts an imperative transition function to a subset of the RTG `<Transition>` component API.\n *\n * ImperativeTransition does not support mounting options or `appear` at the moment, meaning\n * that it always acts like: `mountOnEnter={true} unmountOnExit={true} appear={true}`\n */\nfunction ImperativeTransition({\n children,\n in: inProp,\n onExited,\n onEntered,\n transition\n}) {\n const [exited, setExited] = (0, _react.useState)(!inProp);\n\n // TODO: I think this needs to be in an effect\n if (inProp && exited) {\n setExited(false);\n }\n const ref = useTransition({\n in: !!inProp,\n onTransition: options => {\n const onFinish = () => {\n if (options.isStale()) return;\n if (options.in) {\n onEntered == null ? void 0 : onEntered(options.element, options.initial);\n } else {\n setExited(true);\n onExited == null ? void 0 : onExited(options.element);\n }\n };\n Promise.resolve(transition(options)).then(onFinish, error => {\n if (!options.in) setExited(true);\n throw error;\n });\n }\n });\n const combinedRef = (0, _useMergedRefs.default)(ref, children.ref);\n return exited && !inProp ? null : /*#__PURE__*/(0, _react.cloneElement)(children, {\n ref: combinedRef\n });\n}\nfunction renderTransition(component, runTransition, props) {\n if (component) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_RTGTransition.default, Object.assign({}, props, {\n component: component\n }));\n }\n if (runTransition) {\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(ImperativeTransition, Object.assign({}, props, {\n transition: runTransition\n }));\n }\n return /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21iaW5lZFJlZiA9ICgwLCBfdXNlTWVyZ2VkUmVmcy5kZWZhdWx0KShyZWYsIGNoaWxkcmVuLnJlZik7XG4gIHJldHVybiBleGl0ZWQgJiYgIWluUHJvcCA/IG51bGwgOiAvKiNfX1BVUkVfXyovKDAsIF9yZWFjdC5jbG9uZUVsZW1lbnQpKGNoaWxkcmVuLCB7XG4gICAgcmVmOiBjb21iaW5lZFJlZlxuICB9KTtcbn1cbmZ1bmN0aW9uIHJlbmRlclRyYW5zaXRpb24oY29tcG9uZW50LCBydW5UcmFuc2l0aW9uLCBwcm9wcykge1xuICBpZiAoY29tcG9uZW50KSB7XG4gICAgcmV0dXJuIC8qI19fUFVSRV9fKi8oMCwgX2pzeFJ1bnRpbWUuanN4KShfUlRHVHJhbnNpdGlvbi5kZWZhdWx0LCBPYmplY3QuYXNzaWduKHt9LCBwcm9wcywge1xuICAgICAgY29tcG9uZW50OiBjb21wb25lbnRcbiAgICB9KSk7XG4gIH1cbiAgaWYgKHJ1blRyYW5zaXRpb24pIHtcbiAgICByZXR1cm4gLyojX19QVVJFX18qLygwLCBfanN4UnVudGltZS5qc3gpKEltcGVyYXRpdmVUcmFuc2l0aW9uLCBPYmplY3QuYXNzaWduKHt9LCBwcm9wcywge1xuICAgICAgdHJhbnNpdGlvbjogcnVuVHJhbnNpdGlvblxuICAgIH0pKTtcbiAgfVxuICByZXR1cm4gLyojX19QVVJFX18qLygwLCBfanN4UnVudGltZS5qc3gpKF9Ob29wVHJhbnNpdGlvbi5kZWZhdWx0LCBPYmplY3QuYXNzaWduKHt9LCBwcm9wcykpO1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/ImperativeTransition.js\n");
|
181
|
-
|
182
|
-
/***/ }),
|
183
|
-
|
184
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/Modal.js":
|
185
|
-
/*!***********************************************!*\
|
186
|
-
!*** ./node_modules/@restart/ui/cjs/Modal.js ***!
|
187
|
-
\***********************************************/
|
188
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
189
|
-
|
190
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _activeElement = _interopRequireDefault(__webpack_require__(/*! dom-helpers/activeElement */ \"(ssr)/./node_modules/dom-helpers/esm/activeElement.js\"));\nvar _contains = _interopRequireDefault(__webpack_require__(/*! dom-helpers/contains */ \"(ssr)/./node_modules/dom-helpers/esm/contains.js\"));\nvar _canUseDOM = _interopRequireDefault(__webpack_require__(/*! dom-helpers/canUseDOM */ \"(ssr)/./node_modules/dom-helpers/esm/canUseDOM.js\"));\nvar _listen = _interopRequireDefault(__webpack_require__(/*! dom-helpers/listen */ \"(ssr)/./node_modules/dom-helpers/esm/listen.js\"));\nvar _react = _interopRequireWildcard(__webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\"));\nvar React = _react;\nvar _reactDom = _interopRequireDefault(__webpack_require__(/*! react-dom */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js\"));\nvar _useMounted = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useMounted */ \"(ssr)/./node_modules/@restart/hooks/cjs/useMounted.js\"));\nvar _useWillUnmount = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useWillUnmount */ \"(ssr)/./node_modules/@restart/hooks/cjs/useWillUnmount.js\"));\nvar _usePrevious = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/usePrevious */ \"(ssr)/./node_modules/@restart/hooks/cjs/usePrevious.js\"));\nvar _useEventCallback = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useEventCallback */ \"(ssr)/./node_modules/@restart/hooks/cjs/useEventCallback.js\"));\nvar _ModalManager = _interopRequireDefault(__webpack_require__(/*! ./ModalManager */ \"(ssr)/./node_modules/@restart/ui/cjs/ModalManager.js\"));\nvar _useWaitForDOMRef = _interopRequireDefault(__webpack_require__(/*! ./useWaitForDOMRef */ \"(ssr)/./node_modules/@restart/ui/cjs/useWaitForDOMRef.js\"));\nvar _useWindow = _interopRequireDefault(__webpack_require__(/*! ./useWindow */ \"(ssr)/./node_modules/@restart/ui/cjs/useWindow.js\"));\nvar _ImperativeTransition = __webpack_require__(/*! ./ImperativeTransition */ \"(ssr)/./node_modules/@restart/ui/cjs/ImperativeTransition.js\");\nvar _utils = __webpack_require__(/*! ./utils */ \"(ssr)/./node_modules/@restart/ui/cjs/utils.js\");\nvar _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js\");\nconst _excluded = [\"show\", \"role\", \"className\", \"style\", \"children\", \"backdrop\", \"keyboard\", \"onBackdropClick\", \"onEscapeKeyDown\", \"transition\", \"runTransition\", \"backdropTransition\", \"runBackdropTransition\", \"autoFocus\", \"enforceFocus\", \"restoreFocus\", \"restoreFocusOptions\", \"renderDialog\", \"renderBackdrop\", \"manager\", \"container\", \"onShow\", \"onHide\", \"onExit\", \"onExited\", \"onExiting\", \"onEnter\", \"onEntering\", \"onEntered\"];\n/* eslint-disable @typescript-eslint/no-use-before-define, react/prop-types */\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }\nlet manager;\n\n/*\n Modal props are split into a version with and without index signature so that you can fully use them in another projects\n This is due to Typescript not playing well with index signatures e.g. when using Omit\n*/\n\nfunction getManager(window) {\n if (!manager) manager = new _ModalManager.default({\n ownerDocument: window == null ? void 0 : window.document\n });\n return manager;\n}\nfunction useModalManager(provided) {\n const window = (0, _useWindow.default)();\n const modalManager = provided || getManager(window);\n const modal = (0, _react.useRef)({\n dialog: null,\n backdrop: null\n });\n return Object.assign(modal.current, {\n add: () => modalManager.add(modal.current),\n remove: () => modalManager.remove(modal.current),\n isTopModal: () => modalManager.isTopModal(modal.current),\n setDialogRef: (0, _react.useCallback)(ref => {\n modal.current.dialog = ref;\n }, []),\n setBackdropRef: (0, _react.useCallback)(ref => {\n modal.current.backdrop = ref;\n }, [])\n });\n}\nconst Modal = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {\n let {\n show = false,\n role = 'dialog',\n className,\n style,\n children,\n backdrop = true,\n keyboard = true,\n onBackdropClick,\n onEscapeKeyDown,\n transition,\n runTransition,\n backdropTransition,\n runBackdropTransition,\n autoFocus = true,\n enforceFocus = true,\n restoreFocus = true,\n restoreFocusOptions,\n renderDialog,\n renderBackdrop = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(\"div\", Object.assign({}, props)),\n manager: providedManager,\n container: containerRef,\n onShow,\n onHide = () => {},\n onExit,\n onExited,\n onExiting,\n onEnter,\n onEntering,\n onEntered\n } = _ref,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n const ownerWindow = (0, _useWindow.default)();\n const container = (0, _useWaitForDOMRef.default)(containerRef);\n const modal = useModalManager(providedManager);\n const isMounted = (0, _useMounted.default)();\n const prevShow = (0, _usePrevious.default)(show);\n const [exited, setExited] = (0, _react.useState)(!show);\n const lastFocusRef = (0, _react.useRef)(null);\n (0, _react.useImperativeHandle)(ref, () => modal, [modal]);\n if (_canUseDOM.default && !prevShow && show) {\n lastFocusRef.current = (0, _activeElement.default)(ownerWindow == null ? void 0 : ownerWindow.document);\n }\n\n // TODO: I think this needs to be in an effect\n if (show && exited) {\n setExited(false);\n }\n const handleShow = (0, _useEventCallback.default)(() => {\n modal.add();\n removeKeydownListenerRef.current = (0, _listen.default)(document, 'keydown', handleDocumentKeyDown);\n removeFocusListenerRef.current = (0, _listen.default)(document, 'focus',\n // the timeout is necessary b/c this will run before the new modal is mounted\n // and so steals focus from it\n () => setTimeout(handleEnforceFocus), true);\n if (onShow) {\n onShow();\n }\n\n // autofocus after onShow to not trigger a focus event for previous\n // modals before this one is shown.\n if (autoFocus) {\n var _modal$dialog$ownerDo, _modal$dialog;\n const currentActiveElement = (0, _activeElement.default)((_modal$dialog$ownerDo = (_modal$dialog = modal.dialog) == null ? void 0 : _modal$dialog.ownerDocument) != null ? _modal$dialog$ownerDo : ownerWindow == null ? void 0 : ownerWindow.document);\n if (modal.dialog && currentActiveElement && !(0, _contains.default)(modal.dialog, currentActiveElement)) {\n lastFocusRef.current = currentActiveElement;\n modal.dialog.focus();\n }\n }\n });\n const handleHide = (0, _useEventCallback.default)(() => {\n modal.remove();\n removeKeydownListenerRef.current == null ? void 0 : removeKeydownListenerRef.current();\n removeFocusListenerRef.current == null ? void 0 : removeFocusListenerRef.current();\n if (restoreFocus) {\n var _lastFocusRef$current;\n // Support: <=IE11 doesn't support `focus()` on svg elements (RB: #917)\n (_lastFocusRef$current = lastFocusRef.current) == null ? void 0 : _lastFocusRef$current.focus == null ? void 0 : _lastFocusRef$current.focus(restoreFocusOptions);\n lastFocusRef.current = null;\n }\n });\n\n // TODO: try and combine these effects: https://github.com/react-bootstrap/react-overlays/pull/794#discussion_r409954120\n\n // Show logic when:\n // - show is `true` _and_ `container` has resolved\n (0, _react.useEffect)(() => {\n if (!show || !container) return;\n handleShow();\n }, [show, container, /* should never change: */handleShow]);\n\n // Hide cleanup logic when:\n // - `exited` switches to true\n // - component unmounts;\n (0, _react.useEffect)(() => {\n if (!exited) return;\n handleHide();\n }, [exited, handleHide]);\n (0, _useWillUnmount.default)(() => {\n handleHide();\n });\n\n // --------------------------------\n\n const handleEnforceFocus = (0, _useEventCallback.default)(() => {\n if (!enforceFocus || !isMounted() || !modal.isTopModal()) {\n return;\n }\n const currentActiveElement = (0, _activeElement.default)(ownerWindow == null ? void 0 : ownerWindow.document);\n if (modal.dialog && currentActiveElement && !(0, _contains.default)(modal.dialog, currentActiveElement)) {\n modal.dialog.focus();\n }\n });\n const handleBackdropClick = (0, _useEventCallback.default)(e => {\n if (e.target !== e.currentTarget) {\n return;\n }\n onBackdropClick == null ? void 0 : onBackdropClick(e);\n if (backdrop === true) {\n onHide();\n }\n });\n const handleDocumentKeyDown = (0, _useEventCallback.default)(e => {\n if (keyboard && (0, _utils.isEscKey)(e) && modal.isTopModal()) {\n onEscapeKeyDown == null ? void 0 : onEscapeKeyDown(e);\n if (!e.defaultPrevented) {\n onHide();\n }\n }\n });\n const removeFocusListenerRef = (0, _react.useRef)();\n const removeKeydownListenerRef = (0, _react.useRef)();\n const handleHidden = (...args) => {\n setExited(true);\n onExited == null ? void 0 : onExited(...args);\n };\n if (!container) {\n return null;\n }\n const dialogProps = Object.assign({\n role,\n ref: modal.setDialogRef,\n // apparently only works on the dialog role element\n 'aria-modal': role === 'dialog' ? true : undefined\n }, rest, {\n style,\n className,\n tabIndex: -1\n });\n let dialog = renderDialog ? renderDialog(dialogProps) : /*#__PURE__*/(0, _jsxRuntime.jsx)(\"div\", Object.assign({}, dialogProps, {\n children: /*#__PURE__*/React.cloneElement(children, {\n role: 'document'\n })\n }));\n dialog = (0, _ImperativeTransition.renderTransition)(transition, runTransition, {\n unmountOnExit: true,\n mountOnEnter: true,\n appear: true,\n in: !!show,\n onExit,\n onExiting,\n onExited: handleHidden,\n onEnter,\n onEntering,\n onEntered,\n children: dialog\n });\n let backdropElement = null;\n if (backdrop) {\n backdropElement = renderBackdrop({\n ref: modal.setBackdropRef,\n onClick: handleBackdropClick\n });\n backdropElement = (0, _ImperativeTransition.renderTransition)(backdropTransition, runBackdropTransition, {\n in: !!show,\n appear: true,\n mountOnEnter: true,\n unmountOnExit: true,\n children: backdropElement\n });\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {\n children: /*#__PURE__*/_reactDom.default.createPortal( /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [backdropElement, dialog]\n }), container)\n });\n});\nModal.displayName = 'Modal';\nvar _default = exports[\"default\"] = Object.assign(Modal, {\n Manager: _ModalManager.default\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL01vZGFsLmpzIiwibWFwcGluZ3MiOiJBQUFhOztBQUViLGtCQUFrQjtBQUNsQixrQkFBZTtBQUNmLDRDQUE0QyxtQkFBTyxDQUFDLHdGQUEyQjtBQUMvRSx1Q0FBdUMsbUJBQU8sQ0FBQyw4RUFBc0I7QUFDckUsd0NBQXdDLG1CQUFPLENBQUMsZ0ZBQXVCO0FBQ3ZFLHFDQUFxQyxtQkFBTyxDQUFDLDBFQUFvQjtBQUNqRSxxQ0FBcUMsbUJBQU8sQ0FBQyxpR0FBTztBQUNwRDtBQUNBLHVDQUF1QyxtQkFBTyxDQUFDLHlHQUFXO0FBQzFELHlDQUF5QyxtQkFBTyxDQUFDLHdGQUEyQjtBQUM1RSw2Q0FBNkMsbUJBQU8sQ0FBQyxnR0FBK0I7QUFDcEYsMENBQTBDLG1CQUFPLENBQUMsMEZBQTRCO0FBQzlFLCtDQUErQyxtQkFBTyxDQUFDLG9HQUFpQztBQUN4RiwyQ0FB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5zaXRpb24pKGJhY2tkcm9wVHJhbnNpdGlvbiwgcnVuQmFja2Ryb3BUcmFuc2l0aW9uLCB7XG4gICAgICBpbjogISFzaG93LFxuICAgICAgYXBwZWFyOiB0cnVlLFxuICAgICAgbW91bnRPbkVudGVyOiB0cnVlLFxuICAgICAgdW5tb3VudE9uRXhpdDogdHJ1ZSxcbiAgICAgIGNoaWxkcmVuOiBiYWNrZHJvcEVsZW1lbnRcbiAgICB9KTtcbiAgfVxuICByZXR1cm4gLyojX19QVVJFX18qLygwLCBfanN4UnVudGltZS5qc3gpKF9qc3hSdW50aW1lLkZyYWdtZW50LCB7XG4gICAgY2hpbGRyZW46IC8qI19fUFVSRV9fKi9fcmVhY3REb20uZGVmYXVsdC5jcmVhdGVQb3J0YWwoIC8qI19fUFVSRV9fKi8oMCwgX2pzeFJ1bnRpbWUuanN4cykoX2pzeFJ1bnRpbWUuRnJhZ21lbnQsIHtcbiAgICAgIGNoaWxkcmVuOiBbYmFja2Ryb3BFbGVtZW50LCBkaWFsb2ddXG4gICAgfSksIGNvbnRhaW5lcilcbiAgfSk7XG59KTtcbk1vZGFsLmRpc3BsYXlOYW1lID0gJ01vZGFsJztcbnZhciBfZGVmYXVsdCA9IGV4cG9ydHMuZGVmYXVsdCA9IE9iamVjdC5hc3NpZ24oTW9kYWwsIHtcbiAgTWFuYWdlcjogX01vZGFsTWFuYWdlci5kZWZhdWx0XG59KTsiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/Modal.js\n");
|
191
|
-
|
192
|
-
/***/ }),
|
193
|
-
|
194
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/ModalManager.js":
|
195
|
-
/*!******************************************************!*\
|
196
|
-
!*** ./node_modules/@restart/ui/cjs/ModalManager.js ***!
|
197
|
-
\******************************************************/
|
198
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
199
|
-
|
200
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = exports.OPEN_DATA_ATTRIBUTE = void 0;\nvar _css = _interopRequireDefault(__webpack_require__(/*! dom-helpers/css */ \"(ssr)/./node_modules/dom-helpers/esm/css.js\"));\nvar _DataKey = __webpack_require__(/*! ./DataKey */ \"(ssr)/./node_modules/@restart/ui/cjs/DataKey.js\");\nvar _getScrollbarWidth = _interopRequireDefault(__webpack_require__(/*! ./getScrollbarWidth */ \"(ssr)/./node_modules/@restart/ui/cjs/getScrollbarWidth.js\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nconst OPEN_DATA_ATTRIBUTE = exports.OPEN_DATA_ATTRIBUTE = (0, _DataKey.dataAttr)('modal-open');\n\n/**\n * Manages a stack of Modals as well as ensuring\n * body scrolling is is disabled and padding accounted for\n */\nclass ModalManager {\n constructor({\n ownerDocument,\n handleContainerOverflow = true,\n isRTL = false\n } = {}) {\n this.handleContainerOverflow = handleContainerOverflow;\n this.isRTL = isRTL;\n this.modals = [];\n this.ownerDocument = ownerDocument;\n }\n getScrollbarWidth() {\n return (0, _getScrollbarWidth.default)(this.ownerDocument);\n }\n getElement() {\n return (this.ownerDocument || document).body;\n }\n setModalAttributes(_modal) {\n // For overriding\n }\n removeModalAttributes(_modal) {\n // For overriding\n }\n setContainerStyle(containerState) {\n const style = {\n overflow: 'hidden'\n };\n\n // we are only interested in the actual `style` here\n // because we will override it\n const paddingProp = this.isRTL ? 'paddingLeft' : 'paddingRight';\n const container = this.getElement();\n containerState.style = {\n overflow: container.style.overflow,\n [paddingProp]: container.style[paddingProp]\n };\n if (containerState.scrollBarWidth) {\n // use computed style, here to get the real padding\n // to add our scrollbar width\n style[paddingProp] = `${parseInt((0, _css.default)(container, paddingProp) || '0', 10) + containerState.scrollBarWidth}px`;\n }\n container.setAttribute(OPEN_DATA_ATTRIBUTE, '');\n (0, _css.default)(container, style);\n }\n reset() {\n [...this.modals].forEach(m => this.remove(m));\n }\n removeContainerStyle(containerState) {\n const container = this.getElement();\n container.removeAttribute(OPEN_DATA_ATTRIBUTE);\n Object.assign(container.style, containerState.style);\n }\n add(modal) {\n let modalIdx = this.modals.indexOf(modal);\n if (modalIdx !== -1) {\n return modalIdx;\n }\n modalIdx = this.modals.length;\n this.modals.push(modal);\n this.setModalAttributes(modal);\n if (modalIdx !== 0) {\n return modalIdx;\n }\n this.state = {\n scrollBarWidth: this.getScrollbarWidth(),\n style: {}\n };\n if (this.handleContainerOverflow) {\n this.setContainerStyle(this.state);\n }\n return modalIdx;\n }\n remove(modal) {\n const modalIdx = this.modals.indexOf(modal);\n if (modalIdx === -1) {\n return;\n }\n this.modals.splice(modalIdx, 1);\n\n // if that was the last modal in a container,\n // clean up the container\n if (!this.modals.length && this.handleContainerOverflow) {\n this.removeContainerStyle(this.state);\n }\n this.removeModalAttributes(modal);\n }\n isTopModal(modal) {\n return !!this.modals.length && this.modals[this.modals.length - 1] === modal;\n }\n}\nvar _default = exports[\"default\"] = ModalManager;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL01vZGFsTWFuYWdlci5qcyIsIm1hcHBpbmdzIjoiQUFBYTs7QUFFYixrQkFBa0I7QUFDbEIsa0JBQWUsR0FBRywyQkFBMkI7QUFDN0Msa0NBQWtDLG1CQUFPLENBQUMsb0VBQWlCO0FBQzNELGVBQWUsbUJBQU8sQ0FBQyxrRUFBVztBQUNsQyxnREFBZ0QsbUJBQU8sQ0FBQyxzRkFBcUI7QUFDN0UscUNBQXFDLGlDQUFpQztBQUN0RSw0QkFBNEIsMkJBQTJCOztBQUV2RDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxJQUFJLElBQUk7QUFDUjtBQUNBO0FBQ0E7QUFDQTt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TtcbiAgICBpZiAodGhpcy5oYW5kbGVDb250YWluZXJPdmVyZmxvdykge1xuICAgICAgdGhpcy5zZXRDb250YWluZXJTdHlsZSh0aGlzLnN0YXRlKTtcbiAgICB9XG4gICAgcmV0dXJuIG1vZGFsSWR4O1xuICB9XG4gIHJlbW92ZShtb2RhbCkge1xuICAgIGNvbnN0IG1vZGFsSWR4ID0gdGhpcy5tb2RhbHMuaW5kZXhPZihtb2RhbCk7XG4gICAgaWYgKG1vZGFsSWR4ID09PSAtMSkge1xuICAgICAgcmV0dXJuO1xuICAgIH1cbiAgICB0aGlzLm1vZGFscy5zcGxpY2UobW9kYWxJZHgsIDEpO1xuXG4gICAgLy8gaWYgdGhhdCB3YXMgdGhlIGxhc3QgbW9kYWwgaW4gYSBjb250YWluZXIsXG4gICAgLy8gY2xlYW4gdXAgdGhlIGNvbnRhaW5lclxuICAgIGlmICghdGhpcy5tb2RhbHMubGVuZ3RoICYmIHRoaXMuaGFuZGxlQ29udGFpbmVyT3ZlcmZsb3cpIHtcbiAgICAgIHRoaXMucmVtb3ZlQ29udGFpbmVyU3R5bGUodGhpcy5zdGF0ZSk7XG4gICAgfVxuICAgIHRoaXMucmVtb3ZlTW9kYWxBdHRyaWJ1dGVzKG1vZGFsKTtcbiAgfVxuICBpc1RvcE1vZGFsKG1vZGFsKSB7XG4gICAgcmV0dXJuICEhdGhpcy5tb2RhbHMubGVuZ3RoICYmIHRoaXMubW9kYWxzW3RoaXMubW9kYWxzLmxlbmd0aCAtIDFdID09PSBtb2RhbDtcbiAgfVxufVxudmFyIF9kZWZhdWx0ID0gZXhwb3J0cy5kZWZhdWx0ID0gTW9kYWxNYW5hZ2VyOyJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/ModalManager.js\n");
|
201
|
-
|
202
|
-
/***/ }),
|
203
|
-
|
204
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/NoopTransition.js":
|
205
|
-
/*!********************************************************!*\
|
206
|
-
!*** ./node_modules/@restart/ui/cjs/NoopTransition.js ***!
|
207
|
-
\********************************************************/
|
208
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
209
|
-
|
210
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar _useEventCallback = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useEventCallback */ \"(ssr)/./node_modules/@restart/hooks/cjs/useEventCallback.js\"));\nvar _useMergedRefs = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useMergedRefs */ \"(ssr)/./node_modules/@restart/hooks/cjs/useMergedRefs.js\"));\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction NoopTransition({\n children,\n in: inProp,\n onExited,\n mountOnEnter,\n unmountOnExit\n}) {\n const ref = (0, _react.useRef)(null);\n const hasEnteredRef = (0, _react.useRef)(inProp);\n const handleExited = (0, _useEventCallback.default)(onExited);\n (0, _react.useEffect)(() => {\n if (inProp) hasEnteredRef.current = true;else {\n handleExited(ref.current);\n }\n }, [inProp, handleExited]);\n const combinedRef = (0, _useMergedRefs.default)(ref, children.ref);\n const child = /*#__PURE__*/(0, _react.cloneElement)(children, {\n ref: combinedRef\n });\n if (inProp) return child;\n if (unmountOnExit) {\n return null;\n }\n if (!hasEnteredRef.current && mountOnEnter) {\n return null;\n }\n return child;\n}\nvar _default = exports[\"default\"] = NoopTransition;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL05vb3BUcmFuc2l0aW9uLmpzIiwibWFwcGluZ3MiOiJBQUFhOztBQUViLGtCQUFrQjtBQUNsQixrQk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ZWZhdWx0ID0gZXhwb3J0cy5kZWZhdWx0ID0gTm9vcFRyYW5zaXRpb247Il0sIm5hbWVzIjpbXSwiaWdub3JlTGlzdCI6WzBdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/NoopTransition.js\n");
|
211
|
-
|
212
|
-
/***/ }),
|
213
|
-
|
214
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/RTGTransition.js":
|
215
|
-
/*!*******************************************************!*\
|
216
|
-
!*** ./node_modules/@restart/ui/cjs/RTGTransition.js ***!
|
217
|
-
\*******************************************************/
|
218
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
219
|
-
|
220
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = void 0;\nvar React = _interopRequireWildcard(__webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\"));\nvar _useRTGTransitionProps = _interopRequireDefault(__webpack_require__(/*! ./useRTGTransitionProps */ \"(ssr)/./node_modules/@restart/ui/cjs/useRTGTransitionProps.js\"));\nvar _jsxRuntime = __webpack_require__(/*! react/jsx-runtime */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js\");\nconst _excluded = [\"component\"];\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }\n// Normalizes Transition callbacks when nodeRef is used.\nconst RTGTransition = /*#__PURE__*/React.forwardRef((_ref, ref) => {\n let {\n component: Component\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const transitionProps = (0, _useRTGTransitionProps.default)(props);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(Component, Object.assign({\n ref: ref\n }, transitionProps));\n});\nvar _default = exports[\"default\"] = RTGTransition;//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL1JUR1RyYW5zaXRpb24uanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLGtCQUFlO0FBQ2Ysb0NBQW9DLG1CQUFPLENBQUMsaUdBQU87QUFDbkQsb0RBQW9ELG1CQUFPLENBQUMsOEZBQXlCO0FBQ3JGLGtCQUFrQixtQkFBTyxDQUFDLHlIQUFtQjtBQUM3QztBQUNBLHFDQUFxQyxpQ0FBaUM7QUFDdEUsdUNBQXVDLCtDQUErQywwQ0FBMEMsa0RBQWtELG1CQUFtQjtBQUNyTSx5Q0FBeUMsdUNBQXVDLDJFQUEyRSxjQUFjLHFDQUFxQyxvQ0FBb0MsVUFBVSxpQkFBaUIsZ0VBQWdFLDBDQUEwQyw4QkFBOEIsMERBQTBELHdFQUF3RTtBQUN2aEIsK0NBQStDLDBCQUEwQixZQUFZLHVCQUF1Qiw4QkFBOEIsaUNBQWlDLGVBQWU7QUFDMUw7QUFDQTtBQUNBO0FBQ0E7QUFDQSxNQUF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2FsbGJhY2tzIHdoZW4gbm9kZVJlZiBpcyB1c2VkLlxuY29uc3QgUlRHVHJhbnNpdGlvbiA9IC8qI19fUFVSRV9fKi9SZWFjdC5mb3J3YXJkUmVmKChfcmVmLCByZWYpID0+IHtcbiAgbGV0IHtcbiAgICAgIGNvbXBvbmVudDogQ29tcG9uZW50XG4gICAgfSA9IF9yZWYsXG4gICAgcHJvcHMgPSBfb2JqZWN0V2l0aG91dFByb3BlcnRpZXNMb29zZShfcmVmLCBfZXhjbHVkZWQpO1xuICBjb25zdCB0cmFuc2l0aW9uUHJvcHMgPSAoMCwgX3VzZVJUR1RyYW5zaXRpb25Qcm9wcy5kZWZhdWx0KShwcm9wcyk7XG4gIHJldHVybiAvKiNfX1BVUkVfXyovKDAsIF9qc3hSdW50aW1lLmpzeCkoQ29tcG9uZW50LCBPYmplY3QuYXNzaWduKHtcbiAgICByZWY6IHJlZlxuICB9LCB0cmFuc2l0aW9uUHJvcHMpKTtcbn0pO1xudmFyIF9kZWZhdWx0ID0gZXhwb3J0cy5kZWZhdWx0ID0gUlRHVHJhbnNpdGlvbjsiXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/RTGTransition.js\n");
|
221
|
-
|
222
|
-
/***/ }),
|
223
|
-
|
224
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/getScrollbarWidth.js":
|
225
|
-
/*!***********************************************************!*\
|
226
|
-
!*** ./node_modules/@restart/ui/cjs/getScrollbarWidth.js ***!
|
227
|
-
\***********************************************************/
|
228
|
-
/***/ ((__unused_webpack_module, exports) => {
|
229
|
-
|
230
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = getBodyScrollbarWidth;\n/**\n * Get the width of the vertical window scrollbar if it's visible\n */\nfunction getBodyScrollbarWidth(ownerDocument = document) {\n const window = ownerDocument.defaultView;\n return Math.abs(window.innerWidth - ownerDocument.documentElement.clientWidth);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL2dldFNjcm9sbGJhcldpZHRoLmpzIiwibWFwcGluZ3MiOiJBQUFhOztBQUViLGtCQUFrQjtBQUNsQixrQkFBZTtBQUNmO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXG5vZGVfbW9kdWxlc1xcQHJlc3RhcnRcXHVpXFxjanNcXGdldFNjcm9sbGJhcldpZHRoLmpzIl0sInNvdXJjZXNDb250ZW50IjpbIlwidXNlIHN0cmljdFwiO1xuXG5leHBvcnRzLl9fZXNNb2R1bGUgPSB0cnVlO1xuZXhwb3J0cy5kZWZhdWx0ID0gZ2V0Qm9keVNjcm9sbGJhcldpZHRoO1xuLyoqXG4gKiBHZXQgdGhlIHdpZHRoIG9mIHRoZSB2ZXJ0aWNhbCB3aW5kb3cgc2Nyb2xsYmFyIGlmIGl0J3MgdmlzaWJsZVxuICovXG5mdW5jdGlvbiBnZXRCb2R5U2Nyb2xsYmFyV2lkdGgob3duZXJEb2N1bWVudCA9IGRvY3VtZW50KSB7XG4gIGNvbnN0IHdpbmRvdyA9IG93bmVyRG9jdW1lbnQuZGVmYXVsdFZpZXc7XG4gIHJldHVybiBNYXRoLmFicyh3aW5kb3cuaW5uZXJXaWR0aCAtIG93bmVyRG9jdW1lbnQuZG9jdW1lbnRFbGVtZW50LmNsaWVudFdpZHRoKTtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/getScrollbarWidth.js\n");
|
231
|
-
|
232
|
-
/***/ }),
|
233
|
-
|
234
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/useRTGTransitionProps.js":
|
235
|
-
/*!***************************************************************!*\
|
236
|
-
!*** ./node_modules/@restart/ui/cjs/useRTGTransitionProps.js ***!
|
237
|
-
\***************************************************************/
|
238
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
239
|
-
|
240
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useRTGTransitionProps;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nvar _useMergedRefs = _interopRequireDefault(__webpack_require__(/*! @restart/hooks/useMergedRefs */ \"(ssr)/./node_modules/@restart/hooks/cjs/useMergedRefs.js\"));\nvar _utils = __webpack_require__(/*! ./utils */ \"(ssr)/./node_modules/@restart/ui/cjs/utils.js\");\nconst _excluded = [\"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"addEndListener\", \"children\"];\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }\n/**\n * Normalizes RTG transition callbacks with nodeRef to better support\n * strict mode.\n *\n * @param props Transition props.\n * @returns Normalized transition props.\n */\nfunction useRTGTransitionProps(_ref) {\n let {\n onEnter,\n onEntering,\n onEntered,\n onExit,\n onExiting,\n onExited,\n addEndListener,\n children\n } = _ref,\n props = _objectWithoutPropertiesLoose(_ref, _excluded);\n const nodeRef = (0, _react.useRef)(null);\n const mergedRef = (0, _useMergedRefs.default)(nodeRef, (0, _utils.getChildRef)(children));\n const normalize = callback => param => {\n if (callback && nodeRef.current) {\n callback(nodeRef.current, param);\n }\n };\n\n /* eslint-disable react-hooks/exhaustive-deps */\n const handleEnter = (0, _react.useCallback)(normalize(onEnter), [onEnter]);\n const handleEntering = (0, _react.useCallback)(normalize(onEntering), [onEntering]);\n const handleEntered = (0, _react.useCallback)(normalize(onEntered), [onEntered]);\n const handleExit = (0, _react.useCallback)(normalize(onExit), [onExit]);\n const handleExiting = (0, _react.useCallback)(normalize(onExiting), [onExiting]);\n const handleExited = (0, _react.useCallback)(normalize(onExited), [onExited]);\n const handleAddEndListener = (0, _react.useCallback)(normalize(addEndListener), [addEndListener]);\n /* eslint-enable react-hooks/exhaustive-deps */\n\n return Object.assign({}, props, {\n nodeRef\n }, onEnter && {\n onEnter: handleEnter\n }, onEntering && {\n onEntering: handleEntering\n }, onEntered && {\n onEntered: handleEntered\n }, onExit && {\n onExit: handleExit\n }, onExiting && {\n onExiting: handleExiting\n }, onExited && {\n onExited: handleExited\n }, addEndListener && {\n addEndListener: handleAddEndListener\n }, {\n children: typeof children === 'function' ? (status, innerProps) =>\n // TODO: Types for RTG missing innerProps, so need to cast.\n children(status, Object.assign({}, innerProps, {\n ref: mergedRef\n })) : /*#__PURE__*/(0, _react.cloneElement)(children, {\n ref: mergedRef\n })\n });\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL3VzZVJUR1RyYW5zaXRpb25Qcm9wcy5qcyIsIm1hcHBpbmdzIjoiQUFBYTs7QUFFYixrQkFBa0I7QUFDbEIsa0JBQWU7QUFDZixhQUFhLG1CQUFPLENBQUMsaUdBQU87QUFDNUIsNENBQTRDLG1CQUFPLENBQUMsOEZBQThCO0FBQ2xGLGFBQWEsbUJBQU8sQ0FBQyw4REFBUztBQUM5QjtBQUNBLHFDQUFxQyxpQ0FBaUM7QUFDdEUsK0NBQStDLDBCQUEwQixZQUFZLHVCQUF1Qiw4QkFBOEIsaUNBQWlDLGVBQWU7QUFDMUw7QUFDQTtBQUNBO0F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JvcHMsIHtcbiAgICAgIHJlZjogbWVyZ2VkUmVmXG4gICAgfSkpIDogLyojX19QVVJFX18qLygwLCBfcmVhY3QuY2xvbmVFbGVtZW50KShjaGlsZHJlbiwge1xuICAgICAgcmVmOiBtZXJnZWRSZWZcbiAgICB9KVxuICB9KTtcbn0iXSwibmFtZXMiOltdLCJpZ25vcmVMaXN0IjpbMF0sInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/useRTGTransitionProps.js\n");
|
241
|
-
|
242
|
-
/***/ }),
|
243
|
-
|
244
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/useWaitForDOMRef.js":
|
245
|
-
/*!**********************************************************!*\
|
246
|
-
!*** ./node_modules/@restart/ui/cjs/useWaitForDOMRef.js ***!
|
247
|
-
\**********************************************************/
|
248
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
249
|
-
|
250
|
-
eval("\n\nexports.__esModule = true;\nexports[\"default\"] = useWaitForDOMRef;\nexports.resolveContainerRef = void 0;\nvar _ownerDocument = _interopRequireDefault(__webpack_require__(/*! dom-helpers/ownerDocument */ \"(ssr)/./node_modules/dom-helpers/esm/ownerDocument.js\"));\nvar _canUseDOM = _interopRequireDefault(__webpack_require__(/*! dom-helpers/canUseDOM */ \"(ssr)/./node_modules/dom-helpers/esm/canUseDOM.js\"));\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nvar _useWindow = _interopRequireDefault(__webpack_require__(/*! ./useWindow */ \"(ssr)/./node_modules/@restart/ui/cjs/useWindow.js\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nconst resolveContainerRef = (ref, document) => {\n if (!_canUseDOM.default) return null;\n if (ref == null) return (document || (0, _ownerDocument.default)()).body;\n if (typeof ref === 'function') ref = ref();\n if (ref && 'current' in ref) ref = ref.current;\n if (ref && ('nodeType' in ref || ref.getBoundingClientRect)) return ref;\n return null;\n};\nexports.resolveContainerRef = resolveContainerRef;\nfunction useWaitForDOMRef(ref, onResolved) {\n const window = (0, _useWindow.default)();\n const [resolvedRef, setRef] = (0, _react.useState)(() => resolveContainerRef(ref, window == null ? void 0 : window.document));\n if (!resolvedRef) {\n const earlyRef = resolveContainerRef(ref);\n if (earlyRef) setRef(earlyRef);\n }\n (0, _react.useEffect)(() => {\n if (onResolved && resolvedRef) {\n onResolved(resolvedRef);\n }\n }, [onResolved, resolvedRef]);\n (0, _react.useEffect)(() => {\n const nextRef = resolveContainerRef(ref);\n if (nextRef !== resolvedRef) {\n setRef(nextRef);\n }\n }, [ref, resolvedRef]);\n return resolvedRef;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL3VzZVdhaXRGb3JET01SZWYuanMiLCJtYXBwaW5ncyI6IkFBQWE7O0FBRWIsa0JBQWtCO0FBQ2xCLGtCQUFlO0FBQ2YsMkJBQTJCO0FBQzNCLDRDQUE0QyxtQkFBTyxDQUFDLHdGQUEyQjtBQUMvRSx3Q0FBd0MsbUJBQU8sQ0FBQyxnRkFBdUI7QUFDdkUsYUFBYSxtQkFBTyxDQUFDLGlHQUFPO0FBQzVCLHdDQUF3QyxtQkFBTyxDQUFDLHNFQUFhO0FBQzdELHFDQUFxQyxpQ0FBaUM7QUFDdEU7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBLDJCQUEyQjtBQUMzQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsR0FBRztBQUNIO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSxHQUFHO0FBQ0g7QUFDQSIsInNvdXJjZXMiOlsiQzpcXFV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gIH1cbiAgfSwgW3JlZiwgcmVzb2x2ZWRSZWZdKTtcbiAgcmV0dXJuIHJlc29sdmVkUmVmO1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/useWaitForDOMRef.js\n");
|
251
|
-
|
252
|
-
/***/ }),
|
253
|
-
|
254
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/useWindow.js":
|
255
|
-
/*!***************************************************!*\
|
256
|
-
!*** ./node_modules/@restart/ui/cjs/useWindow.js ***!
|
257
|
-
\***************************************************/
|
258
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
259
|
-
|
260
|
-
eval("\n\nexports.__esModule = true;\nexports.WindowProvider = void 0;\nexports[\"default\"] = useWindow;\nvar _react = __webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\");\nvar _canUseDOM = _interopRequireDefault(__webpack_require__(/*! dom-helpers/canUseDOM */ \"(ssr)/./node_modules/dom-helpers/esm/canUseDOM.js\"));\nfunction _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }\nconst Context = /*#__PURE__*/(0, _react.createContext)(_canUseDOM.default ? window : undefined);\nconst WindowProvider = exports.WindowProvider = Context.Provider;\n\n/**\n * The document \"window\" placed in React context. Helpful for determining\n * SSR context, or when rendering into an iframe.\n *\n * @returns the current window\n */\nfunction useWindow() {\n return (0, _react.useContext)(Context);\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL3VzZVdpbmRvdy5qcyIsIm1hcHBpbmdzIjoiQUFBYTs7QUFFYixrQkFBa0I7QUFDbEIsc0JBQXNCO0FBQ3RCLGtCQUFlO0FBQ2YsYUFBYSxtQkFBT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dCBjb250ZXh0LiBIZWxwZnVsIGZvciBkZXRlcm1pbmluZ1xuICogU1NSIGNvbnRleHQsIG9yIHdoZW4gcmVuZGVyaW5nIGludG8gYW4gaWZyYW1lLlxuICpcbiAqIEByZXR1cm5zIHRoZSBjdXJyZW50IHdpbmRvd1xuICovXG5mdW5jdGlvbiB1c2VXaW5kb3coKSB7XG4gIHJldHVybiAoMCwgX3JlYWN0LnVzZUNvbnRleHQpKENvbnRleHQpO1xufSJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOlswXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///(ssr)/./node_modules/@restart/ui/cjs/useWindow.js\n");
|
261
|
-
|
262
|
-
/***/ }),
|
263
|
-
|
264
|
-
/***/ "(ssr)/./node_modules/@restart/ui/cjs/utils.js":
|
265
|
-
/*!***********************************************!*\
|
266
|
-
!*** ./node_modules/@restart/ui/cjs/utils.js ***!
|
267
|
-
\***********************************************/
|
268
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
269
|
-
|
270
|
-
eval("\n\nexports.__esModule = true;\nexports.getChildRef = getChildRef;\nexports.getReactVersion = getReactVersion;\nexports.isEscKey = isEscKey;\nvar React = _interopRequireWildcard(__webpack_require__(/*! react */ \"(ssr)/./node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js\"));\nfunction _getRequireWildcardCache(e) { if (\"function\" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }\nfunction _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }\nfunction isEscKey(e) {\n return e.code === 'Escape' || e.keyCode === 27;\n}\nfunction getReactVersion() {\n const parts = React.version.split('.');\n return {\n major: +parts[0],\n minor: +parts[1],\n patch: +parts[2]\n };\n}\nfunction getChildRef(element) {\n if (!element || typeof element === 'function') {\n return null;\n }\n const {\n major\n } = getReactVersion();\n const childRef = major >= 19 ? element.props.ref : element.ref;\n return childRef;\n}//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKHNzcikvLi9ub2RlX21vZHVsZXMvQHJlc3RhcnQvdWkvY2pzL3V0aWxzLmpzIiwibWFwcGluZ3MiOiJBQUFhOztBQUViLGtCQUFrQjtBQUNsQixtQkFBbUI7QUFDbkIsdUJBQXVCO0FBQ3ZCLGdCQUFnQjtBQUNoQixvQ0FBb0MsbUJBQU8sQ0FBQyxpR0FBTztBQUNuRCx1Q0FBdUMsK0NBQStDLDBDQUEwQyxrREFBa0QsbUJBQW1CO0FBQ3JNLHlDQUF5Qyx1Q0FBdUMsMkVBQTJFLGNBQWMscUNBQXFDLG9DQUFvQyxVQUFVLGlCQUFpQixnRUFBZ0UsMENBQTBDLDhCQUE4QiwwREFBMEQsd0VBQXdFO0FBQ3ZoQjtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EsSUFBSTtBQUNKO0FBQ0E7QUFDQSIsInNvdXJjZXMiOlsiQzpcXFVzZXJzXFxQaW5lc3VjY2VlZFxcRGVza3RvcFxcV29ya1NwYWNlXFx0ZXN0d2lkZ2V0XFxub2RlX21vZHVsZXNcXEByZXN0YXJ0XFx1aVxcY2pzXFx1dGlscy5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcInVzZSBzdHJp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