PageSourceSearch

https://diks.net/_next/static/chunks/3ehl2h-02rcpz.js

js diks.net collected 2026-09-24 10:27:49 UTC 85,853 bytes, 2,221 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4407e079-9e0f-598d-e47d-14c6108839fd")}catch(e){}}();
2(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push([typeof document === "object" ? document.currentScript : undefined,
3343221, ((__turbopack_context__) => {
4"use strict";
5
6var __TURBOPACK__imported__module__247167__ = /*#__PURE__*/ __turbopack_context__.i(247167);
7var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
8;
9/*
10 * Copyright 2020 Adobe. All rights reserved.
11 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
12 * you may not use this file except in compliance with the License. You may obtain a copy
13 * of the License at http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software distributed under
16 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
17 * OF ANY KIND, either express or implied. See the License for the specific language
18 * governing permissions and limitations under the License.
19 */ // We must avoid a circular dependency with @react-aria/utils, and this useLayoutEffect is
20// guarded by a check that it only runs on the client side.
21// eslint-disable-next-line rsp-rules/use-layout-effect-rule
22// Default context value to use in case there is no SSRProvider. This is fine for
23// client-only apps. In order to support multiple copies of React Aria potentially
24// being on the page at once, the prefix is set to a random number. SSRProvider
25// will reset this to zero for consistency between server and client, so in the
26// SSR case multiple copies of React Aria is not supported.
27const $c7eafbbe1ea5834e$var$defaultContext = {
28    prefix: String(Math.round(Math.random() * 10000000000)),
29    current: 0
30};
31const $c7eafbbe1ea5834e$var$SSRContext = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createContext($c7eafbbe1ea5834e$var$defaultContext);
32const $c7eafbbe1ea5834e$var$IsSSRContext = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createContext(false);
33// This is only used in React < 18.
34function $c7eafbbe1ea5834e$var$LegacySSRProvider(props) {
35    let cur = (0, __TURBOPACK__imported__module__271645__["useContext"])($c7eafbbe1ea5834e$var$SSRContext);
36    let counter = $c7eafbbe1ea5834e$var$useCounter(cur === $c7eafbbe1ea5834e$var$defaultContext);
37    let [isSSR, setIsSSR] = (0, __TURBOPACK__imported__module__271645__["useState"])(true);
38    let value = (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>({
39            // If this is the first SSRProvider, start with an empty string prefix, otherwise
40            // append and increment the counter.
41            prefix: cur === $c7eafbbe1ea5834e$var$defaultContext ? '' : "".concat(cur.prefix, "-").concat(counter),
42            current: 0
43        }), [
44        cur,
45        counter
46    ]);
47    // If on the client, and the component was initially server rendered,
48    // then schedule a layout effect to update the component after hydration.
49    if (typeof document !== 'undefined') // because the condition never changes after mounting.
50    // oxlint-disable-next-line react/react-compiler, react-hooks/rules-of-hooks
51    (0, __TURBOPACK__imported__module__271645__["useLayoutEffect"])(()=>{
52        // oxlint-disable-next-line react/react-compiler
53        setIsSSR(false);
54    }, []);
55    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createElement($c7eafbbe1ea5834e$var$SSRContext.Provider, {
56        value: value
57    }, /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createElement($c7eafbbe1ea5834e$var$IsSSRContext.Provider, {
58        value: isSSR
59    }, props.children));
60}
61let $c7eafbbe1ea5834e$var$warnedAboutSSRProvider = false;
62function $c7eafbbe1ea5834e$export$9f8ac96af4b1b2ae(props) {
63    // oxlint-disable-next-line react/react-compiler
64    if (typeof (0, __TURBOPACK__imported__module__271645__["default"])['useId'] === 'function') {
65        if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
66        ;
67        return /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createElement((0, __TURBOPACK__imported__module__271645__["default"]).Fragment, null, props.children);
68    }
69    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["default"]).createElement($c7eafbbe1ea5834e$var$LegacySSRProvider, props);
70}
71let $c7eafbbe1ea5834e$var$canUseDOM = Boolean(typeof window !== 'undefined' && window.document && window.document.createElement);
72let $c7eafbbe1ea5834e$var$componentIds = new WeakMap();
73function $c7eafbbe1ea5834e$var$useCounter() {
74    let isDisabled = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
75    let ctx = (0, __TURBOPACK__imported__module__271645__["useContext"])($c7eafbbe1ea5834e$var$SSRContext);
76    let ref = (0, __TURBOPACK__imported__module__271645__["useRef"])(null);
77    // eslint-disable-next-line rsp-rules/pure-render
78    // oxlint-disable-next-line react/react-compiler, rsp-rules/pure-render
79    if (ref.current === null && !isDisabled) {
80        var ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner, ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
81        // In strict mode, React renders components twice, and the ref will be reset to null on the second render.
82        // This means our id counter will be incremented twice instead of once. This is a problem because on the
83        // server, components are only rendered once and so ids generated on the server won't match the client.
84        // In React 18, useId was introduced to solve this, but it is not available in older versions. So to solve this
85        // we need to use some React internals to access the underlying Fiber instance, which is stable between renders.
86        // This is exposed as ReactCurrentOwner in development, which is all we need since StrictMode only runs in development.
87        // To ensure that we only increment the global counter once, we store the starting id for this component in
88        // a weak map associated with the Fiber. On the second render, we reset the global counter to this value.
89        // Since React runs the second render immediately after the first, this is safe.
90        let currentOwner = (___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = (0, __TURBOPACK__imported__module__271645__["default"]).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED === void 0 ? void 0 : (___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner = ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner) === null || ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner === void 0 ? void 0 : ___SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED_ReactCurrentOwner.current;
91        if (currentOwner) {
92            let prevComponentValue = $c7eafbbe1ea5834e$var$componentIds.get(currentOwner);
93            if (prevComponentValue == null) $c7eafbbe1ea5834e$var$componentIds.set(currentOwner, {
94                id: ctx.current,
95                state: currentOwner.memoizedState
96            });
97            else if (currentOwner.memoizedState !== prevComponentValue.state) {
98                // On the second render, the memoizedState gets reset by React.
99                // Reset the counter, and remove from the weak map so we don't
100                // do this for subsequent useId calls.
101                // oxlint-disable-next-line react/react-compiler
102                ctx.current = prevComponentValue.id;
103                $c7eafbbe1ea5834e$var$componentIds.delete(currentOwner);
104            }
105        }
106        // eslint-disable-next-line rsp-rules/pure-render
107        // oxlint-disable-next-line react/react-compiler, rsp-rules/pure-render
108        ref.current = ++ctx.current;
109    }
110    // eslint-disable-next-line rsp-rules/pure-render
111    // oxlint-disable-next-line react/react-compiler, rsp-rules/pure-render
112    return ref.current;
113}
114function $c7eafbbe1ea5834e$var$useLegacySSRSafeId(defaultId) {
115    let ctx = (0, __TURBOPACK__imported__module__271645__["useContext"])($c7eafbbe1ea5834e$var$SSRContext);
116    // If we are rendering in a non-DOM environment, and there's no SSRProvider,
117    // provide a warning to hint to the developer to add one.
118    if ("TURBOPACK compile-time falsy", 0) //TURBOPACK unreachable
119    ;
120    let counter = $c7eafbbe1ea5834e$var$useCounter(!!defaultId);
121    let prefix = ("TURBOPACK compile-time falsy", 0) ? "TURBOPACK unreachable" : "react-aria".concat(ctx.prefix);
122    return defaultId || "".concat(prefix, "-").concat(counter);
123}
124function $c7eafbbe1ea5834e$var$useModernSSRSafeId(defaultId) {
125    let id = (0, __TURBOPACK__imported__module__271645__["default"]).useId();
126    let [didSSR] = (0, __TURBOPACK__imported__module__271645__["useState"])($c7eafbbe1ea5834e$export$535bd6ca7f90a273());
127    let prefix = didSSR || ("TURBOPACK compile-time value", "production") === 'test' ? 'react-aria' : "react-aria".concat($c7eafbbe1ea5834e$var$defaultContext.prefix);
128    return defaultId || "".concat(prefix, "-").concat(id);
129}
130const $c7eafbbe1ea5834e$export$619500959fc48b26 = typeof (0, __TURBOPACK__imported__module__271645__["default"])['useId'] === 'function' ? $c7eafbbe1ea5834e$var$useModernSSRSafeId : $c7eafbbe1ea5834e$var$useLegacySSRSafeId;
131function $c7eafbbe1ea5834e$var$getSnapshot() {
132    return false;
133}
134function $c7eafbbe1ea5834e$var$getServerSnapshot() {
135    return true;
136}
137// eslint-disable-next-line @typescript-eslint/no-unused-vars
138function $c7eafbbe1ea5834e$var$subscribe(onStoreChange) {
139    // noop
140    return ()=>{};
141}
142function $c7eafbbe1ea5834e$export$535bd6ca7f90a273() {
143    // In React 18, we can use useSyncExternalStore to detect if we're server rendering or hydrating.
144    // oxlint-disable-next-line react/react-compiler
145    if (typeof (0, __TURBOPACK__imported__module__271645__["default"])['useSyncExternalStore'] === 'function') return (0, __TURBOPACK__imported__module__271645__["default"])['useSyncExternalStore']($c7eafbbe1ea5834e$var$subscribe, $c7eafbbe1ea5834e$var$getSnapshot, $c7eafbbe1ea5834e$var$getServerSnapshot);
146    // oxlint-disable-next-line react/react-compiler, react-hooks/rules-of-hooks
147    return (0, __TURBOPACK__imported__module__271645__["useContext"])($c7eafbbe1ea5834e$var$IsSSRContext);
148}
149;
150__turbopack_context__.s([
151    "useIsSSR",
152    0,
153    $c7eafbbe1ea5834e$export$535bd6ca7f90a273,
154    "useSSRSafeId",
155    0,
156    $c7eafbbe1ea5834e$export$619500959fc48b26
157]);
158}),
159402155, ((__turbopack_context__) => {
160"use strict";
161
162var __TURBOPACK__imported__module__80758__ = __turbopack_context__.i(80758);
163;
164function l(n) {
165    var u;
166    return __TURBOPACK__imported__module__80758__["env"].isServer ? null : n == null ? document : (u = n == null ? void 0 : n.ownerDocument) != null ? u : document;
167}
168function r(n) {
169    var u, o;
170    return __TURBOPACK__imported__module__80758__["env"].isServer ? null : n == null ? document : (o = (u = n == null ? void 0 : n.getRootNode) == null ? void 0 : u.call(n)) != null ? o : document;
171}
172function e(n) {
173    var u, o;
174    return (o = (u = r(n)) == null ? void 0 : u.activeElement) != null ? o : null;
175}
176function d(n) {
177    return e(n) === n;
178}
179;
180__turbopack_context__.s([
181    "getActiveElement",
182    0,
183    e,
184    "getOwnerDocument",
185    0,
186    l,
187    "getRootNode",
188    0,
189    r,
190    "isActiveElement",
191    0,
192    d
193]);
194}),
195746725, 368578, 
196544508, 
197((__turbopack_context__) => {
198"use strict";
199
200// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/hooks/use-disposables.js [app-client] (ecmascript)
201;
202var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
203// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/utils/disposables.js [app-client] (ecmascript)
204;
205// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/utils/micro-task.js [app-client] (ecmascript)
206;
207function t(e) {
208    typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((o)=>setTimeout(()=>{
209            throw o;
210        }));
211}
212;
213__turbopack_context__.s([
214    "microTask",
215    0,
216    t
217], 368578);
218;
219function o() {
220    let s = [], r = {
221        addEventListener (e, t, n, i) {
222            return e.addEventListener(t, n, i), r.add(()=>e.removeEventListener(t, n, i));
223        },
224        requestAnimationFrame () {
225            for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
226                e[_key] = arguments[_key];
227            }
228            let t = requestAnimationFrame(...e);
229            return r.add(()=>cancelAnimationFrame(t));
230        },
231        nextFrame () {
232            for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
233                e[_key] = arguments[_key];
234            }
235            return r.requestAnimationFrame(()=>r.requestAnimationFrame(...e));
236        },
237        setTimeout () {
238            for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
239                e[_key] = arguments[_key];
240            }
241            let t = setTimeout(...e);
242            return r.add(()=>clearTimeout(t));
243        },
244        microTask () {
245            for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
246                e[_key] = arguments[_key];
247            }
248            let t1 = {
249                current: !0
250            };
251            return t(()=>{
252                t1.current && e[0]();
253            }), r.add(()=>{
254                t1.current = !1;
255            });
256        },
257        style (e, t, n) {
258            let i = e.style.getPropertyValue(t);
259            return Object.assign(e.style, {
260                [t]: n
261            }), this.add(()=>{
262                Object.assign(e.style, {
263                    [t]: i
264                });
265            });
266        },
267        group (e) {
268            let t = o();
269            return e(t), this.add(()=>t.dispose());
270        },
271        add (e) {
272            return s.includes(e) || s.push(e), ()=>{
273                let t = s.indexOf(e);
274                if (t >= 0) for (let n of s.splice(t, 1))n();
275            };
276        },
277        dispose () {
278            for (let e of s.splice(0))e();
279        }
280    };
281    return r;
282}
283;
284__turbopack_context__.s([
285    "disposables",
286    0,
287    o
288], 544508);
289;
290;
291function p() {
292    let [e] = (0, __TURBOPACK__imported__module__271645__["useState"])(o);
293    return (0, __TURBOPACK__imported__module__271645__["useEffect"])(()=>()=>
293e.dispose(), [
294        e
295    ]), e;
296}
297;
298__turbopack_context__.s([
299    "useDisposables",
300    0,
301    p
302], 746725);
303}),
304941444, 80758, 
305835696, 
306((__turbopack_context__) => {
307"use strict";
308
309// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/hooks/use-latest-value.js [app-client] (ecmascript)
310;
311var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
312// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/hooks/use-iso-morphic-effect.js [app-client] (ecmascript)
313;
314var __TURBOPACK__imported__module__271645__1 = __TURBOPACK__imported__module__271645__;
315// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/utils/env.js [app-client] (ecmascript)
316;
317var i = Object.defineProperty;
318var d = (t, e, n)=>e in t ? i(t, e, {
319        enumerable: !0,
320        configurable: !0,
321        writable: !0,
322        value: n
323    }) : t[e] = n;
324var r = (t, e, n)=>(d(t, typeof e != "symbol" ? e + "" : e, n), n);
325class o {
326    set(e) {
327        this.current !== e && (this.handoffState = "pending", this.currentId = 0, this.current = e);
328    }
329    reset() {
330        this.set(this.detect());
331    }
332    nextId() {
333        return ++this.currentId;
334    }
335    get isServer() {
336        return this.current === "server";
337    }
338    get isClient() {
339        return this.current === "client";
340    }
341    detect() {
342        return ("TURBOPACK compile-time value", "object") == "undefined" || typeof document == "undefined" ? "server" : "client";
343    }
344    handoff() {
345        this.handoffState === "pending" && (this.handoffState = "complete");
346    }
347    get isHandoffComplete() {
348        return this.handoffState === "complete";
349    }
350    constructor(){
351        r(this, "current", this.detect());
352        r(this, "handoffState", "pending");
353        r(this, "currentId", 0);
354    }
355}
356let s = new o;
357;
358__turbopack_context__.s([
359    "env",
360    0,
361    s
362], 80758);
363;
364;
365let n = (e, t)=>{
366    s.isServer ? (0, __TURBOPACK__imported__module__271645__1["useEffect"])(e, t) : (0, __TURBOPACK__imported__module__271645__1["useLayoutEffect"])(e, t);
367};
368;
369__turbopack_context__.s([
370    "useIsoMorphicEffect",
371    0,
372    n
373], 835696);
374;
375;
376function s1(e) {
377    let r = (0, __TURBOPACK__imported__module__271645__["useRef"])(e);
378    return n(()=>{
379        r.current = e;
380    }, [
381        e
382    ]), r;
383}
384;
385__turbopack_context__.s([
386    "useLatestValue",
387    0,
388    s1
389], 941444);
390}),
391914189, ((__turbopack_context__) => {
392"use strict";
393
394var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
395var __TURBOPACK__imported__module__941444__ = __turbopack_context__.i(941444);
396;
397;
398let o = function(t) {
399    let e = (0, __TURBOPACK__imported__module__941444__["useLatestValue"])(t);
400    return __TURBOPACK__imported__module__271645__["default"].useCallback(function() {
401        for(var _len = arguments.length, r = new Array(_len), _key = 0; _key < _len; _key++){
402            r[_key] = arguments[_key];
403        }
404        return e.current(...r);
405    }, [
406        e
407    ]);
408};
409;
410__turbopack_context__.s([
411    "useEvent",
412    0,
413    o
414]);
415}),
416294316, ((__turbopack_context__) => {
417"use strict";
418
419var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
420var __TURBOPACK__imported__module__914189__ = __turbopack_context__.i(914189);
421;
422;
423let u = Symbol();
424function T(t) {
425    let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
426    return Object.assign(t, {
427        [u]: n
428    });
429}
430function y() {
431    for(var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++){
432        t[_key] = arguments[_key];
433    }
434    let n = (0, __TURBOPACK__imported__module__271645__["useRef"])(t);
435    (0, __TURBOPACK__imported__module__271645__["useEffect"])(()=>{
436        n.current = t;
437    }, [
438        t
439    ]);
440    let c = (0, __TURBOPACK__imported__module__914189__["useEvent"])((e)=>{
441        for (let o of n.current)o != null && (typeof o == "function" ? o(e) : o.current = e);
442    });
443    return t.every((e)=>e == null || (e == null ? void 0 : e[u])) ? void 0 : c;
444}
445;
446__turbopack_context__.s([
447    "optionalRef",
448    0,
449    T,
450    "useSyncRefs",
451    0,
452    y
453]);
454}),
455732607, ((__turbopack_context__) => {
456"use strict";
457
458function t() {
459    for(var _len = arguments.length, r = new Array(_len), _key = 0; _key < _len; _key++){
460        r[_key] = arguments[_key];
461    }
462    return Array.from(new Set(r.flatMap((n)=>
462typeof n == "string" ? n.split(" ") : []))).filter(Boolean).join(" ");
463}
464;
465__turbopack_context__.s([
466    "classNames",
467    0,
468    t
469]);
470}),
471397701, ((__turbopack_context__) => {
472"use strict";
473
474function u(r, n) {
475    for(var _len = arguments.length, a = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++){
476        a[_key - 2] = arguments[_key];
477    }
478    if (r in n) {
479        let e = n[r];
480        return typeof e == "function" ? e(...a) : e;
481    }
482    let t = new Error('Tried to handle "'.concat(r, '" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(n).map((e)=>'"'.concat(e, '"')).join(", "), "."));
483    throw Error.captureStackTrace && Error.captureStackTrace(t, u), t;
484}
485;
486__turbopack_context__.s([
487    "match",
488    0,
489    u
490]);
491}),
492700020, ((__turbopack_context__) => {
493"use strict";
494
495var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
496var __TURBOPACK__imported__module__732607__ = __turbopack_context__.i(732607);
497var __TURBOPACK__imported__module__397701__ = __turbopack_context__.i(397701);
498;
499;
500;
501var A = ((a)=>(a[a.None = 0] = "None", a[a.RenderStrategy = 1] = "RenderStrategy", a[a.Static = 2] = "Static", a))(A || {}), C = ((t)=>(t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(C || {});
502function K() {
503    let e = I();
504    return (0, __TURBOPACK__imported__module__271645__["useCallback"])((r)=>U({
505            mergeRefs: e,
506            ...r
507        }), [
508        e
509    ]);
510}
511function U(param) {
512    let { ourProps: e, theirProps: r, slot: t, defaultTag: a, features: o, visible: n = !0, name: i, mergeRefs: l } = param;
513    l = l != null ? l : H;
514    let s = P(r, e);
515    if (n) return F(s, t, a, i, l);
516    let y = o != null ? o : 0;
517    if (y & 2) {
518        let { static: f = !1, ...u } = s;
519        if (f) return F(u, t, a, i, l);
520    }
521    if (y & 1) {
522        let { unmount: f = !0, ...u } = s;
523        return (0, __TURBOPACK__imported__module__397701__["match"])(f ? 0 : 1, {
524            [0] () {
525                return null;
526            },
527            [1] () {
528                return F({
529                    ...u,
530                    hidden: !0,
531                    style: {
532                        display: "none"
533                    }
534                }, t, a, i, l);
535            }
536        });
537    }
538    return F(s, t, a, i, l);
539}
540function F(e) {
541    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = arguments.length > 2 ? arguments[2] : void 0, a = arguments.length > 3 ? arguments[3] : void 0, o = arguments.length > 4 ? arguments[4] : void 0;
542    let { as: n = t, children: i, refName: l = "ref", ...s } = h(e, [
543        "unmount",
544        "static"
545    ]), y = e.ref !== void 0 ? {
546        [l]: e.ref
547    } : {}, f = typeof i == "function" ? i(r) : i;
548    f = E(f), "className" in s && s.className && typeof s.className == "function" && (s.className = s.className(r)), s["aria-labelledby"] && s["aria-labelledby"] === s.id && (s["aria-labelledby"] = void 0);
549    let u = {};
550    if (r) {
551        let d = !1, p = [];
552        for (let [c, T] of Object.entries(r))typeof T == "boolean" && (d = !0), T === !0 && p.push(c.replace(/([A-Z])/g, (g)=>"-".concat(g.toLowerCase())));
553        if (d) {
554            u["data-headlessui-state"] = p.join(" ");
555            for (let c of p)u["data-".concat(c)] = "";
556        }
557    }
558    if (b(n) && (Object.keys(m(s)).length > 0 || Object.keys(m(u)).length > 0)) if (!/*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["isValidElement"])(f) || Array.isArray(f) && f.length > 1 || L(f)) {
559        if (Object.keys(m(s)).length > 0) throw new Error([
560            'Passing props on "Fragment"!',
561            "",
562            "The current component <".concat(a, ' /> is rendering a "Fragment".'),
563            "However we need to passthrough the following props:",
564            Object.keys(m(s)).concat(Object.keys(m(u))).map((d)=>"  - ".concat(d)).join("\n"),
565            "",
566            "You can apply a few solutions:",
567            [
568                'Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',
569                "Render a single element as the child so that we can forward the props onto that element."
570            ].map((d)=>"  - ".concat(d)).join("\n")
571        ].join("\n"));
572    } else {
573        let d = f.props, p = d == null ? void 0 : d.className, c = typeof p == "function" ? function() {
574            for(var _len = arguments.length, R = new Array(_len), _key = 0; _key < _len; _key++){
575                R[_key] = arguments[_key];
576            }
577            return (0, __TURBOPACK__imported__module__732607__["classNames"])(p(...R), s.className);
578        } : (0, __TURBOPACK__imported__module__732607__["classNames"])(p, s.className), T = c ? {
579            className: c
580        } : {}, g = P(f.props, m(h(s, [
581            "ref"
582        ])));
583        for(let R in u)R in g && delete u[R];
584        return /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["cloneElement"])(f, Object.assign({}, g, u, y, {
585            ref: o(D(f), y.ref)
586        }, T));
587    }
588    return /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createElement"])(n, Object.assign({}, h(s, [
589        "ref"
590    ]), !b(n) && y, !b(n) && u), f);
591}
592function I() {
593    let e = (0, __TURBOPACK__imported__module__271645__["useRef"])([]), r = (0, __TURBOPACK__imported__module__271645__["useCallback"])((t)=>{
594        for (let a of e.current)a != null && (typeof a == "function" ? a(t) : a.current = t);
595    }, []);
596    return function() {
597        for(var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++){
598            t[_key] = arguments[_key];
599        }
600        if (!t.every((a)=>a == null)) return e.current = t, r;
601    };
602}
603function H() {
604    for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
605        e[_key] = arguments[_key];
606    }
607    return e.every((r)=>r == null) ? void 0 : (r)=>{
608        for (let t of e)t != null && (typeof t == "function" ? t(r) : t.current = r);
609    };
610}
611function P() {
612    for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
613        e[_key] = arguments[_key];
614    }
615    var a;
616    if (e.length === 0) return {};
617    if (e.length === 1) return e[0];
618    let r = {}, t = {};
619    for (let o of e)for(let n in o)n.startsWith("on") && typeof o[n] == "function" ? ((a = t[n]) != null || (t[n] = []), t[n].push(o[n])) : r[n] = o[n];
620    if (r.disabled || r["aria-disabled"]) for(let o in t)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(o) && (t[o] = [
621        (n)=>{
622            var i;
623            return (i = n == null ? void 0 : n.preventDefault) == null ? void 0 : i.call(n);
624        }
625    ]);
626    for(let o in t)Object.assign(r, {
627        [o] (n) {
628            for(var _len = arguments.length, i = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
629                i[_key - 1] = arguments[_key];
630            }
631            let l = t[o];
632            for (let s of l){
633                if ((n instanceof Event || (n == null ? void 0 : n.nativeEvent) instanceof Event) && n.defaultPrevented) return;
634                s(n, ...i);
635            }
636        }
637    });
638    return r;
639}
640function V() {
641    for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
642        e[_key] = arguments[_key];
643    }
644    var a;
645    if (e.length === 0) return {};
646    if (e.length === 1) return e[0];
647    let r = {}, t = {};
648    for (let o of e)for(let n in o)n.startsWith("on") && typeof o[n] == "function" ? ((a = t[n]) != null || (t[n] = []), t[n].push(o[n])) : r[n] = o[n];
649    for(let o in t)Object.assign(r, {
650        [o] () {
651            for(var _len = arguments.length, n = new Array(_len), _key = 0; _key < _len; _key++){
652                n[_key] = arguments[_key];
653            }
654            let i = t[o];
655            for (let l of i)l == null || l(...n);
656        }
657    });
658    return r;
659}
660function Y(e) {
661    var r;
662    return Object.assign(/*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["forwardRef"])(e), {
663        displayName: (r = e.displayName) != null ? r : e.name
664    });
665}
666function m(e) {
667    let r = Object.assign({}, e);
668    for(let t in r)r[t] === void 0 && delete r[t];
669    return r;
670}
671function h(e) {
672    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
673    let t = Object.assign({}, e);
674    for (let a of r)a in t && delete t[a];
675    return t;
676}
677function D(e) {
678    return __TURBOPACK__imported__module__271645__["default"].version.split(".")[0] >= "19" ? e.props.ref : e.ref;
679}
680function E(e) {
681    if (e != null && e.$$typeof === Symbol.for("react.lazy")) {
682        let r = e._payload;
683        if (r != null && r.status === "fulfilled") return E(r.value);
684    }
685    return e;
686}
687function b(e) {
688    return e === __TURBOPACK__imported__module__271645__["Fragment"] || e === Symbol.for("react.fragment");
689}
690function L(e) {
691    return b(e.type);
692}
693;
694__turbopack_context__.s([
695    "RenderFeatures",
696    0,
697    A,
698    "RenderStrategy",
699    0,
700    C,
701    "compact",
702    0,
703    m,
704    "forwardRefWithAs",
705    0,
706    Y,
707    "isFragment",
708    0,
709    b,
710    "mergeProps",
711    0,
712    V,
713    "useRender",
714    0,
715    K
716]);
717}),
718255743, ((__turbopack_context__) => {
719"use strict";
720
721var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
722;
723function n(e) {
724    return (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>e, Object.values(e));
725}
726;
727__turbopack_context__.s([
728    "useSlot",
729    0,
730    n
731]);
732}),
733553521, ((__turbopack_context__) => {
734"use strict";
735
736var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
737var __TURBOPACK__imported__module__835696__ = __turbopack_context__.i(835696);
738;
739;
740function f() {
741    let e = (0, __TURBOPACK__imported__module__271645__["useRef"])(!1);
742    return (0, __TURBOPACK__imported__module__835696__["useIsoMorphicEffect"])(()=>(e.current = !0, ()=>{
743            e.current = !1;
744        }), []), e;
745}
746;
747__turbopack_context__.s([
748    "useIsMounted",
749    0,
750    f
751]);
752}),
7532788, ((__turbopack_context__) => {
754"use strict";
755
756var __TURBOPACK__imported__module__700020__ = __turbopack_context__.i(700020);
757;
758let a = "span";
759var s = ((e)=>(e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(s || {});
760function l(t, r) {
761    var n;
762    let { features: d = 1, ...e } = t, o = {
763        ref: r,
764        "aria-hidden": (d & 2) === 2 ? !0 : (n = e["aria-hidden"]) != null ? n : void 0,
765        hidden: (d & 4) === 4 ? !0 : void 0,
766        style: {
767            position: "fixed",
768            top: 1,
769            left: 1,
770            width: 1,
771            height: 0,
772            padding: 0,
773            margin: -1,
774            overflow: "hidden",
775            clip: "rect(0, 0, 0, 0)",
776            whiteSpace: "nowrap",
777            borderWidth: "0",
778            ...(d & 4) === 4 && (d & 2) !== 2 && {
779                display: "none"
780            }
781        }
782    };
783    return (0, __TURBOPACK__imported__module__700020__["useRender"])()({
784        ourProps: o,
785        theirProps: e,
786        slot: {},
787        defaultTag: a,
788        name: "Hidden"
789    });
790}
791let f = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(l);
792;
793__turbopack_context__.s([
794    "Hidden",
795    0,
796    f,
797    "HiddenFeatures",
798    0,
799    s
800]);
801}),
802813581, ((__turbopack_context__) => {
803"use strict";
804
805function o(e) {
806    return typeof e != "object" || e === null ? !1 : "nodeType" in e;
807}
808function t(e) {
809    return o(e) && "tagName" in e;
810}
811function n(e) {
812    return t(e) && "accessKey" in e;
813}
814function i(e) {
815    return t(e) && "tabIndex" in e;
816}
817function r(e) {
818    return t(e) && "style" in e;
819}
820function u(e) {
821    return n(e) && e.nodeName === "IFRAME";
822}
823function l(e) {
824    return n(e) && e.nodeName === "INPUT";
825}
826function s(e) {
827    return n(e) && e.nodeName === "TEXTAREA";
828}
829function m(e) {
830    return n(e) && e.nodeName === "LABEL";
831}
832function a(e) {
833    return n(e) && e.nodeName === "FIELDSET";
834}
835function E(e) {
836    return n(e) && e.nodeName === "LEGEND";
837}
838function L(e) {
839    return t(e) ? e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
840}
841;
842__turbopack_context__.s([
843    "hasInlineStyle",
844    0,
845    r,
846    "isElement",
847    0,
848    t,
849    "isHTMLElement",
850    0,
851    n,
852    "isHTMLFieldSetElement",
853    0,
854    a,
855    "isHTMLIframeElement",
856    0,
857    u,
858    "isHTMLInputElement",
859    0,
860    l,
861    "isHTMLLabelElement",
862    0,
863    m,
864    "isHTMLLegendElement",
865    0,
866    E,
867    "isHTMLorSVGElement",
868    0,
869    i,
870    "isInteractiveElement",
871    0,
872    L,
873    "isNode",
874    0,
875    o
876]);
877}),
878652265, ((__turbopack_context__) => {
879"use strict";
880
881var __TURBOPACK__imported__module__544508__ = __turbopack_context__.i(544508);
882var __TURBOPACK__imported__module__813581__ = __turbopack_context__.i(813581);
883var __TURBOPACK__imported__module__397701__ = __turbopack_context__.i(397701);
884var __TURBOPACK__imported__module__402155__ = __turbopack_context__.i(402155);
885;
886;
887;
888;
889let E = [
890    "[contentEditable=true]",
891    "[tabindex]",
892    "a[href]",
893    "area[href]",
894    "button:not([disabled])",
895    "iframe",
896    "input:not([disabled])",
897    "select:not([disabled])",
898    "details>summary",
899    "textarea:not([disabled])"
900].map((e)=>"".concat(e, ":not([tabindex='-1'])")).join(","), S = [
901    "[data-autofocus]"
902].map((e)=>"".concat(e, ":not([tabindex='-1'])")).join(",");
903var T = ((o)=>(o[o.First = 1] = "First", o[o.Previous = 2] = "Previous", o[o.Next = 4] = "Next", o[o.Last = 8] = "Last", o[o.WrapAround = 16] = "WrapAround", o[o.NoScroll = 32] = "NoScroll", o[o.AutoFocus = 64] = "AutoFocus", o))(T || {}), A = ((n)=>(n[n.Error = 0] = "Error", n[n.Overflow = 1] = "Overflow", n[n.Success = 2] = "Success", n[n.Underflow = 3] = "Underflow", n))(A || {}), O = ((t)=>(t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(O || {});
904function x() {
905    let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document.body;
906    return e == null ? [] : Array.from(e.querySelectorAll(E)).sort((r, t)=>Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (t.tabIndex || Number.MAX_SAFE_INTEGER)));
907}
908function h() {
909    let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document.body;
910    return e == null ? [] : Array.from(e.querySelectorAll(S)).sort((r, t)=>Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (t.tabIndex || Number.MAX_SAFE_INTEGER)));
911}
912var I = ((t)=>(t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(I || {});
913function H(e) {
914    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
915    var t;
916    return e === ((t = (0, __TURBOPACK__imported__module__402155__["getOwnerDocument"])(e)) == null ? void 0 : t.body) ? !1 : (0, __TURBOPACK__imported__module__397701__["match"])(r, {
917        [0] () {
918            return e.matches(E);
919        },
920        [1] () {
921            let l = e;
922            for(; l !== null;){
923                if (l.matches(E)) return !0;
924                l = l.parentElement;
925            }
926            return !1;
927        }
928    });
929}
930function K(e) {
931    (0, __TURBOPACK__imported__module__544508__["disposables"])().nextFrame(()=>{
932        let r = (0, __TURBOPACK__imported__module__402155__["getActiveElement"])(e);
933        r && __TURBOPACK__imported__module__813581__["isHTMLorSVGElement"](r) && !H(r, 0) && w(e);
934    });
935}
936var g = ((t)=>(t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(g || {});
937("TURBOPACK compile-time value", "object") != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e)=>{
938    e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
939}, !0), document.addEventListener("click", (e)=>{
940    e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
941}, !0));
942function w(e) {
943    e == null || e.focus({
944        preventScroll: !0
945    });
946}
947let _ = [
948    "textarea",
949    "input"
950].join(",");
951function P(e) {
952    var r, t;
953    return (t = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, _)) != null ? t : !1;
954}
955function G(e) {
956    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : (t)=>t;
957    return e.slice().sort((t, l)=>{
958        let n = r(t), a = r(l);
959        if (n === null || a === null) return 0;
960        let u = n.compareDocumentPosition(a);
961        return u & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : u & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
962    });
963}
964function R(e, r) {
965    let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : e === null ? document.body : (0, __TURBOPACK__imported__module__402155__["getRootNode"])(e);
966    return v(x(t), r, {
967        relativeTo: e
968    });
969}
970function v(e, r) {
971    let { sorted: t = !0, relativeTo: l = null, skipElements: n = [] } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
972    let a = Array.isArray(e) ? e.length > 0 ? (0, __TURBOPACK__imported__module__402155__["getRootNode"])(e[0]) : document : (0, __TURBOPACK__imported__module__402155__["getRootNode"])(e), u = Array.isArray(e) ? t ? G(e) : e : r & 64 ? h(e) : x(e);
973    n.length > 0 && u.length > 1 && (u = u.filter((i)=>!n.some((d)=>
973d != null && "current" in d ? (d == null ? void 0 : d.current) === i : d === i))), l = l != null ? l : a == null ? void 0 : a.activeElement;
974    let o = (()=>{
975        if (r & 5) return 1;
976        if (r & 10) return -1;
977        throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
978    })(), M = (()=>{
979        if (r & 1) return 0;
980        if (r & 2) return Math.max(0, u.indexOf(l)) - 1;
981        if (r & 4) return Math.max(0, u.indexOf(l)) + 1;
982        if (r & 8) return u.length - 1;
983        throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
984    })(), N = r & 32 ? {
985        preventScroll: !0
986    } : {}, m = 0, c = u.length, s;
987    do {
988        if (m >= c || m + c <= 0) return 0;
989        let i = M + m;
990        if (r & 16) i = (i + c) % c;
991        else {
992            if (i < 0) return 3;
993            if (i >= c) return 1;
994        }
995        s = u[i], s == null || s.focus(N), m += o;
996    }while (s !== (0, __TURBOPACK__imported__module__402155__["getActiveElement"])(s))
997    return r & 6 && P(s) && s.select(), 2;
998}
999;
1000__turbopack_context__.s([
1001    "Focus",
1002    0,
1003    T,
1004    "FocusResult",
1005    0,
1006    A,
1007    "FocusableMode",
1008    0,
1009    I,
1010    "focusElement",
1011    0,
1012    w,
1013    "focusFrom",
1014    0,
1015    R,
1016    "focusIn",
1017    0,
1018    v,
1019    "focusableSelector",
1020    0,
1021    E,
1022    "getFocusableElements",
1023    0,
1024    x,
1025    "isFocusableElement",
1026    0,
1027    H,
1028    "restoreFocusIfNecessary",
1029    0,
1030    K,
1031    "sortByDomNode",
1032    0,
1033    G
1034]);
1035}),
1036998348, ((__turbopack_context__) => {
1037"use strict";
1038
1039var o = ((r)=>(r.Space = " ", r.Enter = "Enter", r.Escape = "Escape", r.Backspace = "Backspace", r.Delete = "Delete", r.ArrowLeft = "ArrowLeft", r.ArrowUp = "ArrowUp", r.ArrowRight = "ArrowRight", r.ArrowDown = "ArrowDown", r.Home = "Home", r.End = "End", r.PageUp = "PageUp", r.PageDown = "PageDown", r.Tab = "Tab", r))(o || {});
1040;
1041__turbopack_context__.s([
1042    "Keys",
1043    0,
1044    o
1045]);
1046}),
1047605083, ((__turbopack_context__) => {
1048"use strict";
1049
1050var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
1051var __TURBOPACK__imported__module__402155__ = __turbopack_context__.i(402155);
1052;
1053;
1054function u() {
1055    for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
1056        e[_key] = arguments[_key];
1057    }
1058    return (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>(0, __TURBOPACK__imported__module__402155__["getOwnerDocument"])(...e), [
1059        ...e
1060    ]);
1061}
1062function c() {
1063    for(var _len = arguments.length, e = new Array(_len), _key = 0; _key < _len; _key++){
1064        e[_key] = arguments[_key];
1065    }
1066    return (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>(0, __TURBOPACK__imported__module__402155__["getRootNode"])(...e), [
1067        ...e
1068    ]);
1069}
1070;
1071__turbopack_context__.s([
1072    "useOwnerDocument",
1073    0,
1074    u,
1075    "useRootDocument",
1076    0,
1077    c
1078]);
1079}),
1080178677, ((__turbopack_context__) => {
1081"use strict";
1082
1083var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
1084var __TURBOPACK__imported__module__80758__ = __turbopack_context__.i(80758);
1085;
1086;
1087function s() {
1088    let r = typeof document == "undefined";
1089    return "useSyncExternalStore" in __TURBOPACK__imported__module__271645__ ? ((o)=>o.useSyncExternalStore)(__TURBOPACK__imported__module__271645__)(()=>()=>{}, ()=>!1, ()=>!r) : !1;
1090}
1091function l() {
1092    let r = s(), [e, n] = __TURBOPACK__imported__module__271645__.useState(__TURBOPACK__imported__module__80758__["env"].isHandoffComplete);
1093    return e && __TURBOPACK__imported__module__80758__["env"].isHandoffComplete === !1 && n(!1), __TURBOPACK__imported__module__271645__.useEffect(()=>{
1094        e !== !0 && n(!0);
1095    }, [
1096        e
1097    ]), __TURBOPACK__imported__module__271645__.useEffect(()=>__TURBOPACK__imported__module__80758__["env"].handoff(), []), r ? !1 : e;
1098}
1099;
1100__turbopack_context__.s([
1101    "useServerHandoffComplete",
1102    0,
1103    l
1104]);
1105}),
1106526599, ((__turbopack_context__) => {
1107"use strict";
1108
1109var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
1110var __TURBOPACK__imported__module__368578__ = __turbopack_context__.i(368578);
1111var __TURBOPACK__imported__module__914189__ = __turbopack_context__.i(914189);
1112;
1113;
1114;
1115function c(t) {
1116    let r = (0, __TURBOPACK__imported__module__914189__["useEvent"])(t), e = (0, __TURBOPACK__imported__module__271645__["useRef"])(!1);
1117    (0, __TURBOPACK__imported__module__271645__["useEffect"])(()=>(e.current = !1, ()=>{
1118            e.current = !0, (0, __TURBOPACK__imported__module__368578__["microTask"])(()=>{
1119                e.current && r();
1120            });
1121        }), [
1122        r
1123    ]);
1124}
1125;
1126__turbopack_context__.s([
1127    "useOnUnmount",
1128    0,
1129    c
1130]);
1131}),
1132635307, 496629, 
1133((__turbopack_context__) => {
1134"use strict";
1135
1136// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/components/portal/portal.js [app-client] (ecmascript)
1137;
1138var __TURBOPACK__imported__module__271645__ = __turbopack_context__.i(271645);
1139var __TURBOPACK__imported__module__174080__ = __turbopack_context__.i(174080);
1140var __TURBOPACK__imported__module__746725__ = __turbopack_context__.i(746725);
1141var __TURBOPACK__imported__module__914189__ = __turbopack_context__.i(914189);
1142var __TURBOPACK__imported__module__526599__ = __turbopack_context__.i(526599);
1143var __TURBOPACK__imported__module__605083__ = __turbopack_context__.i(605083);
1144var __TURBOPACK__imported__module__178677__ = __turbopack_context__.i(178677);
1145var __TURBOPACK__imported__module__294316__ = __turbopack_context__.i(294316);
1146// MERGED MODULE: [project]/node_modules/@headlessui/react/dist/internal/portal-force-root.js [app-client] (ecmascript)
1147;
1148var __TURBOPACK__imported__module__271645__1 = __TURBOPACK__imported__module__271645__;
1149;
1150let e = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__1["createContext"])(!1);
1151function a() {
1152    return (0, __TURBOPACK__imported__module__271645__1["useContext"])(e);
1153}
1154function l(o) {
1155    return /*#__PURE__*/ __TURBOPACK__imported__module__271645__1["default"].createElement(e.Provider, {
1156        value: o.force
1157    }, o.children);
1158}
1159;
1160__turbopack_context__.s([
1161    "ForcePortalRoot",
1162    0,
1163    l,
1164    "usePortalRoot",
1165    0,
1166    a
1167], 496629);
1168var __TURBOPACK__imported__module__80758__ = __turbopack_context__.i(80758);
1169var __TURBOPACK__imported__module__700020__ = __turbopack_context__.i(700020);
1170"use client";
1171;
1172;
1173;
1174;
1175;
1176;
1177;
1178;
1179;
1180;
1181;
1182function j(e) {
1183    let o = a(), l = (0, __TURBOPACK__imported__module__271645__["useContext"])(c), [r, p] = (0, __TURBOPACK__imported__module__271645__["useState"])(()=>{
1184        var s;
1185        if (!o && l !== null) return (s = l.current) != null ? s : null;
1186        if (__TURBOPACK__imported__module__80758__["env"].isServer) return null;
1187        let t = e == null ? void 0 : e.getElementById("headlessui-portal-root");
1188        if (t) return t;
1189        if (e === null) return null;
1190        let n = e.createElement("div");
1191        return n.setAttribute("id", "headlessui-portal-root"), e.body.appendChild(n);
1192    });
1193    return (0, __TURBOPACK__imported__module__271645__["useEffect"])(()=>{
1194        r !== null && (e != null && e.body.contains(r) || e == null || e.body.appendChild(r));
1195    }, [
1196        r,
1197        e
1198    ]), (0, __TURBOPACK__imported__module__271645__["useEffect"])(()=>{
1199        o || l !== null && p(l.current);
1200    }, [
1201        l,
1202        p,
1203        o
1204    ]), r;
1205}
1206let _ = __TURBOPACK__imported__module__271645__["Fragment"], I = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(function(o, l) {
1207    let { ownerDocument: r = null, ...p } = o, t = (0, __TURBOPACK__imported__module__271645__["useRef"])(null), n = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])((0, __TURBOPACK__imported__module__294316__["optionalRef"])((a)=>{
1208        t.current = a;
1209    }), l), s = (0, __TURBOPACK__imported__module__605083__["useOwnerDocument"])(t.current), C = r != null ? r : s, u = j(C), y = (0, __TURBOPACK__imported__module__271645__["useContext"])(m), g = (0, __TURBOPACK__imported__module__746725__["useDisposables"])(), v = (0, __TURBOPACK__imported__module__178677__["useServerHandoffComplete"])(), M = (0, __TURBOPACK__imported__module__700020__["useRender"])();
1210    return (0, __TURBOPACK__imported__module__526599__["useOnUnmount"])(()=>{
1211        var a;
1212        u && u.childNodes.length <= 0 && ((a = u.parentElement) == null || a.removeChild(u));
1213    }), !u || !v ? null : /*#__PURE__*/ (0, __TURBOPACK__imported__module__174080__["createPortal"])(/*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement("div", {
1214        "data-headlessui-portal": "",
1215        ref: (a)=>{
1216            g.dispose(), y && a && g.add(y.register(a));
1217        }
1218    }, M({
1219        ourProps: {
1220            ref: n
1221        },
1222        theirProps: p,
1223        slot: {},
1224        defaultTag: _,
1225        name: "Portal"
1226    })), u);
1227});
1228function D(e, o) {
1229    let l = (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(o), { enabled: r = !0, ownerDocument: p, ...t } = e, n = (0, __TURBOPACK__imported__module__700020__["useRender"])();
1230    return r ? /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(I, {
1231        ...t,
1232        ownerDocument: p,
1233        ref: l
1234    }) : n({
1235        ourProps: {
1236            ref: l
1237        },
1238        theirProps: t,
1239        slot: {},
1240        defaultTag: _,
1241        name: "Portal"
1242    });
1243}
1244let J = __TURBOPACK__imported__module__271645__["Fragment"], c = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createContext"])(null);
1245function X(e, o) {
1246    let { target: l, ...r } = e, t = {
1247        ref: (0, __TURBOPACK__imported__module__294316__["useSyncRefs"])(o)
1248    }, n = (0, __TURBOPACK__imported__module__700020__["useRender"])();
1249    return /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(c.Provider, {
1250        value: l
1251    }, n({
1252        ourProps: t,
1253        theirProps: r,
1254        defaultTag: J,
1255        name: "Popover.Group"
1256    }));
1257}
1258let m = /*#__PURE__*/ (0, __TURBOPACK__imported__module__271645__["createContext"])(null);
1259function oe() {
1260    let e = (0, __TURBOPACK__imported__module__271645__["useContext"])(m), o = (0, __TURBOPACK__imported__module__271645__["useRef"])([]), l = (0, __TURBOPACK__imported__module__914189__["useEvent"])((t)=>(o.current.push(t), e && e.register(t), ()=>r(t))), r = (0, __TURBOPACK__imported__module__914189__["useEvent"])((t)=>{
1261        let n = o.current.indexOf(t);
1262        n !== -1 && o.current.splice(n, 1), e && e.unregister(t);
1263    }), p = (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>({
1264            register: l,
1265            unregister: r,
1266            portals: o
1267        }), [
1268        l,
1269        r,
1270        o
1271    ]);
1272    return [
1273        o,
1274        (0, __TURBOPACK__imported__module__271645__["useMemo"])(()=>function(param) {
1275                let { children: n } = param;
1276                return /*#__PURE__*/ __TURBOPACK__imported__module__271645__["default"].createElement(m.Provider, {
1277                    value: p
1278                }, n);
1279            }, [
1280            p
1281        ])
1282    ];
1283}
1284let k = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(D), B = (0, __TURBOPACK__imported__module__700020__["forwardRefWithAs"])(X), le = Object.assign(k, {
1285    Group: B
1286});
1287;
1288__turbopack_context__.s([
1289    "Portal",
1290    0,
1291    le,
1292    "PortalGroup",
1293    0,
1294    B,
1295    "useNestedPortals",
1296    0,
1297    oe
1298], 635307);
1299}),
1300685149, ((__turbopack_context__) => {
1301"use strict";
1302
1303var __TURBOPACK__imported__module__247167__ = /*#__PURE__*/ __turbopack_context__.i(247167);
1304const DAY_OF_THE_WEEK_TO_INDEX = {
1305    Sunday: 0,
1306    Monday: 1,
1307    Tuesday: 2,
1308    Wednesday: 3,
1309    Thursday: 4,
1310    Friday: 5,
1311    Saturday: 6
1312};
1313const INDEX_TO_DAY_OF_THE_WEEK = {
1314    0: "Sunday",
1315    1: "Monday",
1316    2: "Tuesday",
1317    3: "Wednesday",
1318    4: "Thursday",
1319    5: "Friday",
1320    6: "Saturday"
1321};
1322const MAX_MEDIA_QUERY_MOBILE = "(max-width: 767px)";
1323const MEDIA_QUERY_MD = "(min-width: 768px)";
1324const MEDIA_QUERY_DESKTOP = "(min-width: 1280px)";
1325const SITE_HEADER_HEIGHT_PX = 64;
1326const TIMEZONE = __TURBOPACK__imported__module__247167__["default"].env.NEXT_PUBLIC_TIMEZONE || "Europe/Amsterdam";
1327const COOKIE_OPTIONS = {
1328    path: "/",
1329    sameSite: "lax",
1330    httpOnly: false,
1331    secure: ("TURBOPACK compile-time value", "production") !== "development"
1332};
1333const ABConfig = {};
1334const DEFAULT_MAIN_CATEGORY_ID = 1;
1335__turbopack_context__.s([
1336    "ABConfig",
1337    0,
1338    ABConfig,
1339    "COOKIE_OPTIONS",
1340    0,
1341    COOKIE_OPTIONS,
1342    "DAY_OF_THE_WEEK_TO_INDEX",
1343    0,
1344    DAY_OF_THE_WEEK_TO_INDEX,
1345    "MAX_MEDIA_QUERY_MOBILE",
1346    0,
1347    MAX_MEDIA_QUERY_MOBILE,
1348    "MEDIA_QUERY_DESKTOP",
1349    0,
1350    MEDIA_QUERY_DESKTOP,
1351    "MEDIA_QUERY_MD",
1352    0,
1353    MEDIA_QUERY_MD,
1354    "SITE_HEADER_HEIGHT_PX",
1355    0,
1356    SITE_HEADER_HEIGHT_PX,
1357    "TIMEZONE",
1358    0,
1359    TIMEZONE
1360]);
1361}),
1362929387, 988052, 
1363109881, 
1364((__turbopack_context__) => {
1365"use strict";
1366
1367// MERGED MODULE: [project]/node_modules/@date-fns/tz/index.js [app-client] (ecmascript) <locals>
1368;
1369// MERGED MODULE: [project]/node_modules/@date-fns/tz/date/index.js [app-client] (ecmascript)
1370;
1371// MERGED MODULE: [project]/node_modules/@date-fns/tz/tzName/index.js [app-client] (ecmascript)
1372;
1373function tzName(timeZone, date) {
1374    let format = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "long";
1375    return new Intl.DateTimeFormat("en-US", {
1376        // Enforces engine to render the time. Without the option JavaScriptCore omits it.
1377        hour: "numeric",
1378        timeZone: timeZone,
1379        timeZoneName: format
1380    }).format(date).split(/\s/g) // Format.JS uses non-breaking space
1380s
1381    .slice(2) // Skip the hour and AM/PM parts
1382    .join(" ");
1383}
1384// MERGED MODULE: [project]/node_modules/@date-fns/tz/date/mini.js [app-client] (ecmascript)
1385;
1386// MERGED MODULE: [project]/node_modules/@date-fns/tz/tzOffset/index.js [app-client] (ecmascript)
1387;
1388const offsetFormatCache = {};
1389const offsetCache = {};
1390function tzOffset(timeZone, date) {
1391    try {
1392        var _offsetFormatCache, _timeZone;
1393        // Create `Intl.DateTimeFormat` with `"longOffset"` that gives us consistent
1394        // date strings like `"5/19/2026, GMT-08:00"`.
1395        const format = (_offsetFormatCache = offsetFormatCache)[_timeZone = timeZone] || (_offsetFormatCache[_timeZone] = new Intl.DateTimeFormat("en-US", {
1396            timeZone,
1397            timeZoneName: "longOffset"
1398        }).format);
1399        // Get `"-08:00"`.
1400        const offsetStr = format(date).split("GMT")[1];
1401        // Avoid parsing the same offset string.
1402        if (offsetStr in offsetCache) return offsetCache[offsetStr];
1403        // Calculate offset from `["-08", "00"]` and cache it.
1404        return calcOffset(offsetStr, offsetStr.split(":"));
1405    } catch (unused) {
1406        // Fallback to manual parsing if the runtime doesn't support
1407        // `±HH:MM/±HHMM/±HH`. See: https://github.com/nodejs/node/issues/53419.
1408        if (timeZone in offsetCache) return offsetCache[timeZone];
1409        const captures = timeZone === null || timeZone === void 0 ? void 0 : timeZone.match(offsetRe);
1410        if (captures) return calcOffset(timeZone, captures.slice(1));
1411        return NaN;
1412    }
1413}
1414const offsetRe = /([+-]\d\d):?(\d\d)?/;
1415function calcOffset(cacheStr, values) {
1416    const hours = +(values[0] || 0);
1417    const minutes = +(values[1] || 0);
1418    // Convert seconds to minutes by dividing by 60 to keep the function return in minutes.
1419    const seconds = +(values[2] || 0) / 60;
1420    return offsetCache[cacheStr] = hours * 60 + minutes > 0 ? hours * 60 + minutes + seconds : hours * 60 - minutes - seconds;
1421}
1422;
1423class TZDateMini extends Date {
1424    static tz(tz) {
1425        for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1426            args[_key - 1] = arguments[_key];
1427        }
1428        return args.length ? new TZDateMini(...args, tz) : new TZDateMini(Date.now(), tz);
1429    }
1430    //#endregion
1431    //#region time zone
1432    withTimeZone(timeZone) {
1433        return new TZDateMini(+this, timeZone);
1434    }
1435    getTimezoneOffset() {
1436        const offset = -tzOffset(this.timeZone, this);
1437        // Remove the seconds offset using `Math.floor` for negative UTC time zones
1438        // and `Math.ceil` for positive UTC time zones.
1439        return offset > 0 ? Math.floor(offset) : Math.ceil(offset);
1440    }
1441    //#endregion
1442    //#region time
1443    setTime(_time) {
1444        // Use the native `setTime` to the external date time.
1445        Date.prototype.setTime.apply(this, arguments);
1446        // Then apply it to the internal date adjusting to the timezone offset.
1447        syncToInternal(this);
1448        return +this;
1449    }
1450    //#endregion
1451    //#region date-fns integration
1452    [Symbol.for("constructDateFrom")](date) {
1453        return new TZDateMini(+new Date(date), this.timeZone);
1454    }
1455    //#region static
1456    constructor(...args){
1457        super();
1458        // Time zone string is always the last string argument unless date string
1459        // is passed (as a single argument).
1460        if (args.length > 1 && typeof args[args.length - 1] === "string") {
1461            this.timeZone = args.pop();
1462        }
1463        this.internal = new Date();
1464        // Validate the time zone by checking its offset.
1465        if (isNaN(tzOffset(this.timeZone, this))) {
1466            this.setTime(NaN);
1467        } else {
1468            if (!args.length) {
1469                // No arguments passed: use current time
1470                this.setTime(Date.now());
1471            } else if (typeof args[0] === "number" && (args.length === 1 || args.length === 2 && typeof args[1] !== "number")) {
1472                // Timestamp passed: use it as is
1473                this.setTime(args[0]);
1474            } else if (typeof args[0] === "string") {
1475                // `Date` string passed: parse it as external date
1476                this.setTime(+new Date(args[0]));
1477            } else if (args[0] instanceof Date) {
1478                // `Date` passed: use its timestamp
1479                this.setTime(+args[0]);
1480            } else {
1481                // `Date` values passed:
1482                // Set it as external date.
1483                this.setTime(+new Date(...args));
1484                // Adjust internal and external dates considering that we might have
1485                // landed on the DST hour.
1486                adjustToSystemTZ(this, args);
1487            }
1488        }
1489    }
1490}
1491// Assign getters and setters
1492const re = /^(get|set)(?!UTC)/;
1493Object.getOwnPropertyNames(Date.prototype).forEach((method)=>{
1494    if (!re.test(method)) return;
1495    const utcMethod = method.replace(re, "$1UTC");
1496    // Filter out methods without UTC counterparts
1497    if (!TZDateMini.prototype[utcMethod]) return;
1498    if (method.startsWith("get")) {
1499        // Delegate to internal date's UTC method
1500        TZDateMini.prototype[method] = function() {
1501            return this.internal[utcMethod]();
1502        };
1503    } else {
1504        // Assign regular setter
1505        TZDateMini.prototype[method] = function() {
1506            Date.prototype[utcMethod].apply(this.internal, arguments);
1507            syncFromInternal(this);
1508            return +this;
1509        };
1510        // Assign UTC setter
1511        TZDateMini.prototype[utcMethod] = function() {
1512            Date.prototype[utcMethod].apply(this, arguments);
1513            syncToInternal(this);
1514            return +this;
1515        };
1516    }
1517});
1518/**
1519 * @internal
1520 * Function syncs time to internal date, applying the current time zone offset.
1521 *
1522 * @param {Date} date - `Date` to sync
1523 */ function syncToInternal(date) {
1524    // Start internal from the same real timestamp as external.
1525    date.internal.setTime(+date);
1526    // Shift internal by the target offset so its UTC fields become the target-zone
1527    // wall-clock fields for the external timestamp.
1528    //
1529    //   o internal UTC fields: 2024-02-11 00:00
1530    //   |
1531    //   | + Asia/Singapore offset (+08:00)
1532    //   v
1533    //   x internal UTC fields: 2024-02-11 08:00
1534    //
1535    date.internal.setUTCSeconds(date.internal.getUTCSeconds() - // Round after converting minutes to seconds to avoid fractional offset
1536    // precision errors from historical offsets.
1537    Math.round(-tzOffset(date.timeZone, date) * 60));
1538}
1539/**
1540 * @internal
1541 * Function syncs internal wall-clock fields into the external date.
1542 *
1543 * @param {Date} date - The date to sync
1544 */ function syncFromInternal(date) {
1545    // Copy target-zone wall-clock fields from internal into external using native
1546    // local setters. At this point external holds the right field values but they
1547    // are interpreted in the system time zone; `adjustToSystemTZ` fixes that.
1548    Date.prototype.setFullYear.call(date, date.internal.getUTCFullYear(), date.internal.getUTCMonth(), date.internal.getUTCDate());
1549    Date.prototype.setHours.call(date, date.internal.getUTCHours(), date.internal.getUTCMinutes(), date.internal.getUTCSeconds(), date.internal.getUTCMilliseconds());
1550    // Now we have to adjust the date to the system time zone
1551    adjustToSystemTZ(date);
1552}
1553/**
1554 * @internal
1555 * Function adjusts the date to the system time zone. It uses the time zone
1556 * differences to calculate the offset and adjust the date.
1557 *
1558 * We use it when constructing `TZDate` and syncing the external date from
1559 * the internal one.
1560 *
1561 * @param {TZDate} date - `TZDate` to adjust.
1562 */ function adjustToSystemTZ(date, constructorArgs) {
1563    // Keep the intended target-zone wall-clock value before native Date/system
1564    // time zone normalization can move it. Later corrections compare against this
1565    // value to distinguish intended DST normalization from accidental drift.
1566    const expectedInternalTime = Array.isArray(constructorArgs) ? constructorArgsToInternalTime(constructorArgs) : +date.internal;
1567    //#region Initial offset calculation
1568    // Current target time zone offset at the native timestamp. It may include
1569    // historical offset seconds, which we preserve for the seconds adjustment.
1570    const offsetWithSeconds = tzOffset(date.timeZone, date);
1571    // Minute-precision target offset used by minute-based timestamp adjustments.
1572    // Historical offsets can contain seconds, so we strip the fractional minute
1573    // here and handle remaining seconds in the seconds adjustment below.
1574    const offset = offsetWithSeconds > 0 ? Math.floor(offsetWithSeconds) : Math.ceil(offsetWithSeconds);
1575    //#endregion
1576    //#region System DST adjustment
1577    // Native `Date` may normalize the requested wall time when the system time
1578    // zone skips that hour for DST.
1579    //
1580    // We compare the system wall-clock hour represented by the external date with
1581    // the wall-clock hour stored in the internal date. If they differ, the next
1582    // offset-diff calculation may need the previous system offset, because the
1583    // current external timestamp is already after the system DST jump.
1584    // Previous-hour reference used to detect whether the system offset changed
1585    // immediately before the current native timestamp.
1586    const prevHour = new Date(+date);
1587    // Use UTC math so subtracting one hour cannot be normalized back into the
1588    // same missing local DST hour.
1589    prevHour.setUTCHours(prevHour.getUTCHours() - 1);
1590    // Current system offset at the native timestamp.
1591    const systemOffset = -new Date(+date).getTimezoneOffset();
1592    // System offset one real hour before the native timestamp.
1593    const prevHourSystemOffset = -new Date(+prevHour).getTimezoneOffset();
1594    // Non-zero when the system offset changed between `prevHour` and `date`.
1595    const systemDSTChange = systemOffset - prevHourSystemOffset;
1596    // System offset to use in the later system-target offset difference.
1597    // Defaults to the current system offset and switches to the previous offset
1598    // only when native `Date` normalized a missing system wall time.
1599    let systemOffsetForDiff = systemOffset;
1600    if (systemDSTChange && systemOffset !== offset) {
1601        // System wall-clock hour represented by the current external timestamp.
1602        const systemHour = Date.prototype.getHours.apply(date);
1603        // Target wall-clock hour currently stored in internal fields. Constructors
1604        // get it from arguments because internal may have already been synced from
1605        // the normalized external timestamp; setters get it directly from internal.
1606        const expectedHour = Array.isArray(constructorArgs) ? constructorArgs[3] || 0 : date.internal.getUTCHours();
1607        if (systemHour !== expectedHour) {
1608            // Check whether using the current system offset would keep the target
1609            // offset unchanged. If so, the only DST jump we crossed is the system
1610            // one, so the diff should use the pre-DST system offset.
1611            const testDate = new Date(+date);
1612            // Difference that the later offset-diff step would apply with the
1613            // current system offset.
1614            const testOffsetDiff = systemOffset - offset;
1615            if (testOffsetDiff) testDate.setUTCMinutes(testDate.getUTCMinutes() + testOffsetDiff);
1616            // Target offset after applying the current system offset difference.
1617            const testOffsetWithSeconds = tzOffset(date.timeZone, testDate);
1618            // Target offset without historical seconds, matching `offset`.
1619            const testOffset = testOffsetWithSeconds > 0 ? Math.floor(testOffsetWithSeconds) : Math.ceil(testOffsetWithSeconds);
1620            if (testOffset === offset) systemOffsetForDiff = prevHourSystemOffset;
1621        }
1622    }
1623    //#endregion
1624    //#region System diff adjustment
1625    // Move external from the system-zone interpretation of internal fields toward
1626    // the timestamp that represents those fields in the target time zone.
1627    //
1628    // At this point native `Date` has treated the internal wall-clock fields as if
1629    // they belonged to the system zone. The system-target offset difference moves
1630    // external by the distance between that system interpretation and the target
1631    // interpretation.
1632    // Difference between the system offset selected above and the minute-precision
1633    // target offset. Positive values move external forward; negative values move
1634    // it backward.
1635    const offsetDiff = systemOffsetForDiff - offset;
1636    if (offsetDiff) // Apply the system-target minute difference to external. Internal is
1637    // rebuilt from the final external timestamp after all adjustments are
1638    // complete.
1639    //
1640    //   o  external as target: 2023-01-31 23:00
1641    //   |
1642    //   |  add `offsetDiff`
1643    //   v
1644    //   x  external as target: 2023-02-01 12:00
1645    //
1646    Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetDiff);
1647    //#endregion
1648    //#region Seconds system diff adjustment
1649    // Historical time zone offsets can include seconds, but the minute-based
1650    // offset adjustment above intentionally used minute precision.
1651    //
1652    // This adjustment applies the remaining seconds difference to external. For
1653    // example, historical Singapore used UTC+06:55:25, while ISO formatting shows
1654    // only `+06:55`; without the seconds correction, setter paths keep the wrong
1655    // wall-clock seconds.
1656    // Clone external as a native `Date` so we can inspect how the system time zone
1657    // represents the same timestamp.
1658    const systemDate = new Date(+date);
1659    // Zero UTC seconds before reading system seconds. Any remaining local seconds
1660    // then come from the system time zone offset rather than from the timestamp's
1661    // own seconds value.
1662    systemDate.setUTCSeconds(0);
1663    // Seconds part contributed by the system time zone offset. Negative offsets
1664    // need wrapping because `Date#getSeconds()` returns values in the 0..59 range.
1665    const systemSecondsOffset = systemOffset > 0 ? systemDate.getSeconds() : (systemDate.getSeconds() - 60) % 60;
1666    // Seconds part contributed by the target time zone offset.
1667    const secondsOffset = Math.round(-(tzOffset(date.timeZone, date) * 60)) % 60;
1668    if (secondsOffset || systemSecondsOffset) // Apply the remaining second-level system-target difference to external.
1669    //
1670    //   o  external as Asia/Singapore: 1900-01-01 00:00:56
1671    //   |
1672    //   |  + `secondsOffset`
1673    //   |  + `systemSecondsOffset`
1674    //   v
1675    //   x  external as Asia/Singapore: 1900-01-01 00:00:31
1676    //
1677    Date.prototype.setUTCSeconds.call(date, Date.prototype.getUTCSeconds.call(date) + secondsOffset + systemSecondsOffset);
1678    //#endregion
1679    //#region Post-adjustment DST fix
1680    // The first system-target offset move can cross a target-zone DST boundary.
1681    //
1682    // When that happens, the target offset at the new external timestamp differs
1683    // from the target offset used for `offsetDiff`. We compare the original move
1684    // with the move that would be calculated at the new timestamp, then apply the
1685    // difference to external.
1686    // Target offset at the current external timestamp, including historical
1687    // seconds for the later seconds adjustment.
1688    const postOffsetWithSeconds = tzOffset(date.timeZone, date);
1689    // Minute-precision target offset at the current external timestamp.
1690    const postOffset = postOffsetWithSeconds > 0 ? Math.floor(postOffsetWithSeconds) : Math.ceil(postOffsetWithSeconds);
1691    // System offset at the current external timestamp.
1692    const postSystemOffset = -new Date(+date).getTimezoneOffset();
1693    // System-target offset difference at the current external timestamp.
1694    const postOffsetDiff = postSystemOffset - postOffset;
1695    // Whether the target offset changed after the first offset move.
1696    const offsetChanged = postOffset !== offset;
1697    // Difference between the current offset move and the move already applied.
1698    const postDiff = postOffsetDiff - offsetDiff;
1699    // If the first offset move already normalized a target DST gap forward, the
1700    // generic post-DST correction below would undo that valid normalization. This
1701    // happens, for example, with America/New_York 02:00 during spring-forward when
1702    // the system zone also changes offset around the same instant.
1703    const targetDSTShift = postOffset - offset;
1704    // Candidate timestamp that would represent the requested wall-clock time with
1705    // the post-transition target offset. If it still does not round-trip to the
1706    // requested wall-clock fields, the requested time is inside a target DST gap.
1707    const postOffsetCandidate = expectedInternalTime - postOffset * 60 * 1000;
1708    // Only positive target offset shifts are spring-forward gaps. Negative shifts
1709    // are fall-back overlaps and still need the regular post-adjustment path.
1710    const normalizedTargetDSTGap = targetDSTShift > 0 && targetInternalTime(date) - expectedInternalTime === targetDSTShift * 60 * 1000 && targetInternalTime(date, postOffsetCandidate) !== expectedInternalTime;
1711    if (offsetChanged && postDiff && !normalizedTargetDSTGap) {
1712        // Apply the target-DST correction to external. In the backward-crossing case
1713        // shown here, this lands on an intermediate value that needs `offsetChange`
1714        // below.
1715        //
1716        //   o  external as America/New_York: 2023-03-12 03:00 EDT
1717        //   |
1718        //   |  + `postDiff`
1719        //   v
1720        //   x  external as America/New_York: 2023-03-12 01:00 EST
1721        //
1722        Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + postDiff);
1723        // Target offset after applying `postDiff`. It may change again if the
1724        // correction itself crosses a target-zone DST boundary.
1725        const newOffsetWithSeconds = tzOffset(date.timeZone, date);
1726        // Minute-precision target offset after applying `postDiff`.
1727        const newOffset = newOffsetWithSeconds > 0 ? Math.floor(newOffsetWithSeconds) : Math.ceil(newOffsetWithSeconds);
1728        // Offset change caused by the `postDiff` move itself.
1729        const offsetChange = postOffset - newOffset;
1730        // If the correction moved external backward across the target DST boundary,
1731        // apply the boundary change so external lands on the valid target-zone
1732        // timestamp. Forward crossings are already normalized by native Date, and
1733        // applying this correction there would undo the valid post-DST result.
1734        if (offsetChange && postDiff < 0) {
1735            // Apply the second target-DST correction to external.
1736            //
1737            //   o  external as America/New_York: 2023-03-12 01:00 EST
1738            //   |
1739            //   |  + `offsetChange`
1740            //   v
1741            //   x  external as America/New_York: 2023-03-12 03:00 EDT
1742            //
1743            Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetChange);
1744        }
1745    }
1746    //#endregion
1747    // Rebuild internal wall-clock fields from the final external timestamp.
1748    syncToInternal(date);
1749    // Native Date can normalize historical system offsets with minute and second
1750    // precision before we adjust to the target time zone. Correct only small
1751    // historical drift so DST gap normalization (usually one hour) remains intact.
1752    const expectedTime = constructorArgs ? expectedInternalTime : expectedInternalTime + secondsOffset * 1000;
1753    const drift = expectedTime - +date.internal;
1754    if (drift && Math.abs(drift) < 30 * 60 * 1000) {
1755        Date.prototype.setTime.call(date, +date + drift);
1756        syncToInternal(date);
1757    }
1758}
1759function constructorArgsToInternalTime(args) {
1760    // Mirror Date's date-value constructor defaults while preserving explicit
1761    // `undefined` behavior. Missing month/day default, but passed `undefined`
1762    // should remain invalid just like `Date.UTC(year, undefined, ...)`.
1763    return Date.UTC(args[0], args.length > 1 ? args[1] : 0, args.length > 2 ? args[2] : 1, ...args.slice(3));
1764}
1765function targetInternalTime(date, time) {
1766    // Compute the target-zone wall-clock representation for a timestamp without
1767    // mutating the TZDate. This mirrors syncToInternal for temporary checks.
1768    const internal = new Date(time !== null && time !== void 0 ? time : +date);
1769    internal.setUTCSeconds(internal.getUTCSeconds() - Math.round(-tzOffset(date.timeZone, internal) * 60));
1770    return +internal;
1771}
1772;
1773;
1774class TZDate extends TZDateMini {
1775    //#region static
1776    static tz(tz) {
1777        for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1778            args[_key - 1] = arguments[_key];
1779        }
1780        return args.length ? new TZDate(...args, tz) : new TZDate(Date.now(), tz);
1781    }
1782    //#endregion
1783    //#region representation
1784    toISOString() {
1785        const [sign, hours, minutes] = this.tzComponents();
1786        const tz = "".concat(sign).concat(hours, ":").concat(minutes);
1787        return this.internal.toISOString().slice(0, -1) + tz;
1788    }
1789    toString() {
1790        // "Tue Aug 13 2024 07:50:19 GMT+0800 (Singapore Standard Time)";
1791        return "".concat(this.toDateString(), " ").concat(this.toTimeString());
1792    }
1793    toDateString() {
1794        // toUTCString returns RFC 7231 ("Mon, 12 Aug 2024 23:36:08 GMT")
1795        const [day, date, month, year] = this.internal.toUTCString().split(" ");
1796        // "Tue Aug 13 2024"
1797        return "".concat(day === null || day === void 0 ? void 0 : day.slice(0, -1), " ").concat(month, " ").concat(date, " ").concat(year);
1798    }
1799    toTimeString() {
1800        // toUTCString returns RFC 7231 ("Mon, 12 Aug 2024 23:36:08 GMT")
1801        const time = this.internal.toUTCString().split(" ")[4];
1802        const [sign, hours, minutes] = this.tzComponents();
1803        // "07:42:23 GMT+0800 (Singapore Standard Time)"
1804        return "".concat(time, " GMT").concat(sign).concat(hours).concat(minutes, " (").concat(tzName(this.timeZone, this), ")");
1805    }
1806    toLocaleString(locales, options) {
1807        return Date.prototype.toLocaleString.call(this, locales, {
1808            ...options,
1809            timeZone: (options === null || options === void 0 ? void 0 : options.timeZone) || this.timeZone
1810        });
1811    }
1812    toLocaleDateString(locales, options) {
1813        return Date.prototype.toLocaleDateString.call(this, locales, {
1814            ...options,
1815            timeZone: (options === null || options === void 0 ? void 0 : options.timeZone) || this.timeZone
1816        });
1817    }
1818    toLocaleTimeString(locales, options) {
1819        return Date.prototype.toLocaleTimeString.call(this, locales, {
1820            ...options,
1821            timeZone: (options === null || options === void 0 ? void 0 : options.timeZone) || this.timeZone
1822        });
1823    }
1824    //#endregion
1825    //#region private
1826    tzComponents() {
1827        const offset = this.getTimezoneOffset();
1828        const sign = offset > 0 ? "-" : "+";
1829        const hours = String(Math.floor(Math.abs(offset) / 60)).padStart(2, "0");
1830        const minutes = String(Math.abs(offset) % 60).padStart(2, "0");
1831        return [
1832            sign,
1833            hours,
1834            minutes
1835        ];
1836    }
1837    //#endregion
1838    withTimeZone(timeZone) {
1839        return new TZDate(+this, timeZone);
1840    }
1841    //#region date-fns integration
1842    [Symbol.for("constructDateFrom")](date) {
1843        return new TZDate(+new Date(date), this.timeZone);
1844    }
1845}
1846__turbopack_context__.s([
1847    "TZDate",
1848    0,
1849    TZDate
1850], 988052);
1851// MERGED MODULE: [project]/node_modules/@date-fns/tz/tz/index.js [app-client] (ecmascript)
1852;
1853;
1854const tz = (timeZone)=>(value)=>TZDate.tz(timeZone, +new Date(value));
1855__turbopack_context__.s([
1856    "tz",
1857    0,
1858    tz
1859], 109881);
1860;
1861;
1862;
1863;
1864;
1865;
1866;
1867__turbopack_context__.s([], 929387);
1868}),
1869281092, 234662, 
1870677241, 
1871((__turbopack_context__) => {
1872"use strict";
1873
1874// MERGED MODULE: [project]/node_modules/date-fns/toDate.js [app-client] (ecmascript)
1875;
1876// MERGED MODULE: [project]/node_modules/date-fns/constructFrom.js [app-client] (ecmascript)
1877;
1878// MERGED MODULE: [project]/node_modules/date-fns/constants.js [app-client] (ecmascript)
1879;
1880const daysInWeek = 7;
1881const daysInYear = 365.2425;
1882const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;
1883const minTime = -maxTime;
1884const millisecondsInWeek = 604800000;
1885const millisecondsInDay = 86400000;
1886const millisecondsInMinute = 60000;
1887const millisecondsInHour = 3600000;
1888const millisecondsInSecond = 1000;
1889const minutesInYear = 525600;
1890const minutesInMonth = 43200;
1891const minutesInDay = 1440;
1892const minutesInHour = 60;
1893const monthsInQuarter = 3;
1894const monthsInYear = 12;
1895const quartersInYear = 4;
1896const secondsInHour = 3600;
1897const secondsInMinute = 60;
1898const secondsInDay = secondsInHour * 24;
1899const secondsInWeek = secondsInDay * 7;
1900const secondsInYear = secondsInDay * daysInYear;
1901const secondsInMonth = secondsInYear / 12;
1902const secondsInQuarter = secondsInMonth * 3;
1903const constructFromSymbol = Symbol.for("constructDateFrom");
1904__turbopack_context__.s([
1905    "constructFromSymbol",
1906    0,
1907    constructFromSymbol,
1908    "millisecondsInDay",
1909    0,
1910    millisecondsInDay,
1911    "millisecondsInHour",
1912    0,
1913    millisecondsInHour,
1914    "millisecondsInMinute",
1915    0,
1916    millisecondsInMinute,
1917    "millisecondsInSecond",
1918    0,
1919    millisecondsInSecond,
1920    "millisecondsInWeek",
1921    0,
1922    millisecondsInWeek
1923], 234662);
1924;
1925function constructFrom(date, value) {
1926    if (typeof date === "function") return date(value);
1927    if (date && typeof date === "object" && constructFromSymbol in date) return date[constructFromSymbol](value);
1928    if (date instanceof Date) return new date.constructor(value);
1929    return new Date(value);
1930}
1931const __TURBOPACK__default__export__ = constructFrom;
1932__turbopack_context__.s([
1933    "constructFrom",
1934    0,
1935    constructFrom
1936], 677241);
1937;
1938function toDate(argument, context) {
1939    // [TODO] Get rid of `toDate` or `constructFrom`?
1940    return constructFrom(context || argument, argument);
1941}
1942const __TURBOPACK__default__export__1 = toDate;
1943__turbopack_context__.s([
1944    "toDate",
1945    0,
1946    toDate
1947], 281092);
1948}),
1949826514, ((__turbopack_context__) => {
1950"use strict";
1951
1952var __TURBOPACK__imported__module__234662__ = __turbopack_context__.i(234662);
1953var __TURBOPACK__imported__module__677241__ = __turbopack_context__.i(677241);
1954var __TURBOPACK__imported__module__281092__ = __turbopack_context__.i(281092);
1955;
1956;
1957;
1958function parseISO(argument, options) {
1959    var _ref;
1960    const invalidDate = ()=>(0, __TURBOPACK__imported__module__677241__["constructFrom"])(options === null || options === void 0 ? void 0 : options.in, NaN);
1961    const additionalDigits = (_ref = options === null || options === void 0 ? void 0 : options.additionalDigits) !== null && _ref !== void 0 ? _ref : 2;
1962    const dateStrings = splitDateString(argument);
1963    let date;
1964    if (dateStrings.date) {
1965        const parseYearResult = parseYear(dateStrings.date, additionalDigits);
1966        date = parseDate(parseYearResult.restDateString, parseYearResult.year);
1967    }
1968    if (!date || isNaN(+date)) return invalidDate();
1969    const timestamp = +date;
1970    let time = 0;
1971    let offset;
1972    if (dateStrings.time) {
1973        time = parseTime(dateStrings.time);
1974        if (isNaN(time)) return invalidDate();
1975    }
1976    if (dateStrings.timezone) {
1977        offset = parseTimezone(dateStrings.timezone);
1978        if (isNaN(offset)) return invalidDate();
1979    } else {
1980        const tmpDate = new Date(timestamp + time);
1981        const result = (0, __TURBOPACK__imported__module__281092__["toDate"])(0, options === null || options === void 0 ? void 0 : options.in);
1982        result.setFullYear(tmpDate.getUTCFullYear(), tmpDate.getUTCMonth(), tmpDate.getUTCDate());
1983        result.setHours(tmpDate.getUTCHours(), tmpDate.getUTCMinutes(), tmpDate.getUTCSeconds(), tmpDate.getUTCMilliseconds());
1984        return result;
1985    }
1986    return (0, __TURBOPACK__imported__module__281092__["toDate"])(timestamp + time + offset, options === null || options === void 0 ? void 0 : options.in);
1987}
1988const patterns = {
1989    dateTimeDelimiter: /[T ]/,
1990    timeZoneDelimiter: /[Z ]/i,
vendor: 2,303 bytes, lines 1991-2049
1991    timezone: /([Z+-].*)$/
1992};
1993const dateRegex = /^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/;
1994const timeRegex = /^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/;
1995const timezoneRegex = /^([+-])(\d{2})(?::?(\d{2}))?$/;
1996function splitDateString(dateString) {
1997    const dateStrings = {};
1998    const array = dateString.split(patterns.dateTimeDelimiter);
1999    let timeString;
2000    // The regex match should only return at maximum two array elements.
2001    // [date], [time], or [date, time].
2002    if (array.length > 2) {
2003        return dateStrings;
2004    }
2005    if (/:/.test(array[0])) {
2006        timeString = array[0];
2007    } else {
2008        dateStrings.date = array[0];
2009        timeString = array[1];
2010        if (patterns.timeZoneDelimiter.test(dateStrings.date)) {
2011            dateStrings.date = dateString.split(patterns.timeZoneDelimiter)[0];
2012            timeString = dateString.substr(dateStrings.date.length, dateString.length);
2013        }
2014    }
2015    if (timeString) {
2016        const token = patterns.timezone.exec(timeString);
2017        if (token) {
2018            dateStrings.time = timeString.replace(token[1], "");
2019            dateStrings.timezone = token[1];
2020        } else {
2021            dateStrings.time = timeString;
2022        }
2023    }
2024    return dateStrings;
2025}
2026function parseYear(dateString, additionalDigits) {
2027    const regex = new RegExp("^(?:(\\d{4}|[+-]\\d{" + (4 + additionalDigits) + "})|(\\d{2}|[+-]\\d{" + (2 + additionalDigits) + "})$)");
2028    const captures = dateString.match(regex);
2029    // Invalid ISO-formatted year
2030    if (!captures) return {
2031        year: NaN,
2032        restDateString: ""
2033    };
2034    const year = captures[1] ? parseInt(captures[1]) : null;
2035    const century = captures[2] ? parseInt(captures[2]) : null;
2036    // either year or century is null, not both
2037    return {
2038        year: century === null ? year : century * 100,
2039        restDateString: dateString.slice((captures[1] || captures[2]).length)
2040    };
2041}
2042function parseDate(dateString, year) {
2043    // Invalid ISO-formatted year
2044    if (year === null) return new Date(NaN);
2045    const captures = dateString.match(dateRegex);
2046    // Invalid ISO-formatted string
2047    if (!captures) return new Date(NaN);
2048    const isWeekDate = !!captures[4];
2049    const dayOfYear = parseDateUnit(captures[1]);
2050    const month = parseDateUnit(captures[2]) - 1;
2051    const day = parseDateUnit(captures[3]);
2052    const week = parseDateUnit(captures[4]);
2053    const dayOfWeek = parseDateUnit(captures[5]) - 1;
2054    if (isWeekDate) {
2055        if (!validateWeekDate(year, week, dayOfWeek)) {
2056            return new Date(NaN);
2057        }
2058        return dayOfISOWeekYear(year, week, dayOfWeek);
2059    } else {
2060        const date = new Date(0);
2061        if (!validateDate(year, month, day) || !validateDayOfYearDate(year, dayOfYear)) {
2062            return new Date(NaN);
2063        }
2064        date.setUTCFullYear(year, month, Math.max(dayOfYear, day));
2065        return date;
2066    }
2067}
2068function parseDateUnit(value) {
2069    return value ? parseInt(value) : 1;
2070}
2071function parseTime(timeString) {
2072    const captures = timeString.match(timeRegex);
2073    if (!captures) return NaN; // Invalid ISO-formatted time
2074    const hours = parseTimeUnit(captures[1]);
2075    const minutes = parseTimeUnit(captures[2]);
2076    const seconds = parseTimeUnit(captures[3]);
2077    if (!validateTime(hours, minutes, seconds)) {
2078        return NaN;
2079    }
2080    return hours * __TURBOPACK__imported__module__234662__["millisecondsInHour"] + minutes * __TURBOPACK__imported__module__234662__["millisecondsInMinute"] + seconds * 1000;
2081}
2082function parseTimeUnit(value) {
2083    return value && parseFloat(value.replace(",", ".")) || 0;
2084}
2085function parseTimezone(timezoneString) {
2086    if (timezoneString === "Z") return 0;
2087    const captures = timezoneString.match(timezoneRegex);
2088    if (!captures) return 0;
2089    const sign = captures[1] === "+" ? -1 : 1;
2090    const hours = parseInt(captures[2]);
2091    const minutes = captures[3] && parseInt(captures[3]) || 0;
2092    if (!validateTimezone(hours, minutes)) {
2093        return NaN;
2094    }
2095    return sign * (hours * __TURBOPACK__imported__module__234662__["millisecondsInHour"] + minutes * __TURBOPACK__imported__module__234662__["millisecondsInMinute"]);
2096}
2097function dayOfISOWeekYear(isoWeekYear, week, day) {
2098    const date = new Date(0);
2099    date.setUTCFullYear(isoWeekYear, 0, 4);
2100    const fourthOfJanuaryDay = date.getUTCDay() || 7;
2101    const diff = (week - 1) * 7 + day + 1 - fourthOfJanuaryDay;
2102    date.setUTCDate(date.getUTCDate() + diff);
2103    return date;
2104}
2105// Validation functions
2106// February is null to handle the leap year (using ||)
2107const daysInMonths = [
2108    31,
2109    null,
2110    31,
2111    30,
2112    31,
2113    30,
2114    31,
2115    31,
2116    30,
2117    31,
2118    30,
2119    31
2120];
2121function isLeapYearIndex(year) {
2122    return year % 400 === 0 || year % 4 === 0 && year % 100 !== 0;
2123}
2124function validateDate(year, month, date) {
2125    return month >= 0 && month <= 11 && date >= 1 && date <= (daysInMonths[month] || (isLeapYearIndex(year) ? 29 : 28));
2126}
2127function validateDayOfYearDate(year, dayOfYear) {
2128    return dayOfYear >= 1 && dayOfYear <= (isLeapYearIndex(year) ? 366 : 365);
2129}
2130function validateWeekDate(_year, week, day) {
2131    return week >= 1 && week <= 53 && day >= 0 && day <= 6;
2132}
2133function validateTime(hours, minutes, seconds) {
2134    if (hours === 24) {
2135        return minutes === 0 && seconds === 0;
2136    }
2137    return seconds >= 0 && seconds < 60 && minutes >= 0 && minutes < 60 && hours >= 0 && hours < 25;
2138}
2139function validateTimezone(_hours, minutes) {
2140    return minutes >= 0 && minutes <= 59;
2141}
2142const __TURBOPACK__default__export__ = parseISO;
2143__turbopack_context__.s([
2144    "parseISO",
2145    0,
2146    parseISO
2147]);
2148}),
2149935343, ((__turbopack_context__) => {
2150"use strict";
2151
2152function addLeadingZeros(number, targetLength) {
2153    const sign = number < 0 ? "-" : "";
2154    const output = Math.abs(number).toString().padStart(targetLength, "0");
2155    return sign + output;
2156}
2157__turbopack_context__.s([
2158    "addLeadingZeros",
2159    0,
2160    addLeadingZeros
2161]);
2162}),
2163540151, ((__turbopack_context__) => {
2164"use strict";
2165
2166function _define_property(obj, key, value) {
2167    if (key in obj) {
2168        Object.defineProperty(obj, key, {
2169            value: value,
2170            enumerable: true,
2171            configurable: true,
2172            writable: true
2173        });
2174    } else obj[key] = value;
2175    return obj;
2176}
2177;
2178__turbopack_context__.s([
2179    "_",
2180    0,
2181    _define_property
2182]);
2183}),
2184595727, ((__turbopack_context__) => {
2185"use strict";
2186
2187var __TURBOPACK__imported__module__677241__ = __turbopack_context__.i(677241);
2188var __TURBOPACK__imported__module__281092__ = __turbopack_context__.i(281092);
2189;
2190;
2191function addDays(date, amount, options) {
2192    const _date = (0, __TURBOPACK__imported__module__281092__["toDate"])(date, options === null || options === void 0 ? void 0 : options.in);
2193    if (isNaN(amount)) return (0, __TURBOPACK__imported__module__677241__["constructFrom"])((options === null || options === void 0 ? void 0 : options.in) || date, NaN);
2194    // If 0 days, no-op to avoid changing times in the hour before end of DST
2195    if (!amount) return _date;
2196    _date.setDate(_date.getDate() + amount);
2197    return _date;
2198}
2199const __TURBOPACK__default__export__ = addDays;
2200__turbopack_context__.s([
2201    "addDays",
2202    0,
2203    addDays
2204]);
2205}),
2206432082, ((__turbopack_context__) => {
2207"use strict";
2208
2209function dataLayer(event) {
2210    window.dataLayer = window.dataLayer || [];
2211    window.dataLayer.push(event);
2212}
2213__turbopack_context__.s([
2214    "dataLayer",
2215    0,
2216    dataLayer
2217]);
2218}),
2219]);
2220
2221//# debugId=4407e079-9e0f-598d-e47d-14c6108839fd

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.