gitxp 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/.output/nitro.json +17 -0
  2. package/.output/public/assets/index-BGHvBNtP.js +11 -0
  3. package/.output/public/assets/routes-DuE8S6pX.js +60 -0
  4. package/.output/public/assets/styles-D5xbQNYu.css +1 -0
  5. package/.output/server/_chunks/ssr-renderer.mjs +26 -0
  6. package/.output/server/_libs/@floating-ui/core+[...].mjs +671 -0
  7. package/.output/server/_libs/@floating-ui/dom+[...].mjs +649 -0
  8. package/.output/server/_libs/@floating-ui/react-dom+[...].mjs +856 -0
  9. package/.output/server/_libs/@radix-ui/react-arrow+[...].mjs +258 -0
  10. package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +1862 -0
  11. package/.output/server/_libs/@radix-ui/react-popper+[...].mjs +320 -0
  12. package/.output/server/_libs/@radix-ui/react-tooltip+[...].mjs +534 -0
  13. package/.output/server/_libs/@tanstack/db+[...].mjs +14680 -0
  14. package/.output/server/_libs/@tanstack/react-router+[...].mjs +14563 -0
  15. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +126 -0
  16. package/.output/server/_libs/@tanstack/router-core+[...].mjs +3636 -0
  17. package/.output/server/_libs/class-variance-authority+clsx.mjs +69 -0
  18. package/.output/server/_libs/cmdk.mjs +504 -0
  19. package/.output/server/_libs/h3+rou3+srvx.mjs +1361 -0
  20. package/.output/server/_libs/h3-v2.mjs +285 -0
  21. package/.output/server/_libs/lucide-react.mjs +158 -0
  22. package/.output/server/_libs/radix-ui__primitive.mjs +44 -0
  23. package/.output/server/_libs/radix-ui__react-context.mjs +108 -0
  24. package/.output/server/_libs/tailwind-merge.mjs +3380 -0
  25. package/.output/server/_libs/tanstack__history.mjs +384 -0
  26. package/.output/server/_libs/tanstack__query-core.mjs +2225 -0
  27. package/.output/server/_libs/tanstack__react-db.mjs +242 -0
  28. package/.output/server/_libs/tanstack__react-query.mjs +140 -0
  29. package/.output/server/_libs/ufo.mjs +64 -0
  30. package/.output/server/_runtime.mjs +35 -0
  31. package/.output/server/_ssr/empty-plugin-adapters-D9UWiqvJ.mjs +5 -0
  32. package/.output/server/_ssr/events-BNrmOvgU.mjs +13 -0
  33. package/.output/server/_ssr/notifications-DUoENv6E.mjs +514 -0
  34. package/.output/server/_ssr/router-DsUHD4bT.mjs +179 -0
  35. package/.output/server/_ssr/routes-DIFfr242.mjs +982 -0
  36. package/.output/server/_ssr/ssr.mjs +1854 -0
  37. package/.output/server/_ssr/start-5Z2QO8AU.mjs +4 -0
  38. package/.output/server/_tanstack-start-manifest_v-CrD0YpZr.mjs +20 -0
  39. package/.output/server/index.mjs +310 -0
  40. package/.output/server/node_modules/tslib/modules/index.js +70 -0
  41. package/.output/server/node_modules/tslib/modules/package.json +3 -0
  42. package/.output/server/node_modules/tslib/package.json +47 -0
  43. package/.output/server/node_modules/tslib/tslib.js +484 -0
  44. package/.output/server/package.json +9 -0
  45. package/LICENSE +21 -0
  46. package/README.md +325 -0
  47. package/bin/gitxp.js +85 -0
  48. package/package.json +92 -0
