upload 28/5
This commit is contained in:
3081
.vite/deps/@fancyapps_ui.js
Normal file
3081
.vite/deps/@fancyapps_ui.js
Normal file
File diff suppressed because it is too large
Load Diff
7
.vite/deps/@fancyapps_ui.js.map
Normal file
7
.vite/deps/@fancyapps_ui.js.map
Normal file
File diff suppressed because one or more lines are too long
61
.vite/deps/_metadata.json
Normal file
61
.vite/deps/_metadata.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"hash": "ce7a0443",
|
||||
"configHash": "8bcd3e19",
|
||||
"lockfileHash": "1d8bf9b4",
|
||||
"browserHash": "b15efe69",
|
||||
"optimized": {
|
||||
"@fancyapps/ui": {
|
||||
"src": "../../node_modules/@fancyapps/ui/dist/index.esm.js",
|
||||
"file": "@fancyapps_ui.js",
|
||||
"fileHash": "0e91493d",
|
||||
"needsInterop": false
|
||||
},
|
||||
"preact": {
|
||||
"src": "../../node_modules/preact/dist/preact.module.js",
|
||||
"file": "preact.js",
|
||||
"fileHash": "b331e8bf",
|
||||
"needsInterop": false
|
||||
},
|
||||
"preact-iso": {
|
||||
"src": "../../node_modules/preact-iso/src/index.js",
|
||||
"file": "preact-iso.js",
|
||||
"fileHash": "da0bf0a6",
|
||||
"needsInterop": false
|
||||
},
|
||||
"react": {
|
||||
"src": "../../node_modules/react/index.js",
|
||||
"file": "react.js",
|
||||
"fileHash": "8051360a",
|
||||
"needsInterop": true
|
||||
},
|
||||
"swiper/modules": {
|
||||
"src": "../../node_modules/swiper/modules/index.mjs",
|
||||
"file": "swiper_modules.js",
|
||||
"fileHash": "ab031693",
|
||||
"needsInterop": false
|
||||
},
|
||||
"swiper/react": {
|
||||
"src": "../../node_modules/swiper/swiper-react.mjs",
|
||||
"file": "swiper_react.js",
|
||||
"fileHash": "8a08080a",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-KS2M7ZJI": {
|
||||
"file": "chunk-KS2M7ZJI.js"
|
||||
},
|
||||
"chunk-XLOWEJT4": {
|
||||
"file": "chunk-XLOWEJT4.js"
|
||||
},
|
||||
"prerender-2A2BKSYN": {
|
||||
"file": "prerender-2A2BKSYN.js"
|
||||
},
|
||||
"chunk-WFLWNDNR": {
|
||||
"file": "chunk-WFLWNDNR.js"
|
||||
},
|
||||
"chunk-5WRI5ZAA": {
|
||||
"file": "chunk-5WRI5ZAA.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
30
.vite/deps/chunk-5WRI5ZAA.js
Normal file
30
.vite/deps/chunk-5WRI5ZAA.js
Normal file
@@ -0,0 +1,30 @@
|
||||
var __create = Object.create;
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
var __getProtoOf = Object.getPrototypeOf;
|
||||
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
||||
var __commonJS = (cb, mod) => function __require() {
|
||||
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
||||
};
|
||||
var __copyProps = (to, from, except, desc) => {
|
||||
if (from && typeof from === "object" || typeof from === "function") {
|
||||
for (let key of __getOwnPropNames(from))
|
||||
if (!__hasOwnProp.call(to, key) && key !== except)
|
||||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
||||
}
|
||||
return to;
|
||||
};
|
||||
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
||||
// If the importer is in node compatibility mode or this is not an ESM
|
||||
// file that has been converted to a CommonJS file using a Babel-
|
||||
// compatible transform (i.e. "__esModule" has not been set), then set
|
||||
// "default" to the CommonJS "module.exports" for node compatibility.
|
||||
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
||||
mod
|
||||
));
|
||||
|
||||
export {
|
||||
__commonJS,
|
||||
__toESM
|
||||
};
|
||||
7
.vite/deps/chunk-5WRI5ZAA.js.map
Normal file
7
.vite/deps/chunk-5WRI5ZAA.js.map
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
972
.vite/deps/chunk-KS2M7ZJI.js
Normal file
972
.vite/deps/chunk-KS2M7ZJI.js
Normal file
@@ -0,0 +1,972 @@
|
||||
import {
|
||||
__commonJS
|
||||
} from "./chunk-5WRI5ZAA.js";
|
||||
|
||||
// node_modules/react/cjs/react.development.js
|
||||
var require_react_development = __commonJS({
|
||||
"node_modules/react/cjs/react.development.js"(exports, module) {
|
||||
"use strict";
|
||||
(function() {
|
||||
function defineDeprecationWarning(methodName, info) {
|
||||
Object.defineProperty(Component.prototype, methodName, {
|
||||
get: function() {
|
||||
console.warn(
|
||||
"%s(...) is deprecated in plain JavaScript React classes. %s",
|
||||
info[0],
|
||||
info[1]
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
function getIteratorFn(maybeIterable) {
|
||||
if (null === maybeIterable || "object" !== typeof maybeIterable)
|
||||
return null;
|
||||
maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
|
||||
return "function" === typeof maybeIterable ? maybeIterable : null;
|
||||
}
|
||||
function warnNoop(publicInstance, callerName) {
|
||||
publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
|
||||
var warningKey = publicInstance + "." + callerName;
|
||||
didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error(
|
||||
"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
|
||||
callerName,
|
||||
publicInstance
|
||||
), didWarnStateUpdateForUnmountedComponent[warningKey] = true);
|
||||
}
|
||||
function Component(props, context, updater) {
|
||||
this.props = props;
|
||||
this.context = context;
|
||||
this.refs = emptyObject;
|
||||
this.updater = updater || ReactNoopUpdateQueue;
|
||||
}
|
||||
function ComponentDummy() {
|
||||
}
|
||||
function PureComponent(props, context, updater) {
|
||||
this.props = props;
|
||||
this.context = context;
|
||||
this.refs = emptyObject;
|
||||
this.updater = updater || ReactNoopUpdateQueue;
|
||||
}
|
||||
function testStringCoercion(value) {
|
||||
return "" + value;
|
||||
}
|
||||
function checkKeyStringCoercion(value) {
|
||||
try {
|
||||
testStringCoercion(value);
|
||||
var JSCompiler_inline_result = false;
|
||||
} catch (e) {
|
||||
JSCompiler_inline_result = true;
|
||||
}
|
||||
if (JSCompiler_inline_result) {
|
||||
JSCompiler_inline_result = console;
|
||||
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
||||
var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
|
||||
JSCompiler_temp_const.call(
|
||||
JSCompiler_inline_result,
|
||||
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
||||
JSCompiler_inline_result$jscomp$0
|
||||
);
|
||||
return testStringCoercion(value);
|
||||
}
|
||||
}
|
||||
function getComponentNameFromType(type) {
|
||||
if (null == type) return null;
|
||||
if ("function" === typeof type)
|
||||
return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
|
||||
if ("string" === typeof type) return type;
|
||||
switch (type) {
|
||||
case REACT_FRAGMENT_TYPE:
|
||||
return "Fragment";
|
||||
case REACT_PROFILER_TYPE:
|
||||
return "Profiler";
|
||||
case REACT_STRICT_MODE_TYPE:
|
||||
return "StrictMode";
|
||||
case REACT_SUSPENSE_TYPE:
|
||||
return "Suspense";
|
||||
case REACT_SUSPENSE_LIST_TYPE:
|
||||
return "SuspenseList";
|
||||
case REACT_ACTIVITY_TYPE:
|
||||
return "Activity";
|
||||
}
|
||||
if ("object" === typeof type)
|
||||
switch ("number" === typeof type.tag && console.error(
|
||||
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
||||
), type.$$typeof) {
|
||||
case REACT_PORTAL_TYPE:
|
||||
return "Portal";
|
||||
case REACT_CONTEXT_TYPE:
|
||||
return (type.displayName || "Context") + ".Provider";
|
||||
case REACT_CONSUMER_TYPE:
|
||||
return (type._context.displayName || "Context") + ".Consumer";
|
||||
case REACT_FORWARD_REF_TYPE:
|
||||
var innerType = type.render;
|
||||
type = type.displayName;
|
||||
type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
|
||||
return type;
|
||||
case REACT_MEMO_TYPE:
|
||||
return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
|
||||
case REACT_LAZY_TYPE:
|
||||
innerType = type._payload;
|
||||
type = type._init;
|
||||
try {
|
||||
return getComponentNameFromType(type(innerType));
|
||||
} catch (x) {
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getTaskName(type) {
|
||||
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
||||
if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE)
|
||||
return "<...>";
|
||||
try {
|
||||
var name = getComponentNameFromType(type);
|
||||
return name ? "<" + name + ">" : "<...>";
|
||||
} catch (x) {
|
||||
return "<...>";
|
||||
}
|
||||
}
|
||||
function getOwner() {
|
||||
var dispatcher = ReactSharedInternals.A;
|
||||
return null === dispatcher ? null : dispatcher.getOwner();
|
||||
}
|
||||
function UnknownOwner() {
|
||||
return Error("react-stack-top-frame");
|
||||
}
|
||||
function hasValidKey(config) {
|
||||
if (hasOwnProperty.call(config, "key")) {
|
||||
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
||||
if (getter && getter.isReactWarning) return false;
|
||||
}
|
||||
return void 0 !== config.key;
|
||||
}
|
||||
function defineKeyPropWarningGetter(props, displayName) {
|
||||
function warnAboutAccessingKey() {
|
||||
specialPropKeyWarningShown || (specialPropKeyWarningShown = true, console.error(
|
||||
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
||||
displayName
|
||||
));
|
||||
}
|
||||
warnAboutAccessingKey.isReactWarning = true;
|
||||
Object.defineProperty(props, "key", {
|
||||
get: warnAboutAccessingKey,
|
||||
configurable: true
|
||||
});
|
||||
}
|
||||
function elementRefGetterWithDeprecationWarning() {
|
||||
var componentName = getComponentNameFromType(this.type);
|
||||
didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = true, console.error(
|
||||
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
||||
));
|
||||
componentName = this.props.ref;
|
||||
return void 0 !== componentName ? componentName : null;
|
||||
}
|
||||
function ReactElement(type, key, self, source, owner, props, debugStack, debugTask) {
|
||||
self = props.ref;
|
||||
type = {
|
||||
$$typeof: REACT_ELEMENT_TYPE,
|
||||
type,
|
||||
key,
|
||||
props,
|
||||
_owner: owner
|
||||
};
|
||||
null !== (void 0 !== self ? self : null) ? Object.defineProperty(type, "ref", {
|
||||
enumerable: false,
|
||||
get: elementRefGetterWithDeprecationWarning
|
||||
}) : Object.defineProperty(type, "ref", { enumerable: false, value: null });
|
||||
type._store = {};
|
||||
Object.defineProperty(type._store, "validated", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: 0
|
||||
});
|
||||
Object.defineProperty(type, "_debugInfo", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: null
|
||||
});
|
||||
Object.defineProperty(type, "_debugStack", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugStack
|
||||
});
|
||||
Object.defineProperty(type, "_debugTask", {
|
||||
configurable: false,
|
||||
enumerable: false,
|
||||
writable: true,
|
||||
value: debugTask
|
||||
});
|
||||
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
||||
return type;
|
||||
}
|
||||
function cloneAndReplaceKey(oldElement, newKey) {
|
||||
newKey = ReactElement(
|
||||
oldElement.type,
|
||||
newKey,
|
||||
void 0,
|
||||
void 0,
|
||||
oldElement._owner,
|
||||
oldElement.props,
|
||||
oldElement._debugStack,
|
||||
oldElement._debugTask
|
||||
);
|
||||
oldElement._store && (newKey._store.validated = oldElement._store.validated);
|
||||
return newKey;
|
||||
}
|
||||
function isValidElement(object) {
|
||||
return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
|
||||
}
|
||||
function escape(key) {
|
||||
var escaperLookup = { "=": "=0", ":": "=2" };
|
||||
return "$" + key.replace(/[=:]/g, function(match) {
|
||||
return escaperLookup[match];
|
||||
});
|
||||
}
|
||||
function getElementKey(element, index) {
|
||||
return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
|
||||
}
|
||||
function noop$1() {
|
||||
}
|
||||
function resolveThenable(thenable) {
|
||||
switch (thenable.status) {
|
||||
case "fulfilled":
|
||||
return thenable.value;
|
||||
case "rejected":
|
||||
throw thenable.reason;
|
||||
default:
|
||||
switch ("string" === typeof thenable.status ? thenable.then(noop$1, noop$1) : (thenable.status = "pending", thenable.then(
|
||||
function(fulfilledValue) {
|
||||
"pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
|
||||
},
|
||||
function(error) {
|
||||
"pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
|
||||
}
|
||||
)), thenable.status) {
|
||||
case "fulfilled":
|
||||
return thenable.value;
|
||||
case "rejected":
|
||||
throw thenable.reason;
|
||||
}
|
||||
}
|
||||
throw thenable;
|
||||
}
|
||||
function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
|
||||
var type = typeof children;
|
||||
if ("undefined" === type || "boolean" === type) children = null;
|
||||
var invokeCallback = false;
|
||||
if (null === children) invokeCallback = true;
|
||||
else
|
||||
switch (type) {
|
||||
case "bigint":
|
||||
case "string":
|
||||
case "number":
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case "object":
|
||||
switch (children.$$typeof) {
|
||||
case REACT_ELEMENT_TYPE:
|
||||
case REACT_PORTAL_TYPE:
|
||||
invokeCallback = true;
|
||||
break;
|
||||
case REACT_LAZY_TYPE:
|
||||
return invokeCallback = children._init, mapIntoArray(
|
||||
invokeCallback(children._payload),
|
||||
array,
|
||||
escapedPrefix,
|
||||
nameSoFar,
|
||||
callback
|
||||
);
|
||||
}
|
||||
}
|
||||
if (invokeCallback) {
|
||||
invokeCallback = children;
|
||||
callback = callback(invokeCallback);
|
||||
var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
|
||||
isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
|
||||
return c;
|
||||
})) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(
|
||||
callback,
|
||||
escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(
|
||||
userProvidedKeyEscapeRegex,
|
||||
"$&/"
|
||||
) + "/") + childKey
|
||||
), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
|
||||
return 1;
|
||||
}
|
||||
invokeCallback = 0;
|
||||
childKey = "" === nameSoFar ? "." : nameSoFar + ":";
|
||||
if (isArrayImpl(children))
|
||||
for (var i = 0; i < children.length; i++)
|
||||
nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(
|
||||
nameSoFar,
|
||||
array,
|
||||
escapedPrefix,
|
||||
type,
|
||||
callback
|
||||
);
|
||||
else if (i = getIteratorFn(children), "function" === typeof i)
|
||||
for (i === children.entries && (didWarnAboutMaps || console.warn(
|
||||
"Using Maps as children is not supported. Use an array of keyed ReactElements instead."
|
||||
), didWarnAboutMaps = true), children = i.call(children), i = 0; !(nameSoFar = children.next()).done; )
|
||||
nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(
|
||||
nameSoFar,
|
||||
array,
|
||||
escapedPrefix,
|
||||
type,
|
||||
callback
|
||||
);
|
||||
else if ("object" === type) {
|
||||
if ("function" === typeof children.then)
|
||||
return mapIntoArray(
|
||||
resolveThenable(children),
|
||||
array,
|
||||
escapedPrefix,
|
||||
nameSoFar,
|
||||
callback
|
||||
);
|
||||
array = String(children);
|
||||
throw Error(
|
||||
"Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead."
|
||||
);
|
||||
}
|
||||
return invokeCallback;
|
||||
}
|
||||
function mapChildren(children, func, context) {
|
||||
if (null == children) return children;
|
||||
var result = [], count = 0;
|
||||
mapIntoArray(children, result, "", "", function(child) {
|
||||
return func.call(context, child, count++);
|
||||
});
|
||||
return result;
|
||||
}
|
||||
function lazyInitializer(payload) {
|
||||
if (-1 === payload._status) {
|
||||
var ctor = payload._result;
|
||||
ctor = ctor();
|
||||
ctor.then(
|
||||
function(moduleObject) {
|
||||
if (0 === payload._status || -1 === payload._status)
|
||||
payload._status = 1, payload._result = moduleObject;
|
||||
},
|
||||
function(error) {
|
||||
if (0 === payload._status || -1 === payload._status)
|
||||
payload._status = 2, payload._result = error;
|
||||
}
|
||||
);
|
||||
-1 === payload._status && (payload._status = 0, payload._result = ctor);
|
||||
}
|
||||
if (1 === payload._status)
|
||||
return ctor = payload._result, void 0 === ctor && console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
|
||||
ctor
|
||||
), "default" in ctor || console.error(
|
||||
"lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
|
||||
ctor
|
||||
), ctor.default;
|
||||
throw payload._result;
|
||||
}
|
||||
function resolveDispatcher() {
|
||||
var dispatcher = ReactSharedInternals.H;
|
||||
null === dispatcher && console.error(
|
||||
"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
|
||||
);
|
||||
return dispatcher;
|
||||
}
|
||||
function noop() {
|
||||
}
|
||||
function enqueueTask(task) {
|
||||
if (null === enqueueTaskImpl)
|
||||
try {
|
||||
var requireString = ("require" + Math.random()).slice(0, 7);
|
||||
enqueueTaskImpl = (module && module[requireString]).call(
|
||||
module,
|
||||
"timers"
|
||||
).setImmediate;
|
||||
} catch (_err) {
|
||||
enqueueTaskImpl = function(callback) {
|
||||
false === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = true, "undefined" === typeof MessageChannel && console.error(
|
||||
"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
|
||||
));
|
||||
var channel = new MessageChannel();
|
||||
channel.port1.onmessage = callback;
|
||||
channel.port2.postMessage(void 0);
|
||||
};
|
||||
}
|
||||
return enqueueTaskImpl(task);
|
||||
}
|
||||
function aggregateErrors(errors) {
|
||||
return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
|
||||
}
|
||||
function popActScope(prevActQueue, prevActScopeDepth) {
|
||||
prevActScopeDepth !== actScopeDepth - 1 && console.error(
|
||||
"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
|
||||
);
|
||||
actScopeDepth = prevActScopeDepth;
|
||||
}
|
||||
function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
|
||||
var queue = ReactSharedInternals.actQueue;
|
||||
if (null !== queue)
|
||||
if (0 !== queue.length)
|
||||
try {
|
||||
flushActQueue(queue);
|
||||
enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
|
||||
});
|
||||
return;
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
else ReactSharedInternals.actQueue = null;
|
||||
0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
|
||||
}
|
||||
function flushActQueue(queue) {
|
||||
if (!isFlushing) {
|
||||
isFlushing = true;
|
||||
var i = 0;
|
||||
try {
|
||||
for (; i < queue.length; i++) {
|
||||
var callback = queue[i];
|
||||
do {
|
||||
ReactSharedInternals.didUsePromise = false;
|
||||
var continuation = callback(false);
|
||||
if (null !== continuation) {
|
||||
if (ReactSharedInternals.didUsePromise) {
|
||||
queue[i] = callback;
|
||||
queue.splice(0, i);
|
||||
return;
|
||||
}
|
||||
callback = continuation;
|
||||
} else break;
|
||||
} while (1);
|
||||
}
|
||||
queue.length = 0;
|
||||
} catch (error) {
|
||||
queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
|
||||
} finally {
|
||||
isFlushing = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
||||
var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler");
|
||||
Symbol.for("react.provider");
|
||||
var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
|
||||
isMounted: function() {
|
||||
return false;
|
||||
},
|
||||
enqueueForceUpdate: function(publicInstance) {
|
||||
warnNoop(publicInstance, "forceUpdate");
|
||||
},
|
||||
enqueueReplaceState: function(publicInstance) {
|
||||
warnNoop(publicInstance, "replaceState");
|
||||
},
|
||||
enqueueSetState: function(publicInstance) {
|
||||
warnNoop(publicInstance, "setState");
|
||||
}
|
||||
}, assign = Object.assign, emptyObject = {};
|
||||
Object.freeze(emptyObject);
|
||||
Component.prototype.isReactComponent = {};
|
||||
Component.prototype.setState = function(partialState, callback) {
|
||||
if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState)
|
||||
throw Error(
|
||||
"takes an object of state variables to update or a function which returns an object of state variables."
|
||||
);
|
||||
this.updater.enqueueSetState(this, partialState, callback, "setState");
|
||||
};
|
||||
Component.prototype.forceUpdate = function(callback) {
|
||||
this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
|
||||
};
|
||||
var deprecatedAPIs = {
|
||||
isMounted: [
|
||||
"isMounted",
|
||||
"Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
|
||||
],
|
||||
replaceState: [
|
||||
"replaceState",
|
||||
"Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
|
||||
]
|
||||
}, fnName;
|
||||
for (fnName in deprecatedAPIs)
|
||||
deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
|
||||
ComponentDummy.prototype = Component.prototype;
|
||||
deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
|
||||
deprecatedAPIs.constructor = PureComponent;
|
||||
assign(deprecatedAPIs, Component.prototype);
|
||||
deprecatedAPIs.isPureReactComponent = true;
|
||||
var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
|
||||
H: null,
|
||||
A: null,
|
||||
T: null,
|
||||
S: null,
|
||||
V: null,
|
||||
actQueue: null,
|
||||
isBatchingLegacy: false,
|
||||
didScheduleLegacyUpdate: false,
|
||||
didUsePromise: false,
|
||||
thrownErrors: [],
|
||||
getCurrentStack: null,
|
||||
recentlyCreatedOwnerStacks: 0
|
||||
}, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
|
||||
return null;
|
||||
};
|
||||
deprecatedAPIs = {
|
||||
"react-stack-bottom-frame": function(callStackForError) {
|
||||
return callStackForError();
|
||||
}
|
||||
};
|
||||
var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
|
||||
var didWarnAboutElementRef = {};
|
||||
var unknownOwnerDebugStack = deprecatedAPIs["react-stack-bottom-frame"].bind(deprecatedAPIs, UnknownOwner)();
|
||||
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
||||
var didWarnAboutMaps = false, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
|
||||
if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
|
||||
var event = new window.ErrorEvent("error", {
|
||||
bubbles: true,
|
||||
cancelable: true,
|
||||
message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
|
||||
error
|
||||
});
|
||||
if (!window.dispatchEvent(event)) return;
|
||||
} else if ("object" === typeof process && "function" === typeof process.emit) {
|
||||
process.emit("uncaughtException", error);
|
||||
return;
|
||||
}
|
||||
console.error(error);
|
||||
}, didWarnAboutMessageChannel = false, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = false, isFlushing = false, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
|
||||
queueMicrotask(function() {
|
||||
return queueMicrotask(callback);
|
||||
});
|
||||
} : enqueueTask;
|
||||
deprecatedAPIs = Object.freeze({
|
||||
__proto__: null,
|
||||
c: function(size) {
|
||||
return resolveDispatcher().useMemoCache(size);
|
||||
}
|
||||
});
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function(children, forEachFunc, forEachContext) {
|
||||
mapChildren(
|
||||
children,
|
||||
function() {
|
||||
forEachFunc.apply(this, arguments);
|
||||
},
|
||||
forEachContext
|
||||
);
|
||||
},
|
||||
count: function(children) {
|
||||
var n = 0;
|
||||
mapChildren(children, function() {
|
||||
n++;
|
||||
});
|
||||
return n;
|
||||
},
|
||||
toArray: function(children) {
|
||||
return mapChildren(children, function(child) {
|
||||
return child;
|
||||
}) || [];
|
||||
},
|
||||
only: function(children) {
|
||||
if (!isValidElement(children))
|
||||
throw Error(
|
||||
"React.Children.only expected to receive a single React element child."
|
||||
);
|
||||
return children;
|
||||
}
|
||||
};
|
||||
exports.Component = Component;
|
||||
exports.Fragment = REACT_FRAGMENT_TYPE;
|
||||
exports.Profiler = REACT_PROFILER_TYPE;
|
||||
exports.PureComponent = PureComponent;
|
||||
exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = deprecatedAPIs;
|
||||
exports.act = function(callback) {
|
||||
var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
|
||||
actScopeDepth++;
|
||||
var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = false;
|
||||
try {
|
||||
var result = callback();
|
||||
} catch (error) {
|
||||
ReactSharedInternals.thrownErrors.push(error);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length)
|
||||
throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
||||
if (null !== result && "object" === typeof result && "function" === typeof result.then) {
|
||||
var thenable = result;
|
||||
queueSeveralMicrotasks(function() {
|
||||
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
||||
"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
|
||||
));
|
||||
});
|
||||
return {
|
||||
then: function(resolve, reject) {
|
||||
didAwaitActCall = true;
|
||||
thenable.then(
|
||||
function(returnValue) {
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
if (0 === prevActScopeDepth) {
|
||||
try {
|
||||
flushActQueue(queue), enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(
|
||||
returnValue,
|
||||
resolve,
|
||||
reject
|
||||
);
|
||||
});
|
||||
} catch (error$0) {
|
||||
ReactSharedInternals.thrownErrors.push(error$0);
|
||||
}
|
||||
if (0 < ReactSharedInternals.thrownErrors.length) {
|
||||
var _thrownError = aggregateErrors(
|
||||
ReactSharedInternals.thrownErrors
|
||||
);
|
||||
ReactSharedInternals.thrownErrors.length = 0;
|
||||
reject(_thrownError);
|
||||
}
|
||||
} else resolve(returnValue);
|
||||
},
|
||||
function(error) {
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(
|
||||
ReactSharedInternals.thrownErrors
|
||||
), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
|
||||
}
|
||||
);
|
||||
}
|
||||
};
|
||||
}
|
||||
var returnValue$jscomp$0 = result;
|
||||
popActScope(prevActQueue, prevActScopeDepth);
|
||||
0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
|
||||
didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = true, console.error(
|
||||
"A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
|
||||
));
|
||||
}), ReactSharedInternals.actQueue = null);
|
||||
if (0 < ReactSharedInternals.thrownErrors.length)
|
||||
throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
|
||||
return {
|
||||
then: function(resolve, reject) {
|
||||
didAwaitActCall = true;
|
||||
0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
|
||||
return recursivelyFlushAsyncActWork(
|
||||
returnValue$jscomp$0,
|
||||
resolve,
|
||||
reject
|
||||
);
|
||||
})) : resolve(returnValue$jscomp$0);
|
||||
}
|
||||
};
|
||||
};
|
||||
exports.cache = function(fn) {
|
||||
return function() {
|
||||
return fn.apply(null, arguments);
|
||||
};
|
||||
};
|
||||
exports.captureOwnerStack = function() {
|
||||
var getCurrentStack = ReactSharedInternals.getCurrentStack;
|
||||
return null === getCurrentStack ? null : getCurrentStack();
|
||||
};
|
||||
exports.cloneElement = function(element, config, children) {
|
||||
if (null === element || void 0 === element)
|
||||
throw Error(
|
||||
"The argument must be a React element, but you passed " + element + "."
|
||||
);
|
||||
var props = assign({}, element.props), key = element.key, owner = element._owner;
|
||||
if (null != config) {
|
||||
var JSCompiler_inline_result;
|
||||
a: {
|
||||
if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
|
||||
config,
|
||||
"ref"
|
||||
).get) && JSCompiler_inline_result.isReactWarning) {
|
||||
JSCompiler_inline_result = false;
|
||||
break a;
|
||||
}
|
||||
JSCompiler_inline_result = void 0 !== config.ref;
|
||||
}
|
||||
JSCompiler_inline_result && (owner = getOwner());
|
||||
hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
|
||||
for (propName in config)
|
||||
!hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
|
||||
}
|
||||
var propName = arguments.length - 2;
|
||||
if (1 === propName) props.children = children;
|
||||
else if (1 < propName) {
|
||||
JSCompiler_inline_result = Array(propName);
|
||||
for (var i = 0; i < propName; i++)
|
||||
JSCompiler_inline_result[i] = arguments[i + 2];
|
||||
props.children = JSCompiler_inline_result;
|
||||
}
|
||||
props = ReactElement(
|
||||
element.type,
|
||||
key,
|
||||
void 0,
|
||||
void 0,
|
||||
owner,
|
||||
props,
|
||||
element._debugStack,
|
||||
element._debugTask
|
||||
);
|
||||
for (key = 2; key < arguments.length; key++)
|
||||
owner = arguments[key], isValidElement(owner) && owner._store && (owner._store.validated = 1);
|
||||
return props;
|
||||
};
|
||||
exports.createContext = function(defaultValue) {
|
||||
defaultValue = {
|
||||
$$typeof: REACT_CONTEXT_TYPE,
|
||||
_currentValue: defaultValue,
|
||||
_currentValue2: defaultValue,
|
||||
_threadCount: 0,
|
||||
Provider: null,
|
||||
Consumer: null
|
||||
};
|
||||
defaultValue.Provider = defaultValue;
|
||||
defaultValue.Consumer = {
|
||||
$$typeof: REACT_CONSUMER_TYPE,
|
||||
_context: defaultValue
|
||||
};
|
||||
defaultValue._currentRenderer = null;
|
||||
defaultValue._currentRenderer2 = null;
|
||||
return defaultValue;
|
||||
};
|
||||
exports.createElement = function(type, config, children) {
|
||||
for (var i = 2; i < arguments.length; i++) {
|
||||
var node = arguments[i];
|
||||
isValidElement(node) && node._store && (node._store.validated = 1);
|
||||
}
|
||||
i = {};
|
||||
node = null;
|
||||
if (null != config)
|
||||
for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = true, console.warn(
|
||||
"Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
|
||||
)), hasValidKey(config) && (checkKeyStringCoercion(config.key), node = "" + config.key), config)
|
||||
hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
|
||||
var childrenLength = arguments.length - 2;
|
||||
if (1 === childrenLength) i.children = children;
|
||||
else if (1 < childrenLength) {
|
||||
for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++)
|
||||
childArray[_i] = arguments[_i + 2];
|
||||
Object.freeze && Object.freeze(childArray);
|
||||
i.children = childArray;
|
||||
}
|
||||
if (type && type.defaultProps)
|
||||
for (propName in childrenLength = type.defaultProps, childrenLength)
|
||||
void 0 === i[propName] && (i[propName] = childrenLength[propName]);
|
||||
node && defineKeyPropWarningGetter(
|
||||
i,
|
||||
"function" === typeof type ? type.displayName || type.name || "Unknown" : type
|
||||
);
|
||||
var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
||||
return ReactElement(
|
||||
type,
|
||||
node,
|
||||
void 0,
|
||||
void 0,
|
||||
getOwner(),
|
||||
i,
|
||||
propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack,
|
||||
propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
||||
);
|
||||
};
|
||||
exports.createRef = function() {
|
||||
var refObject = { current: null };
|
||||
Object.seal(refObject);
|
||||
return refObject;
|
||||
};
|
||||
exports.forwardRef = function(render) {
|
||||
null != render && render.$$typeof === REACT_MEMO_TYPE ? console.error(
|
||||
"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
|
||||
) : "function" !== typeof render ? console.error(
|
||||
"forwardRef requires a render function but was given %s.",
|
||||
null === render ? "null" : typeof render
|
||||
) : 0 !== render.length && 2 !== render.length && console.error(
|
||||
"forwardRef render functions accept exactly two parameters: props and ref. %s",
|
||||
1 === render.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
|
||||
);
|
||||
null != render && null != render.defaultProps && console.error(
|
||||
"forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
|
||||
);
|
||||
var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render }, ownName;
|
||||
Object.defineProperty(elementType, "displayName", {
|
||||
enumerable: false,
|
||||
configurable: true,
|
||||
get: function() {
|
||||
return ownName;
|
||||
},
|
||||
set: function(name) {
|
||||
ownName = name;
|
||||
render.name || render.displayName || (Object.defineProperty(render, "name", { value: name }), render.displayName = name);
|
||||
}
|
||||
});
|
||||
return elementType;
|
||||
};
|
||||
exports.isValidElement = isValidElement;
|
||||
exports.lazy = function(ctor) {
|
||||
return {
|
||||
$$typeof: REACT_LAZY_TYPE,
|
||||
_payload: { _status: -1, _result: ctor },
|
||||
_init: lazyInitializer
|
||||
};
|
||||
};
|
||||
exports.memo = function(type, compare) {
|
||||
null == type && console.error(
|
||||
"memo: The first argument must be a component. Instead received: %s",
|
||||
null === type ? "null" : typeof type
|
||||
);
|
||||
compare = {
|
||||
$$typeof: REACT_MEMO_TYPE,
|
||||
type,
|
||||
compare: void 0 === compare ? null : compare
|
||||
};
|
||||
var ownName;
|
||||
Object.defineProperty(compare, "displayName", {
|
||||
enumerable: false,
|
||||
configurable: true,
|
||||
get: function() {
|
||||
return ownName;
|
||||
},
|
||||
set: function(name) {
|
||||
ownName = name;
|
||||
type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
|
||||
}
|
||||
});
|
||||
return compare;
|
||||
};
|
||||
exports.startTransition = function(scope) {
|
||||
var prevTransition = ReactSharedInternals.T, currentTransition = {};
|
||||
ReactSharedInternals.T = currentTransition;
|
||||
currentTransition._updatedFibers = /* @__PURE__ */ new Set();
|
||||
try {
|
||||
var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
|
||||
null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
|
||||
"object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
|
||||
} catch (error) {
|
||||
reportGlobalError(error);
|
||||
} finally {
|
||||
null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn(
|
||||
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
|
||||
)), ReactSharedInternals.T = prevTransition;
|
||||
}
|
||||
};
|
||||
exports.unstable_useCacheRefresh = function() {
|
||||
return resolveDispatcher().useCacheRefresh();
|
||||
};
|
||||
exports.use = function(usable) {
|
||||
return resolveDispatcher().use(usable);
|
||||
};
|
||||
exports.useActionState = function(action, initialState, permalink) {
|
||||
return resolveDispatcher().useActionState(
|
||||
action,
|
||||
initialState,
|
||||
permalink
|
||||
);
|
||||
};
|
||||
exports.useCallback = function(callback, deps) {
|
||||
return resolveDispatcher().useCallback(callback, deps);
|
||||
};
|
||||
exports.useContext = function(Context) {
|
||||
var dispatcher = resolveDispatcher();
|
||||
Context.$$typeof === REACT_CONSUMER_TYPE && console.error(
|
||||
"Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
|
||||
);
|
||||
return dispatcher.useContext(Context);
|
||||
};
|
||||
exports.useDebugValue = function(value, formatterFn) {
|
||||
return resolveDispatcher().useDebugValue(value, formatterFn);
|
||||
};
|
||||
exports.useDeferredValue = function(value, initialValue) {
|
||||
return resolveDispatcher().useDeferredValue(value, initialValue);
|
||||
};
|
||||
exports.useEffect = function(create, createDeps, update) {
|
||||
null == create && console.warn(
|
||||
"React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
var dispatcher = resolveDispatcher();
|
||||
if ("function" === typeof update)
|
||||
throw Error(
|
||||
"useEffect CRUD overload is not enabled in this build of React."
|
||||
);
|
||||
return dispatcher.useEffect(create, createDeps);
|
||||
};
|
||||
exports.useId = function() {
|
||||
return resolveDispatcher().useId();
|
||||
};
|
||||
exports.useImperativeHandle = function(ref, create, deps) {
|
||||
return resolveDispatcher().useImperativeHandle(ref, create, deps);
|
||||
};
|
||||
exports.useInsertionEffect = function(create, deps) {
|
||||
null == create && console.warn(
|
||||
"React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useInsertionEffect(create, deps);
|
||||
};
|
||||
exports.useLayoutEffect = function(create, deps) {
|
||||
null == create && console.warn(
|
||||
"React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
|
||||
);
|
||||
return resolveDispatcher().useLayoutEffect(create, deps);
|
||||
};
|
||||
exports.useMemo = function(create, deps) {
|
||||
return resolveDispatcher().useMemo(create, deps);
|
||||
};
|
||||
exports.useOptimistic = function(passthrough, reducer) {
|
||||
return resolveDispatcher().useOptimistic(passthrough, reducer);
|
||||
};
|
||||
exports.useReducer = function(reducer, initialArg, init) {
|
||||
return resolveDispatcher().useReducer(reducer, initialArg, init);
|
||||
};
|
||||
exports.useRef = function(initialValue) {
|
||||
return resolveDispatcher().useRef(initialValue);
|
||||
};
|
||||
exports.useState = function(initialState) {
|
||||
return resolveDispatcher().useState(initialState);
|
||||
};
|
||||
exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
|
||||
return resolveDispatcher().useSyncExternalStore(
|
||||
subscribe,
|
||||
getSnapshot,
|
||||
getServerSnapshot
|
||||
);
|
||||
};
|
||||
exports.useTransition = function() {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.1.0";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
||||
})();
|
||||
}
|
||||
});
|
||||
|
||||
// node_modules/react/index.js
|
||||
var require_react = __commonJS({
|
||||
"node_modules/react/index.js"(exports, module) {
|
||||
if (false) {
|
||||
module.exports = null;
|
||||
} else {
|
||||
module.exports = require_react_development();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export {
|
||||
require_react
|
||||
};
|
||||
/*! Bundled license information:
|
||||
|
||||
react/cjs/react.development.js:
|
||||
(**
|
||||
* @license React
|
||||
* react.development.js
|
||||
*
|
||||
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*)
|
||||
*/
|
||||
//# sourceMappingURL=chunk-KS2M7ZJI.js.map
|
||||
7
.vite/deps/chunk-KS2M7ZJI.js.map
Normal file
7
.vite/deps/chunk-KS2M7ZJI.js.map
Normal file
File diff suppressed because one or more lines are too long
312
.vite/deps/chunk-WFLWNDNR.js
Normal file
312
.vite/deps/chunk-WFLWNDNR.js
Normal file
@@ -0,0 +1,312 @@
|
||||
// node_modules/preact/dist/preact.module.js
|
||||
var n;
|
||||
var l;
|
||||
var u;
|
||||
var t;
|
||||
var i;
|
||||
var r;
|
||||
var o;
|
||||
var e;
|
||||
var f;
|
||||
var c;
|
||||
var s;
|
||||
var a;
|
||||
var h;
|
||||
var p = {};
|
||||
var y = [];
|
||||
var v = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
|
||||
var w = Array.isArray;
|
||||
function d(n2, l2) {
|
||||
for (var u2 in l2) n2[u2] = l2[u2];
|
||||
return n2;
|
||||
}
|
||||
function g(n2) {
|
||||
n2 && n2.parentNode && n2.parentNode.removeChild(n2);
|
||||
}
|
||||
function _(l2, u2, t2) {
|
||||
var i2, r2, o2, e2 = {};
|
||||
for (o2 in u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : e2[o2] = u2[o2];
|
||||
if (arguments.length > 2 && (e2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps) for (o2 in l2.defaultProps) null == e2[o2] && (e2[o2] = l2.defaultProps[o2]);
|
||||
return m(l2, e2, i2, r2, null);
|
||||
}
|
||||
function m(n2, t2, i2, r2, o2) {
|
||||
var e2 = { type: n2, props: t2, key: i2, ref: r2, __k: null, __: null, __b: 0, __e: null, __c: null, constructor: void 0, __v: null == o2 ? ++u : o2, __i: -1, __u: 0 };
|
||||
return null == o2 && null != l.vnode && l.vnode(e2), e2;
|
||||
}
|
||||
function b() {
|
||||
return { current: null };
|
||||
}
|
||||
function k(n2) {
|
||||
return n2.children;
|
||||
}
|
||||
function x(n2, l2) {
|
||||
this.props = n2, this.context = l2;
|
||||
}
|
||||
function S(n2, l2) {
|
||||
if (null == l2) return n2.__ ? S(n2.__, n2.__i + 1) : null;
|
||||
for (var u2; l2 < n2.__k.length; l2++) if (null != (u2 = n2.__k[l2]) && null != u2.__e) return u2.__e;
|
||||
return "function" == typeof n2.type ? S(n2) : null;
|
||||
}
|
||||
function C(n2) {
|
||||
var l2, u2;
|
||||
if (null != (n2 = n2.__) && null != n2.__c) {
|
||||
for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++) if (null != (u2 = n2.__k[l2]) && null != u2.__e) {
|
||||
n2.__e = n2.__c.base = u2.__e;
|
||||
break;
|
||||
}
|
||||
return C(n2);
|
||||
}
|
||||
}
|
||||
function M(n2) {
|
||||
(!n2.__d && (n2.__d = true) && i.push(n2) && !$.__r++ || r != l.debounceRendering) && ((r = l.debounceRendering) || o)($);
|
||||
}
|
||||
function $() {
|
||||
for (var n2, u2, t2, r2, o2, f2, c2, s2 = 1; i.length; ) i.length > s2 && i.sort(e), n2 = i.shift(), s2 = i.length, n2.__d && (t2 = void 0, o2 = (r2 = (u2 = n2).__v).__e, f2 = [], c2 = [], u2.__P && ((t2 = d({}, r2)).__v = r2.__v + 1, l.vnode && l.vnode(t2), O(u2.__P, t2, r2, u2.__n, u2.__P.namespaceURI, 32 & r2.__u ? [o2] : null, f2, null == o2 ? S(r2) : o2, !!(32 & r2.__u), c2), t2.__v = r2.__v, t2.__.__k[t2.__i] = t2, z(f2, t2, c2), t2.__e != o2 && C(t2)));
|
||||
$.__r = 0;
|
||||
}
|
||||
function I(n2, l2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
||||
var a2, h2, v2, w2, d2, g2, _2 = t2 && t2.__k || y, m2 = l2.length;
|
||||
for (f2 = P(u2, l2, _2, f2, m2), a2 = 0; a2 < m2; a2++) null != (v2 = u2.__k[a2]) && (h2 = -1 == v2.__i ? p : _2[v2.__i] || p, v2.__i = a2, g2 = O(n2, v2, h2, i2, r2, o2, e2, f2, c2, s2), w2 = v2.__e, v2.ref && h2.ref != v2.ref && (h2.ref && q(h2.ref, null, v2), s2.push(v2.ref, v2.__c || w2, v2)), null == d2 && null != w2 && (d2 = w2), 4 & v2.__u || h2.__k === v2.__k ? f2 = A(v2, f2, n2) : "function" == typeof v2.type && void 0 !== g2 ? f2 = g2 : w2 && (f2 = w2.nextSibling), v2.__u &= -7);
|
||||
return u2.__e = d2, f2;
|
||||
}
|
||||
function P(n2, l2, u2, t2, i2) {
|
||||
var r2, o2, e2, f2, c2, s2 = u2.length, a2 = s2, h2 = 0;
|
||||
for (n2.__k = new Array(i2), r2 = 0; r2 < i2; r2++) null != (o2 = l2[r2]) && "boolean" != typeof o2 && "function" != typeof o2 ? (f2 = r2 + h2, (o2 = n2.__k[r2] = "string" == typeof o2 || "number" == typeof o2 || "bigint" == typeof o2 || o2.constructor == String ? m(null, o2, null, null, null) : w(o2) ? m(k, { children: o2 }, null, null, null) : null == o2.constructor && o2.__b > 0 ? m(o2.type, o2.props, o2.key, o2.ref ? o2.ref : null, o2.__v) : o2).__ = n2, o2.__b = n2.__b + 1, e2 = null, -1 != (c2 = o2.__i = L(o2, u2, f2, a2)) && (a2--, (e2 = u2[c2]) && (e2.__u |= 2)), null == e2 || null == e2.__v ? (-1 == c2 && (i2 > s2 ? h2-- : i2 < s2 && h2++), "function" != typeof o2.type && (o2.__u |= 4)) : c2 != f2 && (c2 == f2 - 1 ? h2-- : c2 == f2 + 1 ? h2++ : (c2 > f2 ? h2-- : h2++, o2.__u |= 4))) : n2.__k[r2] = null;
|
||||
if (a2) for (r2 = 0; r2 < s2; r2++) null != (e2 = u2[r2]) && 0 == (2 & e2.__u) && (e2.__e == t2 && (t2 = S(e2)), B(e2, e2));
|
||||
return t2;
|
||||
}
|
||||
function A(n2, l2, u2) {
|
||||
var t2, i2;
|
||||
if ("function" == typeof n2.type) {
|
||||
for (t2 = n2.__k, i2 = 0; t2 && i2 < t2.length; i2++) t2[i2] && (t2[i2].__ = n2, l2 = A(t2[i2], l2, u2));
|
||||
return l2;
|
||||
}
|
||||
n2.__e != l2 && (l2 && n2.type && !u2.contains(l2) && (l2 = S(n2)), u2.insertBefore(n2.__e, l2 || null), l2 = n2.__e);
|
||||
do {
|
||||
l2 = l2 && l2.nextSibling;
|
||||
} while (null != l2 && 8 == l2.nodeType);
|
||||
return l2;
|
||||
}
|
||||
function H(n2, l2) {
|
||||
return l2 = l2 || [], null == n2 || "boolean" == typeof n2 || (w(n2) ? n2.some(function(n3) {
|
||||
H(n3, l2);
|
||||
}) : l2.push(n2)), l2;
|
||||
}
|
||||
function L(n2, l2, u2, t2) {
|
||||
var i2, r2, o2 = n2.key, e2 = n2.type, f2 = l2[u2];
|
||||
if (null === f2 && null == n2.key || f2 && o2 == f2.key && e2 == f2.type && 0 == (2 & f2.__u)) return u2;
|
||||
if (t2 > (null != f2 && 0 == (2 & f2.__u) ? 1 : 0)) for (i2 = u2 - 1, r2 = u2 + 1; i2 >= 0 || r2 < l2.length; ) {
|
||||
if (i2 >= 0) {
|
||||
if ((f2 = l2[i2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return i2;
|
||||
i2--;
|
||||
}
|
||||
if (r2 < l2.length) {
|
||||
if ((f2 = l2[r2]) && 0 == (2 & f2.__u) && o2 == f2.key && e2 == f2.type) return r2;
|
||||
r2++;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
function T(n2, l2, u2) {
|
||||
"-" == l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || v.test(l2) ? u2 : u2 + "px";
|
||||
}
|
||||
function j(n2, l2, u2, t2, i2) {
|
||||
var r2;
|
||||
n: if ("style" == l2) if ("string" == typeof u2) n2.style.cssText = u2;
|
||||
else {
|
||||
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2) for (l2 in t2) u2 && l2 in u2 || T(n2.style, l2, "");
|
||||
if (u2) for (l2 in u2) t2 && u2[l2] == t2[l2] || T(n2.style, l2, u2[l2]);
|
||||
}
|
||||
else if ("o" == l2[0] && "n" == l2[1]) r2 = l2 != (l2 = l2.replace(f, "$1")), l2 = l2.toLowerCase() in n2 || "onFocusOut" == l2 || "onFocusIn" == l2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + r2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = c, n2.addEventListener(l2, r2 ? a : s, r2)) : n2.removeEventListener(l2, r2 ? a : s, r2);
|
||||
else {
|
||||
if ("http://www.w3.org/2000/svg" == i2) l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
||||
else if ("width" != l2 && "height" != l2 && "href" != l2 && "list" != l2 && "form" != l2 && "tabIndex" != l2 && "download" != l2 && "rowSpan" != l2 && "colSpan" != l2 && "role" != l2 && "popover" != l2 && l2 in n2) try {
|
||||
n2[l2] = null == u2 ? "" : u2;
|
||||
break n;
|
||||
} catch (n3) {
|
||||
}
|
||||
"function" == typeof u2 || (null == u2 || false === u2 && "-" != l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, "popover" == l2 && 1 == u2 ? "" : u2));
|
||||
}
|
||||
}
|
||||
function F(n2) {
|
||||
return function(u2) {
|
||||
if (this.l) {
|
||||
var t2 = this.l[u2.type + n2];
|
||||
if (null == u2.t) u2.t = c++;
|
||||
else if (u2.t < t2.u) return;
|
||||
return t2(l.event ? l.event(u2) : u2);
|
||||
}
|
||||
};
|
||||
}
|
||||
function O(n2, u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
||||
var a2, h2, p2, y2, v2, _2, m2, b2, S2, C2, M2, $2, P2, A2, H2, L2, T2, j2 = u2.type;
|
||||
if (null != u2.constructor) return null;
|
||||
128 & t2.__u && (c2 = !!(32 & t2.__u), o2 = [f2 = u2.__e = t2.__e]), (a2 = l.__b) && a2(u2);
|
||||
n: if ("function" == typeof j2) try {
|
||||
if (b2 = u2.props, S2 = "prototype" in j2 && j2.prototype.render, C2 = (a2 = j2.contextType) && i2[a2.__c], M2 = a2 ? C2 ? C2.props.value : a2.__ : i2, t2.__c ? m2 = (h2 = u2.__c = t2.__c).__ = h2.__E : (S2 ? u2.__c = h2 = new j2(b2, M2) : (u2.__c = h2 = new x(b2, M2), h2.constructor = j2, h2.render = D), C2 && C2.sub(h2), h2.props = b2, h2.state || (h2.state = {}), h2.context = M2, h2.__n = i2, p2 = h2.__d = true, h2.__h = [], h2._sb = []), S2 && null == h2.__s && (h2.__s = h2.state), S2 && null != j2.getDerivedStateFromProps && (h2.__s == h2.state && (h2.__s = d({}, h2.__s)), d(h2.__s, j2.getDerivedStateFromProps(b2, h2.__s))), y2 = h2.props, v2 = h2.state, h2.__v = u2, p2) S2 && null == j2.getDerivedStateFromProps && null != h2.componentWillMount && h2.componentWillMount(), S2 && null != h2.componentDidMount && h2.__h.push(h2.componentDidMount);
|
||||
else {
|
||||
if (S2 && null == j2.getDerivedStateFromProps && b2 !== y2 && null != h2.componentWillReceiveProps && h2.componentWillReceiveProps(b2, M2), !h2.__e && null != h2.shouldComponentUpdate && false === h2.shouldComponentUpdate(b2, h2.__s, M2) || u2.__v == t2.__v) {
|
||||
for (u2.__v != t2.__v && (h2.props = b2, h2.state = h2.__s, h2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.some(function(n3) {
|
||||
n3 && (n3.__ = u2);
|
||||
}), $2 = 0; $2 < h2._sb.length; $2++) h2.__h.push(h2._sb[$2]);
|
||||
h2._sb = [], h2.__h.length && e2.push(h2);
|
||||
break n;
|
||||
}
|
||||
null != h2.componentWillUpdate && h2.componentWillUpdate(b2, h2.__s, M2), S2 && null != h2.componentDidUpdate && h2.__h.push(function() {
|
||||
h2.componentDidUpdate(y2, v2, _2);
|
||||
});
|
||||
}
|
||||
if (h2.context = M2, h2.props = b2, h2.__P = n2, h2.__e = false, P2 = l.__r, A2 = 0, S2) {
|
||||
for (h2.state = h2.__s, h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), H2 = 0; H2 < h2._sb.length; H2++) h2.__h.push(h2._sb[H2]);
|
||||
h2._sb = [];
|
||||
} else do {
|
||||
h2.__d = false, P2 && P2(u2), a2 = h2.render(h2.props, h2.state, h2.context), h2.state = h2.__s;
|
||||
} while (h2.__d && ++A2 < 25);
|
||||
h2.state = h2.__s, null != h2.getChildContext && (i2 = d(d({}, i2), h2.getChildContext())), S2 && !p2 && null != h2.getSnapshotBeforeUpdate && (_2 = h2.getSnapshotBeforeUpdate(y2, v2)), L2 = a2, null != a2 && a2.type === k && null == a2.key && (L2 = N(a2.props.children)), f2 = I(n2, w(L2) ? L2 : [L2], u2, t2, i2, r2, o2, e2, f2, c2, s2), h2.base = u2.__e, u2.__u &= -161, h2.__h.length && e2.push(h2), m2 && (h2.__E = h2.__ = null);
|
||||
} catch (n3) {
|
||||
if (u2.__v = null, c2 || null != o2) if (n3.then) {
|
||||
for (u2.__u |= c2 ? 160 : 128; f2 && 8 == f2.nodeType && f2.nextSibling; ) f2 = f2.nextSibling;
|
||||
o2[o2.indexOf(f2)] = null, u2.__e = f2;
|
||||
} else for (T2 = o2.length; T2--; ) g(o2[T2]);
|
||||
else u2.__e = t2.__e, u2.__k = t2.__k;
|
||||
l.__e(n3, u2, t2);
|
||||
}
|
||||
else null == o2 && u2.__v == t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : f2 = u2.__e = V(t2.__e, u2, t2, i2, r2, o2, e2, c2, s2);
|
||||
return (a2 = l.diffed) && a2(u2), 128 & u2.__u ? void 0 : f2;
|
||||
}
|
||||
function z(n2, u2, t2) {
|
||||
for (var i2 = 0; i2 < t2.length; i2++) q(t2[i2], t2[++i2], t2[++i2]);
|
||||
l.__c && l.__c(u2, n2), n2.some(function(u3) {
|
||||
try {
|
||||
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
||||
n3.call(u3);
|
||||
});
|
||||
} catch (n3) {
|
||||
l.__e(n3, u3.__v);
|
||||
}
|
||||
});
|
||||
}
|
||||
function N(n2) {
|
||||
return "object" != typeof n2 || null == n2 || n2.__b && n2.__b > 0 ? n2 : w(n2) ? n2.map(N) : d({}, n2);
|
||||
}
|
||||
function V(u2, t2, i2, r2, o2, e2, f2, c2, s2) {
|
||||
var a2, h2, y2, v2, d2, _2, m2, b2 = i2.props, k2 = t2.props, x2 = t2.type;
|
||||
if ("svg" == x2 ? o2 = "http://www.w3.org/2000/svg" : "math" == x2 ? o2 = "http://www.w3.org/1998/Math/MathML" : o2 || (o2 = "http://www.w3.org/1999/xhtml"), null != e2) {
|
||||
for (a2 = 0; a2 < e2.length; a2++) if ((d2 = e2[a2]) && "setAttribute" in d2 == !!x2 && (x2 ? d2.localName == x2 : 3 == d2.nodeType)) {
|
||||
u2 = d2, e2[a2] = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (null == u2) {
|
||||
if (null == x2) return document.createTextNode(k2);
|
||||
u2 = document.createElementNS(o2, x2, k2.is && k2), c2 && (l.__m && l.__m(t2, e2), c2 = false), e2 = null;
|
||||
}
|
||||
if (null == x2) b2 === k2 || c2 && u2.data == k2 || (u2.data = k2);
|
||||
else {
|
||||
if (e2 = e2 && n.call(u2.childNodes), b2 = i2.props || p, !c2 && null != e2) for (b2 = {}, a2 = 0; a2 < u2.attributes.length; a2++) b2[(d2 = u2.attributes[a2]).name] = d2.value;
|
||||
for (a2 in b2) if (d2 = b2[a2], "children" == a2) ;
|
||||
else if ("dangerouslySetInnerHTML" == a2) y2 = d2;
|
||||
else if (!(a2 in k2)) {
|
||||
if ("value" == a2 && "defaultValue" in k2 || "checked" == a2 && "defaultChecked" in k2) continue;
|
||||
j(u2, a2, null, d2, o2);
|
||||
}
|
||||
for (a2 in k2) d2 = k2[a2], "children" == a2 ? v2 = d2 : "dangerouslySetInnerHTML" == a2 ? h2 = d2 : "value" == a2 ? _2 = d2 : "checked" == a2 ? m2 = d2 : c2 && "function" != typeof d2 || b2[a2] === d2 || j(u2, a2, d2, b2[a2], o2);
|
||||
if (h2) c2 || y2 && (h2.__html == y2.__html || h2.__html == u2.innerHTML) || (u2.innerHTML = h2.__html), t2.__k = [];
|
||||
else if (y2 && (u2.innerHTML = ""), I("template" == t2.type ? u2.content : u2, w(v2) ? v2 : [v2], t2, i2, r2, "foreignObject" == x2 ? "http://www.w3.org/1999/xhtml" : o2, e2, f2, e2 ? e2[0] : i2.__k && S(i2, 0), c2, s2), null != e2) for (a2 = e2.length; a2--; ) g(e2[a2]);
|
||||
c2 || (a2 = "value", "progress" == x2 && null == _2 ? u2.removeAttribute("value") : null != _2 && (_2 !== u2[a2] || "progress" == x2 && !_2 || "option" == x2 && _2 != b2[a2]) && j(u2, a2, _2, b2[a2], o2), a2 = "checked", null != m2 && m2 != u2[a2] && j(u2, a2, m2, b2[a2], o2));
|
||||
}
|
||||
return u2;
|
||||
}
|
||||
function q(n2, u2, t2) {
|
||||
try {
|
||||
if ("function" == typeof n2) {
|
||||
var i2 = "function" == typeof n2.__u;
|
||||
i2 && n2.__u(), i2 && null == u2 || (n2.__u = n2(u2));
|
||||
} else n2.current = u2;
|
||||
} catch (n3) {
|
||||
l.__e(n3, t2);
|
||||
}
|
||||
}
|
||||
function B(n2, u2, t2) {
|
||||
var i2, r2;
|
||||
if (l.unmount && l.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current != n2.__e || q(i2, null, u2)), null != (i2 = n2.__c)) {
|
||||
if (i2.componentWillUnmount) try {
|
||||
i2.componentWillUnmount();
|
||||
} catch (n3) {
|
||||
l.__e(n3, u2);
|
||||
}
|
||||
i2.base = i2.__P = null;
|
||||
}
|
||||
if (i2 = n2.__k) for (r2 = 0; r2 < i2.length; r2++) i2[r2] && B(i2[r2], u2, t2 || "function" != typeof n2.type);
|
||||
t2 || g(n2.__e), n2.__c = n2.__ = n2.__e = void 0;
|
||||
}
|
||||
function D(n2, l2, u2) {
|
||||
return this.constructor(n2, u2);
|
||||
}
|
||||
function E(u2, t2, i2) {
|
||||
var r2, o2, e2, f2;
|
||||
t2 == document && (t2 = document.documentElement), l.__ && l.__(u2, t2), o2 = (r2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, e2 = [], f2 = [], O(t2, u2 = (!r2 && i2 || t2).__k = _(k, null, [u2]), o2 || p, p, t2.namespaceURI, !r2 && i2 ? [i2] : o2 ? null : t2.firstChild ? n.call(t2.childNodes) : null, e2, !r2 && i2 ? i2 : o2 ? o2.__e : t2.firstChild, r2, f2), z(e2, u2, f2);
|
||||
}
|
||||
function G(n2, l2) {
|
||||
E(n2, l2, G);
|
||||
}
|
||||
function J(l2, u2, t2) {
|
||||
var i2, r2, o2, e2, f2 = d({}, l2.props);
|
||||
for (o2 in l2.type && l2.type.defaultProps && (e2 = l2.type.defaultProps), u2) "key" == o2 ? i2 = u2[o2] : "ref" == o2 ? r2 = u2[o2] : f2[o2] = null == u2[o2] && null != e2 ? e2[o2] : u2[o2];
|
||||
return arguments.length > 2 && (f2.children = arguments.length > 3 ? n.call(arguments, 2) : t2), m(l2.type, f2, i2 || l2.key, r2 || l2.ref, null);
|
||||
}
|
||||
function K(n2) {
|
||||
function l2(n3) {
|
||||
var u2, t2;
|
||||
return this.getChildContext || (u2 = /* @__PURE__ */ new Set(), (t2 = {})[l2.__c] = this, this.getChildContext = function() {
|
||||
return t2;
|
||||
}, this.componentWillUnmount = function() {
|
||||
u2 = null;
|
||||
}, this.shouldComponentUpdate = function(n4) {
|
||||
this.props.value != n4.value && u2.forEach(function(n5) {
|
||||
n5.__e = true, M(n5);
|
||||
});
|
||||
}, this.sub = function(n4) {
|
||||
u2.add(n4);
|
||||
var l3 = n4.componentWillUnmount;
|
||||
n4.componentWillUnmount = function() {
|
||||
u2 && u2.delete(n4), l3 && l3.call(n4);
|
||||
};
|
||||
}), n3.children;
|
||||
}
|
||||
return l2.__c = "__cC" + h++, l2.__ = n2, l2.Provider = l2.__l = (l2.Consumer = function(n3, l3) {
|
||||
return n3.children(l3);
|
||||
}).contextType = l2, l2;
|
||||
}
|
||||
n = y.slice, l = { __e: function(n2, l2, u2, t2) {
|
||||
for (var i2, r2, o2; l2 = l2.__; ) if ((i2 = l2.__c) && !i2.__) try {
|
||||
if ((r2 = i2.constructor) && null != r2.getDerivedStateFromError && (i2.setState(r2.getDerivedStateFromError(n2)), o2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t2 || {}), o2 = i2.__d), o2) return i2.__E = i2;
|
||||
} catch (l3) {
|
||||
n2 = l3;
|
||||
}
|
||||
throw n2;
|
||||
} }, u = 0, t = function(n2) {
|
||||
return null != n2 && null == n2.constructor;
|
||||
}, x.prototype.setState = function(n2, l2) {
|
||||
var u2;
|
||||
u2 = null != this.__s && this.__s != this.state ? this.__s : this.__s = d({}, this.state), "function" == typeof n2 && (n2 = n2(d({}, u2), this.props)), n2 && d(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), M(this));
|
||||
}, x.prototype.forceUpdate = function(n2) {
|
||||
this.__v && (this.__e = true, n2 && this.__h.push(n2), M(this));
|
||||
}, x.prototype.render = k, i = [], o = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, e = function(n2, l2) {
|
||||
return n2.__v.__b - l2.__v.__b;
|
||||
}, $.__r = 0, f = /(PointerCapture)$|Capture$/i, c = 0, s = F(false), a = F(true), h = 0;
|
||||
|
||||
export {
|
||||
l,
|
||||
t,
|
||||
_,
|
||||
b,
|
||||
k,
|
||||
x,
|
||||
H,
|
||||
E,
|
||||
G,
|
||||
J,
|
||||
K
|
||||
};
|
||||
//# sourceMappingURL=chunk-WFLWNDNR.js.map
|
||||
7
.vite/deps/chunk-WFLWNDNR.js.map
Normal file
7
.vite/deps/chunk-WFLWNDNR.js.map
Normal file
File diff suppressed because one or more lines are too long
493
.vite/deps/chunk-XLOWEJT4.js
Normal file
493
.vite/deps/chunk-XLOWEJT4.js
Normal file
@@ -0,0 +1,493 @@
|
||||
// node_modules/swiper/shared/ssr-window.esm.mjs
|
||||
function isObject(obj) {
|
||||
return obj !== null && typeof obj === "object" && "constructor" in obj && obj.constructor === Object;
|
||||
}
|
||||
function extend(target, src) {
|
||||
if (target === void 0) {
|
||||
target = {};
|
||||
}
|
||||
if (src === void 0) {
|
||||
src = {};
|
||||
}
|
||||
const noExtend = ["__proto__", "constructor", "prototype"];
|
||||
Object.keys(src).filter((key) => noExtend.indexOf(key) < 0).forEach((key) => {
|
||||
if (typeof target[key] === "undefined") target[key] = src[key];
|
||||
else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {
|
||||
extend(target[key], src[key]);
|
||||
}
|
||||
});
|
||||
}
|
||||
var ssrDocument = {
|
||||
body: {},
|
||||
addEventListener() {
|
||||
},
|
||||
removeEventListener() {
|
||||
},
|
||||
activeElement: {
|
||||
blur() {
|
||||
},
|
||||
nodeName: ""
|
||||
},
|
||||
querySelector() {
|
||||
return null;
|
||||
},
|
||||
querySelectorAll() {
|
||||
return [];
|
||||
},
|
||||
getElementById() {
|
||||
return null;
|
||||
},
|
||||
createEvent() {
|
||||
return {
|
||||
initEvent() {
|
||||
}
|
||||
};
|
||||
},
|
||||
createElement() {
|
||||
return {
|
||||
children: [],
|
||||
childNodes: [],
|
||||
style: {},
|
||||
setAttribute() {
|
||||
},
|
||||
getElementsByTagName() {
|
||||
return [];
|
||||
}
|
||||
};
|
||||
},
|
||||
createElementNS() {
|
||||
return {};
|
||||
},
|
||||
importNode() {
|
||||
return null;
|
||||
},
|
||||
location: {
|
||||
hash: "",
|
||||
host: "",
|
||||
hostname: "",
|
||||
href: "",
|
||||
origin: "",
|
||||
pathname: "",
|
||||
protocol: "",
|
||||
search: ""
|
||||
}
|
||||
};
|
||||
function getDocument() {
|
||||
const doc = typeof document !== "undefined" ? document : {};
|
||||
extend(doc, ssrDocument);
|
||||
return doc;
|
||||
}
|
||||
var ssrWindow = {
|
||||
document: ssrDocument,
|
||||
navigator: {
|
||||
userAgent: ""
|
||||
},
|
||||
location: {
|
||||
hash: "",
|
||||
host: "",
|
||||
hostname: "",
|
||||
href: "",
|
||||
origin: "",
|
||||
pathname: "",
|
||||
protocol: "",
|
||||
search: ""
|
||||
},
|
||||
history: {
|
||||
replaceState() {
|
||||
},
|
||||
pushState() {
|
||||
},
|
||||
go() {
|
||||
},
|
||||
back() {
|
||||
}
|
||||
},
|
||||
CustomEvent: function CustomEvent() {
|
||||
return this;
|
||||
},
|
||||
addEventListener() {
|
||||
},
|
||||
removeEventListener() {
|
||||
},
|
||||
getComputedStyle() {
|
||||
return {
|
||||
getPropertyValue() {
|
||||
return "";
|
||||
}
|
||||
};
|
||||
},
|
||||
Image() {
|
||||
},
|
||||
Date() {
|
||||
},
|
||||
screen: {},
|
||||
setTimeout() {
|
||||
},
|
||||
clearTimeout() {
|
||||
},
|
||||
matchMedia() {
|
||||
return {};
|
||||
},
|
||||
requestAnimationFrame(callback) {
|
||||
if (typeof setTimeout === "undefined") {
|
||||
callback();
|
||||
return null;
|
||||
}
|
||||
return setTimeout(callback, 0);
|
||||
},
|
||||
cancelAnimationFrame(id) {
|
||||
if (typeof setTimeout === "undefined") {
|
||||
return;
|
||||
}
|
||||
clearTimeout(id);
|
||||
}
|
||||
};
|
||||
function getWindow() {
|
||||
const win = typeof window !== "undefined" ? window : {};
|
||||
extend(win, ssrWindow);
|
||||
return win;
|
||||
}
|
||||
|
||||
// node_modules/swiper/shared/utils.mjs
|
||||
function classesToTokens(classes) {
|
||||
if (classes === void 0) {
|
||||
classes = "";
|
||||
}
|
||||
return classes.trim().split(" ").filter((c) => !!c.trim());
|
||||
}
|
||||
function deleteProps(obj) {
|
||||
const object = obj;
|
||||
Object.keys(object).forEach((key) => {
|
||||
try {
|
||||
object[key] = null;
|
||||
} catch (e) {
|
||||
}
|
||||
try {
|
||||
delete object[key];
|
||||
} catch (e) {
|
||||
}
|
||||
});
|
||||
}
|
||||
function nextTick(callback, delay) {
|
||||
if (delay === void 0) {
|
||||
delay = 0;
|
||||
}
|
||||
return setTimeout(callback, delay);
|
||||
}
|
||||
function now() {
|
||||
return Date.now();
|
||||
}
|
||||
function getComputedStyle(el) {
|
||||
const window2 = getWindow();
|
||||
let style;
|
||||
if (window2.getComputedStyle) {
|
||||
style = window2.getComputedStyle(el, null);
|
||||
}
|
||||
if (!style && el.currentStyle) {
|
||||
style = el.currentStyle;
|
||||
}
|
||||
if (!style) {
|
||||
style = el.style;
|
||||
}
|
||||
return style;
|
||||
}
|
||||
function getTranslate(el, axis) {
|
||||
if (axis === void 0) {
|
||||
axis = "x";
|
||||
}
|
||||
const window2 = getWindow();
|
||||
let matrix;
|
||||
let curTransform;
|
||||
let transformMatrix;
|
||||
const curStyle = getComputedStyle(el);
|
||||
if (window2.WebKitCSSMatrix) {
|
||||
curTransform = curStyle.transform || curStyle.webkitTransform;
|
||||
if (curTransform.split(",").length > 6) {
|
||||
curTransform = curTransform.split(", ").map((a) => a.replace(",", ".")).join(", ");
|
||||
}
|
||||
transformMatrix = new window2.WebKitCSSMatrix(curTransform === "none" ? "" : curTransform);
|
||||
} else {
|
||||
transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,");
|
||||
matrix = transformMatrix.toString().split(",");
|
||||
}
|
||||
if (axis === "x") {
|
||||
if (window2.WebKitCSSMatrix) curTransform = transformMatrix.m41;
|
||||
else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);
|
||||
else curTransform = parseFloat(matrix[4]);
|
||||
}
|
||||
if (axis === "y") {
|
||||
if (window2.WebKitCSSMatrix) curTransform = transformMatrix.m42;
|
||||
else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);
|
||||
else curTransform = parseFloat(matrix[5]);
|
||||
}
|
||||
return curTransform || 0;
|
||||
}
|
||||
function isObject2(o) {
|
||||
return typeof o === "object" && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === "Object";
|
||||
}
|
||||
function isNode(node) {
|
||||
if (typeof window !== "undefined" && typeof window.HTMLElement !== "undefined") {
|
||||
return node instanceof HTMLElement;
|
||||
}
|
||||
return node && (node.nodeType === 1 || node.nodeType === 11);
|
||||
}
|
||||
function extend2() {
|
||||
const to = Object(arguments.length <= 0 ? void 0 : arguments[0]);
|
||||
const noExtend = ["__proto__", "constructor", "prototype"];
|
||||
for (let i = 1; i < arguments.length; i += 1) {
|
||||
const nextSource = i < 0 || arguments.length <= i ? void 0 : arguments[i];
|
||||
if (nextSource !== void 0 && nextSource !== null && !isNode(nextSource)) {
|
||||
const keysArray = Object.keys(Object(nextSource)).filter((key) => noExtend.indexOf(key) < 0);
|
||||
for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {
|
||||
const nextKey = keysArray[nextIndex];
|
||||
const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
|
||||
if (desc !== void 0 && desc.enumerable) {
|
||||
if (isObject2(to[nextKey]) && isObject2(nextSource[nextKey])) {
|
||||
if (nextSource[nextKey].__swiper__) {
|
||||
to[nextKey] = nextSource[nextKey];
|
||||
} else {
|
||||
extend2(to[nextKey], nextSource[nextKey]);
|
||||
}
|
||||
} else if (!isObject2(to[nextKey]) && isObject2(nextSource[nextKey])) {
|
||||
to[nextKey] = {};
|
||||
if (nextSource[nextKey].__swiper__) {
|
||||
to[nextKey] = nextSource[nextKey];
|
||||
} else {
|
||||
extend2(to[nextKey], nextSource[nextKey]);
|
||||
}
|
||||
} else {
|
||||
to[nextKey] = nextSource[nextKey];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return to;
|
||||
}
|
||||
function setCSSProperty(el, varName, varValue) {
|
||||
el.style.setProperty(varName, varValue);
|
||||
}
|
||||
function animateCSSModeScroll(_ref) {
|
||||
let {
|
||||
swiper,
|
||||
targetPosition,
|
||||
side
|
||||
} = _ref;
|
||||
const window2 = getWindow();
|
||||
const startPosition = -swiper.translate;
|
||||
let startTime = null;
|
||||
let time;
|
||||
const duration = swiper.params.speed;
|
||||
swiper.wrapperEl.style.scrollSnapType = "none";
|
||||
window2.cancelAnimationFrame(swiper.cssModeFrameID);
|
||||
const dir = targetPosition > startPosition ? "next" : "prev";
|
||||
const isOutOfBound = (current, target) => {
|
||||
return dir === "next" && current >= target || dir === "prev" && current <= target;
|
||||
};
|
||||
const animate = () => {
|
||||
time = (/* @__PURE__ */ new Date()).getTime();
|
||||
if (startTime === null) {
|
||||
startTime = time;
|
||||
}
|
||||
const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);
|
||||
const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;
|
||||
let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);
|
||||
if (isOutOfBound(currentPosition, targetPosition)) {
|
||||
currentPosition = targetPosition;
|
||||
}
|
||||
swiper.wrapperEl.scrollTo({
|
||||
[side]: currentPosition
|
||||
});
|
||||
if (isOutOfBound(currentPosition, targetPosition)) {
|
||||
swiper.wrapperEl.style.overflow = "hidden";
|
||||
swiper.wrapperEl.style.scrollSnapType = "";
|
||||
setTimeout(() => {
|
||||
swiper.wrapperEl.style.overflow = "";
|
||||
swiper.wrapperEl.scrollTo({
|
||||
[side]: currentPosition
|
||||
});
|
||||
});
|
||||
window2.cancelAnimationFrame(swiper.cssModeFrameID);
|
||||
return;
|
||||
}
|
||||
swiper.cssModeFrameID = window2.requestAnimationFrame(animate);
|
||||
};
|
||||
animate();
|
||||
}
|
||||
function getSlideTransformEl(slideEl) {
|
||||
return slideEl.querySelector(".swiper-slide-transform") || slideEl.shadowRoot && slideEl.shadowRoot.querySelector(".swiper-slide-transform") || slideEl;
|
||||
}
|
||||
function elementChildren(element, selector) {
|
||||
if (selector === void 0) {
|
||||
selector = "";
|
||||
}
|
||||
const window2 = getWindow();
|
||||
const children = [...element.children];
|
||||
if (window2.HTMLSlotElement && element instanceof HTMLSlotElement) {
|
||||
children.push(...element.assignedElements());
|
||||
}
|
||||
if (!selector) {
|
||||
return children;
|
||||
}
|
||||
return children.filter((el) => el.matches(selector));
|
||||
}
|
||||
function elementIsChildOfSlot(el, slot) {
|
||||
const elementsQueue = [slot];
|
||||
while (elementsQueue.length > 0) {
|
||||
const elementToCheck = elementsQueue.shift();
|
||||
if (el === elementToCheck) {
|
||||
return true;
|
||||
}
|
||||
elementsQueue.push(...elementToCheck.children, ...elementToCheck.shadowRoot ? elementToCheck.shadowRoot.children : [], ...elementToCheck.assignedElements ? elementToCheck.assignedElements() : []);
|
||||
}
|
||||
}
|
||||
function elementIsChildOf(el, parent) {
|
||||
const window2 = getWindow();
|
||||
let isChild = parent.contains(el);
|
||||
if (!isChild && window2.HTMLSlotElement && parent instanceof HTMLSlotElement) {
|
||||
const children = [...parent.assignedElements()];
|
||||
isChild = children.includes(el);
|
||||
if (!isChild) {
|
||||
isChild = elementIsChildOfSlot(el, parent);
|
||||
}
|
||||
}
|
||||
return isChild;
|
||||
}
|
||||
function showWarning(text) {
|
||||
try {
|
||||
console.warn(text);
|
||||
return;
|
||||
} catch (err) {
|
||||
}
|
||||
}
|
||||
function createElement(tag, classes) {
|
||||
if (classes === void 0) {
|
||||
classes = [];
|
||||
}
|
||||
const el = document.createElement(tag);
|
||||
el.classList.add(...Array.isArray(classes) ? classes : classesToTokens(classes));
|
||||
return el;
|
||||
}
|
||||
function elementOffset(el) {
|
||||
const window2 = getWindow();
|
||||
const document2 = getDocument();
|
||||
const box = el.getBoundingClientRect();
|
||||
const body = document2.body;
|
||||
const clientTop = el.clientTop || body.clientTop || 0;
|
||||
const clientLeft = el.clientLeft || body.clientLeft || 0;
|
||||
const scrollTop = el === window2 ? window2.scrollY : el.scrollTop;
|
||||
const scrollLeft = el === window2 ? window2.scrollX : el.scrollLeft;
|
||||
return {
|
||||
top: box.top + scrollTop - clientTop,
|
||||
left: box.left + scrollLeft - clientLeft
|
||||
};
|
||||
}
|
||||
function elementPrevAll(el, selector) {
|
||||
const prevEls = [];
|
||||
while (el.previousElementSibling) {
|
||||
const prev = el.previousElementSibling;
|
||||
if (selector) {
|
||||
if (prev.matches(selector)) prevEls.push(prev);
|
||||
} else prevEls.push(prev);
|
||||
el = prev;
|
||||
}
|
||||
return prevEls;
|
||||
}
|
||||
function elementNextAll(el, selector) {
|
||||
const nextEls = [];
|
||||
while (el.nextElementSibling) {
|
||||
const next = el.nextElementSibling;
|
||||
if (selector) {
|
||||
if (next.matches(selector)) nextEls.push(next);
|
||||
} else nextEls.push(next);
|
||||
el = next;
|
||||
}
|
||||
return nextEls;
|
||||
}
|
||||
function elementStyle(el, prop) {
|
||||
const window2 = getWindow();
|
||||
return window2.getComputedStyle(el, null).getPropertyValue(prop);
|
||||
}
|
||||
function elementIndex(el) {
|
||||
let child = el;
|
||||
let i;
|
||||
if (child) {
|
||||
i = 0;
|
||||
while ((child = child.previousSibling) !== null) {
|
||||
if (child.nodeType === 1) i += 1;
|
||||
}
|
||||
return i;
|
||||
}
|
||||
return void 0;
|
||||
}
|
||||
function elementParents(el, selector) {
|
||||
const parents = [];
|
||||
let parent = el.parentElement;
|
||||
while (parent) {
|
||||
if (selector) {
|
||||
if (parent.matches(selector)) parents.push(parent);
|
||||
} else {
|
||||
parents.push(parent);
|
||||
}
|
||||
parent = parent.parentElement;
|
||||
}
|
||||
return parents;
|
||||
}
|
||||
function elementTransitionEnd(el, callback) {
|
||||
function fireCallBack(e) {
|
||||
if (e.target !== el) return;
|
||||
callback.call(el, e);
|
||||
el.removeEventListener("transitionend", fireCallBack);
|
||||
}
|
||||
if (callback) {
|
||||
el.addEventListener("transitionend", fireCallBack);
|
||||
}
|
||||
}
|
||||
function elementOuterSize(el, size, includeMargins) {
|
||||
const window2 = getWindow();
|
||||
if (includeMargins) {
|
||||
return el[size === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(window2.getComputedStyle(el, null).getPropertyValue(size === "width" ? "margin-right" : "margin-top")) + parseFloat(window2.getComputedStyle(el, null).getPropertyValue(size === "width" ? "margin-left" : "margin-bottom"));
|
||||
}
|
||||
return el.offsetWidth;
|
||||
}
|
||||
function makeElementsArray(el) {
|
||||
return (Array.isArray(el) ? el : [el]).filter((e) => !!e);
|
||||
}
|
||||
function getRotateFix(swiper) {
|
||||
return (v) => {
|
||||
if (Math.abs(v) > 0 && swiper.browser && swiper.browser.need3dFix && Math.abs(v) % 90 === 0) {
|
||||
return v + 1e-3;
|
||||
}
|
||||
return v;
|
||||
};
|
||||
}
|
||||
|
||||
export {
|
||||
getDocument,
|
||||
getWindow,
|
||||
classesToTokens,
|
||||
deleteProps,
|
||||
nextTick,
|
||||
now,
|
||||
getTranslate,
|
||||
isObject2 as isObject,
|
||||
extend2 as extend,
|
||||
setCSSProperty,
|
||||
animateCSSModeScroll,
|
||||
getSlideTransformEl,
|
||||
elementChildren,
|
||||
elementIsChildOf,
|
||||
showWarning,
|
||||
createElement,
|
||||
elementOffset,
|
||||
elementPrevAll,
|
||||
elementNextAll,
|
||||
elementStyle,
|
||||
elementIndex,
|
||||
elementParents,
|
||||
elementTransitionEnd,
|
||||
elementOuterSize,
|
||||
makeElementsArray,
|
||||
getRotateFix
|
||||
};
|
||||
//# sourceMappingURL=chunk-XLOWEJT4.js.map
|
||||
7
.vite/deps/chunk-XLOWEJT4.js.map
Normal file
7
.vite/deps/chunk-XLOWEJT4.js.map
Normal file
File diff suppressed because one or more lines are too long
3
.vite/deps/package.json
Normal file
3
.vite/deps/package.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "module"
|
||||
}
|
||||
430
.vite/deps/preact-iso.js
Normal file
430
.vite/deps/preact-iso.js
Normal file
@@ -0,0 +1,430 @@
|
||||
import {
|
||||
E,
|
||||
G,
|
||||
H,
|
||||
J,
|
||||
K,
|
||||
_,
|
||||
l
|
||||
} from "./chunk-WFLWNDNR.js";
|
||||
import "./chunk-5WRI5ZAA.js";
|
||||
|
||||
// node_modules/preact/hooks/dist/hooks.module.js
|
||||
var t;
|
||||
var r;
|
||||
var u;
|
||||
var i;
|
||||
var o = 0;
|
||||
var f = [];
|
||||
var c = l;
|
||||
var e = c.__b;
|
||||
var a = c.__r;
|
||||
var v = c.diffed;
|
||||
var l2 = c.__c;
|
||||
var m = c.unmount;
|
||||
var s = c.__;
|
||||
function p(n, t2) {
|
||||
c.__h && c.__h(r, n, o || t2), o = 0;
|
||||
var u2 = r.__H || (r.__H = { __: [], __h: [] });
|
||||
return n >= u2.__.length && u2.__.push({}), u2.__[n];
|
||||
}
|
||||
function d(n) {
|
||||
return o = 1, h(D, n);
|
||||
}
|
||||
function h(n, u2, i2) {
|
||||
var o2 = p(t++, 2);
|
||||
if (o2.t = n, !o2.__c && (o2.__ = [i2 ? i2(u2) : D(void 0, u2), function(n2) {
|
||||
var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n2);
|
||||
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
||||
}], o2.__c = r, !r.__f)) {
|
||||
var f2 = function(n2, t2, r2) {
|
||||
if (!o2.__c.__H) return true;
|
||||
var u3 = o2.__c.__H.__.filter(function(n3) {
|
||||
return !!n3.__c;
|
||||
});
|
||||
if (u3.every(function(n3) {
|
||||
return !n3.__N;
|
||||
})) return !c2 || c2.call(this, n2, t2, r2);
|
||||
var i3 = o2.__c.props !== n2;
|
||||
return u3.forEach(function(n3) {
|
||||
if (n3.__N) {
|
||||
var t3 = n3.__[0];
|
||||
n3.__ = n3.__N, n3.__N = void 0, t3 !== n3.__[0] && (i3 = true);
|
||||
}
|
||||
}), c2 && c2.call(this, n2, t2, r2) || i3;
|
||||
};
|
||||
r.__f = true;
|
||||
var c2 = r.shouldComponentUpdate, e2 = r.componentWillUpdate;
|
||||
r.componentWillUpdate = function(n2, t2, r2) {
|
||||
if (this.__e) {
|
||||
var u3 = c2;
|
||||
c2 = void 0, f2(n2, t2, r2), c2 = u3;
|
||||
}
|
||||
e2 && e2.call(this, n2, t2, r2);
|
||||
}, r.shouldComponentUpdate = f2;
|
||||
}
|
||||
return o2.__N || o2.__;
|
||||
}
|
||||
function _2(n, u2) {
|
||||
var i2 = p(t++, 4);
|
||||
!c.__s && C(i2.__H, u2) && (i2.__ = n, i2.u = u2, r.__h.push(i2));
|
||||
}
|
||||
function A(n) {
|
||||
return o = 5, T(function() {
|
||||
return { current: n };
|
||||
}, []);
|
||||
}
|
||||
function T(n, r2) {
|
||||
var u2 = p(t++, 7);
|
||||
return C(u2.__H, r2) && (u2.__ = n(), u2.__H = r2, u2.__h = n), u2.__;
|
||||
}
|
||||
function x(n) {
|
||||
var u2 = r.context[n.__c], i2 = p(t++, 9);
|
||||
return i2.c = n, u2 ? (null == i2.__ && (i2.__ = true, u2.sub(r)), u2.props.value) : n.__;
|
||||
}
|
||||
function j() {
|
||||
for (var n; n = f.shift(); ) if (n.__P && n.__H) try {
|
||||
n.__H.__h.forEach(z), n.__H.__h.forEach(B), n.__H.__h = [];
|
||||
} catch (t2) {
|
||||
n.__H.__h = [], c.__e(t2, n.__v);
|
||||
}
|
||||
}
|
||||
c.__b = function(n) {
|
||||
r = null, e && e(n);
|
||||
}, c.__ = function(n, t2) {
|
||||
n && t2.__k && t2.__k.__m && (n.__m = t2.__k.__m), s && s(n, t2);
|
||||
}, c.__r = function(n) {
|
||||
a && a(n), t = 0;
|
||||
var i2 = (r = n.__c).__H;
|
||||
i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n2) {
|
||||
n2.__N && (n2.__ = n2.__N), n2.u = n2.__N = void 0;
|
||||
})) : (i2.__h.forEach(z), i2.__h.forEach(B), i2.__h = [], t = 0)), u = r;
|
||||
}, c.diffed = function(n) {
|
||||
v && v(n);
|
||||
var t2 = n.__c;
|
||||
t2 && t2.__H && (t2.__H.__h.length && (1 !== f.push(t2) && i === c.requestAnimationFrame || ((i = c.requestAnimationFrame) || w)(j)), t2.__H.__.forEach(function(n2) {
|
||||
n2.u && (n2.__H = n2.u), n2.u = void 0;
|
||||
})), u = r = null;
|
||||
}, c.__c = function(n, t2) {
|
||||
t2.some(function(n2) {
|
||||
try {
|
||||
n2.__h.forEach(z), n2.__h = n2.__h.filter(function(n3) {
|
||||
return !n3.__ || B(n3);
|
||||
});
|
||||
} catch (r2) {
|
||||
t2.some(function(n3) {
|
||||
n3.__h && (n3.__h = []);
|
||||
}), t2 = [], c.__e(r2, n2.__v);
|
||||
}
|
||||
}), l2 && l2(n, t2);
|
||||
}, c.unmount = function(n) {
|
||||
m && m(n);
|
||||
var t2, r2 = n.__c;
|
||||
r2 && r2.__H && (r2.__H.__.forEach(function(n2) {
|
||||
try {
|
||||
z(n2);
|
||||
} catch (n3) {
|
||||
t2 = n3;
|
||||
}
|
||||
}), r2.__H = void 0, t2 && c.__e(t2, r2.__v));
|
||||
};
|
||||
var k = "function" == typeof requestAnimationFrame;
|
||||
function w(n) {
|
||||
var t2, r2 = function() {
|
||||
clearTimeout(u2), k && cancelAnimationFrame(t2), setTimeout(n);
|
||||
}, u2 = setTimeout(r2, 100);
|
||||
k && (t2 = requestAnimationFrame(r2));
|
||||
}
|
||||
function z(n) {
|
||||
var t2 = r, u2 = n.__c;
|
||||
"function" == typeof u2 && (n.__c = void 0, u2()), r = t2;
|
||||
}
|
||||
function B(n) {
|
||||
var t2 = r;
|
||||
n.__c = n.__(), r = t2;
|
||||
}
|
||||
function C(n, t2) {
|
||||
return !n || n.length !== t2.length || t2.some(function(t3, r2) {
|
||||
return t3 !== n[r2];
|
||||
});
|
||||
}
|
||||
function D(n, t2) {
|
||||
return "function" == typeof t2 ? t2(n) : t2;
|
||||
}
|
||||
|
||||
// node_modules/preact-iso/src/router.js
|
||||
var push;
|
||||
var scope;
|
||||
var UPDATE = (state, url) => {
|
||||
push = void 0;
|
||||
if (url && url.type === "click") {
|
||||
if (url.ctrlKey || url.metaKey || url.altKey || url.shiftKey || url.button !== 0) {
|
||||
return state;
|
||||
}
|
||||
const link = url.target.closest("a[href]"), href = link && link.getAttribute("href");
|
||||
if (!link || link.origin != location.origin || /^#/.test(href) || !/^(_?self)?$/i.test(link.target) || scope && (typeof scope == "string" ? !href.startsWith(scope) : !scope.test(href))) {
|
||||
return state;
|
||||
}
|
||||
push = true;
|
||||
url.preventDefault();
|
||||
url = link.href.replace(location.origin, "");
|
||||
} else if (typeof url === "string") {
|
||||
push = true;
|
||||
} else if (url && url.url) {
|
||||
push = !url.replace;
|
||||
url = url.url;
|
||||
} else {
|
||||
url = location.pathname + location.search;
|
||||
}
|
||||
if (push === true) history.pushState(null, "", url);
|
||||
else if (push === false) history.replaceState(null, "", url);
|
||||
return url;
|
||||
};
|
||||
var exec = (url, route, matches = {}) => {
|
||||
url = url.split("/").filter(Boolean);
|
||||
route = (route || "").split("/").filter(Boolean);
|
||||
if (!matches.params) matches.params = {};
|
||||
for (let i2 = 0, val, rest; i2 < Math.max(url.length, route.length); i2++) {
|
||||
let [, m2, param, flag] = (route[i2] || "").match(/^(:?)(.*?)([+*?]?)$/);
|
||||
val = url[i2];
|
||||
if (!m2 && param == val) continue;
|
||||
if (!m2 && val && flag == "*") {
|
||||
matches.rest = "/" + url.slice(i2).map(decodeURIComponent).join("/");
|
||||
break;
|
||||
}
|
||||
if (!m2 || !val && flag != "?" && flag != "*") return;
|
||||
rest = flag == "+" || flag == "*";
|
||||
if (rest) val = url.slice(i2).map(decodeURIComponent).join("/") || void 0;
|
||||
else if (val) val = decodeURIComponent(val);
|
||||
matches.params[param] = val;
|
||||
if (!(param in matches)) matches[param] = val;
|
||||
if (rest) break;
|
||||
}
|
||||
return matches;
|
||||
};
|
||||
function LocationProvider(props) {
|
||||
const [url, route] = h(UPDATE, props.url || location.pathname + location.search);
|
||||
if (props.scope) scope = props.scope;
|
||||
const wasPush = push === true;
|
||||
const value = T(() => {
|
||||
const u2 = new URL(url, location.origin);
|
||||
const path = u2.pathname.replace(/\/+$/g, "") || "/";
|
||||
return {
|
||||
url,
|
||||
path,
|
||||
query: Object.fromEntries(u2.searchParams),
|
||||
route: (url2, replace) => route({ url: url2, replace }),
|
||||
wasPush
|
||||
};
|
||||
}, [url]);
|
||||
_2(() => {
|
||||
addEventListener("click", route);
|
||||
addEventListener("popstate", route);
|
||||
return () => {
|
||||
removeEventListener("click", route);
|
||||
removeEventListener("popstate", route);
|
||||
};
|
||||
}, []);
|
||||
return _(LocationProvider.ctx.Provider, { value }, props.children);
|
||||
}
|
||||
var RESOLVED = Promise.resolve();
|
||||
function Router(props) {
|
||||
const [c2, update] = h((c3) => c3 + 1, 0);
|
||||
const { url, query, wasPush, path } = useLocation();
|
||||
const { rest = path, params = {} } = x(RouteContext);
|
||||
const isLoading = A(false);
|
||||
const prevRoute = A(path);
|
||||
const count = A(0);
|
||||
const cur = (
|
||||
/** @type {RefObject<VNode<any>>} */
|
||||
A()
|
||||
);
|
||||
const prev = (
|
||||
/** @type {RefObject<VNode<any>>} */
|
||||
A()
|
||||
);
|
||||
const pendingBase = (
|
||||
/** @type {RefObject<Element | Text>} */
|
||||
A()
|
||||
);
|
||||
const hasEverCommitted = A(false);
|
||||
const didSuspend = (
|
||||
/** @type {RefObject<boolean>} */
|
||||
A()
|
||||
);
|
||||
didSuspend.current = false;
|
||||
let pathRoute, defaultRoute, matchProps;
|
||||
H(props.children).some((vnode) => {
|
||||
const matches = exec(rest, vnode.props.path, matchProps = { ...vnode.props, path: rest, query, params, rest: "" });
|
||||
if (matches) return pathRoute = J(vnode, matchProps);
|
||||
if (vnode.props.default) defaultRoute = J(vnode, matchProps);
|
||||
});
|
||||
let incoming = pathRoute || defaultRoute;
|
||||
const isHydratingSuspense = cur.current && cur.current.__u & MODE_HYDRATE && cur.current.__u & MODE_SUSPENDED;
|
||||
const isHydratingBool = cur.current && cur.current.__h;
|
||||
const routeChanged = T(() => {
|
||||
prev.current = cur.current;
|
||||
cur.current = /** @type {VNode<any>} */
|
||||
_(RouteContext.Provider, { value: matchProps }, incoming);
|
||||
const outgoing = prev.current && prev.current.props.children;
|
||||
if (!outgoing || !incoming || incoming.type !== outgoing.type || incoming.props.component !== outgoing.props.component) {
|
||||
if (this.__v && this.__v.__k) this.__v.__k.reverse();
|
||||
count.current++;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}, [url, JSON.stringify(matchProps)]);
|
||||
if (isHydratingSuspense) {
|
||||
cur.current.__u |= MODE_HYDRATE;
|
||||
cur.current.__u |= MODE_SUSPENDED;
|
||||
} else if (isHydratingBool) {
|
||||
cur.current.__h = true;
|
||||
}
|
||||
const p2 = prev.current;
|
||||
prev.current = null;
|
||||
this.__c = (e2, suspendedVNode) => {
|
||||
didSuspend.current = true;
|
||||
prev.current = p2;
|
||||
if (props.onLoadStart) props.onLoadStart(url);
|
||||
isLoading.current = true;
|
||||
let c3 = count.current;
|
||||
e2.then(() => {
|
||||
if (c3 !== count.current) return;
|
||||
prev.current = null;
|
||||
if (cur.current) {
|
||||
if (suspendedVNode.__h) {
|
||||
cur.current.__h = suspendedVNode.__h;
|
||||
}
|
||||
if (suspendedVNode.__u & MODE_SUSPENDED) {
|
||||
cur.current.__u |= MODE_SUSPENDED;
|
||||
}
|
||||
if (suspendedVNode.__u & MODE_HYDRATE) {
|
||||
cur.current.__u |= MODE_HYDRATE;
|
||||
}
|
||||
}
|
||||
RESOLVED.then(update);
|
||||
});
|
||||
};
|
||||
_2(() => {
|
||||
const currentDom = this.__v && this.__v.__e;
|
||||
if (didSuspend.current) {
|
||||
if (!hasEverCommitted.current && !pendingBase.current) {
|
||||
pendingBase.current = currentDom;
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (!hasEverCommitted.current && pendingBase.current) {
|
||||
if (pendingBase.current !== currentDom) pendingBase.current.remove();
|
||||
pendingBase.current = null;
|
||||
}
|
||||
hasEverCommitted.current = true;
|
||||
if (prevRoute.current !== path) {
|
||||
if (wasPush) scrollTo(0, 0);
|
||||
if (props.onRouteChange) props.onRouteChange(url);
|
||||
prevRoute.current = path;
|
||||
}
|
||||
if (props.onLoadEnd && isLoading.current) props.onLoadEnd(url);
|
||||
isLoading.current = false;
|
||||
}, [path, wasPush, c2]);
|
||||
return routeChanged ? [_(RenderRef, { r: cur }), _(RenderRef, { r: prev })] : _(RenderRef, { r: cur });
|
||||
}
|
||||
var MODE_HYDRATE = 1 << 5;
|
||||
var MODE_SUSPENDED = 1 << 7;
|
||||
var RenderRef = ({ r: r2 }) => r2.current;
|
||||
Router.Provider = LocationProvider;
|
||||
LocationProvider.ctx = K(
|
||||
/** @type {import('./router.d.ts').LocationHook & { wasPush: boolean }} */
|
||||
{}
|
||||
);
|
||||
var RouteContext = K(
|
||||
/** @type {import('./router.d.ts').RouteHook & { rest: string }} */
|
||||
{}
|
||||
);
|
||||
var Route = (props) => _(props.component, props);
|
||||
var useLocation = () => x(LocationProvider.ctx);
|
||||
var useRoute = () => x(RouteContext);
|
||||
|
||||
// node_modules/preact-iso/src/lazy.js
|
||||
var oldDiff = l.__b;
|
||||
l.__b = (vnode) => {
|
||||
if (vnode.type && vnode.type._forwarded && vnode.ref) {
|
||||
vnode.props.ref = vnode.ref;
|
||||
vnode.ref = null;
|
||||
}
|
||||
if (oldDiff) oldDiff(vnode);
|
||||
};
|
||||
function lazy(load) {
|
||||
let p2, c2;
|
||||
const loadModule = () => load().then((m2) => c2 = m2 && m2.default || m2);
|
||||
const LazyComponent = (props) => {
|
||||
const [, update] = d(0);
|
||||
const r2 = A(c2);
|
||||
if (!p2) p2 = loadModule();
|
||||
if (c2 !== void 0) return _(c2, props);
|
||||
if (!r2.current) r2.current = p2.then(() => update(1));
|
||||
throw p2;
|
||||
};
|
||||
LazyComponent.preload = () => {
|
||||
if (!p2) p2 = loadModule();
|
||||
return p2;
|
||||
};
|
||||
LazyComponent._forwarded = true;
|
||||
return LazyComponent;
|
||||
}
|
||||
var oldCatchError = l.__e;
|
||||
l.__e = (err, newVNode, oldVNode) => {
|
||||
if (err && err.then) {
|
||||
let v2 = newVNode;
|
||||
while (v2 = v2.__) {
|
||||
if (v2.__c && v2.__c.__c) {
|
||||
if (newVNode.__e == null) {
|
||||
newVNode.__c.__z = [oldVNode.__e];
|
||||
newVNode.__e = oldVNode.__e;
|
||||
newVNode.__k = oldVNode.__k;
|
||||
}
|
||||
if (!newVNode.__k) newVNode.__k = [];
|
||||
return v2.__c.__c(err, newVNode);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (oldCatchError) oldCatchError(err, newVNode, oldVNode);
|
||||
};
|
||||
function ErrorBoundary(props) {
|
||||
this.__c = childDidSuspend;
|
||||
this.componentDidCatch = props.onError;
|
||||
return props.children;
|
||||
}
|
||||
function childDidSuspend(err) {
|
||||
err.then(() => this.forceUpdate());
|
||||
}
|
||||
|
||||
// node_modules/preact-iso/src/hydrate.js
|
||||
var initialized;
|
||||
function hydrate(jsx, parent) {
|
||||
if (typeof window === "undefined") return;
|
||||
let isodata = document.querySelector("script[type=isodata]");
|
||||
parent = parent || isodata && isodata.parentNode || document.body;
|
||||
if (!initialized && isodata) {
|
||||
G(jsx, parent);
|
||||
} else {
|
||||
E(jsx, parent);
|
||||
}
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
// node_modules/preact-iso/src/index.js
|
||||
function prerender(vnode, options) {
|
||||
return import("./prerender-2A2BKSYN.js").then((m2) => m2.default(vnode, options));
|
||||
}
|
||||
export {
|
||||
ErrorBoundary,
|
||||
LocationProvider,
|
||||
Route,
|
||||
Router,
|
||||
hydrate,
|
||||
lazy,
|
||||
prerender,
|
||||
useLocation,
|
||||
useRoute
|
||||
};
|
||||
//# sourceMappingURL=preact-iso.js.map
|
||||
7
.vite/deps/preact-iso.js.map
Normal file
7
.vite/deps/preact-iso.js.map
Normal file
File diff suppressed because one or more lines are too long
28
.vite/deps/preact.js
Normal file
28
.vite/deps/preact.js
Normal file
@@ -0,0 +1,28 @@
|
||||
import {
|
||||
E,
|
||||
G,
|
||||
H,
|
||||
J,
|
||||
K,
|
||||
_,
|
||||
b,
|
||||
k,
|
||||
l,
|
||||
t,
|
||||
x
|
||||
} from "./chunk-WFLWNDNR.js";
|
||||
import "./chunk-5WRI5ZAA.js";
|
||||
export {
|
||||
x as Component,
|
||||
k as Fragment,
|
||||
J as cloneElement,
|
||||
K as createContext,
|
||||
_ as createElement,
|
||||
b as createRef,
|
||||
_ as h,
|
||||
G as hydrate,
|
||||
t as isValidElement,
|
||||
l as options,
|
||||
E as render,
|
||||
H as toChildArray
|
||||
};
|
||||
7
.vite/deps/preact.js.map
Normal file
7
.vite/deps/preact.js.map
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
392
.vite/deps/prerender-2A2BKSYN.js
Normal file
392
.vite/deps/prerender-2A2BKSYN.js
Normal file
@@ -0,0 +1,392 @@
|
||||
import {
|
||||
J,
|
||||
_,
|
||||
k,
|
||||
l
|
||||
} from "./chunk-WFLWNDNR.js";
|
||||
import "./chunk-5WRI5ZAA.js";
|
||||
|
||||
// node_modules/preact-render-to-string/dist/index.module.js
|
||||
var n = /[\s\n\\/='"\0<>]/;
|
||||
var o = /^(xlink|xmlns|xml)([A-Z])/;
|
||||
var i = /^(?:accessK|auto[A-Z]|cell|ch|col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|src[A-Z]|tabI|useM|item[A-Z])/;
|
||||
var a = /^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/;
|
||||
var c = /* @__PURE__ */ new Set(["draggable", "spellcheck"]);
|
||||
var s = /["&<]/;
|
||||
function l2(e) {
|
||||
if (0 === e.length || false === s.test(e)) return e;
|
||||
for (var t = 0, r = 0, n2 = "", o2 = ""; r < e.length; r++) {
|
||||
switch (e.charCodeAt(r)) {
|
||||
case 34:
|
||||
o2 = """;
|
||||
break;
|
||||
case 38:
|
||||
o2 = "&";
|
||||
break;
|
||||
case 60:
|
||||
o2 = "<";
|
||||
break;
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
r !== t && (n2 += e.slice(t, r)), n2 += o2, t = r + 1;
|
||||
}
|
||||
return r !== t && (n2 += e.slice(t, r)), n2;
|
||||
}
|
||||
var u = {};
|
||||
var f = /* @__PURE__ */ new Set(["animation-iteration-count", "border-image-outset", "border-image-slice", "border-image-width", "box-flex", "box-flex-group", "box-ordinal-group", "column-count", "fill-opacity", "flex", "flex-grow", "flex-negative", "flex-order", "flex-positive", "flex-shrink", "flood-opacity", "font-weight", "grid-column", "grid-row", "line-clamp", "line-height", "opacity", "order", "orphans", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-miterlimit", "stroke-opacity", "stroke-width", "tab-size", "widows", "z-index", "zoom"]);
|
||||
var p = /[A-Z]/g;
|
||||
function h(e) {
|
||||
var t = "";
|
||||
for (var r in e) {
|
||||
var n2 = e[r];
|
||||
if (null != n2 && "" !== n2) {
|
||||
var o2 = "-" == r[0] ? r : u[r] || (u[r] = r.replace(p, "-$&").toLowerCase()), i2 = ";";
|
||||
"number" != typeof n2 || o2.startsWith("--") || f.has(o2) || (i2 = "px;"), t = t + o2 + ":" + n2 + i2;
|
||||
}
|
||||
}
|
||||
return t || void 0;
|
||||
}
|
||||
function d() {
|
||||
this.__d = true;
|
||||
}
|
||||
function v(e, t) {
|
||||
return { __v: e, context: t, props: e.props, setState: d, forceUpdate: d, __d: true, __h: new Array(0) };
|
||||
}
|
||||
function _2(e, t, r) {
|
||||
if (!e.s) {
|
||||
if (r instanceof m) {
|
||||
if (!r.s) return void (r.o = _2.bind(null, e, t));
|
||||
1 & t && (t = r.s), r = r.v;
|
||||
}
|
||||
if (r && r.then) return void r.then(_2.bind(null, e, t), _2.bind(null, e, 2));
|
||||
e.s = t, e.v = r;
|
||||
const n2 = e.o;
|
||||
n2 && n2(e);
|
||||
}
|
||||
}
|
||||
var m = function() {
|
||||
function e() {
|
||||
}
|
||||
return e.prototype.then = function(t, r) {
|
||||
var n2 = new e(), o2 = this.s;
|
||||
if (o2) {
|
||||
var i2 = 1 & o2 ? t : r;
|
||||
if (i2) {
|
||||
try {
|
||||
_2(n2, 1, i2(this.v));
|
||||
} catch (e2) {
|
||||
_2(n2, 2, e2);
|
||||
}
|
||||
return n2;
|
||||
}
|
||||
return this;
|
||||
}
|
||||
return this.o = function(e2) {
|
||||
try {
|
||||
var o3 = e2.v;
|
||||
1 & e2.s ? _2(n2, 1, t ? t(o3) : o3) : r ? _2(n2, 1, r(o3)) : _2(n2, 2, o3);
|
||||
} catch (e3) {
|
||||
_2(n2, 2, e3);
|
||||
}
|
||||
}, n2;
|
||||
}, e;
|
||||
}();
|
||||
function y(e) {
|
||||
return e instanceof m && 1 & e.s;
|
||||
}
|
||||
function g(e, t, r) {
|
||||
for (var n2; ; ) {
|
||||
var o2 = e();
|
||||
if (y(o2) && (o2 = o2.v), !o2) return i2;
|
||||
if (o2.then) {
|
||||
n2 = 0;
|
||||
break;
|
||||
}
|
||||
var i2 = r();
|
||||
if (i2 && i2.then) {
|
||||
if (!y(i2)) {
|
||||
n2 = 1;
|
||||
break;
|
||||
}
|
||||
i2 = i2.s;
|
||||
}
|
||||
if (t) {
|
||||
var a2 = t();
|
||||
if (a2 && a2.then && !y(a2)) {
|
||||
n2 = 2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
var c2 = new m(), s2 = _2.bind(null, c2, 2);
|
||||
return (0 === n2 ? o2.then(u2) : 1 === n2 ? i2.then(l3) : a2.then(f2)).then(void 0, s2), c2;
|
||||
function l3(n3) {
|
||||
i2 = n3;
|
||||
do {
|
||||
if (t && (a2 = t()) && a2.then && !y(a2)) return void a2.then(f2).then(void 0, s2);
|
||||
if (!(o2 = e()) || y(o2) && !o2.v) return void _2(c2, 1, i2);
|
||||
if (o2.then) return void o2.then(u2).then(void 0, s2);
|
||||
y(i2 = r()) && (i2 = i2.v);
|
||||
} while (!i2 || !i2.then);
|
||||
i2.then(l3).then(void 0, s2);
|
||||
}
|
||||
function u2(e2) {
|
||||
e2 ? (i2 = r()) && i2.then ? i2.then(l3).then(void 0, s2) : l3(i2) : _2(c2, 1, i2);
|
||||
}
|
||||
function f2() {
|
||||
(o2 = e()) ? o2.then ? o2.then(u2).then(void 0, s2) : u2(o2) : _2(c2, 1, i2);
|
||||
}
|
||||
}
|
||||
function b(e, t) {
|
||||
try {
|
||||
var r = e();
|
||||
} catch (e2) {
|
||||
return t(true, e2);
|
||||
}
|
||||
return r && r.then ? r.then(t.bind(null, false), t.bind(null, true)) : t(false, r);
|
||||
}
|
||||
var k2;
|
||||
var w;
|
||||
var x;
|
||||
var C;
|
||||
var A = function(n2, o2) {
|
||||
try {
|
||||
var i2 = l.__s;
|
||||
l.__s = true, k2 = l.__b, w = l.diffed, x = l.__r, C = l.unmount;
|
||||
var a2 = _(k, null);
|
||||
return a2.__k = [n2], Promise.resolve(b(function() {
|
||||
return Promise.resolve(U(n2, o2 || S, false, void 0, a2, true, void 0)).then(function(e) {
|
||||
var t, r = function() {
|
||||
if (E(e)) {
|
||||
var r2 = function() {
|
||||
var e2 = o3.join(j);
|
||||
return t = 1, e2;
|
||||
}, n3 = 0, o3 = e, i3 = g(function() {
|
||||
return !!o3.some(function(e2) {
|
||||
return e2 && "function" == typeof e2.then;
|
||||
}) && n3++ < 25;
|
||||
}, void 0, function() {
|
||||
return Promise.resolve(Promise.all(o3)).then(function(e2) {
|
||||
o3 = e2.flat();
|
||||
});
|
||||
});
|
||||
return i3 && i3.then ? i3.then(r2) : r2();
|
||||
}
|
||||
}();
|
||||
return r && r.then ? r.then(function(r2) {
|
||||
return t ? r2 : e;
|
||||
}) : t ? r : e;
|
||||
});
|
||||
}, function(t, r) {
|
||||
if (l.__c && l.__c(n2, L), l.__s = i2, L.length = 0, t) throw r;
|
||||
return r;
|
||||
}));
|
||||
} catch (e) {
|
||||
return Promise.reject(e);
|
||||
}
|
||||
};
|
||||
var S = {};
|
||||
var L = [];
|
||||
var E = Array.isArray;
|
||||
var T = Object.assign;
|
||||
var j = "";
|
||||
function P(e, t) {
|
||||
var r, n2 = e.type, o2 = true;
|
||||
return e.__c ? (o2 = false, (r = e.__c).state = r.__s) : r = new n2(e.props, t), e.__c = r, r.__v = e, r.props = e.props, r.context = t, r.__d = true, null == r.state && (r.state = S), null == r.__s && (r.__s = r.state), n2.getDerivedStateFromProps ? r.state = T({}, r.state, n2.getDerivedStateFromProps(r.props, r.state)) : o2 && r.componentWillMount ? (r.componentWillMount(), r.state = r.__s !== r.state ? r.__s : r.state) : !o2 && r.componentWillUpdate && r.componentWillUpdate(), x && x(e), r.render(r.props, r.state, t);
|
||||
}
|
||||
function U(t, s2, u2, f2, p2, d2, _3) {
|
||||
if (null == t || true === t || false === t || t === j) return j;
|
||||
var m2 = typeof t;
|
||||
if ("object" != m2) return "function" == m2 ? j : "string" == m2 ? l2(t) : t + j;
|
||||
if (E(t)) {
|
||||
var y2, g2 = j;
|
||||
p2.__k = t;
|
||||
for (var b2 = t.length, A2 = 0; A2 < b2; A2++) {
|
||||
var L2 = t[A2];
|
||||
if (null != L2 && "boolean" != typeof L2) {
|
||||
var D, F = U(L2, s2, u2, f2, p2, d2, _3);
|
||||
"string" == typeof F ? g2 += F : (y2 || (y2 = new Array(b2)), g2 && y2.push(g2), g2 = j, E(F) ? (D = y2).push.apply(D, F) : y2.push(F));
|
||||
}
|
||||
}
|
||||
return y2 ? (g2 && y2.push(g2), y2) : g2;
|
||||
}
|
||||
if (void 0 !== t.constructor) return j;
|
||||
t.__ = p2, k2 && k2(t);
|
||||
var M = t.type, W = t.props;
|
||||
if ("function" == typeof M) {
|
||||
var $, z, H, N = s2;
|
||||
if (M === k) {
|
||||
if ("tpl" in W) {
|
||||
for (var q = j, B = 0; B < W.tpl.length; B++) if (q += W.tpl[B], W.exprs && B < W.exprs.length) {
|
||||
var I = W.exprs[B];
|
||||
if (null == I) continue;
|
||||
"object" != typeof I || void 0 !== I.constructor && !E(I) ? q += I : q += U(I, s2, u2, f2, t, d2, _3);
|
||||
}
|
||||
return q;
|
||||
}
|
||||
if ("UNSTABLE_comment" in W) return "<!--" + l2(W.UNSTABLE_comment) + "-->";
|
||||
z = W.children;
|
||||
} else {
|
||||
if (null != ($ = M.contextType)) {
|
||||
var O = s2[$.__c];
|
||||
N = O ? O.props.value : $.__;
|
||||
}
|
||||
var R = M.prototype && "function" == typeof M.prototype.render;
|
||||
if (R) z = P(t, N), H = t.__c;
|
||||
else {
|
||||
t.__c = H = v(t, N);
|
||||
for (var V = 0; H.__d && V++ < 25; ) H.__d = false, x && x(t), z = M.call(H, W, N);
|
||||
H.__d = true;
|
||||
}
|
||||
if (null != H.getChildContext && (s2 = T({}, s2, H.getChildContext())), R && l.errorBoundaries && (M.getDerivedStateFromError || H.componentDidCatch)) {
|
||||
z = null != z && z.type === k && null == z.key && null == z.props.tpl ? z.props.children : z;
|
||||
try {
|
||||
return U(z, s2, u2, f2, t, d2, _3);
|
||||
} catch (e) {
|
||||
return M.getDerivedStateFromError && (H.__s = M.getDerivedStateFromError(e)), H.componentDidCatch && H.componentDidCatch(e, S), H.__d ? (z = P(t, s2), null != (H = t.__c).getChildContext && (s2 = T({}, s2, H.getChildContext())), U(z = null != z && z.type === k && null == z.key && null == z.props.tpl ? z.props.children : z, s2, u2, f2, t, d2, _3)) : j;
|
||||
} finally {
|
||||
w && w(t), C && C(t);
|
||||
}
|
||||
}
|
||||
}
|
||||
z = null != z && z.type === k && null == z.key && null == z.props.tpl ? z.props.children : z;
|
||||
try {
|
||||
var K = U(z, s2, u2, f2, t, d2, _3);
|
||||
return w && w(t), l.unmount && l.unmount(t), K;
|
||||
} catch (r) {
|
||||
if (!d2 && _3 && _3.onError) {
|
||||
var G = _3.onError(r, t, function(e, t2) {
|
||||
return U(e, s2, u2, f2, t2, d2, _3);
|
||||
});
|
||||
if (void 0 !== G) return G;
|
||||
var J2 = l.__e;
|
||||
return J2 && J2(r, t), j;
|
||||
}
|
||||
if (!d2) throw r;
|
||||
if (!r || "function" != typeof r.then) throw r;
|
||||
return r.then(function e() {
|
||||
try {
|
||||
return U(z, s2, u2, f2, t, d2, _3);
|
||||
} catch (r2) {
|
||||
if (!r2 || "function" != typeof r2.then) throw r2;
|
||||
return r2.then(function() {
|
||||
return U(z, s2, u2, f2, t, d2, _3);
|
||||
}, e);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
var Q, X = "<" + M, Y = j;
|
||||
for (var ee in W) {
|
||||
var te = W[ee];
|
||||
if ("function" != typeof te || "class" === ee || "className" === ee) {
|
||||
switch (ee) {
|
||||
case "children":
|
||||
Q = te;
|
||||
continue;
|
||||
case "key":
|
||||
case "ref":
|
||||
case "__self":
|
||||
case "__source":
|
||||
continue;
|
||||
case "htmlFor":
|
||||
if ("for" in W) continue;
|
||||
ee = "for";
|
||||
break;
|
||||
case "className":
|
||||
if ("class" in W) continue;
|
||||
ee = "class";
|
||||
break;
|
||||
case "defaultChecked":
|
||||
ee = "checked";
|
||||
break;
|
||||
case "defaultSelected":
|
||||
ee = "selected";
|
||||
break;
|
||||
case "defaultValue":
|
||||
case "value":
|
||||
switch (ee = "value", M) {
|
||||
case "textarea":
|
||||
Q = te;
|
||||
continue;
|
||||
case "select":
|
||||
f2 = te;
|
||||
continue;
|
||||
case "option":
|
||||
f2 != te || "selected" in W || (X += " selected");
|
||||
}
|
||||
break;
|
||||
case "dangerouslySetInnerHTML":
|
||||
Y = te && te.__html;
|
||||
continue;
|
||||
case "style":
|
||||
"object" == typeof te && (te = h(te));
|
||||
break;
|
||||
case "acceptCharset":
|
||||
ee = "accept-charset";
|
||||
break;
|
||||
case "httpEquiv":
|
||||
ee = "http-equiv";
|
||||
break;
|
||||
default:
|
||||
if (o.test(ee)) ee = ee.replace(o, "$1:$2").toLowerCase();
|
||||
else {
|
||||
if (n.test(ee)) continue;
|
||||
"-" !== ee[4] && !c.has(ee) || null == te ? u2 ? a.test(ee) && (ee = "panose1" === ee ? "panose-1" : ee.replace(/([A-Z])/g, "-$1").toLowerCase()) : i.test(ee) && (ee = ee.toLowerCase()) : te += j;
|
||||
}
|
||||
}
|
||||
null != te && false !== te && (X = true === te || te === j ? X + " " + ee : X + " " + ee + '="' + ("string" == typeof te ? l2(te) : te + j) + '"');
|
||||
}
|
||||
}
|
||||
if (n.test(M)) throw new Error(M + " is not a valid HTML tag name in " + X + ">");
|
||||
if (Y || ("string" == typeof Q ? Y = l2(Q) : null != Q && false !== Q && true !== Q && (Y = U(Q, s2, "svg" === M || "foreignObject" !== M && u2, f2, t, d2, _3))), w && w(t), C && C(t), !Y && Z.has(M)) return X + "/>";
|
||||
var re = "</" + M + ">", ne = X + ">";
|
||||
return E(Y) ? [ne].concat(Y, [re]) : "string" != typeof Y ? [ne, Y, re] : ne + Y + re;
|
||||
}
|
||||
var Z = /* @__PURE__ */ new Set(["area", "base", "br", "col", "command", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]);
|
||||
|
||||
// node_modules/preact-iso/src/prerender.js
|
||||
var vnodeHook;
|
||||
var old = l.vnode;
|
||||
l.vnode = (vnode) => {
|
||||
if (old) old(vnode);
|
||||
if (vnodeHook) vnodeHook(vnode);
|
||||
};
|
||||
async function prerender(vnode, options) {
|
||||
options = options || {};
|
||||
const props = options.props;
|
||||
if (typeof vnode === "function") {
|
||||
vnode = _(vnode, props);
|
||||
} else if (props) {
|
||||
vnode = J(vnode, props);
|
||||
}
|
||||
let links = /* @__PURE__ */ new Set();
|
||||
vnodeHook = ({ type, props: props2 }) => {
|
||||
if (type === "a" && props2 && props2.href && (!props2.target || props2.target === "_self")) {
|
||||
links.add(props2.href);
|
||||
}
|
||||
};
|
||||
try {
|
||||
let html = await A(vnode);
|
||||
html += `<script type="isodata"><\/script>`;
|
||||
return { html, links };
|
||||
} finally {
|
||||
vnodeHook = null;
|
||||
}
|
||||
}
|
||||
function locationStub(path) {
|
||||
globalThis.location = {};
|
||||
const u2 = new URL(path, "http://localhost");
|
||||
for (const i2 in u2) {
|
||||
try {
|
||||
globalThis.location[i2] = /to[A-Z]/.test(i2) ? u2[i2].bind(u2) : String(u2[i2]);
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
}
|
||||
export {
|
||||
prerender as default,
|
||||
locationStub
|
||||
};
|
||||
//# sourceMappingURL=prerender-2A2BKSYN.js.map
|
||||
7
.vite/deps/prerender-2A2BKSYN.js.map
Normal file
7
.vite/deps/prerender-2A2BKSYN.js.map
Normal file
File diff suppressed because one or more lines are too long
5
.vite/deps/react.js
vendored
Normal file
5
.vite/deps/react.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
import {
|
||||
require_react
|
||||
} from "./chunk-KS2M7ZJI.js";
|
||||
import "./chunk-5WRI5ZAA.js";
|
||||
export default require_react();
|
||||
7
.vite/deps/react.js.map
Normal file
7
.vite/deps/react.js.map
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": [],
|
||||
"sourcesContent": [],
|
||||
"mappings": "",
|
||||
"names": []
|
||||
}
|
||||
5248
.vite/deps/swiper_modules.js
Normal file
5248
.vite/deps/swiper_modules.js
Normal file
File diff suppressed because it is too large
Load Diff
7
.vite/deps/swiper_modules.js.map
Normal file
7
.vite/deps/swiper_modules.js.map
Normal file
File diff suppressed because one or more lines are too long
4561
.vite/deps/swiper_react.js
Normal file
4561
.vite/deps/swiper_react.js
Normal file
File diff suppressed because it is too large
Load Diff
7
.vite/deps/swiper_react.js.map
Normal file
7
.vite/deps/swiper_react.js.map
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user