@krate/runtime 0.5.0-beta.3 → 0.5.0-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-context.js +1 -1
- package/dist/actions.d.ts +7 -0
- package/dist/actions.js +34 -10
- package/dist/after.d.ts +28 -0
- package/dist/after.js +48 -0
- package/dist/assets-static.d.ts +10 -1
- package/dist/assets-static.js +10 -2
- package/dist/base-path.d.ts +7 -0
- package/dist/base-path.js +20 -0
- package/dist/boundary.js +1 -1
- package/dist/builtin-tags.d.ts +12 -0
- package/dist/builtin-tags.js +42 -0
- package/dist/cache-adapter.js +1 -1
- package/dist/cache-scope.d.ts +8 -0
- package/dist/cache-scope.js +14 -1
- package/dist/cloudflare-workers.d.ts +2 -0
- package/dist/cloudflare-workers.js +27 -0
- package/dist/context.d.ts +5 -0
- package/dist/context.js +28 -17
- package/dist/dev-overlay.d.ts +54 -3
- package/dist/dev-overlay.js +496 -91
- package/dist/dom.d.ts +4 -0
- package/dist/dom.js +62 -16
- package/dist/effects.js +43 -10
- package/dist/events.d.ts +2 -0
- package/dist/events.js +18 -0
- package/dist/flight-props.d.ts +7 -0
- package/dist/flight-props.js +105 -0
- package/dist/handler-html.js +4 -4
- package/dist/handler-routing.d.ts +2 -23
- package/dist/handler-routing.js +9 -190
- package/dist/handler-segments.d.ts +6 -0
- package/dist/handler-segments.js +18 -4
- package/dist/head-tags.d.ts +9 -0
- package/dist/head-tags.js +93 -6
- package/dist/highlight-bind.js +1 -1
- package/dist/highlight.d.ts +3 -2
- package/dist/highlight.js +17 -12
- package/dist/hints.d.ts +25 -2
- package/dist/hints.js +147 -74
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/island-swap.d.ts +47 -0
- package/dist/island-swap.js +635 -0
- package/dist/jsx-dev-runtime.d.ts +1 -1
- package/dist/jsx-types.d.ts +99 -3
- package/dist/krate-core.js +1 -1
- package/dist/krate-dev.js +407 -80
- package/dist/krate-f-actions.js +1 -1
- package/dist/krate-f-classes.js +1 -1
- package/dist/krate-f-highlight.js +1 -1
- package/dist/krate-f-list.js +1 -1
- package/dist/krate-f-navigation.js +1 -1
- package/dist/krate-f-router-lite.js +1 -1
- package/dist/krate-f-router.js +1 -1
- package/dist/krate-features.json +455 -0
- package/dist/krate-hydrate-lite.js +5 -5
- package/dist/krate-hydrate.js +5 -5
- package/dist/krate-island-swap.js +1 -0
- package/dist/krate-runtime.js +5 -5
- package/dist/krate-suspense.js +1 -1
- package/dist/list.d.ts +14 -4
- package/dist/list.js +30 -23
- package/dist/metadata.js +5 -2
- package/dist/navigation-react.d.ts +13 -0
- package/dist/navigation-react.js +86 -0
- package/dist/navigation.d.ts +19 -0
- package/dist/navigation.js +35 -0
- package/dist/node-server.js +3 -3
- package/dist/og.js +1 -1
- package/dist/platform.d.ts +52 -0
- package/dist/platform.js +57 -0
- package/dist/react-compat.d.ts +39 -0
- package/dist/react-compat.js +359 -0
- package/dist/react-server.d.ts +63 -0
- package/dist/react-server.js +125 -0
- package/dist/region-wire.d.ts +10 -0
- package/dist/region-wire.js +154 -0
- package/dist/request-context.js +1 -1
- package/dist/request-extras.d.ts +4 -0
- package/dist/request-extras.js +51 -0
- package/dist/resp.js +1 -1
- package/dist/route-source.d.ts +39 -0
- package/dist/route-source.js +532 -0
- package/dist/router-lite.js +3 -9
- package/dist/router.d.ts +1 -1
- package/dist/router.js +675 -100
- package/dist/server-handler.d.ts +69 -1
- package/dist/server-handler.js +515 -96
- package/dist/server-renderer.js +16 -7
- package/dist/server.d.ts +73 -16
- package/dist/server.js +619 -102
- package/dist/sha256.js +9 -9
- package/dist/signal.js +47 -20
- package/dist/site-config.d.ts +15 -0
- package/dist/site-config.js +28 -0
- package/dist/slot.d.ts +12 -0
- package/dist/slot.js +23 -0
- package/dist/ssr-core.d.ts +2 -0
- package/dist/ssr-core.js +12 -4
- package/dist/suspense.js +34 -2
- package/dist/testing.d.ts +62 -0
- package/dist/testing.js +90 -0
- package/dist/use-id.js +1 -1
- package/package.json +28 -3
- package/dist/action-context.test.d.ts +0 -1
- package/dist/action-context.test.js +0 -72
- package/dist/actions.test.d.ts +0 -1
- package/dist/actions.test.js +0 -477
- package/dist/cache-adapter.test.d.ts +0 -1
- package/dist/cache-adapter.test.js +0 -244
- package/dist/cache.test.d.ts +0 -1
- package/dist/cache.test.js +0 -233
- package/dist/class-component.test.d.ts +0 -1
- package/dist/class-component.test.js +0 -462
- package/dist/class-helpers.test.d.ts +0 -1
- package/dist/class-helpers.test.js +0 -169
- package/dist/context.test.d.ts +0 -1
- package/dist/context.test.js +0 -57
- package/dist/derived.test.d.ts +0 -1
- package/dist/derived.test.js +0 -140
- package/dist/dev-overlay.test.d.ts +0 -1
- package/dist/dev-overlay.test.js +0 -152
- package/dist/discrete.test.d.ts +0 -1
- package/dist/discrete.test.js +0 -100
- package/dist/dom.test.d.ts +0 -1
- package/dist/dom.test.js +0 -31
- package/dist/effect-errors.test.d.ts +0 -1
- package/dist/effect-errors.test.js +0 -163
- package/dist/effects.test.d.ts +0 -1
- package/dist/effects.test.js +0 -485
- package/dist/events.test.d.ts +0 -1
- package/dist/events.test.js +0 -447
- package/dist/handler-html.test.d.ts +0 -1
- package/dist/handler-html.test.js +0 -256
- package/dist/handler-routing.test.d.ts +0 -1
- package/dist/handler-routing.test.js +0 -99
- package/dist/handler-segments.test.d.ts +0 -1
- package/dist/handler-segments.test.js +0 -217
- package/dist/head-tags.test.d.ts +0 -1
- package/dist/head-tags.test.js +0 -131
- package/dist/highlight-bind.test.d.ts +0 -1
- package/dist/highlight-bind.test.js +0 -124
- package/dist/highlight.test.d.ts +0 -1
- package/dist/highlight.test.js +0 -56
- package/dist/lanes.test.d.ts +0 -1
- package/dist/lanes.test.js +0 -59
- package/dist/list.test.d.ts +0 -1
- package/dist/list.test.js +0 -344
- package/dist/metadata.test.d.ts +0 -1
- package/dist/metadata.test.js +0 -167
- package/dist/navigation.test.d.ts +0 -1
- package/dist/navigation.test.js +0 -130
- package/dist/node-server.test.d.ts +0 -1
- package/dist/node-server.test.js +0 -492
- package/dist/optimistic-lanes.test.d.ts +0 -1
- package/dist/optimistic-lanes.test.js +0 -45
- package/dist/patterns.test.d.ts +0 -1
- package/dist/patterns.test.js +0 -98
- package/dist/portal.test.d.ts +0 -1
- package/dist/portal.test.js +0 -99
- package/dist/react-effects.test.d.ts +0 -1
- package/dist/react-effects.test.js +0 -96
- package/dist/react-suspense.test.d.ts +0 -1
- package/dist/react-suspense.test.js +0 -194
- package/dist/react.test.d.ts +0 -1
- package/dist/react.test.js +0 -60
- package/dist/react19.test.d.ts +0 -1
- package/dist/react19.test.js +0 -176
- package/dist/reactivity-core.test.d.ts +0 -1
- package/dist/reactivity-core.test.js +0 -152
- package/dist/reconcile.test.d.ts +0 -1
- package/dist/reconcile.test.js +0 -110
- package/dist/refs.test.d.ts +0 -1
- package/dist/refs.test.js +0 -257
- package/dist/router-layout.test.d.ts +0 -1
- package/dist/router-layout.test.js +0 -249
- package/dist/router-nav.test.d.ts +0 -1
- package/dist/router-nav.test.js +0 -464
- package/dist/router-slots.test.d.ts +0 -1
- package/dist/router-slots.test.js +0 -144
- package/dist/router-speculation.test.d.ts +0 -1
- package/dist/router-speculation.test.js +0 -25
- package/dist/router-styles.test.d.ts +0 -1
- package/dist/router-styles.test.js +0 -98
- package/dist/router.test.d.ts +0 -1
- package/dist/router.test.js +0 -36
- package/dist/server-async.test.d.ts +0 -1
- package/dist/server-async.test.js +0 -216
- package/dist/server-handler.test.d.ts +0 -1
- package/dist/server-handler.test.js +0 -535
- package/dist/server-highlight.test.d.ts +0 -1
- package/dist/server-highlight.test.js +0 -32
- package/dist/server-renderer.test.d.ts +0 -1
- package/dist/server-renderer.test.js +0 -266
- package/dist/server.test.d.ts +0 -1
- package/dist/server.test.js +0 -88
- package/dist/sha256.test.d.ts +0 -1
- package/dist/sha256.test.js +0 -13
- package/dist/signal-lanes.test.d.ts +0 -1
- package/dist/signal-lanes.test.js +0 -32
- package/dist/signal.test.d.ts +0 -1
- package/dist/signal.test.js +0 -68
- package/dist/slots.test.d.ts +0 -1
- package/dist/slots.test.js +0 -169
- package/dist/snapshots.test.d.ts +0 -1
- package/dist/snapshots.test.js +0 -208
- package/dist/ssr-core-behavior.test.d.ts +0 -1
- package/dist/ssr-core-behavior.test.js +0 -620
- package/dist/ssr-core.test.d.ts +0 -1
- package/dist/ssr-core.test.js +0 -324
- package/dist/static-memory.test.d.ts +0 -1
- package/dist/static-memory.test.js +0 -26
- package/dist/storage.test.d.ts +0 -1
- package/dist/storage.test.js +0 -46
- package/dist/suspense-actions.test.d.ts +0 -1
- package/dist/suspense-actions.test.js +0 -72
- package/dist/suspense.test.d.ts +0 -1
- package/dist/suspense.test.js +0 -518
package/dist/jsx-types.d.ts
CHANGED
|
@@ -679,7 +679,7 @@ declare global {
|
|
|
679
679
|
width?: number | string;
|
|
680
680
|
disablePictureInPicture?: boolean;
|
|
681
681
|
}
|
|
682
|
-
interface SVGAttributes extends AriaAttributes,
|
|
682
|
+
interface SVGAttributes extends AriaAttributes, ClipboardEventHandler, CompositionEventHandler, FocusEventHandler, FormEventHandler, KeyboardEventHandler, MouseEventHandler, PointerEventHandler, TouchEventHandler, WheelEventHandler, AnimationEventHandler, TransitionEventHandler, UIEventHandler, MediaEventHandler, DOMAttributes {
|
|
683
683
|
children?: unknown[] | unknown;
|
|
684
684
|
key?: string | number;
|
|
685
685
|
ref?: ((el: globalThis.Element) => void) | {
|
|
@@ -930,6 +930,40 @@ declare global {
|
|
|
930
930
|
yChannelSelector?: string;
|
|
931
931
|
z?: number | string;
|
|
932
932
|
zoomAndPan?: string;
|
|
933
|
+
xmlns?: string;
|
|
934
|
+
xmlnsXlink?: string;
|
|
935
|
+
'xmlns:xlink'?: string;
|
|
936
|
+
xmlSpace?: 'default' | 'preserve';
|
|
937
|
+
'xml:space'?: 'default' | 'preserve';
|
|
938
|
+
xmlLang?: string;
|
|
939
|
+
'xml:lang'?: string;
|
|
940
|
+
xmlBase?: string;
|
|
941
|
+
'xml:base'?: string;
|
|
942
|
+
xlinkHref?: string;
|
|
943
|
+
'xlink:href'?: string;
|
|
944
|
+
xlinkTitle?: string;
|
|
945
|
+
'xlink:title'?: string;
|
|
946
|
+
xlinkActuate?: string;
|
|
947
|
+
'xlink:actuate'?: string;
|
|
948
|
+
xlinkArcrole?: string;
|
|
949
|
+
'xlink:arcrole'?: string;
|
|
950
|
+
xlinkRole?: string;
|
|
951
|
+
'xlink:role'?: string;
|
|
952
|
+
xlinkShow?: string;
|
|
953
|
+
'xlink:show'?: string;
|
|
954
|
+
xlinkType?: string;
|
|
955
|
+
'xlink:type'?: string;
|
|
956
|
+
type?: string;
|
|
957
|
+
target?: string;
|
|
958
|
+
crossOrigin?: 'anonymous' | 'use-credentials' | '';
|
|
959
|
+
mixBlendMode?: string;
|
|
960
|
+
isolation?: string;
|
|
961
|
+
transformOrigin?: string;
|
|
962
|
+
transformBox?: string;
|
|
963
|
+
color?: string;
|
|
964
|
+
dangerouslySetInnerHTML?: {
|
|
965
|
+
__html: string;
|
|
966
|
+
};
|
|
933
967
|
}
|
|
934
968
|
interface IntrinsicElements {
|
|
935
969
|
a: AnchorHTMLAttributes;
|
|
@@ -1051,6 +1085,57 @@ declare global {
|
|
|
1051
1085
|
circle: SVGAttributes;
|
|
1052
1086
|
rect: SVGAttributes;
|
|
1053
1087
|
g: SVGAttributes;
|
|
1088
|
+
animate: SVGAttributes;
|
|
1089
|
+
animateMotion: SVGAttributes;
|
|
1090
|
+
animateTransform: SVGAttributes;
|
|
1091
|
+
clipPath: SVGAttributes;
|
|
1092
|
+
defs: SVGAttributes;
|
|
1093
|
+
desc: SVGAttributes;
|
|
1094
|
+
ellipse: SVGAttributes;
|
|
1095
|
+
feBlend: SVGAttributes;
|
|
1096
|
+
feColorMatrix: SVGAttributes;
|
|
1097
|
+
feComponentTransfer: SVGAttributes;
|
|
1098
|
+
feComposite: SVGAttributes;
|
|
1099
|
+
feConvolveMatrix: SVGAttributes;
|
|
1100
|
+
feDiffuseLighting: SVGAttributes;
|
|
1101
|
+
feDisplacementMap: SVGAttributes;
|
|
1102
|
+
feDistantLight: SVGAttributes;
|
|
1103
|
+
feDropShadow: SVGAttributes;
|
|
1104
|
+
feFlood: SVGAttributes;
|
|
1105
|
+
feFuncA: SVGAttributes;
|
|
1106
|
+
feFuncB: SVGAttributes;
|
|
1107
|
+
feFuncG: SVGAttributes;
|
|
1108
|
+
feFuncR: SVGAttributes;
|
|
1109
|
+
feGaussianBlur: SVGAttributes;
|
|
1110
|
+
feImage: SVGAttributes;
|
|
1111
|
+
feMerge: SVGAttributes;
|
|
1112
|
+
feMergeNode: SVGAttributes;
|
|
1113
|
+
feMorphology: SVGAttributes;
|
|
1114
|
+
feOffset: SVGAttributes;
|
|
1115
|
+
fePointLight: SVGAttributes;
|
|
1116
|
+
feSpecularLighting: SVGAttributes;
|
|
1117
|
+
feSpotLight: SVGAttributes;
|
|
1118
|
+
feTile: SVGAttributes;
|
|
1119
|
+
feTurbulence: SVGAttributes;
|
|
1120
|
+
filter: SVGAttributes;
|
|
1121
|
+
foreignObject: SVGAttributes;
|
|
1122
|
+
image: SVGAttributes;
|
|
1123
|
+
linearGradient: SVGAttributes;
|
|
1124
|
+
marker: SVGAttributes;
|
|
1125
|
+
mask: SVGAttributes;
|
|
1126
|
+
metadata: SVGAttributes;
|
|
1127
|
+
mpath: SVGAttributes;
|
|
1128
|
+
pattern: SVGAttributes;
|
|
1129
|
+
radialGradient: SVGAttributes;
|
|
1130
|
+
set: SVGAttributes;
|
|
1131
|
+
stop: SVGAttributes;
|
|
1132
|
+
switch: SVGAttributes;
|
|
1133
|
+
symbol: SVGAttributes;
|
|
1134
|
+
text: SVGAttributes;
|
|
1135
|
+
textPath: SVGAttributes;
|
|
1136
|
+
tspan: SVGAttributes;
|
|
1137
|
+
use: SVGAttributes;
|
|
1138
|
+
view: SVGAttributes;
|
|
1054
1139
|
}
|
|
1055
1140
|
interface ImageProps {
|
|
1056
1141
|
src: string;
|
|
@@ -1067,9 +1152,20 @@ declare global {
|
|
|
1067
1152
|
href: KrateHref;
|
|
1068
1153
|
className?: string;
|
|
1069
1154
|
external?: boolean;
|
|
1155
|
+
/**
|
|
1156
|
+
* `false` links to a URL served outside this site on the same domain
|
|
1157
|
+
* (for example the marketing site at `/` while Krate runs under a base
|
|
1158
|
+
* path): the href is used as written and the link is a normal navigation.
|
|
1159
|
+
*/
|
|
1160
|
+
basePath?: false;
|
|
1070
1161
|
children?: any;
|
|
1071
|
-
/**
|
|
1072
|
-
|
|
1162
|
+
/**
|
|
1163
|
+
* Prefetch the target page. Default (`true`): on hover, focus or touch.
|
|
1164
|
+
* `"viewport"` also prefetches once the link scrolls near the viewport
|
|
1165
|
+
* (at most 5 per page). `false` never prefetches. Nothing is prefetched
|
|
1166
|
+
* when Save-Data is on or the connection is 2g.
|
|
1167
|
+
*/
|
|
1168
|
+
prefetch?: boolean | "viewport";
|
|
1073
1169
|
/** Replace the current history entry instead of pushing a new one. */
|
|
1074
1170
|
replace?: boolean;
|
|
1075
1171
|
/** Scroll to the top on navigation (default: true). */
|
package/dist/krate-core.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __krate_exports=(()=>{var cn=Object.defineProperty;var Oo=Object.getOwnPropertyDescriptor;var Po=Object.getOwnPropertyNames;var Ho=Object.prototype.hasOwnProperty;var Mo=(e,n)=>{for(var t in n)cn(e,t,{get:n[t],enumerable:!0})},Lo=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Po(n))!Ho.call(e,r)&&r!==t&&cn(e,r,{get:()=>n[r],enumerable:!(o=Oo(n,r))||o.enumerable});return e};var Fo=e=>Lo(cn({},"__esModule",{value:!0}),e);var Vi={};Mo(Vi,{BLOCKED_URL:()=>io,KRATE_CONTEXT:()=>at,__krate_useId:()=>Ki,adoptValue:()=>on,afterFlush:()=>Zo,appendChild:()=>xe,clearBetween:()=>it,clearNodes:()=>lo,clearPersisted:()=>zo,createCSSChoice:()=>rr,createCSSFlags:()=>sr,createCSSGroup:()=>cr,createCSSRange:()=>ur,createCSSStack:()=>ar,createCSSToggle:()=>ir,createCallbackDeps:()=>Dr,createContext:()=>an,createEffect:()=>y,createEffectDeps:()=>Or,createEffectEvent:()=>Kr,createMemo:()=>wr,createMemoDeps:()=>Dt,createReducer:()=>vr,createResource:()=>Pi,createRoot:()=>mr,createScope:()=>Do,createScopeFlags:()=>Io,createSignal:()=>S,disposeAll:()=>wt,disposeNode:()=>ce,flushPassive:()=>ne,forwardRef:()=>xr,h:()=>Ni,hydrate:()=>Oi,insert:()=>mi,insertAt:()=>se,isDerivedGetter:()=>Ke,isSignalGetter:()=>dr,krateApplyStyle:()=>fo,krateAttachRef:()=>we,krateBindRef:()=>gi,krateCommitSnapshot:()=>gt,krateCommitting:()=>Q,krateCondActivity:()=>_r,krateCondDetached:()=>ai,krateCondReset:()=>li,krateCondSwap:()=>fi,krateContextRows:()=>jo,krateControl:()=>Qe,krateCurrentScope:()=>F,krateCustomProp:()=>po,krateDepsOf:()=>Ir,krateDerived:()=>lr,krateDisposeExcept:()=>tr,krateDisposeOwner:()=>me,krateDisposeScopes:()=>or,krateEnterScope:()=>Wo,krateEpoch:()=>Pe,krateEventName:()=>Qn,krateEventRoot:()=>$e,krateFlushSync:()=>De,krateForgetOwner:()=>Ar,krateGetOwner:()=>Le,krateHintPreconnect:()=>ji,krateHintPrefetchDNS:()=>qi,krateHintPreinit:()=>zi,krateHintPreinitModule:()=>Bi,krateHintPreload:()=>Di,krateHintPreloadModule:()=>Ii,krateHook:()=>fr,krateHookState:()=>Vo,krateIsDiscrete:()=>Yo,krateKeepScopes:()=>$o,krateLeaveScope:()=>Go,krateMount:()=>Rr,krateMountFields:()=>Xe,krateMountPortals:()=>si,krateOn:()=>ve,krateOnAfterFlush:()=>Rn,krateOnBeforeFlush:()=>An,krateOnDispose:()=>Nn,krateOnHookError:()=>Pr,krateOnLayoutCommit:()=>Lr,krateOnSettle:()=>gr,krateOnUnmount:()=>br,krateOwner:()=>Cr,krateOwnerId:()=>Er,krateParam:()=>Hi,kratePendingFlush:()=>_n,kratePortalFind:()=>ci,kratePortalMount:()=>Yn,kratePortalReset:()=>ui,kratePortalScan:()=>to,kratePortalTarget:()=>oi,kratePortalUnmount:()=>Ze,kratePortalsEnter:()=>nt,kratePortalsIn:()=>et,kratePortalsLeave:()=>tt,kratePruneSnapshots:()=>xn,krateReadAt:()=>He,krateRefsEnter:()=>Ue,krateRefsFlush:()=>Bn,krateRefsHold:()=>qt,krateRefsLeave:()=>Ve,krateRenderPhase:()=>Xo,krateRequestFlush:()=>hr,krateRunEvent:()=>Me,krateSanitizeAttr:()=>ot,krateScopeOfId:()=>On,krateSetControl:()=>B,krateSetOwner:()=>N,krateSetRef:()=>jt,krateSlotReplaced:()=>Nr,krateSpread:()=>vi,krateSynthetic:()=>Ge,krateTagOwner:()=>he,krateTakeSyncLane:()=>En,krateTrackNode:()=>en,krateTransitionWrites:()=>Jo,krateUnmount:()=>te,krateWithIdScope:()=>Fi,krateWithOwner:()=>jn,mount:()=>_i,onCleanup:()=>j,onMount:()=>kr,readDurableState:()=>pn,readPersisted:()=>gn,removeRest:()=>bo,resetContexts:()=>Ee,resolvePersist:()=>dn,runAfterFlush:()=>ke,sameValue:()=>nr,setOwnerHooks:()=>Uo,subscribePersist:()=>mn,trackEffect:()=>R,untrack:()=>b,useRef:()=>Sr,withDOM:()=>mo,withVNodes:()=>ho,writePersisted:()=>hn});var Ko=0,at=Symbol.for("krate.context"),le=class{constructor(n){this.get=n}};function un(e){if(e instanceof Node)return e;let n=document.createDocumentFragment();if(Array.isArray(e))for(let t of e)n.appendChild(un(t));else e!=null&&e!==!1&&e!==!0&&n.appendChild(document.createTextNode(String(e)));return n}var O=new Map;function Ee(){for(let[e,n]of O)if(n.length>0){let t=n[0];O.set(e,[t])}}function Do(){return an({})}function Io(){return an({})}function an(e){let n=Ko++;O.set(n,[e]);let t=()=>{let c=O.get(n);if(c&&c.length>0){let u=c[c.length-1];return u instanceof le?u.get():u}return e},o=()=>{let c=O.get(n),u=c&&c.length>0?c[c.length-1]:e;return u instanceof le?()=>u.get():()=>u},r=c=>{let u=O.get(n)||[e];u.push(c.value),O.set(n,u);let a=document.createElement("div");a.style.display="contents";let f=c.children;if(f)for(let p of Array.isArray(f)?f:[f])p instanceof Node?a.appendChild(p):p!=null&&a.appendChild(document.createTextNode(String(p)));return u.pop(),u.length===0&&u.push(e),a},i=c=>{let u=c.children;return Array.isArray(u)&&(u=u.find(a=>typeof a=="function")),un(typeof u=="function"?u(t()):null)},s=(c=>r(c));return s.$$typeof=at,s.id=n,s.defaultValue=e,s.Provider=r,s.Consumer=i,s.useContext=t,s.use=t,s.useContextLive=o,s}function jo(e,n){return(...t)=>{let o=[];for(let[r,i]of e){let s=O.get(r.id);s&&(s.push(new le(i)),o.push(s))}try{return n(...t)}finally{for(let r of o)r.pop()}}}function qo(){let e=new Map;return{getItem:n=>e.has(n)?e.get(n):null,setItem:(n,t)=>{e.set(n,t)},removeItem:n=>{e.delete(n)}}}var ln=qo();function ft(){return typeof window<"u"}function fn(e){if(e&&typeof e=="object")return e;if(!ft())return ln;try{return e==="session"?window.sessionStorage:e==="memory"?ln:window.localStorage}catch{return ln}}function dn(e){let n=typeof e=="string"?{key:e}:e;if(!n.key)throw new Error("[krate] createSignal persist requires a key");let t=n.store??"local";return{key:n.key,store:t,serialize:n.serialize??(o=>JSON.stringify(o)),deserialize:n.deserialize??(o=>JSON.parse(o)),sync:n.sync??t==="local"}}function pn(e,n){let o=globalThis.__KRATE_STATE__;if(!o||!Object.prototype.hasOwnProperty.call(o,e))return{found:!1};let r=o[e];if(typeof r=="string")try{return{found:!0,value:n(r)}}catch{return{found:!0,value:r}}return{found:!0,value:r}}function gn(e){let n=fn(e.store),t;try{t=n.getItem(e.key)}catch{return{found:!1}}if(t==null)return{found:!1};try{return{found:!0,value:e.deserialize(t)}}catch{return{found:!1}}}function hn(e,n){let t=fn(e.store);try{t.setItem(e.key,e.serialize(n))}catch{}}function zo(e){let n=fn(e.store);try{n.removeItem(e.key)}catch{}}var Ce=new Map,lt=!1;function Bo(){lt||!ft()||(lt=!0,window.addEventListener("storage",e=>{if(e.key===null)return;let n=Ce.get(e.key);if(n)for(let t of n)t(e.newValue)}))}function mn(e,n){if(!e.sync)return()=>{};let t=Ce.get(e.key)??new Set;return t.add(n),Ce.set(e.key,t),Bo(),()=>{t.delete(n),t.size===0&&Ce.delete(e.key)}}var Vo={react:!0},d=[],dt=[],yn=!1,m=null;function Uo(e){m=e}var Ne=[],T=new Set,fe=[],U=null,pt=new Set,L=new Map;function Wo(e){return pt.has(e)?!1:(U=e,h=null,!0)}function Go(){U=null,h=null}function F(){let e=d[d.length-1];return e?e.scope:U!==null?U:h!==null&&L.has(h)?L.get(h)??null:null}function $o(e){pt=new Set(e)}function he(e,n){e!==null&&!L.has(e)&&L.set(e,n)}var w=[],de=!1;function W(e){let n=F(),t={fn:e,cleanups:[],disposed:!1,sources:new Set,running:!1,rerun:!1,queued:!1,owner:h,boundaryOwner:m?m.current():null,scope:n};if(h!==null){he(h,n);let o=K.get(h);o||K.set(h,o=new Set),o.add(t)}return t}var K=new Map,G=new Map;function me(e){let n=K.get(e);if(K.delete(e),n)for(let o of n)I(o),T.delete(o);let t=G.get(e);if(G.delete(e),L.delete(e),t)for(let o of t)try{o()}catch{}}var D=0,v=null,Ae=0,$=new Set,pe=new Set;function Xo(e){D++;let n=v;v=null;try{return e()}finally{v=n,D--}}function gt(){Ae++;for(let e of $)e.commit(Ae);return $.clear(),Ae}function Pe(){return Ae}function He(e,n){let t=v;v=e;try{return n()}finally{v=t}}function xn(e){for(let n of pe)n.prune(e)||pe.delete(n)}var Tn=new Set("auxclick beforeinput blur cancel change click close compositionend compositionstart compositionupdate contextmenu copy cut dblclick dragend dragstart drop focusin focusout input invalid keydown keypress keyup mousedown mouseup paste pause play pointercancel pointerdown pointerup ratechange reset resize seeked select submit touchcancel touchend touchstart volumechange focus".split(" ")),bn=0,ge=!1,Re=0;function Qo(){if(Re>0)return!0;let e=typeof window<"u"?window.event:void 0;return!!e&&Tn.has(e.type)}var _e=0;function Jo(e){_e++;try{return e()}finally{_e--}}function Yo(e){return Tn.has(e)}function Me(e,n,t){if(!Tn.has(e)){t();return}Re++;try{t()}finally{Re--,n&&Re===0&&wn===0&&bn===0&&(w.length>0||ge)&&De()}}function Q(e){bn+=e?1:-1}function En(){let e=ge;return ge=!1,e}function ht(){return d[d.length-1]||null}var h=null;function Le(){return h}function N(e){let n=h;return h=e,n}var mt=[],kt=[],Cn=[];function An(e){mt.push(e)}function Rn(e){kt.push(e)}function Nn(e){Cn.push(e)}function _n(){return w.length>0}function b(e){d.push(null);try{return e()}finally{d.pop()}}function Zo(e){Ne.push(e),Hn()}function er(){if(Ne.length===0)return;let e=Ne.splice(0);for(let n of e)n()}function nr(e,n){return Object.is(e,n)}function I(e){if(!e.disposed){e.disposed=!0,e.owner!==null&&K.get(e.owner)?.delete(e);for(let n of e.sources)n.delete(e);e.sources.clear();for(let n of e.cleanups)n();e.cleanups.length=0}}function tr(e){if(e.length===0){wt();return}let n=new Set(e);yt(t=>!(t!=null&&n.has(t)),!0)}function or(e){if(e.length===0)return;let n=new Set(e);yt(t=>t!=null&&n.has(t),!1)}function On(e){if(e.charCodeAt(0)!==95)return null;let n=e.indexOf("_",1);return n>0?e.slice(0,n+1):null}function yt(e,n){for(let s of Cn)try{s(e)}catch{}for(let s of Array.from(T))e(s.scope)&&(I(s),T.delete(s));let t=[];for(let s of fe.splice(0)){if(!e(s.scope)){t.push(s);continue}try{s.fn()}catch{}}fe.push(...t);let o=new Set([...G.keys(),...K.keys()]);for(let s of o)e(L.get(s)??null)&&me(s);if(!n)return;let r=globalThis,i=r.__krate_island_cleanups;if(Array.isArray(i)){r.__krate_island_cleanups=[];for(let s of i)try{s()}catch{}}U=null,Ee()}function wt(){U=null;for(let t of Cn)try{t(null)}catch{}for(let t of T)I(t);T.clear();for(let t of fe)try{t.fn()}catch{}fe.length=0;for(let t of Array.from(G.keys()))me(t);K.clear(),L.clear(),$.clear(),pe.clear(),v=null;let e=globalThis,n=e.__krate_island_cleanups;if(Array.isArray(n)){e.__krate_island_cleanups=[];for(let t of n)try{t()}catch{}}w.length=0,Ne.length=0,de=!1,P=0,X++,ge=!1,Ee()}function rr(e,n){return Fe(S(e))}function ir(e,n){return Fe(S(e))}function sr(e,n){let t={};for(let i of e){let[s]=S(!1);t[i]=s}let r=[t,(i,s)=>{}];return r.trigger=i=>({"data-krate-scope":"trigger",value:i}),r.panel=i=>({"data-krate-scope":"panel",value:i}),r.close=()=>({"data-krate-scope":"close"}),r}function cr(e,n){return Fe(S(e))}function ur(e,n){return Fe(S(e))}function Fe(e){let n=e;return n.trigger=t=>({"data-krate-scope":"trigger",value:t}),n.panel=t=>({"data-krate-scope":"panel",value:t}),n.close=()=>({"data-krate-scope":"close"}),n.current=()=>e[0](),n}function ar(e,n){let t=()=>e[0];return[{top:t,peek:t},{push:o=>{},pop:()=>{},clear:()=>{}}]}function S(e,n){let t=e,o=null;if(n?.persist){o=dn(n.persist);let l=pn(o.key,o.deserialize);if(l.found)t=l.value;else{let g=gn(o);g.found&&(t=g.value)}}let r=new Set,i=!!n?.react,s=t,c=null,u=i?{commit(l){Object.is(s,t)||(c||(c=[[0,s]]),c.push([l,t]),s=t,pe.add(u))},prune(l){if(!c)return!1;for(;c.length>1&&c[1][0]<=l;)c.shift();return c.length===1?(c=null,!1):!0}}:null,a=l=>{if(!c)return s;for(let g=c.length-1;g>=0;g--)if(c[g][0]<=l)return c[g][1];return c[0][1]},f=()=>{let l=d[d.length-1];if(l&&!l.disposed&&(r.add(l),l.sources.add(r)),i){if(v!==null)return a(v);if(D===0)return s}return t},p=(l=!1)=>vt(r,l),C=l=>{let g=typeof l=="function"?l(t):l;Object.is(g,t)||(t=g,o&&hn(o,t),u&&$.add(u),p(i))};if(o&&o.sync){let l=o,g=mn(l,ae=>{if(ae!==null)try{let Te=l.deserialize(ae);Object.is(Te,t)||(t=Te,p())}catch{}});j(g)}return Pn.add(f),[f,C]}function vt(e,n=!1){let t=Array.from(e);for(let o of t){if(o.disposed){e.delete(o);continue}if(o.mark){o.mark(n);continue}if(o.running){o.rerun=!0;continue}o.queued||(o.queued=!0,w.push(o))}Hn(n)}var St=new WeakSet;function lr(e,n){let t,o=!0,r=new Set,i=W(()=>{});i.mark=u=>{o||(o=!0,vt(r,u))},T.add(i);let s=()=>{let u=d[d.length-1];if(u&&!u.disposed&&(r.add(u),u.sources.add(r)),(D===0||v!==null)&&($.size>0||v!==null&&pe.size>0))return b(e);if(o&&!i.disposed){for(let a of i.sources)a.delete(i);i.sources.clear(),o=!1,d.push(i);try{n&&n(),t=e()}catch(a){throw o=!0,a}finally{d.pop()}}else if(i.disposed)return b(e);return t},c=d[d.length-1];return c&&c.cleanups.push(()=>{I(i),T.delete(i)}),St.add(s),Pn.add(s),s}function Ke(e){return typeof e=="function"&&St.has(e)}function fr(e){return Ke(e)?e:()=>e}var Pn=new WeakSet;function dr(e){return typeof e=="function"&&Pn.has(e)}var P=0,X=0;function Hn(e=!1){let n=_e===0&&Qo();n&&(ge=!0);let o=!(e||_e>0)||n||bn>0||D>0||typeof setTimeout!="function";if(P===1||!o&&P===2)return;de=!0;let r=++X,i=()=>{r===X&&Mn()};o?(P=1,queueMicrotask(i)):(P=2,setTimeout(i,0))}var wn=0;function Mn(){wn++;try{pr()}finally{wn--}}function pr(){de=!1,P=0,X++;let e=!1,n,t=r=>{e?typeof console<"u"&&console.error(r):(e=!0,n=r)};for(let r of mt)r();let o=0;for(;w.length>0&&o<xt;o++){let r=w.splice(0);vn=r;for(let i of r)if(!i.disposed){i.queued=!1,i.rerun=!1;try{Oe(i)}catch(s){t(s)}if(i.rerun&&!i.disposed){i.rerun=!1;try{Oe(i)}catch(s){t(s)}}}}if(w.length>0)try{Sn()}catch(r){t(r)}if(w.length===0&&(P=0,de=!1,X++),w.length===0){for(let r of Tt)try{r()}catch(i){t(i)}if(w.length>0){if(kn>=50)try{Sn()}catch(r){throw t(r),n}kn++;try{Mn()}catch(r){t(r)}finally{kn--}if(e)throw n;return}try{ke()}catch(r){t(r)}}if(e)throw n}var xt=100,vn=[];function Sn(){let e=w.splice(0);for(let r of e)r.queued=!1;de=!1,P=0,X++;let n=e.length>0?e:vn;vn=[];let t=Array.from(new Set(n.map(r=>r.fn.name||"anonymous effect"))).slice(0,3).join(", "),o=new Error("Maximum update depth exceeded. An effect keeps writing state that re-runs itself or another effect ("+t+"). Make the write conditional or remove the dependency that changes on every run.");for(let r of n)if(r.boundaryOwner&&m&&m.error(r.boundaryOwner,o))return;throw o}var Tt=[],kn=0;function gr(e){Tt.push(e)}function hr(){Hn()}function ke(){$.size>0&>(),typeof document<"u"&&document.activeElement;for(let e of kt)e();er()}function De(){if(w.length===0){ke();return}let e=0;for(;w.length>0;)e++>=xt&&Sn(),Mn()}function Oe(e){e.running=!0;let n=!1,t=h;h=e.owner,D++;let o=v;v=null;try{for(let i of e.cleanups.splice(0))i();for(let i of e.sources)i.delete(e);e.sources.clear(),d.push(e),n=!0;let r=e.fn();typeof r=="function"&&e.cleanups.push(r)}catch(r){if(!(e.boundaryOwner&&m&&m.error(e.boundaryOwner,r)))throw r}finally{v=o,D--,h=t,n&&d.pop(),e.running=!1}}function y(e){let n=W(e);T.add(n);let t=d[d.length-1],o=()=>{I(n),T.delete(n)};return n.boundaryOwner&&m&&m.cleanup(n.boundaryOwner,o),Oe(n),t&&!t.disposed?t.cleanups.push(o):t&&t.root&&Ln(t,o),o}function j(e){let n=ht();if(n){Ln(n,e);return}let t=m?m.current():null;if(t&&m)m.cleanup(t,e);else if(h!==null){he(h,F());let o=G.get(h);o||G.set(h,o=[]),o.push(e)}else fe.push({fn:e,scope:F()})}function Ln(e,n){if(e.dead){n();return}e.cleanups.push(n)}function mr(e){let n=W(()=>{});n.disposed=!0,n.root=!0;let t=()=>{if(n.dead)return;n.dead=!0;let o=n.cleanups.splice(0);for(let r of o)try{r()}catch(i){console.error(i)}};d.push(n);try{return e(t)}finally{d.pop()}}function kr(e){dt.push({fn:e,owner:d[d.length-1],boundary:m?m.current():null}),yn||(yn=!0,queueMicrotask(yr))}function yr(){yn=!1;let e=dt.splice(0);for(let{fn:n,owner:t,boundary:o}of e){let r=()=>{if(!t){n();return}if(t.dead||!t.root&&t.disposed)return;let i=W(()=>{});i.disposed=!0,d.push(i);try{n()}finally{d.pop()}for(let s of i.cleanups)Ln(t,s)};o&&m?m.run(o,r):r()}}function wr(e){let[n,t]=S(void 0),o=!0,r=W(()=>{});T.add(r);let i=()=>{for(let p of r.cleanups.splice(0))p();for(let p of r.sources)p.delete(r);r.sources.clear(),o=!1,d.push(r);let f;try{f=e()}catch(p){throw o=!0,p}finally{d.pop()}t(f)},s=W(()=>{o&&!r.disposed&&i()});T.add(s),r.mark=()=>{o=!0,!s.queued&&!s.disposed&&(s.queued=!0,w.push(s))},Oe(s);let c=()=>(o&&!r.disposed&&i(),n()),u=ht(),a=()=>{r.disposed||(I(r),T.delete(r),I(s),T.delete(s))};return u?u.cleanups.push(a):s.boundaryOwner&&m&&m.cleanup(s.boundaryOwner,a),c}function vr(e,n,t,o){t&&typeof t=="object"&&(o=t,t=void 0);let r=typeof t=="function"?t(n):n,[i,s]=S(r,o);return[i,u=>s(a=>e(a,u))]}function Sr(e){return{current:e}}function xr(e){return n=>e(n,n.ref||(()=>{}))}var k=je(null,null),E=new Map,A=new Map,z=new Set,_=new Set,Tr=0,Ie=!1,H=null,M=[],q=[],J=[],Y=new Map,Ct=[];function je(e,n){let t=n&&n.parent!==null?n.scope:n?F():null,o={id:e,parent:n,children:[],hooks:[],disposed:!1,shown:!0,conds:[],slot:null,record:null,scope:t};return n&&he(o,t),o}function br(e){Ct.push(e)}function Er(e){return qe(e).id}function qe(e){return e&&typeof e=="object"&&"hooks"in e?e:k}function Z(e){for(let n=e;n;n=n.parent)if(n.disposed||!n.shown)return!1;return!0}function At(e){for(let[n,t]of e.conds){let o=A.get(n);if(o!==void 0&&o!==t)return!1}return!0}function Cr(e,n,t,o){if(e==null){N(null);return}let r=E.get(e);if(!r){let i=n!=null&&E.get(n)||k;r=je(e,i);for(let s=i;s;s=s.parent)s.disposed&&(r.disposed=!0);i.children.push(r),E.set(e,r);for(let[s,c,u]of t||[])r.conds.push([s,c]),A.has(s)||A.set(s,u?c:c==="c"?"a":"c");r.shown=At(r),o&&(r.slot=o,z.has(o)&&(r.disposed=!0))}N(r)}function jn(e){let n=qe(Le()),t=je(null,n);n.children.push(t);let o=N(t);try{return{value:e(),owner:t}}finally{N(o)}}function te(e){let n=qe(e);if(n===k||n.disposed)return;let t=Z(n),o=[];if(ze(n,t,o),n.parent){let r=n.parent.children,i=r.indexOf(n);i>=0&&r.splice(i,1)}o.length&&(M.push(...o),qn())}function ze(e,n,t){e.disposed=!0;for(let o of e.hooks){if(o.stop(),_.delete(o),!n){o.mounted&&(o.mounted=!1,o.cleanup=null,In(o.epoch));continue}if(o.phase==="passive"){let r=oe(o);r&&t.push(r)}else ee(o)}for(let o of Ct)o(e,e.id);me(e),e.record&&e.record.owner===e&&(e.record.owner=null);for(let o of e.children.slice())ze(o,n&&o.shown,t)}function Ar(e){let n=E.get(e);n&&(te(n),E.delete(e))}function Rr(e,n,t,o,r){let i={id:e,parentId:n,conds:[],slot:o||null,fn:r,owner:null};for(let[s,c,u]of t||[])i.conds.push([s,c]),A.has(s)||A.set(s,u?c:c==="c"?"a":"c");J.push(i),Fn(i)&&Nt(i)}function Rt(e){if(e.parentId==null)return k;let n=E.get(e.parentId);if(!n)return k;for(let t=n;t;t=t.parent)if(t.disposed)return null;return n}function Fn(e){if(e.slot&&z.has(e.slot))return!1;for(let[n,t]of e.conds){let o=A.get(n);if(o!==void 0&&o!==t)return!1}return Rt(e)!==null}function Nt(e){let n=Rt(e)||k,t=je(e.id,n);t.record=e,t.slot=e.slot,n.children.push(t),E.set(e.id,t),e.owner=t;let o=N(t);try{b(e.fn)}finally{N(o)}}function Nr(e){if(!z.has(e)){z.add(e);for(let n of Array.from(E.values()))n.slot===e&&te(n)}}function _r(e,n){if(A.get(e)===n)return;A.set(e,n);for(let r of J)r.owner&&!r.owner.disposed&&!Fn(r)&&te(r.owner);for(let r of J)!r.owner&&Fn(r)&&Nt(r);let t=[];for(let r of E.values())!r.record&&r.conds.some(([i])=>i===e)&&t.push(r);let o=[];for(let r of t){let i=At(r);if(i===r.shown)continue;let s=Z(r);r.shown=i;let c=Z(r);s&&!c?_t(r,o):!s&&c&&Ot(r)}o.length&&(M.push(...o),o=[],qn()),Lt()}function _t(e,n){for(let t of e.hooks)if(_.delete(t),t.phase==="passive"){let o=oe(t);o&&n.push(o)}else ee(t);for(let t of e.children)t.shown&&!t.disposed&&_t(t,n)}function Ot(e){for(let n of e.hooks)Mt(n);for(let n of e.children)n.shown&&!n.disposed&&Ot(n)}function Pt(e,n){if(!e||!n||e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(!Object.is(e[t],n[t]))return!1;return!0}function Ht(e){if(e!=null)return Array.isArray(e)?e:Array.from(e)}function Mt(e){e.dirty=!0,_.add(e),Lt()}function Lt(){Ie||(Ie=!0,queueMicrotask(()=>{_n()||(ne(),ke())}))}function Or(e,n,t="passive"){let o=qe(Le()),r={owner:o,phase:t,fn:e,deps:n||null,prev:void 0,hasPrev:!1,cleanup:null,mounted:!1,epoch:0,dirty:!1,seq:Tr++,stop:()=>{},scope:o===k?F():o.scope};o.hooks.push(r),!o.disposed&&(r.stop=y(()=>{let i=r.deps?Ht(r.deps()):[];r.hasPrev&&Pt(r.prev,i)||(r.prev=i,r.hasPrev=!0,Z(r.owner)&&Mt(r))}))}function Kn(e,n){if(e.owner.disposed)return;let t;try{t=He(n,()=>b(e.fn))}catch(o){Ft(o,e.owner);return}e.cleanup=typeof t=="function"?t:null,e.mounted=!0,e.epoch=n,Y.set(n,(Y.get(n)||0)+1)}var Dn=null;function Pr(e){Dn=e}function Ft(e,n){let t=null;for(let o=n;o&&t===null;o=o.parent)t=o.id;if(!(Dn&&Dn(e,t)))throw e}function Hr(e,n){try{b(e)}catch(t){Ft(t,n)}}function oe(e){if(!e.mounted)return null;e.mounted=!1;let n=e.epoch,t=e.cleanup;return e.cleanup=null,t?()=>{try{He(n,()=>b(t))}finally{In(n)}}:(In(n),null)}function In(e){let n=(Y.get(e)||1)-1;n>0?Y.set(e,n):Y.delete(e)}function ee(e){let n=oe(e);n&&Hr(n,e.owner)}function bt(){let e=Pe();for(let n of Y.keys())n<e&&(e=n);xn(e)}function Mr(e){let n=new Map,t=0,o=r=>{for(let i of r.children)o(i);n.set(r,t++)};for(let r of k.children)o(r);return n.set(k,t++),Array.from(e).sort((r,i)=>{let s=n.get(r.owner)??t,c=n.get(i.owner)??t;return s!==c?s-c:r.seq-i.seq})}var Kt=[];function Lr(e){Kt.push(e)}function Et(){for(let e of Kt)e()}function Fr(){Ie=!1;let e=Pe(),n=En();if(_.size===0){Et(),n&&ne(),bt();return}let t=Mr(_).filter(o=>Z(o.owner));_.clear();for(let o of t)o.dirty=!1;Q(!0);try{let o=0;for(;o<t.length;){let i=t[o].owner,s=o;for(;s<t.length&&t[s].owner===i;)s++;for(let c=o;c<s;c++)t[c].phase==="insertion"&&(ee(t[c]),Kn(t[c],e));for(let c=o;c<s;c++)t[c].phase==="layout"&&ee(t[c]);o=s}for(let i of t)i.phase==="layout"&&Kn(i,e);Et();let r=!1;for(let i of t){if(i.phase!=="passive")continue;let s=oe(i);s&&M.push(s),q.push([i,e]),r=!0}r&&qn(),n&&ne()}finally{Q(!1)}bt()}function qn(){H===null&&(H=setTimeout(ne,0))}function ne(){for(H!==null&&(clearTimeout(H),H=null);M.length||q.length;){let e=M,n=q;M=[],q=[],Q(!0);try{for(let t of e)t();for(let[t,o]of n)Z(t.owner)&&Kn(t,o)}finally{Q(!1)}}}function Dt(e,n){let t,o=!1,r;return()=>{let i=Ht(n())||[];return(!o||!Pt(t,i))&&(t=i,o=!0,r=b(e)),r}}function Kr(e){return function(...t){return b(()=>e.apply(this,t))}}function Dr(e,n){let t=!0;return Dt(()=>{if(t)return t=!1,e;let o=e;return function(...r){return o.apply(this,r)}},n)}function Ir(e){if(e&&typeof e=="object"){let n=Object.getPrototypeOf(e);if(n===Object.prototype||n===null){let t=[];for(let o of Object.keys(e))o!=="children"&&t.push(e[o]);return t}}return[e]}function jr(e){let n=[];for(let r of k.children.slice()){if(!e(r.scope))continue;ze(r,r.shown,n);let i=k.children.indexOf(r);i>=0&&k.children.splice(i,1)}let t=[];for(let r of k.hooks){if(!e(r.scope)){t.push(r);continue}if(r.stop(),_.delete(r),r.phase==="passive"){let i=oe(r);i&&n.push(i)}else ee(r)}k.hooks=t;for(let[r,i]of Array.from(E))(i.disposed||e(i.scope))&&E.delete(r);let o=r=>!e(On(r));for(let r of Array.from(A.keys()))o(r)||A.delete(r);for(let r of Array.from(z))o(r)||z.delete(r);for(let r=J.length-1;r>=0;r--)o(J[r].id)||J.splice(r,1);for(let r of Array.from(_))r.owner.disposed&&_.delete(r);q=q.filter(([r])=>!r.owner.disposed&&!(r.owner===k&&e(r.scope)));for(let r of n)try{b(r)}catch{}N(null)}function qr(e){if(e){jr(e);return}let n=[];for(let o of k.children.slice())ze(o,o.shown,n);for(let o of k.hooks)if(o.stop(),o.phase==="passive"){let r=oe(o);r&&n.push(r)}else ee(o);k.children.length=0,k.hooks.length=0,E.clear(),A.clear(),z.clear(),_.clear(),q=[];let t=M.concat(n);M=[],H!==null&&(clearTimeout(H),H=null);for(let o of t)try{b(o)}catch{}Ie=!1,N(null)}An(ne);Rn(Fr);Nn(qr);var ye=new Set;function It(e){let n,t=!1;if(y(()=>{try{e()}catch(o){n=o,t=!0}})(),t)throw n}function Be(e){if(e.on)return;e.on=!0;let n=e.ref;It(()=>{if(typeof n=="function"){let t=n(e.el);e.undo=typeof t=="function"?t:()=>n(null)}else if(n&&typeof n=="object")n.current=e.el,e.undo=()=>{n.current=null};else if(e.assign){let t=e.assign;t(e.el),e.undo=()=>t(null)}else e.undo=null})}function zn(e){if(!e.on)return;e.on=!1;let n=e.undo;e.undo=null,n&&It(n)}function jt(e,n){let t={el:n,ref:e,on:!1,undo:null};return Be(t),()=>zn(t)}var re=null;function qt(){re||(re=[],queueMicrotask(Bn))}function Bn(){let e=re;if(re=null,!!e)for(let n of e)ye.has(n)&&n.el.isConnected&&Be(n)}function we(e,n,t,o){let r={el:e,ref:n,assign:t,on:!1,undo:null};return ye.add(r),o==="defer"&&re?re.push(r):(o==="now"||e.isConnected)&&Be(r),()=>{ye.delete(r),zn(r)}}function Ve(e){for(let n of ye)n.on&&e.contains(n.el)&&zn(n)}function Ue(){for(let e of ye)!e.on&&e.el.isConnected&&Be(e)}var zr={doubleclick:"dblclick",focus:"focusin",blur:"focusout"},Br={dblclick:"doubleclick",focusin:"focus",focusout:"blur"},Vr={focusin:"focus",focusout:"blur"},Ur=new Set("scroll scrollend load error abort cancel close invalid toggle beforetoggle mouseenter mouseleave pointerenter pointerleave canplay canplaythrough durationchange emptied encrypted ended loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" ")),Wt={change:["change","input","click"],beforeinput:["beforeinput","compositionend"]},Wr={preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()},stopPropagation(){this._s=!0,this.nativeEvent.stopPropagation()},isDefaultPrevented(){return this.defaultPrevented},isPropagationStopped(){return!!this._s},persist(){},isPersistent(){return!0}},Gr={get(e,n){if(n in e)return e[n];let t=e.nativeEvent,o=t[n];return typeof o=="function"?o.bind(t):o}};function Ge(e,n,t){let o=Object.create(Wr),r=t===void 0?e.target:t;return r&&r.nodeType===3&&(r=r.parentNode),o.type=n||Vr[e.type]||e.type,o.target=r,o.currentTarget=null,o.nativeEvent=e,o.defaultPrevented=e.defaultPrevented,new Proxy(o,Gr)}var Vn,We=!1;function Gt(e,n){try{e(n)}catch(t){We||(We=!0,Vn=t)}}function $t(){if(We){let e=Vn;throw We=!1,Vn=void 0,e}}function Xn(e,n,t,o,r){let i=[],s=[];for(let a=t;a;a=a.__kpp||a.parentNode){let f=a.__kh;if(!f)continue;let p;o&1&&(p=f[n+"$"])&&i.unshift(a,p),o&2&&(p=f[n])&&s.push(a,p)}if(!i.length&&!s.length)return null;let c=Ge(e,r,t),u=i.concat(s);for(let a=0;a<u.length&&!c._s;a+=2)c.currentTarget=u[a],Gt(u[a+1],c);return c.currentTarget=null,c}var zt=new WeakMap,Un=new Set,Xt=new Set;function $r(){return typeof document>"u"?null:document.getElementById("root")||document.body}function Wn(e,n){let t=zt.get(e);t||(t=new Set,zt.set(e,t)),!t.has(n)&&(t.add(n),e.addEventListener(n,Xr,!0),e.addEventListener(n,Qr,!1))}function Gn(e){Xt.add(e);let n=$r();n&&(Un.add(n),Wn(n,e));for(let t of Un)t!==n&&t.isConnected&&Wn(t,e)}function $e(e){Un.add(e);for(let n of Xt)Wn(e,n)}function Xr(e){Qt(e,!0)}function Qr(e){Qt(e,!1)}function Qt(e,n){let t=n?"__kdc":"__kdb",o=e;if(o[t])return;o[t]=1;let r=e.type,i=e.target;Me(r,!n,()=>{r!=="change"&&r!=="beforeinput"&&Xn(e,Br[r]||r,i,n?1:2),n||(r==="change"||r==="input"||r==="click"?ni(e):(r==="beforeinput"||r==="compositionend")&&ti(e))}),$t()}function Jr(e){Jt(this,e,!1)}function Yr(e){Jt(this,e,!0)}function Jt(e,n,t){let o=e.__kh,r=o&&o[n.type+(t?"$":"")];if(!r)return;let i=Ge(n);i.currentTarget=e,Me(n.type,!0,()=>Gt(r,i)),i.currentTarget=null,$t()}function Qn(e){let n=e.slice(2),t=!1;return n.length>7&&n.slice(-7)==="Capture"&&!/^(Got|Lost)PointerCapture$/.test(n)&&(n=n.slice(0,-7),t=!0),[n.toLowerCase(),t]}function ve(e,n,t){let[o,r]=Qn(n),i=e,s=i.__kh||(i.__kh={}),c=o+(r?"$":"");if(typeof t!="function"){s[c]=void 0;return}if(s[c]=t,Ur.has(o)){let a=i.__kd||(i.__kd={});a[c]||(a[c]=1,e.addEventListener(o,r?Yr:Jr,r));return}let u=Wt[o];if(u){for(let a of u)Gn(a);o==="change"&&eo(e)}else Gn(zr[o]||o)}function Xe(e){let n=e.querySelectorAll("input[value]");for(let t=0;t<n.length;t++){let o=n[t];if(!Yt.has(o.type||"text")||!o.value||o.ownerDocument.activeElement===o)continue;let r=o.value;o.value="",o.value=r}}var Yt=new Set("color date datetime datetime-local email month number password range search tel text time url week".split(" "));function Jn(e){return e.tagName==="INPUT"&&(e.type==="checkbox"||e.type==="radio")}function Zt(e){return Jn(e)?String(e.checked):String(e.value)}function eo(e){e.__kv===void 0&&(e.tagName==="INPUT"||e.tagName==="TEXTAREA")&&(e.__kv=Zt(e))}function $n(e){let n=Zt(e);return e.__kv===n?!1:(e.__kv=n,!0)}function Zr(e){if(!e.name||!e.ownerDocument)return[e];let n=[],t=e.ownerDocument.getElementsByName(e.name);for(let o=0;o<t.length;o++){let r=t[o];r.tagName==="INPUT"&&r.type==="radio"&&r.form===e.form&&n.push(r)}return n}function ei(e){let n=e.target;if(!n||!n.tagName)return null;let t=e.type,o=n.tagName;return o==="SELECT"||o==="INPUT"&&n.type==="file"?t==="change"?n:null:Jn(n)?t==="click"&&$n(n)?n:null:(o==="TEXTAREA"||o==="INPUT"&&Yt.has(n.type||"text"))&&t!=="click"&&$n(n)?n:null}function ni(e){let n=ei(e);if(n)if(Xn(e,"change",n,3,"change"),n.type==="radio")for(let t of Zr(n))$n(t),Ut(t);else Ut(n)}function ti(e){let n=e;e.type==="beforeinput"&&(n.isComposing||typeof n.data!="string"||n.data==="")||e.type==="compositionend"&&!n.data||Xn(e,"beforeinput",e.target,3,"beforeinput")}function Bt(e,n){e.__kw||(e.__kw=1,console.error(n))}function Vt(e,n,t){let o=e.options;if(e.multiple){let s=new Set((Array.isArray(n)?n:[n]).map(String));for(let c=0;c<o.length;c++){let u=s.has(o[c].value);t?o[c].defaultSelected=u:o[c].selected!==u&&(o[c].selected=u)}return}let r=String(n),i=null;for(let s=0;s<o.length;s++){if(o[s].value===r){t?o[s].defaultSelected=!0:o[s].selected=!0;return}!i&&!o[s].disabled&&(i=o[s])}i&&!t&&(i.selected=!0)}function B(e,n,t){let o=e;switch(n){case"value":{if(t==null)return;if(o.tagName==="SELECT"){Vt(o,t,!1);return}let r=String(t);o.value!==r&&(o.value=r),o.type!=="file"&&!(o.type==="number"&&o.ownerDocument&&o.ownerDocument.activeElement===o)&&o.defaultValue!==r&&(o.defaultValue=r),Jn(o)||(o.__kv=r);return}case"checked":{if(t==null)return;let r=!!t;o.checked!==r&&(o.checked=r),o.__kv=String(r);return}case"defaultValue":o.tagName==="SELECT"?Vt(o,t,!0):o.defaultValue=t==null?"":String(t);return;case"defaultChecked":o.defaultChecked=!!t;return;default:o[n]=!!t}}function Ut(e){let n=e.__kc;n&&(De(),n.value&&B(e,"value",n.value()),n.checked&&B(e,"checked",n.checked()))}function Qe(e,n,t){let o=e,r=n==="value"||n==="checked";if(r){(o.__kc||(o.__kc={}))[n]=t;for(let c of Wt.change)Gn(c);eo(o)}let i,s=!1;return y(()=>{let c=t();if(r){let u=c!=null;c===null&&n==="value"?Bt(o,"`value` prop on `"+o.tagName.toLowerCase()+"` should not be null. Use an empty string to clear it or `undefined` for an uncontrolled field."):i!==void 0&&i!==u&&Bt(o,"A component is changing "+(i?"a controlled":"an uncontrolled")+" input to be "+(u?"controlled":"uncontrolled")+". Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),i=u}B(o,n,c),!s&&n==="value"&&o.tagName==="TEXTAREA"&&o.ownerDocument.activeElement!==o&&o.setSelectionRange(0,0),s=!0})}var no="template[data-krate-portal]",Je=new Map,Ye=new Set;function oi(e,n){Je.set(e,n)}function ri(e){return!!e&&typeof e=="object"&&(e.nodeType===1||e.nodeType===11)}function ii(e){let n=e.getAttribute("data-krate-portal")||"",t=Je.get(n);if(t){let r=null;try{r=t()}catch{r=null}return ri(r)?r:null}let o=e.getAttribute("data-krate-portal-target");if(!o||o==="body")return document.body;try{return document.querySelector(o)}catch{return null}}function Yn(e){if(e.__kpn||!e.isConnected)return;let n=ii(e);if(!n)return;let t=Array.from(e.content.childNodes),o=document.createDocumentFragment();for(let i of t)i.__kpp=e,o.appendChild(i);n.appendChild(o),e.__kpn=t,Ye.add(e);let r=document.getElementById("root");n.nodeType===1&&!(r&&r.contains(n))&&$e(n),e.__kpd||(e.__kpd=!0,en(e,()=>Ze(e,!0)))}function Ze(e,n){let t=e.__kpn;if(t){e.__kpn=void 0,Ye.delete(e);for(let o of t)n?o.parentNode&&o.parentNode.removeChild(o):e.content.appendChild(o),o.__kpp=void 0}}function Zn(e){let n=[];return e.matches?.(no)&&n.push(e),e.querySelectorAll(no).forEach(t=>n.push(t)),n}function si(e){if(!(typeof document>"u"))for(let n of Zn(e||document))Yn(n)}function et(e){return Zn(e)}function nt(e){for(let n of e)Yn(n)}function tt(e){for(let n of Zn(e))Ze(n)}function to(e,n){let t=e.slice(),o=new Set;for(;t.length;)t.shift().querySelectorAll("template").forEach(i=>{if(o.has(i))return;o.add(i);let s=i;s.hasAttribute("data-krate-portal")&&n(s.content),t.push(s.content)})}function ci(e,n){for(let o of Ye)for(let r of o.__kpn||[]){if(r.nodeType!==1)continue;let i=r;if(i.matches(e))return i;let s=i.querySelector(e);if(s)return s}let t=null;return to(n,o=>{t||(t=o.querySelector(e))}),t}function ui(){let e=new Set;for(let n of Array.from(Ye))n.isConnected?e.add(n.getAttribute("data-krate-portal")||""):Ze(n,!0);for(let n of Array.from(Je.keys()))e.has(n)||Je.delete(n)}var ie=new Set,ro=new WeakMap;function ai(){return Array.from(ie)}function li(){let e=new Set,n=!0;for(;n;){n=!1;for(let t of ie){if(e.has(t))continue;let o=ro.get(t);if(!o)continue;let r=o.getRootNode();(o.isConnected||e.has(r))&&(e.add(t),n=!0)}}for(let t of Array.from(ie))e.has(t)||ie.delete(t)}function oo(e){let n="/"+(e.nodeValue||"");for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType===8&&t.nodeValue===n)return t;return null}function fi(e,n,t){let o=e,r=n?"c":"a",i=o.__krateCond;if(!i){let l=t?t.getAttribute("data-kb"):null;i={shown:l==="c"?"a":l==="a"?"c":r,other:null,tpl:t,end:oo(e)},o.__krateCond=i}if(i.shown===r)return;let s=e.parentNode;if(!s)return;(!i.end||i.end.parentNode!==s)&&(i.end=oo(e));let c=i.end,u=document.createDocumentFragment(),a=e.nextSibling;for(;a&&a!==c;){let l=a.nextSibling;u.appendChild(a),a=l}Ve(u),tt(u);let f=i.other;if(!f&&(f=document.createDocumentFragment(),i.tpl&&(f.appendChild(i.tpl.content),i.tpl.getAttribute("data-kns")==="svg"))){let l=f.firstChild;if(l&&l.nodeType===1){for(;l.firstChild;)f.insertBefore(l.firstChild,l);f.removeChild(l)}}ie.delete(f);let p=f.querySelector("[autofocus]");Xe(f);let C=et(f);s.insertBefore(f,c),nt(C),i.other=u,ie.add(u),ro.set(u,e),i.shown=r,Ue(),p&&(p.removeAttribute("autofocus"),p.focus())}var di={href:!0,src:!0,action:!0,formaction:!0,"xlink:href":!0},pi=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,io="javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')";function ot(e,n){return di[e.toLowerCase()]&&pi.test(n)?io:n}var Se=new WeakMap;function R(e,n){en(e,n)}function en(e,n){let t=Se.get(e);t||(t=[],Se.set(e,t)),t.push(n)}function ao(e,n){let t=()=>te(n);if(typeof DocumentFragment<"u"&&e instanceof DocumentFragment)for(let o=0;o<e.childNodes.length;o++)R(e.childNodes[o],t);else if(typeof Node<"u"&&e instanceof Node)R(e,t);else if(Array.isArray(e))for(let o of e)ao(o,n)}function gi(e,n,t){let o=!0,r=y(()=>{let i=we(e,n?n():void 0,t,o?"defer":void 0);o=!1,j(i)});return R(e,r),r}function ce(e){let n=Se.get(e);if(n){for(let t of n)t();n.length=0}for(let t=0;t<e.childNodes.length;t++)ce(e.childNodes[t])}function hi(e){let n=e.nextSibling;for(;n;){if(n.nodeType===8&&n.nodeValue==="k")return n;n=n.nextSibling}return null}function lo(e,n){let t=e.parentNode;if(!t)return;let o=e.nextSibling;for(;o&&o!==n;){let r=o.nextSibling;ce(o),t.removeChild(o),o=r}}function mi(e,n,t){let o=hi(t);o?(lo(t,o),rt(e,n,o)):rt(e,n,null)}function rt(e,n,t){if(!(n==null||n===!1||n===!0)){if(typeof n=="string"||typeof n=="number")e.insertBefore(document.createTextNode(String(n)),t);else if(n instanceof Node)e.insertBefore(n,t);else if(Array.isArray(n))for(let o of n)rt(e,o,t)}}var ki={htmlFor:"for"},yi=new Set(["animation-iteration-count","aspect-ratio","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","grid-area","grid-row","grid-row-end","grid-row-span","grid-row-start","grid-column","grid-column-end","grid-column-span","grid-column-start","font-weight","line-clamp","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"]);function wi(e){if(e.startsWith("--"))return e;let n=e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase());return n.startsWith("ms-")?"-"+n:n}var so=new WeakMap;function fo(e,n){let t=e.style;if(!t)return;let o=new Set;for(let i of Object.keys(n)){let s=n[i];if(s==null||typeof s=="boolean"||s==="")continue;let c=wi(i),u=c.replace(/^-(webkit|moz|ms|o)-/,""),a=typeof s=="number"&&s!==0&&!c.startsWith("--")&&!yi.has(u)?s+"px":String(s);t.setProperty(c,a),o.add(c)}let r=so.get(e);if(r)for(let i of r)o.has(i)||t.removeProperty(i);so.set(e,o)}function po(e,n,t){if(e.localName.indexOf("-")<1||n.indexOf("-")>=0)return!1;let o=typeof t=="object"&&t!==null||typeof t=="function";if(!o&&!(n in e))return!1;e[n]=t;let r=typeof customElements<"u"?customElements:null;return o&&r&&!r.get(e.localName)&&typeof r.whenDefined=="function"&&r.whenDefined(e.localName).then(()=>{let i=e;delete i[n],i[n]=t}),!0}function nn(e,n,t){if(!(e.localName.indexOf("-")>0&&n!=="class"&&n!=="className"&&n!=="style"&&n!=="ref"&&n!=="key"&&n!=="children"&&!n.startsWith("on")&&po(e,n,t))){if(n==="class"||n==="className"){let o=t===!1||t===null||t===void 0?"":String(t);if(e.getAttribute("class")!==o){if(o===""&&!e.hasAttribute("class")&&typeof t!="string")return;e.setAttribute("class",o)}}else if(n==="style")typeof t=="string"?e.getAttribute("style")!==t&&e.setAttribute("style",t):t&&typeof t=="object"?fo(e,t):(t==null||t===!1)&&e.removeAttribute("style");else if(n.startsWith("on")&&typeof t=="function")ve(e,n,t);else if(n==="value"||n==="checked"||n==="selected"||n==="defaultValue"||n==="defaultChecked")B(e,n,t);else if(n==="ref"){let o=we(e,t,void 0,"now");R(e,o),j(o)}else if(!(n==="key"||n==="children"||n==="dangerouslySetInnerHTML")){let o=ki[n]||n,r=/^(aria|data)-/.test(o);if(t==null||t===!1&&!r)e.hasAttribute(o)&&e.removeAttribute(o);else{let i=t===!0&&!r?"":ot(o,String(t));e.getAttribute(o)!==i&&e.setAttribute(o,i)}}}}function go(e,n){for(let o in n){let r=n[o];typeof r=="function"&&(o==="value"||o==="checked")?R(e,Qe(e,o,r)):typeof r=="function"&&!o.startsWith("on")&&o!=="ref"?R(e,y(()=>nn(e,o,r()))):nn(e,o,r)}let t=n.dangerouslySetInnerHTML;if(t&&typeof t=="object"&&t.__html!=null){let o=String(t.__html);e.innerHTML!==o&&(e.innerHTML=o)}}var co=new WeakMap;function vi(e,n){R(e,y(()=>{let t=n()||{},o=new Set;for(let i of Object.keys(t))i==="children"||i==="key"||i==="dangerouslySetInnerHTML"||(o.add(i),nn(e,i,t[i]));let r=co.get(e);if(r)for(let i of r)o.has(i)||(i.startsWith("on")?ve(e,i,null):nn(e,i,void 0));co.set(e,o)}))}var V=0;function ho(e){let n=V;V=n+1;try{return e()}finally{V=n}}function mo(e){let n=V;V=0;try{return e()}finally{V=n}}function ko(e){return!!e&&typeof e=="object"&&e.__kv===1}function yo(e){return!!e&&typeof e=="object"&&e.__ka===1}var tn="http://www.w3.org/2000/svg",Si=new Set(["svg","g","defs","symbol","use","switch","desc","metadata","path","circle","ellipse","line","polygon","polyline","rect","text","tspan","textPath","image","foreignObject","marker","mask","pattern","clipPath","linearGradient","radialGradient","stop","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","animate","animateMotion","animateTransform","set","mpath","view"]);function xi(e){return Si.has(e)?document.createElementNS(tn,e):document.createElement(e)}function Ti(e){let n=e;return n.namespaceURI===tn&&n.localName!=="foreignObject"}function uo(e,n){let t=n;if(t.nodeType!==1||t.namespaceURI===tn||!Ti(e))return n;let o=document.createElementNS(tn,t.localName);for(let r of Array.from(t.attributes))o.setAttribute(r.name,r.value);for(;t.firstChild;)o.appendChild(t.firstChild);return o}function wo(e,n,t){let o=xi(e);if(n&&go(o,n),!n||!n.dangerouslySetInnerHTML)for(let r of t)xe(o,r);return o}function vo(e){return mo(()=>wo(e.tag,e.props,e.children))}function st(e){return e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function ct(e){return e==null||typeof e=="boolean"?"":String(e)}function xe(e,n){if(!(n==null||n===!1||n===!0)){if(Array.isArray(n)){for(let t of n)xe(e,t);return}if(typeof n=="function"){Ci(e,n,null);return}if(ko(n)){e.appendChild(uo(e,vo(n)));return}if(yo(n)){e.appendChild(n.mount());return}e.appendChild(n instanceof Node?uo(e,n):document.createTextNode(String(n)))}}function bi(e,n){let t=Se.get(e);if(t){Se.delete(e);for(let o of t)R(n,o)}}function it(e,n){let t=e.parentNode;if(!t)return;let o=e.nextSibling;for(;o&&o!==n;){let r=o.nextSibling;ce(o),t.removeChild(o),o=r}}function Ei(e){if(!e.text)return;let n=e.text,t=n.parentNode;e.start=document.createComment(""),e.end=document.createComment(""),t.insertBefore(e.start,n),t.insertBefore(e.end,n.nextSibling),bi(n,e.start),t.removeChild(n),e.text=null}function So(e,n){if(st(n)){let o=ct(n);if(e.text){e.text.data!==o&&(e.text.data=o);return}it(e.start,e.end),o!==""&&e.end.parentNode.insertBefore(document.createTextNode(o),e.end);return}Ei(e),it(e.start,e.end);let t=document.createDocumentFragment();xe(t,n),e.end.parentNode.insertBefore(t,e.end)}function Ci(e,n,t){let o={text:null,start:null,end:null},r=!0,i=y(()=>{let s=n();if(!r){So(o,s);return}if(r=!1,st(s)){o.text=document.createTextNode(ct(s)),e.insertBefore(o.text,t);return}o.start=document.createComment(""),o.end=document.createComment(""),e.insertBefore(o.start,t);let c=document.createDocumentFragment();xe(c,s),e.insertBefore(c,t),e.insertBefore(o.end,t)});R(o.text||o.start,i)}function xo(e){for(;e.next&&e.next.nodeType===8;)e.next=e.next.nextSibling}function se(e,n){e.parent.insertBefore(n,e.next)}function To(e,n){xo(e);let t=e.next;if(n!==""&&t&&t.nodeType===3){let r=t;return r.data.length>n.length&&r.data.startsWith(n)?r.splitText(n.length):r.data!==n&&(r.data=n),e.next=r.nextSibling,r}let o=document.createTextNode(n);return se(e,o),o}function bo(e,n){let t=e.next;for(;t&&t!==n;){let o=t.nextSibling;ce(t),e.parent.removeChild(t),t=o}e.next=n}function Ai(e,n){xo(n);let t=n.next;if(t&&t.nodeType===1&&t.localName.toLowerCase()===e.tag.toLowerCase()){n.next=t.nextSibling;let o=t;if(e.props&&go(o,e.props),!e.props||!e.props.dangerouslySetInnerHTML){let r={parent:o,next:o.firstChild};for(let i of e.children)on(i,r);bo(r,null)}return}se(n,vo(e))}function Ri(e,n){let t={text:null,start:null,end:null},o=!0,r=y(()=>{if(!o){So(t,e());return}o=!1;let i=ho(e);if(st(i)){t.text=To(n,ct(i));return}t.start=document.createComment(""),se(n,t.start),on(i,n),t.end=document.createComment(""),se(n,t.end)});R(t.text||t.start,r)}function on(e,n){if(!(e==null||typeof e=="boolean")){if(Array.isArray(e)){for(let t of e)on(t,n);return}if(typeof e=="function"){Ri(e,n);return}if(ko(e)){Ai(e,n);return}if(yo(e)){e.adopt(n);return}if(e instanceof Node){se(n,e);return}To(n,String(e))}}function Ni(e,n,...t){if(typeof e=="function"){let o=n||{};(t.length>0||!("children"in o))&&(o.children=t);let{value:r,owner:i}=jn(()=>e(o));return ao(r,i),r}return V>0?{__kv:1,tag:e,props:n,children:t}:wo(e,n,t)}function Eo(e){if(typeof e=="string"){let n=document.querySelector(e);if(!n)throw new Error(`Container "${e}" not found`);return n}return e}function _i(e,n){let t=Eo(n),o=!1;y(()=>{o||(o=!0,t.appendChild(e()))})}function Oi(e,n){let t=Eo(n);if(t.childNodes.length===0){t.appendChild(e());return}let o=e();o&&ce(o)}function Co(){return globalThis.__krateSuspenseHook}function Pi(e,n){let[t,o]=S(void 0),[r,i]=S(!0),[s,c]=S(void 0),[u,a]=S("unresolved"),[f,p]=S(0),C,l=Co()?.current()??null,g=null,ae=null,Te=()=>typeof e=="function"?e():e,Ro=()=>{let x=No();return g=x,x.then(()=>{g===x&&(g=null)}),x},No=async()=>{C&&C.abort(),C=new AbortController;let x=C,_o=Te();a(f()>0?"refreshing":"loading"),i(!0),c(void 0);try{let be=await n(_o,{signal:x.signal});x.signal.aborted||(o(()=>be),a("ready"))}catch(be){be?.name!=="AbortError"&&!x.signal.aborted&&(c(be),a("error"))}finally{x.signal.aborted||i(!1)}};y(()=>{typeof e=="function"&&e.length===0&&e(),f(),Ro(),j(()=>{C&&(C.abort(),C=void 0)})});let ut=function(){return l&&g&&ae!==g&&(ae=g,Co()?.suspend(l,g)),t()};return Object.defineProperties(ut,{loading:{get:()=>r()},error:{get:()=>s()},state:{get:()=>u()}}),[ut,{mutate:x=>{o(x)},refetch:()=>{p(x=>x+1)}}]}function Hi(e){return Ke(e)?e():e}var ue=null,Mi=0,Ao=typeof TextEncoder<"u"?new TextEncoder:null;function Li(e){return e.replace(/[^A-Za-z0-9_.:$-]/gu,n=>(Ao?Array.from(Ao.encode(n)):[n.charCodeAt(0)&255]).map(o=>"%"+o.toString(16).toUpperCase().padStart(2,"0")).join(""))}function Fi(e,n){if(!e)return n();let t=ue;ue={prefix:Li(e),n:0};try{return n()}finally{ue=t}}function Ki(){return ue?"krate-"+ue.prefix+"-u"+ue.n++:"krate_u"+Mi++}function rn(e){return!!document.head.querySelector(e)}function sn(e,n,t){if(typeof document>"u"||!n)return;let o='link[rel="'+e+'"][href="'+(window.CSS&&CSS.escape?CSS.escape(n):n)+'"]';if(rn(o))return;let r=document.createElement("link");r.rel=e,r.href=n,t&&(t.as&&(r.as=t.as),t.crossOrigin!==void 0&&(r.crossOrigin=t.crossOrigin),t.integrity&&(r.integrity=t.integrity),t.type&&(r.type=t.type),t.media&&(r.media=t.media),t.nonce&&(r.nonce=t.nonce),t.fetchPriority&&r.setAttribute("fetchpriority",t.fetchPriority),t.referrerPolicy&&(r.referrerPolicy=t.referrerPolicy),t.imageSrcSet&&r.setAttribute("imagesrcset",t.imageSrcSet),t.imageSizes&&r.setAttribute("imagesizes",t.imageSizes)),document.head.appendChild(r)}function Di(e,n){sn("preload",e,n)}function Ii(e,n){sn("modulepreload",e,n)}function ji(e,n){sn("preconnect",e,n)}function qi(e){sn("dns-prefetch",e)}function zi(e,n){if(typeof document>"u"||!e)return;if(n&&n.as==="script"){if(rn('script[src="'+e+'"]'))return;let o=document.createElement("script");o.src=e,o.async=!0,n.crossOrigin!==void 0&&(o.crossOrigin=n.crossOrigin),n.integrity&&(o.integrity=n.integrity),n.nonce&&(o.nonce=n.nonce),document.head.appendChild(o);return}if(rn('link[rel="stylesheet"][href="'+e+'"]'))return;let t=document.createElement("link");t.rel="stylesheet",t.href=e,n&&n.crossOrigin!==void 0&&(t.crossOrigin=n.crossOrigin),n&&n.integrity&&(t.integrity=n.integrity),n&&n.media&&(t.media=n.media),document.head.appendChild(t)}function Bi(e,n){if(typeof document>"u"||!e||rn('script[type="module"][src="'+e+'"]'))return;let t=document.createElement("script");t.type="module",t.src=e,n&&n.crossOrigin!==void 0&&(t.crossOrigin=n.crossOrigin),n&&n.integrity&&(t.integrity=n.integrity),document.head.appendChild(t)}return Fo(Vi);})();
|
|
1
|
+
var __krate_exports=(()=>{var sn=Object.defineProperty;var Jo=Object.getOwnPropertyDescriptor;var Yo=Object.getOwnPropertyNames;var Zo=Object.prototype.hasOwnProperty;var er=(e,n)=>{for(var t in n)sn(e,t,{get:n[t],enumerable:!0})},nr=(e,n,t,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of Yo(n))!Zo.call(e,r)&&r!==t&&sn(e,r,{get:()=>n[r],enumerable:!(o=Jo(n,r))||o.enumerable});return e};var tr=e=>nr(sn({},"__esModule",{value:!0}),e);var ys={};er(ys,{BLOCKED_URL:()=>go,KRATE_CONTEXT:()=>gt,__krate_useId:()=>is,adoptValue:()=>rn,afterFlush:()=>wr,appendChild:()=>xe,clearBetween:()=>st,clearNodes:()=>xo,clearPersisted:()=>ur,createCSSChoice:()=>br,createCSSFlags:()=>Cr,createCSSGroup:()=>Ar,createCSSRange:()=>_r,createCSSStack:()=>Rr,createCSSToggle:()=>Er,createCallbackDeps:()=>oi,createContext:()=>un,createEffect:()=>y,createEffectDeps:()=>Jr,createEffectEvent:()=>ti,createMemo:()=>Ir,createMemoDeps:()=>Gt,createReducer:()=>jr,createResource:()=>es,createRoot:()=>Fr,createScope:()=>rr,createScopeFlags:()=>ir,createSignal:()=>v,disposeAll:()=>Et,disposeNode:()=>se,flushPassive:()=>te,flushSync:()=>ks,forwardRef:()=>Br,h:()=>Ji,hydrate:()=>Zi,insert:()=>Di,insertAt:()=>ie,isDerivedGetter:()=>Ke,isSignalGetter:()=>Pr,krateApplyStyle:()=>To,krateAttachRef:()=>we,krateBindRef:()=>Fi,krateCommitSnapshot:()=>St,krateCommitting:()=>Q,krateCondActivity:()=>Qr,krateCondDetached:()=>Ri,krateCondReset:()=>Ni,krateCondSwap:()=>Oi,krateContextRows:()=>sr,krateControl:()=>Je,krateCurrentScope:()=>F,krateCustomProp:()=>bo,krateDepsOf:()=>ri,krateDerived:()=>Nr,krateDisposeExcept:()=>xr,krateDisposeOwner:()=>he,krateDisposeScopes:()=>Tr,krateEnterScope:()=>dr,krateEpoch:()=>He,krateEventName:()=>Jn,krateEventRoot:()=>Xe,krateFlushSync:()=>De,krateForgetOwner:()=>Wr,krateGetOwner:()=>J,krateHintPreconnect:()=>Vo,krateHintPrefetchDNS:()=>Uo,krateHintPreinit:()=>Go,krateHintPreinitModule:()=>Wo,krateHintPreload:()=>Bo,krateHintPreloadModule:()=>zo,krateHintTags:()=>ls,krateHook:()=>Or,krateHookState:()=>lr,krateIsDiscrete:()=>yr,krateKeepScopes:()=>gr,krateLeaveScope:()=>pr,krateMount:()=>$r,krateMountFields:()=>Qe,krateMountPortals:()=>Ci,krateMuteEvents:()=>mi,krateOn:()=>Se,krateOnAfterFlush:()=>An,krateOnBeforeFlush:()=>Cn,krateOnDispose:()=>_n,krateOnHookError:()=>Yr,krateOnLayoutCommit:()=>ei,krateOnSettle:()=>Lr,krateOnUnmount:()=>Vr,krateOwner:()=>Gr,krateOwnerId:()=>Ur,krateParam:()=>ns,kratePendingFlush:()=>Rn,kratePortalFind:()=>Ai,kratePortalMount:()=>Zn,kratePortalReset:()=>_i,kratePortalScan:()=>lo,kratePortalTarget:()=>Ti,kratePortalUnmount:()=>en,kratePortalsEnter:()=>tt,kratePortalsIn:()=>nt,kratePortalsLeave:()=>ot,kratePruneSnapshots:()=>vn,krateReadAt:()=>Le,krateRefsEnter:()=>Ue,krateRefsFlush:()=>Vn,krateRefsHold:()=>Xt,krateRefsLeave:()=>Ve,krateRenderPhase:()=>hr,krateRequestFlush:()=>Mr,krateRunEvent:()=>Me,krateSanitizeAttr:()=>rt,krateScopeOfId:()=>Pn,krateSetControl:()=>z,krateSetOwner:()=>b,krateSetRef:()=>$t,krateSlotReplaced:()=>Xr,krateSpread:()=>Bi,krateSynthetic:()=>$e,krateTagOwner:()=>ge,krateTakeSyncLane:()=>bn,krateTrackNode:()=>nn,krateTransitionWrites:()=>kr,krateUnmount:()=>B,krateWithContexts:()=>ht,krateWithIdScope:()=>rs,krateWithOwner:()=>qn,mount:()=>Yi,onCleanup:()=>I,onMount:()=>Kr,preconnect:()=>ps,prefetchDNS:()=>gs,preinit:()=>ds,preinitModule:()=>ms,preload:()=>fs,preloadModule:()=>hs,readDurableState:()=>dn,readPersisted:()=>pn,removeRest:()=>Fo,resetContexts:()=>Ce,resolvePersist:()=>fn,runAfterFlush:()=>me,sameValue:()=>vr,setOwnerHooks:()=>fr,subscribePersist:()=>hn,trackEffect:()=>A,untrack:()=>E,useRef:()=>qr,withDOM:()=>Ro,withVNodes:()=>_o,writePersisted:()=>gn});var or=0,gt=Symbol.for("krate.context"),ae=class{constructor(n){this.get=n}};function cn(e){if(e instanceof Node)return e;let n=document.createDocumentFragment();if(Array.isArray(e))for(let t of e)n.appendChild(cn(t));else e!=null&&e!==!1&&e!==!0&&n.appendChild(document.createTextNode(String(e)));return n}var O=new Map;function Ce(){for(let[e,n]of O)if(n.length>0){let t=n[0];O.set(e,[t])}}function rr(){return un({})}function ir(){return un({})}function un(e){let n=or++;O.set(n,[e]);let t=()=>{let c=O.get(n);if(c&&c.length>0){let u=c[c.length-1];return u instanceof ae?u.get():u}return e},o=()=>{let c=O.get(n),u=c&&c.length>0?c[c.length-1]:e;return u instanceof ae?()=>u.get():()=>u},r=c=>{let u=O.get(n)||[e];u.push(c.value),O.set(n,u);let a=document.createElement("div");a.style.display="contents";let f=c.children;if(f)for(let p of Array.isArray(f)?f:[f])p instanceof Node?a.appendChild(p):p!=null&&a.appendChild(document.createTextNode(String(p)));return u.pop(),u.length===0&&u.push(e),a},i=c=>{let u=c.children;return Array.isArray(u)&&(u=u.find(a=>typeof a=="function")),cn(typeof u=="function"?u(t()):null)},s=(c=>r(c));return s.$$typeof=gt,s.id=n,s.defaultValue=e,s.Provider=r,r.__kctxOf=s,s.Consumer=i,s.useContext=t,s.use=t,s.useContextLive=o,s}function sr(e,n){let t=(...o)=>ht(e,()=>n(...o));return t.__kctx=e,t}function ht(e,n){let t=[];for(let[o,r]of e){let i=O.get(o.id);i&&(i.push(new ae(r)),t.push(i))}try{return n()}finally{for(let o=t.length-1;o>=0;o--)t[o].pop()}}function cr(){let e=new Map;return{getItem:n=>e.has(n)?e.get(n):null,setItem:(n,t)=>{e.set(n,t)},removeItem:n=>{e.delete(n)}}}var an=cr();function kt(){return typeof window<"u"}function ln(e){if(e&&typeof e=="object")return e;if(!kt())return an;try{return e==="session"?window.sessionStorage:e==="memory"?an:window.localStorage}catch{return an}}function fn(e){let n=typeof e=="string"?{key:e}:e;if(!n.key)throw new Error("[krate] createSignal persist requires a key");let t=n.store??"local";return{key:n.key,store:t,serialize:n.serialize??(o=>JSON.stringify(o)),deserialize:n.deserialize??(o=>JSON.parse(o)),sync:n.sync??t==="local"}}function dn(e,n){let o=globalThis.__KRATE_STATE__;if(!o||!Object.prototype.hasOwnProperty.call(o,e))return{found:!1};let r=o[e];if(typeof r=="string")try{return{found:!0,value:n(r)}}catch{return{found:!0,value:r}}return{found:!0,value:r}}function pn(e){let n=ln(e.store),t;try{t=n.getItem(e.key)}catch{return{found:!1}}if(t==null)return{found:!1};try{return{found:!0,value:e.deserialize(t)}}catch{return{found:!1}}}function gn(e,n){let t=ln(e.store);try{t.setItem(e.key,e.serialize(n))}catch{}}function ur(e){let n=ln(e.store);try{n.removeItem(e.key)}catch{}}var Ae=new Map,mt=!1;function ar(){mt||!kt()||(mt=!0,window.addEventListener("storage",e=>{if(e.key===null)return;let n=Ae.get(e.key);if(n)for(let t of n)t(e.newValue)}))}function hn(e,n){if(!e.sync)return()=>{};let t=Ae.get(e.key)??new Set;return t.add(n),Ae.set(e.key,t),ar(),()=>{t.delete(n),t.size===0&&Ae.delete(e.key)}}var lr={react:!0},d=[],yt=[],kn=!1,m=null;function fr(e){m=e}var Ne=[],T=new Set,le=[],U=null,wt=new Set,M=new Map;function dr(e){return wt.has(e)?!1:(U=e,h=null,!0)}function pr(){U=null,h=null}function F(){let e=d[d.length-1];return e?e.scope:U!==null?U:h!==null&&M.has(h)?M.get(h)??null:null}function gr(e){wt=new Set(e)}function ge(e,n){e!==null&&!M.has(e)&&M.set(e,n)}var w=[];function G(e){let n=F(),t={fn:e,cleanups:[],disposed:!1,sources:new Set,running:!1,rerun:!1,queued:!1,owner:h,boundaryOwner:m?m.current():null,scope:n};if(h!==null){ge(h,n);let o=K.get(h);o||K.set(h,o=new Set),o.add(t)}return t}var K=new Map,W=new Map;function he(e){let n=K.get(e);if(K.delete(e),n)for(let o of n)On(o),T.delete(o);let t=W.get(e);if(W.delete(e),M.delete(e),t)for(let o of t)try{o()}catch{}}var D=0,S=null,_e=0,$=new Set,fe=new Set;function hr(e){D++;let n=S;S=null;try{return e()}finally{S=n,D--}}function St(){_e++;for(let e of $)e.commit(_e);return $.clear(),_e}function He(){return _e}function Le(e,n){let t=S;S=e;try{return n()}finally{S=t}}function vn(e){for(let n of fe)n.prune(e)||fe.delete(n)}var xn=new Set("auxclick beforeinput blur cancel change click close compositionend compositionstart compositionupdate contextmenu copy cut dblclick dragend dragstart drop focusin focusout input invalid keydown keypress keyup mousedown mouseup paste pause play pointercancel pointerdown pointerup ratechange reset resize seeked select submit touchcancel touchend touchstart volumechange focus".split(" ")),Tn=0,de=!1,Re=0;function mr(){if(Re>0)return!0;let e=typeof window<"u"?window.event:void 0;return!!e&&xn.has(e.type)}var Oe=0;function kr(e){Oe++;try{return e()}finally{Oe--}}function yr(e){return xn.has(e)}function Me(e,n,t){if(!xn.has(e)){t();return}Re++;try{t()}finally{Re--,n&&Re===0&&yn===0&&Tn===0&&(w.length>0||de)&&De()}}function Q(e){Tn+=e?1:-1}function bn(){let e=de;return de=!1,e}function vt(){return d[d.length-1]||null}var h=null;function J(){return h}function b(e){let n=h;return h=e,n}var xt=[],Tt=[],En=[];function Cn(e){xt.push(e)}function An(e){Tt.push(e)}function _n(e){En.push(e)}function Rn(){return w.length>0}function E(e){d.push(null);try{return e()}finally{d.pop()}}function wr(e){Ne.push(e),Ln()}function Sr(){if(Ne.length===0)return;let e=Ne.splice(0);for(let n of e)n()}function vr(e,n){return Object.is(e,n)}function Nn(e){let n=!1,t;for(let o of e.splice(0))try{o()}catch(r){n?typeof console<"u"&&console.error(r):(n=!0,t=r)}if(n)throw t}function pe(e){if(!e.disposed){e.disposed=!0,e.owner!==null&&K.get(e.owner)?.delete(e);for(let n of e.sources)n.delete(e);e.sources.clear(),Nn(e.cleanups)}}function On(e){try{pe(e)}catch(n){typeof console<"u"&&console.error(n)}}function xr(e){if(e.length===0){Et();return}let n=new Set(e);bt(t=>!(t!=null&&n.has(t)),!0)}function Tr(e){if(e.length===0)return;let n=new Set(e);bt(t=>t!=null&&n.has(t),!1)}function Pn(e){if(e.charCodeAt(0)!==95)return null;let n=e.indexOf("_",1);return n>0?e.slice(0,n+1):null}function bt(e,n){for(let s of En)try{s(e)}catch(c){typeof console<"u"&&console.error(c)}for(let s of Array.from(T))e(s.scope)&&(On(s),T.delete(s));let t=[];for(let s of le.splice(0)){if(!e(s.scope)){t.push(s);continue}try{s.fn()}catch{}}le.push(...t);let o=new Set([...W.keys(),...K.keys()]);for(let s of o)e(M.get(s)??null)&&he(s);if(!n)return;let r=globalThis,i=r.__krate_island_cleanups;if(Array.isArray(i)){r.__krate_island_cleanups=[];for(let s of i)try{s()}catch{}}U=null,Ce()}function Et(){U=null;for(let t of En)try{t(null)}catch(o){typeof console<"u"&&console.error(o)}for(let t of T)On(t);T.clear();for(let t of le)try{t.fn()}catch{}le.length=0;for(let t of Array.from(W.keys()))he(t);K.clear(),M.clear(),$.clear(),fe.clear(),S=null;let e=globalThis,n=e.__krate_island_cleanups;if(Array.isArray(n)){e.__krate_island_cleanups=[];for(let t of n)try{t()}catch{}}w.length=0,Ne.length=0,P=0,X++,de=!1,Ce()}function br(e,n){return Fe(v(e))}function Er(e,n){return Fe(v(e))}function Cr(e,n){let t={};for(let i of e){let[s]=v(!1);t[i]=s}let r=[t,(i,s)=>{}];return r.trigger=i=>({"data-krate-scope":"trigger",value:i}),r.panel=i=>({"data-krate-scope":"panel",value:i}),r.close=()=>({"data-krate-scope":"close"}),r}function Ar(e,n){return Fe(v(e))}function _r(e,n){return Fe(v(e))}function Fe(e){let n=e;return n.trigger=t=>({"data-krate-scope":"trigger",value:t}),n.panel=t=>({"data-krate-scope":"panel",value:t}),n.close=()=>({"data-krate-scope":"close"}),n.current=()=>e[0](),n}function Rr(e,n){let t=()=>e[0];return[{top:t,peek:t},{push:o=>{},pop:()=>{},clear:()=>{}}]}function v(e,n){let t=e,o=null;if(n?.persist){o=fn(n.persist);let l=dn(o.key,o.deserialize);if(l.found)t=l.value;else{let g=pn(o);g.found&&(t=g.value)}}let r=new Set,i=!!n?.react,s=t,c=null,u=i?{commit(l){Object.is(s,t)||(c||(c=[[0,s]]),c.push([l,t]),s=t,fe.add(u))},prune(l){if(!c)return!1;for(;c.length>1&&c[1][0]<=l;)c.shift();return c.length===1?(c=null,!1):!0}}:null,a=l=>{if(!c)return s;for(let g=c.length-1;g>=0;g--)if(c[g][0]<=l)return c[g][1];return c[0][1]},f=()=>{let l=d[d.length-1];if(l&&!l.disposed&&(r.add(l),l.sources.add(r)),i){if(S!==null)return a(S);if(D===0)return s}return t},p=(l=!1)=>Ct(r,l),_=l=>{let g=typeof l=="function"?l(t):l;Object.is(g,t)||(t=g,o&&gn(o,t),u&&$.add(u),p(i))};if(o&&o.sync){let l=o,g=hn(l,ue=>{if(ue!==null)try{let be=l.deserialize(ue);Object.is(be,t)||(t=be,p())}catch{}});I(g)}return Hn.add(f),[f,_]}function Ct(e,n=!1){let t=Array.from(e);for(let o of t){if(o.disposed){e.delete(o);continue}if(o.mark){o.mark(n);continue}if(o.running){o.rerun=!0;continue}o.queued||(o.queued=!0,w.push(o))}Ln(n)}var At=new WeakSet;function Nr(e,n){let t,o=!0,r=new Set,i=G(()=>{});i.mark=u=>{o||(o=!0,Ct(r,u))},T.add(i);let s=()=>{let u=d[d.length-1];if(u&&!u.disposed&&(r.add(u),u.sources.add(r)),(D===0||S!==null)&&($.size>0||S!==null&&fe.size>0))return E(e);if(o&&!i.disposed){for(let a of i.sources)a.delete(i);i.sources.clear(),o=!1,d.push(i);try{n&&n(),t=e()}catch(a){throw o=!0,a}finally{d.pop()}}else if(i.disposed)return E(e);return t},c=d[d.length-1];return c&&c.cleanups.push(()=>{pe(i),T.delete(i)}),At.add(s),Hn.add(s),s}function Ke(e){return typeof e=="function"&&At.has(e)}function Or(e){return Ke(e)?e:()=>e}var Hn=new WeakSet;function Pr(e){return typeof e=="function"&&Hn.has(e)}var P=0,X=0;function Ln(e=!1){let n=Oe===0&&mr();n&&(de=!0);let o=!(e||Oe>0)||n||Tn>0||D>0||typeof setTimeout!="function";if(P===1||!o&&P===2)return;let r=++X,i=()=>{r===X&&Mn()};o?(P=1,queueMicrotask(i)):(P=2,setTimeout(i,0))}var yn=0;function Mn(){yn++;try{Hr()}finally{yn--}}function Hr(){P=0,X++;let e=!1,n,t=r=>{e?typeof console<"u"&&console.error(r):(e=!0,n=r)};for(let r of xt)r();let o=0;for(;w.length>0&&o<_t;o++){let r=w.splice(0);wn=r;for(let i of r)if(!i.disposed){i.queued=!1,i.rerun=!1;try{Pe(i)}catch(s){t(s)}if(i.rerun&&!i.disposed){i.rerun=!1;try{Pe(i)}catch(s){t(s)}}}}if(w.length>0)try{Sn()}catch(r){t(r)}if(w.length===0&&(P=0,X++),w.length===0){for(let r of Rt)try{r()}catch(i){t(i)}if(w.length>0){if(mn>=50)try{Sn()}catch(r){throw t(r),n}mn++;try{Mn()}catch(r){t(r)}finally{mn--}if(e)throw n;return}try{me()}catch(r){t(r)}}if(e)throw n}var _t=100,wn=[];function Sn(){let e=w.splice(0);for(let r of e)r.queued=!1;P=0,X++;let n=e.length>0?e:wn;wn=[];let t=Array.from(new Set(n.map(r=>r.fn.name||"anonymous effect"))).slice(0,3).join(", "),o=new Error("Maximum update depth exceeded. An effect keeps writing state that re-runs itself or another effect ("+t+"). Make the write conditional or remove the dependency that changes on every run.");for(let r of n)if(r.boundaryOwner&&m&&m.error(r.boundaryOwner,o))return;throw o}var Rt=[],mn=0;function Lr(e){Rt.push(e)}function Mr(){Ln()}function me(){$.size>0&&St(),typeof document<"u"&&document.activeElement;for(let e of Tt)e();Sr()}function De(){if(w.length===0){me();return}let e=0;for(;w.length>0;)e++>=_t&&Sn(),Mn()}function Pe(e){e.running=!0;let n=!1,t=h;h=e.owner,D++;let o=S;S=null;try{Nn(e.cleanups);for(let i of e.sources)i.delete(e);e.sources.clear(),d.push(e),n=!0;let r=e.fn();typeof r=="function"&&e.cleanups.push(r)}catch(r){if(!(e.boundaryOwner&&m&&m.error(e.boundaryOwner,r)))throw r}finally{S=o,D--,h=t,n&&d.pop(),e.running=!1}}function y(e){let n=G(e);T.add(n);let t=d[d.length-1],o=()=>{pe(n),T.delete(n)};return n.boundaryOwner&&m&&m.cleanup(n.boundaryOwner,o),Pe(n),t&&!t.disposed?t.cleanups.push(o):t&&t.root&&Fn(t,o),o}function I(e){let n=vt();if(n){Fn(n,e);return}let t=m?m.current():null;if(t&&m)m.cleanup(t,e);else if(h!==null){ge(h,F());let o=W.get(h);o||W.set(h,o=[]),o.push(e)}else le.push({fn:e,scope:F()})}function Fn(e,n){if(e.dead){n();return}e.cleanups.push(n)}function Fr(e){let n=G(()=>{});n.disposed=!0,n.root=!0;let t=()=>{if(n.dead)return;n.dead=!0;let o=n.cleanups.splice(0);for(let r of o)try{r()}catch(i){console.error(i)}};d.push(n);try{return e(t)}finally{d.pop()}}function Kr(e){yt.push({fn:e,owner:d[d.length-1],boundary:m?m.current():null}),kn||(kn=!0,queueMicrotask(Dr))}function Dr(){kn=!1;let e=yt.splice(0);for(let{fn:n,owner:t,boundary:o}of e){let r=()=>{if(!t){n();return}if(t.dead||!t.root&&t.disposed)return;let i=G(()=>{});i.disposed=!0,d.push(i);try{n()}finally{d.pop()}for(let s of i.cleanups)Fn(t,s)};o&&m?m.run(o,r):r()}}function Ir(e){let[n,t]=v(void 0),o=!0,r=G(()=>{});T.add(r);let i=()=>{Nn(r.cleanups);for(let p of r.sources)p.delete(r);r.sources.clear(),o=!1,d.push(r);let f;try{f=e()}catch(p){throw o=!0,p}finally{d.pop()}t(f)},s=G(()=>{o&&!r.disposed&&i()});T.add(s),r.mark=()=>{o=!0,!s.queued&&!s.disposed&&(s.queued=!0,w.push(s))},Pe(s);let c=()=>(o&&!r.disposed&&i(),n()),u=vt(),a=()=>{r.disposed||(pe(r),T.delete(r),pe(s),T.delete(s))};return u?u.cleanups.push(a):s.boundaryOwner&&m&&m.cleanup(s.boundaryOwner,a),c}function jr(e,n,t,o){t&&typeof t=="object"&&(o=t,t=void 0);let r=typeof t=="function"?t(n):n,[i,s]=v(r,o);return[i,u=>s(a=>e(a,u))]}function qr(e){return{current:e}}function Br(e){return n=>e(n,n.ref||(()=>{}))}var k=je(null,null),C=new Map,R=new Map,q=new Set,N=new Set,zr=0,Ie=!1,H=null,L=[],j=[],Y=[],Z=new Map,Pt=[];function je(e,n){let t=n&&n.parent!==null?n.scope:n?F():null,o={id:e,parent:n,children:[],hooks:[],disposed:!1,shown:!0,conds:[],slot:null,record:null,scope:t};return n&&ge(o,t),o}function Vr(e){Pt.push(e)}function Ur(e){return qe(e).id}function qe(e){return e&&typeof e=="object"&&"hooks"in e?e:k}function ee(e){for(let n=e;n;n=n.parent)if(n.disposed||!n.shown)return!1;return!0}function Ht(e){for(let[n,t]of e.conds){let o=R.get(n);if(o!==void 0&&o!==t)return!1}return!0}function Gr(e,n,t,o){if(e==null){b(null);return}let r=C.get(e);if(!r){let i=n!=null&&C.get(n)||k;r=je(e,i);for(let s=i;s;s=s.parent)s.disposed&&(r.disposed=!0);i.children.push(r),C.set(e,r);for(let[s,c,u]of t||[])r.conds.push([s,c]),R.has(s)||R.set(s,u?c:c==="c"?"a":"c");r.shown=Ht(r),o&&(r.slot=o,q.has(o)&&(r.disposed=!0))}b(r)}function qn(e){let n=qe(J()),t=je(null,n);n.children.push(t);let o=b(t);try{return{value:e(),owner:t}}finally{b(o)}}function B(e){let n=qe(e);if(n===k||n.disposed)return;let t=ee(n),o=[];if(Be(n,t,o),n.parent){let r=n.parent.children,i=r.indexOf(n);i!==-1&&r.splice(i,1)}o.length&&(L.push(...o),Bn())}function Be(e,n,t){e.disposed=!0;for(let o of e.hooks){if(o.stop(),N.delete(o),!n){o.mounted&&(o.mounted=!1,o.cleanup=null,jn(o.epoch));continue}if(o.phase==="passive"){let r=ke(o);r&&t.push(r)}else ne(o)}for(let o of Pt)o(e,e.id);he(e),e.record&&e.record.owner===e&&(e.record.owner=null);for(let o of e.children.slice())Be(o,n&&o.shown,t)}function Wr(e){let n=C.get(e);n&&(B(n),C.delete(e))}function $r(e,n,t,o,r){let i={id:e,parentId:n,conds:[],slot:o||null,fn:r,owner:null};for(let[s,c,u]of t||[])i.conds.push([s,c]),R.has(s)||R.set(s,u?c:c==="c"?"a":"c");Y.push(i),Kn(i)&&Mt(i)}function Lt(e){if(e.parentId==null)return k;let n=C.get(e.parentId);if(!n)return k;for(let t=n;t;t=t.parent)if(t.disposed)return null;return n}function Kn(e){if(e.slot&&q.has(e.slot))return!1;for(let[n,t]of e.conds){let o=R.get(n);if(o!==void 0&&o!==t)return!1}return Lt(e)!==null}function Mt(e){let n=Lt(e)||k,t=je(e.id,n);t.record=e,t.slot=e.slot,n.children.push(t),C.set(e.id,t),e.owner=t;let o=b(t);try{E(e.fn)}finally{b(o)}}function Xr(e){if(!q.has(e)){q.add(e);for(let n of Array.from(C.values()))n.slot===e&&B(n)}}function Qr(e,n){if(R.get(e)===n)return;R.set(e,n);for(let r of Y)r.owner&&!r.owner.disposed&&!Kn(r)&&B(r.owner);for(let r of Y)!r.owner&&Kn(r)&&Mt(r);let t=[];for(let r of C.values())!r.record&&r.conds.some(([i])=>i===e)&&t.push(r);let o=[];for(let r of t){let i=Ht(r);if(i===r.shown)continue;let s=ee(r);r.shown=i;let c=ee(r);s&&!c?Ft(r,o):!s&&c&&Kt(r)}o.length&&(L.push(...o),o=[],Bn()),qt()}function Ft(e,n){for(let t of e.hooks)if(N.delete(t),t.phase==="passive"){let o=ke(t);o&&n.push(o)}else ne(t);for(let t of e.children)t.shown&&!t.disposed&&Ft(t,n)}function Kt(e){for(let n of e.hooks)jt(n);for(let n of e.children)n.shown&&!n.disposed&&Kt(n)}function Dt(e,n){if(!e||!n||e.length!==n.length)return!1;for(let t=0;t<e.length;t++)if(!Object.is(e[t],n[t]))return!1;return!0}function It(e){if(e!=null)return Array.isArray(e)?e:Array.from(e)}function jt(e){e.dirty=!0,N.add(e),qt()}function qt(){Ie||(Ie=!0,queueMicrotask(()=>{Rn()||(te(),me())}))}function Jr(e,n,t="passive"){let o=qe(J()),r={owner:o,phase:t,fn:e,deps:n||null,prev:void 0,hasPrev:!1,cleanup:null,mounted:!1,epoch:0,dirty:!1,seq:zr++,stop:()=>{},scope:o===k?F():o.scope};o.hooks.push(r),!o.disposed&&(r.stop=y(()=>{let i=r.deps?It(r.deps()):[];r.hasPrev&&Dt(r.prev,i)||(r.prev=i,r.hasPrev=!0,ee(r.owner)&&jt(r))}))}function Dn(e,n){if(e.owner.disposed)return;let t;try{t=Le(n,()=>E(e.fn))}catch(o){Bt(o,e.owner);return}e.cleanup=typeof t=="function"?t:null,e.mounted=!0,e.epoch=n,Z.set(n,(Z.get(n)||0)+1)}var In=null;function Yr(e){In=e}function Bt(e,n){let t=null;for(let o=n;o&&t===null;o=o.parent)t=o.id;if(!(In&&In(e,t)))throw e}function zt(e,n){try{E(e)}catch(t){Bt(t,n)}}function Vt(e){if(!e.mounted)return null;e.mounted=!1;let n=e.epoch,t=e.cleanup;return e.cleanup=null,t?()=>{try{Le(n,()=>E(t))}finally{jn(n)}}:(jn(n),null)}function jn(e){let n=(Z.get(e)||1)-1;n>0?Z.set(e,n):Z.delete(e)}function ne(e){let n=Vt(e);n&&zt(n,e.owner)}function ke(e){let n=Vt(e);return n?()=>zt(n,e.owner):null}function Nt(){let e=He();for(let n of Z.keys())n<e&&(e=n);vn(e)}function Zr(e){let n=new Map,t=0,o=r=>{for(let i of r.children)o(i);n.set(r,t++)};for(let r of k.children)o(r);return n.set(k,t++),Array.from(e).sort((r,i)=>{let s=n.get(r.owner)??t,c=n.get(i.owner)??t;return s!==c?s-c:r.seq-i.seq})}var Ut=[];function ei(e){Ut.push(e)}function Ot(){for(let e of Ut)e()}function ni(){Ie=!1;let e=He(),n=bn();if(N.size===0){Ot(),n&&te(),Nt();return}let t=Zr(N).filter(o=>ee(o.owner));N.clear();for(let o of t)o.dirty=!1;Q(!0);try{let o=0;for(;o<t.length;){let i=t[o].owner,s=o;for(;s<t.length&&t[s].owner===i;)s++;for(let c=o;c<s;c++)t[c].phase==="insertion"&&(ne(t[c]),Dn(t[c],e));for(let c=o;c<s;c++)t[c].phase==="layout"&&ne(t[c]);o=s}for(let i of t)i.phase==="layout"&&Dn(i,e);Ot();let r=!1;for(let i of t){if(i.phase!=="passive")continue;let s=ke(i);s&&L.push(s),j.push([i,e]),r=!0}r&&Bn(),n&&te()}finally{Q(!1)}Nt()}function Bn(){H===null&&(H=setTimeout(te,0))}function te(){H!==null&&(clearTimeout(H),H=null);let e=!1,n,t=o=>{e?typeof console<"u"&&console.error(o):(e=!0,n=o)};for(;L.length||j.length;){let o=L,r=j;L=[],j=[],Q(!0);try{for(let i of o)try{i()}catch(s){t(s)}for(let[i,s]of r)if(ee(i.owner))try{Dn(i,s)}catch(c){t(c)}}finally{Q(!1)}}if(e)throw n}function Gt(e,n){let t,o=!1,r;return()=>{let i=It(n())||[];return(!o||!Dt(t,i))&&(t=i,o=!0,r=E(e)),r}}function ti(e){return function(...t){return E(()=>e.apply(this,t))}}function oi(e,n){let t=!0;return Gt(()=>{if(t)return t=!1,e;let o=e;return function(...r){return o.apply(this,r)}},n)}function ri(e){if(e&&typeof e=="object"){let n=Object.getPrototypeOf(e);if(n===Object.prototype||n===null){let t=[];for(let o of Object.keys(e))o!=="children"&&t.push(e[o]);return t}}return[e]}function ii(e){let n=[];for(let r of k.children.slice()){if(!e(r.scope))continue;Be(r,r.shown,n);let i=k.children.indexOf(r);i!==-1&&k.children.splice(i,1)}let t=[];for(let r of k.hooks){if(!e(r.scope)){t.push(r);continue}if(r.stop(),N.delete(r),r.phase==="passive"){let i=ke(r);i&&n.push(i)}else ne(r)}k.hooks=t;for(let[r,i]of Array.from(C))(i.disposed||e(i.scope))&&C.delete(r);let o=r=>!e(Pn(r));for(let r of Array.from(R.keys()))o(r)||R.delete(r);for(let r of Array.from(q))o(r)||q.delete(r);for(let r=Y.length-1;r>=0;r--)o(Y[r].id)||Y.splice(r,1);for(let r of Array.from(N))r.owner.disposed&&N.delete(r);j=j.filter(([r])=>!r.owner.disposed&&!(r.owner===k&&e(r.scope)));for(let r of n)try{E(r)}catch{}b(null)}function si(e){if(e){ii(e);return}let n=[];for(let o of k.children.slice())Be(o,o.shown,n);for(let o of k.hooks)if(o.stop(),o.phase==="passive"){let r=ke(o);r&&n.push(r)}else ne(o);k.children.length=0,k.hooks.length=0,C.clear(),R.clear(),q.clear(),N.clear(),j=[];let t=L.concat(n);L=[],H!==null&&(clearTimeout(H),H=null);for(let o of t)try{E(o)}catch{}Ie=!1,b(null)}Cn(te);An(ni);_n(si);var ye=new Set;function Wt(e){let n,t=!1;if(y(()=>{try{e()}catch(o){n=o,t=!0}})(),t)throw n}function ze(e){if(e.on)return;e.on=!0;let n=e.ref;Wt(()=>{if(typeof n=="function"){let t=n(e.el);e.undo=typeof t=="function"?t:()=>n(null)}else if(n&&typeof n=="object")n.current=e.el,e.undo=()=>{n.current=null};else if(e.assign){let t=e.assign;t(e.el),e.undo=()=>t(null)}else e.undo=null})}function zn(e){if(!e.on)return;e.on=!1;let n=e.undo;e.undo=null,n&&Wt(n)}function $t(e,n){let t={el:n,ref:e,on:!1,undo:null};return ze(t),()=>zn(t)}var oe=null;function Xt(){oe||(oe=[],queueMicrotask(Vn))}function Vn(){let e=oe;if(oe=null,!!e)for(let n of e)ye.has(n)&&n.el.isConnected&&ze(n)}function we(e,n,t,o){let r={el:e,ref:n,assign:t,on:!1,undo:null};return ye.add(r),o==="defer"&&oe?oe.push(r):(o==="now"||e.isConnected)&&ze(r),()=>{ye.delete(r),zn(r)}}function Ve(e){for(let n of ye)n.on&&e.contains(n.el)&&zn(n)}function Ue(){for(let e of ye)!e.on&&e.el.isConnected&&ze(e)}var ci={doubleclick:"dblclick",focus:"focusin",blur:"focusout"},ui={dblclick:"doubleclick",focusin:"focus",focusout:"blur"},ai={focusin:"focus",focusout:"blur"},li=new Set("scroll scrollend load error abort cancel close invalid toggle beforetoggle mouseenter mouseleave pointerenter pointerleave canplay canplaythrough durationchange emptied encrypted ended loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" ")),eo={change:["change","input","click"],beforeinput:["beforeinput","compositionend"]},fi={preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()},stopPropagation(){this._s=!0,this.nativeEvent.stopPropagation()},isDefaultPrevented(){return this.defaultPrevented},isPropagationStopped(){return!!this._s},persist(){},isPersistent(){return!0}},di={get(e,n){if(n in e)return e[n];let t=e.nativeEvent,o=t[n];return typeof o=="function"?o.bind(t):o}};function $e(e,n,t){let o=Object.create(fi),r=t===void 0?e.target:t;return r&&r.nodeType===3&&(r=r.parentNode),o.type=n||ai[e.type]||e.type,o.target=r,o.currentTarget=null,o.nativeEvent=e,o.defaultPrevented=e.defaultPrevented,new Proxy(o,di)}var Un,Ge=!1;function no(e,n){try{e(n)}catch(t){Ge||(Ge=!0,Un=t)}}function to(){if(Ge){let e=Un;throw Ge=!1,Un=void 0,e}}function Qn(e,n,t,o,r){let i=[],s=[];for(let a=t;a;a=a.__kpp||a.parentNode){let f=a.__kh;if(!f)continue;let p;o&1&&(p=f[n+"$"])&&i.unshift(a,p),o&2&&(p=f[n])&&s.push(a,p)}if(!i.length&&!s.length)return null;let c=$e(e,r,t),u=i.concat(s);for(let a=0;a<u.length&&!c._s;a+=2)c.currentTarget=u[a],no(u[a+1],c);return c.currentTarget=null,c}var Qt=new WeakMap,Gn=new Set,oo=new Set;function pi(){return typeof document>"u"?null:document.getElementById("root")||document.body}function Wn(e,n){let t=Qt.get(e);t||(t=new Set,Qt.set(e,t)),!t.has(n)&&(t.add(n),e.addEventListener(n,gi,!0),e.addEventListener(n,hi,!1))}function $n(e){oo.add(e);let n=pi();n&&(Gn.add(n),Wn(n,e));for(let t of Gn)t!==n&&t.isConnected&&Wn(t,e)}function Xe(e){Gn.add(e);for(let n of oo)Wn(e,n)}function gi(e){ro(e,!0)}function hi(e){ro(e,!1)}var We=0;function mi(e){We++;try{return e()}finally{We--}}function ro(e,n){if(We>0)return;let t=n?"__kdc":"__kdb",o=e;if(o[t])return;o[t]=1;let r=e.type,i=e.target;Me(r,!n,()=>{r!=="change"&&r!=="beforeinput"&&Qn(e,ui[r]||r,i,n?1:2),n||(r==="change"||r==="input"||r==="click"?vi(e):(r==="beforeinput"||r==="compositionend")&&xi(e))}),to()}function ki(e){io(this,e,!1)}function yi(e){io(this,e,!0)}function io(e,n,t){if(We>0)return;let o=e.__kh,r=o&&o[n.type+(t?"$":"")];if(!r)return;let i=$e(n);i.currentTarget=e,Me(n.type,!0,()=>no(r,i)),i.currentTarget=null,to()}function Jn(e){let n=e.slice(2),t=!1;return n.length>7&&n.slice(-7)==="Capture"&&!/^(Got|Lost)PointerCapture$/.test(n)&&(n=n.slice(0,-7),t=!0),[n.toLowerCase(),t]}function Se(e,n,t){let[o,r]=Jn(n),i=e,s=i.__kh||(i.__kh={}),c=o+(r?"$":"");if(typeof t!="function"){s[c]=void 0;return}if(s[c]=t,li.has(o)){let a=i.__kd||(i.__kd={});a[c]||(a[c]=1,e.addEventListener(o,r?yi:ki,r));return}let u=eo[o];if(u){for(let a of u)$n(a);o==="change"&&uo(e)}else $n(ci[o]||o)}function Qe(e){let n=e.querySelectorAll("input[value]");for(let t=0;t<n.length;t++){let o=n[t];if(!so.has(o.type||"text")||!o.value||o.ownerDocument.activeElement===o)continue;let r=o.value;o.value="",o.value=r}}var so=new Set("color date datetime datetime-local email month number password range search tel text time url week".split(" "));function Yn(e){return e.tagName==="INPUT"&&(e.type==="checkbox"||e.type==="radio")}function co(e){return Yn(e)?String(e.checked):String(e.value)}function uo(e){e.__kv===void 0&&(e.tagName==="INPUT"||e.tagName==="TEXTAREA")&&(e.__kv=co(e))}function Xn(e){let n=co(e);return e.__kv===n?!1:(e.__kv=n,!0)}function wi(e){if(!e.name||!e.ownerDocument)return[e];let n=[],t=e.ownerDocument.getElementsByName(e.name);for(let o=0;o<t.length;o++){let r=t[o];r.tagName==="INPUT"&&r.type==="radio"&&r.form===e.form&&n.push(r)}return n}function Si(e){let n=e.target;if(!n||!n.tagName)return null;let t=e.type,o=n.tagName;return o==="SELECT"||o==="INPUT"&&n.type==="file"?t==="change"?n:null:Yn(n)?t==="click"&&Xn(n)?n:null:(o==="TEXTAREA"||o==="INPUT"&&so.has(n.type||"text"))&&t!=="click"&&Xn(n)?n:null}function vi(e){let n=Si(e);if(n)if(Qn(e,"change",n,3,"change"),n.type==="radio")for(let t of wi(n))Xn(t),Zt(t);else Zt(n)}function xi(e){let n=e;e.type==="beforeinput"&&(n.isComposing||typeof n.data!="string"||n.data==="")||e.type==="compositionend"&&!n.data||Qn(e,"beforeinput",e.target,3,"beforeinput")}function Jt(e,n){e.__kw||(e.__kw=1,console.error(n))}function Yt(e,n,t){let o=e.options;if(e.multiple){let s=new Set((Array.isArray(n)?n:[n]).map(String));for(let c=0;c<o.length;c++){let u=s.has(o[c].value);t?o[c].defaultSelected=u:o[c].selected!==u&&(o[c].selected=u)}return}let r=String(n),i=null;for(let s=0;s<o.length;s++){if(o[s].value===r){t?o[s].defaultSelected=!0:o[s].selected=!0;return}!i&&!o[s].disabled&&(i=o[s])}i&&!t&&(i.selected=!0)}function z(e,n,t){let o=e;switch(n){case"value":{if(t==null)return;if(o.tagName==="SELECT"){Yt(o,t,!1);return}let r=String(t);o.value!==r&&(o.value=r),o.type!=="file"&&!(o.type==="number"&&o.ownerDocument&&o.ownerDocument.activeElement===o)&&o.defaultValue!==r&&(o.defaultValue=r),Yn(o)||(o.__kv=r);return}case"checked":{if(t==null)return;let r=!!t;o.checked!==r&&(o.checked=r),o.__kv=String(r);return}case"defaultValue":o.tagName==="SELECT"?Yt(o,t,!0):o.defaultValue=t==null?"":String(t);return;case"defaultChecked":o.defaultChecked=!!t;return;default:o[n]=!!t}}function Zt(e){let n=e.__kc;n&&(De(),n.value&&z(e,"value",n.value()),n.checked&&z(e,"checked",n.checked()))}function Je(e,n,t){let o=e,r=n==="value"||n==="checked";if(r){(o.__kc||(o.__kc={}))[n]=t;for(let c of eo.change)$n(c);uo(o)}let i,s=!1;return y(()=>{let c=t();if(r){let u=c!=null;c===null&&n==="value"?Jt(o,"`value` prop on `"+o.tagName.toLowerCase()+"` should not be null. Use an empty string to clear it or `undefined` for an uncontrolled field."):i!==void 0&&i!==u&&Jt(o,"A component is changing "+(i?"a controlled":"an uncontrolled")+" input to be "+(u?"controlled":"uncontrolled")+". Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),i=u}z(o,n,c),!s&&n==="value"&&o.tagName==="TEXTAREA"&&o.ownerDocument.activeElement!==o&&o.setSelectionRange(0,0),s=!0})}var ao="template[data-krate-portal]",Ye=new Map,Ze=new Set;function Ti(e,n){Ye.set(e,n)}function bi(e){return!!e&&typeof e=="object"&&(e.nodeType===1||e.nodeType===11)}function Ei(e){let n=e.getAttribute("data-krate-portal")||"",t=Ye.get(n);if(t){let r=null;try{r=t()}catch{r=null}return bi(r)?r:null}let o=e.getAttribute("data-krate-portal-target");if(!o||o==="body")return document.body;try{return document.querySelector(o)}catch{return null}}function Zn(e){if(e.__kpn||!e.isConnected)return;let n=Ei(e);if(!n)return;let t=Array.from(e.content.childNodes),o=document.createDocumentFragment();for(let i of t)i.__kpp=e,o.appendChild(i);n.appendChild(o),e.__kpn=t,Ze.add(e);let r=document.getElementById("root");n.nodeType===1&&!(r&&r.contains(n))&&Xe(n),e.__kpd||(e.__kpd=!0,nn(e,()=>en(e,!0)))}function en(e,n){let t=e.__kpn;if(t){e.__kpn=void 0,Ze.delete(e);for(let o of t)n?o.parentNode&&o.parentNode.removeChild(o):e.content.appendChild(o),o.__kpp=void 0}}function et(e){let n=[];return e.matches?.(ao)&&n.push(e),e.querySelectorAll(ao).forEach(t=>n.push(t)),n}function Ci(e){if(!(typeof document>"u"))for(let n of et(e||document))Zn(n)}function nt(e){return et(e)}function tt(e){for(let n of e)Zn(n)}function ot(e){for(let n of et(e))en(n)}function lo(e,n){let t=e.slice(),o=new Set;for(;t.length;)t.shift().querySelectorAll("template").forEach(i=>{if(o.has(i))return;o.add(i);let s=i;s.hasAttribute("data-krate-portal")&&n(s.content),t.push(s.content)})}function Ai(e,n){for(let o of Ze)for(let r of o.__kpn||[]){if(r.nodeType!==1)continue;let i=r;if(i.matches(e))return i;let s=i.querySelector(e);if(s)return s}let t=null;return lo(n,o=>{t||(t=o.querySelector(e))}),t}function _i(){let e=new Set;for(let n of Array.from(Ze))n.isConnected?e.add(n.getAttribute("data-krate-portal")||""):en(n,!0);for(let n of Array.from(Ye.keys()))e.has(n)||Ye.delete(n)}var re=new Set,po=new WeakMap;function Ri(){return Array.from(re)}function Ni(){let e=new Set,n=!0;for(;n;){n=!1;for(let t of re){if(e.has(t))continue;let o=po.get(t);if(!o)continue;let r=o.getRootNode();(o.isConnected||e.has(r))&&(e.add(t),n=!0)}}for(let t of Array.from(re))e.has(t)||re.delete(t)}function fo(e){let n="/"+(e.nodeValue||"");for(let t=e.nextSibling;t;t=t.nextSibling)if(t.nodeType===8&&t.nodeValue===n)return t;return null}function Oi(e,n,t){let o=e,r=n?"c":"a",i=o.__krateCond;if(!i){let l=t?t.getAttribute("data-kb"):null;i={shown:l==="c"?"a":l==="a"?"c":r,other:null,tpl:t,end:fo(e)},o.__krateCond=i}if(i.shown===r)return;let s=e.parentNode;if(!s)return;(!i.end||i.end.parentNode!==s)&&(i.end=fo(e));let c=i.end,u=document.createDocumentFragment(),a=e.nextSibling;for(;a&&a!==c;){let l=a.nextSibling;u.appendChild(a),a=l}Ve(u),ot(u);let f=i.other;if(!f&&(f=document.createDocumentFragment(),i.tpl&&(f.appendChild(i.tpl.content),i.tpl.getAttribute("data-kns")==="svg"))){let l=f.firstChild;if(l&&l.nodeType===1){for(;l.firstChild;)f.insertBefore(l.firstChild,l);f.removeChild(l)}}re.delete(f);let p=f.querySelector("[autofocus]");Qe(f);let _=nt(f);s.insertBefore(f,c),tt(_),i.other=u,re.add(u),po.set(u,e),i.shown=r,Ue(),p&&(p.removeAttribute("autofocus"),p.focus())}var Pi={href:!0,src:!0,action:!0,formaction:!0,"xlink:href":!0},Hi=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,go="javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')";function rt(e,n){return Pi[e.toLowerCase()]&&Hi.test(n)?go:n}var Li="__krate_cfg__";function ho(){let e=globalThis;if(e.__KRATE_CFG__)return e.__KRATE_CFG__;let n=e.document,t=n&&typeof n.getElementById=="function"?n.getElementById(Li):null;if(t)try{let o=JSON.parse(t.textContent||"{}");if(o&&typeof o=="object")return e.__KRATE_CFG__=o,o}catch{}return{}}function Mi(){let e=ho(),n=e&&e.basePath||"";return!n||n==="/"?"":"/"+n.replace(/^\/+|\/+$/g,"")}function mo(e){let n=Mi();return n&&e.charCodeAt(0)===47&&e.charCodeAt(1)!==47?n+e:e}var ve=new WeakMap;function A(e,n){nn(e,n)}function nn(e,n){let t=ve.get(e);t||(t=[],ve.set(e,t)),t.push(n)}function So(e,n){let t=()=>B(n);if(typeof DocumentFragment<"u"&&e instanceof DocumentFragment)for(let o=0;o<e.childNodes.length;o++)A(e.childNodes[o],t);else if(typeof Node<"u"&&e instanceof Node)A(e,t);else if(Array.isArray(e))for(let o of e)So(o,n);else ut(e)&&(e.u||(e.u=[])).push(n)}function vo(e,n){if(e.u)for(let t of e.u)A(n,()=>B(t))}function Fi(e,n,t){let o=!0,r=y(()=>{let i=we(e,n?n():void 0,t,o?"defer":void 0);o=!1,I(i)});return A(e,r),r}function se(e){let n=ve.get(e);if(n){for(let t of n)t();n.length=0}for(let t=0;t<e.childNodes.length;t++)se(e.childNodes[t])}function Ki(e){let n=e.nextSibling;for(;n;){if(n.nodeType===8&&n.nodeValue==="k")return n;n=n.nextSibling}return null}function xo(e,n){let t=e.parentNode;if(!t)return;let o=e.nextSibling;for(;o&&o!==n;){let r=o.nextSibling;se(o),t.removeChild(o),o=r}}function Di(e,n,t){let o=Ki(t);o?(xo(t,o),it(e,n,o)):it(e,n,null)}function it(e,n,t){if(!(n==null||n===!1||n===!0)){if(typeof n=="string"||typeof n=="number"||typeof n=="bigint")e.insertBefore(document.createTextNode(String(n)),t);else if(n instanceof Node)e.insertBefore(n,t);else if(Array.isArray(n))for(let o of n)it(e,o,t)}}var Ii={htmlFor:"for"},ji=new Set(["animation-iteration-count","aspect-ratio","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","columns","flex","flex-grow","flex-positive","flex-shrink","flex-negative","flex-order","grid-area","grid-row","grid-row-end","grid-row-span","grid-row-start","grid-column","grid-column-end","grid-column-span","grid-column-start","font-weight","line-clamp","line-height","opacity","order","orphans","scale","tab-size","widows","z-index","zoom","fill-opacity","flood-opacity","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width"]);function qi(e){if(e.startsWith("--"))return e;let n=e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase());return n.startsWith("ms-")?"-"+n:n}var ko=new WeakMap;function To(e,n){let t=e.style;if(!t)return;let o=new Set;for(let i of Object.keys(n)){let s=n[i];if(s==null||typeof s=="boolean"||s==="")continue;let c=qi(i),u=c.replace(/^-(webkit|moz|ms|o)-/,""),a=typeof s=="number"&&s!==0&&!c.startsWith("--")&&!ji.has(u)?s+"px":String(s);t.setProperty(c,a),o.add(c)}let r=ko.get(e);if(r)for(let i of r)o.has(i)||t.removeProperty(i);ko.set(e,o)}function bo(e,n,t){if(e.localName.indexOf("-")<1||n.includes("-"))return!1;let o=typeof t=="object"&&t!==null||typeof t=="function";if(!o&&!(n in e))return!1;e[n]=t;let r=typeof customElements<"u"?customElements:null;return o&&r&&!r.get(e.localName)&&typeof r.whenDefined=="function"&&r.whenDefined(e.localName).then(()=>{let i=e;delete i[n],i[n]=t}),!0}function tn(e,n,t){if(!(e.localName.indexOf("-")>0&&n!=="class"&&n!=="className"&&n!=="style"&&n!=="ref"&&n!=="key"&&n!=="children"&&!n.startsWith("on")&&bo(e,n,t))){if(n==="class"||n==="className"){let o=t===!1||t===null||t===void 0?"":String(t);if(e.getAttribute("class")!==o){if(o===""&&!e.hasAttribute("class")&&typeof t!="string")return;e.setAttribute("class",o)}}else if(n==="style")typeof t=="string"?e.getAttribute("style")!==t&&e.setAttribute("style",t):t&&typeof t=="object"?To(e,t):(t==null||t===!1)&&e.removeAttribute("style");else if(n.startsWith("on")&&typeof t=="function")Se(e,n,t);else if(n==="value"||n==="checked"||n==="selected"||n==="defaultValue"||n==="defaultChecked")z(e,n,t);else if(n==="ref"){let o=we(e,t,void 0,"now");A(e,o),I(o)}else if(!(n==="key"||n==="children"||n==="dangerouslySetInnerHTML")){let o=Ii[n]||n,r=/^(aria|data)-/.test(o);if(t==null||typeof t=="function"||typeof t=="symbol"||t===!1&&!r)e.hasAttribute(o)&&e.removeAttribute(o);else{let i=t===!0&&!r?"":rt(o,String(t));e.getAttribute(o)!==i&&e.setAttribute(o,i)}}}}function Eo(e){return"data-krate-no-base"in e?!1:"data-krate-link"in e||"data-krate-external"in e}function ct(e){return typeof e=="string"?mo(e):typeof e=="function"?()=>ct(e()):e}function Co(e,n){for(let o in n){let r=o==="href"&&Eo(n)?ct(n[o]):n[o];typeof r=="function"&&(o==="value"||o==="checked")?A(e,Je(e,o,r)):typeof r=="function"&&!o.startsWith("on")&&o!=="ref"?A(e,y(()=>tn(e,o,r()))):tn(e,o,r)}let t=n.dangerouslySetInnerHTML;if(t&&typeof t=="object"&&t.__html!=null){let o=String(t.__html);e.innerHTML!==o&&(e.innerHTML=o)}}var yo=new WeakMap;function Bi(e,n){A(e,y(()=>{let t=n()||{},o=new Set;for(let i of Object.keys(t)){if(i==="children"||i==="key"||i==="dangerouslySetInnerHTML")continue;o.add(i);let s=i==="href"&&(Eo(t)||e.hasAttribute("data-krate-link")&&!("data-krate-no-base"in t));tn(e,i,s?ct(t[i]):t[i])}let r=yo.get(e);if(r)for(let i of r)o.has(i)||(i.startsWith("on")?Se(e,i,null):tn(e,i,void 0));yo.set(e,o)}))}function Ao(e,n){if(e===void 0)return n();let t=b(e);try{return n()}finally{b(t)}}var V=0;function _o(e){let n=V;V=n+1;try{return e()}finally{V=n}}function Ro(e){let n=V;V=0;try{return e()}finally{V=n}}function ut(e){return!!e&&typeof e=="object"&&e.__kv===1}function No(e){return!!e&&typeof e=="object"&&e.__ka===1}var on="http://www.w3.org/2000/svg",zi=new Set(["svg","g","defs","symbol","use","switch","desc","metadata","path","circle","ellipse","line","polygon","polyline","rect","text","tspan","textPath","image","foreignObject","marker","mask","pattern","clipPath","linearGradient","radialGradient","stop","filter","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","animate","animateMotion","animateTransform","set","mpath","view"]);function Vi(e){return zi.has(e)?document.createElementNS(on,e):document.createElement(e)}function Ui(e){let n=e;return n.namespaceURI===on&&n.localName!=="foreignObject"}function wo(e,n){let t=n;if(t.nodeType!==1||t.namespaceURI===on||!Ui(e))return n;let o=document.createElementNS(on,t.localName);for(let r of Array.from(t.attributes))o.setAttribute(r.name,r.value);for(;t.firstChild;)o.appendChild(t.firstChild);return o}function Oo(e,n,t){let o=Vi(e);if(n&&Co(o,n),!n||!n.dangerouslySetInnerHTML)for(let r of t)xe(o,r);return o}function Po(e){let n=Ao(e.o,()=>Ro(()=>Oo(e.tag,e.props,e.children)));return vo(e,n),n}function at(e){return e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function lt(e){return e==null||typeof e=="boolean"?"":String(e)}function xe(e,n){if(!(n==null||n===!1||n===!0)){if(Array.isArray(n)){for(let t of n)xe(e,t);return}if(typeof n=="function"){$i(e,n,null);return}if(ut(n)){e.appendChild(wo(e,Po(n)));return}if(No(n)){e.appendChild(n.mount());return}e.appendChild(n instanceof Node?wo(e,n):document.createTextNode(String(n)))}}function Gi(e,n){let t=ve.get(e);if(t){ve.delete(e);for(let o of t)A(n,o)}}function st(e,n){let t=e.parentNode;if(!t)return;let o=e.nextSibling;for(;o&&o!==n;){let r=o.nextSibling;se(o),t.removeChild(o),o=r}}function Wi(e){if(!e.text)return;let n=e.text,t=n.parentNode;e.start=document.createComment(""),e.end=document.createComment(""),t.insertBefore(e.start,n),t.insertBefore(e.end,n.nextSibling),Gi(n,e.start),t.removeChild(n),e.text=null}function Ho(e,n){if(at(n)){let o=lt(n);if(e.text){e.text.data!==o&&(e.text.data=o);return}st(e.start,e.end),o!==""&&e.end.parentNode.insertBefore(document.createTextNode(o),e.end);return}Wi(e),st(e.start,e.end);let t=document.createDocumentFragment();xe(t,n),e.end.parentNode.insertBefore(t,e.end)}function $i(e,n,t){let o={text:null,start:null,end:null},r=!0,i=y(()=>{let s=n();if(!r){Ho(o,s);return}if(r=!1,at(s)){o.text=document.createTextNode(lt(s)),e.insertBefore(o.text,t);return}o.start=document.createComment(""),o.end=document.createComment(""),e.insertBefore(o.start,t);let c=document.createDocumentFragment();xe(c,s),e.insertBefore(c,t),e.insertBefore(o.end,t)});A(o.text||o.start,i)}function Lo(e){for(;e.next&&e.next.nodeType===8;)e.next=e.next.nextSibling}function ie(e,n){e.parent.insertBefore(n,e.next)}function Mo(e,n){Lo(e);let t=e.next;if(n!==""&&t&&t.nodeType===3){let r=t;return r.data.length>n.length&&r.data.startsWith(n)?r.splitText(n.length):r.data!==n&&(r.data=n),e.next=r.nextSibling,r}let o=document.createTextNode(n);return ie(e,o),o}function Fo(e,n){let t=e.next;for(;t&&t!==n;){let o=t.nextSibling;se(t),e.parent.removeChild(t),t=o}e.next=n}function Xi(e,n){Lo(n);let t=n.next;if(t&&t.nodeType===1&&t.localName.toLowerCase()===e.tag.toLowerCase()){n.next=t.nextSibling;let o=t;vo(e,o),Ao(e.o,()=>{if(e.props&&Co(o,e.props),!e.props||!e.props.dangerouslySetInnerHTML){let r={parent:o,next:o.firstChild};for(let i of e.children)rn(i,r);Fo(r,null)}});return}ie(n,Po(e))}function Qi(e,n){let t={text:null,start:null,end:null},o=!0,r=y(()=>{if(!o){Ho(t,e());return}o=!1;let i=_o(e);if(at(i)){t.text=Mo(n,lt(i));return}t.start=document.createComment(""),ie(n,t.start),rn(i,n),t.end=document.createComment(""),ie(n,t.end)});A(t.text||t.start,r)}function rn(e,n){if(!(e==null||typeof e=="boolean")){if(Array.isArray(e)){for(let t of e)rn(t,n);return}if(typeof e=="function"){Qi(e,n);return}if(ut(e)){Xi(e,n);return}if(No(e)){e.adopt(n);return}if(e instanceof Node){ie(n,e);return}Mo(n,String(e))}}function Ji(e,n,...t){if(typeof e=="function"){let o=n||{};(t.length>0||!("children"in o))&&(o.children=t);let{value:r,owner:i}=qn(()=>e(o));return So(r,i),r}return V>0?{__kv:1,tag:e,props:n,children:t,o:J()}:Oo(e,n,t)}function Ko(e){if(typeof e=="string"){let n=document.querySelector(e);if(!n)throw new Error(`Container "${e}" not found`);return n}return e}function Yi(e,n){let t=Ko(n),o=!1;y(()=>{o||(o=!0,t.appendChild(e()))})}function Zi(e,n){let t=Ko(n);if(t.childNodes.length===0){t.appendChild(e());return}let o=e();o&&se(o)}function Do(){return globalThis.__krateSuspenseHook}function es(e,n){let[t,o]=v(void 0),[r,i]=v(!0),[s,c]=v(void 0),[u,a]=v("unresolved"),[f,p]=v(0),_,l=Do()?.current()??null,g=null,ue=null,be=()=>typeof e=="function"?e():e,$o=()=>{let x=Xo();return g=x,x.then(()=>{g===x&&(g=null)}),x},Xo=async()=>{_&&_.abort(),_=new AbortController;let x=_,Qo=be();a(f()>0?"refreshing":"loading"),i(!0),c(void 0);try{let Ee=await n(Qo,{signal:x.signal});x.signal.aborted||(o(()=>Ee),a("ready"))}catch(Ee){Ee?.name!=="AbortError"&&!x.signal.aborted&&(c(Ee),a("error"))}finally{x.signal.aborted||i(!1)}};y(()=>{typeof e=="function"&&e.length===0&&e(),f(),$o(),I(()=>{_&&(_.abort(),_=void 0)})});let pt=function(){return l&&g&&ue!==g&&(ue=g,Do()?.suspend(l,g)),t()};return Object.defineProperties(pt,{loading:{get:()=>r()},error:{get:()=>s()},state:{get:()=>u()}}),[pt,{mutate:x=>{o(x)},refetch:()=>{p(x=>x+1)}}]}function ns(e){return Ke(e)?e():e}var ce=null,ts=0,Io=typeof TextEncoder<"u"?new TextEncoder:null;function os(e){return e.replace(/[^A-Za-z0-9_.:$-]/gu,n=>(Io?Array.from(Io.encode(n)):[n.charCodeAt(0)&255]).map(o=>"%"+o.toString(16).toUpperCase().padStart(2,"0")).join(""))}function rs(e,n){if(!e)return n();let t=ce;ce={prefix:os(e),n:0};try{return n()}finally{ce=t}}function is(){return ce?"krate-"+ce.prefix+"-u"+ce.n++:"krate_u"+ts++}function ft(e,n){let t=[];if(!e)return t;for(let o of n){let r=e[o];if(r==null||r===!1||r===""&&o!=="crossOrigin")continue;let i=o==="crossOrigin"?"crossorigin":o==="fetchPriority"?"fetchpriority":o==="referrerPolicy"?"referrerpolicy":o==="imageSrcSet"?"imagesrcset":o==="imageSizes"?"imagesizes":o;if(o==="crossOrigin"){t.push([i,r==="use-credentials"?r:""]);continue}t.push([i,r===!0?"":String(r)])}return t}function ss(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function cs(){let e=globalThis[Symbol.for("krate.cache.runtime")],n=e&&e.renderStore;return n&&typeof n.getStore=="function"?n.getStore():void 0}function qo(){let e=cs();if(e)return e.hints??(e.hints=new Set);let n=globalThis.__krate_island_hints;return n instanceof Set?n:void 0}function jo(e){try{return new URL(e,document.baseURI).href}catch{return e}}function us(e,n){let t=s=>{for(let[c,u]of n)if(c===s)return u};if(e==="script"){let s=jo(t("src")||""),c=t("type")==="module";for(let u of Array.from(document.querySelectorAll("script[src]")))if(u.src===s&&u.type==="module"===c)return!0;return!1}let o=t("rel")||"",r=jo(t("href")||""),i=t("as");for(let s of Array.from(document.querySelectorAll("link[href]")))if(s.href===r&&(s.getAttribute("rel")||"").toLowerCase()===o&&!(o==="preload"&&(s.getAttribute("as")||"")!==(i||"")))return!0;return!1}function as(e,n){let t=n.map(([o,r])=>r===""&&o!=="crossorigin"?" "+o:" "+o+'="'+ss(r)+'"').join("");return e==="link"?"<link"+t+">":"<script"+t+"><\/script>"}function dt(e,n){if(typeof document>"u"){qo()?.add(as(e,n));return}if(us(e,n))return;let t=document.createElement(e);for(let[o,r]of n)t.setAttribute(o,r);document.head.appendChild(t)}function Te(e,n,t,o){!n||typeof n!="string"||dt("link",[["rel",e],["href",n],...ft(t,o)])}function ls(e){if(typeof document<"u")return;let n=qo();if(n)for(let t of e)n.add(t)}function Bo(e,n){Te("preload",e,n,["as","crossOrigin","integrity","type","media","nonce","fetchPriority","referrerPolicy","imageSrcSet","imageSizes"])}function zo(e,n){Te("modulepreload",e,n,["as","crossOrigin","integrity","nonce"])}function Vo(e,n){Te("preconnect",e,n,["crossOrigin"])}function Uo(e){Te("dns-prefetch",e,void 0,[])}function Go(e,n){if(!(!e||typeof e!="string")){if(n&&n.as==="script"){dt("script",[["src",e],["async",""],...ft(n,["crossOrigin","integrity","nonce","fetchPriority"])]);return}Te("stylesheet",e,n,["crossOrigin","integrity","media","nonce","fetchPriority"])}}function Wo(e,n){!e||typeof e!="string"||dt("script",[["type","module"],["src",e],["async",""],...ft(n,["crossOrigin","integrity","nonce"])])}var fs=Bo,ds=Go,ps=Vo,gs=Uo,hs=zo,ms=Wo;function ks(e){return e()}return tr(ys);})();
|
|
2
2
|
for (const k in __krate_exports) { window[k] = __krate_exports[k]; }
|