@@ -0,0 +1,856 @@
1
+ import { i as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
2
+ import { a as hide$1, c as shift$1, i as flip$1, l as size$1, o as limitShift$1, r as computePosition, s as offset$1, t as arrow$2 } from "./dom+[...].mjs";
3
+ //#region node_modules/react/cjs/react.production.js
4
+ /**
5
+ * @license React
6
+ * react.production.js
7
+ *
8
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var require_react_production = /* @__PURE__ */ __commonJSMin(((exports) => {
14
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element");
15
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
16
+ var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
17
+ var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
18
+ var REACT_PROFILER_TYPE = Symbol.for("react.profiler");
19
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer");
20
+ var REACT_CONTEXT_TYPE = Symbol.for("react.context");
21
+ var REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref");
22
+ var REACT_SUSPENSE_TYPE = Symbol.for("react.suspense");
23
+ var REACT_MEMO_TYPE = Symbol.for("react.memo");
24
+ var REACT_LAZY_TYPE = Symbol.for("react.lazy");
25
+ var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
26
+ var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
27
+ function getIteratorFn(maybeIterable) {
28
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
29
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
30
+ return "function" === typeof maybeIterable ? maybeIterable : null;
31
+ }
32
+ var ReactNoopUpdateQueue = {
33
+ isMounted: function() {
34
+ return !1;
35
+ },
36
+ enqueueForceUpdate: function() {},
37
+ enqueueReplaceState: function() {},
38
+ enqueueSetState: function() {}
39
+ };
40
+ var assign = Object.assign;
41
+ var emptyObject = {};
42
+ function Component(props, context, updater) {
43
+ this.props = props;
44
+ this.context = context;
45
+ this.refs = emptyObject;
46
+ this.updater = updater || ReactNoopUpdateQueue;
47
+ }
48
+ Component.prototype.isReactComponent = {};
49
+ Component.prototype.setState = function(partialState, callback) {
50
+ 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.");
51
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
52
+ };
53
+ Component.prototype.forceUpdate = function(callback) {
54
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
55
+ };
56
+ function ComponentDummy() {}
57
+ ComponentDummy.prototype = Component.prototype;
58
+ function PureComponent(props, context, updater) {
59
+ this.props = props;
60
+ this.context = context;
61
+ this.refs = emptyObject;
62
+ this.updater = updater || ReactNoopUpdateQueue;
63
+ }
64
+ var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
65
+ pureComponentPrototype.constructor = PureComponent;
66
+ assign(pureComponentPrototype, Component.prototype);
67
+ pureComponentPrototype.isPureReactComponent = !0;
68
+ var isArrayImpl = Array.isArray;
69
+ function noop() {}
70
+ var ReactSharedInternals = {
71
+ H: null,
72
+ A: null,
73
+ T: null,
74
+ S: null
75
+ };
76
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
77
+ function ReactElement(type, key, props) {
78
+ var refProp = props.ref;
79
+ return {
80
+ $$typeof: REACT_ELEMENT_TYPE,
81
+ type,
82
+ key,
83
+ ref: void 0 !== refProp ? refProp : null,
84
+ props
85
+ };
86
+ }
87
+ function cloneAndReplaceKey(oldElement, newKey) {
88
+ return ReactElement(oldElement.type, newKey, oldElement.props);
89
+ }
90
+ function isValidElement(object) {
91
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
92
+ }
93
+ function escape(key) {
94
+ var escaperLookup = {
95
+ "=": "=0",
96
+ ":": "=2"
97
+ };
98
+ return "$" + key.replace(/[=:]/g, function(match) {
99
+ return escaperLookup[match];
100
+ });
101
+ }
102
+ var userProvidedKeyEscapeRegex = /\/+/g;
103
+ function getElementKey(element, index) {
104
+ return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
105
+ }
106
+ function resolveThenable(thenable) {
107
+ switch (thenable.status) {
108
+ case "fulfilled": return thenable.value;
109
+ case "rejected": throw thenable.reason;
110
+ default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
111
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
112
+ }, function(error) {
113
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
114
+ })), thenable.status) {
115
+ case "fulfilled": return thenable.value;
116
+ case "rejected": throw thenable.reason;
117
+ }
118
+ }
119
+ throw thenable;
120
+ }
121
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
122
+ var type = typeof children;
123
+ if ("undefined" === type || "boolean" === type) children = null;
124
+ var invokeCallback = !1;
125
+ if (null === children) invokeCallback = !0;
126
+ else switch (type) {
127
+ case "bigint":
128
+ case "string":
129
+ case "number":
130
+ invokeCallback = !0;
131
+ break;
132
+ case "object": switch (children.$$typeof) {
133
+ case REACT_ELEMENT_TYPE:
134
+ case REACT_PORTAL_TYPE:
135
+ invokeCallback = !0;
136
+ break;
137
+ case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
138
+ }
139
+ }
140
+ if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
141
+ return c;
142
+ })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
143
+ invokeCallback = 0;
144
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
145
+ if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
146
+ else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
147
+ else if ("object" === type) {
148
+ if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
149
+ array = String(children);
150
+ 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.");
151
+ }
152
+ return invokeCallback;
153
+ }
154
+ function mapChildren(children, func, context) {
155
+ if (null == children) return children;
156
+ var result = [], count = 0;
157
+ mapIntoArray(children, result, "", "", function(child) {
158
+ return func.call(context, child, count++);
159
+ });
160
+ return result;
161
+ }
162
+ function lazyInitializer(payload) {
163
+ if (-1 === payload._status) {
164
+ var ctor = payload._result;
165
+ ctor = ctor();
166
+ ctor.then(function(moduleObject) {
167
+ if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
168
+ }, function(error) {
169
+ if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
170
+ });
171
+ -1 === payload._status && (payload._status = 0, payload._result = ctor);
172
+ }
173
+ if (1 === payload._status) return payload._result.default;
174
+ throw payload._result;
175
+ }
176
+ var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
177
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
178
+ var event = new window.ErrorEvent("error", {
179
+ bubbles: !0,
180
+ cancelable: !0,
181
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
182
+ error
183
+ });
184
+ if (!window.dispatchEvent(event)) return;
185
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
186
+ process.emit("uncaughtException", error);
187
+ return;
188
+ }
189
+ console.error(error);
190
+ };
191
+ var Children = {
192
+ map: mapChildren,
193
+ forEach: function(children, forEachFunc, forEachContext) {
194
+ mapChildren(children, function() {
195
+ forEachFunc.apply(this, arguments);
196
+ }, forEachContext);
197
+ },
198
+ count: function(children) {
199
+ var n = 0;
200
+ mapChildren(children, function() {
201
+ n++;
202
+ });
203
+ return n;
204
+ },
205
+ toArray: function(children) {
206
+ return mapChildren(children, function(child) {
207
+ return child;
208
+ }) || [];
209
+ },
210
+ only: function(children) {
211
+ if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
212
+ return children;
213
+ }
214
+ };
215
+ exports.Activity = REACT_ACTIVITY_TYPE;
216
+ exports.Children = Children;
217
+ exports.Component = Component;
218
+ exports.Fragment = REACT_FRAGMENT_TYPE;
219
+ exports.Profiler = REACT_PROFILER_TYPE;
220
+ exports.PureComponent = PureComponent;
221
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
222
+ exports.Suspense = REACT_SUSPENSE_TYPE;
223
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
224
+ exports.__COMPILER_RUNTIME = {
225
+ __proto__: null,
226
+ c: function(size) {
227
+ return ReactSharedInternals.H.useMemoCache(size);
228
+ }
229
+ };
230
+ exports.cache = function(fn) {
231
+ return function() {
232
+ return fn.apply(null, arguments);
233
+ };
234
+ };
235
+ exports.cacheSignal = function() {
236
+ return null;
237
+ };
238
+ exports.cloneElement = function(element, config, children) {
239
+ if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
240
+ var props = assign({}, element.props), key = element.key;
241
+ if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
242
+ var propName = arguments.length - 2;
243
+ if (1 === propName) props.children = children;
244
+ else if (1 < propName) {
245
+ for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
246
+ props.children = childArray;
247
+ }
248
+ return ReactElement(element.type, key, props);
249
+ };
250
+ exports.createContext = function(defaultValue) {
251
+ defaultValue = {
252
+ $$typeof: REACT_CONTEXT_TYPE,
253
+ _currentValue: defaultValue,
254
+ _currentValue2: defaultValue,
255
+ _threadCount: 0,
256
+ Provider: null,
257
+ Consumer: null
258
+ };
259
+ defaultValue.Provider = defaultValue;
260
+ defaultValue.Consumer = {
261
+ $$typeof: REACT_CONSUMER_TYPE,
262
+ _context: defaultValue
263
+ };
264
+ return defaultValue;
265
+ };
266
+ exports.createElement = function(type, config, children) {
267
+ var propName, props = {}, key = null;
268
+ if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
269
+ var childrenLength = arguments.length - 2;
270
+ if (1 === childrenLength) props.children = children;
271
+ else if (1 < childrenLength) {
272
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
273
+ props.children = childArray;
274
+ }
275
+ if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
276
+ return ReactElement(type, key, props);
277
+ };
278
+ exports.createRef = function() {
279
+ return { current: null };
280
+ };
281
+ exports.forwardRef = function(render) {
282
+ return {
283
+ $$typeof: REACT_FORWARD_REF_TYPE,
284
+ render
285
+ };
286
+ };
287
+ exports.isValidElement = isValidElement;
288
+ exports.lazy = function(ctor) {
289
+ return {
290
+ $$typeof: REACT_LAZY_TYPE,
291
+ _payload: {
292
+ _status: -1,
293
+ _result: ctor
294
+ },
295
+ _init: lazyInitializer
296
+ };
297
+ };
298
+ exports.memo = function(type, compare) {
299
+ return {
300
+ $$typeof: REACT_MEMO_TYPE,
301
+ type,
302
+ compare: void 0 === compare ? null : compare
303
+ };
304
+ };
305
+ exports.startTransition = function(scope) {
306
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
307
+ ReactSharedInternals.T = currentTransition;
308
+ try {
309
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
310
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
311
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
312
+ } catch (error) {
313
+ reportGlobalError(error);
314
+ } finally {
315
+ null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
316
+ }
317
+ };
318
+ exports.unstable_useCacheRefresh = function() {
319
+ return ReactSharedInternals.H.useCacheRefresh();
320
+ };
321
+ exports.use = function(usable) {
322
+ return ReactSharedInternals.H.use(usable);
323
+ };
324
+ exports.useActionState = function(action, initialState, permalink) {
325
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
326
+ };
327
+ exports.useCallback = function(callback, deps) {
328
+ return ReactSharedInternals.H.useCallback(callback, deps);
329
+ };
330
+ exports.useContext = function(Context) {
331
+ return ReactSharedInternals.H.useContext(Context);
332
+ };
333
+ exports.useDebugValue = function() {};
334
+ exports.useDeferredValue = function(value, initialValue) {
335
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
336
+ };
337
+ exports.useEffect = function(create, deps) {
338
+ return ReactSharedInternals.H.useEffect(create, deps);
339
+ };
340
+ exports.useEffectEvent = function(callback) {
341
+ return ReactSharedInternals.H.useEffectEvent(callback);
342
+ };
343
+ exports.useId = function() {
344
+ return ReactSharedInternals.H.useId();
345
+ };
346
+ exports.useImperativeHandle = function(ref, create, deps) {
347
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
348
+ };
349
+ exports.useInsertionEffect = function(create, deps) {
350
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
351
+ };
352
+ exports.useLayoutEffect = function(create, deps) {
353
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
354
+ };
355
+ exports.useMemo = function(create, deps) {
356
+ return ReactSharedInternals.H.useMemo(create, deps);
357
+ };
358
+ exports.useOptimistic = function(passthrough, reducer) {
359
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
360
+ };
361
+ exports.useReducer = function(reducer, initialArg, init) {
362
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
363
+ };
364
+ exports.useRef = function(initialValue) {
365
+ return ReactSharedInternals.H.useRef(initialValue);
366
+ };
367
+ exports.useState = function(initialState) {
368
+ return ReactSharedInternals.H.useState(initialState);
369
+ };
370
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
371
+ return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
372
+ };
373
+ exports.useTransition = function() {
374
+ return ReactSharedInternals.H.useTransition();
375
+ };
376
+ exports.version = "19.2.8";
377
+ }));
378
+ //#endregion
379
+ //#region node_modules/react/index.js
380
+ var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
381
+ module.exports = require_react_production();
382
+ }));
383
+ //#endregion
384
+ //#region node_modules/react-dom/cjs/react-dom.production.js
385
+ /**
386
+ * @license React
387
+ * react-dom.production.js
388
+ *
389
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
390
+ *
391
+ * This source code is licensed under the MIT license found in the
392
+ * LICENSE file in the root directory of this source tree.
393
+ */
394
+ var require_react_dom_production = /* @__PURE__ */ __commonJSMin(((exports) => {
395
+ var React = require_react();
396
+ function formatProdErrorMessage(code) {
397
+ var url = "https://react.dev/errors/" + code;
398
+ if (1 < arguments.length) {
399
+ url += "?args[]=" + encodeURIComponent(arguments[1]);
400
+ for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]);
401
+ }
402
+ return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
403
+ }
404
+ function noop() {}
405
+ var Internals = {
406
+ d: {
407
+ f: noop,
408
+ r: function() {
409
+ throw Error(formatProdErrorMessage(522));
410
+ },
411
+ D: noop,
412
+ C: noop,
413
+ L: noop,
414
+ m: noop,
415
+ X: noop,
416
+ S: noop,
417
+ M: noop
418
+ },
419
+ p: 0,
420
+ findDOMNode: null
421
+ };
422
+ var REACT_PORTAL_TYPE = Symbol.for("react.portal");
423
+ function createPortal$1(children, containerInfo, implementation) {
424
+ var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
425
+ return {
426
+ $$typeof: REACT_PORTAL_TYPE,
427
+ key: null == key ? null : "" + key,
428
+ children,
429
+ containerInfo,
430
+ implementation
431
+ };
432
+ }
433
+ var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
434
+ function getCrossOriginStringAs(as, input) {
435
+ if ("font" === as) return "";
436
+ if ("string" === typeof input) return "use-credentials" === input ? input : "";
437
+ }
438
+ exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
439
+ exports.createPortal = function(children, container) {
440
+ var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
441
+ if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
442
+ return createPortal$1(children, container, null, key);
443
+ };
444
+ exports.flushSync = function(fn) {
445
+ var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
446
+ try {
447
+ if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
448
+ } finally {
449
+ ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
450
+ }
451
+ };
452
+ exports.preconnect = function(href, options) {
453
+ "string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
454
+ };
455
+ exports.prefetchDNS = function(href) {
456
+ "string" === typeof href && Internals.d.D(href);
457
+ };
458
+ exports.preinit = function(href, options) {
459
+ if ("string" === typeof href && options && "string" === typeof options.as) {
460
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
461
+ "style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
462
+ crossOrigin,
463
+ integrity,
464
+ fetchPriority
465
+ }) : "script" === as && Internals.d.X(href, {
466
+ crossOrigin,
467
+ integrity,
468
+ fetchPriority,
469
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
470
+ });
471
+ }
472
+ };
473
+ exports.preinitModule = function(href, options) {
474
+ if ("string" === typeof href) if ("object" === typeof options && null !== options) {
475
+ if (null == options.as || "script" === options.as) {
476
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
477
+ Internals.d.M(href, {
478
+ crossOrigin,
479
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0,
480
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0
481
+ });
482
+ }
483
+ } else options ?? Internals.d.M(href);
484
+ };
485
+ exports.preload = function(href, options) {
486
+ if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
487
+ var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
488
+ Internals.d.L(href, as, {
489
+ crossOrigin,
490
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0,
491
+ nonce: "string" === typeof options.nonce ? options.nonce : void 0,
492
+ type: "string" === typeof options.type ? options.type : void 0,
493
+ fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
494
+ referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
495
+ imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
496
+ imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
497
+ media: "string" === typeof options.media ? options.media : void 0
498
+ });
499
+ }
500
+ };
501
+ exports.preloadModule = function(href, options) {
502
+ if ("string" === typeof href) if (options) {
503
+ var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
504
+ Internals.d.m(href, {
505
+ as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
506
+ crossOrigin,
507
+ integrity: "string" === typeof options.integrity ? options.integrity : void 0
508
+ });
509
+ } else Internals.d.m(href);
510
+ };
511
+ exports.requestFormReset = function(form) {
512
+ Internals.d.r(form);
513
+ };
514
+ exports.unstable_batchedUpdates = function(fn, a) {
515
+ return fn(a);
516
+ };
517
+ exports.useFormState = function(action, initialState, permalink) {
518
+ return ReactSharedInternals.H.useFormState(action, initialState, permalink);
519
+ };
520
+ exports.useFormStatus = function() {
521
+ return ReactSharedInternals.H.useHostTransitionStatus();
522
+ };
523
+ exports.version = "19.2.8";
524
+ }));
525
+ //#endregion
526
+ //#region node_modules/react-dom/index.js
527
+ var require_react_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
528
+ function checkDCE() {
529
+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") return;
530
+ try {
531
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
532
+ } catch (err) {
533
+ console.error(err);
534
+ }
535
+ }
536
+ checkDCE();
537
+ module.exports = require_react_dom_production();
538
+ }));
539
+ //#endregion
540
+ //#region node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
541
+ var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
542
+ var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
543
+ var index = typeof document !== "undefined" ? import_react.useLayoutEffect : function noop() {};
544
+ function deepEqual(a, b) {
545
+ if (a === b) return true;
546
+ if (typeof a !== typeof b) return false;
547
+ if (typeof a === "function" && a.toString() === b.toString()) return true;
548
+ let length;
549
+ let i;
550
+ let keys;
551
+ if (a && b && typeof a === "object") {
552
+ if (Array.isArray(a)) {
553
+ length = a.length;
554
+ if (length !== b.length) return false;
555
+ for (i = length; i-- !== 0;) if (!deepEqual(a[i], b[i])) return false;
556
+ return true;
557
+ }
558
+ keys = Object.keys(a);
559
+ length = keys.length;
560
+ if (length !== Object.keys(b).length) return false;
561
+ for (i = length; i-- !== 0;) if (!{}.hasOwnProperty.call(b, keys[i])) return false;
562
+ for (i = length; i-- !== 0;) {
563
+ const key = keys[i];
564
+ if (key === "_owner" && a.$$typeof) continue;
565
+ if (!deepEqual(a[key], b[key])) return false;
566
+ }
567
+ return true;
568
+ }
569
+ return a !== a && b !== b;
570
+ }
571
+ function getDPR(element) {
572
+ if (typeof window === "undefined") return 1;
573
+ return (element.ownerDocument.defaultView || window).devicePixelRatio || 1;
574
+ }
575
+ function roundByDPR(element, value) {
576
+ const dpr = getDPR(element);
577
+ return Math.round(value * dpr) / dpr;
578
+ }
579
+ function useLatestRef(value) {
580
+ const ref = import_react.useRef(value);
581
+ index(() => {
582
+ ref.current = value;
583
+ });
584
+ return ref;
585
+ }
586
+ /**
587
+ * Provides data to position a floating element.
588
+ * @see https://floating-ui.com/docs/useFloating
589
+ */
590
+ function useFloating(options) {
591
+ if (options === void 0) options = {};
592
+ const { placement = "bottom", strategy = "absolute", middleware = [], platform, elements: { reference: externalReference, floating: externalFloating } = {}, transform = true, whileElementsMounted, open } = options;
593
+ const [data, setData] = import_react.useState({
594
+ x: 0,
595
+ y: 0,
596
+ strategy,
597
+ placement,
598
+ middlewareData: {},
599
+ isPositioned: false
600
+ });
601
+ const [latestMiddleware, setLatestMiddleware] = import_react.useState(middleware);
602
+ if (!deepEqual(latestMiddleware, middleware)) setLatestMiddleware(middleware);
603
+ const [_reference, _setReference] = import_react.useState(null);
604
+ const [_floating, _setFloating] = import_react.useState(null);
605
+ const setReference = import_react.useCallback((node) => {
606
+ if (node !== referenceRef.current) {
607
+ referenceRef.current = node;
608
+ _setReference(node);
609
+ }
610
+ }, []);
611
+ const setFloating = import_react.useCallback((node) => {
612
+ if (node !== floatingRef.current) {
613
+ floatingRef.current = node;
614
+ _setFloating(node);
615
+ }
616
+ }, []);
617
+ const referenceEl = externalReference || _reference;
618
+ const floatingEl = externalFloating || _floating;
619
+ const referenceRef = import_react.useRef(null);
620
+ const floatingRef = import_react.useRef(null);
621
+ const dataRef = import_react.useRef(data);
622
+ const hasWhileElementsMounted = whileElementsMounted != null;
623
+ const whileElementsMountedRef = useLatestRef(whileElementsMounted);
624
+ const platformRef = useLatestRef(platform);
625
+ const openRef = useLatestRef(open);
626
+ const update = import_react.useCallback(() => {
627
+ if (!referenceRef.current || !floatingRef.current) return;
628
+ const config = {
629
+ placement,
630
+ strategy,
631
+ middleware: latestMiddleware
632
+ };
633
+ if (platformRef.current) config.platform = platformRef.current;
634
+ computePosition(referenceRef.current, floatingRef.current, config).then((data) => {
635
+ const fullData = {
636
+ ...data,
637
+ isPositioned: openRef.current !== false
638
+ };
639
+ if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
640
+ dataRef.current = fullData;
641
+ import_react_dom.flushSync(() => {
642
+ setData(fullData);
643
+ });
644
+ }
645
+ });
646
+ }, [
647
+ latestMiddleware,
648
+ placement,
649
+ strategy,
650
+ platformRef,
651
+ openRef
652
+ ]);
653
+ index(() => {
654
+ if (open === false && dataRef.current.isPositioned) {
655
+ dataRef.current.isPositioned = false;
656
+ setData((data) => ({
657
+ ...data,
658
+ isPositioned: false
659
+ }));
660
+ }
661
+ }, [open]);
662
+ const isMountedRef = import_react.useRef(false);
663
+ index(() => {
664
+ isMountedRef.current = true;
665
+ return () => {
666
+ isMountedRef.current = false;
667
+ };
668
+ }, []);
669
+ index(() => {
670
+ if (referenceEl) referenceRef.current = referenceEl;
671
+ if (floatingEl) floatingRef.current = floatingEl;
672
+ if (referenceEl && floatingEl) {
673
+ if (whileElementsMountedRef.current) return whileElementsMountedRef.current(referenceEl, floatingEl, update);
674
+ update();
675
+ }
676
+ }, [
677
+ referenceEl,
678
+ floatingEl,
679
+ update,
680
+ whileElementsMountedRef,
681
+ hasWhileElementsMounted
682
+ ]);
683
+ const refs = import_react.useMemo(() => ({
684
+ reference: referenceRef,
685
+ floating: floatingRef,
686
+ setReference,
687
+ setFloating
688
+ }), [setReference, setFloating]);
689
+ const elements = import_react.useMemo(() => ({
690
+ reference: referenceEl,
691
+ floating: floatingEl
692
+ }), [referenceEl, floatingEl]);
693
+ const floatingStyles = import_react.useMemo(() => {
694
+ const initialStyles = {
695
+ position: strategy,
696
+ left: 0,
697
+ top: 0
698
+ };
699
+ if (!elements.floating) return initialStyles;
700
+ const x = roundByDPR(elements.floating, data.x);
701
+ const y = roundByDPR(elements.floating, data.y);
702
+ if (transform) return {
703
+ ...initialStyles,
704
+ transform: "translate(" + x + "px, " + y + "px)",
705
+ ...getDPR(elements.floating) >= 1.5 && { willChange: "transform" }
706
+ };
707
+ return {
708
+ position: strategy,
709
+ left: x,
710
+ top: y
711
+ };
712
+ }, [
713
+ strategy,
714
+ transform,
715
+ elements.floating,
716
+ data.x,
717
+ data.y
718
+ ]);
719
+ return import_react.useMemo(() => ({
720
+ ...data,
721
+ update,
722
+ refs,
723
+ elements,
724
+ floatingStyles
725
+ }), [
726
+ data,
727
+ update,
728
+ refs,
729
+ elements,
730
+ floatingStyles
731
+ ]);
732
+ }
733
+ /**
734
+ * Provides data to position an inner element of the floating element so that it
735
+ * appears centered to the reference element.
736
+ * This wraps the core `arrow` middleware to allow React refs as the element.
737
+ * @see https://floating-ui.com/docs/arrow
738
+ */
739
+ var arrow$1 = (options) => {
740
+ function isRef(value) {
741
+ return {}.hasOwnProperty.call(value, "current");
742
+ }
743
+ return {
744
+ name: "arrow",
745
+ options,
746
+ fn(state) {
747
+ const { element, padding } = typeof options === "function" ? options(state) : options;
748
+ if (element && isRef(element)) {
749
+ if (element.current != null) return arrow$2({
750
+ element: element.current,
751
+ padding
752
+ }).fn(state);
753
+ return {};
754
+ }
755
+ if (element) return arrow$2({
756
+ element,
757
+ padding
758
+ }).fn(state);
759
+ return {};
760
+ }
761
+ };
762
+ };
763
+ /**
764
+ * Modifies the placement by translating the floating element along the
765
+ * specified axes.
766
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
767
+ * object may be passed.
768
+ * @see https://floating-ui.com/docs/offset
769
+ */
770
+ var offset = (options, deps) => {
771
+ const result = offset$1(options);
772
+ return {
773
+ name: result.name,
774
+ fn: result.fn,
775
+ options: [options, deps]
776
+ };
777
+ };
778
+ /**
779
+ * Optimizes the visibility of the floating element by shifting it in order to
780
+ * keep it in view when it will overflow the clipping boundary.
781
+ * @see https://floating-ui.com/docs/shift
782
+ */
783
+ var shift = (options, deps) => {
784
+ const result = shift$1(options);
785
+ return {
786
+ name: result.name,
787
+ fn: result.fn,
788
+ options: [options, deps]
789
+ };
790
+ };
791
+ /**
792
+ * Built-in `limiter` that will stop `shift()` at a certain point.
793
+ */
794
+ var limitShift = (options, deps) => {
795
+ return {
796
+ fn: limitShift$1(options).fn,
797
+ options: [options, deps]
798
+ };
799
+ };
800
+ /**
801
+ * Optimizes the visibility of the floating element by flipping the `placement`
802
+ * in order to keep it in view when the preferred placement(s) will overflow the
803
+ * clipping boundary. Alternative to `autoPlacement`.
804
+ * @see https://floating-ui.com/docs/flip
805
+ */
806
+ var flip = (options, deps) => {
807
+ const result = flip$1(options);
808
+ return {
809
+ name: result.name,
810
+ fn: result.fn,
811
+ options: [options, deps]
812
+ };
813
+ };
814
+ /**
815
+ * Provides data that allows you to change the size of the floating element —
816
+ * for instance, prevent it from overflowing the clipping boundary or match the
817
+ * width of the reference element.
818
+ * @see https://floating-ui.com/docs/size
819
+ */
820
+ var size = (options, deps) => {
821
+ const result = size$1(options);
822
+ return {
823
+ name: result.name,
824
+ fn: result.fn,
825
+ options: [options, deps]
826
+ };
827
+ };
828
+ /**
829
+ * Provides data to hide the floating element in applicable situations, such as
830
+ * when it is not in the same clipping context as the reference element.
831
+ * @see https://floating-ui.com/docs/hide
832
+ */
833
+ var hide = (options, deps) => {
834
+ const result = hide$1(options);
835
+ return {
836
+ name: result.name,
837
+ fn: result.fn,
838
+ options: [options, deps]
839
+ };
840
+ };
841
+ /**
842
+ * Provides data to position an inner element of the floating element so that it
843
+ * appears centered to the reference element.
844
+ * This wraps the core `arrow` middleware to allow React refs as the element.
845
+ * @see https://floating-ui.com/docs/arrow
846
+ */
847
+ var arrow = (options, deps) => {
848
+ const result = arrow$1(options);
849
+ return {
850
+ name: result.name,
851
+ fn: result.fn,
852
+ options: [options, deps]
853
+ };
854
+ };
855
+ //#endregion
856
+ export { offset as a, useFloating as c, limitShift as i, require_react_dom as l, flip as n, shift as o, hide as r, size as s, arrow as t, require_react as u };